/** Shopify CDN: Minification failed

Line 1687:12 Expected identifier but found whitespace
Line 1687:13 Unexpected "760px"

**/
/* Lurafi — Apple.com design system (from reference project) */

:root {
  --apple-blue: #0071e3;
  --apple-blue-hover: #0077ed;
  --apple-blue-dark: #2997ff;
  --apple-bg: #ffffff;
  --apple-bg-gray: #f5f5f7;
  --apple-bg-dark: #000000;
  --apple-bg-card-dark: #1d1d1f;
  --apple-text: #1d1d1f;
  --apple-text-muted: #6e6e73;
  --apple-text-muted-dark: #a1a1a6;
  --apple-text-on-dark: #f5f5f7;
  --apple-text-on-dark-muted: #d2d2d7;
  --apple-border: #d2d2d7;
  --apple-container: 980px;
  /* Safe areas — 0 on most desktop; active on notched phones / some tablets */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --bp-tablet: 768px;
  --bp-desktop: 1024px;
  --bp-header-nav: 1440px;
  --bp-desktop-wide: 1280px;
  --header-container: 100%;
  --header-util-min: 10.5rem;
  --header-bar: 44px;
  --header-pad-block: 10px;
  --header-inset-top: clamp(10px, 2vw, 14px);
  --header-offset: calc(
    var(--safe-top) + var(--header-inset-top) + var(--header-pad-block) * 2 + var(--header-bar)
  );
  --header-h: var(--header-offset);
  --header-pad-inline: clamp(16px, 4vw, 24px);
  --header-brand-nav-gap: clamp(56px, 8vw, 96px);
  --header-brand-max: 10.35rem;
  --header-nav-gap: clamp(20px, 2.5vw, 36px);
  --header-nav-font-size: 0.9375rem;
  /* Wordmark — fixed px per breakpoint (404×108 PNG ≈ 3.741:1); never em/vw on the img */
  --header-logo-aspect: 3.741;
  --header-logo-height: 26px;
  --header-logo-width: calc(var(--header-logo-height) * var(--header-logo-aspect));
  --header-util-gap: 6px;
  --pad-inline: max(clamp(16px, 4vw, 22px), var(--safe-left));
  --pad-inline-end: max(clamp(16px, 4vw, 22px), var(--safe-right));
  --pad-page-bottom: calc(var(--space-xl) + var(--safe-bottom));
  --touch-min: 44px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --focus-ring: 0 0 0 3px #fff, 0 0 0 5px var(--apple-blue);
  --font-apple: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  font-family: var(--font-apple);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  color: var(--apple-text);
  background: var(--apple-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, p { margin: 0; }

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

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--apple-blue);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--apple-blue);
  outline-offset: 2px;
}

.site-header[data-theme="dark"] a:focus-visible,
.site-header[data-theme="dark"] button:focus-visible,
.site-header[data-theme="dark"] select:focus-visible,
.site-header[data-theme="dark"] .language-selector__select:focus-visible {
  outline-color: var(--apple-blue-dark);
  box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.32);
}

.skip-to-content-link {
  position: absolute;
  top: 0; left: 0;
  z-index: 9999;
}
.skip-to-content-link:focus {
  position: absolute;
  top: max(8px, var(--safe-top));
  left: max(8px, var(--safe-left));
  width: auto;
  height: auto;
  padding: 8px 16px;
  background: var(--apple-text);
  color: #fff;
  clip: auto;
}

.apple-container {
  width: 100%;
  max-width: var(--apple-container);
  margin-inline: auto;
  padding-left: var(--pad-inline);
  padding-right: var(--pad-inline-end);
}

.section-apple {
  padding-block: clamp(52px, 8vw, 92px);
}

.headline-hero {
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.headline-section {
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.08349;
  font-weight: 600;
  letter-spacing: -0.003em;
}

.body-elevated {
  font-size: clamp(19px, 2.5vw, 28px);
  line-height: 1.2;
  letter-spacing: 0.007em;
  font-weight: 400;
}

.body-standard {
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
}

.body-reduced {
  font-size: 14px;
  line-height: 1.42861;
  letter-spacing: -0.016em;
}

.overline-blue { color: var(--apple-blue); font-size: 17px; letter-spacing: -0.022em; text-align: center; margin-bottom: 12px; }
.overline-blue-dark {
  color: var(--apple-blue-dark);
  font-size: 17px;
  letter-spacing: -0.022em;
  text-align: center;
  margin-bottom: 12px;
}
.hero-apple .overline-blue-dark { color: #64b5ff; }

.btn-apple-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-min);
  min-width: var(--touch-min);
  background: var(--apple-blue);
  color: #fff;
  font-size: 17px;
  letter-spacing: -0.022em;
  padding: 12px 24px;
  border-radius: 980px;
  transition: background 0.3s var(--ease-out), transform 0.2s var(--ease-out);
  white-space: nowrap;
}
.btn-apple-primary:hover { background: var(--apple-blue-hover); }
.btn-apple-primary:active { transform: scale(0.98); }

.btn-apple-primary--sm {
  font-size: 14px;
  padding: 10px 18px;
  min-height: var(--touch-min);
}

.btn-block { width: 100%; display: flex; justify-content: center; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.btn-apple-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-min);
  background: var(--apple-blue-dark);
  color: #fff;
  font-size: 17px;
  padding: 12px 28px;
  border-radius: 980px;
  transition: opacity 0.3s var(--ease-out), transform 0.2s var(--ease-out);
}
.btn-apple-blue:hover { opacity: 0.92; }
.btn-apple-blue:active { transform: scale(0.98); }

.btn-apple-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--apple-blue);
  font-size: 17px;
  padding: 11px 22px;
  border-radius: 980px;
  border: 1px solid var(--apple-blue);
  background: transparent;
  transition: all 0.3s;
}
.btn-apple-secondary:hover {
  background: var(--apple-blue);
  color: #fff;
}

.product-page__variants-select { margin-bottom: 20px; }
.product-page__variants-select label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.product-page__variants-select select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--apple-border);
  border-radius: 12px;
  font: inherit;
  background: #fff;
}

.cart-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cart-page__delivery-card {
  max-width: 420px;
  margin: 14px 0 20px;
  padding: 16px;
  border: 1px solid rgba(210, 210, 215, 0.8);
  border-radius: 16px;
  background: #fff;
}
.cart-page__delivery-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--apple-text-muted);
  margin-bottom: 4px;
}
.cart-page__delivery-value {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}
.cart-page__empty-note {
  margin: 8px 0 20px;
}
.cart-page__footer {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--apple-border);
}
.cart-page__total {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 8px;
}

.link-apple-blue {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--apple-blue-dark);
  font-size: 17px;
  letter-spacing: -0.022em;
}
.link-apple-blue:hover { text-decoration: underline; }

.tile-grid-3 { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) { .tile-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.tile-grid-2 { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) { .tile-grid-2 { grid-template-columns: repeat(2, 1fr); } }

.tile {
  border-radius: 20px;
  padding: clamp(32px, 5vw, 40px);
  height: 100%;
}

.tile--gray { background: var(--apple-bg-gray); }
.tile--white { background: #fff; }
.tile--dark { background: var(--apple-bg-card-dark); }

.text-center { text-align: center; }
.text-muted { color: var(--apple-text-muted); }
.text-muted-dark { color: var(--apple-text-muted-dark); }
.text-white { color: #fff; }

.lp-specs .headline-section {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.lp-specs__media {
  max-width: 980px;
  margin: 0 auto 40px;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1024 / 682;
}

.lp-specs__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-specs__card {
  max-width: 820px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(210, 210, 215, 0.7);
  border-radius: 24px;
  background: rgba(245, 245, 247, 0.78);
}
.lp-specs__table {
  width: 100%;
  border-collapse: collapse;
}
.lp-specs__table tr + tr {
  border-top: 1px solid rgba(210, 210, 215, 0.7);
}
.lp-specs__table th,
.lp-specs__table td {
  padding: 18px clamp(18px, 4vw, 32px);
  vertical-align: top;
  text-align: left;
}
.lp-specs__table th {
  width: 34%;
  color: var(--apple-text);
  font-weight: 600;
}
.lp-specs__table td {
  color: var(--apple-text-muted);
}
@media (max-width: 640px) {
  .lp-specs__table th,
  .lp-specs__table td {
    display: block;
    width: 100%;
    padding-block: 14px 0;
  }
  .lp-specs__table td {
    padding-top: 4px;
    padding-bottom: 14px;
  }
}

/* ---- Header (mobile-first: phone <768 | tablet 768–1023 | inline nav 1024+) ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: var(--header-offset);
  padding-top: calc(var(--safe-top) + var(--header-inset-top));
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
  box-sizing: border-box;
  transition: background 0.5s var(--ease-out), border-color 0.5s;
}
.site-header[data-theme="light"] {
  backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255,255,255,0.72);
  border-bottom: 1px solid rgba(210,210,215,0.6);
}
.site-header[data-theme="dark"] { background: transparent; }
/* Once scrolled, the transparent dark header gains a blurred scrim so hero text
   passing underneath can't collide with the nav (legibility + clean separation). */
.site-header[data-theme="dark"][data-scrolled="true"] {
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
  width: 100%;
  max-width: var(--header-container);
  margin-inline: auto;
  padding-inline: var(--header-pad-inline);
  padding-block: var(--header-pad-block);
  min-height: var(--header-bar);
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  column-gap: var(--space-sm);
}

.site-header__brand {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  flex-shrink: 0;
  width: max-content;
  min-width: max-content;
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: content-box;
  min-width: 48px;
  min-height: 48px;
  width: var(--header-logo-width);
  max-width: none;
  padding: max(0px, calc((48px - var(--header-logo-height)) / 2)) 8px
    max(0px, calc((48px - var(--header-logo-height)) / 2)) 0;
  line-height: 1;
  transition: color 0.5s;
}
.site-header__logo-img {
  display: block;
  flex-shrink: 0;
  width: var(--header-logo-width);
  height: var(--header-logo-height);
  max-width: none;
  object-fit: contain;
  object-position: left center;
}
.site-header[data-theme="dark"] .site-header__logo-img,
.site-header[data-theme="light"] .site-header__logo-img {
  filter: none;
}

.site-header[data-theme="dark"] .site-nav__link { color: var(--apple-text-on-dark-muted); }
.site-header[data-theme="dark"] .site-nav__link:hover { color: var(--apple-text-on-dark); }
.site-header[data-theme="light"] .site-nav__link { color: var(--apple-text-muted); }
.site-header[data-theme="light"] .site-nav__link:hover { color: var(--apple-text); }

.site-nav {
  display: none;
}

.site-nav__link {
  font-size: var(--header-nav-font-size);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.011em;
  padding: 12px 14px;
  min-height: var(--touch-min);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 8px;
  transition: color 0.3s var(--ease-out), background-color 0.2s var(--ease-out);
}
.site-nav__link:hover {
  background: rgba(127, 127, 127, 0.12);
}
.site-header[data-theme="dark"] .site-nav__link:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Phone: compact lang in header bar + full control in drawer */
.site-header__lang {
  display: none;
}

@media (max-width: 767px) {
  .site-header__lang {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .site-header__lang .language-selector__select {
    min-height: 36px;
    max-width: 6.75rem;
    padding: 6px 26px 6px 10px;
    font-size: 11px;
    background-position: right 8px center;
  }

  .site-header[data-theme='dark'] .site-header__lang .language-selector__select {
    background-color: rgba(255, 255, 255, 0.1);
    color: #f5f5f7;
  }

  .site-header[data-theme='light'] .site-header__lang .language-selector__select {
    background-color: rgba(127, 127, 127, 0.12);
    color: var(--apple-text);
  }
}

.site-header__utilities {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--header-util-gap);
  flex-shrink: 0;
  justify-self: end;
  grid-column: 2;
  grid-row: 1;
  min-width: max-content;
  width: max-content;
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--header-util-gap);
  flex-shrink: 0;
}
.site-header__account-link {
  font-size: 13px;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.92;
}
.site-header__account-link:hover {
  opacity: 1;
  text-decoration: underline;
}
@media (max-width: 1439px) {
  .site-header__account-link { display: none; }
}

/* Very small phones: Buy CTA lives in drawer only */
@media (max-width: 479px) {
  .site-header__cta--mobile {
    display: none;
  }
}

/* Tablet (768–1023): larger logo, lang in bar, drawer nav */
@media (min-width: 768px) {
  :root {
    --header-bar: 52px;
    --header-pad-block: 12px;
    --header-inset-top: clamp(12px, 1.5vw, 16px);
    --header-pad-inline: clamp(20px, 3vw, 28px);
    --header-logo-height: 34px;
    --header-brand-max: 11.7rem;
    --header-util-gap: 8px;
  }

  .site-header__inner {
    column-gap: var(--space-md);
  }

  .site-header__logo {
    padding-inline-end: 12px;
  }

  .site-header__lang {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .site-header__cta--mobile {
    display: none;
  }

  .mobile-nav__panel {
    width: min(440px, 52vw);
  }

  .mobile-nav__link {
    font-size: 22px;
    min-height: 56px;
  }
}

/* Small desktop (1024–1439): drawer nav — i18n labels overflow narrow container */
@media (min-width: 1024px) and (max-width: 1439px) {
  :root {
    --header-bar: 52px;
    --header-pad-block: clamp(12px, 1.8vw, 16px);
    --header-inset-top: clamp(12px, 2vw, 20px);
    --header-logo-height: 40px;
    --header-util-gap: 10px;
  }

  .site-header__inner {
    max-width: min(1440px, calc(100vw - 2 * var(--header-pad-inline)));
  }
}

/* Desktop inline nav (1440+): brand | nav (1fr) | utilities */
@media (min-width: 1440px) {
  :root {
    --header-bar: 52px;
    --header-pad-block: clamp(12px, 1.8vw, 16px);
    --header-inset-top: clamp(12px, 2vw, 20px);
    --header-nav-font-size: 1rem;
    --header-logo-height: 40px;
    --header-util-gap: 10px;
    --header-util-min: 11.75rem;
    --header-brand-nav-gap: clamp(32px, 4vw, 72px);
    --header-nav-gap: clamp(12px, 1.6vw, 32px);
    --header-container: min(100%, calc(100vw - 2 * var(--header-pad-inline)));
  }

  .site-header__inner {
    grid-template-columns:
      max-content
      minmax(0, 1fr)
      minmax(var(--header-util-min), max-content);
    column-gap: var(--header-brand-nav-gap);
    align-items: center;
  }

  .site-header__brand {
    grid-column: 1;
    grid-row: 1;
    padding-inline-end: 0;
  }

  .site-header__logo {
    padding-inline-end: 0;
  }

  .site-nav {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: var(--header-nav-gap);
    width: 100%;
    min-width: 0;
    max-width: 100%;
    justify-self: stretch;
    padding: 0;
    margin: 0;
    overflow: hidden;
    position: relative;
    z-index: 0;
    isolation: isolate;
  }

  .site-header__utilities {
    grid-column: 3;
    grid-row: 1;
    gap: clamp(8px, 1vw, 14px);
    padding-inline-start: clamp(8px, 1.2vw, 16px);
    justify-self: end;
    flex-shrink: 0;
    min-width: var(--header-util-min);
    width: max-content;
    max-width: max-content;
  }

  .site-header__lang {
    display: flex;
    flex-shrink: 0;
    min-width: 0;
  }

  .site-header__lang .language-selector,
  .site-header__lang .language-selector__form {
    flex-shrink: 0;
    min-width: 0;
  }

  .site-header__menu-btn {
    display: none;
  }
}

/* Notebook (1440–1599): tighter inline nav for long i18n labels */
@media (min-width: 1440px) and (max-width: 1599px) {
  :root {
    --header-brand-nav-gap: clamp(20px, 2.5vw, 36px);
    --header-nav-gap: clamp(2px, 0.6vw, 8px);
    --header-nav-font-size: 0.8125rem;
    --header-util-min: 10.25rem;
    --header-pad-inline: clamp(16px, 2.5vw, 24px);
  }

  .site-nav__link {
    padding-inline: 4px;
    font-size: var(--header-nav-font-size);
  }

  .site-header__lang .language-selector__select {
    min-width: 4.75rem;
    max-width: 5.5rem;
    padding-inline: 8px 24px;
    font-size: 11px;
    background-position: right 8px center;
  }

  .site-header__cta--desktop {
    padding-inline: 12px;
    font-size: 13px;
  }
}

/* Wide desktop (1440+) */
@media (min-width: 1440px) {
  :root {
    --header-brand-nav-gap: clamp(48px, 5vw, 96px);
    --header-nav-gap: clamp(20px, 2.2vw, 40px);
    --header-nav-font-size: 1rem;
    --header-pad-inline: clamp(24px, 2.5vw, 28px);
    --header-logo-height: 48px;
    --header-bar: 56px;
    --header-util-min: 15rem;
    --header-container: min(100%, calc(100vw - 2 * var(--header-pad-inline)));
  }

  .site-nav__link {
    padding-inline: clamp(8px, 1vw, 14px);
    font-size: var(--header-nav-font-size);
  }

  .site-header__lang .language-selector__select {
    min-width: 5.5rem;
    max-width: 7rem;
  }
}

/* Large desktop / TV: cap sprawl, scale gaps proportionally */
@media (min-width: 1920px) {
  :root {
    --header-container: min(100%, 1680px);
    --header-brand-nav-gap: clamp(64px, 4vw, 120px);
    --header-nav-gap: clamp(28px, 2vw, 48px);
    --header-pad-inline: clamp(32px, 2.5vw, 56px);
    --header-util-min: 14rem;
  }
}

@media (min-width: 2560px) {
  :root {
    --header-container: min(100%, 1920px);
    --header-brand-nav-gap: clamp(80px, 3.5vw, 140px);
    --header-nav-gap: clamp(32px, 1.8vw, 56px);
  }
}

.site-header[data-theme='dark'] .language-selector__select {
  background-color: rgba(255, 255, 255, 0.1);
  color: #f5f5f7;
}

.site-header[data-theme='dark'] .language-selector__toggle {
  background: rgba(255, 255, 255, 0.12);
}

.site-header[data-theme='dark'] .language-selector__btn {
  color: rgba(255, 255, 255, 0.72);
}

.site-header[data-theme='dark'] .language-selector__btn.is-active {
  color: #f5f5f7;
}

.site-header[data-theme='light'] .language-selector__btn.is-active {
  background: #fff;
  color: #1d1d1f;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.language-selector__form {
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.language-selector__select {
  min-height: 36px;
  max-width: 100%;
  min-width: 5.5rem;
  padding: 6px 30px 6px 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(127, 127, 127, 0.12)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23666' d='M1 1l4 4 4-4'/%3E%3C/svg%3E")
    no-repeat right 12px center;
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.site-header[data-theme='dark'] .language-selector__select {
  background-color: rgba(255, 255, 255, 0.1);
  color: #f5f5f7;
}

.language-selector__noscript-btn {
  margin-top: 4px;
  font-size: 11px;
}

/* ===== Region (country) switcher — trigger + menu + Swiss submenu ===== */
/* Progressive enhancement: the enhanced button/menu appear only once JS marks
   the selector ready; without JS the <noscript> native <select> is shown. */
.language-selector--regions {
  position: relative;
  display: inline-flex;
}
.language-selector--regions .language-selector__trigger {
  display: none;
}
.language-selector--regions.is-ready .language-selector__trigger {
  display: inline-flex;
}

.language-selector__trigger {
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(127, 127, 127, 0.12);
  color: inherit;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
}
.language-selector__flag {
  font-size: 15px;
  line-height: 1;
}
.language-selector__chevron {
  margin-left: 1px;
  opacity: 0.65;
  transition: transform 0.18s ease;
}
.language-selector__trigger[aria-expanded='true'] .language-selector__chevron {
  transform: rotate(180deg);
}

.language-selector__menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 8px);
  right: 0;
  min-width: 224px;
  max-width: min(280px, 82vw);
  padding: 6px;
  border-radius: 14px;
  background: #14161c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}
.language-selector__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.language-selector__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
}
.language-selector__opt:hover,
.language-selector__opt:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}
.language-selector__opt-label {
  flex: 1 1 auto;
}
.language-selector__caret {
  flex: 0 0 auto;
  margin-left: auto;
  opacity: 0.55;
}
.language-selector__opt--lang {
  padding-left: 16px;
}
.language-selector__opt--back {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 600;
  gap: 8px;
  margin-bottom: 2px;
}
.language-selector__caret--back {
  margin-left: 0;
  opacity: 0.7;
}

/* Configure page (always dark) — match the dark pill treatment. */
body.template-configure .language-selector__trigger {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
}

/* Light header — flip the menu to a light surface for contrast. */
.site-header[data-theme='light'] .language-selector__menu {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}
.site-header[data-theme='light'] .language-selector__opt {
  color: #1d1d1f;
}
.site-header[data-theme='light'] .language-selector__opt:hover,
.site-header[data-theme='light'] .language-selector__opt:focus-visible {
  background: rgba(0, 0, 0, 0.06);
}
.site-header[data-theme='light'] .language-selector__opt--back {
  color: rgba(0, 0, 0, 0.5);
}

.language-selector__toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(127, 127, 127, 0.12);
}

.language-selector__btn {
  min-width: 44px;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.language-selector__btn.is-active,
.language-selector__btn:disabled {
  background: rgba(255, 255, 255, 0.92);
  color: #1d1d1f;
  cursor: default;
  opacity: 1;
}

.site-header[data-theme='dark'] .language-selector__btn.is-active,
.site-header[data-theme='dark'] .language-selector__btn:disabled {
  background: rgba(255, 255, 255, 0.14);
  color: #f5f5f7;
}

.mobile-nav__lang {
  flex-shrink: 0;
  padding: var(--space-sm) var(--space-md) var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav__lang .mobile-nav__group-label {
  margin-bottom: 10px;
}
.mobile-nav__lang .language-selector__toggle,
.mobile-nav__lang .language-selector__select {
  width: 100%;
  max-width: 100%;
}
.mobile-nav__lang .language-selector__toggle {
  justify-content: stretch;
}
.mobile-nav__lang .language-selector__btn {
  flex: 1;
  min-height: 44px;
  font-size: 13px;
}
.mobile-nav__lang .language-selector__toggle {
  background: rgba(255, 255, 255, 0.12);
}
.mobile-nav__lang .language-selector__btn {
  color: rgba(255, 255, 255, 0.72);
}
.mobile-nav__lang .language-selector__btn.is-active,
.mobile-nav__lang .language-selector__btn:disabled {
  background: rgba(255, 255, 255, 0.16);
  color: #f5f5f7;
}
@media (min-width: 1440px) {
  .mobile-nav__lang {
    display: none;
  }
}

.configure-nav__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
}

.configure-nav__tools {
  justify-self: end;
}

.site-header__icon {
  display: inline-flex;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  align-items: center;
  justify-content: center;
  color: inherit;
  position: relative;
  border-radius: 10px;
  transition: background 0.2s;
}
.site-header__icon svg {
  width: 20px;
  height: 20px;
}
.site-header__icon:hover {
  background: rgba(127, 127, 127, 0.15);
}

.site-header__cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  background: var(--apple-blue);
  color: #fff;
  border-radius: 999px;
}

.site-header[data-theme="dark"] .site-header__cart-count {
  background: var(--apple-blue-dark);
}

/* Hamburger: tablet/phone only (must stay after any desktop header block) */
.site-header__menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  padding: 10px;
  border-radius: 10px;
}
@media (max-width: 1439px) {
  .site-header__menu-btn {
    display: inline-flex;
  }
}
.site-header__menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 22px;
  height: 18px;
}
.site-header__menu-icon span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.site-header[data-theme="dark"] .site-header__menu-icon span { background: #fff; }
.site-header[data-theme="light"] .site-header__menu-icon span { background: var(--apple-text); }

.site-header__cta--mobile {
  display: inline-flex;
  font-size: 14px;
  padding: 11px 16px;
}
.site-header__cta--desktop {
  display: none;
  font-size: 14px;
  padding: 11px 18px;
}
@media (min-width: 1024px) {
  .site-header__cta--mobile { display: none; }
  .site-header__cta--desktop { display: inline-flex; }
}
/* Very small phones: the header bar only has room for logo, region flag, cart
   and menu. The Buy CTA lives in the drawer and (on the homepage) in the sticky
   bar. This must come after the generic .site-header__cta--mobile rule above,
   otherwise that rule wins and the CTA overlaps the logo. */
@media (max-width: 479px) {
  .site-header__cta--mobile { display: none; }
  .site-header__lang .language-selector__trigger {
    gap: 3px;
    padding: 6px 9px;
    min-width: 44px;
    justify-content: center;
  }
  .site-header__lang .language-selector__current { display: none; }
  .site-header__lang .language-selector__flag { font-size: 16px; }
  .site-header__utilities { min-width: 0; }
}
@media (min-width: 1440px) {
  .mobile-nav {
    display: none;
  }
  body.mobile-nav-open {
    overflow: auto;
  }
}

body.mobile-nav-open { overflow: hidden; }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  visibility: hidden;
}
.mobile-nav[data-open="true"] {
  pointer-events: auto;
  visibility: visible;
}
.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}
.mobile-nav[data-open="true"] .mobile-nav__backdrop { opacity: 1; }

.mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 400px);
  max-width: calc(100% - var(--safe-left));
  background: #1d1d1f;
  display: flex;
  flex-direction: column;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
  padding-bottom: var(--safe-bottom);
  box-sizing: border-box;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.25);
}
.mobile-nav[data-open="true"] .mobile-nav__panel {
  transform: translateX(0);
}

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-shrink: 0;
  padding-top: calc(var(--header-inset-top) + var(--safe-top) + var(--header-pad-block));
  padding-bottom: var(--space-md);
  padding-left: var(--space-md);
  padding-right: var(--space-md);
  min-height: calc(var(--header-bar) + var(--header-pad-block));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-nav__brand {
  min-width: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: content-box;
  padding: max(0px, calc((48px - var(--header-logo-height)) / 2)) 8px
    max(0px, calc((48px - var(--header-logo-height)) / 2)) 0;
  line-height: 1;
  max-width: none;
}
.mobile-nav__brand-img {
  display: block;
  flex-shrink: 0;
  width: var(--header-logo-width);
  height: var(--header-logo-height);
  max-width: none;
  object-fit: contain;
  object-position: left center;
}
.mobile-nav__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--apple-text-on-dark);
}
.mobile-nav__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  color: var(--apple-text-on-dark);
  border-radius: 8px;
}
.mobile-nav__close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.mobile-nav__links {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-md) var(--space-md) var(--space-sm);
}
.mobile-nav__group-label {
  margin: 24px 12px 8px;
  color: var(--apple-text-muted-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mobile-nav__link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 12px;
  color: var(--apple-text-on-dark);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  text-align: left;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav__link:hover,
.mobile-nav__link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.mobile-nav__cart-link {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

.mobile-nav__footer {
  padding: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-nav__buy {
  min-height: 52px;
  font-size: 17px;
}

/* Hero styles moved to assets/hero.css */


/* ---- Section backgrounds ---- */
.bg-white { background: #fff; }
.bg-gray { background: var(--apple-bg-gray); }
.bg-black { background: #000; color: #fff; }
.headline-subsection { font-size: 21px; font-weight: 600; line-height: 1.19; }

.section-image {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: clamp(32px, 5vw, 44px);
  aspect-ratio: 980 / 550;
  max-width: 100%;
  background: #0a0a0b;
}
.section-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-image--product-studio {
  aspect-ratio: 1024 / 682;
  max-width: 640px;
  margin-inline: auto;
  background: transparent;
}

.section-image--product-studio img {
  object-fit: contain;
}

.steps-section__image {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.steps-section__image-frame {
  width: min(100%, 400px);
  aspect-ratio: 5 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps-section__image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pillar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--apple-bg-card-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-tile__media {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 4 / 3;
  background: var(--apple-bg-gray);
}

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

/* Icon fallback when no tile image is set — keeps the tile rhythm without a photo. */
.feature-tile__media--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120% 120% at 50% 14%, rgba(0,113,227,0.12), rgba(0,113,227,0.04) 55%, transparent 100%);
}
.feature-tile__icon {
  width: clamp(56px, 24%, 92px);
  height: auto;
  color: var(--apple-blue);
}

.feature-tile__media--persona {
  margin-bottom: 20px;
}

.step-num {
  font-size: 48px;
  font-weight: 600;
  color: var(--apple-blue);
  line-height: 1;
  margin-bottom: 16px;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(24px, 5vw, 48px);
  margin-top: 32px;
}
.stat-item__value {
  font-size: clamp(28px, 4vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--apple-text);
  font-variant-numeric: tabular-nums;
}

.plan-price [data-countup],
.stat-item__value[data-countup] {
  font-variant-numeric: tabular-nums;
}
.stat-item__label {
  font-size: 14px;
  color: var(--apple-text-muted);
  margin-top: 8px;
}

.stats-section .stat-item__value { font-size: clamp(36px, 6vw, 64px); }

.stats-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (min-width: 768px) { .stats-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 32px;
  margin-top: 40px;
  font-size: 12px;
  color: var(--apple-text-muted);
}
@media (min-width: 768px) { .trust-badges { font-size: 14px; gap: 48px; } }
.trust-badges--single {
  gap: 0;
  text-align: center;
}
.swiss-made-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--apple-text);
  font-weight: 600;
}
.swiss-made-badge__icon {
  flex: 0 0 auto;
  box-shadow: 0 6px 18px rgba(225, 29, 46, 0.2);
}
.trust-badges__item {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 4px 0;
  text-align: center;
}
.trust-proof-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 860px;
  margin: 32px auto 0;
}
@media (min-width: 700px) {
  .trust-proof-row {
    grid-template-columns: repeat(4, 1fr);
  }
}
.trust-proof-item {
  padding: 16px;
  border: 1px solid rgba(210, 210, 215, 0.78);
  border-radius: 18px;
  background: #fff;
  text-align: left;
  transition: transform 0.22s var(--ease-out), border-color 0.22s var(--ease-out);
}
.trust-proof-item:hover {
  border-color: rgba(0, 113, 227, 0.28);
  transform: translateY(-2px);
}
.trust-proof-item__label {
  display: block;
  margin-bottom: 6px;
  color: var(--apple-text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.trust-proof-item strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
}

.stars { display: flex; gap: 2px; margin-bottom: 20px; justify-content: center; }
@media (min-width: 768px) { .stars { justify-content: flex-start; } }

.proof-section__heading {
  margin-bottom: 56px;
}

.proof-quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  overflow: hidden;
}

.proof-quote-card__mark {
  position: absolute;
  top: 8px;
  left: 18px;
  font-size: clamp(52px, 9vw, 76px);
  line-height: 1;
  font-weight: 600;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--apple-blue);
  opacity: 0.2;
  pointer-events: none;
  user-select: none;
}

.proof-quote-card .proof-quote-card__stars {
  justify-content: flex-start;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.proof-quote-card__quote {
  margin: 0 0 20px;
  position: relative;
  z-index: 1;
}

.proof-quote-card__quote p {
  margin: 0;
  padding-top: 8px;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  color: var(--apple-text);
}

.proof-quote-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.proof-quote-card__avatar {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.14) 0%, rgba(41, 151, 255, 0.08) 100%);
  color: var(--apple-blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.proof-quote-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.proof-quote-card__name {
  font-size: 14px;
  font-weight: 600;
  font-style: normal;
  color: var(--apple-text);
}

.proof-quote-card__location {
  font-size: 12px;
  line-height: 1.35;
  color: var(--apple-text-muted);
}

.proof-summary-card {
  max-width: 720px;
  margin: 28px auto 0;
  padding: 22px;
  border: 1px solid rgba(210, 210, 215, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}
.proof-summary-card__eyebrow {
  margin-bottom: 8px;
  color: var(--apple-blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.proof-summary-card p:last-child {
  max-width: 560px;
  margin-inline: auto;
  color: var(--apple-text-muted);
}

.pricing-box-img {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.pricing-box-img img { max-width: 360px; width: 100%; }

.pricing-plans {
  max-width: 520px;
  margin-inline: auto;
}
.pricing-plans--single {
  display: grid;
  grid-template-columns: 1fr;
}
  max-width: 760px;
  margin-inline: auto;
}

.plan-dark {
  background: var(--apple-bg-card-dark);
  color: #fff;
}
.plan-dark .text-muted { color: var(--apple-text-muted-dark); }
.plan-label { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.plan-label--blue { color: var(--apple-blue); }
.plan-label--light { color: var(--apple-blue-dark); }
.plan-card__title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.plan-card__tagline {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.35;
}
.plan-price { font-size: 32px; font-weight: 600; margin-bottom: 24px; letter-spacing: -0.02em; }
.plan-price span { font-size: 14px; font-weight: 400; color: var(--apple-text-muted-dark); }
.plan-features { list-style: none; margin: 0 0 32px; padding: 0; flex: 1; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.4;
  padding: 7px 0;
}
.plan-features__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.1);
  color: var(--apple-blue);
}
.plan-dark .plan-features__icon {
  background: rgba(41, 151, 255, 0.16);
  color: var(--apple-blue-dark);
}
.plan-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  border: 1px solid transparent;
  transition:
    transform 0.25s var(--ease-out, ease-out),
    box-shadow 0.25s var(--ease-out, ease-out),
    border-color 0.25s var(--ease-out, ease-out);
}
.plan-card--featured {
  border-color: rgba(0, 113, 227, 0.22);
  box-shadow: 0 4px 28px rgba(0, 113, 227, 0.1);
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
}
.plan-card--featured:hover {
  border-color: rgba(0, 113, 227, 0.32);
  box-shadow: 0 18px 52px rgba(0, 113, 227, 0.16);
}
.plan-dark.plan-card:hover {
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.42);
}
.plan-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  background: var(--apple-blue);
}

/* ---- App showcase (lp-app) ---- */
.lp-app {
  position: relative;
  overflow: hidden;
}

.lp-app.bg-black {
  background: linear-gradient(180deg, #0a0a0c 0%, #000 52%, #000 100%) !important;
}

.lp-app.bg-gray {
  background: var(--apple-bg-gray, #f5f5f7) !important;
}

.lp-app.bg-gray .lp-app__atmosphere {
  opacity: 0.35;
}

.lp-app__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 38% at 22% 46%, rgba(41, 151, 255, 0.16) 0%, transparent 72%),
    radial-gradient(ellipse 42% 38% at 78% 48%, rgba(41, 151, 255, 0.12) 0%, transparent 72%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(0, 113, 227, 0.08) 0%, transparent 65%);
}

.lp-app > .apple-container {
  position: relative;
  z-index: 1;
}

.lp-app__header {
  margin-bottom: clamp(32px, 6vw, 56px);
}

.lp-app__heading {
  margin-bottom: 16px;
}

.lp-app__subheading {
  max-width: 600px;
  margin-inline: auto;
}

.lp-app__tile-title {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 8px;
}

.lp-app__showcase {
  margin-bottom: clamp(32px, 5vw, 48px);
}

.app-showcase__track {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: end;
  justify-items: center;
}

@media (min-width: 768px) {
  .app-showcase__track:not(.app-showcase__track--multi) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 48px);
    max-width: 820px;
    margin-inline: auto;
  }
}

.app-showcase__track--multi {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad-inline);
  gap: clamp(16px, 3vw, 32px);
  padding-inline: var(--pad-inline);
  margin-inline: calc(var(--pad-inline) * -1);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  align-items: flex-start;
  justify-content: flex-start;
}

.app-showcase__track--multi::-webkit-scrollbar {
  display: none;
}

.app-showcase__track--multi .app-showcase__phone {
  flex: 0 0 min(78vw, 260px);
  scroll-snap-align: center;
  width: min(78vw, 260px);
}

@media (min-width: 768px) {
  .app-showcase__track--multi .app-showcase__phone {
    flex: 0 0 min(22vw, 220px);
    width: min(22vw, 220px);
  }

  .app-showcase__track--multi .app-showcase__caption {
    font-size: 13px;
    max-width: 20ch;
    min-height: 3.6em;
  }
}

.lp-app[data-lp-app-animate] .app-showcase__track--multi .app-showcase__phone--right {
  animation-delay: 0s;
}

.app-showcase__phone {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  width: min(100%, 320px);
  position: relative;
  opacity: 1;
  transform: translate3d(0, var(--parallax-y, 0), 0);
  transition: transform 0.15s linear;
}

/* Phones use float/parallax motion — exclude from scroll-reveal opacity */
.motion-ready .section-apple .app-showcase__phone.reveal-item {
  opacity: 1;
  transform: translate3d(0, var(--parallax-y, 0), 0);
  animation: none;
}

.app-showcase__phone::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 0;
  width: 155%;
  height: 68%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(41, 151, 255, 0.22) 0%, transparent 72%);
}

.app-showcase__phone > * {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .app-showcase__phone {
    width: min(100%, 280px);
  }

  .lp-app[data-lp-app-animate] .app-showcase__phone--left {
    transform: perspective(900px) rotateY(-10deg) rotateZ(-4deg) translate3d(0, var(--parallax-y, 0), 0);
    animation: appShowcaseFloatLeft 6s ease-in-out infinite;
  }

  .lp-app[data-lp-app-animate] .app-showcase__phone--right {
    transform: perspective(900px) rotateY(6deg) rotateZ(2deg) translate3d(0, var(--parallax-y, 0), 0);
    animation: appShowcaseFloatRight 6.5s ease-in-out 0.4s infinite;
  }

  .lp-app[data-lp-app-animate] .app-showcase__track--multi .app-showcase__phone--left,
  .lp-app[data-lp-app-animate] .app-showcase__track--multi .app-showcase__phone--right,
  .lp-app[data-lp-app-animate] .app-showcase__track--multi .app-showcase__phone--center {
    transform: translate3d(0, var(--parallax-y, 0), 0);
    animation: appShowcaseFloatMobile 5.5s ease-in-out infinite;
  }
}

.app-showcase__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 473 / 1024;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  flex-shrink: 0;
}

.app-showcase__image {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0;
  object-fit: contain;
  object-position: top center;
}

.app-showcase__caption {
  font-size: 14px;
  line-height: 1.35;
  color: var(--apple-text-muted-dark);
  text-align: center;
  max-width: 22ch;
  min-height: 3.4em;
  margin: 0;
}

.app-showcase__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.app-showcase__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  padding: 12px;
  border-radius: 999px;
  color: var(--apple-text-on-dark);
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.12);
  font-size: 1.5rem;
  line-height: 1;
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.app-showcase__nav:hover {
  background: rgb(255 255 255 / 0.14);
  border-color: rgb(255 255 255 / 0.2);
}

.app-showcase__nav:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.app-showcase__dots {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-showcase__dot {
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
}

.app-showcase__dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.28);
  transition: transform 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.app-showcase__dot--active::after,
.app-showcase__dot[aria-selected='true']::after {
  background: var(--apple-blue-dark);
  transform: scale(1.25);
}

@media (max-width: 767px) {
  .app-showcase__track {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pad-inline);
    gap: var(--space-md);
    padding-inline: var(--pad-inline);
    margin-inline: calc(var(--pad-inline) * -1);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .app-showcase__track::-webkit-scrollbar {
    display: none;
  }

  .app-showcase__phone {
    flex: 0 0 min(78vw, 300px);
    scroll-snap-align: center;
    width: min(78vw, 300px);
  }

  .lp-app[data-lp-app-animate] .app-showcase__phone--left,
  .lp-app[data-lp-app-animate] .app-showcase__phone--right {
    transform: translate3d(0, var(--parallax-y, 0), 0);
    animation: appShowcaseFloatMobile 5.5s ease-in-out infinite;
  }

  .lp-app[data-lp-app-animate] .app-showcase__phone--right {
    animation-delay: 0.35s;
  }

  .lp-app[data-lp-app-animate] .app-showcase__track--multi .app-showcase__phone--right {
    animation-delay: 0s;
  }
}

@keyframes appShowcaseFloatLeft {
  0%, 100% {
    opacity: 1;
    transform: perspective(900px) rotateY(-10deg) rotateZ(-4deg) translate3d(0, var(--parallax-y, 0), 0);
  }
  50% {
    opacity: 1;
    transform: perspective(900px) rotateY(-10deg) rotateZ(-4deg) translate3d(0, calc(var(--parallax-y, 0px) - 10px), 0);
  }
}

@keyframes appShowcaseFloatRight {
  0%, 100% {
    opacity: 1;
    transform: perspective(900px) rotateY(6deg) rotateZ(2deg) translate3d(0, var(--parallax-y, 0), 0);
  }
  50% {
    opacity: 1;
    transform: perspective(900px) rotateY(6deg) rotateZ(2deg) translate3d(0, calc(var(--parallax-y, 0px) - 8px), 0);
  }
}

@keyframes appShowcaseFloatMobile {
  0%, 100% {
    opacity: 1;
    transform: translate3d(0, var(--parallax-y, 0), 0);
  }
  50% {
    opacity: 1;
    transform: translate3d(0, calc(var(--parallax-y, 0px) - 6px), 0);
  }
}

.cta-white-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-min);
  font-size: 17px;
  font-weight: 600;
  /* Background is always white, so the label must always be dark — never the
     themeable --apple-text token, which nightfall flips to near-white and
     makes this button's text invisible. */
  background: #fff;
  color: #1d1d1f;
  padding: 12px 28px;
  border-radius: 980px;
  transition: opacity 0.3s var(--ease-out), transform 0.2s;
}
.cta-white-btn:hover { opacity: 0.92; }
.cta-white-btn:active { transform: scale(0.98); }
.cta-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-min);
  font-size: 17px;
  color: var(--apple-blue-dark);
  padding: 12px 24px;
  border-radius: 980px;
  border: 1px solid #6e6e73;
  transition: border-color 0.3s var(--ease-out);
}
.cta-outline-btn:hover { border-color: #a1a1a6; }

/* ---- Footer ---- */
.site-footer-apple {
  background: var(--apple-bg-gray);
  padding-bottom: var(--safe-bottom);
}
.site-footer-apple__note {
  padding: 17px 0;
  border-bottom: 1px solid var(--apple-border);
  font-size: 12px;
  color: var(--apple-text-muted);
  line-height: 1.33;
}
.site-footer-apple__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--apple-border);
}
@media (min-width: 640px) { .site-footer-apple__grid { grid-template-columns: repeat(4, 1fr); } }
.site-footer-apple__grid h3 {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.site-footer-apple__grid ul { list-style: none; margin: 0; padding: 0; }
.site-footer-apple__grid li { margin-bottom: 8px; }
.site-footer-apple__grid a {
  font-size: 12px;
  color: #515154;
  transition: color 0.2s;
  display: inline-block;
  padding: 4px 0;
  min-height: var(--touch-min);
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
}
.site-footer-apple__grid a:hover { color: var(--apple-text); }
.site-footer-apple__bottom {
  padding: 17px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--apple-text-muted);
}
.site-footer-apple__legal { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer-apple__legal a { color: #424245; }
.site-footer-apple__legal a:hover { color: var(--apple-text); }

/* ---- Page motion (theme.js) ---- */
@keyframes lurafiFadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes lurafiFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lurafiScaleIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Sections — scroll-triggered stagger */
.motion-ready .section-apple .reveal-item {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  will-change: opacity, transform;
}

.section-apple--visible .reveal-item {
  animation: lurafiFadeUp 0.7s var(--ease-out) both;
  animation-delay: var(--reveal-delay, 0s);
}

.section-apple--visible .section-image.reveal-item {
  animation-name: lurafiScaleIn;
  animation-duration: 0.85s;
}

/* Mobile — lighter motion, earlier triggers */
@media (max-width: 767px) {
  .motion-ready .section-apple .reveal-item {
    transform: translate3d(0, 14px, 0);
  }
  .section-apple--visible .reveal-item {
    animation-duration: 0.62s;
  }
  .configure-page--animate .configure-gallery {
    animation-duration: 0.75s;
  }
  .mobile-nav[data-open="true"] .mobile-nav__link {
    animation: lurafiFadeUp 0.45s var(--ease-out) both;
  }
  .mobile-nav[data-open="true"] .mobile-nav__link:nth-child(1) { animation-delay: 0.04s; }
  .mobile-nav[data-open="true"] .mobile-nav__link:nth-child(2) { animation-delay: 0.08s; }
  .mobile-nav[data-open="true"] .mobile-nav__link:nth-child(3) { animation-delay: 0.12s; }
  .mobile-nav[data-open="true"] .mobile-nav__link:nth-child(4) { animation-delay: 0.16s; }
  .mobile-nav[data-open="true"] .mobile-nav__link:nth-child(5) { animation-delay: 0.2s; }
  .mobile-nav[data-open="true"] .mobile-nav__link:nth-child(6) { animation-delay: 0.24s; }
  .mobile-nav[data-open="true"] .mobile-nav__footer {
    animation: lurafiFadeUp 0.5s var(--ease-out) 0.28s both;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .motion-ready .section-apple .reveal-item {
    transform: translate3d(0, 18px, 0);
  }
  .section-apple--visible .reveal-item {
    animation-duration: 0.66s;
  }
}

/* Configure flow */
.motion-ready .configure-page .configure-header,
.motion-ready .configure-page .configure-stepper-wrap,
.motion-ready .configure-page .configure-gallery,
.motion-ready .configure-page .configure-controls .configure-section,
.motion-ready .configure-page .configure-summary {
  opacity: 0;
}

.configure-page--animate .configure-header {
  animation: lurafiFadeUp 0.7s var(--ease-out) 0.05s both;
}
.configure-page--animate .configure-stepper-wrap {
  animation: lurafiFadeIn 0.5s var(--ease-out) 0.12s both;
}
.configure-page--animate .configure-gallery {
  animation: lurafiScaleIn 0.85s var(--ease-out) 0.18s both;
}
.configure-page--animate .configure-controls .configure-section:nth-child(1) {
  animation: lurafiFadeUp 0.65s var(--ease-out) 0.26s both;
}
.configure-page--animate .configure-controls .configure-section:nth-child(2) {
  animation: lurafiFadeUp 0.65s var(--ease-out) 0.34s both;
}
.configure-page--animate .configure-controls .configure-section:nth-child(3) {
  animation: lurafiFadeUp 0.65s var(--ease-out) 0.42s both;
}
.configure-page--animate .configure-controls .configure-section:nth-child(4) {
  animation: lurafiFadeUp 0.65s var(--ease-out) 0.5s both;
}
.configure-page--animate .configure-summary {
  animation: lurafiFadeUp 0.7s var(--ease-out) 0.58s both;
}

/* Commerce / inner pages */
.page-content--enter > * {
  animation: lurafiFadeUp 0.75s var(--ease-out) 0.08s both;
}
/* The cart section carries a position:fixed checkout bar (.cart-sticky). A
   transform on the section wrapper would pin that bar to the section instead
   of the viewport, so the cart page fades in without the translate. */
.template-cart .page-content--enter > * {
  animation-name: lurafiFadeIn;
}

/* Legacy reveal (unused by theme.js; kept for compatibility) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.hidden { display: none !important; }

/* ---- Commerce pages ---- */
.product-page, .collection-page, .cart-page, .blog-page, .article-page, .form-stack {
  padding-top: calc(var(--header-offset) + 40px);
  padding-bottom: var(--pad-page-bottom);
}
.product-page__grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 900px) {
  .product-page__grid { grid-template-columns: 1.05fr 1fr; align-items: start; gap: 64px; }
  /* Keep the photos beside the long description instead of leaving a blank column. */
  .product-page__gallery { position: sticky; top: calc(var(--header-offset, 72px) + 24px); }
}
@media (max-width: 899px) {
  .product-page__grid {
    gap: 32px;
  }
  .product-page__info {
    order: -1;
  }
  .product-page__gallery {
    order: 2;
  }
}
.product-page__main-media {
  border-radius: 20px;
  overflow: hidden;
  background: var(--apple-bg-gray);
}
.product-page__main-media img,
.product-page__video {
  width: 100%;
  border-radius: 20px;
}
.product-page__thumbs {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.product-page__thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: none;
}
.product-page__thumb.is-active { border-color: var(--apple-blue); }
.product-page__thumb img { width: 64px; height: 64px; object-fit: cover; display: block; }
.product-page__placeholder {
  aspect-ratio: 1;
  background: var(--apple-bg-gray);
  border-radius: 20px;
}
@media (max-width: 899px) {
  .product-page__placeholder {
    aspect-ratio: 16 / 10;
  }
}
.product-page__title { margin-bottom: 12px; }
.product-page__price {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
}
.product-page__compare {
  font-size: 17px;
  font-weight: 400;
  color: var(--apple-text-muted);
  margin-left: 8px;
}
.product-page__option {
  border: 0;
  margin: 0 0 20px;
  padding: 0;
}
.product-page__option legend {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}
.product-page__option-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-page__option-label {
  display: inline-flex;
  cursor: pointer;
}
.product-page__option-label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.product-page__option-label span {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 980px;
  border: 1px solid var(--apple-border);
  font-size: 14px;
  transition: all 0.2s;
}
.product-page__option-label.is-selected span {
  border-color: var(--apple-blue);
  background: var(--apple-blue);
  color: #fff;
}
.product-page__option-label.is-disabled span {
  opacity: 0.35;
  cursor: not-allowed;
}
.product-page__qty { margin-bottom: 20px; }
.product-page__qty label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.product-page__qty-input {
  width: 88px;
  min-height: var(--touch-min);
  padding: 10px 12px;
  border: 1px solid var(--apple-border);
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
}
.product-page__variants-select select {
  min-height: var(--touch-min);
  font-size: 16px;
}
.product-page__thumb {
  min-width: var(--touch-min);
  min-height: var(--touch-min);
}
.product-page__submit { margin-bottom: 12px; }
.product-page__shipping { margin-bottom: 32px; }
.product-page__assurance {
  margin: 14px 0 10px;
}
.product-page__description {
  padding-top: 32px;
  border-top: 1px solid var(--apple-border);
  color: var(--apple-text-muted);
}
.product-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.product-card__media { aspect-ratio: 4/5; border-radius: 20px; overflow: hidden; background: var(--apple-bg-gray); margin-bottom: 12px; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__title { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.product-card__price { font-size: 14px; color: var(--apple-text-muted); }

.cart-page__items { display: flex; flex-direction: column; gap: 0; }
.cart-line {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-sm);
  align-items: start;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--apple-border);
}
@media (min-width: 600px) {
  .cart-line {
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
  }
}
.cart-line__total {
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  grid-column: 2;
  justify-self: start;
  margin-top: 4px;
}
@media (min-width: 600px) {
  .cart-line__total {
    grid-column: 3; /* auto + a fixed row gets placed before the image */
    grid-row: 1;
    justify-self: end;
    margin-top: 0;
  }
}
.cart-line__image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
}
.cart-line__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--apple-text);
  text-decoration: none;
}
.cart-line__title:hover { color: var(--apple-blue); }
.cart-line__variant {
  font-size: 14px;
  color: var(--apple-text-muted);
  margin: 4px 0 12px;
}
.collection-page__header { margin-bottom: 40px; }
.collection-page__header .eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apple-blue);
  margin-bottom: 8px;
}

.rte > * + * { margin-top: 1em; }

/* ---- Configure / purchase page ---- */
.template-configure .site-header { display: none; }
.configure-page {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 113, 227, 0.06), transparent 55%),
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
  padding-bottom: var(--pad-page-bottom);
}
.configure-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: var(--header-offset);
  padding-top: var(--safe-top);
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
  box-sizing: border-box;
  background: rgba(251, 251, 253, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(210, 210, 215, 0.55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.configure-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  min-height: var(--header-bar);
  max-width: var(--apple-container);
  margin-inline: auto;
  width: 100%;
  padding-left: clamp(16px, 4vw, 22px);
  padding-right: clamp(16px, 4vw, 22px);
}
@media (max-width: 640px) {
  .configure-nav__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      'back title cart'
      'tools tools tools';
    align-items: center;
  }
  .configure-nav__back { grid-area: back; }
  .configure-nav__title {
    grid-area: title;
    justify-self: center;
    text-align: center;
    font-size: 11px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .configure-nav__cart { grid-area: cart; justify-self: end; }
  .configure-nav__tools {
    grid-area: tools;
    justify-self: stretch;
    width: 100%;
  }
  .configure-nav__tools .language-selector__form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }
  .configure-nav__tools .language-selector__select {
    flex: 1 1 8rem;
    min-width: 0;
    max-width: none;
  }
}
.configure-nav__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--apple-blue);
}
.configure-nav__back:hover { text-decoration: underline; }
.configure-nav__title { font-size: 12px; font-weight: 500; color: var(--apple-text-muted); }

.configure-stepper-wrap {
  padding-top: calc(var(--header-offset) + 16px);
  padding-bottom: 4px;
}
.configure-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.configure-stepper__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--apple-text-muted);
}
.configure-stepper__item.is-active {
  color: var(--apple-text);
  font-weight: 600;
}
.configure-stepper__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(210, 210, 215, 0.9);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.configure-stepper__item.is-active .configure-stepper__num {
  border-color: var(--apple-blue);
  background: var(--apple-blue);
  color: #fff;
}
.configure-stepper__connector {
  width: clamp(32px, 8vw, 56px);
  height: 2px;
  margin: 0 12px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--apple-blue) 0%, rgba(210, 210, 215, 0.8) 100%);
  opacity: 0.35;
}
.configure-stepper__item.is-active + .configure-stepper__connector {
  opacity: 1;
}

.configure-page__inner { padding-top: 20px; }
.configure-header {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 52px);
}
.configure-header__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apple-blue);
  margin-bottom: 10px;
}
.configure-header__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.06;
}
.configure-header__lede {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--apple-text-muted);
  margin-top: 14px;
  max-width: 34rem;
  margin-inline: auto;
  line-height: 1.45;
}

.configure-grid {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}
@media (min-width: 900px) {
  .configure-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 5vw, 64px);
    align-items: start;
  }
  .configure-gallery { position: sticky; top: calc(var(--header-offset) + 24px); }
  /* Keep the product image compact so the page fits without a tall left column. */
  .configure-gallery__well { max-width: 400px; margin-inline: auto; }
  .configure-checkout-panel {
    position: sticky;
    top: calc(var(--header-offset) + 24px);
  }
}

.configure-gallery__well {
  aspect-ratio: 1;
  background: linear-gradient(165deg, #ffffff 0%, #f5f5f7 100%);
  border: 1px solid rgba(210, 210, 215, 0.5);
  border-radius: clamp(24px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 520px;
  margin-inline: auto;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 24px 48px rgba(0, 0, 0, 0.06);
}
.configure-gallery__glow {
  position: absolute;
  inset: 10% 15% 20%;
  background: radial-gradient(ellipse at 50% 60%, rgba(0, 113, 227, 0.08), transparent 70%);
  pointer-events: none;
}
.configure-gallery__img {
  position: relative;
  z-index: 1;
  width: min(88%, 460px);
  height: auto;
  max-height: 78%;
  object-fit: contain;
  transform: translateY(-2%);
  transition: opacity 0.28s ease, transform 0.35s var(--ease-out);
}
.configure-page--ready .configure-gallery__img {
  transform: translateY(-2%) scale(1);
}
.configure-gallery__chip {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.82);
  color: #f5f5f7;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.configure-gallery__chip-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}
@media (min-width: 768px) and (max-width: 899px) {
  .configure-gallery__well { max-width: min(460px, 72vw); }
}

.configure-controls {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 520px;
}
@media (min-width: 900px) {
  .configure-controls { margin-inline: auto 0; max-width: 100%; }
}

.configure-section {
  margin-bottom: 28px;
  padding: 22px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(210, 210, 215, 0.55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}
.configure-section--compact { padding-bottom: 18px; }
.configure-section--features {
  background: rgba(255, 255, 255, 0.5);
  border-style: dashed;
}
.configure-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--apple-text-muted-dark);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 14px;
}
.configure-label--inline { margin-bottom: 8px; display: block; }

.configure-swatches { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.configure-swatch {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--apple-border);
  padding: 4px;
  cursor: pointer;
  transition: box-shadow 0.2s var(--ease-out), transform 0.2s;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0) 34%),
    var(--swatch-color, #8e8e93);
  background-clip: content-box;
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px rgba(0, 0, 0, 0.06);
}
.configure-swatch:hover { transform: scale(1.06); }
.configure-swatch--photo {
  width: 72px;
  height: 72px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.configure-swatch--photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}
.configure-swatch[data-color-key="white"] {
  border-color: #c8c8cc;
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px rgba(0, 0, 0, 0.12);
}
.configure-swatch.is-selected {
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px rgba(0, 0, 0, 0.06), 0 0 0 2px #fff, 0 0 0 4px var(--apple-blue);
  transform: scale(1.08);
}
.configure-swatch[data-color-key="white"].is-selected {
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px rgba(0, 0, 0, 0.12), 0 0 0 2px #fff, 0 0 0 4px var(--apple-blue);
}
.configure-swatch:focus-visible {
  outline: 2px solid var(--apple-blue);
  outline-offset: 3px;
}

/* Optional paid front covers */
.configure-covers__note {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--apple-text-muted);
}
.configure-covers__note--sub {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--apple-text-muted);
  opacity: 0.85;
}
.configure-covers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 480px) {
  .configure-covers__grid { grid-template-columns: repeat(2, 1fr); }
}
.configure-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 8px;
  border: 1.5px solid var(--apple-border);
  border-radius: 14px;
  background: #fff;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.configure-cover.is-selected {
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}
.configure-cover.is-soon { opacity: 0.55; }
.configure-cover__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: none;
}
.configure-cover__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.configure-cover__name { font-size: 13px; font-weight: 600; color: var(--apple-text); }
.configure-cover__price { font-size: 11px; color: var(--apple-text-muted); }
.configure-cover__qty {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 2px;
  border: 1px solid var(--apple-border);
  border-radius: 999px;
  padding: 2px;
}
.configure-cover__qty-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: var(--apple-bg-gray, #f5f5f7);
  color: var(--apple-text);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s;
}
.configure-cover__qty-btn:hover { background: #e8e8ed; }
.configure-cover__qty-btn:focus-visible { outline: 2px solid var(--apple-blue); outline-offset: 2px; }
.configure-cover__qty-val {
  min-width: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--apple-text);
  font-variant-numeric: tabular-nums;
}
.configure-color-text {
  font-size: 14px;
  color: var(--apple-text-muted);
  margin: 0;
}
.configure-color-text strong { color: var(--apple-text); font-weight: 600; }

.configure-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 520px) {
  .configure-plans { grid-template-columns: 1fr; }
}
.configure-plan-card {
  position: relative;
  text-align: left;
  padding: 18px 16px 16px 44px;
  min-height: var(--touch-min);
  border-radius: 18px;
  border: 2px solid rgba(210, 210, 215, 0.85);
  background: #fff;
  transition: border-color 0.2s var(--ease-out), background 0.2s, box-shadow 0.2s;
  cursor: pointer;
  width: 100%;
}
.configure-plan-card:hover:not(:disabled) {
  border-color: rgba(0, 113, 227, 0.45);
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.08);
}
.configure-plan-card.is-selected {
  border-color: var(--apple-blue);
  background: linear-gradient(180deg, rgba(0, 113, 227, 0.06) 0%, #fff 100%);
  box-shadow: 0 12px 28px rgba(0, 113, 227, 0.12);
}
.configure-plan-card:disabled { opacity: 0.5; cursor: not-allowed; }
.configure-plan-card__radio {
  position: absolute;
  left: 16px;
  top: 22px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(210, 210, 215, 0.95);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.configure-plan-card__radio::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--apple-blue);
  transform: scale(0);
  transition: transform 0.2s var(--ease-out);
}
.configure-plan-card.is-selected .configure-plan-card__radio {
  border-color: var(--apple-blue);
}
.configure-plan-card.is-selected .configure-plan-card__radio::after {
  transform: scale(1);
}
.configure-plan-card__badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(29, 29, 31, 0.08);
  color: var(--apple-text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.configure-plan-card__badge--popular {
  background: rgba(0, 113, 227, 0.12);
  color: var(--apple-blue);
}
.configure-plan-card__title { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.configure-plan-card__sub { font-size: 12px; color: var(--apple-text-muted); margin-bottom: 10px; line-height: 1.35; }
.configure-plan-card__price { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.configure-plan-card__price span { font-size: 13px; font-weight: 500; color: var(--apple-text-muted); }

.configure-select,
.configure-nav__tools .language-selector__select {
  width: 100%;
  padding: 12px 40px 12px 14px;
  border: 1px solid rgba(210, 210, 215, 0.9);
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236e6e73' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.configure-select:focus-visible {
  outline: none;
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.2);
}
.configure-selling-plan { margin-top: 14px; }

.configure-qty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(210, 210, 215, 0.85);
  background: #fff;
}
.configure-qty__btn {
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.configure-qty__btn:hover {
  background: rgba(0, 113, 227, 0.08);
}
.configure-qty__value {
  font-size: 20px;
  font-weight: 600;
  min-width: 36px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.configure-qty__hint { font-size: 12px; color: var(--apple-text-muted); margin-top: 10px; line-height: 1.4; }

.configure-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.configure-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.4;
}
.configure-feature__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.1);
  color: var(--apple-blue);
}
.configure-feature__text { flex: 1; color: var(--apple-text); }

.configure-summary,
.configure-checkout-panel {
  margin-top: 8px;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}
.configure-checkout-panel {
  padding: 24px 22px;
  border-radius: 24px;
  background: linear-gradient(165deg, #ffffff 0%, #f8f8fa 100%);
  border: 1px solid rgba(210, 210, 215, 0.65);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 20px 40px rgba(0, 0, 0, 0.06);
}
.configure-order-card {
  margin-bottom: 20px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}
.configure-order-card__head { margin-bottom: 12px; }
.configure-order-card__label {
  margin-bottom: 4px;
  color: var(--apple-text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.configure-order-card__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.configure-order-card__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(245, 245, 247, 0.9);
}
.configure-order-card__list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid rgba(210, 210, 215, 0.5);
}
.configure-order-card__list div:first-child { border-top: none; padding-top: 0; }
.configure-order-card__list div:last-child { padding-bottom: 0; }
.configure-order-card__list dt,
.configure-order-card__list dd { margin: 0; font-size: 14px; }
.configure-order-card__list dt { color: var(--apple-text-muted); }
.configure-order-card__list dd {
  color: var(--apple-text);
  font-weight: 600;
  text-align: right;
}
.configure-order-card__highlight { color: #1a7f37; }

.configure-summary__total-block {
  padding-top: 4px;
  border-top: 1px solid rgba(210, 210, 215, 0.55);
}
.configure-summary__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 16px;
}
.configure-summary__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--apple-text-muted);
  margin-bottom: 6px;
}
.configure-summary__total {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.configure-summary__suffix {
  font-size: 16px;
  font-weight: 500;
  color: var(--apple-text-muted);
}
.configure-summary__per {
  font-size: 12px;
  color: var(--apple-text-muted);
  text-align: right;
  max-width: 10rem;
}
.configure-cta {
  margin-top: 0;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  border-radius: 14px;
  min-height: 52px;
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.28);
}
.configure-cta:hover { box-shadow: 0 10px 28px rgba(0, 113, 227, 0.35); }
.configure-cta:disabled { opacity: 0.6; cursor: not-allowed; box-shadow: none; }
.configure-cta__arrow { flex-shrink: 0; transition: transform 0.2s var(--ease-out); }
.configure-cta:hover:not(:disabled) .configure-cta__arrow { transform: translateX(3px); }
.configure-summary__trust {
  color: #c00;
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
}
.configure-summary__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--apple-text-muted);
  text-align: center;
  margin-top: 14px;
}
.configure-summary__assurance { margin-top: 16px; }

.checkout-assurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.checkout-assurance p {
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border: 1px solid rgba(210, 210, 215, 0.75);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--apple-text-muted);
  font-size: 11px;
  line-height: 1.25;
  text-align: center;
}
.checkout-assurance svg {
  color: var(--apple-blue);
  flex-shrink: 0;
}
@media (max-width: 520px) {
  .checkout-assurance { grid-template-columns: 1fr; }
  .checkout-assurance p {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 12px 14px;
    min-height: auto;
  }
}

/* Persistent checkout bar — always visible on the configure page so the running
   total + checkout are one glance away (Apple buy-flow pattern). */
.configure-sticky-checkout {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: block;
  padding: 10px var(--pad-inline) calc(10px + var(--safe-bottom));
  background: rgba(251, 251, 253, 0.9);
  border-top: 1px solid rgba(210, 210, 215, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.configure-sticky-checkout__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
}
.configure-sticky-checkout__meta { display: flex; align-items: center; gap: 12px; min-width: 0; }
.configure-sticky-checkout__thumb {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  overflow: hidden;
  background: #fff;
  display: grid;
  place-items: center;
}
.configure-sticky-checkout__thumb img { width: 100%; height: 100%; object-fit: contain; }
.configure-sticky-checkout__text { display: flex; flex-direction: column; min-width: 0; }
.configure-sticky-checkout__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--apple-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.configure-sticky-checkout__sub {
  font-size: 12px;
  color: var(--apple-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.configure-sticky-checkout__right { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.configure-sticky-checkout__price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.12; }
.configure-sticky-checkout__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--apple-text-muted);
}
.configure-sticky-checkout__price strong {
  font-size: 21px;
  color: var(--apple-text);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.configure-sticky-checkout__price strong span + span { font-size: 12px; font-weight: 500; color: var(--apple-text-muted); }
.configure-sticky-checkout__btn {
  flex: 0 0 auto;
  min-height: 46px;
  padding-inline: 26px;
  gap: 6px;
  border-radius: 12px;
  font-size: 15px;
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.28);
}
.configure-sticky-checkout__btn:disabled { opacity: 0.6; cursor: not-allowed; box-shadow: none; }

/* Reserve space so the fixed bar never overlaps content. */
.configure-page { padding-bottom: calc(var(--pad-page-bottom) + 92px); }

@media (max-width: 600px) {
  .configure-sticky-checkout__name { display: none; }
  .configure-sticky-checkout__thumb { width: 40px; height: 40px; }
  .configure-sticky-checkout__btn { padding-inline: 18px; }
  .configure-section { padding: 18px 16px; }
  .configure-checkout-panel { padding: 20px 16px; }
}

/* ================= Dark configure / checkout page =================
   Colour-only overrides scoped to body.template-configure. The layout is
   unchanged — only backgrounds, text, borders and controls are re-toned for
   a black stage with accessible contrast. */
body.template-configure {
  background-color: #060709;
  background-image: radial-gradient(120% 55% at 50% 0%, rgba(48, 54, 82, 0.42) 0%, rgba(48, 54, 82, 0) 60%);
  background-repeat: no-repeat;
  color: rgba(255, 255, 255, 0.96);
}
body.template-configure .configure-page { background: transparent; }
body.template-configure .configure-qty {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

body.template-configure .configure-nav {
  background: rgba(8, 9, 13, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
body.template-configure .configure-nav__back,
body.template-configure .configure-nav__title,
body.template-configure .configure-nav__cart { color: rgba(255, 255, 255, 0.9); }

body.template-configure .configure-stepper__label { color: rgba(255, 255, 255, 0.72); }
body.template-configure .configure-stepper__item:not(.is-active) .configure-stepper__num {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.16);
}
body.template-configure .configure-stepper__connector { background: rgba(255, 255, 255, 0.16); }

body.template-configure .configure-header__title { color: rgba(255, 255, 255, 0.98); }
body.template-configure .configure-header__lede { color: rgba(255, 255, 255, 0.62); }

/* Product image sits on a subtle dark card so a white-background photo still reads. */
/* Configure gallery: transparent product cut-outs sit directly on the page — no well, glow or thumb fill. */
body.template-configure .configure-gallery__well {
  background: none;
  border: 0;
  box-shadow: none;
}
body.template-configure .configure-gallery__glow { display: none; }

body.template-configure .configure-section,
body.template-configure .configure-order-card,
body.template-configure .configure-summary,
body.template-configure .configure-checkout-panel {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
body.template-configure .configure-section--features {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.12);
}
body.template-configure .configure-label { color: rgba(255, 255, 255, 0.55); }
body.template-configure .configure-color-text { color: rgba(255, 255, 255, 0.62); }
body.template-configure .configure-color-text strong { color: rgba(255, 255, 255, 0.95); }

body.template-configure .configure-cover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}
body.template-configure .configure-cover__name { color: rgba(255, 255, 255, 0.95); }
body.template-configure .configure-cover__price { color: rgba(255, 255, 255, 0.6); }
body.template-configure .configure-cover__qty { border-color: rgba(255, 255, 255, 0.16); }
body.template-configure .configure-cover__qty-btn { background: rgba(255, 255, 255, 0.09); color: rgba(255, 255, 255, 0.92); }
body.template-configure .configure-cover__qty-btn:hover { background: rgba(255, 255, 255, 0.16); }
body.template-configure .configure-cover__qty-val { color: rgba(255, 255, 255, 0.96); }
body.template-configure .configure-covers__note { color: rgba(255, 255, 255, 0.6); }

body.template-configure .configure-qty__btn { background: rgba(255, 255, 255, 0.09); color: rgba(255, 255, 255, 0.92); border-color: rgba(255, 255, 255, 0.16); }
body.template-configure .configure-qty__value { color: rgba(255, 255, 255, 0.98); }
body.template-configure .configure-qty__hint { color: rgba(255, 255, 255, 0.5); }

body.template-configure .configure-feature__text { color: rgba(255, 255, 255, 0.86); }

body.template-configure .configure-order-card__list { background: rgba(255, 255, 255, 0.03); }
body.template-configure .configure-order-card__label { color: rgba(255, 255, 255, 0.55); }
body.template-configure .configure-order-card__title { color: rgba(255, 255, 255, 0.98); }
body.template-configure .configure-order-card__list div { border-top-color: rgba(255, 255, 255, 0.08); }
body.template-configure .configure-order-card__list dt { color: rgba(255, 255, 255, 0.6); }
body.template-configure .configure-order-card__list dd { color: rgba(255, 255, 255, 0.95); }
body.template-configure .configure-order-card__highlight { color: #4ade80; }
body.template-configure .configure-summary__label { color: rgba(255, 255, 255, 0.6); }
body.template-configure .configure-summary__total { color: rgba(255, 255, 255, 0.98); }
body.template-configure .configure-summary__total-block { border-top-color: rgba(255, 255, 255, 0.1); }
body.template-configure .configure-summary__per,
body.template-configure .checkout-assurance,
body.template-configure .configure-summary__secure { color: rgba(255, 255, 255, 0.5); }

body.template-configure .configure-sticky-checkout {
  background: rgba(8, 9, 13, 0.9);
  border-top-color: rgba(255, 255, 255, 0.1);
}
body.template-configure .configure-sticky-checkout__name { color: rgba(255, 255, 255, 0.95); }
body.template-configure .configure-sticky-checkout__sub,
body.template-configure .configure-sticky-checkout__label { color: rgba(255, 255, 255, 0.6); }
body.template-configure .configure-sticky-checkout__price strong { color: rgba(255, 255, 255, 0.98); }

/* Native controls (the <select>) render dark instead of a white default. */
body.template-configure { color-scheme: dark; }
body.template-configure .language-selector__select {
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
}
/* Trust badges were near-opaque white pills — re-tone to dark glass. */
body.template-configure .checkout-assurance p {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
}

/* ---- Cart drawer ---- */
.cart-drawer[hidden] { display: none !important; }
body.cart-drawer-open { overflow: hidden; }
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
}
.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
/* The panel is always a light surface (background #fff), even on templates
   that remap the --apple-* text tokens to light values on <body> (the
   nightfall home page, the dark configure page). Pin the tokens on the panel
   so its text, dividers and native controls stay dark-on-white everywhere. */
.cart-drawer__panel {
  --apple-text: #1d1d1f;
  --apple-text-muted: #6e6e73;
  --apple-text-muted-dark: #a1a1a6;
  --apple-border: #d2d2d7;
  color: var(--apple-text);
  color-scheme: light;
  position: absolute;
  top: 0;
  right: 0;
  width: min(400px, calc(100vw - var(--safe-left)));
  max-width: 100%;
  height: 100%;
  min-height: 100dvh;
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: var(--safe-top) var(--safe-right) var(--safe-bottom) 0;
  box-sizing: border-box;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  animation: cartSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes cartSlideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding: var(--space-sm) 20px;
  min-height: var(--header-bar);
  border-bottom: 1px solid var(--apple-border);
}
.cart-drawer__title { font-size: 21px; font-weight: 600; }
.cart-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  border-radius: 8px;
}
.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-sm) 20px;
}
.cart-drawer__footer {
  flex-shrink: 0;
  padding: var(--space-md) 20px;
  border-top: 1px solid var(--apple-border);
}
.cart-drawer__subtotal { font-size: 17px; font-weight: 600; margin-bottom: 12px; }
.cart-drawer__continue {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 12px;
  background: none;
  border: none;
  font-size: 17px;
  color: var(--apple-blue);
  cursor: pointer;
}
.cart-drawer__line {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.cart-drawer__line-img img { border-radius: 8px; width: 64px; height: 64px; object-fit: cover; }
.cart-drawer__line-title { font-size: 14px; font-weight: 600; }
.cart-drawer__line-qty { font-weight: 400; color: var(--apple-text-muted); }
.cart-drawer__line-variant,
.cart-drawer__line-price { font-size: 12px; color: var(--apple-text-muted); }

/* ---- Cart page extras ---- */
.cart-page__title { margin-bottom: 16px; }
.cart-page__edit { margin-bottom: 24px; }
.cart-line__plan { font-size: 12px; color: var(--apple-blue); margin: 4px 0 8px; }
.cart-line__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cart-line__remove {
  font-size: 14px;
  color: var(--apple-text-muted);
  text-decoration: underline;
  min-height: var(--touch-min);
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
}
.cart-line__remove:hover { color: var(--apple-blue); }
.cart-page__checkout-buttons { margin: 24px 0 16px; max-width: 400px; }
.cart-page__checkout-btn { margin-bottom: 12px; }
.cart-page__dynamic-checkout { margin-top: 8px; }
.cart-page__trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--apple-text-muted);
  margin-top: 24px;
}

/* Quantity stepper: the configure-page pill wrapped around the native updates[]
   input, so "Update cart" and no-JS form submits keep working unchanged. */
.cart-qty {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border: 1px solid var(--apple-border);
  border-radius: 999px;
  background: transparent;
}
.cart-qty__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  border-radius: 50%;
  color: inherit;
  transition: background 0.2s var(--ease-out);
}
@media (hover: hover) {
  .cart-qty__btn:hover:not(:disabled) { background: var(--apple-bg-gray); }
}
.cart-qty__btn:disabled { opacity: 0.35; cursor: default; }
.cart-qty__input {
  width: 48px;
  min-height: var(--touch-min);
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 17px; /* 16px+ keeps iOS Safari from zooming into the field */
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}
.cart-qty__input::-webkit-outer-spin-button,
.cart-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-line[aria-busy="true"] .cart-qty,
.cart-line[aria-busy="true"] .cart-line__remove { opacity: 0.55; pointer-events: none; }

/* Sticky mobile/tablet checkout bar. cart-page.js shows it only while the
   in-page Checkout button is below the viewport, so nothing is ever covered
   once the summary is on screen. */
.cart-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  padding: 10px var(--pad-inline) calc(10px + var(--safe-bottom));
  background: rgba(251, 251, 253, 0.9);
  border-top: 1px solid rgba(210, 210, 215, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.cart-sticky[hidden] { display: none; }
.cart-sticky__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--apple-container);
  margin-inline: auto;
}
.cart-sticky__price {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}
.cart-sticky__label { font-size: 12px; color: var(--apple-text-muted); }
.cart-sticky__price strong { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-sticky__btn { flex: 0 0 auto; padding-inline: 28px; }
@media (min-width: 1024px) {
  .cart-sticky { display: none !important; }
}
.product-page__configure { margin-bottom: 16px; }
.product-page__buy-now { margin-bottom: 12px; }
.product-page__dynamic-checkout { margin-bottom: 16px; }

@media (max-width: 767px) {
  .section-apple { padding-block: clamp(44px, 10vw, 68px); }
  .tile { padding: var(--space-md); }
  .plan-price { font-size: 28px; }
  .product-page, .cart-page, .collection-page {
    padding-top: calc(var(--header-offset) + var(--space-lg));
    padding-bottom: var(--pad-page-bottom);
  }
  .configure-page__inner {
    padding-top: var(--space-sm);
    padding-left: var(--pad-inline);
    padding-right: var(--pad-inline-end);
  }
  .configure-header { margin-bottom: var(--space-lg); }
  .stats-section .headline-section,
  .section-apple .headline-section {
    margin-bottom: 14px !important;
  }
  .stats-section .headline-section {
    margin-bottom: 32px !important;
  }
  .trust-badges {
    margin-top: 32px;
  }
  .pricing-box-img {
    margin-bottom: 32px;
  }
  .lp-app__showcase {
    margin-bottom: 32px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .tile-grid-2 { gap: var(--space-md); }
}

/* Editorial footer pages */
.editorial-page {
  padding-top: clamp(32px, 6vw, 72px);
}
.editorial-page__reviewed {
  font-size: 13px;
  margin-top: 12px;
}
.editorial-page--black {
  background: #000;
  color: #fff;
}
.editorial-page--white {
  background: #fff;
}
.editorial-page__hero {
  padding-bottom: clamp(32px, 5vw, 56px);
}
.editorial-page__title {
  max-width: 820px;
  margin: 0 auto 16px;
}
.editorial-page__lede {
  max-width: 640px;
  margin: 0 auto 40px;
}
.editorial-page__media {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: #f5f5f7;
}
.editorial-page__media img {
  display: block;
  width: 100%;
  height: auto;
}
.editorial-page__body {
  display: grid;
  gap: 16px;
  padding-bottom: clamp(48px, 8vw, 96px);
}
.editorial-block__title {
  font-size: clamp(21px, 2.5vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.editorial-block--pillar,
.editorial-block--quote,
.editorial-contact {
  padding: 24px;
}
.editorial-block--pillar {
  display: grid;
  gap: 8px;
}
.editorial-block__icon {
  font-size: 28px;
  line-height: 1;
}
.editorial-block--step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--apple-border);
}
.editorial-block--step:last-child {
  border-bottom: 0;
}
.editorial-block__step-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #f5f5f7;
  font-weight: 600;
  font-size: 17px;
  color: var(--apple-blue);
}
.editorial-page--black .editorial-block__step-num {
  background: rgba(255, 255, 255, 0.08);
  color: #64b5ff;
}
.editorial-block__quote {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.45;
  font-weight: 500;
  margin: 0 0 12px;
}
.editorial-block__source {
  font-size: 14px;
  line-height: 1.4;
}
.editorial-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
}
@media (max-width: 767px) {
  .editorial-stats {
    grid-template-columns: 1fr;
  }
}
.editorial-stats__value {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.editorial-stats__label {
  font-size: 14px;
  line-height: 1.35;
}
.editorial-block__prose {
  font-size: 17px;
  line-height: 1.55;
  color: var(--apple-text-muted);
}
.editorial-block__prose p {
  margin: 0 0 12px;
}
.editorial-contact__label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--apple-blue);
  margin-bottom: 8px;
}
.editorial-contact__value {
  font-size: 17px;
  line-height: 1.45;
  color: inherit;
  text-decoration: none;
}
a.editorial-contact__value:hover {
  text-decoration: underline;
}
.editorial-page__cta-wrap {
  background: #000;
  padding: clamp(48px, 8vw, 80px) 0;
}
.editorial-page__cta-title {
  margin-bottom: 12px;
}
.editorial-page__cta-lede {
  max-width: 520px;
  margin: 0 auto 28px;
}
.editorial-page__cta-row {
  justify-content: center;
}
@media (min-width: 768px) {
  .editorial-page__body:has(.editorial-block--pillar:nth-child(3)),
  .editorial-page__body:has(.editorial-block--image-pillar:nth-child(3)) {
    grid-template-columns: repeat(3, 1fr);
  }
  .editorial-page__body:has(.editorial-block--pillar:nth-child(2)):not(:has(.editorial-block--pillar:nth-child(4))),
  .editorial-page__body:has(.editorial-block--image-pillar:nth-child(2)):not(:has(.editorial-block--image-pillar:nth-child(4))) {
    grid-template-columns: repeat(2, 1fr);
  }
  .editorial-block--richtext,
  .editorial-block--stats,
  .editorial-block--contacts,
  .editorial-block--quote,
  .editorial-block--section-intro,
  .editorial-block--media-split,
  .editorial-block--step,
  .editorial-block--faq {
    grid-column: 1 / -1;
  }
}

/* Section intro bands */
.editorial-block--section-intro {
  padding: clamp(24px, 4vw, 40px) 0 8px;
}
.editorial-block--section-intro-dark {
  grid-column: 1 / -1;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(40px, 6vw, 64px) clamp(16px, 4vw, 24px);
  background: #000;
  color: #fff;
}
.editorial-block__section-heading {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.editorial-block__section-lede {
  max-width: 600px;
  margin: 0 auto;
}

/* Image + text split */
.editorial-block--media-split {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: clamp(16px, 3vw, 32px) 0;
}
@media (min-width: 768px) {
  .editorial-block--media-split {
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 48px);
  }
  .editorial-block--media-split-reverse .editorial-media-split__copy {
    order: 2;
  }
  .editorial-block--media-split-reverse .editorial-media-split__media {
    order: 1;
  }
}
.editorial-media-split__media {
  border-radius: 20px;
  overflow: hidden;
  background: #f5f5f7;
}
.editorial-page--black .editorial-media-split__media {
  background: rgba(255, 255, 255, 0.06);
}
.editorial-media-split__media img {
  display: block;
  width: 100%;
  height: auto;
}

/* Image feature cards */
.editorial-block--image-pillar {
  display: grid;
  gap: 12px;
  padding: 0;
  overflow: hidden;
}
.editorial-image-pillar__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ebebed;
}
.editorial-image-pillar__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editorial-block--image-pillar .editorial-block__title,
.editorial-block--image-pillar .body-standard {
  padding: 0 20px;
}
.editorial-block--image-pillar .body-standard {
  padding-bottom: 20px;
}

/* FAQ accordion */
.editorial-block--faq {
  padding: 0;
  overflow: hidden;
}
.editorial-faq__question {
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.editorial-faq__question::-webkit-details-marker {
  display: none;
}
.editorial-faq__question::after {
  content: "+";
  float: right;
  font-size: 22px;
  font-weight: 400;
  color: var(--apple-blue);
  line-height: 1;
}
.editorial-block--faq[open] .editorial-faq__question::after {
  content: "−";
}
.editorial-faq__answer {
  padding: 0 24px 20px;
}
.editorial-faq__answer p {
  margin: 0 0 8px;
}
.editorial-faq__answer p:last-child {
  margin-bottom: 0;
}

/* Step list grouping */
.editorial-page__body:has(.editorial-block--step) {
  gap: 0;
}
.editorial-page__body:has(.editorial-block--step) .editorial-block--section-intro {
  margin-top: 24px;
}

@media (min-width: 768px) {
  .editorial-page__body:has(.editorial-block--image-pillar) {
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal-item,
  .configure-page .configure-header,
  .configure-page .configure-stepper-wrap,
  .configure-page .configure-gallery,
  .configure-page .configure-controls .configure-section,
  .configure-page .configure-summary {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .lp-app[data-lp-app-animate] .app-showcase__phone--left,
  .lp-app[data-lp-app-animate] .app-showcase__phone--right {
    animation: none !important;
    transform: none !important;
  }
  .app-showcase__phone {
    --parallax-y: 0px;
  }
  .mobile-nav__panel,
  .mobile-nav__backdrop,
  .cart-drawer__panel {
    transition: none;
  }
  .plan-card:hover {
    transform: none;
  }
}

.motion-reduced .reveal,
.motion-reduced .reveal-item {
  animation: none;
  opacity: 0.75;
}

.motion-reduced .configure-page .configure-header,
.motion-reduced .configure-page .configure-stepper-wrap,
.motion-reduced .configure-page .configure-gallery,
.motion-reduced .configure-page .configure-controls .configure-section,
.motion-reduced .configure-page .configure-summary {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.motion-reduced .lp-app[data-lp-app-animate] .app-showcase__phone--left,
.motion-reduced .lp-app[data-lp-app-animate] .app-showcase__phone--right {
  animation: none !important;
  transform: none !important;
}

.motion-reduced .app-showcase__phone {
  --parallax-y: 0px;
}

/* No script: never hide content waiting for motion classes */
html.no-js .section-apple .reveal-item {
  opacity: 1;
  transform: none;
}

/* Sticky mobile/tablet buy bar (CRO) */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 12px var(--pad-inline) calc(12px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(251, 251, 253, 0) 0%, rgba(251, 251, 253, 0.92) 24%, #fbfbfd 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
}
.sticky-cta[hidden] {
  display: none;
}
.sticky-cta__btn {
  pointer-events: auto;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  min-height: 48px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}
@media (min-width: 1024px) {
  .sticky-cta {
    display: none !important;
  }
}

.page-404 {
  padding: clamp(80px, 14vw, 140px) 0;
}

/* ---- Customer account ---- */
.account,
.customer-order,
.customer-addresses,
.customer-login__recover {
  padding-top: calc(var(--header-offset) + 40px);
  padding-bottom: var(--pad-page-bottom);
}
.form-stack {
  max-width: 420px;
  margin-inline: auto;
}
.form-stack label,
.customer-addresses label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--apple-text);
}
.form-stack input,
.form-stack select,
.form-stack textarea,
.customer-addresses input,
.customer-addresses select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--apple-border);
  border-radius: 12px;
  margin-bottom: 16px;
  font: inherit;
  background: var(--apple-bg);
  color: var(--apple-text);
}
.form-stack input:focus,
.form-stack select:focus,
.customer-addresses input:focus,
.customer-addresses select:focus {
  outline: 2px solid var(--apple-blue);
  outline-offset: 1px;
}
.form-stack .button,
.customer-addresses .button {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
.form-stack .button--secondary {
  margin-top: 12px;
  background: transparent;
  border: 1px solid var(--apple-border);
  color: var(--apple-text);
}
.form__errors {
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(255, 59, 48, 0.08);
  color: #c41e14;
  font-size: 14px;
}
.form__errors ul {
  margin: 0;
  padding-left: 1.1rem;
}
.account__header,
.customer-addresses__header,
.customer-order__header {
  margin-bottom: 32px;
}
.account__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 12px;
  font-size: 15px;
}
.account__nav a {
  color: var(--apple-blue);
  text-decoration: none;
}
.account__nav a:hover { text-decoration: underline; }
.customer-addresses__header a {
  display: inline-block;
  margin-top: 8px;
  font-size: 15px;
  color: var(--apple-blue);
}
.customer-addresses__new,
.customer-addresses__list {
  margin-top: 40px;
}
.customer-address {
  padding: 20px 0;
  border-bottom: 1px solid var(--apple-border);
}
.customer-address:last-child { border-bottom: none; }
.customer-order__addresses {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}
@media (min-width: 768px) {
  .customer-order__addresses { grid-template-columns: 1fr 1fr; }
}
.orders,
.order-items {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.orders th,
.orders td,
.order-items th,
.order-items td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid var(--apple-border);
}
.orders thead th,
.order-items thead th {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--apple-text-muted);
}
.orders tbody tr:hover,
.order-items tbody tr:hover {
  background: var(--apple-bg-gray);
}
.pagination {
  margin-top: 24px;
  font-size: 14px;
}
@media (max-width: 767px) {
  .orders thead,
  .order-items thead {
    display: none;
  }
  .orders tbody tr,
  .order-items tbody tr,
  .order-items tfoot tr {
    display: block;
    margin-bottom: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--apple-border);
  }
  .orders td,
  .order-items td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border: none;
  }
  .orders td::before,
  .order-items td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--apple-text-muted);
    flex-shrink: 0;
  }
  .order-items tfoot td[colspan] {
    display: none;
  }
  .order-items tfoot td:last-child {
    display: flex;
    width: 100%;
  }
  .order-items tfoot td:last-child::before {
    content: attr(data-label);
  }
}

/* --- Ultra-wide / large-monitor / 4K scaling (added by pre-G2M audit) --- */
/* Mid-band: start growing the content container earlier than 1536px so wide
   monitors (1280–1536) no longer sit at the 980px base. Additive, min-width
   scoped only — smaller screens are untouched. Font-size is intentionally NOT
   scaled: content typography is px-based (wouldn't grow) while the header's
   fixed layout uses rem, so bumping root font-size would only risk the header. */
@media (min-width: 1280px) {
  :root {
    --apple-container: 1040px;
  }
}
@media (min-width: 1440px) {
  :root {
    --apple-container: 1120px;
  }
}
@media (min-width: 1536px) {
  :root {
    --apple-container: 1160px;
    --pad-inline: clamp(24px, 3vw, 40px);
    --pad-inline-end: clamp(24px, 3vw, 40px);
  }
}
@media (min-width: 1920px) {
  :root {
    --apple-container: 1320px;
  }
}
@media (min-width: 2560px) {
  :root {
    --apple-container: 1520px;
  }
}
@media (min-width: 3840px) {
  :root {
    --apple-container: 1760px;
  }
}

/* ============================================================
   Motion pack v1 — additive, rides on the existing reveal system.
   Every effect is gated by .motion-ready and disabled under
   .motion-reduced / prefers-reduced-motion.
   ============================================================ */

/* Problem tiles: lift on hover (pointer devices only) */
@media (hover: hover) {
  .motion-ready .problem-bento .tile {
    transition:
      transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 0.3s ease;
  }
  .motion-ready .problem-bento .tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.09);
  }
}

/* Solution split: one-shot warm light sweep when the section reveals —
   the page performs the product's job (window light turning on). */
.solution-split__visual {
  position: relative;
  overflow: hidden;
}
.solution-split__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 32%,
    rgba(255, 190, 110, 0.14) 45%,
    rgba(255, 196, 120, 0.28) 50%,
    rgba(255, 190, 110, 0.14) 55%,
    transparent 68%
  );
  transform: translateX(-130%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.motion-ready #how-it-works.section-apple--visible .solution-split__visual::after {
  animation: solutionLightSweep 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}
@keyframes solutionLightSweep {
  to { transform: translateX(130%); }
}
.motion-reduced .solution-split__visual::after,
html.no-js .solution-split__visual::after {
  display: none;
}

/* FAQ accordion — native details/summary, no JS */
.faq-list {
  max-width: 46rem;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  padding: 4px 22px;
}
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 14px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-item__q::-webkit-details-marker {
  display: none;
}
.faq-item__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--apple-text-muted);
  border: 1px solid var(--apple-border);
  font-size: 15px;
  line-height: 1;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item__icon::before {
  content: '+';
}
.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
}
.faq-item__a {
  padding: 0 0 18px;
  max-width: 60ch;
}
.motion-reduced .faq-item__icon {
  transition: none;
}

/* ── Configure: product gallery slider, thumbnails, free-shipping badge, USPs ── */
.configure-gallery__track {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  outline: none;
}
.configure-gallery__track::-webkit-scrollbar { display: none; }
.configure-gallery__track:focus-visible { box-shadow: inset 0 0 0 2px var(--apple-blue); }
.configure-gallery__slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
}
.configure-gallery__slide .configure-gallery__img { position: static; }
.configure-gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #1d1d1f;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s var(--ease-out), background 0.15s;
}
.configure-gallery__arrow:hover { transform: scale(1.06); }
.configure-gallery__arrow:focus-visible { outline: 2px solid var(--apple-blue); outline-offset: 2px; }
.configure-gallery__arrow--prev { left: 12px; }
.configure-gallery__arrow--next { right: 12px; }
/* Full-width free-shipping strip fixed above the (also fixed) configure nav.
   The nav and the content offset both move down by --configure-announce-h. */
.configure-page { --configure-announce-h: 38px; }
.configure-announce {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--configure-announce-h);
  margin: 0;
  padding: 8px var(--pad-inline, 20px) calc(8px + var(--safe-top, 0px));
  background: var(--apple-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-align: center;
}
.configure-announce svg { flex-shrink: 0; }
.configure-page .configure-nav { top: var(--configure-announce-h); }
.configure-page .configure-stepper-wrap { padding-top: calc(var(--header-offset) + var(--configure-announce-h) + 16px); }
@media (min-width: 900px) {
  .configure-page .configure-gallery,
  .configure-page .configure-checkout-panel { top: calc(var(--header-offset) + var(--configure-announce-h) + 24px); }
}
.configure-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px auto 0;
  max-width: 520px;
}
.configure-gallery__thumb {
  width: 100%;
  aspect-ratio: 1;
  padding: 10px;
  border: 1.5px solid var(--apple-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.configure-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.configure-gallery__thumb:hover { transform: translateY(-1px); }
.configure-gallery__thumb.is-active {
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.18);
}
.configure-gallery__thumb:focus-visible { outline: 2px solid var(--apple-blue); outline-offset: 2px; }
.configure-usps {
  list-style: none;
  margin: 20px auto 0;
  padding: 0;
  max-width: 520px;
  display: grid;
  gap: 12px;
}
.configure-usp {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(210, 210, 215, 0.55);
}
.configure-usp__icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0, 113, 227, 0.1);
  color: var(--apple-blue);
}
.configure-usp__text { display: flex; flex-direction: column; gap: 2px; }
.configure-usp__text strong { font-size: 14px; font-weight: 600; color: var(--apple-text); letter-spacing: -0.01em; }
.configure-usp__text span { font-size: 13px; line-height: 1.45; color: var(--apple-text-muted); }
@media (min-width: 900px) {
  .configure-gallery__thumbs, .configure-usps { max-width: 520px; }
}
[data-configure-summary-covers-row] dd { text-align: right; }

body.template-configure .configure-gallery__thumb { background: none; border-color: transparent; }
body.template-configure .configure-gallery__thumb.is-active { border-color: var(--apple-blue); }
body.template-configure .configure-gallery__arrow { background: rgba(255, 255, 255, 0.9); }
body.template-configure .configure-usp { background: rgba(255, 255, 255, 0.045); border-color: rgba(255, 255, 255, 0.1); }
body.template-configure .configure-usp__icon { background: rgba(0, 113, 227, 0.22); color: #7cb8ff; }
body.template-configure .configure-usp__text strong { color: rgba(255, 255, 255, 0.95); }
body.template-configure .configure-usp__text span { color: rgba(255, 255, 255, 0.62); }

@media (prefers-reduced-motion: reduce) {
  .configure-gallery__track { scroll-behavior: auto; }
  .configure-gallery__arrow, .configure-gallery__thumb, .configure-cover, .configure-gallery__img { transition: none; }
}

/* ==========================================================================
   Configure page — conversion pass (2026-09-16)
   Content is visible by default; motion only adds. Buy box first, then
   configuration, then summary. Scales for phones, tablets, 4K and TV.
   ========================================================================== */

/* 1. Product register: the page loads into a task. No orchestrated entrance;
   content is painted on the first frame on every device. */
.motion-ready .configure-page .configure-header,
.motion-ready .configure-page .configure-stepper-wrap,
.motion-ready .configure-page .configure-gallery,
.motion-ready .configure-page .configure-controls .configure-section,
.motion-ready .configure-page .configure-summary { opacity: 1; }
.configure-page--animate .configure-header,
.configure-page--animate .configure-stepper-wrap,
.configure-page--animate .configure-gallery,
.configure-page--animate .configure-controls .configure-section,
.configure-page--animate .configure-summary { animation: none; }

/* 2. Header: compact, balanced, no orphan lines. */
.configure-stepper-wrap { padding-top: calc(var(--header-offset) + 10px); }
.configure-page__inner { padding-top: 12px; }
.configure-header { margin-bottom: clamp(20px, 3vw, 32px); }
.configure-header__title {
  font-size: clamp(24px, 3.2vw, 38px);
  letter-spacing: -0.015em;
  line-height: 1.12;
  text-wrap: balance;
  max-width: 22ch;
  margin-inline: auto;
}
.configure-header__lede {
  font-size: clamp(15px, 1.6vw, 17px);
  margin-top: 10px;
  max-width: 46ch;
  text-wrap: pretty;
}

/* 3. Buy box: name, price, trust — the first thing in the controls column. */
.configure-buybox__title { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 6px; }
.configure-buybox__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0 0 14px; }
.configure-buybox__amount { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.configure-buybox__note { font-size: 14px; color: var(--apple-text-muted); }
.configure-buybox__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.configure-buybox__trust li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--apple-text); }
.configure-buybox__trust svg { color: var(--apple-blue); flex-shrink: 0; }
body.template-configure .configure-buybox__trust li { color: rgba(255, 255, 255, 0.86); }
body.template-configure .configure-buybox__trust svg { color: #7cb8ff; }
body.template-configure .configure-buybox__note { color: rgba(255, 255, 255, 0.62); }

/* 3b. The single-colour swatch hooks stay in the DOM for the script but never render. */
.configure-buybox [hidden] { display: none !important; }

/* 4. USPs: a plain list, not a stack of cards. Sits under the gallery on
   desktop, after the configuration on phones. */
.configure-grid__usps { margin: 0; max-width: none; gap: 14px; }
.configure-usp,
body.template-configure .configure-usp { padding: 0; border: 0; background: none; border-radius: 0; }
.configure-usp__text strong { display: block; margin-bottom: 2px; }
@media (min-width: 900px) {
  .configure-grid__usps { grid-column: 1; grid-row: 2; max-width: 520px; margin-inline: auto; margin-top: -8px; }
  .configure-controls { grid-column: 2; grid-row: 1 / span 2; }
  .configure-gallery { grid-column: 1; grid-row: 1; align-self: start; }
}

/* 5. Thumbnails: one row of six on desktop, a scrollable strip on phones. */
.configure-gallery__thumbs { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.configure-gallery__thumb { padding: 6px; border-radius: 10px; }

/* 6. Phones: gallery children become grid items so the order is
   image → thumbs → buy box/configuration → summary → USPs. */
@media (max-width: 899px) {
  .configure-gallery { display: contents; }
  .configure-gallery__well { order: 1; width: 100%; max-width: min(100%, 72vw); }
  .configure-gallery__thumbs { order: 2; gap: 6px; margin: 0 auto; max-width: min(100%, 72vw); }
  .configure-gallery__thumb { padding: 4px; border-radius: 8px; }
  .configure-controls { order: 3; }
  .configure-grid__usps { order: 4; }
  .configure-grid { gap: 20px; }
  .configure-header { margin-bottom: 16px; }
  .configure-header__title { font-size: clamp(22px, 6.4vw, 28px); }
}

/* 7. Phone nav: one row (back · region · cart); the page title is redundant here. */
@media (max-width: 640px) {
  .configure-nav__inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: 'back tools cart';
    gap: 8px;
  }
  .configure-nav__title { display: none; }
  .configure-nav__tools { justify-self: center; width: auto; }
}

/* 8. Cover cards: legible price, honest touch targets. */
.configure-cover__price { font-size: 12px; }
body.template-configure .configure-cover__price { color: rgba(255, 255, 255, 0.66); }

/* 9. Large monitors and TV: scale the whole flow instead of leaving a
   1040px island in the middle of a 4K screen. */
@media (min-width: 1800px) { body.template-configure { zoom: 1.2; } }
@media (min-width: 2400px) { body.template-configure { zoom: 1.5; } }
@media (min-width: 3200px) { body.template-configure { zoom: 2; } }
