/* ============ TRC – Surfskate: Coaching, Videos, Lifestyle & Shop ============ */

:root {
  --navy: #0a1a2f;
  --navy-deep: #06111f;
  --teal: #12454a;
  --coral: #ff5b3c;
  --coral-dark: #e14526;
  --sand: #a9bcc8;
  --paper: #f5f2ec;
  --paper-2: #ebe6dc;
  --line: #ddd6c9;
  --ink: #0b0b0d;
  --muted: #5c6470;
  --white: #ffffff;

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container-w: 1240px;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(10, 26, 47, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 26, 47, 0.18);
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--coral);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover { background: var(--coral-dark); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--teal); }
.btn-ghost { border: 2px solid rgba(255, 255, 255, 0.7); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(6, 17, 31, 0.0);
  color: var(--white);
  transition: background 0.25s, box-shadow 0.25s;
}
.site-header.is-solid,
.site-header.always-solid {
  background: var(--navy-deep);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 38px; width: auto; }
.logo-sub {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.12em;
  line-height: 1.05;
}
.logo-sub small {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--coral);
}

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 26px; }
.main-nav a {
  font-weight: 600;
  font-size: 15px;
  opacity: 0.88;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { opacity: 1; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }

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

.lang-dropdown { position: relative; }
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.lang-toggle:hover { border-color: rgba(255, 255, 255, 0.6); }
.lang-caret { width: 9px; height: 6px; transition: transform 0.18s; }
.lang-toggle[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10;
  display: none;
  gap: 2px;
  padding: 5px;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.5);
}
.lang-menu.is-open { display: flex; }
.lang-option {
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  transition: background 0.15s, color 0.15s;
}
.lang-option:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); }
.lang-option.is-active { color: var(--coral); }

.cart-btn {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s;
}
.cart-btn:hover { background: rgba(255, 255, 255, 0.2); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute;
  top: -2px; right: -2px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.cart-count[data-count="0"] { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Section basics ---------- */

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-paper-2 { background: var(--paper-2); }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.section-head-row .section-head { margin-bottom: 0; }

.eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--coral);
  text-transform: uppercase;
  margin-bottom: 12px;
}

h1, h2, h3 { line-height: 1.05; }
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 56px);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.section-sub { margin-top: 14px; color: var(--muted); font-size: 17px; }
.section-dark .section-sub { color: rgba(255, 255, 255, 0.72); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  padding: calc(var(--header-h) + 60px) 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--navy) url("../images/instagram/ig-47.jpg") center 40% / cover no-repeat;
  transform: scale(1.04);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 17, 31, 0.55) 0%, rgba(6, 17, 31, 0.1) 35%, rgba(6, 17, 31, 0.85) 100%),
    linear-gradient(90deg, rgba(6, 17, 31, 0.6) 0%, rgba(6, 17, 31, 0) 60%);
}

.hero-inner { width: 100%; }
.hero-content { max-width: 760px; padding-bottom: 48px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 9vw, 120px);
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
}
.hero h1 em { font-style: normal; color: var(--coral); }
.hero-lead { margin-top: 20px; font-size: clamp(17px, 1.7vw, 20px); max-width: 560px; color: rgba(255, 255, 255, 0.88); }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

.trust-bar {
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius) var(--radius) 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
}
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item svg { width: 34px; height: 34px; flex-shrink: 0; color: var(--coral); }
.trust-item strong { display: block; font-size: 15px; }
.trust-item span { font-size: 13px; color: var(--muted); }

/* ---------- Coaching rail ---------- */

.rail-controls { display: flex; gap: 10px; }
.rail-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.rail-btn:hover { background: var(--navy); color: var(--white); }
.rail-btn:disabled { opacity: 0.3; pointer-events: none; }
.rail-btn svg { width: 18px; height: 18px; }

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 22px) / 4);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 4px 24px;
  margin: 0 -4px;
}
.rail::-webkit-scrollbar { display: none; }

.offer-card {
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.offer-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.offer-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.offer-card:hover .offer-media img { transform: scale(1.05); }
.offer-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--coral);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
}
.offer-badge.alt { background: var(--white); color: var(--navy); }
.offer-level {
  position: absolute;
  bottom: 14px; left: 14px;
  display: flex; gap: 4px;
}
.offer-level i {
  width: 22px; height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
}
.offer-level i.on { background: var(--white); }

.offer-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.offer-title { font-size: 20px; font-weight: 800; color: var(--navy); }
.offer-meta {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
}
.offer-desc { margin-top: 10px; font-size: 15px; color: var(--muted); }
.offer-incl {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.offer-foot {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.offer-price { font-size: 13px; color: var(--muted); }
.offer-price strong { display: block; font-size: 24px; color: var(--navy); font-weight: 800; line-height: 1.1; }

/* ---------- Promo banner ---------- */

.promo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: var(--coral);
  color: var(--white);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  isolation: isolate;
}
.promo-main { padding: 56px 52px; }
.promo-big {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 120px);
  line-height: 0.88;
  text-transform: uppercase;
}
.promo-big small { display: block; font-size: 0.36em; letter-spacing: 0.04em; margin-top: 10px; }
.promo-main p { margin-top: 18px; font-size: 18px; max-width: 420px; }
.promo-facts {
  background: var(--navy);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.promo-facts dl { display: grid; gap: 18px; }
.promo-facts dt { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; color: var(--coral); }
.promo-facts dd { font-size: 17px; font-weight: 600; margin-top: 2px; }
.promo-facts dd span { display: block; font-weight: 400; font-size: 14px; color: rgba(255, 255, 255, 0.65); }
.promo-facts dd span.dd-v { display: inline; font-size: inherit; color: inherit; }
.promo-wave {
  position: absolute;
  right: 42%;
  bottom: -20px;
  width: 320px;
  opacity: 0.18;
  z-index: -1;
}

/* ---------- Videos ---------- */

.video-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--white); }
.chip.is-active { background: var(--coral); border-color: var(--coral); color: var(--white); }
.chip-light { border-color: var(--line); color: var(--navy); background: var(--white); }
.chip-light:hover { border-color: var(--navy); }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.video-card { text-align: left; display: block; width: 100%; }
.video-card[hidden] { display: none; }
.video-card.featured { grid-column: span 2; grid-row: span 2; }
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-deep);
}
.video-card.featured .video-thumb { aspect-ratio: auto; height: calc(100% - 76px); min-height: 280px; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s, opacity 0.3s; opacity: 0.85; }
.video-card:hover .video-thumb img { transform: scale(1.05); opacity: 1; }
.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 17, 31, 0) 40%, rgba(6, 17, 31, 0.8) 100%);
}
.play {
  position: absolute;
  top: 50%; left: 50%;
  z-index: 1;
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--coral);
  display: grid;
  place-items: center;
  transition: transform 0.25s, background 0.25s, color 0.25s;
}
.play svg { width: 22px; height: 22px; margin-left: 4px; }
.video-card:hover .play { transform: scale(1.1); background: var(--coral); color: var(--white); }
.video-card.featured .play { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.video-dur, .video-tag {
  position: absolute;
  z-index: 1;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(6, 17, 31, 0.75);
  color: var(--white);
}
.video-dur { bottom: 12px; right: 12px; }
.video-tag { top: 12px; left: 12px; background: var(--coral); }
.video-info { padding: 14px 4px 0; }
.video-info h3 { font-size: 18px; font-weight: 800; line-height: 1.25; }
.video-card.featured .video-info h3 { font-size: 24px; }
.video-info p { margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, 0.65); }

/* ---------- Levels (tile grid) ---------- */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tile {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.5s;
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 17, 31, 0) 35%, rgba(6, 17, 31, 0.88) 100%);
}
.tile:hover img { transform: scale(1.06); }
.tile-body { padding: 22px; }
.tile-kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; color: var(--coral); }
.tile h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  text-transform: uppercase;
  margin-top: 4px;
}
.tile p { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, 0.82); }
.tile-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
}

/* ---------- Lifestyle ---------- */

.lifestyle-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.lifestyle-text p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.lifestyle-text .btn { margin-top: 28px; }
.pillars { margin-top: 28px; display: grid; gap: 14px; }
.pillar { display: flex; gap: 14px; align-items: flex-start; }
.pillar-num {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--coral);
  line-height: 1;
  min-width: 36px;
}
.pillar strong { display: block; color: var(--navy); }
.pillar span { font-size: 15px; color: var(--muted); }

.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 14px;
}
.mosaic figure { border-radius: var(--radius); overflow: hidden; position: relative; background: var(--navy); }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption {
  position: absolute;
  left: 12px; bottom: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
}

/* ---------- Shop teaser / categories ---------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 56px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  padding: 26px 24px;
  min-height: 210px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s;
}
.cat-card:hover { transform: translateY(-4px); }
.cat-card svg.cat-art {
  position: absolute;
  right: -20px; bottom: -20px;
  width: 180px; height: 180px;
  opacity: 0.22;
  z-index: -1;
  transition: transform 0.4s;
}
.cat-card:hover svg.cat-art { transform: rotate(-8deg) scale(1.05); }
.cat-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 34px; text-transform: uppercase; }
.cat-card p { font-size: 14px; opacity: 0.85; margin-top: 4px; max-width: 200px; }
.cat-card .tile-arrow { margin-top: 0; }
.cat-surf { background: linear-gradient(140deg, #12454a, #1c6a6f); }
.cat-surfskate { background: linear-gradient(140deg, #ff5b3c, #e14526); }
.cat-skate { background: linear-gradient(140deg, #0a1a2f, #213654); }
.cat-fashion { background: linear-gradient(140deg, #3a3d42, #0b0b0d); }

/* ---------- Product cards ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media img.alt { position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s; }
.product-card:hover .product-media img.alt { opacity: 1; }
.product-media svg { width: 78%; height: 78%; }
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
}
.product-badge.new { background: var(--coral); }
.product-badge.soldout { background: #9aa1a9; }
.product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--coral); }
.product-name { margin-top: 4px; font-size: 16px; font-weight: 800; color: var(--navy); line-height: 1.3; }
.product-spec { margin-top: 4px; font-size: 13px; color: var(--muted); }
.product-foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.product-price { font-size: 18px; font-weight: 800; color: var(--navy); }
.add-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.add-btn:hover { background: var(--coral); transform: scale(1.06); }
.add-btn:disabled { background: #c6cbd1; pointer-events: none; }
.add-btn svg { width: 18px; height: 18px; }
.add-btn.added { background: #1f9d6b; }

.center-cta { text-align: center; margin-top: 44px; }

/* ---------- Features (quality) ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255, 91, 60, 0.12);
  color: var(--coral);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 17px; font-weight: 800; color: var(--navy); }
.feature p { margin-top: 4px; font-size: 15px; color: var(--muted); }

/* ---------- FAQ ---------- */

.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0 22px;
  border: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 24px;
  line-height: 1;
  color: var(--coral);
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 20px; color: var(--muted); }

/* ---------- Join CTA ---------- */

.join {
  position: relative;
  color: var(--white);
  text-align: center;
  padding: 120px 0;
  isolation: isolate;
  overflow: hidden;
}
.join::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(6, 17, 31, 0.72), rgba(6, 17, 31, 0.82)),
    url("../images/instagram/ig-12.jpg") center / cover no-repeat;
}
.join p { margin: 16px auto 0; max-width: 560px; font-size: 18px; color: rgba(255, 255, 255, 0.85); }
.join .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.75); padding: 64px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: var(--white); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid li + li { margin-top: 8px; }
.footer-grid a:hover { color: var(--coral); }
.footer-brand p { margin-top: 14px; max-width: 320px; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

/* ---------- Video modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(6, 17, 31, 0.88);
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-box { width: min(960px, 100%); position: relative; }
.modal-frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  display: grid;
  place-items: center;
  color: var(--white);
  text-align: center;
}
.modal-frame iframe { width: 100%; height: 100%; border: 0; }
.modal-soon { padding: 24px; }
.modal-soon strong { display: block; font-family: var(--font-display); font-size: 36px; text-transform: uppercase; font-weight: 400; }
.modal-soon p { margin-top: 8px; color: rgba(255, 255, 255, 0.7); }
.modal-title { color: var(--white); margin-top: 14px; font-weight: 700; font-size: 18px; }
.modal-close {
  position: absolute;
  top: -52px; right: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 26px;
  line-height: 1;
}
.modal-close:hover { background: var(--coral); }

/* ---------- Cart drawer ---------- */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(6, 17, 31, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 260;
  width: min(420px, 100%);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
}
.cart-open .drawer { transform: none; }
.cart-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-size: 28px; }
.drawer-close { font-size: 28px; width: 40px; height: 40px; border-radius: 50%; }
.drawer-close:hover { background: var(--paper-2); }
.drawer-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-empty { padding: 48px 0; text-align: center; color: var(--muted); }
.drawer-empty .btn { margin-top: 18px; }
.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-thumb {
  width: 64px; height: 64px;
  border-radius: 10px;
  background: var(--paper-2);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb svg { width: 80%; height: 80%; }
.cart-line-name { font-weight: 700; font-size: 14px; color: var(--navy); line-height: 1.3; }
.cart-line-price { font-size: 13px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; font-weight: 700; }
.qty button:hover { background: var(--paper-2); }
.qty span { min-width: 20px; text-align: center; font-size: 14px; font-weight: 700; }
.cart-line-total { font-weight: 800; color: var(--navy); }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--white); }
.drawer-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 800; color: var(--navy); }
.drawer-note { font-size: 13px; color: var(--muted); margin: 6px 0 16px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 400;
  transform: translate(-50%, 120px);
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}
.toast.is-show { transform: translate(-50%, 0); }

/* ---------- Shop page ---------- */

.shop-hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: calc(var(--header-h) + 64px) 0 72px;
  overflow: hidden;
  isolation: isolate;
}
.shop-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 17, 31, 0.95) 30%, rgba(6, 17, 31, 0.4)),
    url("../images/instagram/ig-57.jpg") center 60% / cover no-repeat;
}
.shop-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 96px);
  text-transform: uppercase;
  line-height: 0.95;
}
.shop-hero p { margin-top: 14px; max-width: 520px; font-size: 18px; color: rgba(255, 255, 255, 0.82); }

.shop-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(245, 242, 236, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.shop-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
}
.shop-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.shop-tabs::-webkit-scrollbar { display: none; }
.shop-tabs .chip { white-space: nowrap; }
.shop-tools { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.shop-count { font-size: 14px; color: var(--muted); }
.shop-sort {
  appearance: none;
  border: 1.5px solid var(--line);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230a1a2f' stroke-width='1.6'/%3E%3C/svg%3E") right 14px center / 11px no-repeat;
  border-radius: 999px;
  padding: 9px 38px 9px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.shop-section { padding: 48px 0 96px; }
.cat-intro {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}
.cat-intro h2 { font-size: clamp(30px, 3.6vw, 42px); }
.cat-intro p { color: var(--muted); }
.shop-empty { text-align: center; padding: 80px 0; color: var(--muted); }

.shop-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 64px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .rail { grid-auto-columns: calc((100% - 2 * 22px) / 3); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .main-nav ul { gap: 18px; }
  .header-cta { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .section { padding: 72px 0; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--navy-deep);
    padding: 12px 24px 28px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: -1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }
  .main-nav.is-open { transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .main-nav a::after { display: none; }
  .header-actions { margin-left: auto; }
  .header-cta { display: none; }
  .site-header.nav-open { background: var(--navy-deep); }

  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }

  .rail { grid-auto-columns: calc((100% - 22px) / 2); }
  .promo { grid-template-columns: 1fr; }
  .promo-main, .promo-facts { padding: 40px 28px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .video-card.featured { grid-column: span 2; grid-row: auto; }
  .video-card.featured .video-thumb { height: auto; aspect-ratio: 16 / 9; min-height: 0; }
  .tile-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .lifestyle-grid, .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .shop-perks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-head-row .rail-controls { display: none; }
  .shop-bar-inner { flex-direction: column; align-items: stretch; }
  .shop-tools { justify-content: space-between; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .shop-bar-inner { padding: 12px 16px; }
  .logo-sub { display: none; }
  .hero-content { padding-bottom: 32px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .trust-item { padding: 16px 14px; gap: 10px; }
  .trust-item svg { width: 26px; height: 26px; }
  .trust-item strong { font-size: 14px; }
  .trust-item span { font-size: 12px; }
  .rail { grid-auto-columns: 86%; gap: 14px; }
  .video-grid { grid-template-columns: 1fr; }
  .video-card.featured { grid-column: auto; }
  .tile { aspect-ratio: 4 / 5; }
  .tile h3 { font-size: 24px; }
  .tile p { display: none; }
  .tile-body { padding: 16px; }
  .cat-grid { gap: 12px; }
  .cat-card { min-height: 160px; padding: 18px; }
  .cat-card h3 { font-size: 26px; }
  .cat-card p { display: none; }
  .product-grid { gap: 12px; }
  .product-body { padding: 12px 12px 14px; }
  .product-name { font-size: 14px; }
  .product-spec { display: none; }
  .product-price { font-size: 16px; }
  .add-btn { width: 36px; height: 36px; }
  .mosaic { grid-template-rows: 160px 160px; }
  .footer-grid { grid-template-columns: 1fr; }
  .promo-main, .promo-facts { padding: 32px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Shop "in Bearbeitung" (SHOP_OPEN = false in js/surfskate.js) ---------- */
.shop-notice {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: baseline;
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255, 91, 60, 0.12);
  border: 1px solid rgba(255, 91, 60, 0.45);
  font-size: 15px;
  line-height: 1.5;
}
.shop-notice strong {
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}
.shop-notice a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.shop-notice-inline { margin-top: 14px; display: inline-flex; }
.soon-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10, 26, 47, 0.08);
  color: var(--navy, #0a1a2f);
  white-space: nowrap;
}
.shop-closed .cart-btn,
.shop-closed .drawer,
.shop-closed .drawer-backdrop { display: none !important; }

/* ---------- Brand logos (Carver, YOW, DHD – files in images/brands/) ---------- */

.brands-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.brands-head h2 { font-size: clamp(24px, 2.6vw, 30px); }
.brands-head p { font-size: 14px; color: var(--muted); }
.brand-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 36px; }
.brand-tile {
  height: 84px;
  padding: 14px 22px;
  display: grid;
  place-items: center;
  background: #fbf8f2;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.brand-tile:hover { border-color: var(--navy); transform: translateY(-2px); }
.brand-tile.is-active { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255, 91, 60, 0.2); }
.brand-tile img { max-width: 100%; max-height: 40px; width: auto; mix-blend-mode: multiply; }
.cat-grid + .brand-bar { margin: -28px 0 44px; }

.product-brand {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 1;
  height: 30px;
  padding: 6px 9px;
  display: flex;
  align-items: center;
  background: #fbf8f2;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(10, 26, 47, 0.08);
}
.product-media .product-brand img { width: auto; height: 17px; object-fit: contain; mix-blend-mode: multiply; }

@media (max-width: 560px) {
  .brand-bar { gap: 8px; }
  .brand-tile { height: 60px; padding: 10px; }
  .brand-tile img { max-height: 26px; }
  .product-brand { height: 24px; padding: 4px 6px; top: 8px; right: 8px; }
  .product-media .product-brand img { height: 13px; }
}

@media (max-width: 560px) {
  .product-foot { flex-wrap: wrap; row-gap: 8px; }
  .soon-tag { font-size: 11px; padding: 5px 8px; }
  .brand-tile { padding: 8px 6px; }
  .brand-tile img { max-height: 30px; }
}

/* Brands that are coming soon (FCS, Softech): shown, but not clickable */
.brand-bar { grid-template-columns: repeat(5, 1fr); }
.brand-tile.is-soon { position: relative; cursor: default; padding-bottom: 26px; }
.brand-tile.is-soon:hover { border-color: var(--line); transform: none; }
.brand-tile.is-soon img { opacity: 0.45; }
.brand-soon {
  position: absolute;
  left: 50%; bottom: 8px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
}
@media (max-width: 900px) {
  .brand-bar { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .brand-tile.is-soon { padding-bottom: 20px; }
  .brand-soon { font-size: 8px; bottom: 5px; letter-spacing: 0.06em; }
}
@media (max-width: 560px) {
  .product-brand { top: auto; bottom: 8px; }
}

/* DHD's slanted wordmark runs edge to edge in its file, so it gets extra breathing room */
.brand-tile img[alt="DHD"] { max-width: 72%; max-height: 30px; }
.product-media .product-brand img[alt="DHD"] { height: 13px; margin: 0 2px; }
@media (max-width: 560px) {
  .brand-tile img[alt="DHD"] { max-width: 70%; max-height: 20px; }
  .product-media .product-brand img[alt="DHD"] { height: 10px; }
}

/* ---------- Brand walls: real product photos per brand (images/brands/products/) ---------- */

.brand-walls { margin-top: 80px; display: grid; gap: 24px; }
.brand-walls[hidden] { display: none; }
.walls-head h2 { font-size: clamp(30px, 3.6vw, 42px); }
.walls-head p { margin-top: 6px; color: var(--muted); }
.brand-wall {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.brand-wall[hidden] { display: none; }
.brand-wall-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.brand-wall-head .wall-logo { height: 34px; width: auto; max-width: 160px; object-fit: contain; mix-blend-mode: multiply; }
.brand-wall-head .wall-logo[alt="DHD"] { height: 26px; }
.wall-meta { flex: 1; min-width: 180px; }
.wall-kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--coral); }
.wall-count { font-size: 18px; font-weight: 800; color: var(--navy); }
.wall-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.wall-item {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wall-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.wall-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; padding: 8px; mix-blend-mode: multiply; }
.wall-item figcaption {
  padding: 0 8px 9px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-wall.is-soon .wall-grid { filter: grayscale(0.55); opacity: 0.65; }
.brand-wall.is-soon .wall-item:hover { transform: none; box-shadow: none; }
.wall-soon {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  padding: 8px 14px;
  border: 1.5px solid rgba(255, 91, 60, 0.5);
  border-radius: 999px;
}
.walls-credit { font-size: 12px; color: var(--muted); text-align: right; }

@media (max-width: 1100px) {
  .wall-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  .brand-walls { margin-top: 56px; }
  .brand-wall { padding: 18px 16px; }
  .brand-wall-head { gap: 12px; }
  .brand-wall-head .wall-logo { height: 26px; }
  .brand-wall-head .wall-logo[alt="DHD"] { height: 18px; }
  .brand-wall-head .btn, .wall-soon { width: 100%; text-align: center; }
  .wall-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 40%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 0 16px 4px;
  }
  .wall-grid::-webkit-scrollbar { display: none; }
  .wall-item { scroll-snap-align: start; }
}

/* Real brand photos on product cards: show the whole board, blend the white photo background into the card */
.product-media.has-photo { background: #fff; }
.product-media img.is-product-photo { position: absolute; inset: 0; object-fit: contain; padding: 16px; mix-blend-mode: multiply; }
.cart-thumb img[src*="brands/products"] { object-fit: contain; mix-blend-mode: multiply; }

/* Prices on request (PRICE_ON_REQUEST in js/surfskate.js): price range + note, enquiry button, no price sorting */
.product-price.is-request { display: flex; flex-direction: column; font-size: 16px; line-height: 1.2; }
.product-price.is-request small { margin-top: 3px; font-size: 11px; font-weight: 600; color: var(--muted); }
.price-on-request .shop-sort { display: none; }
@media (max-width: 560px) {
  .product-price.is-request { font-size: 14px; }
  .product-foot .btn-sm { padding: 8px 12px; font-size: 13px; }
}
