/**
 * CandleCraft — global header, navigation, staff bar, footer.
 * Loaded from templates/layout/default.php (all pages).
 */
:root {
    --cc-ink: #3d2a22;
    --cc-ink-soft: #5c463c;
    --cc-accent: #8d5a3b;
    --cc-accent-dark: #6b3e26;
    --cc-wash: linear-gradient(135deg, #f9efe7 0%, #f4d8c2 100%);
    --page-bg: #fffbfa;
    --card-bg: #fffdfb;
    --soft-bg: #fcf8f4;
    --border: #ead8cc;
    --cc-line: var(--border);
    --cc-cream: var(--soft-bg);
    --font-datetime: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-money: var(--font-datetime);
    --font-dashboard-stat: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
    /* Matches body font on login/register (account-auth); scope to .hdr only — not staff/tutor .admin-bar */
    --font-site-header: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
}
body {
    color: var(--cc-ink-soft);
    background:
        linear-gradient(180deg, var(--page-bg) 0, var(--soft-bg) 22rem, var(--soft-bg)),
        var(--page-bg);
}

/* Dates/times & currency amounts — Lato */
.cc-datetime,
.cc-money,
time.staff-date,
.staff-date,
.eq-reply-time,
.feedback-detail-head time,
.feedback-date-link,
.feedback-date-link span,
.availability-calendar__time,
.bookings-date,
.bookings-submitted,
.dashboard-date-pill,
.course-card-fee,
.course-detail-tags > span:last-child,
.course-booking-card dl > div:first-child dd,
.course-fee-line,
.booking-cart-widget__total strong,
.booking-cart-hero__summary strong,
.booking-cart-item__meta strong,
.booking-cart-summary__row strong,
.staff-table--courses tbody td:nth-child(3),
.staff-stat-card__value,
.dashboard-payment-meta strong {
    font-family: var(--font-money), sans-serif;
}

.catalog-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    min-height: 165px;
    margin: 0 0 1.35rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--card-bg);
    box-shadow: 0 14px 34px rgba(61, 42, 34, 0.07);
}

.catalog-back-link {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    min-height: 3rem;
    margin: 0 0 0.7rem;
    padding: 0.35rem 0.82rem 0.35rem 0.38rem;
    border: 1px solid rgba(141, 90, 59, 0.22);
    border-radius: 999px;
    background: color-mix(in srgb, var(--page-bg) 88%, transparent);
    color: var(--cc-accent-dark);
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(61, 42, 34, 0.045);
}

.catalog-back-link:hover,
.catalog-back-link:focus {
    color: var(--cc-accent-dark);
    border-color: rgba(141, 90, 59, 0.36);
    background: var(--card-bg);
    text-decoration: none;
}

.catalog-back-link__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    border: 1px solid rgba(141, 90, 59, 0.24);
    background: #fff3ea;
    color: transparent;
    font-size: 0;
    line-height: 1;
}

.catalog-back-link__icon::before {
    content: "";
    width: 0.58rem;
    height: 0.58rem;
    margin-left: 0.18rem;
    border-left: 2px solid #8d5a3b;
    border-bottom: 2px solid #8d5a3b;
    transform: rotate(45deg);
}

.catalog-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.05rem 1.35rem;
}

.catalog-hero__eyebrow {
    margin: 0 0 0.3rem;
    color: var(--cc-accent);
    font-size: 0.98rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-hero h1 {
    max-width: 780px;
    margin: 0 0 0.45rem;
    color: #3a2a24;
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 3vw, 3.15rem);
    font-weight: 650;
    line-height: 1.02;
}

.catalog-hero p {
    max-width: 620px;
    margin: 0;
    color: var(--cc-ink-soft);
    font-size: 1.08rem;
    line-height: 1.45;
    font-weight: 700;
}

.catalog-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.catalog-hero__stats span {
    display: inline-flex;
    align-items: center;
    min-height: 2.3rem;
    padding: 0.28rem 0.72rem;
    border: 1px solid rgba(141, 90, 59, 0.2);
    border-radius: 999px;
    background: rgba(141, 90, 59, 0.08);
    color: var(--cc-accent-dark);
    font-size: 1.02rem;
    font-weight: 850;
}

.catalog-hero__stat-icon {
    width: 1.35rem;
    height: 1.35rem;
    margin-right: 0.45rem;
    flex-shrink: 0;
    color: var(--cc-accent);
}

.catalog-hero__image {
    min-height: 165px;
    background-position: center;
    background-size: cover;
}

.catalog-hero--courses .catalog-hero__image {
    background-image: linear-gradient(90deg, rgba(255, 250, 246, 0.08), rgba(61, 42, 34, 0.1)), url("../img/course.png");
}

.catalog-hero--teachers .catalog-hero__image {
    background-image: linear-gradient(90deg, rgba(255, 250, 246, 0.08), rgba(61, 42, 34, 0.08)), url("../img/teachers.png");
}

.catalog-hero--timetable .catalog-hero__image {
    background-image: linear-gradient(90deg, rgba(255, 250, 246, 0.08), rgba(61, 42, 34, 0.08)), url("../img/timetable.png");
}

.catalog-hero--online-learning .catalog-hero__image {
    background-image: linear-gradient(90deg, rgba(255, 250, 246, 0.08), rgba(61, 42, 34, 0.08)), url("../img/creative_workshop.png");
}

@media (max-width: 760px) {
    .catalog-hero {
        grid-template-columns: 1fr;
    }

    .catalog-hero__image {
        min-height: 180px;
        order: -1;
    }
}

/* Keeps logo bar + tutor/staff strip fixed together while scrolling */
.site-chrome {
    position: sticky;
    top: 0;
    z-index: 30;
}
.hdr {
    font-family: var(--font-site-header), sans-serif;
    background:
        linear-gradient(180deg, var(--card-bg), var(--soft-bg)),
        var(--page-bg);
    border-bottom: 1px solid rgba(141, 90, 59, 0.16);
    box-shadow: 0 8px 24px rgba(61, 42, 34, 0.1);
    backdrop-filter: blur(12px);
    transition: box-shadow 0.18s ease, background 0.18s ease;
}
.hdr-inner {
    max-width: none;
    margin: 0 auto;
    padding: 1.45rem 2rem 1.25rem;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.8rem;
    transition: padding 0.18s ease, gap 0.18s ease;
}
.hdr-brand {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 0 0 auto;
}
.hdr-brand a {
    font-weight: 800;
    color: var(--cc-accent-dark);
    text-decoration: none;
}
.hdr-home-link {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transform-origin: left center;
    transition: transform 0.18s ease;
}
.hdr-tagline-logo {
    display: block;
    width: min(25rem, 24vw);
    max-width: 285px;
    min-width: 190px;
    height: auto;
    transform-origin: left center;
    transition: transform 0.18s ease;
}
.hdr-nav-wrap {
    flex: 1;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: clamp(1.2rem, 1.8vw, 4rem);
    min-width: 0;
}
.hdr-nav-wrap a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 4.2rem;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    color: #4f3b32;
    font-size: clamp(1.22rem, 1.05vw, 1.55rem);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}
.hdr-nav-wrap a:hover,
.hdr-nav-wrap a:focus {
    background: rgba(255, 255, 255, 0.45);
    color: var(--cc-accent-dark);
    text-decoration: none;
}
.hdr-nav-wrap a.is-active {
    background: #ead8cc;
    color: #3d2a22;
    box-shadow: inset 0 -0.28rem 0 rgba(107, 62, 38, 0.18), 0 0.6rem 1.8rem rgba(61, 42, 34, 0.08);
}
.hdr-nav-wrap a.is-active::after {
    content: "";
    position: absolute;
    left: 1.45rem;
    right: 1.45rem;
    bottom: 0.75rem;
    height: 2px;
    border-radius: 999px;
    background: #6b3e26;
}
.hdr-foot-wrap {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem 5rem;
}
.hdr-auth-quick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.7rem;
    flex: 0 0 auto;
    margin-left: 0;
}
.hdr-auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    min-height: 4.8rem;
    padding: 0.6rem 1.65rem;
    border: 1px solid rgba(141, 90, 59, 0.18);
    border-radius: 999px;
    background: rgba(255, 250, 246, 0.62);
    color: #4f3b32;
    font-weight: 750;
    font-size: 1.32rem;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 0.8rem 2.2rem rgba(61, 42, 34, 0.08);
}
.hdr-auth-icon {
    width: 1.65rem;
    height: 1.65rem;
    stroke-width: 2.15;
}
.hdr-auth-btn--primary {
    background: rgba(255, 250, 246, 0.72);
    color: #4f3b32;
}
.hdr-auth-btn--outline {
    background: rgba(255, 250, 246, 0.72);
    color: #4f3b32;
}
.hdr-auth-btn--primary:hover,
.hdr-auth-btn--primary:focus,
.hdr-auth-btn--outline:hover,
.hdr-auth-btn--outline:focus {
    background: #fffaf6;
    color: var(--cc-accent-dark);
    border-color: rgba(141, 90, 59, 0.32);
    text-decoration: none;
}
.hdr.is-compact {
    box-shadow: 0 5px 18px rgba(61, 42, 34, 0.12);
}
.hdr.is-compact .hdr-inner {
    padding-top: 0.65rem;
    padding-bottom: 0.55rem;
    gap: 1.55rem;
}
.hdr.is-compact .hdr-home-link {
    transform: scale(0.9);
}
.hdr.is-compact .hdr-nav-wrap {
    gap: clamp(1.25rem, 2.4vw, 3.4rem);
}
.hdr.is-compact .hdr-nav-wrap a {
    min-height: 3.65rem;
    padding-inline: 1rem;
}
.hdr.is-compact .hdr-auth-quick {
    gap: 0.25rem 0.45rem;
}
.hdr.is-compact .hdr-auth-btn {
    min-height: 3.85rem;
    padding: 0.45rem 1.25rem;
    font-size: 1.16rem;
}
@media (max-width: 900px) {
    .hdr-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 1.8rem;
    }

    .hdr-nav-wrap {
        order: 3;
        flex-basis: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.65rem 1.15rem;
    }

    .hdr-auth-quick {
        justify-content: center;
    }

    .hdr.is-compact .hdr-inner {
        padding-top: 0.22rem;
        padding-bottom: 0.26rem;
        gap: 0.32rem 0.85rem;
    }

    .hdr.is-compact .hdr-home-link {
        transform-origin: center;
    }
}
@media (max-width: 640px) {
    .hdr-inner {
        padding-inline: 1rem;
    }

    .hdr-tagline-logo {
        width: 21rem;
        min-width: 0;
    }

    .hdr-nav-wrap {
        gap: 0.45rem;
    }

    .hdr-nav-wrap a {
        min-height: 3.6rem;
        padding: 0.3rem 0.85rem;
        font-size: 1.14rem;
    }

    .hdr-auth-btn {
        min-height: 4rem;
        padding: 0.45rem 1.2rem;
    }
}
.nav-cluster {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.nav-cluster-label {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--cc-accent-dark);
    font-weight: 700;
    opacity: 0.88;
}
.nav-cluster-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    align-items: center;
}
.hdr .nav-cluster:not(.nav-cluster--primary) {
    padding-left: 1.55rem;
    border-left: 1px solid rgba(107, 62, 38, 0.18);
}
.hdr .nav-cluster--primary .nav-cluster-links {
    flex-wrap: nowrap;
    gap: 0 1.6rem;
}
.nav-cluster-links a {
    position: relative;
    color: var(--cc-accent);
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    white-space: nowrap;
    padding-bottom: 0.2rem;
}
.hdr .nav-cluster--primary .nav-cluster-links a {
    font-size: 1.66rem;
    font-weight: 650;
}
.nav-cluster-links a:hover {
    color: var(--cc-accent-dark);
    text-decoration: none;
}
.hdr .nav-cluster-links a.is-active {
    color: var(--cc-accent-dark);
    font-weight: 700;
}
.hdr .nav-cluster-links a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.24rem;
    height: 3px;
    border-radius: 999px;
    background: rgba(107, 62, 38, 0.5);
}
.nav-cluster-links .sep {
    color: var(--cc-line);
    font-weight: 300;
    font-size: 1.12rem;
    user-select: none;
}
details.nav-more summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--cc-accent);
    list-style: none;
}
details.nav-more summary::-webkit-details-marker { display: none; }
details.nav-more[open] summary { margin-bottom: 0.35rem; }
.nav-more-panel {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.35rem 0 0 0.5rem;
    border-left: 2px solid var(--cc-line);
}
.nav-more-panel a { font-size: 1.22rem; font-weight: 600; }
.account-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--cc-line);
    font-size: 0.95rem;
    color: var(--cc-ink-soft);
}
.admin-bar {
    background: #4a342c;
    color: #f5ebe3;
    border-bottom: 1px solid #3d2922;
    /* Align with main nav / body scale: one size for labels, one for actions */
    --bar-label-size: 1.15rem;
    --bar-link-size: 1.25rem;
}
.admin-bar-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.5rem;
}
.admin-bar-title {
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
    color: #d4c4b8;
}
.role-badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.role-badge--po { background: #c9a227; color: #2a1f0a; }
.role-badge--staff { background: #6b8cae; color: #fff; }
.role-badge--customer { background: #7f9a72; color: #fff; }
.admin-bar a.admin-bar-link {
    color: #fff;
    font-weight: 700;
    font-size: var(--bar-link-size);
    text-decoration: none;
    border-radius: 6px;
    padding: 0.15rem 0.42rem;
    margin: -0.15rem -0.42rem;
}
.admin-bar a.admin-bar-link:hover {
    text-decoration: underline;
}
.admin-bar a.admin-bar-link.is-active {
    background: rgba(255, 255, 255, 0.22);
    text-decoration: none;
}
.admin-bar--customer .admin-bar-inner {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}
.admin-bar--customer .admin-bar-title {
    display: inline;
    margin-right: 0.55rem;
}
.admin-bar-name {
    display: inline-block;
    margin-right: 0.55rem;
    color: #fffaf6;
    font-size: var(--bar-label-size);
    font-weight: 850;
}
.admin-bar-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 2rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255,255,255,0.2);
}
.admin-bar-group:first-of-type { border-left: none; padding-left: 0; }
.admin-bar-muted {
    color: #c9bbb0;
    font-size: var(--bar-label-size);
    font-weight: 700;
}
.admin-bar--staff {
    background: #fffaf6;
    color: #4b3a31;
    border-top: 1px solid rgba(234, 216, 204, 0.72);
    border-bottom: 1px solid #ead8cc;
    box-shadow: 0 8px 24px rgba(61, 42, 34, 0.04);
}
.admin-bar--staff .admin-bar-inner--staff {
    width: min(100%, 154rem);
    max-width: none;
    padding: 1rem 1.8rem;
    flex-wrap: nowrap;
    gap: 1.8rem;
}
.admin-bar-identity {
    flex: 0 0 auto;
    min-width: 19rem;
}
.admin-bar--staff .admin-bar-title {
    color: #8d5a3b;
    font-size: 1rem;
}
.admin-bar--staff .admin-bar-muted {
    color: #3d2a22;
    font-size: 1.05rem;
    font-weight: 800;
}
.admin-bar--staff .role-badge {
    margin-left: 0.45rem;
    vertical-align: middle;
}
.admin-bar--staff .role-badge--po {
    background: #bd8b1d;
    color: #fffaf6;
}
.admin-bar--staff .role-badge--staff {
    background: #8d5a3b;
    color: #fffaf6;
}
.admin-bar-staff-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
    min-width: 0;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
}
.admin-bar--staff a.admin-bar-link--staff {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 4.25rem;
    margin: 0;
    padding: 0.65rem 0.85rem;
    border: 1px solid transparent;
    border-bottom: 3px solid transparent;
    border-radius: 8px;
    color: #4b3a31;
    font-size: 1.08rem;
    font-weight: 850;
    line-height: 1.15;
    white-space: nowrap;
    text-decoration: none;
}
.admin-bar--staff a.admin-bar-link--staff:hover,
.admin-bar--staff a.admin-bar-link--staff:focus {
    background: rgba(141, 90, 59, 0.07);
    color: #6b3e26;
    text-decoration: none;
}
.admin-bar--staff a.admin-bar-link--staff.is-active {
    border-color: rgba(234, 216, 204, 0.95);
    border-bottom-color: #bd8b1d;
    background: #f6eee7;
    color: #3d2a22;
    box-shadow: 0 10px 18px rgba(61, 42, 34, 0.07);
}
.cc-icon {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}
.staff-nav-icon {
    flex: 0 0 1.55rem;
    width: 1.55rem;
    height: 1.55rem;
    color: #6b534a;
    stroke-width: 2.1;
}
.admin-bar--staff a.admin-bar-link--staff.is-active .staff-nav-icon,
.admin-bar--staff a.admin-bar-link--staff:hover .staff-nav-icon,
.admin-bar--staff a.admin-bar-link--staff:focus .staff-nav-icon {
    color: #6b3e26;
}
.main { margin-bottom: 2rem; }
.ai-chatbot-widget {
    position: fixed;
    right: 1.2rem;
    top: auto;
    bottom: 8.45rem;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 6.55rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--cc-accent);
    font-family: var(--font-site-header), sans-serif;
    font-size: 1.29rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
    transform: none;
}
.ai-chatbot-widget:hover,
.ai-chatbot-widget:focus {
    color: var(--cc-accent-dark);
    background: transparent;
    text-decoration: none;
}
.ai-chatbot-widget__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.08rem;
    padding: 0 1.1rem;
    border: 1px solid #eadfd8;
    border-radius: 999px;
    background: rgba(255, 253, 251, 0.98);
    color: var(--cc-accent);
    box-shadow: 0 0.45rem 1.15rem rgba(61, 42, 34, 0.08);
    white-space: nowrap;
}

.ai-chatbot-widget__button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 6.55rem;
    height: 6.55rem;
    border: 1px solid rgba(107, 62, 38, 0.14);
    border-radius: 999px;
    background: #8d5a3b;
    box-shadow: 0 0.95rem 1.8rem rgba(61, 42, 34, 0.2);
    transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.ai-chatbot-widget:hover .ai-chatbot-widget__button,
.ai-chatbot-widget:focus .ai-chatbot-widget__button {
    background: var(--cc-accent-dark);
    box-shadow: 0 1.05rem 1.9rem rgba(61, 42, 34, 0.24);
    transform: translateY(-1px);
}

.ai-chatbot-widget__icon {
    display: block;
    width: 5.5rem;
    height: 5.5rem;
    overflow: visible;
}

.ai-chatbot-widget__body,
.ai-chatbot-widget__antenna-dot {
    fill: #fffaf6;
}

.ai-chatbot-widget__antenna,
.ai-chatbot-widget__smile {
    fill: none;
    stroke: #fffaf6;
    stroke-width: 4;
    stroke-linecap: round;
}

.ai-chatbot-widget__smile {
    stroke: #8d5a3b;
    stroke-width: 3.2;
}

.ai-chatbot-widget__eye {
    fill: #8d5a3b;
}

.ai-chatbot-widget__status {
    position: absolute;
    right: 0.04rem;
    bottom: 0.24rem;
    width: 1.5rem;
    height: 1.5rem;
    border: 0.24rem solid #fffdfb;
    border-radius: 999px;
    background: #6ca566;
    box-shadow: 0 0.18rem 0.45rem rgba(61, 42, 34, 0.16);
}

.booking-cart-widget {
    position: fixed;
    right: 1.2rem;
    bottom: 2.1rem;
    z-index: 70;
    color: var(--cc-ink);
}

.booking-cart-widget summary {
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
    min-height: 4.25rem;
    padding: 0.58rem 0.62rem 0.58rem 1.05rem;
    border: 1px solid rgba(107, 62, 38, 0.16);
    border-radius: 999px;
    background: rgba(255, 250, 246, 0.96);
    color: var(--cc-accent-dark);
    font-size: 1.08rem;
    font-weight: 900;
    list-style: none;
    cursor: pointer;
    box-shadow: 0 16px 36px rgba(61, 42, 34, 0.18);
    backdrop-filter: blur(10px);
}

.booking-cart-widget summary::-webkit-details-marker {
    display: none;
}

.booking-cart-widget__icon {
    width: 1.55rem;
    height: 1.55rem;
    color: var(--cc-accent-dark);
    stroke-width: 2.25;
}

.booking-cart-widget__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.15rem;
    height: 2.15rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: var(--cc-accent);
    color: #ffffff;
    font-size: 0.95rem;
}

.booking-cart-widget__chevron {
    width: 1.35rem;
    height: 1.35rem;
    color: #8d6d5f;
    stroke-width: 2.4;
}

.booking-cart-widget__panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 1rem);
    width: min(34rem, calc(100vw - 2rem));
    padding: 1.35rem 1.35rem 1.2rem;
    border: 1px solid rgba(234, 216, 204, 0.9);
    border-radius: 18px;
    background: rgba(255, 253, 249, 0.98);
    box-shadow: 0 20px 52px rgba(61, 42, 34, 0.18);
    backdrop-filter: blur(14px);
}

.booking-cart-widget__head,
.booking-cart-widget__total,
.booking-cart-widget__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.booking-cart-widget__head {
    padding-bottom: 0.85rem;
}

.booking-cart-widget__head strong {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--cc-ink);
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-size: 2.15rem;
    font-weight: 700;
    line-height: 1;
}

.booking-cart-widget__total strong {
    color: var(--cc-ink);
}

.booking-cart-widget__head span {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.2rem 0.58rem;
    border-radius: 999px;
    background: #fff0df;
    color: #9b6a46;
    font-size: 0.88rem;
    font-weight: 900;
}

.booking-cart-widget__total span {
    color: var(--cc-ink-soft);
    font-weight: 750;
}

.booking-cart-widget__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #6b534a;
    cursor: pointer;
}

.booking-cart-widget__close-icon {
    width: 1.55rem;
    height: 1.55rem;
    stroke-width: 2.2;
}

.booking-cart-widget__items {
    display: grid;
    gap: 0.65rem;
    margin: 0.55rem 0 1rem;
}

.booking-cart-widget__item {
    display: grid;
    gap: 0.15rem;
    padding: 0.65rem;
    border: 1px solid rgba(141, 90, 59, 0.16);
    border-radius: 8px;
    background: #fffdfb;
}

.booking-cart-widget__empty {
    display: grid;
    justify-items: center;
    padding: 0.15rem 1rem 0.75rem;
    text-align: center;
}

.booking-cart-widget__empty-image {
    display: block;
    width: 13rem;
    max-width: 74%;
    height: auto;
    margin: 0 auto 0.3rem;
}

.booking-cart-widget__empty strong {
    margin: 0.15rem 0 0.35rem;
    color: var(--cc-ink);
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-size: 1.42rem;
    font-weight: 700;
    line-height: 1.1;
}

.booking-cart-widget__empty p {
    max-width: 18rem;
    margin: 0;
    color: var(--cc-ink-soft);
    font-size: 1.02rem;
    font-weight: 650;
    line-height: 1.4;
}

.booking-cart-widget__item strong {
    color: var(--cc-ink);
    font-size: 1rem;
}

.booking-cart-widget__item span,
.booking-cart-widget__more {
    margin: 0;
    color: var(--cc-ink-soft);
    font-size: 0.9rem;
    line-height: 1.35;
}

.booking-cart-widget__total {
    padding: 1.05rem 0;
    border-top: 1px solid var(--cc-line);
    color: var(--cc-ink);
    font-size: 1.1rem;
}

.booking-cart-widget__total strong {
    font-size: 1.12rem;
}

.booking-cart-widget__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.65rem;
    padding: 0 1.25rem;
    border: 1px solid var(--cc-accent);
    border-radius: 999px;
    color: var(--cc-accent-dark);
    font-weight: 850;
    font-size: 1rem;
    text-decoration: none;
}

.booking-cart-widget__actions a.is-primary {
    background: var(--cc-accent);
    color: #ffffff;
}

.booking-cart-widget__actions a:hover,
.booking-cart-widget__actions a:focus {
    background: var(--cc-accent-dark);
    border-color: var(--cc-accent-dark);
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 760px) {
    .ai-chatbot-widget {
        right: 0.8rem;
        top: auto;
        bottom: 8.1rem;
        gap: 0.5rem;
        min-height: 5.25rem;
        transform: none;
    }

    .ai-chatbot-widget__label {
        min-height: 2.45rem;
        padding: 0 0.78rem;
        font-size: 0.95rem;
    }

    .ai-chatbot-widget__button {
        width: 5.25rem;
        height: 5.25rem;
    }

    .ai-chatbot-widget__icon {
        width: 4.4rem;
        height: 4.4rem;
    }

    .ai-chatbot-widget__status {
        width: 1.2rem;
        height: 1.2rem;
        border-width: 0.2rem;
    }

    .booking-cart-widget {
        right: 0.8rem;
        bottom: 1.8rem;
    }

    .booking-cart-widget__panel {
        width: min(31rem, calc(100vw - 1.6rem));
    }

    .booking-cart-widget__label {
        display: none;
    }
}
.accessibility-wrapper {
    position: fixed !important;
    left: 1.2rem !important;
    bottom: 1.2rem !important;
    z-index: 2147483647 !important;
}

.accessibility-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;

    min-height: 3.15rem;
    padding: 0 1.2rem;

    border: 1px solid rgba(107, 62, 38, 0.14);
    border-radius: 999px;

    background:
            linear-gradient(
                    180deg,
                    #9b6746 0%,
                    #8d5a3b 100%
            );

    color: #fffaf6;

    font-family: var(--font-site-header), sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;

    box-shadow:
            0 10px 22px rgba(61, 42, 34, 0.16),
            inset 0 1px 0 rgba(255,255,255,0.18);

    cursor: pointer;

    transition:
            transform 140ms ease,
            box-shadow 140ms ease,
            background 140ms ease;
}

.accessibility-toggle:hover {
    background:
            linear-gradient(
                    180deg,
                    #a36f4d 0%,
                    #945f40 100%
            );

    transform: translateY(-1px);

    box-shadow:
            0 14px 28px rgba(61, 42, 34, 0.2),
            inset 0 1px 0 rgba(255,255,255,0.2);
}

.accessibility-toggle:active {
    transform: translateY(0);
}

.accessibility-toggle:focus-visible {
    outline: 3px solid rgba(173, 106, 70, 0.28);
    outline-offset: 3px;
}
.accessibility-menu {
    display: none;
    position: absolute;
    left: 0;
    bottom: calc(100% + 0.8rem);

    min-width: 250px;

    padding: 0.6rem;

    border: 1px solid rgba(141, 90, 59, 0.14);
    border-radius: 18px;

    background:
            linear-gradient(
                    180deg,
                    rgba(255,253,251,0.98),
                    rgba(252,248,244,0.98)
            );

    box-shadow:
            0 20px 50px rgba(61,42,34,0.18);

    backdrop-filter: blur(14px);
}

.accessibility-menu.open {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.accessibility-menu button {
    display: flex;
    align-items: center;

    min-height: 2.9rem;

    padding: 0 0.85rem;

    border: 0;
    border-radius: 12px;

    background: transparent;

    color: var(--cc-ink);

    font-size: 0.98rem;
    font-weight: 700;

    transition:
            background 120ms ease,
            color 120ms ease;
}

.accessibility-menu button:hover {
    background: rgba(141, 90, 59, 0.08);
    color: var(--cc-accent-dark);
}
.booking-cart-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1.6rem 1rem 3.4rem;
    color: var(--cc-ink-soft);
}

.booking-cart-hero,
.booking-cart-empty,
.booking-cart-summary,
.booking-cart-item {
    border: 1px solid var(--cc-line);
    border-radius: 16px;
    background: rgba(255, 253, 249, 0.96);
    box-shadow: 0 16px 38px rgba(61, 42, 34, 0.07);
}

.booking-cart-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    padding: 1.55rem 1.7rem;
    background:
        linear-gradient(135deg, rgba(255, 253, 249, 0.98), rgba(255, 244, 235, 0.92)),
        #fffdf9;
}

.booking-cart-eyebrow,
.booking-cart-item__label {
    margin: 0 0 0.25rem;
    color: var(--cc-accent-dark);
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.booking-cart-hero h1 {
    margin: 0 0 0.45rem;
    color: var(--cc-ink);
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 5vw, 4.6rem);
    font-weight: 650;
    line-height: 1.02;
}

.booking-cart-hero p {
    max-width: 680px;
    margin: 0;
    color: var(--cc-ink-soft);
    font-size: 1.14rem;
    font-weight: 700;
    line-height: 1.5;
}

.booking-cart-hero__summary {
    display: grid;
    gap: 0.2rem;
    min-width: 11rem;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(141, 90, 59, 0.18);
    border-radius: 14px;
    background: #fff3ea;
    text-align: right;
}

.booking-cart-hero__summary span {
    color: var(--cc-ink-soft);
    font-weight: 800;
}

.booking-cart-hero__summary strong {
    color: var(--cc-ink);
    font-size: 1.35rem;
}

.booking-cart-empty {
    padding: 2.4rem 1.5rem 2.2rem;
    text-align: center;
}

.booking-cart-empty__image {
    display: block;
    width: min(22rem, 65vw);
    height: auto;
    margin: 0 auto 0.55rem;
}

.booking-cart-empty h2 {
    margin: 0 0 0.45rem;
    color: var(--cc-ink);
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-size: 2.6rem;
    font-weight: 700;
}

.booking-cart-empty p {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    font-weight: 650;
}

.booking-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 26rem);
    gap: 1.2rem;
    align-items: start;
}

.booking-cart-items {
    display: grid;
    gap: 0.85rem;
}

.booking-cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 1.15rem 1.25rem;
}

.booking-cart-item__main {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.booking-cart-item__emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 3.4rem;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    background: #f8e9df;
    font-size: 1.65rem;
    line-height: 1;
}

.booking-cart-item h2 {
    margin: 0 0 0.35rem;
    color: var(--cc-ink);
    font-size: 1.45rem;
    font-weight: 900;
}

.booking-cart-item p {
    margin: 0;
    color: var(--cc-ink-soft);
    line-height: 1.45;
    font-size: 1.08rem;
    font-weight: 650;
}

.booking-cart-item__meta,
.booking-cart-summary {
    display: grid;
    gap: 0.7rem;
}

.booking-cart-item__meta {
    justify-items: end;
    min-width: 9rem;
}

.booking-cart-item__meta strong {
    color: var(--cc-ink);
    font-size: 1.18rem;
    font-weight: 900;
}

.booking-cart-remove,
.booking-cart-secondary {
    color: var(--cc-accent-dark);
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.booking-cart-summary {
    padding: 1.2rem;
    position: sticky;
    top: 8rem;
    align-content: start;
}

.booking-cart-summary__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.booking-cart-summary__icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--cc-accent-dark);
    stroke-width: 2.2;
}

.booking-cart-summary h2 {
    margin: 0;
    color: var(--cc-ink);
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 700;
}

.booking-cart-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--cc-line);
    font-size: 1.05rem;
    font-weight: 750;
}

.booking-cart-summary__row strong {
    color: var(--cc-ink);
}

.booking-cart-checkout {
    width: 100%;
    margin: 0;
    border-color: var(--cc-accent);
    border-radius: 999px;
    background: var(--cc-accent);
    font-size: 1rem;
    font-weight: 900;
}

.booking-cart-secondary {
    justify-self: center;
    font-size: 1.05rem;
}

@media (max-width: 820px) {
    .booking-cart-hero,
    .booking-cart-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .booking-cart-hero__summary,
    .booking-cart-item__meta {
        justify-items: start;
        text-align: left;
    }

    .booking-cart-layout {
        grid-template-columns: 1fr;
    }

    .booking-cart-summary {
        position: static;
    }
}
/*
 * Staff workspace (PO/admin list pages) — page title block aligned with Staff account management:
 * Milligram h3 scale (2.8rem), not oversized h1.
 */
h3.staff-workspace-heading {
    margin: 0 0 0.4rem;
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-weight: 650;
    font-size: 2.65rem;
    line-height: 1.08;
    letter-spacing: -0.015em;
    color: #3a2a24;
}
p.staff-workspace-lede {
    margin: 0 0 1rem;
    font-size: 1.35rem;
    line-height: 1.5;
    font-weight: 400;
    color: var(--cc-ink-soft);
}

.site-footer.home-footer {
    --home-ink: #3a2a24;
    --home-text: #5b4740;
    --home-muted: #7a6257;
    --home-accent: #ad6a46;
    --home-accent-dark: #7f472d;
    --home-line: #ead9cc;
    position: relative;
    display: grid;
    grid-template-columns: minmax(24rem, 0.9fr) minmax(0, 2fr);
    gap: clamp(3rem, 5vw, 7rem);
    width: 100%;
    margin: 3rem auto 0;
    padding: 3.4rem clamp(3rem, 7vw, 9rem) 0 clamp(18rem, 23vw, 31rem);
    overflow: hidden;
    border: 0;
    border-top: 1px solid rgba(234, 217, 204, 0.82);
    border-radius: 0;
    background:
        linear-gradient(90deg, rgba(255, 248, 240, 0.5), rgba(255, 253, 249, 0.9) 46%, rgba(255, 248, 240, 0.82)),
        url("../img/footer.png") left bottom / auto 100% no-repeat,
        #fff8f0;
    box-shadow: 0 -10px 32px rgba(58, 42, 36, 0.035);
    color: var(--home-text);
    font-family: Raleway, "Helvetica Neue", Arial, sans-serif;
}

.home-footer-logo {
    display: block;
    width: 15rem;
    max-width: 100%;
    height: auto;
    margin: 0 0 1rem;
}

.home-footer-line {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin: 0 0 0.72rem;
    color: var(--home-text);
    font-size: 0.98rem;
    line-height: 1.45;
}

.home-footer-line a {
    color: var(--home-text);
    text-decoration: none;
}

.home-footer-line a:hover,
.home-footer-line a:focus {
    color: var(--home-accent-dark);
    text-decoration: underline;
}

.home-footer-icon {
    flex: 0 0 1.35rem;
    width: 1.35rem;
    height: 1.35rem;
    margin-top: 0.12rem;
    color: var(--home-accent);
    stroke-width: 2;
}

.home-footer-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(10rem, 1fr));
    gap: clamp(2.6rem, 4.6vw, 6.2rem);
    max-width: 66rem;
}

.home-footer-nav > div {
    min-height: 11rem;
    padding-left: clamp(2.2rem, 3.2vw, 4rem);
    border-left: 1px solid rgba(173, 106, 70, 0.22);
}

.home-footer-nav h3 {
    margin: 0 0 0.9rem;
    color: var(--home-ink);
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.08;
    text-transform: none;
}

.home-footer-nav a {
    display: block;
    margin-bottom: 0.72rem;
    color: var(--home-text);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.home-footer-nav a:hover,
.home-footer-nav a:focus {
    color: var(--home-accent-dark);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.home-footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2.7rem calc(clamp(3rem, 7vw, 9rem) * -1) 0 calc(clamp(18rem, 23vw, 31rem) * -1);
    padding: 0.75rem clamp(3rem, 7vw, 9rem);
    border-top: 0;
    background: linear-gradient(90deg, rgba(173, 126, 100, 0.86), rgba(177, 132, 108, 0.72));
    color: #fff7ef;
    font-size: 0.92rem;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 860px) {
    .site-footer.home-footer {
        grid-template-columns: 1fr;
        width: min(100% - 1.6rem, 1440px);
        padding: 2.2rem 1.2rem 0;
        border-radius: 8px 8px 0 0;
        background:
            linear-gradient(90deg, rgba(255, 248, 240, 0.82), rgba(255, 253, 249, 0.94)),
            url("../img/footer.png") left bottom / auto 58% no-repeat,
            #fff8f0;
    }

    .home-footer-nav {
        grid-template-columns: 1fr;
    }

    .home-footer-bottom {
        flex-direction: column;
        margin: 2rem -1.2rem 0;
        padding: 0.75rem 1.2rem;
    }
}
#vision-root.vision-normal {
    filter: none;
}

/* Protanopia (red weakness) */
#vision-root.vision-protanopia {
    filter: sepia(0.35) saturate(0.75) hue-rotate(-18deg);
}

/* Deuteranopia (green weakness) */
#vision-root.vision-deuteranopia {
    filter: saturate(1.15) hue-rotate(18deg);
}

/* Tritanopia (blue weakness) */
#vision-root.vision-tritanopia {
    filter: saturate(1.2) hue-rotate(185deg);
}

/* High contrast mode */
#vision-root.vision-high-contrast {
    filter: contrast(1.8) brightness(1.05);
    background: black !important;
    color: white !important;
}

#vision-root.vision-high-contrast a {
    color: yellow !important;
}

#vision-root.vision-high-contrast .hdr,
#vision-root.vision-high-contrast .admin-bar,
#vision-root.vision-high-contrast .site-footer {
    background: black !important;
    border-color: white !important;
}
