.privacy-cookie-layer {
    position: fixed;
    inset: 0;
    z-index: 1085;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    background: rgba(15, 23, 42, .45);
    backdrop-filter: blur(2px);
}

.privacy-cookie-banner {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.4rem;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
}

.privacy-cookie-icon {
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    color: #fff;
    background: #b4232f;
    font-size: 1.45rem;
}

.privacy-cookie-content p:last-child {
    margin-bottom: 0;
}

.privacy-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .65rem;
}

.privacy-preference-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.privacy-preference-row:last-child {
    border-bottom: 0;
}

.cookie-placeholder {
    display: grid;
    place-items: center;
    min-height: 240px;
    padding: 2rem;
    border: 2px dashed #ced4da;
    border-radius: 1rem;
    background: #f8f9fa;
    text-align: center;
}

@media (max-width: 991.98px) {
    .privacy-cookie-banner {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .privacy-cookie-actions {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .privacy-cookie-actions .btn {
        flex: 1 1 180px;
    }
}

@media (max-width: 575.98px) {
    .privacy-cookie-layer {
        padding: .5rem;
    }

    .privacy-cookie-banner {
        grid-template-columns: 1fr;
        gap: .8rem;
        max-height: calc(100vh - 1rem);
        overflow-y: auto;
        padding: 1rem;
        border-radius: 1rem;
    }

    .privacy-cookie-icon {
        width: 2.8rem;
        height: 2.8rem;
    }

    .privacy-cookie-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}
