.privacy-consent__banner,
.privacy-consent__dialog {
    font-family: var(--premium-font-sans, sans-serif);
}

.privacy-consent__banner[hidden],
.privacy-consent__dialog[hidden],
.privacy-consent__backdrop[hidden] {
    display: none !important;
}

.privacy-consent__banner {
    position: fixed;
    z-index: 9800;
    left: clamp(14px, 3vw, 42px);
    right: clamp(14px, 3vw, 42px);
    bottom: clamp(14px, 3vw, 34px);
    width: min(1180px, calc(100% - 28px));
    margin-inline: auto;
    padding: clamp(22px, 3vw, 32px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: end;
    border: 1px solid rgba(221, 191, 123, 0.34);
    border-radius: 22px;
    background: rgba(16, 15, 12, 0.985);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
    color: #fff;
}

.privacy-consent__eyebrow {
    margin: 0 0 9px;
    color: #d9b963;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.privacy-consent__copy h2,
.privacy-consent__dialog h2 {
    margin: 0;
    color: #fff;
    font-family: var(--premium-font-display, serif);
    font-size: clamp(1.85rem, 3vw, 2.6rem);
    line-height: 1;
}

.privacy-consent__copy > p:last-child,
.privacy-consent__category p,
.privacy-consent__legal-note {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.86rem;
    line-height: 1.65;
}

.privacy-consent a {
    color: #e4c976;
    text-underline-offset: 3px;
}

.privacy-consent__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 10px;
    min-width: min(100%, 350px);
}

.privacy-consent__choice,
.privacy-consent__save,
.privacy-consent__personalize,
.privacy-consent__cancel {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    font: 700 0.78rem/1 var(--premium-font-sans, sans-serif);
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.privacy-consent__choice,
.privacy-consent__save {
    border: 1px solid #dfbf68;
    background: #dfbf68;
    color: #17130c;
}

.privacy-consent__choice:nth-child(2) {
    background: transparent;
    color: #f4ead1;
}

.privacy-consent__personalize {
    grid-column: 1 / -1;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    color: rgba(255, 255, 255, 0.82);
}

.privacy-consent__choice:hover,
.privacy-consent__save:hover,
.privacy-consent__personalize:hover,
.privacy-consent__cancel:hover {
    transform: translateY(-2px);
}

.privacy-consent__backdrop {
    position: fixed;
    z-index: 9890;
    inset: 0;
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(6px);
}

.privacy-consent__dialog {
    position: fixed;
    z-index: 9900;
    top: 50%;
    left: 50%;
    width: min(680px, calc(100% - 28px));
    max-height: min(760px, calc(100dvh - 28px));
    transform: translate(-50%, -50%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(221, 191, 123, 0.32);
    border-radius: 24px;
    background: #12110e;
    box-shadow: 0 35px 110px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.privacy-consent__dialog-head,
.privacy-consent__dialog-actions {
    padding: 24px clamp(20px, 4vw, 34px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.privacy-consent__dialog-head {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.privacy-consent__close {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: transparent;
    color: #fff;
    font-size: 1.55rem;
    cursor: pointer;
}

.privacy-consent__dialog-body {
    padding: 8px clamp(20px, 4vw, 34px) 28px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.privacy-consent__category {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.privacy-consent__category strong { font-size: 0.98rem; }

.privacy-consent__switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.privacy-consent__switch span {
    position: relative;
    display: block;
    width: 50px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.16);
    cursor: pointer;
    transition: background 180ms ease;
}

.privacy-consent__switch span::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform 180ms ease;
}

.privacy-consent__switch input:checked + span { background: #b89136; }
.privacy-consent__switch input:checked + span::after { transform: translateX(22px); }
.privacy-consent__switch--locked span { opacity: 0.65; cursor: not-allowed; }

.privacy-consent__dialog-actions {
    justify-content: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.privacy-consent__cancel {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
}

html.is-consent-dialog-open,
html.is-consent-dialog-open body {
    overflow: hidden;
}

@media (max-width: 720px) {
    .privacy-consent__banner {
        grid-template-columns: 1fr;
        gap: 18px;
        border-radius: 18px;
    }
    .privacy-consent__actions { min-width: 0; width: 100%; }
}

@media (max-width: 420px) {
    .privacy-consent__banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        width: calc(100% - 20px);
        padding: 20px;
    }
    .privacy-consent__actions { grid-template-columns: 1fr; }
    .privacy-consent__personalize { grid-column: auto; }
    .privacy-consent__dialog-actions { flex-direction: column; }
    .privacy-consent__dialog-actions > button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .privacy-consent *,
    .privacy-consent *::before,
    .privacy-consent *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

.external-media-consent,
.external-media-consent iframe {
    width: 100%;
    height: 100%;
    min-height: 280px;
    border: 0;
}

.external-media-consent {
    position: relative;
    overflow: hidden;
    background: #11110f;
}

.external-media-consent__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    min-height: 280px;
    background: radial-gradient(circle at 50% 20%, rgba(191, 155, 77, 0.16), transparent 45%), #11110f;
    color: #fff;
}

.external-media-consent__placeholder > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
}

.external-media-consent__copy {
    position: relative;
    z-index: 1;
    max-width: 460px;
    padding: 28px;
    text-align: center;
}

.external-media-consent__copy > span {
    color: #d3b562;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.external-media-consent__copy strong {
    display: block;
    margin-top: 9px;
    font-family: var(--premium-font-display, serif);
    font-size: clamp(1.65rem, 4vw, 2.45rem);
}

.external-media-consent__copy p {
    margin: 10px auto 18px;
    color: rgba(255, 255, 255, 0.66);
    line-height: 1.6;
}

.external-media-consent__copy button {
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #d3b562;
    border-radius: 999px;
    background: #d3b562;
    color: #17130c;
    font-weight: 800;
    cursor: pointer;
}
