/* Tondraaga — habillage v2 : photos, carrousel, rails, animations.
   Se charge après style.css et le complète. Charte inchangée : brun, ocre, blancs, gris. */

svg { flex: none; }
.visuel img, .carte-media img, .slide-photo img, .zoom img { width: 100%; height: 100%; object-fit: cover; display: block; }
.visuel { background: var(--sable); }

/* ---------- Bandeau d'annonces défilant ---------- */
.annonce { background: var(--brun-encre); color: #F2E6D8; font-size: .8rem; overflow: hidden; white-space: nowrap; }
.annonce-piste { display: inline-flex; gap: 56px; padding: 8px 0; animation: defile 38s linear infinite; }
.annonce-piste span { display: inline-flex; align-items: center; gap: 8px; }
.annonce-piste svg { width: 15px; height: 15px; color: #E9B56F; }
.annonce-piste .drapeau-svg { width: 18px; height: 12px; }
.annonce:hover .annonce-piste { animation-play-state: paused; }
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- En-tête ---------- */
.entete-principal { box-shadow: 0 1px 0 var(--gris-200); }
.entete-principal .cadre { min-height: 84px; gap: 28px; }
.logo { width: 178px; }
.recherche { position: relative; max-width: 560px; align-items: center; background: var(--creme); border: 1.5px solid var(--gris-300); border-radius: 999px; padding: 4px 4px 4px 16px; transition: border-color .2s, box-shadow .2s; }
.recherche:focus-within { border-color: var(--ocre); box-shadow: 0 0 0 4px rgba(200, 120, 23, .12); background: #fff; }
.recherche > svg { width: 18px; height: 18px; color: var(--gris-500); }
.recherche input { border: 0; background: transparent; height: 40px; padding: 0 12px; border-radius: 0; }
.recherche input:focus { outline: none; }
.recherche button { height: 40px; border-radius: 999px; padding: 0 20px; font-weight: 600; font-size: .9rem; }
.actions-entete { gap: 4px; }
.action { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 10px; border-radius: 12px; text-decoration: none; color: var(--brun); font-size: .74rem; font-weight: 600; transition: background .2s; }
.action:hover { background: var(--creme); }
.action svg { width: 22px; height: 22px; }
.action.courses svg { color: var(--ocre-texte); }
.compteur { position: absolute; top: 0; right: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brun); color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.action.courses .compteur { background: var(--ocre); color: var(--brun-encre); }
.compteur.bump { animation: bump .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

.nav-principale { position: relative; z-index: 25; }
.nav-principale .cadre { display: flex; align-items: center; gap: 18px; }
.nav-principale ul { padding: 0; margin: 0; flex: 1; max-width: none; }
.nav-principale a { padding: 15px 10px; }
.menu-categories { position: relative; }
.btn-categories { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-radius: 12px; border: 0; background: var(--brun); color: #fff; font-weight: 600; font-size: .9rem; cursor: pointer; white-space: nowrap; }
.btn-categories svg:last-child { width: 14px; height: 14px; transition: transform .2s; }
.btn-categories[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 10px); left: 0; width: min(760px, calc(100vw - 32px)); background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(36, 22, 15, .18); padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; animation: monte .22s ease-out; }
.mega[hidden] { display: none; }
.mega-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-grille a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; border: 0; font-size: .88rem; color: var(--gris-900); white-space: normal; }
.mega-grille a:hover { background: var(--creme); color: var(--brun); }
.mega-grille img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.mega-promo { position: relative; display: block !important; margin-top: 12px; border-radius: 14px; overflow: hidden; padding: 0 !important; border: 0 !important; }
.mega-promo img { width: 100%; height: 110px; object-fit: cover; }
.mega-promo span { position: absolute; inset: auto 0 0 0; padding: 12px 14px; color: #fff; background: linear-gradient(transparent, rgba(36, 22, 15, .85)); font-size: .82rem; display: flex; flex-direction: column; }
.mega-promo b { font-size: .95rem; }
.mega-promo svg { width: 14px; height: 14px; display: inline; vertical-align: -2px; }
.choix-pays { margin-left: auto; display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--gris-300); border-radius: 999px; padding: 4px 6px 4px 12px; }
.choix-pays select { border: 0; background: transparent; color: var(--brun); font-weight: 600; font-size: .85rem; padding: 4px; cursor: pointer; }
.choix-pays select:focus { outline: none; }
.choix-pays .drapeau-svg { width: 20px; height: 14px; }
@keyframes monte { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Bannière carrousel ---------- */
.heros2 { padding: 22px 0 8px; background: var(--creme); }
.carrousel { position: relative; display: grid; border-radius: 28px; overflow: hidden; background: var(--sable); min-height: 520px; box-shadow: 0 20px 50px rgba(36, 22, 15, .10); }
.slide { grid-area: 1 / 1; position: relative; display: grid; grid-template-columns: 1fr 1fr; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s; }
.slide.active { opacity: 1; visibility: visible; transition: opacity .9s ease; z-index: 1; }
.slide-photo { position: absolute; inset: 0 0 0 38%; overflow: hidden; }
.slide-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--sable) 0%, rgba(242, 236, 228, .55) 22%, rgba(242, 236, 228, 0) 45%); }
.slide.active .slide-photo img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.slide-texte { position: relative; z-index: 1; padding: 64px 0 90px 60px; max-width: 560px; align-self: center; }
.slide.active .slide-texte > * { animation: monte .8s both; }
.slide.active .slide-texte > :nth-child(2) { animation-delay: .1s; }
.slide.active .slide-texte > :nth-child(3) { animation-delay: .2s; }
.slide.active .slide-texte > :nth-child(4) { animation-delay: .3s; }
.slide.active .slide-texte > :nth-child(5) { animation-delay: .4s; }
.titre-heros { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 800; line-height: 1.05; margin-bottom: 16px; }
.heros2 .chapeau { font-size: 1.08rem; color: var(--gris-700); margin-bottom: 26px; max-width: 30em; }
.heros2 .boutons { display: flex; gap: 12px; flex-wrap: wrap; }
.heros2 .garanties { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 28px; color: var(--gris-700); font-size: .82rem; }
.heros2 .garanties span { display: inline-flex; align-items: center; gap: 7px; }
.heros2 .garanties svg { width: 16px; height: 16px; color: var(--ocre-texte); }
.btn-blanc { background: #fff; color: var(--brun); border-color: var(--gris-300); }
.btn-blanc:hover { border-color: var(--brun); }
.btn svg { width: 16px; height: 16px; }
.flottant { position: absolute; z-index: 2; right: 32px; bottom: 32px; width: 240px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-radius: 18px; padding: 16px 18px; box-shadow: 0 14px 34px rgba(36, 22, 15, .18); display: flex; flex-direction: column; gap: 4px; font-size: .85rem; }
.slide.active .flottant { animation: flotte 5s ease-in-out infinite, monte .9s .5s both; }
@keyframes flotte { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.flottant .surtitre { margin: 0; }
.flottant strong { font: 800 1.3rem var(--titre); color: var(--brun); }
.flottant small { color: var(--gris-700); }
.flottant a { color: var(--ocre-texte); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.flottant a svg { width: 14px; height: 14px; }
.flottant.suivi-mini strong { font-size: 1rem; }
.etapes-mini { display: flex; gap: 4px; margin: 8px 0 4px; }
.etapes-mini i { flex: 1; height: 5px; border-radius: 3px; background: var(--gris-200); }
.etapes-mini i.fait { background: var(--ocre); }
.carrousel-nav { position: absolute; z-index: 3; left: 60px; bottom: 28px; display: flex; align-items: center; gap: 12px; }
.carrousel-nav > button { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--gris-300); background: #fff; color: var(--brun); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.carrousel-nav > button:hover { background: var(--brun); color: #fff; }
.carrousel-nav > button svg { width: 16px; height: 16px; }
.points { display: flex; gap: 6px; }
.points button { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: var(--gris-300); cursor: pointer; transition: width .3s, background .3s; }
.points button[aria-current="true"] { width: 26px; background: var(--brun); }

/* ---------- Badge Made in Burkina ---------- */
.made-bf { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .02em; color: var(--brun); background: rgba(255, 255, 255, .92); border-radius: 999px; padding: 4px 9px 4px 6px; white-space: nowrap; }
.made-bf .drapeau-svg { width: 16px; height: 11px; }
.made-bf.sur-photo { position: absolute; left: 10px; bottom: 10px; z-index: 1; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.made-bf.sur-sombre { background: rgba(255, 255, 255, .1); color: #fff; margin-top: 6px; }
.made-bf.grand { font-size: .82rem; padding: 7px 14px 7px 9px; margin-bottom: 16px; }
.made-bf.grand .drapeau-svg { width: 22px; height: 15px; }

/* ---------- Catégories rondes ---------- */
.bande-categories { display: flex; gap: 18px; justify-content: space-between; padding-top: 30px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.bande-categories::-webkit-scrollbar { display: none; }
.rond-categorie { display: flex; flex-direction: column; align-items: center; gap: 9px; text-decoration: none; font-size: .82rem; font-weight: 600; color: var(--gris-900); text-align: center; min-width: 84px; }
.rond-categorie .cercle { width: 86px; height: 86px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--gris-200); transition: box-shadow .25s, transform .25s; }
.rond-categorie .cercle img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.rond-categorie .cercle.tout svg { width: 26px; height: 26px; color: var(--brun); }
.rond-categorie:hover .cercle { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ocre); transform: translateY(-3px); }
.rond-categorie:hover img { transform: scale(1.1); }

/* ---------- Offre de la semaine ---------- */
.offre-semaine { margin-top: 26px; display: grid; grid-template-columns: 170px 1fr auto; gap: 28px; align-items: center; background: var(--brun); color: #F4EADF; border-radius: 24px; padding: 22px 30px 22px 22px; position: relative; overflow: hidden; }
.offre-semaine::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; background: var(--treillis); border-radius: 50%; opacity: .7; pointer-events: none; }
.offre-photo { width: 170px; height: 170px; border-radius: 18px; overflow: hidden; background: #fff; }
.offre-photo img { width: 100%; height: 100%; object-fit: cover; }
.offre-texte h2 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }
.offre-texte p { margin-bottom: 8px; color: #E8DACB; }
.offre-texte .surtitre { color: #E9B56F; display: flex; align-items: center; gap: 6px; }
.offre-texte .surtitre svg { width: 14px; height: 14px; }
.offre-prix { font: 800 1.5rem var(--titre); color: #fff !important; }
.offre-prix small { font: 500 .85rem var(--texte); color: #E8DACB; }
.compte-rebours { display: flex; gap: 10px; position: relative; z-index: 1; }
.compte-rebours div { width: 68px; padding: 12px 0; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); text-align: center; }
.compte-rebours b { display: block; font: 800 1.6rem var(--titre); color: #fff; font-variant-numeric: tabular-nums; }
.compte-rebours span { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: #E8DACB; }

/* ---------- Rails horizontaux ---------- */
.entete-outils { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.fleches { display: flex; gap: 6px; }
.fleches button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--gris-300); background: #fff; color: var(--brun); display: grid; place-items: center; cursor: pointer; transition: all .2s; }
.fleches button:hover { background: var(--brun); color: #fff; border-color: var(--brun); }
.fleches svg { width: 16px; height: 16px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 14px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* ---------- Cartes produits ---------- */
.carte-produit { border-radius: 18px; animation: apparait .5s ease-out both; transition: transform .25s, box-shadow .25s, border-color .25s; }
.carte-produit:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(36, 22, 15, .12); }
.carte-media { position: relative; overflow: hidden; background: var(--sable); }
.carte-produit .visuel, .article-course .visuel { aspect-ratio: 1; }
.carte-media img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.carte-produit:hover .carte-media img, .article-course:hover .carte-media img, .carte-panier:hover .carte-media img { transform: scale(1.07); }
.pastilles { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; z-index: 1; }
.badge.promo { background: var(--ocre); color: var(--brun-encre); }
.favori { opacity: .95; transition: transform .2s; }
.favori:hover { transform: scale(1.1); }
.favori.pulse svg { animation: bump .45s; }
.carte-produit .corps { padding: 14px 16px 16px; gap: 3px; }
.carte-produit h3 { font-size: .97rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.carte-produit .vendeur { font-size: .8rem; }
.etoiles { display: inline-flex; align-items: center; gap: 1px; color: var(--gris-300); margin: 3px 0 2px; }
.etoiles i { display: inline-flex; }
.etoiles svg { width: 13px; height: 13px; }
.etoiles i.on { color: var(--ocre); }
.etoiles small { color: var(--gris-500); font-size: .75rem; margin-left: 5px; }
.prix s { display: inline-block; margin-left: 7px; font-size: .78rem; font-weight: 500; color: var(--gris-500); }
.rond-panier { position: relative; z-index: 1; flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--brun); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .2s, background .2s; text-decoration: none; }
.rond-panier:hover { transform: scale(1.08); background: var(--brun-fonce); }
.rond-panier:active { transform: scale(.94); }
.rond-panier svg { width: 19px; height: 19px; }
.rond-panier.ocre { background: var(--ocre); color: var(--brun-encre); }
.rond-panier.ocre:hover { background: #B86D12; }
@keyframes apparait { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.article-course { border-radius: 16px; animation: apparait .45s ease-out both; transition: transform .25s, box-shadow .25s; }
.article-course:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(36, 22, 15, .1); }
.article-course .visuel { aspect-ratio: 4 / 3; }
.article-course.dans-panier { border-color: var(--ocre); box-shadow: 0 0 0 1px var(--ocre); }
.pastille-qte { position: absolute; left: 10px; top: 10px; z-index: 1; }

/* ---------- Trois bannières ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 20px; }
.banniere { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 170px; border-radius: 22px; padding: 22px 0 22px 26px; text-decoration: none; overflow: hidden; }
.banniere h3 { font-size: 1.3rem; font-weight: 800; margin: 2px 0 10px; }
.banniere img { width: 150px; height: 150px; border-radius: 50% 0 0 50%; object-fit: cover; flex: none; transition: transform .6s; }
.banniere:hover img { transform: scale(1.08) rotate(-2deg); }
.lien-fleche { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--ocre-texte); }
.lien-fleche svg { width: 15px; height: 15px; transition: transform .2s; }
.banniere:hover .lien-fleche svg { transform: translateX(4px); }
.b-ocre { background: var(--ocre-pale); }
.b-sable { background: #EFE7DC; }
.b-brun { background: var(--brun); }
.b-brun h3 { color: #fff; }
.b-brun .surtitre, .b-brun .lien-fleche { color: #E9B56F; }

/* ---------- Paniers types ---------- */
.carte-panier { padding: 0; overflow: hidden; border-radius: 18px; animation: apparait .5s ease-out both; transition: transform .25s, box-shadow .25s; }
.carte-panier:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(36, 22, 15, .12); }
.carte-panier .carte-media { aspect-ratio: 16 / 9; }
.carte-panier .carte-media .badge { position: absolute; left: 12px; top: 12px; }
.carte-panier .corps { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.carte-panier .pied-carte { display: flex; justify-content: space-between; align-items: end; gap: 10px; margin-top: auto; }
.carte-panier.vedette { border-width: 2px; }

/* ---------- Made in Burkina ---------- */
.made-in { margin: 30px 0; padding: 70px 0; color: #F4EADF; background: linear-gradient(90deg, rgba(36, 22, 15, .94) 0%, rgba(59, 40, 31, .86) 50%, rgba(77, 53, 41, .55) 100%), var(--fond) center / cover; }
.made-in .cadre { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.made-in h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.made-in p { color: #E8DACB; max-width: 34em; margin-bottom: 24px; }
.piliers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.piliers div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 4px; transition: background .25s, transform .25s; }
.piliers div:hover { background: rgba(255, 255, 255, .14); transform: translateY(-3px); }
.piliers svg { width: 24px; height: 24px; color: #E9B56F; margin-bottom: 6px; }
.piliers strong { color: #fff; font-size: 1.02rem; }
.piliers span { font-size: .85rem; color: #E0CFBD; }

/* ---------- Étapes ---------- */
.etape { position: relative; transition: transform .25s, box-shadow .25s; }
.etape:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.etape::before { position: absolute; right: 18px; top: 18px; width: 28px; height: 28px; font-size: .85rem; margin: 0; background: var(--creme); color: var(--gris-500); }
.etape > svg { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--ocre-pale); color: var(--ocre-texte); margin-bottom: 14px; }

/* ---------- Témoignages ---------- */
.temoignages { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
.temoignage { margin: 0; background: var(--creme); border: 1px solid var(--gris-200); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.temoignage .haut { display: flex; gap: 12px; align-items: center; }
.temoignage .avatar { width: 44px; height: 44px; background: var(--ocre-pale); color: var(--ocre-texte); font-size: 1rem; }
.temoignage strong { display: block; color: var(--brun); }
.temoignage small { color: var(--gris-500); }
.temoignage blockquote { margin: 0; color: var(--gris-700); font-size: .93rem; }
.note-globale { display: inline-flex; align-items: center; font-weight: 700; color: var(--brun); }

/* ---------- Newsletter ---------- */
.newsletter { display: grid; grid-template-columns: auto 1fr 1.1fr; gap: 28px; align-items: center; background: var(--brun); background-image: var(--treillis); border-radius: 26px; padding: 34px 40px; color: #E8DACB; margin-bottom: 40px; }
.newsletter h2 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }
.newsletter p { margin: 0; }
.icone-ronde-n { width: 76px; height: 76px; border-radius: 50%; background: #fff; color: var(--brun); display: grid; place-items: center; }
.icone-ronde-n svg { width: 32px; height: 32px; }
.newsletter form { display: grid; grid-template-columns: 1fr auto; gap: 8px; background: #fff; border-radius: 999px; padding: 5px; }
.newsletter input { border: 0; padding: 0 18px; border-radius: 999px; min-width: 0; }
.newsletter input:focus { outline: none; }
.newsletter small { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; color: #E8DACB; font-size: .76rem; margin: 8px 0 -36px 14px; }
.newsletter small svg { width: 14px; height: 14px; color: #E9B56F; }

/* ---------- Pied de page ---------- */
#pied { padding: 0; background: none; }
.garanties-bande { background: #fff; border-top: 1px solid var(--gris-200); }
.garanties-bande .cadre { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.garanties-bande .cadre > div { display: flex; gap: 14px; align-items: center; }
.garanties-bande svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--ocre-pale); color: var(--ocre-texte); }
.garanties-bande p { margin: 0; display: flex; flex-direction: column; font-size: .82rem; color: var(--gris-700); }
.garanties-bande strong { color: var(--brun); font-size: .92rem; }
.pied-principal { background: var(--brun-encre); color: #CDBBA9; padding: 50px 0 24px; font-size: .9rem; }
.logo-pied { width: 190px; aspect-ratio: 1380 / 340; border-radius: 12px; background: #fff url("../img/logo.webp") no-repeat; background-size: 108.7% auto; background-position: 58.3% 49.1%; margin-bottom: 14px; box-shadow: 0 0 0 10px #fff; }
#pied .bas .moyens-paiement { display: flex; gap: 6px; align-items: center; }
#pied .moyen { background: #fff; color: var(--brun); border: 0; }

/* ---------- Pages Courses et vendeurs avec photo ---------- */
.heros-courses.avec-photo { background: linear-gradient(90deg, rgba(36, 22, 15, .93) 0%, rgba(59, 40, 31, .82) 55%, rgba(77, 53, 41, .45) 100%), var(--fond) center / cover; padding: 60px 0 70px; }
.heros-courses.avec-photo::after { display: none; }
.onglets button img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; margin: -4px 8px -4px -8px; display: inline-block; vertical-align: middle; }
.onglets button:has(img) { display: inline-flex; align-items: center; padding-left: 12px; }

/* ---------- Fiche produit ---------- */
.galerie { position: relative; }
.zoom { border-radius: 22px; overflow: hidden; aspect-ratio: 1; cursor: zoom-in; background: var(--sable); }
.zoom img { transition: transform .35s ease-out; }
.zoom:hover img { transform: scale(1.6); }
.galerie .made-bf.sur-photo { left: 16px; bottom: auto; top: 16px; font-size: .78rem; }
.badge-galerie { position: absolute; right: 16px; top: 16px; font-size: .85rem; padding: 5px 12px; }
.prix-fiche { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Barre d'onglets mobile ---------- */
.barre-onglets { display: none; }

@media (max-width: 1000px) {
  .rail { grid-auto-columns: calc((100% - 2 * 16px) / 2.6); gap: 16px; }
  .temoignages { grid-auto-columns: 78%; }
  .offre-semaine { grid-template-columns: 130px 1fr; }
  .offre-photo { width: 130px; height: 130px; }
  .compte-rebours { grid-column: 1 / -1; }
  .trio, .made-in .cadre { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; text-align: left; }
  .newsletter small { margin-bottom: 0; }
  .garanties-bande .cadre { grid-template-columns: 1fr 1fr; }
  .nav-principale ul { display: none; }
  .slide-texte { padding: 44px 0 90px 36px; }
  .carrousel-nav { left: 36px; }
}
@media (max-width: 720px) {
  body { padding-bottom: 72px; }
  .entete-principal .cadre { gap: 10px; }
  .logo { width: 124px; }
  .action { padding: 6px; }
  .action span { display: none; }
  .action[href="#/compte"], .action[href="#/compte/favoris"] { display: none; }
  .compteur { right: 0; }
  .recherche button { display: none; }
  .nav-principale .cadre { padding-top: 8px; padding-bottom: 8px; gap: 10px; }
  .btn-categories { height: 38px; font-size: .85rem; }
  .choix-pays select { font-size: .8rem; max-width: 150px; }
  .mega { grid-template-columns: 1fr; max-height: 70vh; overflow: auto; }
  .heros2 { padding-top: 12px; }
  .carrousel { min-height: 0; border-radius: 22px; }
  .slide { grid-template-columns: 1fr; }
  .slide-photo { position: relative; inset: auto; height: 230px; }
  .slide-photo::after { background: linear-gradient(0deg, var(--sable) 0%, rgba(242, 236, 228, 0) 40%); }
  .slide-texte { padding: 4px 20px 76px; }
  .titre-heros { font-size: 1.9rem; }
  .heros2 .chapeau { font-size: .98rem; }
  .heros2 .garanties { display: none; }
  .flottant { display: none; }
  .carrousel-nav { left: 20px; bottom: 22px; }
  .bande-categories { justify-content: flex-start; gap: 12px; }
  .rond-categorie { min-width: 72px; font-size: .75rem; }
  .rond-categorie .cercle { width: 66px; height: 66px; }
  .offre-semaine { grid-template-columns: 96px 1fr; padding: 16px; gap: 16px; }
  .offre-photo { width: 96px; height: 96px; }
  .offre-texte h2 { font-size: 1.25rem; }
  .compte-rebours div { flex: 1; width: auto; }
  .rail { grid-auto-columns: 70%; }
  .temoignages { grid-auto-columns: 86%; }
  .entete-outils { width: 100%; justify-content: space-between; }
  .banniere { min-height: 140px; }
  .banniere img { width: 120px; height: 120px; }
  .made-in { padding: 46px 0; }
  .newsletter { padding: 26px 20px; }
  .newsletter form { grid-template-columns: 1fr; border-radius: 18px; }
  .newsletter input { height: 44px; }
  .garanties-bande .cadre { gap: 14px; }
  .barre-panier-mobile { bottom: 64px; }
  .barre-onglets { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; height: 64px; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--gris-200); padding-bottom: env(safe-area-inset-bottom); }
  .barre-onglets a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: var(--gris-500); font-size: .68rem; font-weight: 600; }
  .barre-onglets a svg { width: 21px; height: 21px; }
  .barre-onglets a[aria-current="page"] { color: var(--brun); }
  .barre-onglets a[aria-current="page"]::before { content: ""; position: absolute; top: 0; width: 26px; height: 3px; border-radius: 0 0 3px 3px; background: var(--ocre); }
  .barre-onglets a.central svg { width: 46px; height: 46px; padding: 12px; margin-top: -24px; border-radius: 50%; background: var(--ocre); color: var(--brun-encre); box-shadow: 0 6px 16px rgba(200, 120, 23, .4); border: 3px solid #fff; }
  .barre-onglets a.central[aria-current="page"]::before { display: none; }
  .barre-onglets .compteur { top: 6px; right: calc(50% - 22px); }
}
@media (prefers-reduced-motion: reduce) {
  .annonce-piste, .slide.active .slide-photo img, .slide.active .flottant, .slide.active .slide-texte > * { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
