/* ==========================================================================
   Le Panier Vert (démo) — feuille de style du site public (refonte 2026)
   CSS sans compilation. Jetons dans :root, composants, puis pages.
   ========================================================================== */

@font-face { font-family: "Montserrat"; src: url("../font/montserrat-regular-webfont.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../font/montserrat-medium-webfont.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../font/montserrat-bold-webfont.woff2") format("woff2"); font-weight: 700; font-display: swap; }
/* Fraunces (SIL OFL, voir media/font/FRAUNCES-OFL.txt), hébergée localement */
@font-face { font-family: "Fraunces"; src: url("../font/fraunces-latin-full-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../font/fraunces-latin-full-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
    --ink: #2b3f50;
    --ink-soft: #5a6b78;
    --ink-faint: #7d8a94;
    --olive: #56702f;
    --olive-deep: #3f5422;
    --olive-tint: #e9eedc;
    --olive-wash: #f3f5ea;
    --orange: #f29a1f;
    --orange-tint: #fdebd0;
    --orange-ink: #8a4b00;
    --paper: #fbf7ee;
    --card: #ffffff;
    --line: #e7e0cf;
    --danger: #b3261e;
    --danger-tint: #fbe9e7;

    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Montserrat", system-ui, sans-serif;

    --r-s: 8px;
    --r-m: 14px;
    --r-l: 22px;
    --shadow-1: 0 1px 2px rgba(43, 63, 80, .06), 0 2px 8px rgba(43, 63, 80, .05);
    --shadow-2: 0 6px 24px rgba(43, 63, 80, .12);
    --wrap: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --header-h: 72px;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
    margin: 0; min-height: 100vh; display: flex; flex-direction: column;
    font-family: var(--font-body); font-size: 15px; line-height: 1.55; color: var(--ink);
    background-color: var(--paper);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.3 0 0 0 0 0.2 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    overflow-x: clip;
}
main { flex: 1; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive-deep); text-underline-offset: 3px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.demo-banner { background: #2f3a4a; color: #fff; text-align: center; font-size: .9rem; padding: 8px 16px; display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: center; align-items: center; }
.demo-banner a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.demo-banner form { margin: 0; }
.demo-banner button { font: inherit; font-weight: 600; color: #2f3a4a; background: #fff; border: 0; border-radius: 999px; padding: 3px 12px; cursor: pointer; }
.demo-banner--notice { background: #9b2c1f; margin: 0; font-weight: 600; }
.demo-banner--ok { background: #4c6b2f; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; line-height: 1.12; margin: 0; color: var(--ink); font-variation-settings: "SOFT" 60, "WONK" 1; }
h1 { font-size: clamp(32px, 5vw, 54px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 20px; }
.eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); }
.lead { font-size: 17px; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--ink-soft); }
.page-head { padding: 40px 0 24px; }
.page-head p { margin: 10px 0 0; }

/* ------------------------------------------------------------------ barre gestionnaire connecté */
.staff-bar { background: #1d2b36; color: #dfe6ec; font-size: 13px; }
.staff-bar .wrap { display: flex; align-items: center; gap: 16px; min-height: 36px; flex-wrap: wrap; }
.staff-bar a, .staff-bar button { color: #fff; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }
.staff-bar .who { font-weight: 700; margin-right: auto; }
.staff-bar .status { display: inline-flex; align-items: center; gap: 6px; }
.staff-bar .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #7fc45a; }
.staff-bar .status.off::before { background: #e5534b; }
.staff-bar form { margin: 0; }

/* ------------------------------------------------------------------ en-tête */
.site-header {
    position: sticky; top: 0; z-index: 30;
    background: rgba(251, 247, 238, .94); backdrop-filter: saturate(1.2) blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--olive) 0 60%, var(--orange) 60% 100%); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand img { height: 46px; width: auto; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: 14.5px; padding: 8px 14px; border-radius: 999px; color: var(--ink); }
.main-nav a:hover { background: var(--olive-wash); }
.main-nav a[aria-current="page"] { color: var(--olive-deep); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.cart-link {
    display: inline-flex; align-items: center; gap: 10px; flex: none; line-height: 1;
    text-decoration: none; font-weight: 700; font-size: 14px;
    padding: 9px 16px 9px 12px; border-radius: 999px; background: var(--olive); color: #fff;
}
.cart-link:hover { background: var(--olive-deep); }
.cart-link svg { width: 20px; height: 20px; flex: none; display: block; }
.cart-link .label { padding-top: 1px; }
.cart-link .count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: 12px; display: inline-grid; place-items: center; }
.cart-link .cart-sum { font-family: var(--font-display); font-size: 16px; white-space: nowrap; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .35); display: inline-flex; align-items: center; min-height: 20px; }
.cart-link .cart-sum[hidden] { display: none; }
.cart-link.bump { animation: bump .45s ease; }
@keyframes bump { 30% { transform: scale(1.08); } 60% { transform: scale(.97); } }
.menu-toggle { display: none; }

@media (max-width: 900px) {
    :root { --header-h: 62px; }
    .site-header .wrap { height: 58px; gap: 12px; }
    .brand img { height: 36px; }
    .main-nav { display: none; }
    .menu-toggle { display: inline-grid; place-items: center; margin-left: auto; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
    .cart-link { padding: 8px 12px 8px 10px; }
    .cart-link .label { display: none; }
    .cart-link .cart-sum { display: none; }
    .main-nav.open {
        display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; box-shadow: var(--shadow-2);
    }
    .main-nav.open a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); }
    .main-nav.open a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--orange); padding-left: 14px; }
}

/* ------------------------------------------------------------------ boutons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 0 22px; border-radius: 999px;
    font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; text-align: center;
    border: 2px solid transparent; transition: background-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--olive); color: #fff; }
.btn--primary:hover { background: var(--olive-deep); }
.btn--secondary { background: transparent; border-color: var(--olive); color: var(--olive-deep); }
.btn--secondary:hover { background: var(--olive-wash); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: #8f1d17; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 4px 0; font-size: 13px; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ------------------------------------------------------------------ messages */
.alert { padding: 14px 18px; border-radius: var(--r-m); margin: 0 0 20px; font-size: 14.5px; border: 1px solid transparent; }
.alert--error { background: var(--danger-tint); border-color: #f1c5c1; color: #7d1a15; }
.alert--info { background: var(--olive-wash); border-color: #d9e1c4; }
.alert--warning { background: var(--orange-tint); border-color: #f5d3a1; color: #5c3300; }
.alert > :first-child { margin-top: 0; }
.alert > :last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ formulaires */
.card { background: var(--card); border-radius: var(--r-l); box-shadow: var(--shadow-1); padding: clamp(20px, 3vw, 32px); }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .field .label, legend { font-weight: 700; font-size: 13.5px; padding: 0; }
.field .hint { font-size: 12.5px; color: var(--ink-soft); }
.req { color: var(--danger); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=password], .form input[type=search], .form input[type=date], .form input[type=time], .form input[type=number], .form textarea, .form select {
    width: 100%; min-height: 46px; border-radius: 12px; border: 1.5px solid var(--line); padding: 10px 14px;
    font: inherit; color: var(--ink); background: #fff;
}
.form textarea { min-height: 180px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 4px var(--olive-tint); }
.form [aria-invalid="true"] { border-color: var(--danger); }
.field .error { color: var(--danger); font-size: 12.5px; font-weight: 500; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { width: 20px; height: 20px; accent-color: var(--olive); margin: 1px 0 0; flex: none; }
.password { position: relative; }
.password input { padding-right: 52px !important; }
.password button { position: absolute; right: 6px; top: 50%; translate: 0 -50%; width: 40px; height: 36px; border: 0; background: none; border-radius: 8px; color: var(--ink-soft); }
.password button:hover { background: var(--olive-wash); }
.password button svg { width: 22px; height: 22px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------------ étiquettes */
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; padding: 3px 9px; border-radius: 999px; background: var(--olive-tint); color: var(--olive-deep); }
.tag--new { background: var(--orange); color: var(--ink); }
/* dans la rangée ou la sélection « Nouveautés », le badge « Nouveau » serait redondant */
[data-row="nouveautes"] .tag--new, [data-results][data-key="nouveautes"] .tag--new { display: none; }
.tag--local { background: #e3ecf3; color: var(--ink); }

/* ------------------------------------------------------------------ carte produit */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.product {
    position: relative; display: flex; flex-direction: column; min-width: 0;
    background: var(--card); border-radius: var(--r-m); box-shadow: var(--shadow-1); padding: 12px;
    transition: box-shadow .2s, transform .2s;
}
.product:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.grid .product { animation: rise .4s both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.product .figure { aspect-ratio: 1; border-radius: 10px; background: #fff; display: grid; place-items: center; overflow: hidden; margin-bottom: 10px; }
.product .figure img { width: 88%; height: 88%; object-fit: contain; }
.product .figure.none { background: var(--olive-wash); color: var(--olive); }
.product .figure.none svg { width: 40%; opacity: .5; }
.product .badges { position: absolute; top: 18px; left: 18px; display: flex; gap: 6px; flex-wrap: wrap; }
.product .name { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.25; margin: 0; overflow-wrap: anywhere; }
.product .meta { font-size: 12.5px; color: var(--ink-soft); margin: 3px 0 0; }
.product .meta span + span::before { content: " · "; }
.product .bottom { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 8px; }
.product.no-photo .bottom { padding-top: 16px; }
/* prix et bouton toujours sur la même ligne, unité toujours sous le montant : même disposition quelle que soit la largeur du prix */
.price { flex: 1 1 0; min-width: 0; margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.05; }
.price .amount { white-space: nowrap; }
.price small { display: block; margin-top: 4px; font-family: var(--font-body); font-size: 12px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price-sub { display: block; font-size: 11.5px; color: var(--ink-faint); margin-top: 5px; font-family: var(--font-body); font-weight: 500; white-space: normal; }
.add { flex: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--olive); color: #fff; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(63, 84, 34, .35); }
.add:hover { background: var(--olive-deep); }
.add svg { width: 20px; height: 20px; }
.stepper { display: inline-flex; align-items: center; background: var(--olive-tint); border-radius: 999px; height: 44px; }
.stepper button { width: 40px; height: 44px; padding: 0; border: 0; background: none; color: var(--olive-deep); border-radius: 999px; display: inline-grid; place-items: center; }
.stepper button svg { width: 18px; height: 18px; display: block; }
.stepper button:hover { background: rgba(86, 112, 47, .15); }
.product .stepper { flex: 1 1 100%; justify-content: space-between; }
[aria-busy="true"] .stepper, [aria-busy="true"] .add { opacity: .6; }
.stepper .step-remove:hover { color: var(--danger); }

/* produit au panier : pastille orange à cheval sur le bord haut, montant de la ligne et lien « Retirer » */
.product.in-cart { background: #fef6ea; box-shadow: 0 0 0 1px rgba(246, 173, 69, .45), var(--shadow-2); }
.product.in-cart .stepper { background: #fff; box-shadow: inset 0 0 0 1px rgba(86, 112, 47, .22); }
.in-cart-flag {
    position: absolute; z-index: 2; top: -11px; right: 12px;
    display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
    padding: 5px 12px 5px 9px; border-radius: 999px; background: #f6ad45; color: var(--ink);
    font-size: 12px; font-weight: 700; line-height: 1; box-shadow: 0 2px 6px rgba(138, 75, 0, .25); animation: flag-in .25s ease-out;
}
.in-cart-flag svg { width: 13px; height: 13px; flex: none; }
.product.no-photo .in-cart-flag { top: -11px; }
@keyframes flag-in { from { opacity: 0; transform: scale(.7); } }
.stepper .qty {
    width: 64px; min-width: 0; height: 32px; padding: 0 4px; border: 1px solid transparent; border-radius: 8px;
    background: transparent; color: inherit; font: inherit; font-size: 14px; font-weight: 700; text-align: center;
}
.stepper .qty:hover { border-color: rgba(86, 112, 47, .35); }
.stepper .qty:focus { background: #fff; color: var(--ink); border-color: var(--olive); outline: none; }
.product .stepper .qty { flex: 1 1 auto; }
.in-cart-row { flex: 1 1 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: -2px 0 -6px; font-size: 13px; color: var(--ink-soft); }
.in-cart-row strong { color: var(--olive-deep); font-size: 14px; }
.remove-link {
    min-height: 32px; padding: 0 2px; border: 0; background: none;
    font: inherit; font-size: 13px; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.remove-link:hover { color: var(--danger); }

@media (max-width: 560px) {
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .product { padding: 10px; }
    .product .badges { top: 14px; left: 14px; }
    .product .name { font-size: 14.5px; }
    .price { font-size: 19px; }
}

/* ------------------------------------------------------------------ toast et barre panier */
.toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 50; translate: -50% 0;
    display: flex; align-items: center; gap: 14px;
    background: var(--ink); color: #fff; padding: 12px 14px 12px 18px; border-radius: 14px; box-shadow: var(--shadow-2);
    font-size: 14px; opacity: 0; pointer-events: none; transform: translateY(12px); transition: .25s; max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: none; pointer-events: auto; }
.toast a, .toast button { color: var(--orange); font-weight: 700; white-space: nowrap; background: none; border: 0; padding: 0; text-decoration: underline; }
.toast.error { background: var(--danger); }
.toast.error a { color: #fff; }
.cart-bar { display: none; }
@media (max-width: 900px) {
    .cart-bar {
        position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        padding: 10px 10px 10px 18px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: var(--shadow-2);
        text-decoration: none; transform: translateY(140%); transition: transform .3s;
    }
    .cart-bar.visible { transform: none; }
    .cart-bar strong { font-family: var(--font-display); font-size: 19px; }
    .cart-bar .go { background: var(--orange); color: var(--ink); font-weight: 700; padding: 10px 16px; border-radius: 12px; }
    .toast { bottom: 90px; left: 16px; right: 16px; translate: none; justify-content: space-between; }
    body.has-cart-bar .site-footer .legal { padding-bottom: 96px; }
}

/* ------------------------------------------------------------------ pied de page */
.site-footer { margin-top: 80px; background: var(--ink); color: #dfe6ec; }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 40px; }
.site-footer h2 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.site-footer p, .site-footer li { margin: 0; font-size: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: #dfe6ec; }
.site-footer .social { display: flex; gap: 10px; margin-top: 14px; }
.site-footer .social a { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.site-footer .social img { width: 24px; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0 24px; font-size: 12.5px; color: #a9b8c4; }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ accueil */
.hero { padding: 56px 0 40px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin: 0 0 18px; }
.hero h1 em { font-style: italic; color: var(--olive); }
.hero .lead { margin: 0 0 26px; }
.collage { position: relative; aspect-ratio: 1 / .92; }
.collage img { position: absolute; border-radius: var(--r-l); object-fit: cover; box-shadow: var(--shadow-2); border: 6px solid #fff; animation: rise .7s both; }
.collage img:nth-child(1) { width: 62%; left: 0; top: 6%; rotate: -2.5deg; }
.collage img:nth-child(2) { width: 50%; right: 0; top: 0; rotate: 3deg; animation-delay: .12s; }
.collage img:nth-child(3) { width: 46%; right: 8%; bottom: 0; rotate: -1deg; animation-delay: .24s; }
.collage .stamp {
    position: absolute; left: 30%; bottom: 4%; width: 118px; height: 118px; border-radius: 50%;
    background: var(--orange); color: var(--ink); display: grid; place-items: center; text-align: center;
    font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.1; rotate: -10deg; box-shadow: var(--shadow-2);
    animation: rise .7s .36s both;
}
.collage .stamp small { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 20px 0 64px; }
.value { padding: 20px; border-radius: var(--r-m); background: var(--card); box-shadow: var(--shadow-1); }
.value h2 { font-size: 20px; color: var(--olive-deep); margin-bottom: 4px; }
.value p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }
.row { margin-bottom: 56px; }
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.row-head a { font-weight: 700; white-space: nowrap; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 210px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px; margin: 0 -4px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: var(--card); border-radius: var(--r-l); padding: 28px; box-shadow: var(--shadow-1); }
.hours { list-style: none; margin: 16px 0 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; }
.hours li:nth-child(odd) { background: var(--olive-wash); }
.hours li.today { background: var(--olive); color: #fff; font-weight: 700; }
.hours li.closed span:last-child { color: var(--ink-faint); }
.hours li.today span:last-child { color: #fff; }
.map { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; color: #fff; background: #3f5422; }
.map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
/* voile sombre, plus dense en bas où se trouve le texte : meilleure lisibilité */
.map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 38, 15, .86) 0%, rgba(28, 38, 15, .55) 55%, rgba(28, 38, 15, .2) 100%); }
.map > *:not(img) { position: relative; z-index: 1; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.map h2, .map .eyebrow { color: #fff; }
.map p { margin: 8px 0 18px; }
.map a:not(.btn) { color: #fff; }
.map .btn--secondary { border-color: #fff; color: #fff; }
.map .btn--secondary:hover { background: rgba(255,255,255,.12); }
.anti-gaspi { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding: 22px 28px; border-radius: var(--r-l); background: var(--orange-tint); }
.anti-gaspi h2 { font-size: 20px; }
.anti-gaspi p { margin: 4px 0 0; font-size: 14px; }
.discover { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.discover a { display: block; text-decoration: none; color: inherit; background: var(--card); border-radius: var(--r-m); overflow: hidden; box-shadow: var(--shadow-1); transition: box-shadow .2s, transform .2s; }
.discover a:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.discover img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.discover h3 { font-size: 17px; padding: 14px 16px 16px; }
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding-top: 24px; gap: 28px; }
    .collage { order: -1; max-width: 420px; width: 100%; margin: 0 auto; }
    .collage .stamp { width: 92px; height: 92px; font-size: 13px; }
    .values { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 44px; }
    .value { padding: 14px; }
    .value h2 { font-size: 17px; }
    .rail { grid-auto-columns: 46%; gap: 12px; }
    .visit { grid-template-columns: 1fr; }
    .panel { padding: 20px; }
    .anti-gaspi { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------------------ boutique */
.shop-head { padding: 36px 0 18px; display: grid; grid-template-columns: 1fr minmax(260px, 420px); gap: 24px; align-items: end; }
.search { position: relative; }
.search input { width: 100%; height: 50px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); padding: 0 18px 0 48px; font: inherit; font-size: 15px; color: var(--ink); box-shadow: var(--shadow-1); }
.search input:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 4px var(--olive-tint); }
.search svg { position: absolute; left: 17px; top: 50%; translate: 0 -50%; width: 20px; color: var(--ink-soft); pointer-events: none; }
.notice { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 12px 18px; border-radius: var(--r-m); background: var(--olive-wash); border: 1px dashed #cdd6b8; font-size: 13.5px; margin-bottom: 28px; }
.notice span { display: inline-flex; align-items: center; gap: 8px; }
.notice span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--olive); }
.notice details { margin-left: auto; }
.notice summary { cursor: pointer; font-weight: 700; color: var(--olive-deep); text-decoration: underline; text-underline-offset: 3px; }
.notice details[open] { flex-basis: 100%; margin: 4px 0 0; }
.notice details p { margin: 8px 0 0; }
.shop { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 36px; align-items: start; }
.aisles { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; }
.aisles h2 { font-family: var(--font-body); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 8px 12px; }
.aisles ul { list-style: none; margin: 0 0 22px; padding: 0; }
.aisles a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-size: 14.5px; color: var(--ink); }
.aisles a:hover { background: var(--olive-wash); }
.aisles a[aria-current="page"] { background: var(--olive); color: #fff; font-weight: 700; }
.aisles a[aria-current="page"] .n { color: #dfe8cf; }
.aisles .n { font-size: 12px; color: var(--ink-faint); }
.aisles .ico { display: inline-block; width: 18px; text-align: center; margin-right: 6px; }
.pills { display: none; }
.aisle-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.aisle-title .count { color: var(--ink-soft); font-size: 14px; white-space: nowrap; }
.subs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chip { border: 1.5px solid var(--line); background: var(--card); padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; }
.chip[aria-pressed="true"] { border-color: var(--olive); background: var(--olive-tint); color: var(--olive-deep); font-weight: 700; }
.empty-state { padding: 40px 20px; text-align: center; background: var(--card); border-radius: var(--r-m); color: var(--ink-soft); }
.empty-state h1, .empty-state h2 { margin-bottom: 10px; }
.empty-state .btn { margin-top: 12px; }
.more-products { display: flex; justify-content: center; margin: 28px 0 8px; }

/* fenêtre de confirmation (site et administration) */
.confirm-dialog { width: min(480px, calc(100vw - 32px)); border: 0; border-radius: var(--r-m); padding: 0; background: var(--card); color: var(--ink); box-shadow: 0 24px 60px rgba(30, 40, 50, .35); }
.confirm-dialog::backdrop { background: rgba(30, 40, 50, .55); }
.confirm-dialog form { padding: 26px 26px 22px; border-top: 6px solid var(--olive); }
.confirm-dialog.is-danger form { border-top-color: var(--danger); }
.confirm-dialog h2 { font-size: 22px; margin: 0 0 12px; }
.confirm-dialog p { margin: 0 0 10px; color: var(--ink-soft); line-height: 1.5; }
.confirm-dialog .confirm-word { display: block; margin: 16px 0 4px; font-size: 14px; color: var(--ink-soft); }
.confirm-dialog .confirm-word strong { color: var(--danger); letter-spacing: .04em; }
.confirm-dialog .confirm-word input { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; text-transform: uppercase; }
.confirm-dialog .actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.confirm-dialog .btn:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 520px) { .confirm-dialog .actions .btn { flex: 1 1 auto; } }
#results[aria-busy="true"] { opacity: .5; transition: opacity .2s; }
@media (max-width: 900px) {
    .shop-head { grid-template-columns: 1fr; padding-top: 22px; gap: 14px; }
    .shop { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .aisles { display: none; }
    .pills {
        display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
        position: sticky; top: var(--header-h); z-index: 20; margin: 0 calc(-1 * var(--gutter)) 18px; padding: 10px var(--gutter);
        background: rgba(251, 247, 238, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
    }
    .pills::-webkit-scrollbar { display: none; }
    .pills a { flex: none; scroll-snap-align: start; text-decoration: none; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 500; white-space: nowrap; color: var(--ink); }
    .pills a[aria-current="page"] { background: var(--olive); border-color: var(--olive); color: #fff; font-weight: 700; }
    .notice { font-size: 12.5px; margin-bottom: 8px; }
    .notice > span:nth-of-type(n+3) { display: none; }
}

/* ------------------------------------------------------------------ panier et réservation */
.steps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 32px 0 10px; font-size: 13px; font-weight: 700; color: var(--ink-faint); }
.steps li { display: flex; align-items: center; gap: 8px; }
.steps li + li::before { content: ""; width: 28px; height: 2px; background: var(--line); }
.steps .on { color: var(--olive-deep); }
.steps .dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--ink-soft); font-size: 12px; }
.steps .on .dot { background: var(--olive); color: #fff; }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 36px; align-items: start; margin-top: 18px; }
.lines { background: var(--card); border-radius: var(--r-l); box-shadow: var(--shadow-1); padding: 8px 24px; }
.line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line:last-child { border-bottom: 0; }
.line .thumb { width: 76px; height: 76px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.line .thumb img { width: 86%; height: 86%; object-fit: contain; }
.line h2 { font-family: var(--font-body); font-size: 15px; font-weight: 700; }
.line .meta { font-size: 12.5px; color: var(--ink-soft); margin: 2px 0 10px; }
.line .tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.line .stepper { height: 38px; }
.line .stepper button { height: 38px; width: 36px; }
.line .amount { font-family: var(--font-display); font-weight: 700; font-size: 19px; text-align: right; white-space: nowrap; }
.line .comment { grid-column: 2 / -1; }
.line .comment input { width: 100%; min-height: 40px; border-radius: 10px; border: 1.5px solid var(--line); padding: 6px 12px; font: inherit; font-size: 14px; }
.line .comment input:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px var(--olive-tint); }
.line.no-photo { grid-template-columns: minmax(0, 1fr) auto; }
.back { display: inline-flex; gap: 6px; margin: 18px 4px 0; font-weight: 700; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--card); border-radius: var(--r-l); box-shadow: var(--shadow-2); padding: 26px; }
.summary h2 { font-size: 26px; margin-bottom: 16px; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border-radius: var(--r-m); background: var(--olive-wash); margin-bottom: 6px; }
.total strong { font-family: var(--font-display); font-size: 28px; }
.fine { font-size: 12.5px; color: var(--ink-soft); margin: 0 0 4px; }
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; }
.slot label { display: block; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 13.5px; line-height: 1.3; height: 100%; }
.slot label small { display: block; color: var(--ink-soft); font-size: 11.5px; margin-top: 2px; }
.slot label .when { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--orange-tint); color: var(--orange-ink); font-size: 11px; font-weight: 700; }
.more-slots { grid-column: 1 / -1; }
.more-slots summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--olive-deep); padding: 6px 0; }
.more-slots .slots { margin-top: 4px; }
.slot label em { display: block; font-style: normal; color: var(--orange-ink); font-size: 11.5px; font-weight: 700; margin-top: 2px; }
.slot input:checked + label { border-color: var(--olive); background: var(--olive-tint); box-shadow: inset 0 0 0 1px var(--olive); }
.slot input:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 2px; }
.reassure { list-style: none; padding: 0; margin: 16px 0 0; font-size: 12.5px; color: var(--ink-soft); display: grid; gap: 4px; }
.reassure li::before { content: "✓ "; color: var(--olive); font-weight: 700; }
.order-done { text-align: center; max-width: 600px; margin: 48px auto 0; }
.order-done .check-mark { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--olive); color: #fff; display: grid; place-items: center; font-size: 34px; }
.order-done dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; text-align: left; margin: 24px 0; padding: 18px; border-radius: var(--r-m); background: var(--olive-wash); }
.order-done dt { font-weight: 700; }
.order-done dd { margin: 0; }
@media (max-width: 1000px) {
    .checkout { grid-template-columns: minmax(0, 1fr); }
    .summary { position: static; }
}
@media (max-width: 560px) {
    .steps { margin-top: 18px; font-size: 12px; }
    .steps li:not(.current) .label { display: none; }
    .lines { padding: 4px 14px; }
    .line { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; }
    .line .thumb { width: 60px; height: 60px; }
    .line .amount { grid-column: 2; text-align: left; font-size: 17px; }
    .line.no-photo { grid-template-columns: minmax(0, 1fr); }
    .line.no-photo .amount, .line.no-photo .comment { grid-column: 1; }
    .summary { padding: 20px; }
}

/* ------------------------------------------------------------------ pages de contenu */
.prose { max-width: 72ch; }
.prose h2 { font-size: 24px; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.auth { max-width: 460px; margin: 0 auto; }
.auth .foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.menu-list a, .menu-list button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 16px 18px; border-radius: var(--r-m); background: var(--card); box-shadow: var(--shadow-1); text-decoration: none; color: var(--ink); font-weight: 700; border: 0; text-align: left; }
.menu-list a::after, .menu-list button::after { content: "→"; color: var(--olive); }
.danger-zone { margin-top: 40px; border: 1.5px solid #f1c5c1; background: #fffafa; }
.danger-zone h2 { color: var(--danger); font-size: 20px; margin-bottom: 8px; }

/* recettes et produits en détail */
.entries { display: grid; gap: 28px; }
.entry { background: var(--card); border-radius: var(--r-l); box-shadow: var(--shadow-1); overflow: hidden; }
.entry-head { padding: 24px 28px 0; }
.entry-head .facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.entry-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; padding: 20px 28px 28px; align-items: start; }
.entry-body img { width: 100%; border-radius: var(--r-m); object-fit: cover; }
.entry-body h3 { font-size: 19px; margin: 16px 0 6px; color: var(--olive-deep); }
.entry-body h3:first-child { margin-top: 0; }
.entry-body ul, .entry-body ol { padding-left: 20px; }
.entry .note { margin: 0 28px 28px; padding: 16px 18px; border-radius: var(--r-m); background: var(--olive-wash); font-size: 14px; }
.entry .note > :first-child { margin-top: 0; }
@media (max-width: 760px) {
    .entry-head { padding: 20px 20px 0; }
    .entry-body { grid-template-columns: minmax(0, 1fr); padding: 16px 20px 20px; }
    .entry-body .img { order: -1; }
    .entry .note { margin: 0 20px 20px; }
}
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 32px; }
.pager .page { color: var(--ink-soft); font-size: 14px; }

/* accueil : fermetures et horaires exceptionnels en cartes « agenda » */
.dates { margin-top: 28px; }
.dates__title { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.dates ul { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.date-card { display: flex; align-items: center; gap: 14px; flex: 1 1 250px; max-width: 360px; padding: 10px 16px 10px 10px; background: var(--card); border-radius: var(--r-m); box-shadow: var(--shadow-2); }
.date-card__cal { flex: none; width: 64px; border-radius: 10px; overflow: hidden; text-align: center; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.date-card__month { display: block; padding: 3px 0; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.date-card__day { display: block; padding: 4px 2px 6px; font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.1; color: var(--ink); white-space: nowrap; }
.date-card--closed .date-card__month { background: var(--danger); }
.date-card--hours .date-card__month { background: var(--orange); color: var(--ink); }
.date-card__text { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--ink-soft); line-height: 1.35; }
.date-card__text strong { font-size: 15.5px; color: var(--ink); }
.date-card--closed .date-card__text strong { color: var(--danger); }

/* Champ piège anti-robots du formulaire de réservation : invisible pour les visiteurs */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
