/* ============================================================
   NASTARAN BEAUTY SALON — DESIGN SYSTEM 2026
   Premium · Mobile-first · RTL · Accessible
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
    /* Brand — rose */
    --rose-50:  #fff5f7;
    --rose-100: #fde8ed;
    --rose-200: #fad0d9;
    --rose-300: #f0a3b3;
    --rose-400: #e0698a;
    --rose-500: #c94567;
    --rose-600: #a83654;

    /* Brand — rose gold */
    --gold-100: #f9f0e6;
    --gold-300: #d4a96a;
    --gold-400: #b8863c;
    --gold-500: #9a6d2f;

    /* Semantic */
    --success-50:  #effaf3;
    --success-200: #b9e6c8;
    --success-700: #1a5c33;
    --warning-50:  #fff8e1;
    --warning-700: #8a6200;
    --danger-50:   #fff5f7;
    --danger-200:  #f6c9d1;
    --danger-700:  #8b1a2e;

    /* Neutrals */
    --cream:    #fdf9f7;
    --warm-50:  #faf7f5;
    --warm-100: #f5f0ec;
    --white:    #ffffff;
    --ink:      #2d1f24;

    /* Text — AA contrast on cream/white */
    --text-900: #2d1f24;
    --text-700: #5c4149;
    --text-500: #8a6570;
    --text-300: #a9808b;   /* decorative / large text only */

    /* Borders */
    --border-soft:  #eddde2;
    --border-light: #f6ebee;

    /* Shadows */
    --shadow-xs:  0 1px 3px rgba(45,31,36,.06);
    --shadow-sm:  0 4px 12px rgba(45,31,36,.07);
    --shadow-md:  0 8px 28px rgba(45,31,36,.09);
    --shadow-lg:  0 20px 50px rgba(45,31,36,.11);
    --shadow-xl:  0 32px 80px rgba(45,31,36,.13);
    --shadow-rose: 0 12px 32px rgba(201,69,103,.20);

    /* Radii */
    --radius-sm:   10px;
    --radius-md:   14px;
    --radius-lg:   20px;
    --radius-xl:   28px;
    --radius-full: 9999px;

    /* Motion */
    --ease:      cubic-bezier(.4,0,.2,1);
    --ease-out:  cubic-bezier(0,0,.2,1);
    --dur-fast:  160ms;
    --dur-base:  240ms;
    --dur-slow:  360ms;

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

    /* Layout */
    --container: 1120px;
    --header-h: 68px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    direction: rtl;
    font-family: "Vazirmatn", system-ui, -apple-system, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    background: var(--cream);
    color: var(--text-900);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; }

/* ── Focus ring (accessible) ────────────────────────────────── */
:focus-visible {
    outline: 2px solid var(--rose-400);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* ── Selection ──────────────────────────────────────────────── */
::selection { background: var(--rose-200); color: var(--text-900); }

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--space-5);
}


/* ============================================================
   SITE HEADER / NAVIGATION
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(253, 249, 247, .85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-light);
}

.site-header-inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
}

.nav-brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.nav-brand-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-900);
    letter-spacing: -.2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav-link {
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-700);
    transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.nav-link:hover { color: var(--rose-500); background: var(--rose-50); }

.nav-actions { display: flex; align-items: center; gap: var(--space-2); }

/* Mobile nav */
.nav-burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    background: var(--white);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: var(--text-700);
}

.nav-burger svg { width: 20px; height: 20px; }

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-3) var(--space-5) var(--space-5);
    border-top: 1px solid var(--border-light);
    background: var(--cream);
}

.nav-mobile.open { display: flex; }

.nav-mobile .nav-link {
    padding: 12px 14px;
    border-radius: var(--radius-md);
    font-size: 15px;
}

@media (max-width: 820px) {
    .nav-links, .nav-actions .btn-outline { display: none; }
    .nav-burger { display: inline-flex; }
}


/* ============================================================
   BUTTONS — unified system
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 22px;
    border: 1.5px solid transparent;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition:
        transform var(--dur-base) var(--ease),
        box-shadow var(--dur-base) var(--ease),
        background var(--dur-base) var(--ease),
        border-color var(--dur-base) var(--ease),
        color var(--dur-base) var(--ease),
        filter var(--dur-base) var(--ease);
}

.btn:disabled, .btn[aria-disabled="true"] {
    opacity: .55;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Primary */
.btn-primary {
    background: linear-gradient(135deg, var(--rose-500) 0%, var(--rose-400) 100%);
    color: var(--white);
    box-shadow: var(--shadow-rose);
}
.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 16px 38px rgba(201,69,103,.28);
}
.btn-primary:active:not(:disabled) { transform: translateY(0); }

/* Outline */
.btn-outline {
    background: transparent;
    color: var(--text-700);
    border-color: var(--border-soft);
}
.btn-outline:hover:not(:disabled) {
    border-color: var(--rose-300);
    color: var(--rose-500);
    background: var(--rose-50);
}

/* Gold */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-400) 100%);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(184,134,60,.22);
}
.btn-gold:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(184,134,60,.30);
}

/* Subtle */
.btn-soft {
    background: var(--warm-100);
    color: var(--text-700);
}
.btn-soft:hover:not(:disabled) { background: var(--warm-50); box-shadow: var(--shadow-xs); }

/* Sizes */
.btn-sm    { min-height: 36px; padding: 6px 14px; font-size: 13px; }
.btn-lg    { min-height: 52px; padding: 14px 34px; font-size: 15px; }
.btn-block { width: 100%; }

/* ── Legacy alias — same look as .btn.btn-primary ───────────── */
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 160px;
    min-height: 48px;
    padding: 12px 34px;
    background: linear-gradient(135deg, var(--rose-500) 0%, var(--rose-400) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
    box-shadow: var(--shadow-rose);
    text-align: center;
    text-decoration: none;
    transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), filter var(--dur-base) var(--ease);
}
.primary-button:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 16px 38px rgba(201,69,103,.28); }

/* ── Spinner (inline, inside buttons) ───────────────────────── */
.spinner {
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: white;
    border-radius: 50%;
    animation: spin .7s linear infinite;
    flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }


/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
    border-top: 1px solid var(--border-light);
    background: var(--white);
}

.site-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
    padding-block: var(--space-6);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.footer-brand img { width: 40px; height: 40px; opacity: .9; }

.footer-brand-name { font-size: 14px; font-weight: 600; color: var(--text-900); }
.footer-copy { color: var(--text-500); font-size: 12px; }

.footer-nav { display: flex; align-items: center; gap: var(--space-4); }
.footer-link {
    color: var(--text-500);
    font-size: 13px;
    transition: color var(--dur-fast) var(--ease);
}
.footer-link:hover { color: var(--rose-500); }

@media (max-width: 600px) {
    .site-footer-inner { flex-direction: column; text-align: center; }
}


/* ============================================================
   SECTION CHROME (shared)
   ============================================================ */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space-3);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--gold-400);
    text-transform: uppercase;
}
.section-eyebrow::before { content: "✦"; font-size: 7px; }

.section-title {
    width: 100%;
    max-width: 620px;
    margin: 0 auto var(--space-12);
    text-align: center;
}
.section-title h2 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 500;
    color: var(--text-900);
    line-height: 1.35;
}
.section-title p {
    margin-top: var(--space-3);
    color: var(--text-500);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
}
.section-divider {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--rose-400), var(--gold-300));
    border-radius: 2px;
    margin: var(--space-4) auto 0;
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    width: 100%;
    min-height: calc(100dvh - var(--header-h));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-10) var(--space-5);
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 15% 10%, rgba(250,208,217,.55) 0%, transparent 65%),
        radial-gradient(ellipse 60% 50% at 85% 90%, rgba(212,169,106,.13) 0%, transparent 60%),
        radial-gradient(ellipse 70% 70% at 50% 50%, rgba(253,240,230,.4) 0%, transparent 80%),
        var(--cream);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle 340px at 92% 8%,  rgba(224,105,138,.10), transparent),
        radial-gradient(circle 260px at 5%  95%, rgba(212,169,106,.09), transparent);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(183,134,60,.07) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    opacity: .6;
}

.hero-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.hero-ring-1 {
    width: 520px; height: 520px;
    border: 1px solid rgba(224,105,138,.12);
    top: -140px; right: -160px;
}
.hero-ring-2 {
    width: 360px; height: 360px;
    border: 1px solid rgba(212,169,106,.12);
    bottom: -100px; left: -100px;
}
.hero-ring-3 {
    width: 200px; height: 200px;
    border: 1px solid rgba(224,105,138,.08);
    bottom: 15%; right: 8%;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 680px;
    margin: auto;
}

.hero-logo-container { display: flex; justify-content: center; margin-bottom: var(--space-4); }

.hero-logo {
    width: 200px;
    max-width: 58vw;
    height: auto;
    filter: drop-shadow(0 4px 16px rgba(45,31,36,.10));
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space-5);
    padding: 6px 18px;
    border: 1px solid rgba(212,169,106,.35);
    border-radius: var(--radius-full);
    background: rgba(249,240,230,.7);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--gold-500);
    text-transform: uppercase;
    direction: ltr;
}
.hero-eyebrow::before,
.hero-eyebrow::after { content: "✦"; font-size: 7px; opacity: .7; }

.hero-title {
    font-size: clamp(38px, 7vw, 62px);
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-900);
    margin-bottom: var(--space-5);
    letter-spacing: -.5px;
}
.hero-title em {
    font-style: normal;
    color: var(--rose-500);
    position: relative;
}
.hero-title em::after {
    content: "";
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--rose-400), var(--gold-300));
    border-radius: 2px;
}

.hero-sub {
    max-width: 460px;
    margin: 0 auto var(--space-10);
    color: var(--text-700);
    font-size: 15px;
    font-weight: 300;
    line-height: 2;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-5);
    margin-top: var(--space-8);
    flex-wrap: wrap;
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--text-500);
    font-weight: 400;
}
.hero-trust-icon { font-size: 14px; color: var(--gold-400); }

.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-300);
    text-transform: uppercase;
    animation: scrollBounce 2s var(--ease) infinite;
}
.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--rose-300), transparent);
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(6px); }
}


/* ============================================================
   SERVICES
   ============================================================ */
.services {
    position: relative;
    padding: var(--space-32) var(--space-5);
    background: var(--white);
    overflow: hidden;
}
.services::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 100% 0%, rgba(250,208,217,.18), transparent 60%);
    pointer-events: none;
}

.service-cards {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-5);
}

.service-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-8) var(--space-6);
    box-shadow: var(--shadow-sm);
    transition:
        transform  var(--dur-base) var(--ease),
        box-shadow var(--dur-base) var(--ease),
        border-color var(--dur-base) var(--ease);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.service-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rose-400), var(--gold-300));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--dur-base) var(--ease);
}
.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--rose-200);
    box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--rose-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: var(--space-5);
    transition: background var(--dur-base) var(--ease);
}
.service-card:hover .service-icon { background: var(--rose-200); }

.service-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-900);
    margin-bottom: var(--space-4);
    line-height: 1.4;
}

.service-meta {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
}
.service-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-500);
    font-size: 13px;
    font-weight: 300;
}
.service-meta-icon { font-size: 14px; flex-shrink: 0; }

.service-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: auto;
}
.service-price-amount { font-size: 22px; font-weight: 600; color: var(--text-900); }
.service-price-unit { font-size: 12px; color: var(--text-500); font-weight: 300; }

.service-card-cta {
    margin-top: var(--space-5);
    width: 100%;
    min-height: 44px;
    padding: 10px;
    background: transparent;
    border: 1.5px solid var(--border-soft);
    border-radius: var(--radius-md);
    color: var(--text-700);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--dur-base) var(--ease);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-card-cta:hover {
    background: linear-gradient(135deg, var(--rose-500), var(--rose-400));
    border-color: transparent;
    color: var(--white);
    box-shadow: var(--shadow-rose);
}

/* ── Skeleton ───────────────────────────────────────────────── */
.skeleton {
    background: linear-gradient(90deg, var(--warm-100) 25%, var(--rose-50) 50%, var(--warm-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.6s infinite;
    border-radius: var(--radius-sm);
}
@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.skeleton-card { border-radius: var(--radius-lg); height: 260px; }


/* ============================================================
   FEATURES / WHY US
   ============================================================ */
.features {
    padding: var(--space-24) var(--space-5);
    background: var(--rose-50);
    text-align: center;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-6);
    max-width: 900px;
    margin: 0 auto;
}
.feature-item {
    padding: var(--space-8) var(--space-5);
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.feature-icon {
    font-size: 28px;
    margin-bottom: var(--space-4);
    display: block;
}
.feature-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-900);
    margin-bottom: var(--space-2);
}
.feature-item p {
    font-size: 12.5px;
    color: var(--text-500);
    line-height: 1.7;
    font-weight: 300;
}


/* ============================================================
   ABOUT
   ============================================================ */
.about {
    position: relative;
    padding: var(--space-32) var(--space-5);
    text-align: center;
    overflow: hidden;
    background: var(--white);
}
.about::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 10% 50%, rgba(250,208,217,.20), transparent 60%),
        radial-gradient(ellipse 40% 50% at 90% 50%, rgba(212,169,106,.10), transparent 60%);
    pointer-events: none;
}
.about-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }

.about-quote-mark {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 120px;
    line-height: 1;
    color: var(--rose-100);
    margin-bottom: -40px;
    display: block;
    user-select: none;
}
.about-inner h2 {
    font-size: clamp(26px, 4vw, 34px);
    font-weight: 400;
    line-height: 1.4;
    color: var(--text-900);
    margin-bottom: var(--space-6);
}
.about-inner p {
    color: var(--text-500);
    font-size: 15px;
    font-weight: 300;
    line-height: 2.2;
    margin-bottom: var(--space-5);
}
.about-inner p:last-child { margin-bottom: 0; }


/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    position: relative;
    padding: var(--space-24) var(--space-5);
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--text-900) 0%, #4a2d35 100%);
}
.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}
.cta-banner::after {
    content: "";
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(224,105,138,.12);
    top: -200px; right: -100px;
    pointer-events: none;
}
.cta-banner-inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.cta-banner h2 {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 500;
    color: var(--white);
    margin-bottom: var(--space-4);
    line-height: 1.35;
}
.cta-banner p {
    color: rgba(255,255,255,.72);
    font-size: 14px;
    font-weight: 300;
    margin-bottom: var(--space-8);
    line-height: 1.9;
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    padding: var(--space-24) var(--space-5);
    background: var(--cream);
    text-align: center;
}
.contact-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-5);
    max-width: 800px;
    margin: 0 auto;
}
.contact-card {
    flex: 1;
    min-width: 220px;
    max-width: 340px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-8) var(--space-6);
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.contact-card-icon { font-size: 28px; margin-bottom: var(--space-4); display: block; }
.contact-card h4 {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-500);
    margin-bottom: var(--space-3);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.contact-card p,
.contact-card a {
    font-size: 14px;
    color: var(--text-700);
    line-height: 2;
    font-weight: 300;
    transition: color var(--dur-fast) var(--ease);
}
.contact-card a:hover { color: var(--rose-500); }

.contact-card.address { max-width: 680px; width: 100%; flex-basis: 100%; }


/* ============================================================
   RESERVATION / AUTH PAGES
   ============================================================ */
.reservation-page {
    min-height: calc(100dvh - var(--header-h));
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: var(--space-12) var(--space-5);
    background:
        radial-gradient(ellipse 70% 50% at 20% 20%, rgba(250,208,217,.35), transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 80%, rgba(212,169,106,.10), transparent 60%),
        var(--cream);
}

.reservation-card {
    width: 100%;
    max-width: 560px;
    padding: var(--space-10);
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}
.reservation-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--rose-400), var(--gold-300), var(--rose-400));
    background-size: 200% 100%;
    animation: shimmerBar 3s linear infinite;
}
@keyframes shimmerBar {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.reservation-card h1 {
    text-align: center;
    font-size: 26px;
    font-weight: 500;
    color: var(--text-900);
    margin: var(--space-2) 0;
}

.reservation-card.compact { max-width: 440px; }

.auth-logo {
    width: 76px;
    margin: 0 auto var(--space-4);
}

.subtitle {
    text-align: center;
    color: var(--text-500);
    font-size: 13px;
    font-weight: 300;
    margin-bottom: var(--space-8);
}

/* ── Booking step indicator ─────────────────────────────────── */
.booking-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: var(--space-8);
}
.booking-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    position: relative;
}
.booking-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 14px;
    left: 0;
    right: 50%;
    height: 1px;
    background: var(--border-soft);
    z-index: 0;
}
.booking-step.done:not(:last-child)::after { background: var(--rose-300); }

.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--warm-100);
    border: 1.5px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-500);
    position: relative;
    z-index: 1;
    transition: all var(--dur-base) var(--ease);
}
.booking-step.active .step-dot {
    background: linear-gradient(135deg, var(--rose-500), var(--rose-400));
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(201,69,103,.3);
}
.booking-step.done .step-dot {
    background: var(--rose-100);
    border-color: var(--rose-300);
    color: var(--rose-500);
}
.step-label { font-size: 10px; color: var(--text-500); font-weight: 400; }
.booking-step.active .step-label { color: var(--rose-500); font-weight: 500; }

/* ── Form groups ────────────────────────────────────────────── */
.form-group { margin-bottom: var(--space-5); }

.form-group label,
.field label {
    display: block;
    margin-bottom: var(--space-2);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-700);
}

.form-group input,
.form-group select,
.field input,
.field select {
    width: 100%;
    height: 52px;
    padding: 0 var(--space-4);
    border: 1.5px solid var(--border-soft);
    border-radius: var(--radius-md);
    background: var(--warm-50);
    color: var(--text-900);
    font-size: 14px;
    outline: none;
    transition:
        border-color var(--dur-fast) var(--ease),
        box-shadow   var(--dur-fast) var(--ease),
        background   var(--dur-fast) var(--ease);
    appearance: none;
    -webkit-appearance: none;
}

.form-group select,
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a6570' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
    padding-left: 36px;
}

.form-group input:focus,
.form-group select:focus,
.field input:focus,
.field select:focus {
    border-color: var(--rose-300);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(224,105,138,.08);
}

.form-group input::placeholder,
.field input::placeholder { color: var(--text-300); }

.form-group select:disabled,
.form-group input:disabled,
.field input:disabled,
.field select:disabled {
    opacity: .55;
    cursor: not-allowed;
}

/* ── Service summary badge ──────────────────────────────────── */
.service-summary-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--rose-50) 0%, var(--warm-50) 100%);
    border: 1.5px solid var(--rose-200);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-bottom: 20px;
    animation: fadeInUp .3s ease;
}
.service-summary-icon { font-size: 26px; flex-shrink: 0; }
.service-summary-details { display: flex; flex-direction: column; gap: 2px; }
.service-summary-name { font-weight: 600; font-size: 14.5px; color: var(--text-900); }
.service-summary-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-500);
    flex-wrap: wrap;
}
.service-summary-divider { opacity: .5; }

.form-hint {
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-500);
}
.form-hint.danger { color: var(--danger-700); }

/* ── Time picker grid ───────────────────────────────────────── */
.time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
    margin-top: var(--space-2);
}
.time-slot {
    padding: 10px 6px;
    border: 1.5px solid var(--border-soft);
    border-radius: var(--radius-md);
    background: var(--warm-50);
    text-align: center;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-700);
    cursor: pointer;
    transition: all var(--dur-fast) var(--ease);
    direction: ltr;
}
.time-slot:hover:not(.unavailable):not(.selected) {
    border-color: var(--rose-300);
    background: var(--rose-50);
    color: var(--rose-500);
}
.time-slot.selected {
    background: linear-gradient(135deg, var(--rose-500), var(--rose-400));
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(201,69,103,.25);
}
.time-slot.unavailable {
    opacity: .55;
    cursor: not-allowed;
    text-decoration: line-through;
    color: var(--text-500);
    background: var(--warm-100);
}
.time-slot.past { opacity: .35; cursor: not-allowed; }
.time-slot small { display: block; font-size: 9.5px; font-weight: 400; margin-top: 2px; }

/* ── Big submit (reservation) ───────────────────────────────── */
.reserve-btn {
    width: 100%;
    height: 56px;
    margin-top: var(--space-3);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    background: linear-gradient(135deg, var(--rose-500) 0%, var(--rose-400) 100%);
    color: var(--white);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    box-shadow: var(--shadow-rose);
    transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), filter var(--dur-base) var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.reserve-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(201,69,103,.28);
    filter: brightness(1.05);
}
.reserve-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.reserve-btn .spinner { width: 16px; height: 16px; }

/* ── Feedback boxes ─────────────────────────────────────────── */
.success-box {
    margin-top: var(--space-5);
    padding: var(--space-5);
    border-radius: var(--radius-md);
    background: var(--success-50);
    border: 1px solid var(--success-200);
    color: var(--success-700);
    font-size: 14px;
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.success-box::before { content: "✓"; font-size: 18px; flex-shrink: 0; margin-top: 1px; }

.error-box {
    margin-top: var(--space-5);
    padding: var(--space-5);
    border-radius: var(--radius-md);
    background: var(--danger-50);
    border: 1px solid var(--danger-200);
    color: var(--danger-700);
    font-size: 14px;
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.error-box::before { content: "✕"; font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* ── Booking confirmation ───────────────────────────────────── */
.booking-confirmation { text-align: center; padding: var(--space-5) 0; }

.booking-confirmation-icon {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, var(--rose-500), var(--rose-400));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto var(--space-6);
    box-shadow: var(--shadow-rose);
    animation: popIn .4s var(--ease-out);
}
@keyframes popIn {
    0%   { transform: scale(.5); opacity: 0; }
    70%  { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}
.booking-confirmation h2 {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-900);
    margin-bottom: var(--space-3);
}
.booking-confirmation > p {
    color: var(--text-500);
    font-size: 14px;
    line-height: 2;
    margin-bottom: var(--space-6);
}

/* Summary card in confirmation */
.confirm-summary {
    text-align: right;
    background: var(--warm-50);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    margin-bottom: var(--space-6);
    display: grid;
    gap: var(--space-2);
}
.confirm-summary-row {
    display: flex;
    justify-content: space-between;
    gap: var(--space-4);
    font-size: 13.5px;
}
.confirm-summary-row dt { color: var(--text-500); font-weight: 400; }
.confirm-summary-row dd { color: var(--text-900); font-weight: 500; text-align: left; }

.confirm-actions {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
}


/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-page {
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: var(--space-8) var(--space-5) var(--space-20);
}

/* ── Header ─────────────────────────────────────────────────── */
.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--border-light);
}
.admin-header h1 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-900);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}
.admin-header h1::before {
    content: "✦";
    font-size: 12px;
    color: var(--rose-400);
}
.admin-header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.admin-header-actions form { margin: 0; }

/* ── Tabs ───────────────────────────────────────────────────── */
.admin-tabs {
    display: flex;
    gap: var(--space-1);
    overflow-x: auto;
    margin-bottom: var(--space-6);
    padding: var(--space-1);
    background: var(--warm-100);
    border-radius: var(--radius-md);
    scrollbar-width: none;
}
.admin-tabs::-webkit-scrollbar { display: none; }

.admin-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-500);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--dur-fast) var(--ease);
}
.admin-tab:hover { color: var(--text-700); }
.admin-tab.active {
    background: var(--white);
    color: var(--text-900);
    font-weight: 600;
    box-shadow: var(--shadow-xs);
}
.admin-tab .tab-badge {
    font-size: 10.5px;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: var(--radius-full);
    background: var(--rose-100);
    color: var(--rose-500);
}

/* ── Stats ──────────────────────────────────────────────────── */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}
.admin-stat-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-6);
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}
.admin-stat-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.admin-stat-value { font-size: 28px; font-weight: 600; color: var(--text-900); line-height: 1.3; }
.admin-stat-card.rose .admin-stat-value { color: var(--rose-500); }
.admin-stat-card.gold .admin-stat-value { color: var(--gold-400); }

/* ── Sections ───────────────────────────────────────────────── */
.admin-section {
    margin-top: var(--space-5);
    padding: var(--space-8);
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
}
.admin-section > h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-900);
    margin-bottom: var(--space-2);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}
.admin-section > h2 .section-badge {
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    background: var(--rose-100);
    color: var(--rose-500);
    border-radius: var(--radius-full);
}
.admin-section > .section-hint {
    color: var(--text-500);
    font-size: 13px;
    margin-bottom: var(--space-5);
}

/* ── Admin form row ─────────────────────────────────────────── */
.admin-form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
    align-items: flex-end;
    padding: var(--space-5);
    background: var(--warm-50);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}
.admin-form.plain { background: transparent; border: none; padding: 0; }

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 170px;
}
.form-field label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-700);
}

.admin-form input,
.admin-form select {
    height: 44px;
    min-width: 0;
    padding: 0 var(--space-4);
    border: 1.5px solid var(--border-soft);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-900);
    font-size: 13.5px;
    outline: none;
    transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
    appearance: none;
    width: 100%;
}
.admin-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a6570' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding-left: 32px;
}
.admin-form input:focus,
.admin-form select:focus {
    border-color: var(--rose-300);
    box-shadow: 0 0 0 3px rgba(224,105,138,.08);
}

.form-actions {
    display: flex;
    gap: var(--space-2);
    align-items: center;
}

/* ── Buttons (admin) ────────────────────────────────────────── */
.admin-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    padding: 0 var(--space-5);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    background: linear-gradient(135deg, var(--rose-500), var(--rose-400));
    color: var(--white);
    box-shadow: 0 4px 12px rgba(201,69,103,.2);
    transition: all var(--dur-base) var(--ease);
    white-space: nowrap;
}
.admin-button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(201,69,103,.28);
}
.admin-button:disabled { opacity: .55; cursor: not-allowed; }
.admin-button.secondary {
    background: var(--warm-100);
    color: var(--text-700);
    box-shadow: none;
}
.admin-button.secondary:hover:not(:disabled) { background: var(--warm-50); box-shadow: var(--shadow-xs); }

/* ── Status segmented control (service form) ────────────────── */
.status-toggle { display: flex; gap: var(--space-2); }
.status-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1.5px solid var(--border-soft);
    border-radius: var(--radius-sm);
    background: var(--white);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    color: var(--text-700);
    transition: all var(--dur-fast) var(--ease);
}
.status-option.selected {
    border-color: var(--rose-300);
    background: var(--rose-50);
    color: var(--rose-500);
    font-weight: 500;
}
.status-check {
    width: 18px;
    height: 18px;
    border: 1px solid var(--border-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}
.status-option.selected .status-check {
    background: var(--rose-400);
    color: var(--white);
    border-color: var(--rose-400);
}

/* ── Time checkboxes (chip style, keyboard accessible) ──────── */
.time-checkboxes { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.time-checkboxes label {
    padding: 8px 12px;
    border: 1.5px solid var(--border-soft);
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    color: var(--text-700);
    cursor: pointer;
    transition: all var(--dur-fast) var(--ease);
    direction: ltr;
    background: var(--white);
}
.time-checkboxes label:has(input:checked) {
    background: var(--rose-100);
    border-color: var(--rose-300);
    color: var(--rose-500);
    font-weight: 500;
}
.time-checkboxes input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.time-checkboxes label:has(input:focus-visible) {
    outline: 2px solid var(--rose-400);
    outline-offset: 2px;
}

/* ── Service status toggle in table ─────────────────────────── */
.service-status-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    padding: 6px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: background var(--dur-fast) var(--ease);
}
.service-status-toggle:hover { background: var(--warm-50); }

.status-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.status-text { min-width: 48px; font-size: 12.5px; font-weight: 600; }

.status-switch {
    direction: ltr;
    position: relative;
    width: 36px;
    height: 20px;
    border-radius: 20px;
    background: #d6d6d6;
    transition: background var(--dur-base) var(--ease);
    flex-shrink: 0;
}
.status-switch-knob {
    position: absolute;
    left: 3px;
    top: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,.18);
    transition: transform var(--dur-base) var(--ease);
}

.service-status-toggle.active .status-dot { background: #4caf7d; }
.service-status-toggle.active .status-text { color: #3d8b63; }
.service-status-toggle.active .status-switch { background: #4caf7d; }
.service-status-toggle.active .status-switch-knob { transform: translateX(16px); }

.service-status-toggle.inactive .status-dot { background: #aaa; }
.service-status-toggle.inactive .status-text { color: var(--text-500); }
.service-status-toggle.inactive .status-switch { background: #d6d6d6; }

/* ── Tables ─────────────────────────────────────────────────── */
.admin-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}
.admin-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
    font-size: 13px;
    background: var(--white);
}
.admin-table-wrap thead tr { background: var(--warm-50); }
.admin-table-wrap th {
    padding: var(--space-3) var(--space-4);
    text-align: right;
    font-weight: 600;
    font-size: 11px;
    color: var(--text-500);
    text-transform: uppercase;
    letter-spacing: .8px;
    border-bottom: 1px solid var(--border-light);
    white-space: nowrap;
}
.admin-table-wrap td {
    padding: var(--space-3) var(--space-4);
    text-align: right;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-700);
    white-space: nowrap;
    vertical-align: middle;
}
.admin-table-wrap tbody tr:last-child td { border-bottom: none; }
.admin-table-wrap tbody tr { transition: background var(--dur-fast) var(--ease); }
.admin-table-wrap tbody tr:hover { background: var(--warm-50); }
.admin-table-wrap td.cell-strong { font-weight: 500; color: var(--text-900); }

/* ── Status badges ──────────────────────────────────────────── */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}
.status-badge.pending   { background: var(--warning-50); color: var(--warning-700); }
.status-badge.confirmed { background: var(--success-50); color: var(--success-700); }
.status-badge.cancelled { background: var(--danger-50);  color: var(--danger-700); }
.status-badge.neutral   { background: var(--warm-100);   color: var(--text-700); }

/* ── Table action buttons ───────────────────────────────────── */
.table-button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 500;
    padding: 6px 11px;
    background: var(--warm-100);
    color: var(--text-700);
    transition: all var(--dur-fast) var(--ease);
    white-space: nowrap;
}
.table-button:hover { background: var(--rose-100); color: var(--rose-500); }
.table-button.danger { background: #fff0f1; color: #9b3030; }
.table-button.danger:hover { background: #f8d7d7; color: #7a1f1f; }
.table-button.success { background: var(--success-50); color: var(--success-700); }
.table-button.success:hover { background: #d4edda; }

.table-actions { display: inline-flex; gap: 6px; flex-wrap: wrap; }

/* ── Loading state ──────────────────────────────────────────── */
.admin-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-12);
    color: var(--text-500);
    gap: var(--space-3);
    font-size: 13px;
}
.admin-spinner {
    width: 20px; height: 20px;
    border: 2px solid var(--border-soft);
    border-top-color: var(--rose-400);
    border-radius: 50%;
    animation: spin .8s linear infinite;
    flex-shrink: 0;
}

/* ── Empty states ───────────────────────────────────────────── */
.admin-empty, .empty-state {
    text-align: center;
    padding: var(--space-12) var(--space-5);
    color: var(--text-500);
}
.empty-state-icon, .admin-empty-icon {
    font-size: 38px;
    margin-bottom: var(--space-3);
    display: block;
    filter: grayscale(.3);
    opacity: .8;
}
.empty-state-title, .admin-empty p { font-size: 14px; font-weight: 500; color: var(--text-700); }
.empty-state-hint { font-size: 12.5px; color: var(--text-500); margin-top: 4px; }
.empty-state .btn { margin-top: var(--space-4); }

/* ── Admin message feedback ─────────────────────────────────── */
.admin-message {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-md);
    font-size: 13px;
    margin-bottom: var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}
.admin-message.success {
    background: var(--success-50);
    border: 1px solid var(--success-200);
    color: var(--success-700);
}
.admin-message.error {
    background: var(--danger-50);
    border: 1px solid var(--danger-200);
    color: var(--danger-700);
}
.admin-message.info {
    background: var(--rose-50);
    border: 1px solid var(--rose-200);
    color: var(--rose-600);
}


/* ============================================================
   MODAL / CONFIRM DIALOG
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(45,31,36,.45);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-5);
    animation: fadeIn .2s var(--ease-out);
}

.modal {
    width: 100%;
    max-width: 420px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-8);
    text-align: center;
    animation: popIn .25s var(--ease-out);
}

.modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto var(--space-4);
}
.modal-icon.danger { background: var(--danger-50); color: var(--danger-700); }
.modal-icon.info   { background: var(--rose-50);   color: var(--rose-500); }

.modal h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-900);
    margin-bottom: var(--space-2);
}
.modal p {
    font-size: 13.5px;
    color: var(--text-500);
    line-height: 1.8;
    margin-bottom: var(--space-6);
}

.modal-actions {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
}


/* ============================================================
   AUTH PAGES EXTRAS
   ============================================================ */
.login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: var(--space-1) 0 var(--space-5);
    font-size: 13px;
    color: var(--text-700);
    cursor: pointer;
}

.password-wrap { position: relative; }
.password-wrap input { padding-left: 48px; }

.password-toggle {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    color: var(--text-500);
    cursor: pointer;
    transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.password-toggle:hover { color: var(--rose-500); background: var(--rose-50); }

.login-help { margin-bottom: 0; }
.login-help a {
    color: var(--rose-500);
    text-decoration: underline;
    transition: color var(--dur-fast) var(--ease);
}
.login-help a:hover { color: var(--rose-400); }

.auth-divider {
    text-align: center;
    margin: var(--space-4) 0 0;
    font-size: 13px;
    color: var(--text-500);
}


/* ============================================================
   NOT FOUND / ERROR PAGE
   ============================================================ */
.error-page {
    min-height: calc(100dvh - var(--header-h));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-10) var(--space-5);
}

.error-page-code {
    font-size: clamp(72px, 16vw, 120px);
    font-weight: 300;
    line-height: 1;
    background: linear-gradient(135deg, var(--rose-400), var(--gold-300));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: var(--space-4);
}

.error-page h1 { font-size: 22px; font-weight: 600; margin-bottom: var(--space-2); }
.error-page p { color: var(--text-500); font-size: 14px; margin-bottom: var(--space-6); }


/* ============================================================
   RESPONSIVE — TABLET (max 900px)
   ============================================================ */
@media (max-width: 900px) {
    .service-cards { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-stats   { grid-template-columns: repeat(2, 1fr); }
    .admin-section { padding: var(--space-6); }
    .admin-form    { flex-direction: column; align-items: stretch; }
    .form-actions  { flex-direction: column-reverse; }
    .form-actions .admin-button { width: 100%; }
    .admin-tab { padding: 10px 12px; }
}


/* ============================================================
   RESPONSIVE — MOBILE (max 600px)
   ============================================================ */
@media (max-width: 600px) {
    /* Hero */
    .hero { padding: var(--space-8) var(--space-4); }
    .hero-logo { width: 170px; }
    .hero-eyebrow { font-size: 9px; letter-spacing: 2px; }
    .hero-title { font-size: 32px; }
    .hero-sub { font-size: 13px; margin-bottom: var(--space-8); }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn-primary,
    .hero-actions .btn-outline { width: 100%; }
    .hero-trust { gap: var(--space-4); }
    .hero-ring-1, .hero-ring-2, .hero-ring-3 { display: none; }
    .hero-scroll { display: none; }

    /* Services */
    .services { padding: var(--space-20) var(--space-4); }
    .service-cards { grid-template-columns: 1fr; gap: var(--space-4); }
    .section-title { margin-bottom: var(--space-8); }
    .section-title h2 { font-size: 24px; }

    /* Features */
    .features { padding: var(--space-16) var(--space-4); }
    .features-grid { grid-template-columns: 1fr; gap: var(--space-3); }

    /* About / CTA / Contact */
    .about { padding: var(--space-20) var(--space-4); }
    .about-quote-mark { font-size: 80px; }
    .cta-banner { padding: var(--space-20) var(--space-4); }
    .cta-banner h2 { font-size: 24px; }
    .contact { padding: var(--space-20) var(--space-4); }
    .contact-cards { flex-direction: column; align-items: stretch; }
    .contact-card { max-width: none; }

    /* Reservation */
    .reservation-page { padding: var(--space-6) var(--space-4); }
    .reservation-card { padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg); }
    .reservation-card h1 { font-size: 22px; }
    .time-grid { grid-template-columns: repeat(3, 1fr); }
    .confirm-actions .btn { width: 100%; }

    /* Admin */
    .admin-page { padding: var(--space-5) var(--space-4) var(--space-16); }
    .admin-header { flex-direction: column; align-items: stretch; }
    .admin-header-actions { justify-content: stretch; }
    .admin-header-actions > * { flex: 1; }
    .admin-header h1 { font-size: 18px; }
    .admin-section { padding: var(--space-4); border-radius: var(--radius-md); }

    /* Tables → stacked cards */
    .admin-table-wrap { border: none; overflow: visible; }
    .admin-table-wrap table { min-width: 0; }
    .admin-table-wrap thead { display: none; }
    .admin-table-wrap tr {
        display: block;
        background: var(--white);
        border: 1px solid var(--border-light);
        border-radius: var(--radius-md);
        margin-bottom: var(--space-3);
        padding: var(--space-2) var(--space-3);
        box-shadow: var(--shadow-xs);
    }
    .admin-table-wrap td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-4);
        white-space: normal;
        border-bottom: 1px dashed var(--border-light);
        padding: var(--space-2) 0;
    }
    .admin-table-wrap td:last-child { border-bottom: none; }
    .admin-table-wrap td::before {
        content: attr(data-label);
        font-size: 11px;
        font-weight: 600;
        color: var(--text-500);
        text-transform: uppercase;
        letter-spacing: .5px;
        flex-shrink: 0;
    }
    .admin-table-wrap td.no-label::before { display: none; }
}


/* ============================================================
   RESPONSIVE — VERY SMALL (max 380px)
   ============================================================ */
@media (max-width: 380px) {
    .hero-logo { width: 150px; }
    .hero-title { font-size: 28px; }
    .hero-sub { font-size: 12px; }
    .time-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-stats { grid-template-columns: 1fr; }
}


/* ============================================================
   FADE-IN ENTRANCE ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.animate-fade-in    { animation: fadeIn   var(--dur-slow) var(--ease-out) both; }
.animate-fade-in-up { animation: fadeInUp var(--dur-slow) var(--ease-out) both; }
.delay-1 { animation-delay: 80ms;  }
.delay-2 { animation-delay: 160ms; }
.delay-3 { animation-delay: 240ms; }
.delay-4 { animation-delay: 320ms; }
.delay-5 { animation-delay: 400ms; }


/* ============================================================
   PRINT
   ============================================================ */
@media print {
    .site-header, .site-footer, .hero-scroll, .hero-ring,
    .hero-actions .btn-outline, .admin-header-actions,
    .admin-tabs, .footer { display: none; }
    body { background: white; color: black; }
    .reservation-card, .admin-section { box-shadow: none; border-color: #ccc; }
}

/* ============================================================
   BOOKING SaaS LAYER — v2 (Fresha / Booksy inspired)
   ============================================================ */

/* ── Page shell (booking + admin) ───────────────────────────── */
.page-shell {
    width: min(1200px, 100%);
    margin-inline: auto;
    padding: var(--space-6) var(--space-5) var(--space-16);
}

.page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-6);
}

.page-head-title { font-size: clamp(22px, 3vw, 28px); font-weight: 600; letter-spacing: -.3px; }
.page-head-sub { color: var(--text-500); font-size: 13.5px; margin-top: 2px; }
.page-head-actions {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    justify-content: center;
}

/* ── Booking layout: steps rail + form column + sticky summary ── */
.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: var(--space-6);
    align-items: start;
}

.booking-main { min-width: 0; }

/* ── Service picker (radio cards) ───────────────────────────── */
.service-picker {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: var(--space-3);
}

.service-option {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: var(--space-4) var(--space-4) var(--space-4);
    background: var(--white);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.service-option:hover { border-color: var(--rose-200); box-shadow: var(--shadow-sm); transform: translateY(-1px); }

.service-option.selected {
    border-color: var(--rose-400);
    background: linear-gradient(135deg, var(--rose-50), var(--white));
    box-shadow: 0 0 0 3px rgba(224,105,138,.10);
}

.service-option-head { display: flex; align-items: center; gap: 10px; }

.service-option-check {
    width: 20px; height: 20px;
    border: 1.5px solid var(--border-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: transparent;
    flex-shrink: 0;
    transition: all var(--dur-fast) var(--ease);
}

.service-option.selected .service-option-check {
    background: var(--rose-400);
    border-color: var(--rose-400);
    color: var(--white);
}

.service-option-name { font-size: 14px; font-weight: 600; color: var(--text-900); }

.service-option-meta {
    display: flex;
    gap: var(--space-4);
    color: var(--text-500);
    font-size: 12px;
}

.service-option-price { font-size: 14px; font-weight: 600; color: var(--rose-500); }

/* ── Week strip (horizontal date picker) ────────────────────── */
.date-strip-wrap { position: relative; }

.date-strip {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    overflow-x: auto;
    padding: 2px 2px var(--space-2);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.date-strip::-webkit-scrollbar { display: none; }

.date-chip {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 64px;
    padding: 10px 8px;
    background: var(--white);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: inherit;
    transition: all var(--dur-fast) var(--ease);
}

.date-chip:hover { border-color: var(--rose-200); }

.date-chip.selected {
    background: var(--text-900);
    border-color: var(--text-900);
}

.date-chip.selected .date-chip-day,
.date-chip.selected .date-chip-num { color: var(--white); }

.date-chip-day { font-size: 11px; color: var(--text-500); font-weight: 500; }
.date-chip-num { font-size: 17px; font-weight: 600; color: var(--text-900); }

.date-strip-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-soft);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    color: var(--text-700);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all var(--dur-fast) var(--ease);
}
.date-strip-nav:hover { color: var(--rose-500); border-color: var(--rose-200); }
.date-strip-nav.prev { right: -6px; }
.date-strip-nav.next { left: -6px; }
.date-strip-nav:disabled { opacity: .35; cursor: not-allowed; }

/* ── Slots: grouped grid ────────────────────────────────────── */
.slot-groups {
    display: grid;
    gap: var(--space-4);
}

.slot-group-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-500);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--space-2);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.slot-group-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-light);
}

.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: var(--space-2);
}

.slot-chip {
    padding: 10px 4px;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--white);
    text-align: center;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-900);
    cursor: pointer;
    direction: ltr;
    transition: all var(--dur-fast) var(--ease);
}

.slot-chip:hover:not(:disabled):not(.selected) { border-color: var(--rose-300); color: var(--rose-500); background: var(--rose-50); }

.slot-chip.selected {
    background: var(--text-900);
    border-color: var(--text-900);
    color: white;
}

.slot-chip.unavailable {
    background: var(--warm-50);
    border-style: dashed;
    color: var(--text-300);
    text-decoration: line-through;
    cursor: not-allowed;
    font-weight: 400;
}

.slot-chip small {
    display: block;
    font-size: 9px;
    font-weight: 500;
    text-decoration: none;
    color: inherit;
    opacity: .75;
    margin-top: 2px;
}

/* ── Booking summary (sticky sidebar card) ──────────────────── */
.booking-summary {
    position: sticky;
    top: calc(var(--header-h) + var(--space-4));
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--space-5);
    display: grid;
    gap: var(--space-3);
}

.booking-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    padding-bottom: var(--space-3);
    border-bottom: 1px dashed var(--border-soft);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-900);
}

.summary-count {
    font-size: 11px;
    font-weight: 600;
    color: var(--rose-500);
    background: var(--rose-50);
    padding: 2px 9px;
    border-radius: var(--radius-full);
}

.summary-empty {
    color: var(--text-500);
    font-size: 13px;
    line-height: 1.9;
    text-align: center;
    padding: var(--space-4) 0;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--warm-50);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
}

.summary-item-icon { font-size: 16px; }

.summary-item-body { display: grid; gap: 1px; min-width: 0; }
.summary-item-title { font-size: 12.5px; font-weight: 600; color: var(--text-900); }
.summary-item-sub { font-size: 11px; color: var(--text-500); }

.summary-item-remove {
    margin-inline-start: auto;
    border: none;
    background: transparent;
    color: var(--text-300);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    border-radius: var(--radius-sm);
    transition: all var(--dur-fast) var(--ease);
}

.summary-item-remove:hover {
    color: var(--danger-700);
    background: var(--danger-50);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: var(--space-3);
    border-top: 1px dashed var(--border-soft);
    font-size: 13px;
    color: var(--text-700);
}

.summary-total strong {
    font-size: 18px;
    color: var(--text-900);
}
/* ── Booking steps rail ─────────────────────────────────────── */
.booking-rail {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    overflow-x: auto;
    scrollbar-width: none;
}

.booking-rail::-webkit-scrollbar { display: none; }

.rail-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    background: var(--white);
    border: 1.5px solid var(--border-light);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-500);
    white-space: nowrap;
}

.rail-step-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--warm-100);
    color: var(--text-500);
    font-size: 10.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rail-step.done {
    border-color: var(--rose-200);
    color: var(--rose-500);
}

.rail-step.done .rail-step-num {
    background: var(--rose-100);
    color: var(--rose-500);
}

.rail-step.active {
    border-color: var(--text-900);
    color: var(--text-900);
    font-weight: 600;
}

.rail-step.active .rail-step-num {
    background: var(--text-900);
    color: var(--white);
}

/* ── Form section cards (booking details) ───────────────────── */
.details-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-xs);
}

.details-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
    /* ── Admin calendar ─────────────────────────────────────────── */
    .cal-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: var(--space-3);
        margin-bottom: var(--space-4);
    }

    .cal-title {
        font-size: 15px;
        font-weight: 600;
    }

    .cal-nav {
        width: 36px;
        height: 36px;
        border: 1px solid var(--border-soft);
        border-radius: var(--radius-sm);
        background: var(--white);
        color: var(--text-700);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all var(--dur-fast) var(--ease);
    }

        .cal-nav:hover {
            border-color: var(--rose-300);
            color: var(--rose-500);
        }

    .cal-grid {
        display: grid;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        grid-auto-rows: 52px;
        gap: 4px;
        max-width: 640px;
        direction: rtl;
    }

    .cal-dow {
        text-align: center;
        font-size: 10px;
        font-weight: 600;
        color: var(--text-500);
        padding: 6px 0;
        letter-spacing: .5px;
    }

    .cal-cell {
        position: relative;
        height: 100%;
        min-height: 0;
        padding: 4px;
        border: 1px solid var(--border-light);
        border-radius: var(--radius-sm);
        background: var(--warm-50);
        cursor: pointer;
        font-family: inherit;
        font-size: 13px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        transition: all var(--dur-fast) var(--ease);
    }

        .cal-cell:hover {
            border-color: var(--rose-200);
            background: var(--rose-50);
        }

        .cal-cell.outside {
            opacity: .35;
        }

        .cal-cell.today .cal-num {
            background: var(--gold-300);
            color: var(--white);
            border-radius: 50%;
            width: 22px;
            height: 22px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .cal-cell.selected {
            background: var(--text-900);
            border-color: var(--text-900);
        }

    .cal-num {
        font-size: 13px;
        font-weight: 600;
        color: var(--text-900);
    }

    .cal-cell.selected .cal-num {
        color: var(--white);
    }

    .cal-dots {
        display: flex;
        gap: 3px;
        height: 4px;
    }

    .cal-dot {
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--rose-300);
    }

        .cal-dot.pending {
            background: var(--gold-300);
        }

    .cal-cell.selected .cal-dot {
        background: rgba(255,255,255,.55);
    }

        .cal-cell.selected .cal-dot.pending {
            background: var(--gold-300);
        }

    .cal-cell.selected.today .cal-num {
        background: var(--rose-400);
    }

    @media (max-width: 600px) {
        .cal-grid {
            grid-auto-rows: 44px;
            gap: 3px;
        }

        .cal-num {
            font-size: 12px;
        }
    }
    /* ── Admin day timeline ─────────────────────────────────────── */
    .day-timeline {
        display: grid;
        gap: var(--space-2);
    }

    .day-row {
        display: grid;
        grid-template-columns: 56px 1fr;
        gap: var(--space-3);
        align-items: stretch;
    }

    .day-hour {
        font-size: 12px;
        font-weight: 600;
        color: var(--text-500);
        direction: ltr;
        text-align: center;
        background: var(--warm-50);
        border: 1px solid var(--border-light);
        border-radius: var(--radius-sm);
        padding: 10px 0;
        height: fit-content;
    }

    .day-cell {
        min-height: 46px;
        border: 1px dashed var(--border-light);
        border-radius: var(--radius-sm);
        padding: var(--space-2);
        display: flex;
        align-items: center;
        gap: var(--space-3);
        transition: background var(--dur-fast) var(--ease);
    }

        .day-cell:hover {
            background: var(--warm-50);
        }

    .day-appt {
        flex: 1;
        display: flex;
        align-items: center;
        gap: var(--space-3);
        background: var(--white);
        border: 1px solid var(--border-light);
        border-radius: var(--radius-sm);
        padding: 8px 12px;
        box-shadow: var(--shadow-xs);
        flex-wrap: wrap;
    }

        .day-appt .avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--rose-100), var(--gold-100));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            font-weight: 600;
            color: var(--rose-500);
            flex-shrink: 0;
        }

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

    .day-appt-name {
        font-size: 13px;
        font-weight: 600;
        color: var(--text-900);
    }

    .day-appt-sub {
        font-size: 11.5px;
        color: var(--text-500);
    }

    .day-appt-actions {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
    }
    /* ── Segmented control ──────────────────────────────────────── */
    .seg {
        display: inline-flex;
        padding: 3px;
        gap: 2px;
        background: var(--warm-100);
        border-radius: var(--radius-sm);
    }

    .seg-btn {
        border: none;
        background: transparent;
        padding: 7px 14px;
        border-radius: 8px;
        font-family: inherit;
        font-size: 12.5px;
        font-weight: 500;
        color: var(--text-500);
        cursor: pointer;
        transition: all var(--dur-fast) var(--ease);
    }

        .seg-btn.active {
            background: var(--white);
            color: var(--text-900);
            font-weight: 600;
            box-shadow: var(--shadow-xs);
        }
    /* ── Full-day block editor ──────────────────────────────────── */
    .blockeditor-form {
        display: flex;
        gap: var(--space-3);
        flex-wrap: wrap;
        align-items: flex-end;
    }
    /* ── Legacy aliases ─────────────────────────────────────────── */
    .admin-tabs {
        margin-bottom: var(--space-6);
    }
    /* Responsive */
    @media (max-width: 1024px) {
        .booking-layout {
            grid-template-columns: 1fr;
        }

        .booking-summary {
            position: static;
        }

        .day-row {
            grid-template-columns: 48px 1fr;
        }
    }

    @media (max-width: 600px) {
        .page-shell {
            padding: var(--space-4) var(--space-4) var(--space-12);
        }

        .service-picker {
            grid-template-columns: 1fr;
        }

        /* Date strip: start-aligned so the first day is reachable when
           overflowing (centered flex clips the inline-start side in RTL). */
        .date-strip {
            justify-content: flex-start;
            padding: 2px 36px var(--space-2);
        }

        .service-option-meta {
            flex-wrap: wrap;
            row-gap: 2px;
        }

        .cal-cell {
            min-height: 38px;
        }

        .day-row {
            grid-template-columns: 44px 1fr;
        }

        .day-appt-actions {
            width: 100%;
        }

            .day-appt-actions .table-button {
                flex: 1;
                justify-content: center;
            }
    }