:root {
  --ink: #1A1A1A;
  --paper: #FAFAF8;
  --mist: #F0EFEA;
  --line: #E4E2DC;
  --radius: 8px;
  --announce-h: 0px;
}

body.has-announce-bar { --announce-h: 36px; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ───────── NAV ───────── */
.announce-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}

.announce-bar p {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.nav {
  position: fixed;
  top: var(--announce-h); left: 0; right: 0;
  z-index: 100;
  padding: 16px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-self: start;
}

.nav-logo-img {
  height: 35px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  justify-self: center;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.nav-links > li > a { padding: 12px 0; }

.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; }

.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-chevron {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 188px;
  padding: 8px 0;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(26, 26, 26, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 110;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 18px;
  white-space: nowrap;
  opacity: 0.65;
}

.nav-dropdown-menu a:hover { opacity: 1; background: var(--mist); }

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--ink);
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.nav-icon-btn:hover,
.nav-icon-btn:focus-visible { opacity: 1; }

.nav-icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.nav-cart:hover,
.nav-cart:focus-visible { opacity: 1; }

.nav-cart svg {
  width: 20px; height: 20px;
  stroke: var(--ink); stroke-width: 1.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}

.nav-cart svg circle {
  stroke: none;
  fill: var(--ink);
}

.nav-cart-count {
  position: absolute; top: 4px; right: 2px;
  width: 16px; height: 16px;
  background: var(--ink); color: var(--paper);
  font-size: 9px; font-weight: 500;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.nav-cart-count[hidden] { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none; border: none; padding: 0;
}

.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink); transition: transform 0.3s ease;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 98;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ───────── SEARCH OVERLAY ───────── */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-overlay-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  z-index: 1;
}

.search-overlay-close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
}

.search-overlay-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 96px 28px 0;
}

.search-overlay-header { flex-shrink: 0; }

.search-overlay-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 16px;
}

.search-overlay-input {
  width: 100%;
  font-family: inherit;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 300;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--ink);
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 8px 0 18px;
  outline: none;
  border-radius: 0;
  appearance: none;
}

.search-overlay-input:focus { border-bottom-color: var(--ink); }

.search-overlay-input::-webkit-search-decoration,
.search-overlay-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.search-overlay-input::placeholder {
  color: var(--ink);
  opacity: 0.22;
}

.search-overlay-meta {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 300;
  opacity: 0.45;
}

.search-goals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.search-goal {
  padding: 10px 18px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.search-goal:hover { border-color: var(--ink); }

.search-results {
  flex: 1;
  min-height: 0;
  margin-top: 28px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.search-result {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.3s ease;
}

.search-result:hover { opacity: 0.7; }

.search-result-image {
  width: 72px;
  height: 90px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--mist);
}

.search-result-name {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.2px;
  margin-bottom: 4px;
}

.search-result-desc {
  font-size: 13px;
  font-weight: 300;
  opacity: 0.5;
  line-height: 1.5;
}

.search-result-price {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.7;
  white-space: nowrap;
}

.search-empty {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 300;
  opacity: 0.45;
}

body.scroll-locked {
  overflow: hidden;
}

/* ───────── CART DRAWER ───────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 198;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 90vw);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  box-shadow: -12px 0 32px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 199;
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer-title {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.2px;
}

.cart-drawer-close {
  display: flex;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.cart-drawer-close svg {
  width: 18px; height: 18px;
  stroke: var(--ink); stroke-width: 1.5;
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 8px 28px;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

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

.cart-item-image {
  width: 64px; height: 64px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
}

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

.cart-item-name {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 4px;
}

.cart-item-detail {
  font-size: 12px;
  opacity: 0.5;
  margin-bottom: 10px;
}

.cart-qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: fit-content;
  overflow: hidden;
}

.cart-qty-btn {
  width: 26px; height: 26px;
  background: transparent;
  border: none;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.3s ease;
}

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

.cart-qty-value {
  width: 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
}

.cart-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  flex-shrink: 0;
}

.cart-item-remove {
  display: flex;
  padding: 2px;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.cart-item-remove:hover { opacity: 1; }

.cart-item-remove svg {
  width: 14px; height: 14px;
  stroke: var(--ink); stroke-width: 1.5;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  height: 100%;
  padding: 60px 0;
}

.cart-empty-text {
  font-size: 14px;
  opacity: 0.5;
}

.cart-drawer-footer {
  padding: 24px 28px 28px;
  border-top: 1px solid var(--line);
}

.cart-drawer-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  margin-bottom: 16px;
}

.cart-checkout-btn {
  width: 100%;
  margin-bottom: 12px;
}

.cart-continue-btn {
  width: 100%;
  padding: 8px 0;
  background: none;
  border: none;
  font-size: 13px;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.cart-continue-btn:hover { opacity: 1; }

/* ───────── BUTTONS ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  border: none;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #333; }

.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-light {
  background: rgba(255,255,255,0.15); color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}
.btn-light:hover { background: rgba(255,255,255,0.25); }

.btn-small {
  padding: 10px 22px;
  font-size: 12px;
}

/* ───────── SHARED ───────── */
.section { padding: 100px 28px; }

.section-header {
  max-width: 1200px;
  margin: 0 auto 56px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.section-eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  opacity: 0.4; margin-bottom: 12px;
}

.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.section-link {
  font-size: 13px; font-weight: 400;
  opacity: 0.5;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.section-link:hover { opacity: 1; }

/* ───────── HERO ───────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(120px + var(--announce-h)) 28px 80px;
  background: var(--paper);
}

.hero-carousel {
  --hero-interval: 6s;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s ease 0.15s forwards;
}

.hero-slides {
  display: grid;
  touch-action: pan-y;
}

.hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content { min-width: 0; }

.hero-eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  opacity: 0.5; margin-bottom: 24px;
}

.hero-headline {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.hero-headline em { font-style: normal; font-weight: 500; }

/* Product names run much longer than the brand slide's two short lines, so
   the product slides step the display size down and allow a third line. */
.hero-headline-product {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 400;
  letter-spacing: -0.3px;
  max-width: min(100%, 460px);
  text-wrap: balance;
}

.hero-sub {
  font-size: 15px; font-weight: 300;
  opacity: 0.6; max-width: 380px;
  margin-bottom: 40px; line-height: 1.7;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image { position: relative; }

.hero-image img {
  width: 100%; max-width: 480px;
  margin-left: auto;
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.hero-image-accent {
  position: absolute;
  bottom: -20px; left: -20px;
  width: 140px; height: 140px;
  background: var(--mist);
  border-radius: var(--radius);
  z-index: -1;
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.hero-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--ink);
  flex-shrink: 0;
  transition: border-color 0.3s ease;
}

.hero-arrow:hover { border-color: var(--ink); }

.hero-arrow:focus-visible,
.hero-dot:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.hero-arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 99px;
  background: var(--line);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: width 0.35s ease;
}

.hero-dot.is-active {
  width: 40px;
}

.hero-dot-progress {
  position: absolute;
  inset: 0;
  background: var(--ink);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.hero-dot.is-active .hero-dot-progress {
  animation: heroDotFill var(--hero-interval, 6s) linear forwards;
}

.hero-carousel.is-paused .hero-dot-progress,
.hero-carousel.no-autoplay .hero-dot-progress {
  animation-play-state: paused;
}

.hero-carousel.no-autoplay .hero-dot.is-active .hero-dot-progress {
  animation: none;
  transform: scaleX(1);
}

@keyframes heroDotFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

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

/* ───────── FEATURED PRODUCTS ───────── */
.products { background: var(--paper); }

.products-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: default;
  opacity: 0;
  transform: translateY(20px);
}

a.product-card { cursor: pointer; }

.product-card.visible { animation: fadeUp 0.6s ease forwards; }

.product-card-link {
  display: block;
  color: inherit;
  flex: 1;
}

.product-card-image {
  background: var(--mist);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 18px;
}

.product-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img { transform: scale(1.03); }

.product-card-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--paper);
  padding: 4px 12px;
  font-size: 10px; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase;
  border-radius: 4px;
}

.product-card-name {
  font-size: 15px; font-weight: 400;
  margin-bottom: 6px;
}

.product-card-desc {
  font-size: 13px; font-weight: 300;
  opacity: 0.5; line-height: 1.6;
  margin-bottom: 10px;
  max-width: 320px;
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card-detail {
  font-size: 12px; font-weight: 300;
  opacity: 0.4;
}

.product-card-price {
  font-size: 15px; font-weight: 500;
}

.product-card-add {
  margin-top: 14px;
  width: 100%;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.4px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.product-card-add:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.product-card-add:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.products-alt { background: var(--mist); }

/* ───────── TRUST BAR ───────── */
.trust-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  padding: 32px 28px;
}

.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

.trust-item svg {
  width: 22px;
  height: 22px;
  margin: 0 auto 12px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.7;
}

.trust-item-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.1px;
  margin-bottom: 4px;
}

.trust-item-sub {
  font-size: 12px;
  font-weight: 300;
  opacity: 0.5;
}

/* ───────── GOAL TILES ───────── */
.goals-tiles {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.goal-tile {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--mist);
}

.goal-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.goal-tile:hover img { transform: scale(1.04); }

.goal-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.72), transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
}

.goal-tile-name {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}

.goal-tile-count {
  font-size: 12px;
  font-weight: 300;
  opacity: 0.7;
}

/* ───────── BUNDLE ───────── */
.bundle { background: var(--paper); }

.bundle-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.bundle-image { overflow: hidden; min-height: 420px; }

.bundle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bundle-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 52px;
  background: var(--mist);
}

.bundle-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 300;
  letter-spacing: -0.3px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.bundle-body {
  font-size: 14px;
  font-weight: 300;
  opacity: 0.6;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 420px;
}

.bundle-list {
  list-style: none;
  margin-bottom: 24px;
  max-width: 380px;
}

.bundle-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.bundle-list li span:last-child {
  font-weight: 500;
  opacity: 0.7;
}

.bundle-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}

.bundle-price-was {
  font-size: 15px;
  font-weight: 300;
  opacity: 0.4;
  text-decoration: line-through;
}

.bundle-price-now {
  font-size: 22px;
  font-weight: 500;
}

.bundle-text .btn { width: fit-content; }

/* ───────── REVIEWS ───────── */
.reviews { background: var(--mist); }

.reviews-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.review-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.review-stars {
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  opacity: 0.7;
}

.review-quote {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  opacity: 0.75;
  flex: 1;
  margin-bottom: 24px;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-meta cite {
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
}

.review-meta span {
  font-size: 12px;
  font-weight: 300;
  opacity: 0.45;
}

/* ───────── PARTNERS COMPACT ───────── */
.partners-compact {
  padding: 48px 28px;
}

.partners-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.4;
  text-align: center;
  margin-bottom: 28px;
}

/* ───────── BRAND CTA ───────── */
.brand-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 88px 28px;
}

.brand-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.brand-cta-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.brand-cta-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}

.brand-cta-body {
  font-size: 15px;
  font-weight: 300;
  opacity: 0.55;
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ───────── PROGRAMMES STRIP ───────── */
.programmes-strip { background: var(--paper); }

.programmes-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.programmes-strip-body {
  font-size: 14px;
  font-weight: 300;
  opacity: 0.55;
  line-height: 1.7;
  margin-top: 10px;
  max-width: 480px;
}

.programmes-strip .section-title { margin: 0; }

.programmes-strip .btn { flex-shrink: 0; }

/* ───────── PHILOSOPHY (50-50) ───────── */
.philosophy { background: var(--mist); }

.split {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border-radius: var(--radius);
  overflow: hidden;
}

.split-image {
  overflow: hidden;
  min-height: 400px;
}

.split-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.split:hover .split-image img {
  transform: scale(1.02);
}

.split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 56px;
  background: var(--ink);
  color: var(--paper);
}

.split-text .section-eyebrow {
  opacity: 0.4;
  color: var(--paper);
}

.split-text-headline {
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.split-text-headline em {
  font-style: normal;
  font-weight: 500;
}

.split-text-body {
  font-size: 14px; font-weight: 300;
  opacity: 0.6; line-height: 1.8;
  margin-bottom: 32px;
  max-width: 400px;
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--paper);
  border: 1px solid rgba(250,250,248,0.25);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.3s ease;
  width: fit-content;
}

.btn-outline-light:hover {
  border-color: rgba(250,250,248,0.6);
  transform: translateY(-2px);
}

/* ───────── SHOP BY GOAL (50-50 cards) ───────── */
.goals { background: var(--paper); }

.goals-list {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.goal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.goal-row.reverse .goal-row-image { order: 2; }
.goal-row.reverse .goal-row-text { order: 1; }

.goal-row-image {
  overflow: hidden;
}

.goal-row-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.goal-row:hover .goal-row-image img {
  transform: scale(1.04);
}

.goal-row-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 52px;
}

.goal-row-eyebrow {
  font-size: 10px; font-weight: 500;
  letter-spacing: 2.5px; text-transform: uppercase;
  opacity: 0.35;
  margin-bottom: 16px;
}

.goal-row-title {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.goal-row-desc {
  font-size: 14px; font-weight: 300;
  opacity: 0.55; line-height: 1.7;
  margin-bottom: 28px;
  max-width: 360px;
}

.goal-row-count {
  font-size: 12px; font-weight: 400;
  opacity: 0.35;
  margin-top: 16px;
}

/* ───────── STORY BANNER (50-50) ───────── */
.story { padding: 0; }

.story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.story-split-image {
  overflow: hidden;
}

.story-split-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.story-split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 56px;
  background: var(--ink);
  color: var(--paper);
}

.story-eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
}

.story-headline {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 20px;
}

.story-body {
  font-size: 14px; font-weight: 300;
  opacity: 0.5; line-height: 1.8;
  margin-bottom: 36px;
  max-width: 400px;
}

/* ───────── PARTNERS ───────── */
.partners { background: var(--mist); }

.partners-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 64px;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
}

.partner-logo img {
  max-height: 100%;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ───────── CORE VALUES ───────── */
.values { background: var(--paper); }

.values-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.value-card {
  padding: 52px 48px;
  position: relative;
  transition: background 0.4s ease;
}

.value-card:hover {
  background: var(--mist);
}

/* Hairline internal borders */
.value-card:nth-child(1),
.value-card:nth-child(2) {
  border-bottom: 1px solid var(--line);
}

.value-card:nth-child(1),
.value-card:nth-child(3) {
  border-right: 1px solid var(--line);
}

.value-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-title {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.value-desc {
  font-size: 14px;
  font-weight: 300;
  opacity: 0.5;
  line-height: 1.7;
  max-width: 320px;
}

/* ───────── IN YOUR SPACE (image + text pairs) ───────── */
.spaces { background: var(--mist); }

.spaces-featured {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
}

.spaces-featured-image {
  overflow: hidden;
}

.spaces-featured-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.spaces-featured-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 52px;
  background: var(--paper);
}

.spaces-featured-title {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 14px;
}

.spaces-featured-desc {
  font-size: 14px; font-weight: 300;
  opacity: 0.5; line-height: 1.7;
  max-width: 360px;
}

.spaces-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.space-card {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  position: relative;
}

.space-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.space-card:hover img { transform: scale(1.05); }

.space-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.55), transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.space-card:hover .space-card-overlay { opacity: 1; }

.space-card-caption {
  color: #fff;
  font-size: 13px; font-weight: 400;
  margin-bottom: 2px;
}

.space-card-sub {
  color: rgba(255,255,255,0.6);
  font-size: 11px; font-weight: 300;
}

/* ───────── PAGE HEADER + FILTERS (shop, events) ───────── */
.page-header {
  padding: 140px 28px 40px;
  background: var(--paper);
}

.page-header-inner { max-width: 1200px; margin: 0 auto; }

.page-header-title {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 300;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.page-header-title em { font-style: normal; font-weight: 500; }

.page-header-sub {
  font-size: 15px; font-weight: 300;
  opacity: 0.55; max-width: 440px;
  line-height: 1.7;
}

.filters-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 10px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.3px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.filter-pill:hover { border-color: var(--ink); }

.filter-pill.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.filter-count {
  font-size: 12px; font-weight: 400;
  opacity: 0.4;
}

.filtered-content { padding-top: 48px; }

.filter-item.hidden { display: none; }

/* ───────── BREADCRUMB ───────── */
.breadcrumb-bar {
  padding: 130px 28px 0;
}

.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  font-weight: 300;
}

.breadcrumb-inner a { opacity: 0.5; transition: opacity 0.3s ease; }
.breadcrumb-inner a:hover { opacity: 1; }
.breadcrumb-sep { opacity: 0.3; }
.breadcrumb-current { opacity: 0.4; }

/* ───────── PRODUCT DETAIL ───────── */
.product-detail { padding-top: 40px; }

.product-detail-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: flex-start;
}

.product-gallery {
  position: sticky;
  top: 100px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease 0.1s forwards;
}

.product-gallery-main {
  background: var(--mist);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 14px;
  cursor: zoom-in;
}

.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-gallery-main:hover img { transform: scale(1.03); }

.product-gallery-thumbs { display: flex; gap: 12px; }

.product-gallery-thumb {
  width: 76px;
  aspect-ratio: 4 / 5;
  background: var(--mist);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.3s ease, border-color 0.3s ease;
}

.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-gallery-thumb:hover,
.product-gallery-thumb.active {
  opacity: 1;
  border-color: var(--ink);
}

.product-info {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease 0.25s forwards;
}

.product-info .product-card-tag {
  position: static;
  display: inline-block;
  background: var(--mist);
  margin-bottom: 16px;
}

.product-info-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 300;
  letter-spacing: -0.4px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.product-info-price {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 20px;
}

.product-info-desc {
  font-size: 14px; font-weight: 300;
  opacity: 0.6; line-height: 1.8;
  max-width: 440px;
  margin-bottom: 14px;
}

.product-info-meta {
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.3px;
  opacity: 0.4;
  margin-bottom: 32px;
}

.product-buy-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.qty-btn {
  width: 40px; height: 48px;
  background: transparent;
  border: none;
  font-size: 16px; font-weight: 400;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.3s ease;
}

.qty-btn:hover { background: var(--mist); }

.qty-value {
  width: 36px;
  text-align: center;
  font-size: 13px; font-weight: 500;
}

.product-add-btn { min-width: 200px; }

.product-add-confirm {
  font-size: 12px; font-weight: 400;
  opacity: 0.6;
  margin-bottom: 24px;
}

.product-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 20px 0;
  margin-bottom: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px; font-weight: 400;
  opacity: 0.55;
}

.product-trust-item svg {
  width: 16px; height: 16px;
  stroke: var(--ink); fill: none;
  stroke-width: 1.4;
  flex-shrink: 0;
}

.product-accordion { margin-top: 8px; }

.product-ingredient-list { list-style: none; }

.product-ingredient-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px; font-weight: 300;
  opacity: 0.65; line-height: 1.8;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}

.product-ingredient-list li:last-child { border-bottom: none; }

.product-ingredient-list li span:last-child {
  opacity: 0.5; font-weight: 400;
  flex-shrink: 0;
  text-align: right;
}

/* ───────── LIGHTBOX ───────── */
body.lightbox-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 26, 26, 0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-stage {
  max-width: min(90vw, 900px);
  max-height: 85vh;
  transform: scale(0.96);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox-stage { transform: scale(1); }

.lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255,255,255,0.18); }

.lightbox-close svg,
.lightbox-nav svg {
  stroke: #fff; fill: none;
  stroke-width: 1.6;
}

.lightbox-close {
  top: 24px; right: 28px;
  width: 40px; height: 40px;
}

.lightbox-close svg { width: 18px; height: 18px; }
.lightbox-close:hover { transform: rotate(90deg); }

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
}

.lightbox-nav:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-nav svg { width: 20px; height: 20px; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ───────── PROGRAMMES ───────── */
.programmes { background: var(--paper); }

.programme-intro { background: var(--mist); }
.programme-features { background: var(--paper); }

/* ───────── ENQUIRY FORM ───────── */
.enquiry {
  background: var(--mist);
  text-align: center;
}

.enquiry-inner { max-width: 560px; margin: 0 auto; }

.enquiry-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 300;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.enquiry-sub {
  font-size: 14px; font-weight: 300;
  opacity: 0.55; margin-bottom: 40px;
  line-height: 1.7;
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

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

.enquiry-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.enquiry-field label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase;
  opacity: 0.5;
}

.enquiry-field input,
.enquiry-field textarea,
.enquiry-field select {
  padding: 14px 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px; font-weight: 400;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  outline: none;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.enquiry-field input::placeholder,
.enquiry-field textarea::placeholder { color: var(--ink); opacity: 0.35; }

.enquiry-field input:focus,
.enquiry-field textarea:focus,
.enquiry-field select:focus { border-color: var(--ink); }

.enquiry-form .btn { align-self: flex-start; }

.enquiry-confirm {
  font-size: 14px; font-weight: 400;
  opacity: 0.7;
  padding: 20px 0;
}

/* ───────── TRACK ORDER ───────── */
.track { background: var(--mist); }

.track-inner { max-width: 640px; margin: 0 auto; }

.track-error {
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 13px;
  opacity: 0.75;
  line-height: 1.6;
}

.track-result { margin-top: 48px; }

.track-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 28px;
  margin-bottom: 40px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.track-summary-item { text-align: center; }

.track-summary-label {
  font-size: 10px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 8px;
}

.track-summary-value {
  font-size: 15px; font-weight: 500;
}

.track-timeline { list-style: none; }

.track-step {
  position: relative;
  padding-left: 32px;
  padding-bottom: 32px;
}

.track-step:last-child { padding-bottom: 0; }

.track-step::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 16px;
  bottom: -16px;
  width: 1px;
  background: var(--line);
}

.track-step:last-child::before { display: none; }

.track-step-dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 12px; height: 12px;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.track-step.done .track-step-dot {
  background: var(--ink);
  border-color: var(--ink);
}

.track-step-title {
  font-size: 14px; font-weight: 500;
  margin-bottom: 4px;
  opacity: 0.35;
  transition: opacity 0.3s ease;
}

.track-step.done .track-step-title { opacity: 1; }

.track-step-date {
  font-size: 12px;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.track-step.done .track-step-date { opacity: 0.55; }

/* ───────── LEGAL PAGES ───────── */
.legal { background: var(--paper); }

.legal-content { max-width: 720px; margin: 0 auto; }

.legal-updated {
  font-size: 12px; font-weight: 300;
  opacity: 0.4;
  margin-bottom: 40px;
}

.legal-toc {
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-toc a {
  font-size: 13px; font-weight: 300;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.legal-toc a:hover { opacity: 1; }

.legal-content h2 {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.2px;
  margin: 48px 0 14px;
  scroll-margin-top: 100px;
}

.legal-content h2:first-of-type { margin-top: 0; }

.legal-content p {
  font-size: 14px; font-weight: 300;
  opacity: 0.65; line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: none;
  margin-bottom: 16px;
}

.legal-content li {
  font-size: 14px; font-weight: 300;
  opacity: 0.65; line-height: 1.8;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.legal-content li::before {
  content: '—';
  position: absolute;
  left: 0;
  opacity: 0.4;
}

.legal-content strong {
  font-weight: 500;
  opacity: 1;
}

.legal-content a {
  opacity: 1;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: border-color 0.3s ease;
}

.legal-content a:hover { border-color: var(--ink); }

.legal-closing {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

/* ───────── FAQ ───────── */
.faq-group { margin-bottom: 48px; }

.faq-group-title {
  font-size: 11px; font-weight: 500;
  letter-spacing: 2.5px; text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 8px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 15px; font-weight: 400;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-icon {
  font-size: 18px; font-weight: 300;
  opacity: 0.4;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  font-size: 14px; font-weight: 300;
  opacity: 0.6; line-height: 1.8;
  margin-top: 14px;
  max-width: 620px;
}

/* ───────── FOOTER ───────── */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 28px 40px;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr);
  gap: 40px 32px;
  margin-bottom: 60px;
  align-items: start;
}

.footer-newsletter-sub {
  font-size: 13px;
  font-weight: 300;
  opacity: 0.5;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  max-width: 280px;
}

.footer-newsletter-form .btn { width: 100%; }

.footer-newsletter-input {
  width: 100%;
  padding: 13px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 400;
  border: 1px solid rgba(250,250,248,0.2);
  border-radius: var(--radius);
  background: rgba(250,250,248,0.06);
  color: var(--paper);
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.footer-newsletter-input::placeholder { color: var(--paper); opacity: 0.4; }
.footer-newsletter-input:focus {
  border-color: rgba(250,250,248,0.5);
  background: rgba(250,250,248,0.1);
}

.footer-logo {
  height: 30px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand-text {
  font-size: 13px; font-weight: 300;
  opacity: 0.5; line-height: 1.7;
  max-width: 280px;
}

.footer-col-title {
  font-size: 11px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  opacity: 0.4; margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 13px; font-weight: 300;
  opacity: 0.6; transition: opacity 0.3s ease;
}

.footer-col a:hover { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(250,250,248,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 12px; font-weight: 300; opacity: 0.3;
}

.footer-socials { display: flex; gap: 20px; }

.footer-socials a {
  opacity: 0.4; transition: opacity 0.3s ease;
}

.footer-socials a:hover { opacity: 1; }

.footer-socials svg {
  width: 18px; height: 18px; fill: var(--paper);
}

/* ───────── ABOUT PAGE ───────── */
.mission-vision { background: var(--paper); }

.mission-vision-image {
  max-width: 1200px;
  margin: 0 auto 48px;
  aspect-ratio: 1200 / 440;
  max-height: 440px;
  border-radius: var(--radius);
  overflow: hidden;
}

.mission-vision-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.mission-vision-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.mission-vision-title {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 300;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}

.mission-vision-title em { font-style: normal; font-weight: 500; }

.mission-vision-body {
  font-size: 14px; font-weight: 300;
  opacity: 0.6; line-height: 1.8;
}

/* About values */
.about-values { background: var(--mist); }

.about-values-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.about-value-pill {
  padding: 16px 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: border-color 0.3s ease;
}

.about-value-pill:hover { border-color: var(--ink); }

.section-intro-block {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-intro-body {
  font-size: 14px; font-weight: 300;
  opacity: 0.6; line-height: 1.8;
  margin-top: 16px;
}

/* Why Jannis Health */
.why-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.why-card {
  padding: 48px 40px;
  border-right: 1px solid var(--line);
  transition: background 0.4s ease;
}

.why-card:last-child { border-right: none; }

.why-card:hover { background: var(--mist); }

.why-icon {
  width: 36px; height: 36px;
  margin-bottom: 22px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-card-title {
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.why-card-desc {
  font-size: 13px; font-weight: 300;
  opacity: 0.55; line-height: 1.7;
}

/* Pioneering closing */
.pioneering {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.pioneering-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 300;
  letter-spacing: -0.3px;
  line-height: 1.25;
  margin-bottom: 20px;
}

.pioneering-title em { font-style: normal; font-weight: 500; }

.pioneering-body {
  font-size: 14px; font-weight: 300;
  opacity: 0.6; line-height: 1.8;
  margin-bottom: 32px;
}

.pioneering-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ───────── ANIMATIONS ───────── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
  }

  .footer-newsletter { grid-column: span 2; }
}

@media (max-width: 1024px) {
  .trust-bar-inner,
  .goals-tiles,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bundle-text { padding: 40px 36px; }
}

/* ───────── MOBILE ───────── */
@media (max-width: 768px) {
  .nav {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    gap: 12px;
  }

  .nav-logo-img { height: 26px; }

  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(280px, 78vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 72px 20px 28px;
    background: var(--paper);
    box-shadow: -12px 0 32px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
    z-index: 99;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links > li {
    border-bottom: 1px solid var(--line);
  }

  .nav-links > li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 14px;
  }

  .nav-dropdown-chevron { display: none; }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    min-width: 0;
    padding: 0 0 12px 4px;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .nav-dropdown-menu::before { display: none; }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    transform: none;
  }

  .nav-dropdown-menu a {
    padding: 8px 0;
    font-size: 13px;
    opacity: 0.5;
  }

  .nav-dropdown-menu a:hover { background: none; opacity: 1; }

  .nav-toggle { display: flex; }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }

  .search-overlay-inner { padding: 88px 20px 0; }
  .search-overlay-close { top: 12px; right: 12px; }

  .search-result {
    grid-template-columns: 56px 1fr;
    gap: 14px;
  }

  .search-result-image {
    width: 56px;
    height: 70px;
    grid-row: 1 / span 2;
  }

  .search-result-price {
    grid-column: 2;
    justify-self: start;
  }

  .btn {
    padding: 10px 20px;
    font-size: 12px;
  }

  .btn-small {
    padding: 8px 16px;
    font-size: 11px;
  }

  /* One screenful: image, copy, buttons and dots all visible on landing.
     svh is the viewport with the browser chrome showing, so the slide still
     fits before the address bar collapses. */
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(60px + var(--announce-h)) 16px 16px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-image { order: -1; }

  /* Height-bound, not width-bound: a full-width 4/5 portrait came out ~430px
     tall on a 375px screen and pushed the buttons past the fold. */
  .hero-image img {
    max-width: 100%;
    max-height: 32vh;
    max-height: 32svh;
    width: auto;
    margin: 0 auto;
    aspect-ratio: 4 / 5;
    object-fit: contain;
  }

  .hero-image-accent { display: none; }

  .hero-eyebrow {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .hero-headline {
    font-size: 24px;
    margin-bottom: 8px;
  }

  /* Product names vary a lot in length; cap them so one long name cannot
     push the rest of the slide off screen. */
  .hero-headline-product {
    font-size: 19px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-sub {
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-controls {
    justify-content: center;
    margin-top: 14px;
  }

  .section { padding: 40px 16px; }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 28px;
  }

  .section-eyebrow {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .section-title { font-size: 22px; }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
    max-width: none;
  }

  .product-card-image { margin-bottom: 10px; }

  .product-card .product-card-tag {
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    font-size: 8px;
  }

  .product-card-name {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .product-card-desc {
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 6px;
    max-width: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-card-meta { gap: 6px; }

  .product-card-detail { font-size: 10px; }

  .product-card-price { font-size: 13px; }

  .product-card-add {
    margin-top: 10px;
    padding: 8px 12px;
    font-size: 11px;
  }

  .trust-bar { padding: 24px 16px; }

  .trust-bar-inner {
    grid-template-columns: 1fr 1fr;
    gap: 20px 12px;
  }

  .goals-tiles {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .goal-tile-overlay { padding: 16px; }

  .goal-tile-name { font-size: 16px; }

  .bundle-inner { grid-template-columns: 1fr; }

  .bundle-image { min-height: 220px; }

  .bundle-text { padding: 28px 20px; }

  .reviews-grid { grid-template-columns: 1fr 1fr; }

  .partners-compact { padding: 36px 16px; }

  .brand-cta { padding: 56px 20px; }

  .programmes-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 20px;
  }

  .programmes-strip .btn { width: 100%; }

  /* Partners */
  .partners-grid { gap: 20px 24px; }
  .partner-logo { height: 28px; }
  .partner-logo img { max-width: 80px; }

  /* Philosophy 50-50 */
  .split {
    grid-template-columns: 1fr;
  }

  .split-image { min-height: 180px; }

  .split-text { padding: 28px 20px; }

  .split-text-headline {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .split-text-body {
    font-size: 13px;
    margin-bottom: 20px;
  }

  /* Goal rows */
  .goal-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .goal-row-image { min-height: 160px; }

  .goal-row.reverse .goal-row-image { order: 0; }
  .goal-row.reverse .goal-row-text { order: 0; }

  .goal-row-text { padding: 24px 20px; }

  .goal-row-title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .goal-row-desc {
    font-size: 13px;
    margin-bottom: 16px;
  }

  /* Story 50-50 */
  .story-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .story-split-image { min-height: 200px; }

  .story-split-text { padding: 28px 20px; }

  .story-eyebrow { margin-bottom: 12px; }

  .story-headline {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .story-body {
    font-size: 13px;
    margin-bottom: 20px;
  }

  /* Core Values */
  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    padding: 24px 20px;
  }

  .value-card:nth-child(1),
  .value-card:nth-child(3) {
    border-right: none;
  }

  .value-card:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .value-card:nth-child(3) {
    border-bottom: 1px solid var(--line);
  }

  /* In Your Space */
  .spaces-featured {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .spaces-featured-image { min-height: 180px; }
  .spaces-featured-text { padding: 24px 20px; }

  .spaces-featured-title { font-size: 20px; }
  .spaces-featured-desc { font-size: 13px; }

  .spaces-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .space-card-overlay { opacity: 1; }

  /* Page header + filters (shop, events) */
  .page-header { padding: 80px 16px 24px; }
  .page-header-title { font-size: 26px; margin-bottom: 10px; }
  .page-header-sub { font-size: 13px; }
  .filters-bar { padding: 0 16px; align-items: flex-start; flex-direction: column; gap: 12px; }
  .filter-pill { padding: 7px 14px; font-size: 11px; }
  .filtered-content { padding-top: 24px; }

  /* Breadcrumb + Product detail */
  .breadcrumb-bar { padding: 72px 16px 0; }
  .product-detail { padding-top: 20px; }

  .product-detail-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-info-title { font-size: 24px; }
  .product-info-price { font-size: 18px; margin-bottom: 14px; }
  .enquiry-title { font-size: 22px; }

  .product-gallery { position: static; }

  .product-buy-row { flex-direction: column; align-items: stretch; }
  .qty-stepper { justify-content: center; }
  .product-add-btn { width: 100%; }

  /* Lightbox */
  .lightbox-stage { max-width: 92vw; }
  .lightbox-close { top: 16px; right: 16px; width: 36px; height: 36px; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }

  .enquiry-row { grid-template-columns: 1fr; }

  .track-summary { grid-template-columns: 1fr; gap: 16px; }

  .footer { padding: 48px 16px 28px; }

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

  .footer-brand-col { grid-column: 1 / -1; }
  .footer-newsletter { grid-column: auto; }
  .footer-newsletter-form { max-width: 100%; }

  /* About page */
  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mission-vision-image { max-height: 200px; }

  .why-grid { grid-template-columns: 1fr; }

  .why-card {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 24px 20px;
  }

  .why-card:last-child { border-bottom: none; }

  .pioneering-ctas { flex-direction: column; }
  .pioneering-ctas .btn { width: 100%; }
}

/* ───────── CHECKOUT ───────── */
.checkout-page { background: var(--paper); }

.checkout-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  animation: fadeUp 0.55s ease 0.05s forwards;
}

.checkout-secure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3px;
  opacity: 0.55;
}

.checkout-secure svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checkout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 28px 80px;
}

.checkout-steps {
  display: flex;
  gap: 8px 28px;
  list-style: none;
  margin-bottom: 36px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.55s ease 0.12s forwards;
}

.checkout-steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  opacity: 0.35;
  transition: opacity 0.35s ease;
}

.checkout-steps li.is-active,
.checkout-steps li.is-done { opacity: 1; }

.checkout-steps li span {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 11px;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.checkout-steps li.is-active span {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: scale(1.08);
}

.checkout-steps li.is-done span {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 48px;
  align-items: start;
  opacity: 0;
  animation: fadeUp 0.65s ease 0.2s forwards;
}

.checkout-panels {
  display: grid;
}

.checkout-panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(28px);
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.45s ease;
}

.checkout-panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  z-index: 1;
}

.checkout-panel.is-leave-left {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-28px);
}

.checkout-panel.is-leave-right {
  opacity: 0;
  visibility: hidden;
  transform: translateX(28px);
}

.checkout-form.is-back .checkout-panel:not(.is-active):not(.is-leave-left):not(.is-leave-right) {
  transform: translateX(-28px);
}

.checkout-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.checkout-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 300;
  letter-spacing: -0.3px;
}

.checkout-subtitle {
  font-size: 15px;
  font-weight: 500;
  margin: 28px 0 16px;
}

.checkout-edit {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
  opacity: 0.5;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: opacity 0.3s ease, border-color 0.3s ease;
}

.checkout-edit:hover { opacity: 1; border-color: var(--ink); }

.checkout-form .enquiry-field { margin-bottom: 16px; }
.checkout-form .enquiry-row { margin-bottom: 4px; }

.checkout-form .enquiry-field input,
.checkout-form .enquiry-field select {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.checkout-form .enquiry-field input:focus,
.checkout-form .enquiry-field select:focus {
  box-shadow: 0 0 0 4px rgba(26, 26, 26, 0.06);
}

.checkout-swap {
  overflow: hidden;
  max-height: 120px;
  opacity: 1;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.4s ease;
}

.checkout-swap.is-collapsed {
  max-height: 0;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

.checkout-region-slot { min-width: 0; }

.checkout-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  margin: 4px 0 18px;
  cursor: pointer;
}

.checkout-check input { margin-top: 3px; accent-color: var(--ink); }
.checkout-check a { border-bottom: 1px solid var(--line); transition: border-color 0.3s ease; }
.checkout-check a:hover { border-color: var(--ink); }

.checkout-continue {
  width: 100%;
  margin-top: 12px;
}

.checkout-continue.is-busy {
  pointer-events: none;
  opacity: 0.65;
}

.checkout-error {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--mist);
  font-size: 13px;
  line-height: 1.6;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease, margin 0.35s ease, border-color 0.3s ease;
}

.checkout-error.is-visible {
  max-height: 96px;
  opacity: 1;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-color: var(--line);
}

.checkout-fineprint {
  margin-top: 14px;
  font-size: 12px;
  font-weight: 300;
  opacity: 0.45;
  line-height: 1.6;
}

.checkout-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.checkout-method {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--paper);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.checkout-methods .checkout-method {
  opacity: 0;
  animation: fadeUp 0.5s ease forwards;
}

.checkout-methods .checkout-method:nth-child(1) { animation-delay: 0.05s; }
.checkout-methods .checkout-method:nth-child(2) { animation-delay: 0.12s; }

.checkout-method:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26, 26, 26, 0.06);
}

.checkout-method:has(input:checked) {
  border-color: var(--ink);
  background: var(--mist);
  box-shadow: 0 10px 24px rgba(26, 26, 26, 0.05);
}

.checkout-method strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}

.checkout-method em {
  display: block;
  font-style: normal;
  font-size: 12px;
  font-weight: 300;
  opacity: 0.5;
  margin-top: 2px;
}

.checkout-method b {
  font-size: 13px;
  font-weight: 500;
}

.checkout-method input { accent-color: var(--ink); }

.checkout-payfast {
  padding: 20px 22px;
  margin-bottom: 24px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.checkout-payfast-title {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}

.checkout-payfast p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  opacity: 0.7;
}

.checkout-summary {
  position: sticky;
  top: 88px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
  padding: 24px;
}

.checkout-summary-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}

.checkout-summary-toggle span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.checkout-summary-chevron {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s ease;
}

.checkout-summary.is-open .checkout-summary-chevron { transform: rotate(180deg); }

.checkout-summary-items { display: flex; flex-direction: column; gap: 16px; }

.checkout-line {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
}

.checkout-line-image {
  width: 56px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--paper);
}

.checkout-line-name { font-size: 13px; font-weight: 400; }
.checkout-line-meta { font-size: 12px; font-weight: 300; opacity: 0.45; margin-top: 2px; }
.checkout-line-price { font-size: 13px; font-weight: 500; }

.checkout-totals {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.checkout-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  margin-bottom: 10px;
}

.checkout-totals dt { font-weight: 300; opacity: 0.55; }
.checkout-totals-total { font-size: 16px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.checkout-totals-total dt,
.checkout-totals-total dd { opacity: 1; font-weight: 500; }

.checkout-totals dd.is-tick {
  animation: checkoutTick 0.4s ease;
}

.checkout-summary-note {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 300;
  opacity: 0.5;
  line-height: 1.6;
}

.checkout-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  padding: 24px 28px 40px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  opacity: 0;
  animation: fadeUp 0.55s ease 0.35s forwards;
}

.checkout-footer a { opacity: 0.45; transition: opacity 0.3s ease; }
.checkout-footer a:hover { opacity: 1; }

@keyframes checkoutTick {
  0% { opacity: 0.35; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

.confirm {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 28px 80px;
}

.confirm-lead {
  font-size: 15px;
  font-weight: 300;
  opacity: 0.6;
  line-height: 1.7;
  margin: 12px 0 36px;
  max-width: 520px;
}

.confirm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.confirm-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.confirm-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(26, 26, 26, 0.06);
}

.confirm-body > * {
  opacity: 0;
  transform: translateY(16px);
}

.confirm-body.is-ready > * {
  animation: fadeUp 0.6s ease forwards;
}

.confirm-body.is-ready > *:nth-child(1) { animation-delay: 0.04s; }
.confirm-body.is-ready > *:nth-child(2) { animation-delay: 0.1s; }
.confirm-body.is-ready > *:nth-child(3) { animation-delay: 0.16s; }
.confirm-body.is-ready > *:nth-child(4) { animation-delay: 0.22s; }
.confirm-body.is-ready > *:nth-child(5) { animation-delay: 0.3s; }
.confirm-body.is-ready > *:nth-child(6) { animation-delay: 0.36s; }

.confirm-empty > * {
  opacity: 0;
}

.confirm-empty.is-ready > * {
  animation: fadeUp 0.55s ease forwards;
}

.confirm-dl > div { margin-bottom: 14px; }
.confirm-dl dt { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; opacity: 0.4; margin-bottom: 4px; }
.confirm-dl dd { font-size: 14px; }

.confirm-address {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  white-space: pre-line;
  opacity: 0.8;
}

.confirm-eta { font-size: 13px; opacity: 0.5; margin-top: 12px; }

.confirm-eft {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
}

.confirm-eft-title { font-weight: 500; margin-bottom: 8px; }
.confirm-eft ul { list-style: none; margin-top: 12px; }
.confirm-eft li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.confirm-eft li span { opacity: 0.45; }

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; gap: 24px; }
  .checkout-summary { position: static; order: -1; padding: 0; border: 1px solid var(--line); overflow: hidden; }
  .checkout-summary-toggle {
    display: flex;
    padding: 16px 18px;
    font-size: 14px;
  }
  .checkout-summary-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
  }
  .checkout-summary.is-open .checkout-summary-body { grid-template-rows: 1fr; }
  .checkout-summary-inner { overflow: hidden; padding: 0 18px 18px; }
  .confirm-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-ctas .btn { width: 100%; text-align: center; }

  .reviews-grid { grid-template-columns: 1fr; }

  .footer-top { gap: 28px 16px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-newsletter { grid-column: auto; }

  .checkout,
  .confirm { padding: 28px 16px 56px; }
  .checkout-header { padding: 12px 16px; }
  .confirm-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
