/* ==========================================================================
   Boutique bois de chauffage – feuille de style
   Couleurs validées : fond clair, noir, vert forêt, rouge braise en accent
   ========================================================================== */
:root {
  --bg: #F6F4F0;
  --bg-soft: #EFE9E0;
  --white: #FFFFFF;
  --ink: #1D1A17;
  --ink-2: #3A3530;
  --muted: #5E5850;
  --line: #E2DCD2;
  --line-2: #CFC7BB;
  --red: #B3261E;
  --red-dark: #8E1A14;
  --red-soft: #F8E3E0;
  --green: #2F3E2E;
  --green-line: #4B5C49;
  --green-text: #D6DDD3;
  --radius: 20px;
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 760px) { .wrap { padding: 0 16px; } }

.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.h-section { font-weight: 700; font-size: clamp(32px, 4vw, 44px); margin-top: 8px; }
.muted { color: var(--muted); }
.section { padding: 96px 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 40px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 16px; cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; box-shadow: 0 8px 22px rgba(179,38,30,.3); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { color: #fff; background: #000; }
.btn-outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: var(--bg); color: var(--red-dark); }
.btn-light:hover { color: var(--red); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { background: var(--line); color: var(--muted); cursor: not-allowed; transform: none; box-shadow: none; }
.icon-btn { width: 44px; height: 44px; border-radius: 22px; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }

/* ---------- En-tête ---------- */
.topbar { background: var(--red-dark); color: #fff; font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; padding-top: 10px; padding-bottom: 10px; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(246,244,240,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.main-nav { display: flex; gap: 28px; font-weight: 500; }
.main-nav a.active { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.cart-pill { height: 44px; padding: 0 16px; border-radius: 22px; background: var(--ink); color: var(--bg); display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.cart-pill:hover { color: #fff; }
.menu-toggle { display: none; }
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Alertes ---------- */
.flash { margin: 16px auto 0; max-width: 1240px; padding: 0 32px; }
.flash div { border-radius: 14px; padding: 14px 18px; font-weight: 500; }
.flash .ok { background: #E6EEE4; color: var(--green); }
.flash .err { background: var(--red-soft); color: var(--red-dark); }
.notice { background: var(--red-soft); color: var(--red-dark); border-radius: 14px; padding: 14px 18px; font-size: 15px; line-height: 1.5; }

/* ---------- Carrousel ---------- */
.hero { padding: 32px 0 72px; }
.carousel { position: relative; border-radius: 28px; overflow: hidden; }
.carousel-track { display: flex; transition: transform .7s cubic-bezier(.65,0,.35,1); }
.slide { flex: 0 0 100%; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding: 56px 56px 104px; min-height: 580px; }
.slide.theme-light { background: var(--bg-soft); color: var(--ink); }
.slide.theme-red { background: var(--red-dark); color: #fff; }
.slide.theme-green { background: var(--green); color: #fff; }
.slide-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.slide-badge { align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; border-radius: 16px; }
.theme-light .slide-badge { background: var(--red-soft); color: var(--red-dark); }
.theme-red .slide-badge { background: var(--bg); color: var(--red-dark); }
.theme-green .slide-badge { background: var(--red); color: #fff; }
.slide h1, .slide h2 { font-weight: 800; font-size: clamp(38px, 5.2vw, 64px); line-height: 1.02; letter-spacing: -0.03em; white-space: pre-line; }
.slide p { font-size: 19px; line-height: 1.6; max-width: 520px; }
.theme-light p { color: var(--muted); }
.theme-red p { color: #F6D9D5; }
.theme-green p { color: var(--green-text); }
.theme-red .btn-primary { background: var(--bg); color: var(--red-dark); }
.slide-visual { flex: 1 1 380px; min-width: 0; height: 420px; border-radius: 22px; position: relative; overflow: hidden; background: #3A2A1E; display: flex; align-items: center; justify-content: center; }
.slide-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-big { position: relative; width: 210px; height: 210px; border-radius: 50%; background: var(--bg); color: var(--red-dark); display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-display); box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.slide-big strong { font-weight: 800; font-size: 54px; line-height: 1; }
.slide-big span { font-weight: 600; font-size: 16px; padding-top: 6px; }
.carousel-ctrl { position: absolute; left: 56px; right: 56px; bottom: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dots { display: flex; gap: 4px; }
.dots button { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.dots span { display: block; height: 8px; width: 8px; border-radius: 4px; background: var(--line-2); transition: width .4s, background .4s; }
.dots button[aria-current="true"] span { width: 32px; background: var(--red); }
.carousel.on-dark .dots span { background: rgba(255,255,255,.45); }
.carousel.on-dark .dots button[aria-current="true"] span { background: #fff; }
.ctrl-btns { display: flex; gap: 8px; }
.ctrl-btns button { width: 44px; height: 44px; border-radius: 22px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.carousel.on-dark .ctrl-btns button { border-color: #fff; color: #fff; }
.ctrl-btns .next { background: var(--red); border-color: var(--red); color: #fff; }
.carousel.on-red .ctrl-btns .next { background: var(--bg); border-color: var(--bg); color: var(--red-dark); }
@media (max-width: 760px) {
  .slide { padding: 28px 20px 96px; min-height: 0; }
  .slide-visual { height: 260px; }
  .carousel-ctrl { left: 20px; right: 20px; }
}
@media (prefers-reduced-motion: reduce) { .carousel-track, .btn { transition: none; } }

/* ---------- Réassurance ---------- */
.perks { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.perks .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; padding-top: 40px; padding-bottom: 40px; }
.perk { display: flex; gap: 16px; align-items: flex-start; }
.perk-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: #F3E6DC; display: flex; align-items: center; justify-content: center; color: var(--red); }
.perk strong { display: block; font-size: 17px; }
.perk span { font-size: 15px; color: var(--muted); }

/* ---------- Cartes ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.cat-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(29,26,23,.12); color: var(--ink); }
.cat-card img { width: 100%; height: 220px; object-fit: cover; transition: transform .5s; }
.cat-card:hover img { transform: scale(1.04); }
.cat-card .body { padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cat-card h3 { font-weight: 700; font-size: 22px; }
.cat-card p { font-size: 15px; color: var(--muted); padding-top: 4px; }
.arrow-dot { flex: none; width: 40px; height: 40px; border-radius: 20px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }

.product-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s; }
.product-card:hover { box-shadow: 0 16px 36px rgba(29,26,23,.1); }
.pc-media { position: relative; height: 230px; background: #4A3A2C; overflow: hidden; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.pc-media .badge { position: absolute; top: 12px; left: 12px; background: var(--bg); color: var(--ink); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 14px; z-index: 2; }
.pc-media .counter { position: absolute; top: 12px; right: 12px; background: rgba(29,26,23,.78); color: var(--bg); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 12px; z-index: 2; }
.pc-media .nav { position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; border-radius: 22px; border: 0; background: rgba(246,244,240,.92); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(29,26,23,.2); z-index: 2; opacity: 0; transition: opacity .2s; }
.product-card:hover .nav, .pc-media .nav:focus-visible { opacity: 1; }
@media (hover: none) { .pc-media .nav { opacity: 1; } }
.pc-media .prev { left: 8px; } .pc-media .next { right: 8px; }
.pc-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.pc-dots span { display: block; height: 6px; width: 6px; border-radius: 3px; background: rgba(255,255,255,.6); box-shadow: 0 1px 3px rgba(0,0,0,.4); transition: width .3s; }
.pc-dots span.on { width: 18px; background: #fff; }
.pc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pc-meta { font-size: 14px; color: var(--muted); }
.pc-title { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.25; }
.pc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 8px; gap: 12px; }
.price { font-weight: 700; font-size: 21px; }
.price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.add-round { width: 44px; height: 44px; border-radius: 22px; border: 0; background: var(--red); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .15s; }
.add-round:hover { background: var(--red-dark); transform: scale(1.06); }

/* ---------- Sections sombres / savoir-faire ---------- */
.dark-green { background: var(--green); color: var(--bg); }
.dark-green .eyebrow { color: #F2A99F; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.step { border: 1px solid var(--green-line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.step .n { font-family: var(--font-display); font-weight: 800; font-size: 48px; color: #F2A99F; line-height: 1; }
.step strong { font-size: 20px; }
.step p { color: var(--green-text); line-height: 1.6; }
.estimate { margin-top: 48px; background: var(--bg); color: var(--ink); border-radius: var(--radius); padding: 28px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; }
.estimate-result { flex-basis: 100%; font-weight: 600; min-height: 1.5em; }

.craft { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.craft figure { margin: 0; position: relative; height: 360px; border-radius: var(--radius); overflow: hidden; background: #3A2A1E; }
.craft img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.craft figure:hover img { transform: scale(1.05); }
.craft figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(29,26,23,.82); color: var(--bg); border-radius: 14px; padding: 12px 14px; display: flex; gap: 12px; align-items: baseline; }
.craft figcaption b { font-family: var(--font-display); color: #F2A99F; }
.craft figcaption small { display: block; color: #CFC7BB; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; font-size: 18px; font-weight: 600; padding: 12px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; color: var(--red); }
.faq[open] summary::after { content: '−'; }
.faq p { padding-bottom: 20px; color: var(--muted); line-height: 1.6; }

/* ---------- Formulaires ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { height: 48px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 14px; font-size: 16px; font-weight: 400; background: var(--white); width: 100%; }
.field textarea { height: 100px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(29,26,23,.1); }
.field .error { color: var(--red-dark); font-weight: 500; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--red); margin-top: 2px; flex: none; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h2 { font-size: 24px; font-weight: 700; margin-bottom: 18px; }

/* ---------- Pages ---------- */
.page-head { background: var(--green); color: var(--bg); }
.page-head .wrap { padding-top: 48px; padding-bottom: 48px; }
.page-head h1 { font-weight: 800; font-size: clamp(36px, 5vw, 52px); margin: 12px 0 8px; }
.page-head p, .page-head .crumbs, .page-head .crumbs a { color: var(--green-text); }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.layout-sidebar { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 40px; padding-bottom: 96px; }
.layout-sidebar > aside { flex: 1 1 240px; max-width: 100%; }
.layout-sidebar > .main { flex: 999 1 560px; min-width: 0; }
.filter-group { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.filter-group strong { font-size: 17px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--white); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; }
.pill.on, .pill[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.prose { max-width: 760px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { font-size: 26px; margin: 36px 0 12px; color: var(--ink); }
.prose p, .prose ul { margin: 0 0 14px; }
.placeholder { background: #FFF3C4; padding: 0 4px; border-radius: 4px; }

/* ---------- Fiche produit ---------- */
.product-layout { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 24px; padding-bottom: 72px; }
.gallery { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery-main { height: 560px; border-radius: 24px; overflow: hidden; background: #4A3A2C; position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.thumbs button { height: 110px; padding: 0; overflow: hidden; border-radius: 14px; border: 3px solid transparent; cursor: pointer; background: #4A3A2C; }
.thumbs button[aria-current="true"] { border-color: var(--red); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.buy h1 { font-weight: 800; font-size: clamp(34px, 4vw, 48px); line-height: 1.05; }
.big-price { font-family: var(--font-display); font-weight: 800; font-size: 40px; }
.promo-tag { font-size: 14px; font-weight: 700; color: #fff; background: var(--red); padding: 6px 12px; border-radius: 14px; }
.variant-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.variant { position: relative; }
.variant input { position: absolute; opacity: 0; }
.variant label { min-height: 64px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--white); display: flex; flex-direction: column; gap: 2px; cursor: pointer; }
.variant input:checked + label { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.variant input:focus-visible + label { outline: 3px solid var(--red); outline-offset: 2px; }
.variant small { opacity: .8; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 28px; height: 56px; background: var(--white); }
.qty button { width: 52px; height: 52px; border: 0; background: transparent; font-size: 22px; cursor: pointer; }
.qty input { width: 44px; border: 0; text-align: center; font-weight: 700; font-size: 18px; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.info-box { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.info-box div { display: flex; gap: 14px; align-items: flex-start; }
.info-box small { display: block; color: var(--muted); font-size: 14px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tabs button { height: 52px; padding: 0 20px; background: transparent; border: 0; border-bottom: 3px solid transparent; font-weight: 600; font-size: 17px; color: var(--muted); cursor: pointer; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { border-bottom-color: var(--red); color: var(--ink); }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 48px; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid #EEE9E1; }
.specs dt { color: var(--muted); } .specs dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------- Panier / commande ---------- */
.checkout-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; font-weight: 600; color: var(--muted); }
.checkout-steps .done { color: var(--green); } .checkout-steps .now { color: var(--red); }
.cart-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.cart-layout > .main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cart-layout > aside { flex: 1 1 340px; position: sticky; top: 96px; }
.cart-line { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.cart-line img { width: 120px; height: 100px; border-radius: 12px; object-fit: cover; flex: none; }
.summary { display: flex; flex-direction: column; gap: 16px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.summary .row span:first-child { color: var(--muted); }
.summary .discount { color: var(--red-dark); font-weight: 600; }
.summary .discount span:first-child { color: var(--red-dark); }
.summary .total { border-top: 1px solid #EEE9E1; padding-top: 16px; align-items: baseline; }
.summary .total strong { font-family: var(--font-display); font-weight: 800; font-size: 30px; }
.hint { font-size: 14px; color: var(--red-dark); background: var(--red-soft); border-radius: 10px; padding: 8px 12px; }
.pay-option { display: flex; gap: 14px; align-items: flex-start; border: 2px solid var(--red); border-radius: 14px; padding: 16px 18px; }
.iban-box { border: 2px solid var(--red); }
.iban-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 14px 0; border-bottom: 1px solid #EEE9E1; }
.iban-row code { flex: 1 1 200px; font-weight: 700; font-size: 17px; font-family: ui-monospace, Menlo, monospace; }
.status { display: inline-block; padding: 5px 12px; border-radius: 14px; font-size: 13px; font-weight: 600; }
.status-pending_payment { background: #F3E6DC; color: var(--red-dark); }
.status-paid { background: #E4ECF5; color: #1F4E7A; }
.status-shipped { background: #E6EEE4; color: var(--green); }
.status-delivered { background: #EEE9E1; color: var(--ink-2); }
.status-cancelled { background: #EEE; color: #555; text-decoration: line-through; }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
table.data th { text-align: left; color: var(--muted); font-weight: 600; padding: 12px 8px; border-bottom: 1px solid var(--line); }
table.data td { padding: 14px 8px; border-bottom: 1px solid #EEE9E1; vertical-align: middle; }

/* ---------- Essences ---------- */
.ess-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--bg); }
.ess-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ess-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29,26,23,.92), rgba(29,26,23,.78) 55%, rgba(29,26,23,.35)); }
.ess-hero .wrap { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 20px; }
.ess-hero h1 { font-weight: 800; font-size: clamp(40px, 6vw, 64px); line-height: 1.02; max-width: 820px; }
.ess-hero .pill { background: transparent; color: var(--bg); border-color: #4A443D; border-radius: 22px; }
.score { display: inline-flex; gap: 4px; }
.score i { display: block; width: 12px; height: 12px; border-radius: 6px; background: var(--line); }
.score i.on { background: var(--red); }
.ess-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-wrap: wrap; scroll-margin-top: 100px; }
.ess-card > img { flex: 1 1 380px; min-height: 320px; object-fit: cover; width: 0; }
.ess-card .body { flex: 1.4 1 460px; min-width: 0; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: '✓'; color: var(--green); font-weight: 800; }
.reco { background: var(--red-soft); border-radius: 16px; padding: 16px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.reco img { width: 200px; height: 150px; border-radius: 12px; object-fit: cover; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #CFC7BB; padding: 64px 0 32px; margin-top: 0; }
.site-footer a { color: #CFC7BB; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer-grid strong { color: var(--bg); display: block; margin-bottom: 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-bottom { border-top: 1px solid #3A3530; margin-top: 40px; padding-top: 24px; font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- Bouton d'aide (chat + WhatsApp) ---------- */
.help { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; max-width: calc(100vw - 40px); }
.help-menu { display: none; flex-direction: column; gap: 10px; width: 300px; max-width: 100%; animation: pop .2s ease-out; }
.help.open .help-menu { display: flex; }
.help-menu .bubble { align-self: flex-end; background: var(--white); border-radius: 14px; padding: 10px 14px; font-size: 14px; color: var(--ink-2); box-shadow: 0 8px 24px rgba(29,26,23,.15); }
.help-option { min-height: 64px; display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-radius: 16px; border: 0; background: var(--white); box-shadow: 0 8px 24px rgba(29,26,23,.15); cursor: pointer; text-align: left; color: var(--ink); width: 100%; }
.help-option:hover { color: var(--ink); transform: translateY(-1px); }
.help-option .ico { flex: none; width: 44px; height: 44px; border-radius: 22px; display: flex; align-items: center; justify-content: center; color: #fff; }
.help-option strong { display: block; font-size: 16px; }
.help-option small { color: var(--muted); font-size: 13px; }
.help-toggle { height: 56px; padding: 0 22px 0 18px; border-radius: 28px; border: 0; background: var(--red); color: #fff; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 28px rgba(179,38,30,.35); }
.help.open .help-toggle { width: 56px; padding: 0; justify-content: center; background: var(--ink); }
.help.open .help-toggle .label, .help:not(.open) .help-toggle .close { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Bandeau cookies ---------- */
.cookies { position: fixed; left: 20px; bottom: 20px; z-index: 70; max-width: 440px; background: var(--white); border-radius: 18px; padding: 20px; box-shadow: 0 16px 48px rgba(29,26,23,.25); display: none; flex-direction: column; gap: 14px; font-size: 15px; }
.cookies.show { display: flex; }
.cookies .actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) { .cookies { left: 12px; right: 12px; bottom: 88px; } }

/* ---------- Toast ---------- */
.toast { position: fixed; top: 88px; right: 20px; z-index: 80; background: var(--ink); color: var(--bg); border-radius: 14px; padding: 14px 18px; box-shadow: 0 12px 32px rgba(0,0,0,.25); display: flex; gap: 12px; align-items: center; animation: pop .25s ease-out; }
.toast a { color: #F2A99F; font-weight: 600; }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
