/* =========================================================
   THE FRENCH ESCAPE — COOKIE CONSENT
   ========================================================= */

.tfe-cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 99998;

    max-width: 1180px;
    margin: 0 auto;

    background: #ffffff;
    border: 1px solid rgba(0, 18, 67, 0.14);
    box-shadow: 0 16px 45px rgba(0, 18, 67, 0.18);

    padding: 26px 28px;
}

.tfe-cookie-banner[hidden],
.tfe-cookie-modal[hidden],
.tfe-cookie-settings-button[hidden] {
    display: none !important;
}

.tfe-cookie-inner {
    display: flex;
    align-items: center;
    gap: 35px;
}

.tfe-cookie-text {
    flex: 1;
}

.tfe-cookie-title {
    margin: 0 0 7px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 26px;
    line-height: 1.1;
    font-weight: 500;
    color: #001243;
}

.tfe-cookie-description {
    margin: 0;
    max-width: 720px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.65;

    color: #404552;
}

.tfe-cookie-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.tfe-cookie-btn {
    appearance: none;
    border: 1px solid #001243;
    background: #ffffff;
    color: #001243;

    padding: 12px 18px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;

    cursor: pointer;
    transition: background .2s ease,
                color .2s ease;
}

.tfe-cookie-btn:hover,
.tfe-cookie-btn:focus-visible {
    background: #001243;
    color: #ffffff;
}

.tfe-cookie-btn-settings {
    border-color: transparent;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* =========================================================
   SETTINGS MODAL
   ========================================================= */

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

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

    padding: 20px;

    background: rgba(0, 18, 67, 0.58);
}

.tfe-cookie-modal-box {
    position: relative;

    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;

    background: #ffffff;
    padding: 34px;
}

.tfe-cookie-modal-close {
    position: absolute;
    top: 15px;
    right: 18px;

    border: 0;
    background: transparent;

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

    color: #001243;
    cursor: pointer;
}

.tfe-cookie-modal-title {
    margin: 0 0 12px;

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 31px;
    font-weight: 500;

    color: #001243;
}

.tfe-cookie-modal-intro {
    margin: 0 0 25px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.65;

    color: #4d515c;
}

.tfe-cookie-category {
    padding: 20px 0;
    border-top: 1px solid #e7e7e7;
}

.tfe-cookie-category-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.tfe-cookie-category h3 {
    margin: 0 0 6px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;

    color: #001243;
}

.tfe-cookie-category p {
    margin: 0;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.55;

    color: #646873;
}

.tfe-cookie-always {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;

    color: #5c685b;

    white-space: nowrap;
}


/* SWITCH */

.tfe-cookie-switch {
    position: relative;

    width: 46px;
    height: 24px;

    flex-shrink: 0;
}

.tfe-cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

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

    background: #b7bbc3;
    cursor: pointer;

    transition: .2s;
}

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

    position: absolute;

    width: 18px;
    height: 18px;

    left: 3px;
    top: 3px;

    background: #ffffff;

    transition: .2s;
}

.tfe-cookie-switch input:checked + .tfe-cookie-slider {
    background: #001243;
}

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


/* FOOTER MODAL */

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

    padding-top: 22px;
    border-top: 1px solid #e7e7e7;
}

.tfe-cookie-privacy {
    margin-top: 20px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 11px;
}

.tfe-cookie-privacy a {
    color: #001243;
    text-decoration: underline;
}


/* =========================================================
   REOPEN SETTINGS
   ========================================================= */

.tfe-cookie-settings-button {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 9000;

    border: 1px solid rgba(0, 18, 67, .25);
    background: rgba(255,255,255,.95);

    padding: 8px 11px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 10px;

    color: #001243;

    cursor: pointer;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .tfe-cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;

        padding: 22px;
    }

    .tfe-cookie-inner {
        display: block;
    }

    .tfe-cookie-actions {
        margin-top: 20px;
    }

    .tfe-cookie-btn {
        flex: 1;
        text-align: center;
        min-width: 120px;
    }

    .tfe-cookie-btn-settings {
        flex-basis: 100%;
    }

    .tfe-cookie-modal-box {
        padding: 30px 22px;
    }
}