/* Cycle At Home — 3-colour system: white · black · purple */

:root {
  /* ── Brand palette (only 3) ── */
  --white: #ffffff;
  --black: #0a0a0a;
  --purple: #6b4ce6;

  /* Derived tints (from purple + black opacity — no extra hues) */
  --purple-hover: #5538d4;
  --purple-soft: #f3f0ff;
  --purple-border: #ddd6fe;
  --black-muted: rgba(10, 10, 10, 0.55);
  --black-light: rgba(10, 10, 10, 0.38);
  --black-faint: rgba(10, 10, 10, 0.08);
  --neutral-soft: #f5f5f5;

  /* Semantic tokens */
  --bg: var(--white);
  --bg-muted: var(--neutral-soft);
  --bg-promo: var(--neutral-soft);
  --text: var(--black);
  --text-muted: var(--black-muted);
  --text-light: var(--black-light);
  --border: var(--black-faint);
  --border-dark: var(--purple-border);
  --accent: var(--purple);

  --radius: 12px;
  --radius-sm: 8px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ── Logo ── */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--purple);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  flex-shrink: 0;
}

.logo-mark img,
.logo-mark svg { width: 24px; height: 24px; display: block; }

.logo-text {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.logo-text-accent {
  color: var(--purple);
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.header-trust-strip {
  background: linear-gradient(90deg, var(--purple) 0%, #7c5ce8 50%, var(--purple) 100%);
  color: var(--white);
}

.header-trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

.header-trust-inner svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.95;
}

.header-trust-text strong {
  font-weight: 700;
}

.header-highlight {
  flex-shrink: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(107, 76, 230, 0.4) 18%,
    rgba(107, 76, 230, 0.65) 50%,
    rgba(107, 76, 230, 0.4) 82%,
    transparent 100%
  );
  pointer-events: none;
}

.header-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding: 10px 0 12px;
}

.header-shell > .logo {
  order: 1;
  flex-shrink: 0;
}

.header-actions {
  order: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.header-loc-search {
  order: 3;
  display: flex;
  align-items: center;
  width: 100%;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.header-loc-search:focus-within {
  border-color: var(--purple-border);
  box-shadow: 0 0 0 3px var(--purple-soft);
}

.header-loc-search .location-btn {
  flex: 0 1 auto;
  max-width: 42%;
  height: 100%;
  margin: 0;
  padding: 0 10px 0 12px;
  border: none;
  border-radius: 0;
  background: transparent;
}

.header-loc-search .location-btn:hover {
  background: var(--purple-soft);
}

.header-loc-search-divider {
  width: 1px;
  height: 24px;
  flex-shrink: 0;
  background: var(--border);
}

.header-loc-search .header-search {
  flex: 1;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0 14px 0 6px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.header-loc-search .header-search:focus-within {
  box-shadow: none;
}

.header-loc-search--loc-only .header-search,
.header-loc-search--loc-only .header-loc-search-divider {
  display: none !important;
}

.header-loc-search--loc-only .location-btn {
  flex: 1;
  max-width: none;
}

.header-cart-btn {
  position: relative;
}

.header-cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--white);
  background: var(--purple);
  border: 2px solid var(--white);
  border-radius: 999px;
}

.header-cart-badge[hidden] {
  display: none;
}

.logo--compact .logo-text {
  display: none;
}

@media (min-width: 768px) {
  .logo--compact .logo-text {
    display: inline;
  }
}

.header-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0 14px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
}

.header-search:focus-within {
  border-color: var(--purple-border);
  box-shadow: 0 0 0 3px var(--purple-soft);
}

.search-icon {
  width: 18px;
  height: 18px;
  color: var(--text-light);
  flex-shrink: 0;
}

.header-search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--text);
  background: transparent;
}

.header-search input::placeholder { color: var(--text-light); }

/* Location pill (inside header-loc-search) */
.location-btn {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px 0 12px;
  border: none;
  background: transparent;
  text-align: left;
}

.location-btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--purple);
}

.location-btn-value {
  flex: 1;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
}

.location-btn.is-set .location-btn-value {
  color: var(--text);
}

.location-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-light);
}

.location-banner {
  display: none;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  background: var(--bg);
}

.location-banner.is-visible,
.location-banner.is-hiding {
  display: grid;
}

.location-banner.is-visible {
  grid-template-rows: 1fr;
}

.location-banner.is-hiding {
  grid-template-rows: 0fr;
}

.location-banner-panel {
  overflow: hidden;
  min-height: 0;
  background: linear-gradient(180deg, var(--purple-soft) 0%, var(--white) 100%);
}

.location-banner-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0 14px;
  opacity: 0;
  transition: opacity 0.32s ease 0.1s;
}

.location-banner.is-visible .location-banner-inner {
  opacity: 1;
}

.location-banner.is-hiding .location-banner-inner {
  opacity: 0;
  transition-delay: 0s;
  transition-duration: 0.2s;
}

.location-banner-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--purple);
}

.location-banner-copy {
  flex: 1;
  min-width: 0;
}

.location-banner-text {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  word-break: break-word;
}

.location-banner-meta {
  margin: 2px 0 0;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-muted);
}

.location-banner-meta[hidden] {
  display: none;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  flex-shrink: 0;
}

.icon-btn:hover {
  border-color: var(--purple-border);
  background: var(--purple-soft);
}

.icon-btn svg { width: 18px; height: 18px; }

.field-hint {
  margin: -8px 0 12px;
  font-size: 0.8125rem;
  color: var(--black);
  font-weight: 600;
}

.field-hint[hidden] { display: none; }

.modal--location { max-width: 400px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  transition: opacity 0.15s;
}

.btn:active { opacity: 0.85; }

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover { background: var(--purple); }

.btn-accent {
  background: var(--purple);
  color: var(--white);
}

.btn-accent:hover { background: var(--purple-hover); }

.btn-outline {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border-dark);
}

.btn-full { width: 100%; }

/* ── Hero ── */
.hero {
  padding: 24px 0 0;
  background: var(--bg);
}

.hero-layout {
  display: grid;
  gap: 20px;
}

.hero-title {
  margin: 0;
  font-size: clamp(1.625rem, 4.2vw, 2.375rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

/* Service panel — category list */
.service-panel {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 4px 14px;
  background: var(--white);
  overflow: hidden;
}

.category-list {
  display: flex;
  flex-direction: column;
}

.category-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--border);
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s;
}

.category-row:last-child {
  border-bottom: none;
}

.category-row:hover {
  background: var(--purple-soft);
  margin: 0 -14px;
  padding-left: 14px;
  padding-right: 14px;
}

.category-row:active {
  background: var(--purple-soft);
}

.category-row-img {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}

.category-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-row-body {
  flex: 1;
  min-width: 0;
}

.category-row-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.category-row-title--featured {
  display: flex;
  align-items: center;
  gap: 6px;
}

.category-row-title--featured .preloader {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 1px rgba(107, 76, 230, 0.35));
  pointer-events: none;
}

.category-row-title--featured .crack {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 72%;
  aspect-ratio: 1;
  background-color: var(--accent);
  opacity: 0.2;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  animation: category-star-rotate 8s linear infinite;
}

.category-row-title--featured .crack2 {
  width: 80%;
  opacity: 0.35;
  animation-delay: 0.8s;
}

.category-row-title--featured .crack3 {
  width: 88%;
  opacity: 0.55;
  animation-delay: 1.2s;
}

.category-row-title--featured .crack4 {
  width: 94%;
  opacity: 0.75;
  animation-delay: 1.6s;
}

.category-row-title--featured .crack5 {
  width: 100%;
  opacity: 1;
  animation-delay: 2s;
}

@keyframes category-star-rotate {
  to {
    rotate: 360deg;
  }
}

.category-row-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--purple);
  border-radius: 4px;
  vertical-align: middle;
}

.category-row-desc {
  display: block;
  margin-top: 4px;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.category-row-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-light);
}

/* Hero collage — layout locked from tuner (1920px) */
.hero-collage {
  --hc-col-left: 3.4;
  --hc-col-right: 2.8;
  --hc-gap: 12;
  --hc-bike-width: 109;
  --hc-bike-x: 103;
  --hc-bike-y: -4;
  --hc-wheel-width: 51;
  --hc-wheel-x: 95;
  --hc-wheel-y: -4;
  --hc-wheel-align: stretch;
  --hc-purple-width: 100;
  --hc-purple-x: 96;
  --hc-purple-y: -12;
  --hc-purple-align: stretch;
  display: grid;
  grid-template-columns: minmax(0, calc(var(--hc-col-left) * 1fr)) minmax(0, calc(var(--hc-col-right) * 1fr));
  grid-template-rows: auto auto;
  gap: calc(var(--hc-gap) * 1px);
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  align-items: start;
  overflow: visible;
}

.photo-slot {
  position: relative;
  overflow: visible;
  min-height: 0;
  line-height: 0;
}

.photo-slot img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.08);
}

.photo-slot--bike {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  transform: translate(calc(var(--hc-bike-x) * 1px), calc(var(--hc-bike-y) * 1px));
}

.photo-slot--bike img {
  width: calc(var(--hc-bike-width) * 1%);
}

.photo-slot--wheel {
  grid-column: 2;
  grid-row: 1;
  justify-self: var(--hc-wheel-align);
  width: calc(var(--hc-wheel-width) * 1%);
  transform: translate(calc(var(--hc-wheel-x) * 1px), calc(var(--hc-wheel-y) * 1px));
}

.photo-slot--purple {
  grid-column: 2;
  grid-row: 2;
  justify-self: var(--hc-purple-align);
  width: calc(var(--hc-purple-width) * 1%);
  transform: translate(calc(var(--hc-purple-x) * 1px), calc(var(--hc-purple-y) * 1px));
}

/* Trust stats */
.trust-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 8px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.stat svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--purple); }

.stat strong { color: var(--black); font-weight: 600; }

@media (min-width: 768px) {
  .trust-stats {
    justify-content: center;
    gap: 16px 40px;
  }
}

/* Brand ticker */
.brand-ticker {
  padding: 28px 0 32px;
  background: var(--white);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.brand-ticker-head {
  text-align: center;
  margin-bottom: 18px;
}

.brand-ticker-label {
  margin: 0 0 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

.brand-ticker-note {
  margin: 0;
  font-size: 0.6875rem;
  color: var(--text-light);
}

.brand-ticker-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.brand-ticker-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brand-ticker-viewport--mobile {
  display: none;
}

.brand-ticker-viewport--desktop {
  display: block;
}

.brand-ticker-track {
  display: flex;
  width: max-content;
  animation: brand-ticker-scroll 50s linear infinite;
}

.brand-ticker-track--reverse {
  animation-direction: reverse;
}

.brand-ticker-track:hover {
  animation-play-state: paused;
}

.brand-ticker-group {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
}

.brand-ticker-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 120px;
  height: 48px;
}

.brand-ticker-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.95;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

@media (min-width: 768px) {
  .brand-ticker-item {
    width: 136px;
    height: 52px;
  }

  .brand-ticker-group {
    gap: 56px;
    padding-right: 56px;
  }

  .brand-ticker-track {
    animation-duration: 55s;
  }
}

.brand-ticker-item:hover img {
  opacity: 1;
  transform: scale(1.04);
}

@keyframes brand-ticker-scroll {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-ticker-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    row-gap: 16px;
  }

  .brand-ticker-group[aria-hidden="true"] {
    display: none;
  }

  .brand-ticker-viewport {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* Trust banner */
.trust-banner {
  padding: 48px 0;
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Why section */
.why-section {
  padding: 48px 0 56px;
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
}

.why-intro {
  margin-bottom: 0;
  text-align: center;
}

.why-label {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.why-intro h2 {
  margin: 0 0 20px;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.trust-grid {
  display: grid;
  gap: 28px;
}

.trust-item { text-align: center; }

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: none;
  color: var(--purple);
}

.trust-icon svg { width: 24px; height: 24px; }

.trust-item h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
}

.trust-item p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 280px;
  margin-inline: auto;
}

/* ── Carousel sections ── */
.carousel-section {
  padding: 40px 0;
}

#services-section,
#parts-section {
  scroll-margin-top: 96px;
}

@media (min-width: 768px) {
  #services-section,
  #parts-section {
    scroll-margin-top: 104px;
  }
}

.carousel-section--alt { background: var(--bg-muted); }

.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section-header h2 {
  margin: 0 0 4px;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.see-all {
  flex-shrink: 0;
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--purple);
  background: none;
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-sm);
}

.see-all:hover { background: var(--purple-soft); }

.card--see-all {
  display: flex;
  align-items: stretch;
  cursor: pointer;
}

.card-see-all-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 10px;
  padding: 16px 12px;
  text-align: center;
  background: var(--purple-soft);
  border: 1px dashed var(--purple-border);
  border-radius: var(--radius);
  transition: background 0.12s, border-color 0.12s;
}

.card--see-all:hover .card-see-all-body {
  background: var(--white);
  border-color: var(--purple);
}

.card-see-all-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  color: var(--purple);
}

.card-see-all-icon svg {
  width: 28px;
  height: 28px;
}

.card--see-all h3 {
  margin: 0 0 4px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--purple);
}

.card--see-all p {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ── Catalog modal ── */
.modal--catalog {
  width: calc(100% - 12px);
  max-width: 720px;
  height: min(94dvh, 94vh);
  max-height: min(94dvh, 94vh);
  overflow: hidden;
  padding: 0;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}

.catalog-modal-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.modal--catalog .modal-close {
  top: 14px;
  right: 14px;
  z-index: 2;
}

.catalog-modal-inner {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px 16px 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.catalog-modal-inner::-webkit-scrollbar {
  display: none;
}

.cart-checkout-footer {
  flex-shrink: 0;
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
}

.cart-checkout-pricing {
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.cart-checkout-pricing--compact {
  display: block;
  margin: 2px 0 0;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-muted);
}

.cart-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.cart-price-row strong {
  color: var(--text);
  font-weight: 600;
}

.cart-checkout-note {
  margin: 0 0 10px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.cart-checkout-note.is-warning {
  color: #9a6700;
}

.cart-checkout-actions {
  display: flex;
  gap: 8px;
}

.cart-checkout-actions .btn {
  flex: 1;
  min-height: 44px;
}

.cart-checkout-actions .btn-outline {
  background: transparent;
  color: var(--purple);
  border: 1px solid var(--purple-border);
}

.cart-checkout-actions .btn-outline:hover {
  background: var(--purple-soft);
}

.catalog-modal-inner h2 {
  margin: 0 0 6px;
  padding-right: 32px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.catalog-modal-sub {
  margin: 0 0 22px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.catalog-section {
  margin-bottom: 28px;
}

.catalog-section:last-child {
  margin-bottom: 0;
}

.catalog-section-title {
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
  align-items: stretch;
}

.catalog-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  height: 100%;
  text-align: center;
}

.catalog-item-img {
  width: 100%;
  aspect-ratio: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
}

.catalog-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
}

.catalog-item-name {
  margin: 0;
  width: 100%;
  min-height: 2.5em;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  flex: 1 1 auto;
}

.catalog-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  flex-shrink: 0;
}

.catalog-item-price {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  flex-shrink: 0;
}

.catalog-item-price--request,
.card-price--request {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.catalog-item-price--empty {
  display: block;
  min-width: 0;
  flex: 1;
}

.catalog-item .card-qty {
  height: 36px;
  margin-top: 0;
  flex-shrink: 0;
  align-self: center;
}

.catalog-item .card-qty-btn {
  width: 32px;
  height: 32px;
  font-size: 1.125rem;
}

.catalog-item .card-qty-value {
  min-width: 28px;
  font-size: 0.9375rem;
}

@media (min-width: 480px) {
  .catalog-modal-inner {
    padding: 26px 20px 32px;
  }

  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 14px;
  }

  .catalog-item-img img {
    padding: 12px;
  }
}

@media (min-width: 640px) {
  .modal--catalog {
    width: calc(100% - 24px);
  }

  .catalog-modal-inner {
    padding: 28px 24px 36px;
  }

  .catalog-grid {
    gap: 20px 16px;
  }

  .catalog-item-name {
    font-size: 0.875rem;
  }
}

.carousel-wrap {
  position: relative;
}

.carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.carousel::-webkit-scrollbar { display: none; }

.card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  margin-bottom: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-light);
  font-size: 0.8125rem;
  font-weight: 500;
  overflow: hidden;
}

.card-img--part { background: var(--white); }

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 6px;
  box-sizing: border-box;
}

.card:hover h3 { color: var(--purple); }

.card h3 {
  margin: 0 0 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.12s;
  flex: 0 0 auto;
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-desc {
  margin: 4px 0 8px;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-item-desc {
  margin: 0 0 6px;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: var(--text-muted);
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-desc--visit,
.catalog-item-desc--visit {
  color: var(--text-light);
  font-style: italic;
}

.card-price {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.card-price--empty {
  visibility: hidden;
  flex: 1;
  min-width: 0;
}

.card-price--request {
  max-width: 62%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel-btn {
  display: none;
  position: absolute;
  top: 50%;
  right: -4px;
  transform: translateY(calc(-50% - 20px));
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  color: var(--text);
  z-index: 2;
}

.carousel-btn:hover {
  border-color: var(--purple-border);
  color: var(--purple);
  background: var(--purple-soft);
}

.carousel-btn--prev {
  left: -4px;
  right: auto;
}

.carousel-btn--next {
  right: -4px;
  left: auto;
}

.carousel-btn--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.carousel-btn svg { width: 20px; height: 20px; }

/* ── Promo ── */
.promo {
  padding: 48px 0;
  background: var(--bg-promo);
}

.promo--top {
  padding-top: 28px;
  border-bottom: 1px solid var(--border);
}

.promo-inner {
  display: grid;
  gap: 24px;
  align-items: center;
}

.promo-label {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.promo-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

/* ── Footer ── */
.site-footer {
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 0.875rem;
  font-weight: 700;
}

.footer-col a {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-col a:hover { color: var(--purple); }

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.logo--footer {
  align-items: center;
  gap: 10px;
}

.logo--footer .logo-mark {
  width: 40px;
  height: 40px;
  font-size: 1rem;
  border-radius: 9px;
}

.logo--footer .logo-text {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ── Subpages (about, legal) ── */
.site-header--sub .header-highlight { display: none; }

.header-shell--sub {
  justify-content: space-between;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.8125rem;
}

.legal-page {
  padding: 32px 0 64px;
}

.legal-wrap {
  max-width: 720px;
}

.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.8125rem;
  color: var(--text-light);
}

.legal-breadcrumb a {
  color: var(--text-muted);
}

.legal-breadcrumb a:hover {
  color: var(--purple);
}

.legal-hero {
  margin-bottom: 32px;
}

.legal-hero--about h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.legal-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.legal-eyebrow {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.legal-meta {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  color: var(--text-light);
}

.legal-lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.legal-callout {
  margin-bottom: 36px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--purple-soft);
  border: 1px solid var(--purple-border);
}

.legal-callout p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text);
}

.legal-callout p + p {
  margin-top: 10px;
}

.legal-callout a {
  color: var(--purple);
  font-weight: 500;
}

.legal-section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legal-section h3 {
  margin: 20px 0 8px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.legal-section p {
  margin: 0 0 12px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section a {
  color: var(--purple);
  font-weight: 500;
}

.legal-section a:hover {
  text-decoration: underline;
}

.legal-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.legal-list li {
  margin-bottom: 8px;
}

.legal-list li:last-child {
  margin-bottom: 0;
}

.about-founder {
  margin-bottom: 40px;
}

.about-founder-card {
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-muted);
}

.about-founder-copy h2 {
  margin: 0 0 4px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.about-founder-role {
  margin: 0 0 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--purple);
}

.about-founder-copy p {
  margin: 0 0 14px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.about-founder-copy p:last-child {
  margin-bottom: 0;
}

.legal-section--highlight {
  padding: 20px 22px;
  border-radius: 12px;
  background: var(--purple-soft);
  border: 1px solid var(--purple-border);
  border-bottom: 1px solid var(--purple-border);
}

/* ── Modal ── */
.modal::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 201;
  width: calc(100% - 32px);
  max-width: 420px;
  max-height: min(92dvh, 92vh);
  margin: 0;
  padding: 28px 24px 24px;
  border: none;
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  overflow-y: auto;
}

.modal:not([open]) { display: none; }

dialog:not([open]) {
  display: none;
}

.cart-drawer[open] {
  display: flex;
  flex-direction: column;
}

.modal.modal--catalog {
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  width: calc(100% - 12px);
  max-width: 720px;
  height: min(94dvh, 94vh);
  max-height: min(94dvh, 94vh);
  padding: 0;
  overflow: hidden;
}

@media (max-width: 767px) {
  .modal.modal--catalog {
    --catalog-sheet-h: min(92vh, 92dvh, 92svh);
    top: calc(100vh - var(--catalog-sheet-h));
    top: calc(100dvh - var(--catalog-sheet-h));
    top: calc(100svh - var(--catalog-sheet-h));
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    max-width: none;
    height: var(--catalog-sheet-h);
    max-height: var(--catalog-sheet-h);
    margin: 0;
    transform: none;
    border-radius: 16px 16px 0 0;
  }

  .catalog-modal-inner {
    padding: 18px 14px 20px;
    -webkit-overflow-scrolling: touch;
  }

  .catalog-modal-inner h2 {
    font-size: 1.25rem;
    margin-bottom: 4px;
  }

  .catalog-section {
    margin-bottom: 22px;
  }

  .catalog-grid {
    gap: 14px 10px;
  }

  .catalog-item-desc {
    -webkit-line-clamp: 2;
    min-height: 2.8em;
    margin-bottom: 4px;
  }

  .catalog-item-name {
    min-height: 2.4em;
    font-size: 0.75rem;
  }

  .catalog-item-footer {
    gap: 6px;
  }

  .catalog-item-price {
    font-size: 0.8125rem;
  }

  .catalog-item .card-qty-btn {
    width: 30px;
    height: 30px;
  }

  .cart-checkout-footer {
    padding: 10px 14px calc(12px + env(safe-area-inset-bottom));
  }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  line-height: 1;
  color: var(--text-muted);
  background: none;
  border: none;
  border-radius: 6px;
}

.modal-close:hover { background: var(--bg-muted); }

.modal-state[hidden] { display: none; }

.modal h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.modal-body {
  margin: 0 0 20px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.modal-status {
  margin: 16px 0 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-align: center;
}

.spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto;
  border: 2.5px solid var(--purple-border);
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.optional { font-weight: 400; color: var(--text-muted); }

#location-form input {
  width: 100%;
  margin-bottom: 14px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 0.9375rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  outline: none;
}

#location-form input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-soft);
}

#waitlist-form input {
  width: 100%;
  margin-bottom: 14px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 0.9375rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  outline: none;
}

#waitlist-form input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-soft);
}

/* ── Desktop ── */
@media (min-width: 768px) {
  .header-shell {
    flex-wrap: nowrap;
    gap: 20px;
    padding: 0;
    min-height: 64px;
  }

  .header-shell > .logo {
    order: 0;
  }

  .header-loc-search {
    order: 0;
    flex: 1;
    width: auto;
    max-width: 520px;
    margin: 0 auto;
    height: 48px;
    border-radius: 10px;
  }

  .header-loc-search .location-btn {
    max-width: 200px;
    padding: 0 12px 0 14px;
  }

  .header-loc-search--loc-only {
    max-width: 280px;
  }

  .header-loc-search--loc-only .location-btn {
    max-width: none;
  }

  .header-actions {
    order: 0;
    margin-left: 0;
    gap: 10px;
  }

  .hero { padding: 36px 0 0; }

  .hero-layout {
    grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
    grid-template-rows: auto auto;
    gap: 20px 24px;
    align-items: start;
  }

  .hero-title {
    grid-column: 1 / -1;
  }

  .service-panel {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    justify-self: end;
    width: 100%;
    max-width: 400px;
    margin-right: 0;
    margin-top: -6px;
    transform: translateX(20px);
  }

  .hero-collage {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .category-row-img {
    width: 80px;
    height: 80px;
  }

  .category-row-title {
    font-size: 1.0625rem;
  }

  .category-row-title--featured .preloader {
    width: 20px;
    height: 20px;
  }

  .card { flex: 0 0 220px; }

  .carousel-btn { display: flex; }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 24px;
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .trust-item { text-align: left; }

  .trust-item p { margin-inline: 0; }

  .why-intro {
    text-align: left;
    max-width: 520px;
    margin-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .header-loc-search {
    max-width: 580px;
  }

  .hero-title { font-size: 2.5rem; }

  .hero-layout {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  }

  .service-panel {
    max-width: 420px;
    margin-top: -8px;
    transform: translateX(28px);
  }

  .category-row-img {
    width: 84px;
    height: 84px;
  }
}

/* Mobile service grid tuning */
@media (max-width: 767px) {
  .header-trust-inner {
    padding: 6px 12px;
    font-size: 0.75rem;
    gap: 6px;
  }

  .header-trust-inner svg {
    width: 14px;
    height: 14px;
  }

  .site-header .container.header-shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .header-shell {
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    padding: 6px 0 8px;
  }

  .header-shell > .logo {
    order: 0;
    flex: 1;
    min-width: 0;
    gap: 12px;
  }

  .header-shell .logo-mark {
    width: 42px;
    height: 42px;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 9px;
  }

  .logo--compact .logo-text {
    display: inline;
    font-size: 1.1875rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 13.5rem;
  }

  .header-loc-search {
    order: 3;
    flex: 0 0 100%;
    min-width: 0;
    width: 100%;
    height: 40px;
    border-radius: 999px;
  }

  .header-loc-search--loc-only .location-btn {
    width: 100%;
    max-width: none;
    min-height: 40px;
    padding: 0 12px 0 12px;
    gap: 6px;
  }

  .location-btn-icon {
    width: 16px;
    height: 16px;
  }

  .location-btn-value {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
  }

  .location-chevron {
    width: 14px;
    height: 14px;
    margin-left: 2px;
  }

  .location-banner-inner {
    padding: 10px 12px 12px;
    gap: 8px;
    align-items: flex-start;
  }

  .location-banner-text {
    font-size: 0.8125rem;
    line-height: 1.35;
  }

  .location-banner-meta {
    font-size: 0.75rem;
    margin-top: 3px;
  }

  .location-banner-icon {
    width: 16px;
    height: 16px;
    margin-top: 1px;
  }

  .header-actions {
    order: 1;
    margin-left: auto;
    flex-shrink: 0;
    gap: 6px;
  }

  .header-actions .book-flow-btn {
    display: none;
  }

  .icon-btn {
    width: 34px;
    height: 34px;
  }

  .icon-btn svg {
    width: 17px;
    height: 17px;
  }

  .hero-collage {
    display: none;
  }

  .hero-layout {
    gap: 16px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .service-panel {
    padding: 2px 12px;
    margin: 0;
    transform: none;
    max-width: none;
    justify-self: stretch;
  }

  .container.trust-stats {
    padding-left: 28px;
    padding-right: 20px;
  }

  .brand-ticker {
    padding: 22px 0 26px;
  }

  .brand-ticker-head {
    margin-bottom: 14px;
    padding: 0 12px;
  }

  .brand-ticker-viewport--desktop {
    display: none;
  }

  .brand-ticker-viewport--mobile {
    display: block;
  }

  .brand-ticker-rows {
    gap: 10px;
  }

  .brand-ticker-group {
    gap: 32px;
    padding-right: 32px;
  }

  .brand-ticker-item {
    width: 96px;
    height: 38px;
  }

  .brand-ticker-track {
    animation-duration: 34s;
  }

  .brand-ticker-track--reverse {
    animation-duration: 34s;
  }
}


/* tile-icon — booking suggestions & addons */
.tile-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--neutral-soft);
}

.tile-icon img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  display: block;
}

/* ── Card quantity stepper ── */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  flex-shrink: 0;
}

.card-footer:has(.card-price) {
  justify-content: space-between;
}

.card-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 34px;
  padding: 2px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: border-color 0.12s, background 0.12s;
}

.card-qty.is-active {
  background: var(--purple-soft);
  border-color: var(--purple-border);
}

.card-qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1;
  color: var(--purple);
  background: var(--white);
  border: none;
  border-radius: 999px;
  transition: background 0.12s, color 0.12s, opacity 0.12s;
}

.card-qty-btn:hover:not(:disabled) {
  background: var(--purple);
  color: var(--white);
}

.card-qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.card-qty-value {
  min-width: 28px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}

.section-highlight {
  animation: section-pulse 1.6s ease;
}

@keyframes section-pulse {
  0%, 100% { box-shadow: inset 0 0 0 0 transparent; }
  30%, 70% { box-shadow: inset 0 0 0 3px var(--purple-border); }
}

/* ── Cart bar ── */
body.has-cart-bar { padding-bottom: 88px; }

html.scroll-locked,
html.scroll-locked body {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

body.overlay-modal-open.has-cart-bar {
  padding-bottom: 0;
}

body.overlay-modal-open .cart-bar {
  display: none !important;
}

.cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
}

.cart-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-bar-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.cart-bar-note {
  margin: 6px 0 0;
  padding: 0 20px;
  font-size: 0.6875rem;
  line-height: 1.35;
  color: #9a6700;
  text-align: center;
}

.cart-bar-note[hidden],
.cart-checkout-note[hidden],
.cart-checkout-pricing[hidden] {
  display: none;
}

.cart-bar-summary {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 14px;
  background: var(--purple-soft);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.cart-bar-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
  background: var(--purple);
  border-radius: 999px;
}

.cart-bar-checkout {
  flex-shrink: 0;
  min-width: 120px;
}

.cart-bar.is-bump {
  animation: cart-bump 0.35s ease;
}

@keyframes cart-bump {
  50% { transform: translateY(-3px); }
}

/* ── Cart drawer ── */
.cart-drawer {
  position: fixed;
  --drawer-h: min(75vh, 75dvh, 75svh);
  top: calc(100vh - var(--drawer-h));
  top: calc(100dvh - var(--drawer-h));
  top: calc(100svh - var(--drawer-h));
  left: 0;
  right: 0;
  bottom: auto;
  margin: 0;
  max-width: none;
  width: 100%;
  height: var(--drawer-h);
  max-height: var(--drawer-h);
  padding: 0;
  border: none;
  border-radius: var(--radius) var(--radius) 0 0;
  transform: none;
  overflow: hidden;
}

.cart-drawer::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--border);
}

.cart-drawer-header h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  flex: 1;
  min-width: 0;
}

.cart-drawer-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.cart-drawer-header .modal-close {
  position: static;
  width: 34px;
  height: 34px;
}

.icon-btn--sm {
  width: 34px;
  height: 34px;
}

.icon-btn--sm svg {
  width: 16px;
  height: 16px;
}

.icon-btn--danger:hover {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.modal--confirm {
  max-width: 340px;
  padding: 24px 22px 20px;
}

.modal--confirm h2 {
  margin: 0 0 8px;
  font-size: 1.125rem;
}

.modal--confirm .modal-body {
  margin: 0;
}

.confirm-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.confirm-actions .btn {
  flex: 1;
  padding: 11px 16px;
  font-size: 0.875rem;
}

.cart-drawer-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 20px;
  -webkit-overflow-scrolling: touch;
}

.cart-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.cart-line:last-child { border-bottom: none; }

.cart-line-info {
  flex: 1;
  min-width: 0;
}

.cart-line-name {
  margin: 0 0 2px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.cart-line-meta {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cart-line-type {
  display: none;
}

.cart-line-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.cart-qty-btn:hover { background: var(--purple-soft); }

.cart-qty-value {
  min-width: 20px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
}

.cart-drawer-empty {
  padding: 32px 20px;
  text-align: center;
  color: var(--text-muted);
}

.cart-drawer-footer {
  flex-shrink: 0;
  padding: 12px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
}

/* ── Booking form ── */
.modal--booking {
  max-width: 420px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 0;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.modal--booking .modal-close {
  top: 16px;
  right: 16px;
  z-index: 2;
  background: transparent;
  color: var(--text-muted);
}

.modal--booking .modal-state {
  padding: 28px 24px 24px;
}

.modal-state--center {
  text-align: center;
  padding: 48px 28px !important;
}

.booking-head {
  margin-bottom: 24px;
  padding-right: 24px;
}

.booking-head h2 {
  margin: 0 0 6px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.booking-meta {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.booking-summary-block {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.booking-suggestions-block {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.booking-suggestions-block[hidden] {
  display: none !important;
}

.booking-summary-label {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light);
}

.booking-cart-summary {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-pricing-summary {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.booking-pricing-rows {
  margin-bottom: 0;
}

.booking-pricing-note {
  margin-top: 8px;
  margin-bottom: 0;
}

.booking-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.booking-summary-name {
  flex: 1;
  min-width: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
}

.booking-summary-row .card-qty {
  flex-shrink: 0;
}

.booking-addons {
  margin: 16px 0 0;
}

.booking-addons-label {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light);
}

.booking-addon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 6px;
  align-items: stretch;
}

.booking-addon-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 4px 2px 0;
  text-align: center;
}

.booking-addon-tile .tile-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.booking-addon-tile .tile-label {
  width: 100%;
  min-height: 2.5em;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.booking-addon-tile .card-qty {
  margin-top: auto;
  height: 30px;
  flex-shrink: 0;
}

.booking-addon-tile .card-qty-btn {
  width: 26px;
  height: 26px;
  font-size: 1rem;
}

.booking-addon-tile .card-qty-value {
  min-width: 22px;
  font-size: 0.8125rem;
}

@media (max-width: 400px) {
  .booking-addon-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px 4px;
  }
}

.booking-form .field-label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
}

.booking-form input[type="text"],
.booking-form input[type="tel"],
.booking-form input[type="date"],
.booking-form select {
  width: 100%;
  height: 44px;
  margin-bottom: 20px;
  padding: 0 2px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-dark);
  border-radius: 0;
  outline: none;
  transition: border-color 0.15s;
}

.booking-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b4ce6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 18px;
}

.booking-form select:invalid {
  color: var(--text-light);
}

.booking-form input:focus,
.booking-form select:focus {
  border-bottom-color: var(--purple);
  box-shadow: none;
}

.phone-field {
  display: flex;
  align-items: stretch;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-dark);
}

.phone-field:focus-within {
  border-bottom-color: var(--purple);
}

.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 10px 0 2px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
}

.phone-field input {
  flex: 1;
  margin-bottom: 0 !important;
  border-bottom: none !important;
  padding-left: 0;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field-col { min-width: 0; }

.field-col .field-label { margin-top: 0; }

.booking-time-select {
  margin-bottom: 6px;
}

.field-hint--booking-time {
  margin: 0 0 16px;
  font-size: 0.75rem;
}

.field-hint--error {
  margin: -8px 0 16px;
  font-size: 0.8125rem;
  color: #c0392b;
}

.booking-pay-line {
  margin: 8px 0 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--purple);
  text-align: center;
}

.booking-submit {
  height: 50px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: -0.01em;
}

.booking-success-text {
  margin-bottom: 24px !important;
  text-align: center;
  color: var(--text-muted);
  line-height: 1.55;
}

.success-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
  background: var(--purple);
  border-radius: 999px;
}

@media (max-width: 400px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .modal--booking .modal-state {
    padding: 24px 20px 20px;
  }
}
