/* ── Legal pages (terms / privacy / cookies) ── */
.legal-page {
    background: #FAF6F5;
    min-height: 100vh;
    padding: 7rem 1rem 5rem;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: #1F1F1F;
}
.legal-page__inner {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem clamp(1.25rem, 4vw, 3rem);
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    line-height: 1.65;
}
.legal-page__breadcrumb {
    font-size: 0.78rem;
    color: #888;
    margin: 0 0 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.legal-page__breadcrumb a { color: #888; text-decoration: none; }
.legal-page__breadcrumb a:hover { color: #C46B7A; }
.legal-page__title {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin: 0 0 0.5rem;
    color: #1F1F1F;
    line-height: 1.15;
}
.legal-page__updated {
    font-size: 0.85rem;
    color: #888;
    margin: 0 0 2.2rem;
}
.legal-section { margin-bottom: 2rem; }
.legal-section h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: 1.3rem;
    margin: 0 0 0.7rem;
    color: #2A2A30;
}
.legal-section p,
.legal-section li { font-size: 0.95rem; }
.legal-section ul {
    margin: 0.5rem 0 0.5rem 1.25rem;
    padding: 0;
}
.legal-section li { margin-bottom: 0.4rem; }
.legal-section a { color: #C46B7A; }
.legal-page__links {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E9DEDE;
}
.legal-page__links a {
    color: #C46B7A;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}
.legal-page__links a:hover { text-decoration: underline; }
.legal-page__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #C46B7A;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.6rem 1.25rem;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s;
}
.legal-page__btn:hover {
    background: #A8566A;
    box-shadow: 0 4px 14px rgba(196, 107, 122, 0.3);
}
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}
.legal-table th,
.legal-table td {
    text-align: left;
    padding: 0.75rem;
    border-bottom: 1px solid #EFE7E7;
    vertical-align: top;
}
.legal-table th {
    background: #FBF3F3;
    font-weight: 700;
    color: #5A5560;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Cookie consent banner ── */
.cookie-banner {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 9998;
    background: #1A1A1F;
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    padding: 1.2rem 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.cookie-banner__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.2rem;
    align-items: center;
}
@media (max-width: 760px) {
    .cookie-banner__inner { grid-template-columns: 1fr; }
}
.cookie-banner__title {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: 1.1rem;
    margin: 0 0 0.3rem;
    color: #fff;
}
.cookie-banner__desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    line-height: 1.5;
}
.cookie-banner__link {
    color: #FF6A88;
    text-decoration: underline;
}
.cookie-banner__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}
.cookie-banner__btn {
    border: none;
    border-radius: 999px;
    padding: 0.6rem 1rem;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, transform 0.15s;
    white-space: nowrap;
}
.cookie-banner__btn--primary {
    background: #C8466A;
    color: #fff;
    box-shadow: 0 4px 14px rgba(200, 70, 106, 0.35);
}
.cookie-banner__btn--primary:hover { background: #A53354; transform: translateY(-1px); }
.cookie-banner__btn--secondary {
    background: #fff;
    color: #1A1A1F;
}
.cookie-banner__btn--secondary:hover { background: #f0f0f0; }
.cookie-banner__btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
}
.cookie-banner__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* ── Cookie preferences modal ── */
.cookie-prefs__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
}
.cookie-prefs {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    background: #fff;
    color: #1F1F1F;
    border-radius: 18px;
    padding: 1.75rem;
    max-width: 540px;
    width: 92vw;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}
.cookie-prefs__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.cookie-prefs__title {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: 1.3rem;
    margin: 0;
    color: #1F1F1F;
}
.cookie-prefs__close {
    border: none;
    background: transparent;
    font-size: 1.7rem;
    line-height: 1;
    color: #9A8A8A;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
}
.cookie-prefs__close:hover { color: #1F1F1F; }
.cookie-prefs__intro {
    font-size: 0.9rem;
    color: #5A5560;
    margin: 0 0 1.2rem;
    line-height: 1.5;
}
.cookie-prefs__category {
    border: 1px solid #E9DEDE;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    margin-bottom: 0.75rem;
}
.cookie-prefs__category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.4rem;
}
.cookie-prefs__category h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    color: #1F1F1F;
}
.cookie-prefs__category p {
    margin: 0;
    font-size: 0.83rem;
    color: #6B5B5B;
    line-height: 1.4;
}
.cookie-prefs__toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}
.cookie-prefs__toggle.is-locked { cursor: not-allowed; opacity: 0.7; }
.cookie-prefs__toggle input { position: absolute; opacity: 0; pointer-events: none; }
.cookie-prefs__toggle-track {
    display: inline-block;
    width: 36px;
    height: 20px;
    background: #D6CFCC;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s;
}
.cookie-prefs__toggle-track::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: left 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.cookie-prefs__toggle input:checked + .cookie-prefs__toggle-track {
    background: #E85A7A;
}
.cookie-prefs__toggle input:checked + .cookie-prefs__toggle-track::after {
    left: 18px;
}
.cookie-prefs__toggle-label {
    font-size: 0.78rem;
    color: #8E8997;
    font-weight: 600;
}
.cookie-prefs__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
    justify-content: flex-end;
}
.cookie-prefs__actions .cookie-banner__btn--ghost {
    color: #6B5B5B;
    border: 1px solid #E9DEDE;
}
.cookie-prefs__actions .cookie-banner__btn--ghost:hover {
    background: #F5F0EF;
}
