:root {
  --bg: #050505;
  --surface: #0b0b0b;
  --surface-2: #121212;
  --border: rgba(255, 255, 255, 0.085);
  --border-strong: rgba(255, 255, 255, 0.2);
  --text: #f4f4f0;
  --text-muted: #8e8e88;
  --sviests-red: #ff1414;
  --sviests-red-hover: #e60f0f;
  --accent: #e11d2e;
  --success: #22c55e;
  --font-hero: 'Archivo Black', 'Space Grotesk', -apple-system, sans-serif;
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 3px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

.container {
  width: min(1280px, 100% - 40px);
  margin: 0 auto;
}

/* =========================================================
   Floating Minimal Editorial Header (Sviests Inspired)
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0));
  border-bottom: 1px solid transparent;
  transition: background 0.28s ease, border-color 0.28s ease, backdrop-filter 0.28s ease;
}

.site-header.scrolled {
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.header-inner {
  width: min(1440px, 100% - 48px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 20px;
}

.brand-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}

.brand-dot {
  color: var(--sviests-red);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 7px 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 244, 240, 0.68);
  border-radius: 2px;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn,
.cart-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  background: rgba(5, 5, 5, 0.42);
  backdrop-filter: blur(8px);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.icon-btn:hover,
.cart-trigger:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.cart-count {
  background: var(--sviests-red);
  color: #050505;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Search Bar */
.search-bar-wrap {
  border-top: 1px solid var(--border);
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(14px);
  padding: 14px 0;
}

.search-bar-inner {
  display: flex;
  gap: 10px;
}

.search-bar-inner input {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 11px 16px;
  font-size: 14px;
}

.search-bar-inner input:focus {
  outline: none;
  border-color: var(--border-strong);
}

/* =========================================================
   Full-Bleed Interactive Loft Wardrobe Hero
   ========================================================= */
.hero-stage {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  max-height: 1040px;
  overflow: hidden;
  background: #050505;
  border-bottom: 1px solid var(--border);
  container-type: size;
}

/* Single aspect-locked 1376x768 loft scene so hanger hooks stay pixel-locked to the steel rail at every screen size */
.rack-scene {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: max(100cqw, calc(100cqh * 1376 / 768));
  height: max(100cqh, calc(100cqw * 768 / 1376));
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: grab;
}

.rack-scene.is-dragging {
  cursor: grabbing;
}

.rack-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  pointer-events: none;
  filter: contrast(1.04) saturate(0.96);
}

.rack-shirts {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.rack-shirt {
  --hx: 49.9%;
  --hy: 6.1%;
  --s: 1;
  --rot: 0deg;
  --br: 0.94;
  --sat: 0.96;
  --blur: 0px;
  --drag-x: 0px;
  --drag-y: 0px;
  --drag-rot: 0deg;

  position: absolute;
  left: var(--hx);
  top: var(--hy);
  height: 87.5%;
  aspect-ratio: 900 / 1140;
  transform-origin: 50% 2.8%;
  transform: translate(calc(-50% + var(--drag-x)), calc(-2.8% + var(--drag-y))) scale(var(--s)) rotate(calc(var(--rot) + var(--drag-rot)));
  filter: brightness(var(--br)) contrast(1.04) saturate(var(--sat)) blur(var(--blur)) drop-shadow(-14px 20px 24px rgba(0, 0, 0, 0.72));
  opacity: 1;
  will-change: left, top, transform, filter, opacity;
  transition:
    left 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.rack-scene.is-dragging .rack-shirt {
  transition: none;
}

.rack-shirt.is-teleporting {
  transition: none !important;
}

.rack-shirt-inner {
  width: 100%;
  height: 100%;
  transform-origin: 50% 2.8%;
}

.rack-shirt.swing-forward .rack-shirt-inner {
  animation: hangerSwingForward 0.92s cubic-bezier(0.22, 1, 0.36, 1);
}

.rack-shirt.swing-back .rack-shirt-inner {
  animation: hangerSwingBack 0.92s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes hangerSwingForward {
  0% { transform: rotate(2.6deg); }
  38% { transform: rotate(-1.5deg); }
  68% { transform: rotate(0.55deg); }
  100% { transform: rotate(0deg); }
}

@keyframes hangerSwingBack {
  0% { transform: rotate(-2.8deg); }
  38% { transform: rotate(1.4deg); }
  68% { transform: rotate(-0.5deg); }
  100% { transform: rotate(0deg); }
}

.rack-shirt img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
}

/* Slot geometry locked to diagonal brushed-steel bar:
   P(t) = (45.4% + t * 18.8%, 1.8% + t * 17.8%) */
.rack-shirt[data-slot="0"] {
  --hx: 49.9%;
  --hy: 6.1%;
  --s: 1;
  --rot: 0deg;
  --br: 0.94;
  --sat: 0.96;
  --blur: 0px;
  z-index: 20;
  cursor: pointer;
}

.rack-shirt[data-slot="0"][data-tone="light"] {
  --br: 0.82;
  --sat: 0.92;
}

.rack-shirt[data-slot="1"] {
  --hx: 53.7%;
  --hy: 9.7%;
  --s: 0.90;
  --rot: 0.6deg;
  --br: 0.64;
  --sat: 0.88;
  --blur: 0.3px;
  z-index: 18;
  cursor: pointer;
}

.rack-shirt[data-slot="1"][data-tone="light"] {
  --br: 0.56;
}

.rack-shirt[data-slot="1"]:hover {
  --hx: 54.4%;
  --br: 0.82;
  --rot: 1.4deg;
}

.rack-shirt[data-slot="2"] {
  --hx: 56.9%;
  --hy: 12.7%;
  --s: 0.81;
  --rot: 1deg;
  --br: 0.44;
  --sat: 0.84;
  --blur: 0.7px;
  z-index: 16;
  cursor: pointer;
}

.rack-shirt[data-slot="2"][data-tone="light"] {
  --br: 0.38;
}

.rack-shirt[data-slot="2"]:hover {
  --hx: 57.5%;
  --br: 0.62;
}

.rack-shirt[data-slot="3"] {
  --hx: 59.5%;
  --hy: 15.1%;
  --s: 0.73;
  --rot: 1.2deg;
  --br: 0.30;
  --sat: 0.80;
  --blur: 1.1px;
  z-index: 14;
  cursor: pointer;
}

.rack-shirt[data-slot="4"] {
  --hx: 61.6%;
  --hy: 17.1%;
  --s: 0.66;
  --rot: 1.4deg;
  --br: 0.21;
  --sat: 0.76;
  --blur: 1.4px;
  z-index: 12;
  pointer-events: none;
}

.rack-shirt[data-slot="5"] {
  --hx: 63.3%;
  --hy: 18.7%;
  --s: 0.60;
  --rot: 1.5deg;
  --br: 0.14;
  --sat: 0.72;
  --blur: 1.7px;
  opacity: 0.82;
  z-index: 10;
  pointer-events: none;
}

/* Front shirt gliding forward off the rail to reveal the shirt behind it */
.rack-shirt[data-slot="exit-front"] {
  --hx: 31%;
  --hy: -9%;
  --s: 1.18;
  --rot: -6.5deg;
  --br: 0.85;
  --blur: 2px;
  opacity: 0;
  z-index: 24;
  pointer-events: none;
}

/* Hidden spawn staging at the back of the rail before fading in */
.rack-shirt[data-slot="back-hidden"] {
  --hx: 64.5%;
  --hy: 19.8%;
  --s: 0.56;
  --rot: 1.5deg;
  --br: 0.12;
  opacity: 0;
  z-index: 8;
  pointer-events: none;
}

/* Ambient loft lighting pass unifying garments with the concrete wall spotlight & blue twilight windows */
.rack-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 36% 48% at 44% 34%, rgba(255, 206, 148, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 36% 62% at 76% 46%, rgba(44, 92, 160, 0.14) 0%, transparent 72%);
  mix-blend-mode: soft-light;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(5, 5, 5, 0.56) 0%, rgba(5, 5, 5, 0.04) 24%, rgba(5, 5, 5, 0.08) 62%, rgba(5, 5, 5, 0.88) 100%),
    radial-gradient(ellipse at center, transparent 48%, rgba(5, 5, 5, 0.55) 100%);
}

/* Top-Right Editorial Theme Controls & Rack Stepper */
.hero-controls {
  position: absolute;
  top: 94px;
  right: 28px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rack-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  padding: 5px 6px;
  background: rgba(5, 5, 5, 0.56);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}

.rack-arrow-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  color: rgba(244, 244, 240, 0.78);
  transition: background 0.18s ease, color 0.18s ease;
}

.rack-arrow-btn:hover {
  background: rgba(255, 20, 20, 0.22);
  color: #fff;
}

.rack-counter {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(244, 244, 240, 0.76);
}

.hero-dot {
  display: grid;
  grid-template-columns: 22px 62px 36px;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(5, 5, 5, 0.45);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(244, 244, 240, 0.52);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.hero-dot:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-dot.active {
  color: #fff;
  border-color: rgba(255, 20, 20, 0.55);
  background: rgba(5, 5, 5, 0.72);
}

.dot-num {
  color: var(--sviests-red);
  font-weight: 700;
}

.dot-label {
  text-align: left;
  font-weight: 600;
}

.dot-track {
  display: block;
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.dot-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--sviests-red);
}

.hero-dot.active .dot-bar {
  width: 100%;
  transition: width 0.4s ease;
}

/* Bottom Anchor Bar — Direct Sviests Screenshot 3 Composition */
.hero-bottom-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 0 28px 26px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.hero-headline-wrap {
  max-width: min(860px, 65vw);
}

.hero-micro-caption {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--sviests-red);
  margin-bottom: 6px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.hero-display-title {
  font-family: var(--font-hero);
  font-size: clamp(34px, 5.4vw, 84px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--sviests-red);
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.65);
  transition: opacity 0.25s ease;
}

.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

/* Sviests Signature Wide Vivid-Red Pill CTA Bar */
.hero-pill-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 310px;
  padding: 15px 40px;
  background: var(--sviests-red);
  color: #050505;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 12px 32px rgba(255, 20, 20, 0.28);
  transition: transform 0.16s ease, background 0.18s ease, box-shadow 0.2s ease;
}

.hero-pill-cta:hover {
  background: #ff2b2b;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(255, 20, 20, 0.42);
}

.hero-pill-cta:active {
  transform: translateY(0);
}

.hero-sub-link {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 244, 240, 0.62);
  padding-right: 4px;
  transition: color 0.18s ease;
}

.hero-sub-link:hover {
  color: #fff;
}

/* =========================================================
   Buttons (Global System)
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: var(--radius);
  transition: transform 0.14s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--sviests-red);
  color: #050505;
  font-weight: 700;
}

.btn-primary:hover {
  background: #ff2c2c;
}

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

.btn-outline:hover {
  border-color: #fff;
  background: #fff;
  color: #050505;
}

.btn-ghost {
  padding: 8px 14px;
  color: var(--text-muted);
  font-size: 13px;
}

.btn-ghost:hover {
  color: var(--text);
}

.btn-sm {
  padding: 11px 16px;
  font-size: 12px;
}

.btn-full {
  width: 100%;
}

/* =========================================================
   Minimal Architectural Bundle Spec Strip
   ========================================================= */
.bundle-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.bundle-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.bundle-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.bundle-index {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 3px 7px;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
}

.bundle-index.accent {
  border-color: rgba(255, 20, 20, 0.5);
  color: var(--sviests-red);
}

.bundle-label {
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.bundle-val {
  color: var(--text);
  font-weight: 600;
}

.bundle-val small {
  font-family: var(--font-body);
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 4px;
}

.bundle-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
}

/* =========================================================
   Shop / Editorial Product Catalog Grid
   ========================================================= */
.shop-section {
  padding: 92px 0;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}

.section-header.center {
  justify-content: center;
  text-align: center;
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--sviests-red);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.04;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  transition: all 0.18s ease;
}

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

.filter-pill.active {
  background: var(--text);
  color: #050505;
  border-color: var(--text);
  font-weight: 700;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.24s ease, transform 0.24s ease;
}

.product-card:hover {
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-4px);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 4.4;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.055), transparent 62%),
    linear-gradient(180deg, #101010 0%, #090909 100%);
  padding: 36px 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.product-media svg {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-media svg {
  transform: scale(1.04);
}

.card-index {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(244, 244, 240, 0.45);
}

.theme-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.product-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.25;
}

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

.price-group {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-now {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--text);
}

.price-was {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.swatch-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.swatch {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.swatch:hover {
  transform: scale(1.14);
}

.swatch.active {
  border-color: var(--sviests-red);
  box-shadow: 0 0 0 2px rgba(255, 20, 20, 0.3);
}

.empty-state {
  text-align: center;
  padding: 56px 20px;
  border: 1px dashed var(--border-strong);
  border-radius: 2px;
  color: var(--text-muted);
}

.empty-state p {
  margin-bottom: 18px;
}

/* =========================================================
   Architectural Spec Comparison Table
   ========================================================= */
.compare-section {
  padding: 88px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.compare-table-wrap {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow-x: auto;
  background: var(--bg);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 14px;
}

.compare-table th:not(:first-child),
.compare-table td:not(:first-child) {
  text-align: center;
  width: 170px;
}

.compare-table thead th {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--surface-2);
  color: var(--text-muted);
}

.compare-table .col-us {
  background: rgba(255, 255, 255, 0.025);
}

.compare-table thead .col-us {
  color: var(--text);
  border-bottom: 2px solid var(--sviests-red);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 20, 20, 0.4);
  color: var(--sviests-red);
  font-size: 13px;
  font-weight: 700;
}

.cross {
  color: rgba(255, 255, 255, 0.22);
  font-weight: 500;
}

/* =========================================================
   Contact / Drop Requests
   ========================================================= */
.contact-section {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.contact-desc {
  color: var(--text-muted);
  margin-top: 14px;
  max-width: 400px;
  font-size: 14px;
}

.contact-form,
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 13px 16px;
  font: inherit;
  font-size: 14px;
  transition: border-color 0.18s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--border-strong);
}

.form-status {
  font-size: 13px;
  color: var(--success);
  min-height: 18px;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--border);
  background: #040404;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.72fr 0.85fr 0.85fr 1.15fr;
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}

.footer-email-link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text);
  border-bottom: 1px solid rgba(255, 20, 20, 0.55);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-email-link:hover {
  color: var(--sviests-red);
  border-color: var(--sviests-red);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.footer-bottom-links a:hover {
  color: var(--text);
}

.footer-note {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 12px;
  max-width: 280px;
}

.site-footer h4 {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}

.site-footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.site-footer ul a:hover {
  color: var(--text);
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.payment-pills {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.12em;
}

/* =========================================================
   Quick-Shop Modal
   ========================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

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

.modal-dialog {
  position: relative;
  width: min(880px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  padding: 32px;
}

.modal-dialog.modal-sm {
  width: min(460px, 100%);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 2px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease;
}

.modal-close:hover {
  border-color: var(--border-strong);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.modal-preview {
  background: radial-gradient(circle at 50% 38%, #191919, #090909);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-drop {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sviests-red);
}

.modal-details h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 8px;
  line-height: 1.08;
}

.modal-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 16px;
}

.save-pill {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  border: 1px solid rgba(255, 20, 20, 0.45);
  color: var(--sviests-red);
  padding: 3px 8px;
  border-radius: 2px;
}

.modal-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.option-group {
  margin-bottom: 18px;
}

.option-group label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 9px;
}

.option-group label strong {
  color: var(--text);
}

.option-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-link {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: underline;
}

.size-row {
  display: flex;
  gap: 8px;
}

.size-btn {
  flex: 1;
  padding: 10px 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--bg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  transition: all 0.15s ease;
}

.size-btn:hover {
  border-color: var(--border-strong);
}

.size-btn.active {
  background: var(--text);
  color: #050505;
  border-color: var(--text);
}

.size-guide {
  margin-top: 10px;
  padding: 12px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
}

.spec-list {
  list-style: none;
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 18px 0 22px;
}

.spec-list li::before {
  content: "— ";
  color: var(--sviests-red);
  font-weight: 700;
}

/* =========================================================
   Slide-Over Cart Drawer
   ========================================================= */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(430px, 100%);
  z-index: 95;
  background: var(--surface);
  border-left: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
}

.cart-drawer[hidden],
.drawer-backdrop[hidden] {
  display: none;
}

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

.cart-header h2 {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.16em;
}

.shipping-progress {
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.shipping-progress strong {
  color: var(--text);
}

.progress-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 9px;
}

.progress-fill {
  height: 100%;
  background: var(--sviests-red);
  transition: width 0.25s ease;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 56px 16px;
  font-size: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.cart-thumb {
  width: 64px;
  height: 74px;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.cart-item-title {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cart-item-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin: 3px 0 10px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qty-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 2px;
}

.qty-box button {
  width: 28px;
  height: 26px;
  font-weight: 600;
}

.qty-box span {
  min-width: 24px;
  text-align: center;
  font-size: 12.5px;
}

.remove-btn {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: underline;
}

.cart-footer {
  padding: 18px 22px 22px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.cart-promo-hint {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 14px;
}

.cart-totals {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
  font-size: 13.5px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

.total-row.discount {
  color: var(--success);
}

.total-row.grand {
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.checkout-summary {
  margin: 16px 0;
  padding: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 13px;
  color: var(--text-muted);
}

.checkout-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.checkout-legal {
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
}

.checkout-legal a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkout-legal a:hover {
  color: var(--sviests-red);
}

.size-guide-more-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--sviests-red);
  padding-bottom: 1px;
}

.size-guide-more-link:hover {
  color: var(--sviests-red);
}

/* =========================================================
   Subpages (Policies, Size Guide, Help & FAQ)
   ========================================================= */
.site-header.subpage-header {
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.page-hero {
  padding: 132px 0 52px;
  background:
    radial-gradient(ellipse 60% 80% at 15% 0%, rgba(255, 20, 20, 0.08), transparent 65%),
    var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.page-breadcrumb a:hover {
  color: var(--text);
}

.page-title {
  font-family: var(--font-hero);
  font-size: clamp(32px, 4.8vw, 60px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text);
}

.page-subtitle {
  margin-top: 16px;
  max-width: 680px;
  color: #b4b4ac;
  font-size: 15.5px;
  line-height: 1.65;
}

.page-meta-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.page-meta-pill {
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--bg);
}

.page-meta-pill strong {
  color: var(--text);
}

.doc-section {
  padding: 64px 0 96px;
}

.doc-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.doc-toc {
  position: sticky;
  top: 98px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 20px;
}

.doc-toc-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sviests-red);
  margin-bottom: 14px;
}

.doc-toc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.doc-toc a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  transition: color 0.16s ease, transform 0.16s ease;
}

.doc-toc a:hover {
  color: var(--text);
  transform: translateX(3px);
}

.doc-toc-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.doc-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 32px;
  scroll-margin-top: 96px;
}

.doc-card h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}

.doc-card h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin: 20px 0 8px;
}

.doc-card p {
  color: #b8b8b0;
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.doc-card p:last-child {
  margin-bottom: 0;
}

.doc-card a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doc-card a:hover {
  color: var(--sviests-red);
}

.doc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 12px 0 16px;
  color: #b8b8b0;
  font-size: 14.5px;
  line-height: 1.65;
}

.doc-list li {
  padding-left: 18px;
  position: relative;
}

.doc-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--sviests-red);
  font-weight: 700;
}

.doc-list strong {
  color: var(--text);
}

.policy-callout {
  background: rgba(255, 20, 20, 0.06);
  border: 1px solid rgba(255, 20, 20, 0.32);
  border-radius: 2px;
  padding: 20px 22px;
}

.policy-callout strong {
  color: var(--text);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.summary-tile {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 20px;
}

.summary-tile-label {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sviests-red);
  margin-bottom: 6px;
}

.summary-tile-val {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.summary-tile p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Size Guide Specific */
.size-chart-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.unit-toggle {
  display: inline-flex;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg);
}

.unit-toggle button {
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: background 0.16s ease, color 0.16s ease;
}

.unit-toggle button.active {
  background: var(--sviests-red);
  color: #050505;
}

.size-table-wrap {
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow-x: auto;
  background: var(--bg);
}

.size-table {
  width: 100%;
  border-collapse: collapse;
}

.size-table th,
.size-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  font-size: 14px;
}

.size-table th:first-child,
.size-table td:first-child {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
}

.size-table thead th {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--surface-2);
  color: var(--text-muted);
}

.size-table tbody td {
  color: #d4d4cc;
}

.size-table tbody tr:last-child td {
  border-bottom: none;
}

.measure-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.measure-diagram {
  background: radial-gradient(circle at 50% 42%, #171717, #080808);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fit-finder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.fit-field label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.fit-field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
}

.fit-field select:focus {
  outline: none;
  border-color: var(--sviests-red);
}

.fit-result-box {
  margin-top: 18px;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid rgba(255, 20, 20, 0.45);
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.fit-rec-size {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sviests-red);
  color: #050505;
  font-family: var(--font-hero);
  font-size: 22px;
  border-radius: 2px;
}

.fit-rec-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 3px;
}

.fit-rec-meta p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.care-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 16px 18px;
}

.care-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 5px;
}

.care-item span {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text);
  transition: background 0.16s ease;
}

.faq-trigger:hover {
  background: rgba(255, 255, 255, 0.025);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  color: var(--sviests-red);
  font-size: 15px;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--sviests-red);
  border-color: var(--sviests-red);
  color: #050505;
}

.faq-panel {
  padding: 0 24px 22px;
  color: #b8b8b0;
  font-size: 14.5px;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 16px;
}

.faq-panel[hidden] {
  display: none;
}

.faq-panel a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-panel a:hover {
  color: var(--sviests-red);
}

.help-cta-bar {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.help-cta-bar h3 {
  font-family: var(--font-display);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.help-cta-bar p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: #050505;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 120;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
  .contact-grid,
  .modal-grid {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .doc-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .doc-toc {
    position: static;
  }
  .summary-grid,
  .fit-finder-grid,
  .measure-grid {
    grid-template-columns: 1fr;
  }
  .bundle-divider {
    display: none;
  }
  .hero-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 0 22px 24px;
  }
  .hero-headline-wrap {
    max-width: 100%;
  }
  .hero-cta-wrap {
    width: 100%;
    align-items: stretch;
  }
  .hero-pill-cta {
    min-width: 0;
    width: 100%;
  }
  .hero-sub-link {
    text-align: center;
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  .header-inner {
    width: calc(100% - 28px);
    height: 64px;
  }
  .brand-logo {
    font-size: 16px;
  }
  .rack-scene {
    transform: translate(-53%, -50%);
  }
  .hero-controls {
    top: 74px;
    left: 14px;
    right: 14px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }
  .rack-nav-bar {
    margin-top: 0;
    margin-left: auto;
    padding: 3px 4px;
    gap: 4px;
  }
  .rack-arrow-btn {
    width: 24px;
    height: 24px;
  }
  .hero-dot {
    grid-template-columns: auto;
    padding: 5px 9px;
  }
  .dot-label,
  .dot-track {
    display: none;
  }
  .hero-bottom-bar {
    padding: 0 16px 20px;
    gap: 14px;
  }
  .hero-display-title {
    font-size: clamp(25px, 7.6vw, 34px);
    line-height: 0.94;
  }
  .hero-pill-cta {
    padding: 13px 20px;
    font-size: 12px;
  }
  .product-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
  .shop-section,
  .compare-section,
  .contact-section {
    padding: 64px 0;
  }
  .page-hero {
    padding: 104px 0 38px;
  }
  .doc-card {
    padding: 22px 18px;
  }
  .care-grid {
    grid-template-columns: 1fr;
  }
  .fit-result-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rack-shirt,
  .rack-shirt-inner {
    transition: none !important;
    animation: none !important;
  }
}
