/* ============================================================================
   Shop page theme system. Every visual decision on the public shop page reads
   a token set here; the owner's choices (font / mode / corners / hero) switch
   the tokens, never the markup. Loaded after design.css so it wins.
   ========================================================================== */

.shop-page {
  /* Surfaces */
  --sp-bg: #f5f6fb;
  --sp-surface: #ffffff;
  --sp-surface-2: #eef0f6;
  --sp-ink: #181b2a;
  --sp-ink-2: #292f46;
  --sp-muted: #5b6178;
  --sp-line: #e2e4ee;
  --sp-line-2: #d5d8e5;
  --sp-shadow: 0 1px 2px rgba(20, 21, 26, 0.04), 0 10px 30px -18px rgba(20, 21, 26, 0.25);
  --sp-shadow-2: 0 2px 4px rgba(20, 21, 26, 0.05), 0 18px 40px -20px rgba(20, 21, 26, 0.35);
  /* Hero */
  --sp-hero-bg: #15161c;
  --sp-hero-ink: #ffffff;
  --sp-hero-muted: rgba(255, 255, 255, 0.72);
  /* Radii (soft) */
  --sp-r-sm: 8px;
  --sp-r: 14px;
  --sp-r-lg: 20px;
  --sp-r-pill: 999px;
  /* Type */
  --sp-display: "Geist", "Inter Variable", system-ui, sans-serif;
  --sp-text: "Geist", "Inter Variable", system-ui, sans-serif;
  --sp-display-weight: 700;
  --sp-display-tracking: -0.03em;
  --sp-display-case: none;

  background: var(--sp-bg);
  color: var(--sp-ink);
  font-family: var(--sp-text);
  -webkit-font-smoothing: antialiased;
}
/* ---- Token bridge --------------------------------------------------------------
   Everything customer-facing (booking flow, manage a visit, account, offers) is written against
   the base design tokens. Inside a themed surface those tokens resolve to the theme, so the whole
   journey follows the owner's choices without a second stylesheet. */
.shop-page {
  --font: var(--sp-text);
  --canvas: var(--sp-bg);
  --surface: var(--sp-surface);
  --ink: var(--sp-ink);
  --ink-2: var(--sp-ink-2);
  --muted: var(--sp-muted);
  --muted-2: var(--sp-muted);
  --line: var(--sp-line);
  --line-2: var(--sp-line-2);
  --accent: var(--sp-accent);
  --accent-dark: var(--sp-accent-dark);
  --accent-grad: linear-gradient(135deg, var(--sp-accent-dark) 0%, var(--sp-accent) 100%);
  --ollo: var(--sp-accent);
  --ollo-soft: var(--sp-soft);
  --on-accent: var(--sp-accent-ink);
  --r-sm: var(--sp-r-sm);
  --r: var(--sp-r);
  --r-lg: var(--sp-r-lg);
  --r-xl: var(--sp-r-lg);
  --r-pill: var(--sp-r-pill);
  --shadow-1: var(--sp-shadow);
  --shadow-2: var(--sp-shadow-2);
}
.shop-page.accent-ollo { --sp-accent: #3a7563; --sp-accent-dark: #3a7563; --sp-soft: #e6f0eb; }
.shop-page.mode-dark {
  --good: #7fc79a; --good-bg: rgba(63, 125, 92, 0.22);
  --warn: #f0a084; --warn-bg: rgba(184, 97, 58, 0.22);
  --note: #e3c98a; --note-bg: rgba(160, 130, 60, 0.22);
  --blocked-a: #1e2027; --blocked-b: #23252d; --blocked-line: #3a3d48;
  --rail: #0a0b0f;
}

.shop-page.mode-dark {
  --sp-bg: #0f1014;
  --sp-surface: #17181e;
  --sp-surface-2: #1e2027;
  --sp-ink: #f3f2ee;
  --sp-ink-2: #d6d5cf;
  --sp-muted: #c2c4cb;
  --sp-line: rgba(255, 255, 255, 0.08);
  --sp-line-2: rgba(255, 255, 255, 0.14);
  --sp-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px -18px rgba(0, 0, 0, 0.7);
  --sp-shadow-2: 0 2px 4px rgba(0, 0, 0, 0.35), 0 18px 40px -20px rgba(0, 0, 0, 0.8);
  --sp-hero-bg: #0a0b0f;
  color-scheme: dark;
}
.shop-page.corners-sharp { --sp-r-sm: 2px; --sp-r: 4px; --sp-r-lg: 6px; --sp-r-pill: 4px; }

/* Accent stays owner-chosen; map it onto the theme. */
.shop-page { --sp-accent-ink: #ffffff; }
.shop-page.accent-ink { --sp-accent: #1d1f26; --sp-accent-dark: #000; --sp-soft: rgba(29, 31, 38, 0.08); }
.shop-page.mode-dark.accent-ink { --sp-accent: #f3f2ee; --sp-accent-dark: #fff; --sp-accent-ink: #14151a; --sp-soft: rgba(243, 242, 238, 0.12); }
.shop-page.accent-sage { --sp-accent: #3f7d5c; --sp-accent-dark: #2f6247; --sp-soft: rgba(63, 125, 92, 0.12); }
.shop-page.accent-clay { --sp-accent: #a8552f; --sp-accent-dark: #8a4323; --sp-soft: rgba(168, 85, 47, 0.12); }
.shop-page.accent-plum { --sp-accent: #6e3b7a; --sp-accent-dark: #562c60; --sp-soft: rgba(110, 59, 122, 0.12); }
.shop-page.accent-slate { --sp-accent: #4a5568; --sp-accent-dark: #364152; --sp-soft: rgba(74, 85, 104, 0.12); }
.shop-page.mode-dark.accent-sage { --sp-accent: #6fb98f; --sp-accent-dark: #86c9a2; --sp-accent-ink: #0f1014; }
.shop-page.mode-dark.accent-clay { --sp-accent: #e08a62; --sp-accent-dark: #eaa082; --sp-accent-ink: #0f1014; }
.shop-page.mode-dark.accent-plum { --sp-accent: #b782c4; --sp-accent-dark: #c79bd1; --sp-accent-ink: #0f1014; }
.shop-page.mode-dark.accent-slate { --sp-accent: #9aa6ba; --sp-accent-dark: #b2bccc; --sp-accent-ink: #0f1014; }
.shop-page.mode-dark.accent-ollo { --sp-accent: #a8d5c2; --sp-accent-dark: #c4e3d6; --sp-accent-ink: #06110f; --sp-soft: rgba(168, 213, 194, 0.14); }

/* ---- Base overrides -------------------------------------------------------- */
.shop-page h1, .shop-page h2, .shop-page h3, .shop-page .sp-next-time {
  font-family: var(--sp-display);
  font-weight: var(--sp-display-weight);
  letter-spacing: var(--sp-display-tracking);
  text-transform: var(--sp-display-case);
}
.shop-page .button { font-family: var(--sp-text); border-radius: var(--sp-r); }
.shop-page .button.primary { background: var(--sp-accent); border-color: var(--sp-accent); color: var(--sp-accent-ink); }
.shop-page .button.primary:hover { background: var(--sp-accent-dark); border-color: var(--sp-accent-dark); }
.shop-page .button.secondary { background: var(--sp-surface); border: 1px solid var(--sp-line-2); color: var(--sp-ink); }
.shop-page .button.secondary:hover { background: var(--sp-surface-2); }
.shop-page a { color: var(--sp-accent-dark); }

/* Nav */
.shop-page .sp-nav { background: color-mix(in srgb, var(--sp-surface) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--sp-line); }
.shop-page .sp-brand { color: var(--sp-ink); font-family: var(--sp-display); font-weight: var(--sp-display-weight); letter-spacing: var(--sp-display-tracking); text-transform: var(--sp-display-case); font-size: 17px; }
.shop-page .sp-brand .shop-emblem { border-radius: var(--sp-r-sm); background: var(--sp-accent); color: var(--sp-accent-ink); }
.shop-page .sp-nav nav a { color: var(--sp-ink-2); }
.shop-page .sp-nav nav a:hover { color: var(--sp-ink); }

/* Logos: transparent PNG/SVG must sit on the page, never in a white box. */
.shop-page img.shop-emblem.shop-logo,
.shop-page img.sp-hero-logo,
.shop-page .sp-footer-brand img.shop-emblem { background: transparent; border: 0; padding: 0; object-fit: contain; box-shadow: none; border-radius: 0; }
.shop-page .sp-brand img.shop-emblem { width: auto; max-width: 140px; height: 32px; }
.shop-page .sp-footer-brand img.shop-emblem { width: auto; max-width: 120px; height: 36px; }

/* ---- Hero ------------------------------------------------------------------- */
.shop-page .sp-hero { background: var(--sp-hero-bg); color: var(--sp-hero-ink); padding: 0; text-align: left; position: relative; overflow: hidden; }
.shop-page .sp-hero::before, .shop-page .sp-hero::after { content: none; }
.shop-page .sp-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shop-page .sp-hero.has-cover .sp-hero-inner::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.shop-page .sp-hero.no-cover { background: var(--sp-hero-bg); }
.shop-page.mode-light .sp-hero.no-cover { background: var(--sp-surface); color: var(--sp-ink); --sp-hero-ink: var(--sp-ink); --sp-hero-muted: var(--sp-muted); border-bottom: 1px solid var(--sp-line); }
.shop-page .sp-hero-inner { position: relative; z-index: 1; max-width: 1140px; margin: 0 auto; padding: clamp(56px, 8vw, 112px) clamp(20px, 4vw, 40px) clamp(48px, 6vw, 88px); display: grid; gap: 0; justify-items: start; }
.shop-page .sp-hero-copy { display: grid; gap: 14px; justify-items: start; max-width: 680px; position: relative; z-index: 1; }
.shop-page .sp-hero-logo { width: auto; height: 64px; max-width: 220px; margin-bottom: 6px; }
.shop-page .sp-hero-initials { width: 64px; height: 64px; display: grid; place-items: center; border-radius: var(--sp-r); background: var(--sp-accent); color: var(--sp-accent-ink); font-family: var(--sp-display); font-weight: var(--sp-display-weight); font-size: 22px; letter-spacing: 0; }
.shop-page .sp-hero h1 { margin: 0; font-size: clamp(40px, 6.4vw, 84px); line-height: 0.98; color: var(--sp-hero-ink); }
.shop-page .sp-strap { margin: 0; font-size: clamp(17px, 1.6vw, 21px); color: var(--sp-hero-muted); max-width: 46ch; line-height: 1.5; }
.shop-page .sp-open { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); color: var(--sp-hero-ink); border-radius: var(--sp-r-pill); }
.shop-page.mode-light .sp-hero.no-cover .sp-open { background: var(--sp-surface-2); border-color: var(--sp-line); }
.shop-page .sp-hero-meta { color: var(--sp-hero-muted); justify-content: flex-start; }
.shop-page .sp-hero a.sp-hero-rating, .shop-page .sp-hero a.sp-hero-rating:hover { color: var(--sp-hero-ink); }
.shop-page .sp-hero-actions { justify-content: flex-start; margin-top: 8px; }
.shop-page .sp-hero-actions .button { min-height: 48px; padding: 0 24px; font-size: 15px; font-weight: 600; }
.shop-page .sp-hero .button.secondary { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); color: var(--sp-hero-ink); }
.shop-page .sp-hero .button.secondary:hover { background: rgba(255, 255, 255, 0.16); }
.shop-page.mode-light .sp-hero.no-cover .button.secondary { background: var(--sp-surface); border-color: var(--sp-line-2); color: var(--sp-ink); }

/* Editorial: photo behind, text bottom-left, gradient from the left and bottom. */
.shop-page.hero-editorial .sp-hero.has-cover .sp-hero-inner { min-height: min(78vh, 720px); align-content: end; }
.shop-page.hero-editorial .sp-hero.has-cover .sp-hero-inner::before { background: linear-gradient(180deg, rgba(8, 9, 12, 0.15) 0%, rgba(8, 9, 12, 0.35) 45%, rgba(8, 9, 12, 0.85) 100%), linear-gradient(90deg, rgba(8, 9, 12, 0.55) 0%, rgba(8, 9, 12, 0) 70%); inset: -100vh -100vw; }

/* Centred: classic, text in the middle. */
.shop-page.hero-centred .sp-hero-inner { justify-items: center; text-align: center; min-height: min(70vh, 640px); align-content: center; }
.shop-page.hero-centred .sp-hero-copy { justify-items: center; }
.shop-page.hero-centred .sp-hero-meta, .shop-page.hero-centred .sp-hero-actions { justify-content: center; }
.shop-page.hero-centred .sp-hero.has-cover .sp-hero-inner::before { background: radial-gradient(ellipse 70% 80% at 50% 55%, rgba(8, 9, 12, 0.72) 0%, rgba(8, 9, 12, 0.62) 55%, rgba(8, 9, 12, 0.5) 100%); inset: -100vh -100vw; }
/* Bright covers: a soft shadow keeps small hero text (rating, address, strapline) readable on any photo. */
.shop-page .sp-hero.has-cover .sp-hero-copy h1,
.shop-page .sp-hero.has-cover .sp-strap,
.shop-page .sp-hero.has-cover .sp-hero-meta,
.shop-page .sp-hero.has-cover .sp-hero-rating { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 2px 14px rgba(0, 0, 0, 0.35); }
.shop-page.mode-light.hero-split .sp-hero.has-cover .sp-hero-copy h1,
.shop-page.mode-light.hero-split .sp-hero.has-cover .sp-strap,
.shop-page.mode-light.hero-split .sp-hero.has-cover .sp-hero-meta,
.shop-page.mode-light.hero-split .sp-hero.has-cover .sp-hero-rating { text-shadow: none; }
.shop-page .sp-hero.has-cover .sp-open { background: rgba(8, 9, 12, 0.45); border-color: rgba(255, 255, 255, 0.22); backdrop-filter: blur(6px); }
.shop-page.mode-light.hero-split .sp-hero.has-cover .sp-open { background: var(--sp-surface-2); border-color: var(--sp-line); backdrop-filter: none; }

/* Split: text left on a solid panel, photo right. */
.shop-page.hero-split .sp-hero .sp-hero-img { display: none; }
.shop-page.hero-split .sp-hero.has-cover .sp-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }
.shop-page.hero-split .sp-hero.has-cover .sp-hero-inner::before { content: none; }
.shop-page.hero-split .sp-hero-side { position: relative; aspect-ratio: 4 / 5; max-height: 620px; width: 100%; }
.shop-page.hero-split .sp-hero-side img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--sp-r-lg); box-shadow: var(--sp-shadow-2); }
.shop-page.mode-light.hero-split .sp-hero.has-cover { background: var(--sp-surface); color: var(--sp-ink); --sp-hero-ink: var(--sp-ink); --sp-hero-muted: var(--sp-muted); border-bottom: 1px solid var(--sp-line); }
.shop-page.mode-light.hero-split .sp-hero.has-cover .sp-open { background: var(--sp-surface-2); border-color: var(--sp-line); }
.shop-page.mode-light.hero-split .sp-hero.has-cover .button.secondary { background: var(--sp-surface); border-color: var(--sp-line-2); color: var(--sp-ink); }

/* ---- Sections ---------------------------------------------------------------- */
.shop-page .sp-section { max-width: 1140px; }
.shop-page .sp-section h2 { font-size: clamp(26px, 2.8vw, 36px); color: var(--sp-ink); }
.shop-page .sp-section-head p { color: var(--sp-muted); }
.shop-page .sp-about p { color: var(--sp-ink-2); font-family: var(--sp-text); }
.shop-page.font-editorial .sp-about p, .shop-page.font-heritage .sp-about p { font-family: var(--sp-display); font-weight: 400; font-size: clamp(19px, 1.8vw, 24px); letter-spacing: -0.01em; text-transform: none; }

/* Cards */
.shop-page .sp-next-list :is(button, a), .shop-page .sp-services :is(button, a), .shop-page .sp-barber, .shop-page .sp-two > .sp-section {
  background: var(--sp-surface); border: 1px solid var(--sp-line); border-radius: var(--sp-r-lg); color: var(--sp-ink); box-shadow: var(--sp-shadow);
}
.shop-page .sp-next-list :is(button, a):hover, .shop-page .sp-services :is(button, a):hover { border-color: var(--sp-line-2); box-shadow: var(--sp-shadow-2); }
.shop-page .sp-next-list :is(button, a) { border-radius: var(--sp-r); }
.shop-page .sp-next-list small, .shop-page .sp-service-text small, .shop-page .sp-service-meta small, .shop-page .sp-barber-text small { color: var(--sp-muted); }
.shop-page .sp-next-time { color: var(--sp-accent-dark); font-size: 20px; }
.shop-page .sp-next-list .avatar, .shop-page .sp-next-photo { border-radius: var(--sp-r-sm); }
.shop-page .sp-cat h3 { color: var(--sp-ink); font-size: 17px; }
.shop-page .sp-cat h3::after { background: var(--sp-line-2); }
.shop-page .sp-services :is(button, a) { border-radius: var(--sp-r); }
.shop-page .sp-service-go { background: var(--sp-surface-2); color: var(--sp-muted); }
.shop-page .sp-services :is(button, a):hover .sp-service-go { background: var(--sp-accent); color: var(--sp-accent-ink); }
.shop-page .sp-popular { background: var(--sp-soft); color: var(--sp-accent-dark); border-radius: var(--sp-r-pill); }
.shop-page .sp-barber .avatar.large, .shop-page .sp-photo, .shop-page .sp-barber-next { border-radius: var(--sp-r); }
.shop-page .sp-barber-next { background: var(--sp-soft); color: var(--sp-accent-dark); border-radius: var(--sp-r-pill); }
.shop-page .sp-skills em { background: var(--sp-surface-2); border-color: var(--sp-line); color: var(--sp-ink-2); border-radius: var(--sp-r-pill); }
.shop-page .sp-ig { color: var(--sp-muted); }

/* Booking call to action */
.shop-page .sp-cta-card { background: var(--sp-accent); color: var(--sp-accent-ink); border-radius: var(--sp-r-lg); }
.shop-page .sp-cta-copy h2 { font-family: var(--sp-display); font-weight: var(--sp-display-weight); letter-spacing: var(--sp-display-tracking); text-transform: var(--sp-display-case); color: inherit; }
.shop-page .sp-cta-card .sp-cta-btn { background: var(--sp-accent-ink); color: var(--sp-accent); border-color: transparent; border-radius: var(--sp-r); }
.shop-page.accent-ink .sp-cta-card { background: var(--sp-hero-bg); color: #fff; }
.shop-page.accent-ink .sp-cta-card .sp-cta-btn { background: #fff; color: #111318; }
.shop-page.mode-dark.accent-ink .sp-cta-card { background: var(--sp-surface-2); color: var(--sp-ink); }
.shop-page.mode-dark.accent-ink .sp-cta-card .sp-cta-btn { background: var(--sp-ink); color: var(--sp-bg); }

/* Hours / find */
.shop-page .sp-hours > div.today { background: var(--sp-soft); }
.shop-page .sp-address a { color: var(--sp-accent-dark); }
.shop-page .sp-address p svg, .shop-page .sp-policies li svg { color: var(--sp-muted); }
.shop-page .sp-policies ul { color: var(--sp-ink-2); }
.shop-page .sp-closures, .shop-page .sp-transport { color: var(--sp-muted); }

/* Gallery */
.shop-page .sp-gallery img { border-radius: var(--sp-r); }

/* Footer */
.shop-page .sp-footer { background: var(--sp-surface); border-top: 1px solid var(--sp-line); }
.shop-page .sp-footer-inner { color: var(--sp-ink-2); }
.shop-page .sp-footer-brand { color: var(--sp-ink); }
.shop-page .sp-footer-brand .shop-emblem { border-radius: var(--sp-r-sm); background: var(--sp-accent); color: var(--sp-accent-ink); }
.shop-page .sp-footer-links a { color: var(--sp-ink-2); }
.shop-page .sp-footer-links a:hover { color: var(--sp-accent-dark); }

/* Phone */
@media (max-width: 767px) {
  .shop-page .sp-hero-inner { padding: 40px 20px 36px; }
  .shop-page.hero-editorial .sp-hero.has-cover .sp-hero-inner { min-height: min(72vh, 560px); }
  .shop-page.hero-centred .sp-hero-inner { min-height: min(60vh, 480px); }
  .shop-page.hero-split .sp-hero.has-cover .sp-hero-inner { grid-template-columns: 1fr; }
  .shop-page.hero-split .sp-hero-side { aspect-ratio: 16 / 10; order: -1; }
  .shop-page .sp-hero h1 { font-size: clamp(36px, 11vw, 52px); }
  .shop-page .sp-hero-logo { height: 48px; }
  .shop-page .sp-hero-initials { width: 52px; height: 52px; font-size: 18px; }
  .shop-page .sp-hero-actions { width: 100%; }
  .shop-page .sp-hero-actions .button { flex: 1 1 auto; justify-content: center; }
}

/* Dark look: a dark single-colour logo would vanish, so flip it to white there. Photo heroes are
   dark too (scrim), so the hero logo flips whenever there is a cover. Full-colour logos stay as they
   are by turning this off under Shop page → Logo. */
.shop-page.mode-dark.logo-flip .sp-brand img.shop-emblem,
.shop-page.mode-dark.logo-flip .sp-footer-brand img.shop-emblem,
.shop-page.mode-dark.logo-flip img.sp-hero-logo,
.shop-page.mode-light.logo-flip .sp-hero.has-cover:not(.split-light) img.sp-hero-logo { filter: invert(1) brightness(1.6) grayscale(1); }
.shop-page.mode-light.hero-split.logo-flip .sp-hero.has-cover img.sp-hero-logo { filter: none; }

/* Accent-coloured text on dark surfaces uses the theme's lifted accent, not the light-mode one. */
.shop-page.mode-dark .sp-review-reply { border-left-color: var(--sp-accent); }
.shop-page.mode-dark .sp-review-reply strong { color: var(--sp-accent); }
.shop-page.mode-dark.accent-ink .sp-review-reply strong { color: var(--sp-ink); }

/* =============================================================================
   Booking flow · manage a visit · account · offers — themed overrides.
   style.css draws these with fixed light colours; inside a themed surface every
   surface, line, chip and control reads the theme instead. Scoped to .shop-page.
   ============================================================================ */
.shop-page.booking-app, .shop-page .booking-app, .shop-page.customer-area { background: var(--sp-bg); color: var(--sp-ink); font-family: var(--sp-text); }
.shop-page .booking-app.embedded { background: transparent; }

/* Standalone header */
.shop-page .shop-header { color: var(--sp-ink); }
.shop-page .booking-topbar { background: color-mix(in srgb, var(--sp-surface) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom-color: var(--sp-line); }
.shop-page .booking-back { color: var(--sp-ink); }
.shop-page .booking-me { color: var(--sp-muted); }
.shop-page .booking-back:hover, .shop-page .booking-me:hover { background: var(--sp-surface-2); color: var(--sp-ink); }
.shop-page .booking-back h1 { font-family: var(--sp-display); font-weight: var(--sp-display-weight); letter-spacing: var(--sp-display-tracking); text-transform: var(--sp-display-case); }
.shop-page .shop-header h1, .shop-page .shop-header .shop-name { font-family: var(--sp-display); font-weight: var(--sp-display-weight); letter-spacing: var(--sp-display-tracking); text-transform: var(--sp-display-case); color: var(--sp-ink); }
.shop-page .shop-header .shop-header-right, .shop-page .shop-header small, .shop-page .shop-header p { color: var(--sp-muted); }
.shop-page .shop-emblem { background: var(--sp-accent); color: var(--sp-accent-ink); border-radius: var(--sp-r-sm); }
.shop-page .mini-shop-emblem { background: var(--sp-soft); color: var(--sp-accent-dark); border-radius: var(--sp-r-sm); }
.shop-page.mode-dark.logo-flip .shop-header img.shop-logo,
.shop-page.mode-dark.logo-flip .booking-topbar img.shop-logo,
.shop-page.mode-dark.logo-flip .mini-shop-emblem.shop-logo,
.shop-page.mode-dark.logo-flip .customer-area .sp-brand img.shop-logo { filter: invert(1) brightness(1.6) grayscale(1); }

/* Booking hero: accent panel, display face */
.shop-page .booking-hero { background: var(--sp-accent); color: var(--sp-accent-ink); border-radius: var(--sp-r-lg); }
.shop-page.accent-ink .booking-hero { background: var(--sp-hero-bg); color: #fff; }
.shop-page.mode-dark.accent-ink .booking-hero { background: var(--sp-surface-2); color: var(--sp-ink); }
.shop-page .booking-hero h1 { font-family: var(--sp-display); font-weight: var(--sp-display-weight); letter-spacing: var(--sp-display-tracking); text-transform: var(--sp-display-case); color: inherit; }
/* Solid ink on the accent panel: no opacity tricks, they cost AA on mid-tone accents. */
.shop-page .booking-hero p, .shop-page .hero-details, .shop-page .hero-details span, .shop-page .hero-copy .eyebrow, .shop-page .hero-seal span, .shop-page .hero-seal > strong, .shop-page .hero-seal > strong > span { color: inherit; }
.shop-page .booking-hero a.hero-link, .shop-page .booking-hero a.hero-link:hover { color: var(--sp-accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.shop-page .art-orbit, .shop-page .hero-seal { border-color: color-mix(in srgb, var(--sp-accent-ink) 35%, transparent); }
.shop-page .seal-rule { background: color-mix(in srgb, var(--sp-accent-ink) 45%, transparent); }
.shop-page.accent-ink .booking-hero, .shop-page.accent-ink .booking-hero p, .shop-page.accent-ink .booking-hero span, .shop-page.accent-ink .booking-hero a.hero-link { color: #fff; }
.shop-page.mode-dark.accent-ink .booking-hero, .shop-page.mode-dark.accent-ink .booking-hero p, .shop-page.mode-dark.accent-ink .booking-hero span, .shop-page.mode-dark.accent-ink .booking-hero a.hero-link { color: var(--sp-ink); }

/* Headings inside the flow */
.shop-page .booking-body h1, .shop-page .booking-body h2, .shop-page .booking-body h3,
.shop-page .booking-step h2, .shop-page .public-confirmation h1, .shop-page .public-confirmation h2,
.shop-page .ca-main h1, .shop-page .ca-main h2, .shop-page .ca-main h3, .shop-page .state-card h1 { font-family: var(--sp-display); font-weight: var(--sp-display-weight); letter-spacing: var(--sp-display-tracking); text-transform: var(--sp-display-case); color: var(--sp-ink); }
.shop-page .eyebrow { color: var(--sp-muted); }

/* Progress */
.shop-page .booking-progress button > span { background: var(--sp-surface); border-color: var(--sp-line-2); color: var(--sp-muted); }
.shop-page .booking-progress button > i { background: var(--sp-line-2); }
.shop-page .booking-progress button[aria-current="step"] > span { background: var(--sp-accent); border-color: var(--sp-accent); color: var(--sp-accent-ink); box-shadow: 0 0 0 4px var(--sp-soft); }
.shop-page .booking-progress button.done > span { background: var(--sp-soft); border-color: transparent; color: var(--sp-accent-dark); }
.shop-page .booking-progress button[aria-current="step"] { color: var(--sp-ink); }
.shop-page .booking-progress button { color: var(--sp-muted); }

/* Search, filters, cards, chips */
.shop-page .service-search { background: var(--sp-surface); border-color: var(--sp-line-2); color: var(--sp-ink); border-radius: var(--sp-r); }
.shop-page .service-search input { color: var(--sp-ink); background: transparent; }
.shop-page .service-search input::placeholder { color: var(--sp-muted); }
.shop-page .filter-chips button, .shop-page .small-toggles button, .shop-page .tip-chips button { background: var(--sp-surface); border-color: var(--sp-line-2); color: var(--sp-ink-2); border-radius: var(--sp-r-pill); }
.shop-page .filter-chips button[aria-pressed="true"], .shop-page .small-toggles button[aria-pressed="true"], .shop-page .tip-chips button[aria-pressed="true"] { background: var(--sp-accent); border-color: var(--sp-accent); color: var(--sp-accent-ink); }
.shop-page .service-choice, .shop-page .addon-choice, .shop-page .barber-choice, .shop-page .booking-summary, .shop-page .review-appointment, .shop-page .state-card, .shop-page .group-card, .shop-page .ca-card, .shop-page .ca-visit, .shop-page .offer-card { background: var(--sp-surface); border-color: var(--sp-line); color: var(--sp-ink); border-radius: var(--sp-r-lg); box-shadow: var(--sp-shadow); }
.shop-page .service-choice, .shop-page .addon-choice, .shop-page .barber-choice { border-radius: var(--sp-r); }
.shop-page .service-choice:hover, .shop-page .addon-choice:hover, .shop-page .barber-choice:hover { border-color: var(--sp-line-2); box-shadow: var(--sp-shadow-2); }
.shop-page .service-choice.chosen, .shop-page .addon-choice.chosen, .shop-page .barber-choice.chosen, .shop-page .barber-choice[aria-pressed="true"] { background: var(--sp-surface); border-color: var(--sp-accent); box-shadow: 0 0 0 1px var(--sp-accent), var(--sp-shadow); }
.shop-page .service-choice small, .shop-page .service-choice p, .shop-page .addon-choice small, .shop-page .barber-choice small, .shop-page .barber-choice p, .shop-page .booking-summary small, .shop-page .summary-meta, .shop-page .review-appointment > p, .shop-page .review-barber { color: var(--sp-muted); }
.shop-page .service-thumb, .shop-page .service-thumb.fade, .shop-page .service-thumb.beard, .shop-page .service-thumb.combo, .shop-page .service-thumb.junior, .shop-page .summary-service-icon { background: var(--sp-soft); color: var(--sp-accent-dark); border-radius: var(--sp-r-sm); }
.shop-page .popular-tag { background: var(--sp-soft); color: var(--sp-accent-dark); border-radius: var(--sp-r-pill); }
.shop-page .choice-radio { border-color: var(--sp-line-2); background: var(--sp-surface); }
.shop-page .service-choice.chosen .choice-radio, .shop-page .addon-choice.chosen .choice-radio { background: var(--sp-accent); border-color: var(--sp-accent); color: var(--sp-accent-ink); }
.shop-page .summary-price .deposit-line { background: var(--sp-soft); color: var(--sp-accent-dark); border-radius: var(--sp-r-sm); }
.shop-page .summary-price .deposit-line strong, .shop-page .summary-price .deposit-line b { color: var(--sp-accent-dark); }
.shop-page .portrait-selected { background: var(--sp-accent); color: var(--sp-accent-ink); }

/* Dates + times */
.shop-page .booking-dates button { background: var(--sp-surface); border-color: var(--sp-line); color: var(--sp-ink); border-radius: var(--sp-r); }
.shop-page .booking-dates button small { color: var(--sp-muted); }
.shop-page .booking-dates button.chosen { background: var(--sp-accent); border-color: var(--sp-accent); color: var(--sp-accent-ink); }
.shop-page .booking-dates button.chosen small, .shop-page .booking-dates button.chosen span, .shop-page .booking-dates button.chosen > strong { color: var(--sp-accent-ink); opacity: 1; }
.shop-page .booking-dates button:disabled { background: var(--sp-surface-2); color: var(--sp-muted); border-color: var(--sp-line); }
.shop-page .time-slots button { background: var(--sp-surface); border-color: var(--sp-line-2); color: var(--sp-ink); border-radius: var(--sp-r-sm); }
.shop-page .time-slots button:hover { border-color: var(--sp-accent); }
.shop-page .time-slots button.chosen, .shop-page .time-slots button[aria-pressed="true"] { background: var(--sp-accent); border-color: var(--sp-accent); color: var(--sp-accent-ink); }
.shop-page .time-slots button.chosen small, .shop-page .time-slots button.chosen span, .shop-page .time-slots button[aria-pressed="true"] small { color: var(--sp-accent-ink); opacity: 1; }
.shop-page .time-slots button:disabled { background: var(--sp-surface-2); border-color: var(--sp-line); color: var(--sp-muted); }
.shop-page .time-slots[aria-busy="true"]:empty { background: linear-gradient(90deg, var(--sp-surface-2) 25%, var(--sp-surface) 50%, var(--sp-surface-2) 75%); }

/* Forms */
.shop-page input, .shop-page select, .shop-page textarea, .shop-page .customer-fields textarea { background: var(--sp-surface); color: var(--sp-ink); border-color: var(--sp-line-2); border-radius: var(--sp-r-sm); font-family: var(--sp-text); }
.shop-page input::placeholder, .shop-page textarea::placeholder { color: var(--sp-muted); }
.shop-page input:focus, .shop-page select:focus, .shop-page textarea:focus { border-color: var(--sp-accent); box-shadow: 0 0 0 3px var(--sp-soft); outline: none; }
.shop-page label, .shop-page .field-label { color: var(--sp-ink-2); }
.shop-page .helper, .shop-page .hint { color: var(--sp-muted); }

/* Confirmation + manage */
.shop-page .public-manage-link, .shop-page .online-link-row code { background: var(--sp-surface-2); border-color: var(--sp-line-2); color: var(--sp-ink); border-radius: var(--sp-r-sm); }
.shop-page .booking-footer { color: var(--sp-muted); border-top-color: var(--sp-line); }

/* Buttons + links inside the flow */
.shop-page .button.primary, .shop-page button.primary { background: var(--sp-accent); border-color: var(--sp-accent); color: var(--sp-accent-ink); border-radius: var(--sp-r); }
.shop-page .button.primary:hover, .shop-page button.primary:hover { background: var(--sp-accent-dark); border-color: var(--sp-accent-dark); }
.shop-page .button.secondary, .shop-page button.secondary, .shop-page .button.ghost, .shop-page button.ghost { background: var(--sp-surface); border-color: var(--sp-line-2); color: var(--sp-ink); border-radius: var(--sp-r); }
.shop-page .button.secondary:hover, .shop-page button.secondary:hover, .shop-page .button.ghost:hover, .shop-page button.ghost:hover { background: var(--sp-surface-2); }
.shop-page .linklike, .shop-page a:not(.button) { color: var(--sp-accent-dark); }
.shop-page.mode-dark a:not(.button), .shop-page.mode-dark .linklike { color: var(--sp-accent); }

/* Customer account + offer */
.shop-page.customer-area .sp-nav { background: color-mix(in srgb, var(--sp-surface) 88%, transparent); border-bottom: 1px solid var(--sp-line); }
.shop-page.customer-area .sp-brand strong { color: var(--sp-ink); }
.shop-page .ca-tabs { background: var(--sp-surface); border-color: var(--sp-line); }
.shop-page .ca-tabs button { color: var(--sp-muted); }
.shop-page .ca-tabs button[aria-selected="true"], .shop-page .ca-tabs button.active { background: var(--sp-accent); color: var(--sp-accent-ink); }
.shop-page .ca-hero p, .shop-page .ca-main small, .shop-page .ca-main .muted { color: var(--sp-muted); }
.shop-page .sp-footer, .shop-page .customer-area > footer { background: var(--sp-surface); border-top: 1px solid var(--sp-line); color: var(--sp-muted); }
.shop-page .sp-powered { color: var(--sp-muted); }

/* Barber step: the "first available" tile and skill chips follow the accent, not foliyo blue. */
.shop-page .barber-portrait.forest { background: linear-gradient(135deg, var(--sp-accent-dark), var(--sp-accent)); color: var(--sp-accent-ink); }
.shop-page .barber-portrait .any-mark { background: color-mix(in srgb, var(--sp-accent-ink) 16%, transparent); }
.shop-page .barber-choice.any-barber { background: var(--sp-surface); }
.shop-page .barber-skills em { background: var(--sp-surface-2); color: var(--sp-ink-2); }
.shop-page .barber-portrait.plum, .shop-page .barber-portrait.slate, .shop-page .barber-portrait.sage, .shop-page .barber-portrait.sand, .shop-page .barber-portrait.blue, .shop-page .barber-portrait.clay,
.shop-page .service-thumb.plum, .shop-page .service-thumb.slate, .shop-page .service-thumb.sage, .shop-page .service-thumb.sand, .shop-page .service-thumb.blue, .shop-page .service-thumb.clay { background: var(--sp-soft); color: var(--sp-accent-dark); }
.shop-page .waitlist-card { background: var(--sp-surface-2); border-color: var(--sp-line); }
.shop-page .waitlist-card h4 { color: var(--sp-ink); }
.shop-page .waitlist-card p { color: var(--sp-muted); }

/* Date & time step */
.shop-page .next-available { background: var(--sp-surface); border-color: var(--sp-line); border-radius: var(--sp-r-lg); }
.shop-page .next-available .eyebrow { color: var(--sp-muted); }
.shop-page .next-chip { background: var(--sp-surface-2); border-color: var(--sp-line-2); border-radius: var(--sp-r); }
.shop-page .next-chip strong { color: var(--sp-ink); }
.shop-page .next-chip span { color: var(--sp-accent-dark); }
.shop-page.mode-dark .next-chip span { color: var(--sp-accent); }
.shop-page .next-chip:hover { border-color: var(--sp-accent); }
.shop-page .next-chip.chosen { background: var(--sp-accent); border-color: var(--sp-accent); }
.shop-page .next-chip.chosen strong, .shop-page .next-chip.chosen span { color: var(--sp-accent-ink); }
.shop-page .booking-dates button > strong { color: var(--sp-ink); }
.shop-page .booking-dates button.chosen > strong, .shop-page .booking-dates button.chosen > span, .shop-page .booking-dates button.chosen > small { color: var(--sp-accent-ink); }
.shop-page .slot-heading > span { color: var(--sp-muted); }
.shop-page .available-dot { background: var(--sp-accent); }
.shop-page .slot-note, .shop-page .booking-body .helper { color: var(--sp-muted); }

/* Initials avatars: pastel tiles vanish on dark, so use the accent tile there. */
.shop-page.mode-dark .avatar.sage, .shop-page.mode-dark .avatar.sand, .shop-page.mode-dark .avatar.blue, .shop-page.mode-dark .avatar.clay, .shop-page.mode-dark .avatar.plum, .shop-page.mode-dark .avatar.slate { background: var(--sp-soft); color: var(--sp-accent); border-color: transparent; }
.shop-page.mode-dark.accent-ink .avatar.sage, .shop-page.mode-dark.accent-ink .avatar.sand, .shop-page.mode-dark.accent-ink .avatar.blue, .shop-page.mode-dark.accent-ink .avatar.clay, .shop-page.mode-dark.accent-ink .avatar.plum, .shop-page.mode-dark.accent-ink .avatar.slate { background: var(--sp-surface-2); color: var(--sp-ink); }

/* Phone: the sticky actions bar follows the theme surface. */
@media (max-width: 740px) {
  .shop-page .booking-actions { background: color-mix(in srgb, var(--sp-surface) 96%, transparent); border-top-color: var(--sp-line); box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12); }
}

/* Confirmation + manage page odds and ends the sweep missed on the shared shell. */
.shop-page .hero-seal, .shop-page .hero-seal > strong, .shop-page .hero-seal > strong > span, .shop-page .hero-seal > span { color: inherit; }
.shop-page .hero-art .hero-seal { opacity: 1; }
.shop-page .cancellation-note { background: var(--sp-surface-2); color: var(--sp-ink-2); border-color: var(--sp-line); border-radius: var(--sp-r); }
.shop-page .cancellation-note p, .shop-page .cancellation-note svg, .shop-page .cancellation-note strong { color: var(--sp-ink-2); }
.shop-page .cancellation-note strong { color: var(--sp-ink); }
.shop-page .action-tile { background: var(--sp-surface); color: var(--sp-ink); border-color: var(--sp-line-2); border-radius: var(--sp-r); }
.shop-page .action-tile svg { color: var(--sp-accent-dark); }
.shop-page.mode-dark .action-tile svg { color: var(--sp-accent); }
.shop-page .action-tile:hover { border-color: var(--sp-accent); }
.shop-page .action-tile small, .shop-page .action-tile span { color: var(--sp-muted); }
/* Customer account "your usual" card: inverted panel in both looks. */
.shop-page .ca-usual { background: var(--sp-hero-bg); color: #fff; }
.shop-page .ca-usual .eyebrow, .shop-page .ca-usual p { color: rgba(255, 255, 255, 0.8); }
.shop-page .ca-usual h2 { color: #fff; }
.shop-page.mode-dark .ca-usual { background: var(--sp-surface-2); color: var(--sp-ink); border: 1px solid var(--sp-line); }
.shop-page.mode-dark .ca-usual .eyebrow, .shop-page.mode-dark .ca-usual p { color: var(--sp-muted); }
.shop-page.mode-dark .ca-usual h2 { color: var(--sp-ink); }
.shop-page.mode-dark .ca-usual .button.secondary { background: var(--sp-surface); border-color: var(--sp-line-2); color: var(--sp-ink); }

/* ============================================================================
   Website builder — section variants.
   Every section has a few curated layouts (see SECTION_VARIANTS in src/server/domain.ts). Each one
   is written to look right at every width on its own: the rules below key off the page's own
   width (container queries) so the same CSS drives the live phone / tablet / desktop preview in
   the builder and the real page in a browser. Owners choose a look, never a breakpoint.
   ========================================================================== */
/* The containers are the full-width bands (nav, main, footer) rather than the page root, so fixed
   elements inside the page (tab bar, booking bottom bar, dialogs) keep the viewport as their frame. */
.shop-page > .sp-nav, .shop-page > main, .shop-page > .sp-footer { container-type: inline-size; container-name: shop; }

/* Secondary colour: highlights (popular tags, today's hours, next-free pills, review stars). Falls
   back to the primary tokens when the owner hasn't set one. */
.shop-page { --sp-accent-2: var(--sp-accent); --sp-accent-2-ink: var(--sp-accent-ink); --sp-soft-2: var(--sp-soft); }
.shop-page .sp-popular, .shop-page .sp-barber-next, .shop-page .sp-hours > div.today { background: var(--sp-soft-2); color: color-mix(in srgb, var(--sp-accent-2) 80%, var(--sp-ink)); }
.shop-page .stars .on { color: var(--sp-accent-2); }
.shop-page.custom-accent .sp-cta-card { background: var(--sp-accent); color: var(--sp-accent-ink); }
.shop-page.custom-accent .sp-cta-card .sp-cta-btn { background: var(--sp-accent-ink); color: var(--sp-accent); }

/* ---- Hero -------------------------------------------------------------------- */
/* cover: full-bleed photo, copy bottom-left, taller than editorial, strong scrim. */
.shop-page .sp-hero.v-cover.has-cover .sp-hero-inner { min-height: min(88vh, 820px); align-content: end; }
.shop-page .sp-hero.v-cover.has-cover .sp-hero-inner::before { background: linear-gradient(180deg, rgba(8, 9, 12, 0.05) 0%, rgba(8, 9, 12, 0.25) 40%, rgba(8, 9, 12, 0.9) 100%); inset: -100vh -100vw; }
.shop-page .sp-hero.v-cover h1 { font-size: clamp(44px, 8cqw, 108px); }
/* minimal: no photo (cover is ignored), compact, brand-first. */
.shop-page .sp-hero.v-minimal .sp-hero-img, .shop-page .sp-hero.v-minimal .sp-hero-side { display: none; }
.shop-page .sp-hero.v-minimal.has-cover .sp-hero-inner::before { content: none; }
.shop-page .sp-hero.v-minimal { background: var(--sp-surface); color: var(--sp-ink); --sp-hero-ink: var(--sp-ink); --sp-hero-muted: var(--sp-muted); border-bottom: 1px solid var(--sp-line); }
.shop-page .sp-hero.v-minimal .sp-hero-inner { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(28px, 3vw, 48px); min-height: 0; }
.shop-page .sp-hero.v-minimal h1 { font-size: clamp(30px, 4cqw, 48px); }
.shop-page .sp-hero.v-minimal .sp-open { background: var(--sp-surface-2); border-color: var(--sp-line); }
.shop-page .sp-hero.v-minimal .button.secondary { background: var(--sp-surface); border-color: var(--sp-line-2); color: var(--sp-ink); }
.shop-page .sp-hero.v-minimal .sp-hero-copy h1, .shop-page .sp-hero.v-minimal .sp-strap, .shop-page .sp-hero.v-minimal .sp-hero-meta { text-shadow: none; }
.shop-page.mode-light.logo-flip .sp-hero.v-minimal img.sp-hero-logo { filter: none; }
/* Hero variants collapse the same way on narrow pages. */
@container shop (max-width: 767px) {
  .shop-page .sp-hero.v-cover.has-cover .sp-hero-inner { min-height: min(76vh, 600px); }
  .shop-page .sp-hero.v-split.has-cover .sp-hero-inner { grid-template-columns: 1fr; }
  .shop-page .sp-hero.v-split .sp-hero-side { aspect-ratio: 16 / 10; order: -1; }
}

/* ---- Next available ------------------------------------------------------------- */
/* strip (default): grid of tiles. card: single accent card listing barbers as rows. */
.shop-page .sp-next.v-card .sp-next-list { grid-template-columns: 1fr; gap: 0; background: var(--sp-surface); border: 1px solid var(--sp-line); border-radius: var(--sp-r-lg); overflow: hidden; }
.shop-page .sp-next.v-card .sp-next-list :is(button, a) { border: 0; border-radius: 0; border-bottom: 1px solid var(--sp-line); box-shadow: none; transform: none; }
.shop-page .sp-next.v-card .sp-next-list li:last-child :is(button, a) { border-bottom: 0; }
.shop-page .sp-next.v-card .sp-next-list :is(button, a):hover { background: var(--sp-surface-2); }
@container shop (min-width: 768px) {
  .shop-page .sp-next.v-card .sp-next-list { grid-template-columns: 1fr 1fr; }
  .shop-page .sp-next.v-card .sp-next-list li:nth-child(odd) :is(button, a) { border-right: 1px solid var(--sp-line); }
}

/* ---- Services --------------------------------------------------------------------- */
/* menu (default): two-column list of rows. cards: taller cards with price up top. grid: compact
   square tiles. tabs: categories as a horizontal chip row, one list underneath. */
.shop-page .sp-services-section.v-cards .sp-services { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.shop-page .sp-services-section.v-cards .sp-services :is(button, a) { grid-template-columns: 1fr; grid-template-areas: "meta" "text" "go"; align-content: start; gap: 10px; padding: 18px 18px 16px; min-height: 150px; }
.shop-page .sp-services-section.v-cards .sp-service-meta { grid-area: meta; text-align: left; display: flex; align-items: baseline; gap: 8px; }
.shop-page .sp-services-section.v-cards .sp-service-meta b { font-size: 22px; color: var(--sp-accent-dark); font-family: var(--sp-display); letter-spacing: var(--sp-display-tracking); }
.shop-page .sp-services-section.v-cards .sp-service-text { grid-area: text; }
.shop-page .sp-services-section.v-cards .sp-service-go { grid-area: go; justify-self: end; margin-top: auto; }
.shop-page .sp-services-section.v-grid .sp-services { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.shop-page .sp-services-section.v-grid .sp-services :is(button, a) { grid-template-columns: 1fr; gap: 6px; padding: 14px; min-height: 0; align-content: start; }
.shop-page .sp-services-section.v-grid .sp-service-text small, .shop-page .sp-services-section.v-grid .sp-service-go { display: none; }
.shop-page .sp-services-section.v-grid .sp-service-text b { font-size: 15px; }
.shop-page .sp-services-section.v-grid .sp-service-meta { text-align: left; display: flex; gap: 8px; align-items: baseline; }
.shop-page .sp-services-section.v-grid .sp-service-meta b { color: var(--sp-accent-dark); }
.shop-page .sp-services-section.v-tabs .sp-cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; padding: 0; list-style: none; }
.shop-page .sp-services-section.v-tabs .sp-cat-tabs button { font: inherit; font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: var(--sp-r-pill); border: 1px solid var(--sp-line-2); background: var(--sp-surface); color: var(--sp-ink-2); cursor: pointer; }
.shop-page .sp-services-section.v-tabs .sp-cat-tabs button[aria-selected="true"] { background: var(--sp-accent); border-color: var(--sp-accent); color: var(--sp-accent-ink); }
.shop-page .sp-services-section.v-tabs .sp-cat h3 { display: none; }
.shop-page .sp-services-section.v-tabs .sp-cat:not(.is-active) { display: none; }
.shop-page .sp-services-section.v-tabs .sp-services { grid-template-columns: 1fr; gap: 0; background: var(--sp-surface); border: 1px solid var(--sp-line); border-radius: var(--sp-r-lg); overflow: hidden; }
.shop-page .sp-services-section.v-tabs .sp-services :is(button, a) { border: 0; border-radius: 0; border-bottom: 1px solid var(--sp-line); box-shadow: none; transform: none; }
.shop-page .sp-services-section.v-tabs .sp-services li:last-child :is(button, a) { border-bottom: 0; }
.shop-page .sp-services-section.v-tabs .sp-services :is(button, a):hover { background: var(--sp-surface-2); }
@container shop (max-width: 767px) {
  .shop-page .sp-services-section.v-cards .sp-services { grid-template-columns: 1fr 1fr; gap: 10px; }
  .shop-page .sp-services-section.v-cards .sp-services :is(button, a) { padding: 14px; min-height: 120px; }
  .shop-page .sp-services-section.v-cards .sp-service-meta b { font-size: 19px; }
  .shop-page .sp-services-section.v-cards .sp-service-text small { display: none; }
  .shop-page .sp-services-section.v-grid .sp-services { grid-template-columns: 1fr 1fr; }
}
@container shop (max-width: 379px) {
  .shop-page .sp-services-section.v-cards .sp-services { grid-template-columns: 1fr; }
}

/* ---- Team -------------------------------------------------------------------------- */
/* cards (default). list: one row per barber, photo left, action right. portraits: big photo on
   top, name under. compact: small avatars in a tight grid, bios hidden. */
.shop-page .sp-team-section.v-list .sp-team { grid-template-columns: 1fr; gap: 0; background: var(--sp-surface); border: 1px solid var(--sp-line); border-radius: var(--sp-r-lg); overflow: hidden; }
.shop-page .sp-team-section.v-list .sp-barber { grid-template-columns: auto 1fr auto; border: 0; border-radius: 0; border-bottom: 1px solid var(--sp-line); align-items: center; padding: 14px 16px; }
.shop-page .sp-team-section.v-list .sp-team li:last-child { border-bottom: 0; }
.shop-page .sp-team-section.v-list .sp-barber .avatar.large, .shop-page .sp-team-section.v-list .sp-photo { width: 56px; height: 56px; font-size: 15px; }
.shop-page .sp-team-section.v-list .sp-barber-text p { display: none; }
.shop-page .sp-team-section.v-list .sp-barber-actions { grid-column: auto; margin: 0; }
.shop-page .sp-team-section.v-list .sp-barber-actions .button { flex: 0 0 auto; }
.shop-page .sp-team-section.v-list .sp-ig { display: none; }
.shop-page .sp-team-section.v-portraits .sp-team { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.shop-page .sp-team-section.v-portraits .sp-barber { grid-template-columns: 1fr; padding: 0; overflow: hidden; }
.shop-page .sp-team-section.v-portraits .sp-barber .avatar.large, .shop-page .sp-team-section.v-portraits .sp-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 0; font-size: 40px; }
.shop-page .sp-team-section.v-portraits .sp-barber-text { padding: 14px 16px 0; }
.shop-page .sp-team-section.v-portraits .sp-barber-actions { padding: 0 16px 16px; }
.shop-page .sp-team-section.v-compact .sp-team { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.shop-page .sp-team-section.v-compact .sp-barber { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 16px 12px; gap: 8px; }
.shop-page .sp-team-section.v-compact .sp-barber .avatar.large, .shop-page .sp-team-section.v-compact .sp-photo { width: 64px; height: 64px; border-radius: 50%; }
.shop-page .sp-team-section.v-compact .sp-barber-text { justify-items: center; }
.shop-page .sp-team-section.v-compact .sp-barber-text p, .shop-page .sp-team-section.v-compact .sp-skills, .shop-page .sp-team-section.v-compact .sp-ig { display: none; }
.shop-page .sp-team-section.v-compact .sp-barber-actions { margin: 0; justify-content: center; width: 100%; }
.shop-page .sp-team-section.v-compact .sp-barber-actions .button { min-height: 36px; font-size: 13px; padding: 0 12px; }
@container shop (max-width: 767px) {
  .shop-page .sp-team-section.v-list .sp-barber { grid-template-columns: auto 1fr; }
  .shop-page .sp-team-section.v-list .sp-barber-actions { grid-column: 1 / -1; }
  .shop-page .sp-team-section.v-list .sp-barber-actions .button { flex: 1 1 auto; }
  .shop-page .sp-team-section.v-portraits .sp-team { grid-template-columns: 1fr 1fr; gap: 10px; }
  .shop-page .sp-team-section.v-portraits .sp-barber-text { padding: 10px 12px 0; }
  .shop-page .sp-team-section.v-portraits .sp-barber-actions { padding: 0 12px 12px; }
  .shop-page .sp-team-section.v-portraits .sp-barber-text p, .shop-page .sp-team-section.v-portraits .sp-skills { display: none; }
  .shop-page .sp-team-section.v-compact .sp-team { grid-template-columns: repeat(3, 1fr); }
}
@container shop (max-width: 379px) {
  .shop-page .sp-team-section.v-compact .sp-team { grid-template-columns: 1fr 1fr; }
}

/* ---- Booking call to action -------------------------------------------------------------- */
/* band (default): accent card. card: quiet surface card with an accent button. */
.shop-page .sp-booking-cta.v-card .sp-cta-card { background: var(--sp-surface); color: var(--sp-ink); border: 1px solid var(--sp-line); }
.shop-page .sp-booking-cta.v-card .sp-cta-card p { color: var(--sp-muted); }
.shop-page .sp-booking-cta.v-card .sp-cta-card .sp-cta-btn { background: var(--sp-accent); color: var(--sp-accent-ink); }

/* ---- Hours ------------------------------------------------------------------------------- */
/* table (default). chips: today big, other days as a row of small chips. */
.shop-page .sp-hours-section.v-chips .sp-hours { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-page .sp-hours-section.v-chips .sp-hours > div { grid-template-columns: 1fr; gap: 2px; padding: 10px 12px; border: 1px solid var(--sp-line); border-radius: var(--sp-r); flex: 1 1 96px; min-width: 96px; background: var(--sp-surface); }
.shop-page .sp-hours-section.v-chips .sp-hours dt { font-size: 12px; color: var(--sp-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.shop-page .sp-hours-section.v-chips .sp-hours dd { font-weight: 600; }
.shop-page .sp-hours-section.v-chips .sp-hours > div.today { flex: 1 1 100%; border-color: var(--sp-accent-2); font-weight: 600; }
.shop-page .sp-hours-section.v-chips .sp-hours > div.today dt::after { content: " · today"; text-transform: none; letter-spacing: 0; }

/* ---- Find us ------------------------------------------------------------------------------ */
/* card (default): address + button. map: embedded map above the address. */
.shop-page .sp-map { display: block; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--sp-line); border-radius: var(--sp-r); margin: 12px 0 4px; background: var(--sp-surface-2); }
.shop-page .sp-map-placeholder { display: grid; place-items: center; color: var(--sp-muted); font-weight: 600; gap: 6px; }
.shop-page .sp-find-section.v-map .sp-address { margin-top: 8px; }

/* ---- Gallery ------------------------------------------------------------------------------ */
/* grid (default): squares. masonry: columns with natural heights. strip: one horizontal snap row. */
.shop-page .sp-gallery-section.v-masonry .sp-gallery { display: block; columns: 3 200px; column-gap: 10px; }
.shop-page .sp-gallery-section.v-masonry .sp-gallery li { break-inside: avoid; margin-bottom: 10px; }
.shop-page .sp-gallery-section.v-masonry .sp-gallery img { aspect-ratio: auto; height: auto; }
.shop-page .sp-gallery-section.v-masonry .sp-gallery li:nth-child(3n+1) img { aspect-ratio: 4 / 5; }
.shop-page .sp-gallery-section.v-masonry .sp-gallery li:nth-child(3n+2) img { aspect-ratio: 1; }
.shop-page .sp-gallery-section.v-masonry .sp-gallery li:nth-child(3n) img { aspect-ratio: 5 / 4; }
.shop-page .sp-gallery-section.v-strip .sp-gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.shop-page .sp-gallery-section.v-strip .sp-gallery li { flex: 0 0 min(72%, 340px); scroll-snap-align: start; }
.shop-page .sp-gallery-section.v-strip .sp-gallery img { aspect-ratio: 4 / 5; }
@container shop (max-width: 767px) {
  .shop-page .sp-gallery-section.v-grid .sp-gallery { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .shop-page .sp-gallery-section.v-masonry .sp-gallery { columns: 2; column-gap: 8px; }
}

/* ---- Reviews ------------------------------------------------------------------------------ */
/* cards (default). wall: masonry columns. carousel: horizontal snap row. quote: one big pull-quote,
   the rest small underneath. */
.shop-page .sp-reviews.v-wall .sp-review-list { display: block; columns: 3 260px; column-gap: 14px; }
.shop-page .sp-reviews.v-wall .sp-review { break-inside: avoid; margin-bottom: 14px; }
.shop-page .sp-reviews.v-carousel .sp-review-list { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 10px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.shop-page .sp-reviews.v-carousel .sp-review { flex: 0 0 min(84%, 360px); scroll-snap-align: start; }
.shop-page .sp-review-quote { margin: 0 0 20px; padding: clamp(20px, 3vw, 36px); background: var(--sp-surface); border: 1px solid var(--sp-line); border-left: 4px solid var(--sp-accent-2); border-radius: var(--sp-r-lg); display: grid; gap: 12px; }
.shop-page .sp-review-quote p { margin: 0; font-family: var(--sp-display); font-weight: 500; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.3; letter-spacing: -0.01em; color: var(--sp-ink); text-transform: none; }
.shop-page .sp-review-quote footer { color: var(--sp-muted); font-size: 14px; }
.shop-page .sp-review-quote footer strong { color: var(--sp-ink); }
.shop-page .sp-reviews.v-quote .sp-review-list { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.shop-page .sp-reviews.v-quote .sp-review { padding: 12px 14px; gap: 6px; font-size: 14px; }
.shop-page .sp-reviews.v-quote .sp-review p { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@container shop (max-width: 767px) {
  .shop-page .sp-reviews.v-wall .sp-review-list { columns: 1; }
}

/* ---- Policies ------------------------------------------------------------------------------ */
.shop-page .sp-policies.v-panel ul { background: var(--sp-surface); border: 1px solid var(--sp-line); border-radius: var(--sp-r-lg); padding: 18px 20px; display: grid; gap: 12px; }

/* ---- Footer -------------------------------------------------------------------------------- */
/* simple (default): one row. columns: brand left, links stacked right, credit on its own line. */
.shop-page.v-footer-columns .sp-footer-inner { grid-template-columns: 1fr auto; align-items: start; }
.shop-page.v-footer-columns .sp-footer-links { flex-direction: column; gap: 8px; }
.shop-page.v-footer-columns .powered-by { grid-column: 1 / -1; border-top: 1px solid var(--sp-line); padding-top: 14px; }
@container shop (max-width: 767px) {
  .shop-page.v-footer-columns .sp-footer-inner { grid-template-columns: 1fr; }
  .shop-page.v-footer-columns .sp-footer-links { flex-direction: row; flex-wrap: wrap; gap: 12px 16px; }
}

/* ---- Container-query fallbacks for the base layouts ------------------------------------------
   The base sections use viewport media queries in design.css; inside the builder's device frame
   the viewport is the owner's desktop, so mirror the phone rules against the container. */
@container shop (max-width: 767px) {
  .shop-page .sp-nav nav { display: none; }
  .shop-page .sp-two, .shop-page .sp-two.single { grid-template-columns: 1fr; gap: 0; padding: 0 16px; }
  .shop-page .sp-two > .sp-section { margin: 8px 0; }
  .shop-page .sp-footer-inner { grid-template-columns: 1fr; gap: 12px; }
  .shop-page .sp-cta-card { grid-template-columns: 1fr; }
  .shop-page .sp-hero-inner { padding: 40px 20px 36px; }
  .shop-page.hero-editorial .sp-hero.has-cover .sp-hero-inner { min-height: min(72vh, 560px); }
  .shop-page.hero-centred .sp-hero-inner { min-height: min(60vh, 480px); }
  .shop-page.hero-split .sp-hero.has-cover .sp-hero-inner { grid-template-columns: 1fr; }
  .shop-page.hero-split .sp-hero-side { aspect-ratio: 16 / 10; order: -1; }
  .shop-page .sp-hero h1 { font-size: clamp(36px, 11cqw, 52px); }
  .shop-page .sp-hero-actions { width: 100%; }
  .shop-page .sp-hero-actions .button { flex: 1 1 auto; justify-content: center; }
  .shop-page .sp-services, .shop-page .sp-team, .shop-page .sp-next-list, .shop-page .sp-review-list { grid-template-columns: 1fr; }
  .shop-page .sp-services-section.v-cards .sp-services { grid-template-columns: 1fr 1fr; }
  .shop-page .sp-services-section.v-grid .sp-services { grid-template-columns: 1fr 1fr; }
  .shop-page .sp-team-section.v-portraits .sp-team { grid-template-columns: 1fr 1fr; }
  .shop-page .sp-team-section.v-compact .sp-team { grid-template-columns: repeat(3, 1fr); }
  .shop-page .sp-reviews.v-quote .sp-review-list { grid-template-columns: 1fr 1fr; }
}
@container shop (min-width: 768px) and (max-width: 1023px) {
  .shop-page .sp-services, .shop-page .sp-team, .shop-page .sp-review-list { grid-template-columns: 1fr 1fr; }
  .shop-page .sp-next-list { grid-template-columns: repeat(3, 1fr); }
  .shop-page .sp-services-section.v-cards .sp-services { grid-template-columns: repeat(3, 1fr); }
  .shop-page .sp-services-section.v-grid .sp-services { grid-template-columns: repeat(4, 1fr); }
  .shop-page .sp-team-section.v-portraits .sp-team { grid-template-columns: repeat(3, 1fr); }
  .shop-page .sp-team-section.v-compact .sp-team { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Preview frame (builder) ------------------------------------------------------------------ */
.shop-page.sp-preview { min-height: 100%; }
/* Inside the frame the viewport is the owner's screen, so fluid type keys off the frame instead. */
.shop-page.sp-preview .sp-hero h1 { font-size: clamp(36px, 6.4cqw, 84px); }
.shop-page.sp-preview .sp-strap { font-size: clamp(16px, 1.6cqw, 21px); }
.shop-page.sp-preview .sp-section h2 { font-size: clamp(24px, 2.8cqw, 36px); }
.shop-page.sp-preview .sp-hero-inner { padding: clamp(40px, 8cqw, 112px) clamp(20px, 4cqw, 40px) clamp(36px, 6cqw, 88px); }
.shop-page.sp-preview .sp-hero.has-cover .sp-hero-inner { min-height: min(72cqh, 640px); }
.shop-page.sp-preview .sp-nav { position: sticky; top: 0; }
.shop-page.sp-preview .skip-link { display: none; }
/* Never let a variant push the page wider than its frame. */
.shop-page .sp-barber, .shop-page .sp-services li, .shop-page .sp-hours > div, .shop-page .sp-review, .shop-page .sp-next-list li { min-width: 0; }
.shop-page .sp-team-section.v-compact .sp-barber-actions .button { white-space: normal; text-align: center; line-height: 1.2; padding: 6px 10px; max-width: 100%; }
.shop-page .sp-hours-section.v-chips .sp-hours > div { min-width: 0; flex-basis: 84px; }
.shop-page .sp-services-section.v-tabs .sp-cat-tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.shop-page .sp-services-section.v-tabs .sp-cat-tabs button { white-space: nowrap; }
.shop-page .sp-review-quote p { overflow-wrap: anywhere; }
.shop-page .sp-gallery-section.v-strip .sp-gallery, .shop-page .sp-reviews.v-carousel .sp-review-list { max-width: 100%; }

/* =============================================================================
   foliyo 2026 refresh — customer-facing shop pages.
   The owner's choices (accent, light/dark, font, corners, hero, section layouts) still drive
   everything; this pass sharpens what every shop shares: livelier accents, crisper neutrals,
   tighter rhythm, bigger photos and clearer hover/press feedback.
   ============================================================================ */
.shop-page {
  --sp-bg: #f6f7f9;
  --sp-surface-2: #eff1f4;
  --sp-ink: #0e0f12;
  --sp-ink-2: #2a2d35;
  --sp-muted: #5d616c;
  --sp-line: #e5e7eb;
  --sp-line-2: #d6d9df;
  --sp-shadow: 0 1px 2px rgba(14, 15, 18, 0.05), 0 8px 24px -14px rgba(14, 15, 18, 0.22);
  --sp-shadow-2: 0 2px 6px rgba(14, 15, 18, 0.06), 0 22px 44px -18px rgba(14, 15, 18, 0.32);
}
.shop-page.mode-dark { --sp-bg: #0c0d10; --sp-surface: #15161a; --sp-surface-2: #1d1f24; --sp-line: rgba(255, 255, 255, 0.08); --sp-line-2: rgba(255, 255, 255, 0.15); }
/* Livelier accents (same names, so saved choices carry over) */
.shop-page.accent-ollo { --sp-accent: #00805c; --sp-accent-dark: #006b4d; --sp-soft: #e3fbf3; }
.shop-page.accent-sage { --sp-accent: #0c7d56; --sp-accent-dark: #0b6e4b; --sp-soft: rgba(12, 125, 86, 0.12); }
.shop-page.accent-clay { --sp-accent: #c2410c; --sp-accent-dark: #9a330a; --sp-soft: rgba(194, 65, 12, 0.11); }
.shop-page.accent-plum { --sp-accent: #6d3fe0; --sp-accent-dark: #5530b8; --sp-soft: rgba(109, 63, 224, 0.11); }
.shop-page.accent-slate { --sp-accent: #3f4b5e; --sp-accent-dark: #2c3646; --sp-soft: rgba(63, 75, 94, 0.11); }
.shop-page.mode-dark.accent-ollo { --sp-accent: #00e8b0; --sp-accent-dark: #4ff0c8; --sp-accent-ink: #0b0b0c; --sp-soft: rgba(0, 232, 176, 0.14); }
.shop-page.mode-dark.accent-sage { --sp-accent: #34d399; --sp-accent-dark: #6ee7b7; --sp-accent-ink: #0b0b0c; --sp-soft: rgba(52, 211, 153, 0.14); }
.shop-page.mode-dark.accent-clay { --sp-accent: #fb8c4a; --sp-accent-dark: #fdab78; --sp-accent-ink: #0b0b0c; --sp-soft: rgba(251, 140, 74, 0.14); }
.shop-page.mode-dark.accent-plum { --sp-accent: #a78bfa; --sp-accent-dark: #c4b5fd; --sp-accent-ink: #0b0b0c; --sp-soft: rgba(167, 139, 250, 0.15); }
.shop-page.mode-dark.accent-slate { --sp-accent: #a3b1c6; --sp-accent-dark: #c3cddb; --sp-accent-ink: #0b0b0c; --sp-soft: rgba(163, 177, 198, 0.14); }

.shop-page { text-rendering: optimizeLegibility; -moz-osx-font-smoothing: grayscale; }
.shop-page .button { transition: background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.shop-page .button:active { transform: translateY(1px); }
.shop-page .button.primary { box-shadow: 0 1px 2px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .14); }
.shop-page :focus-visible { outline: 2px solid var(--sp-accent); outline-offset: 2px; }

/* Rhythm: one consistent gap between sections instead of stacked paddings */
.shop-page .sp-section { padding-top: clamp(28px, 4vw, 52px); padding-bottom: clamp(20px, 3vw, 36px); }
.shop-page .sp-section h2 { line-height: 1.05; }
.shop-page .sp-section-head { margin-bottom: 20px; gap: 6px; }
.shop-page .sp-about p { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; max-width: 62ch; }

/* Hero: deeper bottom scrim so text stays crisp on any photo */
.shop-page.hero-editorial .sp-hero.has-cover .sp-hero-inner::before { background: linear-gradient(180deg, rgba(8, 9, 12, 0) 0%, rgba(8, 9, 12, 0.25) 40%, rgba(8, 9, 12, 0.88) 100%), linear-gradient(90deg, rgba(8, 9, 12, 0.6) 0%, rgba(8, 9, 12, 0) 65%); }
.shop-page .sp-hero-actions { gap: 10px; }
.shop-page .sp-hero-actions .button { min-height: 52px; padding: 0 26px; }
.shop-page .sp-open { font-weight: 600; letter-spacing: .01em; }

/* Next available: bigger photo, the time as a clear accent pill */
.shop-page .sp-next-list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.shop-page .sp-next-list :is(button, a) { padding: 12px 14px 12px 12px; gap: 14px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.shop-page .sp-next-list :is(button, a):hover { transform: translateY(-2px); border-color: var(--sp-accent); }
.shop-page .sp-next-photo, .shop-page .sp-next-list .avatar { width: 52px; height: 52px; }
.shop-page .sp-next-time { background: var(--sp-soft); color: var(--sp-accent-dark); padding: 6px 10px; border-radius: var(--sp-r); font-size: 18px; line-height: 1; }
.shop-page.mode-dark .sp-next-time { color: var(--sp-accent); }

/* Services: clearer hover, price stands out */
.shop-page .sp-services :is(button, a) { transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.shop-page .sp-services :is(button, a):hover { transform: translateY(-2px); border-color: var(--sp-accent); }
.shop-page .sp-service-meta b { font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.shop-page .sp-service-go { width: 32px; height: 32px; border-radius: var(--sp-r-pill); }
.shop-page.mode-dark .sp-popular { color: var(--sp-accent); }

/* Team (card layout): full-width portrait on top — the people are the product */
.shop-page .sp-team-section.v-cards .sp-team { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.shop-page .sp-team-section.v-cards .sp-barber { grid-template-columns: 1fr; padding: 0; overflow: hidden; gap: 0; transition: transform .2s ease, box-shadow .2s ease; }
.shop-page .sp-team-section.v-cards .sp-barber:hover { transform: translateY(-3px); box-shadow: var(--sp-shadow-2); }
.shop-page .sp-team-section.v-cards .sp-barber > .sp-photo, .shop-page .sp-team-section.v-cards .sp-barber > .avatar.large { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; object-position: 50% 28%; font-size: 40px; }
.shop-page .sp-team-section.v-cards .sp-barber-text { padding: 18px 20px 0; gap: 6px; }
.shop-page .sp-team-section.v-cards .sp-barber-text b { font-size: 18px; letter-spacing: -0.01em; }
.shop-page .sp-team-section.v-cards .sp-barber-actions { padding: 14px 20px 20px; margin-top: auto; }
.shop-page .sp-team-section.v-cards .sp-barber { display: flex; flex-direction: column; }
.shop-page.mode-dark .sp-barber-next { color: var(--sp-accent); }

/* Booking band */
.shop-page .sp-cta-card { position: relative; overflow: hidden; box-shadow: var(--sp-shadow-2); }
.shop-page .sp-cta-card::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.14), transparent 70%); pointer-events: none; }

/* Hours & find us cards */
.shop-page .sp-two { gap: 16px; }
.shop-page .sp-hours > div { padding: 10px 14px; border-radius: var(--sp-r); }
.shop-page .sp-hours > div.today { background: var(--sp-soft); color: var(--sp-ink); box-shadow: inset 3px 0 0 var(--sp-accent); }

/* Gallery: larger, even tiles with a subtle zoom */
.shop-page .sp-gallery { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.shop-page .sp-gallery li { overflow: hidden; border-radius: var(--sp-r); }
.shop-page .sp-gallery img { aspect-ratio: 4 / 3; transition: transform .5s ease; }
.shop-page .sp-gallery li:hover img { transform: scale(1.04); }

/* Reviews */
.shop-page .sp-review { transition: box-shadow .2s ease; }
.shop-page .sp-review:hover { box-shadow: var(--sp-shadow-2); }
.shop-page .stars .on { color: #ffb020; fill: #ffb020; }

@media (max-width: 767px) {
  .shop-page .sp-team-section.v-cards .sp-team { grid-template-columns: 1fr; }
  .shop-page .sp-gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-page .sp-next-list :is(button, a), .shop-page .sp-services :is(button, a), .shop-page .sp-team-section.v-cards .sp-barber, .shop-page .sp-gallery img { transition: none; }
}
/* Card titles are links, but they read as content: ink, with the accent kept for prices and actions */
.shop-page .sp-services a, .shop-page .sp-next-list a { color: var(--sp-ink); }
/* Booking band button: always the inverse of the band */
.shop-page .sp-cta-card .button.sp-cta-btn { background: var(--sp-accent-ink); color: var(--sp-accent-dark); border-color: transparent; }
.shop-page.accent-ink .sp-cta-card .button.sp-cta-btn { background: #fff; color: #111318; }
.shop-page.mode-dark.accent-ink .sp-cta-card .button.sp-cta-btn { background: var(--sp-ink); color: var(--sp-bg); }
.shop-page.mode-dark:not(.accent-ink) .sp-cta-card .button.sp-cta-btn { background: var(--sp-accent-ink); color: var(--sp-accent); }

/* Team card: each barber's own rating and "Read reviews" (only reviews the shop shows). */
.shop-page .sp-barber-rating { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--sp-ink-2); }
.shop-page .sp-barber-rating .stars { display: inline-flex; gap: 1px; }
.shop-page .sp-read-reviews { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--sp-accent-dark, var(--sp-ink)); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.shop-page .sp-read-reviews:focus-visible { outline: 2px solid var(--sp-accent, currentColor); outline-offset: 2px; border-radius: 4px; }
.shop-page .sp-barber-reviews { grid-column: 1 / -1; list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; max-height: 420px; overflow: auto; }
.shop-page .sp-barber-reviews .sp-review { border: 1px solid var(--sp-line); border-radius: var(--sp-r-card, 14px); padding: 12px; background: var(--sp-surface-2, transparent); }
.shop-page .sp-barber-reviews .sp-review header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; }
.shop-page .sp-barber-reviews .sp-review header span { color: var(--sp-muted); }
.shop-page .sp-barber-reviews .sp-review p { margin: 6px 0 0; font-size: 14px; }
