/* ==========================================================================
   Harmo'Vie — feuille de styles du site
   Couleurs : brun #7A5543 · or #E2B874 · sombre #161515
   Polices  : Giddyup (titres décoratifs) · Lexend Deca (titres) · DM Sans (texte)
   ========================================================================== */

@font-face { font-family: "Giddyup"; src: url("../fonts/giddyup.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lexend Deca"; src: url("../fonts/lexenddeca-var.woff") format("woff"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dmsans-var.woff") format("woff"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dmsans-italic-var.woff") format("woff"); font-weight: 100 1000; font-style: italic; font-display: swap; }

:root {
  --c-primary: #7A5543;
  --c-primary-dark: #5E4033;
  --c-accent: #E2B874;
  --c-accent-dark: #A97C3A;
  --c-accent-soft: #F6EBD8;
  --c-dark: #161515;
  --c-ink: #1A1919;
  --c-text: #5A5653;
  --c-muted: #8A8580;
  --c-line: #E8E2DA;
  --c-line-strong: #D6CEC4;
  --c-bg: #FFFFFF;
  --c-soft: #F3F3F3;
  --c-softer: #FAF8F5;
  --c-cream: #FBF7F1;
  --c-success: #3F7A4A;
  --c-success-soft: #E8F2EA;
  --c-danger: #B4483A;
  --c-danger-soft: #F8E7E4;
  --c-warning: #B9802F;
  --c-warning-soft: #FBF1E1;
  --f-display: "Giddyup", "Lexend Deca", cursive;
  --f-head: "Lexend Deca", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1320px;
  --container-wide: 1600px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(40, 28, 20, .06), 0 2px 8px rgba(40, 28, 20, .05);
  --shadow: 0 10px 30px rgba(40, 28, 20, .10);
  --shadow-lg: 0 24px 60px rgba(30, 20, 14, .18);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --tile-veil: .2;
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.65; color: var(--c-text); background: var(--c-bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-ink); }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-head); color: var(--c-ink); font-weight: 500; line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4vw, 44px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: clamp(19px, 2vw, 23px); }
h4 { font-size: 18px; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: 2em 0; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
::selection { background: var(--c-accent); color: var(--c-ink); }
.icon { flex-shrink: 0; display: inline-block; vertical-align: middle; }
[hidden] { display: none !important; }
.form-note .icon, .help .icon { vertical-align: -3px; margin-right: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--c-ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: #fff; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.container-wide { width: 100%; max-width: calc(var(--container-wide) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.container-narrow { width: 100%; max-width: calc(820px + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 110px); position: relative; }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.bg-white { background: #fff; }
.bg-soft { background: var(--c-soft); }
.bg-cream { background: var(--c-cream); }
.bg-dark { background: var(--c-dark); color: #CFCBC6; }
.bg-brown { background: var(--c-primary); color: rgba(255, 255, 255, .86); }
.bg-dark h2, .bg-dark h3, .bg-brown h2, .bg-brown h3 { color: #fff; }

/* Titres de section (style « TheFlash » : surtitre + titre décoratif) */
.section-head { margin-bottom: clamp(30px, 4vw, 52px); max-width: 760px; }
.section-head.center { text-align: center; margin-inline: auto; }
.eyebrow { display: inline-block; font-family: var(--f-body); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--c-accent-dark); margin-bottom: 12px; }
.bg-dark .eyebrow, .bg-brown .eyebrow { color: var(--c-accent); }
.display-title { font-family: var(--f-display); font-weight: 400; color: var(--c-primary); font-size: clamp(42px, 5.4vw, 68px); line-height: .92; letter-spacing: 0; margin: 0; }
.bg-dark .display-title, .bg-brown .display-title { color: #fff; }
.display-title .accent, .hero-title .accent { color: var(--c-accent); }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; }

/* --- Boutons -------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border: 1px solid transparent; border-radius: var(--radius); font-family: var(--f-body); font-size: 15px; font-weight: 600; letter-spacing: .02em; line-height: 1.2; text-align: center; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon-arrow-right { transform: translateX(3px); }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-dark); color: #fff; }
.btn-accent { background: var(--c-accent); color: var(--c-ink); }
.btn-accent:hover { background: #fff; color: var(--c-ink); }
.btn-dark { background: var(--c-dark); color: #fff; }
.btn-dark:hover { background: var(--c-primary); color: #fff; }
.btn-outline { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn-outline:hover { background: var(--c-ink); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
.btn-outline-light:hover { background: #fff; color: var(--c-primary); }
.btn-light { background: #fff; color: var(--c-ink); }
.btn-light:hover { background: var(--c-accent); color: var(--c-ink); }
.btn-link { background: none; border: 0; padding: 0; min-height: 0; color: var(--c-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 15px 34px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-outline.is-loading::after, .btn-light.is-loading::after, .btn-accent.is-loading::after { border-color: rgba(0, 0, 0, .25); border-top-color: var(--c-ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* --- Formulaires ---------------------------------------------------------- */
.field { margin-bottom: 18px; }
.field label, .field-label { display: block; font-size: 14px; font-weight: 600; color: var(--c-ink); margin-bottom: 6px; }
.field label .req { color: var(--c-danger); }
.field .help { font-size: 13px; color: var(--c-muted); margin-top: 5px; }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 11px 14px; background: #fff; border: 1px solid var(--c-line-strong); border-radius: var(--radius); font-size: 15px; color: var(--c-ink); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%235A5653' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(122, 85, 67, .14); outline: none; }
.input.is-invalid, .select.is-invalid, .textarea.is-invalid { border-color: var(--c-danger); }
.field-error { color: var(--c-danger); font-size: 13px; margin-top: 5px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; line-height: 1.45; }
.check input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 20px; height: 20px; margin: 1px 0 0; border: 1.5px solid var(--c-line-strong); border-radius: 3px; background: #fff; display: grid; place-content: center; cursor: pointer; transition: all .2s; }
.check input[type=radio] { border-radius: 50%; }
.check input::before { content: ""; width: 10px; height: 10px; transform: scale(0); transition: transform .15s; background: #fff; clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); }
.check input[type=radio]::before { clip-path: none; border-radius: 50%; width: 8px; height: 8px; }
.check input:checked { background: var(--c-primary); border-color: var(--c-primary); }
.check input:checked::before { transform: scale(1); }
.form-note { font-size: 13px; color: var(--c-muted); }
.form-msg { margin-top: 14px; font-size: 15px; display: none; }
.form-msg.is-visible { display: block; }
.form-msg.ok { color: var(--c-success); }
.form-msg.err { color: var(--c-danger); }
.recaptcha-note { font-size: 12px; color: var(--c-muted); margin-top: 10px; }
.recaptcha-note a { color: inherit; text-decoration: underline; }
.grecaptcha-badge { visibility: hidden !important; }

/* Alertes */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: var(--radius); font-size: 15px; margin-bottom: 20px; border: 1px solid transparent; }
.alert .icon { margin-top: 2px; }
.alert-success { background: var(--c-success-soft); color: #2C5A35; border-color: #CFE3D3; }
.alert-error { background: var(--c-danger-soft); color: #8A3125; border-color: #F0CFC9; }
.alert-info { background: var(--c-cream); color: var(--c-primary-dark); border-color: var(--c-line); }
.alert-warning { background: var(--c-warning-soft); color: #7D5418; border-color: #F0DDBE; }
.alert p:last-child { margin: 0; }

/* --- Bandeau d'annonce & en-tête ------------------------------------------ */
.announce { background: var(--c-primary); color: rgba(255, 255, 255, .92); font-size: 13.5px; text-align: center; padding: 8px var(--gutter); letter-spacing: .02em; }
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(30, 20, 14, .07); border-bottom-color: var(--c-line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.is-scrolled .header-inner { height: 70px; }
.site-logo { flex-shrink: 0; display: block; }
.site-logo img { height: 54px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .site-logo img { height: 46px; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav > ul { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 26px); list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a, .main-nav > ul > li > button { display: inline-flex; align-items: center; gap: 4px; padding: 10px 2px; background: none; border: 0; font-family: var(--f-head); font-size: 15px; font-weight: 400; color: var(--c-ink); position: relative; white-space: nowrap; }
.main-nav > ul > li > a::after, .main-nav > ul > li > button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px; background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav > ul > li:hover > a::after, .main-nav > ul > li > a.is-active::after, .main-nav > ul > li.is-open > button::after, .main-nav > ul > li:hover > button::after { transform: scaleX(1); }
.main-nav .icon-chevron-down { width: 14px; height: 14px; transition: transform .25s; }
.main-nav li:hover .icon-chevron-down, .main-nav li.is-open .icon-chevron-down { transform: rotate(180deg); }
.sub-menu { position: absolute; top: 100%; left: 50%; min-width: 230px; transform: translate(-50%, 10px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 10px; list-style: none; margin: 0; opacity: 0; visibility: hidden; transition: all .25s var(--ease); }
.main-nav li:hover > .sub-menu, .main-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub-menu a { display: block; padding: 9px 14px; border-radius: var(--radius); color: var(--c-ink); font-size: 15px; }
.sub-menu a:hover { background: var(--c-cream); color: var(--c-primary); }
/* Méga-menu Boutique */
.mega { position: fixed; left: 0; right: 0; top: var(--mega-top, 120px); background: #fff; border-top: 1px solid var(--c-line); box-shadow: 0 30px 50px rgba(30, 20, 14, .12); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.main-nav li.has-mega:hover > .mega, .main-nav li.has-mega.is-open > .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding-block: 34px 38px; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 24px; }
.mega-cat { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--radius); color: var(--c-ink); font-size: 15px; line-height: 1.3; }
.mega-cat:hover { background: var(--c-cream); color: var(--c-primary); }
.mega-cat img, .mega-cat .mega-ph { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--c-accent-soft); }
.mega-cat small { display: block; color: var(--c-muted); font-size: 12.5px; }
.mega-feature { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 230px; display: flex; align-items: flex-end; padding: 22px; color: #fff; background: var(--c-primary); }
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mega-feature::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(22, 21, 21, .72)); z-index: 1; }
.mega-feature:hover img { transform: scale(1.05); }
.mega-feature span { position: relative; z-index: 2; font-family: var(--f-display); font-size: 32px; line-height: 1; }
.mega-feature em { display: block; font-family: var(--f-body); font-style: normal; font-size: 14px; margin-top: 8px; opacity: .9; }
.mega-all { grid-column: 1 / -1; margin-top: 10px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }

.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--c-ink); transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--c-cream); color: var(--c-primary); }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--c-accent); color: var(--c-ink); font-size: 11px; font-weight: 700; line-height: 19px; text-align: center; transition: transform .3s var(--ease); }
.cart-count.is-empty { display: none; }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.header-cart-total { font-size: 14px; font-weight: 600; color: var(--c-ink); margin-left: 2px; }
.burger { display: none; }

/* --- Menu mobile ---------------------------------------------------------- */
.drawer { position: fixed; inset: 0; z-index: 300; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(22, 21, 21, .45); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; bottom: 0; width: min(420px, 92vw); background: #fff; display: flex; flex-direction: column; transition: transform .38s var(--ease); box-shadow: var(--shadow-lg); }
.drawer-left .drawer-panel { left: 0; transform: translateX(-100%); }
.drawer-right .drawer-panel { right: 0; transform: translateX(100%); }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--c-line); }
.drawer-head h2 { font-size: 19px; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; -webkit-overflow-scrolling: touch; }
.drawer-foot { padding: 18px 22px; border-top: 1px solid var(--c-line); background: var(--c-softer); }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--c-line); }
.mobile-nav a, .mobile-nav .mnav-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 0; background: none; border: 0; font-family: var(--f-head); font-size: 17px; color: var(--c-ink); text-align: left; }
.mobile-nav .mnav-sub { display: none; padding: 0 0 12px 12px; }
.mobile-nav li.is-open > .mnav-sub { display: block; }
.mobile-nav li.is-open > .mnav-toggle .icon { transform: rotate(180deg); }
.mobile-nav .mnav-sub a { font-family: var(--f-body); font-size: 15.5px; padding: 9px 0; color: var(--c-text); }
.mobile-extra { margin-top: 28px; display: grid; gap: 20px; }
.mobile-extra h6 { font-family: var(--f-body); font-size: 12.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--c-muted); margin: 0 0 4px; font-weight: 600; }
.mobile-extra a { font-size: 16px; font-weight: 500; }

/* --- Recherche ------------------------------------------------------------ */
.search-overlay { position: fixed; inset: 0; z-index: 400; visibility: hidden; }
.search-overlay.is-open { visibility: visible; }
.search-overlay .drawer-backdrop { z-index: 0; }
.search-overlay.is-open .drawer-backdrop { opacity: 1; }
.search-panel { position: relative; z-index: 1; background: #fff; padding: 28px 0 34px; transform: translateY(-100%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg); max-height: 92vh; overflow-y: auto; }
.search-overlay.is-open .search-panel { transform: none; }
.search-form { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--c-ink); }
.search-form .icon-search { color: var(--c-muted); }
.search-form input { flex: 1; border: 0; outline: none; padding: 14px 0; font-family: var(--f-head); font-size: clamp(20px, 3vw, 30px); background: transparent; min-width: 0; }
.search-results { margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 24px; }
.search-hit { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: var(--radius); color: var(--c-ink); }
.search-hit:hover { background: var(--c-cream); }
.search-hit img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius); background: var(--c-softer); }
.search-hit span { display: block; font-size: 15px; line-height: 1.35; }
.search-hit small { color: var(--c-primary); font-weight: 600; font-size: 14px; }
.search-empty { color: var(--c-muted); margin-top: 18px; }
.search-all { grid-column: 1 / -1; margin-top: 8px; }
.search-suggest { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--c-muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--c-softer); border: 1px solid var(--c-line); color: var(--c-ink); font-size: 14px; line-height: 1.2; transition: all .2s; }
.chip:hover, .chip.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* --- Bannière principale (héro) ------------------------------------------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(78vh, 780px); background: var(--c-dark); }
.hero-text { position: relative; display: flex; align-items: center; padding: clamp(56px, 7vw, 110px) clamp(24px, 6vw, 96px) clamp(56px, 7vw, 110px) max(var(--gutter), calc((100vw - var(--container)) / 2)); color: #fff; overflow: hidden; }
.hero-watermark { position: absolute; right: -6%; top: 50%; width: 76%; max-width: 640px; transform: translateY(-50%); opacity: .13; pointer-events: none; filter: brightness(0) invert(1); }
.hero-content { position: relative; max-width: 620px; }
.hero-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(50px, 6.6vw, 96px); line-height: .84; color: #fff; margin: 0 0 28px; letter-spacing: 0; }
.hero-sub { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .9); max-width: 520px; margin: 0; }
.hero .btn-row { margin-top: 36px; }
.hero-media { position: relative; overflow: hidden; min-height: 420px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 7s linear; }
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active img { transform: scale(1); }
.hero-dots { position: absolute; bottom: 30px; right: 26px; display: flex; gap: 8px; z-index: 2; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .55); transition: all .3s; }
.hero-dots button.is-active { background: #fff; width: 26px; border-radius: 5px; }
.hero-badge { position: absolute; left: 24px; bottom: 24px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .94); color: var(--c-ink); padding: 10px 16px 10px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-sm); }
.hero-badge .stars { color: var(--c-accent); display: inline-flex; }

/* --- En-tête des pages intérieures --------------------------------------- */
.page-header { position: relative; background: var(--c-cream); padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 6vw, 72px); overflow: hidden; text-align: center; }
.page-header::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 340px; height: 340px; background: url("../img/tree.png") center / contain no-repeat; opacity: .08; pointer-events: none; }
.page-header .display-title { font-size: clamp(46px, 6vw, 80px); }
.page-header p { max-width: 640px; margin: 18px auto 0; font-size: clamp(16px, 1.4vw, 18px); }
.page-header.has-image { color: #fff; background: var(--c-dark); min-height: clamp(260px, 32vw, 420px); display: flex; align-items: center; }
.page-header.has-image::after { display: none; }
.page-header.has-image .ph-bg { position: absolute; inset: 0; }
.page-header.has-image .ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-header.has-image .ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 21, 21, .25), rgba(22, 21, 21, .55)); }
.page-header.has-image .container { position: relative; z-index: 1; }
.page-header.has-image .display-title { color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.page-header.has-image p { color: rgba(255, 255, 255, .92); }
.page-header .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }

/* --- Grille de produits & cartes -------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 30px) clamp(14px, 1.8vw, 26px); }
.product-grid.cols-5 { --cols: 5; }
.product-grid.cols-4 { --cols: 4; }
.product-grid.cols-3 { --cols: 3; }
.product-card { position: relative; display: flex; flex-direction: column; }
.pc-media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius); background: var(--c-softer); }
.pc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .5s; }
.pc-media .pc-img-2 { opacity: 0; }
.product-card:hover .pc-media img { transform: scale(1.045); }
.product-card:hover .pc-media .pc-img-2 { opacity: 1; }
.product-card.is-out .pc-media img { filter: grayscale(.35); opacity: .82; }
.pc-badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .03em; line-height: 1.2; background: #fff; color: var(--c-ink); }
.badge-sale { background: var(--c-accent); color: var(--c-ink); }
.badge-out { background: rgba(255, 255, 255, .92); color: var(--c-muted); }
.badge-new { background: var(--c-primary); color: #fff; }
.badge-backorder { background: var(--c-warning-soft); color: #7D5418; }
.pc-quick { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: #fff; color: var(--c-ink); font-size: 14px; font-weight: 600; box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(8px); transition: all .3s var(--ease); }
.pc-quick:hover { background: var(--c-primary); color: #fff; }
.product-card:hover .pc-quick, .pc-quick:focus-visible { opacity: 1; transform: none; }
.pc-quick.is-loading { color: transparent; }
.pc-quick.is-loading::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 2px solid rgba(0, 0, 0, .2); border-top-color: var(--c-ink); border-radius: 50%; animation: spin .7s linear infinite; }
.pc-quick.is-done { background: var(--c-success); color: #fff; }
.pc-body { padding-top: 14px; display: flex; flex-direction: column; flex: 1; }
.pc-cat { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--c-muted); margin-bottom: 5px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-title { font-family: var(--f-head); font-size: 15.5px; font-weight: 400; line-height: 1.35; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-title a { color: var(--c-ink); }
.pc-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pc-title a:hover { color: var(--c-primary); }
.pc-meta { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.price { font-weight: 600; color: var(--c-primary); font-size: 15.5px; white-space: nowrap; }
.price del { color: var(--c-muted); font-weight: 400; margin-right: 4px; font-size: .9em; }
.price ins { text-decoration: none; }
.price-from { font-weight: 400; color: var(--c-muted); font-size: .88em; }
.price-request { color: var(--c-muted); font-weight: 500; }
.pc-stock { font-size: 12.5px; color: var(--c-muted); }
.pc-stock.out { color: var(--c-danger); }
.pc-stock.low { color: var(--c-warning); }
.section-foot { margin-top: clamp(32px, 4vw, 52px); text-align: center; }

/* --- Image + texte ---------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.split-media { position: relative; min-height: 420px; overflow: hidden; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-text { display: flex; align-items: center; padding: clamp(48px, 7vw, 110px) clamp(24px, 6vw, 96px); }
.split-text-inner { max-width: 600px; }
.split.reverse .split-media { order: 2; }
.split-text .rte { margin-top: 26px; }

/* --- Texte riche (contenus) -------------------------------------------------- */
.rte { font-size: 16.5px; line-height: 1.75; }
.rte > *:last-child { margin-bottom: 0; }
.rte h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 1.6em 0 .6em; }
.rte h3 { font-size: clamp(19px, 2vw, 22px); margin: 1.4em 0 .5em; }
.rte h2:first-child, .rte h3:first-child { margin-top: 0; }
.rte a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(122, 85, 67, .4); }
.rte a:hover { text-decoration-color: currentColor; }
.rte blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--c-accent); font-family: var(--f-head); font-size: 1.1em; color: var(--c-ink); }
.rte ul li, .rte ol li { margin-bottom: .4em; }
.rte img { border-radius: var(--radius); margin: 1em 0; }
.rte table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.rte th, .rte td { padding: 10px 12px; border-bottom: 1px solid var(--c-line); text-align: left; }
.legal-content { padding-block: clamp(48px, 7vw, 90px); }

/* --- Tuiles des catégories (accueil) ---------------------------------------- */
.cat-tiles { display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); gap: 18px; }
.cat-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); padding: 18px; text-align: center; color: #fff; isolation: isolate; background: var(--c-primary); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.cat-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, var(--tile-veil)); transition: background .5s; }
.cat-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(40, 26, 18, .16), rgba(40, 26, 18, 0) 75%); }
.cat-tile:hover img { transform: scale(1.07); }
.cat-tile:hover::before { background: rgba(255, 255, 255, calc(var(--tile-veil) * .55)); }
.cat-tile-title { font-family: var(--f-display); font-size: clamp(22px, 2.1vw, 34px); line-height: 1.02; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 0 18px rgba(0, 0, 0, .35); max-width: 95%; }
.cat-tile-btn { display: inline-flex; align-items: center; gap: 9px; padding: 9px 20px; border: 1px solid #fff; color: #fff; font-size: 15px; font-weight: 500; letter-spacing: .01em; background: rgba(255, 255, 255, 0); transition: background .3s, color .3s; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.cat-tile:hover .cat-tile-btn { background: #fff; color: var(--c-primary); text-shadow: none; }
.cat-tile-count { position: absolute; top: 12px; right: 12px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .9); color: var(--c-ink); padding: 3px 9px; border-radius: 999px; }

/* --- Chiffres clés ------------------------------------------------------------ */
.counters { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 30px; text-align: center; }
.counter-value { font-family: var(--f-head); font-weight: 300; font-size: clamp(52px, 7vw, 92px); line-height: 1; color: var(--c-accent); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.counter-value small { font-size: .42em; font-weight: 400; margin-left: 6px; letter-spacing: 0; }
.counter-label { font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 32px); color: #fff; margin-top: 10px; line-height: 1.05; }
.bg-soft .counter-label, .bg-white .counter-label, .bg-cream .counter-label { color: var(--c-primary); }

/* --- Témoignages ---------------------------------------------------------------- */
.reviews-summary { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 10px 18px 10px 12px; background: #fff; border: 1px solid var(--c-line); border-radius: 999px; font-size: 15px; color: var(--c-ink); }
.reviews-summary strong { font-size: 17px; }
.stars { display: inline-flex; gap: 2px; color: var(--c-accent); }
.stars .icon { fill: currentColor; }
.reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 24px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 18px; scrollbar-width: none; }
.reviews-track::-webkit-scrollbar { display: none; }
.review-card { scroll-snap-align: start; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; min-height: 230px; }
.bg-white .review-card { background: var(--c-softer); }
.review-card .icon-quote { color: var(--c-accent); width: 30px; height: 30px; }
.review-text { font-size: 16.5px; line-height: 1.65; color: var(--c-ink); flex: 1; margin: 0; }
.review-author { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 16px; color: #fff; background: var(--c-primary); flex-shrink: 0; }
.review-author strong { display: block; color: var(--c-ink); font-size: 15px; }
.review-author small { color: var(--c-muted); font-size: 13px; }
.review-g { margin-left: auto; width: 20px; height: 20px; }
.carousel-nav { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.carousel-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--c-line-strong); background: #fff; display: grid; place-items: center; color: var(--c-ink); transition: all .2s; }
.carousel-nav button:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* --- Points forts --------------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 32px; }
.feature { text-align: center; padding: 8px; }
.feature-icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--c-primary); box-shadow: var(--shadow-sm); }
.bg-white .feature-icon { background: var(--c-cream); box-shadow: none; }
.feature-icon .icon { width: 32px; height: 32px; stroke-width: 1.3; }
.feature h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(27px, 2.4vw, 35px); color: var(--c-primary); margin: 0 0 6px; line-height: 1; letter-spacing: 0; }
.feature p { margin: 0; font-size: 15.5px; }

/* --- FAQ ------------------------------------------------------------------------ */
.faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq-list { border-top: 1px solid var(--c-line-strong); }
.faq-item { border-bottom: 1px solid var(--c-line-strong); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; cursor: pointer; font-family: var(--f-head); font-size: clamp(17px, 1.6vw, 20px); color: var(--c-ink); line-height: 1.35; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-ico { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--c-accent-soft); color: var(--c-primary); transition: transform .3s var(--ease), background .3s; }
.faq-item[open] summary .faq-ico { transform: rotate(45deg); background: var(--c-primary); color: #fff; }
.faq-answer { padding: 0 52px 28px 0; font-size: 16px; line-height: 1.7; }
.faq-answer p:last-child { margin: 0; }

/* --- Contact ---------------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(30px, 6vw, 90px); }
.contact-card { display: grid; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .ci-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--c-cream); color: var(--c-primary); display: grid; place-items: center; flex-shrink: 0; }
.contact-item h3 { font-family: var(--f-body); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--c-muted); margin: 0 0 4px; font-weight: 600; }
.contact-item p, .contact-item a { margin: 0; font-size: 17px; color: var(--c-ink); }
.contact-item a:hover { color: var(--c-primary); }
.contact-form-box { background: var(--c-softer); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); }
.contact-form-box h2 { font-family: var(--f-display); font-weight: 400; color: var(--c-primary); font-size: clamp(36px, 4vw, 52px); line-height: .95; margin-bottom: 26px; }

/* --- Carte (consentement) ------------------------------------------------------------ */
.map-block { position: relative; background: var(--c-soft); }
.map-placeholder { height: 100%; min-height: inherit; display: grid; place-items: center; text-align: center; padding: 30px; background: var(--c-cream) url("../img/tree.png") center / 220px no-repeat; background-blend-mode: luminosity; }
.map-placeholder > div { background: rgba(255, 255, 255, .94); padding: 26px 30px; border-radius: var(--radius-lg); max-width: 460px; box-shadow: var(--shadow-sm); }
.map-placeholder p { font-size: 15px; }
.map-block iframe { width: 100%; height: 100%; min-height: inherit; border: 0; display: block; }

/* --- Bandeau CTA, galerie, newsletter -------------------------------------------- */
.cta-band { position: relative; overflow: hidden; color: #fff; text-align: center; padding-block: clamp(70px, 10vw, 140px); background: var(--c-primary); }
.cta-band .cta-bg { position: absolute; inset: 0; }
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .cta-bg::after { content: ""; position: absolute; inset: 0; background: rgba(22, 21, 21, .5); }
.cta-band .container { position: relative; }
.cta-band .display-title { color: #fff; }
.cta-band p { max-width: 640px; margin: 18px auto 0; font-size: 18px; }
.gallery-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 14px; }
.gallery-grid a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.06); }
.newsletter-band { text-align: center; }
.newsletter-band form { display: flex; gap: 10px; max-width: 560px; margin: 26px auto 0; flex-wrap: wrap; }
.newsletter-band form .input { flex: 1 1 220px; }

/* --- Boutique : mise en page -------------------------------------------------------- */
.shop-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); padding-block: clamp(36px, 5vw, 64px) clamp(60px, 8vw, 100px); }
.shop-sidebar { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; scrollbar-width: thin; padding-right: 4px; }
.filter-block { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--c-line); }
.filter-block:last-child { border-bottom: 0; }
.filter-title { font-family: var(--f-body); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--c-ink); margin: 0 0 14px; }
.cat-tree, .cat-tree ul { list-style: none; margin: 0; padding: 0; }
.cat-tree ul { padding-left: 14px; margin: 2px 0 6px; border-left: 1px solid var(--c-line); }
.cat-tree a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0 6px 2px; font-size: 15px; color: var(--c-text); line-height: 1.35; }
.cat-tree a:hover, .cat-tree a.is-active { color: var(--c-primary); }
.cat-tree a.is-active { font-weight: 600; }
.cat-tree .count { font-size: 12px; color: var(--c-muted); background: var(--c-softer); border-radius: 999px; padding: 1px 8px; min-width: 28px; text-align: center; }
.price-filter { display: flex; align-items: center; gap: 8px; }
.price-filter .input { min-height: 42px; padding: 8px 10px; font-size: 14px; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.shop-count { font-size: 15px; color: var(--c-muted); margin: 0; }
.shop-toolbar .select { width: auto; min-height: 42px; padding-block: 8px; font-size: 14px; }
.toolbar-right { display: flex; gap: 10px; align-items: center; }
.filters-toggle { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -10px 0 22px; }
.active-filters .chip .icon { width: 14px; height: 14px; }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.empty-state { text-align: center; padding: 60px 20px; background: var(--c-softer); border-radius: var(--radius-lg); }
.empty-state .icon { margin: 0 auto 16px; color: var(--c-accent-dark); width: 44px; height: 44px; }
.empty-state h2 { font-size: 22px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--radius); display: grid; place-items: center; border: 1px solid var(--c-line); color: var(--c-ink); font-weight: 500; font-size: 15px; }
.pagination a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pagination .is-current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pagination .dots { border: 0; }
.category-description { max-width: 760px; margin: 0 auto 32px; text-align: center; }

/* --- Fiche produit ----------------------------------------------------------------- */
.product-page { padding-block: clamp(28px, 4vw, 56px) clamp(50px, 7vw, 90px); }
.product-top { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.gallery-main { position: relative; aspect-ratio: 1 / 1; background: var(--c-softer); border-radius: var(--radius-lg); overflow: hidden; cursor: zoom-in; }
.gallery-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s, transform .35s; }
.gallery-main.is-cover img { object-fit: cover; }
.gallery-main .pc-badges { top: 18px; left: 18px; }
.gallery-zoom-hint { position: absolute; right: 16px; bottom: 16px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--c-ink); box-shadow: var(--shadow-sm); pointer-events: none; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; margin-top: 12px; }
.gallery-thumbs button { aspect-ratio: 1; padding: 0; border: 1.5px solid transparent; border-radius: var(--radius); overflow: hidden; background: var(--c-softer); transition: border-color .2s; }
.gallery-thumbs button.is-active { border-color: var(--c-primary); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-summary { position: sticky; top: calc(var(--header-h) + 24px); }
.product-cats { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 10px; }
.product-cats a { font-size: 13px; text-transform: uppercase; letter-spacing: .13em; color: var(--c-accent-dark); font-weight: 600; }
.product-title { font-family: var(--f-head); font-size: clamp(27px, 3vw, 38px); font-weight: 400; line-height: 1.15; margin: 0 0 16px; letter-spacing: -.015em; }
.product-price { font-size: clamp(22px, 2.2vw, 27px); margin-bottom: 14px; }
.product-price .price { font-size: inherit; }
.stock-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--c-success-soft); color: var(--c-success); }
.stock-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock-badge.low { background: var(--c-warning-soft); color: var(--c-warning); }
.stock-badge.out { background: var(--c-danger-soft); color: var(--c-danger); }
.stock-badge.backorder { background: var(--c-warning-soft); color: #7D5418; }
.product-short { margin: 22px 0 0; font-size: 16.5px; }
.product-form { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--c-line); }
.variation-group { margin-bottom: 22px; }
.variation-group .vg-label { font-size: 14px; font-weight: 600; color: var(--c-ink); margin-bottom: 10px; display: flex; gap: 6px; }
.variation-group .vg-label span { font-weight: 400; color: var(--c-muted); }
.var-options { display: flex; flex-wrap: wrap; gap: 8px; }
.var-option { position: relative; }
.var-option input { position: absolute; opacity: 0; pointer-events: none; }
.var-option span { display: inline-flex; flex-direction: column; align-items: center; min-width: 82px; padding: 10px 16px; border: 1.5px solid var(--c-line-strong); border-radius: var(--radius); font-size: 15px; font-weight: 500; color: var(--c-ink); cursor: pointer; transition: all .2s; text-align: center; line-height: 1.25; }
.var-option span small { font-size: 12.5px; font-weight: 400; color: var(--c-muted); margin-top: 2px; }
.var-option input:checked + span { border-color: var(--c-primary); background: var(--c-cream); box-shadow: inset 0 0 0 1px var(--c-primary); }
.var-option input:focus-visible + span { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.var-option.is-out span { color: var(--c-muted); text-decoration: line-through; border-style: dashed; }
.buy-row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--c-line-strong); border-radius: var(--radius); background: #fff; height: 52px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; display: grid; place-items: center; color: var(--c-ink); }
.qty button:hover { color: var(--c-primary); }
.qty input { width: 46px; height: 100%; border: 0; text-align: center; font-weight: 600; font-size: 16px; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.qty-sm { height: 40px; }
.qty.qty-sm button { width: 34px; }
.qty.qty-sm input { width: 36px; font-size: 15px; }
.buy-row .btn { flex: 1; min-height: 52px; min-width: 200px; }
.stock-alert { margin-top: 18px; padding: 20px; border-radius: var(--radius-lg); background: var(--c-cream); border: 1px solid var(--c-line); }
.stock-alert h3 { font-size: 16px; margin-bottom: 6px; }
.stock-alert p { font-size: 14.5px; }
.stock-alert form { display: flex; gap: 8px; flex-wrap: wrap; }
.stock-alert .input { flex: 1 1 200px; min-height: 46px; }
.product-reassure { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.product-reassure li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.product-reassure .icon { color: var(--c-accent-dark); }
.product-share { display: flex; gap: 8px; align-items: center; margin-top: 24px; font-size: 14px; color: var(--c-muted); }
.product-share a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--c-line); display: grid; place-items: center; color: var(--c-ink); }
.product-share a:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.product-sku { font-size: 13px; color: var(--c-muted); margin-top: 14px; }
.product-tabs { margin-top: clamp(44px, 6vw, 80px); }
.tabs-nav { display: flex; gap: 6px; border-bottom: 1px solid var(--c-line); overflow-x: auto; scrollbar-width: none; }
.tabs-nav button { padding: 14px 20px; border: 0; background: none; font-family: var(--f-head); font-size: 16px; color: var(--c-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs-nav button.is-active, .tabs-nav button:hover { color: var(--c-ink); border-bottom-color: var(--c-primary); }
.tab-panel { padding: 30px 0 0; max-width: 860px; }
.tab-panel[hidden] { display: none; }
.specs-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.specs-table th, .specs-table td { padding: 13px 0; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.specs-table th { width: 38%; color: var(--c-ink); font-weight: 600; padding-right: 20px; }
.specs-table td em { color: var(--c-muted); }
.related { margin-top: clamp(56px, 8vw, 100px); }
.related h2 { font-family: var(--f-display); font-weight: 400; color: var(--c-primary); font-size: clamp(38px, 4.4vw, 56px); line-height: .95; margin-bottom: 32px; }

/* Visionneuse (lightbox) */
.lightbox { position: fixed; inset: 0; z-index: 600; background: rgba(15, 12, 10, .94); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 4px; box-shadow: var(--shadow-lg); user-select: none; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .8); font-size: 14px; }

/* --- Panier ---------------------------------------------------------------------------- */
.cart-page, .checkout-page, .account-page, .thanks-page { padding-block: clamp(32px, 5vw, 64px) clamp(60px, 8vw, 100px); }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.cart-items { border-top: 1px solid var(--c-line); }
.cart-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px 22px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--c-line); }
.cart-item-img { width: 96px; height: 96px; border-radius: var(--radius); overflow: hidden; background: var(--c-softer); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-family: var(--f-head); font-size: 16.5px; color: var(--c-ink); line-height: 1.35; }
.cart-item-name:hover { color: var(--c-primary); }
.cart-item-var { font-size: 14px; color: var(--c-muted); margin-top: 2px; }
.cart-item-unit { font-size: 14px; color: var(--c-text); margin-top: 4px; }
.cart-item-actions { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.cart-item-total { font-weight: 600; color: var(--c-ink); font-size: 16px; text-align: right; white-space: nowrap; }
.link-remove { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; padding: 0; font-size: 13.5px; color: var(--c-muted); }
.link-remove:hover { color: var(--c-danger); }
.summary-box { position: sticky; top: calc(var(--header-h) + 20px); background: var(--c-softer); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); }
.summary-box h2 { font-size: 20px; margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; font-size: 15.5px; }
.summary-row.total { border-top: 1px solid var(--c-line-strong); margin-top: 10px; padding-top: 16px; font-size: 19px; font-weight: 700; color: var(--c-ink); }
.summary-row .muted { color: var(--c-muted); font-size: 14px; }
.summary-row.discount { color: var(--c-success); }
.coupon-form { display: flex; gap: 8px; margin: 14px 0 6px; }
.coupon-form .input { min-height: 44px; text-transform: uppercase; }
.coupon-form .btn { min-height: 44px; }
.shipping-options { display: grid; gap: 8px; margin: 8px 0 4px; }
.ship-option { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; border: 1px solid var(--c-line-strong); border-radius: var(--radius); background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.ship-option:has(input:checked) { border-color: var(--c-primary); box-shadow: inset 0 0 0 1px var(--c-primary); }
.ship-option input { margin-top: 3px; accent-color: var(--c-primary); width: 17px; height: 17px; flex-shrink: 0; }
.ship-option .so-body { flex: 1; min-width: 0; }
.ship-option .so-title { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; font-weight: 600; color: var(--c-ink); line-height: 1.35; }
.ship-option .so-desc { font-size: 13.5px; color: var(--c-muted); margin-top: 3px; line-height: 1.45; }
.free-progress { margin: 6px 0 18px; font-size: 14px; color: var(--c-ink); }
.free-progress .bar { height: 6px; border-radius: 4px; background: var(--c-line); margin-top: 8px; overflow: hidden; }
.free-progress .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--c-accent), var(--c-primary)); border-radius: 4px; transition: width .5s var(--ease); }
.reassure-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 9px; font-size: 14px; }
.reassure-list li { display: flex; gap: 10px; align-items: center; }
.reassure-list .icon { color: var(--c-success); }
.pay-logos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.pay-logos img { height: 24px; width: auto; border-radius: 3px; }
.cart-empty { text-align: center; padding: clamp(50px, 8vw, 100px) 20px; }
.cart-empty .icon { margin: 0 auto 18px; color: var(--c-accent-dark); width: 56px; height: 56px; stroke-width: 1.2; }
.cart-empty .display-title { margin-bottom: 14px; }
.notice-list { margin-bottom: 22px; }

/* --- Commande (checkout) ------------------------------------------------------------- */
.checkout-steps { display: grid; gap: 22px; }
.co-section { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); }
.co-section h2 { display: flex; align-items: center; gap: 12px; font-size: 19px; margin-bottom: 20px; }
.co-section h2 .step { width: 30px; height: 30px; border-radius: 50%; background: var(--c-primary); color: #fff; font-size: 14px; font-family: var(--f-body); font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.co-login-hint { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 18px; border-radius: var(--radius); background: var(--c-cream); border: 1px solid var(--c-line); font-size: 15px; }
.co-login-form { display: none; margin-top: 14px; }
.co-login-form.is-open { display: block; }
.pay-options { display: grid; gap: 10px; }
.pay-option { border: 1px solid var(--c-line-strong); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.pay-option:has(input:checked) { border-color: var(--c-primary); box-shadow: inset 0 0 0 1px var(--c-primary); }
.pay-option.is-unavailable { opacity: .55; }
.pay-option label { display: flex; align-items: center; gap: 12px; padding: 15px 16px; cursor: pointer; }
.pay-option input { accent-color: var(--c-primary); width: 17px; height: 17px; flex-shrink: 0; margin: 0; }
.pay-option .po-title { flex: 1; font-weight: 600; color: var(--c-ink); font-size: 15.5px; }
.pay-option .po-logos { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.pay-option .po-logos img { height: 22px; width: auto; }
.pay-option .po-desc { display: none; padding: 0 16px 15px 45px; font-size: 14px; color: var(--c-text); }
.pay-option:has(input:checked) .po-desc { display: block; }
.pay-option .po-reason { font-size: 13px; color: var(--c-muted); padding: 0 16px 14px 45px; }
.co-items { display: grid; gap: 14px; margin-bottom: 18px; }
.co-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; font-size: 14.5px; }
.co-item-img { position: relative; width: 60px; height: 60px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-line); }
.co-item-img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.co-item-img .q { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--c-primary); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; padding: 0 6px; }
.co-item-name { color: var(--c-ink); line-height: 1.35; }
.co-item-name small { display: block; color: var(--c-muted); }
.co-terms { margin: 18px 0; font-size: 14.5px; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 13.5px; color: var(--c-muted); }

/* --- Merci / suivi de commande -------------------------------------------------------- */
.thanks-hero { text-align: center; max-width: 760px; margin: 0 auto clamp(30px, 5vw, 50px); }
.thanks-check { width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; background: var(--c-success-soft); color: var(--c-success); display: grid; place-items: center; }
.thanks-check .icon { width: 38px; height: 38px; stroke-width: 2; }
.thanks-hero .display-title { margin-bottom: 14px; }
.order-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 30px; }
.order-meta div { background: #fff; padding: 18px 20px; }
.order-meta small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--c-muted); margin-bottom: 4px; }
.order-meta strong { color: var(--c-ink); font-size: 16px; }
.thanks-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 30px; align-items: start; }
.pay-box { border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); background: var(--c-cream); margin-bottom: 26px; }
.pay-box h2 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.pay-rows { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; font-size: 15.5px; margin: 16px 0; }
.pay-rows dt { color: var(--c-muted); }
.pay-rows dd { margin: 0; color: var(--c-ink); font-weight: 600; word-break: break-word; }
.copy-btn { border: 0; background: none; color: var(--c-primary); padding: 0 0 0 6px; vertical-align: middle; }
.twint-qr { max-width: 220px; border-radius: var(--radius); background: #fff; padding: 10px; }
.order-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.order-table th, .order-table td { padding: 12px 0; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.order-table th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--c-muted); font-weight: 600; }
.order-table td.num, .order-table th.num { text-align: right; white-space: nowrap; }
.order-table tfoot td { border-bottom: 0; padding: 7px 0; }
.order-table tfoot tr.total td { border-top: 2px solid var(--c-ink); padding-top: 14px; font-weight: 700; font-size: 17px; color: var(--c-ink); }
.addr-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.addr-card { border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 20px; font-size: 15px; }
.addr-card h3 { font-size: 15px; font-family: var(--f-body); font-weight: 700; margin-bottom: 8px; }
.order-status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--c-soft); color: var(--c-ink); }
.order-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-orange { background: var(--c-warning-soft); color: #8A5A16; }
.st-blue { background: #E6EEF7; color: #2D5A8A; }
.st-purple { background: #EFE8F6; color: #5F3F86; }
.st-teal { background: #E2F2EF; color: #2B6B61; }
.st-green { background: var(--c-success-soft); color: var(--c-success); }
.st-red { background: var(--c-danger-soft); color: var(--c-danger); }
.st-grey { background: var(--c-soft); color: var(--c-muted); }
.create-account-box { border: 1px dashed var(--c-line-strong); border-radius: var(--radius-lg); padding: 22px; margin-top: 22px; }

/* QR-facture */
.qrbill { display: grid; grid-template-columns: 62mm 1fr; background: #fff; color: #000; border: 1px dashed #999; font-family: Arial, Helvetica, sans-serif; font-size: 10pt; line-height: 1.3; max-width: 210mm; margin: 18px 0; overflow: hidden; }
.qrbill h5 { font-size: 11pt; font-weight: 700; margin: 0 0 10px; font-family: Arial, sans-serif; color: #000; }
.qrbill h6 { font-size: 8pt; font-weight: 700; margin: 8px 0 1px; font-family: Arial, sans-serif; color: #000; text-transform: none; letter-spacing: 0; }
.qrbill p { margin: 0; font-size: 9.5pt; }
.qrbill-receipt { padding: 5mm; border-right: 1px dashed #999; }
.qrbill-payment { padding: 5mm; display: grid; grid-template-columns: 56mm 1fr; gap: 5mm; }
.qrbill-code { width: 46mm; height: 46mm; margin: 4mm 0; }
.qrbill-amount { display: flex; gap: 8mm; margin-top: 4mm; }
.qrbill-accept { text-align: right; font-weight: 700; font-size: 8pt; margin-top: 8mm !important; }

/* --- Compte client ------------------------------------------------------------------- */
.account-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.account-nav { position: sticky; top: calc(var(--header-h) + 20px); background: var(--c-softer); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 10px; }
.account-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--radius); color: var(--c-ink); font-size: 15px; }
.account-nav a:hover { background: #fff; color: var(--c-primary); }
.account-nav a.is-active { background: var(--c-primary); color: #fff; }
.account-hello { font-family: var(--f-display); font-size: clamp(38px, 4.5vw, 56px); color: var(--c-primary); line-height: .95; margin-bottom: 12px; }
.account-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0 36px; }
.account-card { border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 22px; color: var(--c-ink); display: block; transition: border-color .2s, box-shadow .2s; }
.account-card:hover { border-color: var(--c-primary); box-shadow: var(--shadow-sm); color: var(--c-ink); }
.account-card .icon { color: var(--c-accent-dark); margin-bottom: 12px; width: 28px; height: 28px; }
.account-card strong { display: block; font-size: 16px; }
.account-card span { font-size: 14px; color: var(--c-muted); }
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); max-width: 1040px; margin: 0 auto; }
.auth-box { border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); background: #fff; }
.auth-box h2 { font-family: var(--f-display); font-weight: 400; color: var(--c-primary); font-size: clamp(34px, 3.5vw, 46px); line-height: .95; margin-bottom: 8px; }
.auth-box.single { max-width: 520px; margin: 0 auto; }
.auth-box.alt { background: var(--c-cream); }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.data-table th, .data-table td { padding: 14px 10px; border-bottom: 1px solid var(--c-line); text-align: left; }
.data-table th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--c-muted); font-weight: 600; }

/* --- Pied de page ---------------------------------------------------------------------- */
.site-footer { background: var(--c-dark); color: #BDB8B2; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1.4fr; gap: clamp(30px, 4vw, 60px); padding-block: clamp(56px, 7vw, 90px) clamp(40px, 5vw, 60px); }
.footer-logo img { height: 64px; width: auto; margin-bottom: 20px; }
.footer-about { max-width: 320px; line-height: 1.7; }
.site-footer h2 { font-family: var(--f-head); font-size: 15px; font-weight: 500; color: #fff; text-transform: uppercase; letter-spacing: .14em; margin: 8px 0 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #DDD8D2; transition: color .2s; }
.site-footer a:hover { color: var(--c-accent); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--c-accent); margin-top: 3px; }
.footer-socials { display: flex; gap: 8px; margin-top: 22px; }
.footer-socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); display: grid; place-items: center; }
.footer-socials a:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-ink); }
.footer-news p { margin-bottom: 16px; line-height: 1.6; }
.footer-news .input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; min-height: 46px; margin-bottom: 10px; }
.footer-news .input::placeholder { color: #8f8a85; }
.footer-news .input:focus { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(226, 184, 116, .2); }
.footer-news .check { font-size: 13px; color: #A9A39D; margin: 4px 0 14px; }
.footer-news .check input { background: transparent; border-color: rgba(255, 255, 255, .3); }
.footer-news .check a { color: #DDD8D2; text-decoration: underline; }
.footer-news .form-msg.ok { color: #9ED3A8; }
.footer-news .form-msg.err { color: #F2A99E; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 30px; flex-wrap: wrap; padding-block: 22px; font-size: 13.5px; color: #8F8A85; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.footer-legal a, .footer-legal button { color: #A9A39D; background: none; border: 0; padding: 0; font-size: 13.5px; }
.footer-legal a:hover, .footer-legal button:hover { color: var(--c-accent); }
.footer-pay { display: flex; gap: 6px; align-items: center; }
.footer-pay img { height: 22px; width: auto; border-radius: 3px; }
.footer-credit a { color: #A9A39D; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--c-primary); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-dark); }

/* --- Mini-panier ---------------------------------------------------------------------- */
.mc-items { display: grid; gap: 16px; }
.mc-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: start; }
.mc-item img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius); background: var(--c-softer); }
.mc-item a.mc-name { font-family: var(--f-head); font-size: 15px; color: var(--c-ink); line-height: 1.3; display: block; }
.mc-item small { color: var(--c-muted); font-size: 13px; display: block; }
.mc-item .qty { margin-top: 8px; }
.mc-price { font-weight: 600; color: var(--c-ink); font-size: 15px; white-space: nowrap; }
.mc-empty { text-align: center; padding: 50px 10px; }
.mc-empty .icon { margin: 0 auto 14px; width: 48px; height: 48px; color: var(--c-accent-dark); stroke-width: 1.2; }
.mc-subtotal { display: flex; justify-content: space-between; font-size: 17px; font-weight: 700; color: var(--c-ink); margin-bottom: 4px; }
.mc-note { font-size: 13px; color: var(--c-muted); margin-bottom: 14px; }
.mc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* --- Notifications (toasts) --------------------------------------------------------------- */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 700; display: grid; gap: 10px; width: min(460px, calc(100vw - 32px)); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius-lg); background: var(--c-dark); color: #fff; font-size: 15px; box-shadow: var(--shadow-lg); animation: toastIn .35s var(--ease); pointer-events: auto; }
.toast.err { background: var(--c-danger); }
.toast.ok .icon { color: #9ED3A8; }
.toast a { color: var(--c-accent); font-weight: 600; margin-left: auto; white-space: nowrap; }
.toast.is-leaving { animation: toastOut .3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(14px); } }

/* --- Bandeau cookies ------------------------------------------------------------------------ */
.cookie-banner { position: fixed; left: 20px; bottom: 20px; z-index: 800; width: min(440px, calc(100vw - 40px)); background: #fff; border-radius: 14px; box-shadow: 0 20px 60px rgba(20, 14, 10, .25); padding: 24px; display: none; border: 1px solid var(--c-line); }
.cookie-banner.is-visible { display: block; animation: toastIn .4s var(--ease); }
.cookie-banner h2 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 8px; }
.cookie-banner h2 .icon { color: var(--c-accent-dark); }
.cookie-banner p { font-size: 14px; line-height: 1.55; margin-bottom: 16px; }
.cookie-banner p a { text-decoration: underline; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie-actions .btn { min-height: 42px; padding: 9px 14px; font-size: 14px; }
.cookie-actions .btn-link { grid-column: 1 / -1; justify-self: center; font-size: 14px; margin-top: 4px; }
.modal { position: fixed; inset: 0; z-index: 850; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.is-open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(22, 21, 21, .5); }
.modal-dialog { position: relative; background: #fff; border-radius: 14px; width: min(560px, 100%); max-height: 90vh; overflow-y: auto; padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow-lg); animation: toastIn .3s var(--ease); }
.modal-dialog h2 { font-size: 21px; margin-bottom: 10px; padding-right: 40px; }
.modal-close { position: absolute; top: 14px; right: 14px; }
.consent-cat { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.consent-cat strong { color: var(--c-ink); display: block; margin-bottom: 3px; }
.consent-cat p { font-size: 14px; margin: 0; }
.switch { position: relative; flex-shrink: 0; width: 46px; height: 26px; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; border-radius: 13px; background: var(--c-line-strong); transition: background .2s; cursor: pointer; }
.switch span::before { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.switch input:checked + span { background: var(--c-primary); }
.switch input:checked + span::before { transform: translateX(20px); }
.switch input:disabled + span { opacity: .6; cursor: not-allowed; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; flex-wrap: wrap; }

/* --- Page 404, maintenance ----------------------------------------------------------- */
.error-page { text-align: center; padding-block: clamp(70px, 12vw, 150px); }
.error-page .display-title { font-size: clamp(64px, 10vw, 130px); }

/* --- Animations d'apparition ------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --- Responsive ------------------------------------------------------------------------- */
@media (max-width: 1400px) {
  .product-grid.cols-5 { --cols: 4; }
}
@media (max-width: 1280px) {
  .cat-tiles { --cols: 4 !important; }
  .mega-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1140px) {
  :root { --header-h: 72px; }
  .main-nav, .header-cart-total { display: none; }
  .burger { display: inline-grid; margin-left: -10px; }
  .header-inner { gap: 10px; }
  .site-logo img { height: 46px; }
  .site-header.is-scrolled .site-logo img { height: 42px; }
  .site-header.is-scrolled .header-inner { height: 64px; }
  .product-grid.cols-4, .product-grid.cols-5 { --cols: 3; }
  .shop-layout { grid-template-columns: minmax(0, 1fr); }
  .shop-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 320; width: min(360px, 90vw); max-height: none; background: #fff; padding: 22px; transform: translateX(-100%); transition: transform .35s var(--ease); box-shadow: var(--shadow-lg); }
  .shop-sidebar.is-open { transform: none; }
  .filters-toggle { display: inline-flex; }
  .sidebar-head { display: flex !important; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cart-layout, .checkout-layout, .thanks-layout { grid-template-columns: minmax(0, 1fr); }
  .summary-box { position: static; }
  .checkout-layout .summary-col { order: -1; }
}
@media (max-width: 1024px) {
  .cat-tiles { --cols: 3 !important; }
  .hero { grid-template-columns: 1fr; }
  .hero-media { order: -1; min-height: 52vh; }
  .hero-text { padding: 56px var(--gutter) 64px; }
  .hero-watermark { width: 60%; right: -10%; }
  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 60vw; max-height: 560px; }
  .split.reverse .split-media { order: 0; }
  .split-text { padding: 56px var(--gutter); }
  .product-top { grid-template-columns: minmax(0, 1fr); }
  .product-summary { position: static; }
  .faq-layout, .contact-layout { grid-template-columns: 1fr; }
  .features { --cols: 2 !important; }
  .reviews-track { grid-auto-columns: calc((100% - 24px) / 2); }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { position: static; display: flex; overflow-x: auto; gap: 4px; }
  .account-nav a { white-space: nowrap; }
  .mega { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .product-grid, .product-grid.cols-3, .product-grid.cols-4, .product-grid.cols-5 { --cols: 2; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .counters { --cols: 1 !important; gap: 34px; }
  .reviews-track { grid-auto-columns: 86%; }
  .order-meta { grid-template-columns: 1fr 1fr; }
  .addr-cards, .auth-layout, .account-cards { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 80px minmax(0, 1fr); }
  .cart-item-img { width: 80px; height: 80px; }
  .cart-item-total { grid-column: 2; text-align: left; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .qrbill { grid-template-columns: 1fr; font-size: 9pt; }
  .qrbill-receipt { border-right: 0; border-bottom: 1px dashed #999; }
  .qrbill-payment { grid-template-columns: 1fr; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; width: auto; }
  .pc-quick { opacity: 1; transform: none; width: 40px; height: 40px; padding: 0; justify-content: center; right: 8px; bottom: 8px; }
  .pc-quick .pc-quick-label { display: none; }
  .buy-row .btn { min-width: 0; }
  .tabs-nav button { padding: 12px 14px; font-size: 15px; }
  .faq-answer { padding-right: 0; }
  .mc-actions { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cat-tiles { --cols: 2 !important; gap: 10px; }
  .cat-tile { aspect-ratio: 1 / 1; gap: 12px; padding: 10px; }
  .cat-tile-title { font-size: 19px; }
  .cat-tile-btn { padding: 6px 11px; font-size: 13px; gap: 6px; }
  .cat-tile-btn .icon { width: 14px; height: 14px; }
  .features { --cols: 1 !important; }
  .hero-title { font-size: 52px; }
  .header-actions .icon-btn { width: 40px; height: 40px; }
  .site-logo img { height: 40px; }
}

/* --- Impression ------------------------------------------------------------------------------ */
@media print {
  .announce, .site-header, .site-footer, .cookie-banner, .to-top, .no-print, .btn, .toasts { display: none !important; }
  body { color: #000; }
  .thanks-layout { grid-template-columns: 1fr; }
  .qrbill { border: 1px dashed #000; break-inside: avoid; }
}

/* --- Compléments ---------------------------------------------------------------------------- */
/* Tuiles sur images claires (illustrations) : texte brun, sans voile */
.cat-tile.tone-light::before { background: rgba(255, 255, 255, 0); }
.cat-tile.tone-light::after { background: none; }
.cat-tile.tone-light:hover::before { background: rgba(255, 255, 255, 0); }
.cat-tile.tone-light .cat-tile-title { color: var(--c-primary); text-shadow: 0 0 10px #fff, 0 0 3px #fff, 0 0 1px #fff; }
.cat-tile.tone-light .cat-tile-btn { border-color: var(--c-primary); color: var(--c-primary); background: rgba(255, 255, 255, .28); text-shadow: 0 0 6px #fff; -webkit-backdrop-filter: blur(1.5px); backdrop-filter: blur(1.5px); }
.cat-tile.tone-light:hover .cat-tile-btn { background: var(--c-primary); color: #fff; }
.cat-tile.tone-dark .cat-tile-title { text-shadow: 0 1px 3px rgba(0, 0, 0, .55), 0 0 22px rgba(0, 0, 0, .4); }

.sidebar-head { display: none; }
.filters-backdrop { position: fixed; inset: 0; z-index: 310; background: rgba(22, 21, 21, .45); opacity: 0; visibility: hidden; transition: opacity .3s; }
.filters-backdrop.is-open { opacity: 1; visibility: visible; }

/* Récapitulatif de commande repliable (mobile) */
.co-summary > summary { display: none; list-style: none; }
.co-summary > summary::-webkit-details-marker { display: none; }
@media (max-width: 1140px) {
  .co-summary > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; color: var(--c-ink); }
  .co-summary > summary span { display: inline-flex; align-items: center; gap: 8px; }
  .co-summary[open] > summary { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--c-line); }
  .co-summary > h2 { display: none; }
}
.page-checkout .checkout-layout .summary-col { order: 0; }
@media (max-width: 1140px) { .page-checkout .checkout-layout .summary-col { order: -1; } }

.cat-tree a.is-empty { color: var(--c-muted); }
.cat-tree .count.soon { background: transparent; font-size: 11px; font-style: italic; padding: 0; min-width: 0; }
@media (max-width: 760px) { .hero-dots { display: none; } .hero-badge { left: 50%; transform: translateX(-50%); bottom: 18px; white-space: nowrap; } }
