/* DIMAR — bold, dark, energetic: black + orange
   System:
   - Font: Space Grotesk + Archivo + JetBrains Mono (swappable via Tweaks)
   - Base: deep charcoal background, warm off-white text
   - Accent: --gs-accent (default warm orange #ff6b2b)
   - Support: --gs-ink, --gs-muted, --gs-paper, --gs-line
*/

:root {
  --gs-accent: #ff6b2b;
  --gs-accent-2: #ff9d3c;
  --gs-accent-deep: #e2480d;
  --gs-accent-ink: #ffffff;
  --gs-accent-rgb: 255, 107, 43;
  --gs-grad: linear-gradient(135deg, var(--gs-accent-2) 0%, var(--gs-accent) 45%, var(--gs-accent-deep) 100%);
  --gs-glow: 0 12px 36px rgba(var(--gs-accent-rgb), .35);
  --gs-ink: #f0ede8;
  --gs-muted: #9a958d;
  --gs-line: #2a2a2a;
  --gs-paper: #181818;
  --gs-bg: #0c0c0c;
  --gs-fg: #f2efe9;

  --gs-font-display: 'Space Grotesk', system-ui, sans-serif;
  --gs-font-body: 'Archivo', system-ui, sans-serif;
  --gs-font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --gs-radius: 4px;
  --gs-shadow: 0 8px 32px rgba(0,0,0,.4);
  --gs-shadow-lg: 0 24px 64px rgba(0,0,0,.6);
}

[data-theme="light"] {
  --gs-accent: #ff6b2b;
  --gs-accent-ink: #ffffff;
  --gs-ink: #0a0a0a;
  --gs-muted: #6b6b6b;
  --gs-line: #e5e5e5;
  --gs-paper: #f5f5f0;
  --gs-bg: #ffffff;
  --gs-fg: #0a0a0a;
  --gs-shadow: 0 8px 32px rgba(0,0,0,.08);
  --gs-shadow-lg: 0 24px 64px rgba(0,0,0,.14);
}

[data-theme="dark"] {
  --gs-ink: #f0ede8;
  --gs-muted: #8a8a8a;
  --gs-line: #2d2d2d;
  --gs-paper: #1a1a1a;
  --gs-bg: #0f0f0f;
  --gs-fg: #f0ede8;
}

[data-accent="lime"] { --gs-accent: #ffb13c; --gs-accent-2: #ffd07a; --gs-accent-deep: #e8830c; --gs-accent-rgb: 255, 177, 60; --gs-accent-ink: #1a1208; }
[data-accent="orange"] { --gs-accent: #ff6b2b; --gs-accent-2: #ff9d3c; --gs-accent-deep: #e2480d; --gs-accent-rgb: 255, 107, 43; --gs-accent-ink: #ffffff; }
[data-accent="electric"] { --gs-accent: #ff8a3d; --gs-accent-2: #ffb56b; --gs-accent-deep: #f2600f; --gs-accent-rgb: 255, 138, 61; --gs-accent-ink: #1a1208; }
[data-accent="red"] { --gs-accent: #ff3d1a; --gs-accent-2: #ff7a4d; --gs-accent-deep: #cc2400; --gs-accent-rgb: 255, 61, 26; --gs-accent-ink: #fff; }

[data-heading="serif"] { --gs-font-display: 'Fraunces', 'Times New Roman', serif; }
[data-heading="display"] { --gs-font-display: 'Syne', system-ui, sans-serif; }
[data-heading="sans"] { --gs-font-display: 'Space Grotesk', system-ui, sans-serif; }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--gs-font-body);
  background: var(--gs-bg);
  color: var(--gs-fg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.gs-container { max-width: 1360px; margin: 0 auto; padding: 0 32px; }

/* ====== HEADER ====== */
.gs-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .25s, border-color .25s, color .25s;
  border-bottom: 1px solid transparent;
}
.gs-header.is-solid {
  background: rgba(15,15,15,.92);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--gs-line);
  color: var(--gs-fg);
}
[data-theme="light"] .gs-header.is-solid { background: rgba(255,255,255,.92); }
.gs-header.is-transparent { color: #fff; }
.gs-header-inner {
  max-width: 1360px; margin: 0 auto; padding: 0 32px;
  height: 72px; display: flex; align-items: center; gap: 32px;
}
.gs-logo { display: flex; align-items: center; gap: 10px; font-family: var(--gs-font-display); }
.gs-logo-mark { color: currentColor; }
.gs-logo-text { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.gs-logo-text span { font-weight: 300; }
.gs-logo-text-lg { font-size: 36px; }

.gs-nav { display: flex; gap: 28px; margin-left: 40px; flex: 1; }
.gs-nav a {
  font-size: 14px; font-weight: 500; position: relative; padding: 6px 0;
  transition: opacity .2s;
}
.gs-nav a:hover { opacity: .65; }
.gs-nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gs-accent);
}

.gs-header-right { display: flex; align-items: center; gap: 12px; }
.gs-lang { position: relative; }
.gs-lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid currentColor;
  padding: 8px 12px; font-size: 12px; font-weight: 600; color: inherit;
  font-family: var(--gs-font-mono); border-radius: var(--gs-radius);
  opacity: .8;
}
.gs-lang-btn:hover { opacity: 1; }
.gs-lang-pop {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 148px;
  background: var(--gs-bg);
  border: 1px solid var(--gs-line);
  border-radius: var(--gs-radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.06);
  overflow: hidden;
  z-index: 200;
}
/* transparent bridge so mouse can move from button to popup without it closing */
.gs-lang-pop::before {
  content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px;
}
.gs-lang-pop button {
  display: flex; align-items: center; gap: 10px;
  width: 100%; text-align: left; padding: 10px 14px;
  background: none; border: 0; border-bottom: 1px solid var(--gs-line);
  font-size: 13px; font-weight: 500; color: var(--gs-fg);
  transition: background .15s;
  cursor: pointer;
}
.gs-lang-pop button:last-child { border-bottom: 0; }
.gs-lang-pop button::before {
  content: attr(data-flag);
  font-size: 16px; line-height: 1; flex-shrink: 0;
}
.gs-lang-pop button:hover { background: var(--gs-line); }
.gs-lang-pop button.active {
  background: var(--gs-accent); color: var(--gs-accent-ink);
}
.gs-lang-pop button.active:hover { background: var(--gs-accent); }

/* Cart icon with a count badge (no "order a project" pill) — same on desktop
   and mobile. */
.gs-inquiry-pill {
  position: relative;
  display: flex; align-items: center;
  background: none; color: inherit; border: 0;
  padding: 6px; border-radius: 0;
  transition: opacity .2s;
}
.gs-inquiry-pill:hover { opacity: .65; }
.gs-pill-lbl { display: none; }
.gs-cart-ico { display: block; }
.gs-pill-dot {
  position: absolute; top: -1px; right: -5px;
  width: 18px; height: 18px; min-width: 18px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gs-accent); color: var(--gs-accent-ink);
  border-radius: 50%; font-family: var(--gs-font-mono);
  font-size: 11px; font-weight: 700;
  border: 1.5px solid var(--gs-bg);
}
.gs-burger {
  display: none; background: transparent; border: 0; padding: 8px;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  border-radius: 50%;
  margin-left: 4px; margin-right: -4px; /* push slightly toward the right edge */
  transition: background .2s, box-shadow .2s;
}
.gs-burger span {
  display: block; width: 22px; height: 2.5px;
  background: currentColor; border-radius: 2px;
  transition: transform .2s;
  /* Drop shadow keeps the bars readable on any photo/video background */
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.55));
}
.gs-header.is-transparent .gs-burger span { background: #fff; }
/* Menu open → dark translucent overlay behind, so the burger/X must be white */
.gs-header.is-open .gs-burger span { background: #fff; }
.gs-burger:hover { background: rgba(0,0,0,.5); }
.gs-burger span.open:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gs-burger span.open:nth-child(2) { opacity: 0; }
.gs-burger span.open:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.gs-mobile-menu {
  position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(15, 15, 15, .72);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  z-index: 99; overflow-y: auto;
  opacity: 0; pointer-events: none; transform: translateY(-10px);
  transition: opacity .38s ease, transform .38s ease;
}
.gs-mobile-menu.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.gs-mm-inner { padding: 32px; display: flex; flex-direction: column; gap: 4px; }
.gs-mm-inner a { display: flex; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--gs-line); font-size: 28px; font-family: var(--gs-font-display); font-weight: 600; }
.gs-mm-inner a.is-active { color: var(--gs-muted); }
/* Staggered fade/slide of the menu rows once the panel opens */
.gs-mm-inner > * { opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .4s ease; }
.gs-mobile-menu.is-open .gs-mm-inner > * { opacity: 1; transform: translateY(0); }
.gs-mobile-menu.is-open .gs-mm-inner > :nth-child(1) { transition-delay: .06s; }
.gs-mobile-menu.is-open .gs-mm-inner > :nth-child(2) { transition-delay: .11s; }
.gs-mobile-menu.is-open .gs-mm-inner > :nth-child(3) { transition-delay: .16s; }
.gs-mobile-menu.is-open .gs-mm-inner > :nth-child(4) { transition-delay: .21s; }
.gs-mobile-menu.is-open .gs-mm-inner > :nth-child(5) { transition-delay: .26s; }
.gs-mobile-menu.is-open .gs-mm-inner > :nth-child(6) { transition-delay: .31s; }
.gs-mm-langs { display: flex; gap: 8px; margin-top: 24px; }
.gs-mm-langs button { padding: 10px 18px; border: 1px solid var(--gs-line); background: transparent; color: var(--gs-fg); font-family: var(--gs-font-mono); }
.gs-mm-langs button.active { background: var(--gs-accent); color: var(--gs-accent-ink); border-color: var(--gs-accent); }

@media (max-width: 960px) {
  .gs-nav, .gs-inquiry-pill .gs-pill-lbl { display: none; }
  .gs-burger { display: flex; }
  /* Lang switcher is duplicated inside the mobile menu — hide the desktop one */
  .gs-header-right > .gs-lang { display: none; }

  /* Mobile header: burger (left) · DIMAR (centre) · cart (right) */
  .gs-header-inner { position: relative; justify-content: space-between; }
  .gs-logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .gs-burger { margin: 0; }
  .gs-header-right { gap: 0; margin-left: 0; }

  /* Burger stays a white icon in every header state on mobile — over a photo,
     scrolled/solid, or with the menu open. */
  .gs-header .gs-burger span { background: #fff; }
}

/* ====== BUTTONS / KICKER ====== */
.gs-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; font-size: 14px; font-weight: 600;
  border: 0; border-radius: 100px; font-family: var(--gs-font-display);
  transition: transform .15s, background .15s;
}
.gs-btn-primary { background: var(--gs-grad); color: var(--gs-accent-ink); box-shadow: 0 6px 20px rgba(var(--gs-accent-rgb), .28); }
.gs-btn-primary:hover { transform: translateY(-2px); box-shadow: var(--gs-glow); }
.gs-btn-outline { background: transparent; border: 1.5px solid currentColor; color: inherit; }
.gs-btn-outline:hover { background: var(--gs-ink); color: var(--gs-bg); border-color: var(--gs-ink); }
.gs-btn-lg { padding: 18px 28px; font-size: 15px; }

.gs-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--gs-font-mono); text-transform: uppercase;
  font-size: 12px; letter-spacing: .1em; font-weight: 500;
}
.gs-kicker-light { color: rgba(255,255,255,.8); }
.gs-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gs-accent); }

/* ====== HERO: SLIDER (default) ====== */
.gs-hero { position: relative; }
.gs-hero-slider { height: 100vh; min-height: 720px; overflow: hidden; background: #000; color: #fff; }
.gs-hero-stage { position: absolute; inset: 0; }
.gs-hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.gs-hero-slide.active { opacity: 1; }
.gs-hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: gsKen 8s ease-out forwards; }
.gs-hero-slide.active img { animation: gsKen 8s ease-out forwards; }
@keyframes gsKen { from { transform: scale(1); } to { transform: scale(1.08); } }
.gs-hero-vignette { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.88) 100%); }

.gs-hero-content {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  padding: 0 64px; max-width: 1360px; margin: 0 auto;
  left: 50%; transform: translate(-50%, -50%);
  z-index: 2;
}
.gs-hero-title {
  font-family: var(--gs-font-display); font-weight: 700;
  font-size: clamp(48px, 7vw, 104px); line-height: .95;
  letter-spacing: -.03em; margin: 16px 0 20px;
  display: flex; flex-direction: column;
  text-shadow: 0 2px 24px rgba(0,0,0,.55);
}
.gs-hero-title.is-big { font-size: clamp(56px, 9vw, 140px); }
.gs-hero-title.is-light { color: #fff; }
.gs-hero-title span { display: block; }
.gs-hero-title span:nth-child(2) {
  color: var(--gs-accent);
  transform: translateX(40px);
}

.gs-hero-sub { font-size: clamp(16px, 1.3vw, 20px); max-width: 540px; margin: 0 0 32px; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.gs-hero-sub.is-light { color: rgba(255,255,255,.95); }
.gs-hero-ctas { display: flex; gap: 12px; }

/* Minimal segmented progress bar at the bottom of the hero slider.
   Each segment is clickable and switches to that slide; the active segment
   animates a fill so it's clear what is playing and where it advances. */
.gs-hero-bar {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 46px;
  max-width: 1360px; width: calc(100% - 64px);
  z-index: 3; display: flex; gap: 10px;
}
.gs-hero-bar-seg {
  flex: 1; background: rgba(255,255,255,.22); border: 0; padding: 0;
  height: 4px; border-radius: 3px; cursor: pointer; position: relative;
  overflow: hidden; transition: background .2s;
}
.gs-hero-bar-seg:hover { background: rgba(255,255,255,.38); }
.gs-hero-bar-seg.done { background: rgba(255,255,255,.55); }
.gs-hero-bar-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: var(--gs-accent);
}
.gs-hero-bar-seg.active .gs-hero-bar-fill { animation: gsHeroBar 6.5s linear forwards; }
@keyframes gsHeroBar { from { width: 0; } to { width: 100%; } }

.gs-hero-tabs button {
  flex: 1; background: transparent; border: 0; color: rgba(255,255,255,.7);
  padding: 24px 20px 0; text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 6px; position: relative;
  border-right: 1px solid rgba(255,255,255,.1); transition: color .2s;
}
.gs-hero-tabs button:last-child { border-right: 0; }
.gs-hero-tabs button.active { color: #fff; }
.gs-hero-tabs .gs-tab-n { font-family: var(--gs-font-mono); font-size: 11px; opacity: .6; }
.gs-hero-tabs .gs-tab-l { font-family: var(--gs-font-display); font-weight: 600; font-size: 16px; }
.gs-hero-tabs .gs-tab-bar { display: block; margin-top: 16px; height: 2px; background: rgba(255,255,255,.1); position: relative; }
.gs-hero-tabs .gs-tab-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--gs-accent); transition: width 1s; }
.gs-hero-tabs button.active .gs-tab-fill { animation: gsFill 6.5s linear forwards; }
@keyframes gsFill { from { width: 0; } to { width: 100%; } }

.gs-hero-scroll {
  position: absolute; bottom: 140px; right: 40px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: #fff; font-family: var(--gs-font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .1em; opacity: .7;
  writing-mode: vertical-rl; transform: rotate(180deg);
}
.gs-hero-scroll svg { transform: rotate(180deg); }

/* HERO SPLIT */
.gs-hero-split {
  min-height: 100vh; display: grid; grid-template-columns: 5fr 7fr;
  padding-top: 72px; background: var(--gs-bg);
}
.gs-hero-split-l { padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; }
.gs-hero-split-l .gs-hero-title { color: var(--gs-fg); }
.gs-hero-split-l .gs-hero-title span:nth-child(2) { color: var(--gs-ink); transform: translateX(24px); background: var(--gs-accent); padding: 0 12px; width: fit-content; }
.gs-hero-split-l .gs-hero-sub { color: var(--gs-muted); }
.gs-hero-split-r { position: relative; overflow: hidden; background: #111; }
.gs-hero-split-r img { width: 100%; height: 100%; object-fit: cover; }
.gs-hero-accent { position: absolute; top: -20px; right: -20px; width: 120px; height: 120px; background: var(--gs-accent); transform: rotate(45deg); }
.gs-hero-split .gs-hero-tabs { margin-top: 60px; border-top: 1px solid var(--gs-line); }
.gs-hero-split .gs-hero-tabs button { color: var(--gs-muted); border-right-color: var(--gs-line); padding-left: 0; }
.gs-hero-split .gs-hero-tabs button.active { color: var(--gs-fg); }
.gs-hero-split .gs-hero-tabs .gs-tab-bar { background: var(--gs-line); }

/* HERO FULL */
.gs-hero-full { height: 100vh; min-height: 720px; overflow: hidden; }
.gs-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s; }
.gs-hero-bg.active { opacity: 1; }
.gs-hero-full-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 60%, rgba(0,0,0,.6) 100%); }
.gs-hero-full-inner { position: relative; z-index: 2; height: 100%; max-width: 1360px; margin: 0 auto; padding: 0 32px; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.gs-hero-full-inner .gs-hero-title { color: #fff; }
.gs-hero-full-inner .gs-hero-title span:nth-child(2) { color: var(--gs-accent); }
.gs-hero-full-inner .gs-hero-sub { color: rgba(255,255,255,.9); }
.gs-hero-dots { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 3; }
.gs-hero-dots button { width: 36px; height: 4px; background: rgba(255,255,255,.3); border: 0; padding: 0; }
.gs-hero-dots button.active { background: var(--gs-accent); }

/* ====== SECTIONS ====== */
.gs-section { padding: 120px 0; position: relative; }
.gs-section-head { margin-bottom: 48px; max-width: none; }
.gs-section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; max-width: none; }
.gs-section-kicker { font-family: var(--gs-font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--gs-muted); margin-bottom: 16px; }
.gs-section-title { font-family: var(--gs-font-display); font-weight: 600; font-size: clamp(28px, 3.4vw, 52px); line-height: 1.05; letter-spacing: -.025em; margin: 0; text-wrap: balance; color: var(--gs-fg); }

/* CATEGORIES GRID */
.gs-cats-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px;
}
.gs-cat {
  position: relative; overflow: hidden; background: var(--gs-paper);
  cursor: pointer; transition: transform .3s; border-radius: var(--gs-radius);
  display: flex; flex-direction: column;
}
.gs-cat:hover { transform: translateY(-4px); }
.gs-cat-0 { grid-column: span 7; aspect-ratio: 16/10; }
.gs-cat-1 { grid-column: span 5; aspect-ratio: 4/3; }
.gs-cat-2 { grid-column: span 5; aspect-ratio: 4/3; }
.gs-cat-3 { grid-column: span 7; aspect-ratio: 16/10; }
.gs-cat-media { position: absolute; inset: 0; overflow: hidden; }
.gs-cat-media img,
.gs-cat-media video,
.gs-cat-media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; transition: transform .6s; }
.gs-cat:hover .gs-cat-media img { transform: scale(1.05); }
.gs-cat-media-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 3;
  padding: 5px 9px; background: rgba(0,0,0,.35);
  border-radius: 999px; backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .2s ease;
  pointer-events: none;
}
.gs-cat:hover .gs-cat-media-dots { opacity: 1; }
.gs-cat-media-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.45); transition: background .2s ease, transform .2s ease;
}
.gs-cat-media-dot.active { background: var(--gs-accent); transform: scale(1.3); }
.gs-cat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.3) 55%, rgba(0,0,0,.1) 100%); }
.gs-cat-body { position: relative; z-index: 2; margin-top: auto; padding: 32px; color: #fff; }
.gs-cat-n { font-family: var(--gs-font-mono); font-size: 12px; opacity: .7; margin-bottom: 8px; }
.gs-cat-body h3 { font-family: var(--gs-font-display); font-weight: 700; font-size: clamp(24px, 2.5vw, 38px); margin: 0 0 8px; letter-spacing: -.02em; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.gs-cat-body p { margin: 0 0 20px; font-size: 15px; opacity: .85; max-width: 480px; }
.gs-cat-cta { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2); font-family: var(--gs-font-mono); font-size: 13px; }

/* PRODUCT CARDS */
.gs-prod { cursor: pointer; position: relative; overflow: hidden; transition: transform .3s; display: block; color: inherit; text-decoration: none; }
.gs-prod:hover, .gs-prod:focus, .gs-prod:visited { color: inherit; text-decoration: none; }
.gs-prod-flat { background: var(--gs-bg); }
.gs-prod-flat .gs-prod-media { background: var(--gs-paper); aspect-ratio: 1; }
.gs-prod-shadow { background: var(--gs-bg); box-shadow: var(--gs-shadow); border-radius: 8px; }
.gs-prod-shadow:hover { box-shadow: var(--gs-shadow-lg); transform: translateY(-6px); }
.gs-prod-shadow .gs-prod-media { background: var(--gs-paper); aspect-ratio: 1; border-radius: 8px 8px 0 0; }
.gs-prod-editorial { background: var(--gs-bg); border-top: 1px solid var(--gs-fg); }
.gs-prod-editorial .gs-prod-media { background: var(--gs-paper); aspect-ratio: 4/5; }

.gs-prod-media { position: relative; overflow: hidden; touch-action: pan-y; }
.gs-prod-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gs-prod:hover .gs-prod-media img { transform: scale(1.06); }
/* Swipeable image track (mobile "листать" in the catalog; also drives the
   desktop hover-cycle). Frames sit side by side; imgIdx translates the track. */
.gs-prod-track { display: flex; width: 100%; height: 100%; transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.gs-prod-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; display: block; }
.gs-prod:hover .gs-prod-track img { transform: none; }
/* While a finger is dragging, follow it 1:1 (no easing). */
.gs-prod-media.is-dragging .gs-prod-track { transition: none; }
.gs-prod-tag { position: absolute; top: 12px; left: 12px; background: var(--gs-accent); color: var(--gs-accent-ink); padding: 5px 10px; font-size: 11px; font-family: var(--gs-font-mono); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.gs-prod-add { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--gs-bg); color: var(--gs-fg); border: 0; display: inline-flex; align-items: center; justify-content: center; transform: translateY(-8px); opacity: 0; transition: all .25s; }
.gs-prod:hover .gs-prod-add { opacity: 1; transform: translateY(0); }
.gs-prod-add.is-on { background: var(--gs-accent); color: var(--gs-accent-ink); opacity: 1; transform: translateY(0); }

.gs-prod-body { padding: 20px 16px; }
.gs-prod-editorial .gs-prod-body { padding: 20px 0; }
.gs-prod-meta { display: flex; justify-content: space-between; font-family: var(--gs-font-mono); font-size: 11px; color: var(--gs-muted); text-transform: uppercase; letter-spacing: .05em; }
.gs-prod-name { font-family: var(--gs-font-display); font-weight: 700; font-size: 22px; margin: 6px 0 12px; letter-spacing: -.02em; }
.gs-prod-editorial .gs-prod-name { font-size: 32px; }
.gs-prod-specs { display: flex; gap: 16px; color: var(--gs-muted); font-size: 13px; margin-bottom: 16px; }
.gs-prod-specs strong { color: var(--gs-fg); font-weight: 600; }
.gs-prod-speclist-card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 10px; padding: 10px 0; border-top: 1px solid var(--gs-line); border-bottom: 1px solid var(--gs-line); margin-bottom: 12px; }
.gs-prod-speclist-card div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.gs-prod-speclist-card span { font-family: var(--gs-font-mono); font-size: 9px; color: var(--gs-muted); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-prod-speclist-card strong { font-family: var(--gs-font-display); font-size: 13px; font-weight: 600; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-prod-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--gs-line); font-family: var(--gs-font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }

/* FEATURES */
.gs-features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.gs-feat { padding: 40px 32px; background: var(--gs-paper); position: relative; overflow: hidden; }
.gs-feat-n { font-family: var(--gs-font-mono); font-size: 12px; color: var(--gs-muted); margin-bottom: 24px; }
.gs-feat h3 { font-family: var(--gs-font-display); font-weight: 600; font-size: 22px; margin: 0 0 12px; letter-spacing: -.02em; }
.gs-feat p { margin: 0; color: var(--gs-muted); }
.gs-feat-accent { background: var(--gs-accent); color: var(--gs-accent-ink); }
.gs-feat-big { font-family: var(--gs-font-display); font-weight: 800; font-size: 44px; line-height: .95; letter-spacing: -.03em; margin-bottom: 20px; }
.gs-feat-accent p { color: var(--gs-accent-ink); opacity: .85; }

/* GALLERY HOME */
.gs-gallery-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px;
  grid-auto-rows: 180px;
}
.gs-gal-0 { grid-column: span 5; grid-row: span 2; }
.gs-gal-1 { grid-column: span 4; grid-row: span 1; }
.gs-gal-2 { grid-column: span 3; grid-row: span 1; }
.gs-gal-3 { grid-column: span 3; grid-row: span 1; }
.gs-gal-4 { grid-column: span 4; grid-row: span 1; }
.gs-gal-5 { grid-column: span 7; grid-row: span 1; }
.gs-gal-item { overflow: hidden; border-radius: 16px; position: relative; box-shadow: 0 0 0 1px var(--gs-line); transition: box-shadow .35s, transform .35s; }
.gs-gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--gs-ease, ease); }
.gs-gal-item:hover { box-shadow: 0 0 0 2px var(--gs-accent), 0 20px 44px rgba(0,0,0,.5); transform: translateY(-3px); }
.gs-gal-item:hover img { transform: scale(1.06); }

/* CONTACT */
.gs-contact-cta { background: var(--gs-ink); color: #fafaf7; }
.gs-contact-cta .gs-section { padding: 120px 0; }
.gs-contact-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; }
.gs-contact-title { font-family: var(--gs-font-display); font-weight: 700; font-size: clamp(32px, 4vw, 56px); line-height: 1.05; letter-spacing: -.025em; margin: 16px 0 20px; }
.gs-contact-title em, .gs-contact-title .accent { color: var(--gs-accent); font-style: normal; }
.gs-contact-sub { color: rgba(250,250,247,.7); font-size: 17px; margin-bottom: 40px; }
.gs-contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gs-contact-info-stack { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
.gs-ci-lbl { font-family: var(--gs-font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--gs-muted); margin-bottom: 6px; }
.gs-ci-val { font-family: var(--gs-font-display); font-weight: 600; font-size: 18px; }
.gs-contact-form { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); padding: 40px; }
.gs-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.gs-fgrid-full { grid-column: span 2; }
.gs-fgrid label { display: flex; flex-direction: column; gap: 6px; }
.gs-fgrid label span { font-family: var(--gs-font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: rgba(250,250,247,.5); }
.gs-fgrid input, .gs-fgrid textarea {
  background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.2);
  padding: 10px 0; color: #fff; font-family: inherit; font-size: 15px; outline: none;
  transition: border-color .2s;
}
.gs-fgrid input:focus, .gs-fgrid textarea:focus { border-bottom-color: var(--gs-accent); }

/* PAGE HEAD */
.gs-page { padding-top: 72px; min-height: 100vh; }
.gs-page-head { padding: 80px 0 40px; border-bottom: 1px solid var(--gs-line); }
.gs-crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: var(--gs-font-mono); font-size: 12px; color: var(--gs-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 24px; }
.gs-crumbs a { color: var(--gs-muted); cursor: pointer; padding: 4px 0; }
.gs-crumbs a:hover { color: var(--gs-fg); }
.gs-crumbs a:first-child::before { content: '← '; margin-right: 2px; }
.gs-page-title { font-family: var(--gs-font-display); font-weight: 700; font-size: clamp(40px, 6vw, 88px); letter-spacing: -.03em; margin: 0 0 16px; line-height: 1; color: var(--gs-fg); }
.gs-page-lead { font-size: 18px; color: var(--gs-muted); margin: 0; }

/* CATALOG */
.gs-catalog { padding: 40px 0 120px; }
.gs-cat-filters { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 48px; padding: 24px 0; border-bottom: 1px solid var(--gs-line); }
.gs-cat-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.gs-cat-chips button { padding: 10px 16px; border: 1px solid var(--gs-line); background: transparent; color: var(--gs-fg); font-family: var(--gs-font-display); font-size: 13px; font-weight: 500; border-radius: 100px; transition: all .15s; }
.gs-cat-chips button.active { background: var(--gs-ink); color: var(--gs-bg); border-color: var(--gs-ink); }
.gs-cat-chips button:hover:not(.active) { border-color: var(--gs-fg); }
.gs-cat-sort { display: flex; align-items: center; gap: 12px; font-family: var(--gs-font-mono); font-size: 12px; text-transform: uppercase; color: var(--gs-muted); }
.gs-cat-sort select { padding: 8px 12px; border: 1px solid var(--gs-line); background: var(--gs-bg); color: var(--gs-fg); font-family: inherit; font-size: 13px; }
.gs-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* PRODUCT DETAIL */
.gs-product { padding: 88px 0 80px; }

/* 1. Title bar */
.gs-prod-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 0 0 32px; border-bottom: 1px solid var(--gs-line); margin: 16px 0 40px; }
.gs-prod-bar-titles { min-width: 0; }
.gs-prod-bar-meta { display: block; font-family: var(--gs-font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--gs-muted); margin-bottom: 14px; }
.gs-prod-bar-name { font-family: var(--gs-font-display); font-weight: 700; font-size: clamp(36px, 5vw, 68px); letter-spacing: -.03em; margin: 0; line-height: 1; }
.gs-prod-bar-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* 2. Hero close-up */
.gs-prod-hero { position: relative; aspect-ratio: 16/9; background: var(--gs-paper); overflow: hidden; margin: 0 0 64px; }
.gs-prod-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 3. Description left + media right */
.gs-prod-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; margin: 0 0 96px; }
.gs-prod-split-text { padding-top: 4px; }
/* Override the muted .gs-prod-lead style here — split-section copy needs full contrast */
.gs-prod-split-text .gs-prod-lead { color: var(--gs-fg); font-size: 19px; line-height: 1.6; font-weight: 500; margin-bottom: 32px; }
.gs-prod-split-text .gs-prod-lead strong { font-weight: 700; }
/* Same right-edge bleed as .gs-prod-stack-list — extends past .gs-container to the viewport edge */
.gs-prod-split-media { position: relative; aspect-ratio: 4/3; background: var(--gs-paper); overflow: hidden; width: calc(100% + max(32px, (100vw - 1296px) / 2)); }
.gs-prod-split-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 4. Sticky aside + scrolling photo stack */
/* No align-items:start — the aside must stretch to the photo column's height
   so position:sticky inside it has a scroll range to operate within. */
.gs-prod-stack { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; margin: 0 0 96px; }
.gs-prod-stack-aside { position: relative; }
/* Sticky aside stays vertically centered in the viewport while the photo column scrolls past */
.gs-prod-stack-sticky { position: sticky; top: 50vh; transform: translateY(-50%); }
.gs-prod-stack-sticky .gs-prod-exercises { margin: 0; }
/* Right column bleeds out of .gs-container all the way to the viewport's right edge.
   Container padding is 32px and max-width is 1360px (content area = 1296px),
   so the right gutter from container-content-right to viewport-right is
   max(32px, (100vw - 1296px) / 2). Adding that to the list's width extends it
   to the screen edge while keeping its left edge anchored in the grid track. */
.gs-prod-stack-list { display: flex; flex-direction: column; gap: 24px; min-width: 0; width: calc(100% + max(32px, (100vw - 1296px) / 2)); }
.gs-prod-stack-item { position: relative; aspect-ratio: 4/3; background: var(--gs-paper); overflow: hidden; margin: 0; }
.gs-prod-stack-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Generic product-page section spacing */
.gs-prod-section { margin: 0 0 96px; }
.gs-prod-section .gs-section-title { margin: 0 0 32px; }
.gs-prod-section .gs-prod-longdesc { margin-top: 0; padding-top: 0; border-top: 0; }

@media (max-width: 1100px) {
  .gs-prod-split, .gs-prod-stack { grid-template-columns: 1fr; gap: 32px; margin-bottom: 64px; }
  .gs-prod-stack-sticky { position: static; transform: none; }
  .gs-prod-stack-list, .gs-prod-split-media { width: auto; }
}
@media (max-width: 720px) {
  .gs-prod-bar { flex-direction: column; align-items: stretch; gap: 20px; padding-bottom: 20px; margin-bottom: 24px; }
  .gs-prod-bar-actions { width: 100%; }
  .gs-prod-bar-actions .gs-btn { flex: 1 1 auto; justify-content: center; }
  .gs-prod-hero { aspect-ratio: 4/3; margin-bottom: 32px; }
  .gs-prod-section { margin-bottom: 56px; }
}

/* ─── PRODUCT PAGE — Cube-style two-column layout (desktop) ─── */
.gs-pdp-main {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr);
  gap: 56px;
  align-items: start;
  margin: 24px 0 80px;
}
.gs-pdp-gallery { min-width: 0; }
.gs-pdp-stage {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--gs-paper);
  overflow: hidden;
  touch-action: pan-y;
}
.gs-pdp-stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gs-pdp-stage video { width: 100%; height: 100%; object-fit: cover; display: block; }
.gs-pdp-stage .gs-prod-gal-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.gs-pdp-stage.gs-prod-gal-main-clickable { cursor: zoom-in; }

.gs-pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.gs-pdp-thumb {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--gs-paper);
  border: 2px solid transparent;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  opacity: .65;
  transition: opacity .15s, border-color .15s;
}
.gs-pdp-thumb:hover { opacity: 1; }
.gs-pdp-thumb.active { opacity: 1; border-color: var(--gs-fg); }
.gs-pdp-thumb img,
.gs-pdp-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.gs-pdp-thumb-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.28);
  color: #fff;
  font-size: 16px;
  pointer-events: none;
}

/* Sticky right rail */
.gs-pdp-side { position: relative; min-width: 0; }
.gs-pdp-side-inner { position: sticky; top: 100px; }
.gs-pdp-meta {
  font-family: var(--gs-font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gs-muted);
  margin-bottom: 14px;
}
.gs-pdp-status {
  position: static;
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  font-size: 11px;
}
.gs-pdp-name {
  font-family: var(--gs-font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -.025em;
  line-height: 1.05;
  margin: 0 0 20px;
}
.gs-pdp-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gs-muted);
  margin: 0 0 24px;
}
.gs-pdp-lead.gs-rich p { margin: 0 0 .7em; }
.gs-pdp-lead.gs-rich p:last-child { margin-bottom: 0; }

.gs-pdp-spec-preview {
  list-style: none;
  margin: 0 0 28px;
  padding: 18px 0;
  border-top: 1px solid var(--gs-line);
  border-bottom: 1px solid var(--gs-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gs-pdp-spec-preview li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.gs-pdp-spec-preview span {
  font-family: var(--gs-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gs-muted);
}
.gs-pdp-spec-preview strong {
  font-family: var(--gs-font-display);
  font-weight: 600;
  font-size: 14px;
  text-align: right;
}

.gs-pdp-cta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.gs-pdp-cta-primary,
.gs-pdp-cta-secondary { width: 100%; justify-content: center; }

.gs-pdp-exercises {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--gs-line);
}
.gs-pdp-exercises h3 {
  font-family: var(--gs-font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  margin: 0 0 12px;
}

.gs-pdp-section { margin: 0 0 80px; }
.gs-pdp-section .gs-section-title { margin: 0 0 28px; }
.gs-pdp-section .gs-prod-longdesc { margin-top: 0; padding-top: 0; border-top: 0; }

/* Marketing claim band — full-bleed across the viewport (breaks out of .gs-container) */
.gs-pdp-claim {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 96px calc(50vw - 50%);
  background: var(--gs-paper);
  margin-top: 16px;
  margin-bottom: 80px;
}
.gs-pdp-claim-inner { max-width: 880px; }
.gs-pdp-claim-eyebrow {
  font-family: var(--gs-font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gs-muted);
  margin-bottom: 20px;
}
.gs-pdp-claim-h {
  font-family: var(--gs-font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.6vw, 84px);
  letter-spacing: -.03em;
  line-height: .98;
  margin: 0 0 32px;
  text-wrap: balance;
}
.gs-pdp-claim-text {
  font-size: 19px;
  line-height: 1.6;
  color: var(--gs-ink);
  max-width: 720px;
  margin: 0 0 56px;
}
.gs-pdp-claim-text.gs-rich p { margin: 0 0 .8em; }
.gs-pdp-claim-text.gs-rich p:last-child { margin-bottom: 0; }
.gs-pdp-claim-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  padding-top: 40px;
  border-top: 2px solid var(--gs-ink);
}
.gs-pdp-claim-stat strong {
  display: block;
  font-family: var(--gs-font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -.02em;
  line-height: 1;
}
.gs-pdp-claim-stat strong:first-letter { color: var(--gs-accent-ink); }
.gs-pdp-claim-stat span {
  display: block;
  font-family: var(--gs-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gs-muted);
  margin-top: 10px;
}

/* Detail tile grid — first tile spans both columns for visual rhythm */
.gs-pdp-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0 0 96px;
}
.gs-pdp-tile {
  position: relative;
  margin: 0;
  aspect-ratio: 4/3;
  background: var(--gs-paper);
  overflow: hidden;
}
.gs-pdp-tile-wide { grid-column: 1 / -1; aspect-ratio: 21/9; }
.gs-pdp-tile img,
.gs-pdp-tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.gs-pdp-tile .gs-prod-gal-video { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Tabbed information section — Cube-style "Komponenty / Geometria / …" pattern */
.gs-pdp-tabs { margin: 0 0 96px; }
.gs-pdp-tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--gs-line);
  margin-bottom: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}
.gs-pdp-tabs-nav::-webkit-scrollbar { display: none; }
.gs-pdp-tabs-tab {
  flex: 0 0 auto;
  padding: 18px 28px 16px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: var(--gs-font-display);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gs-muted);
  cursor: pointer;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.gs-pdp-tabs-tab:hover { color: var(--gs-fg); }
.gs-pdp-tabs-tab.active { color: var(--gs-fg); border-bottom-color: var(--gs-fg); }
.gs-pdp-tabs-body { min-height: 200px; }
.gs-pdp-tabs-panel { animation: gs-pdp-fade .25s ease; }
@keyframes gs-pdp-fade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}

/* Cube-style two-column spec table: category label (left) + value (right) */
.gs-pdp-spec-card {
  border: 1px solid var(--gs-fg);
  border-radius: 18px;
  padding: 8px 36px;
  background: var(--gs-paper);
}
.gs-pdp-spec-table {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
}
/* Full-height vertical divider centered in the column gap — independent of cell count */
.gs-pdp-spec-table::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--gs-fg);
  pointer-events: none;
}
.gs-pdp-spec-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(0, 1.4fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--gs-line);
}
.gs-pdp-spec-card .gs-pdp-spec-row:nth-last-child(-n+2) { border-bottom: 0; }
.gs-pdp-spec-card .gs-pdp-spec-row:last-child:nth-child(odd) { border-bottom: 0; }
.gs-pdp-spec-row-v { font-weight: 600; }
/* When the legacy mobile spec list is wrapped in the card, drop its own borders/margin
   and apply the same divider system as the desktop spec table. */
.gs-pdp-spec-card .gs-prod-speclist {
  position: relative;
  border-top: 0;
  border-bottom: 0;
  margin-bottom: 0;
  padding: 0;
  row-gap: 0;
  column-gap: 56px;
}
.gs-pdp-spec-card .gs-prod-speclist::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 1px;
  background: var(--gs-fg);
  pointer-events: none;
}
.gs-pdp-spec-card .gs-prod-speclist > div {
  padding: 16px 0;
  border-bottom: 1px solid var(--gs-line);
}
.gs-pdp-spec-card .gs-prod-speclist > div:nth-child(odd)  { padding-right: 28px; }
.gs-pdp-spec-card .gs-prod-speclist > div:nth-child(even) { padding-left: 28px; }
.gs-pdp-spec-card .gs-prod-speclist > div:nth-last-child(-n+2) { border-bottom: 0; }
.gs-pdp-spec-card .gs-prod-speclist > div:last-child:nth-child(odd) { border-bottom: 0; }
.gs-pdp-spec-row-k {
  font-family: var(--gs-font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gs-muted);
  padding-top: 4px;
}
.gs-pdp-spec-row-v {
  font-family: var(--gs-font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 1100px) {
  .gs-pdp-main { grid-template-columns: 1fr; gap: 32px; }
  .gs-pdp-side-inner { position: static; }
  .gs-pdp-name { font-size: clamp(28px, 5vw, 40px); }
  .gs-pdp-section { margin-bottom: 56px; }
  .gs-pdp-claim { padding: 64px calc(50vw - 50%); margin-bottom: 56px; }
  .gs-pdp-tiles { margin-bottom: 56px; }
  .gs-pdp-tabs { margin-bottom: 56px; }
}
@media (max-width: 880px) {
  .gs-pdp-spec-table { grid-template-columns: 1fr; column-gap: 0; }
  .gs-pdp-spec-table::before { display: none; }
  .gs-pdp-spec-card .gs-pdp-spec-row:nth-last-child(-n+2) { border-bottom: 1px solid var(--gs-line); }
  .gs-pdp-spec-card .gs-pdp-spec-row:last-child { border-bottom: 0; }

  /* Mobile speclist: collapse to a single column so content fits on narrow phones */
  .gs-pdp-spec-card .gs-prod-speclist { grid-template-columns: 1fr; column-gap: 0; }
  .gs-pdp-spec-card .gs-prod-speclist::before { display: none; }
  .gs-pdp-spec-card .gs-prod-speclist > div:nth-child(odd),
  .gs-pdp-spec-card .gs-prod-speclist > div:nth-child(even) { padding-left: 0; padding-right: 0; }
  .gs-pdp-spec-card .gs-prod-speclist > div:nth-last-child(-n+2) { border-bottom: 1px solid var(--gs-line); }
  .gs-pdp-spec-card .gs-prod-speclist > div:last-child { border-bottom: 0; }
}
@media (max-width: 720px) {
  .gs-pdp-claim { padding: 48px calc(50vw - 50%); }
  .gs-pdp-claim-stats { gap: 20px; padding-top: 28px; }
  .gs-pdp-tiles { grid-template-columns: 1fr; gap: 12px; }
  .gs-pdp-tile-wide { grid-column: auto; aspect-ratio: 4/3; }
  .gs-pdp-tabs-tab { padding: 14px 18px 12px; font-size: 13px; }
  .gs-pdp-spec-card { padding: 2px 14px; border-radius: 12px; }
  .gs-pdp-spec-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 0; }
  .gs-pdp-spec-row-v { font-size: 16px; }

  /* Compact mobile speclist: each row becomes label-left / value-right on a single line */
  .gs-pdp-spec-card .gs-prod-speclist > div {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 9px 0;
  }
  .gs-pdp-spec-card .gs-prod-speclist > div span {
    font-size: 10px;
    flex: 0 1 auto;
    min-width: 0;
  }
  .gs-pdp-spec-card .gs-prod-speclist > div strong {
    font-size: 14px;
    line-height: 1.25;
    text-align: right;
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

.gs-prod-detail { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; margin: 32px 0 80px; align-items: start; }
.gs-prod-detail .gs-prod-gal { grid-column: 1; grid-row: 1; }
.gs-prod-detail .gs-prod-info { grid-column: 2; grid-row: 1 / span 2; }
.gs-prod-detail .gs-prod-longdesc { grid-column: 1; grid-row: 2; }
.gs-prod-gal-main { aspect-ratio: 4/3; background: var(--gs-paper); position: relative; overflow: hidden; touch-action: pan-y; }
.gs-prod-gal-main img { width: 100%; height: 100%; object-fit: cover; }
.gs-prod-gal-main-clickable { cursor: zoom-in; }
.gs-prod-gal-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.gs-prod-gal-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.gs-prod-tag-lg { padding: 8px 14px; font-size: 12px; top: 20px; left: 20px; }

/* Gallery arrows */
.gs-gal-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; z-index: 3; }
.gs-gal-arrow:hover { background: rgba(0,0,0,.8); }
.gs-gal-arrow-prev { left: 12px; }
.gs-gal-arrow-next { right: 12px; }
.gs-gal-counter { position: absolute; bottom: 12px; left: 12px; padding: 4px 10px; border-radius: 12px; background: rgba(0,0,0,.55); color: #fff; font-family: var(--gs-font-mono); font-size: 12px; z-index: 3; }

/* Lightbox */
.gs-gal-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 40px; }
.gs-gal-lightbox-inner { position: relative; width: min(90vw, 1400px); height: min(85vh, 900px); display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.gs-gal-lightbox-inner img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.gs-gal-lightbox-inner video { max-width: 100%; max-height: 100%; }
.gs-gal-lightbox-inner .gs-prod-gal-video { position: relative; width: 100%; height: 100%; aspect-ratio: 16/9; max-height: 100%; }
.gs-gal-close { position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; z-index: 4; }
.gs-gal-close:hover { background: rgba(255,255,255,.22); }
.gs-gal-arrow-fs { width: 56px; height: 56px; font-size: 36px; }
.gs-gal-arrow-fs.gs-gal-arrow-prev { left: 24px; }
.gs-gal-arrow-fs.gs-gal-arrow-next { right: 24px; }
.gs-gal-counter-fs { bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 14px; padding: 6px 14px; }

@media (max-width: 720px) {
  .gs-gal-arrow { width: 36px; height: 36px; font-size: 22px; }
  .gs-gal-arrow-fs { width: 44px; height: 44px; font-size: 26px; }
  /* Expanded view: photo spans full screen width; tapping the letterbox /
     backdrop (anywhere but the photo) closes it. */
  .gs-gal-lightbox { padding: 0; }
  .gs-gal-lightbox-inner { width: 100vw; height: 100vh; }
  .gs-gal-lightbox-inner img { width: 100vw; max-width: 100vw; height: auto; max-height: 100vh; }
}
.gs-prod-info-head { display: flex; justify-content: space-between; font-family: var(--gs-font-mono); font-size: 12px; color: var(--gs-muted); text-transform: uppercase; letter-spacing: .08em; }
.gs-prod-num-lg { font-size: 14px; }
.gs-prod-h1 { font-family: var(--gs-font-display); font-weight: 700; font-size: clamp(36px, 5vw, 68px); letter-spacing: -.03em; margin: 16px 0 24px; line-height: 1; color: var(--gs-fg); }
.gs-prod-lead { font-size: 17px; color: var(--gs-muted); margin-bottom: 40px; }
/* When the lead is a collapsible: button hugs the text (like the long
   description); the block's bottom gap moves to the wrapper. */
.gs-prod-lead.gs-desc { margin-bottom: 0; }
.gs-lead-wrap { margin-bottom: 40px; }
.gs-prod-lead.gs-rich p { margin: 0 0 .8em; }
.gs-prod-lead.gs-rich p:last-child { margin-bottom: 0; }

/* Rich-text rendering for product descriptions */
.gs-rich p { margin: 0 0 1em; }
.gs-rich p:last-child { margin-bottom: 0; }
.gs-rich h2 { font-family: var(--gs-font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -.02em; margin: 1.2em 0 .5em; }
.gs-rich h3 { font-weight: 700; font-size: clamp(18px, 1.8vw, 22px); margin: 1em 0 .4em; }
.gs-rich h4 { font-weight: 700; font-size: 16px; margin: .9em 0 .3em; }
.gs-rich ul, .gs-rich ol { margin: .4em 0 1em; padding-left: 1.5em; }
.gs-rich li { margin: .25em 0; }
.gs-rich blockquote {
  margin: 1em 0; padding: .2em 0 .2em 16px;
  border-left: 3px solid var(--gs-line);
  color: var(--gs-muted); font-style: italic;
}
.gs-rich strong { font-weight: 700; }
.gs-rich em { font-style: italic; }
.gs-rich u { text-decoration: underline; }

.gs-prod-longdesc {
  margin-top: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--gs-line);
  font-size: 22px; line-height: 1.65;
  color: var(--gs-ink);
}
.gs-prod-longdesc p { margin: 0 0 1em; }
.gs-prod-longdesc p:last-child { margin-bottom: 0; }
.gs-prod-longdesc h2, .gs-prod-longdesc h3 { font-family: var(--gs-font-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: 1.4em 0 .5em; }
.gs-prod-longdesc h2 { font-size: 32px; }
.gs-prod-longdesc h3 { font-size: 24px; }
.gs-prod-speclist { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--gs-line); border-bottom: 1px solid var(--gs-line); margin-bottom: 32px; }
.gs-prod-speclist div { display: flex; flex-direction: column; gap: 4px; }
.gs-prod-speclist span { font-family: var(--gs-font-mono); font-size: 11px; color: var(--gs-muted); text-transform: uppercase; letter-spacing: .08em; }
.gs-prod-speclist strong { font-family: var(--gs-font-display); font-size: 22px; font-weight: 600; }
.gs-prod-actions { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.gs-prod-exercises h3 { font-family: var(--gs-font-display); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-bottom: 16px; }
.gs-exer-list { display: flex; flex-wrap: wrap; gap: 10px; }
/* Bin-packed variant: chips are grouped into explicit rows (see ExerciseChips). */
.gs-exer-list.gs-exer-packed { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; }
.gs-exer-row { display: flex; gap: 10px; max-width: 100%; }
.gs-exer {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: var(--gs-bg);
  color: var(--gs-fg);
  border: 1.5px solid var(--gs-fg);
  border-radius: 999px;
  font-family: var(--gs-font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
  line-height: 1;
  transition: background .15s, color .15s, transform .15s;
}
.gs-exer:hover {
  background: var(--gs-accent);
  color: var(--gs-accent-ink);
  border-color: var(--gs-accent);
  transform: translateY(-1px);
}

/* ABOUT */
.gs-about { padding: 120px 0 80px; }
.gs-about-title { font-family: var(--gs-font-display); font-weight: 700; font-size: clamp(40px, 5.5vw, 84px); letter-spacing: -.03em; line-height: 1; margin: 0 0 40px; max-width: 1100px; text-wrap: balance; color: var(--gs-fg); }
.gs-about-lead { font-size: 22px; max-width: 780px; color: var(--gs-muted); margin: 0 0 80px; }
.gs-about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 48px 0; border-top: 2px solid var(--gs-ink); border-bottom: 1px solid var(--gs-line); margin-bottom: 80px; }
.gs-stat-n { font-family: var(--gs-font-display); font-weight: 700; font-size: clamp(40px, 5vw, 88px); letter-spacing: -.03em; line-height: 1; }
.gs-stat-n:first-letter { color: var(--gs-accent); }
.gs-stat-l { font-family: var(--gs-font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--gs-muted); margin-top: 12px; }
.gs-about-hero { aspect-ratio: 21/9; overflow: hidden; margin-bottom: 80px; }
.gs-about-hero img { width: 100%; height: 100%; object-fit: cover; }

.gs-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.gs-step { padding: 32px 24px; background: var(--gs-paper); position: relative; }
.gs-step-n { font-family: var(--gs-font-mono); font-size: 14px; color: var(--gs-muted); margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--gs-line); }
.gs-step h3 { font-family: var(--gs-font-display); font-weight: 600; font-size: 22px; margin: 0 0 10px; letter-spacing: -.02em; }
.gs-step p { margin: 0; color: var(--gs-muted); font-size: 15px; }

/* ===== About page — full editorial rebuild ===== */
.gs-abt .gs-abt-kicker { display: inline-block; font-family: var(--gs-font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gs-accent); margin-bottom: 20px; }
.gs-abt-hero { max-width: 1040px; padding-top: 8px; }
.gs-abt-headline { font-family: var(--gs-font-display); font-weight: 700; font-size: clamp(38px, 6.2vw, 96px); line-height: 1.01; letter-spacing: -.035em; margin: 0 0 30px; color: var(--gs-fg); text-wrap: balance; }
.gs-abt-intro { font-size: clamp(17px, 2vw, 23px); line-height: 1.55; color: var(--gs-muted); max-width: 780px; margin: 0; }

.gs-abt-h2 { font-family: var(--gs-font-display); font-weight: 700; font-size: clamp(28px, 3.8vw, 58px); line-height: 1.04; letter-spacing: -.028em; margin: 0 0 24px; color: var(--gs-fg); text-wrap: balance; }
.gs-abt-eyebrow { font-family: var(--gs-font-mono); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gs-muted); margin: 0 0 22px; }

.gs-abt-mission { max-width: 920px; margin-top: 80px; margin-bottom: 100px; }
.gs-abt-mission-p { font-size: clamp(17px, 1.9vw, 22px); line-height: 1.6; color: var(--gs-muted); margin: 0; }

.gs-abt-sec { margin-bottom: 100px; }

/* Manifesto rows — "what we build" */
.gs-abt-rows { border-top: 1px solid var(--gs-line); }
.gs-abt-row { display: grid; grid-template-columns: 78px 1fr; column-gap: 28px; row-gap: 6px; align-items: baseline; padding: 30px 4px; border-bottom: 1px solid var(--gs-line); transition: background .25s, padding-left .25s; }
.gs-abt-row:hover { background: linear-gradient(90deg, rgba(var(--gs-accent-rgb), .07), transparent 60%); padding-left: 14px; }
.gs-abt-row-n { grid-row: span 2; font-family: var(--gs-font-mono); font-size: 14px; color: var(--gs-accent); padding-top: 8px; }
.gs-abt-row-t { font-family: var(--gs-font-display); font-weight: 600; font-size: clamp(21px, 2.7vw, 36px); letter-spacing: -.02em; line-height: 1.08; margin: 0; color: var(--gs-fg); }
.gs-abt-row-d { grid-column: 2; margin: 0; color: var(--gs-muted); font-size: 16px; line-height: 1.5; }

/* Value cards — "why DIMAR" (hairline-separated grid) */
.gs-abt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--gs-line); border: 1px solid var(--gs-line); border-radius: var(--gs-radius); overflow: hidden; }
.gs-abt-card { background: var(--gs-bg); padding: 34px 30px; transition: background .25s; }
.gs-abt-card:hover { background: var(--gs-paper); }
.gs-abt-card h4 { font-family: var(--gs-font-display); font-weight: 600; font-size: 21px; letter-spacing: -.02em; margin: 0 0 12px; color: var(--gs-fg); }
.gs-abt-card p { margin: 0; color: var(--gs-muted); font-size: 15px; line-height: 1.55; }

/* Standard highlight band */
.gs-abt-standard { margin-bottom: 40px; padding: 52px 46px; border: 1px solid var(--gs-line); border-left: 3px solid var(--gs-accent); border-radius: var(--gs-radius); background: var(--gs-paper); }
.gs-abt-standard-t { font-family: var(--gs-font-display); font-weight: 700; font-size: clamp(32px, 4.4vw, 60px); letter-spacing: -.02em; margin: 12px 0 18px; color: var(--gs-fg); }
.gs-abt-standard-p { margin: 0 0 28px; color: var(--gs-muted); font-size: 17px; line-height: 1.6; max-width: 780px; }
.gs-abt-cta { border: 0; }

@media (max-width: 720px) {
  .gs-abt-mission { margin-top: 52px; }
  .gs-abt-mission, .gs-abt-sec { margin-bottom: 64px; }
  .gs-abt-row { grid-template-columns: 46px 1fr; column-gap: 16px; padding: 22px 2px; }
  .gs-abt-row:hover { padding-left: 6px; }
  .gs-abt-standard { padding: 32px 24px; }
}

/* GALLERY PAGE */
.gs-gallery { padding: 120px 0 80px; }

/* Modern Pinterest-style masonry via CSS columns */
/* Gallery: a uniform card grid (same look as the product cards) that flows
   left-to-right, row by row, scrolling downward. */
.gs-gallery-pins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.gs-gg-item {
  position: relative; margin: 0;
  border-radius: 18px; overflow: hidden; cursor: pointer;
  background: var(--gs-paper); display: block; isolation: isolate;
  aspect-ratio: 4 / 5;
  box-shadow: 0 0 0 1px var(--gs-line);
  transition: box-shadow .35s var(--gs-ease, ease), transform .35s var(--gs-ease, ease);
}
.gs-gg-item:hover {
  box-shadow: 0 0 0 2px var(--gs-accent), 0 22px 50px rgba(0,0,0,.55);
  transform: translateY(-4px);
}
.gs-gg-media { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--gs-ease, ease); }
.gs-gg-item:hover .gs-gg-media { transform: scale(1.035); }

/* Video thumbnails inside the grid */
.gs-gg-videowrap { position: relative; background: #000; }
.gs-gg-videowrap img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .4s; }
.gs-gg-item:hover .gs-gg-videowrap img { opacity: .95; }
.gs-gg-playbadge {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px;
  background: rgba(12,12,12,.6); color: #fff; backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18);
}

/* Lightbox */
.gs-lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 48px;
  background: rgba(6,6,6,.82); backdrop-filter: blur(22px);
  animation: gsLbIn .35s ease;
}
@keyframes gsLbIn { from { opacity: 0; } to { opacity: 1; } }
.gs-lightbox img {
  max-width: 90vw; max-height: 88vh; object-fit: contain;
  border-radius: 14px; box-shadow: 0 40px 100px rgba(0,0,0,.7);
  animation: gsLbImg .4s var(--gs-ease, ease);
}
@keyframes gsLbImg { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.gs-lightbox iframe { border-radius: 14px; box-shadow: 0 40px 100px rgba(0,0,0,.7); max-width: 92vw; }
.gs-lb-close {
  position: fixed; top: 24px; right: 24px; width: 48px; height: 48px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: #fff; font-size: 20px; transition: background .2s, border-color .2s, transform .2s;
}
.gs-lb-close:hover { background: var(--gs-accent); border-color: var(--gs-accent); transform: rotate(90deg); }

/* GALLERY TABS & VIDEO GRID */
.gs-gallery-tabs { display: inline-flex; gap: 6px; margin-top: 40px; padding: 6px; border-radius: 999px; background: var(--gs-paper); border: 1px solid var(--gs-line); }
.gs-gallery-tab { display: flex; align-items: center; gap: 8px; padding: 11px 22px; border: none; border-radius: 999px; background: transparent; font-family: var(--gs-font-display); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gs-muted); cursor: pointer; transition: color .25s, background .25s, box-shadow .25s; }
.gs-gallery-tab:hover { color: var(--gs-fg); }
.gs-gallery-tab.active { color: var(--gs-accent-ink); background: var(--gs-grad); box-shadow: var(--gs-glow); }
.gs-gallery-tab svg { flex-shrink: 0; }
.gs-vid-section { padding-top: 40px; }
.gs-vid-lead { font-size: 16px; color: var(--gs-muted); margin: 0 0 32px; }
.gs-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gs-video-item {
  aspect-ratio: 9/16; border-radius: 18px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--gs-line); transition: box-shadow .35s, transform .35s;
  /* Soft placeholder shown until the clip autoplays into view */
  background:
    radial-gradient(120% 90% at 50% 35%, rgba(var(--gs-accent-rgb), .14), transparent 60%),
    linear-gradient(160deg, #161616, #050505);
}
.gs-video-item:hover { box-shadow: 0 0 0 2px var(--gs-accent), 0 18px 40px rgba(0,0,0,.5); transform: translateY(-4px); }
.gs-video-item video { display: block; width: 100%; height: 100%; aspect-ratio: 9/16; object-fit: cover; background: #000; }

@media (max-width: 1100px) { .gs-video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .gs-gallery-tabs { display: flex; width: 100%; }
  .gs-gallery-tab { flex: 1; justify-content: center; padding: 10px 8px; font-size: 11px; gap: 6px; }
  .gs-video-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 480px) { .gs-video-grid { grid-template-columns: 1fr; } }

/* CONTACT PAGE */
.gs-contact-page { padding: 120px 0 0; }
.gs-contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin: 60px 0 80px; }
.gs-contact-cols h3 { font-family: var(--gs-font-display); font-size: 20px; font-weight: 600; margin: 0 0 20px; }
.gs-contact-cols address { font-style: normal; line-height: 1.8; font-size: 17px; }
.gs-inq-list { background: var(--gs-paper); padding: 24px; }
.gs-inq-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gs-inq-head h3 { margin: 0; }
.gs-inq-clear { background: transparent; border: 1px solid var(--gs-line); border-radius: var(--gs-radius); color: var(--gs-muted); font-size: 12px; font-weight: 600; padding: 6px 12px; cursor: pointer; transition: border-color .2s, color .2s; }
.gs-inq-clear:hover { border-color: var(--gs-accent); color: var(--gs-accent); }
.gs-inq-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--gs-line); }
.gs-inq-item:last-child { border-bottom: 0; }
.gs-inq-item img { width: 64px; height: 64px; object-fit: cover; }
.gs-inq-num { font-family: var(--gs-font-mono); font-size: 11px; color: var(--gs-muted); }
.gs-inq-name { font-family: var(--gs-font-display); font-weight: 600; font-size: 16px; }
.gs-inq-color { font-size: 12px; color: var(--gs-muted); margin-top: 2px; }
.gs-inq-item button { background: transparent; border: 0; color: var(--gs-muted); font-size: 18px; }

/* FOOTER */
/* position/z-index keep the footer above the homepage's sticky hero
   (.gs-hero-slider is position:sticky; z-index:0 and stays pinned for the whole
   page, so a static footer would be painted behind it and hidden — it must join
   the same covering layer as .gs-home-overlap). */
.gs-footer { position: relative; z-index: 1; background: #050505; color: #f0ede8; padding: 80px 0 32px; border-top: 2px solid var(--gs-accent); }
.gs-footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.gs-footer-brand p { color: rgba(250,250,247,.6); max-width: 360px; margin-top: 16px; }
.gs-footer-col h4 { font-family: var(--gs-font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: rgba(250,250,247,.5); margin: 0 0 20px; font-weight: 500; }
.gs-footer-col a, .gs-footer-col p { display: block; color: rgba(250,250,247,.85); margin-bottom: 12px; cursor: pointer; font-size: 15px; }
.gs-footer-col a:hover { color: var(--gs-accent); }
.gs-footer-bot { display: flex; justify-content: space-between; padding-top: 32px; font-family: var(--gs-font-mono); font-size: 12px; color: rgba(250,250,247,.5); text-transform: uppercase; letter-spacing: .05em; }

/* TWEAKS PANEL */
.gs-tweaks { position: fixed; bottom: 24px; right: 24px; z-index: 300; background: var(--gs-bg); border: 1px solid var(--gs-line); box-shadow: var(--gs-shadow-lg); padding: 20px; width: 300px; font-family: var(--gs-font-body); }
.gs-tweaks h4 { margin: 0 0 16px; font-family: var(--gs-font-display); font-size: 14px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.gs-tweak-row { margin-bottom: 16px; }
.gs-tweak-row label { font-family: var(--gs-font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--gs-muted); display: block; margin-bottom: 6px; }
.gs-tweak-opts { display: flex; gap: 4px; flex-wrap: wrap; }
.gs-tweak-opts button { flex: 1; padding: 8px 10px; border: 1px solid var(--gs-line); background: var(--gs-bg); color: var(--gs-fg); font-size: 11px; font-family: var(--gs-font-mono); text-transform: uppercase; }
.gs-tweak-opts button.active { background: var(--gs-ink); color: var(--gs-bg); border-color: var(--gs-ink); }
.gs-tweak-colors { display: flex; gap: 8px; }
.gs-tweak-color { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--gs-line); cursor: pointer; padding: 0; }
.gs-tweak-color.active { border-color: var(--gs-fg); }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .gs-cats-grid > * { grid-column: span 6 !important; }
  .gs-features-grid { grid-template-columns: repeat(2, 1fr); }
  .gs-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .gs-about-stats, .gs-steps, .gs-footer-top { grid-template-columns: repeat(2, 1fr); }
  .gs-hero-split { grid-template-columns: 1fr; }
  .gs-hero-split-r { min-height: 360px; }
  .gs-gallery-pins { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .gs-container { padding: 0 20px; }
  .gs-section { padding: 80px 0; }
  .gs-cats-grid > * { grid-column: span 12 !important; aspect-ratio: 4/3; }
  /* Mobile keeps the original product page (.gs-prod-detail) — restore its original top padding */
  .gs-product { padding-top: 120px; }
  .gs-cat-grid, .gs-features-grid, .gs-contact-wrap, .gs-prod-detail, .gs-contact-cols { grid-template-columns: 1fr; }
  .gs-prod-detail .gs-prod-gal,
  .gs-prod-detail .gs-prod-info,
  .gs-prod-detail .gs-prod-longdesc { grid-column: auto; grid-row: auto; }
  .gs-prod-detail .gs-prod-gal { order: 1; }
  .gs-prod-detail .gs-prod-info { order: 2; }
  .gs-prod-detail .gs-prod-longdesc { order: 3; }
  .gs-prod-longdesc { font-size: 17px; padding-top: 24px; margin-top: 16px; }
  .gs-prod-longdesc h2 { font-size: 24px; }
  .gs-prod-longdesc h3 { font-size: 20px; }
  .gs-fgrid { grid-template-columns: 1fr; } .gs-fgrid-full { grid-column: span 1; }
  .gs-hero-tabs-abs { display: none; }
  .gs-hero-scroll { display: none; }
  .gs-section-head-row { flex-direction: column; align-items: flex-start; }
  .gs-about-stats { grid-template-columns: 1fr 1fr; }
  /* 2 cards per row spanning the full screen width, photos meeting in the
     middle with a thin divider — identical to the apparel catalog cards. */
  .gs-gallery-pins {
    grid-template-columns: 1fr 1fr; gap: 22px 0; margin-top: 28px;
    margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw;
  }
  .gs-gg-item { margin: 0; border-radius: 0; box-shadow: none; }
  .gs-gg-item:hover { transform: none; box-shadow: none; }
  .gs-gallery-pins .gs-gg-item:nth-child(odd) { box-shadow: 1px 0 0 var(--gs-line); }
  .gs-lightbox { padding: 16px; }
  .gs-lb-close { top: 14px; right: 14px; width: 42px; height: 42px; }
  .gs-hero-slider { min-height: 600px; }
  .gs-contact-form { padding: 24px; }
  .gs-tweaks { bottom: 12px; right: 12px; width: calc(100% - 24px); }
}

/* ===== MOBILE OPTIMIZATIONS ===== */

@media (max-width: 720px) {
  .gs-header-inner { height: 60px; padding: 0 16px; gap: 12px; }
  .gs-logo-text { font-size: 16px; }
  .gs-logo-mark svg { width: 24px; height: 24px; }
  .gs-mobile-menu { top: 60px; }
  .gs-mm-inner { padding: 24px 20px calc(40px + env(safe-area-inset-bottom, 0)); }
  .gs-mm-inner a { padding: 16px 0; font-size: 22px; }
  .gs-mm-langs { margin-top: 16px; flex-wrap: wrap; }
  .gs-lang-btn { padding: 6px 10px; font-size: 11px; }
  .gs-page { padding-top: 60px; }
  .gs-page-head { padding: 48px 0 24px; }
  .gs-page-title { font-size: clamp(20px, 5.6vw, 30px); line-height: 1.15; }
  .gs-page-lead { font-size: 16px; }
  /* Crumbs stay simple on mobile — the real back button lives in the header */
  .gs-crumbs { font-size: 12px; gap: 6px; margin-bottom: 16px; }
  .gs-crumbs a:first-child::before { content: ''; margin: 0; } /* arrow now in header */
  .gs-hero-content { padding: 0 20px; width: 100%; }
  .gs-hero-ctas { flex-wrap: wrap; }
  .gs-hero-ctas .gs-btn { flex: 1 1 auto; justify-content: center; }
  .gs-btn-lg { padding: 14px 20px; font-size: 14px; }
  .gs-product { padding: 24px 0 60px; }
  .gs-prod-detail { gap: 28px; margin: 16px 0 40px; }
  .gs-prod-h1 { margin: 12px 0 16px; }
  .gs-prod-actions { gap: 8px; }
  .gs-prod-actions .gs-btn { flex: 1 1 auto; justify-content: center; }
  .gs-prod-speclist { grid-template-columns: 1fr 1fr; gap: 14px; padding: 16px 0; margin-bottom: 20px; }
  .gs-prod-speclist strong { font-size: 18px; }
  .gs-catalog { padding: 24px 0 80px; }
  .gs-cat-filters { padding: 16px 0; margin-bottom: 24px; gap: 12px; }
  .gs-cat-chips { gap: 6px; }
  .gs-cat-chips button { padding: 8px 12px; font-size: 12px; }
  .gs-cat-sort { width: 100%; justify-content: space-between; }
  .gs-footer { padding: 60px 0 24px; }
  .gs-footer-top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .gs-footer-bot { flex-direction: column; gap: 12px; align-items: flex-start; }
  .gs-contact-page { padding: 80px 0 0; }
  .gs-contact-cols { gap: 32px; margin: 32px 0 40px; }
  .gs-contact-info { grid-template-columns: 1fr; gap: 16px; }
  .gs-section-head { margin-bottom: 24px; }
  .gs-prod-gal-main { aspect-ratio: 4/3; }
  .gs-prod-speclist-card { gap: 6px 10px; padding: 10px 0; margin-bottom: 0; }
  .gs-prod-speclist-card strong { font-size: 12px; }
  .gs-cat-cta { padding-top: 12px; font-size: 12px; }
  .gs-cat-body { padding: 24px; }
  .gs-cat-body h3 { font-size: clamp(22px, 6vw, 30px); }
  .gs-about-hero { aspect-ratio: 4/3; margin-bottom: 48px; }
  .gs-about-stats { padding: 32px 0; gap: 24px; margin-bottom: 48px; }
  .gs-stat-n { font-size: clamp(34px, 9vw, 56px); }
}

@media (max-width: 480px) {
  .gs-container { padding: 0 16px; }
  .gs-section { padding: 56px 0; }
  .gs-hero-slider { min-height: 540px; }
  .gs-hero-title { margin: 12px 0 16px; }
  .gs-hero-sub { margin-bottom: 24px; }
  .gs-cats-grid { gap: 10px; }
  .gs-features-grid { gap: 12px; }
  .gs-feat { padding: 28px 20px; }
  .gs-step { padding: 24px 20px; }
  .gs-about-stats { grid-template-columns: 1fr 1fr; padding: 24px 0; gap: 16px; }
  .gs-about-lead { font-size: 16px; margin-bottom: 40px; }
  .gs-prod-name { font-size: 20px; }
  .gs-prod-editorial .gs-prod-name { font-size: 26px; }
  .gs-prod-body { padding: 16px 12px; }
  .gs-prod-speclist { grid-template-columns: 1fr 1fr; gap: 10px 12px; }
  .gs-prod-speclist strong { font-size: 16px; }
  .gs-prod-h1 { font-size: clamp(30px, 9vw, 44px); }
  .gs-mm-inner a { font-size: 20px; padding: 14px 0; }
  .gs-tweaks { padding: 14px; }
  .gs-tweak-opts button { padding: 8px 6px; font-size: 10px; }
  .gs-contact-form { padding: 20px; }
  .gs-cat-body { padding: 18px; }
  .gs-cat-body p { font-size: 14px; }
  .gs-inq-item { grid-template-columns: 56px 1fr auto; gap: 12px; }
  .gs-inq-item img { width: 56px; height: 56px; }
}

/* ============================================================
   APPAREL / TEAMWEAR — shop page, build-your-kit, homepage teaser
   ============================================================ */

/* Build-your-kit layered outfit (shop page + homepage teaser) */
.gs-kit { margin: 36px 0 8px; }
.gs-kit-head { margin-bottom: 18px; }
.gs-kit-sub { color: var(--gs-muted); font-size: 16px; max-width: 620px; margin: 4px 0 22px; }
.gs-kit-stack {
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px; border: 1px solid var(--gs-line); border-radius: 14px;
  background: linear-gradient(180deg, rgba(var(--gs-accent-rgb),.06), transparent 60%), var(--gs-paper);
}
.gs-kit-line { display: block; }
.gs-kit-line + .gs-kit-line { border-top: 1px dashed var(--gs-line); padding-top: 14px; }
.gs-kit-strip { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.gs-kit-chip {
  flex: 0 0 auto; width: 132px; text-align: left; cursor: pointer;
  background: var(--gs-bg); border: 1px solid var(--gs-line); border-radius: 10px;
  padding: 0; overflow: hidden; color: var(--gs-fg); transition: border-color .2s, transform .2s;
}
.gs-kit-chip:hover { border-color: var(--gs-accent); transform: translateY(-3px); }
.gs-kit-chip.added { border-color: var(--gs-accent); box-shadow: 0 0 0 1px var(--gs-accent) inset; }
.gs-kit-chip img { width: 100%; height: 150px; object-fit: cover; display: block; background: #111; }
.gs-kit-chip-meta { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px 10px; }
.gs-kit-chip-name { font-size: 13px; font-weight: 600; line-height: 1.2; }
.gs-kit-chip-price { font-family: var(--gs-font-mono); font-size: 13px; color: var(--gs-accent); }

/* ===== Shop / apparel filters ===== */
.gs-shop-filters {
  margin: 28px 0 8px;
  display: flex; flex-direction: column; gap: 14px;
  padding: 18px;
  border: 1px solid var(--gs-line); border-radius: 14px;
  background: var(--gs-paper);
}
.gs-shop-filter-top { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.gs-shop-search { position: relative; flex: 1 1 280px; min-width: 200px; display: flex; align-items: center; }
.gs-shop-search svg { position: absolute; left: 14px; color: var(--gs-muted); pointer-events: none; }
.gs-shop-search input {
  width: 100%; padding: 12px 38px 12px 42px;
  border: 1px solid var(--gs-line); border-radius: 10px;
  background: var(--gs-bg); color: var(--gs-fg); font-size: 15px;
  transition: border-color .2s;
}
.gs-shop-search input:focus { outline: none; border-color: var(--gs-accent); }
.gs-shop-search-clear {
  position: absolute; right: 8px; width: 26px; height: 26px;
  border: 0; border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1;
  background: transparent; color: var(--gs-muted);
}
.gs-shop-search-clear:hover { color: var(--gs-fg); }
.gs-shop-sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gs-muted); }
.gs-shop-sort select {
  padding: 10px 12px; border: 1px solid var(--gs-line); border-radius: 10px;
  background: var(--gs-bg); color: var(--gs-fg); font-size: 14px; cursor: pointer;
}
.gs-shop-sort select:focus { outline: none; border-color: var(--gs-accent); }

.gs-shop-filter-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.gs-shop-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.gs-shop-chip {
  padding: 8px 16px; border: 1px solid var(--gs-line); border-radius: 999px;
  background: var(--gs-bg); color: var(--gs-fg); font-size: 14px; font-weight: 600; cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.gs-shop-chip:hover { border-color: var(--gs-accent); }
.gs-shop-chip.active { background: var(--gs-grad); color: var(--gs-accent-ink); border-color: transparent; }

.gs-shop-colors { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.gs-shop-swatch {
  width: 26px; height: 26px; border-radius: 50%; cursor: pointer; padding: 0;
  background: var(--sw, #888);
  border: 2px solid var(--gs-line);
  transition: transform .12s, box-shadow .12s, border-color .12s;
  position: relative;
}
.gs-shop-swatch:hover { transform: scale(1.12); }
.gs-shop-swatch.active { border-color: var(--gs-accent); box-shadow: 0 0 0 2px var(--gs-accent); }
.gs-shop-swatch.active::after {
  content: '✓'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff; text-shadow: 0 0 2px rgba(0,0,0,.7);
}
.gs-shop-swatch-all {
  width: auto; height: auto; border-radius: 999px; padding: 7px 14px;
  background: var(--gs-bg); color: var(--gs-fg); font-size: 13px; font-weight: 600;
}
.gs-shop-swatch-all::after { content: none; }
.gs-shop-swatch-all.active { background: var(--gs-grad); color: var(--gs-accent-ink); border-color: transparent; box-shadow: none; }

/* ── Listing header: title + full-width sticky category bar + filter button ── */
.gs-listing .gs-page-head { border-bottom: none; padding-bottom: 8px; }
.gs-listing-bar {
  position: sticky; top: 72px; z-index: 40;
  background: var(--gs-bg); border-bottom: 1px solid var(--gs-line);
}
.gs-catscroll { position: relative; display: flex; align-items: center; }
.gs-catscroll-track {
  display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth;
  padding: 14px 0; width: 100%;
  scrollbar-width: none; -ms-overflow-style: none;
}
.gs-catscroll-track::-webkit-scrollbar { display: none; }
.gs-catscroll-chip {
  flex: 0 0 auto; white-space: nowrap; cursor: pointer;
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--gs-line); background: transparent; color: var(--gs-fg);
  font-size: 14px; font-weight: 600; line-height: 1;
  transition: border-color .15s, background .15s, color .15s;
}
.gs-catscroll-chip:hover { border-color: var(--gs-accent); }
.gs-catscroll-chip.active { background: var(--gs-grad); color: var(--gs-accent-ink); border-color: transparent; }
.gs-catscroll-arrow {
  position: absolute; top: 0; bottom: 0; width: 56px; z-index: 2;
  display: flex; align-items: center; border: 0; cursor: pointer;
  color: var(--gs-fg); font-size: 26px; line-height: 1;
  transition: opacity .2s;
}
.gs-catscroll-arrow-l { left: 0; justify-content: flex-start; padding-left: 2px;
  background: linear-gradient(to right, var(--gs-bg) 45%, transparent); }
.gs-catscroll-arrow-r { right: 0; justify-content: flex-end; padding-right: 2px;
  background: linear-gradient(to left, var(--gs-bg) 45%, transparent); }
.gs-catscroll-arrow.is-hidden { opacity: 0; pointer-events: none; }

.gs-listing-filter { position: fixed; right: 16px; bottom: 16px; z-index: 60; }
.gs-filter-btn {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--gs-line); background: var(--gs-bg); color: var(--gs-fg);
  font-size: 13px; font-weight: 600; transition: border-color .15s, color .15s;
  box-shadow: 0 6px 20px rgba(0,0,0,.28);
}
.gs-filter-btn:hover { border-color: var(--gs-accent); }
.gs-filter-btn.has-active, .gs-filter-btn.is-open { border-color: var(--gs-accent); color: var(--gs-accent); }
.gs-filter-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--gs-line); }
.gs-filter-pop {
  position: absolute; right: 0; bottom: 100%; z-index: 50; margin-bottom: 8px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  max-width: min(340px, 90vw); padding: 14px;
  background: var(--gs-bg); border: 1px solid var(--gs-line); border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
}

@media (max-width: 720px) {
  .gs-listing-bar { top: 60px; }
  .gs-catscroll-track { padding: 12px 0; gap: 7px; }
  .gs-catscroll-chip { padding: 8px 15px; font-size: 13px; }
  .gs-catscroll-arrow { width: 46px; }
}

.gs-shop-filter-meta { display: flex; align-items: center; gap: 14px; }
.gs-shop-count { font-size: 13px; color: var(--gs-muted); }
.gs-shop-reset {
  margin-left: auto; padding: 6px 12px; border: 1px solid var(--gs-line); border-radius: 8px;
  background: transparent; color: var(--gs-muted); font-size: 13px; cursor: pointer;
  transition: border-color .15s, color .15s;
}
.gs-shop-reset:hover { color: var(--gs-fg); border-color: var(--gs-accent); }
.gs-shop-empty { padding: 48px 0; text-align: center; color: var(--gs-muted); font-size: 16px; }

/* Full collection grid */
.gs-ap-section { padding-top: 36px; }
.gs-ap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 18px; }
.gs-ap-card {
  margin: 0; border: 1px solid var(--gs-line); border-radius: 14px; overflow: hidden;
  background: var(--gs-paper); display: flex; flex-direction: column; transition: border-color .2s, transform .2s;
}
.gs-ap-card:hover { border-color: var(--gs-accent); transform: translateY(-4px); }
.gs-ap-media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #111; }
.gs-ap-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.gs-ap-card:hover .gs-ap-media img { transform: scale(1.05); }
.gs-ap-buy {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 11px 14px;
  border: 0; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 14px;
  background: var(--gs-grad); color: var(--gs-accent-ink);
  opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s, filter .2s;
}
.gs-ap-card:hover .gs-ap-buy { opacity: 1; transform: translateY(0); }
.gs-ap-buy:hover { filter: brightness(1.08); }
.gs-ap-buy.added { background: var(--gs-bg); color: var(--gs-accent); box-shadow: 0 0 0 1.5px var(--gs-accent) inset; opacity: 1; transform: translateY(0); }
.gs-ap-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.gs-ap-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.gs-ap-name { font-size: 17px; font-weight: 600; margin: 0; color: var(--gs-fg); }
.gs-ap-price { font-family: var(--gs-font-mono); font-size: 16px; font-weight: 600; color: var(--gs-accent); white-space: nowrap; }
.gs-ap-desc { font-size: 14px; color: var(--gs-muted); line-height: 1.5; margin: 0; }
.gs-ap-link { cursor: pointer; transition: color .2s; }
.gs-ap-link:hover { color: var(--gs-accent); }
.gs-ap-detail { align-self: flex-start; margin-top: 4px; padding: 8px 14px; font-size: 13px; gap: 6px; }

/* Per-card colour variants */
.gs-ap-swatches { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.gs-ap-swatch {
  width: 18px; height: 18px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 1.5px solid var(--gs-line);
  transition: transform .12s, border-color .12s, box-shadow .12s;
}
.gs-ap-swatch:hover { transform: scale(1.18); border-color: var(--gs-accent); }
.gs-ap-swatch.active { border-color: var(--gs-accent); box-shadow: 0 0 0 1.5px var(--gs-accent); }

/* Clickable kit chip — image/name open the detail page, the + adds to order */
.gs-kit-chip { position: relative; }
.gs-kit-chip-add {
  position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 0;
  border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1; font-weight: 700;
  background: var(--gs-grad); color: var(--gs-accent-ink);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.8); transition: opacity .2s, transform .2s, filter .2s;
}
.gs-kit-chip:hover .gs-kit-chip-add { opacity: 1; transform: scale(1); }
.gs-kit-chip-add:hover { filter: brightness(1.08); }
.gs-kit-chip.added .gs-kit-chip-add { opacity: 1; transform: scale(1); background: var(--gs-bg); color: var(--gs-accent); box-shadow: 0 0 0 1.5px var(--gs-accent) inset; }

/* Apparel product detail page — mirrors the complex PDP (gs-pdp-*).
   Apparel photos are square product shots on white, so contain (don't crop). */
.gs-ap-stage { background: #fff; }
.gs-ap-stage img { object-fit: contain !important; }
.gs-ap-thumb { background: #fff; }
.gs-ap-thumb img { object-fit: contain !important; }
.gs-ap-lightbox-inner img { background: #fff; }
.gs-pdp-price { font-family: var(--gs-font-mono); font-size: 28px; font-weight: 700; color: var(--gs-accent); margin: 2px 0 16px; }
.gs-ap-colorpick { margin: 18px 0 4px; }
.gs-ap-colorpick-head { display: flex; align-items: baseline; gap: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--gs-muted); margin-bottom: 10px; }
.gs-ap-colorpick-head strong { color: var(--gs-fg); font-weight: 600; letter-spacing: 0; text-transform: none; }
.gs-ap-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.gs-ap-swatch { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gs-line); cursor: pointer; padding: 0; box-shadow: 0 0 0 0 var(--gs-accent); transition: box-shadow .15s, transform .15s; }
.gs-ap-swatch:hover { transform: scale(1.1); }
.gs-ap-swatch.active { box-shadow: 0 0 0 2px var(--gs-bg), 0 0 0 4px var(--gs-accent); }

.gs-ap-sizes { margin: 18px 0 4px; }
.gs-ap-sizes-head { display: flex; align-items: baseline; gap: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--gs-muted); margin-bottom: 10px; }
.gs-ap-sizes-head strong { color: var(--gs-fg); font-weight: 600; letter-spacing: 0; text-transform: none; }
.gs-ap-sizes-list { display: flex; flex-wrap: wrap; gap: 8px; }
.gs-ap-size { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 34px; padding: 0 10px; border: 1px solid var(--gs-line); border-radius: 6px; font-family: var(--gs-font-mono); font-size: 13px; font-weight: 500; color: var(--gs-fg); background: var(--gs-bg); cursor: pointer; transition: border-color .12s, color .12s, background .12s, box-shadow .12s; }
.gs-ap-size:hover { border-color: var(--gs-accent); color: var(--gs-accent); }
.gs-ap-size.active { border-color: var(--gs-accent); background: var(--gs-accent); color: #fff; box-shadow: 0 0 0 2px var(--gs-bg), 0 0 0 4px var(--gs-accent); }
.gs-ap-sizes-err .gs-ap-sizes-head { color: var(--gs-accent); }
.gs-ap-sizes-err .gs-ap-size:not(.active) { border-color: var(--gs-accent); }
.gs-ap-size-hint { margin-top: 8px; font-size: 12.5px; color: var(--gs-accent); }
.gs-pdp-cta-primary[aria-disabled="true"] { opacity: .6; }
/* Confirmed "in order" state — clearly switch from filled gradient to an outlined check */
.gs-pdp-cta-primary.added,
.gs-prod-actions .gs-btn-primary.added {
  background: rgba(var(--gs-accent-rgb), .1);
  color: var(--gs-accent);
  box-shadow: 0 0 0 2px var(--gs-accent) inset;
  font-weight: 600;
}
.gs-pdp-cta-primary.added:hover,
.gs-prod-actions .gs-btn-primary.added:hover {
  transform: translateY(-1px);
  background: rgba(var(--gs-accent-rgb), .16);
  box-shadow: 0 0 0 2px var(--gs-accent) inset;
}

/* Quantity stepper on the apparel product page */
.gs-ap-qty { margin: 22px 0 4px; }
.gs-ap-qty-head { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--gs-muted); margin-bottom: 10px; }
.gs-ap-qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--gs-line); border-radius: 8px; overflow: hidden; }
.gs-ap-qty-btn { width: 40px; height: 40px; border: 0; background: var(--gs-bg); color: var(--gs-fg); font-size: 20px; line-height: 1; cursor: pointer; transition: background .12s, color .12s; }
.gs-ap-qty-btn:hover:not(:disabled) { background: var(--gs-accent); color: #fff; }
.gs-ap-qty-btn:disabled { opacity: .4; cursor: default; }
.gs-ap-qty-val { min-width: 46px; text-align: center; font-family: var(--gs-font-mono); font-size: 15px; font-weight: 600; }

/* Extra breathing room so the CTA buttons don't hug the size/qty controls */
.gs-pdp-cta { margin-top: 22px; }

/* Prev / next product navigation */
.gs-pdp-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.gs-pdp-nav { display: flex; gap: 8px; }
.gs-pdp-nav-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--gs-line); border-radius: 999px; background: var(--gs-bg); color: var(--gs-fg); font-size: 13px; font-weight: 500; cursor: pointer; transition: border-color .12s, color .12s; }
.gs-pdp-nav-btn:hover { border-color: var(--gs-accent); color: var(--gs-accent); }
.gs-pdp-nav-btn span { font-size: 17px; line-height: 1; }

/* Quantity stepper inside the inquiry (contact) list */
.gs-inq-qty { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.gs-inq-qty-lbl { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--gs-muted); }
.gs-inq-qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--gs-line); border-radius: 6px; overflow: hidden; }
.gs-inq-qty-btn { width: 28px; height: 28px; border: 0; background: var(--gs-bg); color: var(--gs-fg); font-size: 16px; line-height: 1; cursor: pointer; transition: background .12s, color .12s; }
.gs-inq-qty-btn:hover:not(:disabled) { background: var(--gs-accent); color: #fff; }
.gs-inq-qty-btn:disabled { opacity: .4; cursor: default; }
.gs-inq-qty-val { min-width: 32px; text-align: center; font-family: var(--gs-font-mono); font-size: 13px; font-weight: 600; }

/* ===== Inquiry lead-capture form (under cart on contact page) ===== */
.gs-inq-form { background: var(--gs-paper); padding: 24px; margin-top: 16px; border-top: 2px solid var(--gs-accent); }
.gs-inq-form h3 { margin: 0 0 6px; }
.gs-inq-form-desc { color: var(--gs-muted); font-size: 14px; line-height: 1.5; margin: 0 0 18px; }
.gs-inq-field { display: block; margin-bottom: 14px; }
.gs-inq-field span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--gs-muted); margin-bottom: 6px; }
.gs-inq-field input,
.gs-inq-field textarea { width: 100%; box-sizing: border-box; padding: 11px 12px; background: var(--gs-bg); border: 1px solid var(--gs-line); color: var(--gs-fg); font-size: 15px; font-family: inherit; border-radius: 6px; transition: border-color .12s; }
.gs-inq-field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.gs-inq-field input:focus,
.gs-inq-field textarea:focus { outline: none; border-color: var(--gs-accent); }
.gs-inq-field input::placeholder,
.gs-inq-field textarea::placeholder { color: var(--gs-muted); opacity: .7; }
.gs-inq-form-btn { width: 100%; padding: 13px 16px; background: var(--gs-accent); color: #fff; border: 0; border-radius: 6px; font-size: 15px; font-weight: 600; cursor: pointer; transition: opacity .12s; margin-top: 4px; }
.gs-inq-form-btn:hover:not(:disabled) { opacity: .9; }
.gs-inq-form-btn:disabled { opacity: .6; cursor: default; }
.gs-inq-form-err { color: #ff5a3d; font-size: 13.5px; margin-bottom: 12px; }
.gs-inq-form-done { background: var(--gs-paper); padding: 24px; margin-top: 16px; border-top: 2px solid var(--gs-accent); color: var(--gs-fg); font-size: 15px; line-height: 1.5; }

/* ===== Homepage apparel showcase (modern tabbed) ===== */
.gs-apparel-home .gs-section-head-row { align-items: flex-end; }
.gs-apparel-home-sub { color: var(--gs-muted); font-size: 16px; max-width: 560px; margin: 10px 0 0; line-height: 1.5; }

.gs-apparel-tabs { display: inline-flex; gap: 4px; margin: 8px 0 24px; padding: 4px; border: 1px solid var(--gs-line); border-radius: 999px; background: var(--gs-paper); }
.gs-apparel-tab {
  appearance: none; border: 0; cursor: pointer;
  padding: 9px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: .01em;
  color: var(--gs-muted); background: transparent;
  transition: color .2s, background .2s, box-shadow .2s;
}
.gs-apparel-tab:hover { color: var(--gs-fg); }
.gs-apparel-tab.active {
  color: var(--gs-accent-ink, #fff);
  background: var(--gs-grad, var(--gs-accent));
  box-shadow: 0 4px 14px rgba(var(--gs-accent-rgb), .28);
}

.gs-apparel-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.gs-aphome-card {
  margin: 0; display: flex; flex-direction: column;
  background: var(--gs-paper); border: 1px solid var(--gs-line); border-radius: 16px;
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.gs-aphome-card:hover {
  transform: translateY(-6px); border-color: rgba(var(--gs-accent-rgb), .5);
  box-shadow: 0 18px 38px rgba(0,0,0,.16);
}
.gs-aphome-media { position: relative; cursor: pointer; aspect-ratio: 4/5; overflow: hidden; background: #111; }
.gs-aphome-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gs-aphome-card:hover .gs-aphome-media img { transform: scale(1.06); }

.gs-aphome-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 4px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .02em;
  background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(4px);
}
.gs-aphome-add {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: var(--gs-grad, var(--gs-accent)); color: var(--gs-accent-ink, #fff);
  box-shadow: 0 6px 16px rgba(var(--gs-accent-rgb), .4);
  opacity: 0; transform: translateY(8px) scale(.85);
  transition: opacity .25s, transform .25s, filter .15s;
}
.gs-aphome-card:hover .gs-aphome-add { opacity: 1; transform: translateY(0) scale(1); }
.gs-aphome-add:hover { filter: brightness(1.08); }
.gs-aphome-add:active { transform: scale(.9); }
.gs-aphome-add.added { background: var(--gs-bg); color: var(--gs-accent); box-shadow: 0 0 0 2px var(--gs-accent) inset; opacity: 1; transform: translateY(0) scale(1); }

.gs-aphome-info { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.gs-aphome-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.gs-aphome-name { font-size: 15px; font-weight: 600; line-height: 1.25; margin: 0; cursor: pointer; transition: color .15s; }
.gs-aphome-name:hover { color: var(--gs-accent); }
.gs-aphome-price { font-family: var(--gs-font-mono); font-size: 14px; font-weight: 700; color: var(--gs-accent); white-space: nowrap; }

.gs-aphome-swatches { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.gs-aphome-swatch {
  width: 18px; height: 18px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 1.5px solid var(--gs-line); box-shadow: 0 0 0 0 var(--gs-accent);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.gs-aphome-swatch:hover { transform: scale(1.18); border-color: var(--gs-accent); }
.gs-aphome-swatch.active { border-color: var(--gs-bg); box-shadow: 0 0 0 2px var(--gs-accent); }
.gs-aphome-swatch-more { font-size: 11px; color: var(--gs-muted); font-weight: 600; }

@media (max-width: 1100px) { .gs-apparel-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .gs-apparel-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .gs-aphome-add { opacity: 1; transform: none; } .gs-apparel-tabs { width: 100%; justify-content: stretch; } .gs-apparel-tab { flex: 1; padding: 9px 8px; } }

/* Admin apparel editor */
.gs-admin-ap-list { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.gs-admin-ap-item { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 16px; border: 1px solid var(--gs-line); border-radius: 12px; background: var(--gs-paper); }
.gs-admin-ap-media { display: flex; flex-direction: column; gap: 8px; }
.gs-admin-ap-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; background: #111; }
.gs-admin-ap-noimg { width: 100%; aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--gs-line); border-radius: 8px; color: var(--gs-muted); font-size: 12px; }
.gs-admin-ap-fields { display: flex; flex-direction: column; gap: 12px; }
.gs-admin-ap-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.gs-admin-ap-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 14px; }
.gs-admin-ap-ctrls { display: flex; gap: 8px; align-items: center; }
.gs-admin-ap-ctrls button:not(.gs-admin-btn) { width: 34px; height: 34px; border: 1px solid var(--gs-line); background: transparent; color: var(--gs-fg); border-radius: 6px; cursor: pointer; }
.gs-admin-ap-ctrls button:disabled { opacity: .4; cursor: default; }

@media (max-width: 960px) {
  .gs-ap-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  /* Apparel catalog: 2 cards per row spanning the full screen width (the grid
     breaks out of the container padding; photos meet in the middle). */
  .gs-ap-grid {
    grid-template-columns: 1fr 1fr; gap: 22px 0;
    margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw;
  }
  .gs-cat-card .gs-sim-media { border-radius: 0; aspect-ratio: 4 / 5; }
  .gs-cat-card .gs-sim-name, .gs-cat-card .gs-cat-card-row { padding: 0 10px; }
  /* Thin divider between the two cards in a row (box-shadow keeps both photos
     equal width — a border would shrink the left card by 1px). */
  .gs-ap-grid .gs-cat-card:nth-child(odd) { box-shadow: 1px 0 0 var(--gs-line); }
  .gs-kit-chip-add { opacity: 1; transform: scale(1); }
  .gs-admin-ap-item { grid-template-columns: 1fr; }
  .gs-admin-ap-media { flex-direction: row; }
  .gs-admin-ap-media img, .gs-admin-ap-noimg { width: 120px; }
  .gs-admin-ap-grid2, .gs-admin-ap-grid3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .gs-ap-buy { opacity: 1; transform: none; }
}

/* ── Prev/next product navigation (beside product title) ─────────────── */
.gs-pnav-row { display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; }
.gs-pnav-row > h1 { flex: 1 1 auto; min-width: 0; }
.gs-pnav { display: inline-flex; gap: 10px; flex: 0 0 auto; }
.gs-pnav-btn-wrap { position: relative; display: inline-flex; }
.gs-pnav-arrow {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--gs-line); background: var(--gs-paper); color: var(--gs-fg);
  font-size: 28px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s, border-color .15s;
}
.gs-pnav-arrow:hover { background: var(--gs-grad); color: var(--gs-accent-ink); border-color: transparent; }
.gs-pnav-preview {
  position: absolute; top: calc(100% + 12px); z-index: 40;
  width: 420px; max-width: calc(100vw - 32px); display: flex; gap: 18px; align-items: center;
  padding: 18px; background: var(--gs-paper);
  border: 1px solid var(--gs-line); border-radius: var(--gs-radius);
  box-shadow: var(--gs-shadow-lg); pointer-events: none;
}
/* Nav sits at the right edge of the layout, so both previews open leftward to stay on screen */
.gs-pnav-preview-prev { right: 0; }
.gs-pnav-preview-next { right: 0; }
.gs-pnav-preview::before {
  content: ''; position: absolute; bottom: 100%;
  border: 6px solid transparent; border-bottom-color: var(--gs-line);
}
.gs-pnav-preview-prev::before { right: 16px; }
.gs-pnav-preview-next::before { right: 16px; }
.gs-pnav-preview-img { width: 130px; height: 130px; flex: 0 0 auto; border-radius: 3px; overflow: hidden; background: var(--gs-bg); }
.gs-pnav-preview-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gs-pnav-preview-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gs-pnav-preview-label { font-family: var(--gs-font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--gs-accent); }
.gs-pnav-preview-cat { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--gs-muted); }
.gs-pnav-preview-name { font-family: var(--gs-font-display); font-weight: 600; font-size: 22px; line-height: 1.25; color: var(--gs-fg); overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .gs-pnav-arrow { width: 42px; height: 42px; font-size: 25px; }
  /* Touch devices have no hover — arrows still navigate, preview stays hidden */
  .gs-pnav-preview { display: none; }
}

/* ===== Cookie consent banner ===== */
.gs-cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 600;
  background: var(--gs-paper);
  border-top: 2px solid var(--gs-accent);
  box-shadow: var(--gs-shadow-lg);
  animation: gs-cookie-up .3s ease;
}
@keyframes gs-cookie-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
.gs-cookie-inner {
  max-width: 1200px; margin: 0 auto; padding: 20px 24px;
  display: flex; align-items: center; gap: 28px;
}
.gs-cookie-main { flex: 1 1 auto; min-width: 0; }
.gs-cookie-title {
  font-family: var(--gs-font-display); font-weight: 700; font-size: 17px;
  color: var(--gs-fg); margin: 0 0 6px;
}
.gs-cookie-desc { font-size: 13.5px; line-height: 1.55; color: var(--gs-muted); margin: 0; max-width: 720px; }
.gs-cookie-link { color: var(--gs-accent); text-decoration: underline; cursor: pointer; }
.gs-cookie-actions {
  flex: 0 0 auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.gs-cookie-btn {
  padding: 11px 18px; border-radius: var(--gs-radius);
  font-family: var(--gs-font-display); font-size: 13px; font-weight: 600;
  letter-spacing: .01em; cursor: pointer; border: 1px solid transparent;
  transition: all .15s ease; white-space: nowrap;
}
.gs-cookie-btn-solid { background: var(--gs-accent); color: var(--gs-accent-ink); }
.gs-cookie-btn-solid:hover { filter: brightness(1.08); transform: translateY(-1px); }
.gs-cookie-btn-outline { background: transparent; color: var(--gs-fg); border-color: var(--gs-line); }
.gs-cookie-btn-outline:hover { border-color: var(--gs-fg); }
.gs-cookie-btn-ghost { background: transparent; color: var(--gs-muted); border-color: transparent; }
.gs-cookie-btn-ghost:hover { color: var(--gs-fg); }

.gs-cookie-cats { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.gs-cookie-cat {
  padding: 12px 14px; border: 1px solid var(--gs-line); border-radius: var(--gs-radius);
  background: var(--gs-bg);
}
.gs-cookie-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gs-cookie-cat-name { font-weight: 600; font-size: 14px; color: var(--gs-fg); }
.gs-cookie-cat-on {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
  color: var(--gs-accent);
}
.gs-cookie-cat-desc { margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--gs-muted); }
.gs-cookie-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.gs-cookie-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.gs-cookie-slider {
  position: relative; width: 40px; height: 22px; border-radius: 22px;
  background: var(--gs-line); transition: background .15s ease; flex: 0 0 auto;
}
.gs-cookie-slider::after {
  content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff; transition: transform .15s ease;
}
.gs-cookie-switch input:checked + .gs-cookie-slider { background: var(--gs-accent); }
.gs-cookie-switch input:checked + .gs-cookie-slider::after { transform: translateX(18px); }
.gs-cookie-switch input:focus-visible + .gs-cookie-slider { outline: 2px solid var(--gs-accent); outline-offset: 2px; }

@media (max-width: 860px) {
  .gs-cookie-inner { flex-direction: column; align-items: stretch; gap: 16px; padding: 18px; }
  .gs-cookie-actions { justify-content: flex-end; }
  .gs-cookie-btn { flex: 1 1 auto; text-align: center; }
}

/* ===== Legal / privacy page ===== */
.gs-legal { padding: 120px 0 80px; background: var(--gs-bg); }
.gs-legal-head { max-width: 800px; margin: 0 auto 40px; }
.gs-legal-head h1 {
  font-family: var(--gs-font-display); font-weight: 700; font-size: clamp(30px, 5vw, 44px);
  color: var(--gs-fg); margin: 0 0 10px;
}
.gs-legal-updated { font-size: 13px; color: var(--gs-muted); margin: 0 0 20px; }
.gs-legal-intro { font-size: 15px; line-height: 1.65; color: var(--gs-ink); margin: 0; }
.gs-legal-body { max-width: 800px; margin: 0 auto; }
.gs-legal-section { margin-bottom: 28px; }
.gs-legal-section h2 {
  font-family: var(--gs-font-display); font-weight: 600; font-size: 19px;
  color: var(--gs-fg); margin: 0 0 10px;
}
.gs-legal-section p { font-size: 14px; line-height: 1.65; color: var(--gs-muted); margin: 0 0 8px; }
.gs-legal-cta { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--gs-line); }

/* Footer legal row */
.gs-footer-legal { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.gs-footer-legal a { cursor: pointer; }
.gs-footer-legal a:hover { color: var(--gs-accent); }

/* ============================================================
   Mobile redesign: immersive product gallery + footer
   ============================================================ */

/* Header scrim so the light nav stays readable over a full-bleed photo */
.gs-header.is-transparent::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 180px;
  background: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,0));
  pointer-events: none; z-index: -1;
}

/* Smooth photo paging: apparel gallery slides, catalog gallery crossfades */
.gs-gal-track { display: flex; width: 100%; height: 100%; transition: transform .4s cubic-bezier(.22, .61, .36, 1); }
.gs-gal-track.is-dragging { transition: none; }
.gs-gal-slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; overflow: hidden; }
.gs-gal-slide > video { width: 100%; height: 100%; object-fit: contain; }
.gs-gal-fade { position: absolute; inset: 0; animation: gs-gal-fadein .4s ease; }
@keyframes gs-gal-fadein { from { opacity: 0; } to { opacity: 1; } }

/* Photo-progress bar (edge-to-edge; one moving slot per photo). Desktop keeps
   the numeric counter, so the bar is hidden until the mobile breakpoint. */
.gs-gal-progress {
  display: none; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: rgba(255,255,255,.28); overflow: hidden; z-index: 3;
}
.gs-gal-progress > span { display: block; height: 100%; background: var(--gs-accent); transition: transform .3s ease; }

/* Collapsible description. Button/clamp only kick in on mobile (below). */
.gs-desc { position: relative; }
.gs-desc-more {
  display: none; background: none; border: 0; padding: 8px 0 0; margin: 0;
  color: var(--gs-fg); font: inherit; font-weight: 600; text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer;
}

/* Photo swatch: the <img> is hidden on desktop (round colour chips stay). */
.gs-ap-swatch img { display: none; }

/* Similar products — no card background, image + name + price */
.gs-sim-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.gs-sim-card { cursor: pointer; }
.gs-sim-media { width: 100%; aspect-ratio: 1; background: var(--gs-paper); border-radius: 12px; overflow: hidden; position: relative; touch-action: pan-y; }
.gs-sim-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.gs-sim-card:hover .gs-sim-media img { transform: scale(1.04); }
.gs-sim-name { font-family: var(--gs-font-display); font-weight: 600; font-size: 16px; margin: 12px 0 2px; color: var(--gs-fg); }
.gs-sim-price { display: block; font-family: var(--gs-font-mono); font-size: 14px; color: var(--gs-muted); }

/* Catalog card (apparel) — same look as similar-products cards + colour dots */
.gs-cat-card .gs-sim-name { font-size: 14px; margin-top: 10px; }
.gs-cat-track { display: flex; width: 100%; height: 100%; transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.gs-sim-media.is-dragging .gs-cat-track { transition: none; }
.gs-cat-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Swipe-progress bar on apparel cards (replaces the dot indicators):
   a translucent track = total, an orange segment = current image position. */
.gs-swipebar {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  height: 3px; border-radius: 3px;
  background: rgba(255, 255, 255, .35);
  overflow: hidden; pointer-events: none; z-index: 2;
}
.gs-swipebar span {
  display: block; height: 100%; border-radius: 3px;
  background: var(--gs-accent);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
}
.gs-cat-card:hover .gs-cat-track img { transform: none; }
.gs-cat-card-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.gs-cat-card-colors { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; }
.gs-cat-dot {
  width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--gs-line);
  flex: 0 0 auto; padding: 0; cursor: pointer; transition: box-shadow .15s, transform .12s;
}
.gs-cat-dot:hover { transform: scale(1.15); }
.gs-cat-dot.active { border-color: var(--gs-accent); box-shadow: 0 0 0 2px var(--gs-accent); }
.gs-cat-more { font-family: var(--gs-font-mono); font-size: 12px; color: var(--gs-muted); margin-left: 1px; }

/* Redesigned footer: centered wordmark + category accordion + cookie button */
.gs-foot-brand {
  text-align: center; font-family: var(--gs-font-display); font-weight: 800;
  font-size: clamp(56px, 13vw, 128px); letter-spacing: -.03em; line-height: .9; color: #fff;
}
.gs-foot-acc { max-width: 640px; margin: 40px auto 0; }
.gs-foot-acc-row { border-top: 1px solid rgba(255,255,255,.12); }
.gs-foot-acc-row:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.gs-foot-acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: transparent; border: 0; color: #fff; cursor: pointer; text-align: left;
  padding: 18px 4px; font-family: var(--gs-font-display); font-weight: 600; font-size: 18px;
  transition: color .25s, letter-spacing .25s;
}
.gs-foot-acc-head:hover { color: var(--gs-accent); }
.gs-foot-acc-head:active { transform: scale(.99); }
.gs-foot-acc-head > span:first-child { transition: transform .25s cubic-bezier(.4,0,.2,1); }
.gs-foot-acc-row.open .gs-foot-acc-head > span:first-child { transform: translateX(4px); }
.gs-foot-acc-ico {
  color: var(--gs-accent); font-size: 24px; font-weight: 400; line-height: 1;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.gs-foot-acc-row.open .gs-foot-acc-ico { transform: rotate(135deg); }
/* Smooth expand / collapse via animated grid rows */
.gs-foot-acc-wrap {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .35s cubic-bezier(.4,0,.2,1);
}
.gs-foot-acc-row.open .gs-foot-acc-wrap { grid-template-rows: 1fr; }
.gs-foot-acc-body {
  overflow: hidden; padding: 0 4px;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .3s ease .05s, transform .3s ease .05s, padding .35s cubic-bezier(.4,0,.2,1);
}
.gs-foot-acc-row.open .gs-foot-acc-body { opacity: 1; transform: translateY(0); padding: 0 4px 18px; }
.gs-foot-acc-body p { color: rgba(250,250,247,.6); font-size: 14px; line-height: 1.55; margin: 0 0 14px; }
.gs-foot-acc-body a { display: block; color: rgba(250,250,247,.8); cursor: pointer; font-size: 15px; margin-bottom: 12px; transition: color .2s, transform .2s; }
.gs-foot-acc-body a:last-child { margin-bottom: 0; }
.gs-foot-acc-body a:hover { color: var(--gs-accent); transform: translateX(4px); }
.gs-foot-actions { display: flex; justify-content: center; gap: 28px; margin-top: 40px; }
.gs-foot-link {
  background: none; border: 0; cursor: pointer; padding: 4px;
  color: rgba(250,250,247,.7); font-family: var(--gs-font-mono); font-size: 13px;
  letter-spacing: .05em; text-transform: uppercase; transition: color .2s, transform .15s;
}
.gs-foot-link:hover { color: var(--gs-accent); }
.gs-foot-link:active { transform: scale(.94); }

@media (max-width: 720px) {
  /* ---------- Immersive full-bleed gallery (shop + catalog) ---------- */
  .gs-pdp-immersive.gs-product { padding: 0 0 56px; }
  .gs-pdp-immersive .gs-container { padding: 0; max-width: 100%; }
  .gs-pdp-immersive .gs-pdp-topbar,
  .gs-pdp-immersive .gs-crumbs,
  .gs-pdp-immersive .gs-pnav,
  .gs-pdp-immersive .gs-pdp-thumbs,
  .gs-pdp-immersive .gs-pdp-meta,
  .gs-pdp-immersive .gs-gal-counter { display: none; }
  /* Inline gallery arrows only appear in the expanded (fullscreen) view. */
  .gs-pdp-immersive .gs-gal-arrow:not(.gs-gal-arrow-fs) { display: none; }
  .gs-pdp-immersive .gs-section { padding: 40px 16px; }

  .gs-gal-progress { display: block; }
  .gs-pdp-immersive .gs-gal-progress { bottom: 34px; height: 4px; }

  /* Shop (apparel) — photo sized to full screen width; height locked to the
     first photo's aspect ratio (set inline from JS, with a fallback below). */
  .gs-pdp-immersive .gs-pdp-main { display: block; margin: 0; }
  .gs-pdp-immersive .gs-pdp-gallery { position: sticky; top: 0; width: 100%; aspect-ratio: 4 / 5; background: #fff; will-change: transform; transform: translateZ(0); }
  .gs-pdp-immersive .gs-pdp-stage { height: 100%; aspect-ratio: auto; border-radius: 0; touch-action: pan-y; }
  .gs-pdp-immersive .gs-ap-stage { background: #fff; }
  /* Filmstrip: each slide is as wide as its photo (at the frame height); the
     photo shows in full, and the screen crops whatever exceeds its width. The
     active slide is centred from JS, so swiping reveals the neighbours' edges. */
  .gs-pdp-immersive .gs-gal-slide { flex: 0 0 auto; width: auto; min-width: 100%; height: 100%; overflow: visible; display: flex; align-items: stretch; justify-content: center; }
  .gs-pdp-immersive .gs-ap-stage img { height: 100%; width: auto; max-width: none; object-fit: contain; object-position: center; }
  .gs-pdp-immersive .gs-pdp-side {
    position: relative; z-index: 2; background: var(--gs-bg); margin-top: -28px;
    border-radius: 22px 22px 0 0; padding: 26px 16px 8px; box-shadow: 0 -12px 30px rgba(0,0,0,.16);
  }
  .gs-pdp-immersive .gs-pdp-name { margin-top: 0; }
  .gs-pdp-immersive .gs-pdp-price { font-size: 20px; margin: 2px 0 14px; }

  /* Catalog (gym) — same as apparel: full-width photo, height from first photo */
  .gs-pdp-immersive .gs-prod-detail { display: block; margin: 0; }
  .gs-pdp-immersive .gs-prod-gal { position: sticky; top: 0; width: 100%; aspect-ratio: 4 / 5; background: #fff; will-change: transform; transform: translateZ(0); }
  .gs-pdp-immersive .gs-prod-gal-main { height: 100%; aspect-ratio: auto; border-radius: 0; background: #fff; touch-action: pan-y; }
  .gs-pdp-immersive .gs-prod-gal-main img { height: 100%; width: auto; max-width: none; object-fit: contain; object-position: center; }
  /* Hide the bestseller / promo tag on the immersive product photo (mobile) —
     it clashed with the transparent header / logo. */
  .gs-pdp-immersive .gs-prod-tag { display: none; }
  .gs-pdp-immersive .gs-prod-info {
    position: relative; z-index: 2; background: var(--gs-bg); margin-top: -28px;
    border-radius: 22px 22px 0 0; padding: 26px 16px 8px; box-shadow: 0 -12px 30px rgba(0,0,0,.16);
  }

  /* Colour circles -> photo thumbnails */
  .gs-ap-swatch { width: 58px; height: 58px; border-radius: 12px; overflow: hidden; }
  .gs-ap-swatch img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .gs-ap-swatch.active { box-shadow: 0 0 0 2px var(--gs-bg), 0 0 0 4px var(--gs-accent); }

  /* Collapsible description — clamp ~5 lines while collapsed (the clamp is what
     lets JS detect overflow); the fade + button only appear when it actually
     overflows (.is-clamped set from JS), so short copy shows no button. */
  .gs-desc-more { display: inline-block; }
  .gs-desc:not(.open) { max-height: 7.6em; overflow: hidden; }
  /* The short (lead) description clamps to ~3 lines. */
  .gs-prod-lead.gs-desc { line-height: 1.5; }
  .gs-prod-lead.gs-desc:not(.open) { max-height: 4.6em; }
  .gs-desc.is-clamped::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3.2em;
    background: linear-gradient(to bottom, transparent, var(--gs-bg)); pointer-events: none;
  }
  .gs-prod-lead.gs-desc.is-clamped::after { height: 2em; }

  /* Similar products: edge-to-edge full-width photos, first one wide */
  .gs-pdp-immersive .gs-sim-section { padding: 14px 0 56px; }
  .gs-sim-section .gs-section-title { padding: 0 16px; margin-bottom: 20px; }
  /* Full-bleed 2-per-row grid, identical to the apparel catalog cards
     (full-width photos meeting in the middle + a thin divider between them). */
  .gs-sim-grid {
    grid-template-columns: 1fr 1fr; gap: 22px 0;
    margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw;
  }
  .gs-sim-first { grid-column: 1 / -1; }
  .gs-sim-media { border-radius: 0; }
  /* Thin divider between the two cards in a row (box-shadow keeps both photos
     equal width). The full-width first card is child 1, so the left card of
     each pair is an even child. */
  .gs-sim-grid .gs-cat-card:nth-child(even) { box-shadow: 1px 0 0 var(--gs-line); }
  /* First similar product shows the whole photo at full width (no crop). */
  .gs-sim-first.gs-cat-card .gs-sim-media { aspect-ratio: auto; }
  .gs-sim-first .gs-cat-track { height: auto; }
  .gs-sim-first .gs-cat-track img { height: auto; object-fit: contain; }
  .gs-sim-name { padding: 0 6px; }
  .gs-sim-price { padding: 0 6px; }

  /* Footer tightening */
  .gs-foot-acc { margin-top: 28px; }
}

/* ============================================================
   HOMEPAGE REDESIGN — hero, overlap, section CTA, home gallery
   ============================================================ */

/* Hero slider: centered + lower title, plain underlined CTA.
   Sticky + behind the content so the sections below scroll up over the
   pinned media (same "media stays in place" effect as the product page). */
.gs-hero-slider { position: sticky; top: 0; z-index: 0; }
.gs-hero-slider .gs-hero-content { top: auto; bottom: 150px; transform: translateX(-50%); text-align: center; }
.gs-hero-slider .gs-hero-title {
  align-items: center; font-size: clamp(30px, 4.6vw, 68px); margin: 0 0 22px;
}
/* Keep each authored line on one line on desktop — the font scales with the
   viewport, so a single-line title never breaks mid-phrase on wide screens. */
.gs-hero-slider .gs-hero-title span { white-space: nowrap; }
.gs-hero-slider .gs-hero-title span:nth-child(2) { transform: none; }
.gs-hero-slider .gs-hero-scroll { display: none; }
.gs-hero-slider .gs-hero-bar { bottom: 64px; }
.gs-hero-cta-link.gs-btn-primary {
  background: none; box-shadow: none; color: #fff; padding: 0;
  border-radius: 0; text-decoration: underline; text-underline-offset: 6px;
  font-weight: 600; letter-spacing: .02em;
}
.gs-hero-cta-link.gs-btn-primary:hover { transform: none; box-shadow: none; opacity: .7; }

/* Opaque wrapper for all post-hero content: curves up over the pinned hero
   media and keeps it fully covered as you scroll (product-page overlap look) */
.gs-home-overlap {
  position: relative; z-index: 1; background: var(--gs-bg);
  margin-top: -34px; border-radius: 26px 26px 0 0;
  box-shadow: 0 -14px 34px rgba(0,0,0,.22);
}
.gs-home-overlap > .gs-section:first-child { padding-top: 56px; }

/* Centered "view all / view gallery" buttons under a section */
.gs-section-cta { display: flex; justify-content: center; margin-top: 32px; }

/* Swipeable homepage gallery carousel */
.gs-home-gal { margin-top: 18px; }
.gs-home-gal .gs-prod-gal-main {
  aspect-ratio: 16 / 7; background: var(--gs-paper);
  position: relative; overflow: hidden; border-radius: var(--gs-radius);
  touch-action: pan-y;
}
.gs-home-gal .gs-gal-progress { display: block; }

@media (max-width: 720px) {
  .gs-home-overlap { margin-top: -22px; border-radius: 20px 20px 0 0; }
  .gs-hero-slider .gs-hero-content { bottom: 110px; }
  .gs-hero-slider .gs-hero-title { font-size: clamp(26px, 7vw, 44px); }
  /* On phones allow long titles to wrap rather than overflow the screen. */
  .gs-hero-slider .gs-hero-title span { white-space: normal; }
  .gs-home-gal .gs-prod-gal-main {
    aspect-ratio: 4 / 5; border-radius: 0;
    margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw;
  }
  .gs-home-gal .gs-gal-arrow { display: none; }
}
