@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Work+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  --ink: #16181C;
  --paper: #F5F3EF;
  --white: #FFFFFF;
  --red: #C8202C;
  --red-dark: #9C1620;
  --steel: #565D66;
  --muted: #6B7178;
  --hairline: #E2DDD4;
  --stock-bg: #E9F4EC;
  --stock-text: #2F7D4F;
  --backorder-bg: #FBEEE1;
  --backorder-text: #B5651D;
  --footer-divider: #2A2E34;
  --whatsapp: #25D366;
  --radius: 2px;
  --maxw: 1360px;
  --banner-h: 56px;
  --ub-h: 18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Work Sans', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  font-size: 15px;
}

h1, h2, h3, h4 { font-family: 'Oswald', sans-serif; font-weight: 600; margin: 0; color: var(--ink); }
a { text-decoration: none; color: inherit; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: 'Work Sans', sans-serif; cursor: pointer; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 30px; }

.mono { font-family: 'IBM Plex Mono', monospace; }

/* Placeholder image blocks (no external assets used) */
.ph {
  background: linear-gradient(135deg, #eceae4, #ddd8cd);
  color: #9a948a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  width: 100%;
  height: 100%;
}

/* Top promo banner (fixed, bandeau fin) */
.top-banner {
  display: block;
  position: sticky;
  top: 0;
  z-index: 52;
  width: 100%;
  height: var(--banner-h);
  overflow: hidden;
  line-height: 0;
}
.top-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Utility bar */
.utility-bar {
  background: var(--ink);
  color: #C7CBD1;
  font-size: 13px;
  font-weight: 700;
  padding: 2px 0;
  position: sticky;
  top: var(--banner-h);
  z-index: 51;
}
.utility-bar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.utility-bar a { color: #C7CBD1; }
.utility-bar a:hover { color: #fff; }
.utility-bar .ub-right { display: flex; gap: 18px; }

/* Header */
header.main {
  position: sticky;
  top: calc(var(--banner-h) + var(--ub-h));
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
}
@media (max-width: 900px) {
  :root { --banner-h: 40px; }
  .utility-bar { position: static; }
  header.main { top: var(--banner-h); }
}
header.main .container {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 40px;
  flex-wrap: wrap;
}
.brand { line-height: 1.1; white-space: nowrap; }
.brand .wordmark { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 22px; color: var(--ink); }
.brand .wordmark .dot { color: var(--red); }
.brand-logo { display: block; height: 74px; width: auto; max-width: 300px; object-fit: contain; }
.brand .tagline { font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 10px; letter-spacing: .14em; color: var(--steel); }

nav.main-nav { display: flex; gap: 22px; font-weight: 600; font-size: 14px; }
nav.main-nav a.active { color: var(--red); }
nav.main-nav a { color: var(--ink); }

.header-search {
  flex: 3;
  min-width: 320px;
  display: flex;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}
.header-search input {
  flex: 1;
  border: none;
  padding: 10px 12px;
  font-size: 13.5px;
  font-family: 'Work Sans', sans-serif;
  outline: none;
  background: var(--white);
}
.header-search button {
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 0 16px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.header-search button:hover { background: var(--red); }

.model-select {
  padding: 9px 10px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  font-family: 'Work Sans', sans-serif;
  font-size: 13.5px;
  background: var(--white);
  color: var(--ink);
}

.cart-link { position: relative; display: flex; align-items: center; }
.cart-link svg { width: 22px; height: 22px; stroke: var(--ink); }
.cart-badge {
  position: absolute; top: -8px; right: -10px;
  background: var(--red); color: #fff;
  font-size: 10px; font-weight: 700;
  min-width: 16px; height: 16px; padding: 0 3px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
}
.cart-badge.hidden { display: none; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 8px 10px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* Promo banner (uploaded creative asset) */
.promo-banner .container { padding-top: 16px; padding-bottom: 0; }

/* Hero */
.hero {
  background: var(--ink);
  padding: 72px 0;
}
.hero .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero-eyebrow { color: var(--red); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { color: #fff; font-size: 46px; line-height: 1.12; margin-bottom: 18px; }
.hero p.lead { color: #B7BCC3; font-size: 16px; max-width: 480px; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image-slot { width: 100%; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .02em;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-solid { background: var(--red); color: #fff; }
.btn-solid:hover { background: var(--red-dark); text-decoration: none; }
.btn-outline { background: transparent; color: #fff; border: 1px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); text-decoration: none; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--red); text-decoration: none; }
.btn-wa { background: var(--whatsapp); color: #fff; }
.btn-wa:hover { background: #1DA851; text-decoration: none; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Trust strip */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--hairline); padding: 30px 0; }
.trust-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item svg { width: 24px; height: 24px; stroke: var(--red); flex-shrink: 0; }
.trust-item h4 { font-size: 14px; margin-bottom: 3px; }
.trust-item p { font-size: 12.5px; color: var(--muted); margin: 0; }

/* Section heading row */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}
.section-head h2 { font-size: 28px; }
.section-head a { font-size: 13.5px; font-weight: 600; color: var(--red); }

section.block { padding: 48px 0; }

/* Category grid — cartes propres avec photo en haut, contenu structuré en dessous */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.cat-card:hover {
  box-shadow: 0 16px 34px rgba(22,24,28,.13);
  transform: translateY(-4px);
  border-color: #D8D2C5;
  text-decoration: none;
}
.cat-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--paper);
}
.cat-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.cat-card:hover .cat-card-img-wrap img { transform: scale(1.06); }
.cat-card-ph {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: #B9B3A6;
  background: linear-gradient(135deg, #EFECE5, #E1DBCC);
}
.cat-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.cat-card-idx {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--red);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.cat-card-title { font-size: 17px; margin: 2px 0 auto; }
.cat-card-link {
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cat-card-link span { transition: transform .2s ease; }
.cat-card:hover .cat-card-link span { transform: translateX(3px); }

/* Bannière photo de catégorie (pages boutique.html / categorie-*.html) */
/* Hauteur fixe + object-fit: contain : la photo entière reste visible, sans être rognée. */
.category-banner {
  position: relative;
  width: 100%;
  height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--paper);
  border: 1px solid var(--hairline);
}
.category-banner .cat-banner-main {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
/* Photo du modèle sélectionné, en fond, flanquant la photo catégorie à gauche/droite */
.category-banner .cat-banner-side {
  position: absolute;
  top: 0;
  height: 100%;
  width: 34%;
  object-fit: cover;
  opacity: .35;
  z-index: 0;
}
.category-banner .cat-banner-side.left { left: 0; object-position: right center; mask-image: linear-gradient(90deg, #000 40%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 100%); }
.category-banner .cat-banner-side.right { right: 0; object-position: left center; mask-image: linear-gradient(270deg, #000 40%, transparent 100%); -webkit-mask-image: linear-gradient(270deg, #000 40%, transparent 100%); }
@media (max-width: 680px) { .category-banner { height: 200px; } .category-banner .cat-banner-side { display: none; } }
.category-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(22,24,28,0) 55%, rgba(22,24,28,.7) 100%);
}
.category-banner span {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 20px;
}

/* Model strip */
.model-section { background: var(--white); border-bottom: 1px solid var(--hairline); }
.model-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.model-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 22px 10px;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.model-tile:hover {
  background: var(--white);
  border-color: var(--red);
  box-shadow: 0 12px 26px rgba(22,24,28,.1);
  transform: translateY(-3px);
  text-decoration: none;
}
.model-tile-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.model-tile-icon svg { width: 22px; height: 22px; stroke: var(--red); }
.model-tile:hover .model-tile-icon { background: var(--red); border-color: var(--red); }
.model-tile:hover .model-tile-icon svg { stroke: #fff; }
.model-tile span { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 13.5px; line-height: 1.25; color: var(--ink); }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.product-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: box-shadow .15s, border-color .15s;
}
.product-card:hover { box-shadow: 0 10px 28px rgba(22,24,28,0.14); border-color: #c8ccd1; }
.product-card .card-img { position: relative; width: 100%; aspect-ratio: 4/3; border-bottom: 1px solid var(--hairline); flex-shrink: 0; }
.backorder-tag {
  position: absolute; top: 8px; left: 8px;
  background: var(--backorder-text); color: #fff;
  font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 7px; border-radius: var(--radius);
}
.card-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-ref { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; color: var(--muted); letter-spacing: .03em; }
.card-name { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 16px; line-height: 1.25; }
.card-name a { color: var(--ink); }
.card-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 1px; }
.card-chip { font-size: 9.5px; color: var(--steel); background: var(--paper); border: 1px solid var(--hairline); padding: 2px 6px; border-radius: var(--radius); }
.card-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; gap: 8px; }
.card-price { font-family: 'IBM Plex Mono', monospace; font-size: 17px; font-weight: 600; white-space: nowrap; }
.card-price-old { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted); text-decoration: line-through; margin-right: 4px; }
.card-add {
  background: var(--ink); color: #fff; border: none;
  font-size: 11.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  padding: 8px 12px; border-radius: var(--radius); flex-shrink: 0;
}
.card-add:hover { background: var(--red); }

/* List variant */
.product-list { display: flex; flex-direction: column; gap: 14px; }
.product-card.list-item { flex-direction: row; height: auto; }
.product-card.list-item .card-img { width: 140px; aspect-ratio: 1/1; border-bottom: none; border-right: 1px solid var(--hairline); flex-shrink: 0; }
.product-card.list-item .card-body { flex: 1; }

/* Footer */
footer.main { background: var(--ink); color: #A9AEB4; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-grid li { margin-bottom: 9px; font-size: 13.5px; }
.footer-grid a:hover { color: #fff; }
.footer-blurb { font-size: 13.5px; line-height: 1.6; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid var(--footer-divider);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: #7F858C;
}
.footer-social { display: flex; align-items: center; gap: 10px; }
.footer-social span {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #A9AEB4;
  margin-right: 2px;
}
.footer-social a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(200,32,44,.14);
  border: 1px solid rgba(200,32,44,.35);
  color: var(--red);
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 640px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  bottom: 70px;
  right: 20px;
  background: var(--whatsapp);
  color: #fff;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  z-index: 60;
}
.wa-float:hover { text-decoration: none; }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

.messenger-float {
  position: fixed;
  bottom: 134px;
  right: 20px;
  background: #0084FF;
  color: #fff;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  z-index: 60;
}
.messenger-float:hover { text-decoration: none; }
.messenger-float svg { width: 26px; height: 26px; fill: #fff; }

/* Breadcrumb */
.breadcrumb { font-size: 13px; color: var(--muted); margin: 22px 0 18px; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .current { color: var(--ink); }

/* Catalog layout */
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; padding-bottom: 60px; }
.catalog-sidebar { position: sticky; top: 90px; }
.sidebar-label { font-family: 'Work Sans', sans-serif; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--steel); margin: 22px 0 10px; }
.sidebar-label:first-child { margin-top: 0; }
.sidebar-reset { font-size: 14px; font-weight: 700; color: var(--muted); display: block; margin-bottom: 8px; cursor: pointer; }
.sidebar-reset.active { color: var(--red); }
.cat-item { font-size: 14px; padding: 6px 0; cursor: pointer; color: var(--ink); font-weight: 500; }
.cat-item.active { color: var(--red); font-weight: 700; }
.sub-item {
  font-size: 13px; color: var(--steel); padding: 5px 0 5px 12px;
  border-left: 2px solid var(--hairline); margin-left: 4px; cursor: pointer;
}
.sub-item.active { border-left-color: var(--red); color: var(--red); font-weight: 600; }
.model-row { font-size: 14px; padding: 6px 0; cursor: pointer; color: var(--ink); font-weight: 500; }
.model-row.active { color: var(--red); font-weight: 700; }

.catalog-header-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; }
.catalog-header-row h1 { font-size: 26px; }
.result-count { font-size: 13.5px; color: var(--muted); }

.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 5px 10px; font-size: 12.5px; font-weight: 600;
}
.chip .x { cursor: pointer; color: var(--muted); font-weight: 700; }
.chip-reset { color: var(--red); font-weight: 700; font-size: 12.5px; cursor: pointer; padding: 5px 4px; }

.layout-toggle { display: flex; gap: 6px; }
.layout-toggle button {
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 6px 10px; font-size: 12px; font-weight: 600;
}
.layout-toggle button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state p { margin-bottom: 16px; font-size: 15px; }

/* SEO intro block on category pages */
.seo-intro { color: var(--muted); font-size: 14.5px; max-width: 820px; margin-bottom: 8px; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-bottom: 20px; }
.gallery-main { width: 100%; aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-thumbs .ph { aspect-ratio: 1/1; border-radius: var(--radius); }

.product-eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--red); margin-bottom: 8px; }
.product-detail h1 { font-size: 30px; margin-bottom: 8px; }
.product-ref-line { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--muted); margin-bottom: 16px; }

.price-stock-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.price-big { font-family: 'IBM Plex Mono', monospace; font-size: 30px; font-weight: 600; }
.price-big-old { font-family: 'IBM Plex Mono', monospace; font-size: 16px; color: var(--muted); text-decoration: line-through; }
.stock-pill { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.stock-pill.instock { background: var(--stock-bg); color: var(--stock-text); }
.stock-pill.backorder { background: var(--backorder-bg); color: var(--backorder-text); }

.compat-banner { padding: 12px 16px; border-radius: var(--radius); font-size: 13.5px; font-weight: 600; margin-bottom: 16px; }
.compat-banner.ok { background: var(--stock-bg); color: var(--stock-text); }
.compat-banner.no { background: var(--backorder-bg); color: var(--backorder-text); }

.compat-row-label { font-size: 13px; font-weight: 600; color: var(--steel); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.compat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.compat-chip { font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: var(--radius); border: 1px solid var(--hairline); color: var(--muted); }
.compat-chip.yes { color: var(--stock-text); border-color: #bfe0cb; background: var(--stock-bg); }

.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.stepper { display: flex; align-items: center; border: 1px solid var(--hairline); border-radius: var(--radius); height: 40px; }
.stepper button { background: none; border: none; width: 36px; height: 100%; font-size: 16px; font-weight: 700; color: var(--ink); }
.stepper button:hover { background: var(--paper); }
.stepper input { width: 46px; border: none; text-align: center; font-family: 'IBM Plex Mono', monospace; font-size: 14px; height: 100%; }

.cta-row { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.cta-row .btn { flex: 1; min-width: 180px; }

.trust-line { font-size: 12.5px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--hairline); }

/* Tabs */
.tabs-nav { display: flex; gap: 28px; border-bottom: 1px solid var(--hairline); margin: 40px 0 24px; }
.tab-btn {
  background: none; border: none; padding: 12px 0; font-size: 14px; font-weight: 600; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab-btn.active { color: var(--red); border-bottom-color: var(--red); }
.tab-panel { display: none; max-width: 820px; }
.tab-panel.active { display: block; }
.tab-panel p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }

table.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
table.spec-table tr { border-bottom: 1px solid var(--hairline); }
table.spec-table th, table.spec-table td { text-align: left; padding: 10px 4px; }
table.spec-table th { color: var(--steel); font-weight: 600; width: 40%; }

.compat-list-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--hairline); font-size: 14px; }
.compat-list-row .status.yes { color: var(--stock-text); font-weight: 600; }
.compat-list-row .status.no { color: var(--muted); }

.faq-item { border-bottom: 1px solid var(--hairline); padding: 14px 0; }
.faq-item h4 { margin: 0 0 6px; font-size: 14.5px; }
.faq-item p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* Toast */
.toast {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transform: translateY(10px);
  opacity: 0;
  transition: transform .2s ease-out, opacity .2s ease-out;
  z-index: 70;
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* Responsive */
@media (max-width: 1000px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-image-slot { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .model-strip { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-layout { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  header.main .container {
    padding: 12px 20px;
    gap: 10px 14px;
    row-gap: 10px;
  }
  .brand-logo { height: 46px; }
  .container { padding: 0 20px; }
  .menu-toggle { display: inline-block; order: 1; margin-left: auto; }
  nav.main-nav { display: none; }
  .model-select { order: 2; }
  .cart-link { order: 3; margin-left: auto; }
  .header-search { order: 4; width: 100%; }
  .cat-grid, .product-grid, .product-grid.cols-3, .trust-strip .container, .model-strip, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .product-card.list-item { flex-direction: column; }
  .product-card.list-item .card-img { width: 100%; aspect-ratio: 4/3; border-right: none; border-bottom: 1px solid var(--hairline); }
}

/* Pages statiques (À propos, Garantie, Livraison & retours, CGV, Confidentialité) */
.static-page { max-width: 800px; padding: 8px 0 60px; }
.static-page h1 { font-size: 30px; margin-bottom: 6px; }
.static-page .updated { color: var(--muted); font-size: 12.5px; margin-bottom: 26px; }
.static-page h2 { font-size: 18px; margin: 30px 0 10px; }
.static-page h2:first-of-type { margin-top: 20px; }
.static-page p { font-size: 14.5px; line-height: 1.75; color: var(--ink); margin: 0 0 14px; }
.static-page ul { margin: 0 0 14px; padding-left: 20px; list-style: disc; }
.static-page li { font-size: 14.5px; line-height: 1.7; color: var(--ink); margin-bottom: 6px; }
.static-page a.inline-link { color: var(--red); font-weight: 600; text-decoration: underline; }

.info-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 22px 24px;
  margin: 22px 0 30px;
}
.info-card h3 { font-size: 15px; margin-bottom: 14px; }
.info-row { display: flex; gap: 14px; font-size: 14px; margin-bottom: 10px; align-items: baseline; }
.info-row:last-child { margin-bottom: 0; }
.info-row strong {
  flex-shrink: 0;
  min-width: 92px;
  color: var(--steel);
  font-weight: 600;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.disclaimer-box {
  background: var(--paper);
  border-left: 3px solid var(--red);
  padding: 16px 18px;
  font-size: 13.5px;
  color: var(--steel);
  line-height: 1.65;
  margin: 20px 0 26px;
  border-radius: 0 4px 4px 0;
}
.disclaimer-box strong { color: var(--ink); }

.trust-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 26px 0 30px; }
.trust-mini {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 18px;
}
.trust-mini h4 { font-size: 13.5px; margin-bottom: 6px; }
.trust-mini p { font-size: 13px; color: var(--muted); margin: 0; }

@media (max-width: 640px) {
  .trust-mini-grid { grid-template-columns: 1fr; }
  .info-row { flex-direction: column; gap: 2px; }
}
