/* Fichier fabriqué par outils/build-css.mjs à partir de assets/src/fiche.css : ne pas modifier ici. */
/* ADS — fiche produit : bandeau jaune, présentation, sections dépliables
   (ingrédients, allergènes, valeurs nutritionnelles), « Ça va bien avec ». */

body:not(#snack-x) .snack-carte .p-band { background: var(--yellow); }
body:not(#snack-x) .snack-carte .p-band__inner { position: relative; display: flex; justify-content: center; padding-block: 28px 0; }
body:not(#snack-x) .snack-carte .p-back { position: absolute; left: var(--pad); top: 24px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; background: #000; color: #fff; border-radius: 999px; padding: 8px 16px 8px 10px; font-family: var(--font-display); font-weight: 400; font-size: 15px; text-decoration: none; }
body:not(#snack-x) .snack-carte .p-back:hover { background: #1c1c1c; color: var(--yellow); }
/* !important : certains thèmes posent width/height en ligne sur les images (Twenty Twenty-One). */
body:not(#snack-x) .snack-carte .p-band img { width: min(640px, 100%) !important; aspect-ratio: 520 / 350; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; margin-top: 52px; max-width: 100% !important; height: auto !important; }
body:not(#snack-x) .snack-carte .p-main { max-width: 860px; margin-inline: auto; padding: 40px var(--pad) 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
body:not(#snack-x) .snack-carte .p-main h1 { font-size: clamp(38px, 5vw, 62px); }
body:not(#snack-x) .snack-carte .p-main > p { font-size: 18px; color: var(--muted); max-width: 52ch; }
body:not(#snack-x) .snack-carte .p-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
body:not(#snack-x) .snack-carte .acc { max-width: 860px; margin: 40px auto 0; padding-inline: var(--pad); display: flex; flex-direction: column; gap: 12px; }
body:not(#snack-x) .snack-carte .acc details { background: var(--surface); border-radius: var(--radius); }
body:not(#snack-x) .snack-carte .acc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; font-family: var(--font-display); font-weight: 400; font-size: 20px; }
body:not(#snack-x) .snack-carte .acc summary::-webkit-details-marker { display: none; }
body:not(#snack-x) .snack-carte .acc__titre { font: inherit; letter-spacing: normal; text-transform: none; }
body:not(#snack-x) .snack-carte .acc summary svg { color: var(--yellow); transition: transform .2s var(--ease); transform: rotate(90deg); }
body:not(#snack-x) .snack-carte .acc details[open] summary svg { transform: rotate(-90deg); }
body:not(#snack-x) .snack-carte .acc__body { padding: 0 24px 24px; display: flex; flex-direction: column; gap: 14px; }
body:not(#snack-x) .snack-carte .ingredients { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
body:not(#snack-x) .snack-carte .ingredients li { display: flex; align-items: center; gap: 10px; }
body:not(#snack-x) .snack-carte .ingredients li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); flex: 0 0 auto; }
body:not(#snack-x) .snack-carte .al-list { display: flex; flex-wrap: wrap; gap: 8px; }
body:not(#snack-x) .snack-carte .al-list li { border-radius: 999px; padding: 6px 14px; font-weight: 600; background: var(--yellow); color: var(--dark); }
body:not(#snack-x) .snack-carte .al-list.traces li { background: var(--surface-2); color: var(--ink); }
body:not(#snack-x) .snack-carte .acc h3 { font-size: 17px; }
body:not(#snack-x) .snack-carte .acc small { color: var(--muted); font-size: 14px; }
body:not(#snack-x) .snack-carte .acc table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
body:not(#snack-x) .snack-carte .acc th, body:not(#snack-x) .snack-carte .acc td { padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); text-align: left; background: none; color: inherit; }
body:not(#snack-x) .snack-carte .acc td + td, body:not(#snack-x) .snack-carte .acc th + th { text-align: right; }
body:not(#snack-x) .snack-carte .with { max-width: 860px; margin: 56px auto 0; padding-inline: var(--pad); }
body:not(#snack-x) .snack-carte .with h2 { font-size: 30px; margin-bottom: 16px; text-transform: uppercase; }
body:not(#snack-x) .snack-carte .with__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 700px) { body:not(#snack-x) .snack-carte .ingredients { grid-template-columns: 1fr; } body:not(#snack-x) .snack-carte .with__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } body:not(#snack-x) .snack-carte .p-back { top: 14px; } body:not(#snack-x) .snack-carte .p-band img { margin-top: 56px; } }
