/* =========================================================================
   Identité Akwaba Market (prune & mangue)
   Chargé en dernier : ce fichier donne à la boutique ses propres mises en
   page (en-tête sur une ligne, mosaïque d'accueil, accès rapide aux
   catégories, cartes produits à bouton rond, occasions en mosaïque,
   catégories en tuiles arrondies, meilleure offre) par-dessus les styles
   communs. Les couleurs et polices viennent de tokens.css.
   ========================================================================= */

/* ---------- Titres ---------- */
h1, h2, .display { font-weight: 800; letter-spacing: -.03em; }
h1 em, h2 em { font-style: normal; }
.eyebrow { padding: 5px 12px 5px 10px; border-radius: var(--r-pill); background: var(--saffron-50); color: var(--accent-700); letter-spacing: .1em; }
.eyebrow::before { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-600); }
@media (min-width: 1024px) {
  .section-head { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .section-head p { max-width: 56ch; margin-left: auto; margin-right: auto; }
}

/* ---------- Boutons : dégradé mangue ---------- */
.btn--primary { background: var(--grad-mango); border-color: transparent; }
.btn--primary:hover { background: var(--grad-mango); border-color: transparent; filter: brightness(1.05) saturate(1.1); }
.btn--primary.is-loading::after { border-color: var(--deep-900) var(--deep-900) transparent transparent; }

/* ---------- Barre d'annonce et en-tête ---------- */
.announce { background: var(--grad-brand); }
.announce__item svg { color: #FFB547; }
.brand__word { font-weight: 800; letter-spacing: -.03em; }
.brand__word small { color: var(--accent-600); }
@media (min-width: 1024px) {
  .nav a { padding: 0 16px; border-bottom: 0; border-radius: var(--r-pill); }
  .nav a:hover { background: var(--cream-2); }
  .nav a.is-active { background: var(--deep-900); color: #fff; }
  .nav a.nav__promo { background: var(--saffron-50); color: var(--accent-700); }
}

/* Réassurance : icônes dans des pastilles */
.trustbar__item { border: 0; box-shadow: var(--sh-1); }
.trustbar__item svg { width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); }

/* ---------- Par occasion : mosaïque de photos ---------- */
.setups { grid-auto-rows: 230px; }
.setup { display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; border: 0; border-radius: var(--r-xl); color: #fff; overflow: hidden; isolation: isolate; }
.setup::before { display: none; }
.setup::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(46, 26, 71, .05) 0%, rgba(46, 26, 71, .35) 40%, rgba(46, 26, 71, .92) 100%); }
.setup__art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; border-radius: 0; }
.setup:hover { box-shadow: var(--sh-3); }
.setup:hover .setup__art { transform: none; }
.setup h3 { color: #fff; font-family: var(--font-display); font-size: var(--fs-xl); }
.setup p { color: rgba(255, 255, 255, .85); max-width: 40ch; }
.setup__go { align-self: flex-start; padding: 7px 14px; border-radius: var(--r-pill); background: var(--grad-mango); color: var(--deep-900); }
@media (min-width: 1024px) {
  .setups { grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: 250px; }
  .setup { padding: 26px; }
  .setup:first-child { grid-row: span 2; }
  .setup:first-child h3 { font-size: var(--fs-2xl); }
  .setup:last-child { grid-column: span 2; }
  .setup__art { height: 100%; }
}

/* ---------- Catégories : tuiles arrondies ---------- */
.cat-tile .pvisual, .cat-tile .pvisual img { border-radius: 30%; }
.cat-tile .pvisual { border: 0; box-shadow: var(--sh-1); }
.cat-tile:hover .pvisual { transform: rotate(-5deg) scale(1.05); box-shadow: var(--sh-2); }

/* ---------- Cartes produits : photo arrondie et bouton rond ---------- */
.pcard { background: transparent; border: 0; padding: 0; }
.pcard:hover { box-shadow: none; }
.pcard .pvisual { border-radius: var(--r-lg); }
.pcard .pvisual img { transition: scale .6s var(--ease); }
.pcard:hover .pvisual img { scale: 1.05; }
.pcard__badges { top: 12px; left: 12px; }
.pcard__body { padding: 12px 4px 2px; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 4px; }
.pcard__add, .pcard__notify { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--deep-900); color: #fff; transition: background .25s, color .25s, rotate .35s var(--ease), transform .15s; }
.pcard__add svg, .pcard__notify svg { width: 20px; height: 20px; }
.pcard__add:hover { background: var(--grad-mango); color: var(--deep-900); rotate: 90deg; }
.pcard__add:active { transform: scale(.92); }
.pcard__add.is-added { background: var(--success); color: #fff; rotate: 0deg; }
.pcard__notify { background: var(--whatsapp); }
@media (min-width: 768px) { .pcard { padding: 0; } }

/* ---------- Avantages ---------- */
.benefit { border: 0; box-shadow: var(--sh-1); }
.benefit__icon { border-radius: 50%; background: var(--grad-mango); color: var(--deep-900); }
.benefit:nth-child(even) .benefit__icon { background: var(--saffron-100); color: var(--accent-700); }

/* ---------- Avis : bulles de discussion ---------- */
.testi { border: 0; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 6px; box-shadow: var(--sh-1); }
.testi blockquote { font-weight: 500; letter-spacing: -.01em; }
.testi__quote { color: var(--accent-600); }
.testi__avatar { background: var(--grad-mango); color: var(--deep-900); }

/* ---------- Pied de page ---------- */
.footer__cta { background: var(--grad-mango); color: var(--deep-900); }
.footer__cta h3 { color: var(--deep-900); font-weight: 800; }
.footer__cta p { color: var(--deep-700); }
.footer__cta .btn--light { --btn-bg: var(--deep-900); --btn-fg: #fff; --btn-bd: var(--deep-900); }
.footer__contact svg, .footer__pay svg { color: #FFB547; }
.footer__pay { border-color: rgba(255, 181, 71, .5); color: #FFE2B0; }
.footer__brand strong { font-weight: 800; letter-spacing: -.02em; }

/* ---------- Navigation basse ---------- */
.bottom-nav a.is-active { color: var(--deep-900); }

/* ---------- En-tête : une seule ligne, collant et translucide ---------- */
#shell-top { display: contents; } /* l'en-tête reste collé en haut pendant le défilement */
.announce .container { justify-content: center; height: 34px; }
.announce__track { height: 34px; }
.header { position: sticky; top: 0; background: rgba(251, 246, 243, .82); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(46, 26, 71, .5); }
.header__bar { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; }
.header .brand { justify-self: start; }
.header__actions { gap: 4px; }
.header__find { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-pill); color: var(--ink); transition: background .2s, box-shadow .2s; }
.header__find svg { width: 22px; height: 22px; }
.header__find span, .header__find kbd { display: none; }
.header__find:hover { background: var(--cream-2); }
.header__cart { background: var(--deep-900); color: #fff; }
.header__cart:hover { background: var(--deep-700); }
.header__cart .count-bubble { border-color: var(--deep-900); }
.header__track { display: none; }
.nav { display: none; }
@media (min-width: 1024px) {
  :root { --header-h: 76px; }
  .header__bar { grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; }
  .nav { display: block; border: 0; }
  .nav ul { justify-content: center; height: auto; gap: 4px; }
  .nav a { height: 40px; }
  .header__track { display: inline-grid; }
  .header__find { width: auto; height: 44px; display: inline-flex; gap: 10px; padding: 0 8px 0 16px; background: var(--white); border: 1px solid var(--line); color: var(--ink-3); font-size: var(--fs-sm); }
  .header__find:hover { background: var(--white); border-color: var(--line-2); box-shadow: var(--sh-1); }
  .header__find span { display: inline; min-width: 150px; text-align: left; }
  .header__find kbd { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--cream-2); font: 700 12px var(--font-body); color: var(--ink-2); }
}
/* Les éléments collants des autres pages se placent sous l'en-tête d'une seule ligne */
@media (min-width: 1024px) {
  .filters, .gallery, .cart-layout aside, .legal__toc { top: calc(var(--header-h) + 20px); }
}

/* ---------- Fenêtre de recherche ---------- */
.search-pop { position: fixed; inset: 0; z-index: 70; background: rgba(46, 26, 71, .35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fade .2s; }
.search-pop[hidden] { display: none; }
.search-pop__panel { background: var(--cream); padding: 16px 0 20px; border-radius: 0 0 var(--r-xl) var(--r-xl); box-shadow: var(--sh-3); animation: dropIn .3s var(--ease); }
@keyframes dropIn { from { transform: translateY(-24px); opacity: 0; } }
.search-pop__row { display: flex; align-items: center; gap: 8px; }
.search-pop__row .search { flex: 1; }
.search-pop__row .search input { height: 56px; font-size: 17px; }
.search-pop__row .search .btn { top: 6px; min-height: 44px; }
.search-pop__hints { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: var(--fs-sm); }
.search-pop__hints > span { width: 100%; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
@media (min-width: 768px) { .search-pop__hints > span { width: auto; margin-right: 6px; } .search-pop__panel { padding: 26px 0 28px; } }
body.has-search { overflow: hidden; }

/* ---------- Mosaïque d'accueil (bento) ---------- */
.bento { padding-top: 14px; }
.bento__grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.bento__grid > * { border-radius: var(--r-xl); position: relative; overflow: hidden; isolation: isolate; }
.bento__main { grid-column: 1 / -1; background: var(--grad-brand); color: #fff; padding: 28px 22px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.bento__main::after { content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; left: -150px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 181, 71, .4), transparent 68%); }
.bento h1 { font-size: 2.2rem; line-height: 1.04; }
.bento h1 em { color: #FFB547; }
.bento .hero__kicker { background: rgba(255, 181, 71, .2); color: #FFE2B0; }
.bento__main > :not(h1):not(.hero__aurora) { animation: fadeUp .8s var(--ease) both; animation-delay: .5s; }
.bento__main > .hero__kicker { animation-delay: 0s; }
.bento__photo, .bento__deal, .bento__wa { animation: tileIn .9s var(--ease) both; }
.bento__photo { animation-delay: .2s; } .bento__deal { animation-delay: .35s; } .bento__wa { animation-delay: .5s; }
.bento__lead { color: rgba(255, 255, 255, .88); max-width: 46ch; }
.bento__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--glass { --btn-bg: rgba(255, 255, 255, .12); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--glass:hover { --btn-bg: rgba(255, 255, 255, .22); --btn-bd: #fff; }
.bento__photo { grid-column: 1 / -1; min-height: 260px; background: var(--deep-700); }
.bento__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.bento__photo:hover img { scale: 1.05; }
.bento__tag { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .9); color: var(--deep-900); font-size: 12.5px; font-weight: 700; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bento__tag svg { width: 15px; height: 15px; color: var(--accent-600); }
.bento__bubble { position: absolute; right: 14px; bottom: 14px; left: 14px; display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: var(--sh-2); animation: float 6s ease-in-out 1s infinite; }
.bento__bubble .pvisual { border-radius: 50%; }
.bento__bubble small { display: block; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bento__bubble b { color: var(--accent-700); font-size: 14px; }
.bento__deal { background: var(--grad-mango); color: var(--deep-900); padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 170px; }
.bento__deal small { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bento__deal strong { font-family: var(--font-display); font-size: 3rem; line-height: 1; letter-spacing: -.04em; margin: 4px 0; }
.bento__deal span { font-size: 13px; font-weight: 600; line-height: 1.35; }
.bento__deal::before { content: ""; position: absolute; z-index: -1; width: 200px; height: 200px; right: -70px; top: -80px; border-radius: 50%; background: rgba(255, 255, 255, .25); transition: transform .6s var(--ease); }
.bento__deal:hover::before { transform: scale(1.4); }
.bento__go { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--deep-900); color: #fff; transition: rotate .35s var(--ease); }
.bento__go svg { width: 18px; height: 18px; }
.bento__deal:hover .bento__go { rotate: -45deg; }
.bento__wa { background: var(--deep-900); color: #fff; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-height: 170px; }
.bento__wa svg { position: absolute; top: 16px; left: 16px; width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--whatsapp); color: #fff; }
.bento__wa strong { font-family: var(--font-display); font-size: 1.15rem; }
@media (min-width: 640px) { .bento__wa strong { font-size: var(--fs-xl); } }
.bento__wa span { font-size: 13px; color: rgba(255, 255, 255, .75); }
.bento__wa:hover svg { animation: bump .45s var(--ease); }
@media (min-width: 640px) {
  .bento h1 { font-size: 2.8rem; }
  .bento__photo { grid-column: auto; grid-row: span 2; min-height: 360px; }
}
@media (min-width: 1024px) {
  .bento { padding-top: 22px; }
  .bento__grid { grid-template-columns: 1.55fr 1fr .78fr; grid-template-rows: 255px 225px; gap: 16px; }
  .bento__main { grid-column: 1; grid-row: 1 / 3; padding: 40px 44px; gap: 18px; }
  .bento h1 { font-size: 3.05rem; }
  .bento__lead { font-size: var(--fs-lg); }
  .bento__photo { grid-column: 2; grid-row: 1 / 3; min-height: 0; }
  .bento__deal, .bento__wa { min-height: 0; padding: 22px; }
  .bento__deal strong { font-size: 3.6rem; }
}
.bento .trustbar { padding-top: 12px; }
@media (min-width: 1024px) { .bento .trustbar { padding-top: 16px; } }

/* ---------- Accès rapide aux catégories ---------- */
.quick-cats { padding: 22px 0 4px; }
.quick-cats__track { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 8px; scroll-snap-type: x proximity; }
.quick-cats__track::-webkit-scrollbar { display: none; }
.quick-cat { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 5px 18px 5px 5px; border-radius: var(--r-pill); background: var(--white); box-shadow: var(--sh-1); font-weight: 600; font-size: var(--fs-sm); white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.quick-cat .pvisual, .quick-cat__icon { width: 42px; height: 42px; flex: none; border-radius: 50%; }
.quick-cat__icon { display: grid; place-items: center; background: var(--grad-mango); color: var(--deep-900); }
.quick-cat__icon svg { width: 20px; height: 20px; }
.quick-cat:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.quick-cat--promo { background: var(--saffron-50); color: var(--accent-700); }
@media (min-width: 1024px) { .quick-cats__track { flex-wrap: wrap; justify-content: center; overflow: visible; margin: 0; padding: 4px 0; } }

/* ---------- Meilleure offre de la semaine ---------- */
.deal { display: grid; gap: 22px; padding: 14px; border-radius: var(--r-xl); background: var(--white); box-shadow: var(--sh-2); grid-template-columns: minmax(0, 1fr); }
.deal__media { position: relative; display: block; }
.deal__media .pvisual { border-radius: var(--r-lg); }
.deal__pct { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--accent-600); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; rotate: 10deg; box-shadow: 0 0 0 6px rgba(225, 29, 116, .2); }
.deal__info { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 0 6px 6px; }
.deal__info h2 { font-size: var(--fs-2xl); }
.deal__info h2 a:hover { color: var(--accent-700); }
.deal__short { color: var(--ink-2); }
.deal__info .price__now { font-size: var(--fs-2xl); }
.deal .countdown { margin-top: 4px; }
.deal .countdown div { background: var(--deep-900); color: #fff; }
.deal .countdown b { color: #FFB547; }
.deal .countdown small { color: rgba(255, 255, 255, .7); }
.deal__stock { width: 100%; max-width: 360px; font-size: var(--fs-sm); color: var(--ink-2); }
.deal__stock b { color: var(--accent-700); }
.deal__stock .progress { margin-top: 6px; }
.deal__stock .progress > span { background: linear-gradient(90deg, var(--accent-600), #FFB547); }
.deal__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.deal__more { display: flex; flex-direction: column; gap: 10px; }
.deal__more > p { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.deal__mini { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r-lg); background: var(--cream); transition: background .2s, transform .25s var(--ease); }
.deal__mini:hover { background: var(--saffron-50); transform: translateX(3px); }
.deal__mini .pvisual { border-radius: var(--r-md); }
.deal__mini small { display: block; font-weight: 600; font-size: var(--fs-sm); line-height: 1.3; margin-bottom: 2px; }
.deal__mini .price__now { font-size: var(--fs-md); }
.deal__mini > b { padding: 4px 8px; border-radius: var(--r-pill); background: var(--accent-600); color: #fff; font-size: 12px; }
@media (min-width: 1024px) {
  .deal { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) 300px; align-items: center; gap: 36px; padding: 20px; }
  .deal__info { padding: 0; }
  .deal__info h2 { font-size: var(--fs-3xl); }
  .deal__more { align-self: stretch; justify-content: center; padding-left: 28px; border-left: 1px solid var(--line); }
}
