@font-face {
  font-family: "Schiffbauer";
  src: url("assets/fonts/Schiffbauer-Regular.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "BelweC AG";
  src: url("assets/fonts/BelweC-AG-Medium.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

:root {
  color-scheme: light;
  font-family: "Schiffbauer", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --page-bg:
    radial-gradient(120% 110% at 84% 12%, rgba(9, 29, 68, 0.28) 0%, rgba(9, 29, 68, 0) 45%),
    linear-gradient(122deg, #ffffff 0%, #ffffff 38%, #eef4ff 58%, #d2def1 74%, #0b1b38 142%);
  --hero-image: url("assets/hero-leclub55-day-v5.jpg");
  --hero-position: 50% -3vh;
  --hero-bg-width: 103vw;
  --footer-height: 40px;
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-liquid: cubic-bezier(0.22, 1, 0.36, 1);
  --hero-shade:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 38%, rgba(255, 255, 255, 0.01) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0) 48%, rgba(6, 19, 41, 0.04));
  --media-gradient:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(247, 249, 252, 0.07) 46%, rgba(214, 225, 244, 0.04) 100%);
  --ink: #05070c;
  --muted: rgba(5, 7, 12, 0.58);
  --line: rgba(5, 7, 12, 0.18);
  --button-bg: #061329;
  --button-fg: #ffffff;
  --media-bg: #ffffff;
  --footer-bg: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.07);
  --glass-stroke: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 20px 58px rgba(8, 21, 45, 0.12);
  --glass-highlight: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.035) 42%, rgba(255, 255, 255, 0));
  --radius-lg: 34px;
  --radius-md: 22px;
  --radius-pill: 999px;
}

body[data-product="dark"] {
  color-scheme: dark;
  --page-bg:
    radial-gradient(125% 120% at 86% 8%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(122deg, #03050d 0%, #081021 40%, #132345 72%, #eef0e9 158%);
  --hero-image: url("assets/hero-leclub55-night-v3.jpg");
  --hero-position: 67% -7vh;
  --hero-bg-width: 106vw;
  --hero-shade:
    linear-gradient(90deg, rgba(3, 6, 15, 0.36) 0%, rgba(3, 6, 15, 0.16) 43%, rgba(3, 6, 15, 0.02) 100%),
    linear-gradient(180deg, rgba(3, 6, 15, 0.02), rgba(3, 6, 15, 0.01) 45%, rgba(3, 6, 15, 0.14));
  --media-gradient:
    linear-gradient(145deg, rgba(4, 7, 17, 0.08) 0%, rgba(10, 18, 38, 0.07) 52%, rgba(32, 47, 86, 0.05) 100%);
  --ink: #f7f7f2;
  --muted: rgba(247, 247, 242, 0.62);
  --line: rgba(247, 247, 242, 0.22);
  --button-bg: #f7f7f2;
  --button-fg: #050812;
  --media-bg: transparent;
  --footer-bg: rgba(5, 8, 18, 0.14);
  --glass-bg: rgba(255, 255, 255, 0.012);
  --glass-strong: rgba(255, 255, 255, 0.024);
  --glass-stroke: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --glass-highlight: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018) 44%, rgba(255, 255, 255, 0));
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--page-bg);
  background-size: 140% 140%;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition:
    background 1400ms var(--ease-liquid),
    color 900ms var(--ease-liquid);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  min-height: calc(100svh - var(--footer-height));
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: calc(100svh - var(--footer-height));
  flex-direction: column;
  overflow: hidden;
  padding: 30px clamp(18px, 4vw, 58px) 28px;
  background-image:
    var(--hero-shade),
    var(--hero-image);
  background-position:
    center,
    center,
    var(--hero-position);
  background-size:
    cover,
    cover,
    var(--hero-bg-width) auto;
  background-repeat: no-repeat;
  transition:
    background-position 1100ms var(--ease-liquid),
    color 900ms var(--ease-liquid);
  contain: paint;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 30% 13%, rgba(255, 255, 255, 0.22), transparent 14rem),
    radial-gradient(circle at 55% 80%, rgba(255, 255, 255, 0.14), transparent 16rem);
  pointer-events: none;
  animation: ambientGlow 12s ease-in-out infinite alternate;
}

body[data-product="dark"] .hero::before {
  background:
    radial-gradient(circle at 26% 16%, rgba(28, 112, 255, 0.1), transparent 13rem),
    radial-gradient(circle at 57% 78%, rgba(255, 198, 94, 0.08), transparent 16rem);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    radial-gradient(circle at 48% 44%, rgba(255, 255, 255, 0.18), transparent 20rem),
    linear-gradient(110deg, rgba(255, 255, 255, 0.08), rgba(7, 16, 33, 0.08));
  opacity: 0;
  pointer-events: none;
}

body[data-product="dark"] .hero::after {
  background:
    radial-gradient(circle at 48% 44%, rgba(65, 130, 255, 0.14), transparent 20rem),
    linear-gradient(110deg, rgba(2, 6, 17, 0.22), rgba(255, 216, 143, 0.08));
}

/* Theme switch uses transitions only — no overlay veil */

body.is-switching .hero::before,
body.is-switching .hero-copy::after,
body.is-switching .product-actions::before,
body.is-switching .product-media::before,
body.is-switching .order-button::after {
  animation-play-state: paused;
}

.topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  z-index: 1;
}

.topbar::after {
  display: none;
}

.brand-mark,
.eyebrow,
.product-option,
.button-primary,
.price,
.order-button,
.site-footer {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  padding: 0 clamp(18px, 2.3vw, 28px);
  border: 1px solid color-mix(in srgb, var(--glass-stroke) 76%, var(--line));
  border-radius: var(--radius-pill);
  background:
    var(--glass-highlight),
    color-mix(in srgb, var(--glass-bg) 55%, transparent);
  box-shadow: 0 14px 42px rgba(5, 12, 27, 0.1);
  backdrop-filter: blur(5px) saturate(124%);
  -webkit-backdrop-filter: blur(5px) saturate(124%);
  font-size: 1rem;
  text-transform: none;
  transition:
    letter-spacing 420ms var(--ease-liquid),
    opacity 420ms var(--ease-liquid),
    transform 420ms var(--ease-liquid),
    box-shadow 420ms var(--ease-liquid);
}

.brand-mark:hover {
  letter-spacing: 0.14em;
  opacity: 0.72;
  transform: translateY(-1px);
}

.social-links {
  display: inline-flex;
  min-height: 52px;
  min-width: 136px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--line) 65%, var(--glass-stroke));
  border-radius: var(--radius-pill);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.035) 48%, rgba(255, 255, 255, 0)),
    rgba(255, 255, 255, 0.085);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 14px 42px rgba(5, 12, 27, 0.1);
  backdrop-filter: blur(5px) saturate(124%);
  -webkit-backdrop-filter: blur(5px) saturate(124%);
  color: var(--muted);
}

body[data-product="dark"] .social-links {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025) 48%, rgba(255, 255, 255, 0)),
    rgba(8, 14, 28, 0.2);
}

.social-link {
  position: relative;
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: var(--radius-pill);
  color: var(--ink);
  overflow: hidden;
  transition:
    background 420ms var(--ease-liquid),
    color 420ms var(--ease-liquid),
    opacity 420ms var(--ease-liquid),
    transform 420ms var(--ease-liquid);
}

.social-link:hover {
  background: color-mix(in srgb, var(--glass-strong) 68%, transparent);
  opacity: 0.82;
  transform: translateY(-1px);
}

.social-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.social-link[aria-label="Instagram"] svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-link[aria-label="Instagram"] circle:last-child {
  fill: currentColor;
  stroke: none;
}

.hero-grid {
  display: grid;
  position: relative;
  z-index: 1;
  flex: 1;
  grid-template-columns: minmax(270px, 430px) minmax(340px, 510px);
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 5.5vw, 84px);
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 5vh, 54px) 0;
}

.hero-copy {
  position: relative;
  max-width: 460px;
  padding:
    clamp(48px, 4.5vw, 62px)
    clamp(22px, 3vw, 34px)
    clamp(20px, 2.6vw, 30px);
  border: 1px solid color-mix(in srgb, var(--glass-stroke) 58%, var(--line));
  border-radius: var(--radius-lg);
  background:
    var(--glass-highlight),
    color-mix(in srgb, var(--glass-bg) 46%, transparent);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  backdrop-filter: blur(4px) saturate(122%);
  -webkit-backdrop-filter: blur(4px) saturate(122%);
  contain: paint;
  will-change: transform, opacity;
  transition:
    border-color 900ms var(--ease-liquid),
    background 900ms var(--ease-liquid),
    box-shadow 900ms var(--ease-liquid),
    transform 900ms var(--ease-liquid);
}

.hero-copy::before {
  position: absolute;
  inset: -24%;
  z-index: 1;
  border-radius: inherit;
  content: "";
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(120deg, transparent 28%, rgba(255, 255, 255, 0.12) 47%, transparent 68%);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-8%, 8%, 0) rotate(2deg);
  transition:
    opacity 780ms var(--ease-liquid),
    transform 1100ms var(--ease-liquid);
}

.hero-copy::after {
  position: absolute;
  inset: 1px;
  z-index: 1;
  border-radius: calc(var(--radius-lg) - 1px);
  content: "";
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 42%, rgba(255, 255, 255, 0.02));
  opacity: 0.62;
  pointer-events: none;
  animation: glassSheen 8.5s ease-in-out 1.2s infinite alternate;
}

.hero-copy > * {
  position: relative;
  z-index: 2;
}

.hero-copy:hover,
.hero-copy:focus-within,
.hero-copy.is-hovered {
  border-color: color-mix(in srgb, var(--glass-stroke) 86%, var(--line));
  background:
    var(--glass-highlight),
    color-mix(in srgb, var(--glass-strong) 74%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 28px 72px rgba(5, 12, 27, 0.18);
  transform: translateY(-8px) scale(1.006);
}

.hero-copy:hover::before,
.hero-copy:focus-within::before,
.hero-copy.is-hovered::before {
  opacity: 1;
  transform: translate3d(5%, -5%, 0) rotate(0deg);
}

.hero-copy:hover::after,
.hero-copy:focus-within::after,
.hero-copy.is-hovered::after {
  opacity: 0.86;
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--muted);
}

h1 {
  max-width: 8.5ch;
  margin: 0;
  font-family: "BelweC AG", "Schiffbauer", Georgia, serif;
  font-size: clamp(4rem, 6.15vw, 6.65rem);
  font-weight: 500;
  font-feature-settings:
    "kern" 1,
    "liga" 1;
  letter-spacing: 0;
  line-height: 0.98;
  text-rendering: optimizeLegibility;
  text-shadow: 0 14px 34px rgba(3, 8, 18, 0.18);
  transition:
    color 760ms var(--ease-liquid),
    text-shadow 760ms var(--ease-liquid),
    transform 760ms var(--ease-liquid);
}

body[data-product="dark"] h1 {
  text-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
}

.product-info {
  display: grid;
  gap: 20px;
  margin-top: 24px;
  transition: transform 760ms var(--ease-liquid);
}

.size-block {
  display: grid;
  gap: 12px;
}

.section-label,
.product-price {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.size-grid {
  display: flex;
  gap: 10px;
}

.size-grid.has-error .size-chip {
  border-color: #d94444;
  box-shadow: 0 0 0 2px rgba(217, 68, 68, 0.15);
}

.size-chip {
  display: inline-flex;
  min-width: 58px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--line) 72%, var(--glass-stroke));
  border-radius: var(--radius-pill);
  background:
    var(--glass-highlight),
    color-mix(in srgb, var(--glass-strong) 76%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 10px 28px rgba(5, 12, 27, 0.08);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition:
    border-color 300ms var(--ease-liquid),
    box-shadow 300ms var(--ease-liquid),
    transform 300ms var(--ease-liquid),
    background 300ms var(--ease-liquid);
}

.size-chip:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--glass-stroke) 90%, var(--line));
}

.size-chip.is-selected {
  border-color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 0 2px color-mix(in srgb, var(--ink) 20%, transparent),
    0 10px 28px rgba(5, 12, 27, 0.12);
  transform: translateY(-2px);
}

.product-price {
  color: var(--ink);
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  transition: transform 760ms var(--ease-liquid);
}

.hero-copy:hover h1,
.hero-copy:focus-within h1,
.hero-copy.is-hovered h1 {
  transform: translateY(-4px);
}

.hero-copy:hover .product-info,
.hero-copy:focus-within .product-info,
.hero-copy.is-hovered .product-info {
  transform: translateY(-2px);
}

.hero-copy:hover .size-chip,
.hero-copy:focus-within .size-chip,
.hero-copy.is-hovered .size-chip {
  border-color: color-mix(in srgb, var(--glass-stroke) 90%, var(--line));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 14px 30px rgba(5, 12, 27, 0.1);
  transform: translateY(-2px);
}

.hero-copy:hover .product-price,
.hero-copy:focus-within .product-price,
.hero-copy.is-hovered .product-price {
  transform: translateY(-1px);
}

.product-actions {
  position: relative;
  display: flex;
  width: max-content;
  gap: 12px;
  margin-top: 26px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--glass-stroke) 70%, var(--line));
  border-radius: var(--radius-pill);
  background:
    var(--glass-highlight),
    var(--glass-strong);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -18px 38px rgba(255, 255, 255, 0.02),
    var(--glass-shadow);
  backdrop-filter: blur(5px) saturate(126%);
  -webkit-backdrop-filter: blur(5px) saturate(126%);
  contain: paint;
  transition:
    background 760ms var(--ease-liquid),
    border-color 760ms var(--ease-liquid),
    box-shadow 760ms var(--ease-liquid),
    transform 760ms var(--ease-liquid);
}

body[data-product="dark"] .product-actions {
  background:
    var(--glass-highlight),
    rgba(247, 247, 242, 0.035);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.18);
}

.product-actions::before {
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  content: "";
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.09), transparent 34%, rgba(255, 255, 255, 0.025));
  opacity: 0.32;
  pointer-events: none;
  animation: controlSheen 6.8s ease-in-out 900ms infinite alternate;
}

.product-option {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  min-height: 48px;
  place-items: center;
  border: 0;
  border-radius: var(--radius-pill);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.045);
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -12px 20px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition:
    background 520ms var(--ease-liquid),
    color 520ms var(--ease-liquid),
    transform 520ms var(--ease-liquid),
    box-shadow 520ms var(--ease-liquid);
}

.product-option:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -14px 24px rgba(0, 0, 0, 0.08),
    0 12px 26px rgba(5, 7, 12, 0.12);
}

.product-option + .product-option {
  border-left: 0;
}

.product-option.is-active {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.25)),
    rgba(255, 255, 255, 0.5);
}

body[data-product="dark"] .product-option.is-active {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.1);
}

.color-dot {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    inset 0 -9px 18px rgba(0, 0, 0, 0.12),
    0 8px 18px rgba(5, 7, 12, 0.12);
  transition:
    box-shadow 620ms var(--ease-liquid),
    transform 620ms var(--ease-liquid);
}

.product-option.is-active .color-dot {
  transform: scale(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -10px 18px rgba(0, 0, 0, 0.16),
    0 0 0 3px rgba(255, 255, 255, 0.9),
    0 0 0 5px color-mix(in srgb, var(--button-bg) 34%, transparent),
    0 12px 24px rgba(5, 7, 12, 0.16);
}

.color-dot-white {
  background:
    radial-gradient(circle at 35% 24%, #ffffff 0%, #f4f4f1 42%, #d8d8d2 100%);
}

.color-dot-navy {
  background:
    radial-gradient(circle at 32% 22%, #2f58a8 0%, #0a47ca 38%, #041a66 72%, #020817 100%);
}

.buy-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 22px;
}

.button-primary {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  color: var(--button-fg);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--button-bg) 78%, white), var(--button-bg)),
    var(--glass-bg);
  border: 1px solid color-mix(in srgb, var(--glass-stroke) 48%, var(--button-bg));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -16px 24px rgba(0, 0, 0, 0.13),
    0 18px 44px rgba(5, 12, 27, 0.18);
  overflow: hidden;
  backdrop-filter: blur(12px) saturate(145%);
  -webkit-backdrop-filter: blur(12px) saturate(145%);
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button-primary::after {
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  content: "";
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 42%, rgba(255, 255, 255, 0.05));
  pointer-events: none;
}

.button-primary:hover {
  color: var(--ink);
  background:
    var(--glass-highlight),
    var(--glass-bg);
  border-color: color-mix(in srgb, var(--glass-stroke) 70%, var(--line));
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -16px 26px rgba(255, 255, 255, 0.08),
    0 24px 54px rgba(5, 12, 27, 0.2);
}

.price {
  color: var(--muted);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.product-media {
  position: relative;
  min-height: clamp(350px, 57vh, 590px);
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--glass-stroke) 58%, var(--line));
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 115% at 22% 12%, rgba(255, 255, 255, 0.05), transparent 42%),
    var(--media-gradient),
    color-mix(in srgb, var(--glass-bg) 45%, transparent);
  background-size: 150% 150%;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -34px 70px rgba(255, 255, 255, 0.015),
    var(--glass-shadow);
  backdrop-filter: blur(4px) saturate(118%);
  -webkit-backdrop-filter: blur(4px) saturate(118%);
  transition:
    background 900ms var(--ease-liquid),
    border-color 900ms var(--ease-liquid),
    box-shadow 900ms var(--ease-liquid),
    transform 900ms var(--ease-liquid);
  contain: paint;
  transform: translateZ(0);
}

.product-media::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  content: "";
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.045), transparent 34%, rgba(255, 255, 255, 0.012) 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 48%);
  mix-blend-mode: screen;
  opacity: 0.14;
  pointer-events: none;
  animation: glassSheen 9.5s ease-in-out 1.1s infinite alternate;
}

.product-media::after {
  position: absolute;
  z-index: 1;
  inset: 1px;
  border-radius: calc(var(--radius-lg) - 1px);
  content: "";
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 42%, rgba(255, 255, 255, 0.015));
  opacity: 0.16;
  pointer-events: none;
}

.product-media:hover {
  transform: translateY(-3px);
}

/* White gallery — visible by default */
.white-gallery {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: var(--radius-md);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition:
    opacity 780ms var(--ease-liquid),
    transform 980ms var(--ease-liquid);
}

body[data-product="dark"] .white-gallery {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(1.01);
}

/* Dark gallery — hidden by default */
.dark-gallery {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: var(--radius-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(1.01);
  transition:
    opacity 780ms var(--ease-liquid),
    transform 980ms var(--ease-liquid);
}

body[data-product="dark"] .dark-gallery {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Show controls on hover for both galleries */
.white-gallery:hover .gallery-control,
.dark-gallery:hover .gallery-control {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.dark-gallery::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  content: "";
  background:
    linear-gradient(180deg, rgba(2, 4, 10, 0.12), transparent 28%, rgba(2, 4, 10, 0.18)),
    radial-gradient(circle at 50% 52%, transparent 0%, transparent 48%, rgba(2, 4, 10, 0.2) 100%);
  opacity: 0.36;
  pointer-events: none;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  filter: saturate(0.98) contrast(1.02);
  will-change: opacity, transform;
  transition:
    opacity 760ms var(--ease-liquid),
    transform 1400ms var(--ease-liquid),
    filter 760ms var(--ease-liquid);
}

.gallery-slide:nth-child(1) {
  object-fit: contain;
  object-position: center center;
  filter: none;
}

.gallery-slide:nth-child(2) {
  object-position: center 52%;
}

.gallery-slide:nth-child(3) {
  object-position: center 48%;
}

.gallery-slide:nth-child(4) {
  object-position: center 50%;
}

.gallery-slide.is-active {
  z-index: 2;
  opacity: 1;
  transform: scale(1);
  filter: saturate(1.03) contrast(1.03);
}

.gallery-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid color-mix(in srgb, var(--glass-stroke) 76%, var(--line));
  border-radius: var(--radius-pill);
  color: var(--ink);
  background:
    var(--glass-highlight),
    color-mix(in srgb, var(--glass-bg) 76%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 36px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  line-height: 1;
  opacity: 0;
  backdrop-filter: blur(6px) saturate(126%);
  -webkit-backdrop-filter: blur(6px) saturate(126%);
  transform: translateY(-50%) scale(0.94);
  transition:
    opacity 520ms var(--ease-liquid),
    transform 520ms var(--ease-liquid),
    background 520ms var(--ease-liquid),
    border-color 520ms var(--ease-liquid);
}

.gallery-control-prev {
  left: clamp(10px, 2vw, 18px);
}

.gallery-control-next {
  right: clamp(10px, 2vw, 18px);
}

/* Controls hidden by default, shown on hover (handled above) */

.gallery-control:hover,
.gallery-control:focus-visible {
  border-color: color-mix(in srgb, var(--glass-stroke) 96%, var(--line));
  background:
    var(--glass-highlight),
    color-mix(in srgb, var(--glass-strong) 82%, transparent);
  transform: translateY(-50%) scale(1.06);
}

.gallery-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 2.5vh, 22px);
  z-index: 4;
  display: flex;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--glass-stroke) 72%, var(--line));
  border-radius: var(--radius-pill);
  background:
    var(--glass-highlight),
    color-mix(in srgb, var(--glass-bg) 80%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 12px 30px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(6px) saturate(126%);
  -webkit-backdrop-filter: blur(6px) saturate(126%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition:
    opacity 560ms var(--ease-liquid),
    transform 560ms var(--ease-liquid);
}

/* Dots visible on both themes */
.white-gallery .gallery-dots,
.dark-gallery .gallery-dots {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.gallery-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.46);
  cursor: pointer;
  transition:
    background 460ms var(--ease-liquid),
    box-shadow 460ms var(--ease-liquid),
    transform 460ms var(--ease-liquid);
}

.gallery-dot.is-active {
  background: var(--ink);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.22),
    0 0 18px rgba(255, 255, 255, 0.28);
  transform: scale(1.18);
}

/* Gallery fades via transitions — no extra animation needed */

.order-button {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 3.4vh, 30px);
  z-index: 2;
  display: inline-flex;
  min-width: 228px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(24px, 3.2vw, 42px);
  border: 1px solid color-mix(in srgb, var(--glass-stroke) 76%, var(--line));
  border-radius: var(--radius-pill);
  color: var(--ink);
  background:
    var(--glass-highlight),
    rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -18px 34px rgba(255, 255, 255, 0.035),
    0 18px 48px rgba(5, 12, 27, 0.16);
  overflow: hidden;
  backdrop-filter: blur(7px) saturate(138%);
  -webkit-backdrop-filter: blur(7px) saturate(138%);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  transform: translateX(-50%) translateY(0);
  transition:
    background 640ms var(--ease-liquid),
    border-color 640ms var(--ease-liquid),
    box-shadow 640ms var(--ease-liquid),
    color 640ms var(--ease-liquid),
    transform 640ms var(--ease-liquid);
}

.order-button::before {
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  content: "";
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 38%, rgba(255, 255, 255, 0.05));
  opacity: 0.58;
  pointer-events: none;
}

.order-button::after {
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: -42%;
  width: 30%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  opacity: 0.48;
  pointer-events: none;
  transform: rotate(18deg);
  animation: orderSheen 4.8s ease-in-out 1.1s infinite;
}

.order-button:hover,
.order-button:focus-visible {
  border-color: color-mix(in srgb, var(--glass-stroke) 94%, var(--line));
  background:
    var(--glass-highlight),
    rgba(255, 255, 255, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -20px 38px rgba(255, 255, 255, 0.05),
    0 24px 58px rgba(5, 12, 27, 0.2);
  transform: translateX(-50%) translateY(-5px) scale(1.025);
}

.order-button:active {
  transform: translateX(-50%) translateY(-1px) scale(0.99);
}

.site-footer {
  display: grid;
  min-height: var(--footer-height);
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 16px;
  padding: 0 clamp(18px, 4vw, 58px);
  color: var(--muted);
  font-size: 0.66rem;
  background:
    var(--glass-highlight),
    var(--footer-bg);
  border-top: 1px solid color-mix(in srgb, var(--glass-stroke) 54%, var(--line));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 -18px 58px rgba(5, 12, 27, 0.08);
  backdrop-filter: blur(5px) saturate(122%);
  -webkit-backdrop-filter: blur(5px) saturate(122%);
  transition:
    background 900ms var(--ease-liquid),
    border-color 900ms var(--ease-liquid),
    color 900ms var(--ease-liquid);
}

.site-footer span:nth-child(2) {
  text-align: center;
}

.site-footer span:nth-child(3) {
  text-align: right;
}

.site-footer span {
  transition:
    opacity 420ms var(--ease-liquid),
    transform 420ms var(--ease-liquid);
}

.site-footer span:hover {
  opacity: 0.72;
  transform: translateY(-1px);
}

body:not(.is-ready) .topbar {
  animation: riseIn 1100ms var(--ease-liquid) both;
}

body:not(.is-ready) .social-links {
  animation: riseIn 1100ms var(--ease-liquid) 120ms both;
}

body:not(.is-ready) .hero-copy {
  animation: cardIn 1100ms var(--ease-liquid) 120ms both;
}

body:not(.is-ready) .eyebrow {
  animation: riseIn 1050ms var(--ease-liquid) 160ms both;
}

body:not(.is-ready) h1 {
  animation: titleIn 1250ms var(--ease-liquid) 220ms both;
}

body:not(.is-ready) .product-info {
  animation: riseIn 1150ms var(--ease-liquid) 360ms both;
}

body:not(.is-ready) .product-actions {
  animation: riseIn 1150ms var(--ease-liquid) 520ms both;
}

body:not(.is-ready) .buy-row {
  animation: riseIn 1150ms var(--ease-liquid) 640ms both;
}

body:not(.is-ready) .product-media {
  animation: mediaIn 1250ms var(--ease-liquid) 300ms both;
}

body:not(.is-ready) .site-footer {
  animation: footerIn 1100ms var(--ease-liquid) 720ms both;
}

body:not(.is-ready) .order-button {
  animation: orderIn 1100ms var(--ease-liquid) 820ms both;
}

@keyframes pageGradient {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 72% 44%;
  }
}

@keyframes mediaGradient {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 68% 50%;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mediaIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes footerIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes themeVeil {
  0% {
    opacity: 0;
  }

  42% {
    opacity: 0.46;
  }

  100% {
    opacity: 0;
  }
}

@keyframes panelSwitch {
  0% {
    opacity: 0.68;
    transform: translateY(8px) scale(0.996);
  }

  58% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes productPulse {
  0% {
    opacity: 0.18;
    transform: translateY(10px) scale(1.02);
  }

  54% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1.035);
  }
}

/* Smooth transitions handle the switch — no extra animations */

/* Text transitions handled by natural CSS transitions */

@keyframes switchText {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  62% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ambientGlow {
  from {
    opacity: 0.76;
    transform: translate3d(-1.2%, -0.6%, 0) scale(1);
  }

  to {
    opacity: 1;
    transform: translate3d(1.4%, 0.8%, 0) scale(1.025);
  }
}

@keyframes glassSheen {
  from {
    opacity: 0.22;
    transform: translate3d(-1.4%, -1.2%, 0);
  }

  to {
    opacity: 0.72;
    transform: translate3d(1.8%, 1.4%, 0);
  }
}

@keyframes controlSheen {
  from {
    opacity: 0.18;
    transform: translateX(-8%);
  }

  to {
    opacity: 0.46;
    transform: translateX(8%);
  }
}

@keyframes orderSheen {
  0%,
  42% {
    left: -42%;
  }

  72%,
  100% {
    left: 116%;
  }
}

@keyframes orderIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes softFloat {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, -8px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 900px) {
  :root {
    --hero-position: 40% -3vh;
    --hero-bg-width: 158vh;
    --footer-height: 38px;
  }

  body[data-product="dark"] {
    --hero-position: 43% -5vh;
    --hero-bg-width: 158vh;
    --footer-height: 38px;
  }

  .site-shell,
  .hero {
    min-height: auto;
  }

  .hero {
    background-position:
      center,
      center,
      var(--hero-position);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 30px;
  }

  .hero-copy {
    max-width: 680px;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(3.6rem, 14vw, 7.2rem);
  }

  .product-media {
    min-height: clamp(360px, 62vw, 560px);
    order: -1;
  }
}

@media (max-width: 560px) {
  :root {
    --hero-position: 36% -3vh;
    --hero-bg-width: 154vh;
    --footer-height: 36px;
  }

  body[data-product="dark"] {
    --hero-position: 42% -4vh;
    --hero-bg-width: 154vh;
    --footer-height: 36px;
  }

  .hero {
    padding: 20px 16px 22px;
    background-position:
      center,
      center,
      var(--hero-position);
  }

  .topbar {
    align-items: flex-start;
  }

  .social-links {
    flex-shrink: 0;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5.4rem);
  }

  .hero-text {
    margin-top: 22px;
  }

  .product-actions {
    width: max-content;
  }

  .buy-row {
    justify-content: space-between;
  }

  .button-primary {
    min-width: 170px;
  }

  .site-footer {
    min-height: var(--footer-height);
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-block: 0;
    font-size: 0.56rem;
  }

  .site-footer span,
  .site-footer span:nth-child(2),
  .site-footer span:nth-child(3) {
    text-align: center;
  }

  .site-footer span:first-child {
    text-align: left;
  }

  .site-footer span:nth-child(3) {
    text-align: right;
  }
}

/* ─────────────────────────────────────────────
   ORDER MODAL
   ───────────────────────────────────────────── */

.order-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  background: rgba(5, 7, 12, 0.32);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  opacity: 0;
  visibility: hidden;
  overscroll-behavior: contain;
  transition:
    opacity 420ms var(--ease-liquid),
    visibility 0ms 420ms;
}

.order-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 420ms var(--ease-liquid),
    visibility 0ms 0ms;
}

.order-modal {
  position: relative;
  width: min(540px, 100%);
  max-height: calc(100dvh - 40px);
  max-height: calc(100dvh - max(40px, env(safe-area-inset-top) + env(safe-area-inset-bottom)));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 32px 80px rgba(5, 12, 27, 0.18),
    0 8px 24px rgba(5, 12, 27, 0.08);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition:
    transform 520ms var(--ease-liquid),
    opacity 420ms var(--ease-liquid);
}

body[data-product="dark"] .order-modal {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(18, 26, 48, 0.82);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 32px 80px rgba(0, 0, 0, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.2);
}

.order-modal-overlay.is-open .order-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* No pseudo-element glow — keep it clean */
.order-modal::before,
.order-modal::after {
  display: none;
}

/* Close button */
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(5, 7, 12, 0.1);
  border-radius: var(--radius-pill);
  background: rgba(5, 7, 12, 0.05);
  color: rgba(5, 7, 12, 0.5);
  cursor: pointer;
  transition:
    background 300ms var(--ease-liquid),
    color 300ms var(--ease-liquid),
    transform 300ms var(--ease-liquid);
}

body[data-product="dark"] .modal-close {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(247, 247, 242, 0.5);
}

.modal-close svg {
  width: 16px;
  height: 16px;
}

.modal-close:hover {
  background: rgba(5, 7, 12, 0.1);
  color: rgba(5, 7, 12, 0.8);
  transform: scale(1.06);
}

body[data-product="dark"] .modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(247, 247, 242, 0.8);
}

/* Modal header */
.modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.modal-brand {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(5, 7, 12, 0.36);
  margin-bottom: 6px;
}

body[data-product="dark"] .modal-brand {
  color: rgba(247, 247, 242, 0.4);
}

.modal-heading {
  margin: 0;
  font-family: "Schiffbauer", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
  color: #05070c;
}

body[data-product="dark"] .modal-heading {
  color: #f7f7f2;
}

/* ─── Form ─── */

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-section-title {
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(5, 7, 12, 0.4);
  padding-bottom: 2px;
}

body[data-product="dark"] .form-section-title {
  color: rgba(247, 247, 242, 0.42);
}

/* Grid rows */
.form-row {
  display: grid;
  gap: 10px;
}

.form-row-2 {
  grid-template-columns: 1fr 1.5fr;
}

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

.form-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-field-label {
  font-size: 0.74rem;
  font-weight: 650;
  color: rgba(5, 7, 12, 0.55);
  letter-spacing: 0.01em;
}

body[data-product="dark"] .form-field-label {
  color: rgba(247, 247, 242, 0.55);
}

/* Inputs */
.form-input {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid rgba(5, 7, 12, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  color: #05070c;
  /* 16px prevents iOS Safari auto-zoom on focus */
  font-size: 16px;
  font-family: inherit;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 2px 8px rgba(5, 12, 27, 0.04);
  transition:
    border-color 300ms var(--ease-liquid),
    box-shadow 300ms var(--ease-liquid),
    background 300ms var(--ease-liquid);
}

body[data-product="dark"] .form-input {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #f7f7f2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.form-input::placeholder {
  color: rgba(5, 7, 12, 0.28);
}

body[data-product="dark"] .form-input::placeholder {
  color: rgba(247, 247, 242, 0.26);
}

.form-input:focus {
  border-color: rgba(5, 7, 12, 0.3);
  box-shadow:
    0 0 0 3px rgba(5, 7, 12, 0.06),
    0 4px 12px rgba(5, 12, 27, 0.06);
  background: rgba(255, 255, 255, 0.95);
}

body[data-product="dark"] .form-input:focus {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.1);
}

.form-input.has-error {
  border-color: #d94444;
  box-shadow: 0 0 0 3px rgba(217, 68, 68, 0.1);
}

.cdek-options {
  display: none;
  max-height: 178px;
  gap: 6px;
  overflow: auto;
  padding: 6px;
  border: 1px solid rgba(5, 7, 12, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 12px 30px rgba(5, 12, 27, 0.1);
  backdrop-filter: blur(10px) saturate(132%);
  -webkit-backdrop-filter: blur(10px) saturate(132%);
}

.cdek-options.is-visible {
  display: grid;
}

body[data-product="dark"] .cdek-options {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(12, 17, 31, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 12px 30px rgba(0, 0, 0, 0.18);
}

.cdek-option {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  color: #05070c;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition:
    background 240ms var(--ease-liquid),
    transform 240ms var(--ease-liquid);
}

.cdek-option:hover {
  background: rgba(255, 255, 255, 0.78);
  transform: translateY(-1px);
}

body[data-product="dark"] .cdek-option {
  color: #f7f7f2;
  background: rgba(255, 255, 255, 0.06);
}

body[data-product="dark"] .cdek-option:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cdek-option-title {
  font-size: 0.82rem;
  font-weight: 750;
}

.cdek-option-meta {
  color: rgba(5, 7, 12, 0.52);
  font-size: 0.72rem;
}

body[data-product="dark"] .cdek-option-meta {
  color: rgba(247, 247, 242, 0.5);
}

.delivery-summary {
  margin: 2px 0 0;
  color: rgba(5, 7, 12, 0.56);
  font-size: 0.76rem;
  line-height: 1.35;
}

body[data-product="dark"] .delivery-summary {
  color: rgba(247, 247, 242, 0.56);
}

.delivery-summary.is-ready {
  color: #0c6b46;
}

body[data-product="dark"] .delivery-summary.is-ready {
  color: #9ce0bf;
}

/* Submit button */
.modal-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  margin-top: 6px;
  padding: 0 24px;
  border: none;
  border-radius: var(--radius-pill);
  background: #05070c;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  font-family: inherit;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 10px 28px rgba(5, 7, 12, 0.18),
    0 2px 6px rgba(5, 7, 12, 0.08);
  transition:
    background 300ms var(--ease-liquid),
    transform 300ms var(--ease-liquid),
    box-shadow 300ms var(--ease-liquid);
}

body[data-product="dark"] .modal-submit {
  background: #f7f7f2;
  color: #05070c;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.3),
    0 2px 6px rgba(0, 0, 0, 0.15);
}

.modal-submit:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 36px rgba(5, 7, 12, 0.22),
    0 4px 10px rgba(5, 7, 12, 0.1);
}

.modal-submit:active {
  transform: translateY(0) scale(0.99);
}

/* Success screen */
.form-success {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: calc(var(--radius-lg) - 1px);
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
  transition:
    opacity 460ms var(--ease-liquid),
    transform 560ms var(--ease-liquid);
}

body[data-product="dark"] .form-success {
  background: rgba(18, 26, 48, 0.92);
}

.form-success.is-visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.success-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
  color: #05070c;
}

body[data-product="dark"] .success-icon {
  color: #f7f7f2;
}

.success-icon svg {
  width: 100%;
  height: 100%;
}

.check-path {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}

.form-success.is-visible .check-path {
  animation: drawCheck 600ms var(--ease-liquid) 280ms forwards;
}

@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}

.success-title {
  margin: 0 0 6px;
  font-family: "Schiffbauer", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 500;
  text-align: center;
  color: #05070c;
}

body[data-product="dark"] .success-title {
  color: #f7f7f2;
}

.success-text {
  margin: 0 0 22px;
  color: rgba(5, 7, 12, 0.5);
  font-size: 0.86rem;
  text-align: center;
  line-height: 1.5;
}

body[data-product="dark"] .success-text {
  color: rgba(247, 247, 242, 0.5);
}

.modal-btn-done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 32px;
  border: none;
  border-radius: var(--radius-pill);
  background: #05070c;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  font-family: inherit;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(5, 7, 12, 0.16);
  transition:
    transform 300ms var(--ease-liquid),
    box-shadow 300ms var(--ease-liquid);
}

body[data-product="dark"] .modal-btn-done {
  background: #f7f7f2;
  color: #05070c;
}

.modal-btn-done:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(5, 7, 12, 0.22);
}

/* Body lock */
body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  touch-action: none;
  overscroll-behavior: none;
}

.order-button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* ─── Modal responsive ───────────────────── */

@media (max-width: 560px) {
  .order-modal-overlay {
    padding: 10px;
    align-items: flex-end;
  }

  .order-modal {
    padding: 24px 18px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    border-radius: 24px 24px 24px 24px;
    max-height: calc(100dvh - 20px);
  }

  .modal-heading {
    font-size: 1.3rem;
  }

  .modal-header {
    margin-bottom: 20px;
  }

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

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

  .modal-submit {
    min-height: 48px;
  }

  .modal-close {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 380px) {
  .form-row-3 {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────────────────────────
   INTRO SCREEN
   ───────────────────────────────────────────── */

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #05070c;
  transition: opacity 800ms var(--ease-liquid), visibility 0ms 800ms;
}

.intro-overlay.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-logo {
  font-family: "BelweC AG", "Schiffbauer", Georgia, serif;
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  font-weight: 500;
  color: #f7f7f2;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(20px);
  animation: introFadeUp 1000ms var(--ease-liquid) 300ms forwards;
}

.intro-tagline {
  font-family: "Schiffbauer", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(0.7rem, 1.8vw, 0.9rem);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 247, 242, 0.35);
  opacity: 0;
  transform: translateY(12px);
  animation: introFadeUp 900ms var(--ease-liquid) 700ms forwards;
}

.intro-line {
  width: 48px;
  height: 1px;
  background: rgba(247, 247, 242, 0.15);
  opacity: 0;
  transform: scaleX(0);
  animation: introLineGrow 800ms var(--ease-liquid) 1100ms forwards;
}

@keyframes introFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introLineGrow {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* Site reveal after intro — per element */
.intro-hidden {
  opacity: 0 !important;
  transform: translateY(40px) !important;
}

.intro-reveal {
  animation: introRevealUp 900ms var(--ease-liquid) forwards;
}

@keyframes introRevealUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 560px) {
  .gallery-control-prev {
    left: clamp(6px, 1.5vw, 12px);
  }
  .gallery-control-next {
    right: clamp(6px, 1.5vw, 12px);
  }
}
