/* ==========================================================================
   Mosaic / Salwa Mosaic — public site theme  (Pure CSS, RTL, Bootstrap-compat)
   Design system: fluid type scale + spacing scale + touch-friendly mobile.
   ========================================================================== */

:root {
    /* Palette */
    --navy: #0f172a;
    --navy-2: #1e293b;
    --offwhite: #f6f5f1;
    --gold: #c9a227;
    --gold-d: #b08d18;
    --teal: #0d9488;
    --teal-d: #0b7a70;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: #e8e6df;
    --line-2: #f0eee8;

    /* Radii */
    --r-sm: 10px;
    --r: 14px;
    --r-lg: 20px;
    --r-xl: 28px;

    /* Shadows (soft, layered) */
    --shadow-xs: 0 1px 2px rgba(15,23,42,.06);
    --shadow-sm: 0 4px 14px rgba(15,23,42,.06);
    --shadow: 0 14px 38px rgba(15,23,42,.10);
    --shadow-lg: 0 24px 60px rgba(15,23,42,.14);

    /* Spacing scale */
    --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 20px;
    --s-6: 24px; --s-7: 28px; --s-8: 32px; --s-10: 40px; --s-12: 48px;
    --s-16: 64px; --s-20: 80px;

    /* Fluid type scale */
    --fs-xs: .8125rem;                              /* 13 */
    --fs-sm: .9rem;                                 /* ~14.4 */
    --fs-base: clamp(1rem, .96rem + .2vw, 1.075rem);/* 16–17.2 */
    --fs-md: clamp(1.06rem, 1rem + .4vw, 1.2rem);
    --fs-lg: clamp(1.2rem, 1.08rem + .7vw, 1.45rem);
    --fs-xl: clamp(1.4rem, 1.15rem + 1.2vw, 1.9rem);
    --fs-2xl: clamp(1.75rem, 1.3rem + 2.2vw, 2.6rem);
    --fs-3xl: clamp(2.1rem, 1.5rem + 3.2vw, 3.4rem);

    --section-y: clamp(44px, 5.5vw, 92px);
    --container-pad: clamp(16px, 4vw, 28px);
}

/* ----------------------------- Base ----------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Cairo', system-ui, -apple-system, sans-serif;
    font-size: var(--fs-base);
    line-height: 1.75;
    color: var(--ink);
    background: var(--offwhite);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 800; color: var(--navy); margin: 0; letter-spacing: -.2px; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--teal); text-decoration: none; transition: color .15s; }
a:hover { color: var(--teal-d); }
img { max-width: 100%; }
small, .small { font-size: var(--fs-sm); }
:focus-visible { outline: 3px solid rgba(13,148,136,.35); outline-offset: 2px; border-radius: 6px; }

.container { padding-inline: var(--container-pad); }
@media (min-width: 1200px) { .container, .container-lg, .container-xl { max-width: 1180px; } }

/* Sections */
.section { padding-block: var(--section-y); }
.section-alt { background: #fff; }
.section-title { font-size: var(--fs-xl); font-weight: 800; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-8); flex-wrap: wrap; }
.section-head a { font-weight: 700; font-size: var(--fs-sm); }

/* ----------------------------- Buttons ----------------------------- */
.btn { font-weight: 700; border-radius: var(--r); transition: transform .12s, box-shadow .15s, background .15s, color .15s; }
.btn:active { transform: translateY(1px); }
.btn-sm { border-radius: var(--r-sm); }
.btn-lg { padding: .85rem 2rem; font-size: var(--fs-md); border-radius: var(--r); }
.btn-accent { background: var(--gold); border: none; color: #1a1505; box-shadow: 0 8px 20px rgba(201,162,39,.28); padding: .7rem 1.5rem; }
.btn-accent:hover { background: var(--gold-d); color: #1a1505; box-shadow: 0 10px 26px rgba(201,162,39,.36); }
.btn-accent:disabled { opacity: .55; box-shadow: none; }
.btn-primary { background: var(--navy); border-color: var(--navy); padding: .7rem 1.5rem; }
.btn-primary:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-outline-primary { color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline-primary:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.btn-light:hover { background: var(--offwhite); }

/* ----------------------------- Header ----------------------------- */
.site-header { background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1030; }
.site-header > .container { min-height: 68px; }
.site-brand { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.site-brand i { color: var(--gold); }
.site-logo { height: 46px; width: auto; display: block; }
.site-nav-link { color: var(--ink); font-weight: 700; font-size: var(--fs-sm); padding: .4rem .2rem; position: relative; }
.site-nav-link.active, .site-nav-link:hover { color: var(--teal); }
.site-nav-link.active::after { content: ""; position: absolute; inset-inline: 0; bottom: -4px; height: 2px; background: var(--teal); border-radius: 2px; }
.site-icon-link { color: var(--navy); font-size: 1.3rem; line-height: 1; padding: .35rem; border-radius: 50%; }
.site-icon-link:hover { color: var(--teal); background: var(--offwhite); }
.btn-account { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .45rem .9rem; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: .4rem; font-size: var(--fs-sm); }
.btn-account:hover { background: var(--offwhite); }
.dropdown-menu { border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--r); padding: .4rem; margin-top: .4rem; }
.dropdown-item { border-radius: var(--r-sm); padding: .55rem .8rem; font-weight: 600; }
.dropdown-item i { width: 18px; color: var(--teal); }

/* ----------------------------- Footer ----------------------------- */
.site-footer { background: var(--navy); color: #cbd5e1; margin-top: var(--s-20); }
.footer-main { padding-block: clamp(40px, 6vw, 72px); }
.footer-logo img { height: 58px; width: auto; background: #fff; border-radius: var(--r-sm); padding: 8px 12px; }
.footer-about { color: #94a3b8; font-size: var(--fs-sm); line-height: 1.9; margin: 0 0 var(--s-5); max-width: 360px; }
.footer-social { display: flex; gap: var(--s-2); }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); color: #e2e8f0; font-size: 1.05rem; transition: background .15s, color .15s, transform .15s; }
.footer-social a:hover { background: var(--gold); color: #1a1505; transform: translateY(-3px); }
.footer-title { font-size: var(--fs-sm); font-weight: 800; color: #fff; letter-spacing: .3px; margin-bottom: var(--s-4); text-transform: none; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.footer-links a { color: #94a3b8; font-size: var(--fs-sm); font-weight: 600; }
.footer-links a:hover { color: var(--gold); padding-inline-start: 4px; }
.footer-contact li { display: flex; align-items: center; gap: var(--s-2); color: #94a3b8; font-size: var(--fs-sm); }
.footer-contact i { color: var(--gold); width: 18px; flex: 0 0 18px; }
.footer-contact a { color: #94a3b8; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: var(--s-4); font-size: var(--fs-xs); color: #7c8aa0; }
.footer-made i { color: #ef4444; margin-inline-start: 4px; }

/* ----------------------------- Hero ----------------------------- */
.hero { position: relative; background: radial-gradient(1200px 500px at 85% -10%, rgba(13,148,136,.25), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding-block: clamp(56px, 9vw, 120px); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 10% 120%, rgba(201,162,39,.18), transparent 60%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; }
.hero-content { max-width: 720px; }
.hero-title { font-size: var(--fs-3xl); line-height: 1.2; margin-bottom: var(--s-5); color: #fff; }
.hero-sub { font-size: var(--fs-md); line-height: 1.85; color: #cfd8e6; max-width: 620px; margin-bottom: var(--s-8); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* Page head (lighter hero for inner pages) */
.page-head { background: radial-gradient(900px 400px at 90% -20%, rgba(13,148,136,.22), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding-block: clamp(40px, 6vw, 68px); }
.page-title { font-size: var(--fs-2xl); color: var(--navy); }   /* navy by default (visible on light bg) */
.page-head .page-title { color: #fff; }                          /* white only inside dark page-head */
.page-sub { color: #cfd8e6; margin: var(--s-2) 0 0; font-size: var(--fs-md); }

/* ----------------------------- Feature / Step ----------------------------- */
.feature-box, .step-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-7); height: 100%; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.feature-box:hover, .step-box:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-icon { width: 60px; height: 60px; border-radius: 18px; background: rgba(13,148,136,.1); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin: 0 auto var(--s-4); }
.feature-title, .step-title { font-size: var(--fs-md); margin-bottom: var(--s-2); }
.feature-text, .step-text { color: var(--muted); font-size: var(--fs-sm); line-height: 1.8; margin: 0; }
.step-num { width: 48px; height: 48px; border-radius: 16px; background: linear-gradient(135deg, var(--gold), var(--gold-d)); color: #1a1505; font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; margin-bottom: var(--s-4); box-shadow: 0 8px 18px rgba(201,162,39,.3); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--teal), var(--teal-d)); color: #fff; padding-block: clamp(48px, 7vw, 84px); }
.cta-title { font-size: var(--fs-2xl); color: #fff; }
.cta-sub { color: #d9f3ef; margin: var(--s-3) 0 var(--s-6); font-size: var(--fs-md); }
.cta-band .btn-accent { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.cta-band .btn-accent:hover { background: var(--offwhite); }

/* ----------------------------- Workshop card ----------------------------- */
.ws-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .22s, box-shadow .22s; }
.ws-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ws-card-media-wrap { position: relative; }
.ws-card-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: #eee; }
.ws-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ws-card:hover .ws-card-media img { transform: scale(1.06); }
.ws-card-placeholder { width: 100%; aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; font-size: 2.6rem; color: #cbd5e1; background: linear-gradient(135deg,#eef2f6,#f6f8fb); }
.ws-card-body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.ws-card-title { font-size: var(--fs-md); line-height: 1.4; }
.ws-card-title a { color: var(--navy); }
.ws-card-title a:hover { color: var(--teal); }
.ws-card-desc { color: var(--muted); font-size: var(--fs-sm); line-height: 1.75; margin: 0; }
.ws-card-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); font-size: var(--fs-xs); color: var(--muted); }
.ws-card-meta i { color: var(--teal); margin-inline-end: 2px; }
.ws-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--line-2); }
.ws-price-from { display: block; font-size: var(--fs-xs); color: var(--muted); }
.ws-price-val { font-weight: 800; color: var(--navy); font-size: var(--fs-md); }

/* Filters */
.filters-bar { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--shadow-sm); }
.filters-bar .form-control, .filters-bar .form-select { border: 1.5px solid var(--line); border-radius: var(--r-sm); min-height: 46px; font-size: var(--fs-sm); }
.filters-bar .form-control:focus, .filters-bar .form-select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(13,148,136,.12); }

/* ----------------------------- Workshop details ----------------------------- */
.ws-hero { background: radial-gradient(900px 400px at 90% -20%, rgba(13,148,136,.22), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding-block: clamp(40px, 6vw, 72px); }
.ws-breadcrumb { font-size: var(--fs-xs); color: #b9c4d6; margin-bottom: var(--s-5); display: flex; gap: var(--s-2); flex-wrap: wrap; }
.ws-breadcrumb a { color: #b9c4d6; }
.ws-breadcrumb a:hover { color: #fff; }
.ws-breadcrumb .current { color: #fff; }
.ws-hero-title { font-size: var(--fs-2xl); color: #fff; margin-bottom: var(--s-4); }
.ws-hero-sub { color: #cfd8e6; font-size: var(--fs-md); line-height: 1.85; }
.ws-hero-badges { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.ws-badge { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: .4rem .9rem; font-size: var(--fs-xs); font-weight: 600; }
.ws-badge i { color: var(--gold); margin-inline-end: 3px; }
.ws-hero-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.ws-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.ws-block { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-7); margin-bottom: var(--s-5); box-shadow: var(--shadow-sm); }
.ws-block-title { font-size: var(--fs-lg); margin-bottom: var(--s-5); display: flex; align-items: center; gap: var(--s-2); }
.ws-block-title i { color: var(--gold); }
.ws-prose { color: var(--ink); line-height: 2; font-size: var(--fs-base); }
.ws-list { margin: 0; padding-inline-start: 1.3rem; line-height: 2.1; }
.ws-list li { margin-bottom: var(--s-1); }
.ws-schedule-list { display: flex; flex-direction: column; gap: var(--s-3); }
.ws-schedule-item { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-4) var(--s-5); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .15s, background .15s; }
.ws-schedule-item:hover { border-color: var(--teal); background: rgba(13,148,136,.04); }
.ws-schedule-item i { color: var(--teal); margin-inline-end: 4px; }
.ws-seats { background: rgba(13,148,136,.1); color: var(--teal-d); border-radius: 999px; padding: .3rem .8rem; font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; }
.ws-ticket-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: var(--s-4); }
.ws-ticket { border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-5); transition: border-color .15s, transform .15s; }
.ws-ticket:hover { border-color: var(--teal); transform: translateY(-2px); }
.ws-ticket-name { font-weight: 700; color: var(--navy); }
.ws-ticket-desc { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--s-1); }
.ws-ticket-price { font-weight: 800; color: var(--teal-d); margin-top: var(--s-3); font-size: var(--fs-md); }
.ws-ticket-price .old { text-decoration: line-through; color: var(--muted); font-weight: 500; margin-inline-end: 6px; font-size: var(--fs-sm); }
.ws-instructor { display: flex; gap: var(--s-4); align-items: center; }
.ws-instructor img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }

/* ----------------------------- Sticky booking card ----------------------------- */
.booking-card-wrap { position: sticky; top: 88px; }
.booking-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow); }
.booking-card-price .price-big { font-size: var(--fs-2xl); font-weight: 800; color: var(--navy); line-height: 1.1; }
.booking-card-price .price-big span { font-size: var(--fs-md); color: var(--muted); font-weight: 700; }
.booking-card-facts { list-style: none; padding: 0; margin: var(--s-5) 0; display: flex; flex-direction: column; gap: var(--s-3); font-size: var(--fs-sm); }
.booking-card-facts i { color: var(--teal); margin-inline-end: 4px; }
.book-cta { padding-block: .8rem; font-size: var(--fs-md); }
.booking-trust { list-style: none; padding: var(--s-4) 0 0; margin: var(--s-4) 0 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: var(--s-2); font-size: var(--fs-xs); color: var(--muted); }
.booking-trust i { color: var(--gold); margin-inline-end: 4px; }

/* ----------------------------- Stepper ----------------------------- */
.stepper { list-style: none; display: flex; padding: 0; margin: 0 0 var(--s-8); gap: var(--s-2); }
.stepper-item { display: flex; flex-direction: column; align-items: center; gap: var(--s-2); flex: 1; min-width: 56px; opacity: .5; position: relative; text-align: center; }
/* Connector line between dots. Page is RTL: line runs from each dot's centre
   leftward to the next dot, so no segment dangles past the first/last step. */
.stepper-item:not(:last-child)::before { content: ""; position: absolute; top: 18px; right: 50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.stepper-item.is-done:not(:last-child)::before { background: var(--teal); }
.stepper-item.is-active, .stepper-item.is-done { opacity: 1; }
.stepper-dot { width: 38px; height: 38px; border-radius: 50%; background: #e8eaee; color: var(--muted); display: flex; align-items: center; justify-content: center; font-weight: 800; z-index: 1; transition: background .2s, color .2s, transform .2s; }
.stepper-item.is-active .stepper-dot { background: var(--navy); color: #fff; transform: scale(1.08); }
.stepper-item.is-done .stepper-dot { background: var(--teal); color: #fff; }
.stepper-label { font-size: var(--fs-xs); font-weight: 700; color: var(--navy); }

/* ----------------------------- Booking app ----------------------------- */
.booking-app { max-width: 940px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.booking-step-title { font-size: var(--fs-lg); margin-bottom: var(--s-6); border-inline-start: 4px solid var(--gold); padding-inline-start: var(--s-3); }
.booking-alert { border-radius: var(--r); padding: var(--s-3) var(--s-4); margin-bottom: var(--s-5); font-size: var(--fs-sm); }
.booking-alert.alert-danger { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.booking-alert.alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.booking-nav { display: flex; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.booking-nav .btn { min-width: 120px; }

/* Schedule options */
.schedule-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: var(--s-3); }
.schedule-option { cursor: pointer; margin: 0; }
.schedule-option input { position: absolute; opacity: 0; }
.schedule-card { display: flex; flex-direction: column; gap: var(--s-2); border: 2px solid var(--line); border-radius: var(--r); padding: var(--s-5); transition: border-color .15s, background .15s, box-shadow .15s; height: 100%; }
.schedule-option:hover .schedule-card { border-color: var(--teal); }
.schedule-option input:checked + .schedule-card { border-color: var(--teal); background: rgba(13,148,136,.07); box-shadow: 0 6px 18px rgba(13,148,136,.12); }
.schedule-option input:focus-visible + .schedule-card { box-shadow: 0 0 0 4px rgba(13,148,136,.18); }
.schedule-date { font-weight: 800; color: var(--navy); }
.schedule-date i { color: var(--teal); margin-inline-end: 4px; }
.schedule-time { font-size: var(--fs-sm); color: var(--muted); }
.schedule-seats { font-size: var(--fs-xs); color: var(--teal-d); font-weight: 700; }

/* Quantity rows */
.qty-list { display: flex; flex-direction: column; gap: var(--s-3); }
.qty-row { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-4) var(--s-5); gap: var(--s-4); }
.qty-name { font-weight: 700; color: var(--navy); }
.qty-price { color: var(--teal-d); font-weight: 700; font-size: var(--fs-sm); }
.qty-desc { font-size: var(--fs-xs); color: var(--muted); }
.qty-control { display: flex; align-items: center; gap: var(--s-2); }
.qty-btn { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-size: 1.3rem; font-weight: 700; cursor: pointer; color: var(--navy); display: flex; align-items: center; justify-content: center; transition: background .12s, color .12s, border-color .12s; }
.qty-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.qty-input { width: 60px; text-align: center; border: 1.5px solid var(--line); border-radius: 12px; height: 44px; font-weight: 800; font-size: var(--fs-md); color: var(--navy); }

/* Honeypot */
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }

/* Review */
.review-table th { color: var(--muted); font-weight: 600; font-size: var(--fs-sm); }
.review-table td { font-weight: 600; }
.review-total { font-size: var(--fs-lg); font-weight: 800; color: var(--navy); padding-top: var(--s-3); border-top: 1px solid var(--line); margin-top: var(--s-2); }

/* ----------------------------- Auth ----------------------------- */
.auth-card { max-width: 470px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.auth-title { font-size: var(--fs-xl); margin-bottom: var(--s-2); }
.auth-sub { color: var(--muted); margin-bottom: var(--s-7); font-size: var(--fs-sm); }
.auth-foot { text-align: center; margin-top: var(--s-6); color: var(--muted); font-size: var(--fs-sm); }

/* ----------------------------- Form fields ----------------------------- */
.site-field { margin-bottom: var(--s-5); }
.site-label { display: block; font-weight: 700; color: var(--navy); margin-bottom: var(--s-2); font-size: var(--fs-sm); }
.site-input, .site-select {
    width: 100%; border: 1.5px solid var(--line); border-radius: var(--r); padding: .8rem 1rem;
    font-family: inherit; font-size: var(--fs-base); background: #fff; color: var(--ink);
    min-height: 50px; transition: border-color .15s, box-shadow .15s;
}
textarea.site-input { min-height: 90px; }
.site-input::placeholder { color: #b6bcc6; }
.site-input:focus, .site-select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(13,148,136,.14); }
.site-helper { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--s-1); }
.site-error { font-size: var(--fs-xs); color: #b91c1c; margin-top: var(--s-1); }
.site-alert { border-radius: var(--r); padding: var(--s-3) var(--s-4); margin-bottom: var(--s-5); font-size: var(--fs-sm); }
.site-alert ul { margin: 0; padding-inline-start: 1.1rem; }
.site-alert-danger { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.site-alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }

/* ----------------------------- Account ----------------------------- */
.account-banner {
    background: radial-gradient(700px 300px at 92% -30%, rgba(13,148,136,.30), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-2));
    color: #fff; border-radius: var(--r-xl); padding: clamp(22px, 3.2vw, 36px);
    margin-bottom: var(--s-7); box-shadow: var(--shadow); overflow: hidden;
}
.account-banner-main { display: flex; align-items: center; gap: var(--s-4); margin-bottom: var(--s-6); }
.account-avatar { width: 68px; height: 68px; flex: 0 0 68px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-d)); color: #1a1505;
    font-weight: 800; font-size: 1.7rem; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 24px rgba(201,162,39,.4); }
.account-hello { color: #aebbcd; font-size: var(--fs-sm); }
.account-name { color: #fff; font-size: var(--fs-xl); margin: 2px 0 6px; line-height: 1.2; }
.account-contact { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); color: #aebbcd; font-size: var(--fs-sm); }
.account-contact i { color: var(--gold); margin-inline-end: 4px; }
.account-tabs { display: flex; gap: var(--s-2); flex-wrap: wrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.account-tabs::-webkit-scrollbar { height: 0; }
.account-tabs a { white-space: nowrap; color: #d4dbe6; border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px; padding: .55rem 1.2rem; font-weight: 700; background: rgba(255,255,255,.07); font-size: var(--fs-sm); transition: background .15s, color .15s; }
.account-tabs a:hover { background: rgba(255,255,255,.16); color: #fff; }
.account-tabs a.active { background: #fff; color: var(--navy); border-color: #fff; }
.account-tabs a i { color: var(--gold); margin-inline-end: 4px; }
.account-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-sm); }
.account-card .table th { color: var(--muted); font-weight: 600; font-size: var(--fs-sm); }
.ticket-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: var(--s-3); }
.ticket-mini { border: 1.5px dashed var(--line); border-radius: var(--r); padding: var(--s-4); background: var(--offwhite); width: 100%; text-align: start; font-family: inherit; cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s; }
.ticket-mini:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.ticket-mini-code { font-weight: 800; color: var(--navy); }
.ticket-mini-code i { color: var(--gold); margin-inline-end: 4px; }
.ticket-mini-meta { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--s-2); display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.ticket-mini-hint { font-size: var(--fs-xs); color: var(--teal); margin-top: var(--s-2); font-weight: 700; }
.ticket-mini-hint i { margin-inline-end: 4px; }

/* Click-to-copy */
.copyable { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: color .15s; }
.copyable:hover { color: var(--teal); }
.copyable:hover code { color: var(--teal); }
.copyable i { font-size: .82em; opacity: .65; }

/* QR box (ticket modal) — centered block, with the code stacked below it */
.qr-box { position: relative; display: block; width: max-content; max-width: 100%; margin-inline: auto; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.qr-box svg { width: 200px; height: 200px; display: block; transition: filter .2s; }
.qr-box.qr-void svg { filter: grayscale(1) opacity(.3); }
.qr-stamp { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-14deg);
    font-weight: 800; font-size: 1.5rem; color: #6b7280; border: 3px solid #6b7280; border-radius: 10px;
    padding: .25rem 1.1rem; background: rgba(255,255,255,.78); letter-spacing: 1px; white-space: nowrap; }
.qr-stamp-danger { color: #dc2626; border-color: #dc2626; }
.ticket-code-big { display: flex; justify-content: center; font-size: 1.1rem; font-weight: 800; color: var(--navy); }
.qr-note { font-size: var(--fs-sm); font-weight: 700; border-radius: var(--r-sm); padding: .55rem .8rem; }
.qr-note-used { background: #f1f3f5; color: #4b5563; }
.qr-note-danger { background: #fef2f2; color: #b91c1c; }

/* Ticket card states */
.ticket-mini.tk-used { background: #f1f3f5; border-style: solid; border-color: #d1d6dc; opacity: .85; }
.ticket-mini.tk-used .ticket-mini-code { color: var(--muted); }
.ticket-mini.tk-void { background: #fdf2f2; border-style: solid; border-color: #f1c6c6; }
.ticket-mini.tk-void .ticket-mini-code { color: #b91c1c; }
.ticket-mini.tk-void .ticket-mini-code i { color: #b91c1c; }
.ticket-mini.tk-used .ticket-mini-hint, .ticket-mini.tk-void .ticket-mini-hint { color: var(--muted); }

/* ----------------------------- Favorites ----------------------------- */
.fav-btn { position: absolute; top: var(--s-3); inset-inline-start: var(--s-3); width: 42px; height: 42px; border-radius: 50%;
    border: none; background: rgba(255,255,255,.95); color: #ef4444; font-size: 1.15rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); transition: transform .15s, background .15s; z-index: 2; }
.fav-btn:hover { transform: scale(1.12); }
.fav-btn.is-fav { color: #fff; background: #ef4444; }
.fav-btn-wide { position: static; width: 100%; height: auto; border-radius: var(--r); gap: var(--s-2); padding: .7rem; margin-top: var(--s-3); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.fav-btn-wide.is-fav { color: #fff; }

/* ----------------------------- Success ----------------------------- */
.success-box { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 48px); text-align: center; box-shadow: var(--shadow); }
.success-icon { font-size: 3.6rem; color: var(--teal); }
.success-title { font-size: var(--fs-xl); margin: var(--s-3) 0; }
.success-order { background: var(--offwhite); border-radius: var(--r); padding: var(--s-5); margin: var(--s-6) 0; }
.success-order .order-num { font-size: var(--fs-lg); font-weight: 800; color: var(--navy); }
.success-details { text-align: start; border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-5); margin-bottom: var(--s-4); }
.ticket-codes { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.ticket-codes li { background: var(--offwhite); border-radius: var(--r-sm); padding: var(--s-2) var(--s-3); font-weight: 700; }
.ticket-codes i { color: var(--gold); margin-inline-end: 4px; }

/* Empty state */
.empty-state { padding: var(--s-16) var(--s-4); }
.empty-state i { color: #cbd5e1; }

/* Pagination */
.pagination { gap: 6px; }
.page-link { border: 1px solid var(--line); border-radius: 10px !important; color: var(--navy); font-weight: 700; min-width: 42px; text-align: center; }
.page-item.active .page-link { background: var(--navy); border-color: var(--navy); }
.page-link:hover { background: var(--offwhite); color: var(--navy); }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* NProgress recolor */
#nprogress .bar { background: var(--gold) !important; height: 3px !important; }
#nprogress .peg { box-shadow: 0 0 10px var(--gold), 0 0 6px var(--gold) !important; }

/* ==========================================================================
   Responsive / mobile refinements
   ========================================================================== */
@media (max-width: 991.98px) {
    .booking-card-wrap { position: static; margin-top: var(--s-6); }
}

@media (max-width: 767.98px) {
    body { line-height: 1.7; }
    .site-header > .container { min-height: 60px; }
    .site-logo { height: 40px; }
    .hero { text-align: center; }
    .hero-content { margin-inline: auto; }
    .hero-cta { justify-content: center; }
    .hero-sub { margin-inline: auto; }
    .section-head { flex-direction: row; }
    .ws-hero-media { margin-top: var(--s-5); aspect-ratio: 16/10; }
    .ws-block { padding: var(--s-5); }
    .ws-instructor { flex-direction: column; text-align: center; align-items: center; }
    .stepper-label { display: none; }            /* keep dots only on small screens */
    .stepper-item { min-width: 0; }
    .booking-nav .btn { min-width: 0; flex: 1; }
    .qty-row { flex-direction: column; align-items: stretch; gap: var(--s-3); }
    .qty-control { justify-content: space-between; }
    .qty-input { width: 100%; }
}

@media (max-width: 575.98px) {
    :root { --container-pad: 16px; }
    .site-logo { height: 36px; }
    .btn-account span { display: none; }
    .feature-box, .step-box { padding: var(--s-5); }
    .ws-card-body { padding: var(--s-4); }
    .schedule-grid { grid-template-columns: 1fr 1fr; }
    .ws-ticket-grid { grid-template-columns: 1fr; }
    .booking-app { border-radius: var(--r); border-inline: none; }
    .auth-card { padding: var(--s-6) var(--s-5); }
    .success-box { padding: var(--s-7) var(--s-5); }
}

@media (max-width: 380px) {
    .schedule-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

/* ----------------------------- Payments (Phase 13) ----------------------------- */
.checkout-total { display: flex; align-items: center; justify-content: space-between; margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: var(--fs-md); }
.checkout-total strong { font-size: var(--fs-lg); color: var(--navy); }
.mock-gateway { border: 2px dashed var(--gold); }
.mock-badge { background: #fff8e1; color: #8a6d1a; border: 1px solid #f1e0a8; border-radius: var(--r-sm); padding: .5rem .8rem; font-size: var(--fs-sm); font-weight: 700; text-align: center; }
.pay-badge { font-size: var(--fs-xs); font-weight: 700; padding: .25rem .6rem; border-radius: 999px; }
