/*
 * Cut Mate Theme v3.3.3
 * A theme-owned design system layered after the compatible Core plugin.
 */

:root {
  --cm-page: #F8F5EB;
  --cm-surface: #FFFFFF;
  --cm-surface-secondary: #EFECE3;
  --cm-surface-raised: #FFFFFF;
  --cm-text: #1F2937;
  --cm-text-muted: #69717E;
  --cm-border: #D6DBD7;
  --cm-primary: #0F3D32;
  --cm-primary-hover: #0A3027;
  --cm-secondary: #2E6B5A;
  --cm-premium: #D4A853;
  --cm-success: #0C7A57;
  --cm-danger: #D62B1F;
  --cm-focus: #2E6B5A;
  --cm-night: #07130F;
  --cm-on-primary: #FFFFFF;
  --bab-page-bg: var(--cm-page);
  --bab-surface: var(--cm-surface);
  --bab-surface-raised: var(--cm-surface-raised);
  --bab-surface-soft: var(--cm-surface-secondary);
  --bab-header-bg: color-mix(in srgb, var(--bab-page-bg) 82%, transparent);
  --bab-footer-bg: var(--cm-night);
  --bab-nav-bg: var(--cm-surface);
  --bab-input-bg: var(--cm-surface);
  --bab-text: var(--cm-text);
  --bab-text-muted: var(--cm-text-muted);
  --bab-heading: var(--cm-text);
  --bab-border: var(--cm-border);
  --bab-divider: var(--cm-border);
  --bab-accent: var(--cm-primary);
  --bab-accent-hover: var(--cm-primary-hover);
  --bab-accent-bright: var(--cm-secondary);
  --bab-success: var(--cm-success);
  --bab-on-success: var(--cm-on-primary);
  --bab-blue: var(--cm-secondary);
  --bab-navy: var(--cm-night);
  --bab-red: var(--cm-primary);
  --bab-on-accent: var(--cm-on-primary);
  --bab-focus: var(--cm-focus);
  --bab-danger-soft: #FDECEA;
  --bab-success-soft: #E7F5EF;
  --bab-blue-soft: #E7F0EC;
  --bab-overlay: rgba(7, 19, 15, .62);
  --bab-page: var(--bab-page-bg);
  --bab-font-heading: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bab-font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bab-space-1: .25rem;
  --bab-space-2: .5rem;
  --bab-space-3: .75rem;
  --bab-space-4: 1rem;
  --bab-space-5: 1.5rem;
  --bab-space-6: 2rem;
  --bab-space-7: 3rem;
  --bab-space-8: 4.5rem;
  --bab-wrap: 1280px;
  --bab-reading: 760px;
  --bab-radius-sm: 10px;
  --bab-radius-md: 16px;
  --bab-radius-lg: 22px;
  --bab-radius-xl: 30px;
  --bab-shadow-sm: 0 6px 18px rgba(17, 19, 24, .07);
  --bab-shadow-md: 0 18px 50px rgba(17, 19, 24, .11);
  --bab-shadow-lg: 0 28px 90px rgba(17, 19, 24, .15);
  --bab-focus-ring: 0 0 0 3px color-mix(in srgb, var(--bab-focus) 72%, transparent);
  --bab-motion-fast: 140ms;
  --bab-motion-standard: 220ms;
  --bab-motion-panel: 320ms;
  --bab-motion-reveal: 460ms;
  --bab-ease-out: cubic-bezier(.22, 1, .36, 1);
  --bab-header-height: 76px;
  --bab-mobile-nav-height: 72px;
  --bab-z-header: 900;
  --bab-z-nav: 1000;
  --bab-z-popover: 1100;
  --bab-z-toast: 1200;
  /* Backward-compatible aliases consumed by Book A Barber Core CSS. */
  --bab-ink: var(--bab-text);
  --bab-paper: var(--bab-page-bg);
  --bab-white: var(--bab-surface);
  --bab-muted: var(--bab-text-muted);
  --bab-line: var(--bab-border);
  --bab-shadow: var(--bab-shadow-md);
  color-scheme: light;
}

.bab-dark {
  --cm-page: #07130F;
  --cm-surface: #0D1F19;
  --cm-surface-secondary: #132820;
  --cm-surface-raised: #193229;
  --cm-text: #F7F5ED;
  --cm-text-muted: #B7BDB8;
  --cm-border: #284137;
  --cm-primary: #8ED9BA;
  --cm-primary-hover: #A5E6C9;
  --cm-secondary: #6FAE98;
  --cm-success: #52D6A5;
  --cm-danger: #F87171;
  --cm-focus: #D4A853;
  --cm-on-primary: #07130F;
  --bab-page-bg: var(--cm-page);
  --bab-surface: var(--cm-surface);
  --bab-surface-soft: var(--cm-surface-secondary);
  --bab-surface-raised: var(--cm-surface-raised);
  --bab-header-bg: color-mix(in srgb, var(--cm-page) 88%, transparent);
  --bab-footer-bg: #04100C;
  --bab-nav-bg: var(--cm-surface);
  --bab-input-bg: var(--cm-surface-secondary);
  --bab-text: var(--cm-text);
  --bab-text-muted: var(--cm-text-muted);
  --bab-heading: var(--cm-text);
  --bab-border: var(--cm-border);
  --bab-divider: var(--cm-border);
  --bab-accent: var(--cm-primary);
  --bab-accent-hover: var(--cm-primary-hover);
  --bab-success: var(--cm-success);
  --bab-on-success: var(--cm-on-primary);
  --bab-blue: var(--cm-secondary);
  --bab-red: var(--cm-primary);
  --bab-on-accent: var(--cm-on-primary);
  --bab-focus: var(--cm-focus);
  --bab-danger-soft: #3B1B1B;
  --bab-success-soft: #12372B;
  --bab-blue-soft: #17362C;
  --bab-overlay: rgba(0, 0, 0, .72);
  --bab-shadow-sm: 0 8px 22px rgba(0, 0, 0, .24);
  --bab-shadow-md: 0 22px 56px rgba(0, 0, 0, .32);
  --bab-shadow-lg: 0 32px 96px rgba(0, 0, 0, .4);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; background: var(--bab-page); }
body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  background: var(--bab-page);
  color: var(--bab-text);
  font-family: var(--bab-font-body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--bab-motion-standard), color var(--bab-motion-standard);
}
body, input, textarea { caret-color: var(--bab-accent); }
* { scrollbar-color: color-mix(in srgb, var(--bab-accent) 55%, var(--bab-border)) var(--bab-page); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bab-page); }
::-webkit-scrollbar-thumb { border: 2px solid var(--bab-page); border-radius: 999px; background: color-mix(in srgb, var(--bab-accent) 55%, var(--bab-border)); }
body.admin-bar .bab-site-header { top: 32px; }
body.bab-overlay-open { overflow: hidden; }
body.bab-header-is-fixed .bab-site-main { padding-top: var(--bab-header-offset, var(--bab-header-height)); }
img, svg { max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-underline-offset: .18em; }
h1, h2, h3, h4 { color: var(--bab-heading); font-family: var(--bab-font-heading); letter-spacing: -.035em; line-height: 1.05; }
p { text-wrap: pretty; }
::selection { background: color-mix(in srgb, var(--bab-accent) 22%, transparent); }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid var(--bab-focus); outline-offset: 3px; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; width: 1px; white-space: nowrap; }
.is-hidden, [hidden] { display: none !important; }
.bab-wrap { width: min(var(--bab-wrap), calc(100% - 48px)); margin-inline: auto; }
.bab-site-main { min-height: 60vh; background: var(--bab-page); }
.bab-skip-link { position: fixed; left: 16px; top: -100px; z-index: 9999; padding: 12px 16px; border-radius: var(--bab-radius-sm); background: var(--bab-surface); color: var(--bab-text); box-shadow: var(--bab-shadow-md); font-weight: 800; }
.bab-skip-link:focus { top: 16px; }

/* Header and navigation */
.bab-site-header {
  position: sticky;
  top: 0;
  z-index: var(--bab-z-header);
  background: var(--bab-header-bg);
  border-bottom: 1px solid color-mix(in srgb, var(--bab-border) 76%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: background var(--bab-motion-standard), box-shadow var(--bab-motion-standard);
}
.bab-overlay-active .bab-site-header { z-index: calc(var(--bab-z-popover) + 1); }
.bab-site-header.is-compact { background: color-mix(in srgb, var(--bab-surface) 94%, transparent); box-shadow: var(--bab-shadow-sm); }
.bab-header-inner { width: min(1380px, calc(100% - 36px)); min-height: var(--bab-header-height); margin-inline: auto; display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); transition: min-height var(--bab-motion-standard); }
.bab-site-header.is-compact .bab-header-inner { min-height: 64px; }
.bab-brand { display: inline-flex; flex: 0 1 212px; align-items: center; min-width: 150px; text-decoration: none; }
.bab-brand-logo-wrap { display: grid; place-items: center start; width: 100%; height: 58px; padding-block: 4px; overflow: visible; box-sizing: border-box; }
.bab-brand-logo { grid-area: 1 / 1; display: block; width: auto; max-width: 100%; max-height: 50px; object-fit: contain; object-position: left center; }
.bab-brand-logo--dark { display: none; }
.bab-dark .bab-brand-logo--light { display: none; }
.bab-dark .bab-brand-logo--dark { display: block; }
.bab-profile-placeholder .bab-brand-logo-wrap--icon { width: min(118px, 46%); height: auto; padding: 0; aspect-ratio: 181 / 234; }
.bab-profile-placeholder .bab-brand-logo-wrap--icon .bab-brand-logo { width: 100%; max-width: none; max-height: none; }
.bab-navigation { margin-left: auto; }
.bab-main-menu { display: flex; align-items: center; gap: 2px; padding: 0; margin: 0; list-style: none; }
.bab-main-menu li { margin: 0; }
.bab-main-menu a { display: block; padding: 10px 11px; border-radius: var(--bab-radius-sm); color: var(--bab-text); font-size: .79rem; font-weight: 750; text-decoration: none; white-space: nowrap; transition: color var(--bab-motion-fast), background var(--bab-motion-fast); }
.bab-main-menu a:hover, .bab-main-menu .current-menu-item > a { background: var(--bab-surface-soft); color: var(--bab-accent); }
.bab-mobile-nav-head { display: none; }
.bab-header-actions { display: flex; align-items: center; gap: 8px; }
.bab-header-actions svg, .bab-appearance-menu svg, .bab-app-bottom-nav svg, .bab-install-app svg, .bab-home-trust svg, .bab-home-trust-strip svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bab-account-link, .bab-logout-link, .bab-menu-toggle, .bab-appearance-trigger {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--bab-border);
  border-radius: var(--bab-radius-sm);
  background: var(--bab-surface);
  color: var(--bab-text);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--bab-motion-fast), border-color var(--bab-motion-fast), background var(--bab-motion-fast);
}
.bab-account-link:hover, .bab-appearance-trigger:hover { border-color: color-mix(in srgb, var(--bab-accent) 38%, var(--bab-border)); }
.bab-login-link { border-color: var(--bab-accent); background: var(--bab-accent); color: var(--bab-on-accent); }
.bab-login-link:hover { background: var(--bab-accent-hover); color: var(--bab-on-accent); }
.bab-logout-link { color: var(--bab-accent); }
.bab-menu-toggle { display: none; width: 44px; padding: 0; }
.bab-appearance { position: relative; }
.bab-appearance-trigger { width: 44px; padding: 0; border-radius: 50%; }
.bab-appearance-label { position: absolute; clip: rect(0 0 0 0); width: 1px; height: 1px; overflow: hidden; }
.bab-appearance--header .bab-appearance-current { position: absolute; clip: rect(0 0 0 0); width: 1px; height: 1px; overflow: hidden; }
.bab-appearance--mobile { display: none; }
.bab-mobile-appearance-trigger { width: 100%; min-height: 64px; display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--bab-border); border-radius: var(--bab-radius-md); background: var(--bab-surface-soft); color: var(--bab-text); text-align: left; cursor: pointer; }
.bab-mobile-appearance-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--bab-surface-raised); color: var(--bab-accent); }
.bab-mobile-appearance-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bab-mobile-appearance-copy { display: flex; flex-direction: column; min-width: 0; }
.bab-mobile-appearance-copy small { color: var(--bab-text-muted); }
.bab-appearance-menu { position: absolute; top: calc(100% + 12px); right: 0; width: 285px; padding: 10px; border: 1px solid var(--bab-border); border-radius: var(--bab-radius-lg); background: var(--bab-surface-raised); box-shadow: var(--bab-shadow-lg); transform-origin: top right; animation: bab-popover-in var(--bab-motion-panel) var(--bab-ease-out) both; }
.bab-appearance-title { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px 10px; }
.bab-appearance-title > button { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--bab-text-muted); cursor: pointer; }
.bab-appearance-menu > button[role="menuitemradio"] { width: 100%; display: grid; grid-template-columns: 38px 1fr 18px; gap: 10px; align-items: center; min-height: 60px; padding: 9px 10px; border: 0; border-radius: var(--bab-radius-md); background: transparent; color: var(--bab-text); text-align: left; cursor: pointer; }
.bab-appearance-menu > button:hover, .bab-appearance-menu > button.is-selected { background: var(--bab-surface-soft); }
.bab-appearance-menu > button > svg { width: 22px; height: 22px; }
.bab-appearance-menu > button span { display: flex; flex-direction: column; }
.bab-appearance-menu > button small { color: var(--bab-text-muted); font-size: .73rem; }
.bab-appearance-menu > button i { width: 16px; height: 16px; border: 1.5px solid var(--bab-border); border-radius: 50%; }
.bab-appearance-menu > button.is-selected i { border: 5px solid var(--bab-accent); }
.bab-nav-scrim { position: fixed; inset: 0; z-index: calc(var(--bab-z-nav) - 1); background: var(--bab-overlay); }
@keyframes bab-popover-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }

/* Type, buttons and shared surfaces */
.bab-theme-eyebrow, .bab-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--bab-accent); font-size: .72rem; font-weight: 900; letter-spacing: .115em; text-transform: uppercase; }
.bab-theme-eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.bab-theme-button, .bab-core-active .bab-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--bab-accent);
  border-radius: var(--bab-radius-sm);
  background: var(--bab-accent);
  color: var(--bab-on-accent) !important;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--bab-accent) 22%, transparent);
  cursor: pointer;
  transition: transform var(--bab-motion-fast), box-shadow var(--bab-motion-fast), background var(--bab-motion-fast);
}
.bab-theme-button:hover, .bab-core-active .bab-button:hover { background: var(--bab-accent-hover); transform: translateY(-1px); box-shadow: 0 14px 30px color-mix(in srgb, var(--bab-accent) 27%, transparent); }
.bab-theme-button:active, .bab-core-active .bab-button:active { transform: translateY(1px) scale(.99); }
.bab-theme-button--secondary, .bab-core-active .bab-button--secondary { background: var(--bab-surface); color: var(--bab-text) !important; border-color: var(--bab-border); box-shadow: none; }
.bab-theme-button--secondary:hover, .bab-core-active .bab-button--secondary:hover { background: var(--bab-surface-soft); }
.bab-theme-button--wide, .bab-core-active .bab-button--wide { width: 100%; }
.bab-core-active .bab-button--small { min-height: 38px; padding: 8px 12px; font-size: .78rem; }
.bab-muted-copy { color: var(--bab-text-muted); }

/* Homepage */
.bab-home-hero { position: relative; overflow: hidden; padding: clamp(34px, 4vw, 58px) 0 54px; background: radial-gradient(circle at 14% 0%, color-mix(in srgb, var(--bab-accent) 10%, transparent), transparent 30%), radial-gradient(circle at 88% 20%, color-mix(in srgb, var(--bab-blue) 12%, transparent), transparent 32%), var(--bab-page); }
.bab-home-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr); gap: clamp(30px, 4vw, 58px); align-items: center; }
.bab-home-intro { padding: 20px 0 74px; }
.bab-home-intro h1 { margin: 14px 0 18px; font-size: clamp(3.65rem, 5.35vw, 6rem); letter-spacing: -.068em; line-height: .9; }
.bab-home-intro h1 em { color: var(--bab-accent); font-style: normal; }
.bab-home-intro > p { margin: 0; max-width: 520px; color: var(--bab-text-muted); font-size: clamp(1rem, 1.6vw, 1.18rem); }
.bab-home-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.bab-home-trust span { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 12px; border: 1px solid var(--bab-border); border-radius: var(--bab-radius-md); background: color-mix(in srgb, var(--bab-surface) 82%, transparent); color: var(--bab-text); font-size: .78rem; }
.bab-home-trust svg { flex: 0 0 22px; color: var(--bab-accent); }
.bab-home-media { min-height: 0; aspect-ratio: 1.48 / 1; position: relative; overflow: hidden; border: 1px solid var(--bab-border); border-radius: var(--bab-radius-xl); background: linear-gradient(145deg, var(--bab-surface), var(--bab-surface-soft)); box-shadow: var(--bab-shadow-lg); }
.bab-home-media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, color-mix(in srgb, var(--bab-page) 14%, transparent), transparent 34%), linear-gradient(0deg, rgba(8, 15, 23, .18), transparent 42%); }
.bab-home-media::after { content: ""; position: absolute; inset: auto 22px 22px auto; z-index: 2; width: 92px; height: 6px; border-radius: 99px; background: var(--cm-premium); opacity: .92; box-shadow: 0 4px 14px rgba(7,19,15,.18); }
.bab-home-media-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bab-home-media--left .bab-home-media-image { object-position: left center; }
.bab-home-media--right .bab-home-media-image { object-position: right center; }
.bab-home-media--top .bab-home-media-image { object-position: center top; }
.bab-home-media--bottom .bab-home-media-image { object-position: center bottom; }
.bab-home-media-fallback { min-height: 520px; display: grid; place-items: center; align-content: center; gap: 9px; padding: 36px; text-align: center; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--bab-accent) 12%, transparent), transparent 38%), linear-gradient(145deg, var(--bab-surface), var(--bab-surface-soft)); }
.bab-home-media-fallback img { width: min(320px, 72%); margin-bottom: 12px; }
.bab-home-media-fallback span { color: var(--bab-text-muted); font-size: .83rem; font-weight: 800; }
.bab-home-booking-stage { position: relative; z-index: 2; margin-top: clamp(-72px, -4.6vw, -48px); }
.bab-home-booking-stage::before { content: ""; position: absolute; inset: 8% 6% -8%; z-index: -1; border-radius: 50%; background: linear-gradient(100deg, color-mix(in srgb, var(--bab-accent) 15%, transparent), color-mix(in srgb, var(--bab-blue) 13%, transparent)); filter: blur(36px); }
.bab-home-recommendations { padding: clamp(48px, 5vw, 72px) 0; background: var(--bab-surface); }
.bab-home-section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 24px; }
.bab-home-section-head h2 { max-width: 720px; margin: 9px 0 0; font-size: clamp(1.85rem, 2.6vw, 2.8rem); line-height: 1.02; }
.bab-home-section-head > a { flex: 0 0 auto; color: var(--bab-accent); font-weight: 850; text-decoration: none; }
.bab-home-trust-strip { padding: 0 0 64px; background: var(--bab-surface); }
.bab-home-trust-strip .bab-wrap { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--bab-border); border-radius: var(--bab-radius-lg); background: var(--bab-surface-soft); }
.bab-home-trust-strip article { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 20px; }
.bab-home-trust-strip article + article { border-left: 1px solid var(--bab-border); }
.bab-home-trust-strip svg { flex: 0 0 24px; color: var(--bab-accent); }
.bab-home-trust-strip article div { display: flex; flex-direction: column; min-width: 0; }
.bab-home-trust-strip span { color: var(--bab-text-muted); font-size: .75rem; }
.bab-home-pro-cta { padding: 0 0 clamp(72px, 9vw, 120px); background: var(--bab-surface); }
.bab-home-pro-card { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(34px, 5vw, 68px); border-radius: var(--bab-radius-lg); background: linear-gradient(125deg, var(--cm-night), var(--cm-primary)); color: #fff; box-shadow: var(--bab-shadow-lg); }
.bab-home-pro-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 86% 12%, rgba(255, 255, 255, .16), transparent 25%), repeating-linear-gradient(145deg, transparent 0 44px, rgba(255,255,255,.025) 44px 88px); }
.bab-home-pro-card > * { position: relative; z-index: 1; }
.bab-home-pro-card h2 { margin: 12px 0; color: #fff; font-size: clamp(2.5rem, 5vw, 5rem); }
.bab-home-pro-card p { max-width: 680px; margin: 0; color: rgba(255, 255, 255, .72); }
.bab-home-pro-card .bab-theme-eyebrow { color: var(--cm-premium); }
.bab-home-pro-card .bab-theme-button { flex: 0 0 auto; }

/* Standard pages and profiles */
.bab-page-hero, .bab-profile-hero { padding: clamp(56px, 7vw, 92px) 0; background: radial-gradient(circle at 82% 12%, color-mix(in srgb, var(--bab-blue) 11%, transparent), transparent 28%), var(--bab-surface-soft); }
.bab-page-hero h1, .bab-profile-grid h1 { max-width: 920px; margin: 14px 0; font-size: clamp(3rem, 6vw, 6.2rem); line-height: .94; }
.bab-page-hero p { max-width: var(--bab-reading); color: var(--bab-text-muted); }
.bab-content-wrap { padding: 56px 0 92px; }
.bab-content-wrap--control { max-width: none; padding: 1px 0 64px; }
.bab-content-wrap--register { padding-block: clamp(26px, 5vw, 64px); }
.bab-register-shell { display: grid; grid-template-columns: minmax(280px, .88fr) minmax(0, 1.12fr); gap: clamp(18px, 3vw, 34px); align-items: start; }
.bab-register-intro { position: sticky; top: calc(var(--bab-header-height) + 22px); overflow: hidden; padding: clamp(28px, 4vw, 48px); border-radius: var(--bab-radius-xl); background: linear-gradient(145deg, var(--cm-night), var(--cm-primary)); color: #fff; box-shadow: var(--bab-shadow-lg); }
.bab-register-intro::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 90% 8%, rgba(255,255,255,.17), transparent 28%); }
.bab-register-intro > * { position: relative; z-index: 1; }
.bab-register-intro .bab-theme-eyebrow { color: var(--cm-premium); }
.bab-register-intro h1 { max-width: 520px; margin: 12px 0 14px; color: #fff; font-size: clamp(2.2rem, 4vw, 4.1rem); line-height: .96; }
.bab-register-intro p { max-width: 560px; margin: 0; color: rgba(255,255,255,.78); font-size: 1rem; line-height: 1.55; }
.bab-register-intro ul { display: grid; gap: 13px; margin: 28px 0 0; padding: 0; list-style: none; }
.bab-register-intro li { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 10px; font-size: .9rem; font-weight: 760; }
.bab-register-intro li span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.14); color: var(--cm-premium); }
.bab-register-panel { min-width: 0; }
.bab-content-wrap--register .bab-register-form,
.bab-content-wrap--register .bab-login-required { width: 100%; max-width: none; min-height: 0; margin: 0; padding: clamp(24px, 3.5vw, 38px); border: 1px solid var(--bab-border); border-radius: var(--bab-radius-xl); background: var(--bab-surface); box-shadow: var(--bab-shadow-md); box-sizing: border-box; }
.bab-content-wrap--register .bab-register-form > h1 { display: none; }
.bab-content-wrap--register .bab-login-required { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; text-align: left; overflow: hidden; }
.bab-content-wrap--register .bab-login-required .bab-kicker { max-width: 100%; margin: 0; color: var(--bab-accent); font-size: .7rem !important; letter-spacing: .12em !important; line-height: 1.3; overflow-wrap: anywhere; }
.bab-content-wrap--register .bab-login-required h2 { max-width: 620px; margin: 0; color: var(--bab-heading); font-size: clamp(1.35rem, 2.5vw, 2rem) !important; line-height: 1.08; letter-spacing: -.025em; overflow-wrap: anywhere; }
.bab-content-wrap--register .bab-login-required .bab-button { margin-top: 4px; }
.bab-theme-section { padding: clamp(64px, 8vw, 104px) 0; }
.bab-theme-section--soft { background: var(--bab-surface-soft); }
.bab-entry-content { color: var(--bab-text); font-size: 1.04rem; }
.bab-entry-content > * { max-width: var(--bab-reading); }
.bab-profile-grid { display: grid; grid-template-columns: minmax(280px, 440px) minmax(0, 1fr); gap: clamp(34px, 6vw, 76px); align-items: center; }
.bab-profile-photo { overflow: hidden; border: 1px solid var(--bab-border); border-radius: var(--bab-radius-xl); background: var(--bab-surface); box-shadow: var(--bab-shadow-md); }
.bab-profile-photo > img, .bab-profile-photo .bab-barber-photo, .bab-profile-placeholder { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.bab-profile-placeholder { display: grid; place-items: center; background: radial-gradient(circle, color-mix(in srgb, var(--bab-accent) 12%, transparent), transparent 50%), var(--bab-surface); }
.bab-profile-placeholder img { width: 140px; }
.bab-profile-summary > p { max-width: 680px; color: var(--bab-text-muted); font-size: 1.08rem; }
.bab-profile-title-row { display: flex; align-items: center; gap: 16px; }
.bab-profile-title-row h1 { min-width: 0; }
.bab-profile-favourite { position: static !important; flex: 0 0 48px; width: 48px !important; height: 48px !important; }
.bab-profile-tags, .bab-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; }
.bab-profile-tags span, .bab-tags span { padding: 7px 10px; border: 1px solid var(--bab-border); border-radius: var(--bab-radius-sm); background: var(--bab-surface); color: var(--bab-text-muted); font-size: .76rem; font-weight: 750; }
.bab-profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.bab-profile-content, .bab-shop-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, 400px); gap: clamp(36px, 6vw, 72px); align-items: start; }
.bab-profile-content h2, .bab-shop-content h2 { margin-top: 0; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.bab-profile-services, .bab-shop-contact { padding: 24px; border: 1px solid var(--bab-border); border-radius: var(--bab-radius-lg); background: var(--bab-surface); box-shadow: var(--bab-shadow-sm); }
.bab-profile-services article { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--bab-border); }
.bab-profile-services article div, .bab-shop-contact p { display: flex; flex-direction: column; gap: 3px; }
.bab-profile-services small, .bab-shop-contact span { color: var(--bab-text-muted); }
.bab-profile-services article > strong { color: var(--bab-accent); }
.bab-profile-services .bab-theme-button { margin-top: 20px; }
.bab-shop-contact p { padding-bottom: 14px; border-bottom: 1px solid var(--bab-border); }
.bab-simple-person { overflow: hidden; border: 1px solid var(--bab-border); border-radius: var(--bab-radius-lg); background: var(--bab-surface); box-shadow: var(--bab-shadow-sm); }
.bab-simple-person-media { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bab-surface-soft); }
.bab-simple-person-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--bab-motion-panel) var(--bab-ease-out); }
.bab-simple-person:hover img { transform: scale(1.025); }
.bab-simple-person > div { padding: 18px; }
.bab-simple-person h3 { margin: 0 0 16px; font-size: 1.25rem; }
.bab-simple-person h3 a { text-decoration: none; }
.bab-mobile-booking-action { display: none; }
.bab-plugin-required, .bab-empty { padding: 28px; border: 1px dashed var(--bab-border); border-radius: var(--bab-radius-lg); background: var(--bab-surface); color: var(--bab-text-muted); text-align: center; }
.bab-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding: 64px 0; }
.bab-post-card { overflow: hidden; border: 1px solid var(--bab-border); border-radius: var(--bab-radius-lg); background: var(--bab-surface); }
.bab-post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.bab-post-card > div { padding: 20px; }
.bab-post-card h2 a { text-decoration: none; }
.bab-single-content { max-width: 920px; padding: 72px 0; }
.bab-single-content header h1 { font-size: clamp(3rem, 6vw, 5.5rem); }
.bab-single-content > img { margin: 24px 0; border-radius: var(--bab-radius-xl); }

/* Core plugin visual integration */
.bab-core-active :where(.bab-booking-experience, .bab-directory, .bab-dashboard, .bab-contact-page, .bab-auth-shell, .bab-pos-control, .bab-gift-choice-shell) { color: var(--bab-text); font-family: var(--bab-font-body); }
.bab-core-active :where(.bab-booking-experience, .bab-directory, .bab-dashboard, .bab-contact-page) h1,
.bab-core-active :where(.bab-booking-experience, .bab-directory, .bab-dashboard, .bab-contact-page) h2,
.bab-core-active :where(.bab-booking-experience, .bab-directory, .bab-dashboard, .bab-contact-page) h3 { color: var(--bab-heading); font-family: var(--bab-font-heading); }
.bab-core-active :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { min-height: 46px; border: 1px solid var(--bab-border); border-radius: var(--bab-radius-sm); background: var(--bab-input-bg); color: var(--bab-text); }
.bab-core-active :where(input, select, textarea):focus { border-color: var(--bab-focus); outline: 0; box-shadow: var(--bab-focus-ring); }
.bab-core-active :where(input, textarea)::placeholder { color: color-mix(in srgb, var(--bab-text-muted) 78%, transparent); }
.bab-core-active :where(.bab-flow-card, .bab-dashboard-card, .bab-auth-card, .bab-auth-intro, .bab-contact-form, .bab-contact-grid > *, .bab-gift-option, .bab-team-card, .bab-pos-action-card, .bab-pos-tile, .bab-floor-chair, .bab-service-editor, .bab-booking-card, .bab-quick-card, .bab-referral-share-card, .bab-pos-preview-card) { border-color: var(--bab-border); border-radius: var(--bab-radius-lg); background: var(--bab-surface); color: var(--bab-text); box-shadow: var(--bab-shadow-sm); }
.bab-core-active .bab-flow-card { max-width: none; padding: clamp(20px, 2.4vw, 30px); border-radius: var(--bab-radius-xl); box-shadow: var(--bab-shadow-md); }
.bab-core-active .bab-flow-card::before,
.bab-dark .bab-core-active .bab-flow-card::before { background: linear-gradient(145deg, var(--bab-accent), var(--cm-premium)); }
.bab-core-active .bab-flow-head { align-items: flex-start; }
.bab-core-active .bab-flow-head h2 { margin: 6px 0 0; font-size: clamp(1.45rem, 2.2vw, 1.9rem); }
.bab-core-active .bab-flow-head > strong { color: var(--bab-text-muted); font-size: .75rem; }
.bab-core-active .bab-progress { height: 7px; overflow: hidden; border-radius: 99px; background: var(--bab-surface-soft); }
.bab-core-active .bab-progress i { border-radius: inherit; background: linear-gradient(90deg, var(--bab-accent), var(--bab-accent-bright)); transition: width var(--bab-motion-panel) var(--bab-ease-out); }
.bab-core-active .bab-flow-card.bab-has-theme-stepper .bab-progress { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.bab-theme-stepper { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin: 18px 0 20px; padding: 0; list-style: none; }
.bab-theme-stepper::before { content: ""; position: absolute; top: 16px; left: 6%; right: 6%; height: 2px; background: var(--bab-border); }
.bab-theme-stepper li { position: relative; z-index: 1; min-width: 0; display: grid; justify-items: center; gap: 5px; color: var(--bab-text-muted); font-size: .66rem; font-weight: 800; text-align: center; }
.bab-theme-stepper i { width: 34px; height: 34px; display: grid; place-items: center; border: 5px solid var(--bab-surface); border-radius: 50%; background: var(--bab-surface-soft); color: var(--bab-text); font-style: normal; box-shadow: 0 0 0 1px var(--bab-border); }
.bab-theme-stepper li.is-complete i, .bab-theme-stepper li.is-current i { background: var(--bab-accent); color: var(--bab-on-accent); box-shadow: 0 0 0 1px var(--bab-accent); }
.bab-theme-stepper li.is-current { color: var(--bab-accent); }
.bab-core-active .bab-flow-step { min-height: 0; animation: bab-step-in var(--bab-motion-panel) var(--bab-ease-out) both; }
.bab-core-active .bab-flow-step > h3 { margin: 0 0 14px; font-size: 1.02rem; letter-spacing: -.02em; }
.bab-core-active .bab-choice { min-height: 86px; display: grid; grid-template-columns: 42px minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; column-gap: 14px; row-gap: 2px; padding: 14px 16px; }
.bab-core-active .bab-choice > span { grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; align-self: center; border-radius: 12px; background: var(--bab-surface-soft); color: var(--bab-accent); font-size: 1.1rem; }
.bab-core-active .bab-choice > b { align-self: end; font-size: .94rem; }
.bab-core-active .bab-choice > small { align-self: start; font-size: .72rem; }
.bab-core-active :where(.bab-choice, .bab-service-option, .bab-selection-item, .bab-date-strip button, .bab-time-grid button, .bab-tap-choice) { min-height: 52px; border-color: var(--bab-border); border-radius: var(--bab-radius-md); background: var(--bab-surface); color: var(--bab-text); transition: border-color var(--bab-motion-fast), background var(--bab-motion-fast), transform var(--bab-motion-fast); }
.bab-core-active :where(.bab-choice, .bab-service-option, .bab-selection-item, .bab-date-strip button, .bab-time-grid button, .bab-tap-choice):hover { border-color: color-mix(in srgb, var(--bab-accent) 46%, var(--bab-border)); transform: translateY(-1px); }
.bab-core-active :where(.bab-choice, .bab-service-option, .bab-selection-item, .bab-date-strip button, .bab-time-grid button, .bab-tap-choice).is-active,
.bab-core-active :where(.bab-choice, .bab-service-option, .bab-selection-item, .bab-date-strip button, .bab-time-grid button, .bab-tap-choice).is-selected { border-color: var(--bab-accent); background: color-mix(in srgb, var(--bab-accent) 7%, var(--bab-surface)); box-shadow: 0 0 0 1px var(--bab-accent); }
.bab-core-active .bab-flow-actions { justify-content: flex-end; gap: 10px; margin-top: 18px; padding-top: 16px; border-color: var(--bab-border); }
.bab-core-active .bab-flow-actions [data-bab-back] { margin-right: auto; }
.bab-home-booking-stage .bab-regular-card { margin-bottom: 12px; padding: 14px 18px; border-radius: var(--bab-radius-lg); }
.bab-core-active .bab-flow-message { border-radius: var(--bab-radius-md); }
.bab-core-active .bab-flow-message.success, .bab-core-active .bab-pos-notice--success { border-color: var(--bab-success); background: var(--bab-success-soft); color: var(--bab-text); }
.bab-core-active .bab-flow-message.error, .bab-core-active .bab-pos-notice--error { border-color: var(--bab-accent); background: var(--bab-danger-soft); color: var(--bab-text); }
@keyframes bab-step-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }

.bab-core-active .bab-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.bab-core-active .bab-barber-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--bab-border); border-radius: var(--bab-radius-lg); background: var(--bab-surface); box-shadow: var(--bab-shadow-sm); transition: transform var(--bab-motion-standard), box-shadow var(--bab-motion-standard), border-color var(--bab-motion-standard); }
.bab-core-active .bab-barber-card:hover, .bab-core-active .bab-barber-card:focus-within { transform: translateY(-4px); border-color: color-mix(in srgb, var(--bab-accent) 32%, var(--bab-border)); box-shadow: var(--bab-shadow-md); }
.bab-core-active .bab-barber-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bab-surface-soft); }
.bab-core-active .bab-barber-card__media img, .bab-core-active .bab-barber-card__media .bab-barber-photo { width: 100%; height: 100%; object-fit: cover; transition: transform var(--bab-motion-panel) var(--bab-ease-out); }
.bab-core-active .bab-barber-card__media :is(.bab-directory-placeholder, .bab-barber-photo--placeholder) { object-fit: contain; padding: 9%; }
.bab-core-active .bab-barber-card:hover .bab-barber-card__media img { transform: scale(1.025); }
.bab-core-active .bab-barber-card__body { min-height: 232px; display: flex; flex-direction: column; align-items: stretch; padding: 17px; }
.bab-core-active .bab-barber-card__body h3 { margin: 8px 0 4px; font-size: 1.2rem; }
.bab-core-active .bab-barber-card__body h3 a { overflow-wrap: anywhere; }
.bab-core-active .bab-barber-card__body p, .bab-core-active .bab-card-topline { color: color-mix(in srgb, var(--bab-text) 76%, var(--bab-surface)); font-size: .81rem; line-height: 1.5; }
.bab-core-active .bab-card-location { min-height: 2.7em; margin: 4px 0 0; font-weight: 600; }
.bab-core-active .bab-card-facts { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 10px 0; color: color-mix(in srgb, var(--bab-text) 76%, var(--bab-surface)); font-size: .8rem; }
.bab-core-active .bab-card-booking-state { min-height: 0; margin: 12px 0; font-weight: 700; }
.bab-core-active .bab-card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: auto; }
.bab-core-active .bab-card-actions .bab-button { flex: 1 1 150px; margin-top: 0; }
.bab-core-active .bab-card-action-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--bab-accent); font-size: .78rem; font-weight: 800; text-decoration: none; }
.bab-core-active .bab-card-action-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.bab-home-recommendations .bab-barber-card__body > p { display: none; }
.bab-home-recommendations .bab-barber-card__body .bab-tags { margin: 10px 0 14px; }
.bab-core-active .bab-card-ribbon { top: 12px; left: 12px; border-radius: var(--bab-radius-sm); background: var(--bab-accent); color: var(--bab-on-accent); }
.bab-core-active .bab-card-ribbon.is-bookable { background: var(--cm-primary); color: #fff; }
.bab-dark .bab-core-active .bab-card-ribbon.is-bookable { background: var(--cm-primary); color: var(--cm-on-primary); }
.bab-core-active .bab-card-ribbon.muted { background: var(--bab-surface-raised); color: var(--bab-text); border: 1px solid var(--bab-border); }
.bab-core-active .bab-favourite { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--bab-border); border-radius: 50%; background: color-mix(in srgb, var(--bab-surface) 90%, transparent); color: var(--bab-text); font-size: 1.1rem; cursor: pointer; transition: transform var(--bab-motion-fast), color var(--bab-motion-fast), background var(--bab-motion-fast); }
.bab-core-active .bab-favourite:hover { transform: scale(1.06); }
.bab-core-active .bab-favourite.is-active { background: var(--bab-accent); border-color: var(--bab-accent); color: var(--bab-on-accent); animation: bab-heart var(--bab-motion-panel) var(--bab-ease-out); }
@keyframes bab-heart { 50% { transform: scale(1.18); } }

.bab-core-active .bab-directory { padding-top: clamp(32px, 5vw, 68px); }
.bab-core-active .bab-directory-intro { padding: 0 0 22px; }
.bab-core-active .bab-directory-intro h1 { margin: 8px 0 10px; font-size: clamp(2.45rem, 4vw, 4.5rem); }
.bab-core-active .bab-directory-intro p { max-width: 760px; color: var(--bab-text-muted); }
.bab-core-active .bab-filter-bar { padding: 14px; border: 1px solid var(--bab-border); border-radius: var(--bab-radius-lg); background: var(--bab-surface); box-shadow: var(--bab-shadow-sm); }
.bab-core-active .bab-link-button { min-height: 42px; border-radius: var(--bab-radius-sm); color: var(--bab-accent); }
.bab-core-active .bab-directory-count { margin: 0 0 14px; color: var(--bab-text-muted); font-size: .82rem; font-weight: 750; }

.bab-core-active .bab-dashboard { gap: 24px; }
.bab-core-active .bab-dashboard-nav { border-color: var(--bab-border); border-radius: var(--bab-radius-lg); background: var(--bab-surface); color: var(--bab-text); box-shadow: var(--bab-shadow-sm); }
.bab-core-active .bab-dashboard-nav nav button { min-height: 46px; border-radius: var(--bab-radius-sm); color: var(--bab-text-muted); }
.bab-core-active .bab-dashboard-nav nav button:hover, .bab-core-active .bab-dashboard-nav nav button.is-active { background: var(--bab-surface-soft); color: var(--bab-accent); }
.bab-core-active .bab-user-block { border-color: var(--bab-border); }
.bab-core-active .bab-user-block > span { background: var(--bab-accent); color: var(--bab-on-accent); }
.bab-core-active .bab-dashboard-header h1 { font-size: clamp(2rem, 4vw, 3.6rem); }
.bab-core-active .bab-stat-grid article { border: 1px solid var(--bab-border); border-radius: var(--bab-radius-lg); background: var(--bab-surface); color: var(--bab-text); box-shadow: var(--bab-shadow-sm); }
.bab-core-active .bab-stat-grid article > span { color: var(--bab-accent); }
.bab-core-active .bab-booking-card { gap: 16px; }
.bab-core-active .bab-booking-date { border-radius: var(--bab-radius-md); background: var(--bab-surface-soft); color: var(--bab-text); }
.bab-core-active .bab-status { border-radius: var(--bab-radius-sm); }
.bab-core-active .bab-status--confirmed, .bab-core-active .bab-live-chip { background: var(--bab-success-soft); color: var(--bab-success); }
.bab-core-active .bab-status--pending, .bab-core-active .bab-status--pending-payment { background: var(--bab-blue-soft); color: var(--bab-blue); }
.bab-core-active .bab-status--cancelled, .bab-core-active .bab-status--no-show { background: var(--bab-danger-soft); color: var(--bab-accent); }

.bab-core-active .bab-auth-shell { overflow: hidden; border: 1px solid var(--bab-border); border-radius: var(--bab-radius-xl); background: var(--bab-surface); box-shadow: var(--bab-shadow-md); }
.bab-core-active .bab-auth-intro { background: linear-gradient(145deg, var(--cm-night), var(--cm-primary)); color: #fff; }
.bab-core-active .bab-auth-intro h1, .bab-core-active .bab-auth-intro h2 { color: #fff; }
.bab-core-active .bab-auth-tabs { border-color: var(--bab-border); background: var(--bab-surface-soft); }
.bab-core-active .bab-auth-tabs button { min-height: 44px; color: var(--bab-text-muted); }
.bab-core-active .bab-auth-tabs button.is-active { background: var(--bab-surface); color: var(--bab-accent); }
.bab-core-active .bab-auth-notice, .bab-core-active .bab-info-note, .bab-core-active .bab-home-approval { border-radius: var(--bab-radius-md); background: var(--bab-blue-soft); color: var(--bab-text); }

.bab-core-active .bab-contact-page, .bab-core-active .bab-register-form, .bab-core-active .bab-gift-choice-shell { max-width: 1120px; }
.bab-core-active .bab-pos-control { background: var(--bab-page); color: var(--bab-text); }
.bab-core-active .bab-pos-control-head, .bab-core-active .bab-pos-nav { background: var(--bab-surface); border-color: var(--bab-border); }
.bab-core-active .bab-pos-nav button { min-height: 44px; color: var(--bab-text-muted); }
.bab-core-active .bab-pos-nav button.is-active, .bab-core-active .bab-pos-nav button:hover { background: var(--bab-surface-soft); color: var(--bab-accent); }
.bab-core-active .bab-pos-screen-head { border-color: var(--bab-border); }
.bab-core-active :where(.bab-pos-action-card, .bab-pos-tile) { transition: transform var(--bab-motion-fast), border-color var(--bab-motion-fast); }
.bab-core-active :where(.bab-pos-action-card, .bab-pos-tile):hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--bab-accent) 30%, var(--bab-border)); }
.bab-core-active .bab-schedule-row, .bab-core-active .bab-pos-booking-table article, .bab-core-active .bab-block-list article { border-color: var(--bab-border); background: var(--bab-surface-soft); color: var(--bab-text); }
.bab-core-active .bab-customer-switch { border-color: var(--bab-border); border-radius: var(--bab-radius-md); background: var(--bab-surface-soft); }
.bab-core-active .bab-referral-progress { background: var(--bab-surface-soft); }
.bab-core-active .bab-referral-progress i { background: linear-gradient(90deg, var(--bab-accent), var(--bab-success)); }

/* Dark-state bridge for Core-owned markup. Theme loads after Core and leaves its business logic untouched. */
html[data-bab-theme="dark"] .bab-core-active :is(.bab-booking-experience, .bab-directory, .bab-dashboard, .bab-contact-page, .bab-auth-shell, .bab-register-form, .bab-pos-control, .bab-gift-choice-shell) { color: var(--bab-text); }
html[data-bab-theme="dark"] .bab-core-active :is(.bab-flow-card, .bab-dashboard-card, .bab-booking-card, .bab-auth-card, .bab-contact-form, .bab-contact-grid > article, .bab-filter-bar, .bab-barber-card, .bab-gift-choice-form > section, .bab-gift-confirmation, .bab-gift-option, .bab-pos-action-card, .bab-pos-tile, .bab-pos-summary-strip article, .bab-floor-chair, .bab-team-card, .bab-service-editor) { border-color: var(--bab-border); background: var(--bab-surface); color: var(--bab-text); }
html[data-bab-theme="dark"] .bab-core-active :is(.bab-flow-head > strong, .bab-booking-review, .bab-booking-meta span, .bab-dashboard-nav, .bab-dashboard-nav nav button:hover, .bab-dashboard-nav nav button.is-active, .bab-auth-tabs, .bab-customer-switch, .bab-schedule-row, .bab-pos-booking-table article, .bab-block-list article, .bab-referral-count, .bab-walkin-details) { border-color: var(--bab-border); background: var(--bab-surface-soft); color: var(--bab-text); }
html[data-bab-theme="dark"] .bab-core-active :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { border-color: var(--bab-border); background: var(--bab-input-bg); color: var(--bab-text); }
html[data-bab-theme="dark"] .bab-core-active :is(.bab-choice, .bab-service-option, .bab-selection-item, .bab-date-strip button, .bab-time-grid button, .bab-tap-choice) { border-color: var(--bab-border); background: var(--bab-surface); color: var(--bab-text); }
html[data-bab-theme="dark"] .bab-core-active :is(.bab-empty, .bab-login-required, .bab-plugin-required, .bab-info-note, .bab-auth-notice, .bab-home-approval) { border-color: var(--bab-border); background: var(--bab-surface-soft); color: var(--bab-text-muted); }
html[data-bab-theme="dark"] .bab-core-active :is(.bab-modal, .bab-modal__dialog, .bab-bottom-sheet, [role="dialog"]) { border-color: var(--bab-border); background: var(--bab-surface-raised); color: var(--bab-text); }

/* Footer and installed-app UI */
.bab-site-footer { padding: 70px 0 24px; background: var(--bab-footer-bg); color: #f7f8fa; }
.bab-footer-grid { display: grid; grid-template-columns: 1.25fr .8fr .8fr; gap: 56px; }
.bab-site-footer h2 { margin-top: 0; color: #f7f8fa; font-size: 1rem; letter-spacing: -.01em; }
.bab-brand--footer { width: 220px; }
.bab-footer-brand p { max-width: 430px; color: #aab4c0; }
.bab-site-footer ul { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.bab-site-footer nav a, .bab-footer-professional a { display: block; margin: 8px 0; color: #c6ced7; text-decoration: none; }
.bab-site-footer a:hover { color: #fff; }
.bab-footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 52px; padding-top: 22px; border-top: 1px solid #263440; color: #8f9ba7; font-size: .78rem; }
.bab-app-bottom-nav { display: none; }
.bab-install-app { position: fixed; right: 18px; bottom: 20px; z-index: var(--bab-z-toast); display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 12px 16px; border: 0; border-radius: var(--bab-radius-md); background: var(--bab-accent); color: var(--bab-on-accent); box-shadow: var(--bab-shadow-lg); font-weight: 850; cursor: pointer; }
.bab-install-app svg { flex: 0 0 20px; }
.bab-standalone .bab-site-header { padding-top: env(safe-area-inset-top); }

/* Progressive reveal: content is visible unless JS explicitly opts in. */
.bab-reveal-ready [data-bab-reveal] { opacity: 0; transform: translateY(18px); }
.bab-reveal-ready [data-bab-reveal].is-visible { opacity: 1; transform: none; transition: opacity var(--bab-motion-reveal) var(--bab-ease-out), transform var(--bab-motion-reveal) var(--bab-ease-out); }

@media (max-width: 1180px) {
  .bab-navigation { position: fixed; top: 0; right: 0; z-index: var(--bab-z-nav); width: min(390px, 92vw); height: 100dvh; overflow-y: auto; margin: 0; padding: 18px; border-left: 1px solid var(--bab-border); background: var(--bab-nav-bg); box-shadow: var(--bab-shadow-lg); clip-path: inset(0 0 0 100%); opacity: 0; visibility: hidden; pointer-events: none; transition: clip-path var(--bab-motion-panel) var(--bab-ease-out), opacity var(--bab-motion-fast), visibility var(--bab-motion-panel); }
  .bab-navigation.is-open { clip-path: inset(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .bab-mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 2px 14px; }
  .bab-mobile-nav-head > span { font-family: var(--bab-font-heading); font-size: 1.25rem; font-weight: 850; }
  .bab-menu-close { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--bab-border); border-radius: 50%; background: var(--bab-surface-soft); color: var(--bab-text); cursor: pointer; }
  .bab-menu-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .bab-main-menu { display: grid; gap: 4px; }
  .bab-main-menu a { min-height: 48px; display: flex; align-items: center; padding: 12px 14px; font-size: .95rem; }
  .bab-appearance--mobile { display: block; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--bab-divider); }
  .bab-appearance--mobile .bab-appearance-menu { inset: auto 0 calc(100% + 10px) 0; width: auto; transform-origin: bottom right; }
  .bab-menu-toggle { display: inline-flex; }
  .bab-account-link:not(.bab-login-link), .bab-admin-link, .bab-logout-link { display: none; }
  .bab-home-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .bab-home-intro h1 { font-size: clamp(3.4rem, 6.4vw, 5.2rem); }
  .bab-core-active .bab-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 961px) and (max-width: 1180px) {
  .bab-v4-home__stage { grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); }
  .bab-v4-home__visual { min-height: 620px; }
  .bab-v4-home__image { min-height: 620px; }
  .bab-v4-home__visual::after { background: linear-gradient(90deg, var(--bab-page), transparent 22%); }
}

@media (max-width: 840px) {
  body.admin-bar .bab-site-header { top: 46px; }
  .bab-site-header { background: var(--bab-page-bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  body { padding-bottom: calc(var(--bab-mobile-nav-height) + 16px + env(safe-area-inset-bottom)); }
  .bab-wrap { width: min(var(--bab-wrap), calc(100% - 28px)); }
  .bab-header-inner { width: calc(100% - 24px); gap: 7px; }
  .bab-brand { flex-basis: 180px; min-width: 120px; }
  .bab-brand-logo-wrap { height: 48px; }
  .bab-brand-logo { max-height: 45px; }
  .bab-login-link { width: 44px; padding: 0; }
  .bab-login-link span { position: absolute; clip: rect(0 0 0 0); width: 1px; height: 1px; overflow: hidden; }
  .bab-appearance-menu { position: fixed; inset: auto 10px calc(var(--bab-mobile-nav-height) + 18px + env(safe-area-inset-bottom)) 10px; width: auto; border-radius: var(--bab-radius-xl); transform-origin: bottom center; animation-name: bab-sheet-in; }
  .bab-appearance--mobile .bab-appearance-menu { position: fixed; inset: auto 10px calc(var(--bab-mobile-nav-height) + 18px + env(safe-area-inset-bottom)) 10px; width: auto; transform-origin: bottom center; }
  @keyframes bab-sheet-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  .bab-home-hero { padding-top: 34px; }
  .bab-home-grid { grid-template-columns: 1fr; }
  .bab-home-intro { max-width: 670px; padding: 6px 0 0; }
  .bab-home-media { min-height: 0; aspect-ratio: 16 / 9; }
  .bab-home-media-fallback { min-height: 360px; }
  .bab-home-intro h1 { font-size: clamp(3.35rem, 11vw, 5.2rem); }
  .bab-home-booking-stage { margin-top: 24px; }
  .bab-home-section-head { align-items: flex-start; flex-direction: column; }
  .bab-home-trust-strip .bab-wrap { grid-template-columns: repeat(2, 1fr); }
  .bab-home-trust-strip article:nth-child(3) { border-left: 0; border-top: 1px solid var(--bab-border); }
  .bab-home-trust-strip article:nth-child(4) { border-top: 1px solid var(--bab-border); }
  .bab-home-pro-card { align-items: flex-start; flex-direction: column; }
  .bab-home-pro-card .bab-theme-button { width: 100%; }
  .bab-profile-grid, .bab-profile-content, .bab-shop-content, .bab-footer-grid { grid-template-columns: 1fr; }
  .bab-profile-photo { max-width: 520px; }
  .bab-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bab-core-active .bab-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bab-core-active .bab-dashboard { grid-template-columns: 1fr; }
  .bab-core-active .bab-dashboard-nav nav { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 3px; scroll-snap-type: x proximity; }
  .bab-core-active .bab-dashboard-nav nav button { flex: 0 0 auto; scroll-snap-align: start; }
  .bab-core-active .bab-pos-nav { overflow-x: auto; }
  .bab-core-active .bab-pos-nav button { flex: 0 0 auto; }
  .bab-app-bottom-nav { position: fixed; left: 8px; right: 8px; bottom: calc(7px + env(safe-area-inset-bottom)); z-index: var(--bab-z-nav); height: var(--bab-mobile-nav-height); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; padding: 6px; border: 1px solid var(--bab-border); border-radius: var(--bab-radius-lg); background: color-mix(in srgb, var(--bab-nav-bg) 94%, transparent); box-shadow: var(--bab-shadow-lg); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
  .bab-app-bottom-nav a { min-width: 0; min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: var(--bab-radius-md); color: var(--bab-text-muted); text-decoration: none; }
  .bab-app-bottom-nav svg { width: 21px; height: 21px; }
  .bab-app-bottom-nav small { max-width: 100%; overflow: hidden; font-size: .62rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
  .bab-app-bottom-nav .bab-app-book { background: var(--bab-accent); color: var(--bab-on-accent); transform: translateY(-9px); box-shadow: 0 10px 24px color-mix(in srgb, var(--bab-accent) 28%, transparent); }
  .bab-install-app { right: 12px; bottom: calc(var(--bab-mobile-nav-height) + 20px + env(safe-area-inset-bottom)); max-width: calc(100% - 24px); }
  .bab-site-footer { padding-bottom: calc(var(--bab-mobile-nav-height) + 48px + env(safe-area-inset-bottom)); }
  .bab-footer-bottom { align-items: flex-start; flex-direction: column; }
  .bab-standalone .bab-site-footer { display: none; }
  html.bab-keyboard-active body { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  html.bab-keyboard-active .bab-app-bottom-nav,
  html.bab-keyboard-active .bab-install-app { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(calc(100% + 24px)); }
  html.bab-keyboard-active .bab-site-footer { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  .bab-wrap { width: calc(100% - 24px); }
  .bab-brand { flex-basis: 150px; }
  .bab-home-intro h1 { font-size: clamp(3.05rem, 15vw, 4.35rem); }
  .bab-home-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bab-home-trust span { min-height: 58px; align-items: flex-start; }
  .bab-home-media { min-height: 0; aspect-ratio: 4 / 3; border-radius: var(--bab-radius-lg); }
  .bab-home-media-fallback { min-height: 300px; padding: 24px; }
  .bab-home-media::after { right: 14px; bottom: 14px; width: 88px; height: 8px; }
  .bab-home-section-head h2 { font-size: 2rem; }
  .bab-home-trust-strip .bab-wrap { grid-template-columns: 1fr; }
  .bab-home-trust-strip article + article { border-left: 0; border-top: 1px solid var(--bab-border); }
  .bab-home-pro-card { padding: 30px 22px; border-radius: var(--bab-radius-lg); }
  .bab-home-pro-card h2 { font-size: 2.65rem; }
  .bab-page-hero h1, .bab-profile-grid h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .bab-profile-title-row { align-items: flex-start; }
  .bab-profile-actions { flex-direction: column; }
  .bab-profile-actions .bab-theme-button { width: 100%; }
  .bab-post-grid, .bab-core-active .bab-card-grid { grid-template-columns: 1fr; }
  .bab-home-recommendations .bab-card-grid { display: flex; overflow-x: auto; gap: 14px; padding: 2px 2px 14px; scroll-snap-type: x mandatory; }
  .bab-home-recommendations .bab-barber-card { flex: 0 0 min(84vw, 320px); scroll-snap-align: start; }
  .bab-core-active .bab-flow-card { padding: 18px 14px; }
  .bab-theme-stepper { display: flex; overflow-x: auto; gap: 6px; margin-inline: -2px; padding: 0 2px 5px; scrollbar-width: none; }
  .bab-theme-stepper::-webkit-scrollbar { display: none; }
  .bab-theme-stepper::before { display: none; }
  .bab-theme-stepper li { flex: 0 0 62px; }
  .bab-theme-stepper i { width: 32px; height: 32px; border-width: 4px; }
  .bab-core-active .bab-choice { min-height: 78px; }
  .bab-core-active .bab-choice-grid, .bab-core-active .bab-form-grid, .bab-core-active .bab-stat-grid, .bab-core-active .bab-team-grid, .bab-core-active .bab-pos-tile-grid { grid-template-columns: 1fr; }
  .bab-core-active .bab-flow-actions { position: static; margin: 18px 0 0; padding: 18px 0 0; background: transparent; backdrop-filter: none; }
  .bab-core-active .bab-flow-actions .bab-button { flex: 1; }
  .bab-core-active .bab-booking-card { align-items: flex-start; flex-direction: column; }
  .bab-core-active .bab-booking-actions { width: 100%; }
  .bab-core-active .bab-booking-actions > * { flex: 1; }
  .bab-core-active .bab-schedule-row { grid-template-columns: 1fr 1fr; }
  .bab-footer-grid { gap: 34px; }
}

@media (max-width: 380px) {
  .bab-header-inner { width: calc(100% - 16px); }
  .bab-brand { flex-basis: 132px; min-width: 108px; }
  .bab-appearance-trigger, .bab-menu-toggle, .bab-login-link { width: 42px; min-height: 42px; }
  .bab-app-bottom-nav small { font-size: .56rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .bab-reveal-ready [data-bab-reveal] { opacity: 1; transform: none; }
}

@media print {
  .bab-site-header, .bab-app-bottom-nav, .bab-install-app, .bab-mobile-booking-action, .bab-site-footer { display: none !important; }
  body { padding: 0; background: #fff; color: #000; }
  .bab-site-main { background: #fff; }
}

/* --------------------------------------------------------------------------
 * V3 marketplace experience
 * ----------------------------------------------------------------------- */

:root {
  --bab-wrap: 1440px;
  --bab-blue: var(--cm-secondary);
  --bab-navy: var(--cm-night);
  --bab-radius-2xl: 18px;
  --bab-shadow-float: 0 24px 68px rgba(7, 19, 15, .16);
}

.bab-dark {
  --bab-navy: var(--cm-night);
}

.bab-wrap { width: min(var(--bab-wrap), calc(100% - clamp(28px, 5vw, 96px))); }
.bab-site-main { overflow: clip; }
.bab-theme-section { padding: clamp(76px, 8vw, 132px) 0; }

.bab-site-header { background: var(--bab-header-bg); }
.bab-header-inner { width: min(var(--bab-wrap), calc(100% - clamp(24px, 4vw, 72px))); min-height: 72px; }
.bab-site-header.is-compact .bab-header-inner { min-height: 60px; }
.bab-brand { flex-basis: 190px; }
.bab-brand-logo-wrap { height: 50px; }
.bab-main-menu { gap: 4px; }
.bab-main-menu a { padding: 10px 13px; font-size: .82rem; }
.bab-account-menu { position: relative; }
.bab-account-trigger { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; padding: 5px 10px 5px 5px; border: 1px solid var(--bab-border); border-radius: 14px; background: var(--bab-surface); color: var(--bab-text); font-size: .76rem; font-weight: 800; cursor: pointer; }
.bab-account-trigger > span:nth-child(2) { max-width: 106px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bab-account-trigger > svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform var(--bab-motion-fast); }
.bab-account-trigger[aria-expanded="true"] > svg { transform: rotate(180deg); }
.bab-account-avatar { width: 34px; height: 34px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 10px; background: var(--bab-text); color: var(--bab-page); font-family: var(--bab-font-heading); font-size: .78rem; font-weight: 900; }
.bab-account-popover { position: absolute; top: calc(100% + 12px); right: 0; z-index: var(--bab-z-popover); width: 310px; padding: 10px; border: 1px solid var(--bab-border); border-radius: 20px; background: var(--bab-surface); box-shadow: var(--bab-shadow-lg); animation: bab-popover-in var(--bab-motion-panel) var(--bab-ease-out) both; }
.bab-account-popover__identity { display: flex; align-items: center; gap: 11px; padding: 9px 9px 14px; margin-bottom: 5px; border-bottom: 1px solid var(--bab-border); }
.bab-account-popover__identity div { min-width: 0; display: flex; flex-direction: column; }
.bab-account-popover__identity strong, .bab-account-popover__identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bab-account-popover__identity strong { font-size: .84rem; }
.bab-account-popover__identity small { color: var(--bab-text-muted); font-size: .68rem; }
.bab-account-popover > a { min-height: 46px; display: flex; align-items: center; gap: 11px; padding: 10px; border-radius: 12px; color: var(--bab-text); font-size: .8rem; font-weight: 760; text-decoration: none; }
.bab-account-popover > a:hover { background: var(--bab-surface-soft); }
.bab-account-popover > a svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.bab-account-popover > .bab-account-signout { margin-top: 5px; border-top: 1px solid var(--bab-border); border-radius: 0 0 12px 12px; color: var(--bab-accent); }
.bab-header-book { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 13px; background: var(--bab-accent); color: var(--bab-on-accent); font-size: .78rem; font-weight: 850; text-decoration: none; box-shadow: 0 8px 18px color-mix(in srgb, var(--bab-accent) 22%, transparent); }
.bab-header-book:hover { background: var(--bab-accent-hover); }

.bab-v3-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(42px, 5vw, 82px) 0 clamp(92px, 9vw, 150px);
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--bab-accent) 7%, transparent), transparent 36%),
    linear-gradient(245deg, color-mix(in srgb, var(--bab-blue) 10%, transparent), transparent 38%),
    var(--bab-page);
}
.bab-v3-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--bab-page) 72%, var(--bab-surface)));
}
.bab-v3-hero__glow {
  position: absolute;
  z-index: -1;
  width: min(40vw, 650px);
  aspect-ratio: 1;
  right: -9%;
  top: -25%;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bab-blue) 17%, transparent);
  filter: blur(110px);
  opacity: .7;
  pointer-events: none;
}
.bab-v3-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 118px);
  min-height: min(690px, calc(100vh - 150px));
}
.bab-v3-hero__copy { position: relative; z-index: 2; padding-block: 22px; }
.bab-v3-signal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  color: var(--bab-text);
  font-size: clamp(.72rem, 1vw, .8rem);
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.bab-v3-signal i { width: 9px; height: 9px; border: 2px solid color-mix(in srgb, var(--bab-accent) 30%, transparent); border-radius: 50%; background: var(--bab-accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--bab-accent) 10%, transparent); }
.bab-v3-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--bab-text);
  font-size: clamp(4rem, 7.3vw, 7.8rem);
  font-weight: 900;
  line-height: .84;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.bab-v3-hero h1 em { color: var(--bab-accent); font-style: normal; }
.bab-v3-hero__lead { max-width: 620px; margin: 34px 0 0; color: var(--bab-text-muted); font-size: clamp(1.05rem, 1.45vw, 1.32rem); line-height: 1.55; }
.bab-v3-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 32px; }
.bab-v3-hero__actions .bab-theme-button { min-height: 54px; padding-inline: 25px; border-radius: 14px; }
.bab-v3-text-link, .bab-v3-arrow-link { color: var(--bab-text); font-weight: 820; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--bab-text) 24%, transparent); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.bab-v3-text-link:hover, .bab-v3-arrow-link:hover { color: var(--bab-accent); }
.bab-v3-proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 620px; padding: 0; margin: 40px 0 0; list-style: none; }
.bab-v3-proof li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bab-v3-proof svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: var(--bab-accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bab-v3-proof span { display: flex; min-width: 0; flex-direction: column; }
.bab-v3-proof strong { font-size: .87rem; line-height: 1.25; }
.bab-v3-proof small { color: var(--bab-text-muted); font-size: .72rem; line-height: 1.35; }

.bab-v3-hero__visual { position: relative; min-width: 0; padding: 16px 26px 34px 0; }
.bab-v3-hero__frame { position: relative; overflow: hidden; aspect-ratio: 1.08; border-radius: var(--bab-radius-2xl); background: var(--bab-navy); box-shadow: var(--bab-shadow-float); }
.bab-v3-hero__frame::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.16); border-radius: inherit; box-shadow: inset 0 -100px 100px rgba(0,0,0,.18); pointer-events: none; }
.bab-v3-hero__image { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.92) contrast(1.03); transform: scale(1.01); }
.bab-v3-hero__visual--left .bab-v3-hero__image { object-position: left center; }
.bab-v3-hero__visual--right .bab-v3-hero__image { object-position: right center; }
.bab-v3-hero__visual--top .bab-v3-hero__image { object-position: center top; }
.bab-v3-hero__visual--bottom .bab-v3-hero__image { object-position: center bottom; }
.bab-v3-frame-mark { position: absolute; left: 24px; top: 24px; display: flex; align-items: center; gap: 8px; padding: 7px 11px 7px 8px; border-radius: 999px; background: rgba(7, 19, 15, .84); color: #F7F5ED; box-shadow: 0 8px 24px rgba(7,19,15,.22); }
.bab-v3-frame-mark img { width: 28px; height: 28px; padding: 4px; border-radius: 50%; background: #F8F5EB; }
.bab-v3-frame-mark span { font-size: .7rem; font-weight: 800; letter-spacing: .04em; }
.bab-v3-visual-card { position: absolute; display: flex; align-items: center; gap: 12px; max-width: 270px; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--bab-border) 68%, transparent); border-radius: 17px; background: color-mix(in srgb, var(--bab-surface) 88%, transparent); box-shadow: var(--bab-shadow-md); backdrop-filter: blur(16px) saturate(150%); }
.bab-v3-visual-card--top { top: 3px; right: 0; }
.bab-v3-visual-card--bottom { right: 0; bottom: 0; }
.bab-v3-visual-card > span { width: 39px; height: 39px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 12px; background: var(--bab-accent); color: #fff; }
.bab-v3-visual-card svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.bab-v3-visual-card div { display: flex; flex-direction: column; line-height: 1.25; }
.bab-v3-visual-card small { color: var(--bab-text-muted); font-size: .68rem; }
.bab-v3-visual-card strong { font-size: .81rem; }

.bab-v3-booking-section { padding: clamp(46px, 7vw, 96px) 0; background: var(--bab-surface-soft); border-block: 1px solid var(--bab-border); }
.bab-v3-booking-dock { position: relative; z-index: 1; scroll-margin-top: 90px; }
.bab-core-active .bab-home-composer { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.bab-core-active .bab-home-composer__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.bab-core-active .bab-home-composer__head h2 { margin: 4px 0 0; font-size: clamp(1.5rem, 2.2vw, 2.25rem); }
.bab-core-active .bab-home-composer .bab-kicker { font-size: .67rem; }
.bab-core-active .bab-rebook-chip { display: inline-grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; min-width: 235px; padding: 8px 11px; border: 1px solid var(--bab-border); border-radius: 15px; background: var(--bab-surface-soft); text-decoration: none; }
.bab-core-active .bab-rebook-chip .bab-avatar-media { width: 42px; height: 42px; overflow: hidden; border-radius: 12px; }
.bab-core-active .bab-rebook-chip img { width: 100%; height: 100%; object-fit: cover; }
.bab-core-active .bab-rebook-chip > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.bab-core-active .bab-rebook-chip small { color: var(--bab-text-muted); font-size: .66rem; }
.bab-core-active .bab-rebook-chip strong { overflow: hidden; font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.bab-core-active .bab-availability-composer { display: grid; grid-template-columns: 1.25fr 1.25fr .9fr auto; gap: 10px; align-items: stretch; }
.bab-core-active .bab-composer-mode { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; min-width: 0; padding: 6px; margin: 0; border: 1px solid var(--bab-border); border-radius: 16px; background: var(--bab-surface-soft); }
.bab-core-active .bab-composer-mode label { position: relative; display: block; min-width: 0; cursor: pointer; }
.bab-core-active .bab-composer-mode input { position: absolute; opacity: 0; pointer-events: none; }
.bab-core-active .bab-composer-mode span { min-height: 52px; display: grid; place-items: center; padding: 8px 12px; border-radius: 11px; color: var(--bab-text-muted); font-size: .8rem; font-weight: 820; text-align: center; transition: background var(--bab-motion-fast), color var(--bab-motion-fast), box-shadow var(--bab-motion-fast); }
.bab-core-active .bab-composer-mode input:checked + span { background: var(--bab-surface); color: var(--bab-text); box-shadow: var(--bab-shadow-sm); }
.bab-core-active .bab-composer-mode input:focus-visible + span { box-shadow: var(--bab-focus-ring); }
.bab-core-active .bab-composer-field { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 7px 15px; border: 1px solid var(--bab-border); border-radius: 16px; background: var(--bab-surface); }
.bab-core-active .bab-composer-field span { color: var(--bab-text-muted); font-size: .65rem; font-weight: 820; letter-spacing: .05em; text-transform: uppercase; }
.bab-core-active .bab-composer-field input, .bab-core-active .bab-composer-field select { width: 100%; min-width: 0; padding: 3px 0 0; border: 0; outline: 0; background: transparent; color: var(--bab-text); font-size: .88rem; font-weight: 740; box-shadow: none; }
.bab-core-active .bab-composer-submit { min-width: 218px; border-radius: 16px; }
.bab-core-active .bab-composer-note { margin: 12px 2px 0; color: var(--bab-text-muted); font-size: .72rem; }

/* Dedicated booking application */
.bab-core-active .bab-booking-experience { width: min(1180px, calc(100% - 32px)); margin: clamp(34px, 5vw, 74px) auto clamp(70px, 8vw, 120px); }
.bab-core-active .bab-booking-experience .bab-regular-card { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; max-width: 590px; min-height: 0; padding: 12px 14px; margin: 0 0 14px auto; border: 1px solid var(--bab-border); border-radius: 17px; background: var(--bab-surface); color: var(--bab-text); box-shadow: var(--bab-shadow-sm); }
.bab-core-active .bab-booking-experience .bab-regular-card .bab-avatar-media { width: 52px; height: 52px; overflow: hidden; border-radius: 14px; }
.bab-core-active .bab-booking-experience .bab-regular-card img { width: 100%; height: 100%; object-fit: cover; }
.bab-core-active .bab-booking-experience .bab-regular-card small, .bab-core-active .bab-booking-experience .bab-regular-card p { color: var(--bab-text-muted); }
.bab-core-active .bab-booking-experience .bab-regular-card h3 { color: var(--bab-text); }
.bab-core-active .bab-flow-card { overflow: hidden; padding: clamp(24px, 4vw, 50px); border: 1px solid var(--bab-border); border-radius: 30px; background: var(--bab-surface); box-shadow: var(--bab-shadow-lg); }
.bab-core-active .bab-flow-head { align-items: end; padding: 0; }
.bab-core-active .bab-flow-head h2 { margin: 8px 0 0; font-size: clamp(2.2rem, 4.5vw, 4.6rem); letter-spacing: -.06em; }
.bab-core-active .bab-flow-head > strong { padding: 9px 12px; border-radius: 99px; background: var(--bab-surface-soft); color: var(--bab-text-muted); font-size: .72rem; }
.bab-core-active .bab-progress { height: 3px; margin: 28px 0 24px; border-radius: 9px; background: var(--bab-surface-soft); }
.bab-core-active .bab-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--bab-accent), var(--bab-accent-bright)); transition: width var(--bab-motion-panel) var(--bab-ease-out); }
.bab-core-active .bab-booking-stepper { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; padding: 0; margin: 0 0 clamp(28px, 4vw, 46px); list-style: none; }
.bab-core-active .bab-booking-stepper::before { content: ""; position: absolute; z-index: 0; top: 17px; left: 5%; right: 5%; height: 1px; background: var(--bab-border); }
.bab-core-active .bab-booking-stepper li { position: relative; z-index: 1; display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 7px; color: var(--bab-text-muted); text-align: center; }
.bab-core-active .bab-booking-stepper i { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid var(--bab-border); border-radius: 50%; background: var(--bab-surface); color: var(--bab-text-muted); font-style: normal; font-size: .69rem; font-weight: 850; transition: background var(--bab-motion-standard), border-color var(--bab-motion-standard), color var(--bab-motion-standard), transform var(--bab-motion-standard); }
.bab-core-active .bab-booking-stepper span { max-width: 100%; overflow: hidden; font-size: .65rem; font-weight: 760; text-overflow: ellipsis; white-space: nowrap; }
.bab-core-active .bab-booking-stepper li.is-active i { border-color: var(--bab-accent); background: var(--bab-accent); color: var(--bab-on-accent); transform: scale(1.08); }
.bab-core-active .bab-booking-stepper li.is-active span { color: var(--bab-accent); }
.bab-core-active .bab-booking-stepper li.is-complete i { border-color: var(--bab-success); background: var(--bab-success); color: var(--bab-on-success); }
.bab-core-active .bab-flow-step { min-height: 0; padding: 0; }
.bab-core-active .bab-flow-step > h3 { margin: 0 0 22px; font-size: clamp(1.35rem, 2.4vw, 2.1rem); }
.bab-core-active .bab-choice-grid { gap: 14px; }
.bab-core-active .bab-choice { position: relative; min-height: 112px; padding: 20px; border: 1px solid var(--bab-border); border-radius: 18px; background: var(--bab-surface); box-shadow: none; text-align: left; }
.bab-core-active .bab-choice:hover { border-color: color-mix(in srgb, var(--bab-accent) 35%, var(--bab-border)); background: color-mix(in srgb, var(--bab-surface) 94%, var(--bab-accent)); }
.bab-core-active .bab-choice.is-active { border-color: var(--bab-accent); background: color-mix(in srgb, var(--bab-surface) 94%, var(--bab-accent)); box-shadow: inset 0 0 0 1px var(--bab-accent); }
.bab-core-active .bab-choice > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--bab-surface-soft); color: var(--bab-accent); font-size: 1rem; }
.bab-core-active .bab-choice b { font-size: .92rem; }
.bab-core-active .bab-choice small { color: var(--bab-text-muted); }
.bab-core-active .bab-flow-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--bab-border); }
.bab-core-active .bab-flow-actions [data-bab-next] { margin-left: auto; min-width: 160px; }
.bab-core-active .bab-flow-message:not(:empty) { margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: var(--bab-blue-soft); color: var(--bab-text); }
.bab-core-active .bab-flow-message.is-error { background: var(--bab-danger-soft); color: var(--bab-accent); }
.bab-core-active .bab-flow-message.is-success { background: var(--bab-success-soft); color: var(--bab-success); }

.bab-v3-section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: clamp(30px, 4vw, 56px); }
.bab-v3-section-head > div { max-width: 820px; }
.bab-v3-section-head h2 { max-width: 790px; margin: 12px 0 0; font-size: clamp(2.6rem, 5.1vw, 5.6rem); line-height: .93; letter-spacing: -.064em; }
.bab-v3-section-head p { max-width: 700px; margin: 20px 0 0; color: var(--bab-text-muted); font-size: 1.02rem; }
.bab-v3-arrow-link { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; padding: 13px 0; text-decoration: none; }
.bab-v3-arrow-link span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--bab-border); border-radius: 50%; }
.bab-v3-featured-shell { min-height: 320px; }
.bab-v3-featured-shell .bab-featured-module { overflow: visible; }
.bab-v3-featured-shell .bab-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.bab-v3-featured-shell .bab-barber-card { min-width: 0; border-color: var(--bab-border); border-radius: 24px; background: var(--bab-surface); box-shadow: none; transition: transform var(--bab-motion-standard) var(--bab-ease-out), box-shadow var(--bab-motion-standard); }
.bab-v3-featured-shell .bab-barber-card:hover { transform: translateY(-6px); box-shadow: var(--bab-shadow-md); }
.bab-v3-featured-shell .bab-barber-card__media { aspect-ratio: 4 / 3; border-radius: 20px 20px 0 0; }
.bab-v3-featured-shell .bab-barber-card__body { padding: 17px; }

.bab-theme-section--ink { position: relative; background: var(--bab-navy); color: #e8eff4; }
.bab-theme-section--ink::before { content: ""; position: absolute; inset: 0; opacity: .24; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 42px 42px; pointer-events: none; }
.bab-v3-section-head--light { position: relative; }
.bab-v3-section-head--light h2 { color: #fff; }
.bab-v3-section-head--light .bab-theme-eyebrow { color: #ff655b; }
.bab-v3-way-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.bab-v3-way-card { position: relative; min-height: 410px; overflow: hidden; padding: clamp(30px, 4vw, 58px); border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: var(--cm-surface-secondary); }
.bab-v3-way-card::after { content: ""; position: absolute; width: 300px; aspect-ratio: 1; right: -130px; bottom: -170px; border: 55px solid rgba(255,255,255,.035); border-radius: 50%; }
.bab-v3-way-card--home { background: linear-gradient(145deg, #193D32, #0D1F19 70%); }
.bab-v3-way-card--shop { background: linear-gradient(145deg, #17362D, #0A1813 70%); }
.bab-v3-way-card__copy { position: relative; z-index: 2; }
.bab-v3-way-card--home .bab-v3-way-card__copy { max-width: 63%; }
.bab-v3-way-card__media { position: absolute; z-index: 0; inset: 0; margin: 0; }
.bab-v3-way-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,22,34,.98) 0%, rgba(9,22,34,.88) 47%, rgba(9,22,34,.28) 100%); }
.bab-v3-way-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; filter: saturate(.84) contrast(1.04); }
.bab-v3-way-card__number { color: rgba(255,255,255,.38); font-size: .74rem; font-weight: 850; letter-spacing: .14em; }
.bab-v3-way-card__icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 36px 0 28px; border-radius: 18px; background: var(--bab-accent); color: #fff; }
.bab-v3-way-card--home .bab-v3-way-card__icon { background: var(--bab-blue); }
.bab-v3-way-card__icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.bab-v3-way-card h3 { margin: 0; color: #fff; font-size: clamp(2rem, 3.5vw, 3.65rem); }
.bab-v3-way-card p { max-width: 570px; margin: 20px 0 32px; color: #B7BDB8; font-size: 1rem; }
.bab-v3-way-card a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 820; text-decoration: none; }
.bab-v3-way-card a span { transition: transform var(--bab-motion-fast); }
.bab-v3-way-card a:hover span { transform: translateX(4px); }

.bab-v3-how { background: var(--bab-surface); }
.bab-v3-how__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr); gap: clamp(48px, 8vw, 130px); align-items: start; }
.bab-v3-how__intro { position: sticky; top: 118px; }
.bab-v3-how__intro h2 { margin: 15px 0 22px; font-size: clamp(3rem, 5.8vw, 6rem); line-height: .91; letter-spacing: -.066em; }
.bab-v3-how__intro > p { max-width: 620px; color: var(--bab-text-muted); font-size: 1.05rem; }
.bab-v3-real-counts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 38px; }
.bab-v3-real-counts span { display: flex; min-width: 90px; flex-direction: column; }
.bab-v3-real-counts strong { color: var(--bab-accent); font-family: var(--bab-font-heading); font-size: clamp(1.8rem, 3vw, 3.2rem); letter-spacing: -.05em; }
.bab-v3-real-counts small { color: var(--bab-text-muted); font-size: .72rem; }
.bab-v3-how__steps { padding: 0; margin: 0; list-style: none; counter-reset: none; }
.bab-v3-how__steps li { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: clamp(26px, 4vw, 44px) 0; border-top: 1px solid var(--bab-border); }
.bab-v3-how__steps li:last-child { border-bottom: 1px solid var(--bab-border); }
.bab-v3-how__steps > li > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--bab-text); color: var(--bab-page); font-family: var(--bab-font-heading); font-weight: 900; }
.bab-v3-how__steps h3 { margin: 0; font-size: clamp(1.6rem, 2.5vw, 2.55rem); }
.bab-v3-how__steps p { max-width: 590px; margin: 12px 0 0; color: var(--bab-text-muted); }

.bab-home-market { border-top: 1px solid var(--bab-border); background: var(--bab-page); }
.bab-home-market__products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 30px); }
.bab-home-product { min-width: 0; }
.bab-home-product__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--bab-radius-md); background: var(--bab-surface-soft); color: var(--bab-text); }
.bab-home-product__image { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform var(--bab-motion-panel) var(--bab-ease-out); }
.bab-home-product__media:hover .bab-home-product__image { transform: scale(1.025); }
.bab-home-product__featured { position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 999px; background: var(--cm-premium); color: var(--cm-night); font-size: .7rem; font-weight: 850; }
.bab-home-product__body { padding: 16px 2px 0; }
.bab-home-product__seller { min-height: 1.35em; margin: 0 0 7px; color: var(--bab-text-muted); font-size: .74rem; font-weight: 650; }
.bab-home-product h3 { margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.2; letter-spacing: -.025em; }
.bab-home-product h3 a { color: var(--bab-text); text-decoration: none; }
.bab-home-product h3 a:hover { color: var(--bab-accent); }
.bab-home-product__facts { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 14px; margin-top: 12px; }
.bab-home-product__price { color: var(--bab-text); font-size: 1rem; font-weight: 850; }
.bab-home-product__price del { color: var(--bab-text-muted); font-size: .82em; font-weight: 600; }
.bab-home-product__price ins { color: var(--bab-accent); text-decoration: none; }
.bab-home-product__stock { color: var(--bab-success); font-size: .7rem; font-weight: 760; }
.bab-home-product__rating { margin: 8px 0 0; color: var(--bab-text-muted); font-size: .72rem; }
.bab-home-product__link { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; margin-top: 9px; color: var(--bab-accent); font-size: .78rem; font-weight: 820; text-decoration: none; }
.bab-home-product__link span { transition: transform var(--bab-motion-fast); }
.bab-home-product__link:hover span { transform: translateX(3px); }
.bab-home-market__empty { min-height: 130px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 26px 30px; border: 1px solid var(--bab-border); border-radius: var(--bab-radius-md); background: var(--bab-surface); }
.bab-home-market__empty h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.7rem); }
.bab-home-market__empty p { max-width: 650px; margin: 7px 0 0; color: var(--bab-text-muted); }

.bab-v3-pro { background: var(--bab-page); }
.bab-v3-pro__panel { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); gap: clamp(46px, 7vw, 104px); align-items: center; overflow: hidden; padding: clamp(38px, 6vw, 82px); border-radius: 18px; background: linear-gradient(135deg, var(--cm-primary), color-mix(in srgb, var(--cm-primary) 76%, var(--cm-night))); color: #fff; box-shadow: var(--bab-shadow-lg); }
.bab-v3-pro__panel::before { content: ""; position: absolute; z-index: -1; width: 620px; aspect-ratio: 1; left: -260px; bottom: -430px; border: 90px solid rgba(255,255,255,.075); border-radius: 50%; }
.bab-v3-pro__copy .bab-theme-eyebrow { color: #fff; }
.bab-v3-pro__copy h2 { max-width: 680px; margin: 16px 0 22px; color: #fff; font-size: clamp(3rem, 5.3vw, 5.8rem); line-height: .9; letter-spacing: -.04em; }
.bab-v3-pro__copy > p { max-width: 650px; color: rgba(255,255,255,.82); font-size: 1.05rem; }
.bab-v3-pro__copy ul { display: grid; gap: 10px; padding: 0; margin: 30px 0; list-style: none; }
.bab-v3-pro__copy li { display: flex; align-items: center; gap: 10px; font-weight: 720; }
.bab-v3-pro__copy li svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.bab-theme-button--light { border-color: #fff; background: #fff; color: #0F3D32 !important; box-shadow: 0 14px 35px rgba(7,19,15,.2); }
.bab-theme-button--light:hover { background: #F8F5EB; }
.bab-v3-control-preview { position: relative; padding: 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: #07130F; color: #fff; box-shadow: 0 28px 68px rgba(7,19,15,.35); transform: rotate(1.3deg); }
.bab-v3-control-preview__top { display: flex; align-items: center; gap: 14px; padding: 6px 4px 18px; }
.bab-v3-control-preview__top > span { display: flex; gap: 5px; margin-right: auto; }
.bab-v3-control-preview__top i { width: 7px; height: 7px; border-radius: 50%; background: #43515c; }
.bab-v3-control-preview__top i:first-child { background: var(--cm-premium); }
.bab-v3-control-preview__top small { color: #8fa0ad; }
.bab-v3-control-preview__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.bab-v3-control-preview__stats span { display: flex; min-height: 120px; flex-direction: column; justify-content: end; padding: 18px; border: 1px solid #284137; border-radius: 16px; background: #0D1F19; }
.bab-v3-control-preview__stats span:last-child { background: #132820; }
.bab-v3-control-preview__stats small, .bab-v3-control-preview__timeline small { color: #8fa0ad; font-size: .7rem; }
.bab-v3-control-preview__stats strong { margin-top: 5px; font-size: 1rem; }
.bab-v3-control-preview__timeline { display: grid; grid-template-columns: 4px 1fr; gap: 15px; margin-top: 10px; padding: 20px; border-radius: 18px; background: #f4f6f7; color: #111820; }
.bab-v3-control-preview__timeline > i { border-radius: 999px; background: linear-gradient(var(--bab-accent) 0 45%, #dce2e6 45%); }
.bab-v3-control-preview__timeline div { display: flex; flex-direction: column; }
.bab-v3-control-preview__timeline div small { color: #6a7780; }
.bab-v3-control-preview__timeline div strong { margin-top: 4px; }
.bab-v3-control-preview__timeline div span { width: 65%; height: 8px; margin-top: 20px; border-radius: 99px; background: #dfe4e7; }

.bab-v3-faq { background: var(--bab-surface); }
.bab-v3-faq__grid { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: clamp(46px, 8vw, 130px); align-items: start; }
.bab-v3-faq h2 { margin: 14px 0 18px; font-size: clamp(3rem, 5.5vw, 5.8rem); line-height: .9; }
.bab-v3-faq p { color: var(--bab-text-muted); }
.bab-v3-faq a { color: var(--bab-accent); font-weight: 760; }
.bab-v3-faq__items { border-top: 1px solid var(--bab-border); }
.bab-v3-faq details { border-bottom: 1px solid var(--bab-border); }
.bab-v3-faq summary { display: grid; grid-template-columns: 1fr 36px; gap: 20px; align-items: center; min-height: 88px; padding: 20px 0; color: var(--bab-text); font-family: var(--bab-font-heading); font-size: clamp(1.05rem, 1.7vw, 1.45rem); font-weight: 800; cursor: pointer; list-style: none; }
.bab-v3-faq summary::-webkit-details-marker { display: none; }
.bab-v3-faq summary span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--bab-border); border-radius: 50%; font-family: var(--bab-font-body); font-weight: 400; transition: transform var(--bab-motion-standard); }
.bab-v3-faq details[open] summary span { transform: rotate(45deg); }
.bab-v3-faq details p { max-width: 760px; padding: 0 50px 28px 0; margin: -4px 0 0; }

@media (max-width: 1180px) {
  .bab-header-book { display: none; }
  .bab-v3-hero__grid { grid-template-columns: minmax(0, .95fr) minmax(400px, 1.05fr); gap: 44px; min-height: auto; }
  .bab-v3-hero h1 { font-size: clamp(4rem, 8vw, 6.5rem); }
  .bab-core-active .bab-availability-composer { grid-template-columns: 1fr 1fr; }
  .bab-core-active .bab-composer-submit { min-height: 60px; }
  .bab-v3-featured-shell .bab-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bab-v3-featured-shell .bab-barber-card:nth-child(n+7) { display: none; }
}

@media (max-width: 900px) {
  .bab-account-trigger > span:nth-child(2), .bab-account-trigger > svg { display: none; }
  .bab-account-trigger { width: 44px; padding: 4px; border-radius: 50%; }
  .bab-account-avatar { border-radius: 50%; }
  .bab-v3-hero { padding-top: 36px; }
  .bab-v3-hero__grid { grid-template-columns: 1fr; gap: 38px; }
  .bab-v3-hero__copy { max-width: 760px; }
  .bab-v3-hero__visual { width: min(100%, 760px); margin-inline: auto; }
  .bab-v3-hero__frame { aspect-ratio: 1.45; }
  .bab-v3-booking-dock { margin-top: 24px; }
  .bab-v3-featured-shell .bab-card-grid { display: flex; gap: 14px; overflow-x: auto; padding: 5px 2px 20px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .bab-v3-featured-shell .bab-barber-card { flex: 0 0 min(330px, 82vw); scroll-snap-align: start; }
  .bab-v3-featured-shell .bab-barber-card:nth-child(n+7) { display: block; }
  .bab-v3-how__grid, .bab-v3-pro__panel, .bab-v3-faq__grid { grid-template-columns: 1fr; }
  .bab-v3-how__intro { position: static; }
  .bab-v3-pro__panel { gap: 50px; }
  .bab-v3-control-preview { width: min(100%, 620px); margin-inline: auto; }
  .bab-home-market__products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .bab-wrap { width: min(100% - 24px, var(--bab-wrap)); }
  .bab-theme-section { padding: 68px 0; }
  .bab-v3-hero { padding: 24px 0 88px; }
  .bab-v3-signal { margin-bottom: 18px; }
  .bab-v3-hero h1 { font-size: clamp(3.65rem, 18vw, 5.2rem); line-height: .86; }
  .bab-v3-hero__lead { margin-top: 24px; font-size: 1rem; }
  .bab-v3-hero__actions { margin-top: 26px; }
  .bab-v3-proof { grid-template-columns: 1fr; margin-top: 30px; }
  .bab-v3-hero__visual { padding: 0 8px 28px 0; }
  .bab-v3-hero__frame { aspect-ratio: 1.05; border-radius: 26px; }
  .bab-v3-visual-card { max-width: 230px; padding: 10px 12px; }
  .bab-v3-visual-card--top { top: -14px; right: -5px; }
  .bab-v3-visual-card--bottom { right: -4px; bottom: 0; }
  .bab-v3-visual-card > span { width: 34px; height: 34px; }
  .bab-v3-visual-card small { font-size: .61rem; }
  .bab-v3-visual-card strong { font-size: .72rem; }
  .bab-v3-booking-dock { margin-top: 18px; }
  .bab-core-active .bab-home-composer { padding: 18px; border-radius: 23px; }
  .bab-core-active .bab-home-composer__head { align-items: stretch; flex-direction: column; }
  .bab-core-active .bab-rebook-chip { width: 100%; }
  .bab-core-active .bab-availability-composer { grid-template-columns: 1fr; }
  .bab-core-active .bab-composer-mode span { min-height: 48px; }
  .bab-core-active .bab-composer-field { min-height: 62px; }
  .bab-core-active .bab-composer-submit { width: 100%; min-width: 0; }
  .bab-v3-section-head { align-items: start; flex-direction: column; margin-bottom: 30px; }
  .bab-v3-section-head h2 { font-size: clamp(2.65rem, 13.5vw, 4.2rem); }
  .bab-v3-way-grid { grid-template-columns: 1fr; }
  .bab-v3-way-card { min-height: 355px; padding: 28px; border-radius: 25px; }
  .bab-v3-way-card__icon { margin: 28px 0 22px; }
  .bab-v3-how__intro h2, .bab-v3-pro__copy h2, .bab-v3-faq h2 { font-size: clamp(2.75rem, 13vw, 4.2rem); }
  .bab-v3-how__steps li { grid-template-columns: 44px 1fr; gap: 14px; }
  .bab-v3-how__steps > li > span { width: 42px; height: 42px; }
  .bab-v3-real-counts { gap: 18px; }
  .bab-home-market__products { display: flex; gap: 14px; overflow-x: auto; margin-inline: -12px; padding: 2px 12px 18px; scroll-padding-inline: 12px; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: thin; }
  .bab-home-product { flex: 0 0 min(76vw, 286px); scroll-snap-align: start; }
  .bab-home-product__media { border-radius: 14px; }
  .bab-home-market__empty { min-height: 0; align-items: flex-start; flex-direction: column; padding: 22px; }
  .bab-home-market__empty .bab-theme-button { width: 100%; }
  .bab-v3-pro__panel { width: calc(100% - 20px); padding: 30px 22px; border-radius: 28px; }
  .bab-v3-control-preview { padding: 12px; border-radius: 22px; transform: none; }
  .bab-v3-control-preview__stats span { min-height: 102px; padding: 13px; }
  .bab-v3-faq summary { min-height: 78px; font-size: 1.04rem; }
  .bab-v3-faq details p { padding-right: 0; }
  .bab-core-active .bab-booking-experience { width: calc(100% - 20px); margin-top: 18px; }
  .bab-core-active .bab-booking-experience .bab-regular-card { grid-template-columns: 44px 1fr auto; width: 100%; margin-bottom: 10px; padding: 10px; }
  .bab-core-active .bab-booking-experience .bab-regular-card .bab-avatar-media { width: 44px; height: 44px; }
  .bab-core-active .bab-booking-experience .bab-regular-card .bab-button { min-height: 40px; padding: 8px 11px; font-size: .7rem; }
  .bab-core-active .bab-flow-card { padding: 20px 15px; border-radius: 22px; }
  .bab-core-active .bab-service-picker { max-block-size: none; overflow: visible; overscroll-behavior: auto; padding: 0 0 max(12px, env(safe-area-inset-bottom)); }
  .bab-core-active .bab-flow-head { align-items: start; }
  .bab-core-active .bab-flow-head h2 { font-size: 2.35rem; }
  .bab-core-active .bab-booking-stepper { display: flex; gap: 8px; overflow-x: auto; margin: 0 -2px 26px; padding: 2px 2px 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .bab-core-active .bab-booking-stepper::-webkit-scrollbar { display: none; }
  .bab-core-active .bab-booking-stepper::before { display: none; }
  .bab-core-active .bab-booking-stepper li { flex: 0 0 62px; scroll-snap-align: start; }
  .bab-core-active .bab-choice-grid { grid-template-columns: 1fr; }
  .bab-core-active .bab-choice { min-height: 94px; }
  .bab-core-active .bab-flow-actions { position: static; margin: 22px 0 0; padding: 18px 0 0; background: transparent; backdrop-filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bab-v3-featured-shell .bab-barber-card:hover { transform: none; }
  .bab-v3-way-card a:hover span { transform: none; }
  .bab-home-product__media:hover .bab-home-product__image, .bab-home-product__link:hover span { transform: none; }
}

/* --------------------------------------------------------------------------
 * V3 profiles, navigation and footer completion
 * ----------------------------------------------------------------------- */

.bab-account-popover__close { display: none; }
.bab-account-scrim { position: fixed; inset: 0; z-index: calc(var(--bab-z-popover) - 1); border: 0; background: var(--bab-overlay); }
.bab-account-popover > .bab-account-install {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--bab-text);
  font-size: .8rem;
  font-weight: 760;
  text-align: left;
  cursor: pointer;
}
.bab-account-popover > .bab-account-install:hover { background: var(--bab-surface-soft); }
.bab-account-popover > .bab-account-install svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.bab-app-bottom-nav a.is-active:not(.bab-app-book) { background: var(--bab-surface-soft); color: var(--bab-text); }
.bab-app-bottom-nav a[aria-current="page"] small { color: currentColor; }

.bab-v3-profile-hero {
  position: relative;
  padding: clamp(54px, 7vw, 108px) 0;
  background:
    radial-gradient(circle at 84% 10%, color-mix(in srgb, var(--bab-blue) 13%, transparent), transparent 28%),
    linear-gradient(120deg, color-mix(in srgb, var(--bab-accent) 6%, transparent), transparent 42%),
    var(--bab-page);
}
.bab-v3-profile-stage { display: grid; grid-template-columns: minmax(340px, .82fr) minmax(0, 1.18fr); gap: clamp(42px, 7vw, 112px); align-items: center; }
.bab-v3-profile-media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--bab-border); border-radius: 34px; background: var(--bab-surface-soft); box-shadow: var(--bab-shadow-float); }
.bab-v3-profile-media > img, .bab-v3-profile-media > .bab-barber-photo, .bab-v3-profile-media > .bab-profile-placeholder { width: 100%; height: 100%; display: block; object-fit: cover; }
.bab-v3-profile-media > .bab-barber-photo--placeholder { object-fit: contain; padding: 12%; }
.bab-v3-shop-media { aspect-ratio: 4 / 3; }
.bab-v3-profile-media::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.16); border-radius: inherit; box-shadow: inset 0 -90px 90px rgba(0,0,0,.14); pointer-events: none; }
.bab-v3-status { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 999px; font-size: .7rem; font-weight: 850; line-height: 1; }
.bab-v3-profile-media > .bab-v3-status, .bab-v3-team-card__media > .bab-v3-status { position: absolute; z-index: 2; left: 18px; bottom: 18px; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 10px 24px rgba(0,0,0,.18); backdrop-filter: blur(12px); }
.bab-v3-status i { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: currentColor; }
.bab-v3-status.is-live { background: #e8f7f1; color: #0b6d50; }
.bab-v3-status.is-paused { background: #fff0ee; color: #a51d15; }
.bab-v3-status.is-directory { background: var(--bab-surface); color: var(--bab-accent); }
.bab-v3-profile-summary .bab-theme-eyebrow a { color: inherit; text-decoration: none; }
.bab-v3-profile-summary .bab-theme-eyebrow a:hover { text-decoration: underline; text-underline-offset: 4px; }
.bab-v3-profile-summary h1 { max-width: 900px; margin: 16px 0 0; font-size: clamp(3.7rem, 6.8vw, 7.4rem); line-height: .86; letter-spacing: -.07em; }
.bab-v3-profile-summary .bab-profile-title-row { align-items: center; gap: 18px; }
.bab-v3-profile-summary .bab-profile-title-row h1 { min-width: 0; margin-right: auto; }
.bab-profile-favourite { flex: 0 0 52px; width: 52px !important; height: 52px !important; }
.bab-profile-favourite svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.bab-profile-favourite.is-active svg { fill: currentColor; }
.bab-v3-profile-lead { max-width: 700px; margin: 24px 0 0; color: var(--bab-text-muted); font-size: clamp(1rem, 1.35vw, 1.2rem); }
.bab-v3-profile-facts { display: flex; flex-wrap: wrap; gap: 0; padding: 0; margin: 32px 0 0; list-style: none; }
.bab-v3-profile-facts li { min-width: 126px; display: flex; flex-direction: column; gap: 2px; padding: 4px 22px; border-left: 1px solid var(--bab-border); }
.bab-v3-profile-facts li:first-child { padding-left: 0; border-left: 0; }
.bab-v3-profile-facts strong { color: var(--bab-text); font-family: var(--bab-font-heading); font-size: 1.2rem; }
.bab-v3-profile-facts span { color: var(--bab-text-muted); font-size: .7rem; }
.bab-v3-specialties { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 24px 0 0; list-style: none; }
.bab-v3-specialties li { padding: 7px 10px; border: 1px solid var(--bab-border); border-radius: 999px; background: var(--bab-surface); color: var(--bab-text-muted); font-size: .72rem; font-weight: 760; }
.bab-v3-location-line { display: flex; align-items: flex-start; gap: 10px; max-width: 720px; margin: 25px 0 0; color: var(--bab-text-muted); }
.bab-v3-location-line svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: var(--bab-accent); stroke-width: 1.8; }
.bab-v3-profile-summary .bab-profile-actions { margin-top: 30px; }
.bab-v3-shop-hero.is-directory-only { padding: clamp(36px, 5vw, 72px) 0; }
.bab-v3-shop-hero.is-directory-only .bab-v3-profile-stage { grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); gap: clamp(32px, 6vw, 82px); }
.bab-v3-shop-hero.is-directory-only .bab-v3-shop-media { aspect-ratio: 16 / 10; border-radius: 24px; box-shadow: var(--bab-shadow-sm); }
.bab-v3-shop-hero.is-directory-only .bab-v3-profile-summary h1 { font-size: clamp(2.85rem, 5.2vw, 5.8rem); line-height: .91; }
.bab-shop-placeholder { padding: 8%; background: var(--bab-surface-soft); }
.bab-shop-placeholder img { width: 100%; height: 100%; display: block; object-fit: contain; }
.bab-directory-booking-copy { max-width: 620px; margin: 20px 0 0; color: var(--bab-text); font-weight: 650; }
.bab-directory-browse-link { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; color: var(--bab-accent); font-size: .82rem; font-weight: 800; text-decoration: none; }
.bab-directory-browse-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.bab-v3-profile-body { background: var(--bab-surface); }
.bab-v3-profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, 390px); gap: clamp(44px, 7vw, 108px); align-items: start; }
.bab-v3-profile-main { display: grid; gap: clamp(64px, 8vw, 112px); }
.bab-v3-profile-section { min-width: 0; scroll-margin-top: 100px; }
.bab-v3-profile-section > h2, .bab-v3-profile-section__head h2 { margin: 12px 0 24px; font-size: clamp(2.6rem, 4.8vw, 5.2rem); line-height: .92; letter-spacing: -.06em; }
.bab-v3-profile-section .bab-entry-content { max-width: 800px; color: var(--bab-text); font-size: 1.05rem; }
.bab-v3-profile-section .bab-entry-content > :first-child { margin-top: 0; }
.bab-v3-profile-section .bab-entry-content > :last-child { margin-bottom: 0; }
.bab-v3-profile-section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.bab-v3-profile-section__head > div { min-width: 0; }
.bab-v3-profile-section__head > a { flex: 0 0 auto; margin-bottom: 28px; color: var(--bab-accent); font-weight: 800; text-decoration: none; }
.bab-v3-service-list { border-top: 1px solid var(--bab-border); }
.bab-v3-service-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--bab-border); }
.bab-v3-service-item__copy h3 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.65rem); }
.bab-v3-service-item__copy p { max-width: 660px; margin: 9px 0; color: var(--bab-text-muted); }
.bab-v3-service-item__copy > span { color: var(--bab-text-muted); font-size: .72rem; font-weight: 760; }
.bab-v3-service-item__price { min-width: 150px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.bab-v3-service-item__price small { color: var(--bab-text-muted); font-size: .69rem; }
.bab-v3-service-item__price strong { font-family: var(--bab-font-heading); font-size: 1.1rem; }
.bab-v3-service-item__price a { min-height: 40px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; margin-top: 8px; border-radius: 10px; background: var(--bab-text); color: var(--bab-page); font-size: .74rem; font-weight: 820; text-decoration: none; }
.bab-v3-profile-aside { position: sticky; top: calc(var(--bab-header-offset, 72px) + 26px); display: grid; gap: 16px; }
.bab-v3-info-card { position: relative; overflow: hidden; padding: 25px; border: 1px solid var(--bab-border); border-radius: 24px; background: var(--bab-page); box-shadow: var(--bab-shadow-sm); }
.bab-v3-info-card__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: color-mix(in srgb, var(--bab-accent) 9%, var(--bab-surface)); color: var(--bab-accent); }
.bab-v3-info-card__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.bab-v3-info-card h2 { margin: 18px 0; font-size: 1.55rem; }
.bab-v3-info-card > p { color: var(--bab-text-muted); }
.bab-v3-info-card__title-link { display: inline-block; color: var(--bab-text); font-weight: 850; text-decoration: none; }
.bab-v3-schedule { margin: 0; }
.bab-v3-schedule > div { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-bottom: 1px solid var(--bab-border); }
.bab-v3-schedule dt { color: var(--bab-text-muted); }
.bab-v3-schedule dd { margin: 0; color: var(--bab-text); font-weight: 750; text-align: right; }
.bab-v3-schedule .is-closed { opacity: .66; }
.bab-v3-card-note { margin: 16px 0 0; color: var(--bab-text-muted); font-size: .72rem; }
.bab-v3-info-actions { display: flex; flex-wrap: wrap; gap: 9px 16px; margin-top: 18px; }
.bab-v3-info-actions a { min-height: 40px; display: inline-flex; align-items: center; color: var(--bab-accent); font-size: .78rem; font-weight: 820; text-decoration: none; }
.bab-v3-contact-list { display: grid; gap: 8px; margin-top: 20px; }
.bab-v3-contact-list > a { min-width: 0; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: var(--bab-surface); text-decoration: none; }
.bab-v3-contact-list svg { width: 20px; height: 20px; justify-self: center; fill: none; stroke: var(--bab-accent); stroke-width: 1.8; }
.bab-v3-contact-list span { min-width: 0; display: flex; flex-direction: column; }
.bab-v3-contact-list small { color: var(--bab-text-muted); font-size: .66rem; }
.bab-v3-contact-list strong { overflow-wrap: anywhere; font-size: .77rem; }

.bab-v3-profile-cta { padding: clamp(54px, 7vw, 96px) 0; background: linear-gradient(135deg, #0F3D32, #07130F); color: #fff; }
.bab-v3-profile-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.bab-v3-profile-cta .bab-theme-eyebrow, .bab-v3-profile-cta h2 { color: #fff; }
.bab-v3-profile-cta h2 { max-width: 900px; margin: 14px 0 0; font-size: clamp(2.8rem, 5vw, 5.4rem); line-height: .9; }
.bab-v3-profile-cta .bab-theme-button { flex: 0 0 auto; }

.bab-v3-shop-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bab-v3-shop-service-grid article { min-width: 0; padding: 20px; border: 1px solid var(--bab-border); border-radius: 18px; background: var(--bab-page); }
.bab-v3-shop-service-grid article > span { color: var(--bab-accent); font-size: .66rem; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.bab-v3-shop-service-grid h3 { margin: 9px 0 22px; font-size: 1.25rem; }
.bab-v3-shop-service-grid article > div { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.bab-v3-shop-service-grid small { color: var(--bab-text-muted); }
.bab-v3-shop-service-grid strong { color: var(--bab-text); font-size: .76rem; }
.bab-v3-shop-gallery { background: var(--bab-page); }
.bab-v3-gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 18vw, 270px); gap: 12px; }
.bab-v3-gallery-grid figure { overflow: hidden; margin: 0; border-radius: 20px; background: var(--bab-surface-soft); }
.bab-v3-gallery-grid figure.is-featured { grid-column: span 2; grid-row: span 2; }
.bab-v3-gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--bab-motion-panel) var(--bab-ease-out); }
.bab-v3-gallery-grid figure:hover img { transform: scale(1.025); }
.bab-v3-shop-team { background: var(--bab-surface); scroll-margin-top: 90px; }
.bab-v3-team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bab-v3-team-card { min-width: 0; overflow: hidden; border: 1px solid var(--bab-border); border-radius: 24px; background: var(--bab-page); box-shadow: var(--bab-shadow-sm); }
.bab-v3-team-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bab-surface-soft); }
.bab-v3-team-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--bab-motion-panel) var(--bab-ease-out); }
.bab-v3-team-card:hover .bab-v3-team-card__media img { transform: scale(1.025); }
.bab-v3-team-card__body { padding: 20px; }
.bab-v3-team-card h3 { margin: 0; font-size: 1.4rem; }
.bab-v3-team-card h3 a { text-decoration: none; }
.bab-v3-team-card__body > p { min-height: 2.8em; color: var(--bab-text-muted); font-size: .82rem; }
.bab-v3-team-card ul { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 15px 0 20px; list-style: none; }
.bab-v3-team-card li { padding: 6px 8px; border-radius: 999px; background: var(--bab-surface); color: var(--bab-text-muted); font-size: .67rem; font-weight: 760; }
.bab-v3-team-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bab-v3-team-card__actions > a:first-child { color: var(--bab-text); font-size: .77rem; font-weight: 800; }
.bab-v3-team-card__actions .bab-theme-button { min-height: 40px; padding: 8px 13px; border-radius: 10px; font-size: .72rem; }

.bab-v3-reviews-section .bab-verified-reviews > header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.bab-v3-reviews-section .bab-verified-reviews > header h2 { margin: 10px 0 0; font-size: clamp(2.6rem, 4.8vw, 5.2rem); line-height: .92; letter-spacing: -.06em; }
.bab-v3-reviews-section .bab-verified-reviews > header > strong { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 4px 7px; padding: 13px 16px; border: 1px solid var(--bab-border); border-radius: 16px; background: var(--bab-page); }
.bab-v3-reviews-section .bab-verified-reviews > header > strong b { font-size: 1.6rem; }
.bab-v3-reviews-section .bab-verified-reviews > header > strong > span { color: var(--cm-premium); }
.bab-v3-reviews-section .bab-verified-reviews > header > strong small { grid-column: 1 / -1; color: var(--bab-text-muted); font-size: .65rem; }
.bab-v3-reviews-section .bab-verified-reviews__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bab-v3-reviews-section .bab-verified-reviews__grid article { min-width: 0; padding: 20px; border: 1px solid var(--bab-border); border-radius: 18px; background: var(--bab-page); }
.bab-v3-reviews-section .bab-review-stars { color: var(--cm-premium); letter-spacing: .08em; }
.bab-v3-reviews-section blockquote { margin: 16px 0 24px; color: var(--bab-text); font-size: .94rem; }
.bab-v3-reviews-section .bab-verified-reviews__grid footer { display: flex; flex-direction: column; gap: 2px; }
.bab-v3-reviews-section .bab-verified-reviews__grid footer span { color: var(--bab-text-muted); font-size: .68rem; }

.bab-site-footer { position: relative; overflow: hidden; padding: 0 0 26px; background: #07130F; color: #F7F5ED; }
.bab-site-footer::before { content: ""; position: absolute; width: 560px; aspect-ratio: 1; right: -260px; top: -360px; border: 76px solid rgba(255,255,255,.035); border-radius: 50%; pointer-events: none; }
.bab-footer-intro { position: relative; display: flex; align-items: end; justify-content: space-between; gap: 40px; padding-block: clamp(64px, 8vw, 112px) clamp(52px, 6vw, 82px); border-bottom: 1px solid #284137; }
.bab-footer-kicker { color: var(--cm-premium); font-size: .67rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.bab-footer-intro h2 { max-width: 880px; margin: 14px 0 0; color: #fff; font-size: clamp(3rem, 5.7vw, 6.2rem); line-height: .88; letter-spacing: -.065em; }
.bab-footer-grid { position: relative; grid-template-columns: minmax(300px, 1.4fr) repeat(3, minmax(130px, .6fr)); gap: clamp(32px, 5vw, 72px); padding-top: clamp(48px, 6vw, 76px); }
.bab-brand--footer { width: min(235px, 100%); }
.bab-brand--footer .bab-brand-logo--light { display: none; }
.bab-brand--footer .bab-brand-logo--dark { display: block; }
.bab-footer-brand > p { max-width: 470px; margin: 22px 0; color: #B7BDB8; }
.bab-footer-capabilities { display: flex !important; flex-wrap: wrap; gap: 7px !important; }
.bab-footer-capabilities li { padding: 6px 9px; border: 1px solid #284137; border-radius: 999px; color: #D6DDD8; font-size: .65rem; font-weight: 750; }
.bab-footer-column h3 { margin: 4px 0 20px; color: #fff; font-size: .82rem; letter-spacing: .01em; }
.bab-site-footer .bab-footer-column a { min-height: 38px; display: inline-flex; align-items: center; margin: 1px 0; color: #D6DDD8; font-size: .82rem; text-decoration: none; }
.bab-site-footer .bab-footer-column a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.bab-footer-install-region { min-height: 0; margin-top: 20px; }
.bab-footer-install { min-height: 54px; display: inline-flex; align-items: center; gap: 11px; padding: 10px 13px; border: 1px solid #284137; border-radius: 14px; background: #0D1F19; color: #fff; text-align: left; cursor: pointer; }
.bab-footer-install:hover { border-color: #4A6A5C; background: #132820; }
.bab-footer-install > svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: var(--cm-premium); stroke-width: 1.8; }
.bab-footer-install > span { display: flex; flex-direction: column; }
.bab-footer-install strong { font-size: .76rem; }
.bab-footer-install small { color: #B7BDB8; font-size: .64rem; }
.bab-footer-bottom { position: relative; align-items: center; margin-top: 58px; }
.bab-footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 20px; }
.bab-footer-legal a { color: #D6DDD8; }
.bab-standalone .bab-site-footer { display: block; }

/* A keyboard focus indicator must remain visible over both surfaces and images. */
.bab-theme :where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid var(--bab-focus); outline-offset: 3px; }

/* Cut Mate 3.2 — focused homepage, location and logo refinement. */
html { scroll-behavior: smooth; }
.bab-header-inner { min-height: 78px; }
.bab-site-header.is-compact .bab-header-inner { min-height: 66px; }
.bab-brand { flex-basis: 224px; }
.bab-brand-logo-wrap { height: 60px; padding-block: 3px; }
.bab-brand-logo { max-height: 58px; }
.bab-brand--footer { width: min(276px, 100%); }
.bab-brand--footer .bab-brand-logo-wrap { height: 80px; }
.bab-brand--footer .bab-brand-logo { max-height: 76px; }
.bab-brand--footer .bab-brand-logo--wide.bab-brand-logo--dark { display: block; }

.bab-v3-hero { padding: clamp(34px, 4vw, 64px) 0 clamp(70px, 7vw, 112px); }
.bab-v3-hero__grid { grid-template-columns: minmax(0, .94fr) minmax(470px, 1.06fr); gap: clamp(42px, 6vw, 96px); min-height: min(570px, calc(100vh - 170px)); }
.bab-v3-hero__copy { padding-block: 12px; }
.bab-v3-hero h1 { max-width: 650px; font-size: clamp(3.8rem, 5.8vw, 6rem); line-height: .9; }
.bab-v3-hero__lead { max-width: 570px; margin-top: 25px; }
.bab-v3-hero__actions { margin-top: 27px; }
.bab-v3-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 18px; margin-top: 28px; }
.bab-v3-proof li { align-items: center; }
.bab-v3-proof strong { font-size: .8rem; }
.bab-v3-hero__visual { padding-bottom: 24px; }
.bab-v3-visual-card--top { top: auto; right: 0; bottom: 0; }
.bab-v3-booking-section { padding: clamp(42px, 5vw, 72px) 0; }

.bab-core-active .bab-home-composer__head { align-items: end; margin-bottom: 18px; }
.bab-core-active .bab-home-composer__head h2 { margin: 0; }
.bab-core-active .bab-home-composer__head > div > p { margin: 6px 0 0; color: var(--bab-text-muted); font-size: .78rem; }
.bab-core-active .bab-availability-composer { grid-template-columns: 1.05fr 1.3fr .9fr .8fr auto; }
.bab-core-active .bab-composer-field { min-height: 66px; padding: 7px 13px; border-radius: 14px; }
.bab-core-active .bab-location-input-row { display: flex; min-width: 0; align-items: center; gap: 8px; }
.bab-core-active .bab-location-input-row > input { flex: 1 1 auto; }
.bab-core-active .bab-location-use { min-height: 38px; display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; padding: 6px 8px; border: 0; border-radius: 10px; background: var(--bab-surface-soft); color: var(--bab-accent); font: inherit; font-size: .68rem; font-weight: 820; cursor: pointer; }
.bab-core-active .bab-location-use:hover { background: color-mix(in srgb, var(--bab-accent) 11%, var(--bab-surface)); }
.bab-core-active .bab-location-use:disabled { opacity: .62; cursor: wait; }
.bab-core-active .bab-location-use svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; }
.bab-core-active .bab-location-status { min-height: 23px; display: flex; align-items: center; gap: 8px; margin: 10px 2px 0; color: var(--bab-text-muted); font-size: .72rem; }
.bab-core-active .bab-location-status::before { content: ""; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--bab-accent); }
.bab-core-active .bab-location-status.is-error::before { background: var(--bab-danger, #b73a45); }
.bab-core-active .bab-location-status.is-error { color: var(--bab-text); }
.bab-core-active .bab-location-status button { padding: 0; border: 0; background: transparent; color: var(--bab-accent); font: inherit; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bab-core-active .bab-composer-note { margin-top: 4px; }
.bab-core-active .bab-empty--compact { min-height: 0; display: grid; justify-items: center; gap: 8px; padding: 24px; border-style: solid; border-radius: 14px; }
.bab-core-active .bab-empty--compact strong { color: var(--bab-text); font-size: 1rem; }
.bab-core-active .bab-empty--compact span { max-width: 54ch; }
.bab-core-active .bab-empty--compact .bab-button { margin-top: 6px; }

@media (max-width: 1180px) {
  .bab-brand { flex-basis: 214px; }
  .bab-core-active .bab-availability-composer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bab-core-active .bab-composer-mode, .bab-core-active .bab-composer-submit { grid-column: span 2; }
  .bab-core-active .bab-composer-submit { min-height: 54px; }
  .bab-v3-hero__grid { min-height: 0; }
}

@media (max-width: 840px) {
  .bab-header-inner { min-height: 70px; }
  .bab-brand { flex-basis: 188px; }
  .bab-brand-logo-wrap { height: 54px; }
  .bab-brand-logo { max-height: 51px; }
  .bab-v3-hero { padding-top: 26px; padding-bottom: 58px; }
  .bab-v3-hero__grid { grid-template-columns: 1fr; gap: 38px; }
  .bab-v3-hero h1 { max-width: 680px; font-size: clamp(3.15rem, 10.5vw, 5.2rem); }
  .bab-v3-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .bab-brand { flex-basis: 154px; min-width: 132px; }
  .bab-brand-logo-wrap { height: 50px; }
  .bab-brand-logo { max-height: 48px; }
  .bab-v3-hero h1 { font-size: clamp(2.95rem, 14.5vw, 4.25rem); line-height: .91; }
  .bab-v3-hero__lead { margin-top: 20px; font-size: 1rem; }
  .bab-v3-hero__actions { align-items: stretch; flex-direction: column; gap: 10px; margin-top: 22px; }
  .bab-v3-hero__actions .bab-theme-button { width: 100%; justify-content: center; }
  .bab-v3-proof { grid-template-columns: 1fr; gap: 9px; margin-top: 22px; }
  .bab-v3-proof li { min-height: 30px; }
  .bab-v3-hero__visual { padding-right: 0; }
  .bab-v3-visual-card { right: 10px; max-width: calc(100% - 20px); }
  .bab-core-active .bab-home-composer { padding: 18px 16px; }
  .bab-core-active .bab-availability-composer { grid-template-columns: 1fr; }
  .bab-core-active .bab-composer-mode, .bab-core-active .bab-composer-submit { grid-column: auto; }
  .bab-core-active .bab-home-composer__head { gap: 14px; }
  .bab-core-active .bab-location-input-row { align-items: stretch; flex-direction: column; }
  .bab-core-active .bab-location-use { width: 100%; justify-content: center; }
  .bab-core-active .bab-location-status { align-items: flex-start; }
  .bab-brand--footer { width: min(250px, 100%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Cut Mate 3.3 — approved compact customer journey. */
.bab-mobile-only, .bab-mobile-user-summary { display: none; }
.bab-header-icon { width: 42px; height: 42px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--bab-text); text-decoration: none; }
.bab-header-icon:hover { background: var(--bab-surface-soft); color: var(--bab-accent); }
.bab-header-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.bab-v4-home { padding: clamp(26px, 3vw, 48px) 0 0; background: linear-gradient(110deg, color-mix(in srgb, var(--bab-accent) 5%, var(--bab-page)), var(--bab-page) 58%); }
.bab-v4-home__stage { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(410px, .92fr); align-items: stretch; min-height: 590px; overflow: hidden; border: 1px solid var(--bab-border); border-radius: 24px 24px 0 0; background: var(--bab-page); box-shadow: var(--bab-shadow-sm); }
.bab-v4-home__main { position: relative; z-index: 2; align-self: center; padding: clamp(32px, 4vw, 58px); }
.bab-v4-home__main > .bab-theme-eyebrow { margin: 0 0 10px; color: var(--cm-premium); }
.bab-v4-home__main h1 { max-width: 680px; margin: 0; font-size: clamp(2.5rem, 4vw, 3.55rem); line-height: 1; letter-spacing: -.045em; }
.bab-v4-home__lead { margin: 10px 0 20px; color: var(--bab-text-muted); font-size: 1rem; }
.bab-v4-home__visual { position: relative; min-width: 0; overflow: hidden; background: var(--bab-surface-soft); }
.bab-v4-home__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bab-page), transparent 22%); pointer-events: none; }
.bab-v4-home__image { width: 100%; height: 100%; min-height: 590px; object-fit: cover; object-position: center; }
.bab-v3-hero__visual--left .bab-v4-home__image { object-position: left center; }
.bab-v3-hero__visual--right .bab-v4-home__image { object-position: right center; }
.bab-v4-home__image-note { position: absolute; z-index: 2; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.58); border-radius: 999px; background: rgba(248,245,235,.93); color: #07130f; box-shadow: 0 10px 32px rgba(7,19,15,.2); }
.bab-v4-home__image-note > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--cm-premium); color: #fff; }
.bab-v4-home__image-note svg { width: 18px; height: 18px; fill: none; stroke: currentColor; }
.bab-v4-home__image-note div { display: flex; flex-direction: column; }
.bab-v4-home__image-note small { font-size: .65rem; }
.bab-v4-home__image-note strong { font-size: .76rem; }
.bab-v4-search-card { max-width: 720px; padding: 10px; border: 1px solid var(--bab-border); border-radius: 17px; background: var(--bab-surface); box-shadow: var(--bab-shadow-md); }
.bab-v4-search-card .bab-home-composer__head:has(.screen-reader-text:only-child) { display: none; }
.bab-v4-search-card .bab-availability-composer { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.bab-v4-search-card .bab-composer-mode { grid-column: 1 / -1; padding: 3px; border: 0; border-radius: 10px; }
.bab-v4-search-card .bab-composer-mode span { min-height: 38px; }
.bab-v4-search-card .bab-composer-field { min-height: 58px; padding: 6px 10px; border-radius: 10px; }
.bab-v4-search-card .bab-composer-submit { grid-column: 1 / -1; min-height: 44px; min-width: 0; border-radius: 9px; }
.bab-v4-search-card .bab-location-use span { position: absolute; clip: rect(0 0 0 0); width: 1px; height: 1px; overflow: hidden; }
.bab-v4-search-card .bab-location-use { width: 34px; height: 34px; padding: 0; justify-content: center; }
.bab-v4-search-card .bab-location-status { display: none; }
.bab-v4-service-shortcuts { margin-top: 16px; }
.bab-v4-service-shortcuts > p { margin: 0 0 9px; font-size: .76rem; font-weight: 850; }
.bab-v4-service-shortcuts > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bab-v4-service-shortcuts a { min-height: 64px; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 8px; border: 1px solid var(--bab-border); border-radius: 12px; background: var(--bab-surface); color: var(--bab-text); font-size: .72rem; font-weight: 800; text-align: center; text-decoration: none; }
.bab-v4-service-shortcuts a:hover { border-color: var(--bab-accent); color: var(--bab-accent); }
.bab-v4-service-shortcuts a span { color: var(--bab-accent); font-size: 1.05rem; }
.bab-composer-more { display: block; margin: 8px auto 0; color: var(--bab-accent); font-size: .72rem; font-weight: 800; text-align: center; text-decoration: none; }
.bab-v4-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 20px 0 0; list-style: none; }
.bab-v4-benefits li { display: flex; align-items: center; gap: 9px; min-width: 0; }
.bab-v4-benefits svg { width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: var(--bab-accent); stroke-width: 1.7; }
.bab-v4-benefits span { display: flex; min-width: 0; flex-direction: column; }
.bab-v4-benefits strong { font-size: .72rem; }
.bab-v4-benefits small { color: var(--bab-text-muted); font-size: .62rem; }
.bab-v4-discovery { padding: clamp(38px, 5vw, 66px) 0; }
.bab-v4-discovery .bab-v3-section-head { margin-bottom: 18px; }
.bab-v4-discovery .bab-v3-section-head h2 { font-size: clamp(1.55rem, 2.4vw, 2.15rem); }
.bab-v4-discovery .bab-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bab-v4-discovery .bab-barber-card { border-radius: 12px; }
.bab-v4-discovery .bab-barber-card__media { aspect-ratio: 16 / 10; border-radius: 11px 11px 0 0; }
.bab-v4-discovery .bab-barber-card__body { min-height: 210px; padding: 13px; }
.bab-v4-discovery .bab-barber-card__body h3 { font-size: 1rem; }
.bab-v4-step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bab-v4-step-grid article { display: flex; align-items: flex-start; gap: 14px; padding: 22px; border: 1px solid var(--bab-border); border-radius: 14px; background: var(--bab-surface); }
.bab-v4-step-grid article > svg { width: 28px; height: 28px; flex: 0 0 auto; padding: 5px; border-radius: 50%; background: color-mix(in srgb, var(--bab-accent) 10%, var(--bab-surface)); color: var(--bab-accent); fill: none; stroke: currentColor; }
.bab-v4-step-grid h3 { margin: 0 0 7px; font-size: 1.05rem; }
.bab-v4-step-grid p { margin: 0; color: var(--bab-text-muted); font-size: .88rem; }
.bab-v4-confidence { display: flex; align-items: flex-start; gap: 14px; max-width: 760px; margin-top: 16px; padding: 20px; border: 1px solid color-mix(in srgb, var(--cm-premium) 55%, var(--bab-border)); border-radius: 14px; background: color-mix(in srgb, var(--cm-premium) 7%, var(--bab-surface)); }
.bab-v4-confidence > svg { width: 30px; height: 30px; flex: 0 0 auto; color: var(--cm-premium); fill: none; stroke: currentColor; }
.bab-v4-confidence h3 { margin: 0 0 5px; font-size: 1.05rem; }
.bab-v4-confidence p { margin: 0; color: var(--bab-text-muted); font-size: .88rem; }
.bab-v4-confidence small { display: block; margin-top: 10px; color: var(--bab-text-muted); font-size: .72rem; font-weight: 750; }
.bab-v4-professional { padding-block: clamp(48px, 6vw, 82px); }
.bab-v4-professional__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(26px, 4vw, 48px); border-radius: 20px; background: var(--bab-accent); color: var(--bab-on-accent); }
.bab-v4-professional__inner .bab-theme-eyebrow, .bab-v4-professional__inner p { color: color-mix(in srgb, var(--bab-on-accent) 78%, transparent); }
.bab-v4-professional__inner h2 { max-width: 720px; margin: 8px 0; color: inherit; font-size: clamp(2rem, 4vw, 3.5rem); }
.bab-v4-professional__inner .bab-theme-button { border-color: var(--bab-page); background: var(--bab-page); color: var(--bab-accent) !important; }
.bab-v4-marketplace-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bab-v4-marketplace-preview article { min-height: 130px; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; border: 1px solid var(--bab-border); border-radius: 14px; background: linear-gradient(145deg, var(--bab-surface), var(--bab-surface-soft)); }
.bab-v4-marketplace-preview span { color: var(--cm-premium); font-size: .7rem; font-weight: 900; }
.bab-v4-marketplace-preview strong { font-size: 1rem; }
.bab-v4-marketplace-status { margin: 12px 0 0; color: var(--bab-text-muted); font-size: .78rem; }
.bab-v4-faq { padding-block: clamp(48px, 6vw, 82px); }
.bab-v4-faq__inner { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(30px, 6vw, 80px); }
.bab-v4-faq h2 { margin-top: 8px; font-size: clamp(2rem, 4vw, 3.6rem); }
.bab-v4-faq details { border-bottom: 1px solid var(--bab-border); }
.bab-v4-faq summary { padding: 18px 0; font-weight: 800; cursor: pointer; }
.bab-v4-faq details p { padding: 0 0 18px; margin: 0; color: var(--bab-text-muted); }
.bab-site-footer { padding-top: 42px; }
.bab-footer-grid { padding-top: 0; }
.bab-footer-bottom { margin-top: 32px; }

@media (max-width: 1180px) {
  .bab-mobile-only, .bab-mobile-user-summary { display: flex; }
  .bab-mobile-nav-head .bab-brand { flex-basis: 180px; }
  .bab-mobile-user-summary { align-items: center; gap: 11px; padding: 13px; margin: 4px 0 10px; border-block: 1px solid var(--bab-border); }
  .bab-mobile-user-summary > span:last-child { display: flex; min-width: 0; flex-direction: column; }
  .bab-mobile-user-summary a { color: var(--bab-accent); font-size: .72rem; font-weight: 800; text-decoration: none; }
  .bab-navigation .bab-main-menu { gap: 0; }
  .bab-navigation .bab-main-menu li { border-bottom: 1px solid color-mix(in srgb, var(--bab-border) 72%, transparent); }
  .bab-header-favourite { display: none; }
  .bab-v4-home__stage { grid-template-columns: 1fr; }
  .bab-v4-home__visual { min-height: 390px; }
  .bab-v4-home__image { min-height: 390px; }
  .bab-v4-home__visual::after { background: linear-gradient(180deg, var(--bab-page), transparent 20%); }
}

@media (max-width: 840px) {
  .bab-header-actions .bab-appearance--header, .bab-header-actions .bab-account-menu, .bab-header-actions .bab-login-link, .bab-header-actions .bab-header-book { display: none; }
  .bab-header-icon { width: 40px; height: 40px; }
  .bab-v4-home { padding-top: 0; }
  .bab-v4-home__stage { display: block; min-height: 0; border: 0; border-radius: 0; box-shadow: none; }
  .bab-v4-home__main { padding: 10px 0 14px; }
  .bab-v4-home__main h1 {
    max-width: none;
    overflow: hidden;
    font-size: clamp(1.45rem, 6.4vw, 1.7rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    white-space: nowrap;
  }
  .bab-v4-home__lead { max-width: none; margin: 5px 0 11px; font-size: .86rem; line-height: 1.35; }
  .bab-v4-home__main > .bab-theme-eyebrow { display: none; }
  .bab-v4-home__visual { display: none; }
  .bab-v4-search-card { padding: 0; border: 0; background: transparent; box-shadow: none; }
  .bab-v4-search-card .bab-home-composer { padding: 0; }
  .bab-v4-search-card .bab-home-composer:has(.bab-rebook-chip) { display: flex; flex-direction: column; }
  .bab-v4-search-card .bab-home-composer:has(.bab-rebook-chip) .bab-availability-composer { order: 1; }
  .bab-v4-search-card .bab-home-composer:has(.bab-rebook-chip) .bab-home-composer__head { order: 2; margin: 9px 0 0; }
  .bab-v4-search-card .bab-home-composer:has(.bab-rebook-chip) .bab-location-status { order: 3; }
  .bab-v4-search-card .bab-home-composer:has(.bab-rebook-chip) .bab-composer-more { order: 4; }
  .bab-v4-search-card .bab-rebook-chip { min-height: 50px; padding: 5px 8px; }
  .bab-v4-search-card .bab-rebook-chip .bab-avatar-media { width: 38px; height: 38px; }
  .bab-v4-search-card .bab-availability-composer { grid-template-columns: 1fr; gap: 8px; }
  .bab-v4-search-card .bab-composer-mode, .bab-v4-search-card .bab-composer-submit { grid-column: auto; }
  .bab-v4-search-card .bab-composer-mode { padding: 2px; border-radius: 12px; }
  .bab-v4-search-card .bab-composer-mode span { min-height: 36px; }
  .bab-v4-search-card .bab-composer-field { min-height: 50px; padding: 5px 10px; border-radius: 13px; }
  .bab-v4-search-card .bab-composer-field > span:first-child { font-size: .66rem; }
  .bab-v4-search-card .bab-composer-submit { min-height: 46px; border-radius: 12px; }
  .bab-v4-search-card .bab-location-input-row { flex-direction: row; }
  .bab-v4-search-card .bab-location-use { width: 38px; }
  .bab-v4-benefits { display: none; }
  .bab-v4-service-shortcuts { margin-top: 12px; }
  .bab-v4-service-shortcuts a { min-height: 58px; flex-direction: column; gap: 3px; padding: 6px 4px; font-size: .67rem; }
  .bab-v4-discovery { padding: 20px 0 40px; }
  .bab-v4-discovery .bab-card-grid { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 14px; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; }
  .bab-v4-discovery .bab-barber-card { flex: 0 0 min(78vw, 290px); scroll-snap-align: start; }
  .bab-v4-steps { padding-block: 28px; }
  .bab-v4-steps .bab-v3-section-head { margin-bottom: 12px; }
  .bab-v4-steps .bab-v3-section-head h2 { font-size: 1.45rem; }
  .bab-v4-step-grid { grid-template-columns: 1fr; gap: 0; overflow: hidden; border: 1px solid var(--bab-border); border-radius: 14px; background: var(--bab-surface); }
  .bab-v4-step-grid article { align-items: center; padding: 15px; border: 0; border-radius: 0; }
  .bab-v4-step-grid article + article { border-top: 1px solid var(--bab-border); }
  .bab-v4-step-grid h3 { margin-bottom: 3px; font-size: .94rem; }
  .bab-v4-step-grid p { font-size: .78rem; }
  .bab-v4-confidence { margin-top: 12px; padding: 15px; }
  .bab-v4-professional { padding-block: 28px; }
  .bab-v4-professional__inner { align-items: stretch; flex-direction: column; }
  .bab-v4-professional__inner { gap: 16px; padding: 22px 18px; border-radius: 16px; }
  .bab-v4-professional__inner h2 { font-size: 1.55rem; }
  .bab-v4-products { padding-block: 28px; }
  .bab-v4-products .bab-v3-section-head { margin-bottom: 14px; }
  .bab-v4-products .bab-v3-section-head h2 { font-size: 1.45rem; }
  .bab-v4-marketplace-preview { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .bab-v4-marketplace-preview article { min-height: 112px; flex: 0 0 42%; padding: 14px; scroll-snap-align: start; }
  .bab-v4-faq__inner { grid-template-columns: 1fr; }
  .bab-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .bab-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 390px) {
  .bab-header-inner { width: calc(100% - 18px); }
  .bab-header-inner > .bab-brand { flex-basis: 142px; min-width: 118px; }
  .bab-header-icon { width: 36px; height: 36px; }
  .bab-menu-toggle { width: 38px; min-height: 38px; }
  .bab-v4-home__main > .bab-theme-eyebrow { font-size: .62rem; }
  .bab-v4-benefits strong { font-size: .66rem; }
  .bab-v4-discovery .bab-barber-card { flex-basis: min(82vw, 276px); }
  .bab-footer-grid { grid-template-columns: 1fr; }
  .bab-footer-brand { grid-column: auto; }
}
.bab-theme-section--ink :where(a, button, [tabindex]):focus-visible,
.bab-v3-profile-cta :where(a, button, [tabindex]):focus-visible,
.bab-site-footer :where(a, button, [tabindex]):focus-visible { outline-color: var(--cm-premium); }
.bab-dark .bab-v3-reviews-section .bab-review-stars,
.bab-dark .bab-v3-reviews-section .bab-verified-reviews > header > strong > span { color: var(--cm-premium); }

@media (max-width: 1100px) {
  .bab-v3-profile-stage { grid-template-columns: minmax(310px, .8fr) minmax(0, 1.2fr); gap: 48px; }
  .bab-v3-profile-summary h1 { font-size: clamp(3.5rem, 7vw, 5.9rem); }
  .bab-v3-profile-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; }
  .bab-v3-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bab-footer-grid { grid-template-columns: minmax(280px, 1.25fr) repeat(3, minmax(120px, .6fr)); gap: 32px; }
}

@media (max-width: 900px) {
  .bab-v3-profile-stage { grid-template-columns: minmax(270px, .8fr) minmax(0, 1.2fr); gap: 34px; }
  .bab-v3-shop-hero.is-directory-only .bab-v3-profile-stage { grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: 30px; }
  .bab-v3-profile-summary h1 { font-size: clamp(3rem, 7.8vw, 5rem); }
  .bab-v3-profile-layout { grid-template-columns: 1fr; }
  .bab-v3-profile-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bab-v3-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bab-footer-intro { align-items: flex-start; flex-direction: column; }
  .bab-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bab-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 840px) {
  .bab-account-popover { position: fixed; inset: auto 12px calc(var(--bab-mobile-nav-height) + 18px + env(safe-area-inset-bottom)) 12px; z-index: var(--bab-z-popover); width: auto; max-height: min(72dvh, 570px); overflow-y: auto; border-radius: 24px; transform-origin: bottom center; animation-name: bab-sheet-in; }
  .bab-account-popover__identity { padding-right: 2px; }
  .bab-account-popover__identity > div { margin-right: auto; }
  .bab-account-popover__close { width: 40px; height: 40px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid var(--bab-border); border-radius: 50%; background: var(--bab-surface-soft); color: var(--bab-text); cursor: pointer; }
  .bab-account-popover__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
  .bab-account-scrim { display: block; }
  .bab-app-bottom-nav a { position: relative; }
  .bab-app-bottom-nav a.is-active:not(.bab-app-book)::after { content: ""; position: absolute; top: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--bab-accent); }
}

@media (max-width: 720px) {
  .bab-v3-way-card--home .bab-v3-way-card__copy { max-width: 78%; }
  .bab-v3-way-card__media::after { background: linear-gradient(90deg, rgba(9,22,34,.98) 0%, rgba(9,22,34,.88) 60%, rgba(9,22,34,.38) 100%); }
  .bab-v3-profile-hero { padding: 30px 0 62px; }
  .bab-v3-profile-stage { grid-template-columns: 1fr; gap: 38px; }
  .bab-v3-shop-hero.is-directory-only .bab-v3-profile-stage { grid-template-columns: 1fr; gap: 26px; }
  .bab-v3-shop-hero.is-directory-only .bab-v3-profile-summary { order: -1; }
  .bab-v3-shop-hero.is-directory-only .bab-v3-profile-summary h1 { font-size: clamp(2.7rem, 13.5vw, 4.2rem); }
  .bab-v3-shop-hero.is-directory-only .bab-v3-shop-media { width: 100%; max-width: 480px; }
  .bab-v3-shop-hero.is-directory-only .bab-profile-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bab-v3-shop-hero.is-directory-only .bab-profile-actions .bab-theme-button { width: 100%; }
  .bab-v3-profile-media { width: min(100%, 560px); aspect-ratio: 4 / 3; border-radius: 26px; }
  .bab-v3-profile-summary h1 { font-size: clamp(3.45rem, 16vw, 5.1rem); }
  .bab-v3-profile-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bab-v3-profile-facts li { min-width: 0; padding: 3px 12px; }
  .bab-v3-profile-facts li:first-child { padding-left: 0; }
  .bab-v3-profile-layout { gap: 68px; }
  .bab-v3-profile-main { gap: 70px; }
  .bab-v3-profile-section > h2, .bab-v3-profile-section__head h2 { font-size: clamp(2.65rem, 12vw, 4rem); }
  .bab-v3-profile-section__head { align-items: flex-start; flex-direction: column; gap: 0; }
  .bab-v3-profile-section__head > a { margin: -8px 0 25px; }
  .bab-v3-service-item { grid-template-columns: 1fr; gap: 16px; }
  .bab-v3-service-item__price { min-width: 0; align-items: flex-start; text-align: left; }
  .bab-v3-reviews-section .bab-verified-reviews > header { align-items: flex-start; flex-direction: column; }
  .bab-v3-reviews-section .bab-verified-reviews__grid { grid-template-columns: 1fr; }
  .bab-v3-profile-aside { grid-template-columns: 1fr; }
  .bab-v3-profile-cta__inner { align-items: flex-start; flex-direction: column; }
  .bab-v3-profile-cta .bab-theme-button { width: 100%; }
  .bab-v3-shop-service-grid { grid-template-columns: 1fr; }
  .bab-v3-gallery-grid { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 10px; scroll-snap-type: x mandatory; }
  .bab-v3-gallery-grid figure, .bab-v3-gallery-grid figure.is-featured { flex: 0 0 min(82vw, 390px); height: 300px; scroll-snap-align: start; }
  .bab-v3-team-grid { display: flex; overflow-x: auto; gap: 14px; padding: 3px 2px 14px; scroll-snap-type: x mandatory; }
  .bab-v3-team-card { flex: 0 0 min(84vw, 350px); scroll-snap-align: start; }
  .bab-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bab-footer-brand { grid-column: 1 / -1; }
  .bab-footer-bottom { align-items: flex-start; }
  .bab-footer-legal { justify-content: flex-start; }
}

@media (max-width: 440px) {
  .bab-v3-way-card--home .bab-v3-way-card__copy { max-width: 88%; }
  .bab-v3-way-card__media { opacity: .72; }
  .bab-v3-profile-summary .bab-profile-title-row { align-items: flex-start; }
  .bab-v3-profile-summary h1 { font-size: clamp(3.2rem, 17vw, 4.35rem); }
  .bab-v3-shop-hero.is-directory-only .bab-v3-profile-summary h1 { font-size: clamp(2.55rem, 13vw, 3.75rem); }
  .bab-v3-shop-hero.is-directory-only .bab-profile-actions { grid-template-columns: 1fr; }
  .bab-v3-profile-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .bab-v3-profile-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .bab-v3-profile-media > .bab-v3-status { left: 12px; bottom: 12px; }
  .bab-v3-info-card { padding: 21px; }
  .bab-v3-gallery-grid figure, .bab-v3-gallery-grid figure.is-featured { height: 245px; }
  .bab-footer-grid { grid-template-columns: 1fr; }
  .bab-footer-brand { grid-column: auto; }
  .bab-footer-intro h2 { font-size: clamp(2.8rem, 15vw, 4rem); }
}

/* Directory hierarchy: bookable profiles stay visual; informational listings stay compact. */
.bab-core-active .bab-directory-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: row;
  align-items: stretch;
  gap: 12px;
}
.bab-core-active .bab-listing-card--directory {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--bab-radius-md);
  box-shadow: none;
}
.bab-core-active .bab-listing-card--directory:hover,
.bab-core-active .bab-listing-card--directory:focus-within {
  transform: none;
  box-shadow: var(--bab-shadow-sm);
}
.bab-core-active .bab-listing-card--directory .bab-barber-card__body {
  flex: 1;
  min-height: 0;
  padding: 16px;
}
.bab-core-active .bab-listing-card--directory .bab-barber-card__body h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 10px 0 6px;
  font-size: 1rem;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.bab-core-active .bab-listing-card--directory .bab-card-location {
  min-height: 0;
  margin: 0;
  color: var(--bab-text-muted);
  font-size: .82rem;
  line-height: 1.42;
}
.bab-core-active .bab-directory-status {
  align-self: flex-start;
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 4px 7px;
  border: 1px solid var(--bab-border);
  border-radius: var(--bab-radius-sm);
  background: var(--bab-surface-soft);
  color: var(--bab-text-muted);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .015em;
  line-height: 1.15;
}
.bab-core-active .bab-card-distance {
  display: none;
  margin-top: 6px;
  color: var(--bab-text-muted);
  font-size: .76rem;
  font-weight: 750;
}
.bab-core-active .bab-card-distance:not(:empty) { display: block; }
.bab-core-active .bab-directory-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 16px;
}
.bab-core-active .bab-directory-card-actions .bab-button:first-child { grid-column: 1 / -1; }
.bab-core-active .bab-directory-card-actions .bab-button,
.bab-core-active .bab-directory-card-actions .bab-card-action-link {
  min-width: 0;
  min-height: 44px;
  width: 100%;
  justify-content: center;
  padding: 8px 9px;
  border: 1px solid var(--bab-border);
  border-radius: var(--bab-radius-sm);
  background: var(--bab-surface);
  color: var(--bab-accent);
  font-size: .76rem;
  line-height: 1.15;
  text-align: center;
}
.bab-core-active .bab-directory-card-actions .bab-button { color: var(--bab-text) !important; }

@media (max-width: 1100px) {
  .bab-core-active .bab-directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 840px) {
  .bab-site-header,
  .bab-site-header.is-compact {
    z-index: calc(var(--bab-z-popover) + 1);
    padding-top: env(safe-area-inset-top);
    background: var(--bab-page-bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    isolation: isolate;
  }
  .bab-content-wrap--directory { padding-top: 0; }
  .bab-core-active .bab-directory {
    padding-top: 18px;
    padding-bottom: calc(var(--bab-mobile-nav-height) + 28px + env(safe-area-inset-bottom));
  }
  .bab-core-active .bab-directory-intro {
    margin: 0 0 16px;
    padding: 0;
  }
  .bab-core-active .bab-directory-intro h1 {
    margin: 6px 0 8px;
    font-size: 26px;
    line-height: 1.08;
    letter-spacing: -.03em;
  }
  .bab-core-active .bab-directory-intro p {
    max-width: 34rem;
    margin: 0;
    font-size: .92rem;
    line-height: 1.4;
  }
  .bab-core-active .bab-filter-bar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .bab-core-active .bab-filter-bar > label { grid-column: 1 / -1; }
  .bab-core-active .bab-filter-bar :is(input, select) {
    min-height: 46px;
    padding: 9px 12px;
    border-radius: 14px;
    background: var(--bab-surface);
  }
  .bab-core-active .bab-filter-bar .bab-link-button {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    justify-self: stretch;
    padding: 8px 10px;
    border: 1px solid var(--bab-border);
    border-radius: 14px;
    background: var(--bab-surface);
    text-align: center;
  }
  .bab-core-active .bab-directory-count { margin-bottom: 10px; }
}

@media (max-width: 640px) {
  .bab-core-active .bab-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .bab-core-active .bab-directory-grid .bab-listing-card--bookable { grid-column: 1 / -1; }
  .bab-core-active .bab-listing-card--bookable .bab-barber-card__media {
    max-height: 150px;
    aspect-ratio: 16 / 6.8;
  }
  .bab-core-active .bab-listing-card--bookable:has(.bab-directory-placeholder, .bab-barber-photo--placeholder) .bab-barber-card__media {
    max-height: 88px;
    aspect-ratio: 16 / 4;
  }
  .bab-core-active .bab-listing-card--bookable .bab-barber-card__media :is(.bab-directory-placeholder, .bab-barber-photo--placeholder) { padding: 8% 18%; }
  .bab-core-active .bab-listing-card--bookable .bab-barber-card__body {
    min-height: 0;
    padding: 12px;
  }
  .bab-core-active .bab-listing-card--bookable .bab-barber-card__body h3 {
    margin: 6px 0 3px;
    font-size: 1.08rem;
  }
  .bab-core-active .bab-listing-card--bookable .bab-card-location { min-height: 0; }
  .bab-core-active .bab-listing-card--bookable .bab-card-facts { margin: 7px 0; }
  .bab-core-active .bab-listing-card--bookable .bab-card-booking-state { margin: 8px 0; }
  .bab-core-active .bab-listing-card--directory { min-height: 224px; }
  .bab-core-active .bab-listing-card--directory .bab-barber-card__body { padding: 11px; }
  .bab-core-active .bab-listing-card--directory .bab-barber-card__body h3 {
    min-height: 2.35em;
    margin: 7px 0 5px;
    font-size: .9rem;
  }
  .bab-core-active .bab-listing-card--directory .bab-card-location { font-size: .76rem; }
  .bab-core-active .bab-directory-card-actions {
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: end;
    gap: 5px;
    margin-top: auto;
    padding-top: 9px;
  }
  .bab-core-active .bab-directory-card-actions .bab-button:first-child { grid-column: auto; }
  .bab-core-active .bab-directory-card-actions .bab-card-action-link[href^="tel:"] { grid-column: 1 / -1; }
  .bab-core-active .bab-directory-card-actions .bab-button,
  .bab-core-active .bab-directory-card-actions .bab-card-action-link {
    min-height: 42px;
    padding: 7px 5px;
    font-size: .7rem;
  }
}

@media (max-width: 389px) {
  .bab-core-active .bab-directory { padding-top: 16px; }
  .bab-core-active .bab-directory-intro h1 {
    font-size: 23.5px;
    line-height: 1.08;
  }
  .bab-core-active .bab-directory-intro p { font-size: .88rem; }
  .bab-core-active .bab-filter-bar .bab-link-button { font-size: .78rem; }
  .bab-core-active .bab-listing-card--directory { min-height: 218px; }
}

/* Cut Mate 3.3.7 — mobile app-layout correction layer.
 * These selectors intentionally follow every earlier responsive block so the
 * installed release cannot fall back to the legacy tall website composition.
 */
.bab-v4-faq__inner { display: block; }
.bab-v4-faq__content { width: min(100%, 860px); margin-inline: auto; }
.bab-v4-faq__content h2 { margin-bottom: 18px; }
.bab-v4-discovery .bab-card-grid > .bab-barber-card:nth-child(n+5) { display: none; }
.bab-core-active .bab-directory-grid > .bab-barber-card.is-page-hidden { display: none !important; }
.bab-directory-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; margin: 24px 0 0; }
.bab-directory-pagination[hidden] { display: none; }
.bab-directory-pagination button { min-width: 42px; min-height: 42px; display: inline-grid; place-items: center; padding: 7px 11px; border: 1px solid var(--bab-border); border-radius: 11px; background: var(--bab-surface); color: var(--bab-text); font: inherit; font-size: .82rem; font-weight: 800; cursor: pointer; }
.bab-directory-pagination button:hover { border-color: var(--bab-accent); color: var(--bab-accent); }
.bab-directory-pagination button[aria-current="page"] { border-color: var(--bab-accent); background: var(--bab-accent); color: var(--bab-on-accent); }
.bab-directory-pagination button:disabled { opacity: .42; cursor: not-allowed; }
.bab-directory-pagination > span:not(.bab-directory-pagination__status) { padding-inline: 2px; color: var(--bab-text-muted); }
.bab-directory-pagination__status { width: 100%; color: var(--bab-text-muted); font-size: .72rem; font-weight: 750; text-align: center; }

/* A missing image is not an image. Keep booking controls, but remove the
 * decorative chair placeholder and its large media panel. */
.bab-core-active .bab-listing-card--bookable:has(.bab-directory-placeholder, .bab-barber-photo--placeholder) .bab-barber-card__media { display: none; }
.bab-core-active .bab-listing-card--bookable:has(.bab-directory-placeholder, .bab-barber-photo--placeholder) .bab-barber-card__body { padding-top: 64px; }
.bab-core-active .bab-listing-card--bookable:has(.bab-directory-placeholder, .bab-barber-photo--placeholder) .bab-favourite { position: absolute; z-index: 3; top: 10px; right: 10px; }
.bab-core-active .bab-listing-card--bookable:has(.bab-directory-placeholder, .bab-barber-photo--placeholder) .bab-card-ribbon { top: 12px; }

@media (max-width: 840px) {
  .bab-site-header,
  .bab-site-header.is-compact { position: sticky; top: 0; }
  body.admin-bar .bab-site-header,
  body.admin-bar .bab-site-header.is-compact { top: 46px; }
  .bab-header-inner,
  .bab-site-header.is-compact .bab-header-inner { min-height: 60px; }
  .bab-header-inner > .bab-brand { flex-basis: 132px; min-width: 112px; }
  .bab-header-inner > .bab-brand .bab-brand-logo-wrap { height: 44px; }
  .bab-header-inner > .bab-brand .bab-brand-logo { max-height: 41px; }
  .bab-header-actions { margin-left: auto; gap: 2px; }
  .bab-header-icon { width: 36px; height: 36px; }
  .bab-menu-toggle { width: 38px; min-height: 38px; border-radius: 11px; }

  .bab-v4-home__main { padding: 7px 0 11px; }
  .bab-v4-home__main h1 {
    font-size: clamp(1.25rem, 5.5vw, 1.42rem);
    line-height: 1.08;
    letter-spacing: -.028em;
    white-space: nowrap;
  }
  .bab-v4-home__lead { display: none; }
  .bab-v4-search-card { margin-top: 8px; }
  .bab-v4-search-card .bab-home-composer:has(.bab-rebook-chip) .bab-home-composer__head { order: 1; margin: 0 0 7px; }
  .bab-v4-search-card .bab-home-composer:has(.bab-rebook-chip) .bab-availability-composer { order: 2; }
  .bab-v4-search-card .bab-home-composer:has(.bab-rebook-chip) .bab-location-status { order: 3; }
  .bab-v4-search-card .bab-home-composer:has(.bab-rebook-chip) .bab-composer-more { order: 4; }
  .bab-v4-search-card .bab-availability-composer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .bab-v4-search-card .bab-composer-mode,
  .bab-v4-search-card .bab-composer-field--location,
  .bab-v4-search-card .bab-composer-submit { grid-column: 1 / -1; }
  .bab-v4-search-card .bab-composer-mode { min-width: 0; }
  .bab-v4-search-card .bab-composer-mode span { min-height: 32px; font-size: .79rem; }
  .bab-v4-search-card .bab-composer-field { min-width: 0; min-height: 46px; padding: 4px 9px; border-radius: 11px; }
  .bab-v4-search-card .bab-composer-field > span:first-child { font-size: .58rem; letter-spacing: .025em; }
  .bab-v4-search-card .bab-composer-field :is(input, select) { min-width: 0; font-size: .78rem; }
  .bab-v4-search-card .bab-composer-field--location :is(input, select) { font-size: .83rem; }
  .bab-v4-search-card .bab-location-use { width: 34px; height: 34px; }
  .bab-v4-search-card .bab-composer-submit { min-height: 42px; }
  .bab-composer-more { margin-top: 5px; }
  .bab-v4-service-shortcuts { margin-top: 8px; }
  .bab-v4-service-shortcuts > p { margin-bottom: 6px; }
  .bab-v4-service-shortcuts > div { gap: 6px; }
  .bab-v4-service-shortcuts a { min-height: 48px; border-radius: 10px; }

  .bab-v4-discovery { padding: 18px 0 30px; }
  .bab-v4-discovery .bab-v3-section-head { align-items: end; flex-direction: row; gap: 12px; margin-bottom: 11px; }
  .bab-v4-discovery .bab-v3-section-head h2 { font-size: 1.28rem; }
  .bab-v4-discovery .bab-v3-section-head p { margin-top: 3px; font-size: .75rem; line-height: 1.35; }
  .bab-v4-discovery .bab-v3-arrow-link { flex: 0 0 auto; font-size: .72rem; }
  .bab-v4-discovery .bab-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 9px;
    overflow: visible;
    padding: 0;
  }
  .bab-v4-discovery .bab-barber-card { min-width: 0; flex: none; }
  .bab-v4-discovery .bab-listing-card--bookable { grid-column: 1 / -1; }
  .bab-v4-discovery .bab-listing-card--bookable .bab-barber-card__media { max-height: 132px; aspect-ratio: 16 / 6.4; }
  .bab-v4-discovery .bab-listing-card--bookable .bab-barber-card__body { min-height: 0; }
  .bab-v4-discovery .bab-listing-card--directory { min-height: 220px; }
  .bab-v4-discovery .bab-listing-card--directory .bab-barber-card__body { height: 100%; min-height: 0; padding: 11px; }
  .bab-v4-discovery .bab-listing-card--directory .bab-barber-card__body h3 { min-height: 2.35em; font-size: .88rem; }

  .bab-v4-faq { padding-block: 30px; }
  .bab-v4-faq__content h2 { margin: 5px 0 9px; font-size: 1.42rem; }
  .bab-v4-faq summary { padding: 14px 0; font-size: .82rem; }
  .bab-v4-faq details p { padding-bottom: 14px; font-size: .78rem; }

  .bab-site-footer { padding: 20px 0 calc(var(--bab-mobile-nav-height) + 20px + env(safe-area-inset-bottom)); }
  .bab-site-footer::before { display: none; }
  .bab-footer-grid { display: block; padding-top: 0; }
  .bab-footer-column,
  .bab-footer-capabilities,
  .bab-footer-install-region { display: none !important; }
  .bab-brand--footer { width: 154px; }
  .bab-brand--footer .bab-brand-logo-wrap { height: 48px; }
  .bab-brand--footer .bab-brand-logo { max-height: 45px; }
  .bab-footer-brand > p { max-width: 31rem; margin: 8px 0 0; font-size: .72rem; line-height: 1.45; }
  .bab-footer-bottom { align-items: center; flex-direction: row; flex-wrap: wrap; margin-top: 15px; padding-top: 12px; font-size: .68rem; }
  .bab-footer-legal { justify-content: flex-start; gap: 8px 14px; }
  .bab-footer-legal > span { display: none; }

  .bab-core-active .bab-directory { padding-top: 10px; }
  .bab-core-active .bab-directory-intro { margin-bottom: 11px; }
  .bab-core-active .bab-directory-intro .bab-kicker { font-size: .58rem; }
  .bab-core-active .bab-directory-intro h1 { margin: 4px 0 5px; font-size: clamp(1.3rem, 5.8vw, 1.48rem); white-space: nowrap; }
  .bab-core-active .bab-directory-intro p { max-width: 31rem; font-size: .79rem; line-height: 1.35; }
  .bab-core-active .bab-filter-bar { margin-bottom: 10px; }
  .bab-directory-pagination { gap: 5px; margin-top: 16px; }
  .bab-directory-pagination button { min-width: 40px; min-height: 40px; border-radius: 10px; }
}

@media (max-width: 640px) {
  .bab-header-actions { margin-left: auto; }
  .bab-menu-toggle { order: 99; }
  .bab-content-wrap--register { padding-block: 14px 30px; }
  .bab-register-shell { grid-template-columns: 1fr; gap: 12px; }
  .bab-register-intro { position: static; padding: 23px 20px; border-radius: 18px; }
  .bab-register-intro h1 { margin: 8px 0 9px; font-size: 1.85rem; line-height: 1; }
  .bab-register-intro p { font-size: .84rem; line-height: 1.45; }
  .bab-register-intro ul { gap: 8px; margin-top: 17px; }
  .bab-register-intro li { grid-template-columns: 22px minmax(0, 1fr); gap: 8px; font-size: .78rem; }
  .bab-register-intro li span { width: 22px; height: 22px; }
  .bab-content-wrap--register .bab-register-form,
  .bab-content-wrap--register .bab-login-required { padding: 21px 18px; border-radius: 18px; }
  .bab-content-wrap--register .bab-login-required { gap: 11px; }
  .bab-content-wrap--register .bab-login-required h2 { font-size: 1.2rem !important; line-height: 1.18; }
  .bab-content-wrap--register .bab-login-required .bab-button { width: 100%; }
  .bab-core-active .bab-listing-card--bookable:has(.bab-directory-placeholder, .bab-barber-photo--placeholder) .bab-barber-card__media { display: none; }
  .bab-core-active .bab-listing-card--bookable:has(.bab-directory-placeholder, .bab-barber-photo--placeholder) .bab-barber-card__body { padding-top: 60px; }
  .bab-core-active .bab-listing-card--directory { min-height: 226px; }
  .bab-core-active .bab-listing-card--directory .bab-barber-card__body h3 { min-height: 2.4em; }
}

@media (max-width: 370px) {
  .bab-header-inner > .bab-brand { flex-basis: 122px; min-width: 104px; }
  .bab-v4-home__main h1 { font-size: 1.18rem; }
  .bab-v4-search-card .bab-composer-field :is(input, select) { font-size: .72rem; }
  .bab-core-active .bab-directory-intro h1 { font-size: 1.23rem; }
}

@media (prefers-reduced-motion: reduce) {
  .bab-v3-gallery-grid img, .bab-v3-team-card__media img { transition: none; }
  .bab-v3-gallery-grid figure:hover img, .bab-v3-team-card:hover .bab-v3-team-card__media img { transform: none; }
}

@media (forced-colors: active) {
  .bab-v3-status, .bab-footer-install, .bab-app-bottom-nav a.is-active { border: 1px solid ButtonText; }
  .bab-v3-status i { forced-color-adjust: none; }
}
