/* ==========================================================================
   Supérette Jalal — main.css
   Tokens → base → boutons → header → hero → sections → cartes → panneau produit
   → panier → commande express → footer → WooCommerce → responsive
   ========================================================================== */

:root {
	--green-950: #062A1F;
	--green-900: #0B3D2E;
	--green-800: #0F4D3A;
	--green-700: #13624A;
	--green-600: #1A7A5C;
	--green-100: #E4F2E9;
	--green-50: #F1F8F3;
	--sun-500: #F4A51C;
	--sun-400: #F8B93F;
	--sun-100: #FFEFD1;
	--tomato: #D9482B;
	--wa: #1FA855;
	--wa-dark: #137A3E;
	--wa-soft: #E8F7EE;

	--bg: #FBF8F1;
	--surface: #FFFFFF;
	--surface-2: #F5F1E7;
	--ink: #16211C;
	--ink-2: #34423B;
	--muted: #5B6A62;
	--line: #E7E1D3;
	--line-2: #D9D2C1;
	--danger: #B42318;
	--focus: #F4A51C;

	--f-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
	--f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--r-sm: 10px;
	--r-md: 16px;
	--r-lg: 24px;
	--r-xl: 32px;
	--r-pill: 999px;
	--sh-1: 0 1px 2px rgba(22, 33, 28, .06), 0 1px 1px rgba(22, 33, 28, .04);
	--sh-2: 0 6px 18px -6px rgba(22, 33, 28, .14), 0 2px 6px rgba(22, 33, 28, .05);
	--sh-3: 0 22px 48px -16px rgba(11, 61, 46, .28), 0 6px 14px -6px rgba(22, 33, 28, .10);
	--container: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 84px;

	--ease-out: cubic-bezier(.22, 1, .36, 1);
	--ease-in: cubic-bezier(.55, 0, 1, .45);
	--ease-spring: cubic-bezier(.34, 1.56, .64, 1);
	--t-fast: 160ms;
	--t-med: 320ms;

	--z-header: 50;
	--z-fab: 60;
	--z-drawer: 80;
	--z-modal: 90;
	--z-co: 95;
	--z-fly: 120;
	--z-toast: 130;
	--admin-bar: 0px;
}
.admin-bar { --admin-bar: 32px; }
@media (max-width: 782px) { .admin-bar { --admin-bar: 46px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--admin-bar) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.is-locked { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; touch-action: manipulation; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.12; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sun-400); color: var(--green-950); }
.ico { width: 20px; height: 20px; flex: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.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: 16px; top: -60px; z-index: 999; background: var(--green-900); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); transition: top var(--t-fast); }
.skip-link:focus { top: 12px; }
[hidden] { display: none !important; }

/* ---------- Boutons ---------- */
.btn {
	--btn-bg: var(--surface); --btn-ink: var(--ink); --btn-bd: var(--line-2);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); border: 1.5px solid var(--btn-bd);
	background: var(--btn-bg); color: var(--btn-ink);
	font-weight: 700; font-size: 15px; letter-spacing: .01em; white-space: nowrap;
	cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
	transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease-out), background-color var(--t-med), border-color var(--t-med), color var(--t-med);
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.3) 50%, transparent 70%); transform: translateX(-120%); transition: transform 700ms var(--ease-out); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn:active { transform: translateY(0) scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { --btn-bg: var(--green-900); --btn-ink: #fff; --btn-bd: var(--green-900); }
.btn--primary:hover { --btn-bg: var(--green-700); --btn-bd: var(--green-700); box-shadow: 0 12px 24px -10px rgba(19, 98, 74, .6); }
.btn--wa { --btn-bg: var(--wa); --btn-ink: #fff; --btn-bd: var(--wa); }
.btn--wa:hover { --btn-bg: var(--wa-dark); --btn-bd: var(--wa-dark); box-shadow: 0 12px 24px -10px rgba(31, 168, 85, .6); }
.btn--wa-soft { --btn-bg: var(--wa-soft); --btn-ink: var(--wa-dark); --btn-bd: #BFE6CD; }
.btn--wa-soft:hover { --btn-bg: var(--wa); --btn-ink: #fff; --btn-bd: var(--wa); box-shadow: 0 12px 24px -10px rgba(31, 168, 85, .55); }
.btn--sun { --btn-bg: var(--sun-500); --btn-ink: var(--green-950); --btn-bd: var(--sun-500); }
.btn--sun:hover { --btn-bg: var(--sun-400); --btn-bd: var(--sun-400); box-shadow: 0 12px 24px -10px rgba(244, 165, 28, .7); }
.btn--ghost { --btn-bg: transparent; --btn-ink: var(--ink); --btn-bd: var(--line-2); }
.btn--ghost:hover { --btn-bg: var(--surface); --btn-bd: var(--ink); }
.btn--light { --btn-bg: rgba(255,255,255,.1); --btn-ink: #fff; --btn-bd: rgba(255,255,255,.35); }
.btn--light:hover { --btn-bg: #fff; --btn-ink: var(--green-900); }
.is-loading { pointer-events: none; }
.btn.is-loading > *, .card__add.is-loading > * { visibility: hidden; }
.btn.is-loading::before, .card__add.is-loading::before { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); background: var(--surface); border: 1px solid var(--line); position: relative; transition: transform var(--t-fast) var(--ease-out), background-color var(--t-med), color var(--t-med), border-color var(--t-med); }
.icon-btn:hover { background: var(--green-900); color: #fff; border-color: var(--green-900); }
.icon-btn:active { transform: scale(.92); }
.icon-btn--soft { background: rgba(255,255,255,.75); border-color: rgba(22,33,28,.08); backdrop-filter: blur(6px); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green-700); padding: 10px 0; white-space: nowrap; }
.link-arrow .ico { transition: transform var(--t-med) var(--ease-out); }
.link-arrow:hover .ico { transform: translateX(5px); }
.link-arrow--light { color: var(--sun-400); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); background: var(--green-100); padding: 6px 12px; border-radius: var(--r-pill); margin-bottom: 14px; }
.eyebrow .ico { width: 16px; height: 16px; }
.eyebrow--light { color: var(--sun-400); background: rgba(255,255,255,.08); }

/* Stepper (quantité) */
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-pill); background: #fff; height: 54px; flex: none; }
.stepper button { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; transition: background-color var(--t-fast), transform var(--t-fast); }
.stepper button:hover { background: var(--green-100); }
.stepper button:active { transform: scale(.9); }
.stepper .ico { width: 18px; height: 18px; }
.stepper input { width: 42px; height: 44px; border: 0; background: none; text-align: center; font-weight: 800; font-size: 17px; padding: 0; -moz-appearance: textfield; appearance: textfield; font-variant-numeric: tabular-nums; }
.stepper input:focus { outline: none; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper--sm { height: 38px; }
.stepper--sm button { width: 34px; height: 34px; }
.stepper--sm .ico { width: 15px; height: 15px; }
.stepper--sm input { width: 30px; height: 32px; font-size: 15px; }

/* ---------- Bandeau ---------- */
.announce { background: var(--green-950); color: #D8EBE0; font-size: 13px; font-weight: 500; overflow: hidden; white-space: nowrap; }
.announce__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.announce__item { display: inline-flex; align-items: center; gap: 10px; padding: 9px 0; }
.announce__item .ico { width: 15px; height: 15px; color: var(--sun-400); }
.announce__sep { opacity: .4; margin: 0 22px; }
.announce:hover .announce__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header / navbar (fixe, morphing au scroll) ---------- */
.site-header { position: sticky; top: var(--admin-bar); z-index: var(--z-header); padding: 12px 0; transition: padding 500ms var(--ease-out); }
.site-header.is-compact { padding: 8px 0; }
.site-header::before { content: ""; position: absolute; inset: 0 0 -12px; z-index: -1; background: linear-gradient(var(--bg) 55%, transparent); opacity: 0; transition: opacity 400ms; pointer-events: none; }
.site-header.is-compact::before { opacity: 1; }
.nav {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
	min-height: 64px; padding: 8px 10px 8px 18px !important;
	width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--container) - 2 * var(--gutter));
	background: rgba(255, 255, 255, .8); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
	border: 1px solid rgba(22, 33, 28, .07); border-radius: var(--r-pill); box-shadow: var(--sh-1);
	transition: box-shadow 500ms var(--ease-out), background-color 500ms, min-height 500ms var(--ease-out), max-width 600ms var(--ease-out);
	animation: navIn 800ms var(--ease-out) both;
}
@keyframes navIn { from { opacity: 0; transform: translateY(-16px) scale(.98); } }
.is-compact .nav { background: rgba(255, 255, 255, .94); box-shadow: var(--sh-3); min-height: 58px; }
.brand { grid-column: 1; grid-row: 1; justify-self: start; display: inline-flex; align-items: center; gap: 10px; }
.nav__links { grid-column: 2; grid-row: 1; justify-self: center; }
.burger { grid-column: 3; grid-row: 1; justify-self: end; }
.nav__actions { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 8px; }
.is-compact .brand { grid-column: 2; justify-self: center; }
.is-compact .nav__links { grid-column: 1; justify-self: start; }
.is-compact .nav__link--home { display: none; }
.is-compact .nav__link { padding: 10px 12px; font-size: 14.5px; }
.nav > * { will-change: transform; }

.brand__logo { max-height: 46px; width: auto; }
.brand__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--green-700), var(--green-900)); color: var(--sun-400); box-shadow: inset 0 -3px 0 rgba(0,0,0,.18); transition: transform var(--t-med) var(--ease-spring); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__mark .ico { width: 24px; height: 24px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--f-display); }
.brand__text small { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-family: var(--f-body); }
.brand__text strong { font-size: 24px; font-weight: 800; color: var(--green-900); letter-spacing: -.02em; }
.brand--light .brand__text small { color: rgba(255,255,255,.6); }
.brand--light .brand__text strong { color: #fff; }

.nav__links { position: relative; display: flex; align-items: center; gap: 2px; }
.nav__link { position: relative; z-index: 1; padding: 10px 15px; border-radius: var(--r-pill); font-weight: 600; font-size: 15px; color: var(--ink-2); white-space: nowrap; transition: color var(--t-med); }
.nav__link:hover { color: var(--green-900); }
.nav__link.is-active { color: #fff; }
.nav__blob { position: absolute; left: 0; top: 50%; height: 42px; margin-top: -21px; width: var(--w, 0); transform: translateX(var(--x, 0)); border-radius: var(--r-pill); background: var(--green-900); opacity: 0; transition: transform 480ms var(--ease-out), width 480ms var(--ease-out), opacity var(--t-med), background-color var(--t-med); }
.nav__links.has-blob .nav__blob { opacity: 1; }
.nav__links.is-hovering .nav__blob { background: var(--green-100); }
.nav__links.is-hovering .nav__link.is-active { color: var(--ink-2); }
.nav__links.is-hovering .nav__link:hover { color: var(--green-900); }

.cart-btn .ico { width: 22px; height: 22px; }
.cart-btn.is-bump { animation: wiggle 700ms var(--ease-out); }
@keyframes wiggle { 20% { transform: scale(1.18) rotate(-10deg); } 45% { transform: scale(1.1) rotate(8deg); } 70% { transform: scale(1.04) rotate(-3deg); } }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 10px; background: var(--sun-500); color: var(--green-950); font-size: 11px; font-weight: 800; border: 2px solid #fff; transition: transform var(--t-med) var(--ease-spring); }
.cart-count[data-count="0"] { transform: scale(0); }
.cart-count.is-bump { animation: bump 500ms var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.5); } }
.nav__cta { transition: padding 400ms var(--ease-out), background-color var(--t-med), transform var(--t-fast); }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--green-900); position: relative; }
.burger span { position: absolute; left: 13px; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform var(--t-med) var(--ease-out), opacity var(--t-fast), width var(--t-med); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; width: 13px; }
.burger span:nth-child(3) { top: 27px; }
.burger:hover span:nth-child(2) { width: 18px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: translateX(-6px); }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Drawer mobile */
.drawer { position: fixed; inset: 0; z-index: var(--z-drawer); visibility: hidden; transition: visibility 0s 460ms; }
.drawer.is-open { visibility: visible; transition: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(6, 42, 31, .5); backdrop-filter: blur(3px); opacity: 0; transition: opacity var(--t-med); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(88vw, 400px); background: var(--bg); display: flex; flex-direction: column; padding: 20px; transform: translateX(-100%); transition: transform 460ms var(--ease-out); border-radius: 0 var(--r-xl) var(--r-xl) 0; overflow-y: auto; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; }
.drawer__links { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; }
.drawer__links a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 16px; font-family: var(--f-display); font-size: 24px; font-weight: 700; border-radius: var(--r-md); opacity: 0; transform: translateX(-24px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out), background-color var(--t-fast); }
.drawer__links a .ico { color: var(--green-700); transition: transform var(--t-med) var(--ease-out); }
.drawer__links a:hover { background: var(--green-100); }
.drawer__links a:hover .ico { transform: translateX(4px); }
.drawer.is-open .drawer__links a { opacity: 1; transform: none; transition-delay: calc(120ms + var(--i) * 50ms); }
.drawer__foot { margin-top: auto; display: grid; gap: 10px; }
.drawer__meta { display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--muted); font-size: 14px; }
.drawer__meta .ico { width: 16px; height: 16px; }

/* ---------- Hero slider ---------- */
.hero { padding: 8px 0 24px; }
.hero__stage { --bg: #E4F2E9; --accent: #13624A; position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; border-radius: var(--r-xl); background: var(--bg); transition: background-color 900ms var(--ease-out); box-shadow: inset 0 0 0 1px rgba(22,33,28,.04); }
.hero__deco { position: absolute; border-radius: 50%; z-index: -1; pointer-events: none; }
.hero__deco--a { width: 520px; height: 520px; right: -140px; top: -180px; background: color-mix(in srgb, var(--accent) 10%, transparent); transition: background-color 900ms; }
.hero__deco--b { width: 220px; height: 220px; left: 38%; bottom: -120px; border: 2px dashed color-mix(in srgb, var(--accent) 30%, transparent); animation: rotate 40s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }
.hero__slides { display: grid; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; padding: clamp(28px, 5vw, 60px) clamp(24px, 5vw, 72px) 12px; visibility: hidden; pointer-events: none; }
.slide.is-active { visibility: visible; pointer-events: auto; }
.slide__text > * { opacity: 0; transform: translateY(26px); transition: opacity 300ms var(--ease-in), transform 300ms var(--ease-in); }
.slide.is-active .slide__text > * { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); }
.slide.is-active .slide__text > :nth-child(1) { transition-delay: 120ms; }
.slide.is-active .slide__text > :nth-child(2) { transition-delay: 200ms; }
.slide.is-active .slide__text > :nth-child(3) { transition-delay: 280ms; }
.slide.is-active .slide__text > :nth-child(4) { transition-delay: 360ms; }
.slide.is-active .slide__text > :nth-child(5) { transition-delay: 440ms; }
.slide__chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--r-pill); background: #fff; color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; box-shadow: var(--sh-1); }
.slide__chip .ico { width: 16px; height: 16px; }
.slide__title { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; margin: 18px 0 14px; color: var(--green-950); max-width: 15ch; }
.slide__desc { color: var(--ink-2); font-size: clamp(16px, 1.3vw, 18px); max-width: 46ch; }
.slide__price { margin: 20px 0 24px; font-size: clamp(28px, 3vw, 38px); color: var(--accent); }
.slide__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.slide__visual { position: relative; display: grid; place-items: center; aspect-ratio: 1; justify-self: center; width: 100%; max-width: 460px; }
.slide__blob { position: absolute; inset: 8%; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; background: linear-gradient(145deg, #fff, color-mix(in srgb, var(--accent) 16%, #fff)); box-shadow: 0 40px 80px -30px color-mix(in srgb, var(--accent) 45%, transparent); animation: morph 12s ease-in-out infinite; transform: scale(.6); opacity: 0; transition: transform 900ms var(--ease-out), opacity 500ms; }
.slide__ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--accent) 25%, transparent); transform: scale(.8); opacity: 0; transition: transform 1100ms var(--ease-out), opacity 600ms; }
@keyframes morph { 50% { border-radius: 56% 44% 42% 58% / 56% 58% 42% 44%; } }
.slide__img { position: absolute; inset: 13%; width: 74%; height: 74%; max-width: none; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(11, 61, 46, .22)); opacity: 0; transform: translateX(60px) rotate(8deg) scale(.85); transition: opacity 350ms var(--ease-in), transform 450ms var(--ease-in); }
.slide.is-active .slide__blob { transform: none; opacity: 1; }
.slide.is-active .slide__ring { transform: scale(1); opacity: 1; }
.slide.is-active .slide__img { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out) 150ms, transform 1000ms var(--ease-spring) 150ms; }
.slide.is-active .slide__img:not(.ph) { animation: float 6s ease-in-out 1.2s infinite; }
@keyframes float { 50% { translate: 0 -14px; } }
.slide__sticker { position: absolute; top: 10%; right: 6%; width: 96px; height: 96px; border-radius: 50%; display: grid; place-content: center; text-align: center; line-height: 1; background: var(--sun-500); color: var(--green-950); box-shadow: var(--sh-2); transform: scale(0) rotate(-40deg); transition: transform 600ms var(--ease-spring) 500ms; }
.slide__sticker b { font-family: var(--f-display); font-size: 26px; font-weight: 800; }
.slide__sticker small { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.slide.is-active .slide__sticker { transform: rotate(-12deg); }
.hero__controls { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 8px clamp(24px, 5vw, 72px) 26px; }
.hero__dots { display: flex; gap: 6px; padding: 0 6px; }
.dot { width: 28px; height: 44px; display: grid; place-items: center; transition: width var(--t-med) var(--ease-out); }
.dot span { display: block; width: 100%; height: 6px; border-radius: 3px; background: rgba(22,33,28,.16); overflow: hidden; position: relative; }
.dot.is-active { width: 64px; }
.dot.is-active span::after { content: ""; position: absolute; inset: 0; background: var(--accent); border-radius: inherit; transform-origin: left; transform: scaleX(0); animation: progress var(--dur, 6s) linear forwards; }
.hero__stage.is-paused .dot.is-active span::after { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }
.hero__pause .i-play { display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: block; }
.hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hero__thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 14px; }
.thumb { display: flex; align-items: center; gap: 12px; padding: 10px; text-align: left; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md); transition: border-color var(--t-med), transform var(--t-med) var(--ease-out), box-shadow var(--t-med); animation: rise 700ms var(--ease-out) both; animation-delay: calc(300ms + var(--i) * 70ms); }
.thumb:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.thumb.is-active { border-color: var(--green-700); box-shadow: 0 0 0 3px var(--green-100); }
.thumb__img { width: 52px; height: 52px; border-radius: 12px; background: var(--surface-2); overflow: hidden; flex: none; display: grid; place-items: center; }
.thumb__img img { width: 100%; height: 100%; object-fit: contain; }
.thumb__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.thumb__txt strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumb__txt .price { font-size: 13px; color: var(--green-700); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Placeholder image ---------- */
.ph { display: grid; place-items: center; background: var(--ph, var(--green-100)); position: relative; color: var(--green-800); width: 100%; height: 100%; }
.ph__ico { width: 34%; height: 34%; opacity: .22; }
.ph__txt { position: absolute; font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 3vw, 40px); letter-spacing: -.02em; }
.slide__img.ph { inset: 19%; border-radius: 50%; width: 62%; height: 62%; box-shadow: var(--sh-3); filter: none; }
.thumb__ph .ph__txt { font-size: 16px; }

/* ---------- Avantages & rayons ---------- */
.perks { padding: 12px 0 8px; }
.perks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.perk { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med); }
.perk:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.perk__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); flex: none; transition: transform var(--t-med) var(--ease-spring); }
.perk:hover .perk__ico { transform: rotate(-10deg) scale(1.08); }
.perk strong { display: block; font-size: 15px; }
.perk span { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; }
.aisles { padding: 28px 0 0; }
.aisles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.aisle { --tone: var(--green-700); --tone-bg: var(--green-100); position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; align-items: center; padding: 24px; border-radius: var(--r-lg); background: var(--tone-bg); min-height: 150px; transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med); }
.aisle--hygiene { --tone: #1E4FB8; --tone-bg: #E3EEFA; }
.aisle--pack { --tone: #B45309; --tone-bg: var(--sun-100); }
.aisle::before { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; bottom: -110px; border-radius: 50%; background: color-mix(in srgb, var(--tone) 12%, transparent); transition: transform 700ms var(--ease-out); }
.aisle:hover { transform: translateY(-5px); box-shadow: var(--sh-3); }
.aisle:hover::before { transform: scale(1.5); }
.aisle__ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: #fff; color: var(--tone); box-shadow: var(--sh-1); }
.aisle__ico .ico { width: 26px; height: 26px; }
.aisle__txt strong { display: block; font-family: var(--f-display); font-size: 22px; }
.aisle__txt small { color: var(--ink-2); font-size: 14px; }
.aisle__count { grid-column: 1 / -1; font-family: var(--f-display); font-weight: 800; font-size: 28px; color: var(--tone); }
.aisle__count small { font-family: var(--f-body); font-size: 13px; font-weight: 600; color: var(--muted); }
.aisle__go { position: absolute; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--tone); color: #fff; transition: transform var(--t-med) var(--ease-spring); }
.aisle:hover .aisle__go { transform: rotate(-45deg) scale(1.08); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section__title { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--green-950); }
.section__desc { color: var(--muted); margin-top: 10px; max-width: 58ch; }
.section--hygiene { background: linear-gradient(180deg, transparent, #EEF4FB 30%, #EEF4FB 70%, transparent); }
.section--hygiene .eyebrow { color: #1E4FB8; background: #DCE8F8; }
.section--packs { background: var(--green-900); color: #fff; position: relative; overflow: hidden; border-radius: var(--r-xl); margin-inline: clamp(8px, 2vw, 24px); }
.section--packs::before { content: ""; position: absolute; width: 600px; height: 600px; left: -200px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(244,165,28,.18), transparent 70%); }
.section--packs .section__title { color: #fff; }
.section--packs .section__desc { color: rgba(255,255,255,.72); }
.section--packs .empty { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { min-height: 42px; padding: 0 18px; border-radius: var(--r-pill); background: var(--surface); border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; color: var(--ink-2); transition: background-color var(--t-med), color var(--t-med), border-color var(--t-med), transform var(--t-fast); }
.chip:hover { border-color: var(--green-700); color: var(--green-800); }
.chip:active { transform: scale(.95); }
.chip.is-active { background: var(--green-900); border-color: var(--green-900); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; transition: opacity var(--t-med); }
.grid.is-loading { opacity: .45; pointer-events: none; }
.grid--packs { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Carte produit ---------- */
.price { font-family: var(--f-display); font-weight: 800; color: var(--green-900); font-variant-numeric: tabular-nums; line-height: 1.2; }
.price del { color: var(--muted); font-size: .7em; font-weight: 600; margin-right: 6px; }
.price ins { text-decoration: none; color: var(--tomato); }
.price .from { display: block; font-family: var(--f-body); font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.price .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out), border-color var(--t-med); }
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: transparent; }
.card__media { position: relative; display: block; aspect-ratio: 1; background: var(--surface-2); overflow: hidden; cursor: pointer; }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.card:hover .card__img { transform: scale(1.07); }
.card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge { padding: 4px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.badge--sale { background: var(--tomato); color: #fff; }
.badge--pack { background: var(--sun-500); color: var(--green-950); }
.badge--new { background: var(--green-900); color: #fff; }
.badge--out { background: var(--ink); color: #fff; }
.card__peek { position: absolute; left: 50%; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--r-pill); background: rgba(255,255,255,.95); font-size: 13px; font-weight: 700; box-shadow: var(--sh-2); white-space: nowrap; transform: translate(-50%, 16px); opacity: 0; transition: transform var(--t-med) var(--ease-out), opacity var(--t-med); }
.card__peek .ico { width: 15px; height: 15px; }
.card:hover .card__peek { transform: translate(-50%, 0); opacity: 1; }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px; flex: 1; }
.card__cat { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-600); }
.card__title { font-family: var(--f-body); font-size: 16px; font-weight: 700; line-height: 1.35; letter-spacing: 0; }
.card__title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.card__desc { font-size: 14px; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__price { margin-top: auto; padding-top: 6px; font-size: 20px; }
.card__add {
	position: relative; z-index: 1; margin-top: 8px;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; padding: 0 14px; border-radius: var(--r-pill);
	background: var(--green-900); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden;
	transition: background-color var(--t-med), color var(--t-med), transform var(--t-fast), box-shadow var(--t-med);
}
.card__add .ico { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease-spring); }
.card__add:hover { background: var(--sun-500); color: var(--green-950); box-shadow: 0 10px 20px -10px rgba(244,165,28,.8); }
.card__add:hover .ico { transform: rotate(-12deg) scale(1.15); }
.card__add:active { transform: scale(.96); }
.card__add:disabled { background: var(--surface-2); color: var(--muted); cursor: not-allowed; box-shadow: none; }
.card__add.is-added, .pp__add.is-added { background: var(--wa) !important; color: #fff !important; border-color: var(--wa) !important; }
.card.is-out .card__media { opacity: .6; }

.card--pack { flex-direction: row; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; }
.card--pack:hover { background: rgba(255,255,255,.1); box-shadow: 0 24px 50px -20px rgba(0,0,0,.5); }
.card--pack .card__media { width: 42%; aspect-ratio: auto; min-height: 220px; flex: none; background: rgba(255,255,255,.94); }
.card--pack .card__img { object-fit: contain; }
.card--pack .card__cat { color: var(--sun-400); }
.card--pack .card__desc { color: rgba(255,255,255,.72); -webkit-line-clamp: 3; }
.card--pack .price { color: #fff; }
.card--pack .price del { color: rgba(255,255,255,.55); }
.card--pack .price ins { color: var(--sun-400); }
.card--pack .card__add { background: var(--sun-500); color: var(--green-950); }
.card--pack .card__add:hover { background: #fff; }
.card--pack .card__peek { display: none; }

.empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 12px; padding: 48px 16px; border: 2px dashed var(--line-2); border-radius: var(--r-lg); color: var(--muted); text-align: center; }
.empty .ico { width: 40px; height: 40px; opacity: .6; }

/* Vol vers le panier */
.fly { position: fixed; z-index: var(--z-fly); pointer-events: none; left: 0; top: 0; will-change: transform; }
.fly__in { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 12px 30px -8px rgba(11,61,46,.45); border: 3px solid #fff; will-change: transform, opacity; }
.fly__in img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Comment commander ---------- */
.how { padding: 16px 0 0; }
.how__card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-xl); background: radial-gradient(circle at 90% 10%, rgba(244,165,28,.25), transparent 40%), linear-gradient(135deg, var(--green-800), var(--green-950)); color: #fff; position: relative; overflow: hidden; }
.how__card h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.how__card p { color: rgba(255,255,255,.78); margin-top: 12px; max-width: 48ch; }
.how__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.how__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.how__steps li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md); transition: transform var(--t-med) var(--ease-out), background-color var(--t-med); }
.how__steps li:hover { transform: translateX(6px); background: rgba(255,255,255,.12); }
.how__steps li > span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sun-500); color: var(--green-950); font-family: var(--f-display); font-weight: 800; font-size: 20px; flex: none; }
.how__steps strong { display: block; }
.how__steps small { color: rgba(255,255,255,.72); font-size: 14px; }

/* ---------- Catalogue ---------- */
.toolbar { display: grid; grid-template-columns: minmax(220px, 320px) 1fr auto; gap: 12px; align-items: center; margin-bottom: 10px; }
.toolbar .chips { margin: 0; }
.search { position: relative; }
.search .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input, .select select { width: 100%; min-height: 48px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--surface); padding: 0 18px 0 46px; font-size: 16px; transition: border-color var(--t-med), box-shadow var(--t-med); }
.select select { padding: 0 40px 0 18px; appearance: none; cursor: pointer; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2334423B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.search input:focus, .select select:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 4px var(--green-100); }
.results { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.results [data-total] { font-weight: 800; color: var(--ink); }
.more { display: flex; justify-content: center; margin-top: 32px; }

/* ---------- Reveal au scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.reveal.is-in { opacity: 1; transform: none; }
.card.reveal.is-in { transition: opacity 800ms var(--ease-out) calc(var(--i, 0) * 60ms), transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out), border-color var(--t-med); }

/* ==========================================================================
   Panneau produit (aperçu + fiche complète)
   ========================================================================== */
.pp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
/* Galerie : image entière (contain), miniatures verticales à gauche si plusieurs photos */
.pp__gallery { padding: 24px; background: var(--surface-2); display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; }
.pp__gallery.has-many { grid-template-columns: 76px minmax(0, 1fr); }
.pp__stage { position: relative; grid-column: -2 / -1; grid-row: 1; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--sh-1); isolation: isolate; }
.pp__zoom { position: absolute; inset: 0; cursor: zoom-in; overflow: hidden; touch-action: pan-y pinch-zoom; }
.pp__zoom img, .pp__zoom .ph { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: center; box-sizing: border-box; padding: 5%; transform-origin: var(--zx, 50%) var(--zy, 50%); transition: transform 350ms var(--ease-out); animation: fadeZoom 450ms var(--ease-out); user-select: none; -webkit-user-drag: none; }
.pp__zoom .ph { padding: 0; }
.pp__zoom.is-zoom { cursor: crosshair; }
.pp__zoom.is-zoom img { transform: scale(2.2); transition: transform 220ms var(--ease-out); }
@keyframes fadeZoom { from { opacity: 0; transform: scale(.96); } }
.pp__zoom img.is-next { animation: slideInR 420ms var(--ease-out); }
.pp__zoom img.is-prev { animation: slideInL 420ms var(--ease-out); }
@keyframes slideInR { from { opacity: 0; transform: translateX(36px); } }
@keyframes slideInL { from { opacity: 0; transform: translateX(-36px); } }
.pp__badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 12px; border-radius: var(--r-pill); background: var(--tomato); color: #fff; font-weight: 800; font-size: 13px; pointer-events: none; }
.pp__expand { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.95); color: var(--ink); box-shadow: var(--sh-2); transition: transform var(--t-med) var(--ease-spring), background-color var(--t-fast), color var(--t-fast); }
.pp__expand .ico { width: 18px; height: 18px; }
.pp__expand:hover { background: var(--green-900); color: #fff; transform: scale(1.08); }
.pp__arrow { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.95); box-shadow: var(--sh-2); opacity: 0; transition: opacity var(--t-med), transform var(--t-med) var(--ease-out), background-color var(--t-fast), color var(--t-fast); }
.pp__arrow--prev { left: 12px; transform: translateX(-8px); }
.pp__arrow--next { right: 12px; transform: translateX(8px); }
.pp__stage:hover .pp__arrow, .pp__arrow:focus-visible { opacity: 1; transform: none; }
.pp__stage:has(.is-zoom) .pp__arrow, .pp__stage:has(.is-zoom) .pp__expand { opacity: 0; pointer-events: none; }
.pp__arrow:hover { background: var(--green-900); color: #fff; }
.pp__count { position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 5px 11px; border-radius: var(--r-pill); background: rgba(22,33,28,.72); color: #fff; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; pointer-events: none; }
.pp__dots { position: absolute; left: 50%; bottom: 16px; z-index: 2; transform: translateX(-50%); display: none; gap: 6px; pointer-events: none; }
.pp__dots i { width: 7px; height: 7px; border-radius: 4px; background: rgba(22,33,28,.25); transition: width var(--t-med) var(--ease-out), background-color var(--t-med); }
.pp__dots i.is-on { width: 20px; background: var(--green-900); }
.pp__hint { position: absolute; left: 14px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.92); font-size: 12px; font-weight: 700; color: var(--ink-2); box-shadow: var(--sh-1); pointer-events: none; transition: opacity var(--t-med); }
.pp__hint .ico { width: 14px; height: 14px; }
.pp__hint-touch { display: none; }
.pp__stage:hover .pp__hint, .has-many .pp__hint { opacity: 0; }
.pp__thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; height: 0; min-height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 3px; scrollbar-width: none; }
.pp__thumbs::-webkit-scrollbar { display: none; }
.pp__thumbs button { position: relative; width: 70px; height: 70px; flex: none; border-radius: 14px; overflow: hidden; background: #fff; border: 2px solid transparent; box-shadow: var(--sh-1); opacity: .65; transition: border-color var(--t-fast), opacity var(--t-fast), transform var(--t-med) var(--ease-out); }
.pp__thumbs button:hover { opacity: 1; transform: translateX(2px); }
.pp__thumbs button[aria-current="true"] { border-color: var(--green-700); opacity: 1; box-shadow: 0 0 0 3px var(--green-100); }
.pp__thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
@media (hover: none) {
	.pp__zoom { cursor: pointer; }
	.pp__arrow { opacity: 1; transform: none; }
	.pp__hint-fine { display: none; }
	.pp__hint-touch { display: inline; }
}

/* Lightbox plein écran */
.lb { position: fixed; inset: 0; z-index: 110; display: grid; grid-template-rows: auto 1fr auto; background: rgba(6, 20, 15, .94); backdrop-filter: blur(8px); color: #fff; opacity: 0; visibility: hidden; transition: opacity 280ms var(--ease-out), visibility 0s 280ms; }
.lb.is-open { opacity: 1; visibility: visible; transition: opacity 320ms var(--ease-out); }
.lb__top { display: flex; align-items: center; gap: 16px; padding: 14px 18px; }
.lb__title { font-family: var(--f-display); font-weight: 700; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.lb__count { margin-left: auto; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }
.lb__btn { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; transition: background-color var(--t-fast), transform var(--t-fast); }
.lb__btn:hover { background: rgba(255,255,255,.22); }
.lb__btn:active { transform: scale(.92); }
.lb__close { margin-left: 8px; }
.lb__count:empty + .lb__close { margin-left: auto; }
.lb__stage { margin: 0; grid-row: 2; display: grid; place-items: center; padding: 8px 76px; min-height: 0; overflow: hidden; }
.lb__stage img { width: auto; height: auto; max-width: min(100%, 1100px); max-height: calc(100dvh - 190px); object-fit: contain; border-radius: 12px; background: #fff; transform: scale(.96); animation: lbIn 380ms var(--ease-out) forwards; }
.lb__stage img.is-next { animation: lbNext 380ms var(--ease-out) forwards; }
.lb__stage img.is-prev { animation: lbPrev 380ms var(--ease-out) forwards; }
@keyframes lbIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes lbNext { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes lbPrev { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
.lb__nav { position: absolute; top: 50%; margin-top: -24px; }
.lb__prev { left: 16px; }
.lb__next { right: 16px; }
.lb__thumbs { grid-row: 3; display: flex; gap: 10px; justify-content: center; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); overflow-x: auto; scrollbar-width: none; }
.lb__thumbs button { width: 64px; height: 64px; flex: none; border-radius: 12px; overflow: hidden; background: #fff; border: 2px solid transparent; opacity: .55; transition: opacity var(--t-fast), border-color var(--t-fast), transform var(--t-med) var(--ease-out); }
.lb__thumbs button:hover { opacity: .9; transform: translateY(-2px); }
.lb__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--sun-500); }
.lb__thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.pp__info { padding: 32px 32px 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.qv.is-open .pp__info > * { animation: rise 600ms var(--ease-out) both; }
.qv.is-open .pp__info > :nth-child(2) { animation-delay: 40ms; }
.qv.is-open .pp__info > :nth-child(3) { animation-delay: 80ms; }
.qv.is-open .pp__info > :nth-child(4) { animation-delay: 120ms; }
.qv.is-open .pp__info > :nth-child(n+5) { animation-delay: 160ms; }
.pp__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-right: 52px; }
.pp--page .pp__meta { padding-right: 0; }
.pp__cat { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green-600); }
.pp__stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--green-700); }
.pp__stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.pp__stock:empty { display: none; }
.pp__stock.is-out { color: var(--danger); }
.pp__title { font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--green-950); }
.pp__price { font-size: 32px; }
.pp__price .from { font-size: 13px; }
.pp__desc { color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.pp__desc p + p { margin-top: 8px; }
.pp__opts { display: grid; gap: 10px; }
.pp__label { font-size: 13px; font-weight: 800; color: var(--ink-2); letter-spacing: .02em; }
.pp__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; flex-direction: column; align-items: flex-start; min-height: 48px; padding: 6px 16px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; line-height: 1.3; transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast); }
.pill small { font-weight: 600; color: var(--muted); font-size: 12px; }
.pill:hover { border-color: var(--green-700); }
.pill:active { transform: scale(.96); }
.pill[aria-checked="true"] { border-color: var(--green-700); background: var(--green-50); box-shadow: 0 0 0 3px var(--green-100); }
.pill[aria-checked="true"] small { color: var(--green-700); }
.pill:disabled { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.pp__opts.is-error .pp__pills { animation: shake 400ms; }
.pp__opts.is-error .pp__label { color: var(--danger); }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.pp__buy { display: flex; gap: 10px; align-items: center; padding-top: 4px; }
.pp__add { flex: 1; min-width: 0; }
.pp__cta { display: grid; gap: 10px; }
.pp__out { padding: 12px 14px; border-radius: var(--r-md); background: #FDECEA; color: var(--danger); font-weight: 700; font-size: 14px; }
.pp__perks { list-style: none; margin: 4px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--line-2); display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); font-weight: 600; }
.pp__perks li { display: inline-flex; align-items: center; gap: 6px; }
.pp__perks .ico { width: 16px; height: 16px; color: var(--green-700); }
.pp__more { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--green-700); font-size: 14px; min-height: 36px; }
.pp__more .ico { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease-out); }
.pp__more:hover .ico { transform: translateX(4px); }

/* Fiche complète */
.section--single { padding-top: 16px; }
.single-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-2); }
.pp--page { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.pp--page .pp__gallery { padding: 28px; position: sticky; top: calc(var(--header-h) + var(--admin-bar)); align-self: start; }
.pp--page .pp__info { padding: 40px; }
.pp--page .pp__title { font-size: clamp(30px, 3.6vw, 44px); }
.single-desc { margin-top: 32px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); }
.single-desc h2 { font-size: 26px; margin-bottom: 12px; }
.single-related { margin-top: 64px; }

/* ==========================================================================
   Modal aperçu
   ========================================================================== */
.qv { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 24px; visibility: hidden; transition: visibility 0s 300ms; }
.qv.is-open { visibility: visible; transition: none; }
.qv__scrim, .cart__scrim, .co__scrim { position: absolute; inset: 0; background: rgba(6, 42, 31, .55); backdrop-filter: blur(6px); opacity: 0; transition: opacity 360ms var(--ease-out); }
.qv.is-open .qv__scrim { opacity: 1; }
.qv__dialog { position: relative; width: min(1080px, 100%); max-height: min(92dvh, 820px); overflow: auto; overscroll-behavior: contain; background: var(--surface); border-radius: var(--r-xl); box-shadow: 0 40px 100px -20px rgba(0,0,0,.45); opacity: 0; transform: translateY(30px) scale(.96); transform-origin: var(--ox, 50%) var(--oy, 50%); transition: opacity 240ms var(--ease-in), transform 240ms var(--ease-in); }
.qv.is-open .qv__dialog { opacity: 1; transform: none; transition: opacity 420ms var(--ease-out), transform 520ms var(--ease-out); }
.qv__dialog:focus { outline: none; }
.qv__close, .co__close { position: absolute; top: 16px; right: 16px; z-index: 3; }
.qv__handle { display: none; }
.qv__loading { display: grid; grid-template-columns: 1fr 1fr; padding: 24px; gap: 24px; }
.sk { background: linear-gradient(90deg, var(--surface-2) 25%, #EFE9DC 37%, var(--surface-2) 63%); background-size: 400% 100%; animation: shimmer 1.2s ease infinite; border-radius: 10px; }
.sk--img { aspect-ratio: 1; border-radius: var(--r-lg); }
.sk-col { display: grid; gap: 14px; align-content: start; padding-top: 12px; }
.sk--line { height: 16px; }
.sk--line.h { height: 44px; }
.w30 { width: 30%; } .w40 { width: 40%; } .w70 { width: 70%; } .w80 { width: 80%; }
@keyframes shimmer { from { background-position: 100% 50%; } to { background-position: 0 50%; } }

/* ==========================================================================
   Panier latéral
   ========================================================================== */
.cart { position: fixed; inset: 0; z-index: var(--z-drawer); visibility: hidden; transition: visibility 0s 460ms; }
.cart.is-open { visibility: visible; transition: none; }
.cart.is-open .cart__scrim { opacity: 1; }
.cart__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100vw, 440px); background: var(--bg); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 460ms var(--ease-out); border-radius: var(--r-xl) 0 0 var(--r-xl); box-shadow: -30px 0 60px -30px rgba(0,0,0,.35); }
.cart.is-open .cart__panel { transform: none; }
.cart__panel:focus { outline: none; }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 16px; border-bottom: 1px solid var(--line); }
.cart__head h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.cart__n { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 13px; background: var(--green-900); color: #fff; font-family: var(--f-body); font-size: 13px; font-weight: 800; }
.cart__n:empty { display: none; }
.cart__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 12px 20px; }
.cart__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ci { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); animation: ciIn 450ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); transition: opacity 280ms, transform 280ms var(--ease-in); }
@keyframes ciIn { from { opacity: 0; transform: translateX(24px); } }
.ci.is-removing { opacity: 0; transform: translateX(40px); }
.ci__img { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; }
.ci__img img { width: 100%; height: 100%; object-fit: contain; }
.ci__img .ph__txt { font-size: 18px; }
.ci__main { min-width: 0; display: grid; gap: 4px; }
.ci__top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.ci__name { font-weight: 700; font-size: 15px; line-height: 1.3; }
.ci__name small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.ci__rm { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--muted); transition: background-color var(--t-fast), color var(--t-fast); }
.ci__rm:hover { background: #FDECEA; color: var(--danger); }
.ci__rm .ico { width: 16px; height: 16px; }
.ci__bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 4px; }
.ci__price { font-family: var(--f-display); font-weight: 800; color: var(--green-900); font-variant-numeric: tabular-nums; }
.cart__empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 48px 12px; }
.cart__empty-ico { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); animation: float 4s ease-in-out infinite; }
.cart__empty-ico .ico { width: 40px; height: 40px; }
.cart__empty strong { font-family: var(--f-display); font-size: 20px; }
.cart__empty p { color: var(--muted); margin-bottom: 8px; }
.cart__foot { padding: 16px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); display: grid; gap: 10px; }
.cart__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; }
.cart__row strong { font-family: var(--f-display); font-size: 24px; color: var(--green-900); font-variant-numeric: tabular-nums; }
.cart__note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.cart__note .ico { width: 16px; height: 16px; color: var(--green-700); }
.cart__link { justify-self: center; font-size: 14px; font-weight: 700; color: var(--green-700); padding: 6px; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Commande express
   ========================================================================== */
.co { position: fixed; inset: 0; z-index: var(--z-co); display: grid; place-items: center; padding: 24px; visibility: hidden; transition: visibility 0s 300ms; }
.co.is-open { visibility: visible; transition: none; }
.co.is-open .co__scrim { opacity: 1; }
.co__dialog { position: relative; width: min(600px, 100%); max-height: 92dvh; overflow: auto; overscroll-behavior: contain; background: var(--surface); border-radius: var(--r-xl); box-shadow: 0 40px 100px -20px rgba(0,0,0,.45); padding: 32px; opacity: 0; transform: translateY(40px) scale(.97); transition: opacity 240ms var(--ease-in), transform 240ms var(--ease-in); }
.co.is-open .co__dialog { opacity: 1; transform: none; transition: opacity 420ms var(--ease-out), transform 520ms var(--ease-out); }
.co__dialog:focus { outline: none; }
.co__head h2 { font-size: clamp(26px, 3vw, 32px); font-weight: 800; color: var(--green-950); }
.co__head p { color: var(--muted); margin-top: 6px; }
.co__items { list-style: none; margin: 20px 0; padding: 12px; display: grid; gap: 8px; background: var(--surface-2); border-radius: var(--r-md); max-height: 220px; overflow-y: auto; }
.co__items li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.co__items img, .co__items .ph { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; background: #fff; }
.co__items .ph__txt { font-size: 13px; }
.co__items strong { display: block; line-height: 1.3; }
.co__items small { color: var(--muted); font-weight: 600; }
.co__items b { font-variant-numeric: tabular-nums; }
.co__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 800; color: var(--ink-2); }
.field abbr { text-decoration: none; color: var(--tomato); }
.field .opt { font-weight: 600; color: var(--muted); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: #fff; font-size: 16px; transition: border-color var(--t-med), box-shadow var(--t-med); }
.field textarea { resize: vertical; min-height: 72px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 4px var(--green-100); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: 13px; font-weight: 600; }
.field .err:empty, .field .help:empty { display: none; }
.field .help { color: var(--green-700); font-size: 13px; font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.co__sum { margin: 20px 0 16px; padding: 16px; border-radius: var(--r-md); background: var(--surface-2); display: grid; gap: 8px; }
.co__sum div { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.co__sum dt { color: var(--muted); }
.co__sum dt small { color: var(--green-700); font-weight: 700; margin-left: 4px; }
.co__sum dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.co__sum .is-total { padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: 19px; }
.co__sum .is-total dt { color: var(--ink); font-weight: 800; }
.co__sum .is-total dd { font-family: var(--f-display); font-weight: 800; color: var(--green-900); font-size: 24px; }
.tick { animation: tick 420ms var(--ease-out); }
@keyframes tick { 40% { transform: translateY(-3px); color: var(--sun-500); } }
.co__legal { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.co__legal .ico { width: 15px; height: 15px; color: var(--green-700); }
.co__done { text-align: center; display: grid; justify-items: center; gap: 14px; padding: 24px 8px 8px; }
.co__done h2 { font-size: 30px; font-weight: 800; color: var(--green-950); }
.co__done h2:focus { outline: none; }
.co__done p { color: var(--ink-2); max-width: 42ch; }
.co__check { width: 96px; height: 96px; }
.co__check svg { width: 100%; height: 100%; }
.co__check circle { fill: var(--green-100); stroke: var(--wa); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw 700ms var(--ease-out) forwards; }
.co__check path { fill: none; stroke: var(--wa); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw 450ms var(--ease-out) 550ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: var(--z-toast); display: flex; align-items: center; gap: 12px; width: max-content; min-width: 280px; max-width: min(480px, calc(100vw - 32px)); min-height: 56px; padding: 10px 10px 10px 12px; border-radius: var(--r-md); background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; box-shadow: var(--sh-3); transform: translate(-50%, calc(100% + 48px)); visibility: hidden; transition: transform 420ms var(--ease-out), visibility 420ms; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }
.toast.is-error { background: var(--danger); }
.toast > span { flex: 1 1 auto; min-width: 0; line-height: 1.35; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.toast:not(:has(.toast__img)) > span { padding-left: 6px; }
.toast__img { width: 40px; height: 40px; flex: none; border-radius: 10px; object-fit: contain; background: #fff; }
.toast__btn { flex: none; min-height: 40px; padding: 0 14px; border-radius: var(--r-pill); background: var(--sun-500); color: var(--green-950); font-weight: 800; font-size: 13px; white-space: nowrap; }
.toast__btn:hover { background: var(--sun-400); }
@media (max-width: 640px) {
	.toast { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: auto; min-width: 0; max-width: none; font-size: 14px; transform: translateY(calc(100% + 40px)); }
	.toast.is-on { transform: none; }
}

/* ---------- Footer ---------- */
.footer { position: relative; margin-top: clamp(64px, 9vw, 120px); background: var(--green-950); color: rgba(255,255,255,.78); padding-top: 72px; }
.footer__wave { position: absolute; top: -79px; left: 0; width: 100%; height: 80px; fill: var(--green-950); }
.footer__grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr 1.5fr; gap: 40px; padding-bottom: 48px; }
.footer__brand p { margin: 18px 0 20px; font-size: 15px; max-width: 34ch; }
.footer__title { font-family: var(--f-body); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sun-400); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer__col a { display: inline-flex; min-height: 36px; align-items: center; transition: color var(--t-med), transform var(--t-med) var(--ease-out); }
.footer__col a:hover { color: #fff; transform: translateX(4px); }
.footer__contact li { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 15px; }
.footer__contact .ico { width: 18px; height: 18px; color: var(--sun-400); }
.footer__fees { margin-top: 14px !important; padding: 12px 14px !important; border-radius: var(--r-md); background: rgba(255,255,255,.06); }
.footer__fees li { display: flex; justify-content: space-between; font-size: 14px; }
.footer__fees strong { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: transform var(--t-med) var(--ease-spring), background-color var(--t-med), color var(--t-med); }
.socials a:hover { background: var(--sun-500); color: var(--green-950); transform: translateY(-4px) rotate(-8deg); }
.map-card { border-radius: var(--r-lg); overflow: hidden; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); transform: rotate(-1.2deg); transition: transform 600ms var(--ease-out), box-shadow 600ms; }
.map-card:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 40px 70px -30px rgba(0,0,0,.7); }
.map-card__frame { position: relative; height: 210px; background: var(--green-100); }
.map-card__frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); transition: filter 600ms; }
.map-card:hover iframe { filter: none; }
.map-card__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--tomato); color: #fff; box-shadow: var(--sh-2); pointer-events: none; animation: drop 1.8s var(--ease-spring) infinite alternate; transition: opacity var(--t-med); }
.map-card__pin .ico { rotate: 45deg; width: 20px; height: 20px; }
.map-card__pin::after { content: ""; position: absolute; width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--tomato); left: -8px; top: -8px; animation: ping 1.8s ease-out infinite; }
.map-card:hover .map-card__pin { opacity: 0; }
@keyframes drop { to { translate: 0 -8px; } }
@keyframes ping { from { transform: scale(.5); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.map-card__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; }
.map-card__bar strong { display: block; font-family: var(--f-display); }
.map-card__bar span { font-size: 13px; color: var(--muted); }
.map-card__bar .ico { width: 16px; height: 16px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 14px; }
.footer__bottom-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.credit a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.08); transition: background-color var(--t-med); margin-left: 4px; }
.credit a:hover { background: #0A66C2; }
.credit .ico { width: 15px; height: 15px; }

/* ---------- Boutons flottants ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: var(--z-fab); display: flex; flex-direction: column; gap: 12px; align-items: center; }
.fab__btn { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--sh-3); transition: transform var(--t-med) var(--ease-spring); }
.fab__btn .ico { width: 26px; height: 26px; }
.fab__btn:hover { transform: scale(1.08); }
.fab__btn--wa { background: var(--wa); }
.fab__btn--wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: pulse 2.4s ease-out infinite; z-index: -1; }
@keyframes pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(1.7); opacity: 0; } }
.fab__btn--call { background: var(--sun-500); color: var(--green-950); }
.fab__btn--call .ico { width: 22px; height: 22px; }
.fab__btn--top { width: 48px; height: 48px; background: var(--surface); color: var(--green-900); opacity: 0; transform: translateY(20px) scale(.6); pointer-events: none; transition: opacity var(--t-med), transform var(--t-med) var(--ease-spring); }
.fab__btn--top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab__btn--top:hover { transform: translateY(-3px); }
.fab__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.fab__ring circle { fill: none; stroke: var(--green-700); stroke-width: 3; stroke-dasharray: 138.2; stroke-dashoffset: calc(138.2 - 138.2 * var(--p, 0)); stroke-linecap: round; }
.fab__tip { position: absolute; right: calc(100% + 12px); padding: 6px 12px; border-radius: var(--r-sm); background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity var(--t-fast), transform var(--t-fast); }
.fab__btn:hover .fab__tip, .fab__btn:focus-visible .fab__tip { opacity: 1; transform: none; }

/* ---------- Pages internes & WooCommerce ---------- */
.page-hero { padding: 40px 0 8px; }
.page-hero--sm { padding: 16px 0 0; }
.page-hero__title { font-size: clamp(32px, 5vw, 52px); font-weight: 800; color: var(--green-950); }
.page-hero__sub { margin-top: 10px; color: var(--muted); }
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--green-700); font-weight: 600; }
.section--page, .section--woo { padding-top: 24px; }
.prose { max-width: 820px; }
.prose > * + * { margin-top: 1em; }
.woo .woocommerce-products-header__title { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin-bottom: 16px; }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0 !important; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px 12px 16px !important; transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med); }
.woocommerce ul.products li.product:hover { transform: translateY(-5px); box-shadow: var(--sh-3); }
.woocommerce ul.products li.product img { border-radius: var(--r-md); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--f-body); font-size: 16px !important; }
.woocommerce ul.products li.product .price { color: var(--green-900) !important; font-family: var(--f-display); font-weight: 800; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--green-900) !important; color: #fff !important; border-radius: var(--r-pill) !important; padding: 14px 24px !important; font-weight: 700 !important; transition: background-color var(--t-med), transform var(--t-fast) !important; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce button.button.alt:hover { background: var(--green-700) !important; transform: translateY(-1px); }
.woocommerce #place_order, .woocommerce .checkout-button { width: 100%; min-height: 56px; font-size: 17px !important; background: var(--sun-500) !important; color: var(--green-950) !important; }
.woocommerce #place_order:hover, .woocommerce .checkout-button:hover { background: var(--sun-400) !important; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 50px; padding: 12px 14px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: #fff; font-size: 16px; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 4px var(--green-100); }
.woocommerce form .form-row label { font-weight: 800; font-size: 13px; color: var(--ink-2); }
.woocommerce form .sj-hidden-field { display: none !important; }
.woocommerce-checkout .col2-set .col-2 { display: none; }
.woocommerce-checkout .col2-set .col-1 { width: 100%; float: none; }
.woocommerce-checkout form.checkout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.woocommerce-checkout #customer_details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; }
.woocommerce-checkout #order_review_heading { display: none; }
.woocommerce-checkout #order_review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; position: sticky; top: calc(var(--header-h) + var(--admin-bar) + 12px); }
.woocommerce-checkout #order_review::before { content: "Votre commande"; display: block; font-family: var(--f-display); font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.woocommerce table.shop_table { border-radius: var(--r-md); border-color: var(--line); background: var(--surface); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--line); }
.woocommerce table.shop_table .order-total .amount { font-family: var(--f-display); font-size: 22px; color: var(--green-900); }
.woocommerce ul#shipping_method li label { font-weight: 700; }
.woocommerce-checkout #payment { background: var(--surface-2) !important; border-radius: var(--r-md) !important; }
.woocommerce-cart .cart-collaterals .cart_totals { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; }
.woocommerce-cart table.cart img { width: 72px; border-radius: 12px; background: var(--surface-2); }
.woocommerce .quantity .qty { min-height: 44px; border-radius: var(--r-md); border: 1.5px solid var(--line); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: var(--r-md); border-top-color: var(--green-700); background: var(--surface); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--green-700); }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 6px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border-radius: 50%; min-width: 44px; min-height: 44px; display: grid; place-items: center; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--green-900); color: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1179px) {
	.nav__links, .nav__cta { display: none; }
	.burger { display: block; }
	.nav__actions { margin-right: 54px; transition: margin 0s; }
	.is-compact .burger { grid-column: 1; justify-self: start; }
	.is-compact .nav__actions { margin-right: 0; }
	.drawer__panel { left: 0; }
}
@media (max-width: 1100px) {
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.perks__grid { grid-template-columns: repeat(2, 1fr); }
	.grid, .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.grid--packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	:root { --header-h: 76px; }
	.nav { min-height: 60px; padding-left: 12px !important; }
	.slide { grid-template-columns: 1fr; text-align: center; padding: 28px 22px 8px; gap: 8px; align-content: start; }
	.slide__visual { order: -1; max-width: 280px; }
	.slide__title, .slide__desc { margin-inline: auto; }
	.slide__cta { justify-content: center; }
	.slide__price { margin: 12px 0 18px; }
	.hero__controls { justify-content: center; padding: 12px 16px 20px; }
	.hero__thumbs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
	.thumb { flex: 0 0 210px; scroll-snap-align: start; }
	.aisles__grid { grid-template-columns: 1fr; }
	.aisle { min-height: 0; }
	.how__card { grid-template-columns: 1fr; }
	.toolbar { grid-template-columns: 1fr auto; }
	.toolbar .chips { grid-column: 1 / -1; grid-row: 2; }
	/* Aperçu en bottom sheet */
	.qv, .co { padding: 0; place-items: end center; }
	.qv__dialog, .co__dialog { max-height: 94dvh; width: 100%; border-radius: var(--r-xl) var(--r-xl) 0 0; transform: translateY(100%); }
	.qv.is-open .qv__dialog, .co.is-open .co__dialog { transform: none; }
	.qv__handle { display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--line-2); margin: 10px auto 0; }
	.qv__loading, .pp, .pp--page { grid-template-columns: 1fr; }
	.pp__gallery, .pp__gallery.has-many { padding: 14px 16px 0; background: transparent; grid-template-columns: minmax(0, 1fr); }
	.pp__stage { grid-column: 1; }
	.pp__thumbs { grid-row: 2; flex-direction: row; height: auto; min-height: 0; overflow-x: auto; overflow-y: hidden; }
	.pp__thumbs button { width: 60px; height: 60px; }
	.pp__thumbs button:hover { transform: none; }
	.pp__dots { display: flex; }
	.pp__count { display: none; }
	.lb__stage { padding: 8px 12px; }
	.lb__nav { display: none; }
	.lb__thumbs { justify-content: flex-start; }
	.pp--page .pp__gallery { position: static; padding: 16px 16px 0; }
	.pp__stage { aspect-ratio: 1; }
	.pp__info, .pp--page .pp__info { padding: 20px 18px calc(24px + env(safe-area-inset-bottom)); }
	.pp__meta { padding-right: 0; }
	.pp__arrow { opacity: 1; transform: none; width: 40px; height: 40px; margin-top: -20px; }
	.co__dialog { padding: 24px 18px calc(24px + env(safe-area-inset-bottom)); }
	.card--pack { flex-direction: column; }
	.card--pack .card__media { width: 100%; aspect-ratio: 16 / 10; min-height: 0; }
	.woocommerce-checkout form.checkout { grid-template-columns: 1fr; }
	.woocommerce-checkout #order_review { position: static; }
}
@media (max-width: 640px) {
	.grid, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.grid--packs { grid-template-columns: 1fr; }
	.section__head { flex-direction: column; align-items: flex-start; gap: 8px; }
	.chips--scroll, .section .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
	.chips::-webkit-scrollbar { display: none; }
	.chip { flex: none; }
	.card__body { padding: 12px; gap: 4px; }
	.card__title { font-size: 14px; }
	.card__desc { font-size: 13px; }
	.card__price { font-size: 17px; }
	.card__add { min-height: 42px; font-size: 13px; padding: 0 8px; gap: 6px; }
	.card__add .ico { display: none; }
	.card__peek { display: none; }
	.card:hover { transform: none; }
	.perks__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
	.perk { flex-direction: column; align-items: flex-start; padding: 14px; gap: 10px; }
	.footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.footer__bottom-in { justify-content: center; text-align: center; }
	.map-card { transform: none; }
	.co__grid { grid-template-columns: 1fr; }
	.brand__text strong { font-size: 21px; }
	.brand__text small { font-size: 10px; }
	.brand__mark { width: 40px; height: 40px; }
	.fab { right: 12px; bottom: 12px; gap: 10px; }
	.fab__btn { width: 52px; height: 52px; }
	.fab__btn--top { width: 44px; height: 44px; }
	.slide__visual { max-width: 220px; }
	.slide__cta .btn { flex: 1 1 100%; }
	.hero__pause { display: none; }
	.pp__buy { flex-wrap: wrap; }
	.pp__buy .stepper { height: 50px; }
	.pp__perks { font-size: 12px; }
	.cart__panel { border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
	.announce__track { animation: none; }
}
