/* Olilégumes — boutique (mobile first, sans ressource externe) */
:root {
  --green: #1f5130;
  --green-2: #2f7a47;
  --green-soft: #e7f1e3;
  --cream: #faf6ee;
  --paper: #ffffff;
  --ink: #1f2a1c;
  --muted: #6b705c;
  --line: #e6e0d2;
  --tomato: #d9472b;
  --sun: #f2b632;
  --gaspi: #8a5a1c;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(31, 42, 28, .06), 0 6px 20px rgba(31, 42, 28, .06);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.5; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-2); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; color: var(--green); margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 3.5vw, 1.8rem); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.plain { list-style: none; padding: 0; margin: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 100; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

/* Annonce + header */
.announce { background: var(--green); color: #fff; text-align: center; font-size: .85rem; padding: 7px 16px; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--green); font-family: var(--serif); font-weight: 700; font-size: 1.4rem; white-space: nowrap; }
.logo-mark { font-size: 1.6rem; }
.logo-img { display: block; height: 58px; width: auto; }
@media (max-width: 599px) { .logo-img { height: 46px; } }
.footer-logo-img { display: block; height: 70px; width: auto; margin-bottom: 6px; }
.main-nav { display: none; }
.main-nav a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 8px 12px; border-radius: 999px; }
.main-nav a:hover, .main-nav a.active { background: var(--green-soft); color: var(--green); }
.search { flex: 1; min-width: 0; }
.search input { width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); font: inherit; }
.cart-link { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; flex: none; }
.cart-count { position: absolute; top: -4px; right: -4px; background: var(--tomato); color: #fff; font-size: .75rem; font-weight: 700; min-width: 22px; height: 22px; border-radius: 11px; display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff; }
.cart-count.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }
.burger { display: flex; flex-direction: column; gap: 4px; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-open .main-nav { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; padding: 12px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
@media (max-width: 599px) { .logo-text { display: none; } }
@media (min-width: 960px) {
  .burger { display: none; }
  .main-nav { display: flex; gap: 4px; }
  .search { max-width: 260px; margin-left: auto; }
}

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 18px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .1s, background .2s; line-height: 1.1; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-2); }
.btn-ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn-light { background: #fff; color: var(--gaspi); }
.btn-lg { padding: 14px 24px; font-size: 1.05rem; }
.btn-block { width: 100%; margin-top: 10px; }
.btn-small { padding: 6px 12px; font-size: .85rem; }
.btn-disabled, .btn:disabled { background: #ddd; color: #777; cursor: not-allowed; }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; padding: 4px 0; }

/* Alertes */
.alert { padding: 12px 16px; border-radius: 12px; margin: 14px 0; font-weight: 500; }
.alert-success { background: #e3f3e1; color: #1d5b2a; }
.alert-error { background: #fde6e1; color: #8c2512; }
.alert-info { background: #fff5d9; color: #6c4d00; }

/* Hero */
.hero { background: radial-gradient(120% 120% at 100% 0%, #f9e6b8 0%, var(--cream) 55%); }
.hero-inner { display: grid; gap: 24px; padding-top: 36px; padding-bottom: 36px; align-items: center; }
.eyebrow { font-weight: 700; color: var(--green-2); margin: 0 0 10px; }
.hero h1 em { color: var(--tomato); font-style: italic; }
.lead { font-size: 1.1rem; color: #3b4637; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.next-days { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .9rem; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .9rem; white-space: nowrap; }
.chip.active { background: var(--green); color: #fff; border-color: var(--green); }
.chip-promo { border-color: var(--tomato); }
.chip-gaspi { border-color: var(--gaspi); }
.crate { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: #b9874f; padding: 14px; border-radius: 20px; box-shadow: inset 0 -8px 0 rgba(0,0,0,.12), var(--shadow); max-width: 360px; margin: 0 auto; }
.crate span { background: #d9a86c; border-radius: 14px; font-size: clamp(2.4rem, 9vw, 3.6rem); text-align: center; padding: 8px 0; }
.crate-photos span { padding: 0; overflow: hidden; aspect-ratio: 1; background: #fff; }
.crate-photos img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 860px) { .hero-inner { grid-template-columns: 1.3fr 1fr; padding-top: 60px; padding-bottom: 60px; } }

/* Étapes */
.steps { display: grid; gap: 12px; margin-top: -10px; position: relative; }
.step { display: flex; gap: 12px; background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.step p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.step-n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); color: var(--ink); font-weight: 800; display: grid; place-items: center; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Sections */
.section { padding-top: 28px; padding-bottom: 28px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.section-head a { font-weight: 700; white-space: nowrap; }
.page-head { padding-top: 26px; }
.page-head h1 { margin-bottom: 14px; }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.breadcrumb { padding-top: 16px; font-size: .9rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }

.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cat-tile { background: #fff; border-radius: var(--radius); padding: 16px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow); font-weight: 700; transition: transform .15s; }
.cat-tile:hover { transform: translateY(-2px); }
.cat-tile small { color: var(--muted); font-weight: 400; }
.cat-emoji { font-size: 2rem; }
@media (min-width: 760px) { .cat-grid { grid-template-columns: repeat(5, 1fr); } }

/* Grille produits */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.card.is-out { opacity: .65; }
.card-media { position: relative; aspect-ratio: 1; background: var(--green-soft); display: block; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.placeholder { display: grid; place-items: center; width: 100%; height: 100%; font-size: 3.4rem; }
.placeholder.big { font-size: 8rem; aspect-ratio: 1; }
.tags { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; flex-wrap: wrap; }
.tag { font-size: .75rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; color: #fff; }
.tag-promo { background: var(--tomato); }
.tag-bio { background: #4c8b2b; }
.tag-gaspi { background: var(--gaspi); }
.card-body { padding: 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.card-title { font-family: var(--sans); font-size: 1rem; margin: 0; color: var(--ink); }
.card-title a { color: inherit; text-decoration: none; }
.card-variety { font-size: .85rem; color: var(--muted); }
/* Origine : taille au moins égale au prix unitaire de référence (recommandation DGCCRF : bien visible) */
.origin { font-size: .9rem; color: var(--ink); }
.origin-lg { font-size: 1.05rem; }
.price-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.price { font-size: 1.2rem; font-weight: 800; color: var(--green); }
.per { font-size: .85rem; color: var(--muted); }
.ref { color: var(--muted); font-size: .9rem; }
.price-row.big .price { font-size: 2rem; }
.ppk { font-size: .82rem; color: var(--muted); }
.stock { font-size: .82rem; color: #b25b00; font-weight: 700; }
.stock.out { color: var(--tomato); }
.add-form { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.btn-add { width: 100%; padding: 10px; }
.in-cart { font-weight: 400; opacity: .85; }

/* Stepper quantité */
.stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); overflow: hidden; }
.stepper button { width: 38px; height: 38px; border: 0; background: transparent; font-size: 1.3rem; color: var(--green); cursor: pointer; flex: none; }
.stepper button:hover { background: var(--green-soft); }
.stepper input, .stepper input[type=text] { width: 100%; min-width: 0; border: 0; border-radius: 0; background: transparent; text-align: right; font: inherit; font-weight: 700; padding: 0; margin: 0; }
@media (max-width: 420px) { .stepper button { width: 32px; } .card .stepper-unit { padding: 0 2px; } }
.stepper-unit { padding: 0 6px 0 4px; font-size: .85rem; color: var(--muted); white-space: nowrap; flex: none; }
.stepper-lg { max-width: 220px; }
.stepper-lg button { width: 48px; height: 48px; }
.add-form-lg { flex-direction: row; flex-wrap: wrap; align-items: center; }

/* Fiche produit */
.product { display: grid; gap: 24px; padding-top: 14px; padding-bottom: 30px; }
@media (min-width: 860px) { .product { grid-template-columns: 1fr 1fr; gap: 40px; } }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--green-soft); aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumb { flex: none; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; }
.thumb.active { border-color: var(--green); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { margin-bottom: 4px; }
.variety { color: var(--muted); margin: 0; }
.gaspi-value { background: #f6ead7; padding: 10px 14px; border-radius: 12px; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; background: #fff; padding: 16px; border-radius: var(--radius); margin: 20px 0; }
.specs dt { font-weight: 700; color: var(--muted); }
.specs dd { margin: 0; }
.legal-info { background: #fff; border-radius: 12px; padding: 12px 16px; }
.prose p { margin: 0 0 .8em; }

/* Bannière anti-gaspi */
.gaspi-banner { background: linear-gradient(135deg, #8a5a1c, #b5782e); color: #fff; border-radius: 22px; padding: 24px; display: grid; gap: 18px; }
.gaspi-banner h2 { color: #fff; }
.gaspi-list { display: flex; flex-direction: column; gap: 8px; }
.gaspi-item { display: flex; justify-content: space-between; background: rgba(255,255,255,.15); color: #fff; padding: 12px 16px; border-radius: 12px; text-decoration: none; }
@media (min-width: 760px) { .gaspi-banner { grid-template-columns: 1.3fr 1fr; padding: 34px; align-items: center; } }
.info-strip { display: grid; gap: 16px; }
.info-strip > div { background: #fff; padding: 18px; border-radius: var(--radius); }
.info-strip h3 { font-size: 1.1rem; }
.info-strip p { margin: 0; color: var(--muted); }
@media (min-width: 760px) { .info-strip { grid-template-columns: repeat(3, 1fr); } }
.note-box { background: #fff5d9; border-radius: 12px; padding: 14px 16px; margin-top: 20px; }
.empty { text-align: center; padding: 50px 0; }

/* Panier */
.cart-layout { display: grid; gap: 20px; }
@media (min-width: 900px) { .cart-layout { grid-template-columns: 1fr 360px; align-items: start; } }
.cart-lines { display: flex; flex-direction: column; gap: 10px; }
.cart-line { display: grid; grid-template-columns: 72px 1fr; gap: 12px; background: #fff; padding: 12px; border-radius: var(--radius); align-items: center; }
.cart-thumb { width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--green-soft); display: block; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb .placeholder { font-size: 2rem; }
.cart-name { font-weight: 700; color: var(--ink); text-decoration: none; }
.cart-qty { margin-top: 8px; max-width: 190px; }
.cart-total { grid-column: 2; display: flex; justify-content: space-between; align-items: center; }
@media (min-width: 600px) { .cart-line { grid-template-columns: 72px 1fr auto; } .cart-total { grid-column: auto; flex-direction: column; align-items: flex-end; } }
.cart-summary { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); position: sticky; top: 80px; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: 1.2rem; }
.savings { color: var(--tomato); }
.free-bar { background: var(--green-soft); border-radius: 12px; padding: 12px; margin: 10px 0; }
.free-text { font-size: .9rem; margin-bottom: 6px; }
.bar { height: 8px; background: #fff; border-radius: 4px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--green-2); transition: width .3s; }

/* Commande */
.checkout { display: grid; gap: 20px; }
@media (min-width: 960px) { .checkout { grid-template-columns: 1fr 360px; align-items: start; } }
.checkout-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.panel { background: #fff; border: 0; border-radius: var(--radius); padding: 18px; margin: 0; box-shadow: var(--shadow); min-width: 0; }
.panel legend { font-family: var(--serif); font-size: 1.3rem; color: var(--green); font-weight: 700; padding: 0; float: left; width: 100%; margin-bottom: 12px; }
.panel > legend ~ * { clear: both; }
.num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--sans); font-size: .9rem; margin-right: 6px; vertical-align: 2px; }
fieldset.slot-picker, fieldset.form-grid { border: 0; padding: 0; margin: 0; min-width: 0; }
.mode-choice { display: grid; gap: 10px; }
@media (min-width: 600px) { .mode-choice { grid-template-columns: 1fr 1fr; } }
.mode-card, .pay-method { display: flex; gap: 10px; align-items: flex-start; border: 2px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; }
.mode-card small { display: block; color: var(--muted); }
.mode-card:has(input:checked), .pay-method:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.mode-card input, .pay-method input { margin-top: 4px; accent-color: var(--green); }
.pay-methods { display: flex; flex-direction: column; gap: 8px; }
.cards { display: block; font-size: .8rem; color: var(--muted); }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: thin; }
.day { flex: none; display: flex; flex-direction: column; align-items: center; padding: 10px 14px; border: 2px solid var(--line); background: #fff; border-radius: 14px; cursor: pointer; font: inherit; font-weight: 700; min-width: 76px; }
.day small { font-weight: 400; color: var(--muted); }
.day.active { border-color: var(--green); background: var(--green); color: #fff; }
.day.active small { color: #d8ead2; }
.times { display: none; }
.times.active { display: block; }
.no-js .times { display: block; margin-bottom: 14px; }
.times-title { font-weight: 700; margin: 6px 0 8px; }
.times-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.time input { position: absolute; opacity: 0; pointer-events: none; }
.time span { display: flex; flex-direction: column; align-items: center; padding: 10px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 600; font-size: .95rem; }
.time small { font-size: .72rem; color: #b25b00; font-weight: 600; }
.time input:checked + span { border-color: var(--green); background: var(--green-soft); color: var(--green); }
.time input:focus-visible + span { outline: 3px solid var(--sun); }
.time.full span { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.form-grid { display: grid; gap: 12px; margin-bottom: 12px; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: span 2; } }
label { display: block; font-weight: 600; font-size: .92rem; }
input[type=text], input[type=email], input[type=tel], input[type=search], input[type=password], input[type=number], input[type=date], input[type=time], input[type=url], input:not([type]), textarea, select { width: 100%; padding: 12px; border: 1px solid #d5cfbf; border-radius: 10px; font: inherit; background: #fff; margin-top: 4px; }
textarea { resize: vertical; }
.hp { position: absolute; left: -10000px; }
.legal-box { background: var(--cream); border-radius: 12px; padding: 14px; margin-top: 14px; font-size: .9rem; }
.legal-box p { margin-top: 0; }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; }
.check input { margin-top: 4px; accent-color: var(--green); width: 18px; height: 18px; flex: none; }
.mini-lines { list-style: none; padding: 0; margin: 0 0 10px; max-height: 260px; overflow: auto; border-bottom: 1px solid var(--line); }
.mini-lines li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: .9rem; }
.mini-lines small { color: var(--muted); }

/* Suivi */
.success-hero { font-size: 4rem; text-align: center; }
.page-head:has(.success-hero) { text-align: center; }
.progress { display: flex; list-style: none; padding: 0; margin: 20px 0; counter-reset: s; }
.progress li { flex: 1; text-align: center; font-size: .82rem; color: var(--muted); position: relative; }
.progress li span { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--line); margin: 0 auto 6px; position: relative; z-index: 1; }
.progress li::before { content: ""; position: absolute; top: 8px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.progress li:first-child::before { display: none; }
.progress li.done { color: var(--green); font-weight: 700; }
.progress li.done span, .progress li.done::before { background: var(--green-2); }
.slot-box { background: var(--green-soft); padding: 12px 14px; border-radius: 12px; font-weight: 600; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table .r { text-align: right; white-space: nowrap; }
.table tfoot td { border: 0; }
.table tr.total td { font-weight: 800; font-size: 1.1rem; }
.info-cols { display: grid; gap: 16px; }
@media (min-width: 900px) { .info-cols { grid-template-columns: repeat(3, 1fr); } }
details { border-top: 1px solid var(--line); padding: 10px 0; }
summary { cursor: pointer; font-weight: 700; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal .table { font-size: .85rem; display: block; overflow-x: auto; }
mark.todo { background: #ffe58a; padding: 0 4px; }

/* Footer */
.site-footer { background: var(--green); color: #e7f1e3; margin-top: 40px; padding-top: 36px; }
.site-footer a { color: #fff; }
.site-footer h3 { color: #fff; font-family: var(--sans); font-size: 1rem; }
.footer-logo { color: #fff; }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255,255,255,.15); margin-top: 24px; padding-top: 14px; padding-bottom: 18px; font-size: .8rem; opacity: .85; }
.legal-note { margin-top: 20px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 120px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; transition: transform .3s; z-index: 100; max-width: calc(100% - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); }
.toast a { color: var(--sun); margin-left: 8px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Code de retrait */
.pickup-code { text-align: center; background: var(--green); color: #fff; border-radius: var(--radius); padding: 18px 16px; margin: 0 0 16px; box-shadow: var(--shadow); }
.pickup-code small { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; opacity: .9; }
.pickup-code strong { display: block; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: clamp(2.4rem, 12vw, 3.4rem); letter-spacing: .3em; line-height: 1.2; padding-left: .3em; }
.pickup-code span { font-size: .9rem; }

/* ---------- Espace professionnels ---------- */
.announce-pro { background: #26303a; }
.narrow-sm { max-width: 480px; }
.pro-hero { background: linear-gradient(135deg, #e7f1e3, #f6efe2); padding: 42px 0 34px; }
.pro-hero h1 { font-family: var(--serif); color: var(--green); font-size: clamp(1.8rem, 5vw, 2.8rem); line-height: 1.15; margin: 0 0 12px; }
.pro-hero h1 em { color: #c2571a; }
.pro-features { display: grid; gap: 14px; }
@media (min-width: 700px) { .pro-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pro-features { grid-template-columns: repeat(4, 1fr); } }
.pro-feature { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.pro-feature span { font-size: 1.8rem; }
.pro-feature h3 { margin: 6px 0; font-size: 1.05rem; color: var(--green); }
.pro-feature p { margin: 0; font-size: .93rem; color: #3b4637; }
.pro-steps { padding-left: 20px; }
.pro-steps li { margin-bottom: 8px; }
.pro-conditions li { padding: 4px 0; }
.pro-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.pro-filters input { flex: 1 1 220px; margin: 0; }
.pro-filters select { flex: 0 1 220px; width: auto; margin: 0; }
.pro-group { font-family: var(--serif); color: var(--green); font-size: 1.3rem; margin: 18px 0 8px; }
.pro-rows { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.pro-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "thumb info price" "thumb qty qty"; gap: 6px 12px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.pro-row:last-child { border-bottom: 0; }
.pro-row.in-cart { background: var(--green-soft); }
.pro-row.is-out { opacity: .55; }
.pro-thumb { grid-area: thumb; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--green-soft); display: grid; place-items: center; font-size: 1.6rem; }
.pro-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pro-info { grid-area: info; min-width: 0; overflow-wrap: anywhere; }
.pro-info small { display: block; color: var(--muted); font-size: .8rem; }
.pro-price { grid-area: price; text-align: right; white-space: nowrap; }
.pro-price small { display: block; font-size: .75rem; }
.pro-qty { grid-area: qty; display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.pro-qty .stepper { width: 150px; }
@media (min-width: 760px) {
  .pro-row { grid-template-columns: 56px minmax(0, 1fr) 150px 230px; grid-template-areas: "thumb info price qty"; }
}
.pro-sheet-bar { position: sticky; bottom: 0; display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; background: rgba(247,243,234,.97); padding: 12px 0; margin-top: 14px; border-top: 1px solid var(--line); z-index: 5; }
.pro-sheet-bar span { margin-right: auto; }
.pro-dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pro-cart-table .stepper { width: 140px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.row-actions form { margin: 0; }
.pro-order-list { display: grid; gap: 12px; }
@media (min-width: 800px) { .pro-order-list { grid-template-columns: 1fr 1fr; } }
.pro-order-card { margin: 0; }
.poc-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.poc-total { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 4px 0; }
.cols-2 { display: grid; gap: 16px; }
@media (min-width: 900px) { .cols-2 { grid-template-columns: 1fr 1fr; align-items: start; } }
.cols-2 > div > * + * { margin-top: 16px; }
.pro-logout { margin: 0; }
.pro-logout .link { background: none; border: 0; color: var(--green); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.badge-green { background: #dff0da; color: #1d5b2a; } .badge-red { background: #fbe0db; color: #a3291a; }
.badge-orange { background: #fdebd3; color: #8a4b05; } .badge-grey { background: #eceae4; color: #555; }
.badge-blue { background: #dfeaf8; color: #1d4b80; } .badge-teal { background: #d9f1ee; color: #155e57; } .badge-dark { background: #2b2b2b; color: #fff; }
@media (max-width: 599px) { .pro-logout.hide-sm { display: none; } }
.checkout > * { min-width: 0; }
@media (max-width: 640px) {
  .pro-cart-table thead { display: none; }
  .pro-cart-table, .pro-cart-table tbody { display: block; width: 100%; }
  .pro-cart-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
  .pro-cart-table td { display: block; border: 0; padding: 0; }
  .pro-cart-table td:nth-child(1) { grid-column: 1; grid-row: 1; }
  .pro-cart-table td:nth-child(5) { grid-column: 2; grid-row: 1; }
  .pro-cart-table td:nth-child(2) { grid-column: 1; grid-row: 2; }
  .pro-cart-table td:nth-child(4) { grid-column: 2; grid-row: 2; }
  .pro-cart-table td:nth-child(3) { grid-column: 1 / -1; grid-row: 3; text-align: left; font-size: .85rem; color: var(--muted); }
  .pro-cart-table td:nth-child(3)::before { content: "Prix unitaire HT : "; }
}
.field-hint { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); margin-top: 4px; }
