/* =========================================================
   Aurelle Salon — Mobile Web App Design System
   Bootstrap 5.3.3 | Mobile-first (360–430px), app-style UI
   ---------------------------------------------------------
   01 Tokens        06 Inputs & OTP      11 Lists & Cards
   02 App shell     07 Chips & Segments  12 Bottom sheet
   03 Typography    08 Splash            13 Toast & Loader
   04 App bar       09 Onboarding        14 Motion
   05 Buttons       10 Auth screens      15 Bottom nav (P2+)
   ========================================================= */

/* 01. TOKENS ------------------------------------------------ */
:root {
  --ink: #2A1F24;
  --ink-2: #4A3A41;
  --plum: #4A2C3A;
  --gold: #C9A47E;
  --gold-dark: #A9825A;
  --gold-soft: #F4EADF;
  --blush: #F1DFD7;
  --rose: #DDB0A6;
  --sage: #B9C2AE;
  --cream: #FAF5F1;
  --surface: #FFFFFF;
  --muted: #8A7B81;
  --line: #EEE5E0;
  --success: #3E8E6A;
  --danger: #C2554B;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 12px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --sh-sm: 0 2px 10px rgba(42, 31, 36, .06);
  --sh: 0 12px 30px -12px rgba(42, 31, 36, .22);
  --sh-lg: 0 24px 60px -20px rgba(42, 31, 36, .35);

  --ease: cubic-bezier(.22, .8, .25, 1);
  --app-w: 430px;
  --gutter: 20px;
  --appbar-h: 60px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--ink-2);
  --bs-body-bg: var(--cream);
  --bs-border-color: var(--line);
}

/* 02. APP SHELL --------------------------------------------- */
* { -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body { font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; background: #E9DFD9; overscroll-behavior-y: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* .app = device frame | .app-scroll = scrolling screen | sheets & toasts sit in .app outside the scroller */
.app { position: relative; width: 100%; max-width: var(--app-w); margin: 0 auto; background: var(--cream); isolation: isolate; }
.app-scroll { min-height: 100dvh; display: flex; flex-direction: column; overflow-x: clip; }
.app-content { flex: 1; padding: 0 var(--gutter) calc(24px + var(--safe-bottom)); display: flex; flex-direction: column; }
.app-footer { position: sticky; bottom: 0; z-index: 20; padding: 14px var(--gutter) calc(14px + var(--safe-bottom)); background: linear-gradient(180deg, rgba(250, 245, 241, 0), var(--cream) 30%); }
@media (min-width: 600px) {
  body { display: flex; align-items: center; justify-content: center; padding: 24px 0;
    background: radial-gradient(circle at 20% 10%, #F3E6DF, transparent 45%), radial-gradient(circle at 85% 90%, #E5D3C4, transparent 45%), #EAE0DA; }
  .app { height: min(880px, calc(100dvh - 48px)); border-radius: 44px; overflow: hidden; transform: translateZ(0); box-shadow: 0 40px 100px -30px rgba(42, 31, 36, .45), 0 0 0 10px #1d1619, 0 0 0 11px #3a2e33; }
  .app-scroll { height: 100%; min-height: 0; overflow-y: auto; scrollbar-width: none; }
  .app-scroll::-webkit-scrollbar { display: none; }
}

/* 03. TYPOGRAPHY -------------------------------------------- */
h1, h2, h3, .t-display { font-family: var(--font-display); color: var(--ink); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }
h4, h5, h6 { color: var(--ink); font-weight: 700; }
.t-hero { font-size: 2.35rem; font-weight: 500; }
.t-title { font-size: 1.9rem; font-weight: 600; }
.t-sub { color: var(--muted); font-size: .95rem; }
.t-italic { font-style: italic; color: var(--gold-dark); font-weight: 500; }
.t-label { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.t-small { font-size: .82rem; }
.text-gold { color: var(--gold-dark) !important; }
.text-ink { color: var(--ink) !important; }
.text-muted-app { color: var(--muted) !important; }
.fw-800 { font-weight: 800; }

/* 04. APP BAR ----------------------------------------------- */
.app-bar { position: sticky; top: 0; z-index: 30; height: calc(var(--appbar-h) + var(--safe-top)); padding: var(--safe-top) 12px 0; display: flex; align-items: center; gap: 8px; background: rgba(250, 245, 241, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: box-shadow .3s; }
.app-bar.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.app-bar.is-clear { background: transparent; backdrop-filter: none; }
.app-bar__title { font-family: var(--font-body); letter-spacing: 0; flex: 1; font-weight: 700; font-size: 1.02rem; color: var(--ink); text-align: center; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-bar__spacer { width: 44px; flex-shrink: 0; }
.icon-btn { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; font-size: 1.15rem; position: relative; transition: transform .15s, background .2s; }
.icon-btn:active { transform: scale(.92); }
.icon-btn.is-ghost { border: 0; background: transparent; }
.icon-btn .dot { position: absolute; top: 10px; right: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); border: 2px solid var(--surface); }
.link-skip { font-weight: 700; font-size: .9rem; color: var(--ink); padding: 10px 12px; }

/* Progress steps in app bar (e.g. signup 2/3) */
.step-progress { display: flex; gap: 6px; flex: 1; justify-content: center; }
.step-progress span { width: 28px; height: 4px; border-radius: 4px; background: var(--line); }
.step-progress span.is-done { background: var(--gold); }

/* 05. BUTTONS ----------------------------------------------- */
.btn-app { --h: 56px; height: var(--h); width: 100%; border: 0; border-radius: var(--r-pill); font-weight: 700; font-size: 1rem; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: transform .15s var(--ease), background .25s, opacity .25s, box-shadow .25s; position: relative; overflow: hidden; }
.btn-app:active { transform: scale(.98); }
.btn-app:disabled, .btn-app.is-disabled { opacity: .45; pointer-events: none; }
.btn-app.is-primary { background: var(--ink); color: #fff; box-shadow: 0 12px 24px -12px rgba(42, 31, 36, .6); }
.btn-app.is-gold { background: var(--gold); color: var(--ink); }
.btn-app.is-outline { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-app.is-light { background: #fff; color: var(--ink); }
.btn-app.is-sm { --h: 44px; font-size: .9rem; width: auto; padding: 0 20px; }
.btn-app .spinner-border { width: 1.2rem; height: 1.2rem; border-width: 2px; }
.btn-app.is-loading .btn-label { visibility: hidden; }
.btn-app.is-loading::after { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn-app.is-outline.is-loading::after, .btn-app.is-gold.is-loading::after { border-color: rgba(42, 31, 36, .2); border-top-color: var(--ink); }
.btn-social { --h: 52px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: .92rem; }
.btn-social img, .btn-social svg { width: 20px; height: 20px; }
.btn-text { background: none; border: 0; color: var(--ink); font-weight: 700; padding: 6px 2px; }
.btn-text.is-gold { color: var(--gold-dark); }
.btn-text:disabled { color: var(--muted); font-weight: 600; }

/* Ripple (added via JS) */
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, .35); animation: ripple .6s ease-out; pointer-events: none; }
.is-outline .ripple, .is-light .ripple, .btn-social .ripple { background: rgba(42, 31, 36, .08); }
@keyframes ripple { to { transform: scale(3); opacity: 0; } }

/* 06. INPUTS & OTP ------------------------------------------ */
.field { margin-bottom: 16px; }
.field__label { display: block; font-size: .78rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.field__label .opt { color: var(--muted); font-weight: 500; }
.input-app { width: 100%; height: 56px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--surface); padding: 0 16px; font-size: 1rem; font-weight: 600; color: var(--ink); transition: border-color .2s, box-shadow .2s; outline: 0; -webkit-appearance: none; appearance: none; }
.input-app::placeholder { color: #BDB1B5; font-weight: 500; }
.input-app:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 164, 126, .18); }
.input-group-app { display: flex; align-items: center; height: 56px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--surface); transition: border-color .2s, box-shadow .2s; overflow: hidden; }
.input-group-app:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 164, 126, .18); }
.input-group-app .prefix { display: flex; align-items: center; gap: 6px; padding: 0 12px 0 16px; height: 100%; font-weight: 700; color: var(--ink); border-right: 1.5px solid var(--line); flex-shrink: 0; }
.input-group-app .prefix .flag { width: 22px; height: 15px; border-radius: 3px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.input-group-app .prefix .flag i { flex: 1; display: block; }
.input-group-app .icon { padding-left: 16px; color: var(--muted); font-size: 1.1rem; }
.input-group-app input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; padding: 0 16px; font-size: 1rem; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.input-group-app input::placeholder { color: #BDB1B5; font-weight: 500; }
.input-group-app .suffix { padding-right: 16px; font-size: 1.15rem; display: none; }
.input-group-app.is-valid .suffix { display: block; }
.input-group-app.is-valid { border-color: var(--success); }
.input-group-app.is-valid .suffix { color: var(--success); }
.field.is-error .input-group-app, .field.is-error .input-app { border-color: var(--danger); }
.field__error { display: none; color: var(--danger); font-size: .8rem; font-weight: 600; margin-top: 6px; }
.field.is-error .field__error { display: block; }
.field.is-error .input-group-app, .field.is-error .input-app { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

.otp { display: flex; gap: 10px; justify-content: space-between; }
.otp input { width: 100%; max-width: 68px; aspect-ratio: 1 / 1.15; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--surface); text-align: center; font-size: 1.5rem; font-weight: 800; color: var(--ink); outline: 0; caret-color: var(--gold); transition: all .2s; }
.otp input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 164, 126, .18); transform: translateY(-2px); }
.otp input.is-filled { border-color: var(--ink); background: var(--gold-soft); }
.otp.is-error input { border-color: var(--danger); animation: shake .35s; }
.otp.is-success input { border-color: var(--success); background: #E6F2EC; }

.check-app { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted); cursor: pointer; }
.check-app input { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; accent-color: var(--ink); }
.check-app a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Avatar upload */
.avatar-up { width: 112px; height: 112px; border-radius: 50%; margin: 0 auto; position: relative; background: var(--blush); display: grid; place-items: center; color: var(--plum); font-size: 2.6rem; cursor: pointer; }
.avatar-up img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; position: absolute; inset: 0; }
.avatar-up::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px dashed var(--gold); }
.avatar-up__cam { position: absolute; right: 0; bottom: 4px; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .95rem; border: 3px solid var(--cream); z-index: 2; }

/* 07. CHIPS & SEGMENTS -------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.is-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); }
.chips.is-scroll::-webkit-scrollbar { display: none; }
.chip { height: 42px; padding: 0 16px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; font-size: .88rem; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: all .2s var(--ease); }
.chip .bi { font-size: 1rem; }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip:active { transform: scale(.96); }
.segment { display: flex; background: #F1E9E4; border-radius: var(--r-pill); padding: 4px; }
.segment button { flex: 1; height: 42px; border: 0; border-radius: var(--r-pill); background: transparent; font-weight: 700; font-size: .88rem; color: var(--muted); transition: all .25s var(--ease); }
.segment button.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--sh-sm); }

/* Selectable option cards (interests) */
.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pick { border: 1.5px solid var(--line); background: var(--surface); border-radius: var(--r); padding: 14px 6px 12px; text-align: center; font-size: .8rem; font-weight: 700; color: var(--ink-2); position: relative; transition: all .2s var(--ease); }
.pick .bi { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 8px; border-radius: 12px; background: var(--blush); color: var(--plum); font-size: 1.15rem; transition: all .2s; }
.pick.is-active { border-color: var(--ink); background: var(--gold-soft); }
.pick.is-active .bi { background: var(--ink); color: var(--gold); }
.pick.is-active::after { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; top: 6px; right: 8px; font-size: .9rem; color: var(--ink); }

/* 08. SPLASH ------------------------------------------------ */
.splash { background: var(--ink); color: #fff; justify-content: center; align-items: center; text-align: center; overflow: hidden; }
.splash__glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 164, 126, .38), transparent 62%); top: 50%; left: 50%; transform: translate(-50%, -58%); animation: breathe 3.2s ease-in-out infinite; }
.splash__ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; border: 1px solid rgba(201, 164, 126, .22); transform: translate(-50%, -62%); }
.splash__ring.r1 { width: 220px; height: 220px; animation: ringIn 1.4s var(--ease) both; }
.splash__ring.r2 { width: 320px; height: 320px; animation: ringIn 1.4s .15s var(--ease) both; }
.splash__ring.r3 { width: 440px; height: 440px; animation: ringIn 1.4s .3s var(--ease) both; }
.splash__mark { position: relative; width: 104px; height: 104px; border-radius: 30px; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-family: var(--font-display); font-style: italic; font-size: 4rem; line-height: 1; margin: 0 auto 26px; box-shadow: 0 20px 50px -10px rgba(201, 164, 126, .55); animation: popIn .9s .2s var(--ease) both; }
.splash__name { position: relative; font-family: var(--font-display); font-size: 3rem; font-weight: 500; color: #fff; letter-spacing: .04em; margin: 0; animation: fadeUp .9s .5s var(--ease) both; }
.splash__tag { position: relative; font-size: .7rem; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); animation: fadeUp .9s .7s var(--ease) both; }
.splash__foot { position: absolute; left: 0; right: 0; bottom: calc(40px + var(--safe-bottom)); animation: fadeUp .9s 1s var(--ease) both; }
.splash__bar { width: 120px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); margin: 0 auto 14px; overflow: hidden; }
.splash__bar span { display: block; height: 100%; width: 0; background: var(--gold); border-radius: inherit; animation: load 2.2s .9s var(--ease) forwards; }
.splash__foot small { color: rgba(255, 255, 255, .45); font-size: .75rem; }
@keyframes load { to { width: 100%; } }
@keyframes breathe { 50% { transform: translate(-50%, -58%) scale(1.08); opacity: .8; } }
@keyframes ringIn { from { opacity: 0; transform: translate(-50%, -62%) scale(.6); } }
@keyframes popIn { from { opacity: 0; transform: scale(.4) rotate(-12deg); } }

/* 09. ONBOARDING -------------------------------------------- */
.onb { flex: 1; display: flex; flex-direction: column; }
.onb__viewport { flex: 1; overflow: hidden; touch-action: pan-y; }
.onb__track { display: flex; height: 100%; transition: transform .55s var(--ease); }
.onb__slide { flex: 0 0 100%; display: flex; flex-direction: column; padding: 0 var(--gutter); }
.onb__art { position: relative; height: 54vh; max-height: 470px; min-height: 320px; margin: 4px 0 26px; }
.onb__arch { position: absolute; inset: 0 22px 0; border-radius: 200px 200px var(--r-xl) var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); }
.onb__arch img { width: 100%; height: 100%; object-fit: cover; }
.onb__float { position: absolute; background: rgba(255, 255, 255, .95); border-radius: var(--r); padding: 10px 14px; box-shadow: var(--sh); display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--muted); animation: float 5s ease-in-out infinite; }
.onb__float strong { display: block; color: var(--ink); font-size: .86rem; }
.onb__float .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--blush); color: var(--plum); font-size: 1rem; flex-shrink: 0; }
.onb__float.f1 { left: 0; top: 18%; }
.onb__float.f2 { right: 0; bottom: 14%; animation-delay: -2.5s; }
.onb__text h1 { font-size: 2.2rem; font-weight: 500; margin-bottom: 10px; }
.onb__text p { color: var(--muted); margin: 0; }
.onb__slide .onb__art, .onb__slide .onb__text { opacity: .2; transform: translateY(16px); transition: all .7s var(--ease); }
.onb__slide.is-active .onb__art, .onb__slide.is-active .onb__text { opacity: 1; transform: none; }
.onb__slide.is-active .onb__text { transition-delay: .12s; }
.onb__controls { display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter) calc(22px + var(--safe-bottom)); }
.dots { display: flex; gap: 6px; }
.dots button { width: 8px; height: 8px; border-radius: 8px; border: 0; padding: 0; background: #DCCFC8; transition: all .35s var(--ease); }
.dots button.is-active { width: 28px; background: var(--ink); }
.onb__next { width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 1.3rem; position: relative; display: flex; align-items: center; justify-content: center; transition: width .45s var(--ease), border-radius .45s var(--ease); overflow: hidden; }
.onb__next svg { position: absolute; inset: -6px; width: 76px; height: 76px; transform: rotate(-90deg); pointer-events: none; }
.onb__next .lbl { display: none; font-size: .95rem; font-weight: 700; white-space: nowrap; }
.onb__next.is-final { width: 170px; border-radius: var(--r-pill); }
.onb__next.is-final svg { display: none; }
.onb__next.is-final .lbl { display: inline; }
.onb__next.is-final .bi { margin-left: 8px; }
.onb__ring { position: relative; }

/* 10. AUTH SCREENS ------------------------------------------ */
.auth-hero { position: relative; margin: 0 calc(var(--gutter) * -1) 26px; height: 250px; overflow: hidden; border-radius: 0 0 var(--r-xl) var(--r-xl); }
.auth-hero img { width: 100%; height: 100%; object-fit: cover; }
.auth-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42, 31, 36, 0) 40%, rgba(42, 31, 36, .55)); }
.auth-hero__brand { position: absolute; left: var(--gutter); bottom: 20px; z-index: 2; display: flex; align-items: center; gap: 10px; color: #fff; }
.brand-mark { width: 44px; height: 44px; border-radius: 13px; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-style: italic; font-size: 1.7rem; line-height: 1; }
.auth-hero__brand .brand-mark { background: var(--gold); color: var(--ink); }
.auth-hero__brand strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; display: block; line-height: 1; }
.auth-hero__brand small { font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; opacity: .8; }
.divider-text { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .8rem; font-weight: 600; margin: 22px 0; }
.divider-text::before, .divider-text::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.legal { font-size: .75rem; color: var(--muted); text-align: center; margin: 18px 0 0; }
.legal a { color: var(--ink); font-weight: 700; }

.otp-badge { width: 76px; height: 76px; border-radius: 24px; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; font-size: 2rem; margin-bottom: 22px; position: relative; }
.otp-badge::after { content: ""; position: absolute; inset: -8px; border-radius: 30px; border: 1.5px dashed rgba(201, 164, 126, .5); }
.phone-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 6px 6px 14px; font-weight: 800; color: var(--ink); font-size: .92rem; }
.phone-pill a { width: 30px; height: 30px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; color: var(--plum); font-size: .85rem; }
.resend { text-align: center; font-size: .88rem; color: var(--muted); margin-top: 22px; }
.resend .timer { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }

.info-note { display: flex; gap: 10px; background: var(--gold-soft); border-radius: var(--r); padding: 12px 14px; font-size: .8rem; color: var(--ink-2); }
.info-note .bi { color: var(--gold-dark); font-size: 1rem; }

/* 11. LISTS & CARDS ----------------------------------------- */
.card-app { background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--sh-sm); }

/* 12. BOTTOM SHEET ------------------------------------------ */
.sheet-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(42, 31, 36, .45); opacity: 0; visibility: hidden; transition: all .3s; }
.sheet { position: fixed; left: 50%; bottom: 0; z-index: 91; width: 100%; max-width: var(--app-w); transform: translate(-50%, 105%); background: var(--surface); border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 10px var(--gutter) calc(22px + var(--safe-bottom)); transition: transform .45s var(--ease); max-height: 88dvh; overflow-y: auto; }
.sheet__handle { width: 44px; height: 5px; border-radius: 5px; background: var(--line); margin: 0 auto 16px; }
.sheet__title { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 4px; }
.sheet.is-open { transform: translate(-50%, 0); }
.sheet-backdrop.is-open { opacity: 1; visibility: visible; }
.sheet-list { list-style: none; padding: 0; margin: 12px 0 0; }
.sheet-list li button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 4px; border: 0; background: none; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); text-align: left; }
.sheet-list li:last-child button { border-bottom: 0; }
.sheet-list .bi-check2 { margin-left: 12px; width: 1.2rem; color: var(--gold-dark); font-size: 1.2rem; visibility: hidden; }
.sheet-list .is-selected .bi-check2 { visibility: visible; }
.sheet-list .flag { width: 26px; height: 18px; border-radius: 3px; overflow: hidden; display: flex; flex-direction: column; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.sheet-list .flag i { flex: 1; display: block; }
.sheet-list .code { color: var(--muted); font-weight: 700; margin-left: auto; }

/* 13. TOAST & LOADER ---------------------------------------- */
.toast-app { position: fixed; left: 50%; top: calc(14px + var(--safe-top)); z-index: 200; transform: translate(-50%, -160%); width: calc(100% - 32px); max-width: calc(var(--app-w) - 32px); background: var(--ink); color: #fff; padding: 14px 16px; border-radius: var(--r); box-shadow: var(--sh-lg); display: flex; align-items: center; gap: 12px; font-size: .88rem; font-weight: 600; transition: transform .45s var(--ease); }
.toast-app .bi { color: var(--gold); font-size: 1.2rem; }
.toast-app.is-error .bi { color: #F0A097; }
.toast-app.is-show { transform: translate(-50%, 0); }
@keyframes spin { to { transform: rotate(360deg); } }

/* 14. MOTION ------------------------------------------------ */
.anim-up { animation: fadeUp .7s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes float { 50% { transform: translateY(-8px); } }
.page-leave { animation: pageLeave .3s var(--ease) forwards; }
@keyframes pageLeave { to { opacity: 0; transform: translateX(-24px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; } }

/* 15. BOTTOM NAV (used from Phase 2) ------------------------ */
.bottom-nav { position: sticky; bottom: 0; z-index: 40; display: flex; justify-content: space-around; align-items: center; height: calc(70px + var(--safe-bottom)); padding-bottom: var(--safe-bottom); background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); border-top: 1px solid var(--line); border-radius: 22px 22px 0 0; }
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .68rem; font-weight: 700; color: var(--muted); }
.bottom-nav a .bi { font-size: 1.3rem; }
.bottom-nav a.is-active { color: var(--ink); }
.bottom-nav .fab { width: 58px; height: 58px; margin-top: -30px; flex: 0 0 58px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-size: 1.4rem; box-shadow: 0 12px 24px -8px rgba(42, 31, 36, .55); border: 4px solid var(--cream); }

/* Small phones */
@media (max-width: 359.98px) {
  :root { --gutter: 16px; }
  .t-hero, .onb__text h1 { font-size: 1.95rem; }
  .otp { gap: 6px; }
  .pick-grid { gap: 8px; }
}

/* Dark frame variant (splash) */
.app.is-dark { background: var(--ink); }
.splash { position: relative; }

/* =========================================================
   PHASE 2 — Explore components
   16 Home header & search   20 Service rows & cart bar
   17 Banners & sections     21 Search & filters
   18 Category tiles         22 Service detail
   19 Service cards          23 Reviews & add-ons
   ========================================================= */

/* 16. HOME HEADER & SEARCH --------------------------------- */
.home-head { display: flex; align-items: center; gap: 12px; padding: calc(14px + var(--safe-top)) var(--gutter) 10px; }
.home-head__avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--blush); flex-shrink: 0; border: 2px solid #fff; box-shadow: var(--sh-sm); }
.home-head__avatar img { width: 100%; height: 100%; object-fit: cover; }
.home-head__hi { flex: 1; min-width: 0; line-height: 1.25; }
.home-head__hi small { color: var(--muted); font-size: .78rem; font-weight: 600; display: block; }
.home-head__hi strong { font-size: 1.06rem; color: var(--ink); }
.loc-btn { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 0; font-size: .78rem; font-weight: 700; color: var(--gold-dark); }

.search-bar { display: flex; align-items: center; gap: 10px; }
.search-box { flex: 1; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-radius: var(--r); background: var(--surface); border: 1.5px solid var(--line); color: var(--muted); font-weight: 500; font-size: .92rem; transition: border-color .2s, box-shadow .2s; min-width: 0; }
.search-box .bi { font-size: 1.1rem; color: var(--ink); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-weight: 600; color: var(--ink); font-size: .95rem; }
.search-box input::placeholder { color: #B6A9AE; font-weight: 500; }
.search-box:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 164, 126, .18); }
.search-box .clear { border: 0; background: var(--line); width: 24px; height: 24px; border-radius: 50%; display: none; place-items: center; font-size: .75rem; color: var(--ink); padding: 0; }
.search-box.has-value .clear { display: grid; }
.filter-btn { width: 52px; height: 52px; border-radius: var(--r); border: 0; background: var(--ink); color: #fff; font-size: 1.15rem; display: grid; place-items: center; position: relative; flex-shrink: 0; }
.filter-btn .count { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--gold); color: var(--ink); font-size: .7rem; font-weight: 800; display: none; place-items: center; border: 2px solid var(--cream); padding: 0 4px; }
.filter-btn.has-count .count { display: grid; }

/* 17. BANNERS & SECTIONS ----------------------------------- */
.section-app { margin-top: 26px; }
.section-app__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-app__head h2 { font-size: 1.55rem; margin: 0; }
.see-all { font-size: .82rem; font-weight: 700; color: var(--gold-dark); white-space: nowrap; }
.h-scroll { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scroll-padding-left: var(--gutter); }
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll > * { scroll-snap-align: start; flex-shrink: 0; }

.banner { width: calc(100% - 4px); height: 168px; border-radius: var(--r-lg); position: relative; overflow: hidden; padding: 20px; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.h-scroll > .banner { width: 88%; }
.banner__img { position: absolute; right: -10px; top: 0; bottom: 0; width: 48%; object-fit: cover; border-radius: 140px 0 0 140px; opacity: .95; }
.banner.is-ink { background: var(--ink); }
.banner.is-plum { background: linear-gradient(135deg, #5A3546, #2A1F24); }
.banner.is-gold { background: linear-gradient(135deg, #D8B993, #B58B62); color: var(--ink); }
.banner__tag { font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.banner.is-gold .banner__tag { color: var(--plum); }
.banner h3 { font-size: 1.75rem; color: inherit; margin: 4px 0 4px; max-width: 58%; font-weight: 500; }
.banner h3 b { font-weight: 700; }
.banner p { font-size: .78rem; opacity: .75; margin: 0 0 12px; max-width: 55%; }
.banner .btn-app { position: relative; z-index: 2; }
.banner-dots { display: flex; justify-content: center; gap: 5px; margin-top: 4px; }
.banner-dots span { width: 6px; height: 6px; border-radius: 6px; background: #DCCFC8; transition: all .3s var(--ease); }
.banner-dots span.is-active { width: 20px; background: var(--ink); }

/* Category circles */
.cat-circle { width: 74px; text-align: center; font-size: .74rem; font-weight: 700; color: var(--ink); line-height: 1.25; }
.cat-circle__ic { width: 64px; height: 64px; margin: 0 auto 8px; border-radius: 22px; display: grid; place-items: center; font-size: 1.45rem; color: var(--plum); background: var(--tint, var(--blush)); transition: transform .2s var(--ease); }
.cat-circle:active .cat-circle__ic { transform: scale(.92); }

/* Upcoming appointment */
.appt-card { background: var(--ink); color: rgba(255,255,255,.75); border-radius: var(--r-lg); padding: 16px; position: relative; overflow: hidden; }
.appt-card::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -60px; top: -80px; background: radial-gradient(circle, rgba(201,164,126,.4), transparent 65%); }
.appt-card__top { display: flex; gap: 12px; align-items: center; position: relative; z-index: 1; }
.appt-card__top img { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; }
.appt-card__top strong { color: #fff; display: block; font-size: .98rem; }
.appt-card__meta { display: flex; gap: 8px; margin-top: 14px; position: relative; z-index: 1; }
.appt-card__meta span { flex: 1; background: rgba(255,255,255,.08); border-radius: 12px; padding: 9px 10px; font-size: .75rem; display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; white-space: nowrap; }
.appt-card__meta .bi { color: var(--gold); }
.pill-status { font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 20px; background: rgba(62,142,106,.18); color: #7BD3A8; margin-left: auto; align-self: flex-start; }

/* Stylist avatars row */
.stylist-mini { width: 86px; text-align: center; }
.stylist-mini__img { width: 76px; height: 76px; margin: 0 auto 8px; border-radius: 50%; padding: 3px; background: conic-gradient(var(--gold), var(--rose), var(--gold)); }
.stylist-mini__img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--cream); }
.stylist-mini strong { display: block; font-size: .8rem; color: var(--ink); line-height: 1.2; }
.stylist-mini small { font-size: .7rem; color: var(--muted); }

/* Membership strip */
.member-strip { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--gold-soft), var(--blush)); border: 1px solid #EBDCCF; }
.member-strip__ic { width: 50px; height: 50px; border-radius: 16px; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.member-strip strong { color: var(--ink); display: block; font-size: .95rem; }
.member-strip small { color: var(--ink-2); font-size: .78rem; }

/* 18. CATEGORY TILES --------------------------------------- */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cat-tile { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1 / 1.08; display: block; background: var(--tint, var(--blush)); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(42,31,36,.82)); }
.cat-tile__body { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; color: #fff; }
.cat-tile__body h3 { color: #fff; font-size: 1.35rem; margin: 0 0 2px; }
.cat-tile__body small { font-size: .74rem; opacity: .85; font-weight: 600; }
.cat-tile__ic { position: absolute; top: 12px; left: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 12px; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; }
.cat-tile:active img { transform: scale(1.05); }
.cat-tile.is-wide { grid-column: span 2; aspect-ratio: 2.3 / 1; }

/* 19. SERVICE CARDS (horizontal) -------------------------- */
.svc-card { width: 200px; background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--sh-sm); display: block; }
.svc-card__img { position: relative; height: 130px; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-card__body { padding: 12px 14px 14px; }
.svc-card__body h4 { font-size: .9rem; margin: 0 0 4px; line-height: 1.3; height: 2.6em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.svc-meta { display: flex; align-items: center; gap: 10px; font-size: .74rem; color: var(--muted); font-weight: 600; }
.svc-meta .bi-star-fill { color: var(--gold); }
.price { font-weight: 800; color: var(--ink); font-size: 1rem; }
.price s { font-weight: 600; color: var(--muted); font-size: .78rem; margin-left: 4px; }
.fav-btn { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; font-size: .95rem; z-index: 2; transition: transform .2s var(--ease); }
.fav-btn.is-active { color: var(--danger); }
.fav-btn.is-active .bi::before { content: "\F415"; }
.fav-btn:active { transform: scale(.85); }
.tag-badge { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 4px 9px; border-radius: 20px; }
.add-btn { width: 34px; height: 34px; border-radius: 11px; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 1.05rem; flex-shrink: 0; transition: transform .15s var(--ease), background .2s; }
.add-btn:active { transform: scale(.9); }
.add-btn.is-added { background: var(--success); }

/* 20. SERVICE ROWS & CART BAR ------------------------------ */
.svc-row { display: flex; gap: 14px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 12px; align-items: stretch; animation: fadeUp .5s var(--ease) both; }
.svc-row__img { position: relative; width: 96px; flex-shrink: 0; border-radius: var(--r); overflow: hidden; }
.svc-row__img img { width: 100%; height: 100%; object-fit: cover; min-height: 112px; }
.svc-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.svc-row__body h4 { font-size: .95rem; margin: 0 0 3px; line-height: 1.3; }
.svc-row__body p { font-size: .76rem; color: var(--muted); margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc-row__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.svc-row .tag-badge { top: 6px; left: 6px; font-size: .56rem; padding: 3px 7px; }
.btn-add { height: 36px; padding: 0 14px; border-radius: 11px; border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink); font-weight: 800; font-size: .8rem; display: inline-flex; align-items: center; gap: 4px; transition: all .2s var(--ease); }
.btn-add:active { transform: scale(.95); }
.btn-add.is-added { background: var(--ink); color: #fff; }

.list-toolbar { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 12px; font-size: .82rem; color: var(--muted); font-weight: 600; }
.list-toolbar button { border: 0; background: none; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; padding: 0; font-size: .82rem; }

.cart-bar { position: sticky; bottom: 0; z-index: 40; padding: 10px var(--gutter) calc(12px + var(--safe-bottom)); transform: translateY(120%); transition: transform .45s var(--ease); pointer-events: none; }
.cart-bar.is-show { transform: none; pointer-events: auto; }
.cart-bar__inner { display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; border-radius: 20px; padding: 10px 10px 10px 16px; box-shadow: var(--sh-lg); }
.cart-bar__count { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; font-weight: 800; color: var(--gold); flex-shrink: 0; }
.cart-bar__info { flex: 1; line-height: 1.25; }
.cart-bar__info small { display: block; font-size: .72rem; color: rgba(255,255,255,.6); }
.cart-bar__info strong { font-size: 1.05rem; }
.cart-bar .btn-app { --h: 46px; width: auto; padding: 0 18px; font-size: .9rem; }
.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.18); } }

.empty-state { text-align: center; padding: 40px 10px; color: var(--muted); }
.empty-state__ic { width: 84px; height: 84px; border-radius: 28px; margin: 0 auto 16px; background: var(--blush); color: var(--plum); display: grid; place-items: center; font-size: 2rem; }
.empty-state h3 { font-size: 1.5rem; margin-bottom: 6px; }

/* Skeleton */
.skel { background: linear-gradient(90deg, #EFE6E1 25%, #F7F1ED 50%, #EFE6E1 75%); background-size: 200% 100%; animation: skel 1.2s infinite; border-radius: var(--r); }
@keyframes skel { to { background-position: -200% 0; } }

/* 21. SEARCH & FILTERS ------------------------------------- */
.search-head { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; padding: calc(10px + var(--safe-top)) var(--gutter) 12px; background: rgba(250,245,241,.94); backdrop-filter: blur(14px); }
.recent-list { list-style: none; padding: 0; margin: 0; }
.recent-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: .92rem; }
.recent-list li > .bi { color: var(--muted); }
.recent-list li button.go { flex: 1; text-align: left; border: 0; background: none; padding: 0; font-weight: 600; color: var(--ink); }
.recent-list li button.rm { border: 0; background: none; color: var(--muted); padding: 4px; }
.trend-chip .bi { color: var(--gold-dark); }
mark { background: var(--gold-soft); color: var(--ink); padding: 0 2px; border-radius: 4px; }

.filter-group { padding: 16px 0; border-bottom: 1px solid var(--line); }
.filter-group:last-of-type { border-bottom: 0; }
.filter-group h6 { font-size: .85rem; margin-bottom: 12px; display: flex; justify-content: space-between; }
.filter-group h6 span { color: var(--gold-dark); font-weight: 800; }
.range-dual { position: relative; height: 32px; }
.range-dual__track { position: absolute; left: 0; right: 0; top: 14px; height: 4px; border-radius: 4px; background: var(--line); }
.range-dual__fill { position: absolute; top: 14px; height: 4px; border-radius: 4px; background: var(--ink); }
.range-dual input { position: absolute; left: 0; width: 100%; top: 4px; height: 24px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.range-dual input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); box-shadow: var(--sh-sm); cursor: pointer; }
.range-dual input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); cursor: pointer; }
.radio-list label { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; font-weight: 600; color: var(--ink); font-size: .92rem; cursor: pointer; }
.radio-list input { width: 20px; height: 20px; accent-color: var(--ink); }
.sheet__foot { display: flex; gap: 10px; position: sticky; bottom: calc(-22px - var(--safe-bottom)); background: var(--surface); padding: 14px 0 0; margin-top: 4px; }
.sheet__foot .btn-app { --h: 52px; }

/* 22. SERVICE DETAIL --------------------------------------- */
.detail-hero { position: relative; height: 380px; margin-bottom: -36px; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,31,36,.25), transparent 30%); }
.detail-hero .app-bar { position: absolute; left: 0; right: 0; top: 0; background: transparent; backdrop-filter: none; }
.detail-hero .icon-btn { background: rgba(255,255,255,.92); border: 0; }
.float-bar { position: fixed; top: 0; left: 50%; transform: translate(-50%, -100%); width: 100%; max-width: var(--app-w); z-index: 50; transition: transform .35s var(--ease); background: rgba(250,245,241,.95); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.float-bar.is-show { transform: translate(-50%, 0); }
.detail-hero__count { position: absolute; right: 16px; bottom: 50px; z-index: 2; background: rgba(42,31,36,.6); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 10px; border-radius: 20px; }
.detail-body { position: relative; z-index: 2; background: var(--cream); border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 24px var(--gutter) 0; flex: 1; }
.detail-body h1 { font-size: 2rem; margin: 8px 0 8px; }
.detail-rating { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); font-weight: 600; flex-wrap: wrap; }
.detail-rating strong { color: var(--ink); }
.detail-rating .bi-star-fill { color: var(--gold); }
.info-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 20px; }
.info-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 8px; text-align: center; }
.info-tile .bi { font-size: 1.15rem; color: var(--gold-dark); }
.info-tile strong { display: block; color: var(--ink); font-size: .88rem; margin-top: 4px; }
.info-tile small { font-size: .7rem; color: var(--muted); font-weight: 600; }
.read-more { max-height: 4.8em; overflow: hidden; position: relative; transition: max-height .4s var(--ease); }
.read-more::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2em; background: linear-gradient(transparent, var(--cream)); }
.read-more.is-open { max-height: 400px; }
.read-more.is-open::after { display: none; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; font-size: .9rem; color: var(--ink-2); }
.check-list .bi { color: var(--success); font-size: 1.05rem; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; border-left: 1.5px dashed #DCCBBE; }
.timeline li { display: flex; gap: 14px; padding-bottom: 18px; position: relative; }
.timeline .num { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--gold); color: var(--gold-dark); font-weight: 800; display: grid; place-items: center; font-size: .82rem; flex-shrink: 0; position: relative; }
.timeline strong { display: block; color: var(--ink); font-size: .92rem; }
.timeline small { color: var(--muted); font-size: .8rem; }
.tab-pane-app { display: none; animation: fadeUp .45s var(--ease); }
.tab-pane-app.is-active { display: block; }

/* 23. REVIEWS & ADD-ONS ------------------------------------ */
.rating-summary { display: flex; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; margin-bottom: 14px; }
.rating-summary__big { text-align: center; }
.rating-summary__big strong { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--ink); display: block; }
.rating-summary__big .stars { color: var(--gold); font-size: .72rem; letter-spacing: 1px; }
.rating-summary__big small { font-size: .7rem; color: var(--muted); }
.bars { flex: 1; display: grid; gap: 5px; }
.bars div { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; color: var(--muted); }
.bars i { flex: 1; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; display: block; }
.bars i b { display: block; height: 100%; background: var(--gold); border-radius: inherit; }
.review { padding: 14px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }
.review__top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review__top img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.review__top strong { display: block; font-size: .88rem; color: var(--ink); }
.review__top small { font-size: .72rem; color: var(--muted); }
.review__top .stars { margin-left: auto; color: var(--gold); font-size: .7rem; }
.review p { font-size: .86rem; margin: 0; }
.addon { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r); margin-bottom: 10px; cursor: pointer; transition: border-color .2s, background .2s; }
.addon input { width: 22px; height: 22px; accent-color: var(--ink); flex-shrink: 0; }
.addon span { flex: 1; font-weight: 600; font-size: .88rem; color: var(--ink); }
.addon b { font-size: .88rem; color: var(--ink); }
.addon:has(input:checked) { border-color: var(--ink); background: var(--gold-soft); }
.detail-footer { position: sticky; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 14px; padding: 12px var(--gutter) calc(12px + var(--safe-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); border-radius: 22px 22px 0 0; box-shadow: 0 -10px 30px -18px rgba(42,31,36,.3); }
.detail-footer__price small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; }
.detail-footer__price strong { font-size: 1.35rem; color: var(--ink); }
.detail-footer .btn-app { flex: 1; --h: 52px; }
.icon-btn.fav-btn { width: 44px; height: 44px; font-size: 1.1rem; }
.banner .btn-app { align-self: flex-start; }
.search-box input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
mark { padding: 0; border-radius: 2px; }
.cart-bar.is-above-nav { bottom: calc(92px + var(--safe-bottom)); padding-bottom: 0; }
.cart-bar.is-above-nav + .bottom-nav { margin-top: -1px; }

/* =========================================================
   PHASE 3 — Discover components
   24 Stylist cards        27 Gallery & viewer
   25 Stylist profile      28 Offers & coupons
   26 Availability strip   29 Membership
   ========================================================= */

/* 24. STYLIST CARDS ---------------------------------------- */
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); font-size: .88rem; font-weight: 700; color: var(--ink); }
.switch-row small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }
.toggle { position: relative; width: 48px; height: 28px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle span { position: absolute; inset: 0; border-radius: 28px; background: #DCCFC8; transition: background .25s; cursor: pointer; }
.toggle span::after { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); transition: transform .3s var(--ease); }
.toggle input:checked + span { background: var(--ink); }
.toggle input:checked + span::after { transform: translateX(20px); }
.toggle input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.any-card { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--r-lg); background: var(--ink); color: rgba(255,255,255,.7); margin-bottom: 14px; }
.any-card__ic { width: 54px; height: 54px; border-radius: 18px; background: rgba(201,164,126,.18); color: var(--gold); display: grid; place-items: center; font-size: 1.4rem; flex-shrink: 0; }
.any-card strong { color: #fff; display: block; }
.any-card small { font-size: .78rem; }

.stylist-card { display: flex; gap: 14px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 12px; animation: fadeUp .5s var(--ease) both; }
.stylist-card__img { position: relative; width: 100px; flex-shrink: 0; border-radius: var(--r); overflow: hidden; background: var(--blush); }
.stylist-card__img img { width: 100%; height: 100%; object-fit: cover; min-height: 132px; }
.online-dot { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; font-size: .62rem; font-weight: 800; background: rgba(255,255,255,.94); color: var(--success); padding: 3px 7px; border-radius: 20px; }
.online-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(62,142,106,.2); }
.stylist-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.stylist-card__body h4 { font-size: 1rem; margin: 0; }
.stylist-card__role { font-size: .74rem; font-weight: 700; color: var(--gold-dark); text-transform: uppercase; letter-spacing: .06em; }
.mini-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0; }
.mini-tags span { font-size: .68rem; font-weight: 700; padding: 3px 8px; border-radius: 20px; background: var(--cream); border: 1px solid var(--line); color: var(--ink-2); }
.next-slot { font-size: .74rem; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 5px; }
.next-slot .bi { color: var(--success); }
.stylist-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stylist-card .btn-add { height: 34px; }

/* 25. STYLIST PROFILE -------------------------------------- */
.profile-hero { position: relative; padding: calc(8px + var(--safe-top)) 0 0; background: linear-gradient(180deg, var(--blush), var(--cream)); text-align: center; overflow: hidden; }
.profile-hero::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; left: 50%; top: -120px; transform: translateX(-50%); background: radial-gradient(circle, rgba(255,255,255,.75), transparent 65%); }
.profile-hero .app-bar { background: transparent; backdrop-filter: none; position: relative; }
.profile-hero__photo { position: relative; width: 168px; height: 200px; margin: 0 auto; border-radius: 90px 90px 26px 26px; overflow: hidden; border: 5px solid #fff; box-shadow: var(--sh-lg); }
.profile-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-hero__badge { position: relative; margin: -16px auto 0; display: inline-flex; align-items: center; gap: 5px; background: var(--ink); color: var(--gold); font-size: .7rem; font-weight: 800; padding: 6px 12px; border-radius: 20px; z-index: 2; }
.profile-hero h1 { font-size: 2.1rem; margin: 12px 0 2px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin: 18px 0 14px; }
.stat-row div { padding: 12px 6px; text-align: center; }
.stat-row div + div { border-left: 1px solid var(--line); }
.stat-row strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); line-height: 1.1; }
.stat-row small { font-size: .7rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.action-row { display: flex; gap: 10px; }
.action-row .icon-btn { width: 52px; height: 52px; border-radius: var(--r); }
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .86rem; }
.hours-list li span:last-child { font-weight: 700; color: var(--ink); }
.hours-list li.is-off span:last-child { color: var(--danger); }
.hours-list li.is-today { color: var(--gold-dark); font-weight: 700; }
.cert { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: .88rem; font-weight: 600; color: var(--ink); }
.cert .bi { width: 34px; height: 34px; border-radius: 10px; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; }
.port-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.port-grid button { aspect-ratio: 1; border: 0; padding: 0; border-radius: 12px; overflow: hidden; background: var(--blush); }
.port-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.port-grid button:active img { transform: scale(1.06); }

/* 26. AVAILABILITY STRIP ----------------------------------- */
.day-pill { width: 62px; padding: 10px 0; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--surface); text-align: center; transition: all .2s var(--ease); }
.day-pill small { display: block; font-size: .68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.day-pill strong { display: block; font-size: 1.2rem; color: var(--ink); line-height: 1.3; }
.day-pill em { font-style: normal; font-size: .64rem; font-weight: 800; color: var(--success); }
.day-pill.is-full em { color: var(--danger); }
.day-pill.is-off { opacity: .45; }
.day-pill.is-active { background: var(--ink); border-color: var(--ink); }
.day-pill.is-active small, .day-pill.is-active strong { color: #fff; }
.day-pill.is-active em { color: var(--gold); }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.slot { height: 42px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); font-size: .82rem; font-weight: 700; color: var(--ink); }
.slot:disabled { text-decoration: line-through; color: #C4B8BC; background: #F6F1EE; }
.slot.is-active { background: var(--gold); border-color: var(--gold); }

/* 27. GALLERY & VIEWER ------------------------------------- */
.masonry { columns: 2; column-gap: 10px; }
.masonry__item { break-inside: avoid; margin-bottom: 10px; position: relative; border-radius: var(--r); overflow: hidden; display: block; width: 100%; border: 0; padding: 0; background: var(--blush); animation: fadeUp .5s var(--ease) both; }
.masonry__item img { width: 100%; object-fit: cover; display: block; }
.masonry__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(42,31,36,.7)); }
.masonry__cap { position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 2; color: #fff; text-align: left; font-size: .76rem; font-weight: 700; line-height: 1.3; }
.masonry__cap small { display: flex; align-items: center; gap: 4px; font-weight: 600; opacity: .85; font-size: .68rem; }

.viewer { position: fixed; inset: 0; z-index: 120; background: #120D0F; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; color: #fff; }
.viewer.is-open { opacity: 1; visibility: visible; }
.viewer__top { display: flex; align-items: center; gap: 10px; padding: calc(12px + var(--safe-top)) 14px 8px; }
.viewer__top .icon-btn { background: rgba(255,255,255,.1); border: 0; color: #fff; }
.viewer__count { flex: 1; text-align: center; font-weight: 700; font-size: .88rem; color: rgba(255,255,255,.7); }
.viewer__stage { flex: 1; overflow: hidden; position: relative; touch-action: pan-y; }
.viewer__track { display: flex; height: 100%; transition: transform .4s var(--ease); }
.viewer__track figure { flex: 0 0 100%; margin: 0; display: grid; place-items: center; padding: 10px 16px; }
.viewer__track img { max-width: 100%; max-height: 100%; border-radius: var(--r-lg); object-fit: contain; }
.viewer__info { padding: 14px 18px calc(18px + var(--safe-bottom)); }
.viewer__info h3 { color: #fff; font-size: 1.6rem; margin: 0 0 8px; }
.viewer__by { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.viewer__by img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.viewer__by strong { display: block; font-size: .88rem; }
.viewer__by small { color: rgba(255,255,255,.55); font-size: .74rem; }
.like-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #fff; font-weight: 700; font-size: .84rem; }
.like-btn.is-active { background: var(--danger); border-color: var(--danger); }
.like-btn.is-active .bi::before { content: "\F415"; }
.like-btn .bi { transition: transform .3s var(--ease); }
.like-btn.pop .bi { transform: scale(1.4); }

/* 28. OFFERS & COUPONS ------------------------------------- */
.coupon-entry { display: flex; gap: 8px; }
.coupon-entry .input-group-app { flex: 1; }
.coupon-entry input { text-transform: uppercase; letter-spacing: .1em; }
.coupon-entry .btn-app { width: auto; padding: 0 20px; --h: 56px; }
.ticket { position: relative; display: flex; background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); margin-bottom: 14px; overflow: hidden; animation: fadeUp .5s var(--ease) both; }
.ticket__side { width: 84px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--ink); position: relative; padding: 12px 6px; }
.ticket__side .bi { font-size: 1.5rem; }
.ticket__side b { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.ticket__side small { font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ticket.is-ink .ticket__side { background: var(--ink); color: var(--gold); }
.ticket.is-sage .ticket__side { background: #E3E8DC; }
.ticket.is-blush .ticket__side { background: var(--blush); }
.ticket.is-gold .ticket__side { background: var(--gold); }
.ticket__side::before, .ticket__side::after { content: ""; position: absolute; right: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); }
.ticket__side::before { top: -10px; } .ticket__side::after { bottom: -10px; }
.ticket__body { flex: 1; min-width: 0; padding: 14px 14px 12px 18px; border-left: 2px dashed var(--line); }
.ticket__body h4 { font-size: .98rem; margin: 0 0 2px; }
.ticket__body p { font-size: .78rem; color: var(--muted); margin: 0 0 10px; }
.ticket__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.code-tag { font-size: .78rem; font-weight: 800; letter-spacing: .12em; color: var(--ink); border: 1.5px dashed var(--gold); background: var(--gold-soft); padding: 4px 10px; border-radius: 8px; }
.ticket__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: .72rem; color: var(--muted); font-weight: 600; }
.ticket__tc { font-size: .74rem; color: var(--muted); padding-top: 8px; margin-top: 8px; border-top: 1px solid var(--line); display: none; }
.ticket.is-open .ticket__tc { display: block; }
.ticket.is-applied { border-color: var(--success); box-shadow: 0 0 0 3px rgba(62,142,106,.12); }
.btn-apply { height: 34px; padding: 0 14px; border-radius: 10px; border: 0; background: var(--ink); color: #fff; font-weight: 800; font-size: .78rem; }
.ticket.is-applied .btn-apply { background: var(--success); }
.refer-card { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-lg); background: linear-gradient(135deg, #5A3546, #2A1F24); color: rgba(255,255,255,.75); position: relative; overflow: hidden; }
.refer-card strong { color: #fff; display: block; font-size: 1.05rem; }
.refer-card__ic { width: 56px; height: 56px; border-radius: 18px; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-size: 1.5rem; flex-shrink: 0; }

/* 29. MEMBERSHIP ------------------------------------------- */
.member-hero { position: relative; border-radius: var(--r-xl); padding: 22px; background: var(--ink); color: rgba(255,255,255,.7); overflow: hidden; }
.member-hero::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(201,164,126,.45), transparent 65%); }
.member-hero h2 { color: #fff; font-size: 1.9rem; position: relative; }
.member-hero .t-italic { color: var(--gold); }
.plan-cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 16px var(--gutter) 8px; }
.plan-cards::-webkit-scrollbar { display: none; }
.plan-c { flex: 0 0 78%; scroll-snap-align: center; border-radius: var(--r-xl); padding: 20px; position: relative; overflow: hidden; border: 2px solid transparent; text-align: left; color: var(--ink); background: var(--surface); box-shadow: var(--sh-sm); transition: all .3s var(--ease); }
.plan-c.is-active { border-color: var(--ink); box-shadow: var(--sh); transform: translateY(-4px); }
.plan-c__chip { width: 46px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, #E8D8B8, #B79466); margin-bottom: 18px; position: relative; }
.plan-c__chip::after { content: ""; position: absolute; inset: 7px 12px; border: 1.5px solid rgba(42,31,36,.25); border-radius: 4px; }
.plan-c__name { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; line-height: 1; }
.plan-c__tag { font-size: .78rem; color: var(--muted); }
.plan-c__price { margin-top: 18px; font-weight: 800; font-size: 1.6rem; }
.plan-c__price small { font-size: .78rem; font-weight: 600; color: var(--muted); }
.plan-c__pop { position: absolute; top: 16px; right: 16px; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 4px 9px; border-radius: 20px; }
.plan-c__check { position: absolute; bottom: 18px; right: 18px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; color: transparent; transition: all .2s; }
.plan-c.is-active .plan-c__check { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.plan-c.is-dark { background: linear-gradient(145deg, #3B2D33, #1E1619); color: #fff; }
.plan-c.is-dark .plan-c__tag, .plan-c.is-dark .plan-c__price small { color: rgba(255,255,255,.6); }
.plan-c.is-dark.is-active { border-color: var(--gold); }
.plan-c.is-dark .plan-c__check { border-color: rgba(255,255,255,.25); }
.plan-c.is-dark.is-active .plan-c__check { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.plan-c.is-gold { background: linear-gradient(145deg, #F4E7D6, #E2C6A2); }
.save-pill { display: inline-block; font-size: .7rem; font-weight: 800; color: var(--success); background: rgba(62,142,106,.12); padding: 3px 8px; border-radius: 20px; margin-left: 6px; vertical-align: middle; }
.perk-list { list-style: none; padding: 0; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 4px 16px; }
.perk-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.perk-list li:last-child { border-bottom: 0; }
.perk-list .bi { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; font-size: .95rem; }
.perk-list .is-yes .bi { background: rgba(62,142,106,.12); color: var(--success); }
.perk-list .is-no { color: #B9AEB2; }
.perk-list .is-no .bi { background: #F3EEEB; color: #B9AEB2; }
.perk-list span { flex: 1; }
.perk-list small { display: block; color: var(--muted); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.perk-list .is-yes strong { color: var(--ink); }
.calc { background: var(--gold-soft); border-radius: var(--r-lg); padding: 18px; }
.calc input[type=range] { width: 100%; accent-color: var(--ink); }
.calc__out { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 10px; }
.calc__out strong { font-family: var(--font-display); font-size: 2.2rem; color: var(--success); line-height: 1; }
.faq .accordion-item { border: 1px solid var(--line); border-radius: var(--r) !important; margin-bottom: 8px; overflow: hidden; background: var(--surface); }
.faq .accordion-button { font-weight: 700; font-size: .9rem; color: var(--ink); background: var(--surface); box-shadow: none; padding: 14px 16px; }
.faq .accordion-button:not(.collapsed) { background: var(--gold-soft); color: var(--ink); }
.faq .accordion-body { font-size: .86rem; color: var(--muted); padding: 12px 16px 16px; }
/* Phase 3 refinements */
.banner { height: auto; min-height: 168px; }
.banner > * { flex-shrink: 0; position: relative; z-index: 1; }
.banner > .banner__img { position: absolute; z-index: 0; }
.coupon-entry input::placeholder { text-transform: none; letter-spacing: 0; }
.plan-c__price { padding-right: 36px; }
.plan-c__price .save-pill { display: table; margin: 6px 0 0; }

/* =========================================================
   PHASE 4 — Booking flow
   30 Flow header & stepper   34 Summary & bill
   31 Cart items              35 Payment methods
   32 Stylist picker          36 Processing overlay
   33 Calendar & slots        37 Success screen
   ========================================================= */

/* 30. FLOW HEADER & STEPPER -------------------------------- */
.flow-head { position: sticky; top: 0; z-index: 30; background: rgba(250,245,241,.94); backdrop-filter: blur(14px); padding-bottom: 12px; }
.flow-head .app-bar { position: static; background: transparent; backdrop-filter: none; }
.flow-head .app-bar__title small { display: block; font-size: .7rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.stepper { display: flex; align-items: center; padding: 2px var(--gutter) 0; }
.stepper__step { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: .66rem; font-weight: 700; color: var(--muted); width: 54px; flex-shrink: 0; }
.stepper__dot { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); display: grid; place-items: center; font-size: .76rem; font-weight: 800; color: var(--muted); transition: all .3s var(--ease); }
.stepper__line { flex: 1; height: 2px; background: var(--line); margin: 0 -10px 18px; border-radius: 2px; position: relative; overflow: hidden; }
.stepper__line::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.stepper__step.is-done .stepper__dot { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.stepper__step.is-current .stepper__dot { border-color: var(--ink); color: var(--ink); box-shadow: 0 0 0 4px rgba(42,31,36,.08); }
.stepper__step.is-current, .stepper__step.is-done { color: var(--ink); }
.stepper__line.is-done::after { transform: scaleX(1); }
.flow-footer { position: sticky; bottom: 0; z-index: 40; padding: 12px var(--gutter) calc(12px + var(--safe-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); border-radius: 22px 22px 0 0; box-shadow: 0 -10px 30px -18px rgba(42,31,36,.3); margin-top: auto; }
.flow-footer__meta { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.flow-footer__meta strong { color: var(--ink); font-size: 1.05rem; }

/* 31. CART ITEMS ------------------------------------------- */
.cart-item { display: flex; gap: 12px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 10px; transition: transform .35s var(--ease), opacity .35s, max-height .35s, margin .35s, padding .35s; max-height: 260px; overflow: hidden; animation: fadeUp .45s var(--ease) both; }
.cart-item.is-removing { transform: translateX(-110%); opacity: 0; max-height: 0; margin: 0; padding-top: 0; padding-bottom: 0; }
.cart-item__img { width: 72px; height: 72px; border-radius: 14px; overflow: hidden; flex-shrink: 0; }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__body { flex: 1; min-width: 0; }
.cart-item__body h4 { font-size: .92rem; margin: 0 0 2px; }
.cart-item__addons { list-style: none; padding: 0; margin: 6px 0 0; font-size: .74rem; color: var(--muted); }
.cart-item__addons li { display: flex; justify-content: space-between; gap: 8px; }
.cart-item__addons li::before { content: "+"; color: var(--gold-dark); font-weight: 800; margin-right: 4px; }
.cart-item__addons li span:first-child { flex: 1; }
.cart-item__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.rm-btn { width: 32px; height: 32px; border-radius: 10px; border: 0; background: #F7EDEB; color: var(--danger); display: grid; place-items: center; }
.add-more { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: var(--r-lg); border: 1.5px dashed #D6C6BB; color: var(--ink); font-weight: 700; font-size: .9rem; margin: 4px 0 6px; }
.add-more .bi { color: var(--gold-dark); }
.mini-svc { width: 150px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.mini-svc img { width: 100%; height: 84px; object-fit: cover; }
.mini-svc div { padding: 8px 10px 10px; }
.mini-svc strong { display: block; font-size: .78rem; color: var(--ink); line-height: 1.25; height: 2.5em; overflow: hidden; }
.mini-svc .d-flex { padding: 0; margin-top: 6px; }
.mini-svc .add-btn { width: 30px; height: 30px; border-radius: 9px; font-size: .9rem; }
.totals-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.totals-strip div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.totals-strip small { display: block; font-size: .7rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.totals-strip strong { color: var(--ink); font-size: 1.05rem; }

/* 32. STYLIST PICKER --------------------------------------- */
.pick-stylist { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-lg); margin-bottom: 10px; text-align: left; transition: all .2s var(--ease); animation: fadeUp .45s var(--ease) both; }
.pick-stylist img { width: 60px; height: 60px; border-radius: 18px; object-fit: cover; flex-shrink: 0; background: var(--blush); }
.pick-stylist__ic { width: 60px; height: 60px; border-radius: 18px; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; font-size: 1.5rem; flex-shrink: 0; }
.pick-stylist__body { flex: 1; min-width: 0; }
.pick-stylist__body strong { display: block; color: var(--ink); font-size: .95rem; }
.pick-stylist__body small { font-size: .74rem; color: var(--muted); font-weight: 600; }
.pick-stylist__fit { display: inline-flex; align-items: center; gap: 4px; font-size: .68rem; font-weight: 800; margin-top: 4px; padding: 2px 8px; border-radius: 20px; background: rgba(62,142,106,.12); color: var(--success); }
.pick-stylist__fit.is-partial { background: #FBF0E4; color: #B07A3C; }
.radio-dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; position: relative; transition: all .2s; }
.radio-dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .25s var(--ease); }
.pick-stylist.is-active { border-color: var(--ink); background: var(--gold-soft); }
.pick-stylist.is-active .radio-dot { border-color: var(--ink); }
.pick-stylist.is-active .radio-dot::after { transform: scale(1); }
.pick-stylist:disabled { opacity: .5; }

/* 33. CALENDAR & SLOTS ------------------------------------- */
.month-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.month-row h3 { font-size: 1.45rem; margin: 0; }
.month-row .icon-btn { width: 38px; height: 38px; font-size: .95rem; }
.date-strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; }
.date-strip::-webkit-scrollbar { display: none; }
.date-strip .day-pill { flex-shrink: 0; scroll-snap-align: start; width: 58px; }
.slot-group { margin-top: 18px; }
.slot-group h4 { font-size: .8rem; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 6px; margin-bottom: 0; }
.slot-group h4 .bi { color: var(--gold-dark); }
.slot-group h4 span { margin-left: auto; font-size: .72rem; color: var(--muted); font-weight: 600; }
.slot.is-few { position: relative; }
.slot.is-few::after { content: ""; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: #E1914B; }
.legend { display: flex; gap: 14px; font-size: .72rem; color: var(--muted); font-weight: 600; margin-top: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.time-preview { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-lg); background: var(--ink); color: rgba(255,255,255,.7); margin-top: 18px; font-size: .8rem; }
.time-preview .bi { color: var(--gold); font-size: 1.3rem; }
.time-preview strong { display: block; color: #fff; font-size: 1rem; }

/* 34. SUMMARY & BILL --------------------------------------- */
.appt-summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.appt-summary__row { display: flex; align-items: center; gap: 12px; padding: 14px; border-bottom: 1px solid var(--line); }
.appt-summary__row:last-child { border-bottom: 0; }
.appt-summary__row .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; flex-shrink: 0; overflow: hidden; }
.appt-summary__row .ic img { width: 100%; height: 100%; object-fit: cover; }
.appt-summary__row div { flex: 1; min-width: 0; }
.appt-summary__row small { display: block; font-size: .7rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.appt-summary__row strong { color: var(--ink); font-size: .92rem; }
.appt-summary__row a.edit { font-size: .78rem; font-weight: 800; color: var(--gold-dark); }
.map-thumb { height: 110px; border-radius: var(--r); position: relative; overflow: hidden; background: repeating-linear-gradient(45deg, #EFE6DF 0 12px, #F5EEE9 12px 24px); }
.map-thumb::before, .map-thumb::after { content: ""; position: absolute; background: #fff; }
.map-thumb::before { left: 0; right: 0; top: 46%; height: 12px; transform: rotate(-6deg); }
.map-thumb::after { top: 0; bottom: 0; left: 62%; width: 10px; }
.map-thumb .pin { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -100%); z-index: 2; color: var(--danger); font-size: 2rem; filter: drop-shadow(0 4px 6px rgba(0,0,0,.2)); }
.map-thumb .lbl { position: absolute; left: 10px; bottom: 10px; z-index: 2; background: #fff; border-radius: 10px; padding: 5px 10px; font-size: .74rem; font-weight: 700; color: var(--ink); box-shadow: var(--sh-sm); }
.svc-line { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .88rem; }
.svc-line:last-child { border-bottom: 0; }
.svc-line strong { color: var(--ink); }
.svc-line small { display: block; color: var(--muted); font-size: .74rem; }
.coupon-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border-radius: var(--r-lg); border: 1.5px dashed var(--gold); background: var(--gold-soft); text-align: left; }
.coupon-row .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.coupon-row strong { display: block; color: var(--ink); font-size: .92rem; }
.coupon-row small { color: var(--ink-2); font-size: .76rem; }
.coupon-row.is-applied { border-style: solid; border-color: var(--success); background: #EAF4EE; }
.coupon-row.is-applied .ic { background: var(--success); color: #fff; }
.bill { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 6px 16px; }
.bill__row { display: flex; justify-content: space-between; padding: 9px 0; font-size: .88rem; }
.bill__row.is-discount span:last-child { color: var(--success); font-weight: 700; }
.bill__row.is-total { border-top: 1.5px dashed var(--line); margin-top: 4px; padding-top: 12px; font-weight: 800; color: var(--ink); font-size: 1rem; }
.bill__row.is-total span:last-child { font-size: 1.2rem; }
.save-banner { display: flex; align-items: center; gap: 8px; justify-content: center; padding: 10px; margin-top: 10px; border-radius: 12px; background: #EAF4EE; color: var(--success); font-weight: 700; font-size: .82rem; }
textarea.input-app { height: auto; min-height: 90px; padding: 14px 16px; resize: none; font-weight: 500; font-size: .92rem; line-height: 1.5; }
.policy { display: flex; gap: 10px; font-size: .78rem; color: var(--muted); padding: 12px 14px; border-radius: var(--r); background: #F4EEEA; }
.policy .bi { color: var(--ink); }

/* 35. PAYMENT METHODS -------------------------------------- */
.pay-amount { text-align: center; padding: 22px 16px; border-radius: var(--r-xl); background: var(--ink); color: rgba(255,255,255,.65); position: relative; overflow: hidden; }
.pay-amount::before { content: ""; position: absolute; width: 240px; height: 240px; left: 50%; top: -140px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(201,164,126,.4), transparent 65%); }
.pay-amount small { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; position: relative; }
.pay-amount strong { display: block; font-family: var(--font-display); font-size: 3rem; color: #fff; line-height: 1.1; position: relative; }
.pay-amount .timer-chip { position: relative; display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; background: rgba(255,255,255,.08); color: #fff; padding: 5px 12px; border-radius: 20px; margin-top: 6px; }
.pay-amount .timer-chip .bi { color: var(--gold); }
.pay-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 12px; overflow: hidden; }
.pay-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border: 0; background: none; text-align: left; }
.pay-opt + .pay-opt, .pay-opt + .pay-panel + .pay-opt { border-top: 1px solid var(--line); }
.pay-opt .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); font-size: 1.15rem; flex-shrink: 0; font-weight: 800; font-size: .7rem; }
.pay-opt .ic .bi { font-size: 1.15rem; }
.pay-opt div { flex: 1; min-width: 0; }
.pay-opt strong { display: block; font-size: .92rem; color: var(--ink); }
.pay-opt small { font-size: .74rem; color: var(--muted); }
.pay-opt .offer-tag { font-size: .66rem; font-weight: 800; color: var(--success); }
.pay-opt.is-active .radio-dot { border-color: var(--ink); }
.pay-opt.is-active .radio-dot::after { transform: scale(1); }
.pay-panel { display: none; padding: 0 14px 14px; animation: fadeUp .35s var(--ease); }
.pay-panel.is-open { display: block; }
.upi-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.upi-app { border: 1.5px solid var(--line); background: var(--surface); border-radius: 14px; padding: 10px 4px 8px; text-align: center; font-size: .68rem; font-weight: 700; color: var(--ink); }
.upi-app span { width: 34px; height: 34px; border-radius: 10px; margin: 0 auto 6px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .78rem; }
.upi-app.is-active { border-color: var(--ink); background: var(--gold-soft); }
.saved-card { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1.5px solid var(--line); border-radius: var(--r); margin-bottom: 10px; width: 100%; background: var(--surface); text-align: left; }
.saved-card.is-active { border-color: var(--ink); background: var(--gold-soft); }
.card-brand { width: 46px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, #3B2D33, #1E1619); color: var(--gold); display: grid; place-items: center; font-size: .6rem; font-weight: 800; letter-spacing: .06em; flex-shrink: 0; }
.saved-card strong { display: block; font-size: .88rem; color: var(--ink); letter-spacing: .04em; }
.saved-card small { font-size: .72rem; color: var(--muted); }
.cvv-mini { width: 74px; height: 40px; border-radius: 10px; border: 1.5px solid var(--line); text-align: center; font-weight: 700; outline: 0; }
.cvv-mini:focus { border-color: var(--gold); }
.card-form .row { --bs-gutter-x: 10px; }
.card-form .input-app { height: 50px; font-size: .95rem; }
.card-form .brand-hint { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: .66rem; font-weight: 800; color: var(--gold-dark); letter-spacing: .06em; }
.wallet-bal { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: var(--gold-soft); border-radius: var(--r); font-size: .86rem; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .74rem; color: var(--muted); font-weight: 600; margin: 4px 0 8px; }
.secure-note .bi { color: var(--success); }

/* 36. PROCESSING OVERLAY ----------------------------------- */
.processing { position: fixed; inset: 0; z-index: 150; background: rgba(250,245,241,.97); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; opacity: 0; visibility: hidden; transition: all .3s; }
.processing.is-open { opacity: 1; visibility: visible; }
.processing__ring { width: 96px; height: 96px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--ink); border-right-color: var(--gold); animation: spin 1s linear infinite; margin-bottom: 24px; }
.processing h3 { font-size: 1.7rem; margin-bottom: 6px; }
.processing p { color: var(--muted); font-size: .88rem; }
.processing__steps { list-style: none; padding: 0; margin: 14px 0 0; text-align: left; font-size: .84rem; }
.processing__steps li { display: flex; align-items: center; gap: 8px; padding: 4px 0; color: #BBAEB3; transition: color .3s; }
.processing__steps li.is-done { color: var(--ink); font-weight: 600; }
.processing__steps li.is-done .bi::before { content: "\F26B"; color: var(--success); }

/* 37. SUCCESS SCREEN --------------------------------------- */
.success-hero { text-align: center; padding: calc(30px + var(--safe-top)) var(--gutter) 10px; position: relative; overflow: hidden; }
.check-anim { width: 120px; height: 120px; margin: 10px auto 22px; position: relative; }
.check-anim::before { content: ""; position: absolute; inset: -18px; border-radius: 50%; background: radial-gradient(circle, rgba(62,142,106,.22), transparent 65%); animation: breathe 2.6s ease-in-out infinite; transform: none; }
.check-anim svg { width: 100%; height: 100%; position: relative; }
.check-anim .c { stroke-dasharray: 330; stroke-dashoffset: 330; animation: drawC .8s .1s var(--ease) forwards; }
.check-anim .t { stroke-dasharray: 80; stroke-dashoffset: 80; animation: drawC .45s .75s var(--ease) forwards; }
.check-anim .fill { transform-origin: center; transform: scale(0); animation: popFill .5s .55s var(--ease) forwards; }
@keyframes drawC { to { stroke-dashoffset: 0; } }
@keyframes popFill { to { transform: scale(1); } }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; opacity: 0; animation: fall 2.6s ease-in forwards; }
@keyframes fall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(520px) rotate(540deg); } }
.booking-id { display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); font-size: .8rem; font-weight: 700; color: var(--muted); }
.booking-id strong { color: var(--ink); letter-spacing: .06em; }
.booking-id button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; font-size: .8rem; }
.ticket-card { background: var(--surface); border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--sh); position: relative; overflow: hidden; }
.ticket-card__top { padding: 18px; display: flex; gap: 14px; align-items: center; }
.ticket-card__top img { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; }
.ticket-card__cut { position: relative; height: 0; border-top: 2px dashed var(--line); margin: 0 18px; }
.ticket-card__cut::before, .ticket-card__cut::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); }
.ticket-card__cut::before { left: -30px; } .ticket-card__cut::after { right: -30px; }
.ticket-card__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px; }
.ticket-card__grid small { display: block; font-size: .68rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.ticket-card__grid strong { font-size: .92rem; color: var(--ink); }
.quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quick-actions button, .quick-actions a { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); padding: 12px 6px; font-size: .74rem; font-weight: 700; color: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.quick-actions .bi { font-size: 1.2rem; color: var(--gold-dark); }
.points-earned { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--gold-soft), var(--blush)); }
.points-earned .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-size: 1.2rem; }
.points-earned strong { display: block; color: var(--ink); }
.points-earned small { font-size: .78rem; color: var(--ink-2); }
/* Phase 4 refinements */
.t-label { font-family: var(--font-body); }
.member-hero .check-list li { color: rgba(255,255,255,.9); }
.member-hero .check-list .bi { color: var(--gold); }
.flow-footer.is-plain { border-radius: 0; box-shadow: none; border-top: 0; backdrop-filter: none; background: linear-gradient(180deg, rgba(250,245,241,0), var(--cream) 22%); padding-top: 28px; }

/* =========================================================
   PHASE 5 — My bookings
   38 Booking cards        41 Cancel sheet
   39 Booking detail       42 Review
   40 Check-in pass        43 Notifications
   ========================================================= */

/* 38. BOOKING CARDS ---------------------------------------- */
.segment .badge-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; background: var(--line); color: var(--ink); font-size: .68rem; font-weight: 800; margin-left: 4px; padding: 0 5px; }
.segment .is-active .badge-n { background: var(--ink); color: var(--gold); }
.bk-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; margin-bottom: 12px; animation: fadeUp .45s var(--ease) both; }
.bk-card__top { display: flex; gap: 12px; align-items: flex-start; }
.date-block { width: 54px; flex-shrink: 0; border-radius: 14px; background: var(--ink); color: #fff; text-align: center; padding: 7px 0 6px; line-height: 1.1; }
.date-block small { display: block; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.date-block strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.date-block em { display: block; font-style: normal; font-size: .62rem; font-weight: 700; color: rgba(255,255,255,.6); }
.bk-card.is-past .date-block { background: var(--blush); color: var(--ink); }
.bk-card.is-past .date-block small { color: var(--plum); }
.bk-card.is-past .date-block em { color: var(--muted); }
.bk-card.is-cancelled .date-block { background: #EFE9E6; color: var(--muted); }
.bk-card.is-cancelled .date-block small, .bk-card.is-cancelled .date-block em { color: var(--muted); }
.bk-card__body { flex: 1; min-width: 0; }
.bk-card__body h4 { font-size: .95rem; margin: 0 0 3px; line-height: 1.3; }
.bk-card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .76rem; color: var(--muted); font-weight: 600; }
.bk-card__meta .bi { color: var(--gold-dark); margin-right: 3px; }
.status { display: inline-flex; align-items: center; gap: 5px; font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 20px; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.is-confirmed { background: rgba(62,142,106,.12); color: var(--success); }
.status.is-pending { background: #FBF0E4; color: #B07A3C; }
.status.is-completed { background: #ECE6F0; color: #6B4F7A; }
.status.is-cancelled { background: #F7E3E0; color: var(--danger); }
.bk-card__foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.bk-card__foot .who { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; font-size: .78rem; font-weight: 700; color: var(--ink); }
.bk-card__foot .who img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.btn-chip { height: 34px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 800; font-size: .74rem; color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.btn-chip.is-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-chip.is-danger { color: var(--danger); }
.bk-card__soon { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 10px; border-radius: 10px; background: var(--gold-soft); font-size: .76rem; font-weight: 700; color: var(--ink); }
.bk-card__soon .bi { color: var(--gold-dark); }
.rated { display: inline-flex; align-items: center; gap: 3px; color: var(--gold); font-size: .72rem; }

/* 39. BOOKING DETAIL --------------------------------------- */
.detail-status { text-align: center; padding: 6px 0 18px; }
.detail-status .status { font-size: .72rem; padding: 6px 12px; }
.detail-status h2 { font-size: 1.9rem; margin: 10px 0 4px; }
.countdown { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.countdown div { width: 64px; padding: 8px 0; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.countdown strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown small { font-size: .62rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.track { list-style: none; padding: 0; margin: 0; display: flex; justify-content: space-between; position: relative; }
.track::before { content: ""; position: absolute; left: 18px; right: 18px; top: 13px; height: 2px; background: var(--line); }
.track__fill { position: absolute; left: 18px; top: 13px; height: 2px; background: var(--success); transition: width .6s var(--ease); }
.track li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 62px; text-align: center; font-size: .64rem; font-weight: 700; color: var(--muted); line-height: 1.2; }
.track li span { width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); display: grid; place-items: center; font-size: .78rem; color: var(--muted); }
.track li.is-done { color: var(--ink); }
.track li.is-done span { background: var(--success); border-color: var(--success); color: #fff; }
.track li.is-now span { border-color: var(--success); color: var(--success); box-shadow: 0 0 0 4px rgba(62,142,106,.15); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(62,142,106,0); } }
.contact-row { display: flex; align-items: center; gap: 12px; }
.contact-row img { width: 52px; height: 52px; border-radius: 16px; object-fit: cover; }
.contact-row .icon-btn { width: 42px; height: 42px; font-size: 1rem; }
.help-link { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: .9rem; }
.help-link .bi:first-child { width: 38px; height: 38px; border-radius: 12px; background: var(--blush); color: var(--plum); display: grid; place-items: center; }
.help-link .bi:last-child { margin-left: auto; color: var(--muted); }
.flow-footer .btn-row { display: flex; gap: 10px; }
.flow-footer .btn-row .btn-app { --h: 52px; }

/* 40. CHECK-IN PASS ---------------------------------------- */
.pass { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--r-lg); background: var(--ink); color: rgba(255,255,255,.7); }
.pass__qr { width: 96px; height: 96px; padding: 7px; background: #fff; border-radius: 14px; flex-shrink: 0; }
.pass__qr svg { width: 100%; height: 100%; display: block; }
.pass strong { color: #fff; display: block; font-size: 1rem; }
.pass .code { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold); letter-spacing: .08em; }

/* 41. CANCEL SHEET ----------------------------------------- */
.reason-list label { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r); margin-bottom: 8px; font-weight: 600; font-size: .88rem; color: var(--ink); cursor: pointer; transition: all .2s; }
.reason-list input { width: 20px; height: 20px; accent-color: var(--ink); }
.reason-list label:has(input:checked) { border-color: var(--ink); background: var(--gold-soft); }
.refund-box { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: var(--r); background: #EAF4EE; font-size: .84rem; color: var(--ink); }
.refund-box strong { color: var(--success); font-size: 1.05rem; }
.refund-box.is-fee { background: #FBF0E4; }
.refund-box.is-fee strong { color: #B07A3C; }

/* 42. REVIEW ----------------------------------------------- */
.review-head { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.review-head img { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; }
.star-input { display: flex; justify-content: center; gap: 8px; margin: 10px 0 6px; }
.star-input button { border: 0; background: none; padding: 2px; font-size: 2.4rem; color: #E3D6CE; transition: transform .2s var(--ease), color .2s; line-height: 1; }
.star-input button.is-on { color: var(--gold); }
.star-input button:active { transform: scale(.85); }
.star-input button.pop { animation: starPop .4s var(--ease); }
@keyframes starPop { 50% { transform: scale(1.3) rotate(-8deg); } }
.star-label { text-align: center; font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); min-height: 1.9rem; }
.mini-rate { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink); }
.mini-rate:last-child { border-bottom: 0; }
.mini-rate .star-input { margin: 0; gap: 2px; }
.mini-rate .star-input button { font-size: 1.25rem; }
.photo-row { display: flex; gap: 8px; flex-wrap: wrap; }
.photo-add, .photo-thumb { width: 76px; height: 76px; border-radius: 14px; position: relative; }
.photo-add { border: 1.5px dashed #D6C6BB; display: grid; place-items: center; color: var(--gold-dark); font-size: 1.4rem; cursor: pointer; background: var(--surface); }
.photo-add small { position: absolute; bottom: 8px; font-size: .6rem; font-weight: 700; color: var(--muted); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.photo-thumb button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--cream); background: var(--ink); color: #fff; font-size: .6rem; display: grid; place-items: center; padding: 0; }
.tip-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tip-row .chip { justify-content: center; padding: 0; }
.thanks { text-align: center; padding: 10px 0 4px; }
.thanks .empty-state__ic { background: var(--gold-soft); color: var(--gold-dark); }

/* 43. NOTIFICATIONS ---------------------------------------- */
.nt-group { margin-top: 16px; }
.nt-group h3 { font-family: var(--font-body); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.nt-wrap { position: relative; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 8px; background: var(--danger); }
.nt-wrap__del { position: absolute; right: 0; top: 0; bottom: 0; width: 84px; display: grid; place-items: center; color: #fff; font-size: 1.2rem; border: 0; background: transparent; }
.nt { position: relative; display: flex; gap: 12px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .3s var(--ease); touch-action: pan-y; width: 100%; text-align: left; }
.nt.is-unread { background: #FFFCF8; border-color: #EBDCCF; }
.nt.is-unread::after { content: ""; position: absolute; top: 16px; right: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.nt__ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.15rem; flex-shrink: 0; }
.nt__ic.is-booking { background: rgba(62,142,106,.12); color: var(--success); }
.nt__ic.is-offer { background: var(--gold-soft); color: var(--gold-dark); }
.nt__ic.is-reminder { background: #E8EEF6; color: #4A6A93; }
.nt__ic.is-points { background: var(--blush); color: var(--plum); }
.nt__body { flex: 1; min-width: 0; padding-right: 10px; }
.nt__body strong { display: block; font-size: .9rem; color: var(--ink); line-height: 1.3; }
.nt__body p { font-size: .8rem; color: var(--muted); margin: 2px 0 4px; }
.nt__body small { font-size: .7rem; color: #AFA2A7; font-weight: 600; }
.nt-wrap.is-gone { max-height: 0 !important; margin: 0; opacity: 0; transition: all .35s var(--ease); }
.bk-card { cursor: pointer; }
.bk-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.min-w-0 { min-width: 0; }
/* Phase 5 refinements */
.field__label { font-family: var(--font-body); letter-spacing: 0; }
.nt-wrap { background: transparent; }
.nt-wrap__del { top: 2px; bottom: 2px; right: 2px; width: 92px; background: var(--danger); border-radius: var(--r-lg); padding-left: 8px; }

/* =========================================================
   PHASE 6 — Profile & account
   44 Profile header & menu   47 Refer & earn
   45 Wallet & loyalty        48 Settings
   46 Favourites              49 Help & support
   ========================================================= */

/* 44. PROFILE HEADER & MENU -------------------------------- */
.pf-head { position: relative; padding: calc(10px + var(--safe-top)) var(--gutter) 0; }
.pf-card { position: relative; border-radius: var(--r-xl); padding: 20px; background: var(--ink); color: rgba(255,255,255,.7); overflow: hidden; }
.pf-card::before { content: ""; position: absolute; width: 240px; height: 240px; right: -80px; top: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(201,164,126,.45), transparent 65%); }
.pf-card__top { position: relative; display: flex; align-items: center; gap: 14px; }
.pf-avatar { width: 68px; height: 68px; border-radius: 50%; overflow: hidden; border: 3px solid var(--gold); background: var(--blush); flex-shrink: 0; }
.pf-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pf-card h2 { color: #fff; font-size: 1.7rem; margin: 0; }
.pf-card .edit { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; }
.tier-badge { display: inline-flex; align-items: center; gap: 5px; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; background: var(--gold); color: var(--ink); margin-top: 6px; }
.tier-badge.is-none { background: rgba(255,255,255,.12); color: #fff; }
.pf-stats { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); text-align: center; }
.pf-stats strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: #fff; line-height: 1.1; }
.pf-stats small { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.pf-stats div + div { border-left: 1px solid rgba(255,255,255,.12); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.quick-grid a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-size: .72rem; font-weight: 700; color: var(--ink); text-align: center; position: relative; }
.quick-grid .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem; background: var(--tint, var(--blush)); color: var(--plum); }
.quick-grid .pill { position: absolute; top: 6px; right: 6px; font-size: .58rem; font-weight: 800; background: var(--ink); color: var(--gold); padding: 2px 6px; border-radius: 10px; }
.menu-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.menu-title { font-family: var(--font-body); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 22px 4px 8px; }
.menu-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border: 0; background: none; text-align: left; font-weight: 600; font-size: .92rem; color: var(--ink); }
.menu-item + .menu-item { border-top: 1px solid var(--line); }
.menu-item > .bi:first-child { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--cream); color: var(--ink); font-size: 1rem; flex-shrink: 0; }
.menu-item > span:not(.end):not(.toggle) { flex: 1; min-width: 0; }
.menu-item .toggle { flex: 0 0 48px; }
.menu-item small { display: block; font-size: .74rem; color: var(--muted); font-weight: 500; }
.menu-item .end { color: var(--muted); font-size: .8rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.menu-item .end .bi { font-size: .9rem; }
.menu-item.is-danger, .menu-item.is-danger > .bi:first-child { color: var(--danger); }
.menu-item.is-danger > .bi:first-child { background: #F7E9E7; }
.menu-item .toggle { margin-left: auto; }
.app-version { text-align: center; font-size: .72rem; color: #B3A6AB; margin: 22px 0 6px; }
.member-cta { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--gold-soft), var(--blush)); border: 1px solid #EBDCCF; }

/* 45. WALLET & LOYALTY ------------------------------------- */
.wallet-card { position: relative; border-radius: var(--r-xl); padding: 22px; color: #fff; overflow: hidden; background: linear-gradient(145deg, #3B2D33, #1E1619); box-shadow: var(--sh-lg); }
.wallet-card::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; right: -120px; bottom: -160px; border: 40px solid rgba(201,164,126,.12); }
.wallet-card small { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.6); }
.wallet-card .bal { font-family: var(--font-display); font-size: 3rem; line-height: 1.05; display: block; margin: 4px 0 16px; }
.wallet-card .row-btns { display: flex; gap: 10px; position: relative; z-index: 1; }
.wallet-card .btn-app { --h: 46px; font-size: .88rem; }
.points-card { margin-top: 14px; padding: 18px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.points-card__top { display: flex; align-items: center; gap: 12px; }
.points-card__top .ic { width: 48px; height: 48px; border-radius: 16px; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; font-size: 1.3rem; }
.points-card strong.big { font-family: var(--font-display); font-size: 2rem; color: var(--ink); line-height: 1; }
.tier-bar { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; margin: 14px 0 6px; }
.tier-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-dark)); transition: width 1s var(--ease); width: 0; }
.tier-labels { display: flex; justify-content: space-between; font-size: .7rem; font-weight: 700; color: var(--muted); }
.txn { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); animation: fadeUp .4s var(--ease) both; }
.txn:last-child { border-bottom: 0; }
.txn .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1rem; flex-shrink: 0; }
.txn .ic.is-in { background: rgba(62,142,106,.12); color: var(--success); }
.txn .ic.is-out { background: #F7E9E7; color: var(--danger); }
.txn div { flex: 1; min-width: 0; }
.txn strong { display: block; font-size: .88rem; color: var(--ink); }
.txn small { font-size: .72rem; color: var(--muted); }
.txn .amt { font-weight: 800; font-size: .92rem; }
.txn .amt.is-in { color: var(--success); }
.txn .amt.is-out { color: var(--ink); }
.amount-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0; }
.amount-chips .chip { justify-content: center; padding: 0; }
.big-input { font-family: var(--font-display); font-size: 2.4rem; text-align: center; border: 0; border-bottom: 2px solid var(--line); background: transparent; width: 100%; outline: 0; color: var(--ink); padding: 4px 0; }
.big-input:focus { border-color: var(--gold); }

/* 46. FAVOURITES ------------------------------------------- */
.fav-st-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fav-st { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 12px; text-align: center; animation: fadeUp .45s var(--ease) both; }
.fav-st img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; margin: 0 auto 8px; border: 3px solid var(--blush); }
.fav-st strong { display: block; color: var(--ink); font-size: .9rem; }
.fav-st small { font-size: .72rem; color: var(--muted); }
.fav-st .fav-btn { top: 8px; right: 8px; border: 1px solid var(--line); }
.fav-st .btn-chip { margin-top: 10px; width: 100%; justify-content: center; }

/* 47. REFER & EARN ----------------------------------------- */
.refer-hero { text-align: center; padding: 22px 18px; border-radius: var(--r-xl); background: linear-gradient(160deg, var(--blush), var(--gold-soft)); position: relative; overflow: hidden; }
.refer-hero__gift { width: 92px; height: 92px; margin: 0 auto 14px; border-radius: 30px; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-size: 2.5rem; box-shadow: var(--sh); animation: float 4s ease-in-out infinite; }
.refer-hero h2 { font-size: 2rem; margin-bottom: 6px; }
.code-box { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 18px; margin-top: 18px; border-radius: var(--r); border: 2px dashed var(--gold); background: var(--surface); }
.code-box strong { flex: 1; text-align: left; font-family: var(--font-display); font-size: 1.7rem; letter-spacing: .14em; color: var(--ink); }
.code-box .btn-app { --h: 44px; width: auto; padding: 0 16px; font-size: .85rem; }
.share-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.share-grid button { border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; color: var(--ink); }
.share-grid span { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.3rem; color: #fff; }
.how-steps { display: grid; gap: 10px; }
.how-step { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.how-step b { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-size: .85rem; flex-shrink: 0; }
.how-step strong { display: block; font-size: .88rem; color: var(--ink); }
.how-step small { font-size: .76rem; color: var(--muted); }
.friend { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.friend:last-child { border-bottom: 0; }
.friend .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--plum); background: var(--blush); flex-shrink: 0; }
.friend div { flex: 1; }
.friend strong { display: block; font-size: .88rem; color: var(--ink); }
.friend small { font-size: .72rem; color: var(--muted); }

/* 48. SETTINGS --------------------------------------------- */
.sheet-list .is-selected button { color: var(--ink); font-weight: 800; }
.danger-zone { text-align: center; margin-top: 18px; }
.danger-zone button { border: 0; background: none; color: var(--danger); font-weight: 700; font-size: .85rem; }

/* 49. HELP & SUPPORT --------------------------------------- */
.help-hero { padding: 20px; border-radius: var(--r-xl); background: var(--ink); color: rgba(255,255,255,.7); position: relative; overflow: hidden; }
.help-hero::before { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(201,164,126,.4), transparent 65%); }
.help-hero h2 { color: #fff; font-size: 1.8rem; position: relative; }
.help-hero .search-box { position: relative; margin-top: 14px; border: 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.contact-grid a, .contact-grid button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); font-size: .74rem; font-weight: 700; color: var(--ink); text-align: center; }
.contact-grid .ic { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: 1.15rem; }
.contact-grid small { font-size: .64rem; color: var(--muted); font-weight: 600; }
.ticket-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ticket-row:last-child { border-bottom: 0; }
.ticket-row div { flex: 1; min-width: 0; }
.ticket-row strong { display: block; font-size: .86rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket-row small { font-size: .72rem; color: var(--muted); }
.no-faq { display: none; text-align: center; color: var(--muted); font-size: .86rem; padding: 18px 0; }
select.input-app { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%232A1F24' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 16px center; background-size: 14px; padding-right: 40px; }

/* Phase 6 refinements */
.faq .accordion-button { font-family: var(--font-body); letter-spacing: 0; line-height: 1.4; }
.menu-item .end .badge { font-size: .68rem; }
