html.geo-pending body > :not(script),
html.consent-pending body > :not(.cookie-consent-gate):not(.cookie-settings-modal):not(script),
html.consent-rejected body > :not(.cookie-consent-gate):not(.cookie-settings-modal):not(script) {
    visibility: hidden !important;
}

body.cookie-modal-open {
    overflow: hidden;
}

body.cookie-modal-open .cookie-consent-gate {
    visibility: hidden !important;
    pointer-events: none;
}

.cookie-consent-gate {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: linear-gradient(145deg, #0d3e47, #101f21);
    color: #fff;
    font-family: 'MaisonNeue', Arial, Helvetica, sans-serif;
    visibility: visible !important;
}

.cookie-consent-panel {
    width: min(100%, 720px);
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #101f21;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.cookie-consent-gate.is-banner {
    top: auto;
    display: block;
    padding: 0;
    background: transparent;
}

.cookie-consent-gate.is-banner .cookie-consent-panel {
    width: 100%;
    padding: 20px 5vw;
    border: 0;
}

.cookie-consent-gate.is-banner .cookie-consent-panel h2 {
    font-family: 'MaisonNeue', Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 600;
}

.cookie-consent-gate .section-label,
.cookie-settings-modal .section-label {
    color: #7ec8d4;
    font-family: 'MaisonNeue', Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cookie-consent-gate .cookie-consent-panel h2 {
    max-width: 620px;
    margin: 12px 0 18px;
    color: #fff;
    font-family: 'ltc-bodoni-175', Georgia, serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 400;
    line-height: 1;
}

.cookie-consent-panel p {
    max-width: 650px;
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.6;
}

.cookie-consent-panel a {
    color: #fff;
    text-decoration: underline;
}

.cookie-consent-gate .notice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.cookie-consent-gate .notice-actions button {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
    cursor: pointer;
    font: 400 12px 'MaisonNeue', Arial, Helvetica, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cookie-consent-gate .notice-actions button:last-child {
    border-color: #7ec8d4;
    background: #7ec8d4;
    color: #144d57;
}

.cookie-settings-modal {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: grid;
    place-items: center;
    padding: 24px;
    visibility: visible !important;
}

.cookie-settings-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.62);
    backdrop-filter: blur(8px);
}

.cookie-settings-panel {
    position: relative;
    width: min(100%, 560px);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    padding: 40px;
    border: 1px solid rgba(20, 77, 87, 0.18);
    background: #f8f6f2;
    box-shadow: 0 24px 80px rgba(17, 17, 17, 0.28);
}

.cookie-settings-modal .cookie-settings-panel .section-label {
    color: #2a7f8e;
    font: 600 11px 'MaisonNeue', Arial, Helvetica, sans-serif;
    letter-spacing: 0.14em;
}

.cookie-settings-modal .cookie-settings-panel h2 {
    max-width: 360px;
    margin: 10px 0 24px;
    color: #144d57;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 500;
    line-height: 0.98;
}

.cookie-settings-modal .cookie-settings-close {
    position: absolute;
    top: 16px;
    right: 16px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(20, 77, 87, 0.18);
    background: #fff;
    color: #144d57;
    cursor: pointer;
    font: 600 11px 'MaisonNeue', Arial, Helvetica, sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cookie-settings-modal .cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid rgba(20, 77, 87, 0.18);
    color: #111;
}

.cookie-settings-modal .cookie-option strong {
    display: block;
    color: #144d57;
    font-size: 15px;
}

.cookie-settings-modal .cookie-option small {
    display: block;
    margin-top: 4px;
    color: #5a6068;
    font-size: 13px;
    line-height: 1.45;
}

.cookie-settings-panel .cookie-option input[type="checkbox"] {
    position: static !important;
    z-index: auto !important;
    display: block !important;
    width: 44px;
    height: 24px;
    margin: 0;
    opacity: 1 !important;
    visibility: visible !important;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    accent-color: #2a7f8e;
    cursor: pointer;
}

.cookie-settings-modal .cookie-save {
    width: 100%;
    min-height: 48px;
    margin-top: 24px;
    border: 0;
    background: #144d57;
    color: #fff;
    font: 600 12px 'MaisonNeue', Arial, Helvetica, sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (max-width: 600px) {
    .cookie-consent-gate,
    .cookie-settings-modal {
        padding: 12px;
    }

    .cookie-consent-panel,
    .cookie-settings-panel {
        padding: 24px 20px;
    }

    .cookie-consent-gate .notice-actions {
        flex-direction: column;
    }

    .cookie-consent-gate .notice-actions button {
        width: 100%;
    }
}
