.cookie-consent {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;

    z-index: 99999;

    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(0, 0, 0, 0.08);

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);

    padding: 24px 28px;

    opacity: 0;
    transform: translateY(30px);

    pointer-events: none;

    transition:
        opacity 0.45s ease,
        transform 0.45s ease;
}

.cookie-consent.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.cookie-consent-text {
    max-width: 650px;
}

.cookie-eyebrow {
    display: block;

    margin-bottom: 6px;

    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    opacity: 0.55;
}

.cookie-consent-text h3 {
    margin: 0 0 8px;

    font-family: inherit;
    font-size: 18px;
    font-weight: 500;
}

.cookie-consent-text p {
    margin: 0;

    font-size: 13px;
    line-height: 1.7;

    opacity: 0.7;
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
    gap: 10px;

    flex-shrink: 0;
}

.cookie-btn {
    border: none;
    cursor: pointer;

    padding: 11px 18px;

    font-family: inherit;
    font-size: 12px;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

.cookie-btn-primary {
    background: #b08a4a;
    color: white;
}

.cookie-btn-primary:hover {
    background: #967337;
}

.cookie-btn-secondary {
    background: transparent;
    color: #222;

    border: 1px solid rgba(0, 0, 0, 0.15);
}

.cookie-btn-secondary:hover {
    background: #f5f5f5;
}



@media (max-width: 700px) {

    .cookie-consent {
        left: 12px;
        right: 12px;
        bottom: 12px;

        padding: 22px;
    }

    .cookie-consent-content {
        display: block;
    }

    .cookie-consent-text {
        margin-bottom: 20px;
    }

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

    .cookie-btn-primary {
        grid-column: 1 / -1;
        order: -1;
    }

}


/**/


/* ========================================
   COOKIE PREFERENCES MODAL
======================================== */

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 100001;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.cookie-modal.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cookie-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(15, 20, 35, 0.65);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.cookie-modal-content {
    position: relative;
    z-index: 2;

    width: min(680px, 100%);
    max-height: min(720px, calc(100vh - 48px));

    overflow-y: auto;

    background: #fff;

    padding: 48px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.25);

    transform: translateY(20px) scale(0.98);

    transition: transform 0.3s ease;
}

.cookie-modal.is-visible .cookie-modal-content {
    transform: translateY(0) scale(1);
}

.cookie-modal-close {
    position: absolute;
    top: 20px;
    right: 24px;

    width: 36px;
    height: 36px;

    border: 0;
    background: transparent;

    font-size: 30px;
    line-height: 1;

    color: #1a2139;

    cursor: pointer;

    transition: opacity 0.2s ease;
}

.cookie-modal-close:hover {
    opacity: 0.55;
}

.cookie-modal-content .cookie-eyebrow {
    display: block;

    margin-bottom: 12px;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.16em;
    text-transform: uppercase;

    color: #a88955;
}

.cookie-modal-content h2 {
    margin: 0 0 16px;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(36px, 5vw, 52px);
    font-weight: 400;

    line-height: 1;
    color: #1a2139;
}

.cookie-modal-intro {
    margin: 0 0 32px;

    max-width: 580px;

    font-size: 14px;
    line-height: 1.7;

    color: #626262;
}

.cookie-preference-list {
    border-top: 1px solid #e6e6e6;
}

.cookie-preference {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;

    padding: 24px 0;

    border-bottom: 1px solid #e6e6e6;
}

.cookie-preference-info {
    flex: 1;
}

.cookie-preference-info h3 {
    margin: 0 0 7px;

    font-family: "Inter", sans-serif;

    font-size: 14px;
    font-weight: 600;

    color: #1a2139;
}

.cookie-preference-info p {
    margin: 0;

    max-width: 500px;

    font-size: 13px;
    line-height: 1.6;

    color: #777;
}


/* Toggle */

.cookie-switch {
    position: relative;

    flex-shrink: 0;

    width: 48px;
    height: 26px;

    cursor: pointer;
}

.cookie-switch input {
    width: 0;
    height: 0;

    opacity: 0;
}

.cookie-switch-slider {
    position: absolute;
    inset: 0;

    border-radius: 30px;

    background: #d7d7d7;

    transition: 0.25s ease;
}

.cookie-switch-slider::before {
    content: "";

    position: absolute;

    width: 20px;
    height: 20px;

    left: 3px;
    top: 3px;

    border-radius: 50%;

    background: #fff;

    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);

    transition: 0.25s ease;
}

.cookie-switch input:checked + .cookie-switch-slider {
    background: #1a2139;
}

.cookie-switch input:checked + .cookie-switch-slider::before {
    transform: translateX(22px);
}

.cookie-switch input:disabled + .cookie-switch-slider {
    opacity: 0.7;
    cursor: not-allowed;
}


/* Actions */

.cookie-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;

    margin-top: 32px;
}


/* Mobile */

@media (max-width: 640px) {

    .cookie-modal {
        padding: 16px;
    }

    .cookie-modal-content {
        padding: 36px 24px 28px;

        max-height: calc(100vh - 32px);
    }

    .cookie-modal-content h2 {
        font-size: 40px;
    }

    .cookie-preference {
        gap: 16px;
    }

    .cookie-preference-info p {
        font-size: 12px;
    }

    .cookie-modal-actions {
        flex-direction: column-reverse;
    }

    .cookie-modal-actions .cookie-btn {
        width: 100%;
    }

}


/**/


@media (max-width: 768px) {
    .site-footer .btn,
    footer .btn {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        white-space: normal;
        text-align: center;
    }
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.footer-socials a {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--cream);

    border: 1px solid rgba(255, 255, 255, 0.25);

    text-decoration: none;

    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;

    overflow: visible;
}

.footer-socials a:hover {
    color: var(--brass);

    border-color: var(--brass);

    background-color: rgba(255, 255, 255, 0.04);

    transform: translateY(-2px);
}

.footer-socials svg {
    display: block;

    width: 20px;
    height: 20px;

    min-width: 20px;
    min-height: 20px;

    color: currentColor;

    flex-shrink: 0;
}

.footer-socials a:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 3px;
}

@media (max-width: 640px) {

    .footer-socials {
        margin-top: 20px;
    }

    .footer-socials a {
        width: 38px;
        height: 38px;
    }

    .footer-socials svg {
        width: 19px;
        height: 19px;
    }
}

