/* ============================================================
   FOTOTIENDA (nom temporaire) — feuille de style du site public
   Palette : graphite + blanc, accent ambre (repère de mise au point)
   Polices système : rapides, et aucun appel à un serveur externe (RGPD)
   ============================================================ */

:root {
    --ink: #16181b;
    --graphite: #2a2e33;
    --steel: #5d646e;
    --line: #e2e4e7;
    --paper: #f3f4f5;
    --white: #ffffff;
    --amber: #f2b100;
    --amber-soft: #fff6dc;
    --amber-ink: #7a5800;
    --sale: #c62828;
    --ok: #1d7444;
    --warn: #a14d06;
    --focus: #f2b100;

    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --r-btn: 6px;
    --r-panel: 12px;
    --shadow: 0 1px 2px rgba(22, 24, 27, .06), 0 8px 24px rgba(22, 24, 27, .06);
    --container: 1240px;
    --gutter: 16px;
}

@media (min-width: 768px) { :root { --gutter: 24px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--graphite); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.7rem); font-weight: 750; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.sr-only { position: absolute; 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; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; border-radius: var(--r-btn); }
.skip-link:focus { top: 12px; }
.muted { color: var(--steel); }
.small { font-size: .875rem; }
.center { text-align: center; }
.hp { position: absolute; left: -9999px; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 20px; border-radius: var(--r-btn); border: 1.5px solid transparent;
    font-weight: 650; text-decoration: none; cursor: pointer; line-height: 1.2;
    transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--graphite); color: #fff; }
.btn-ghost { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; }
.btn-sm { padding: 7px 12px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.link-button { background: none; border: 0; padding: 0; color: var(--steel); text-decoration: underline; cursor: pointer; font-size: .9rem; }
.link-button:hover { color: var(--ink); }
.link-more { font-weight: 650; text-decoration: none; border-bottom: 2px solid var(--amber); padding-bottom: 1px; }
.link-more:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Alertes ---------- */
.flashes { margin-top: 16px; }
.alert { padding: 13px 16px; border-radius: 8px; margin-bottom: 16px; border: 1px solid; }
.alert p:last-child { margin: 0; }
.alert-success { background: #edf7f0; border-color: #b9e0c6; color: #14532d; }
.alert-error { background: #fdf0f0; border-color: #f2c2c2; color: #8b1a1a; }
.alert-info { background: var(--paper); border-color: var(--line); color: var(--graphite); }
.alert-warning { background: var(--amber-soft); border-color: #f2d27a; color: #6b4700; }

/* ---------- Barre d'annonce + en-tête ---------- */
.announce { background: var(--ink); color: #fff; font-size: .85rem; text-align: center; padding: 8px 0; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
.topbar { border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--steel); display: none; }
.topbar-inner { display: flex; align-items: center; gap: 18px; min-height: 36px; }
.topbar-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 650; text-decoration: none; }
.topbar-links { margin-left: auto; display: flex; gap: 18px; }
.topbar-links a { text-decoration: none; }
.topbar-links a:hover { text-decoration: underline; }
@media (min-width: 900px) { .topbar { display: block; } }

.header-main { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "menu logo cart" "search search search"; align-items: center; gap: 12px 14px; padding-top: 12px; padding-bottom: 12px; }
.menu-toggle { grid-area: menu; background: none; border: 0; padding: 8px 4px; cursor: pointer; display: flex; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.logo { grid-area: logo; display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 850; font-size: 1.3rem; letter-spacing: -0.03em; color: var(--ink); }
.logo img { max-height: 40px; width: auto; }
.logo-mark { color: var(--ink); }
.logo-mark circle { stroke: var(--amber); }
.cart-link { grid-area: cart; position: relative; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 650; padding: 6px; }
.cart-label { display: none; }
.cart-count { position: absolute; top: -2px; left: 20px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--amber); color: var(--ink); font-size: .75rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }

.search { grid-area: search; position: relative; display: flex; }
.search input { width: 100%; padding: 11px 46px 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r-btn); background: var(--paper); }
.search input:focus { outline: none; border-color: var(--ink); background: var(--white); }
.search button { position: absolute; right: 4px; top: 4px; bottom: 4px; width: 40px; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: var(--r-btn); }
.search-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow); overflow: hidden; z-index: 40; }
.suggest-item { display: flex; align-items: center; gap: 12px; padding: 9px 12px; text-decoration: none; }
.suggest-item:hover, .suggest-item.active { background: var(--paper); }
.suggest-item img { width: 44px; height: 44px; object-fit: contain; background: var(--paper); border-radius: 4px; }
.suggest-name { flex: 1; font-size: .92rem; line-height: 1.3; }
.suggest-price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.suggest-all { display: block; padding: 10px 12px; border-top: 1px solid var(--line); font-weight: 650; font-size: .9rem; }
.suggest-empty { padding: 12px; color: var(--steel); font-size: .9rem; }

@media (min-width: 900px) {
    .header-main { grid-template-columns: auto minmax(0, 560px) auto; grid-template-areas: "logo search cart"; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
    .menu-toggle { display: none; }
    .cart-label { display: inline; }
    .cart-count { left: 22px; }
}

.main-nav { border-top: 1px solid var(--line); }
.main-nav ul { list-style: none; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.main-nav ul::-webkit-scrollbar { display: none; }
.main-nav a { display: block; padding: 12px 12px; white-space: nowrap; text-decoration: none; font-weight: 600; font-size: .95rem; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--amber); }
.main-nav li:first-child a { padding-left: 0; }
@media (max-width: 899px) {
    .main-nav { display: none; }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav li a { padding: 13px 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Fil d'Ariane / titres de page ---------- */
.breadcrumb { margin: 18px 0 8px; font-size: .85rem; color: var(--steel); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #b5bac1; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-head { margin: 16px 0 28px; }
.lead { font-size: 1.08rem; color: var(--steel); max-width: 65ch; }

/* ---------- Bannière d'accueil (élément fort : viseur) ---------- */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; gap: 32px; padding-top: 36px; padding-bottom: 40px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 1.3rem + 3.4vw, 3.6rem); letter-spacing: -0.035em; max-width: 15ch; margin-bottom: .4em; }
.hero-sub { font-size: 1.1rem; color: var(--graphite); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 28px; }
.hero-facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; max-width: 520px; }
.hero-facts strong { display: block; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.hero-facts span { font-size: .82rem; color: var(--steel); }
@media (min-width: 900px) {
    .hero-inner { grid-template-columns: 1.05fr 1fr; padding-top: 56px; padding-bottom: 64px; gap: 56px; }
}

.viewfinder { position: relative; margin: 0; background: var(--white); border-radius: 4px; aspect-ratio: 1 / 1; max-width: 560px; justify-self: center; width: 100%; overflow: hidden; }
.viewfinder img { width: 100%; height: 100%; object-fit: contain; }
.vf-corner { position: absolute; width: 38px; height: 38px; border: 0 solid var(--amber); animation: vf-lock .9s cubic-bezier(.2, .8, .2, 1) .25s both; }
.vf-corner.tl { top: 18px; left: 18px; border-top-width: 3px; border-left-width: 3px; --dx: -14px; --dy: -14px; }
.vf-corner.tr { top: 18px; right: 18px; border-top-width: 3px; border-right-width: 3px; --dx: 14px; --dy: -14px; }
.vf-corner.bl { bottom: 18px; left: 18px; border-bottom-width: 3px; border-left-width: 3px; --dx: -14px; --dy: 14px; }
.vf-corner.br { bottom: 18px; right: 18px; border-bottom-width: 3px; border-right-width: 3px; --dx: 14px; --dy: 14px; }
.vf-focus { position: absolute; top: 50%; left: 50%; width: 64px; height: 44px; margin: -22px 0 0 -32px; border: 2px solid var(--white); box-shadow: 0 0 0 1px rgba(22, 24, 27, .25); animation: vf-confirm .9s ease 1.05s both; }
@keyframes vf-lock { from { transform: translate(var(--dx), var(--dy)); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes vf-confirm { 0% { opacity: 0; } 30% { opacity: 1; border-color: var(--white); } 60% { border-color: #36c26b; } 100% { opacity: 0; border-color: #36c26b; } }
.vf-readout { position: absolute; left: 18px; right: 18px; bottom: 30px; }
.vf-readout a { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; background: rgba(22, 24, 27, .88); color: #fff; padding: 10px 14px; border-radius: 4px; text-decoration: none; font-size: .9rem; margin: 0 22px; }
.vf-price { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--amber); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
    .vf-corner, .vf-focus { animation: none; }
    .vf-focus { display: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section-tight { padding: 32px 0 8px; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--ink); color: #e9eaec; }
.section-dark .section-title { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.section-head .section-title { margin: 0; }
.section-title { margin-bottom: 20px; }
@media (min-width: 900px) { .section { padding: 64px 0; } }

/* Catégories */
.cat-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat-tile { display: grid; grid-template-rows: auto auto auto; text-decoration: none; background: var(--paper); border-radius: var(--r-panel); padding: 14px; height: 100%; border: 1.5px solid transparent; transition: border-color .15s; }
.cat-tile:hover { border-color: var(--ink); }
.cat-img { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.cat-img img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.cat-name { font-weight: 750; font-size: 1.05rem; }
.cat-count { font-size: .85rem; color: var(--steel); }
.cat-ocasion { background: var(--amber-soft); }
@media (min-width: 700px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .cat-grid { grid-template-columns: repeat(6, 1fr); } }

/* Pourquoi nous */
.why-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.why svg { color: var(--amber); margin-bottom: 10px; }
.why h3 { color: #fff; margin-bottom: 6px; }
.why p { color: #b9bdc3; margin: 0; font-size: .95rem; }
@media (min-width: 700px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Grilles de produits ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card { display: flex; flex-direction: column; }
.card-media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--paper); border-radius: 4px; overflow: hidden; }
.section-alt .card-media { background: var(--white); }
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.card-media-alt { position: absolute; inset: 0; opacity: 0; transition: opacity .25s; }
@media (hover: hover) { .card-media:hover .card-media-alt { opacity: 1; } }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-block; padding: 3px 8px; border-radius: 4px; font-size: .78rem; font-weight: 750; line-height: 1.4; }
.badge-sale { background: var(--sale); color: #fff; }
.badge-cond { background: var(--ink); color: #fff; }
.card-body { padding-top: 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-brand { font-size: .8rem; color: var(--steel); margin: 0; }
.card-title { font-size: .98rem; font-weight: 650; letter-spacing: -0.005em; line-height: 1.3; margin: 0; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 6px; }
.price { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 1.08rem; }
.price-lg { font-size: 2rem; letter-spacing: -0.02em; }
.price-old { color: var(--steel); font-variant-numeric: tabular-nums; font-size: .92rem; }
.stock { font-size: .85rem; margin: 0; font-weight: 600; }
.stock-in { color: var(--ok); }
.stock-low { color: var(--warn); }
.stock-out { color: var(--sale); }

/* ---------- Catalogue ---------- */
.catalog { display: grid; gap: 28px; padding-bottom: 56px; }
.filters-form { background: var(--white); }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters-head h2 { font-size: 1.1rem; margin: 0; }
.filters-close { display: none; background: none; border: 0; font-size: 1.3rem; cursor: pointer; }
.filter-group { border: 0; border-top: 1px solid var(--line); padding: 14px 0; margin: 0; }
.filter-group legend { font-weight: 700; padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.filter-group legend + * { clear: both; }
.check { display: flex; align-items: flex-start; gap: 9px; padding: 4px 0; cursor: pointer; font-size: .95rem; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.price-range { display: flex; align-items: center; gap: 8px; clear: both; }
.price-range input { width: 100%; padding: 9px 10px; border: 1.5px solid var(--line); border-radius: var(--r-btn); }
.filters-actions { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.result-count { margin: 0; color: var(--steel); font-size: .92rem; }
.sort-form { margin-left: auto; }
.sort-form select, select { padding: 9px 34px 9px 12px; border: 1.5px solid var(--line); border-radius: var(--r-btn); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2316181b' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; -webkit-appearance: none; }
@media (max-width: 899px) {
    .filters { position: fixed; inset: 0; z-index: 60; background: rgba(22, 24, 27, .45); display: none; }
    .filters.open { display: block; }
    .filters-form { position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 360px); overflow-y: auto; padding: 18px; }
    .filters-close { display: block; }
}
@media (min-width: 900px) {
    .catalog { grid-template-columns: 240px 1fr; gap: 40px; }
    .filters-open { display: none; }
    .filters { position: sticky; top: 16px; align-self: start; }
}
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 36px; }
.pagination a, .pagination span { min-width: 42px; padding: 9px 12px; text-align: center; border: 1.5px solid var(--line); border-radius: var(--r-btn); text-decoration: none; font-weight: 600; }
.pagination a:hover { border-color: var(--ink); }
.pagination span[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 56px 16px; max-width: 560px; margin: 0 auto; }
.empty-title { font-size: 1.3rem; font-weight: 750; }
.inline-search { display: flex; gap: 8px; max-width: 420px; margin: 0 auto 18px; }
.inline-search input { flex: 1; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r-btn); }

/* ---------- Fiche produit ---------- */
.product { display: grid; gap: 28px; padding-bottom: 12px; }
@media (min-width: 900px) { .product { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; } }
.gallery-main { position: relative; background: var(--paper); border-radius: 4px; overflow: hidden; }
.gallery-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; aspect-ratio: 1 / 1; }
.gallery-zoom img { width: 100%; height: 100%; object-fit: contain; transition: transform .2s ease-out; }
.gallery-zoom.zooming img { transform: scale(2); }
.gallery-thumbs { list-style: none; display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery-thumbs button { width: 76px; height: 76px; padding: 4px; border: 1.5px solid var(--line); background: var(--paper); border-radius: 4px; cursor: pointer; flex: none; }
.gallery-thumbs button.active { border-color: var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 900px) { .gallery { position: sticky; top: 16px; } }

.product-brand { font-weight: 650; color: var(--steel); text-decoration: none; font-size: .95rem; }
.product-title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); margin: 4px 0 10px; }
.product-rating { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: .9rem; color: var(--steel); margin-bottom: 8px; }
.product-short { color: var(--graphite); }
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 18px 0 4px; }
.tax-note { width: 100%; font-size: .85rem; color: var(--steel); margin: 0 0 8px; }
.product-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 14px 0 20px; }
.product-facts div { background: var(--white); padding: 10px 12px; }
.product-facts dt { font-size: .78rem; color: var(--steel); }
.product-facts dd { margin: 0; font-weight: 650; }
.cond { display: inline-block; }
.cond-reacondicionado, .cond-segunda_mano { background: var(--amber-soft); color: var(--amber-ink); padding: 0 6px; border-radius: 4px; }
.add-form { display: flex; gap: 10px; align-items: stretch; }
.btn-add { flex: 1; }
.qty { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: var(--r-btn); overflow: hidden; background: var(--white); }
.qty button { width: 40px; border: 0; background: none; cursor: pointer; font-size: 1.2rem; }
.qty button:hover { background: var(--paper); }
.qty input { width: 46px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; appearance: textfield; padding: 8px 0; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.soldout { background: var(--paper); padding: 16px; border-radius: 8px; }
.delivery { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin: 16px 0 6px; color: var(--graphite); }
.delivery svg { flex: none; margin-top: 2px; color: var(--ok); }

.trust { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--graphite); }
.trust li { display: flex; gap: 8px; align-items: flex-start; }
.trust svg { flex: none; color: var(--ink); }

.related { list-style: none; display: grid; gap: 10px; }
.related-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px 8px 8px; }
.related-media img { width: 64px; height: 64px; object-fit: contain; background: var(--paper); border-radius: 4px; }
.related-info { display: flex; flex-direction: column; font-size: .92rem; }
.related-info a { text-decoration: none; font-weight: 600; }
@media (min-width: 900px) { .related { grid-template-columns: repeat(2, 1fr); } }

.product-details { display: grid; gap: 36px; padding: 36px 0; }
@media (min-width: 900px) { .product-details { grid-template-columns: 1fr 1fr; gap: 56px; } }
.specs { width: 100%; border-collapse: collapse; font-size: .95rem; }
.specs th, .specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 42%; color: var(--steel); font-weight: 600; background: var(--paper); }
.specs td { font-variant-numeric: tabular-nums; }
.subhead { font-size: 1rem; margin: 22px 0 6px; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.25rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .3em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .92rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose th { background: var(--paper); }

.reviews { padding: 8px 0 48px; border-top: 1px solid var(--line); }
.reviews .section-title { margin-top: 32px; }
.reviews-summary { display: flex; align-items: center; gap: 10px; }
.review-list { list-style: none; display: grid; gap: 18px; margin-bottom: 24px; }
.review { border-bottom: 1px solid var(--line); padding-bottom: 16px; max-width: 75ch; }
.review-title { font-weight: 700; margin: 6px 0 4px; }
.review-meta { font-size: .85rem; color: var(--steel); margin: 0; }
.verified { color: var(--ok); font-weight: 650; }
.stars { color: #c9cdd2; letter-spacing: 1px; }
.stars .on { color: var(--amber); }
.review-form { margin-top: 12px; max-width: 640px; }
.review-form summary { list-style: none; display: inline-flex; }
.review-form summary::-webkit-details-marker { display: none; }
.review-form[open] summary { margin-bottom: 16px; }
.rating-input { border: 0; padding: 0; margin: 0 0 12px; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.rating-input legend { width: 100%; font-weight: 650; margin-bottom: 4px; float: left; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { font-size: 1.8rem; color: #c9cdd2; cursor: pointer; padding: 0 2px; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--amber); }
.rating-input input:focus-visible + label { outline: 3px solid var(--focus); }

.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(22, 24, 27, .08); transform: translateY(110%); transition: transform .25s; }
.sticky-buy.show { transform: none; }
.sticky-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sticky-name { font-size: .82rem; color: var(--steel); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 900px) { .sticky-buy { display: none; } }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(255, 255, 255, .97); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); font-size: 1.1rem; cursor: pointer; }

/* ---------- Formulaires ---------- */
.form fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.form legend { font-weight: 750; font-size: 1.05rem; margin-bottom: 10px; padding: 0; }
.field { margin-bottom: 14px; flex: 1; min-width: 0; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 5px; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 13px; border: 1.5px solid #cfd3d8; border-radius: var(--r-btn); background: var(--white); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(242, 177, 0, .35); }
.field.has-error input, .field.has-error select { border-color: var(--sale); }
.field.is-valid input { border-color: var(--ok); }
.field-error { color: var(--sale); font-size: .85rem; margin: 5px 0 0; }
.form-row { display: flex; flex-direction: column; gap: 0 14px; }
@media (min-width: 640px) { .form-row { flex-direction: row; } }
.optional { margin: 0 0 18px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.optional summary { cursor: pointer; font-weight: 600; }
.optional[open] summary { margin-bottom: 12px; }
.check-terms { padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; margin: 6px 0 8px; }
.check-terms.has-error { border-color: var(--sale); }
.card-form { border: 1px solid var(--line); border-radius: var(--r-panel); padding: 22px; background: var(--white); }

/* ---------- Panier ---------- */
.cart { display: grid; gap: 28px; padding-bottom: 56px; }
@media (min-width: 960px) { .cart { grid-template-columns: 1fr 360px; gap: 44px; align-items: start; } }
.freebar { background: var(--paper); border-radius: 8px; padding: 12px 14px; margin-bottom: 18px; }
.freebar p { margin: 0 0 8px; font-size: .95rem; }
.freebar-track { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.freebar-track span { display: block; height: 100%; background: var(--amber); border-radius: 3px; transition: width .3s; }
.freebar.done .freebar-track span { background: var(--ok); }
.cart-list { list-style: none; border-top: 1px solid var(--line); margin-bottom: 18px; }
.cart-row { display: grid; grid-template-columns: 76px 1fr auto; grid-template-areas: "thumb info line" "thumb qty remove"; gap: 6px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-thumb { grid-area: thumb; align-self: start; }
.cart-thumb img { width: 76px; height: 76px; object-fit: contain; background: var(--paper); border-radius: 4px; }
.cart-info { grid-area: info; }
.cart-info p { margin: 2px 0 0; }
.cart-name { font-weight: 650; text-decoration: none; }
.cart-qty { grid-area: qty; }
.cart-line { grid-area: line; font-weight: 800; font-variant-numeric: tabular-nums; margin: 0; text-align: right; }
.cart-remove { grid-area: remove; text-align: right; }

.summary { background: var(--paper); border-radius: var(--r-panel); padding: 20px; }
.summary h2 { font-size: 1.15rem; }
.summary-lines { margin: 0 0 8px; }
.summary-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; }
.summary-lines dt { color: var(--graphite); }
.summary-lines dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; text-align: right; }
.summary-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px !important; font-size: 1.2rem; }
.summary-total dt, .summary-total dd { font-weight: 800; color: var(--ink); }
.summary .btn-block { margin-top: 10px; }
@media (min-width: 960px) { .summary { position: sticky; top: 16px; } }

/* ---------- Tunnel de commande ---------- */
.checkout-page { padding-top: 22px; padding-bottom: 56px; }
.steps { list-style: none; display: flex; gap: 8px; margin-bottom: 28px; counter-reset: s; }
.steps li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--steel); padding-bottom: 10px; border-bottom: 3px solid var(--line); }
.steps li.current { color: var(--ink); font-weight: 700; border-color: var(--ink); }
.steps li.done { color: var(--ink); border-color: var(--amber); }
.step-num { width: 26px; height: 26px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .82rem; background: var(--line); color: var(--graphite); }
.steps li.current .step-num { background: var(--ink); color: #fff; }
.steps li.done .step-num { background: var(--amber); color: var(--ink); }
@media (max-width: 520px) { .steps li:not(.current) .step-label { display: none; } }
.checkout { display: grid; gap: 28px; }
@media (min-width: 960px) { .checkout { grid-template-columns: 1fr 380px; gap: 48px; align-items: start; } }
.checkout-title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.mini-items { list-style: none; margin-bottom: 12px; }
.mini-items li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.mini-thumb { position: relative; display: block; }
.mini-thumb img { width: 52px; height: 52px; object-fit: contain; background: var(--white); border-radius: 4px; }
.mini-qty { position: absolute; top: -6px; right: -6px; background: var(--steel); color: #fff; border-radius: 10px; min-width: 20px; height: 20px; font-size: .72rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mini-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.recap { border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; margin-bottom: 22px; }
.recap-head { display: flex; justify-content: space-between; align-items: baseline; }
.recap-head h2 { font-size: 1rem; }
.recap p { margin: 0; font-size: .95rem; }
.radio-card { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: 8px; padding: 13px 14px; margin-bottom: 10px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.radio-card input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.radio-body { flex: 1; display: flex; flex-direction: column; }
.radio-title { font-weight: 700; margin: 0; }
.radio-price { font-weight: 800; font-variant-numeric: tabular-nums; }
.pay-method { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--ink); background: var(--paper); border-radius: 8px; padding: 13px 14px; }
.pay-method p { margin: 0; }

.confirm-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.confirm-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ok); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 800; }
.bank { border: 2px solid var(--amber); border-radius: var(--r-panel); padding: 20px; margin-bottom: 24px; background: var(--white); }
.bank h2 { font-size: 1.2rem; }
.bank-lines div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.bank-lines dt { font-size: .82rem; color: var(--steel); }
.bank-lines dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 700; font-size: 1.02rem; }
@media (min-width: 640px) { .bank-lines div { grid-template-columns: 170px 1fr; align-items: center; } }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; word-break: break-all; }
.bank-amount { font-size: 1.35rem; font-weight: 850; font-variant-numeric: tabular-nums; }
.bank-ref { background: var(--amber-soft); padding: 2px 8px; border-radius: 4px; }
.copy { display: inline-flex; align-items: center; gap: 5px; border: 1.5px solid var(--line); background: var(--white); border-radius: var(--r-btn); padding: 4px 10px; font-size: .82rem; font-weight: 650; cursor: pointer; }
.copy:hover { border-color: var(--ink); }
.copy.copied { border-color: var(--ok); color: var(--ok); }
.deadline { margin: 14px 0 6px; padding: 10px 12px; background: var(--amber-soft); border-radius: 6px; font-size: .95rem; }
.proof { border: 1px solid var(--line); border-radius: var(--r-panel); padding: 20px; margin-bottom: 24px; }
.proof h2 { font-size: 1.15rem; }
.proof-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.file-drop { flex: 1; min-width: 220px; position: relative; border: 1.5px dashed #b9bec5; border-radius: 8px; padding: 12px 14px; cursor: pointer; background: var(--paper); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop-text { font-size: .92rem; font-weight: 600; }
.next-steps ol { padding-left: 1.3em; }
.next-steps li { margin-bottom: 6px; }
.status-box { background: var(--paper); border-radius: 8px; padding: 16px; margin-bottom: 18px; }
.status { display: inline-block; padding: 2px 10px; border-radius: 4px; font-weight: 700; font-size: .9rem; background: var(--paper); }
.status-amber { background: var(--amber-soft); color: var(--amber-ink); }
.status-blue, .status-indigo, .status-purple { background: #e8eefc; color: #1e3a8a; }
.status-green { background: #e6f4ea; color: #14532d; }
.status-red { background: #fde8e8; color: #8b1a1a; }

/* ---------- Suivi ---------- */
.track { border: 1px solid var(--line); border-radius: var(--r-panel); padding: 20px; margin-bottom: 48px; }
.timeline { list-style: none; display: grid; gap: 0; margin: 18px 0 22px; }
.timeline li { position: relative; padding: 0 0 16px 30px; color: var(--steel); }
.timeline li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); }
.timeline li::after { content: ""; position: absolute; left: 8px; top: 21px; bottom: 0; width: 2px; background: var(--line); margin-left: -1px; }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { background: var(--amber); border-color: var(--amber); }
.timeline li.current { color: var(--ink); font-weight: 750; }
.timeline li.current::before { background: var(--ink); border-color: var(--ink); }
@media (min-width: 700px) {
    .timeline { grid-template-columns: repeat(5, 1fr); }
    .timeline li { padding: 26px 8px 0 0; font-size: .9rem; }
    .timeline li::before { top: 0; }
    .timeline li::after { left: 20px; right: 0; top: 8px; bottom: auto; width: auto; height: 2px; margin: 0; }
}

/* ---------- Contact / FAQ / pages ---------- */
.contact { display: grid; gap: 28px; padding-bottom: 56px; }
@media (min-width: 900px) { .contact { grid-template-columns: 340px 1fr; gap: 48px; align-items: start; } }
.contact-channels { display: grid; gap: 10px; }
.channel { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; text-decoration: none; }
a.channel:hover { border-color: var(--ink); }
.channel-title { font-size: .8rem; color: var(--steel); }
.channel-value { font-weight: 650; }
.faq-list { border-top: 1px solid var(--line); margin-bottom: 24px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 650; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; font-weight: 400; transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 0 16px; color: var(--graphite); max-width: 70ch; }
.callout { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; background: var(--paper); border-radius: var(--r-panel); padding: 18px 20px; margin-bottom: 56px; }
.callout p { margin: 0; }
.legal { padding-bottom: 56px; }
.legal h1 { margin-top: 12px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #c4c8cd; font-size: .92rem; padding-top: 48px; margin-top: 0; }
.site-footer a { color: #e9eaec; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; padding-bottom: 36px; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.footer-shop { color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 4px; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 10px; }
.footer-col ul { list-style: none; display: grid; gap: 7px; }
.footer-company { color: #9aa0a8; }
.footer-withdraw { font-weight: 700; }
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; }
.site-footer .link-button { color: #e9eaec; text-decoration: none; font-size: .92rem; }
.site-footer .link-button:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid #2f3338; padding-top: 18px; padding-bottom: 90px; font-size: .82rem; color: #8d939b; }
.footer-bottom p { margin: 0 0 6px; }
@media (min-width: 900px) { .footer-bottom { padding-bottom: 24px; } }

/* ---------- WhatsApp, toast, cookies ---------- */
.whatsapp-float { position: fixed; right: 16px; bottom: 16px; z-index: 45; width: 54px; height: 54px; border-radius: 50%; background: #1f9d55; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.whatsapp-float:hover { background: #17834a; color: #fff; }
body.has-sticky .whatsapp-float { bottom: 86px; }
@media (min-width: 900px) { body.has-sticky .whatsapp-float { bottom: 16px; } }

.toast { position: fixed; left: 50%; top: 16px; transform: translateX(-50%); width: max-content; z-index: 95; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 8px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; max-width: calc(100vw - 32px); font-size: .95rem; }
.toast a { color: var(--amber); font-weight: 700; white-space: nowrap; }
.toast.error { background: var(--sale); }
.toast.error a { color: #fff; }

.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: 0 12px 36px rgba(22, 24, 27, .18); padding: 18px; max-width: 560px; }
@media (min-width: 640px) { .cookie-banner { left: 20px; bottom: 20px; right: auto; } }
.cookie-title { font-weight: 750; margin-bottom: 4px; }
.cookie-inner > p { font-size: .9rem; color: var(--graphite); }
.cookie-options { display: grid; gap: 8px; margin-bottom: 12px; }
.cookie-option { display: flex; gap: 10px; font-size: .88rem; align-items: flex-start; }
.cookie-option input { margin-top: 3px; accent-color: var(--ink); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions .btn { flex: 1; padding: 10px 14px; font-size: .92rem; }

/* ============================================================
   CONVERSION : les 5 premières secondes
   ============================================================ */

/* Catégories toujours visibles sur mobile (barre qui défile), pas cachées dans le menu */
@media (max-width: 899px) {
    .menu-toggle { display: none; }
    .header-main { grid-template-columns: 1fr auto; grid-template-areas: "logo cart" "search search"; padding-top: 10px; padding-bottom: 8px; }
    .main-nav, .main-nav.open { display: block; border-top: 0; }
    .main-nav ul { flex-direction: row; gap: 8px; padding: 0 0 10px; }
    .main-nav li a { padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 18px; font-size: .9rem; border-bottom-width: 1.5px; }
    .main-nav li:first-child a { padding-left: 12px; }
    .main-nav a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
    .announce { font-size: .78rem; padding: 6px 0; }
}

/* Bannière compacte : les produits apparaissent tout de suite */
.hero-inner { padding-top: 22px; padding-bottom: 24px; gap: 20px; }
.hero h1 { font-size: clamp(1.7rem, 1.2rem + 2.6vw, 3rem); }
.hero-actions { margin: 16px 0 18px; }
.hero-facts { padding-top: 14px; }
@media (min-width: 900px) {
    .hero-inner { padding-top: 26px; padding-bottom: 26px; gap: 48px; grid-template-columns: 1.4fr 1fr; }
    .hero h1 { font-size: 2.5rem; max-width: 20ch; }
    .hero-sub { font-size: 1.02rem; }
    .viewfinder { max-width: 330px; }
}
@media (max-width: 699px) {
    .hero-visual { display: none; }
    .hero-sub { display: none; }
    .hero h1 { font-size: 1.65rem; }
    .hide-mobile { display: none; }
    .hero-actions .btn { width: 100%; }
    .hero-facts strong { font-size: 1rem; }
}
.section-first { padding-top: 28px; }

/* Bande des marques */
.brands-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.brands-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-top: 18px; padding-bottom: 18px; }
.brands-label { margin: 0; color: var(--steel); font-size: .9rem; }
.brands-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.brands-list a { text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--graphite); }
.brands-list a:hover { color: var(--ink); text-decoration: underline; }

/* Grilles avec peu de produits : pas de trous */
@media (min-width: 768px) {
    .grid-few.grid-n1 { grid-template-columns: minmax(0, 300px); }
    .grid-few.grid-n2 { grid-template-columns: repeat(2, minmax(0, 300px)); }
    .grid-few.grid-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Fiche produit : image plus basse sur mobile, prix et bouton visibles plus vite */
@media (max-width: 899px) {
    .gallery-zoom { aspect-ratio: 4 / 3; }
    .product-title { font-size: 1.45rem; }
    .product-price { margin-top: 8px; }
    .gallery-thumbs button { width: 60px; height: 60px; }
}
.product-price .tax-note .stock { font-size: .85rem; }
.ask { display: grid; gap: 8px; margin-top: 14px; }
.btn-wa { border-color: #1f9d55; color: #17834a; }
.btn-wa:hover { background: #effaf3; border-color: #17834a; color: #17834a; }
.how-link { font-size: .88rem; text-align: center; color: var(--steel); }
.recent { padding-bottom: 40px; }

/* Catalogue : étiquettes des filtres actifs */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 18px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-size: .88rem; font-weight: 600; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip span { color: var(--steel); font-size: .8rem; }
.chip-clear { font-size: .88rem; color: var(--steel); }
@media (min-width: 900px) { .js .filters-apply { display: none; } }

/* Mini-panier */
.drawer { position: fixed; inset: 0; z-index: 85; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(22, 24, 27, .45); opacity: 0; transition: opacity .2s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: var(--white); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .22s ease; outline: none; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer-title { margin: 0; font-weight: 800; font-size: 1.1rem; }
.drawer-title::before { content: "✓"; display: inline-flex; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--ok); color: #fff; font-size: .8rem; align-items: center; justify-content: center; vertical-align: 2px; }
.drawer-close { background: none; border: 0; font-size: 1.2rem; cursor: pointer; padding: 6px; }
.drawer-free { padding: 12px 18px; background: var(--paper); font-size: .92rem; }
.drawer-free p { margin: 0 0 6px; }
.drawer-free.done .freebar-track span { background: var(--ok); }
.drawer-items { list-style: none; flex: 1; overflow-y: auto; padding: 4px 18px; }
.drawer-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.drawer-items li.just-added { background: #f6fbf8; margin: 0 -18px; padding: 10px 18px; }
.drawer-items img { width: 56px; height: 56px; object-fit: contain; background: var(--paper); border-radius: 4px; }
.drawer-item-total { font-weight: 800; font-variant-numeric: tabular-nums; }
.drawer-foot { padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer-subtotal { display: flex; justify-content: space-between; font-size: 1.1rem; margin: 0 0 2px; }
.drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
body.no-scroll { overflow: hidden; }

/* Page « Cómo comprar » */
.howto-steps { list-style: none; display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 28px; }
@media (min-width: 700px) { .howto-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .howto-steps { grid-template-columns: repeat(4, 1fr); } }
.howto-step { position: relative; border: 1px solid var(--line); border-radius: var(--r-panel); padding: 20px 18px; }
.howto-num { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.howto-icon { color: var(--amber-ink); margin-bottom: 10px; }
.howto-step h2 { font-size: 1.1rem; margin-bottom: 6px; }
.howto-step p { margin: 0; color: var(--graphite); font-size: .95rem; }
.howto-grid { display: grid; gap: 18px; margin-bottom: 28px; }
@media (min-width: 900px) { .howto-grid { grid-template-columns: 1fr 1fr; } }
.howto-box { background: var(--paper); border-radius: var(--r-panel); padding: 20px; }
.howto-box h2 { font-size: 1.15rem; }
.check-list-public { list-style: none; display: grid; gap: 9px; }
.check-list-public li { position: relative; padding-left: 26px; }
.check-list-public li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 800; }
.howto-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; border: 2px solid var(--ink); border-radius: var(--r-panel); padding: 20px; margin-bottom: 56px; }
.howto-cta h2 { font-size: 1.2rem; margin-bottom: 4px; }
.howto-cta p { margin: 0; color: var(--steel); }
.howto-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Bandeau cookies compact (ne cache pas la page) */
.cookie-banner { padding: 12px 14px; max-width: 520px; }
.cookie-text { font-size: .85rem; margin: 0 0 10px; color: var(--graphite); }
.cookie-actions .btn { padding: 8px 10px; font-size: .88rem; }
@media (max-width: 639px) { .cookie-banner { left: 8px; right: 8px; bottom: 8px; } }

/* ============================================================
   ACCUEIL COURT
   ============================================================ */
.section { padding: 36px 0; }
@media (min-width: 900px) { .section { padding: 44px 0; } }
.section-first { padding-top: 24px; }
/* Catégories : 3 par ligne sur mobile, tuiles compactes */
@media (max-width: 699px) {
    .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .cat-tile { padding: 8px; text-align: center; }
    .cat-img { aspect-ratio: 1 / 1; margin-bottom: 6px; }
    .cat-name { font-size: .85rem; }
    .cat-count { display: none; }
}
/* "Por qué comprar" : bande compacte, 2 x 2 sur mobile */
.section-why { padding: 28px 0; }
.section-why .section-title { font-size: 1.2rem; margin-bottom: 16px; }
.section-why .why-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 16px; }
.section-why .why svg { width: 22px; height: 22px; margin-bottom: 4px; }
.section-why .why h3 { font-size: .95rem; margin-bottom: 2px; }
.section-why .why p { font-size: .85rem; }
@media (min-width: 1100px) { .section-why .why-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 699px) { .section-why .why p { display: none; } }
/* FAQ de l'accueil plus serrée */
.section-faq .faq summary { padding: 12px 32px 12px 0; }
.section-faq .faq-list { margin-bottom: 14px; }
.legal .prose > p:first-child { font-size: 1.15rem; color: var(--graphite); }
.notice-tax { background: var(--amber-soft); border-radius: 6px; padding: 10px 12px; font-size: .9rem; margin: 0 0 12px; }

/* ============================================================
   TUNNEL DE COMMANDE : en-tête réduit, total près du bouton
   ============================================================ */
.checkout-header-inner { display: flex; align-items: center; gap: 14px; padding-top: 14px; padding-bottom: 14px; }
.secure-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 650; color: var(--ok); }
.checkout-phone { margin-left: auto; font-size: .88rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
@media (max-width: 520px) { .checkout-phone { font-size: .8rem; } .secure-badge { display: none; } }
.confirm-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: 1.05rem; margin: 6px 0 10px; }
.confirm-total strong { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.pay-method svg { flex: none; }
.nowrap { white-space: nowrap; }

/* En-tête de commande : le nom de la boutique tient sur une ligne */
.checkout-header .logo span { white-space: nowrap; }
@media (max-width: 420px) {
    .checkout-header .logo span { font-size: 1.05rem; }
    .checkout-header .logo-mark { width: 22px; height: 22px; }
    .checkout-phone { font-size: .78rem; }
}

/* Avis boutique : accueil, page Opiniones, commande */
.section-reviews .reviews-summary { margin: -6px 0 18px; }
.review-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review-grid .review { border: 1px solid var(--line); border-radius: 12px; padding: 16px; max-width: none; background: #fff; }
.reviews-summary-lg { font-size: 1.1rem; margin-bottom: 24px; }
.checkout-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .9rem; margin: 14px 0 6px; }
.checkout-rating a { color: inherit; }

/* Aperçu d'un avis (admin uniquement) */
.review-preview { outline: 2px dashed var(--amber); outline-offset: 8px; border-radius: 4px; }
.review-preview-flag { display: inline-block; background: var(--amber-soft); color: var(--amber-ink); font-size: .78rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; margin: 0 0 8px; }
.preview-banner { background: var(--amber-soft); color: var(--amber-ink); border: 1px solid var(--amber); border-radius: 10px; padding: 10px 14px; font-size: .9rem; font-weight: 600; margin: 0 0 18px; }
.preview-banner a { color: inherit; }
.review-demo { outline: 2px dashed #c9ccd1; outline-offset: 8px; border-radius: 4px; }
.review-demo-flag { background: #eef0f3; color: #4b5059; }
