/* =====================================================================
   Irrishop — feuille de style de la boutique
   Couleurs de marque : #446084 (bleu marine) · #71c1e8 (bleu ciel)
   Police : Urbanist (variable, auto-hébergée)
   ===================================================================== */
@font-face {
  font-family: 'Urbanist';
  src: url('/assets/fonts/Urbanist-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Urbanist';
  src: url('/assets/fonts/Urbanist-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900; font-style: italic; font-display: swap;
}

:root {
  --primary: #446084; --primary-600: #3b5677; --primary-700: #334862; --primary-800: #24364d; --primary-900: #172538;
  --primary-50: #eef2f7; --primary-100: #dde5ef; --primary-200: #c3d0e0;
  --sky: #71c1e8; --sky-600: #3d9fd9; --sky-700: #2b84bb; --sky-50: #ecf7fd; --sky-100: #d6eef9; --sky-200: #b3e0f4;
  --ink: #0f1b2a; --text: #33404f; --muted: #6a7686; --line: #e4e9f0; --line-strong: #cfd8e3;
  --bg: #ffffff; --bg-soft: #f4f7fb; --bg-softer: #f9fbfd;
  --success: #4f7a2f; --success-600: #627d47; --success-bg: #eef5e8;
  --danger: #b20000; --danger-bg: #fdeeee; --warning: #a86a12; --warning-bg: #fdf4e3;
  --radius-xs: 8px; --radius-sm: 12px; --radius: 16px; --radius-lg: 24px; --radius-xl: 32px; --pill: 999px;
  --shadow-xs: 0 1px 2px rgba(15, 27, 42, .06);
  --shadow-sm: 0 2px 6px -1px rgba(15, 27, 42, .08), 0 1px 2px rgba(15, 27, 42, .04);
  --shadow: 0 14px 34px -14px rgba(23, 37, 56, .22);
  --shadow-lg: 0 34px 70px -24px rgba(23, 37, 56, .32);
  --font: 'Urbanist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --container: 1320px; --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px; --ease: cubic-bezier(.22, .8, .22, 1); --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body { margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.6; font-weight: 500; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body.is-locked { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--sky-700); }
h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 750; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); }
h4 { font-size: 1.1rem; }
/* Intitulés visuels qui ne sont pas des titres de contenu (menu, filtres, pied de page) */
.h4 { color: var(--ink); font-weight: 750; line-height: 1.15; letter-spacing: -.02em; font-size: 1.1rem; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
strong, b { font-weight: 700; color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--sky-200); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 860px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.nowrap { white-space: nowrap; }
@media (max-width: 899px) { .hide-mobile { display: none !important; } }
@media (min-width: 900px) { .hide-desktop { display: none !important; } }
.stack > * + * { margin-top: var(--stack, 1rem); }
.grid { display: grid; gap: var(--gap, 24px); }
.section { padding-block: clamp(48px, 6vw, 96px); }
.section-sm { padding-block: clamp(32px, 4vw, 56px); }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 3vw, 36px); flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-700); margin-bottom: 12px; }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); }

/* ---------- Boutons ---------- */
.btn { --bg: var(--primary); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: var(--pill); border: 1.5px solid transparent; background: var(--bg); color: var(--fg); font-weight: 700; font-size: 1rem; line-height: 1.2; letter-spacing: .005em; text-align: center; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s; white-space: nowrap; user-select: none; }
.btn:hover { color: var(--fg); background: var(--primary-700); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(36, 54, 77, .55); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn-sky { --bg: var(--sky); --fg: var(--primary-900); }
.btn-sky:hover { background: var(--sky-600); color: #fff; }
.btn-light { --bg: #fff; --fg: var(--primary-800); box-shadow: var(--shadow-sm); }
.btn-light:hover { background: var(--primary-50); color: var(--primary-800); }
.btn-outline { --bg: transparent; --fg: var(--primary-700); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--primary-50); color: var(--primary-800); border-color: var(--primary-200); box-shadow: none; }
.btn-ghost { --bg: transparent; --fg: var(--primary-700); padding-inline: 14px; }
.btn-ghost:hover { background: var(--primary-50); color: var(--primary-800); box-shadow: none; }
.btn-danger { --bg: var(--danger); }
.btn-success { --bg: var(--success); }
.btn-twint { --bg: #000; --fg: #fff; }
.btn-twint:hover { background: #222; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-icon { width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--primary-700); }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Badges, puces ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--pill); font-size: .78rem; font-weight: 750; line-height: 1.4; background: var(--primary-50); color: var(--primary-700); }
.badge-sky { background: var(--sky-50); color: var(--sky-700); }
.badge-sale { background: var(--danger); color: #fff; }
.badge-pro { background: var(--primary-800); color: #fff; }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 650; color: var(--success); }
.stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.stock.is-out { color: var(--danger); }
.stock.is-low { color: var(--warning); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.chips-scroll::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--pill); border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 650; font-size: .92rem; white-space: nowrap; transition: all .2s; }
.chip:hover, .chip.is-active { border-color: var(--primary); background: var(--primary); color: #fff; }
.chip small { opacity: .65; font-weight: 600; }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--primary-900); color: rgba(255, 255, 255, .86); font-size: .84rem; font-weight: 600; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 38px; }
.topbar-usps { display: flex; gap: 28px; overflow: hidden; white-space: nowrap; }
.topbar-usps span { display: inline-flex; align-items: center; gap: 8px; }
.topbar-usps .icon { color: var(--sky); width: 16px; height: 16px; }
.topbar-links { display: none; gap: 20px; align-items: center; white-space: nowrap; }
.topbar a { color: rgba(255, 255, 255, .86); }
@media (max-width: 1560px) { .topbar-usps span:nth-child(3) { display: none; } }
@media (max-width: 1200px) { .topbar-usps span:nth-child(2) { display: none; } }
.topbar a:hover { color: #fff; }
@media (max-width: 899px) {
  .topbar-usps { width: 100%; justify-content: center; }
  .topbar-usps span:not(:first-child) { display: none; }
}
@media (min-width: 900px) { .topbar-links { display: flex; } }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(15, 27, 42, .35); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 14px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; flex: none; color: var(--ink); }
.logo svg { height: 46px; width: auto; }
.logo:hover { color: var(--ink); }
.logo-alt img { display: block; height: 38px; width: auto; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--primary-50); color: var(--primary-800); flex: none; }
.burger { width: 20px; height: 14px; position: relative; display: block; }
.burger i { position: absolute; left: 0; height: 2.2px; width: 100%; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 6px; width: 70%; } .burger i:nth-child(3) { top: 12px; }
.header-search { position: relative; flex: 1; min-width: 0; max-width: 620px; display: none; }
.search-field { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 6px 0 18px; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--bg-soft); transition: border-color .2s, background .2s, box-shadow .2s; }
.search-field:focus-within { border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px var(--sky-50); }
.search-field .icon { color: var(--muted); }
.search-field input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; height: 100%; font-weight: 600; font-size: .98rem; color: var(--ink); }
.search-field input::placeholder { color: var(--muted); font-weight: 500; }
.search-field button { height: 40px; padding: 0 18px; border: 0; border-radius: var(--pill); background: var(--primary); color: #fff; font-weight: 700; }
.search-results { position: absolute; top: calc(100% + 10px); left: 0; right: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 8px; display: none; max-height: min(70vh, 560px); overflow: auto; z-index: 80; }
.search-results.is-open { display: block; animation: pop .22s var(--ease-out); }
.search-results h6 { margin: 10px 12px 6px; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.sr-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--radius-sm); color: var(--ink); }
.sr-item:hover, .sr-item.is-active { background: var(--bg-soft); color: var(--ink); }
.sr-item img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid var(--line); flex: none; }
.sr-item .sr-name { font-weight: 650; font-size: .92rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sr-item .sr-meta { font-size: .8rem; color: var(--muted); }
.sr-item .sr-price { margin-left: auto; font-weight: 750; color: var(--primary-800); white-space: nowrap; font-size: .92rem; }
.sr-all { display: block; text-align: center; padding: 12px; font-weight: 700; border-top: 1px solid var(--line); margin-top: 6px; }
.sr-empty { padding: 18px; text-align: center; color: var(--muted); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hdr-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; min-width: 46px; padding: 0 12px; border-radius: 14px; border: 0; background: transparent; color: var(--ink); font-weight: 700; font-size: .92rem; transition: background .2s; }
.hdr-btn:hover { background: var(--primary-50); color: var(--primary-800); }
.hdr-btn .icon { width: 24px; height: 24px; }
.hdr-btn .label { display: none; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--sky); color: var(--primary-900); font-size: .72rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff; transition: transform .3s var(--ease); }
.cart-count.is-bump { animation: bump .5s var(--ease); }
.cart-count:empty, .cart-count[data-count="0"] { display: none; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
.header-cta { display: none; --bg: var(--sky-600); --fg: #fff; }
.header-cta:hover { background: var(--sky-700); color: #fff; }
.mobile-search { padding: 0 var(--gutter) 12px; }
.mobile-search .search-field { height: 46px; }
@media (min-width: 900px) {
  .menu-toggle, .mobile-search { display: none; }
  .header-search { display: block; }
  .logo svg { height: 50px; }
  .logo-alt img { height: 50px; }
  .header-inner { gap: 28px; height: 84px; }
  .hdr-btn .label { display: inline; }
  .header-cta { display: inline-flex; }
}
@media (min-width: 1200px) { .hdr-account .label { display: inline; } }
/* Écrans intermédiaires : en-tête plus compact pour laisser de la place à la recherche */
@media (min-width: 900px) and (max-width: 1199px) {
  .header-inner { gap: 18px; }
  .hdr-account .label { display: none; }
  .logo-alt img { height: 44px; }
}

/* ---------- Méga-menu ---------- */
.mega-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mega-list { display: flex; justify-content: flex-start; gap: 0; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.mega-list::-webkit-scrollbar { display: none; }
.mega-list > li:first-child { margin-left: auto; }
.mega-list > li:last-child { margin-right: auto; }
.mega-item > a { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 15px 9px; font-weight: 700; font-size: .88rem; color: var(--ink); white-space: nowrap; letter-spacing: -.005em; }
.mega-nav .container { max-width: 1440px; }
.mega-item > a .icon { width: 14px; height: 14px; color: var(--muted); transition: transform .25s var(--ease); }
.mega-item > a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2.5px; border-radius: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.mega-item:hover > a::after, .mega-item.is-open > a::after, .mega-item > a[aria-current]::after { transform: scaleX(1); }
.mega-item:hover > a .icon, .mega-item.is-open > a .icon { transform: rotate(180deg); }
.mega-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(15, 27, 42, .35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; }
.mega-item:hover .mega-panel, .mega-item.is-open .mega-panel, .mega-item:focus-within .mega-panel { opacity: 1; visibility: visible; transform: none; transition-delay: .08s, .08s, 0s; }
.mega-inner { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding-block: 32px 36px; }
.mega-cols { columns: 3 220px; column-gap: 32px; }
.mega-cols a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; color: var(--text); font-weight: 600; break-inside: avoid; }
.mega-cols a:hover { background: var(--bg-soft); color: var(--primary-800); }
.mega-cols a small { color: var(--muted); font-weight: 600; }
.mega-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; padding: 0 12px; }
.mega-head h3 { margin: 0; font-size: 1.3rem; }
.mega-feature { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(140deg, var(--primary-800), var(--primary)); color: #fff; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px; }
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; mix-blend-mode: luminosity; }
.mega-feature > * { position: relative; }
.mega-feature .h4 { color: #fff; font-size: 1.25rem; margin-bottom: 6px; }
.mega-feature p { color: rgba(255, 255, 255, .8); font-size: .92rem; }
.mega-feature .btn { align-self: flex-start; }
@media (min-width: 900px) { .mega-nav { display: block; } .mega-wrap { position: relative; } }
@media (max-width: 1240px) { .mega-item > a { padding-inline: 8px; font-size: .86rem; } .mega-item > a::after { left: 8px; right: 8px; } }

/* ---------- Menu mobile plein écran ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; color: #fff; background: radial-gradient(1200px 600px at 110% -10%, rgba(113, 193, 232, .35), transparent 60%), radial-gradient(900px 500px at -20% 110%, rgba(113, 193, 232, .18), transparent 60%), linear-gradient(160deg, var(--primary-900) 0%, var(--primary-800) 45%, var(--primary) 100%); clip-path: circle(0% at calc(100% - 40px) 40px); visibility: hidden; transition: clip-path .7s var(--ease-out), visibility 0s .7s; overflow: hidden; }
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; transition: clip-path .7s var(--ease-out), visibility 0s; }
.mobile-menu::before { content: ''; position: absolute; inset: auto -20% -30% -20%; height: 60%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200'%3E%3Cpath d='M0 100 Q150 40 300 100 T600 100 T900 100 T1200 100 V200 H0Z' fill='%2371c1e8' fill-opacity='.08'/%3E%3C/svg%3E") repeat-x bottom / 1200px 200px; animation: waves 18s linear infinite; pointer-events: none; }
@keyframes waves { to { background-position-x: 1200px; } }
.mm-top { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); }
.mm-top .logo { color: #fff; }
.mm-top .logo svg { height: 42px; }
.mm-close { width: 50px; height: 50px; border-radius: 16px; border: 1.5px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.mm-close .icon { width: 26px; height: 26px; }
.mm-search { padding: 4px var(--gutter) 10px; }
.mm-search .search-field { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); height: 52px; }
.mm-search .search-field input { color: #fff; }
.mm-search .search-field input::placeholder { color: rgba(255, 255, 255, .6); }
.mm-search .search-field .icon { color: rgba(255, 255, 255, .7); }
.mm-search .search-field button { background: var(--sky); color: var(--primary-900); }
.mm-body { position: relative; flex: 1; overflow: hidden; }
.mm-panel { position: absolute; inset: 0; overflow-y: auto; padding: 8px var(--gutter) 24px; transition: transform .5s var(--ease-out), opacity .4s; overscroll-behavior: contain; }
.mm-panel[hidden] { display: block; visibility: hidden; transform: translateX(100%); opacity: 0; }
.mm-panel.is-behind { transform: translateX(-30%); opacity: 0; visibility: hidden; }
.mm-list { list-style: none; margin: 0; padding: 0; }
.mm-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 12px 4px; border: 0; background: none; color: #fff; text-align: left; font-size: clamp(1.45rem, 1.1rem + 2.2vw, 2rem); font-weight: 750; letter-spacing: -.02em; line-height: 1.15; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mm-link:hover, .mm-link:focus-visible { color: var(--sky); }
.mm-link .icon { width: 26px; height: 26px; opacity: .6; flex: none; }
.mm-link small { font-size: .85rem; font-weight: 600; opacity: .55; margin-left: 10px; letter-spacing: 0; }
.mm-sub .mm-link { font-size: 1.25rem; font-weight: 650; padding-block: 14px; }
.mm-back { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--sky); font-weight: 750; padding: 10px 0 6px; font-size: 1rem; }
.mm-sub-title { font-size: 2rem; color: #fff; margin: 4px 0 8px; }
.mm-all { display: inline-flex; margin: 6px 0 10px; color: var(--sky); font-weight: 700; }
.mobile-menu .mm-list > li { opacity: 0; transform: translateY(18px); }
.mobile-menu.is-open .mm-list > li { opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(.12s + var(--i, 0) * .045s); }
.mm-extra { margin-top: 26px; display: grid; gap: 4px; }
.mm-extra a { color: rgba(255, 255, 255, .78); font-weight: 650; padding: 8px 4px; display: inline-flex; gap: 10px; align-items: center; }
.mm-extra a:hover { color: #fff; }
.mm-bottom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px var(--gutter) max(14px, env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(10, 20, 33, .25); }
.mm-bottom a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 16px; background: rgba(255, 255, 255, .08); color: #fff; font-weight: 700; font-size: .85rem; }
.mm-bottom a .icon { width: 24px; height: 24px; color: var(--sky); }
.mm-bottom a:hover { background: rgba(255, 255, 255, .14); }
.menu-open .menu-toggle .burger i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-open .menu-toggle .burger i:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle .burger i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ---------- Héros (accueil) ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); }
.hero::before { content: ''; position: absolute; width: 900px; height: 900px; right: -320px; top: -420px; border-radius: 50%; background: radial-gradient(circle, rgba(113, 193, 232, .32), transparent 65%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: clamp(32px, 5vw, 72px) clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.3rem); line-height: 1.02; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--sky-600); background: linear-gradient(90deg, var(--sky-600), var(--primary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { max-width: 560px; margin-bottom: 26px; }
.hero-search { max-width: 560px; margin-bottom: 22px; }
.hero-search .search-field { height: 60px; background: #fff; box-shadow: var(--shadow); border-color: #fff; }
.hero-search .search-field button { height: 48px; padding-inline: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--muted); font-weight: 650; font-size: .92rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { color: var(--success-600); }
.hero-visual { position: relative; }
.hero-visual .frame { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 2 / 1; background: var(--primary-100); }
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow); font-weight: 700; color: var(--ink); font-size: .92rem; animation: floaty 6s ease-in-out infinite; }
.float-card .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-50); color: var(--sky-700); }
.float-card small { display: block; color: var(--muted); font-weight: 600; font-size: .78rem; }
.float-card.fc-1 { left: -14px; bottom: 26px; }
.float-card.fc-2 { right: -10px; top: 22px; animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 56px; } }
@media (max-width: 999px) { .float-card { display: none; } .hero-visual .frame { aspect-ratio: 16 / 10; } }

/* ---------- Atouts ---------- */
.usps { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.usp { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.usp:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.usp .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); }
.usp .ic .icon { width: 24px; height: 24px; }
.usp .usp-title { font-size: 1.02rem; margin: 0; font-weight: 750; color: var(--ink); line-height: 1.15; letter-spacing: -.02em; }
.usp p { font-size: .9rem; margin: 0; color: var(--muted); }
@media (min-width: 1000px) { .usps { grid-template-columns: repeat(4, 1fr); gap: 20px; } .usp { padding: 26px; flex-direction: row; align-items: flex-start; } }

/* ---------- Catégories ---------- */
.cat-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.cat-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; isolation: isolate; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.cat-card .media { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 60%, #fff, var(--bg-soft)); overflow: hidden; min-height: 0; }
.cat-card .media img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: contain; transition: transform .5s var(--ease); mix-blend-mode: multiply; }
.cat-card:hover .media img { transform: scale(1.06); }
.cat-card .body { padding: 14px 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cat-card h3 { font-size: 1.02rem; margin: 0; }
.cat-card small { color: var(--muted); font-weight: 600; }
.cat-card .go { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--primary); flex: none; transition: background .25s, color .25s, transform .25s var(--ease); }
.cat-card:hover .go { background: var(--primary); color: #fff; transform: rotate(-45deg); }
@media (min-width: 700px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1100px) { .cat-grid { grid-template-columns: repeat(5, 1fr); } }

/* ---------- Cartes produits ---------- */
.product-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.with-sidebar .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1100px) { .with-sidebar .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1360px) { .with-sidebar .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.p-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease), border-color .3s; min-width: 0; }
.p-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.p-card .p-media { position: relative; display: block; aspect-ratio: 1; background: #fff; overflow: hidden; min-height: 0; }
.p-card .p-media img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; transition: transform .45s var(--ease); }
.p-card:hover .p-media img { transform: scale(1.05); }
.p-card .p-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 2; }
.p-card .p-body { display: flex; flex-direction: column; gap: 6px; padding: 4px 16px 16px; flex: 1; }
.p-card .p-cat { font-size: .74rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--sky-700); }
.p-card .p-name { font-size: .97rem; font-weight: 700; line-height: 1.3; color: var(--ink); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.9em; }
.p-card .p-name a { color: inherit; }
.p-card .p-name a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.p-card .p-sku { font-size: .78rem; color: var(--muted); font-weight: 600; }
.p-card .p-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding-top: 8px; }
.price { display: flex; flex-direction: column; line-height: 1.15; }
.price .now { font-size: 1.18rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.price .from { font-size: .74rem; font-weight: 650; color: var(--muted); }
.price .was { font-size: .82rem; color: var(--muted); text-decoration: line-through; font-weight: 600; }
.price .ht { font-size: .76rem; color: var(--muted); font-weight: 600; }
.price.is-sale .now { color: var(--danger); }
.price.is-pro .now { color: var(--primary); }
.p-card .add-btn { position: relative; z-index: 2; width: 44px; height: 44px; border-radius: 14px; border: 0; background: var(--primary); color: #fff; display: grid; place-items: center; flex: none; transition: background .2s, transform .2s var(--ease); }
.p-card .add-btn:hover { background: var(--sky-600); transform: scale(1.06); }
.p-card .add-btn.is-done { background: var(--success); }
.p-card .add-btn[disabled] { background: var(--line-strong); }
.p-card .stock { font-size: .78rem; }
@media (max-width: 699px) {
  .p-card { border-radius: var(--radius); }
  .p-card .p-media img { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
  .p-card .p-body { padding: 2px 12px 12px; }
  .p-card .p-name { font-size: .9rem; }
  .price .now { font-size: 1.05rem; }
  .p-card .add-btn { width: 40px; height: 40px; border-radius: 12px; }
}

/* Carrousels horizontaux */
.rail { position: relative; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 46%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px var(--gutter) 18px; margin-inline: calc(var(--gutter) * -1); scroll-padding-inline: var(--gutter); }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; }
@media (min-width: 700px) { .rail-track { grid-auto-columns: calc((100% - 3 * 18px) / 3.3); gap: 18px; } }
@media (min-width: 1100px) { .rail-track { grid-auto-columns: calc((100% - 3 * 22px) / 4); gap: 22px; margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; } }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; transition: all .2s; }
.rail-nav button:hover { border-color: var(--primary); background: var(--primary); color: #fff; }

/* ---------- Bandeaux ---------- */
.band { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: linear-gradient(130deg, var(--primary-900), var(--primary-700) 55%, var(--primary)); color: #fff; padding: clamp(28px, 5vw, 64px); isolation: isolate; }
.band::after { content: ''; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(113, 193, 232, .45), transparent 70%); z-index: -1; }
.band h2, .band h3 { color: #fff; }
.band p { color: rgba(255, 255, 255, .82); }
.band-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
@media (min-width: 900px) { .band-grid { grid-template-columns: 1.2fr 1fr; } }
.band-cards { display: grid; gap: 12px; }
.band-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 20px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; transition: background .2s, transform .25s var(--ease); }
.band-card:hover { background: rgba(255, 255, 255, .14); transform: translateX(4px); color: #fff; }
.band-card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sky); color: var(--primary-900); flex: none; }
.band-card strong { color: #fff; display: block; font-size: 1.05rem; }
.band-card span { font-size: .9rem; color: rgba(255, 255, 255, .75); }
.band-card .arrow { margin-left: auto; opacity: .7; }

/* Texte SEO / prose */
.prose { color: var(--text); font-size: 1.04rem; line-height: 1.75; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.8rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose h4 { margin-top: 1.4em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--sky-600); }
.prose a { color: var(--sky-700); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--sky-200); }
.prose a:hover { text-decoration-color: currentColor; }
.prose img { border-radius: var(--radius); margin-block: 1em; }
.prose figure { margin: 1.4em 0; }
.prose figure img { margin: 0 auto; }
.prose figcaption { font-size: .9rem; color: var(--muted); text-align: center; margin-top: 8px; }
.prose .img-right { float: right; margin: 0 0 1em 1.5em; max-width: 45%; }
.prose .img-left { float: left; margin: 0 1.5em 1em 0; max-width: 45%; }
.prose .img-center { margin-inline: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--bg-soft); color: var(--ink); }
.prose blockquote { margin: 1.5em 0; padding: 18px 22px; border-left: 4px solid var(--sky); background: var(--sky-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose video, .prose iframe { width: 100%; border-radius: var(--radius); background: #000; }
.prose .video-embed { position: relative; aspect-ratio: 16 / 9; }
.prose .video-embed iframe { position: absolute; inset: 0; height: 100%; border: 0; }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 2em; }
.prose .btn { text-decoration: none; color: #fff; }
.prose::after { content: ''; display: table; clear: both; }
.doc-card { display: inline-flex !important; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius); border: 1.5px solid var(--line); background: #fff; color: var(--ink) !important; text-decoration: none !important; font-weight: 700; }
.doc-card::before { content: 'PDF'; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--danger-bg); color: var(--danger); font-size: .75rem; font-weight: 800; flex: none; }
.doc-card:hover { border-color: var(--sky); box-shadow: var(--shadow-sm); }
.readmore { position: relative; max-height: 220px; overflow: hidden; transition: max-height .5s var(--ease); }
.readmore::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(transparent, var(--readmore-bg, #fff)); pointer-events: none; transition: opacity .3s; }
.readmore.is-open { max-height: none; }
.readmore.is-open::after { opacity: 0; }
.readmore-toggle { margin-top: 14px; }

/* ---------- Fil d'Ariane, en-têtes de page ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--muted); margin: 0; padding: 0; list-style: none; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.breadcrumb li:last-child { color: var(--ink); }
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg-soft), #fff); padding-block: clamp(22px, 4vw, 48px) clamp(18px, 3vw, 32px); }
.page-hero::before { content: ''; position: absolute; width: 700px; height: 700px; right: -260px; top: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(113, 193, 232, .26), transparent 65%); }
.page-hero > * { position: relative; }
.page-hero h1 { margin: 14px 0 10px; font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); }
.page-hero .lead { max-width: 760px; margin: 0; }
.page-hero-media { margin-top: 24px; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 21 / 8; box-shadow: var(--shadow); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Catalogue (catégorie, recherche) ---------- */
.catalog { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 64px; }
@media (min-width: 1100px) { .catalog.with-sidebar { grid-template-columns: 270px minmax(0, 1fr); gap: 40px; } }
.filters { display: none; }
@media (min-width: 1100px) { .filter-btn { display: none !important; } }
@media (min-width: 1100px) { .filters { display: block; position: sticky; top: calc(var(--header-h) + 72px); align-self: start; max-height: calc(100vh - 160px); overflow: auto; padding-right: 6px; } }
.filter-group { padding: 18px 0; border-bottom: 1px solid var(--line); }
.filter-group:first-child { padding-top: 0; }
.filter-group .h4 { font-size: .95rem; margin: 0 0 12px; display: flex; justify-content: space-between; }
.filter-option { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-weight: 600; font-size: .93rem; cursor: pointer; color: var(--text); }
.filter-option small { margin-left: auto; color: var(--muted); }
.filter-option input { width: 18px; height: 18px; accent-color: var(--primary); }
.filter-list { max-height: 260px; overflow: auto; }
.price-range { display: flex; gap: 10px; align-items: center; }
.price-range input { width: 100%; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar .count { font-weight: 650; color: var(--muted); }
.toolbar .actions { display: flex; gap: 8px; align-items: center; }
.select-pill { appearance: none; height: 44px; padding: 0 40px 0 16px; border-radius: var(--pill); border: 1.5px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2333404f' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center; font-weight: 650; color: var(--ink); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-filters a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--pill); background: var(--primary-50); color: var(--primary-800); font-weight: 650; font-size: .86rem; }
.empty-state { text-align: center; padding: 56px 20px; border-radius: var(--radius-lg); background: var(--bg-soft); }
.empty-state .ic { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px; display: grid; place-items: center; background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.empty-state .ic .icon { width: 30px; height: 30px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--ink); border: 1.5px solid var(--line); background: #fff; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .is-current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .dots { border: 0; background: none; }
.cat-desc { margin-top: 48px; padding: clamp(22px, 4vw, 40px); border-radius: var(--radius-xl); background: var(--bg-soft); --readmore-bg: var(--bg-soft); }

/* Tiroir de filtres (mobile) */
.sheet { position: fixed; inset: 0; z-index: 150; display: flex; align-items: flex-end; visibility: hidden; }
.sheet.is-open { visibility: visible; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(15, 27, 42, .45); opacity: 0; transition: opacity .3s; }
.sheet.is-open .sheet-backdrop { opacity: 1; }
.sheet-panel { position: relative; width: 100%; max-height: 88vh; display: flex; flex-direction: column; background: #fff; border-radius: 28px 28px 0 0; transform: translateY(100%); transition: transform .45s var(--ease-out); }
.sheet.is-open .sheet-panel { transform: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 12px; border-bottom: 1px solid var(--line); }
.sheet-head::before { content: ''; position: absolute; top: 8px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 3px; background: var(--line-strong); }
.sheet-head h3 { margin: 0; font-size: 1.2rem; }
.sheet-body { overflow: auto; padding: 8px 20px 20px; }
.sheet-foot { padding: 12px 20px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; gap: 10px; }
@media (min-width: 900px) { .sheet { align-items: stretch; justify-content: flex-end; } .sheet-panel { width: 420px; max-height: none; height: 100%; border-radius: 28px 0 0 28px; transform: translateX(100%); } .sheet-head::before { display: none; } }

/* ---------- Fiche produit ---------- */
.product-top { padding-block: 18px 40px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 18px; }
@media (min-width: 1000px) { .product-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; } }
.gallery { position: relative; }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); overflow: hidden; cursor: zoom-in; min-height: 0; }
.gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: clamp(16px, 4vw, 40px); transition: opacity .25s; }
.gallery-main .p-badges { position: absolute; top: 18px; left: 18px; display: flex; gap: 8px; z-index: 2; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.gallery-thumbs button { flex: none; width: 76px; height: 76px; border-radius: 14px; border: 2px solid var(--line); background: #fff; padding: 6px; transition: border-color .2s; }
.gallery-thumbs button.is-active { border-color: var(--primary); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 1000px) { .gallery { position: sticky; top: calc(var(--header-h) + 72px); } }
.buybox .brand-link { display: inline-flex; margin-bottom: 10px; }
.buybox h1 { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.4rem); line-height: 1.12; margin-bottom: 12px; }
.buybox .meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; color: var(--muted); font-weight: 600; font-size: .9rem; margin-bottom: 18px; }
.buybox .short { color: var(--text); margin-bottom: 20px; }
.buybox .short p:last-child { margin-bottom: 0; }
.price-box { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--bg-soft); margin-bottom: 18px; }
.price-box .now { font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.4rem); font-weight: 850; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.price-box.is-sale .now { color: var(--danger); }
.price-box .was { font-size: 1.1rem; color: var(--muted); text-decoration: line-through; font-weight: 650; }
.price-box .vat { width: 100%; font-size: .84rem; color: var(--muted); font-weight: 600; }
.price-box .pro-note { width: 100%; display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--primary-700); font-weight: 650; }
.variant-picker { margin-bottom: 18px; }
.variant-picker label { display: block; font-weight: 750; color: var(--ink); margin-bottom: 10px; }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-options button { padding: 10px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; color: var(--ink); transition: all .2s; text-align: left; line-height: 1.25; }
.variant-options button small { display: block; color: var(--muted); font-weight: 650; font-size: .8rem; }
.variant-options button:hover { border-color: var(--primary-200); }
.variant-options button.is-active { border-color: var(--primary); background: var(--primary-50); box-shadow: 0 0 0 3px var(--primary-100); }
.variant-options button.is-out { opacity: .5; text-decoration: line-through; }
.buy-row { display: flex; gap: 10px; margin-bottom: 18px; }
.buy-row .btn { flex: 1; min-width: 0; }
@media (max-width: 420px) {
  .buy-row .qty button { width: 40px; }
  .buy-row .qty input { width: 40px; }
  .buy-row .btn { padding-inline: 16px; font-size: 1rem; white-space: normal; line-height: 1.15; }
}
.qty { display: inline-flex; align-items: center; height: 56px; border-radius: var(--pill); border: 1.5px solid var(--line); background: #fff; overflow: hidden; flex: none; }
.qty button { width: 46px; height: 100%; border: 0; background: transparent; color: var(--ink); display: grid; place-items: center; }
.qty button:hover { background: var(--bg-soft); }
.qty input { width: 48px; height: 100%; border: 0; text-align: center; font-weight: 750; font-size: 1.05rem; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm { height: 40px; }
.qty-sm button { width: 34px; }
.qty-sm input { width: 38px; font-size: .95rem; }
.assurance { display: grid; gap: 2px; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; margin-bottom: 18px; }
.assurance div { display: flex; align-items: center; gap: 14px; padding: 13px 16px; background: #fff; font-weight: 600; font-size: .93rem; }
.assurance div + div { border-top: 1px solid var(--line); }
.assurance .icon { color: var(--sky-600); width: 22px; height: 22px; }
.assurance strong { color: var(--ink); }
.pay-icons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pay-icons span { display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: .74rem; font-weight: 800; color: var(--ink); letter-spacing: .02em; }
.help-card { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--radius); background: linear-gradient(120deg, var(--primary-50), var(--sky-50)); margin-top: 18px; }
.help-card .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--primary); flex: none; }
.help-card p { margin: 0; font-size: .9rem; }
.help-card a { font-weight: 750; }
.kit-box { border: 1.5px dashed var(--sky); background: var(--sky-50); border-radius: var(--radius); padding: 16px; margin-bottom: 18px; }
.kit-box .h4 { margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.kit-box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.kit-box li { display: flex; gap: 10px; align-items: center; font-size: .92rem; font-weight: 600; }
.kit-box li img { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 8px; }
.kit-box li .q { margin-left: auto; color: var(--muted); }
.product-sections { padding-block: 24px 64px; }
.tabs-nav { position: sticky; top: calc(var(--header-h) - 1px); z-index: 20; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tabs-nav::-webkit-scrollbar { display: none; }
.tabs-nav a { position: relative; padding: 16px 16px; font-weight: 750; color: var(--muted); white-space: nowrap; }
.tabs-nav a.is-active { color: var(--ink); }
.tabs-nav a.is-active::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--sky); }
@media (min-width: 900px) { .tabs-nav { top: calc(84px + 52px); } }
.p-section { padding-block: 12px 36px; }
.p-section + .p-section { border-top: 1px solid var(--line); padding-top: 36px; }
.p-section > h2 { font-size: 1.5rem; margin-bottom: 18px; }
.specs { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.specs th, .specs td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { width: 38%; background: var(--bg-soft); color: var(--ink); font-weight: 700; }
.docs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.docs .doc-card { width: 100%; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -18px rgba(15, 27, 42, .35); transform: translateY(110%); transition: transform .4s var(--ease-out); }
.sticky-buy.is-visible { transform: none; }
.sticky-buy .price .now { font-size: 1.15rem; }
.sticky-buy .btn { flex: 1; }
@media (min-width: 1000px) { .sticky-buy { display: none; } }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(10, 18, 30, .92); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.is-open { display: flex; animation: fade .25s; }
.lightbox img { max-height: 88vh; max-width: 92vw; object-fit: contain; border-radius: 16px; background: #fff; }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; }
.lightbox .lb-next { right: 18px; top: 50%; }
@keyframes fade { from { opacity: 0; } }
.reviews { display: grid; gap: 14px; }
.review { padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); }
.stars { color: #f5a623; letter-spacing: 2px; }

/* ---------- Formulaires ---------- */
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: span 2; } .form-grid.zip-city { grid-template-columns: 140px 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .field-label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.field .hint { font-size: .82rem; color: var(--muted); }
.input, .field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=password], .field input[type=number], .field input[type=date], .field input[type=search], .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); font-weight: 600; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2333404f' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 42px; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--sky-600); box-shadow: 0 0 0 4px var(--sky-50); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .85rem; font-weight: 650; margin: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); flex: none; }
.radio-cards { display: grid; gap: 10px; }
.radio-card { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); border: 1.5px solid var(--line-strong); background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.radio-card:hover { border-color: var(--primary-200); }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; display: grid; place-items: center; transition: border-color .2s; }
.radio-card .dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); transform: scale(0); transition: transform .2s var(--ease); }
.radio-card:has(input:checked) { border-color: var(--primary); background: var(--primary-50); box-shadow: 0 0 0 3px var(--primary-100); }
.radio-card:has(input:checked) .dot { border-color: var(--primary); }
.radio-card:has(input:checked) .dot::after { transform: scale(1); }
.radio-card .rc-body { flex: 1; min-width: 0; }
.radio-card strong { display: block; }
.radio-card .rc-desc { font-size: .86rem; color: var(--muted); font-weight: 550; }
.radio-card .rc-price { font-weight: 800; color: var(--ink); white-space: nowrap; }
.radio-card .rc-logo { flex: none; }
.alert { display: flex; gap: 12px; padding: 14px 18px; border-radius: var(--radius); font-weight: 600; background: var(--sky-50); color: var(--primary-800); border: 1px solid var(--sky-100); }
.alert .icon { flex: none; margin-top: 2px; }
.alert-success { background: var(--success-bg); color: var(--success); border-color: #d7e8c7; }
.alert-error { background: var(--danger-bg); color: var(--danger); border-color: #f6cfcf; }
.alert-warning { background: var(--warning-bg); color: var(--warning); border-color: #f5e0b8; }
.flash-stack { position: fixed; top: 96px; right: 16px; left: 16px; z-index: 400; display: grid; gap: 10px; pointer-events: none; }
@media (min-width: 700px) { .flash-stack { left: auto; width: 400px; } }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); font-weight: 650; animation: toastIn .45s var(--ease-out); }
.toast .icon { color: var(--sky); }
.toast.is-error .icon { color: #ff8b8b; }
.toast a { color: var(--sky); margin-left: auto; white-space: nowrap; }
.toast.is-leaving { animation: toastOut .35s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-8px); } }

/* ---------- Cartes, panneaux ---------- */
.card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); padding: clamp(18px, 3vw, 28px); }
.card-soft { background: var(--bg-soft); border-color: transparent; }
.card h2, .card h3 { margin-top: 0; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card-title h2, .card-title h3 { margin: 0; font-size: 1.25rem; }
.step-num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: .95rem; margin-right: 10px; }

/* ---------- Panier ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 24px 72px; align-items: start; }
@media (min-width: 1000px) { .cart-layout { grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; } .summary-sticky { position: sticky; top: calc(var(--header-h) + 72px); } }
.cart-lines { display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.cart-line img { width: 84px; height: 84px; object-fit: contain; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.cart-line .cl-name { font-weight: 700; color: var(--ink); line-height: 1.3; display: block; }
.cart-line .cl-meta { font-size: .84rem; color: var(--muted); font-weight: 600; }
.cart-line .cl-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.cart-line .cl-total { font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.cart-line .cl-remove { border: 0; background: none; color: var(--muted); padding: 6px; display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; font-weight: 650; }
.cart-line .cl-remove:hover { color: var(--danger); }
.summary { display: grid; gap: 10px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.summary .row.total { font-size: 1.3rem; font-weight: 850; color: var(--ink); padding-top: 12px; border-top: 1.5px solid var(--line); margin-top: 6px; }
.summary .row .neg { color: var(--success); }
.summary .vat-note { font-size: .84rem; color: var(--muted); }
.ship-progress { padding: 14px 16px; border-radius: var(--radius); background: var(--sky-50); font-weight: 650; font-size: .92rem; color: var(--primary-800); }
.ship-progress.ship-note { display: flex; gap: 10px; align-items: flex-start; }
.ship-note .icon { margin-top: 1px; }
.ship-progress .bar { height: 8px; border-radius: 4px; background: #fff; margin-top: 10px; overflow: hidden; }
.ship-progress .bar span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--sky), var(--primary)); transition: width .6s var(--ease); }
.coupon-form { display: flex; gap: 8px; }
.coupon-form input { flex: 1; min-width: 0; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line-strong); font-weight: 650; text-transform: uppercase; }

/* Tiroir panier */
.drawer { position: fixed; inset: 0; z-index: 250; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(15, 27, 42, .45); opacity: 0; transition: opacity .35s; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .5s var(--ease-out); box-shadow: var(--shadow-lg); }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-size: 1.25rem; }
.drawer-body { flex: 1; overflow: auto; padding: 16px 20px; display: grid; gap: 12px; align-content: start; }
.drawer-foot { padding: 16px 20px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer .cart-line { grid-template-columns: 64px minmax(0, 1fr); padding: 10px; }
.drawer .cart-line img { width: 64px; height: 64px; }

/* ---------- Commande (checkout) ---------- */
.checkout-head { padding-block: 20px 8px; }
.steps { display: flex; gap: 8px; align-items: center; font-weight: 700; color: var(--muted); font-size: .9rem; flex-wrap: wrap; }
.steps span { display: inline-flex; align-items: center; gap: 8px; }
.steps .is-active { color: var(--ink); }
.steps .sep { width: 24px; height: 2px; background: var(--line-strong); border-radius: 2px; }
.checkout-section + .checkout-section { margin-top: 18px; }
.secure-note { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); font-weight: 600; justify-content: center; }
.order-mini { display: grid; gap: 10px; max-height: 360px; overflow: auto; }
.order-mini .om { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; font-size: .9rem; }
.order-mini .om img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.order-mini .om .q { position: relative; }
.order-mini .om b { color: var(--ink); }

/* Paiement / confirmation */
.success-hero { text-align: center; padding-block: 40px 24px; }
.success-hero .ic { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--success-bg); color: var(--success); animation: pop .5s var(--ease-out); }
.success-hero .ic .icon { width: 40px; height: 40px; }
.qr-pay { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; }
@media (min-width: 800px) { .qr-pay { grid-template-columns: 240px 1fr; } }
.qr-pay .qr { background: #fff; padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); }
.qr-pay dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.qr-pay dt { color: var(--muted); font-weight: 650; }
.qr-pay dd { margin: 0; font-weight: 750; color: var(--ink); font-variant-numeric: tabular-nums; }
.twint-box { max-width: 520px; margin: 0 auto; text-align: center; }
.twint-box .qr { width: 260px; margin: 18px auto; padding: 14px; background: #fff; border-radius: 22px; box-shadow: var(--shadow); }
.twint-token { font-size: 2.2rem; letter-spacing: .25em; font-weight: 850; color: var(--ink); font-variant-numeric: tabular-nums; }
.twint-status { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-weight: 700; color: var(--muted); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; display: flex; gap: 14px; padding-bottom: 18px; color: var(--muted); font-weight: 650; }
.timeline li::before { content: ''; position: absolute; left: 11px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-strong); background: #fff; flex: none; display: grid; place-items: center; }
.timeline li.is-done { color: var(--ink); }
.timeline li.is-done .dot { background: var(--success); border-color: var(--success); color: #fff; }
.timeline li.is-done::before { background: var(--success); }
.timeline .dot .icon { width: 14px; height: 14px; }
.timeline small { display: block; color: var(--muted); font-weight: 600; }

/* ---------- Compte client ---------- */
.account-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 24px 72px; }
@media (min-width: 1000px) { .account-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 40px; } }
.account-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.account-nav a { display: inline-flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; color: var(--text); font-weight: 700; white-space: nowrap; }
.account-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.account-nav a.is-active { background: var(--primary); color: #fff; }
@media (min-width: 1000px) { .account-nav { flex-direction: column; position: sticky; top: calc(var(--header-h) + 72px); align-self: start; } }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.kpi { padding: 18px; border-radius: var(--radius); background: var(--bg-soft); }
.kpi strong { display: block; font-size: 1.5rem; font-weight: 850; }
.kpi span { color: var(--muted); font-weight: 650; font-size: .88rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.table th, .table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th { background: var(--bg-soft); color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 750; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 32px 80px; }
@media (min-width: 900px) { .auth-wrap { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--text); transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.post-card .media { aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .media img { transform: scale(1.05); }
.post-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card time { font-size: .82rem; color: var(--muted); font-weight: 650; }
.post-card .post-title { font-size: 1.15rem; margin: 0; color: var(--ink); }
.post-card p { margin: 0; font-size: .94rem; color: var(--muted); }
.article { padding-block: 24px 72px; }
.article-cover { border-radius: var(--radius-xl); overflow: hidden; margin: 24px 0 32px; aspect-ratio: 16 / 8; background: var(--bg-soft); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Marques ---------- */
.brand-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-cloud a { padding: 10px 18px; border-radius: var(--pill); background: #fff; border: 1.5px solid var(--line); font-weight: 700; color: var(--ink); transition: all .2s; }
.brand-cloud a:hover { border-color: var(--sky); color: var(--primary-800); transform: translateY(-2px); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Newsletter ---------- */
.newsletter { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-xl); background: linear-gradient(120deg, var(--sky-50), var(--primary-50)); }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr 1fr; } }
.newsletter h2 { margin: 0 0 6px; }
.newsletter p { margin: 0; color: var(--muted); }
.newsletter form { display: flex; gap: 8px; }
.newsletter input { flex: 1; min-width: 0; min-height: 54px; padding: 0 20px; border-radius: var(--pill); border: 1.5px solid #fff; background: #fff; font-weight: 650; box-shadow: var(--shadow-sm); }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; background: var(--primary-900); color: rgba(255, 255, 255, .72); padding-top: clamp(48px, 6vw, 80px); margin-top: clamp(40px, 6vw, 80px); overflow: hidden; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 60px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v20c-240 40-480 40-720 20S240 0 0 30z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat top / 100% 60px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.footer-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 40px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 48px; } }
.footer-grid .h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; letter-spacing: .02em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-weight: 600; }
.footer-brand .logo { color: #fff; margin-bottom: 18px; }
.footer-brand .logo svg { height: 52px; }
.footer-brand p { font-size: .95rem; }
.footer-contact { display: grid; gap: 10px; font-weight: 600; }
.footer-contact a, .footer-contact span { display: inline-flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--sky); margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.socials a:hover { background: var(--sky); color: var(--primary-900); }
.footer-brands { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .88rem; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 22px max(22px, env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; font-size: .88rem; }
.footer-bottom .pay-icons span { background: rgba(255, 255, 255, .95); }

/* ---------- Bannière cookies ---------- */
.cookie-banner { position: fixed; z-index: 500; left: 12px; right: 12px; bottom: 12px; max-width: 460px; padding: 20px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: none; }
.cookie-banner.is-visible { display: block; animation: toastIn .5s var(--ease-out); }
.cookie-banner .h4 { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.cookie-banner p { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.cookie-banner .cb-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-banner .cb-actions .btn { flex: 1; min-height: 44px; }
.cookie-prefs { display: none; gap: 10px; margin-bottom: 14px; }
.cookie-prefs.is-open { display: grid; }
.cookie-prefs label { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--bg-soft); font-weight: 650; font-size: .9rem; }
@media (min-width: 700px) { .cookie-banner { left: 24px; bottom: 24px; } }

/* ---------- Promotions ---------- */
.mega-promo > a { color: var(--danger); }
/* Onglet Promotions présent : barre un peu plus compacte pour garder toutes les catégories visibles */
.mega-list.has-promo > .mega-item > a { padding-inline: 6px; }
.mega-list.has-promo > .mega-item > a::after { left: 6px; right: 6px; }
@media (max-width: 1439px) { .mega-list.has-promo > .mega-item > a { font-size: .845rem; } }
.mega-promo { position: relative; }
.mega-list.has-promo > .mega-promo { margin-right: 6px; }
.mega-list.has-promo > .mega-promo::after { content: ""; position: absolute; right: -3px; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.mega-promo > a .icon { width: 17px; height: 17px; color: var(--danger); }
.mega-promo:hover > a .icon, .mega-promo.is-open > a .icon { transform: none; }
.mega-promo > a::after { background: var(--danger); }
.mm-link.mm-promo > span { display: inline-flex; align-items: center; gap: 10px; }
.mm-link.mm-promo > span .icon { width: 22px; height: 22px; color: #ff9c94; }
.price-box .sale-until { color: var(--danger); }
.price-box .sale-until[hidden] { display: none; }

/* ---------- Page Piscine (Piscinestore) ---------- */
.pool-hero { background: linear-gradient(180deg, #e9f6fd 0%, #fff 100%); }
.pool-hero::before { background: radial-gradient(circle, rgba(61, 159, 217, .28), transparent 65%); }
.pool-hero .breadcrumb { margin-bottom: 22px; }
.pool-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.9rem); }
.pool-frame img { object-position: 50% 62%; }
.pool-count { font-weight: 700; color: var(--muted); }
.pool-themes { display: grid; gap: 14px; }
@media (min-width: 900px) { .pool-themes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.pool-theme { padding: clamp(22px, 2.5vw, 30px); border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--sky-50), #fff 72%); border: 1px solid var(--sky-100); }
.pool-theme .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--sky-700); box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.pool-theme .ic .icon { width: 26px; height: 26px; }
.pool-theme h3 { font-size: 1.15rem; margin-bottom: 8px; }
.pool-theme p { margin: 0; color: var(--muted); font-size: .95rem; }
.pool-split { display: grid; gap: 28px; align-items: center; }
.pool-split + .pool-split { margin-top: clamp(44px, 6vw, 96px); }
@media (min-width: 900px) { .pool-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); } .pool-split.is-reverse .pool-media { order: 2; } }
.pool-media { margin: 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--sky-100); }
.pool-media picture, .pool-media img { display: block; width: 100%; height: 100%; }
.pool-media img { object-fit: cover; }
.pool-copy h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.pool-copy > p { color: var(--muted); font-size: 1.05rem; }
.pool-checks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 12px; }
.pool-checks li { display: flex; gap: 12px; align-items: flex-start; }
.pool-checks .icon { color: var(--sky-600); margin-top: 3px; }
.pool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pool-guide { padding: clamp(24px, 4vw, 52px); border-radius: var(--radius-lg); background: var(--bg-soft); }
.pool-guide .prose { max-width: 820px; }
.pool-guide .prose > h2:first-child { margin-top: 0; }
.pool-band { background: var(--primary-900); }
.pool-band picture { position: absolute; inset: 0; z-index: -2; }
.pool-band picture img { width: 100%; height: 100%; object-fit: cover; }
.pool-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(23, 37, 56, .93) 0%, rgba(36, 54, 77, .8) 55%, rgba(43, 132, 187, .5) 100%); }
.pool-faq { display: grid; gap: 12px; }
.pool-faq-col { display: grid; gap: 12px; align-content: start; }
@media (min-width: 900px) { .pool-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; align-items: start; } .pool-faq-col { gap: 16px; } }
.pool-faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .25s, border-color .25s; }
.pool-faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.pool-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 750; color: var(--ink); font-size: 1.05rem; }
.pool-faq summary::-webkit-details-marker { display: none; }
.pool-faq summary .icon { color: var(--sky-700); transition: transform .25s var(--ease); flex: none; }
.pool-faq details[open] summary .icon { transform: rotate(180deg); }
.pool-faq .prose { padding: 0 22px 20px; font-size: 1rem; }

/* ---------- Divers ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.skeleton { background: linear-gradient(90deg, var(--bg-soft), #eef2f7, var(--bg-soft)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 12px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.translate-switch { position: relative; }
.translate-switch summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.translate-switch summary::-webkit-details-marker { display: none; }
.translate-switch .menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; color: var(--ink); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; display: grid; min-width: 150px; z-index: 90; }
.translate-switch .menu button { border: 0; background: none; text-align: left; padding: 8px 12px; border-radius: 10px; font-weight: 650; }
.translate-switch .menu button:hover { background: var(--bg-soft); }
#google_translate_element, .skiptranslate { display: none !important; }
body { top: 0 !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .site-footer, .cookie-banner, .sticky-buy, .mobile-menu, .drawer { display: none !important; }
}
