:root {
    --brand: #6f4ef3;
    --brand-600: #512aed;
    --brand-50: #efedf9;
    --brand-200: #a18cf7;
    --brand-700: #4c35a5;
    --brand-rgb: 111, 78, 243;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e9eef2;
    --line2: #dfe2e5;
    --bg: #ffffff;
    --card: #ffffff;
    --soft: #f7f9fb;
    --radius: 18px;
    --shadow: 0 6px 24px rgba(15, 23, 42, .06);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, .05);
    --nav-glass: rgba(255, 255, 255, .55);
    --nav-glass-line: rgba(255, 255, 255, .65);
}

[data-theme="dark"] {
    --ink: #e6edf3;
    --muted: #94a3b8;
    --line: #1f2937;
    --line2: #2a3443;
    --bg: #0b1220;
    --card: #111a2c;
    --soft: #0f1a2e;
    --shadow: 0 6px 24px rgba(0, 0, 0, .35);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .3);
    --brand-50: rgba(15, 166, 138, .12);
    --nav-glass: rgba(17, 26, 44, .55);
    --nav-glass-line: rgba(255, 255, 255, .08);

    /* Bootstrap variables — prevent Bootstrap's default black body/table colors */
    --bs-body-color: #e6edf3;
    --bs-body-color-rgb: 230, 237, 243;
    --bs-body-bg: #0b1220;
    --bs-table-color: #e6edf3;
    --bs-secondary-color: #94a3b8;
    --bs-secondary-rgb: 148, 163, 184;
    --bs-border-color: #1f2937;
}

/* ── Bootstrap primary → brand remap ──────────────────────────────
   Drives every native Bootstrap `primary` utility/component from the
   dynamic --brand variable (set by theme.css from Admin > Settings >
   App Color). Bootstrap 5.3 compiles literal colors into these
   component vars, so pointing them at --brand is what makes
   .btn-primary, .text-primary, .bg-primary, links, badges and focus
   rings all follow the configured color. */
:root {
    --bs-primary: var(--brand);
    --bs-primary-rgb: var(--brand-rgb);
    --bs-link-color: var(--brand);
    --bs-link-color-rgb: var(--brand-rgb);
    --bs-link-hover-color: var(--brand-600);
    --bs-link-hover-color-rgb: var(--brand-rgb);
}

.btn-primary {
    --bs-btn-bg: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: var(--brand-600);
    --bs-btn-hover-border-color: var(--brand-600);
    --bs-btn-active-bg: var(--brand-600);
    --bs-btn-active-border-color: var(--brand-600);
    --bs-btn-disabled-bg: var(--brand);
    --bs-btn-disabled-border-color: var(--brand);
}

.btn-outline-primary {
    --bs-btn-color: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: var(--brand);
    --bs-btn-hover-border-color: var(--brand);
    --bs-btn-active-bg: var(--brand);
    --bs-btn-active-border-color: var(--brand);
}

.badge.bg-primary,
.badge.text-bg-primary {
    background-color: var(--brand) !important;
    color: #fff !important;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 .25rem rgba(var(--brand-rgb), .25);
}

.form-check-input:checked {
    background-color: var(--brand);
    border-color: var(--brand);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
    background: var(--bg);
    color: var(--ink);
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.01em;
}

h1 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }

.text-muted-2 { color: var(--muted) !important; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }

.container { max-width: 1200px; }

/* ── Navbar ─────────────────────────────────────── */
html { scroll-padding-top: 80px; }

.navbar-gb {
    padding: .6rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    background: transparent;
    padding-bottom: 0;
}

.nav-inner {
    background: var(--nav-glass);
    border: 1px solid var(--nav-glass-line);
    border-radius: 20px;
    padding: .85rem 1rem .85rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
}

.navbar-gb .brand {
    font-family: 'Plus Jakarta Sans';
    font-weight: 800;
    color: var(--ink);
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.brand-logo { height: 32px; width: auto; display: block; object-fit: contain; }
.brand-logo-footer { height: 36px; }

.brand-dot {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--brand), var(--brand-200));
    display: inline-block;
    position: relative;
}

.brand-dot::after {
    content: "";
    position: absolute;
    inset: 7px;
    background: #fff;
    border-radius: 3px;
    opacity: .9;
}

.nav-gb a {
    color: var(--ink);
    font-weight: 500;
    padding: .5rem .85rem;
    border-radius: 10px;
}

.nav-gb a:hover {
    background: var(--brand-50);
    color: var(--brand);
    transition: all .22s;
}

.icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px transparent var(--line);
    background: var(--bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    cursor: pointer;
}

.icon-btn:hover { background: var(--soft); }

/* ── Language Switcher ───────────────────────────── */
.lang-switcher { position: relative; }

/* Premium pill trigger: globe + current language code + caret */
.lang-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px transparent;
    background: var(--bg);
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background .2s, border-color .2s, box-shadow .2s;
}

.lang-trigger:hover,
.lang-trigger[aria-expanded="true"] {
    background: var(--soft);
    border-color: var(--brand);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

.lang-trigger-globe { font-size: 1rem; color: var(--brand); }

.lang-trigger-code { letter-spacing: .04em; }

.lang-trigger-caret {
    font-size: .7rem;
    opacity: .55;
    transition: transform .2s;
}

.lang-trigger[aria-expanded="true"] .lang-trigger-caret { transform: rotate(180deg); }

.lang-flag { font-size: 1.15rem; line-height: 1; display: inline-flex; align-items: center; }

.lang-dropdown {
    min-width: 170px;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    background: var(--card);
    padding: 6px;
    margin-top: 6px !important;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background .15s;
}

.lang-option:hover { background: var(--soft); color: var(--ink); }

.lang-option.active { background: var(--brand-50); color: var(--brand); font-weight: 600; }

.lang-check { color: var(--brand); font-size: .85rem; flex-shrink: 0; }

.lang-name { flex: 1; }

/* ── Buttons ─────────────────────────────────────── */
.btn { border-radius: 12px; font-weight: 600; font-size: 13px; padding: .55rem 1rem; transition: all .22s; box-shadow: 0 1px 3px rgba(0,0,0,.06); }

.btn-brand { background: var(--brand); color: #fff; border: 1px solid var(--brand); }
.btn-brand:hover { background: var(--brand-600); color: #fff; border-color: var(--brand-600); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(var(--brand-rgb),.28); }

.btn-outline-brand { border: 1px solid var(--brand); color: var(--brand); background: transparent; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(var(--brand-rgb),.22); }

.btn-soft { background: var(--soft); color: var(--ink); border: 1px solid var(--line2); }
.btn-soft-light { background: none!important; color: var(--ink); border: 0px!important;box-shadow: none; }
.btn-soft:hover { background: var(--brand-50); border-color: var(--brand); color: var(--brand); box-shadow: 0 4px 12px rgba(0,0,0,.07); }
.btn-soft-light:hover { background: var(--brand-50)!important; border-color: var(--brand); color: var(--brand); box-shadow: 0 4px 12px rgba(0,0,0,.07); }
.btn-light:hover { background: #f0f4ff; color: var(--brand); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.1); }

.btn-lg { padding: .85rem 1.4rem; font-size: 1rem; }

/* ── Cards ─────────────────────────────────────── */
.card-gb {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}

.card-gb:hover { transform: translateY(-0px); box-shadow: var(--shadow); }
.card-gb .body { padding: 1.1rem 1.2rem; }

.thumb { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: var(--soft); }
.thumb-sq { aspect-ratio: 1/1; }

.badge-soft {
    background: var(--brand-50);
    color: var(--brand);
    font-weight: 600;
    padding: .3rem .6rem;
    border-radius: 999px;
    font-size: .78rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .8rem;
    border-radius: 999px;
    background: var(--soft);
    color: var(--ink);
    font-size: .85rem;
    border: 1px solid var(--line);
    cursor: pointer;
}

.chip:hover, .chip.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ── Hero ─────────────────────────────────────── */
.hero {
    padding: 5rem 0 3.5rem;
    background: radial-gradient(1200px 500px at 50% -10%, var(--brand-50), transparent 60%);
}

.hero h1 span {
    background: linear-gradient(120deg, var(--brand), var(--brand-200));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

.hero h1 {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.search-bar {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: .5rem;
    display: flex;
    gap: .5rem;
    align-items: center;
    box-shadow: var(--shadow);
}

.search-bar.search-bar-hero.mx-auto:hover{
    box-shadow: 0 6px 18px rgba(0,0,0,.09);
}

.search-bar input, .search-bar select {
    border: 0;
    outline: 0;
    background: transparent;
    padding: .85rem 1rem;
    color: var(--ink);
    width: 100%;
    font-size: .95rem;
}

.search-bar .divider { width: 1px; height: 30px; background: var(--line); }

.search-bar .field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding-left: .6rem;
    min-width: 0;
}

.search-bar .field i { color: var(--muted); }

/* ── Category card ─────────────────────────────── */
.cat-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem;
    text-align: center;
    transition: all .2s;
    cursor: pointer;
    display: block;
    color: var(--ink);
}

.cat-card:hover { border-color: var(--brand); transform: translateY(-3px); color: var(--ink); }

.cat-card .ico {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--brand-50);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: .6rem;
}

.cat-card .name { font-weight: 600; }
.cat-card .count { font-size: .8rem; color: var(--muted); }
.cat-card .ico img { width: 34px; height: 34px; object-fit: cover; border-radius: 8px; }
.cat-card .ico.is-letter { color: #fff; font-weight: 700; text-transform: uppercase; }

/* ── Sections ─────────────────────────────────────── */
section { padding: 4rem 0; }
.section-head { margin-bottom: 2rem; }
.eyebrow { color: var(--brand); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }

/* ── Feature ─────────────────────────────────────── */
.feature {
    padding: 1.4rem;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--line);
    height: 100%;
}

.feature .ico {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--brand-50);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: .8rem;
}

.feature h5 { margin-bottom: .4rem; }
.feature p { color: var(--muted); margin: 0; font-size: .93rem; }

/* ── Step number ─────────────────────────────────── */
.step-num {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .7rem;
}

/* ── Pricing ─────────────────────────────────────── */
.price-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
}

.price-card.popular { border-color: var(--brand); box-shadow: var(--shadow); position: relative; }

.price-card.popular::before {
    content: "Most popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: #fff;
    padding: .3rem .8rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
}

.price { font-size: 2.6rem; font-weight: 800; color: var(--ink); font-family: 'Plus Jakarta Sans'; }
.price small { font-size: .95rem; color: var(--ink); font-weight: 500; }
.price-card ul { list-style: none; padding: 0; margin: 1.2rem 0; }
.price-card li { padding: .45rem 0; color: var(--ink); display: flex; align-items: center; gap: .55rem; }
.price-card li i { color: var(--brand); }
.price-card li.is-off { color: var(--muted); }
.price-card li.is-off i { color: var(--muted); }
.price-card li.plan-feature-divider { padding: 0; border-top: 1px solid var(--line); margin: .5rem 0; }

/* ── Pricing toggle ──────────────────────────────── */
.pricing-toggle {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .35rem .75rem;
}
.pricing-toggle-lbl {
    font-size: .875rem;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    transition: color .2s;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.pricing-toggle-lbl.active { color: var(--ink); }
.pricing-switch {
    position: relative;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}
.pricing-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.pricing-switch-track {
    position: absolute;
    inset: 0;
    background: var(--brand);
    border-radius: 999px;
    transition: background .2s;
}
.pricing-switch-track::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s;
}
.pricing-switch input:checked + .pricing-switch-track::after {
    transform: translateX(18px);
}
.pricing-save-badge {
    font-size: .7rem;
    font-weight: 600;
    color: #fff;
    background: var(--brand);
    border-radius: 999px;
    padding: .15rem .5rem;
}

/* ── Testimonial ─────────────────────────────────── */
.testi {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem;
    height: 100%;
}

.testi .stars { color: #f5b301; }
.testi .who { display: flex; align-items: center; gap: .7rem; margin-top: 1rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--soft); }
.avatar.is-letter { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; text-transform: uppercase; }
.avatar.avatar-text { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--brand); text-transform: uppercase; }

/* ── Footer ─────────────────────────────────────── */
footer {
    background: var(--soft);
    border-top: 1px solid var(--line);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

footer h6 { font-weight: 700; margin-bottom: 1rem; color: var(--ink); }
footer a { display: block; color: var(--muted); padding: .25rem 0; transition: color .18s; }
footer a:hover { color: var(--brand); }
.footer-tagline { margin-top: .9rem; max-width: 340px; line-height: 1.6; }
.footer-social { display: flex; gap: .9rem; margin-top: 1rem; }
.footer-social a { display: inline-flex; color: var(--muted); font-size: 1.1rem; padding: 0; }
.footer-social a:hover { color: var(--brand); }
.footer-hr { border-color: var(--line); margin: 2rem 0 1.25rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* ── Marketplace ─────────────────────────────────── */
.filter-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem;
}

.form-control, .form-select {
    background: var(--card);
    border: 1px solid var(--line);
    color: var(--ink);
    border-radius: 10px;
    padding: .6rem .8rem;
    font-size: 14px !important;
}

.form-control:focus, .form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-50);
    background: var(--card);
    color: var(--ink);
}

.business-card .body { padding: 1rem 1.1rem; }
.business-card h6 { margin: 0 0 .25rem; }
.rating { color: #f5b301; font-weight: 600; }
.rating span { color: var(--muted); font-weight: 500; margin-left: .25rem; }

/* ── Business profile cover ──────────────────────── */
.cover {
    height: 280px;
    background: linear-gradient(135deg, var(--brand), var(--brand-200));
    border-radius: 0 0 24px 24px;
    position: relative;
    overflow: hidden;
}

.cover img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }

.profile-head {
    display: flex;
    gap: 1.2rem;
    align-items: flex-end;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.profile-logo {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    background: var(--card);
    border: 4px solid var(--card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--brand);
    font-weight: 800;
    box-shadow: var(--shadow);
}

/* Business name sits over the cover — keep it white and legible. */
.profile-name { color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .45); }

/* ════════════════════════════════════════════════════════════════════
   Booking wizard — multi-step flow (front) reusing business-profile cards
   ════════════════════════════════════════════════════════════════════ */
.bk { padding: 2rem 0 4rem; }
.bk-back { color: var(--muted); font-size: .9rem; display: inline-flex; align-items: center; gap: .35rem; }
.bk-back:hover { color: var(--brand); }
.bk-heading { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; letter-spacing: -.02em; font-size: clamp(1.5rem, 3vw, 2rem); margin: .5rem 0 1.5rem; }

/* ── Step progress indicator ─────────────────────────────────────── */
.bk-steps { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.75rem; overflow-x: auto; padding-bottom: .25rem; }
.bk-step { display: flex; align-items: center; gap: .55rem; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.bk-step-no {
    width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--soft); border: 1px solid var(--line);
    color: var(--muted); font-weight: 700; font-size: .85rem;
    transition: .25s;
}
.bk-step-check { display: none; font-size: .9rem; }
.bk-step-label { font-size: .9rem; font-weight: 600; color: var(--muted); transition: .25s; }
.bk-step-line { flex: 1; min-width: 18px; height: 2px; background: var(--line); border-radius: 2px; }

.bk-step.active .bk-step-no { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 4px var(--brand-50); }
.bk-step.active .bk-step-label { color: var(--ink); }
.bk-step.done .bk-step-no { background: var(--brand-50); border-color: transparent; color: var(--brand); }
.bk-step.done .bk-step-num { display: none; }
.bk-step.done .bk-step-check { display: inline; }
.bk-step.done .bk-step-label { color: var(--ink); }
@media (max-width: 640px) { .bk-step-label { display: none; } .bk-step-line { min-width: 10px; } }

/* ── Wizard panes — one visible at a time ────────────────────────── */
.bk-pane { display: none; }
.bk-pane.active { display: block; animation: bkFade .28s ease; }
@keyframes bkFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.bk-pane-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.1rem; }
.bk-pane-head h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; letter-spacing: -.02em; }
.bk-section { padding: 1.25rem 1.5rem; margin-top: 0; }

/* Validation shake on the active pane */
@keyframes bkShake { 10%,90% { transform: translateX(-1px); } 30%,70% { transform: translateX(3px); } 50% { transform: translateX(-3px); } }
.bk-shake { animation: bkShake .4s ease; }
@media (prefers-reduced-motion: reduce) { .bk-pane.active, .bk-shake { animation: none; } }

/* Selected service / staff highlight (reuses .bp-svc / .bp-staff) */
.bk-svc { cursor: pointer; }
.bk-svc.is-selected,
.bk-svc.is-selected:hover { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 1px var(--brand) inset; }
[data-theme="dark"] .bk-svc.is-selected:hover { background: var(--brand-50); border-color: var(--brand); }
.bk-svc.is-selected .bk-svc-btn { display: none; }
.bk-svc-tick {
    display: none; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--brand); color: #fff; font-size: 1rem; flex-shrink: 0;
}
.bk-svc.is-selected .bk-svc-tick { display: inline-flex; }

.bk-team { margin-top: .25rem; }
.bk-staff { position: relative; cursor: pointer; }
.bk-staff.is-selected { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-50); }
.bk-staff-tick {
    position: absolute; top: .6rem; right: .6rem; width: 22px; height: 22px; border-radius: 50%;
    background: var(--brand); color: #fff; display: none; align-items: center; justify-content: center; font-size: .8rem;
}
.bk-staff.is-selected .bk-staff-tick { display: inline-flex; }

/* ── Add-ons (inside step 1) ─────────────────────────────────────── */
.bk-addons { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px dashed var(--line2); }
.bk-addons-title { font-weight: 700; margin-bottom: .85rem; color: var(--ink); }
.bk-addon-list { display: flex; flex-direction: column; gap: .6rem; }
.bk-addon {
    display: flex; align-items: center; gap: .85rem; margin: 0;
    padding: .75rem 1.1rem; border: 1px solid var(--line2); border-radius: 14px;
    background: var(--card); cursor: pointer; transition: .2s;
}
.bk-addon:hover { border-color: var(--brand); }
.bk-addon.active { border-color: var(--brand); background: var(--brand-50); }
.bk-addon-check {
    width: 22px; height: 22px; border-radius: 7px; flex-shrink: 0;
    border: 1.5px solid var(--line2); background: var(--card);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: .75rem; transition: .2s;
}
.bk-addon-check i { opacity: 0; }
.bk-addon.active .bk-addon-check { background: var(--brand); border-color: var(--brand); }
.bk-addon.active .bk-addon-check i { opacity: 1; }
.bk-addon-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bk-addon-name { font-weight: 600; color: var(--ink); }
.bk-addon-meta { font-size: .82rem; color: var(--muted); }
.bk-addon-price { font-weight: 700; color: var(--ink); white-space: nowrap; }

/* ── Date & time ─────────────────────────────────────────────────── */
.bk-dates { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .35rem; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
.bk-dates::-webkit-scrollbar { display: none; }
.bk-date {
    min-width: 76px; flex-shrink: 0; padding: .6rem .5rem; border-radius: 14px;
    border: 1px solid var(--line2); background: var(--card); cursor: pointer; text-align: center; transition: .2s;
}
.bk-date:hover { border-color: var(--brand); }
.bk-date.active { background: var(--brand); border-color: var(--brand); }
.bk-date.active .bk-date-dow,
.bk-date.active .bk-date-day { color: #fff; }
.bk-date-dow { display: block; font-size: .78rem; color: var(--muted); }
.bk-date-day { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--ink); }

.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: .5rem; }
.bk-time {
    padding: .6rem; border: 1px solid var(--line2); border-radius: 12px; text-align: center;
    background: var(--card); cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--ink); transition: .2s;
}
.bk-time:hover { border-color: var(--brand); color: var(--brand); }
.bk-time.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.bk-time:disabled,
.bk-time.is-disabled {
    cursor: not-allowed; opacity: .45; text-decoration: line-through;
    background: var(--card); border-color: var(--line2); color: var(--ink);
}
.bk-time:disabled:hover,
.bk-time.is-disabled:hover { border-color: var(--line2); color: var(--ink); }

/* ── Auth tabs (step 4) ──────────────────────────────────────────── */
.bk-auth-tabs { gap: .4rem; flex-wrap: wrap; }
.bk-auth-tabs .nav-link { border: 1px solid var(--line); background: var(--card); }
.bk-auth-tabs .nav-link.active { border-color: var(--brand); }

/* ── Payment method (step 5) ─────────────────────────────────────── */
.bk-pay { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.bk-pay-opt {
    display: flex; flex-direction: column; align-items: center; gap: .3rem; margin: 0;
    padding: 1.4rem 1rem; border: 1px solid var(--line2); border-radius: 14px; background: var(--card); cursor: pointer; transition: .2s; text-align: center;
}
.bk-pay-opt i { font-size: 1.6rem; color: var(--brand); }
.bk-pay-opt span { font-weight: 600; font-size: .92rem; }
.bk-pay-desc { font-size: .76rem; line-height: 1.4; margin-top: .15rem; }
.bk-pay-opt:hover { border-color: var(--brand); }
.bk-pay-opt.active { border-color: var(--brand); background: var(--brand-50); }
@media (max-width: 480px) { .bk-pay { grid-template-columns: 1fr; } }

/* ── Step navigation bar ─────────────────────────────────────────── */
.bk-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.bk-nav .btn { min-width: 130px; }

/* ── Sticky summary sidebar ──────────────────────────────────────── */
.bk-summary { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 1.5rem; box-shadow: var(--shadow-sm); }
@media (min-width: 992px) { .bk-summary { position: sticky; top: 1.5rem; } }
.bk-summary-head { display: flex; align-items: center; gap: .9rem; }
.bk-biz-logo {
    width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
}
.bk-biz-logo-img { object-fit: cover; }
.bk-biz-meta { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.bk-biz-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; color: var(--ink); }
.bk-biz-meta .bp-pill { align-self: flex-start; }

.bk-summary-title { font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.bk-summary-empty { text-align: center; padding: 1rem 0; }
.bk-summary-empty i { font-size: 1.5rem; }

.bk-line { margin-bottom: .65rem; }
.bk-line-row { display: flex; justify-content: space-between; gap: .75rem; color: var(--ink); font-weight: 600; }
.bk-line-name { min-width: 0; }
.bk-line-meta { font-size: .82rem; color: var(--muted); margin-top: .15rem; }
.bk-addon-lines { margin: .25rem 0 .65rem; padding-left: .25rem; }
.bk-addon-line { font-weight: 500; color: var(--muted); font-size: .9rem; margin-top: .25rem; }
.bk-meta-row { display: flex; justify-content: space-between; gap: .75rem; align-items: center; padding: .4rem 0; font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); }
.bk-meta-row strong { color: var(--ink); text-align: right; }
.bk-total-row { display: flex; justify-content: space-between; align-items: center; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.15rem; }
.bk-total-row strong { color: var(--brand); font-weight: 800; }

/* ── Customer panel + booking success ─────────────────────────────── */
.bk-profile-avatar { width: 72px; height: 72px; font-size: 1.6rem; }

.bk-side-link {
    display: flex; align-items: center; gap: .6rem; width: 100%;
    padding: .6rem .85rem; border-radius: 12px; font-weight: 600;
    color: var(--muted); text-decoration: none; background: transparent; border: 0;
}
.bk-side-link:hover { background: var(--soft); color: var(--ink); }
.bk-side-link.active { background: var(--brand-50); color: var(--brand); }
.bk-side-link-btn { text-align: left; cursor: pointer; }

.bk-success-icon {
    width: 72px; height: 72px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #16a34a; color: #fff; font-size: 2rem;
}

/* ── Tabs (nav-pills) ────────────────────────────── */
.nav-pills .nav-link { color: var(--muted); border-radius: 10px; font-weight: 500; padding: .5rem 1rem; }
.nav-pills .nav-link.active { background: var(--brand); color: #fff; }

/* ── Tables ─────────────────────────────────────── */
.table { color: var(--ink); }
.table > :not(caption) > * > * { background: transparent; border-color: var(--line); }

/* ── Map placeholder ─────────────────────────────── */
.map-ph {
    height: 280px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #dff3ee, #c5ebe1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    font-weight: 600;
    border: 1px solid var(--line);
}

[data-theme="dark"] .map-ph { background: linear-gradient(135deg, #0e2a25, #0a2520); }

/* ── FAQ accordion ───────────────────────────────── */
.faq-item {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--card);
    margin-bottom: .7rem;
    overflow: hidden;
}

.faq-item summary {
    padding: 1rem 1.2rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--brand); }
.faq-item .ans { padding: 0 1.2rem 1rem; color: var(--muted); }

/* ── Divider ─────────────────────────────────────── */
.divider-h { height: 1px; background: var(--line); margin: 1rem 0; }

/* ── Auth card ───────────────────────────────────── */
.auth-wrap { min-height: calc(100vh - 140px); display: flex; align-items: center; padding: 3rem 0; }

/* ── Mobile ──────────────────────────────────────── */
@media (max-width: 768px) {
    .search-bar { flex-direction: column; align-items: stretch; }
    .search-bar .divider { display: none; }
    .hero { padding: 3rem 0 2rem; }
    .profile-head { flex-direction: column; align-items: flex-start; }
}

/* =========================================
   NEW: Business Profile Page
   Added: 2026-06-21 — migrated from business-profile.html static template.
   Re-themed from the template's hardcoded teal to the project brand tokens
   (var(--brand), --ink, --muted, --line, --card …) for front-end consistency.
   ========================================= */

/* ── Deterministic fallback gradients (logo / avatar initials) ──────── */
.bp-grad-1 { background: linear-gradient(135deg, var(--brand), var(--brand-200)); }
.bp-grad-2 { background: linear-gradient(135deg, #0ea5e9, #22d3ee); }
.bp-grad-3 { background: linear-gradient(135deg, #f43f5e, #fb7185); }
.bp-grad-4 { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.bp-grad-5 { background: linear-gradient(135deg, #10b981, #34d399); }
.bp-grad-6 { background: linear-gradient(135deg, #8b5cf6, #ec4899); }

/* Soft, light gradient presets for empty gallery tiles. */
.bp-tile-fill-1 { background: linear-gradient(135deg, #ede9fe, #faf5ff); }
.bp-tile-fill-2 { background: linear-gradient(135deg, #e0f2fe, #f0f9ff); }
.bp-tile-fill-3 { background: linear-gradient(135deg, #fff1f2, #fef3f2); }
.bp-tile-fill-4 { background: linear-gradient(135deg, #ecfdf5, #f0fdfa); }
[data-theme="dark"] .bp-tile-fill-1,
[data-theme="dark"] .bp-tile-fill-2,
[data-theme="dark"] .bp-tile-fill-3,
[data-theme="dark"] .bp-tile-fill-4 { filter: brightness(.35) saturate(.8); }

/* ── Hero / Gallery ─────────────────────────────────────────────────── */
.bp-hero { padding: 1.25rem 0 0; }

.bp-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 10px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
}
.bp-gallery .g { position: relative; overflow: hidden; background: var(--soft); }
.bp-gallery .g img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2, .8, .2, 1), filter .4s; }
.bp-gallery .g:hover img { transform: scale(1.06); filter: brightness(.96); }
.bp-gallery .g.featured { grid-row: 1 / span 2; }
.bp-gallery .bp-tile-empty { position: absolute; inset: 0; display: block; }
.bp-gallery .bp-tile-btn {
    position: absolute; inset: 0; width: 100%; height: 100%;
    border: 0; background: transparent; cursor: pointer; padding: 0;
}
.bp-gallery .bp-tile-btn:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.bp-gallery .view-all {
    position: absolute; right: 18px; bottom: 18px;
    background: var(--soft); color: var(--ink);
    border: 0; border-radius: 999px; padding: .6rem 1.1rem;
    font-weight: 600; font-size: .92rem;
    display: inline-flex; align-items: center; gap: .5rem;
    backdrop-filter: blur(10px); box-shadow: var(--shadow);
    cursor: pointer; transition: transform .2s, box-shadow .2s; z-index: 3;
}
.bp-gallery .view-all:hover { transform: translateY(-1px); }
@media (max-width: 768px) {
    .bp-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 110px 110px; gap: 6px; border-radius: 18px; }
    .bp-gallery .g.featured { grid-column: 1 / span 2; grid-row: 1; }
}

/* ── Profile header card (overlaps gallery) ─────────────────────────── */
.bp-head {
    margin-top: 14px; position: relative; z-index: 2;
    background: var(--card); border: 1px solid var(--line);
    border-radius: 24px; padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow);
    display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap;
}
.bp-logo {
    width: 88px; height: 88px; border-radius: 20px;
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
    font-size: 1.6rem; letter-spacing: .5px;
    box-shadow: var(--shadow-sm); flex-shrink: 0; overflow: hidden;
}
.bp-logo-img { object-fit: cover; }
.bp-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.02em; }
.bp-meta-row { display: flex; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: .92rem; margin-top: .4rem; align-items: center; }
.bp-meta-row .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .4; }
.bp-pill {
    display: inline-flex; align-items: center; gap: .4rem;
    background: var(--brand-50); color: var(--brand);
    border-radius: 999px; padding: .3rem .7rem; font-size: .78rem; font-weight: 600;
}
.bp-rating { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--ink); }
.bp-rating i { color: #f59e0b; }
.bp-rating span { color: var(--muted); font-weight: 500; }

/* Open/closed status + live "wave" indicator */
.bp-status { display: inline-flex; align-items: center; gap: .45rem; }
.bp-status.is-open { color: #16a34a; }
.bp-status .bp-status-sub { color: var(--muted); font-weight: 500; }
.bp-status.is-closed { color: var(--muted); }

.bp-live { position: relative; display: inline-flex; width: 12px; height: 12px; align-items: center; justify-content: center; }
.bp-live .bp-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); position: relative; z-index: 2; }
.bp-live::before,
.bp-live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #22c55e; opacity: 0; animation: bpLiveWave 1.8s ease-out infinite; }
.bp-live::after { animation-delay: .9s; }

@keyframes bpLiveWave {
    0%   { transform: scale(.5); opacity: .7; }
    70%  { opacity: 0; }
    100% { transform: scale(2.2); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .bp-live::before,
    .bp-live::after { animation: none; }
    .bp-live .bp-live-dot { box-shadow: 0 0 0 3px rgba(34, 197, 94, .25); }
}

.bp-actions .icon-btn {
    width: 42px; height: 42px; border-radius: 14px;
    border: 1px solid var(--line); background: transparent; color: var(--ink);
    display: inline-flex; align-items: center; justify-content: center; transition: .2s; cursor: pointer;
}
.bp-actions .icon-btn:hover { background: var(--brand-50); border-color: var(--brand); color: var(--brand); }

/* ── Quick stats strip ──────────────────────────────────────────────── */
.bp-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: var(--line); border-radius: 20px; overflow: hidden;
    border: 1px solid var(--line); margin-top: 1.25rem;
}
.bp-stats .s { background: var(--card); padding: 1rem 1.25rem; text-align: center; }
.bp-stats .v { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.bp-stats .l { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-top: .15rem; }
@media (max-width: 576px) { .bp-stats { grid-template-columns: repeat(2, 1fr); } }

/* ── Body + sticky tabs ─────────────────────────────────────────────── */
.bp-body { padding-top: 2rem; padding-bottom: 4rem; }
.bp-tabs {
    position: sticky; top: 0; z-index: 10;
    background: color-mix(in oklab, var(--bg) 88%, transparent);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    margin: 0 -12px; padding: .6rem 12px;
}
.bp-tabs .nav-link { border-radius: 12px; color: var(--muted); font-weight: 600; padding: .55rem 1rem; transition: .2s; }
.bp-tabs .nav-link:hover { color: var(--brand); }
.bp-tabs .nav-link.active { background: var(--brand-50); color: var(--brand); }

/* ── Section cards ──────────────────────────────────────────────────── */
.bp-section { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 1.75rem; margin-top: 1.25rem; }
.bp-section h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; letter-spacing: -.02em; margin-bottom: 1rem; }
/* Services & Team: drop the outer card so only the inner items carry borders. */
#services.bp-section,
#team.bp-section { background: transparent; border: 0; border-radius: 0; padding: 0; margin-top: 2.25rem; }
.bp-empty { text-align: center; color: var(--muted); padding: 2rem 1rem; }
.bp-empty i { font-size: 1.6rem; display: block; margin-bottom: .5rem; }
.bp-empty p { margin: 0; }

/* Service chips (page-scoped pill style) */
.bp-chip { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line2); font-size: .88rem; font-weight: 500; color: var(--muted); cursor: pointer; transition: .2s; background: transparent; }
.bp-chip:hover { border-color: var(--brand); color: var(--brand); }
.bp-chip.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Service rows — bordered cards (Fresha-style) with soft grey hover */
.bp-svc-list { display: flex; flex-direction: column; gap: .85rem; }
.bp-svc {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: .85rem 1.25rem;
    border: 1px solid var(--line2); border-radius: 14px;
    background: var(--card);
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
    cursor: pointer;
}
.bp-svc:hover { border-color: var(--brand);
    background: var(--brand-50);
    box-shadow: 0 0 0 1px var(--brand) inset; }
[data-theme="dark"] .bp-svc:hover { background: var(--soft); border-color: var(--soft); }
.bp-svc-main { min-width: 0; }
.bp-svc .title { font-weight: 600; color: var(--ink); }
.bp-svc .meta { font-size: .85rem; color: var(--muted); margin-top: .2rem; }
.bp-svc .price { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1.02rem; color: var(--ink); white-space: nowrap; }
.bp-svc-action { flex-shrink: 0; display: flex; align-items: center; gap: 1rem; }
.bp-svc .btn-book {
    display: inline-block; background: var(--card); border: 1px solid var(--line); color: var(--ink);
    border-radius: 999px; padding: .55rem 1.5rem; font-weight: 600; font-size: .9rem;
    transition: .2s; white-space: nowrap;
}
.bp-svc .btn-book:hover { border-color: var(--brand); color: var(--brand); background: var(--card); }
@media (max-width: 480px) { .bp-svc { padding: .75rem 1rem; } .bp-svc-action { gap: .65rem; } }

/* Team cards */
.bp-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 768px) { .bp-team { grid-template-columns: repeat(2, 1fr); } }
.bp-staff { text-align: center; padding: 1.25rem 1rem; border-radius: 20px; border: 1px solid var(--line); transition: .3s; background: var(--card); }
.bp-staff:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: var(--shadow); }
.bp-staff img,
.bp-staff .bp-staff-avatar { width: 78px; height: 78px; border-radius: 50%; object-fit: cover; margin: 0 auto .6rem; display: flex; }
.bp-staff .bp-staff-avatar { align-items: center; justify-content: center; color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1.5rem; }
.bp-staff .nm { font-weight: 600; color: var(--ink); }
.bp-staff .ro { font-size: .82rem; color: var(--muted); }

/* Reviews */
.bp-rev-summary { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; padding: 1.25rem; background: linear-gradient(135deg, var(--brand-50), transparent); border-radius: 18px; margin-bottom: 1.25rem; }
.bp-rev-summary .score { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 3rem; font-weight: 800; line-height: 1; color: var(--ink); }
.bp-summary-stars { color: #f59e0b; }
.bp-bar { display: flex; align-items: center; gap: .6rem; font-size: .82rem; color: var(--muted); margin: .2rem 0; }
.bp-bar .track { flex: 1; height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bp-bar .fill { height: 100%; width: 0; background: var(--brand); border-radius: 99px; transition: width .6s ease; }
@media (max-width: 576px) { .bp-rev-summary { grid-template-columns: 1fr; text-align: center; } }

.bp-review { padding: 1.25rem; border: 1px solid var(--line); border-radius: 18px; height: 100%; background: var(--card); transition: .3s; }
.bp-review:hover { box-shadow: var(--shadow); border-color: var(--brand); }
.bp-review .stars { color: #f59e0b; font-size: .85rem; }
.bp-review p { color: var(--ink); margin: .6rem 0 .9rem; line-height: 1.55; }
.bp-review .who { display: flex; gap: .65rem; align-items: center; }
.bp-review .bp-review-date { font-size: .78rem; }
.bp-avatar { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; font-size: .85rem; flex-shrink: 0; }

/* About */
.bp-about-text { color: var(--muted); line-height: 1.7; margin-bottom: 1rem; }
.bp-amenities { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.bp-amenities .am { display: inline-flex; align-items: center; gap: .4rem; background: var(--brand-50); color: var(--brand); border-radius: 10px; padding: .4rem .7rem; font-size: .82rem; font-weight: 500; }

/* ── Sidebar ────────────────────────────────────────────────────────── */
.bp-aside { position: sticky; top: 80px; }
.bp-aside .bp-section { padding: 1.25rem; }
.bp-aside .bp-map-wrap { padding: .75rem; }
.bp-hours .row-h { display: flex; justify-content: space-between; align-items: center; padding: .45rem 0; font-size: .92rem; }
.bp-hours .row-h.today { color: var(--brand); font-weight: 600; }
.bp-today-badge { background: var(--brand-50); color: var(--brand); border-radius: 999px; padding: .05rem .5rem; font-size: .68rem; font-weight: 600; margin-left: .35rem; }
.bp-contact { display: flex; align-items: center; gap: .7rem; padding: .45rem 0; font-size: .92rem; color: var(--ink); }
.bp-contact:hover { color: var(--brand); }
.bp-contact i { width: 32px; height: 32px; border-radius: 10px; background: var(--brand-50); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bp-map { height: 170px; border-radius: 18px; background: linear-gradient(135deg, var(--brand-50), var(--soft)); display: flex; align-items: center; justify-content: center; color: var(--brand); font-weight: 600; text-align: center; padding: 1rem; }
.bp-cta-stack { display: grid; gap: .6rem; }
.bp-cta-stack .btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); border-radius: 14px; padding: .85rem; font-weight: 600; }
.bp-cta-stack .btn-ghost:hover { background: var(--soft); }

/* ── Lightbox ───────────────────────────────────────────────────────── */
.bp-lb { position: fixed; inset: 0; background: rgba(15, 23, 42, .92); z-index: 1080; display: none; align-items: center; justify-content: center; padding: 2rem; backdrop-filter: blur(8px); }
.bp-lb.open { display: flex; }
.bp-lb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 1100px; width: 100%; max-height: 90vh; overflow: auto; padding: 1rem; }
.bp-lb-grid img { width: 100%; border-radius: 14px; display: block; }
.bp-lb-close { position: absolute; top: 1.25rem; right: 1.5rem; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; border: 0; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; }
@media (max-width: 768px) { .bp-lb-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Profile responsiveness ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .bp-head { flex-direction: column; align-items: flex-start; margin-top: -28px; }
    .bp-actions { width: 100%; }
    .bp-actions .btn-brand { margin-left: auto; }
    .bp-aside { position: static; }
}

.verified {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    color: var(--brand);
    font-weight: 600;
    font-size: .85rem;
    background: var(--brand-50);
    padding: .25rem .55rem;
    border-radius: 999px;
    vertical-align: middle;
    margin-left: .4rem;
}

/* ── Search / Explore page ─────────────────────────────── */
.search-section { padding-top: 2rem; }
.sort-select { max-width: 200px; }
.search-empty-icon { font-size: 2.5rem; }

/* ── Business listing card (search / explore) ──────────── */
.biz-card {
    display: block;
    color: var(--ink);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    height: 100%;
}
.biz-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }

.biz-card-img {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--soft);
}
.biz-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.biz-card-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 2.6rem; font-weight: 800;
}
.biz-open-badge {
    position: absolute; top: .7rem; left: .7rem;
    background: #10b981; color: #fff;
    font-size: .7rem; font-weight: 700;
    padding: .2rem .55rem; border-radius: 999px;
}
.biz-card-body { padding: 1rem 1.15rem 1.2rem; }
.biz-card-meta { display: flex; align-items: center; gap: .4rem; margin-bottom: .5rem; }
.biz-card-name { font-size: .95rem; font-weight: 700; margin: 0 0 .3rem; }
.biz-card-location { font-size: .8rem; color: var(--muted); margin-bottom: .4rem; }
.biz-card-rating { font-size: .85rem; font-weight: 600; color: #f5b301; }
.biz-card-rating span { color: var(--muted); font-weight: 500; margin-left: .2rem; }
.biz-card-no-rating { font-size: .8rem; color: var(--muted); }

/* ── Bootstrap 5 pagination — brand overrides ──────────── */
.pagination { gap: .25rem; }
.pagination .page-link {
    border-radius: 10px !important;
    border-color: var(--line);
    color: var(--ink);
    background: var(--card);
    padding: .45rem .8rem;
}
.pagination .page-link:hover { background: var(--soft); border-color: var(--brand); color: var(--brand); }
.pagination .page-item.active .page-link { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .page-item.disabled .page-link { background: var(--soft); color: var(--muted); border-color: var(--line); }

/* ── Home page — utility / section classes ─────────────── */
.section-soft { background: var(--soft); }
.hero-lead { max-width: 620px; }
.search-bar-hero { max-width: 760px; }
.faq-wrap { max-width: 780px; }

/* ── CTA (minimal / light) ─────────────────────── */
.cta-section { padding: 1rem 0 3rem; }

.cta-simple {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    padding: 3.25rem 1.5rem;
}

/* A single soft brand glow sits behind the content — no hard-edged box. */
.cta-simple::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 40%;
    width: 460px;
    height: 460px;
    max-width: 90%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--brand-50), transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.cta-simple > * { position: relative; z-index: 1; }

.cta-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 1.25rem;
    border-radius: 16px;
    background: var(--brand-50);
    color: var(--brand);
    font-size: 1.5rem;
}

.cta-title {
    color: var(--ink);
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    letter-spacing: -.02em;
    margin-bottom: .75rem;
}

.cta-sub {
    max-width: 460px;
    margin: 0 auto 1.75rem;
    color: var(--muted);
    font-size: 1.05rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.85rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-600));
    border: 0;
    border-radius: 14px;
    box-shadow: 0 12px 28px -10px rgba(var(--brand-rgb),.6);
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px -10px rgba(var(--brand-rgb),.7);
}

.btn-cta i { transition: transform .2s ease; }
.btn-cta:hover i { transform: translateX(3px); }

/* ── Mobile off-canvas nav ─────────────────────────────── */
.nav-mobile { width: min(320px, 100vw); background: var(--bg); }
.nav-mobile .offcanvas-header { border-bottom: 1px solid var(--line); padding: 1rem 1.25rem; background: var(--bg); }
.nav-mobile .offcanvas-body { padding: 1.25rem; background: var(--bg); }
.nav-mob-link {
    display: block;
    color: var(--ink);
    font-weight: 500;
    padding: .65rem .9rem;
    border-radius: 10px;
    transition: background .15s, color .15s;
}
.nav-mob-link:hover { background: var(--soft); color: var(--brand); }


/* ════════════════════════════════════════════════════════════════════
   Customer Panel — premium redesign
   ════════════════════════════════════════════════════════════════════ */

/* ── Layout ──────────────────────────────────────────────────────────── */
.cp { padding: 2.5rem 0 5rem; }

/* ── Sidebar card ────────────────────────────────────────────────────── */
.cp-sidebar-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 88px;
}

/* Profile block */
.cp-sidebar-profile {
    padding: 1.75rem 1.25rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(160deg, var(--brand-50) 0%, var(--soft) 100%);
}

.cp-avatar-ring {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-200));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 18px rgba(var(--brand-rgb),.30);
}

.cp-avatar-inner {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--card);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--brand);
    font-family: 'Plus Jakarta Sans', sans-serif;
    border: 2px solid rgba(255,255,255,.5);
}

.cp-avatar-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.5);
    display: block;
}

.cp-profile-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    color: var(--ink);
    margin-bottom: .2rem;
    line-height: 1.3;
}

.cp-profile-email {
    font-size: .78rem;
    color: var(--muted);
    word-break: break-all;
}

/* Nav container */
.cp-nav { padding: .65rem .55rem .25rem; }

.cp-nav-sep {
    font-size: .67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    padding: .8rem .8rem .3rem;
    opacity: .7;
}

/* Nav links — shared between <a>, <span>, <button> */
.cp-nav-link {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .58rem .8rem;
    border-radius: 13px;
    font-weight: 500;
    font-size: .875rem;
    color: var(--muted);
    text-decoration: none;
    background: transparent;
    border: 0;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background .17s, color .17s;
    line-height: 1.3;
}

.cp-nav-link:hover { background: var(--soft); color: var(--ink); }

.cp-nav-link.active {
    background: var(--brand-50);
    color: var(--brand);
    font-weight: 600;
}

.cp-nav-ico {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: .875rem;
    transition: background .17s, color .17s;
    border: 1px solid transparent;
}

.cp-nav-link.active .cp-nav-ico {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.cp-nav-link:hover .cp-nav-ico {
    background: var(--brand-50);
    color: var(--brand);
    border-color: var(--brand-50);
}

/* Sub-menu via <details>/<summary> — zero JS */
.cp-submenu-wrap { padding: 0; }

.cp-submenu-wrap summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .58rem .8rem;
    border-radius: 13px;
    font-weight: 500;
    font-size: .875rem;
    color: var(--muted);
    cursor: pointer;
    user-select: none;
    transition: background .17s, color .17s;
}

.cp-submenu-wrap summary::-webkit-details-marker { display: none; }
.cp-submenu-wrap summary:hover { background: var(--soft); color: var(--ink); }
.cp-submenu-wrap[open] > summary { color: var(--ink); background: var(--soft); border-radius: 13px 13px 0 0; }

.cp-submenu-ico {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: .875rem;
    transition: background .17s;
    border: 1px solid transparent;
}

.cp-submenu-wrap[open] .cp-submenu-ico {
    background: var(--brand-50);
    color: var(--brand);
}

.cp-submenu-caret {
    margin-left: auto;
    font-size: .78rem;
    transition: transform .2s;
    flex-shrink: 0;
    opacity: .6;
}

.cp-submenu-wrap[open] .cp-submenu-caret { transform: rotate(180deg); }

.cp-submenu-items {
    padding: .2rem .55rem .35rem 1.2rem;
    background: var(--soft);
    border-radius: 0 0 13px 13px;
    margin-bottom: .15rem;
}

.cp-submenu-items .cp-nav-link {
    font-size: .84rem;
}

.cp-submenu-items .cp-nav-ico {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    font-size: .78rem;
}

/* Sidebar logout strip */
.cp-sidebar-logout {
    border-top: 1px solid var(--line);
    padding: .55rem .55rem .65rem;
}

/* ── Summary stat cards ──────────────────────────────────────────────── */
.cp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .9rem;
    margin-bottom: 1.6rem;
}

.cp-stat {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.2rem 1.1rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: .9rem;
    transition: box-shadow .22s, transform .22s;
    overflow: hidden;
    position: relative;
}

.cp-stat::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--brand-50), transparent 55%);
    opacity: 0;
    transition: opacity .22s;
}

.cp-stat:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cp-stat:hover::after { opacity: 1; }

.cp-stat-ico {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.cp-stat-ico.ico-brand  { background: var(--brand-50);             color: var(--brand); }
.cp-stat-ico.ico-blue   { background: #eff6ff;                     color: #3b82f6; }
.cp-stat-ico.ico-green  { background: #f0fdf4;                     color: #22c55e; }
.cp-stat-ico.ico-amber  { background: #fffbeb;                     color: #f59e0b; }

[data-theme="dark"] .cp-stat-ico.ico-blue  { background: rgba(59,130,246,.14); }
[data-theme="dark"] .cp-stat-ico.ico-green { background: rgba(34,197,94,.12); }
[data-theme="dark"] .cp-stat-ico.ico-amber { background: rgba(245,158,11,.12); }

.cp-stat-body  { min-width: 0; position: relative; z-index: 1; }

.cp-stat-val {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.1;
}

.cp-stat-lbl {
    font-size: .77rem;
    color: var(--muted);
    margin-top: .1rem;
    white-space: nowrap;
}

/* ── Section heading row ─────────────────────────────────────────────── */
.cp-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.1rem;
}

.cp-section-head h5 {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    letter-spacing: -.01em;
}

/* ── Appointment list cards ──────────────────────────────────────────── */
.cp-appt {
    display: block;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: .85rem;
    text-decoration: none;
    color: var(--ink);
    transition: box-shadow .22s, transform .22s, border-color .22s;
}

.cp-appt:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    border-color: var(--brand);
    color: var(--ink);
}

.cp-appt-inner {
    padding: 1.1rem 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.cp-appt-biz-ico {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cp-appt-body { flex: 1; min-width: 0; }

.cp-appt-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .4rem;
}

.cp-appt-service {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--ink);
    font-size: .93rem;
    margin: 0 0 .15rem;
    line-height: 1.3;
}

.cp-appt-biz-name {
    font-size: .8rem;
    color: var(--muted);
    font-weight: 500;
}

.cp-appt-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem .9rem;
    font-size: .8rem;
    color: var(--muted);
    margin-top: .55rem;
    align-items: center;
}

.cp-appt-meta i {
    font-size: .78rem;
    margin-right: .2rem;
    opacity: .75;
}

/* Review indicator row inside appointment card */
.cp-appt-review {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-top: .55rem;
    padding-top: .5rem;
    border-top: 1px solid var(--line);
    font-size: .78rem;
}

.cp-appt-review-stars {
    color: #f59e0b;
    display: flex;
    align-items: center;
    gap: .1rem;
    font-size: .78rem;
    line-height: 1;
}

.cp-appt-review-lbl {
    color: var(--muted);
}

.cp-appt-review-cta {
    color: #f59e0b;
    font-weight: 500;
}

/* Footer strip of each appointment card */
.cp-appt-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .65rem 1.25rem;
    border-top: 1px solid var(--line);
    background: var(--soft);
}

.cp-appt-price {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: .93rem;
    color: var(--ink);
}

/* ── Status & payment badges ─────────────────────────────────────────── */
.cp-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .22rem .65rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    font-size: .71rem;
    font-weight: 700;
    letter-spacing: .05em;
    flex-shrink: 0;
    white-space: nowrap;
}

.cp-badge::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

/* Booking status */
.cp-badge-pending   { background: #fffbeb; color: #d97706; }
.cp-badge-confirmed { background: #eff6ff; color: #2563eb; }
.cp-badge-completed { background: #f0fdf4; color: #16a34a; }
.cp-badge-cancelled { background: #f8fafc; color: #94a3b8; }
.cp-badge-no-show   { background: #fff7ed; color: #ea580c; }

/* Payment status */
.cp-badge-pay-paid      { background: #f0fdf4; color: #16a34a; }
.cp-badge-pay-unpaid    { background: #fef2f2; color: #dc2626; }
.cp-badge-pay-partial   { background: #fffbeb; color: #d97706; }
.cp-badge-pay-pending   { background: #fffbeb; color: #d97706; }
.cp-badge-pay-failed    { background: #fef2f2; color: #dc2626; }
.cp-badge-pay-refunded  { background: #eff6ff; color: #2563eb; }

/* Dark mode overrides */
[data-theme="dark"] .cp-badge-pending   { background: rgba(217,119,6,.13);   color: #fbbf24; }
[data-theme="dark"] .cp-badge-confirmed { background: rgba(37,99,235,.13);   color: #60a5fa; }
[data-theme="dark"] .cp-badge-completed { background: rgba(22,163,74,.13);   color: #4ade80; }
[data-theme="dark"] .cp-badge-cancelled { background: rgba(148,163,184,.1);  color: #64748b; }
[data-theme="dark"] .cp-badge-no-show   { background: rgba(234,88,12,.13);   color: #fb923c; }
[data-theme="dark"] .cp-badge-pay-paid      { background: rgba(22,163,74,.13);   color: #4ade80; }
[data-theme="dark"] .cp-badge-pay-unpaid    { background: rgba(220,38,38,.13);   color: #f87171; }
[data-theme="dark"] .cp-badge-pay-partial   { background: rgba(217,119,6,.13);   color: #fbbf24; }
[data-theme="dark"] .cp-badge-pay-pending   { background: rgba(217,119,6,.13);   color: #fbbf24; }
[data-theme="dark"] .cp-badge-pay-failed    { background: rgba(220,38,38,.13);   color: #f87171; }
[data-theme="dark"] .cp-badge-pay-refunded  { background: rgba(37,99,235,.13);   color: #60a5fa; }
[data-theme="dark"] .cp-badge              { border-color: rgba(255,255,255,.08); }

/* ── Empty state ─────────────────────────────────────────────────────── */
.cp-empty {
    text-align: center;
    padding: 3.5rem 1.5rem;
    background: var(--card);
    border: 1.5px dashed var(--line2);
    border-radius: 20px;
    color: var(--muted);
}

.cp-empty i {
    font-size: 2.2rem;
    display: block;
    margin-bottom: .85rem;
    color: var(--brand);
    opacity: .55;
}

.cp-empty p { margin: 0 0 1.1rem; font-size: .93rem; }

/* ── Appointment detail page ─────────────────────────────────────────── */
.cp-detail-hero {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.75rem;
    margin-bottom: 1.4rem;
    display: flex;
    gap: 1.25rem;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.cp-detail-biz-ico {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

.cp-detail-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--ink);
    margin: 0 0 .2rem;
    letter-spacing: -.01em;
}

.cp-detail-biz-name { font-size: .88rem; color: var(--muted); margin-bottom: .6rem; }

/* Info rows inside the detail section card */
.cp-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 0;
    border-bottom: 1px solid var(--line);
    font-size: .9rem;
    gap: 1rem;
}

.cp-info-row:first-child { padding-top: 0; }
.cp-info-row:last-child  { border-bottom: 0; padding-bottom: 0; }

.cp-info-label {
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
    font-size: .85rem;
}

.cp-info-label i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    flex-shrink: 0;
    border: 1px solid var(--line);
}

.cp-info-value {
    font-weight: 600;
    color: var(--ink);
    text-align: right;
    font-size: .9rem;
}

/* ── Payment summary card (detail page) ──────────────────────────────── */
.cp-pay-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 88px;
}

.cp-pay-card-head {
    padding: 1rem 1.35rem;
    border-bottom: 1px solid var(--line);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    color: var(--ink);
    background: linear-gradient(135deg, var(--brand-50), var(--soft));
    display: flex;
    align-items: center;
    gap: .5rem;
}

.cp-pay-card-head i { color: var(--brand); }

.cp-pay-card-body { padding: 1.2rem 1.35rem; }

.cp-pay-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 0;
    font-size: .88rem;
    border-bottom: 1px solid var(--line);
}

.cp-pay-row:last-of-type { border-bottom: 0; }
.cp-pay-label { color: var(--muted); }
.cp-pay-value { font-weight: 600; color: var(--ink); }

.cp-pay-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: .85rem;
    padding-top: .85rem;
    border-top: 2px solid var(--line);
}

.cp-pay-total-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink);
}

.cp-pay-total-val {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--brand);
}

.cp-pay-note {
    font-size: .78rem;
    color: var(--muted);
    margin-top: .9rem;
    margin-bottom: 0;
    line-height: 1.55;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .cp-sidebar-card { position: static; }
    .cp-pay-card { position: static; }
}

@media (max-width: 768px) {
    .cp { padding: 1.75rem 0 4rem; }
    .cp-stats { gap: .65rem; }
    .cp-stat { padding: 1rem .9rem; gap: .75rem; }
    .cp-stat-val { font-size: 1.35rem; }
    .cp-detail-hero { flex-direction: column; gap: .85rem; align-items: flex-start; padding: 1.25rem; }
    .cp-detail-biz-ico { width: 52px; height: 52px; font-size: 1.2rem; border-radius: 14px; }
}

@media (max-width: 480px) {
    .cp-stats { grid-template-columns: 1fr; }
    .cp-appt-top { flex-direction: column; gap: .4rem; }
    .cp-appt-biz-ico { width: 40px; height: 40px; font-size: .95rem; border-radius: 11px; }
}

.cp-addon-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    margin-bottom: .5rem;
}

/* ── Payment page ──────────────────────────────────────────────────── */
.pay-page { padding-bottom: 3rem; }

.pay-section { margin-top: 0; }

.pay-section-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--line);
}

.pay-section-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--brand-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.pay-section-head h5 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.01em;
    margin: 0;
}

/* ── Gateway selection cards ──────────────────────────────────────── */
.pay-gw-list {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.pay-gw-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color .15s, background .15s, box-shadow .15s;
    background: var(--card);
    position: relative;
    user-select: none;
}

.pay-gw-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pay-gw-card:hover {
    border-color: var(--brand);
    background: var(--brand-50);
    box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.07);
}

.pay-gw-card:has(input:checked) {
    border-color: var(--brand);
    background: var(--brand-50);
    box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.10);
}

.pay-gw-left {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.pay-gw-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    background: var(--soft);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--muted);
    flex-shrink: 0;
    overflow: hidden;
    transition: border-color .15s, background .15s;
}

.pay-gw-card:has(input:checked) .pay-gw-icon-wrap {
    background: var(--bg);
    border-color: var(--brand);
    color: var(--brand);
}

.pay-gw-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.pay-gw-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    color: var(--ink);
    line-height: 1.3;
}

.pay-gw-tagline {
    font-size: .78rem;
    color: var(--muted);
    margin-top: .15rem;
}

/* Check circle — muted by default, brand when selected */
.pay-gw-check {
    font-size: 1.25rem;
    color: var(--line2);
    line-height: 1;
    flex-shrink: 0;
    transition: color .15s, transform .2s;
}

.pay-gw-card:has(input:checked) .pay-gw-check {
    color: var(--brand);
    transform: scale(1.1);
}

/* ── Secure bar & CTA ─────────────────────────────────────────────── */
.pay-secure-bar {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    color: var(--muted);
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: .65rem 1rem;
    margin-top: 1.25rem;
}

.pay-secure-bar i { color: #16a34a; font-size: .9rem; }

.pay-cta {
    margin-top: 1.1rem;
    height: 48px;
    font-size: .95rem;
    font-weight: 700;
    border-radius: 12px;
    letter-spacing: .01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
}

/* ── Summary sidebar rows ─────────────────────────────────────────── */
.pay-summary-card { position: sticky; top: 88px; }

.pay-sum-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .65rem 0;
    font-size: .87rem;
    border-bottom: 1px solid var(--line);
    gap: 1rem;
}

.pay-sum-row:first-child { padding-top: 0; }
.pay-sum-row:last-of-type { border-bottom: 0; padding-bottom: 0; }

.pay-sum-label {
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-shrink: 0;
    font-size: .82rem;
}

.pay-sum-label i { color: var(--brand); opacity: .75; font-size: .8rem; }

.pay-sum-val {
    font-weight: 600;
    color: var(--ink);
    text-align: right;
    font-size: .87rem;
}

@media (max-width: 991px) {
    .pay-summary-card { position: static; }
}

/* ── Offline payment panel ─────────────────────────────────────────── */
.ofl-panel {
    display: none;
    margin-top: 1.25rem;
}

.ofl-panel.is-visible {
    display: block;
}

/* Step strip */
.ofl-steps {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: var(--brand-50);
    border: 1px solid rgba(var(--brand-rgb),.15);
    border-radius: 12px;
    padding: .75rem 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.ofl-step {
    display: flex;
    align-items: center;
    gap: .45rem;
}

.ofl-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.ofl-step-txt {
    font-size: .78rem;
    font-weight: 600;
    color: var(--brand);
}

.ofl-step-sep {
    color: rgba(var(--brand-rgb),.35);
    font-size: .65rem;
    line-height: 1;
}

/* Accordion wrapper */
.ofl-accordions {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-bottom: 1.25rem;
}

.ofl-acc {
    border: 1.5px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: var(--card);
    transition: border-color .2s, box-shadow .2s;
}

.ofl-acc:focus-within,
.ofl-acc--open {
    border-color: rgba(var(--brand-rgb),.3);
    box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.06);
}

/* Accordion header button */
.ofl-acc-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .9rem 1.1rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.ofl-acc-label {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-size: .88rem;
    font-weight: 700;
    color: var(--ink);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.ofl-acc-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--brand-50);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
}

.ofl-acc-chevron {
    font-size: .85rem;
    color: var(--muted);
    flex-shrink: 0;
    transition: transform .3s cubic-bezier(.4,0,.2,1), color .2s;
}

.ofl-acc--open .ofl-acc-chevron {
    transform: rotate(-180deg);
    color: var(--brand);
}

/* Smooth height animation via grid */
.ofl-acc-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s cubic-bezier(.4,0,.2,1);
}

.ofl-acc--open .ofl-acc-body {
    grid-template-rows: 1fr;
}

.ofl-acc-inner {
    overflow: hidden;
}

.ofl-acc-content {
    padding: 0 1.1rem 1.1rem;
    font-size: .84rem;
    color: var(--muted);
    line-height: 1.65;
    white-space: pre-wrap;
}

.ofl-acc-pre {
    margin: 0;
    padding: 0 1.1rem 1.1rem;
    font-size: .82rem;
    color: var(--ink);
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    background: none;
    border: none;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.7;
}

/* Form fields block */
.ofl-fields {
    background: var(--soft);
    border: 1.5px solid var(--line);
    border-radius: 14px;
    padding: 1.1rem;
}

.ofl-fields .form-label { color: var(--ink); }

@media (max-width: 576px) {
    .ofl-step-txt { display: none; }
    .ofl-step-sep { display: none; }
}

/* ── Customer panel pagination ─────────────────────────────────────── */
.cp-pagination {
    margin-top: 1.25rem;
}

.cp-pagination .pagination {
    justify-content: center;
    flex-wrap: wrap;
    gap: .3rem;
    margin: 0;
}

.cp-pagination .page-link {
    border-radius: 10px;
    border: 1px solid var(--line);
    color: var(--ink);
    background: var(--card);
    font-size: .84rem;
    padding: .42rem .78rem;
    transition: background .18s, color .18s, border-color .18s;
    line-height: 1.4;
}

.cp-pagination .page-link:hover {
    background: var(--soft);
    color: var(--brand);
    border-color: var(--brand);
}

.cp-pagination .page-item.active .page-link {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    font-weight: 600;
}

.cp-pagination .page-item.disabled .page-link {
    color: var(--muted);
    background: transparent;
    border-color: var(--line);
    pointer-events: none;
}

/* ── Customer review section ───────────────────────────────────────── */
.cp-review-section { margin-top: 1.25rem; }

.cp-review-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.cp-review-meta { flex: 1; min-width: 0; }

.cp-review-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: .4rem;
}

.cp-review-title-ico { color: var(--brand); font-size: .9rem; }

.cp-review-desc {
    font-size: .84rem;
    color: var(--muted);
    margin: .3rem 0 0;
}

.cp-review-stars {
    color: #f59e0b;
    font-size: .95rem;
    display: flex;
    align-items: center;
    gap: .15rem;
}

.cp-review-rating-num {
    font-size: .8rem;
    font-weight: 600;
    color: var(--muted);
    margin-left: .35rem;
}

.cp-review-comment {
    font-size: .87rem;
    color: var(--muted);
    margin: .55rem 0 0;
    line-height: 1.6;
}

.cp-review-edit-btn {
    font-size: .82rem;
    font-weight: 600;
    color: var(--muted);
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: .35rem .85rem;
    white-space: nowrap;
    transition: color .2s, border-color .2s, background .2s;
}

.cp-review-edit-btn:hover {
    color: var(--brand);
    border-color: var(--brand);
    background: var(--brand-50);
}

/* ── Review modal ──────────────────────────────────────────────────── */
.rv-modal .modal-content {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .14);
}

.rv-modal .modal-header {
    border-bottom: 1px solid var(--line);
    padding: 1.3rem 1.5rem .95rem;
    background: var(--card);
}

.rv-modal .modal-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -.015em;
    color: var(--ink);
}

.rv-modal .modal-body {
    padding: 1.5rem 1.5rem 1rem;
    background: var(--card);
}

.rv-modal .modal-footer {
    border-top: 1px solid var(--line);
    padding: .95rem 1.5rem;
    background: var(--card);
    gap: .6rem;
}

/* Service label inside modal */
.rv-service-name {
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.rv-service-staff {
    font-weight: 400;
    color: var(--muted);
    margin-left: .3rem;
}

/* Star rating widget */
.rv-stars-wrap { margin-bottom: 1.25rem; }

.rv-stars {
    display: flex;
    gap: .45rem;
    margin-bottom: .45rem;
}

.rv-star {
    font-size: 2rem;
    color: #d1d5db;
    cursor: pointer;
    line-height: 1;
    user-select: none;
    transition: color .13s, transform .11s;
    display: inline-flex;
}

.rv-star.active   { color: #f59e0b; }
.rv-star.hovered  { color: #fbbf24; }

.rv-label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--muted);
    min-height: 1.1em;
    letter-spacing: .01em;
}

/* Form elements inside modal */
.rv-field-label {
    font-size: .84rem;
    font-weight: 600;
    color: var(--ink);
    display: block;
    margin-bottom: .4rem;
}

.rv-optional {
    font-weight: 400;
    color: var(--muted);
    font-size: .8rem;
}

.rv-textarea {
    border-radius: 14px;
    border: 1.5px solid var(--line);
    font-size: .88rem;
    color: var(--ink);
    background: var(--soft);
    resize: none;
    transition: border-color .2s;
}

.rv-textarea:focus {
    border-color: var(--brand);
    background: var(--card);
    box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.1);
}

.rv-field-error {
    font-size: .82rem;
    color: #dc2626;
    margin-top: .3rem;
    margin-bottom: .65rem;
}

/* Modal buttons */
.rv-cancel-btn {
    font-size: .85rem;
    color: var(--muted);
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: .45rem 1.1rem;
    transition: color .2s, border-color .2s;
}

.rv-cancel-btn:hover { color: var(--ink); border-color: var(--muted); }

.rv-submit-btn {
    font-size: .85rem;
    font-weight: 600;
    border-radius: 12px;
    padding: .45rem 1.3rem;
}

[data-theme="dark"] .rv-star                { color: #4b5563; }
[data-theme="dark"] .rv-star.active         { color: #f59e0b; }
[data-theme="dark"] .rv-star.hovered        { color: #fbbf24; }
[data-theme="dark"] .rv-textarea            { background: var(--soft); color: var(--ink); }

/* ── Customer review list: tabs ─────────────────────────────────────── */
.cp-rv-tabs {
    display: flex;
    gap: .5rem;
    margin-bottom: 1rem;
}

.cp-rv-tab {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .42rem 1.05rem;
    border-radius: 50px;
    font-size: .84rem;
    font-weight: 600;
    color: var(--muted);
    background: var(--soft);
    text-decoration: none;
    transition: background .18s, color .18s;
}

.cp-rv-tab:hover { background: var(--line); color: var(--ink); }

.cp-rv-tab.active { background: var(--brand); color: #fff; }

.cp-rv-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.3rem;
    height: 1.3rem;
    padding: 0 .35rem;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
}

.cp-rv-tab-badge-pending  { background: rgba(217,119,6,.15);  color: #b45309; }
.cp-rv-tab-badge-published { background: rgba(22,163,74,.15); color: #15803d; }

.cp-rv-tab.active .cp-rv-tab-badge-pending  { background: rgba(255,255,255,.25); color: #fff; }
.cp-rv-tab.active .cp-rv-tab-badge-published { background: rgba(255,255,255,.25); color: #fff; }

[data-theme="dark"] .cp-rv-tab              { background: var(--soft); color: var(--muted); }
[data-theme="dark"] .cp-rv-tab:hover        { background: var(--line); color: var(--ink); }
[data-theme="dark"] .cp-rv-tab.active       { background: var(--brand); color: #fff; }
[data-theme="dark"] .cp-rv-tab-badge-pending  { background: rgba(217,119,6,.2);  color: #fbbf24; }
[data-theme="dark"] .cp-rv-tab-badge-published { background: rgba(34,197,94,.2); color: #4ade80; }

/* Bootstrap utility classes that hardcode light colors — fix for dark mode */
[data-theme="dark"] .text-gray-900 { color: var(--ink)   !important; }
[data-theme="dark"] .text-gray-700 { color: var(--muted) !important; }
[data-theme="dark"] .text-muted    { color: var(--muted) !important; }
[data-theme="dark"] .form-label    { color: var(--ink); }

/* Bootstrap defines --bs-table-color on .table itself (not inherited), so
   a root-level variable override does not reach it — set color directly. */
[data-theme="dark"] .table > :not(caption) > * > * { color: var(--ink); }
[data-theme="dark"] .table-hover > tbody > tr:hover > * { background-color: var(--soft) !important; color: var(--ink); }

/* ── View review modal rows ─────────────────────────────────────────── */
.cp-rv-view-row {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    padding: .45rem 0;
    border-bottom: 1px solid var(--line);
    font-size: .87rem;
}

.cp-rv-view-row:last-child { border-bottom: 0; }

.cp-rv-view-label {
    flex: 0 0 80px;
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
}

.cp-rv-view-val {
    font-weight: 500;
    color: var(--ink);
}

.rv-comment-cell { max-width: 200px; }


/* ════════════════════════════════════════════════════════════════════
   Staff Panel  (sp-*)  — mirrors Customer Panel design system
   ════════════════════════════════════════════════════════════════════ */

/* Designation label in the sidebar profile block */
.sp-profile-designation {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: .2rem;
}


/* 4-column stats grid */
.sp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .9rem;
    margin-bottom: 1.75rem;
}

@media (max-width: 991.98px) { .sp-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479.98px) { .sp-stats { grid-template-columns: 1fr; } }

/* Allow long stat labels to wrap inside the 4-col grid */
.sp-stats .cp-stat-lbl { white-space: normal; line-height: 1.3; }

/* Shrink earnings value font so it fits the narrower card */
.sp-earnings-val { font-size: 1.35rem; }

/* Today's date pill badge */
.sp-today-pill {
    display: inline-flex;
    align-items: center;
    gap: .15rem;
    padding: .28rem .8rem;
    border-radius: 50px;
    font-size: .76rem;
    font-weight: 700;
    background: var(--brand-50);
    color: var(--brand);
}

/* Today's appointment card */
.sp-today-appt {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    margin-bottom: .65rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: box-shadow .22s, transform .22s;
}

.sp-today-appt:last-child { margin-bottom: 0; }
.sp-today-appt:hover { box-shadow: var(--shadow); transform: translateY(-1px); }

/* Time block inside today card */
.sp-appt-time-block {
    flex-shrink: 0;
    width: 76px;
    padding: .6rem .4rem;
    text-align: center;
    background: var(--brand-50);
    border-radius: 12px;
}

.sp-appt-time-val {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: .86rem;
    font-weight: 800;
    color: var(--brand);
    line-height: 1.25;
    display: block;
}

/* Body inside today card */
.sp-today-appt-body { flex: 1; min-width: 0; }

.sp-today-appt-service {
    font-weight: 700;
    font-size: .92rem;
    color: var(--ink);
    margin: 0 0 .25rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-today-appt-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem .8rem;
    font-size: .8rem;
    color: var(--muted);
}

.sp-today-appt-meta i { font-size: .76rem; }

/* Price badge on the right of today card */
.sp-today-appt-price {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--ink);
    white-space: nowrap;
}

/* Dark-mode overrides */
[data-theme="dark"] .sp-appt-time-block { background: rgba(var(--brand-rgb),.15); }


/* ════════════════════════════════════════════════════════════════════
   Staff Panel — Appointments (sp-appt-row, sp-filter-*)
   ════════════════════════════════════════════════════════════════════ */

/* ── Filter bar ──────────────────────────────────────────────────────── */
.sp-filter-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.1rem 1.35rem;
    margin-bottom: 1.35rem;
    box-shadow: var(--shadow-sm);
}

.sp-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: flex-end;
}

.sp-filter-field {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    min-width: 140px;
    flex: 1 1 140px;
}

.sp-filter-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
}

.sp-filter-input {
    background: var(--soft);
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: .45rem .75rem;
    font-size: .86rem;
    color: var(--ink);
    outline: none;
    transition: border-color .18s, box-shadow .18s;
    width: 100%;
}

.sp-filter-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.1);
    background: var(--card);
}

select.sp-filter-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%236b7280' d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 12px;
    padding-right: 2.25rem;
    cursor: pointer;
}

.sp-filter-actions {
    display: flex;
    gap: .5rem;
    align-items: flex-end;
    padding-bottom: 0;
}

.sp-filter-btn { border-radius: 10px; }

/* ── Count badge ─────────────────────────────────────────────────────── */
.sp-count-badge {
    font-size: .78rem;
    font-weight: 600;
    color: var(--muted);
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 50px;
    padding: .22rem .75rem;
}

/* ── Appointment row card ────────────────────────────────────────────── */
.sp-appt-row {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    margin-bottom: .65rem;
    display: flex;
    align-items: center;
    gap: .85rem;
    transition: box-shadow .22s, transform .22s;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.sp-appt-row:last-child { margin-bottom: 0; }
.sp-appt-row:hover { box-shadow: var(--shadow); transform: translateY(-1px); }

/* Sequential number */
.sp-appt-no {
    flex-shrink: 0;
    font-size: .72rem;
    font-weight: 700;
    color: var(--muted);
    min-width: 28px;
    text-align: right;
}

/* Customer avatar — override cp-appt-biz-ico size */
.sp-appt-ico {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Row body */
.sp-appt-row-body { flex: 1; min-width: 0; }

.sp-appt-row-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: .35rem;
}

.sp-appt-row-service {
    font-weight: 700;
    font-size: .92rem;
    color: var(--ink);
    margin: 0 0 .2rem;
    line-height: 1.3;
}

.sp-appt-row-customer {
    font-size: .82rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: .3rem;
}

.sp-appt-row-customer i { font-size: .76rem; }

.sp-appt-row-phone { opacity: .7; }

.sp-appt-row-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem .9rem;
    font-size: .79rem;
    color: var(--muted);
}

.sp-appt-row-meta i { font-size: .75rem; }


/* ── Show page: hero icon size override ──────────────────────────────── */
.sp-detail-ico {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* ── Dark-mode overrides ─────────────────────────────────────────────── */
[data-theme="dark"] .sp-filter-input { background: var(--soft); color: var(--ink); border-color: var(--line); }
[data-theme="dark"] .sp-filter-input:focus { background: var(--card); border-color: var(--brand); }


/* ════════════════════════════════════════════════════════════════════
   Staff Panel — Earnings (sp-commission-*, sp-earn-*)
   ════════════════════════════════════════════════════════════════════ */

/* ── Commission settings info strip ─────────────────────────────────── */
.sp-commission-strip {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--brand-50);
    border: 1px solid rgba(var(--brand-rgb),.15);
    border-radius: 16px;
    padding: 1rem 1.35rem;
    margin-bottom: 1.5rem;
}

.sp-commission-strip-ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.sp-commission-strip-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--brand);
    margin-bottom: .15rem;
}

.sp-commission-strip-val {
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink);
}

[data-theme="dark"] .sp-commission-strip {
    background: rgba(var(--brand-rgb),.12);
    border-color: rgba(var(--brand-rgb),.25);
}

/* ── Stat val size override (currency amounts can be wide) ───────────── */
.sp-earn-stat-val { font-size: 1.35rem; }

/* ── Earnings table wrapper ──────────────────────────────────────────── */
.sp-earn-table-wrap {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* ── Earnings table ──────────────────────────────────────────────────── */
.sp-earn-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .86rem;
}

.sp-earn-table thead tr {
    border-bottom: 1px solid var(--line);
    background: var(--soft);
}

.sp-earn-table thead th {
    padding: .8rem 1.1rem;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    white-space: nowrap;
}

.sp-earn-table tbody tr {
    border-bottom: 1px solid var(--line);
    transition: background .15s;
}

.sp-earn-table tbody tr:last-child { border-bottom: 0; }

.sp-earn-table tbody tr:hover { background: var(--soft); }

.sp-earn-table tbody td {
    padding: .9rem 1.1rem;
    color: var(--ink);
    vertical-align: middle;
}

/* Appointment link */
.sp-earn-appt-link {
    font-weight: 700;
    color: var(--brand);
    font-size: .88rem;
    text-decoration: none;
    transition: color .15s;
}

.sp-earn-appt-link:hover { color: var(--brand-600); text-decoration: underline; }

/* Main text in a cell */
.sp-earn-cell-main {
    font-weight: 600;
    color: var(--ink);
}

/* Muted secondary line inside a cell */
.sp-earn-cell-sub {
    font-size: .76rem;
    color: var(--muted);
    margin-top: .15rem;
}

/* Empty/null value */
.sp-earn-muted { color: var(--muted); }

/* Commission type badges */
.sp-earn-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .25rem .7rem;
    border-radius: 50px;
    font-size: .76rem;
    font-weight: 700;
}

.sp-earn-badge-fixed {
    background: #eff6ff;
    color: #2563eb;
}

.sp-earn-badge-pct {
    background: #f0fdf4;
    color: #16a34a;
}

/* Highlighted commission amount */
.sp-earn-amount {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: .95rem;
    color: var(--ink);
}

/* Dark-mode overrides */
[data-theme="dark"] .sp-earn-badge-fixed { background: rgba(37,99,235,.15);  color: #60a5fa; }
[data-theme="dark"] .sp-earn-badge-pct   { background: rgba(22,163,74,.15);  color: #4ade80; }
[data-theme="dark"] .sp-earn-table thead tr { background: var(--soft); }


/* ════════════════════════════════════════════════════════════════════
   Staff Panel — Account / Profile photo upload widget (sp-photo-*)
   ════════════════════════════════════════════════════════════════════ */

.sp-photo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .9rem;
    text-align: center;
}

/* Circle preview area */
.sp-photo-preview {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--line);
    background: var(--soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color .2s;
}

.sp-photo-wrap:hover .sp-photo-preview { border-color: var(--brand); }

/* Uploaded image inside the circle */
.sp-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Initial-letter fallback (inherits gradient from bp-grad-* classes) */
.sp-photo-initial {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
}

/* Hidden native file input */
.sp-photo-input {
    display: none;
}

/* Clickable label styled as a button */
.sp-photo-label {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem 1.2rem;
    border-radius: 50px;
    font-size: .84rem;
    font-weight: 600;
    background: var(--soft);
    border: 1.5px solid var(--line);
    color: var(--ink);
    cursor: pointer;
    transition: background .18s, border-color .18s, color .18s;
}

.sp-photo-label:hover {
    background: var(--brand-50);
    border-color: var(--brand);
    color: var(--brand);
}

/* Hint text below the button */
.sp-photo-hint {
    font-size: .75rem;
    color: var(--muted);
    margin: 0;
}


/* ══════════════════════════════════════════════════════════════════════════
   Staff Panel — Calendar  (sp-cal-*)
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Wrapper card ──────────────────────────────────────────────────────── */
.sp-cal-wrap {
    padding: 0;
    overflow: hidden;
}

/* ── Filter bar ────────────────────────────────────────────────────────── */
.sp-cal-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid var(--line);
}

.sp-cal-filter-group {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

/* ── Status legend dots ────────────────────────────────────────────────── */
.sp-cal-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1rem;
    margin-left: auto;
}

.sp-cal-dot {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    font-size: .8125rem;
    color: var(--ink);
}

.sp-cal-dot::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sp-cal-dot[data-status="pending"]::before   { background: #f59e0b; }
.sp-cal-dot[data-status="confirmed"]::before { background: #3b82f6; }
.sp-cal-dot[data-status="completed"]::before { background: #10b981; }
.sp-cal-dot[data-status="cancelled"]::before { background: #ef4444; }
.sp-cal-dot[data-status="no_show"]::before   { background: #6b7280; }

/* ── FullCalendar mount point ──────────────────────────────────────────── */
#sp-calendar {
    min-height: 640px;
    padding: 1.25rem 1.75rem 1.75rem;
}

.sp-cal-loading { opacity: .55; transition: opacity .2s; }

/* ── FullCalendar toolbar overrides ───────────────────────────────────── */
#sp-calendar .fc .fc-toolbar-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
}

#sp-calendar .fc .fc-button {
    font-size: .8125rem;
    padding: .3rem .65rem;
    border-radius: .375rem;
    font-weight: 500;
    text-transform: capitalize;
}

#sp-calendar .fc .fc-button-primary {
    background-color: var(--brand) !important;
    border-color: var(--brand) !important;
}

#sp-calendar .fc .fc-button-primary:not(:disabled):hover,
#sp-calendar .fc .fc-button-primary:not(:disabled).fc-button-active {
    background-color: var(--brand) !important;
    border-color: var(--brand) !important;
    filter: brightness(.88);
}

#sp-calendar .fc .fc-button-primary:focus {
    box-shadow: 0 0 0 .2rem rgba(var(--brand-rgb),.25) !important;
}

#sp-calendar .fc-event {
    cursor: pointer;
    font-size: .75rem;
    border-radius: 4px;
    padding: 1px 5px;
    border: none !important;
}

#sp-calendar .fc-event:hover { filter: brightness(.92); }

#sp-calendar .fc .fc-col-header-cell-cushion,
#sp-calendar .fc .fc-daygrid-day-number {
    color: var(--ink);
    text-decoration: none;
}

#sp-calendar .fc .fc-daygrid-day.fc-day-today,
#sp-calendar .fc .fc-timegrid-col.fc-day-today {
    background: var(--brand-50) !important;
}

#sp-calendar .fc .fc-timegrid-slot { height: 2.25rem; }

/* ── Appointment detail modal ──────────────────────────────────────────── */
.sp-appt-modal-content  { border-radius: .5rem; }

.sp-appt-modal-header {
    background: linear-gradient(135deg, var(--brand) 0%, #9b7ef6 100%);
    border-radius: .5rem .5rem 0 0;
    padding: 1.5rem 1.75rem 1.25rem;
    color: #fff;
}

.sp-appt-modal-id {
    font-size: .75rem;
    font-weight: 600;
    opacity: .8;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.sp-appt-modal-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: .25rem 0 0;
    line-height: 1.3;
}

.sp-appt-modal-close {
    background: rgba(255,255,255,.2);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s;
}

.sp-appt-modal-close:hover { background: rgba(255,255,255,.35); }

.sp-appt-detail-row {
    display: flex;
    align-items: flex-start;
    gap: .875rem;
    padding: .75rem 0;
    border-bottom: 1px solid var(--line);
}

.sp-appt-detail-row:last-child { border-bottom: none; }

.sp-appt-detail-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--brand-50);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.sp-appt-detail-label {
    font-size: .7375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
    margin-bottom: .125rem;
    line-height: 1;
}

.sp-appt-detail-value {
    font-size: .9rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.4;
}

.sp-appt-modal-footer {
    background: var(--soft);
    border-top: 1px solid var(--line);
    border-radius: 0 0 .5rem .5rem;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: wrap;
}

.sp-appt-total-label {
    font-size: .8125rem;
    color: var(--muted);
    font-weight: 500;
}

.sp-appt-total-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
}


/* ════════════════════════════════════════════════════════════════════
   Staff Panel — Reviews (sp-rev-*)
   ════════════════════════════════════════════════════════════════════ */

.sp-rev-stat-val { font-size: 1.35rem; }

/* ── Review card ───────────────────────────────────────────────────── */
.sp-rev-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    margin-bottom: .75rem;
    transition: box-shadow .18s, transform .18s;
    position: relative;
    overflow: hidden;
}

.sp-rev-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, var(--brand) 0%, #9b7ef6 100%);
    border-radius: 3px 0 0 3px;
    opacity: 0;
    transition: opacity .18s;
}

.sp-rev-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

.sp-rev-card:hover::before { opacity: 1; }

/* ── Avatar ────────────────────────────────────────────────────────── */
.sp-rev-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: .95rem;
    font-weight: 700;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Body layout ───────────────────────────────────────────────────── */
.sp-rev-body {
    flex: 1;
    min-width: 0;
}

.sp-rev-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: .6rem;
}

/* ── Customer & service names ──────────────────────────────────────── */
.sp-rev-customer {
    font-size: .95rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 .15rem;
    line-height: 1.25;
}

.sp-rev-service {
    font-size: .8125rem;
    color: var(--muted);
    margin: 0;
    display: flex;
    align-items: center;
    gap: .3rem;
}

/* ── Right-side meta (stars + date) ───────────────────────────────── */
.sp-rev-meta-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .3rem;
    flex-shrink: 0;
}

/* ── Star display ─────────────────────────────────────────────────── */
.sp-rev-stars {
    display: flex;
    align-items: center;
    gap: .15rem;
    color: #f59e0b;
    font-size: .9rem;
}

.sp-rev-rating-num {
    font-size: .78rem;
    font-weight: 700;
    color: var(--muted);
    margin-left: .35rem;
}

/* ── Date ─────────────────────────────────────────────────────────── */
.sp-rev-date {
    font-size: .78rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: .3rem;
}

/* ── Review text ──────────────────────────────────────────────────── */
.sp-rev-text {
    font-size: .88rem;
    color: var(--ink);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

.sp-rev-no-text {
    color: var(--muted);
    font-style: normal;
}

/* ── Dark-mode ────────────────────────────────────────────────────── */
[data-theme="dark"] .sp-rev-card {
    background: var(--card);
    border-color: var(--line);
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 575px) {
    .sp-rev-top { flex-direction: column; gap: .5rem; }
    .sp-rev-meta-right { align-items: flex-start; }
}

/* ── VanillaJS Datepicker — front panel ──────────────────────────── */
.datepicker-picker {
    border-radius: 14px !important;
    border: 1px solid var(--line);
    box-shadow: 0 8px 32px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06) !important;
    overflow: hidden;
}

/* Reset native button + global .btn styles inside the datepicker */
.datepicker-picker .datepicker-controls button {
    -webkit-appearance: none;
    appearance: none;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 6px !important;
    padding: .25rem .5rem !important;
    font-size: .875rem !important;
    font-weight: 600 !important;
    transform: none !important;
    color: var(--ink) !important;
    transition: background .15s !important;
}
.datepicker-picker .datepicker-controls button:hover,
.datepicker-picker .datepicker-controls button:focus {
    background: var(--brand-50) !important;
    color: var(--brand) !important;
    box-shadow: none !important;
    transform: none !important;
}
.datepicker-picker .datepicker-controls button:active {
    background: rgba(var(--brand-rgb),.18) !important;
    color: var(--brand) !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Day-of-week header */
.datepicker-view .dow { color: var(--brand); font-size: .8rem; }

/* Cells */
.datepicker-cell:not(.disabled):hover {
    background-color: var(--brand-50) !important;
    color: var(--brand) !important;
    cursor: pointer;
}
.datepicker-cell.focused:not(.selected) {
    background-color: var(--brand-50) !important;
}
.datepicker-cell.selected,
.datepicker-cell.selected:hover {
    background-color: var(--brand) !important;
    color: #fff !important;
    font-weight: 700;
}
.datepicker-cell.today:not(.selected) {
    background-color: var(--brand-50) !important;
    color: var(--brand) !important;
    font-weight: 700;
}

/* Active input ring */
.datepicker-input.in-edit {
    border-color: var(--brand) !important;
    box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.15) !important;
}


.verify-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--brand-50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}
.verify-icon-wrap i {
    font-size: 1.75rem;
    color: var(--brand);
}
.verify-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.verify-steps li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .85rem;
    color: var(--muted);
}
.verify-steps li i {
    color: var(--brand);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.verify-hint {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: .65rem .9rem;
    font-size: .82rem;
    color: var(--muted);
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    margin-bottom: 1.25rem;
}
.verify-hint i {
    color: var(--brand);
    flex-shrink: 0;
    margin-top: 1px;
}
.verify-footer-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding-top: .75rem;
    border-top: 1px solid var(--line);
    margin-top: .25rem;
}
.verify-footer-links a,
.verify-footer-links button {
    font-size: .82rem;
    color: var(--muted);
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .3rem;
}
.verify-footer-links a:hover,
.verify-footer-links button:hover {
    color: var(--brand);
}





/* Dark mode */
[data-theme="dark"] .datepicker-picker {
    background-color: var(--card);
    border-color: var(--line);
}
[data-theme="dark"] .datepicker-main { background-color: var(--card); }
[data-theme="dark"] .datepicker-controls .btn { color: var(--ink) !important; }
[data-theme="dark"] .datepicker-cell { color: var(--ink); }
[data-theme="dark"] .datepicker-cell.next:not(.disabled),
[data-theme="dark"] .datepicker-cell.prev:not(.disabled) { color: #4b5563; }
[data-theme="dark"] .datepicker-cell.disabled { color: #374151; }

/* ---------- Scroll-reveal animations ----------
   JS (reveal.js) adds .is-visible when element enters viewport.
   Direction is set by the data-reveal value.
   -------------------------------------------- */
[data-reveal] {
    opacity: 0;
    transition:
        opacity 0.55s ease,
        transform 0.55s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal="fade-up"]    { transform: translate3d(0, 28px, 0); }
[data-reveal="fade-down"]  { transform: translate3d(0, -28px, 0); }
[data-reveal="fade-left"]  { transform: translate3d(28px, 0, 0); }
[data-reveal="fade-right"] { transform: translate3d(-28px, 0, 0); }
[data-reveal="fade"]       { transform: none; }
[data-reveal="zoom-in"]    { transform: scale(.94); }

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ════════════════════════════════════════════════════════════════════
   Favourites — profile heart button, sign-in modal & panel cards
   ════════════════════════════════════════════════════════════════════ */

/* Active state for the business-profile favourite button */
.bp-fav-btn { transition: .2s; }
.bp-fav-btn.is-active {
    background: rgba(244, 63, 94, .1);
    border-color: #f43f5e;
    color: #f43f5e;
}
.bp-fav-btn.is-active:hover {
    background: rgba(244, 63, 94, .16);
    border-color: #f43f5e;
    color: #f43f5e;
}

/* ── Sign-in prompt modal ─────────────────────────────────────────── */
.fav-modal .modal-content {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--card);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .18);
    overflow: hidden;
}
.fav-modal .modal-body { padding: 2.4rem 2rem 2rem; }
.fav-modal-close {
    position: absolute;
    top: .85rem;
    right: .85rem;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    background: var(--soft);
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s;
}
.fav-modal-close:hover { background: var(--line); color: var(--ink); }
.fav-modal-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 1.1rem;
    border-radius: 50%;
    font-size: 1.7rem;
    color: #f43f5e;
    background: rgba(244, 63, 94, .12);
}
.fav-modal-title { font-size: 1.15rem; font-weight: 800; margin: 0 0 .5rem; color: var(--ink); }
.fav-modal-text {
    font-size: .9rem;
    color: var(--muted);
    margin: 0 auto 1.5rem;
    max-width: 22rem;
    line-height: 1.55;
}
.fav-modal-actions { display: flex; flex-direction: column; gap: .6rem; }
.fav-modal-cancel {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--muted);
    font-weight: 600;
}
.fav-modal-cancel:hover { background: var(--soft); color: var(--ink); }

/* ── Favourites panel cards ───────────────────────────────────────── */
.biz-card-fav { position: relative; }
.biz-card-link { display: block; color: inherit; text-decoration: none; }
.biz-card-link:hover { color: inherit; }

.biz-fav-btn {
    position: absolute;
    top: .7rem;
    right: .7rem;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #f43f5e;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .18);
    transition: transform .18s, background .18s;
}
.biz-fav-btn:hover { transform: scale(1.08); background: #fff; }
.biz-fav-btn:active { transform: scale(.94); }
[data-theme="dark"] .biz-fav-btn { background: rgba(17, 26, 44, .9); }
[data-theme="dark"] .biz-fav-btn:hover { background: rgba(17, 26, 44, 1); }

/* Fade + collapse when a card is removed from favourites */
.fav-card-leaving {
    opacity: 0;
    transform: scale(.94);
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
}
