/* ============================================================
   L'Atelier de la Pudeur — site vitrine
   ============================================================ */
@font-face { font-family: 'Playfair'; src: url('../vendor/fonts/playfair-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Playfair'; src: url('../vendor/fonts/playfair-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('../vendor/fonts/jakarta-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('../vendor/fonts/jakarta-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('../vendor/fonts/jakarta-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('../vendor/fonts/jakarta-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #faf7f3;
  --paper: #ffffff;
  --sand: #f3ece4;
  --line: #ebe2d8;
  --ink: #26211d;
  --ink-2: #4e4640;
  --muted: #8e847a;
  --accent: #b4532a;
  --accent-d: #973f1c;
  --accent-soft: #f8e8df;
  --dark: #2e2b28;
  --green: #1d8a59;
  --amber: #b97b0c;
  --red: #c23b2c;
  --wa: #1fa855;
  --serif: 'Playfair', Georgia, serif;
  --sans: 'Jakarta', 'Segoe UI', system-ui, sans-serif;
  --r: 14px;
  --shadow: 0 1px 2px rgba(38,33,29,.04), 0 10px 30px rgba(38,33,29,.06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.mt { margin-top: 12px; }
.grow { flex: 1; }
.kicker { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: inherit; font-weight: 600; font-size: 14px; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: all .2s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(180,83,42,.28); }
.btn-primary:hover { background: var(--accent-d); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #d8ccc0; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178a45; }
.btn-lg { padding: 15px 26px; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn.disabled, .btn:disabled { opacity: .5; pointer-events: none; }
.link-arrow { font-weight: 600; font-size: 14px; color: var(--accent); display: inline-flex; gap: 6px; align-items: center; }
.link-arrow:hover { gap: 10px; }
.link-arrow.back { margin-top: 18px; color: var(--ink-2); }
.center-block { display: flex; justify-content: center; margin-top: 16px; }

/* ---------- En-tête ---------- */
.announce { background: var(--dark); color: #e9e1d9; text-align: center; font-size: 12.5px; padding: 9px 16px; letter-spacing: .02em; }
.announce i { color: #e2a383; margin-right: 6px; }
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(250,247,243,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 17px; }
.logo b { display: block; font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.1; }
.logo small { font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.logo.light b { color: #fff; }
.main-nav { display: flex; gap: 24px; font-size: 14px; font-weight: 500; }
.main-nav a { color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.main-nav a:hover, .main-nav a.on { color: var(--ink); border-bottom-color: var(--accent); }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.head-search { position: relative; }
.head-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; }
.head-search input { font: inherit; font-size: 14px; width: 220px; padding: 10px 14px 10px 38px; border: 1px solid var(--line); border-radius: 999px; background: #fff; outline: none; transition: all .2s; }
.head-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); width: 260px; }
.head-search.inline input, .head-search.inline input:focus { width: 100%; }
.icon-b { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; color: var(--ink); background: none; border: 0; cursor: pointer; }
.icon-b:hover { background: var(--sand); }
.icon-b .bi-whatsapp { color: var(--wa); }
.burger { display: none; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; display: none; place-items: center; padding: 0 5px; }
.cart-count.show { display: grid; animation: bump .3s; }
@keyframes bump { 50% { transform: scale(1.3); } }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 72px; background: radial-gradient(circle at 85% 20%, #f4dccd 0, transparent 45%), linear-gradient(180deg, var(--bg), var(--sand)); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-family: var(--serif); font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -.015em; }
.hero p { font-size: 17px; color: var(--ink-2); max-width: 520px; margin: 20px 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; font-size: 13px; color: var(--ink-2); }
.hero-trust i { color: var(--accent); margin-right: 6px; }
.hero-art { position: relative; height: 480px; }
.hero-tile { position: absolute; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(38,33,29,.18); transition: transform .4s; }
.hero-tile:hover { transform: translateY(-6px) rotate(0deg) !important; }
.hero-tile .pimg { width: 100%; height: 100%; border-radius: 0; }
.hero-tile.t0 { width: 58%; height: 78%; left: 4%; top: 6%; transform: rotate(-3deg); z-index: 2; }
.hero-tile.t1 { width: 42%; height: 52%; right: 0; top: 0; transform: rotate(4deg); }
.hero-tile.t2 { width: 44%; height: 46%; right: 6%; bottom: 0; transform: rotate(-2deg); z-index: 3; }
.hero-tag { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(255,255,255,.94); border-radius: 12px; padding: 10px 12px; font-size: 12px; color: var(--accent); font-weight: 600; }
.hero-tag b { display: block; color: var(--ink); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Sections ---------- */
.sec { padding: 72px 0; }
.sec.alt { background: var(--sand); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.sec-head.center { justify-content: center; text-align: center; }
.sec-head h2 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.cat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.cat-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: all .25s; }
.cat-card i { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; color: #fff; background: var(--c); margin-bottom: 6px; transition: transform .3s; }
.cat-card b { font-weight: 600; font-size: 14px; line-height: 1.3; }
.cat-card span { font-size: 12px; color: var(--muted); }
.cat-card:hover { border-color: var(--c); transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card:hover i { transform: scale(1.08) rotate(-6deg); }

/* ---------- Cartes produit ---------- */
.p-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; transition: opacity .2s; }
.p-grid.fading { opacity: .4; }
.card-p { background: var(--paper); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: all .25s; }
.card-p:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: #e0d3c6; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.card-media .pimg { width: 100%; height: 100%; border-radius: 0; transition: transform .5s; }
.card-p:hover .card-media .pimg { transform: scale(1.05); }
.card-p.is-out .card-media .pimg { filter: grayscale(.7); opacity: .7; }
.pimg { position: relative; overflow: hidden; background: var(--sand); border-radius: 12px; }
.pimg img { width: 100%; height: 100%; object-fit: cover; }
.pimg.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: rgba(255,255,255,.95);
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.22), transparent 55%), linear-gradient(150deg, var(--c), color-mix(in srgb, var(--c) 55%, #1b1512)); }
.pimg.ph::after { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 14px); }
.pimg.ph i { font-size: 46px; }
.pimg.ph span { font-family: var(--serif); font-size: 13px; letter-spacing: .04em; opacity: .85; }
.pimg.sm { width: 76px; height: 92px; flex-shrink: 0; }
.pimg.sm i { font-size: 24px; } .pimg.sm span { display: none; }
.pimg.xl { aspect-ratio: 4 / 5; width: 100%; border-radius: 20px; }
.pimg.xl i { font-size: 90px; } .pimg.xl span { font-size: 18px; }
.badge { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--ink); z-index: 2; letter-spacing: .02em; }
.badge.new { background: var(--ink); color: #fff; }
.badge.low { background: #fdf0d6; color: var(--amber); }
.badge.out { background: var(--red); color: #fff; }
.badge.star { background: var(--accent); color: #fff; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.card-body h3 { font-size: 15px; font-weight: 600; margin: 5px 0 3px; line-height: 1.35; }
.card-body h3 a:hover { color: var(--accent); }
.card-spec { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; }
.price { font-weight: 700; font-size: 17px; }
.price small { font-size: 11px; color: var(--muted); font-weight: 500; }
.price.big { font-family: var(--serif); font-weight: 500; font-size: 34px; margin: 14px 0 10px; }
.btn-add { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 17px; cursor: pointer; transition: all .2s; color: var(--ink); }
.btn-add:hover, .btn-add.added { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-add.added { animation: bump .4s; }

/* ---------- Comment commander ---------- */
.how { background: var(--dark); color: #f1ebe5; }
.how h2 { color: #fff; }
.how .kicker { color: #e2a383; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r); padding: 28px 26px; position: relative; }
.step .n { position: absolute; top: 20px; right: 24px; font-family: var(--serif); font-size: 46px; color: rgba(255,255,255,.1); line-height: 1; }
.step i { font-size: 28px; color: #e2a383; }
.step h3 { font-family: var(--serif); font-size: 21px; margin: 14px 0 8px; color: #fff; }
.step p { margin: 0; color: #bdb3aa; font-size: 14px; }

/* ---------- Catalogue ---------- */
.page-banner { background: linear-gradient(180deg, var(--sand), var(--bg)); padding: 34px 0 30px; border-bottom: 1px solid var(--line); }
.page-banner h1, .h1 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); margin: 8px 0 4px; }
.h1 { margin-bottom: 26px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumbs i { font-size: 10px; }
.crumbs a:hover { color: var(--accent); }
.crumbs.pad { padding: 24px 0 18px; }
.shop-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 36px; padding-top: 32px; padding-bottom: 70px; }
.filters { position: sticky; top: 96px; align-self: start; }
.f-block { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.f-block h4 { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.f-cat { display: flex; align-items: center; gap: 9px; width: 100%; text-align: left; font: inherit; font-size: 14px; background: none; border: 0; padding: 8px 10px; border-radius: 8px; cursor: pointer; color: var(--ink-2); }
.f-cat span { margin-left: auto; font-size: 12px; color: var(--muted); }
.f-cat .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.f-cat:hover { background: var(--sand); }
.f-cat.on { background: var(--ink); color: #fff; }
.f-cat.on span { color: #cfc6be; }
.f-check { display: flex; gap: 9px; align-items: center; font-size: 14px; cursor: pointer; }
.f-check input { accent-color: var(--accent); width: 17px; height: 17px; }
.f-price { display: flex; gap: 8px; align-items: center; }
.f-price input, .sel { font: inherit; font-size: 13px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: #fff; width: 100%; outline: none; }
.f-price input:focus, .sel:focus { border-color: var(--accent); }
.sel { width: auto; cursor: pointer; }
.shop-bar { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.shop-bar .head-search { flex: 1; max-width: 340px; }
.shop-bar .sel { margin-left: auto; }
.f-toggle { display: none; }
.p-grid .card-p { min-width: 0; }
.shop-main .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 36px; }
.pager button { min-width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.pager button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty, .loading { grid-column: 1 / -1; text-align: center; padding: 70px 20px; color: var(--muted); }
.empty i { font-size: 40px; color: #cdbfb2; }
.empty .btn { margin-top: 10px; }
.empty-big { text-align: center; padding: 100px 24px; }
.empty-big i { font-size: 48px; color: #cdbfb2; }
.empty-big h1 { font-family: var(--serif); font-size: 32px; margin: 12px 0; }
.spin { width: 26px; height: 26px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; display: inline-block; animation: sp .7s linear infinite; vertical-align: middle; }
.spin.light { width: 16px; height: 16px; border-width: 2px; border-color: rgba(255,255,255,.35); border-top-color: #fff; }
@keyframes sp { to { transform: rotate(360deg); } }

/* ---------- Fiche produit ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-bottom: 40px; align-items: start; }
.product-media { position: sticky; top: 100px; }
.product-media .badge { top: 18px; left: 18px; font-size: 12px; }
.product-info h1 { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; }
.stock-line { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.stock-line i { font-size: 8px; }
.stock-line.ok { background: #e2f4ea; color: var(--green); }
.stock-line.low { background: #fdf2d9; color: var(--amber); }
.stock-line.out { background: #fce6e2; color: var(--red); }
.specs { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.specs i { color: var(--accent); margin-right: 6px; }
.desc { color: var(--ink-2); font-size: 15px; line-height: 1.7; border-top: 1px solid var(--line); padding-top: 18px; }
.buy-row { display: flex; gap: 12px; margin: 26px 0 12px; }
.qty-sel { display: inline-flex; align-items: center; border: 1px solid #d8ccc0; border-radius: 999px; background: #fff; overflow: hidden; }
.qty-sel button { width: 44px; height: 50px; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--ink); }
.qty-sel button:hover { background: var(--sand); }
.qty-sel input { width: 44px; border: 0; text-align: center; font: inherit; font-weight: 700; font-size: 16px; outline: none; -moz-appearance: textfield; }
.qty-sel input::-webkit-outer-spin-button, .qty-sel input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sel.sm button { width: 34px; height: 38px; font-size: 15px; }
.qty-sel.sm input { width: 34px; font-size: 14px; }
.reassure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.reassure > div { display: flex; gap: 10px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 12px; color: var(--muted); }
.reassure i { font-size: 20px; color: var(--accent); }
.reassure b { display: block; color: var(--ink); font-size: 13px; }

/* ---------- Panier & commande ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; padding-bottom: 70px; }
.co-side { position: sticky; top: 96px; }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.summary h3, .co-card h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.s-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 7px 0; }
.s-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); margin: 10px 0 18px; padding-top: 14px; font-weight: 600; }
.s-total b { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.cart-list { display: flex; flex-direction: column; gap: 12px; }
.c-line { display: flex; align-items: center; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px 12px 12px; }
.c-info { flex: 1; min-width: 0; }
.c-name { font-weight: 600; display: block; margin: 2px 0; }
.c-name:hover { color: var(--accent); }
.c-unit { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.c-unit .warn { color: var(--amber); font-weight: 600; }
.c-total { min-width: 96px; text-align: right; font-size: 15px; }
.c-rm { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 16px; padding: 6px; border-radius: 50%; }
.c-rm:hover { color: var(--red); background: #fce6e2; }
.co-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px; margin-bottom: 18px; }
.co-card h3 .num { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-family: var(--sans); font-size: 14px; font-weight: 700; display: grid; place-items: center; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.fld { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.fld > span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.fld input, .fld textarea { font: inherit; font-size: 15px; padding: 13px 14px; border: 1px solid #ddd2c6; border-radius: 11px; background: #fff; outline: none; width: 100%; transition: all .2s; resize: vertical; }
.fld input:focus, .fld textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.fld .hint { font-size: 12px; color: var(--muted); }
.fld.err input, .fld.err .tel { border-color: var(--red); }
.err-msg { color: var(--red); font-size: 12px; font-weight: 600; }
.tel { display: flex; border: 1px solid #ddd2c6; border-radius: 11px; overflow: hidden; background: #fff; }
.tel:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.tel .cc { padding: 13px 12px; background: var(--sand); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.tel input { border: 0 !important; box-shadow: none !important; border-radius: 0; }
.fld.err .tel input { border: 0; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.opt { cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt > span { display: flex; flex-direction: column; gap: 3px; border: 1.5px solid var(--line); border-radius: 14px; padding: 16px; transition: all .2s; height: 100%; }
.opt i { font-size: 22px; color: var(--accent); margin-bottom: 4px; }
.opt small { color: var(--muted); font-size: 12px; }
.opt input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.mini-cart { border-bottom: 1px solid var(--line); margin-bottom: 10px; padding-bottom: 12px; }
.mini { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; position: relative; font-size: 13px; }
.mini .pimg.sm { width: 52px; height: 62px; border-radius: 9px; }
.mini > div { flex: 1; min-width: 0; }
.mini > div b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini small { color: var(--muted); }
.mini-q { position: absolute; left: 40px; top: -6px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; z-index: 2; }
.mini-cart > a { color: var(--accent); font-weight: 600; }

/* ---------- Merci ---------- */
.thanks { padding: 50px 24px 80px; }
.thanks-card { max-width: 620px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 44px 40px; box-shadow: var(--shadow); text-align: center; }
.thanks-card h1 { font-family: var(--serif); font-size: 30px; line-height: 1.2; margin-bottom: 12px; }
.ok-ico { width: 74px; height: 74px; border-radius: 50%; background: #e2f4ea; color: var(--green); display: grid; place-items: center; font-size: 38px; margin: 0 auto 18px; animation: bump .6s; }
.track { list-style: none; padding: 0; margin: 28px 0; display: flex; justify-content: space-between; position: relative; counter-reset: s; }
.track::before { content: ''; position: absolute; top: 9px; left: 12%; right: 12%; height: 2px; background: var(--line); }
.track li { flex: 1; font-size: 12px; font-weight: 600; color: var(--muted); position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.track li span { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--line); z-index: 1; }
.track li.done { color: var(--green); }
.track li.done span { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 4px #e2f4ea; }
.recap { text-align: left; background: var(--bg); border-radius: 14px; padding: 16px 18px 4px; margin: 20px 0; }
.alert-x { background: #fce6e2; color: var(--red); padding: 12px; border-radius: 10px; margin: 20px 0; font-weight: 600; }

/* ---------- Suivi de commande ---------- */
.text-acc { color: var(--accent); }
.track-search { padding: 34px 24px 80px; }
.track-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; max-width: 980px; }
.recent-list { display: flex; flex-direction: column; gap: 8px; }
.recent { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; transition: all .2s; }
.recent:hover { border-color: var(--accent); background: var(--accent-soft); }
.recent > span:first-child { flex: 1; }
.recent b { display: block; }
.recent small { color: var(--muted); font-size: 12px; }
.track-page { padding-bottom: 70px; }
.thanks-banner { display: flex; gap: 16px; align-items: center; background: #e9f6ef; border: 1px solid #c7e8d5; border-radius: 16px; padding: 16px 20px; margin-bottom: 22px; }
.ok-ico.sm { width: 46px; height: 46px; font-size: 24px; margin: 0; flex-shrink: 0; }
.track-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.track-layout aside { position: sticky; top: 96px; }
.status-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 30px 30px 22px; margin-bottom: 18px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.status-card::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--accent); }
.status-card.st-livree::before { background: var(--green); }
.status-card.st-annulee::before { background: var(--red); }
.status-card h1 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; }
.status-card > p { color: var(--ink-2); font-size: 15px; margin: 10px 0 0; max-width: 560px; }
.steps-h { list-style: none; padding: 0; margin: 30px 0 8px; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.steps-h::before { content: ''; position: absolute; top: 21px; left: 12.5%; right: 12.5%; height: 3px; background: var(--line); border-radius: 3px; }
.steps-h li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; position: relative; z-index: 1; }
.steps-h li:not(:first-child).done::before { content: ''; position: absolute; top: 21px; right: 50%; width: 100%; height: 3px; background: var(--green); z-index: -1; }
.steps-h .dot { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; font-size: 18px; color: var(--muted); transition: all .3s; }
.steps-h li.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.steps-h li.current .dot { box-shadow: 0 0 0 6px #d8f0e2; animation: bump .6s; }
.steps-h b { font-size: 13px; }
.steps-h li:not(.done) b { color: var(--muted); font-weight: 500; }
.steps-h small { font-size: 11.5px; color: var(--muted); }
.live-note { display: flex; align-items: center; gap: 8px; justify-content: flex-end; font-size: 12px; color: var(--muted); margin-top: 10px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulseg 2s infinite; }
@keyframes pulseg { 0% { box-shadow: 0 0 0 0 rgba(29,138,89,.5); } 70% { box-shadow: 0 0 0 8px rgba(29,138,89,0); } 100% { box-shadow: 0 0 0 0 rgba(29,138,89,0); } }
.history { list-style: none; margin: 0; padding: 0; }
.history li { display: flex; gap: 16px; position: relative; padding-bottom: 20px; }
.history li:not(:last-child)::before { content: ''; position: absolute; left: 6px; top: 16px; bottom: 0; width: 2px; background: var(--line); }
.h-dot { width: 14px; height: 14px; border-radius: 50%; background: #d8ccc0; flex-shrink: 0; margin-top: 4px; border: 3px solid #fff; box-shadow: 0 0 0 1px #d8ccc0; }
.history li.last .h-dot { background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.history li.h-livree .h-dot { background: var(--green); box-shadow: 0 0 0 1px var(--green); }
.history li.h-annulee .h-dot { background: var(--red); box-shadow: 0 0 0 1px var(--red); }
.history li > div { flex: 1; min-width: 0; }
.h-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.h-top time { font-size: 12.5px; color: var(--muted); }
.h-msg { margin: 8px 0 0; background: var(--bg); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; padding: 10px 14px; font-size: 14px; color: var(--ink-2); }
.h-msg i { color: var(--accent); }
.h-sub { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.recap-info { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--ink-2); background: var(--bg); border-radius: 12px; padding: 14px; margin-bottom: 14px; }
.recap-info i { color: var(--accent); width: 18px; display: inline-block; }

/* ---------- Pied de page ---------- */
.site-foot { background: var(--dark); color: #bdb3aa; padding: 60px 0 0; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-grid h4 { color: #fff; font-family: var(--serif); font-size: 17px; margin-bottom: 14px; }
.foot-grid a { display: block; padding: 4px 0; }
.foot-grid a:hover { color: #fff; }
.foot-grid p { margin: 6px 0; }
.foot-grid p i { color: #e2a383; margin-right: 6px; }
.foot-txt { margin-top: 16px !important; max-width: 320px; line-height: 1.7; }
.wa-pill { display: inline-flex !important; gap: 8px; align-items: center; margin-top: 10px; background: var(--wa); color: #fff; padding: 9px 16px !important; border-radius: 999px; font-weight: 600; }
.staff-link { opacity: .7; }
.staff-link:hover { opacity: 1; color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); margin-top: 46px; padding: 20px 24px; font-size: 12px; }

/* ---------- Toasts ---------- */
.toast-zone { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 10px; align-items: center; width: calc(100% - 32px); max-width: 420px; }
.s-toast { background: var(--ink); color: #fff; padding: 13px 18px; border-radius: 999px; display: flex; gap: 10px; align-items: center; font-size: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.25); animation: up .25s; transition: all .3s; }
.s-toast i { color: #7fe0a9; font-size: 18px; }
.s-toast.err { background: #7d2419; } .s-toast.err i { color: #ffb3a8; }
.s-toast a { color: #f2b495; font-weight: 700; margin-left: 6px; white-space: nowrap; }
.s-toast.hide { opacity: 0; transform: translateY(10px); }
@keyframes up { from { opacity: 0; transform: translateY(14px); } }

.closed { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 14px; }
.closed h1 { font-family: var(--serif); font-size: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav a:nth-child(n+4) { display: none; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-main .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .burger { display: grid; }
  .main-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--paper); flex-direction: column; gap: 0; padding: 8px 24px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a, .main-nav a:nth-child(n+4) { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .head-row { gap: 10px; }
  .head-actions .head-search { display: none; }
  .hero { padding: 36px 0 50px; }
  .hero-grid, .product, .checkout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero-art { height: 340px; }
  .product-media, .co-side { position: static; }
  .shop-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { display: none; position: static; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
  .filters.open { display: block; }
  .f-toggle { display: inline-flex; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .sec { padding: 50px 0; }
  .track-layout, .track-grid { grid-template-columns: minmax(0, 1fr); }
  .track-layout aside { position: static; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .logo small { display: none; }
  .logo b { font-size: 16px; }
  .p-grid, .shop-main .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-body { padding: 10px 12px 12px; }
  .card-body h3 { font-size: 13.5px; }
  .price { font-size: 15px; }
  .btn-add { width: 34px; height: 34px; font-size: 15px; }
  .f-grid, .choice, .reassure { grid-template-columns: minmax(0, 1fr); }
  .c-line { flex-wrap: wrap; }
  .c-info { flex-basis: calc(100% - 100px); }
  .c-total { margin-left: auto; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .shop-bar { flex-wrap: wrap; }
  .shop-bar .head-search { order: 3; flex-basis: 100%; max-width: none; }
  .thanks-card { padding: 30px 20px; }
  .status-card { padding: 24px 18px 18px; }
  .steps-h b { font-size: 11.5px; }
  .steps-h .dot { width: 36px; height: 36px; font-size: 15px; }
  .steps-h::before, .steps-h li:not(:first-child).done::before { top: 17px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-trust { gap: 12px; }
}
