/* ===================================================================
   ROK Fishing Performance — refonte pure HTML/CSS
   Palette extraite du site d'origine :
   orange #ff6400 · noir #16171b · surface #202125 · gris #a3a4a8
   Typographies d'origine : Asap (titres) · Krub (texte)
   =================================================================== */

:root {
  --orange: #ff6400;
  --orange-dark: #d95500;
  --bg: #121317;
  --surface: #1c1d22;
  --surface-2: #24262c;
  --line: #2f3138;
  --ink: #f4f4f2;
  --ink-soft: #b8bac0;
  --ink-faint: #83858c;
  --radius: 10px;
  --wrap: 1160px;
  --shadow: 0 10px 30px rgb(0 0 0 / .35);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Krub", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .btn {
  font-family: "Asap", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.15;
  letter-spacing: .01em;
}

img { max-width: 100%; height: auto; display: block; }

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

button { font: inherit; color: inherit; background: none; border: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

/* ---------- accessibilité ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--orange); color: #fff; padding: .6em 1em; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

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

/* ---------- header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(18 19 23 / .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex; align-items: center; gap: 24px;
  min-height: 72px;
}

.nav .logo img { width: 150px; height: auto; }

.nav-toggle-box { display: none; }

.nav-menu {
  display: flex; align-items: center; gap: 6px;
  list-style: none; margin-left: auto;
}

.nav-menu a {
  display: block; padding: .55em .9em;
  font-family: "Asap", sans-serif; font-weight: 600; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-soft); border-radius: 6px;
  transition: color .15s;
}

.nav-menu a:hover { color: #fff; }

.nav-menu a[aria-current="page"] { color: var(--orange); }

.nav-menu .nav-cta a {
  background: var(--orange); color: #fff; border-radius: 999px;
  padding: .55em 1.3em; margin-left: 10px;
  transition: background .15s;
}
.nav-menu .nav-cta a:hover { background: var(--orange-dark); color: #fff; }

.nav-burger {
  display: none; margin-left: auto; cursor: pointer;
  width: 44px; height: 44px; border-radius: 8px;
  align-items: center; justify-content: center;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ""; display: block; width: 24px; height: 2px;
  background: var(--ink); position: relative; transition: transform .2s, opacity .2s;
}
.nav-burger span::before { position: absolute; top: -7px; }
.nav-burger span::after  { position: absolute; top: 7px; }

@media (max-width: 820px) {
  .nav-burger { display: flex; }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    display: none;
  }
  .nav-menu a { padding: .9em .6em; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-menu .nav-cta a { margin: 14px 0 0; text-align: center; border: 0; border-radius: 999px; }
  .nav-toggle-box:checked ~ .nav-menu { display: flex; }
  .nav-toggle-box:checked ~ .nav-burger span { transform: rotate(45deg); }
  .nav-toggle-box:checked ~ .nav-burger span::before { transform: rotate(-90deg) translateX(-7px); }
  .nav-toggle-box:checked ~ .nav-burger span::after { opacity: 0; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(88vh, 720px);
  display: grid; align-items: end;
  background: url("../assets/img/zig-valduc.jpg") center 30% / cover no-repeat var(--bg);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(18 19 23 / .55) 0%, rgb(18 19 23 / .15) 45%, rgb(18 19 23 / .92) 100%);
}
.hero-inner { padding-block: 96px 72px; }

.kicker {
  display: inline-block; margin-bottom: 14px;
  font-family: "Asap", sans-serif; font-weight: 600; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .22em; color: var(--orange);
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700; text-transform: uppercase;
  max-width: 15ch; text-wrap: balance;
}

.hero p { margin-top: 18px; max-width: 46ch; color: var(--ink-soft); font-size: 1.15rem; }

.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- boutons ---------- */
.btn {
  display: inline-block; padding: .8em 1.8em; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .05em;
  text-align: center;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { border: 2px solid rgb(255 255 255 / .35); color: #fff; }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- sections ---------- */
.section { padding-block: 88px; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }

.section-head { margin-bottom: 44px; max-width: 640px; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700; text-transform: uppercase;
}
.section-head h2::after {
  content: ""; display: block; width: 64px; height: 4px;
  margin-top: 14px; background: var(--orange); border-radius: 2px;
}
.section-head p { margin-top: 16px; color: var(--ink-soft); }

/* ---------- grille produits / tuiles ---------- */
.tile-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}

.tile {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--radius); aspect-ratio: 4 / 3;
  display: grid; align-items: end;
  background: var(--surface-2);
  box-shadow: var(--shadow);
}
.tile img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 40%, rgb(10 10 12 / .85) 100%);
}
.tile:hover img, .tile:focus-visible img { transform: scale(1.06); }

.tile-label { padding: 18px 20px; }
.tile-label strong {
  display: block; font-family: "Asap", sans-serif; font-size: 1.25rem;
  font-weight: 700; text-transform: uppercase;
}
.tile-label small {
  color: var(--orange); font-family: "Asap", sans-serif; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; font-size: .75rem;
}

.tile-wide { grid-column: span 2; aspect-ratio: auto; min-height: 280px; }
@media (max-width: 640px) { .tile-wide { grid-column: span 1; } }

/* ---------- manifeste marque ---------- */
.manifesto { display: grid; gap: 48px; grid-template-columns: 1.1fr .9fr; align-items: center; }
@media (max-width: 860px) { .manifesto { grid-template-columns: 1fr; } }

.manifesto blockquote {
  font-family: "Asap", sans-serif; font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 600; line-height: 1.4; text-wrap: balance;
}
.manifesto blockquote em { color: var(--orange); font-style: normal; }

.pillars { display: grid; gap: 14px; }
.pillar {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
}
.pillar h3 { font-size: 1.05rem; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.pillar p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- cartes actus ---------- */
.card-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.card {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--orange); }
.card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.card-body { padding: 18px 20px 22px; display: grid; gap: 8px; }
.card-body time { color: var(--ink-faint); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.card-body h3 { font-size: 1.12rem; font-weight: 700; }
.card-body p { color: var(--ink-soft); font-size: .95rem; }
.card-more { color: var(--orange); font-family: "Asap", sans-serif; font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- bandeau CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--orange) 0%, #ff8a1e 100%);
  color: #16171b; text-align: center; padding-block: 72px;
}
.cta-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); text-transform: uppercase; font-weight: 700; }
.cta-band p { margin: 12px auto 28px; max-width: 52ch; font-weight: 600; }
.cta-band .btn { background: #16171b; color: #fff; }
.cta-band .btn:hover { background: #000; }

/* ---------- page interne : bannière ---------- */
.page-hero {
  position: relative; isolation: isolate;
  padding-block: 120px 64px; text-align: left;
  background: var(--surface) center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(18 19 23 / .75), rgb(18 19 23 / .95));
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); text-transform: uppercase; font-weight: 700; }
.page-hero p { margin-top: 12px; color: var(--ink-soft); max-width: 60ch; }

/* ---------- prose (page marque) ---------- */
.prose { max-width: 70ch; display: grid; gap: 1.2em; color: var(--ink-soft); }
.prose h2 { color: var(--ink); font-size: 1.5rem; text-transform: uppercase; margin-top: .8em; }
.prose strong { color: var(--ink); }

/* ---------- revendeurs ---------- */
.store-search {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px;
}
.store-search input {
  flex: 1 1 320px; padding: .85em 1.2em;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); font: inherit;
}
.store-search input::placeholder { color: var(--ink-faint); }
.store-search input:focus { border-color: var(--orange); outline: none; }

.store-count { color: var(--ink-faint); font-size: .95rem; align-self: center; }

.store-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  list-style: none;
}
.store {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px;
  display: grid; gap: 4px;
}
.store strong { font-family: "Asap", sans-serif; font-size: 1.05rem; }
.store span { color: var(--ink-soft); font-size: .95rem; }
.store a { color: var(--orange); font-size: .88rem; font-weight: 600; }
.store a:hover { text-decoration: underline; }

.shop-list { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }
.shop-list a {
  display: inline-block; padding: .6em 1.2em;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px;
  font-family: "Asap", sans-serif; font-weight: 600; font-size: .95rem;
  transition: border-color .15s, color .15s;
}
.shop-list a:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.contact-card {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
}
.contact-card h2 { font-size: 1.2rem; text-transform: uppercase; margin-bottom: 10px; }
.contact-card p { color: var(--ink-soft); margin-bottom: 16px; }
.contact-card a.mail {
  font-family: "Asap", sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--orange);
  word-break: break-all;
}
.contact-card a.mail:hover { text-decoration: underline; }

address { font-style: normal; color: var(--ink-soft); line-height: 1.7; }

/* ---------- filtre par étiquette (actualités) — 100 % CSS ---------- */
.tag-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.tag-filter input { position: absolute; opacity: 0; pointer-events: none; }
.tag-filter label {
  cursor: pointer; padding: .5em 1.3em; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface-2);
  font-family: "Asap", sans-serif; font-weight: 600; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft);
  transition: border-color .15s, color .15s, background .15s;
}
.tag-filter label:hover { border-color: var(--orange); color: var(--orange); }
.tag-filter input:checked + label { background: var(--orange); border-color: var(--orange); color: #fff; }
.tag-filter input:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 2px; }

main:has(#tag-conseils:checked) .card[data-cat="video"] { display: none; }
main:has(#tag-video:checked) .card[data-cat="conseils"] { display: none; }

.tag {
  display: inline-block; align-self: start; justify-self: start;
  padding: .2em .8em; border-radius: 4px;
  background: var(--orange); color: #fff;
  font-family: "Asap", sans-serif; font-weight: 700; font-size: .7rem;
  text-transform: uppercase; letter-spacing: .1em;
}
.tag-video { background: #385868; }

/* ---------- fil d'ariane ---------- */
.breadcrumb { padding-block: 28px 0; font-size: .88rem; color: var(--ink-faint); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb [aria-current] { color: var(--ink-soft); }

/* ---------- cartes produit (page catégorie) ---------- */
.product-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.product-card {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--orange); }
.product-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.product-card h3 {
  padding: 14px 16px 16px; font-size: .98rem; font-weight: 700;
  text-transform: uppercase; line-height: 1.3;
}
.product-card .from-price {
  padding: 0 16px 16px; margin-top: -8px;
  color: var(--orange); font-family: "Asap", sans-serif; font-weight: 600; font-size: .9rem;
}

/* ---------- page produit ---------- */
.product-layout {
  display: grid; gap: 48px; grid-template-columns: 1fr 1fr;
  align-items: start; padding-block: 48px 24px;
}
@media (max-width: 860px) { .product-layout { grid-template-columns: 1fr; } }

/* galerie à vignettes — 100 % CSS (boutons radio) */
.gallery input { position: absolute; opacity: 0; pointer-events: none; }
.gallery-main {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface-2);
}
.gallery-main img { display: none; aspect-ratio: 1; object-fit: cover; width: 100%; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumbs label {
  cursor: pointer; border-radius: 8px; overflow: hidden;
  border: 2px solid var(--line); opacity: .55; transition: opacity .15s, border-color .15s;
}
.gallery-thumbs label:hover { opacity: 1; }
.gallery-thumbs img { aspect-ratio: 1; object-fit: cover; width: 100%; }
#g1:checked ~ .gallery-main .gm1, #g2:checked ~ .gallery-main .gm2,
#g3:checked ~ .gallery-main .gm3, #g4:checked ~ .gallery-main .gm4 { display: block; }
#g1:checked ~ .gallery-thumbs .gt1, #g2:checked ~ .gallery-thumbs .gt2,
#g3:checked ~ .gallery-thumbs .gt3, #g4:checked ~ .gallery-thumbs .gt4 { opacity: 1; border-color: var(--orange); }
.gallery input:focus-visible ~ .gallery-thumbs label { outline: none; }

.product-info h1 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); text-transform: uppercase; font-weight: 700; }
.product-info .range { color: var(--orange); font-family: "Asap", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; }
.product-info .price {
  margin: 14px 0 4px; font-family: "Asap", sans-serif; font-weight: 700; font-size: 1.7rem;
}
.product-info .price small { color: var(--ink-faint); font-size: .55em; font-weight: 400; }
.product-info > p { margin-top: 16px; color: var(--ink-soft); }

.badge-fr {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  padding: .45em 1em; border: 1px solid var(--line); border-radius: 999px;
  font-family: "Asap", sans-serif; font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft);
}
.badge-fr::before { content: ""; width: 14px; height: 14px; border-radius: 50%;
  background: linear-gradient(90deg, #002395 33%, #fff 33% 66%, #ED2939 66%); }
.badge-eu::before {
  content: "★"; background: #003399; color: #ffcc00;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; line-height: 1;
}

/* tableau des variantes */
.variants { margin-top: 28px; overflow-x: auto; }
.variants table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.variants caption {
  text-align: left; font-family: "Asap", sans-serif; font-weight: 700;
  text-transform: uppercase; font-size: 1rem; padding-bottom: 10px;
}
.variants th, .variants td { padding: .65em .9em; text-align: left; border-bottom: 1px solid var(--line); }
.variants th { color: var(--ink-faint); font-family: "Asap", sans-serif; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.variants td:last-child, .variants th:last-child { text-align: right; white-space: nowrap; }
.variants td:first-child { color: var(--ink-faint); font-size: .85rem; white-space: nowrap; }
.variants tbody tr:hover { background: var(--surface-2); }

/* accordéon description — <details>, zéro JS */
.product-tabs { margin-top: 32px; display: grid; gap: 10px; }
.product-tabs details {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
}
.product-tabs summary {
  cursor: pointer; padding: 16px 20px; list-style: none;
  font-family: "Asap", sans-serif; font-weight: 700; text-transform: uppercase; font-size: .95rem;
  display: flex; justify-content: space-between; align-items: center;
}
.product-tabs summary::-webkit-details-marker { display: none; }
.product-tabs summary::after { content: "+"; color: var(--orange); font-size: 1.3rem; font-weight: 400; }
.product-tabs details[open] summary::after { content: "–"; }
.product-tabs details > div { padding: 4px 20px 24px; color: var(--ink-soft); display: grid; gap: 1em; }
.product-tabs details > div li { margin-bottom: .5em; }

/* ---------- e-commerce : panier dans le header ---------- */
.nav-cart a { position: relative; display: flex; align-items: center; gap: 8px; }
.nav-cart svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cart-count {
  min-width: 19px; height: 19px; padding-inline: 5px; border-radius: 999px;
  background: var(--orange); color: #fff;
  font-family: "Asap", sans-serif; font-weight: 700; font-size: .72rem;
  display: grid; place-items: center; line-height: 1;
}
.cart-count[hidden] { display: none; }

/* ---------- e-commerce : galerie pilotée en JS ---------- */
.gallery-js .gallery-main { position: relative; cursor: zoom-in; }
.gallery-js .gallery-main img { display: block; aspect-ratio: 1; object-fit: cover; width: 100%; }
.gallery-nav {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgb(18 19 23 / .72); color: #fff;
  border: 1px solid var(--line);
  font-size: 1.2rem; line-height: 1;
  display: grid; place-items: center;
  transition: background .15s, border-color .15s;
}
.gallery-nav:hover { background: var(--orange); border-color: var(--orange); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-js .gallery-thumbs { grid-template-columns: repeat(8, 1fr); }
.gallery-js .gallery-thumbs button {
  border-radius: 8px; overflow: hidden; padding: 0;
  border: 2px solid var(--line); opacity: .55; cursor: pointer;
  transition: opacity .15s, border-color .15s;
}
.gallery-js .gallery-thumbs button:hover { opacity: 1; }
.gallery-js .gallery-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--orange); }
.gallery-js .gallery-thumbs img { aspect-ratio: 1; object-fit: cover; width: 100%; display: block; }
@media (max-width: 520px) { .gallery-js .gallery-thumbs { grid-template-columns: repeat(4, 1fr); } }

/* visionneuse plein écran */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); }
.lightbox::backdrop { background: rgb(5 5 7 / .92); }
.lightbox figure { position: relative; margin: 0; }
.lightbox img { width: 100%; max-height: 88vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: -6px; right: -6px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: #fff; font-size: 1.2rem;
  display: grid; place-items: center; cursor: pointer;
}

/* ---------- e-commerce : variantes ---------- */
.price-from { margin: 14px 0 4px; font-family: "Asap", sans-serif; font-weight: 700; font-size: 1.35rem; }
.price-from small { color: var(--ink-faint); font-size: .68em; font-weight: 400; }

.variant-list { display: grid; gap: 10px; margin-top: 26px; }
.variant-list > h2 { font-size: 1.05rem; text-transform: uppercase; }
.variant-row {
  display: grid; align-items: center; gap: 14px;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  padding: 10px 14px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; transition: border-color .15s, background .15s;
}
.variant-row:hover { border-color: var(--ink-faint); }
.variant-row[aria-current="true"] { border-color: var(--orange); background: #26221e; }
.variant-row img { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; }
.variant-id { min-width: 0; line-height: 1.35; }
.variant-id strong { display: block; font-family: "Asap", sans-serif; font-size: .95rem; margin-bottom: 3px; }
.variant-id span { color: var(--ink-faint); font-size: .82rem; }
.variant-price { font-family: "Asap", sans-serif; font-weight: 700; white-space: nowrap; }

/* référence produit bien visible (usage B2B) — un clic sélectionne le code */
.variant-buy { display: grid; gap: 7px; justify-items: end; }
.variant-buy-line { display: flex; align-items: center; gap: 14px; }
.variant-code {
  font-family: "Asap", sans-serif; font-weight: 700; font-size: .95rem;
  letter-spacing: .05em; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line);
  padding: .14em .6em; border-radius: 5px;
  user-select: all; -webkit-user-select: all;
}
.variant-id .variant-code { display: inline-block; margin-top: 5px; font-size: .85rem; }

.qty {
  display: inline-flex; align-items: stretch;
  border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
  background: var(--bg);
}
.qty button {
  width: 34px; color: var(--ink-soft); font-size: 1.05rem;
  display: grid; place-items: center; cursor: pointer;
  transition: color .15s, background .15s;
}
.qty button:hover { color: #fff; background: var(--surface-2); }
.qty input {
  width: 38px; text-align: center; border: 0; background: transparent;
  color: var(--ink); font: inherit; font-weight: 600; -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.has-items { border-color: var(--orange); }
.qty.has-items input { color: var(--orange); }

@media (max-width: 640px) {
  .variant-row { grid-template-columns: 48px minmax(0,1fr) auto; gap: 10px; align-items: start; }
  .variant-row img { width: 48px; height: 48px; }
  .variant-id strong { font-size: .88rem; }
  .variant-code { font-size: .85rem; }
  /* prix + quantité restent côte à côte sous la référence, comme sur grand écran */
  .variant-buy-line { gap: 10px; }
  .qty button { width: 30px; }
  .qty input { width: 32px; }
}
@media (max-width: 480px) {
  .variant-id strong { font-size: .8rem; }
  .variant-id span { font-size: .72rem; }
  .variant-price { font-size: .95rem; }
  .variant-buy-line { gap: 8px; }
  .qty button { width: 26px; }
  .qty input { width: 28px; }
}

/* ---------- e-commerce : description produit ---------- */
.product-desc { max-width: 880px; display: grid; gap: 1em; color: var(--ink-soft); }
.product-desc h2 { color: var(--ink); font-size: 1.4rem; text-transform: uppercase; margin-bottom: .2em; }
.product-desc h3 { color: var(--ink); font-size: 1.05rem; text-transform: uppercase; margin-top: 1em; }
.product-desc .dim { color: var(--ink-faint); font-size: .92rem; }
.desc-photos { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 18px; }
.desc-photos figure { margin: 0; }
.desc-photos img { border-radius: var(--radius); border: 1px solid var(--line); }
.desc-photos figcaption { margin-top: 8px; color: var(--ink-faint); font-size: .85rem; }

/* ---------- e-commerce : page panier ---------- */
.basket-wrap { max-width: 880px; }
.basket-empty { padding: 48px 0; color: var(--ink-soft); }
.basket-lines { display: grid; gap: 12px; }
.basket-line {
  display: grid; align-items: center; gap: 16px;
  grid-template-columns: 64px minmax(0,1fr) auto auto auto auto;
  padding: 12px 16px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
}
.basket-line img { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; }
.basket-line .variant-id strong { font-size: 1rem; }
.line-total { font-family: "Asap", sans-serif; font-weight: 700; min-width: 76px; text-align: right; }
.line-remove {
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  color: var(--ink-faint); font-size: 1.05rem; display: grid; place-items: center;
  transition: color .15s, background .15s;
}
.line-remove:hover { color: #fff; background: #7f1d1d; }
@media (max-width: 640px) {
  .basket-line {
    grid-template-columns: 48px minmax(0,1fr) auto;
    grid-template-areas:
      "img id  remove"
      "img qty total";
    row-gap: 14px;
  }
  .basket-line img { grid-area: img; width: 48px; height: 48px; align-self: start; }
  .basket-line .variant-id { grid-area: id; }
  .basket-line .variant-price { display: none; } /* le total de ligne suffit sur mobile */
  .basket-line .qty { grid-area: qty; justify-self: start; }
  .basket-line .line-total { grid-area: total; align-self: center; }
  .basket-line .line-remove { grid-area: remove; justify-self: end; }
}

.basket-summary {
  margin-top: 28px; padding: 24px 28px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
}
.basket-total { font-family: "Asap", sans-serif; font-weight: 700; font-size: 1.5rem; }
.basket-total small { display: block; color: var(--ink-faint); font-size: .58em; font-weight: 400; }
.basket-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-secondary {
  padding: .8em 1.6em; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--line); color: var(--ink-soft); background: transparent;
  font-family: "Asap", sans-serif; font-weight: 700; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .05em;
  transition: border-color .15s, color .15s;
}
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); }
.basket-note { margin-top: 16px; color: var(--ink-faint); font-size: .9rem; }

/* ---------- page article ---------- */
.article-header { max-width: 780px; padding-block: 64px 16px; }
.article-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.article-meta time { color: var(--ink-faint); font-size: .88rem; text-transform: uppercase; letter-spacing: .08em; }
.article-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; text-transform: uppercase; text-wrap: balance;
}
.article-header .lede { margin-top: 22px; color: var(--ink-soft); font-size: 1.12rem; }

.article-body { max-width: 780px; padding-block: 16px 80px; }
.article-body h2 { font-size: 1.4rem; text-transform: uppercase; margin: 2em 0 .9em; }
.article-body h2:first-child { margin-top: 0; }
.article-body p { color: var(--ink-soft); margin-bottom: 1.2em; }

/* fausse vidéo : affiche locale + bouton lecture, la vidéo s'ouvre sur YouTube.
   Zéro requête externe tant qu'on ne clique pas. */
.video-facade {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  max-width: 780px; margin-block: 48px 56px;
}
.video-facade img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease; }
.video-facade::before {
  content: ""; position: absolute; inset: 0;
  background: rgb(10 10 12 / .25); transition: background .2s;
}
.video-facade::after {
  content: "▶"; position: absolute; top: 50%; left: 50%;
  translate: -50% -50%;
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: grid; place-items: center;
  font-size: 1.6rem; padding-left: 6px;
  box-shadow: 0 10px 40px rgb(0 0 0 / .5);
  transition: transform .2s;
}
@media (max-width: 640px) { .video-facade::after { width: 60px; height: 60px; font-size: 1.2rem; } }
.video-facade:hover img { transform: scale(1.03); }
.video-facade:hover::before { background: rgb(10 10 12 / .1); }
.video-facade:hover::after { transform: scale(1.08); }
.video-facade .video-note {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 18px 12px;
  background: linear-gradient(transparent, rgb(10 10 12 / .85));
  color: #fff; font-family: "Asap", sans-serif; font-weight: 600; font-size: .9rem;
}

/* ---------- footer ---------- */
.site-footer {
  background: #0d0e11; border-top: 1px solid var(--line);
  padding-block: 64px 32px; color: var(--ink-soft); font-size: .95rem;
}
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: 2fr 1fr 1fr;
  margin-bottom: 48px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid .logo img { width: 150px; margin-bottom: 16px; }
.footer-grid h3 {
  font-size: .85rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink); margin-bottom: 14px;
}
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid ul a:hover { color: var(--orange); }

.social { display: flex; gap: 12px; margin-top: 20px; }
.social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  transition: border-color .15s;
}
.social a:hover { border-color: var(--orange); }
.social svg { width: 18px; height: 18px; fill: var(--ink-soft); transition: fill .15s; }
.social a:hover svg { fill: var(--orange); }

.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  color: var(--ink-faint); font-size: .85rem;
}
.footer-bottom nav { display: flex; gap: 18px; }
.footer-bottom a:hover { color: var(--orange); }
