/* WPI site engine — PERSONAL-CARE family "Luxe Salon" skin (recipe registry
   skinKey: 'salon-luxe'). Same CLASS CONTRACT as every other sheet (app.js /
   book.js / salon.js render unchanged — one engine, N skins), re-authored for an
   upscale hair + beauty studio: calm, spacious, warm neutrals (cream / linen /
   espresso) with ONE deep oxblood accent used sparingly, a Palatino-class serif
   display stack (system faces only — NO new bundled font, so font-src stays
   'self'), a light typographic hero that turns image-forward when the merchant
   adds a photo, services and the price list rendered as a MENU (two columns,
   dotted leaders) instead of icon cards, a soft-masonry lookbook / team, and a
   quiet reviews carousel. Booking is the whole point: the hero card, every
   "Book" CTA and book.html are the most designed surfaces on the site.

   STRUCTURE vs. RECOLOR: a non-default skin gets `<html data-skin="salon-luxe">`
   on EVERY generated page (provisioner skin-hook). The layout-restructuring rules
   below are scoped to that attribute for two reasons: (1) it says out loud which
   rules change the DOM's shape rather than its colors, and (2) the additive
   blocks the provisioner appends AFTER this sheet (SALON_CSS slot picker,
   REVIEWS_RAIL_CSS, GALLERY_CSS) are plain class selectors — the attribute
   prefix out-specifies them without !important. Per-merchant --brand/--accent
   are still injected + AA-clamped by app.js at runtime, so a salon's own colors
   win verbatim; the tokens here are only the out-of-the-box defaults. */

/* Display face: the engine bundles ONE self-hosted variable woff2 (Archivo),
   served same-origin so the strict 'self' CSP allows it. Luxe uses Archivo for
   UI (buttons, labels, small caps) and a Palatino-class SERIF system stack for
   the display — no extra font request, fast first paint. */
@font-face{
  font-family:'Archivo';
  src:url('archivo.woff2') format('woff2');
  font-weight:500 900;
  font-style:normal;
  font-display:swap;
}

:root{
  /* ---- Brand (runtime-injected + WCAG-clamped by app.js; never hardcode) ----
     Out-of-the-box: espresso primary (fills, focus, links) + ONE deep oxblood
     accent (eyebrows, prices, markers, the pay button). A merchant's own
     --brand/--accent override these at runtime. */
  --brand:#3B2A26;          /* espresso — primary fill, links, focus */
  --brand-fg:#ffffff;
  --accent:#7A2E3B;         /* oxblood grace note (>=4.5:1 white text; >=7:1 on linen) */
  --accent-fg:#ffffff;
  --accent-on-dark:#E3A9B2;  /* soft rose tint for eyebrow/stars on the photo hero */

  /* ---- Neutrals (warm cream/linen/espresso; all >=4.5:1 where used) ---- */
  --ink:#2A211E;             /* headings, prices — warm near-black */
  --body:#4F4642;            /* body text */
  --muted:#6F655F;           /* secondary; >=4.5:1 on cream AND linen */
  --line:#E7DFD4;            /* hairlines */
  --line-strong:#D6CBBC;     /* heavier dividers / input borders */
  --bg:#FBF8F3;              /* cream page — lum .942, LIGHTER than app.js's clamp surface */
  --bg-alt:#F3EDE4;          /* linen alt sections */
  --bg-sunken:#ECE4D8;       /* deeper panel wells */

  /* ---- Foundation scales (serif display, sans UI) ---- */
  --display:"Iowan Old Style","Palatino Linotype","Book Antiqua",Palatino,"Hoefler Text",Georgia,"Times New Roman",serif;
  --sans:'Archivo', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Type scale — a large, airy display; body stays 1rem */
  --fs-eyebrow:.72rem;
  --fs-sm:.875rem;
  --fs-base:1rem;
  --fs-lg:1.125rem;
  --fs-h3:1.3rem;
  --fs-h2:clamp(2.1rem,4.4vw,3.4rem);
  --fs-h1:clamp(2.9rem,6.6vw,5.2rem);

  /* Spacing scale (4 / 8 px rhythm) */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px;
  --s-6:32px; --s-7:48px; --s-8:64px; --s-9:96px;

  /* Derived brand ramp (tenant color flows through via color-mix) */
  --brand-strong:color-mix(in srgb, var(--brand) 84%, #000);   /* hover fill */
  --brand-wash:color-mix(in srgb, var(--brand) 6%, #fff);       /* faint tint */
  --brand-chip:color-mix(in srgb, var(--brand) 10%, #fff);      /* icon chip */
  --brand-ring:color-mix(in srgb, var(--brand) 40%, transparent);
  --focus-ring:var(--brand);
  /* Brand/accent AS TEXT on the LINEN surfaces. app.js clamps --brand and
     --accent to >=4.5:1 only against the auto sheet's #f5f7fa (lum .928). The
     cream page (.942) is lighter, so raw tokens are safe there — but linen
     (#F3EDE4, lum .852) is darker, and a boundary-clamped brand used as link
     text would land at ~4.3:1 on it. Mixing toward --ink darkens the tenant
     hue just enough that BOTH pass AA on linen for any clamped value (the
     editorial skin's proven --brand-link trick, applied to the accent too). */
  --brand-link:color-mix(in srgb, var(--brand) 82%, var(--ink));
  --accent-text:color-mix(in srgb, var(--accent) 84%, var(--ink));

  /* Dark palette — warm espresso-black for the photo hero scrim + footer. Token
     names (navy-*) are kept for class-contract parity; app.js never reads them. */
  --navy-900:#1B1412;
  --navy-800:#261D1A;
  --navy-700:color-mix(in srgb, var(--brand) 30%, #2E2320);

  /* Elevation — soft, warm, low: the hero card floats, nothing else shouts */
  --sh-sm:0 1px 2px rgba(42,33,30,.04), 0 2px 6px rgba(42,33,30,.05);
  --sh-md:0 6px 14px rgba(42,33,30,.06), 0 18px 38px rgba(42,33,30,.09);
  --sh-lg:0 14px 30px rgba(42,33,30,.10), 0 40px 80px rgba(42,33,30,.16);
  --shadow:var(--sh-md);     /* back-compat alias */

  /* Radii — soft, generous */
  --radius:18px;
  --r-sm:12px;
  --r-pill:999px;

  --maxw:1200px;
  font-synthesis:none;
}

*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;color:var(--body);background:var(--bg);
  font-family:var(--sans);font-size:var(--fs-base);
  line-height:1.68;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
/* The bundled Archivo starts at wght 500, so body copy sits on the SYSTEM sans
   (a true 400) while headings, labels and buttons take Archivo/serif. */
body,p,td,textarea,input,select{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
h1,h2,h3{font-family:var(--display);color:var(--ink);line-height:1.06;margin:0 0 .4em;letter-spacing:-.012em;font-weight:400}
p{margin:0 0 1em}
a{color:var(--brand-link);text-decoration:none}
.muted{color:var(--muted)}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 clamp(16px,4vw,40px)}

/* Visible keyboard focus everywhere. --brand is WCAG-clamped to >=4.5:1 on the
   lightest surface by app.js, so this ring clears the 3:1 non-text floor
   (WCAG 1.4.11) on cream and linen. */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,
textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible{
  outline:3px solid var(--brand);
  outline-offset:3px;border-radius:8px;
}

/* ---------------- Buttons (small-caps pills, >=44px tall) ----------------
   Every button is a real touch target: a salon customer books on a phone. */
.btn{
  position:relative;
  display:inline-flex;align-items:center;justify-content:center;gap:.5em;
  min-height:44px;
  font-family:var(--sans);font-weight:600;font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;
  border:1.5px solid transparent;border-radius:var(--r-pill);padding:.9em 1.9em;
  cursor:pointer;line-height:1;white-space:nowrap;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn--lg{min-height:52px;padding:1.1em 2.4em;font-size:.86rem}
.btn--block{width:100%}
.btn--primary{background:var(--brand);color:var(--brand-fg);box-shadow:0 10px 24px color-mix(in srgb,var(--brand) 22%,transparent)}
.btn--primary:hover{background:var(--brand-strong);transform:translateY(-2px);box-shadow:0 16px 34px color-mix(in srgb,var(--brand) 30%,transparent)}
.btn--accent{background:var(--accent);color:var(--accent-fg);box-shadow:0 10px 24px color-mix(in srgb,var(--accent) 24%,transparent)}
.btn--accent:hover{background:color-mix(in srgb,var(--accent) 86%,#000);transform:translateY(-2px);box-shadow:0 16px 34px color-mix(in srgb,var(--accent) 34%,transparent)}
/* Ghost = hairline ink outline — the quiet secondary action. */
.btn--ghost{background:transparent;border-color:var(--line-strong);color:var(--ink)}
.btn--ghost:hover{border-color:var(--ink);background:color-mix(in srgb,var(--ink) 4%,transparent);transform:translateY(-2px)}
.btn:active{transform:translateY(0) scale(.99)}
.btn--phone{font-variant-numeric:tabular-nums}
/* SALON_CSS's .btn--sm shrinks padding/font; keep the 44px floor regardless. */
.btn--sm{min-height:44px}

/* ---------------- Topbar (cream, hairline base, serif wordmark) ---------------- */
.topbar{position:sticky;top:0;z-index:40;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:saturate(120%) blur(12px);border-bottom:1px solid var(--line)}
.topbar__inner{display:flex;align-items:center;gap:26px;height:80px}
.brand{display:flex;align-items:center;gap:14px;font-family:var(--display);font-weight:400;color:var(--ink)}
/* Mark = a hairline oxblood ring with a serif italic initial (no heavy fill). */
.brand__badge{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:transparent;color:var(--accent-text);font-family:var(--display);font-size:1.2rem;font-style:italic;letter-spacing:-.02em;border:1.5px solid var(--accent-text)}
.brand__logo{height:46px;max-height:46px;width:auto;max-width:200px;object-fit:contain;display:block}
.brand__name{font-size:1.42rem;letter-spacing:-.005em}
.nav{display:flex;gap:2px;margin-left:auto}
.nav a{position:relative;color:var(--body);font-family:var(--sans);font-weight:600;font-size:.74rem;letter-spacing:.18em;text-transform:uppercase;padding:12px 14px;border-radius:var(--r-pill);transition:color .15s ease, background .15s ease}
.nav a:hover{color:var(--ink);background:var(--bg-alt)}
.topbar .btn--phone{margin-left:8px}

/* ---------------- Hero (light + typographic; image-forward with a photo) ----------------
   NO photo: a cream hero with an oversized serif headline and a soft linen glow —
   it must look finished with zero merchant assets. WITH a photo (app.js adds
   .hero--has-image + --hero-image): the photo fills the hero under a warm
   espresso scrim and the copy inverts to light. The floating booking card is the
   same in both. */
.hero{
  position:relative;overflow:hidden;color:var(--body);
  padding:clamp(56px,7vw,112px) 0 clamp(64px,8vw,120px);
  background:
    radial-gradient(760px 480px at 88% 0%, color-mix(in srgb,var(--accent) 9%,transparent), transparent 62%),
    radial-gradient(640px 420px at 0% 100%, var(--bg-alt), transparent 64%),
    var(--bg);
  border-bottom:1px solid var(--line);
}
/* Hairline frame inset in the hero — the "engraved card" cue of a luxe menu. */
.hero::before{
  content:"";position:absolute;inset:18px;pointer-events:none;
  border:1px solid color-mix(in srgb,var(--line-strong) 70%,transparent);border-radius:calc(var(--radius) + 6px);
}
.hero::after{content:"";position:absolute;right:-120px;top:-120px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--accent) 12%,transparent),transparent 70%);pointer-events:none}
.hero--has-image{
  color:#F4EDE4;border-bottom:0;
  background:
    linear-gradient(168deg, color-mix(in srgb,var(--navy-900) var(--hero-ov-top,90%),transparent) 0%, color-mix(in srgb,var(--navy-800) var(--hero-ov-mid,82%),transparent) 52%, color-mix(in srgb,var(--navy-900) var(--hero-ov-bot,87%),transparent) 100%),
    var(--hero-image) center / cover no-repeat,
    var(--navy-900);
}
.hero--has-image::before{border-color:rgba(244,237,228,.22)}
.hero--has-image::after{display:none}
.hero__inner{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(36px,5vw,72px);align-items:center;position:relative;z-index:1}
/* Lead form off → a single centered column so the headline owns the stage. */
.hero__inner:has(> .hero__copy:only-child){grid-template-columns:1fr;max-width:860px;text-align:center}
.hero__inner:has(> .hero__copy:only-child) .hero__cta,
.hero__inner:has(> .hero__copy:only-child) .hero__trust,
.hero__inner:has(> .hero__copy:only-child) .eyebrow{justify-content:center}
.hero__inner:has(> .hero__copy:only-child) .lede{margin-left:auto;margin-right:auto}
.eyebrow{display:inline-flex;align-items:center;gap:12px;text-transform:uppercase;letter-spacing:.28em;font-size:var(--fs-eyebrow);font-weight:600;font-family:var(--sans);color:var(--accent-text);margin:0 0 24px}
.eyebrow::before{content:"";width:34px;height:1px;background:currentColor}
/* Over a photo the eyebrow goes near-white so it stays AA whatever the accent. */
.hero--has-image .eyebrow{color:#F4EDE4}
.hero h1{color:var(--ink);font-size:var(--fs-h1);font-weight:400;line-height:.98;letter-spacing:-.022em;margin:0 0 .3em}
.hero--has-image h1{color:#fff}
.lede{font-size:clamp(1.08rem,1.7vw,1.3rem);color:var(--body);margin:0 0 36px;max-width:44ch;line-height:1.66}
.hero--has-image .lede{color:#E6DBD0}
.hero__cta{display:flex;gap:14px;flex-wrap:wrap}
/* On the photo hero the primary CTA inverts to cream-on-ink so it reads as the
   light button against the dark scrim (an espresso fill would sink into it). */
.hero--has-image .hero__cta .btn--primary{background:var(--bg);color:var(--ink);box-shadow:0 10px 24px rgba(0,0,0,.28)}
.hero--has-image .hero__cta .btn--primary:hover{background:#fff;color:var(--ink)}
.hero__trust{margin-top:30px;display:flex;align-items:center;gap:14px;color:var(--muted);font-size:.95rem;font-weight:500;flex-wrap:wrap}
.hero--has-image .hero__trust{color:#E6DBD0}
.stars{color:var(--accent-text);letter-spacing:2px}
.hero--has-image .stars{color:#F2C9CF}

/* Floating "Book an appointment" card — white, deep soft shadow, a thin oxblood
   rule on top. It is the ONE elevated object in the hero. */
.hero__card{background:#fff;color:var(--ink);border-radius:var(--radius);padding:34px 32px 30px;box-shadow:var(--sh-lg);position:relative;overflow:hidden;border:1px solid var(--line)}
.hero__card::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--accent),color-mix(in srgb,var(--accent) 40%,var(--brand)))}
.hero__card h2{margin:0 0 .2em;font-size:1.7rem;font-weight:400;letter-spacing:-.01em}
.qform{display:flex;flex-direction:column;gap:14px;margin-top:22px}
.qfield{display:flex;flex-direction:column;gap:6px}
.qfield label{font-size:.72rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--ink);font-family:var(--sans)}
.req{font-weight:500;letter-spacing:0;text-transform:none;color:var(--muted)}
.qform input,.qform select{width:100%;box-sizing:border-box;min-height:48px;padding:.8em 1em;border:1.5px solid var(--line-strong);border-radius:var(--r-sm);font-size:1rem;color:var(--ink);background:#fff;transition:border-color .15s ease, box-shadow .15s ease}
.qform input:focus,.qform select:focus{border-color:var(--brand);box-shadow:0 0 0 1px #fff,0 0 0 4px var(--focus-ring);outline:none}
.qform__note{font-size:.8rem;color:var(--muted);margin:.9em 0 0}
.qfield--hp{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip-link{position:fixed;top:0;left:0;z-index:1000;background:var(--ink);color:#fff;padding:12px 16px;border-bottom-right-radius:10px;font-weight:600;transform:translateY(-120%);transition:transform .15s ease}
.skip-link:focus{transform:translateY(0)}
@media(prefers-reduced-motion:reduce){.skip-link{transition:none}}

/* ---------------- Trust strip (linen, small caps, hairline rules) ----------------
   Text is --ink on the FIXED linen surface (~13:1) — independent of the tenant
   brand, so it can never dip the way near-white text on an AA-boundary brand
   fill can. Icons carry the accent as a non-text grace note. */
.trustbar{background:var(--bg-alt);color:var(--ink);border-bottom:1px solid var(--line)}
.trustbar__inner{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 52px;padding:22px 0}
.trustbar__item{display:inline-flex;align-items:center;gap:12px;font-family:var(--sans);font-weight:600;font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink)}
.trustbar__item svg{width:20px;height:20px;color:var(--accent-text);flex:none}

/* ---------------- Sections (generous whitespace, hairline markers) ---------------- */
.section{padding:clamp(72px,10vw,124px) 0}
.section--alt{background:var(--bg-alt)}
.section__title{font-size:var(--fs-h2);font-weight:400;letter-spacing:-.016em;position:relative;padding-top:26px}
.section__title::before{content:"";position:absolute;top:0;left:0;width:40px;height:1px;background:var(--accent-text)}
.section__sub{color:var(--body);margin:.6em 0 clamp(40px,5vw,60px);font-size:var(--fs-lg);max-width:58ch;line-height:1.66}

/* ---------------- Grids / cards (defaults; the menu/masonry rules below reshape them) ---------------- */
.grid{display:grid;gap:24px}
.grid--3{grid-template-columns:repeat(3,1fr)}
.grid--4{grid-template-columns:repeat(4,1fr)}
.card{background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);padding:30px;box-shadow:var(--sh-sm);transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease}
.card:hover{transform:translateY(-3px);box-shadow:var(--sh-md);border-color:color-mix(in srgb,var(--accent) 24%,var(--line))}
.card__icon{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:var(--brand-chip);color:var(--brand);margin-bottom:18px}
.card__icon svg{width:24px;height:24px}
.card h3{font-size:var(--fs-h3);font-weight:400;margin-bottom:.3em;letter-spacing:-.01em}
.card p{margin:0;color:var(--body)}
.card--media{padding:0;overflow:hidden;display:flex;flex-direction:column}
.card__media{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;background:var(--bg-alt)}
.card--media .card__body{padding:24px 26px 26px;flex:1}

/* ---------------- Reviews (quiet serif pull-quotes) ---------------- */
.reviews__head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:36px;flex-wrap:wrap}
.card.review{display:flex;flex-direction:column;border:0;background:var(--bg);padding:52px 30px 28px;position:relative}
/* A large serif opening quote as the only ornament — the review IS the design. */
.card.review::before{content:"\201C";position:absolute;top:14px;left:26px;font-family:var(--display);font-size:4rem;line-height:1;color:var(--accent-text);opacity:.45}
.review .review__stars{color:var(--accent-text);letter-spacing:3px;margin-bottom:12px;font-size:1rem} /* >=4.5:1 on cream + linen */
.review p{font-size:1.14rem;color:var(--ink);font-family:var(--display);line-height:1.55;font-weight:400}
.review__name{font-weight:600;font-family:var(--sans);color:var(--ink);margin-top:18px;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase}
.review-attrib{grid-column:1/-1;margin:0 0 4px;font-size:.9rem;font-weight:600}
.review__author{display:flex;align-items:center;gap:10px;margin-top:18px}
.review__author .review__name{margin-top:0}
a.review__name{text-decoration:none}
a.review__name:hover,a.review__name:focus-visible{text-decoration:underline}
.review__avatar{width:34px;height:34px;border-radius:50%;object-fit:cover;flex:0 0 auto}
.empty-state{grid-column:1/-1;padding:20px 0}

/* ---------------- Gallery tiles (soft portrait frames; masonry below) ---------------- */
.tile{aspect-ratio:4/5;border-radius:var(--radius);background:linear-gradient(160deg,var(--navy-700),color-mix(in srgb,var(--accent) 36%,#5A4540));position:relative;overflow:hidden;display:flex;align-items:flex-end;color:#fff;box-shadow:var(--sh-sm)}
.tile:nth-child(2n){background:linear-gradient(160deg,#3D3230,#7C6C66)}
.tile:nth-child(3n){background:linear-gradient(160deg,#5A2E2A,color-mix(in srgb,var(--accent) 46%,#A8776A))}
.tile__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.tile:hover .tile__img{transform:scale(1.03)}
.tile span{position:relative;padding:30px 16px 14px;font-weight:600;font-size:.8rem;letter-spacing:.06em;background:linear-gradient(transparent,rgba(27,20,18,.62) 42%);width:100%}

/* ---------------- Products catalog defaults (menu layout below) ---------------- */
.catalog__section{grid-column:1/-1;margin:36px 0 8px;font-family:var(--display);font-size:1.7rem;font-weight:400;letter-spacing:-.01em;color:var(--ink);display:flex;align-items:center;gap:18px}
.catalog__section::after{content:"";flex:1;height:1px;background:var(--line-strong)}
.catalog__section:first-child{margin-top:0}
.card--product{position:relative;padding:0;overflow:hidden;display:flex;flex-direction:column}
.product__media{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;background:var(--bg-alt)}
.product__media--ph{display:grid;place-items:center;background:var(--brand-wash);color:var(--brand)}
.product__media--ph svg{width:46px;height:46px;opacity:.6}
.product__body{display:flex;flex-direction:column;gap:6px;padding:22px 24px 24px;flex:1}
.card--product .product__name{font-size:1.22rem;font-weight:400;font-family:var(--display);margin:0;letter-spacing:-.01em}
.product__desc{margin:0;font-size:.94rem;color:var(--body);line-height:1.55}
.product__price{margin-top:auto;padding-top:12px;color:var(--accent-text);font-family:var(--display);font-weight:400;font-size:1.36rem;font-variant-numeric:tabular-nums}
.card--out{filter:saturate(.4)}
.product__badge{position:absolute;top:14px;left:14px;background:var(--ink);color:#F4EDE4;font-size:.66rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;padding:.45em .9em;border-radius:var(--r-pill);box-shadow:var(--sh-sm)}
/* Tag chip TEXT is --ink (>=4.5:1 on the brand@10% wash for ANY brand). */
.product__tags{list-style:none;margin:2px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.product__tag{display:inline-flex;align-items:center;font-size:.66rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--ink);background:var(--brand-chip);border:1px solid var(--brand-ring);padding:.32em .75em;border-radius:var(--r-pill)}
.summary__instr-row{padding:0 0 10px;border-bottom:1px solid var(--line)}
.summary__instr-label{display:block;font-size:.82rem;color:var(--muted);margin:0 0 4px}
.summary__instr{width:100%;font:inherit;font-size:.92rem;color:var(--ink);background:var(--bg-alt);border:1px solid var(--line-strong);border-radius:var(--r-input,12px);padding:9px 12px}
.summary__instr:focus-visible{outline:2px solid var(--focus-ring);outline-offset:1px;border-color:var(--brand-ring)}

/* ---------------- Cart ---------------- */
.btn--add{margin-top:16px;align-self:flex-start}
.cart__count{display:inline-grid;place-items:center;min-width:1.5em;padding:.05em .45em;border-radius:var(--r-pill);background:var(--accent);color:var(--accent-fg);font-size:.78rem;font-weight:700;font-variant-numeric:tabular-nums}
dialog.cartdrawer{margin:0 0 0 auto;width:min(440px,100%);max-width:440px;height:100dvh;max-height:100dvh;border-radius:0;animation:slidein .2s ease;overflow-y:auto;background:var(--bg)}
@keyframes slidein{from{transform:translateX(28px);opacity:.4}to{transform:none;opacity:1}}
.cartdrawer__inner{display:flex;flex-direction:column;min-height:100%}
.cartdrawer__inner > div{display:flex;flex-direction:column;flex:1}
.cartitem{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}
.cartitem__info{flex:1;min-width:0}
.cartitem__name{font-weight:600;color:var(--ink)}
.cartitem__price{font-size:.88rem;color:var(--muted)}
.cartitem__qty{display:flex;align-items:center;gap:8px}
.qtybtn{width:44px;height:44px;border-radius:50%;border:1.5px solid var(--line-strong);background:#fff;color:var(--ink);font-size:1.05rem;line-height:1;cursor:pointer;display:grid;place-items:center;transition:border-color .15s,background .15s}
.qtybtn:hover{background:var(--bg-alt);border-color:var(--brand)}
.cartitem__count{min-width:2ch;text-align:center;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
.cartitem__remove{display:inline-flex;align-items:center;min-height:24px;border:0;background:none;color:var(--muted);cursor:pointer;font-size:.85rem;font-weight:600;text-decoration:underline;text-underline-offset:2px;padding:.3em .2em}
.cartitem__remove:hover{color:var(--ink)}
.cart__subtotal{display:flex;justify-content:space-between;align-items:baseline;font-weight:600;color:var(--ink);font-size:1.12rem;padding:18px 0 4px}
.cart__note{font-size:.82rem;color:var(--muted);margin:.4em 0 16px}
.cart__error{color:#A8322A;font-size:.9rem;margin:0 0 10px}
.cart__actions{margin-top:auto;display:flex;flex-direction:column;gap:10px;padding-top:16px}

/* ---------------- Contact ---------------- */
.contact__grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,5vw,64px);align-items:start}
.contact__line{display:flex;gap:14px;align-items:center;font-size:var(--fs-lg);margin:.6em 0}
.ico{width:42px;height:42px;border-radius:50%;display:inline-grid;place-items:center;background:transparent;border:1px solid var(--line-strong);color:var(--accent-text);flex:none}
.ico svg{width:18px;height:18px}
.hours__title{margin-top:36px;font-size:var(--fs-h3);font-weight:400;letter-spacing:-.01em}
.hours{border-collapse:collapse;width:100%;max-width:420px}
.hours td{padding:.62em 0;border-bottom:1px solid var(--line)}
.hours td:last-child{text-align:right;color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}
/* Open-now pill (app.js inserts it above the hours title). */
.hours__open{display:inline-flex;align-items:center;gap:8px;margin:.2em 0 1em;padding:.4em 1em;border:1px solid var(--line-strong);border-radius:var(--r-pill);font-size:.86rem;color:var(--ink);background:var(--bg)}
.hours__open strong{font-weight:600}
.holidays{margin-top:24px;max-width:420px}
.holidays__title{margin:0 0 8px;font-size:1.05rem;font-weight:600;font-family:var(--sans)}
.holidays__list{list-style:none;margin:0;padding:0}
.holiday{padding:.45em 0;border-bottom:1px solid var(--line);font-size:.98rem}
.holiday__when{font-weight:600;color:var(--ink)}
.holiday__label{color:var(--muted)}
.contact__cta{display:flex;gap:12px;margin-top:32px;flex-wrap:wrap}
.map{min-height:380px;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);background:var(--bg-sunken);box-shadow:var(--sh-sm)}
.map iframe{width:100%;height:100%;border:0;min-height:380px}

/* ---------------- Footer (espresso-black, hairline links) ---------------- */
.footer{background:var(--navy-900);color:#CFC3B8;padding:60px 0 32px}
.footer__inner{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:.92rem;align-items:center}
.footer__powered{display:inline-flex;align-items:center;flex-wrap:wrap;gap:.6em}
.footer__powered strong{color:#fff}
.wpi-credit{height:18px;width:auto;display:inline-block;vertical-align:middle}
.footer__links{display:inline-flex;flex-wrap:wrap;gap:.6em;font-size:.86rem}
.footer__links a:not(:last-child)::after{content:"·";margin-left:.6em;color:#8F8279;text-decoration:none}
.footer a{color:#E6DCD1;text-decoration:underline;text-underline-offset:2px}
.footer a:hover{color:#fff}

/* ---------------- Sticky mobile book bar ---------------- */
.paybar{position:fixed;bottom:0;left:0;right:0;z-index:45;display:none;gap:10px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:color-mix(in srgb,var(--bg) 96%,transparent);backdrop-filter:blur(10px);border-top:1px solid var(--line);box-shadow:0 -6px 20px rgba(42,33,30,.08)}
.paybar .btn{flex:1;min-height:50px}

/* ---------------- Dialog / modal ---------------- */
dialog.modal{border:0;border-radius:20px;padding:0;max-width:460px;width:calc(100% - 40px);box-shadow:var(--sh-lg);animation:pop .18s ease;background:var(--bg)}
dialog.modal:not([open]){display:none}
dialog.modal::backdrop{background:rgba(27,20,18,.56);backdrop-filter:blur(2px)}
.modal__inner{position:relative;padding:30px;border-radius:inherit}
@keyframes pop{from{transform:translateY(10px) scale(.98);opacity:.5}to{transform:none;opacity:1}}
.modal__x{position:absolute;right:8px;top:8px;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:none;font-size:1.8rem;line-height:1;cursor:pointer;color:var(--muted)}
.modal__x:hover{color:var(--ink)}
.modal h3{margin-top:0}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}
.field label{font-size:.85rem;font-weight:600;color:var(--ink)}
.field input,.field select,.field textarea{padding:.82em .95em;border:1.5px solid var(--line-strong);border-radius:var(--r-sm);font-size:1rem;color:var(--ink)}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--brand);box-shadow:0 0 0 1px #fff,0 0 0 4px var(--focus-ring);outline:none}
.secured{display:flex;align-items:center;gap:8px;font-size:.82rem;color:var(--muted);margin-top:16px;justify-content:center}
.success{text-align:center;padding:12px 0}
.success__check{width:64px;height:64px;border-radius:50%;background:#3E6B4E;color:#fff;display:grid;place-items:center;font-size:2rem;margin:0 auto 18px;box-shadow:0 8px 20px rgba(62,107,78,.28)}
.redirect-note{font-size:.8rem;word-break:break-all;text-align:center;margin-top:10px}

/* ---------------- Draft-preview banner ---------------- */
.draftbar{background:var(--accent);color:#fff;text-align:center;font-size:.85rem;font-weight:600;padding:10px 14px;position:relative;z-index:50}

/* ================================================================
   STRUCTURE — scoped to html[data-skin="salon-luxe"] (see the header note).
   ================================================================ */

/* ---- Services as a MENU: two columns of hairline rows, not icon cards ----
   The engine's services carry title/desc/icon (no price field), so the row is
   icon chip | serif title | description on a dotted rule — the price list with
   leaders is the catalog below, where real prices live. */
html[data-skin="salon-luxe"] #servicesGrid{grid-template-columns:1fr 1fr;column-gap:clamp(40px,5vw,72px);row-gap:0;align-items:start}
html[data-skin="salon-luxe"] #servicesGrid .card{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:18px;row-gap:2px;align-items:start;padding:22px 0;background:transparent;border:0;border-bottom:1px dotted var(--line-strong);border-radius:0;box-shadow:none}
html[data-skin="salon-luxe"] #servicesGrid .card:hover{transform:none;box-shadow:none;border-color:var(--line-strong)}
html[data-skin="salon-luxe"] #servicesGrid .card__icon{grid-row:1/3;width:44px;height:44px;margin:2px 0 0;background:transparent;border:1px solid var(--line-strong);color:var(--accent-text)}
html[data-skin="salon-luxe"] #servicesGrid .card__icon svg{width:20px;height:20px}
html[data-skin="salon-luxe"] #servicesGrid .card h3{grid-column:2;font-size:1.32rem;margin:0}
html[data-skin="salon-luxe"] #servicesGrid .card p{grid-column:2;color:var(--body);font-size:.95rem}
/* Photo services: the photo becomes a small round thumbnail on the row. */
html[data-skin="salon-luxe"] #servicesGrid .card--media{overflow:visible}
html[data-skin="salon-luxe"] #servicesGrid .card__media{grid-row:1/3;width:72px;height:72px;aspect-ratio:1;border-radius:50%;object-fit:cover}
html[data-skin="salon-luxe"] #servicesGrid .card--media .card__body{grid-column:2;padding:0}

/* ---- Price list (catalog) as a MENU with dotted leaders: name ······ price ----
   Round thumbnail when a product photo exists; the placeholder icon tile is
   dropped so a photo-less price list reads as pure typography. */
html[data-skin="salon-luxe"] #catalogGrid{grid-template-columns:1fr 1fr;column-gap:clamp(40px,5vw,72px);row-gap:0;align-items:start}
html[data-skin="salon-luxe"] .card--product{display:grid;grid-template-columns:auto 1fr;column-gap:18px;align-items:start;padding:20px 0;background:transparent;border:0;border-bottom:1px dotted var(--line-strong);border-radius:0;box-shadow:none;overflow:visible}
html[data-skin="salon-luxe"] .card--product:hover{transform:none;box-shadow:none;border-color:var(--line-strong)}
html[data-skin="salon-luxe"] .product__media{width:64px;height:64px;aspect-ratio:1;border-radius:50%;object-fit:cover;margin-top:2px}
html[data-skin="salon-luxe"] .product__media--ph{display:none}
html[data-skin="salon-luxe"] .product__carousel{width:64px}
html[data-skin="salon-luxe"] .product__body{display:grid;grid-template-columns:1fr auto;column-gap:12px;row-gap:4px;padding:0;align-items:baseline}
html[data-skin="salon-luxe"] .product__name-link{grid-column:1;grid-row:1;display:flex;min-width:0}
html[data-skin="salon-luxe"] .card--product .product__name{grid-column:1;grid-row:1;flex:1;display:flex;align-items:flex-end;gap:.5em;font-size:1.18rem;min-width:0}
/* The dotted leader: an empty flex spacer with a dotted baseline, sized to
   whatever room is left between the name and the price. */
html[data-skin="salon-luxe"] .card--product .product__name::after{content:"";flex:1;min-width:24px;border-bottom:2px dotted var(--line-strong);margin:0 0 .32em}
html[data-skin="salon-luxe"] .product__price{grid-column:2;grid-row:1;margin:0;padding:0;font-size:1.28rem;white-space:nowrap}
html[data-skin="salon-luxe"] .product__desc,
html[data-skin="salon-luxe"] .product__tags,
html[data-skin="salon-luxe"] .product__unit,
html[data-skin="salon-luxe"] .product__sale-until,
html[data-skin="salon-luxe"] .product__variants,
html[data-skin="salon-luxe"] .product__modifiers,
html[data-skin="salon-luxe"] .product__body .btn--add{grid-column:1/-1}
html[data-skin="salon-luxe"] .product__body .btn--add{justify-self:start;margin-top:10px}
html[data-skin="salon-luxe"] .product__badge{position:static;grid-column:1/-1;justify-self:start;margin-top:8px}
html[data-skin="salon-luxe"] .product__price--sale .product__price-was{color:var(--muted);text-decoration:line-through;font-size:.9em;margin-right:.4em}

/* ---- Team + lookbook + gallery as a SOFT MASONRY ----
   Team: three columns with the middle column dropped a step, so the roster
   reads as a staggered portrait wall instead of a row of cards. */
html[data-skin="salon-luxe"] #salonTeamGrid{gap:28px;align-items:start}
html[data-skin="salon-luxe"] #salonTeamGrid .team__card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;background:transparent;border:0;box-shadow:none;padding:12px 8px}
html[data-skin="salon-luxe"] #salonTeamGrid .team__card:hover{transform:none}
html[data-skin="salon-luxe"] #salonTeamGrid > :nth-child(3n+2){margin-top:44px}
html[data-skin="salon-luxe"] .team__photo{width:168px;height:168px;border:1px solid var(--line-strong);padding:5px;background:var(--bg)}
html[data-skin="salon-luxe"] .team__chip{width:168px;height:168px;background:var(--brand);color:var(--brand-fg);font-family:var(--display);font-weight:400;font-style:italic;font-size:3rem}
html[data-skin="salon-luxe"] .team__name{font-family:var(--display);font-weight:400;font-size:1.32rem;color:var(--ink);margin-top:14px}
html[data-skin="salon-luxe"] .team__role{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;font-weight:600}
/* Gallery / lookbook / full gallery page: CSS columns give a true masonry with
   no JS; alternating aspect ratios make the tiles ragged instead of a lattice. */
html[data-skin="salon-luxe"] #galleryGrid,
html[data-skin="salon-luxe"] #salonLookGrid,
html[data-skin="salon-luxe"] .gallery-full__grid{display:block;columns:3;column-gap:22px}
html[data-skin="salon-luxe"] #galleryGrid .tile,
html[data-skin="salon-luxe"] #salonLookGrid .tile,
html[data-skin="salon-luxe"] .gallery-full__item{break-inside:avoid;margin:0 0 22px;display:flex}
html[data-skin="salon-luxe"] #galleryGrid .tile:nth-child(3n+2),
html[data-skin="salon-luxe"] #salonLookGrid .tile:nth-child(3n+2){aspect-ratio:1/1}
html[data-skin="salon-luxe"] #galleryGrid .tile:nth-child(3n),
html[data-skin="salon-luxe"] #salonLookGrid .tile:nth-child(3n){aspect-ratio:3/4}
html[data-skin="salon-luxe"] .gallery-full__item{flex-direction:column}
html[data-skin="salon-luxe"] .gallery-full__img{border-radius:var(--radius)}
html[data-skin="salon-luxe"] .gallery-full__item:nth-child(3n+2) .gallery-full__img{aspect-ratio:4/5}
html[data-skin="salon-luxe"] .gallery-full__item:nth-child(3n) .gallery-full__img{aspect-ratio:3/4}
html[data-skin="salon-luxe"] .look__chip{min-height:44px;padding:.5em 1.1em;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase}
html[data-skin="salon-luxe"] .look__cap{background:linear-gradient(transparent,rgba(27,20,18,.66) 42%)}

/* ---- Reviews: a QUIET carousel — dots become 44px targets around a 10px dot ---- */
html[data-skin="salon-luxe"] .reviews-dots{gap:0;margin-top:10px}
html[data-skin="salon-luxe"] .reviews-dots__dot{width:44px;height:44px;padding:17px;background-clip:content-box;border-radius:50%}
html[data-skin="salon-luxe"] .reviews-dots__dot.is-active{background-color:var(--accent-text);transform:none;padding:16px}
html[data-skin="salon-luxe"] .reviews__head .starbar{color:var(--accent-text)}
html[data-skin="salon-luxe"] .grid.reviews--rail{padding:6px 0 22px}

/* ---- Hours with dotted leaders (day ······ time) ---- */
html[data-skin="salon-luxe"] .hours tr{display:flex;align-items:baseline;gap:8px}
html[data-skin="salon-luxe"] .hours td{display:block;border-bottom:0;padding:.55em 0}
html[data-skin="salon-luxe"] .hours td:first-child{flex:1;display:flex;align-items:flex-end;gap:.6em;min-width:0}
html[data-skin="salon-luxe"] .hours td:first-child::after{content:"";flex:1;min-width:16px;border-bottom:1px dotted var(--line-strong);margin-bottom:.4em}
html[data-skin="salon-luxe"] .hours td:last-child{flex:none;white-space:nowrap}

/* ---- book.html: the appointment request as a designed page ----
   Linen page, a cream panel with a hairline and a serif heading, thin numeral
   steps, the slot picker as an inset "Pick a time" card with roomy time chips.
   The deposit card step (Pro + gateway ONLY — book.js removes it otherwise) and
   the confirmation share the same panel treatment. */
.checkout-page{background:var(--bg-alt)}
.checkout{padding:clamp(40px,6vw,72px) 0 96px}
.checkout__wrap{max-width:660px}
.checkout .section__title{margin-bottom:.5em}
.checkout__panel{background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);padding:clamp(24px,4vw,40px);margin-bottom:22px;box-shadow:var(--sh-sm)}
.checkout__panel h2{font-size:1.5rem;font-weight:400;margin-bottom:.6em;letter-spacing:-.01em}
.summary__row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.summary__name{font-weight:600;color:var(--ink)}
.summary__qty{font-size:.88rem;color:var(--muted)}
.summary__line{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600;color:var(--ink)}
.checkout .qfield{margin-bottom:18px}
.checkout .qfield label{font-size:.72rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--ink);font-family:var(--sans)}
.checkout .qfield input,.checkout .qfield select,.checkout .qfield textarea{width:100%;box-sizing:border-box;min-height:48px;padding:.8em 1em;border:1.5px solid var(--line-strong);border-radius:var(--r-sm);font-size:1rem;color:var(--ink);background:#fff;transition:border-color .15s ease, box-shadow .15s ease}
.checkout .qfield input:focus,.checkout .qfield select:focus,.checkout .qfield textarea:focus{border-color:var(--brand);box-shadow:0 0 0 1px #fff,0 0 0 4px var(--focus-ring);outline:none}
.qfieldset{border:0;margin:0 0 16px;padding:0;min-width:0}
.qfieldset legend{padding:0;margin-bottom:10px;font-family:var(--display);font-weight:400;font-size:1.1rem;color:var(--ink)}
.summary__subtotal,.summary__tax{color:var(--muted);font-size:.92rem}
.summary__subtotal span:last-child,.summary__tax span:last-child{font-variant-numeric:tabular-nums;white-space:nowrap}
.topbar__back{margin-left:auto}
.invoice__summary{font-weight:600;color:var(--ink);font-size:1.12rem;margin:0 0 .4em}
/* Deposit terms line under the panel title (unhidden by book.js only when a
   deposit is configured AND the gateway is present). */
.checkout #depositNote{padding:12px 16px;border-left:2px solid var(--accent-text);background:var(--bg-alt);border-radius:0 var(--r-sm) var(--r-sm) 0;color:var(--body);font-size:.95rem}

/* Step indicator — thin serif numerals joined by a hairline (no boxes). */
.steps{display:flex;gap:0;list-style:none;margin:0 0 32px;padding:0;counter-reset:step}
.step{flex:1;min-width:0;display:flex;align-items:center;gap:10px;padding:8px 0;background:transparent;border:0;box-shadow:none;font-family:var(--sans);font-weight:600;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);counter-increment:step;position:relative;transition:color .15s ease}
.step:last-child{flex:0 0 auto}
.step:not(:last-child)::after{content:"";flex:1;min-width:16px;height:1px;background:var(--line-strong);margin:0 14px}
.step__n{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:transparent;border:1px solid var(--line-strong);color:var(--muted);font-family:var(--display);font-size:1rem;font-variant-numeric:tabular-nums;transition:background .15s ease, border-color .15s ease, color .15s ease}
.step__n::before{content:counter(step)}
.step__label{flex:none;white-space:nowrap}
.steps .step--pay{display:none}
.checkout__wrap:has(#cardStep) .steps .step--pay{display:flex}
.steps .step--1{color:var(--ink)}
.steps .step--1 .step__n{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.checkout__wrap:has(#cardStep:not([hidden])) .step--1,
.checkout__wrap:has(#confirmPanel:not([hidden])) .step--1,
.checkout__wrap:has(#confirmPanel:not([hidden])) .step--pay{color:var(--ink)}
.checkout__wrap:has(#cardStep:not([hidden])) .step--1 .step__n,
.checkout__wrap:has(#confirmPanel:not([hidden])) .step--1 .step__n,
.checkout__wrap:has(#confirmPanel:not([hidden])) .step--pay .step__n{background:#3E6B4E;border-color:#3E6B4E;color:#fff}
.checkout__wrap:has(#cardStep:not([hidden])) .step--pay,
.checkout__wrap:has(#confirmPanel:not([hidden])) .step--done{color:var(--ink)}
.checkout__wrap:has(#cardStep:not([hidden])) .step--pay .step__n,
.checkout__wrap:has(#confirmPanel:not([hidden])) .step--done .step__n{background:var(--ink);border-color:var(--ink);color:var(--bg)}
@media (max-width:560px){.step__label{display:none}.step{justify-content:center;padding:6px 0}.step:not(:last-child)::after{margin:0 8px}}

/* Salon slot picker (SALON_CSS is appended after this sheet; the attribute
   prefix restyles it). */
html[data-skin="salon-luxe"] .salon-booker{margin:0 0 26px;padding:24px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--bg-alt)}
html[data-skin="salon-luxe"] .salon-booker__title{margin:0 0 16px;font-family:var(--display);font-weight:400;font-size:1.36rem;color:var(--ink)}
html[data-skin="salon-luxe"] .salon-booker .qfield{margin-bottom:14px}
html[data-skin="salon-luxe"] .salon-booker .btn--ghost{background:var(--bg);min-height:48px;width:100%}
html[data-skin="salon-luxe"] .salon-booker__status{margin:14px 0 0;font-size:.92rem}
html[data-skin="salon-luxe"] .salon-slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:10px;margin-top:14px}
html[data-skin="salon-luxe"] .salon-slots:empty{display:none}
html[data-skin="salon-luxe"] .salon-slots .salon__slot{width:100%;min-height:48px;padding:.6em .5em;font-size:.86rem;letter-spacing:.04em;text-transform:none;font-weight:600;font-variant-numeric:tabular-nums;background:var(--bg);border-color:var(--line-strong);border-radius:var(--r-sm)}
html[data-skin="salon-luxe"] .salon-slots .salon__slot:hover{border-color:var(--ink);background:#fff;transform:none}
html[data-skin="salon-luxe"] .salon-slots .salon__slot:disabled{opacity:.45;cursor:not-allowed;transform:none}
html[data-skin="salon-luxe"] .salon-booker__chosen{margin:16px 0 0;padding:14px 16px;border-radius:var(--r-sm);background:var(--bg);border:1px solid var(--line);border-left:3px solid var(--accent-text);color:var(--ink);display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}
html[data-skin="salon-luxe"] .salon__change{margin-left:auto}

/* Deposit card step (Kanopy renders the inputs INTO these divs). */
.cardstep{display:flex;flex-direction:column;gap:14px}
.cardstep__row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.cardstep .qfield > div{min-height:48px;border:1.5px solid var(--line-strong);border-radius:var(--r-sm);padding:.5em .7em;background:#fff;transition:border-color .15s ease, box-shadow .15s ease}
.cardstep .qfield > div:focus-within{border-color:var(--brand);box-shadow:0 0 0 1px #fff,0 0 0 4px var(--focus-ring)}
.secured svg{width:16px;height:16px;flex:none;color:var(--ink)}
.cardstep .secured{margin-top:8px}

/* Inline validation (only after the field is touched) */
.checkout .qfield input:user-invalid,
.checkout .qfield textarea:user-invalid,
.checkout .qfield select:user-invalid{border-color:#A8322A}

/* ---------------- Securely-charging overlay (checkout / pay / book) ---------------- */
.charge-overlay{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:24px;background:color-mix(in srgb,var(--ink) 56%,transparent);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);animation:co-fade .2s ease}
.charge-overlay__card{background:var(--bg);border-radius:var(--radius);padding:34px 30px;max-width:340px;width:100%;text-align:center;box-shadow:var(--sh-lg)}
.charge-overlay__spinner{width:48px;height:48px;margin:0 auto 18px;border-radius:50%;border:3px solid var(--bg-sunken);border-top-color:var(--brand);animation:co-spin .8s linear infinite}
.charge-overlay__title{margin:0 0 6px;font-family:var(--display);font-weight:400;font-size:1.22rem;color:var(--ink)}
.charge-overlay__note{margin:0;font-size:.9rem;color:var(--muted);line-height:1.5}
.charge-overlay__lock{display:inline-flex;align-items:center;gap:6px;margin-top:14px;font-size:.78rem;font-weight:600;color:var(--muted)}
.charge-overlay__lock svg{width:13px;height:13px}
@keyframes co-spin{to{transform:rotate(360deg)}}
@keyframes co-fade{from{opacity:0}to{opacity:1}}

/* ---------------- Responsive ---------------- */
@media (max-width:980px){
  .hero__inner{gap:40px}
  .contact__grid{gap:40px}
  html[data-skin="salon-luxe"] #servicesGrid,
  html[data-skin="salon-luxe"] #catalogGrid{column-gap:36px}
}
@media (max-width:880px){
  .hero{padding:48px 0 60px}
  .hero::before{inset:12px}
  .hero__inner{grid-template-columns:1fr;gap:36px}
  /* On a phone the booking card LEADS — the conversion path first, the
     supporting copy after (the desktop two-column order is unchanged). */
  .hero__card{order:-1}
  .grid--3{grid-template-columns:1fr 1fr}
  .grid--4{grid-template-columns:1fr 1fr}
  .contact__grid{grid-template-columns:1fr}
  .nav{display:none}
  .btn--cart{margin-left:auto}
  .section{padding:64px 0}
  html[data-skin="salon-luxe"] #servicesGrid,
  html[data-skin="salon-luxe"] #catalogGrid{grid-template-columns:1fr}
  html[data-skin="salon-luxe"] #salonTeamGrid > :nth-child(3n+2){margin-top:0}
  html[data-skin="salon-luxe"] #salonTeamGrid > :nth-child(2n){margin-top:36px}
  html[data-skin="salon-luxe"] #galleryGrid,
  html[data-skin="salon-luxe"] #salonLookGrid,
  html[data-skin="salon-luxe"] .gallery-full__grid{columns:2;column-gap:16px}
}
@media (max-width:560px){
  .grid--3,.grid--4{grid-template-columns:1fr}
  .paybar{display:flex}
  .topbar .btn--phone{display:none}
  body{padding-bottom:72px}
  .trustbar__inner{gap:10px 24px}
  .hero__cta .btn{width:100%}
  .hero__card{padding:26px 20px 22px}
  .topbar__inner{height:68px;gap:12px}
  /* A long DBA + the "Back to {DBA}" button share one narrow row: the wordmark
     truncates and the button wraps, so neither can push the page wider. */
  .brand{min-width:0;flex:1 1 auto}
  .brand__name{font-size:1.1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
  .topbar__back{white-space:normal;text-align:center;line-height:1.15;font-size:.66rem;padding:.6em .9em;flex:0 1 auto;min-width:0}
  html[data-skin="salon-luxe"] #salonTeamGrid > :nth-child(2n){margin-top:0}
  html[data-skin="salon-luxe"] .team__photo,
  html[data-skin="salon-luxe"] .team__chip{width:140px;height:140px}
  html[data-skin="salon-luxe"] #servicesGrid .card__media{width:56px;height:56px}
}

/* ---------------- Reduced motion (WCAG 2.3.3) ---------------- */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
  dialog.modal,dialog.cartdrawer{animation:none}
  .btn:hover,.card:hover{transform:none}
  .tile:hover .tile__img{transform:none}
  .charge-overlay,.charge-overlay__spinner{animation:none}
}

/* ================================================================
   THE LOOK (distinct looks B3, docs/DISTINCT_LOOKS.md row 7): the logo
   centered over the links, the salon crossfading full screen behind one
   Book now button. Scoped under the skin AND the lever stamps (the base
   lever sheets fold in after this one; the data-skin prefix out-specifies
   them).
   ================================================================ */

/* ---- Hero: the first screen, the copy centered in it ----
   The centered nav is two rows (about 118px), so the hero fills what is
   left of the screen, capped so a tall monitor does not get an empty band.
   The engraved hairline frame stays. */
html[data-skin="salon-luxe"] .hero[data-hero="centered"]{min-height:min(calc(100vh - 118px),860px);min-height:min(calc(100svh - 118px),860px);display:flex;align-items:center}
html[data-skin="salon-luxe"] .hero[data-hero="centered"]>.hero__inner{width:100%}
html[data-skin="salon-luxe"] .hero[data-hero="centered"] h1{font-size:clamp(3rem,8vw,6.4rem);line-height:.96}
html[data-skin="salon-luxe"] .hero[data-hero="centered"] .lede{font-family:var(--display);font-style:italic;font-size:clamp(1.15rem,2vw,1.5rem)}
html[data-skin="salon-luxe"] .hero[data-hero="centered"] .hero__cta .btn--primary{min-height:56px;padding:1.2em 2.8em}

/* ---- Nav: the wordmark row reads as a letterhead ---- */
html[data-skin="salon-luxe"][data-nav="centered"] .brand__name{font-size:1.6rem}
html[data-skin="salon-luxe"][data-nav="centered"] .nav a{padding:12px 16px}

/* ---- Trust: small seal chips on linen, one quiet row ---- */
html[data-skin="salon-luxe"] .trustbar[data-variant="badges"] .trustbar__inner{gap:10px 12px;padding:22px clamp(16px,4vw,40px)}
html[data-skin="salon-luxe"] .trustbar[data-variant="badges"] .trustbar__item{font-size:.68rem;letter-spacing:.12em;padding:6px 16px 6px 6px;border:1px solid var(--line-strong);background:var(--bg)}
html[data-skin="salon-luxe"] .trustbar[data-variant="badges"] .trustbar__item>svg{width:16px;height:16px;padding:6px;background:var(--ink);color:var(--bg)}

/* ---- Services: the two column menu survives the list variant ----
   The base list variant turns the grid into one block column; this look's
   menu (the rows above) reads in two. */
html[data-skin="salon-luxe"] #services[data-variant="list"] #servicesGrid{display:grid}

/* ---- Contact page: one centered column ----
   The base stacked variant centers the details; the title's hairline, the
   question form and the map follow the same axis. */
html[data-skin="salon-luxe"] #contact[data-variant="stacked"] .section__title::before{left:50%;transform:translateX(-50%)}
html[data-skin="salon-luxe"] #contact[data-variant="stacked"] .hero__card--contact{justify-self:center;width:100%;max-width:720px}

@media (max-width:880px){
  /* One topbar row on a phone (the links fold away), and the sticky Book bar
     takes the bottom: the hero fills the rest. */
  html[data-skin="salon-luxe"] .hero[data-hero="centered"]{min-height:calc(100vh - 150px);min-height:calc(100svh - 150px)}
  /* The phone rule above that leads with the booking card is for the split
     hero. On the centered hero the name comes first; a card that stays (no
     Contact section to move to) is the band under the copy. */
  html[data-skin="salon-luxe"] .hero[data-hero="centered"] .hero__card{order:0}
}
@media (max-width:560px){
  html[data-skin="salon-luxe"] .trustbar[data-variant="badges"] .trustbar__inner{gap:8px;padding:16px clamp(16px,4vw,40px)}
  html[data-skin="salon-luxe"] .trustbar[data-variant="badges"] .trustbar__item{font-size:.62rem;letter-spacing:.08em}
}

/* ---- SALON: meet the team ---- */
/* (artist cards: name / role / photo / optional bio + a "Book with" link) */
.team__card{align-items:center;text-align:center;gap:.5rem}
.team__photo{width:120px;height:120px;border-radius:999px;object-fit:cover;border:1px solid var(--line,#e5e7eb)}
.team__chip{display:flex;align-items:center;justify-content:center;width:120px;height:120px;border-radius:999px;background:var(--brand,#6d28d9);color:var(--brand-fg,#fff);font-size:2.25rem;font-weight:700;letter-spacing:.02em}
.team__name{font-weight:600}
.team__role{font-size:.9rem}
.team__bio{font-size:.92rem;line-height:1.5;margin:.35rem 0 0;max-width:34ch}
.team__book{margin-top:.85rem}
.btn--sm{padding:.5em 1em;font-size:.85rem}

/* ---- SALON: lookbook (editorial gallery) ---- */
.look-filters{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1.25rem}
.look__chip{font:inherit;cursor:pointer;font-size:.82rem;font-weight:600;letter-spacing:.02em;padding:.4em 1em;border-radius:999px;border:1px solid var(--line-strong,var(--line,#d2c6b4));background:transparent;color:var(--ink,#221e29);transition:background .2s ease,color .2s ease,border-color .2s ease}
.look__chip:hover{border-color:var(--ink,#221e29)}
.look__chip.is-active{background:var(--ink,#221e29);color:var(--brand-fg,#fff);border-color:var(--ink,#221e29)}
.look__tile{display:flex;text-decoration:none;color:inherit}
.look__tile:hover .tile__img{transform:scale(1.04)}
.look__cap{position:relative;width:100%;align-self:flex-end;padding:1.75rem .9rem .8rem;background:linear-gradient(transparent,rgba(20,14,24,.62) 42%);color:#fff;display:flex;flex-direction:column;gap:.15rem}
.look__cap b{font-weight:600;font-size:.9rem}
.look__cap span{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;opacity:.85}

/* ---- SALON: slot picker (book.html) ---- */
.salon-booker{margin:0 0 1.5rem;padding:1rem 1.1rem;border:1px solid var(--line,#e5e7eb);border-radius:var(--radius,12px);background:var(--surface,#fff)}
.salon-booker__title{margin:0 0 .75rem;font-size:1.1rem}
.salon-booker__status{margin:.5rem 0 0;min-height:1.2em}
.salon-slots{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}
.salon-slots .salon__slot{flex:0 0 auto}
.salon-slots:empty{margin-top:0}
.salon-booker__chosen{margin:.75rem 0 0;padding:.6rem .8rem;border-radius:var(--radius,12px);background:color-mix(in srgb, var(--brand,#6d28d9) 8%, transparent)}
.salon__change{margin-left:.25rem}

/* ---------------------------- FAQ: dedicated page (native accordion) -------- */
.faq .wrap--narrow{max-width:760px}
.faq__list{display:flex;flex-direction:column;gap:12px;margin-top:8px}
.faq__item{border:1px solid var(--line);border-radius:var(--radius);background:var(--bg-alt);overflow:hidden}
.faq__q{cursor:pointer;list-style:none;padding:18px 44px 18px 20px;position:relative;font-weight:600;color:var(--ink);line-height:1.4;overflow-wrap:anywhere}
.faq__q::-webkit-details-marker{display:none}
.faq__q::after{content:"";position:absolute;right:20px;top:50%;width:9px;height:9px;border-right:2px solid var(--body);border-bottom:2px solid var(--body);transform:translateY(-70%) rotate(45deg);transition:transform .15s ease}
.faq__item[open] .faq__q::after{transform:translateY(-30%) rotate(-135deg)}
.faq__q:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}
.faq__a{padding:0 20px 18px;color:var(--body);line-height:1.6;overflow-wrap:anywhere}

/* About / story (Phase 2) — appended only when the merchant wrote one. */
.about{max-width:760px}
.about__text{margin-top:6px;font-size:var(--fs-lg);color:var(--body);line-height:1.75}
.about__text p{margin:0 0 1em}
.about__text p:last-child{margin-bottom:0}

/* ---- footer email-list signup (Wave 4.1) ---- */
.footer__signup{padding-bottom:22px;margin-bottom:22px;border-bottom:1px solid rgba(128,128,128,.28)}
.footer-signup__title{margin:0 0 10px;font-weight:700;font-size:1.05rem}
.footer-signup__row{display:flex;gap:10px;flex-wrap:wrap;max-width:460px}
.footer-signup__row input{flex:1;min-width:200px;padding:10px 12px;border:1px solid rgba(128,128,128,.4);border-radius:var(--radius,8px);font:inherit;color:inherit;background:rgba(128,128,128,.08)}
/* Full strength, smaller only: at 75% opacity the note fell under 4.5:1 on
   the darker footers (2.7:1 on chambers, 4.44 on bistro-noir; the 2026-10-07
   accessibility scan). */
.footer-signup__note{margin:8px 0 0;font-size:.8rem}
.footer-signup__hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---- multi-page home teasers (Wave 4) ---- */
.teaser{padding-top:64px;padding-bottom:64px}
.teaser .section__sub{margin-bottom:28px}
.teaser__more{margin:28px 0 0;text-align:right}
.teaser__more .btn{min-height:44px}
.teaser__quotes{display:grid;gap:20px;grid-template-columns:repeat(2,minmax(0,1fr))}
.teaser__quote{margin:0;padding:24px;border:1px solid rgba(128,128,128,.28);border-radius:var(--radius,8px);background:rgba(128,128,128,.06)}
.teaser__quote-text{margin:0 0 12px;font-size:1.05rem;line-height:1.6}
.teaser__quote-meta{margin:0;font-size:.9rem;opacity:.8}
/* .stars is the template's own star colour (styles.css / every skin sheet); the fold adds no colour. */
.teaser__stars{white-space:nowrap}
.teaser__quote-meta cite{font-style:normal;font-weight:600}
.teaser__excerpt{margin:0;max-width:62ch;line-height:1.7}
.teaser__band{display:grid;grid-template-columns:1fr auto;gap:32px;align-items:center}
.teaser__details .section__title{margin-bottom:12px}
.teaser__line{margin:4px 0;line-height:1.6}
.teaser__line a{display:inline-flex;align-items:center;min-height:44px}
.teaser__actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.teaser__actions .btn{min-height:44px}
@media (max-width:720px){
  .teaser__quotes{grid-template-columns:1fr}
  .teaser__band{grid-template-columns:1fr;gap:20px}
  .teaser__more{text-align:left}
}
@media (prefers-reduced-motion:reduce){.teaser .tile__img,.teaser .card{transition:none}}

/* ---- motion: section carousels (skin lever — provisioner motion.ts) ---- */
.carousel{position:relative;container-type:inline-size;--slide:82%;--carousel-gap:16px;--fade:40px}
.carousel--gallery{--slide:82%}
.carousel--featured{--slide:64%}
.carousel--reviews{--slide:86%}
@media (min-width:600px){.carousel--gallery{--slide:44%}.carousel--featured{--slide:38%}}
@media (min-width:720px){.carousel{--fade:32px}.carousel--reviews{--slide:46%}}
@media (min-width:960px){.carousel--gallery{--slide:30%}.carousel--featured{--slide:29%}}
@media (min-width:1100px){.carousel--reviews{--slide:31.5%}}
@media (min-width:1200px){.carousel--featured{--slide:22.6%}}
/* THE TRACK. Selected through the three grid ids as well (:is() takes its
   most specific argument) so it outranks each sheet's own id-scoped grid
   rules — boutique's masonry columns, the dark bistro's dense grid, the listing portfolio's
   spans — which style the STATIC grid and would otherwise fold the row. */
[data-motion="carousel"] :is(#galleryGrid,#reviewsGrid,#catalogGrid,.grid).carousel__track{display:flex;flex-wrap:nowrap;align-items:stretch;gap:var(--carousel-gap,16px);grid-template-columns:none;column-count:auto;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:4px 0 8px;margin:0;max-width:none}
[data-motion="carousel"] :is(#galleryGrid,#reviewsGrid,#catalogGrid,.grid).carousel__track::-webkit-scrollbar{display:none}
[data-motion="carousel"] :is(#galleryGrid,#reviewsGrid,#catalogGrid,.grid).carousel__track>*{flex:0 0 var(--slide,82%);min-width:0;max-width:none;margin:0;grid-column:auto;grid-row:auto;scroll-snap-align:start}
[data-motion="carousel"] .carousel__track.is-dragging{scroll-snap-type:none;scroll-behavior:auto}
[data-motion="carousel"] .carousel__track[data-carousel="on"]{cursor:grab}
[data-motion="carousel"] .carousel__track:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
/* Equal heights: the wrapper stretches with the row, the card fills it. */
.carousel--reviews .carousel__slide>*,.carousel--featured .carousel__slide>*{height:100%;box-sizing:border-box}
/* The stage: the box the edge fade masks. It never clips the bleed: the
   mask is the only thing that ends the strip. */
.carousel__stage{position:relative;--fade-l:0px;--fade-r:0px}
.carousel__stage[data-fade="end"]{--fade-r:var(--fade)}
.carousel__stage[data-fade="start"]{--fade-l:var(--fade)}
.carousel__stage[data-fade="both"]{--fade-l:var(--fade);--fade-r:var(--fade)}
.carousel__stage[data-fade]{-webkit-mask-image:linear-gradient(to right,transparent,#000 var(--fade-l),#000 calc(100% - var(--fade-r)),transparent);mask-image:linear-gradient(to right,transparent,#000 var(--fade-l),#000 calc(100% - var(--fade-r)),transparent)}
/* A phone: the strip runs to the screen's edges, the first slide still on
   the heading's line. 50cqw is half the carousel's own width. */
@media (max-width:720px){
  .carousel__stage{margin-inline:calc(50cqw - 50vw)}
  [data-motion="carousel"] .carousel__stage>:is(#galleryGrid,#reviewsGrid,#catalogGrid,.grid).carousel__track{padding-inline:calc(50vw - 50cqw);scroll-padding-inline:calc(50vw - 50cqw)}
  .carousel{--fade:24px}
}
/* The row under the strip: the rail, then the two buttons. Its height never
   changes on hover or state, so nothing below it moves. */
.carousel__controls{display:flex;align-items:center;gap:8px;min-height:44px;margin-top:10px}
.carousel__controls[hidden]{display:none}
.carousel__progress{position:relative;flex:1 1 auto;height:3px;border-radius:2px;overflow:hidden;background:var(--line,rgba(0,0,0,.12));background:color-mix(in srgb,var(--ink) 14%,transparent);margin-inline:2px 8px}
.carousel__thumb{position:absolute;top:0;bottom:0;left:0;width:calc(var(--carousel-thumb,1) * 100%);border-radius:inherit;background:var(--focus-ring,var(--ink));transform:translateX(calc(var(--carousel-pos,0) * (100% / var(--carousel-thumb,1) - 100%)))}
.carousel__status{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* The buttons: a 44px target around a 40px ring (::before) with a chevron. */
.carousel__btn{position:relative;flex:0 0 auto;width:44px;height:44px;margin:0;padding:0;display:grid;place-items:center;border:0;border-radius:var(--carousel-btn-radius,50%);background:transparent;color:var(--ink);cursor:pointer;-webkit-tap-highlight-color:transparent}
.carousel__btn[hidden]{display:none}
.carousel__btn::before{content:"";position:absolute;inset:2px;border-radius:inherit;background:transparent;box-shadow:inset 0 0 0 1px var(--muted);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ink) 26%,transparent);transition:background-color .2s ease,box-shadow .2s ease}
.carousel__btn svg{position:relative;width:18px;height:18px}
.carousel__btn[aria-disabled="false"]:hover::before{background:color-mix(in srgb,var(--ink) 8%,transparent);box-shadow:inset 0 0 0 1px var(--ink)}
/* aria-disabled, not disabled: the button keeps focus at the end of the row.
   The ring and chevron fade, not the button, so a focus ring on a disabled
   arrow stays at full strength. */
.carousel__btn[aria-disabled="true"]{cursor:default}
.carousel__btn[aria-disabled="true"]::before,.carousel__btn[aria-disabled="true"] svg{opacity:.35}
/* Phones and touch screens swipe: the buttons leave the row (out of flow,
   so the rail takes the whole width) but stay in the tab order, and a
   keyboard-focused one comes back where it belongs. */
@media (max-width:720px),(hover:none){.carousel__btn:not(:focus-visible){position:absolute;right:0;opacity:0;clip-path:inset(50%);pointer-events:none}}
/* REVIEWS (2026-10-22; owner: "i dont like that bar on the bottom ... just
   show the reviews with no bar"). The reviews strip carries no progress rail,
   and from a desktop width it is no strip at all: every review shows, in
   rows, the last row's cards widening to fill it. Nothing then overflows, so
   app.js hides the arrows and takes the strip out of the tab order by itself
   (it measures, and re-measures on resize). A phone keeps the swipeable row
   with the next card peeking in. A slow automatic slide was the other option
   and is ruled out: nothing on a merchant site moves on its own without a
   pause button (owner, 2026-10-07). */
.carousel--reviews .carousel__progress{display:none}
@media (min-width:1100px){
  [data-motion="carousel"] .carousel--reviews :is(#reviewsGrid,.grid).carousel__track{flex-wrap:wrap;overflow-x:visible;scroll-snap-type:none}
  [data-motion="carousel"] .carousel--reviews :is(#reviewsGrid,.grid).carousel__track>*{flex:1 1 var(--slide,31.5%)}
}
/* Focus: keyboard only, a 2px ring hugging the visible mark. Every sheet's
   own button:focus-visible rule also rounds the box to a few px, which
   would square the ring; the radius is restated here. */
.carousel__btn:focus{outline:none}
.carousel__btn:focus-visible{outline:2px solid var(--focus-ring,var(--ink));outline-offset:0;border-radius:var(--carousel-btn-radius,50%)}
@media (prefers-reduced-motion:reduce){
  [data-motion="carousel"] .carousel__track{scroll-behavior:auto;transition:none}
  .carousel__btn::before{transition:none}
}

/* ---- motion: hero slideshow (skin lever — provisioner motion.ts) ---- */
.hero[data-motion="slideshow"]{isolation:isolate}
.hero .hero__slides{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.hero .hero__slides>.hero__slide{position:absolute;inset:0;display:block;margin:0;padding:0;min-height:0;max-height:none;width:auto;height:auto;border:0;border-radius:0;box-shadow:none;transform:none;opacity:0;transition:opacity 1.2s ease}
.hero .hero__slides>.hero__slide::before,.hero .hero__slides>.hero__slide::after{content:none}
.hero .hero__slides>.hero__slide.is-front{z-index:1}
.hero .hero__slides>.hero__slide.is-active{opacity:1;animation:hero-slide-zoom 9s ease-out both}
/* Each photo eases in about 7% while it shows (2026-10-07, the carousel
   refresh): a slow push, so the hero reads as film, not a slide deck. The
   layer clips it; the outgoing layer keeps its zoom until it is behind.
   The pause button freezes it with the slideshow (WCAG 2.2.2). */
@keyframes hero-slide-zoom{from{transform:scale(1)}to{transform:scale(1.07)}}
.hero .hero__slides.is-paused>.hero__slide{animation-play-state:paused}
/* Pause / play: the carousel's quiet glyph on a smoked 32px disc (::before)
   inside a 44px target, the disc 16px in from the corner. The disc is dark
   enough (48% black) that the near-white glyph clears 3:1 even over a white
   photo; the blur keeps it from reading as a hole in the picture. */
.hero__motion{position:absolute;right:10px;bottom:10px;z-index:2;width:44px;height:44px;padding:0;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:rgba(255,255,255,.92);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:color .2s ease}
.hero__motion::before{content:"";position:absolute;inset:6px;border-radius:50%;background:rgba(0,0,0,.48);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background-color .2s ease}
.hero__motion svg{position:relative;width:16px;height:16px}
.hero__motion:hover{color:#fff}
.hero__motion:hover::before{background:rgba(0,0,0,.62)}
.hero__motion:focus{outline:none}
.hero__motion:focus-visible{outline:2px solid #fff;outline-offset:-4px;border-radius:50%}
@media (prefers-reduced-motion:reduce){.hero__motion,.hero__motion::before{transition:none}}
@media (prefers-reduced-motion:reduce){.hero .hero__slides>.hero__slide{transition:none;animation:none}}

/* ---- lead form: in the Contact section (skin lever, provisioner lead-form.ts) ---- */
#contact .contact__grid:has(> .hero__card--contact){grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#contact .hero__card--contact{order:0;align-self:start;justify-self:stretch;width:auto;max-width:none;margin:0}
#contact .hero__card--contact ~ .map{grid-column:1/-1}
#contact .hero__card--contact #quoteForm{scroll-margin-top:180px}
/* From a desktop width the map sits UNDER the address it shows, beside the
   form (2026-10-22). It used to span the full width under the form, a big
   box with nothing next to it (owner: "then it's just like a random map"). */
@media (min-width:881px){
  #contact .contact__grid:has(> .hero__card--contact){grid-template-rows:auto 1fr;align-items:start}
  #contact .contact__grid:has(> .hero__card--contact)>div:first-child{grid-column:1;grid-row:1}
  #contact .contact__grid>.hero__card--contact{grid-column:2;grid-row:1 / span 2}
  #contact .hero__card--contact ~ .map{grid-column:1;grid-row:2;align-self:stretch;min-height:300px}
  #contact .hero__card--contact ~ .map iframe{height:100%;min-height:300px}
}
@media (max-width:880px){
  #contact .contact__grid:has(> .hero__card--contact){grid-template-columns:1fr}
}

/* ---- hero layout: centered (skin lever, provisioner hero-layout.ts) ---- */
.hero[data-hero="centered"] .hero__inner{grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center;row-gap:clamp(32px,5vw,48px)}
.hero[data-hero="centered"] .hero__copy{display:flex;flex-direction:column;align-items:center;width:100%;max-width:860px}
.hero[data-hero="centered"] .lede{margin-left:auto;margin-right:auto}
.hero[data-hero="centered"] :is(.hero__cta,.hero__trust){justify-content:center}
.hero[data-hero="centered"] .vmm{width:100%;max-width:720px;margin-left:auto;margin-right:auto;text-align:left}
.hero[data-hero="centered"] .hero__card{width:100%;max-width:720px;justify-self:center;margin:0;text-align:left}
@media (min-width:720px){
  .hero[data-hero="centered"] .hero__card .qform{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:12px;align-items:end}
  .hero[data-hero="centered"] .hero__card .qform>:is(#quoteTurnstile,button){grid-column:1/-1}
}
.hero__media{display:none}
.hero__media.is-painted{display:block;position:relative;overflow:hidden;isolation:isolate;background:var(--hero-image) center/cover no-repeat}
.hero__media .hero__slides>.hero__slide{background:var(--hero-image) center/cover no-repeat}
.hero__media>.hero__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* ---- hero media: inset (skin lever, provisioner hero-media.ts) ---- */
.hero[data-media="inset"]:is([data-hero="centered"],[data-hero="video"]){background:var(--bg);padding:24px}
.hero[data-media="inset"][data-hero="centered"]{min-height:min(74vh,720px)}
.hero[data-media="inset"]:is([data-hero="centered"],[data-hero="video"])::before,.hero[data-media="inset"]:is([data-hero="centered"],[data-hero="video"])::after{content:none}
.hero[data-media="inset"]:is([data-hero="centered"],[data-hero="video"])>.hero__media.is-painted{position:absolute;inset:24px;border-radius:var(--radius);overflow:hidden}
.hero[data-media="inset"]:is([data-hero="centered"],[data-hero="video"])>.hero__media.is-painted::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,8,16,.3),rgba(4,8,16,.74));pointer-events:none}
.hero[data-media="inset"]:is([data-hero="centered"],[data-hero="video"])>.hero__inner{position:relative;z-index:1;min-height:inherit;padding:clamp(32px,6vw,64px) 24px}
.hero[data-media="inset"]:is([data-hero="centered"],[data-hero="video"]) h1{color:#fff}
.hero[data-media="inset"]:is([data-hero="centered"],[data-hero="video"]) .lede,.hero[data-media="inset"]:is([data-hero="centered"],[data-hero="video"]) .hero__trust{color:#e5e7eb}
.hero[data-media="inset"]:is([data-hero="centered"],[data-hero="video"]) .eyebrow{color:#f3f6fc}
.hero[data-media="inset"][data-hero="video"]>.hero__media>.hero__video{border-radius:inherit}

/* ---- nav style: centered (skin lever, provisioner nav-style.ts) ---- */
@media (min-width:881px){
  html[data-nav="centered"] .topbar__inner{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:". brand end" "nav nav nav";height:auto;row-gap:6px;padding-top:12px;padding-bottom:8px}
  html[data-nav="centered"] .brand{grid-area:brand;justify-self:center}
  html[data-nav="centered"] .nav{grid-area:nav;justify-self:center;margin-left:0;flex-wrap:wrap;justify-content:center}
  html[data-nav="centered"] .topbar__inner>:is(.btn--cart,.btn--phone){grid-area:end;align-self:center;margin-left:0}
  html[data-nav="centered"] .topbar__inner>.btn--phone{justify-self:end}
  html[data-nav="centered"] .topbar__inner>.btn--cart{justify-self:start;margin-left:16px}
}

/* ---- section variant: services list (skin lever, provisioner variants.ts) ---- */
:is(#services,#teaser-services)[data-variant="list"] .grid{display:block}
:is(#services,#teaser-services)[data-variant="list"] .card{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:20px;align-items:start;margin:0;padding:22px 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none;transform:none}
:is(#services,#teaser-services)[data-variant="list"] .card:last-child{border-bottom:1px solid var(--line)}
:is(#services,#teaser-services)[data-variant="list"] .card>:not(.card__icon,.card__media){grid-column:2}
:is(#services,#teaser-services)[data-variant="list"] :is(.card__icon,.card__media){grid-column:1;grid-row:1 / span 3;margin:0}
:is(#services,#teaser-services)[data-variant="list"] .card__media{width:96px;height:72px;object-fit:cover;border-radius:var(--radius)}
:is(#services,#teaser-services)[data-variant="list"] .card--media .card__body{padding:0}
:is(#services,#teaser-services)[data-variant="list"] .card h3{margin:0 0 4px}
:is(#services,#teaser-services)[data-variant="list"] .card p{margin:0}

/* ---- section variant: reviews quote (skin lever, provisioner variants.ts) ---- */
:is(#reviews,#teaser-reviews)[data-variant="quote"] :is(#reviewsGrid,.teaser__quotes):not(.carousel__track){display:flex;flex-wrap:wrap;gap:20px}
:is(#reviews,#teaser-reviews)[data-variant="quote"] :is(#reviewsGrid,.teaser__quotes):not(.carousel__track)>*{flex:1 1 280px;min-width:0;margin:0}
:is(#reviews,#teaser-reviews)[data-variant="quote"] :is(#reviewsGrid,.teaser__quotes):not(.carousel__track)>:first-child{flex-basis:100%;padding:clamp(24px,4vw,40px)}
:is(#reviews,#teaser-reviews)[data-variant="quote"] :is(#reviewsGrid,.teaser__quotes)>:first-child>p:not(.teaser__quote-meta){font-family:var(--display);font-size:clamp(1.3rem,2.4vw,1.9rem);line-height:1.35}
#reviews[data-variant="quote"] .carousel--reviews{--slide:88%}
@media (min-width:720px){#reviews[data-variant="quote"] .carousel--reviews{--slide:72%}}
#reviews[data-variant="quote"] .carousel__slide>.card p{font-family:var(--display);font-size:clamp(1.2rem,2.2vw,1.7rem);line-height:1.4}
@media (min-width:1100px){#reviews[data-variant="quote"] .carousel--reviews{--slide:calc(50% - 8px)}#reviews[data-variant="quote"] .carousel__slide>.card p{font-size:clamp(1.1rem,1.35vw,1.3rem);line-height:1.55}}

/* ---- section variant: trust badges (skin lever, provisioner variants.ts) ---- */
.trustbar[data-variant="badges"] .trustbar__inner{justify-content:center;gap:12px}
.trustbar[data-variant="badges"] .trustbar__item{border:1.5px solid var(--line-strong);border-radius:999px;padding:8px 18px 8px 8px;background:var(--bg)}
.trustbar[data-variant="badges"] .trustbar__item>svg{box-sizing:content-box;width:20px;height:20px;padding:7px;border-radius:50%;background:var(--brand);color:var(--brand-fg)}

/* ---- section variant: contact stacked (skin lever, provisioner variants.ts) ---- */
#contact[data-variant="stacked"] .contact__grid{grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center}
#contact[data-variant="stacked"] .contact__grid>div:first-child{max-width:720px;width:100%}
#contact[data-variant="stacked"] .contact__line,#contact[data-variant="stacked"] .contact__cta{justify-content:center}
#contact[data-variant="stacked"] .hours{margin-left:auto;margin-right:auto}
#contact[data-variant="stacked"] .hero__card--contact{width:100%;max-width:720px;text-align:left}
#contact[data-variant="stacked"] .map{width:100%;justify-self:stretch}
@media (min-width:881px){
  #contact[data-variant="stacked"] .contact__grid:has(>.hero__card--contact){grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto;column-gap:32px}
  #contact[data-variant="stacked"] .contact__grid:has(>.hero__card--contact)>div:first-child{grid-column:1/-1;grid-row:1;justify-self:center}
  #contact[data-variant="stacked"] .contact__grid>.hero__card--contact{grid-column:1;grid-row:2;max-width:none;justify-self:stretch;align-self:start}
  #contact[data-variant="stacked"] .hero__card--contact~.map{grid-column:2;grid-row:2;align-self:stretch}
}
#teaser-contact[data-variant="stacked"] .teaser__band{grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center}

/* ---- section variant: footer columns (skin lever, provisioner variants.ts) ---- */
.footer__cols{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));gap:24px 40px;padding-bottom:28px;margin-bottom:24px;border-bottom:1px solid rgba(128,128,128,.28)}
.footer__col p{margin:0 0 6px}
.footer__col-name{font-family:var(--display);font-weight:800;font-size:1.15rem}
.footer__col-title{font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:.78rem}
.footer__col-line a,.footer__col-links a{display:inline-flex;align-items:center;min-height:44px}
.footer__col-links{list-style:none;margin:0;padding:0}
.footer:has(>.footer__cols) .footer__links{display:none}
@media (max-width:720px){.footer__cols{grid-template-columns:minmax(0,1fr)}}

/* ---- section polish: two alternate sections in a row (provisioner section-polish.ts) ---- */
.section.section--alt+.section.section--alt{padding-top:0}
.section.section--alt+.section.section--alt>.wrap{border-top:1px solid var(--line);padding-top:clamp(48px,6vw,80px)}

/* ---- mobile layer (provisioner mobile.ts) ---- */
.navtoggle{display:none}
@media (max-width:880px){
  :root{--m-gutter:clamp(16px,5vw,24px)}
  .wrap{padding-left:max(var(--m-gutter),env(safe-area-inset-left))!important;padding-right:max(var(--m-gutter),env(safe-area-inset-right))!important}
  .topbar__inner>.brand{margin-right:auto;min-width:0}
  .topbar__inner>.btn--cart{margin-left:0}
  .navtoggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;margin:0 -8px 0 2px;padding:0;border:0;border-radius:var(--r-sm,8px);background:transparent;color:var(--navtoggle-ink,currentColor);cursor:pointer;-webkit-tap-highlight-color:transparent}
  .navtoggle.navtoggle--off{display:none}
  .navtoggle:focus-visible{outline:2px solid currentColor;outline-offset:-2px}
  .navtoggle__bars,.navtoggle__bars::before,.navtoggle__bars::after{display:block;width:22px;height:2px;border-radius:2px;background:currentColor;transition:transform .2s ease,background-color .2s ease}
  .navtoggle__bars{position:relative}
  .navtoggle__bars::before,.navtoggle__bars::after{content:"";position:absolute;left:0}
  .navtoggle__bars::before{top:-7px}
  .navtoggle__bars::after{top:7px}
  .navtoggle[aria-expanded="true"] .navtoggle__bars{background:transparent}
  .navtoggle[aria-expanded="true"] .navtoggle__bars::before{transform:translateY(7px) rotate(45deg)}
  .navtoggle[aria-expanded="true"] .navtoggle__bars::after{transform:translateY(-7px) rotate(-45deg)}
  .topbar.is-menu-open:not(.is-menu-probe){background:var(--navmenu-bg);-webkit-backdrop-filter:none;backdrop-filter:none}
  .topbar.is-menu-open .topbar__inner{position:static}
  .topbar.is-menu-open .nav{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:2px;position:absolute;left:0;right:0;top:100%;z-index:1;margin:0;padding:8px max(var(--m-gutter),env(safe-area-inset-left)) 16px;background:var(--navmenu-bg,var(--bg,#fff));border-bottom:1px solid var(--line,rgba(0,0,0,.12));box-shadow:0 24px 32px -24px rgba(0,0,0,.45);max-height:calc(100dvh - 100%);overflow-y:auto;overscroll-behavior:contain}
  .topbar.is-menu-open .nav a{display:flex;align-items:center;min-height:48px;margin:0;font-size:1.05rem;white-space:normal}
  .hero__inner>.hero__card{order:0}
  .grid>*,.contact__grid>*,.hero__inner>*,.footer__inner>*{min-width:0}
  .contact__line,.contact a,.footer a,.footer p{overflow-wrap:anywhere}
  .reviews-dots__dot{position:relative}
  .reviews-dots__dot::after{content:"";position:absolute;inset:-14px -6px}
  .footer__links a{display:inline-block;padding:11px 0}
}
@media (max-width:560px){
  .topbar .brand__name{white-space:normal;text-overflow:clip;letter-spacing:normal;overflow:hidden;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-size:min(1rem,4.3vw);line-height:1.15;max-width:none}
  .topbar__inner{column-gap:10px}
  .topbar__inner>.btn--cart{flex:none;min-height:44px;padding-left:12px;padding-right:12px;letter-spacing:normal}
  .ctabar__inner{flex-wrap:nowrap;justify-content:center}
  .ctabar__phone{white-space:nowrap;margin-left:0;margin-right:0}
  .ctabar__phone~.ctabar__action{display:none}
  :is(#services,#teaser-services):not([data-variant="list"]) :is(#servicesGrid,.grid)>.card:not(.card--media){display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:16px;align-items:start;text-align:left}
  :is(#services,#teaser-services):not([data-variant="list"]) :is(#servicesGrid,.grid)>.card:not(.card--media)>.card__icon{grid-row:1 / span 9;width:48px;height:48px;margin:0;display:grid;place-items:center}
  :is(#services,#teaser-services):not([data-variant="list"]) :is(#servicesGrid,.grid)>.card:not(.card--media)>.card__icon svg{width:26px;height:26px}
  :is(#services,#teaser-services):not([data-variant="list"]) :is(#servicesGrid,.grid)>.card:not(.card--media)>:is(h3,p){grid-column:2;margin-left:0;margin-right:0}
  :is(#services,#teaser-services):not([data-variant="list"]) :is(#servicesGrid,.grid)>.card:not(.card--media)>h3{margin-top:0}
  :is(#services,#teaser-services)[data-variant="icons"] :is(#servicesGrid,.grid){gap:8px}
  :is(#services,#teaser-services)[data-variant="icons"] :is(#servicesGrid,.grid)>.card{padding-top:14px;padding-bottom:14px}
  .trustbar[data-variant="stats"] .trustbar__inner{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex-direction:row;align-items:start}
  .trustbar:not([data-variant="stats"]) .trustbar__inner{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .trustbar:not([data-variant="stats"]) .trustbar__inner::-webkit-scrollbar{display:none}
  .trustbar__inner:focus-visible{outline:3px solid var(--focus-ring,var(--ink));outline-offset:2px}
  .trustbar:not([data-variant="stats"]) .trustbar__item{flex:none;scroll-snap-align:start;white-space:nowrap}
}
@media (max-width:400px){.topbar__inner>.btn--phone{display:none}}
@media (prefers-reduced-motion:reduce){.navtoggle__bars,.navtoggle__bars::before,.navtoggle__bars::after{transition:none}}

/* ---- mobile layer (design pass, provisioner design-pass.ts) ---- */
html{scroll-padding-top:calc(var(--topbar-h,76px) + 12px)}
html body .hero:not(.hero--has-image):not(.hero--has-video):not(:has(.hero__media.is-painted)){min-height:0!important;padding-top:clamp(64px,8vw,104px)!important;padding-bottom:clamp(48px,6vw,80px)!important}
html body .hero:not(.hero--has-image):not(.hero--has-video):not(:has(.hero__media.is-painted)) :is(.hero__inner,.hero__copy){min-height:0!important}
.hero:not(.hero--has-image):not(.hero--has-video) .hero__media:empty:not(.is-painted){display:none}
#contact .contact__grid>:only-child{grid-column:1/-1;max-width:46rem}
.product__media--ph{aspect-ratio:auto;height:8px;min-height:0;background:var(--brand,currentColor);opacity:.9}
.product__media--ph svg{display:none}
@keyframes wpi-reveal{to{visibility:visible}}
body:has(#topbar .brand__name:empty):not(.is-filled){visibility:hidden;animation:wpi-reveal 0s 4s forwards}
@media (scripting:none){body:has(#topbar .brand__name:empty):not(.is-filled){visibility:visible;animation:none}}
@media (min-width:881px){.topbar .nav a{white-space:nowrap}.topbar .nav{flex-wrap:nowrap;flex-shrink:0}.topbar .brand{min-width:0}.topbar .brand__name{overflow:hidden;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}}
@media (max-width:880px){html[data-nav] .topbar .brand__name{font-size:min(1rem,4.3vw);line-height:1.15}}
a[href^="mailto:"]{overflow-wrap:anywhere}
@media (max-width:560px){.topbar:not(#topbar):has(.topbar__back) .topbar__inner{height:auto;min-height:64px;padding-top:8px;padding-bottom:8px}.topbar:not(#topbar) .topbar__back{white-space:normal;min-width:0;flex:0 1 auto;height:auto;min-height:44px;padding-top:6px;padding-bottom:6px;font-size:.9rem;text-align:center;line-height:1.25}.topbar:not(#topbar):has(.topbar__back) .brand{flex:0 0 auto}.topbar:not(#topbar):has(.topbar__back) .brand__name{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}
:has(>.card--product>img.product__media)>.card--product>.product__media--ph{aspect-ratio:4/3;height:auto;opacity:1;background:color-mix(in srgb,var(--brand,currentColor) 9%,var(--bg-alt,transparent))}
.pdp__media:has(>.pdp__ph:only-child){display:none}
.pdp:has(>.pdp__media>.pdp__ph:only-child)>.pdp__info{max-width:46rem}
h1,h2,h3,.section__title{text-wrap:balance}
p,li,.card p{text-wrap:pretty}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}

/* ---------- DEMO "see what you can edit" overlay (demo merchants only) ---------- */
.demo-toggle__fab {
  position: fixed;
  right: 16px;
  bottom: 60px;
  z-index: 10000;
  min-width: 44px;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: #5b21b6;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
.demo-toggle__fab:hover,
.demo-toggle__fab:focus-visible {
  background: #4c1d95;
}
.demo-toggle__fab:focus-visible {
  outline: 3px solid #111827;
  outline-offset: 3px;
}
.demo-toggle__fab[aria-expanded="true"] {
  display: none;
}
@media (max-width: 560px) {
  .demo-toggle__fab {
    bottom: 124px;
  }
}
.demo-toggle__panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 48px;
  z-index: 10001;
  width: min(400px, 100vw);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: #111827;
  border-left: 1px solid #e5e7eb;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
  font-family: inherit;
  text-align: left;
}
.demo-toggle__panel[hidden] {
  display: none;
}
.demo-toggle__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 8px 10px 16px;
  border-bottom: 1px solid #e5e7eb;
}
.demo-toggle__title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}
.demo-toggle__close {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #111827;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.demo-toggle__close:hover,
.demo-toggle__close:focus-visible {
  background: #f3f4f6;
}
.demo-toggle__tabs {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
}
.demo-toggle__tab {
  flex: 1;
  min-height: 44px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #4b5563;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.demo-toggle__tab[aria-selected="true"] {
  color: #5b21b6;
  border-bottom-color: #5b21b6;
}
.demo-toggle__tab:focus-visible,
.demo-toggle__close:focus-visible,
.demo-toggle__item:focus-visible,
.demo-toggle__switch:focus-visible {
  outline: 3px solid #5b21b6;
  outline-offset: -3px;
}
.demo-toggle__body {
  flex: 1;
  overflow: auto;
  padding: 8px 16px 16px;
}
.demo-toggle__body[hidden] {
  display: none;
}
.demo-toggle__intro {
  margin: 10px 0 6px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.45;
}
.demo-toggle__group {
  margin: 16px 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}
.demo-toggle__item {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 2px 0;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
a.demo-toggle__item {
  text-decoration: none;
  color: inherit;
  display: block;
}
.demo-toggle__jump {
  color: var(--brand, #0b5fff);
}
.demo-toggle__item:hover,
.demo-toggle__item:focus-visible {
  background: #f5f3ff;
  border-color: #c4b5fd;
}
.demo-toggle__label {
  font-weight: 700;
  font-size: 14px;
}
.demo-toggle__meta {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.4;
  color: #6b7280;
}
.demo-toggle__absent {
  color: #6b7280;
  font-style: italic;
}
/* A Features row whose section is on another page: the control IS the link
 * (44px target like the switch it replaces), read as a link, not a status. */
a.demo-toggle__feature-jump {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand, #0b5fff);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a.demo-toggle__feature-jump:focus-visible {
  outline: 3px solid #7c3aed;
  outline-offset: 2px;
  border-radius: 6px;
}
.demo-toggle__feature {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}
.demo-toggle__chip {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e5e7eb;
  color: #374151;
  font-size: 11px;
  font-weight: 800;
  vertical-align: middle;
  white-space: nowrap;
}
.demo-toggle__chip--pro {
  background: #ede9fe;
  color: #4c1d95;
}
.demo-toggle__chip--addon {
  background: #d1fae5;
  color: #065f46;
}
.demo-toggle__desc,
.demo-toggle__note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #4b5563;
}
.demo-toggle__note {
  color: #4c1d95;
  font-weight: 600;
}
.demo-toggle__status {
  grid-column: 1 / -1;
}
.demo-toggle__switch {
  position: relative;
  flex: none;
  width: 52px;
  min-width: 44px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #6b7280;
  cursor: pointer;
}
.demo-toggle__switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.15s ease;
}
.demo-toggle__switch[aria-checked="true"] {
  background: #5b21b6;
}
.demo-toggle__switch[aria-checked="true"]::after {
  transform: translateX(22px);
}
.demo-toggle__foot {
  margin: 0;
  padding: 10px 16px;
  border-top: 1px solid #e5e7eb;
  font-size: 12px;
  color: #4b5563;
}
.demo-hl {
  outline: 3px solid #7c3aed !important;
  outline-offset: 4px;
}
.demo-hl::before {
  content: attr(data-demo-label);
  display: inline-block;
  margin: 0 8px 4px 0;
  padding: 2px 8px;
  border-radius: 6px;
  background: #5b21b6;
  color: #ffffff;
  font-family: system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: none;
  vertical-align: middle;
}
/* ---------- inspect mode: hover or focus the page while the panel is open (demo-inspect.ts) ---------- */
.demo-hl[data-demo-inspect]::before {
  content: none;
}
.demo-inspect-tip {
  position: fixed;
  z-index: 10002;
  left: 16px;
  bottom: 60px;
  max-width: min(320px, calc(100vw - 32px));
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  background: #5b21b6;
  color: #ffffff;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
.demo-inspect-tip[hidden] {
  display: none;
}
.demo-inspect-tip--no {
  background: #1f2937;
}
.demo-inspect-tip__line {
  display: block;
}
.demo-inspect-tip--no .demo-inspect-tip__line + .demo-inspect-tip__line {
  margin-top: 2px;
  font-weight: 500;
}
.demo-inspect-tip[data-demo-tip-place="above"] {
  top: 16px;
  bottom: auto;
}
@supports (anchor-name: --demo-inspect) {
  .demo-inspect-anchor {
    anchor-name: --demo-inspect;
  }
  .demo-inspect-tip {
    position-anchor: --demo-inspect;
    top: calc(anchor(bottom) + 8px);
    bottom: auto;
    left: max(8px, anchor(left));
  }
  .demo-inspect-tip[data-demo-tip-align="end"] {
    left: auto;
    right: max(8px, anchor(right));
  }
  .demo-inspect-tip[data-demo-tip-place="above"] {
    top: auto;
    bottom: calc(anchor(top) + 8px);
  }
  .demo-inspect-tip[data-demo-tip-place="inside"] {
    top: calc(anchor(top) + 8px);
  }
  .demo-inspect-tip[data-demo-tip-place="pinned"] {
    top: auto;
    bottom: 60px;
  }
}
.demo-toggle__item.demo-inspect-picked {
  background: #f5f3ff;
  border-color: #7c3aed;
}
.demo-off-note {
  display: block;
  margin: 8px 0;
  padding: 8px 12px;
  border: 2px dashed #6b7280;
  border-radius: 8px;
  background: #f9fafb;
  color: #374151;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
[data-demo-off] {
  display: none !important;
}
html[data-demo-cart-off] .btn--add,
html[data-demo-cart-off] .pdp__qty {
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .demo-toggle__switch::after {
    transition: none;
  }
}

/* ---------- DEMO site ribbon (demo merchants only; migration 0049) ---------- */
.demo-ribbon {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 10px 16px;
  background: #111827;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.25);
}
body {
  padding-bottom: 48px;
}
.draftbar {
  display: none;
}
/* A demo basket's disabled Checkout control (see DEMO BASKET below) has to
   READ disabled. The template sheet has no disabled button state (no live page
   renders one) and adding it there would change every real merchant's
   styles.css, so it rides in this demo-only fold. Opacity + cursor only. */
.cart__actions .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
