/* Gourméa Events — noir, doré, blanc et touches gourmandes */
/* Playfair Display (police des titres), hébergée sur le site : licence SIL OFL 1.1, voir static/fonts/OFL.txt */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/playfair-display-normal-latin.6da252de0cbc.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/playfair-display-normal-latin-ext.a81e6c6c3493.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 900; font-display: swap;
  src: url("../fonts/playfair-display-italic-latin.f5051d38185e.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 900; font-display: swap;
  src: url("../fonts/playfair-display-italic-latin-ext.ca5b518e3197.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --black: #0c0b09;
  --ink: #15130f;
  --card: #1c1913;
  --line: #2e2a20;
  --gold: #d4a437;
  --gold-light: #f3d27a;
  --gold-dark: #9c7420;
  --gold-grad: linear-gradient(135deg, #f6dc8c 0%, #d4a437 45%, #a67a1e 100%);
  --white: #fbf8f1;
  --muted: #c3bba9;
  --cream: #fffaf0;
  --red: #e2364b;
  --green: #7bc043;
  --pink: #f28db2;
  --orange: #f59a23;
  --blue: #2f8fe6;
  --ok: #3fb26b;
  --warn: #f0a92b;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, .28);
  --shadow: 0 16px 36px rgba(0, 0, 0, .34);
  --hairline: rgba(212, 164, 55, .32);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --serif: "Playfair Display", Didot, "Bodoni 72", "Bodoni MT", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--black); color: var(--white);
  font: 16px/1.6 var(--sans); min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-light); text-decoration: none; }
a:hover { color: var(--white); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.5em; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font: 600 1rem var(--sans); letter-spacing: .01em; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
  text-align: center;
}
.btn-gold { background: var(--gold-grad); color: #1a1408; box-shadow: 0 6px 20px rgba(212, 164, 55, .3); }
.btn-gold:hover { color: #1a1408; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(212, 164, 55, .45); }
.btn-outline { border-color: var(--gold); color: var(--gold-light); background: transparent; }
.btn-outline:hover { background: rgba(212, 164, 55, .12); color: var(--white); }
.btn-ghost { background: transparent; color: var(--muted); padding: .4em .6em; border: 0; }
.btn-ghost:hover { color: var(--white); }
.btn:active:not([disabled]) { transform: translateY(0) scale(.98); }
.btn-block { width: 100%; }
.btn.is-busy { pointer-events: none; opacity: .85; }
.btn.is-busy::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.btn.is-done::before { content: "✓"; font-weight: 800; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* Bandeau et en-tête */
.announce { background: var(--gold-grad); color: #1a1408; text-align: center; font-size: .9rem; font-weight: 600; padding: .45em 16px; }
.preview-banner { background: #3a2a07; color: var(--gold-light); text-align: center; font-size: .85rem; padding: .4em 16px; border-bottom: 1px solid var(--gold-dark); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(12, 11, 9, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 58px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font: 700 1.25rem var(--serif); }
.brand-text span { color: var(--muted); font-size: .75rem; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { color: var(--white); padding: .5em .8em; border-radius: 8px; font-weight: 500; font-size: .95rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--gold-light); background: rgba(212, 164, 55, .08); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--white); background: transparent; border: 0; cursor: pointer; }
.icon-btn:hover { background: rgba(255, 255, 255, .06); color: var(--gold-light); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: var(--radius-sm); background: var(--gold-grad); color: #1a1408; font-size: .72rem; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--black); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-toggle { display: none; }
.search-bar { border-top: 1px solid var(--line); padding: 10px 0; display: none; }
.search-bar.open { display: block; }
.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; }

/* Formulaires */
input[type=text], input[type=email], input[type=tel], input[type=search], input[type=number], select, textarea {
  width: 100%; padding: .75em 1em; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--ink); color: var(--white); font: inherit;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(212, 164, 55, .2); }
label { display: block; font-weight: 600; margin-bottom: .35em; font-size: .95rem; }
.field { margin-bottom: 1rem; }
.field .help { color: var(--muted); font-size: .8rem; margin-top: .25em; }
.errorlist { list-style: none; padding: 0; margin: .3em 0 0; color: #ff8a8a; font-size: .85rem; }
.check { display: flex; gap: .6em; align-items: flex-start; font-weight: 400; }
.check input { margin-top: .3em; accent-color: var(--gold); width: 18px; height: 18px; flex-shrink: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* Messages : notifications discrètes aux couleurs de la boutique */
.messages { position: fixed; z-index: 120; top: 86px; right: 16px; width: min(420px, calc(100% - 32px)); list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; pointer-events: none; }
.messages li { pointer-events: auto; position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 14px 44px 14px 16px; border-radius: var(--radius); background: #1e1a14; border: 1px solid var(--hairline); border-left: 3px solid var(--gold); box-shadow: var(--shadow); font-size: .94rem; animation: toast-in .45s var(--ease) both; }
.messages li.leaving { animation: toast-out .35s ease both; }
.messages li a { font-weight: 700; }
.messages .toast-actions { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; }
.messages .toast-actions a { white-space: nowrap; }
.messages .toast-close { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.messages .toast-close:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.msg-success { border-left-color: var(--gold); }
.msg-error { border-left-color: var(--red); border-color: rgba(226, 54, 75, .45); }
.msg-info, .msg-warning { border-left-color: var(--gold-light); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(16px); } }

/* Transitions douces entre les pages (navigateurs récents ; ignoré ailleurs) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }

/* Accueil */
.hero { position: relative; overflow: hidden; padding: 48px 0 56px; background: radial-gradient(ellipse at 70% 40%, rgba(212, 164, 55, .18), transparent 60%), var(--black); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; }
.hero h1 { margin-bottom: .3em; }
.hero .lead { font-size: 1.15rem; color: #e8e1d2; max-width: 34em; }
.hero-logo { width: 100%; max-height: 460px; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6)); border-radius: 18px; }
.hero-showcase { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 1fr); gap: 12px; aspect-ratio: 1 / .92; }
.hero-shot { position: relative; display: block; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--hairline); box-shadow: var(--shadow); background: var(--ink); animation: shot-in .9s var(--ease) both; }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hero-shot:hover img { transform: scale(1.04); }
.hero-shot-label { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 3px 10px; border-radius: 999px; background: rgba(12, 11, 9, .78); backdrop-filter: blur(6px); color: var(--white); font-size: .76rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s var(--ease); }
.hero-shot:hover .hero-shot-label { opacity: 1; transform: none; }
.shot-1 { grid-column: 1 / 5; grid-row: 1 / 5; }
.shot-2 { grid-column: 5 / 7; grid-row: 1 / 3; animation-delay: .08s; }
.shot-3 { grid-column: 5 / 7; grid-row: 3 / 5; animation-delay: .16s; }
.shot-4 { grid-column: 1 / 3; grid-row: 5 / 7; animation-delay: .24s; }
.shot-5 { grid-column: 3 / 7; grid-row: 5 / 7; animation-delay: .32s; }
@keyframes shot-in { from { opacity: 0; transform: translateY(14px); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; color: var(--gold); font-weight: 700; margin-bottom: .8em; }
.eyebrow.ornate { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow.ornate::before { content: ""; width: 28px; height: 1px; background: var(--gold-dark); }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin: 0 auto; padding: 8px 16px; max-width: 520px; }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dark)); }
.ornament::after { background: linear-gradient(90deg, var(--gold-dark), transparent); }
.ornament svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.candy-dots { display: flex; gap: 8px; margin-bottom: 1.2em; }
.candy-dots i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset -2px -2px 3px rgba(0, 0, 0, .3), inset 2px 2px 3px rgba(255, 255, 255, .4); }
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px 16px; }
.trust-item { display: flex; gap: 12px; align-items: center; }
.trust-item svg { width: 34px; height: 34px; color: var(--gold); flex-shrink: 0; }
.trust-item strong { display: block; font-size: .95rem; }
.trust-item span { color: var(--muted); font-size: .82rem; }
.section { padding: 56px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); }
.section-head > a { display: inline-block; padding: 8px 0; }

/* Catégories : mosaïque de trois photos de la catégorie, texte en dessous (photos jamais assombries) */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; color: var(--white); border: 1px solid var(--line); background: linear-gradient(180deg, #1e1a14, var(--card)); isolation: isolate; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.cat-card:hover { transform: translateY(-3px); border-color: var(--hairline); box-shadow: var(--shadow); color: var(--white); }
.cat-mosaic { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; aspect-ratio: 16 / 10; background: var(--black); }
.cat-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-mosaic img:first-child { grid-row: span 2; }
.cat-card:hover .cat-mosaic img { transform: scale(1.04); }
.cat-mosaic { overflow: hidden; }
.cat-mosaic img { min-height: 0; }
.cat-illustration { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cat-body { position: relative; padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.cat-card .bar { display: block; width: 32px; height: 3px; border-radius: 2px; margin-bottom: 10px; }
.cat-title { font-size: 1.35rem; margin: 0 0 .25em; }
.cat-card p { margin: 0 0 12px; font-size: .9rem; color: #ddd4c0; }
.cat-more { margin-top: auto; font-size: .86rem; font-weight: 700; color: var(--gold-light); letter-spacing: .02em; }
.cat-more span { display: inline-block; transition: transform .3s var(--ease); }
.cat-card:hover .cat-more span { transform: translateX(4px); }
/* Dernière carte seule sur sa ligne : présentée en largeur (photos à gauche, texte à droite) */
.cat-grid > .cat-card:last-child:nth-child(3n+1) { grid-column: 1 / -1; flex-direction: row; }
.cat-grid > .cat-card:last-child:nth-child(3n+1) .cat-mosaic,
.cat-grid > .cat-card:last-child:nth-child(3n+1) .cat-illustration { width: 58%; flex-shrink: 0; aspect-ratio: 21 / 9; }
.cat-grid > .cat-card:last-child:nth-child(3n+1) .cat-body { justify-content: center; padding: 28px 32px; }
.cat-grid > .cat-card:last-child:nth-child(3n+1) .cat-title { font-size: 1.7rem; }

/* Grille produits */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.catalog-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.product-card { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, #1e1a14, var(--card)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.product-card:hover { transform: translateY(-3px); border-color: var(--hairline); box-shadow: var(--shadow); color: inherit; }
.product-card:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.product-media { position: relative; aspect-ratio: 1; background: var(--ink); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -1px 0 var(--line); pointer-events: none; }
.photo-soon { position: absolute; bottom: 8px; left: 8px; background: rgba(0, 0, 0, .6); color: var(--muted); font-size: .76rem; padding: 2px 8px; border-radius: var(--radius-sm); }
.badge { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .01em; }
.badge-out { background: #333; color: #ddd; }
.badge-draft { background: var(--warn); color: #1a1408; }
.badge-soon { background: var(--gold-grad); color: #1a1408; }
.badge-low { background: #6b3f0a; color: #ffe2b0; }
.product-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; gap: 2px; }
.product-brand { color: var(--gold); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.product-name { font: 600 1.05rem/1.3 var(--sans); margin: .2em 0 .3em; color: var(--white); }
.product-taste { color: var(--muted); font-size: .85rem; margin-bottom: .6em; }
.product-price { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; gap: 1px; }
.price-kg { color: var(--muted); font-size: .78rem; }
.product-price > span { white-space: nowrap; }
.price { font-weight: 800; font-size: 1.15rem; color: var(--gold-light); }
.price small { font-weight: 400; color: var(--muted); font-size: .78rem; }

/* Catalogue + filtres */
.page-head { padding: 36px 0 20px; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 20% 0, rgba(212, 164, 55, .12), transparent 60%); }
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: .8em; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-light); }
.catalog { display: grid; grid-template-columns: 250px 1fr; gap: 28px; padding: 28px 16px 56px; }
.filters { position: sticky; top: 92px; align-self: start; }
.filters fieldset { border: 0; border-top: 1px solid var(--line); padding: 14px 0; margin: 0; }
.filters legend { font-weight: 700; padding: 0; margin-bottom: 8px; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.filters .check { font-size: .92rem; margin-bottom: 4px; }
.filters-toggle { display: none; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar select { width: auto; }
.results { scroll-margin-top: 96px; min-width: 0; }
.filter-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--gold-grad); color: #1a1408; font-size: .78rem; font-weight: 800; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 18px; }
.chip-remove { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 12px; border-color: var(--hairline); color: var(--white); transition: border-color .2s, background .2s; }
.chip-remove span { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(212, 164, 55, .16); color: var(--gold-light); font-size: .9rem; line-height: 1; }
.chip-remove:hover { border-color: var(--gold); background: rgba(212, 164, 55, .08); color: var(--white); }
.clear-filters { font-size: .86rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 4px 2px; }
.empty { text-align: center; padding: 48px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--muted); background: radial-gradient(ellipse at 50% 0, rgba(212, 164, 55, .08), transparent 70%), var(--ink); }
.empty h2 { color: var(--white); font-size: clamp(1.3rem, 3vw, 1.7rem); }
.empty-icon { width: 46px; height: 46px; margin: 0 auto 12px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; }
.empty-suggestions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 4px 0 22px; }
.empty-suggestions .chip:hover { border-color: var(--hairline); color: var(--gold-light); }
.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 32px; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: var(--radius-sm); border: 1px solid var(--line); color: var(--white); transition: border-color .2s, color .2s, background .2s; }
.pagination a:hover { border-color: var(--hairline); color: var(--gold-light); }
.pagination .page-current { background: var(--gold-grad); color: #1a1408; border-color: transparent; font-weight: 800; }
.pagination .page-gap { border: 0; min-width: 20px; color: var(--muted); }

/* Fiche produit */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 28px 16px 48px; }
.product-nav { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 20px; }
.product-nav .breadcrumb { margin: 0; }
.back-link { display: inline-flex; align-items: center; font-size: .9rem; font-weight: 600; padding: 6px 0; }
.back-link[hidden] { display: none; }
.product-layout > div:first-child { min-width: 0; }
.product-photo { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--hairline); background: var(--ink); aspect-ratio: 1; position: relative; box-shadow: var(--shadow); position: sticky; top: 96px; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: .2em 0 1.2em; }
.chip { display: inline-block; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .82rem; color: #e8e1d2; background: var(--ink); }
.qty-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: .4em 0 1.2em; }
.qty-option input { position: absolute; opacity: 0; pointer-events: none; }
.qty-option span { display: flex; flex-direction: column; align-items: center; padding: 12px 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; background: var(--ink); transition: border-color .15s, background .15s; }
.qty-option span b { font-size: 1.05rem; }
.qty-option span small { color: var(--gold-light); font-weight: 700; }
.qty-option input:checked + span { border-color: var(--gold); background: rgba(212, 164, 55, .12); box-shadow: 0 0 0 1px var(--gold) inset; }
.qty-option input:disabled + span { opacity: .35; cursor: not-allowed; }
.qty-option input:focus-visible + span { outline: 2px solid var(--gold-light); }
.buy-row { display: flex; gap: 12px; align-items: stretch; }
.stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--ink); }
.stepper button { width: 42px; height: 46px; background: none; border: 0; color: var(--white); font-size: 1.3rem; cursor: pointer; }
.stepper input { width: 46px; text-align: center; border: 0; background: none; padding: 0; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.total-line { margin: 1em 0; font-size: 1.05rem; }
.total-line strong { font-size: 1.6rem; color: var(--gold-light); }
.buy-sticky { display: none; }
.info-tabs { margin-top: 28px; border-top: 1px solid var(--line); }
.info-tabs details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.info-tabs summary { cursor: pointer; padding: 12px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.info-tabs summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; }
.info-tabs details[open] summary::after { content: "–"; }
.info-tabs .content { padding-bottom: 14px; color: #e8e1d2; }
.allergen { font-weight: 700; color: var(--gold-light); }
.nutri { width: 100%; border-collapse: collapse; font-size: .92rem; }
.nutri td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.nutri td:last-child { text-align: right; }
.nutri .sub td:first-child { padding-left: 1em; color: var(--muted); }
.notice { border: 1px solid; border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 1.2em; font-size: .92rem; }
.notice-warn { border-color: rgba(240, 169, 43, .5); background: rgba(240, 169, 43, .08); }
.notice-info { border-color: var(--line); background: var(--ink); }
.notice-success { border-color: rgba(63, 178, 107, .5); background: rgba(63, 178, 107, .12); }
.notice ul { margin: .4em 0 0; padding-left: 1.2em; }

/* Panier et commande */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; padding: 28px 16px 56px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line img { width: 84px; height: 84px; object-fit: cover; border-radius: var(--radius-sm); background: var(--ink); }
.cart-line h3 { font: 600 1rem var(--sans); margin: 0; }
.cart-line .line-actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.cart-line .stepper button { height: 36px; width: 34px; }
.cart-line .stepper input { width: 34px; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 92px; }
.summary h2 { font-size: 1.4rem; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; }
.summary-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 1.2rem; font-weight: 800; }
.summary-total span:last-child { color: var(--gold-light); }
.promo-form { display: flex; gap: 8px; margin: 12px 0; }
.promo-form input { text-transform: uppercase; }
.promo-form .btn { padding: .6em 1em; }
.ship-list { list-style: none; padding: 0; margin: .4em 0; }
.ship-list li { display: flex; justify-content: space-between; font-size: .9rem; color: var(--muted); }
.ship-choice > label { display: flex; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 8px; cursor: pointer; font-weight: 500; background: var(--ink); }
.ship-choice input { accent-color: var(--gold); margin-right: 8px; }
.ship-choice > label:has(input:checked) { border-color: var(--gold); }
/* Sélecteur Mondial Relay : fond clair, styles du site neutralisés, jamais plus large que la page */
.relay-box { margin-top: 6px; }
#relay-widget { max-width: 100%; overflow: hidden; background: #fff; color: #222; border-radius: var(--radius-sm); padding: 8px; }
#relay-widget label { display: inline; font-weight: 400; margin: 0; font-size: inherit; background: none; color: inherit; }
#relay-widget img, #relay-widget table, #relay-widget .leaflet-container { max-width: 100%; }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: .82rem; margin-top: 12px; }
.secure-note svg { width: 16px; height: 16px; }
.card-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }

/* Pages de contenu */
.prose { padding: 32px 16px 64px; }
.prose h2 { margin-top: 1.6em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.2em; }
.prose p, .prose li { color: #e8e1d2; }
.prose .todo { background: rgba(240, 169, 43, .15); color: var(--gold-light); padding: 0 .3em; border-radius: 4px; font-style: italic; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 18px; margin-bottom: 10px; }
.faq summary { padding: 16px 0; cursor: pointer; font-weight: 600; }
.faq details p { color: #e8e1d2; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; }
.contact-card a { font-size: 1.15rem; font-weight: 600; }

/* Pied de page */
.site-footer { background: #070605; border-top: 1px solid var(--line); padding: 44px 0 24px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h4 { font: 700 .82rem var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 2px; }
.site-footer li a { display: inline-block; padding: 4px 0; }
.site-footer a { color: #d6cfbf; font-size: .92rem; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: .8rem; }
.pay-icons { display: flex; gap: 6px; }
.pay-icons span { border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; font-size: .74rem; font-weight: 700; color: #d6cfbf; }

/* Bandeau cookies */
.cookie-notice { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 560px; z-index: 100; background: var(--card); border: 1px solid var(--gold-dark); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); display: none; font-size: .9rem; }
.cookie-notice.show { display: block; }
.cookie-notice p { margin-bottom: .8em; }

/* Responsive */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-grid; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--black); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .8em .6em; border-bottom: 1px solid var(--line); border-radius: 0; }
  .header-actions { margin-left: auto; }
  .brand-text { display: none; }
  .hero-grid, .product-layout, .cart-layout, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 24px; }
  .hero-logo { max-width: 420px; max-height: 260px; margin: 0 auto; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; display: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 16px; }
  .filters.open { display: block; }
  .filters-toggle { display: inline-flex; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid > .cat-card:last-child:nth-child(3n+1) { grid-column: auto; flex-direction: column; }
  .cat-grid > .cat-card:last-child:nth-child(3n+1) .cat-mosaic, .cat-grid > .cat-card:last-child:nth-child(3n+1) .cat-illustration { width: auto; aspect-ratio: 16 / 10; }
  .cat-grid > .cat-card:last-child:nth-child(3n+1) .cat-body { padding: 16px 18px 18px; }
  .cat-grid > .cat-card:last-child:nth-child(3n+1) .cat-title { font-size: 1.35rem; }
  .cat-grid > .cat-card:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; }
  .cat-grid > .cat-card:last-child:nth-child(odd) .cat-mosaic, .cat-grid > .cat-card:last-child:nth-child(odd) .cat-illustration { width: 55%; flex-shrink: 0; aspect-ratio: 16 / 9; }
  .cat-grid > .cat-card:last-child:nth-child(odd) .cat-body { justify-content: center; padding: 20px 24px; }
  .summary { position: static; }
  .product-layout { gap: 20px; }
}
@media (max-width: 860px) {
  .product-photo { position: relative; top: auto; }
  .buy-sticky { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(12, 11, 9, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--hairline); transform: translateY(110%); transition: transform .3s var(--ease); }
  .buy-sticky.show { transform: none; }
  .buy-sticky-info { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
  .buy-sticky-name { font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buy-sticky-info strong { color: var(--gold-light); font-size: 1.1rem; }
  .buy-sticky .btn { margin-left: auto; flex-shrink: 0; padding: .7em 1.2em; }
  body.has-buy-sticky .site-footer { padding-bottom: 96px; }
  body.has-buy-sticky .messages { top: auto; bottom: 86px; }
}
@media (max-width: 560px) {
  .product-grid, .catalog-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-body { padding: 10px 12px 12px; }
  .product-name { font-size: .95rem; }
  .cat-grid { grid-template-columns: 1fr; gap: 14px; }
  .cat-grid > .cat-card:last-child:nth-child(odd) { grid-column: auto; flex-direction: column; }
  .cat-grid > .cat-card:last-child:nth-child(odd) .cat-mosaic, .cat-grid > .cat-card:last-child:nth-child(odd) .cat-illustration { width: auto; aspect-ratio: 2 / 1; }
  .cat-grid > .cat-card:last-child:nth-child(odd) .cat-body { padding: 14px 16px 16px; }
  .cat-mosaic { aspect-ratio: 2 / 1; }
  .cat-body { padding: 14px 16px 16px; }
  .hero-showcase { gap: 8px; margin-top: 4px; }
  .hero-shot { border-radius: var(--radius-sm); }
  .trust-grid, .footer-grid, .grid-2 { grid-template-columns: 1fr; }
  .brand img { height: 46px; }
  .buy-row { flex-direction: column; }
  .stepper { align-self: flex-start; }
  .cart-line { grid-template-columns: 64px 1fr; }
  .cart-line img { width: 64px; height: 64px; }
  .cart-line .line-total { grid-column: 2; }
  .hero { padding: 20px 0 36px; }
  .hero .lead { font-size: 1.05rem; }
  .hero-logo { max-height: 200px; }
  .qty-option span { padding: 10px 4px; }
  .qty-option span b { font-size: .95rem; }
  .product-price { flex-direction: column; align-items: flex-start; }
  .price { font-size: 1.05rem; }
  .breadcrumb a, .footer-bottom a { display: inline-block; padding: 6px 0; }
  .chip { padding: 6px 12px; }
  .cookie-notice { left: 8px; right: 8px; bottom: 8px; padding: 9px 12px; font-size: .78rem; line-height: 1.4; }
  .cookie-notice.show { display: flex; gap: 10px; align-items: center; }
  .cookie-notice p { margin: 0; }
  .cookie-notice .btn { flex-shrink: 0; padding: .45em .9em; font-size: .82rem; }
}
@media (max-width: 360px) {
  .qty-options { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .messages li, .cart-count.bump, .hero-shot { animation: none !important; }
}

/* Prestations événementielles (stands de gourmandise, sur devis) */
.events-hero { padding: 36px 0 48px; }
.events-hero .lead { max-width: 40em; }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.event-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s; }
.event-card:hover { transform: translateY(-3px); border-color: var(--gold-dark); }
.event-card img { display: block; width: 100%; aspect-ratio: 10 / 7; object-fit: cover; background: var(--ink); }
.event-body { display: flex; flex-direction: column; gap: .3em; padding: 16px 18px 18px; flex: 1; }
.event-body h3 { margin: 0; }
.event-body p { margin: 0; color: #e8e1d2; font-size: .92rem; }
.event-body .event-subtitle { color: var(--gold-light); font-style: italic; font-size: .95rem; }
.event-body .btn { margin-top: auto; align-self: flex-start; }
.event-body p + .btn { margin-top: 12px; }
.btn-small { padding: .55em 1.1em; font-size: .9rem; }
.events-band { background: var(--ink); border-top: 1px solid var(--line); }
.events-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.tick-list { list-style: none; padding: 0; margin: 0 0 1em; }
.tick-list li { position: relative; padding: .45em 0 .45em 2em; border-bottom: 1px solid var(--line); }
.tick-list li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 16px; height: 9px; border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold); transform: rotate(-45deg); }
.gold-note { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--gold-light); }
.chips-list { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 8px; }
.steps { padding-left: 1.2em; margin: 0 0 1em; }
.steps li { margin-bottom: .5em; color: #e8e1d2; }
.service-choices { border: 0; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.service-choices legend { font-weight: 600; font-size: .95rem; margin-bottom: .5em; padding: 0; }
.service-choice { display: flex; gap: .5em; align-items: center; font-weight: 500; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; background: var(--ink); cursor: pointer; }
.service-choice input { accent-color: var(--gold); width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.service-choice:has(input:checked) { border-color: var(--gold); }
.home-events { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.home-events-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; border: 1px solid rgba(212, 164, 55, .4); box-shadow: 0 16px 36px rgba(0, 0, 0, .45); transition: transform .5s; }
.home-events-photo:hover img { transform: scale(1.02); }
@media (max-width: 1024px) {
  .event-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .events-split, .home-events { grid-template-columns: 1fr; }
  .service-choices { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .event-grid { grid-template-columns: 1fr; }
  .home-events { padding: 20px; }
  .events-hero { padding: 20px 0 32px; }
}
