/* ============================================================
   BiZZY — amelyorasyon UI/UX (oktòb 2026)
   Fichye: index_inc/ameliorasyon.css  (chaje APRE index_inc/style.css)
   ============================================================ */

/* ---------- 1. Lyen « Wè tout » (nan seksyon "Pwodwi Ou Renmen Yo")
   Kontras WCAG AA: #B84E08 sou blan = ~5:1 (oranj #F5821F sou blan = ~2.6:1, twò ba pou tèks) */
.lien-we-tout {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 6px 14px;
  border: 1.5px solid #B84E08;
  border-radius: 999px;
  background: transparent;
  color: #B84E08 !important;      /* !important pou kouvri style inline ki egziste deja */
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.lien-we-tout:hover,
.lien-we-tout:focus-visible {
  background: #B84E08;
  color: #fff !important;
}

/* ---------- 2. Kat « Wè tout » nan dènye pozisyon karousèl la ----------
   Li parèt apre dènye pwodwi chaje a. Pandan JS ap chaje plis pwodwi, ikòn nan vire. */
.we-tout-kat {
  flex: 0 0 150px;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  text-align: center;
  border: 2px dashed #B84E08;
  border-radius: 12px;
  background: var(--bizzy-surface, #fff);
  color: #B84E08;
  text-decoration: none;
  scroll-snap-align: end;
}
.we-tout-kat i      { font-size: 2.2rem; line-height: 1; }
.we-tout-kat strong { font-size: 0.95rem; }
.we-tout-kat small  { font-size: 0.75rem; color: var(--bizzy-muted, #5B6475); }
.we-tout-kat:hover,
.we-tout-kat:focus-visible { background: #FFF4EA; }

/* chajman otomatik (karousel_plis.js): ikòn kat la vire pandan nou ap chaje plis pwodwi */
.ap-chaje .we-tout-kat i { animation: bizzy-vire 0.9s linear infinite; }
@keyframes bizzy-vire { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .ap-chaje .we-tout-kat i { animation: none; opacity: .6; }
}

/* ---------- 3. Telefòn: yon pati nan pwochen kat la toujou parèt ----------
   Kat yo pran ~42% lajè ekran an → 2 kat antye + yon moso nan 3yèm lan.
   Pa touche karousèl 4 pwodwi oswa mwens (grid). Retire bloke sa a si w pa vle l. */
@media (max-width: 575.98px) {
  .categorie-row-track:not(.categorie-row-grid) > :not(.we-tout-kat):not(.categorie-row-vid) {
    flex: 0 0 42vw;
    width: 42vw;
    min-width: 0;
    max-width: 190px;
  }
}

/* ---------- 4. Status boutik: endikasyon ---------- */
.status-section-titre small {
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--bizzy-muted, #5B6475);
  margin-left: 6px;
}

/* ---------- 5. Fokis klavye vizib (aksesibilite) ---------- */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #141A34;
  outline-offset: 2px;
}

/* ---------- 6. Mòd fonse: kenbe oranj klè a (li gen bon kontras sou fon nwa) ---------- */
:root[data-theme="dark"] .lien-we-tout,
:root[data-theme="dark"] .we-tout-kat { color: #F5821F !important; border-color: #F5821F; }
:root[data-theme="dark"] .lien-we-tout:hover,
:root[data-theme="dark"] .lien-we-tout:focus-visible { background: #F5821F; color: #141A34 !important; }
:root[data-theme="dark"] .we-tout-kat:hover,
:root[data-theme="dark"] .we-tout-kat:focus-visible { background: rgba(245, 130, 31, .12); }
:root[data-theme="dark"] a:focus-visible,
:root[data-theme="dark"] button:focus-visible { outline-color: #F5821F; }

/* ---------- 7. Ouvèti otomatik: ti ba ki ranpli sou kat « Wè tout » (1.4 s) ----------
   karousel_plis.js ajoute klas .ap-ale lè moun nan rive nan bout ranje a. */
.we-tout-kat{position:relative;overflow:hidden;}
.we-tout-kat::after{
  content:"";position:absolute;left:0;bottom:0;height:4px;width:0;
  background:#B84E08;
}
.we-tout-kat.ap-ale::after{width:100%;transition:width 1.4s linear;}
.we-tout-kat.ap-ale{background:#FFF4EA;}
:root[data-theme="dark"] .we-tout-kat::after{background:#F5821F;}
@media (prefers-reduced-motion: reduce){
  .we-tout-kat.ap-ale::after{transition:none;width:100%;}
}
/* ---------- 2026-10-23 — KOULÈ PRI YO (demann Freud) ----------
   Tout pri an goud sou akèy la: menm oranj BiZZY. Pri an dola ayisyen « ($150 HT) »: ble.
   Fichye sa a chaje APRE style.css, kidonk li ranplase règ .produit-card .produit-prix ki te mete pri a nwa. */
:root { --bizzy-ble-dola: #1D4ED8; }
[data-theme="dark"] { --bizzy-ble-dola: #60A5FA; }

.produit-prix,
.produit-card .produit-prix,
.produit-prix .prix-goud,
.produit-card .produit-prix .prix-goud,
.status-viewer-prix {
  color: var(--bizzy-orange);
}
.prix-dola-ayisyen,
.produit-prix .prix-dola-ayisyen,
.produit-card .produit-prix .prix-dola-ayisyen {
  color: var(--bizzy-ble-dola);
}

/* ---------- 2026-10-23 — ti bouton panye nan kwen foto a (kare won, navy), pa gwo bouton anba kat la ---------- */
.produit-img-wrapper .btn-ajoute-panier { border-radius: 8px; }

/* ============================================================
   2026-10-23 — KAT PWODWI: menm wotè, menm gwosè tèks (demann Freud)
   Chak liy gen yon wotè fiks → tout kat yo menm wotè, pri yo aliyen,
   kèlkeswa ekran an (règ sa yo chaje apre style.css, yo genyen sou media query yo).
   ============================================================ */
.produit-card .produit-info { display: flex; flex-direction: column; }

/* Tit: 2 liy maks + « … », toujou 2 liy wotè */
.produit-card .produit-nom {
  font-size: .84rem; font-weight: 700; line-height: 1.3;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
  overflow: hidden; text-overflow: ellipsis;
  min-height: 2.6em; max-height: 2.6em; margin: 0 0 3px;
}

/* Zetwal + kantite avi (liy rezève menm lè pa gen avi) */
.produit-card .produit-rating {
  display: flex; align-items: center; gap: 4px;
  min-height: 1.15rem; margin: 0 0 3px;
  font-size: .72rem; line-height: 1; color: #D97706; font-weight: 600;
}
.produit-card .produit-rating .zetwal-yo { display: inline-flex; gap: 1px; font-size: .74rem; }
.produit-card .produit-rating .rating-nb { color: var(--bizzy-muted); font-weight: 500; font-size: .72rem; }

/* Boutik: ikòn + non, yon sèl liy */
.produit-card .produit-boutik-nom {
  display: flex; align-items: center; gap: 4px;
  font-size: .76rem; font-weight: 500; color: var(--bizzy-muted);
  margin: 0 0 6px; line-height: 1.3; min-width: 0;
}
.produit-card .produit-boutik-nom i { color: var(--bizzy-orange); font-size: .8rem; flex-shrink: 0; }
.produit-card .produit-boutik-nom span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* Pri: menm gwosè sou tout kat yo + ansyen pri bare */
.produit-card .produit-prix { margin-top: auto; }
.produit-card .produit-prix .prix-goud { font-size: .95rem; font-weight: 800; }
.produit-card .produit-prix .prix-dola-ayisyen { font-size: .8rem; font-weight: 600; }
.produit-card .produit-prix .prix-bare { font-size: .74rem; font-weight: 500; color: #9CA3AF; text-decoration: line-through; }

/* Prèv sosyal (« N vann ») + liy enfo: wotè rezève */
.produit-card .produit-liy-prev { min-height: 1.1rem; }
.produit-card .produit-liy-prev .psiko-prev { margin-top: 2px; }
.produit-card .produit-liy-enfo {
  min-height: 1.2rem; margin-top: 4px;
  font-size: .74rem; font-weight: 700; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.produit-liy-enfo .enfo-ekonomi { color: var(--bizzy-green, #15803D); }
.produit-liy-enfo .enfo-estok   { color: #B91C1C; }
.produit-liy-enfo .enfo-fini    { color: var(--bizzy-muted); }
.produit-liy-enfo .enfo-sep     { color: var(--bizzy-muted); font-weight: 400; }
[data-theme="dark"] .produit-liy-enfo .enfo-ekonomi { color: #4ADE80; }
[data-theme="dark"] .produit-liy-enfo .enfo-estok   { color: #F87171; }

/* Badj pwomosyon -X% sou foto a */
.badj-rabe {
  background: #DC2626; color: #fff;
  font-size: .72rem; font-weight: 800; line-height: 1;
  padding: 4px 8px; border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

/* ---------- Animasyon panye (script.js: bizzyAnimePanye) ---------- */
@keyframes bzPopPanye { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes bzBadjMonte { 0% { transform: scale(1); } 30% { transform: scale(1.6); } 60% { transform: scale(.9); } 100% { transform: scale(1); } }
@keyframes bzSoukePanye { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
.btn-ajoute-panier.bz-pop { animation: bzPopPanye .35s ease; background-color: var(--bizzy-orange); }
.icon-badge.bz-monte, .panye-konte-meni.bz-monte { animation: bzBadjMonte .5s ease; }
.icon-btn.bz-souke > i { display: inline-block; animation: bzSoukePanye .45s ease; }
.bz-foto-vole {
  position: fixed; z-index: 2000; pointer-events: none;
  border-radius: 10px; object-fit: cover; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: transform .65s cubic-bezier(.5,-.2,.7,1), opacity .65s ease;
}
.panye-konte-meni {
  margin-left: 8px; background: var(--bizzy-orange); color: #fff;
  font-size: .7rem; font-weight: 700; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
}
.panye-konte-meni[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .btn-ajoute-panier.bz-pop, .icon-badge.bz-monte, .panye-konte-meni.bz-monte, .icon-btn.bz-souke > i { animation: none; }
  .bz-foto-vole { display: none; }
}

/* ============================================================
   2026-10-23 — 6 PWEN « vizitè k ap kite akèy la »
   ============================================================ */

/* ---------- Pwen 1: tout kat la mennen sou paj detay la ----------
   .produit-info se yon <div> kounye a (non boutik la se yon lòt lyen).
   « Stretched link »: ::after lyen tit la kouvri tout zòn enfo a; lyen boutik la rete anlè l (z-index 2). */
.produit-card .produit-info { position: relative; }
.produit-card .produit-lyen-detay { color: inherit; text-decoration: none; }
.produit-card .produit-lyen-detay::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.produit-card .produit-lyen-detay:focus-visible { outline: none; }
.produit-card .produit-lyen-detay:focus-visible::after { outline: 3px solid #141A34; outline-offset: -3px; border-radius: 0 0 12px 12px; }
:root[data-theme="dark"] .produit-card .produit-lyen-detay:focus-visible::after { outline-color: #F5821F; }

.produit-card a.produit-boutik-nom {
  position: relative; z-index: 2;
  align-self: flex-start; max-width: 100%;
  padding: 2px 0; text-decoration: none;
}
.produit-card a.produit-boutik-nom:hover span,
.produit-card a.produit-boutik-nom:focus-visible span { text-decoration: underline; color: var(--bizzy-text); }

.produit-card .produit-we-detay {
  display: inline-flex; align-items: center; gap: 2px;
  margin-top: 4px; font-size: .74rem; font-weight: 700; line-height: 1.2;
  color: #B84E08;               /* kontras AA sou blan */
}
.produit-card .produit-we-detay i { font-size: .68rem; }
.produit-card:hover .produit-we-detay { text-decoration: underline; }
:root[data-theme="dark"] .produit-card .produit-we-detay { color: #F5821F; }

/* ---------- Pwen 2: kat « Wè tout N pwodwi → » ---------- */
.we-tout-kat strong { line-height: 1.25; }
.pouou-track > .we-tout-kat { flex: 0 0 150px; }
@media (min-width: 576px) { .pouou-track > .we-tout-kat { flex-basis: 170px; } }

/* ---------- Pwen 3: ba navigasyon anba (5 bouton) ---------- */
.bottom-nav-5 { padding-left: 4px; padding-right: 4px; }
.bottom-nav-5 .bottom-nav-item {
  flex: 1 1 0; min-width: 0; min-height: 48px; justify-content: center;
  color: var(--bizzy-muted);      /* #9CA3AF te twò pal (kontras ~2.5:1) */
  white-space: nowrap;
}
.bottom-nav-5 .bottom-nav-item.active { color: var(--bizzy-orange); }
.bottom-nav-ikon { position: relative; display: inline-flex; }
.bottom-nav-badj {
  position: absolute; top: -6px; right: -12px;
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
  background: var(--bizzy-orange); color: #fff; border: 2px solid var(--bizzy-surface);
  font-size: .6rem; font-weight: 800; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.bottom-nav-badj[hidden] { display: none !important; }
.bottom-nav-badj.bz-monte { animation: bzBadjMonte .5s ease; }
@media (prefers-reduced-motion: reduce) { .bottom-nav-badj.bz-monte { animation: none; } }

/* ---------- Pwen 4: Sa w te gade dènyèman ---------- */
.vu-denye-section[hidden] { display: none !important; }
.vu-denye-efase {
  background: none; border: 0; padding: 8px 4px; min-height: 36px;
  color: var(--bizzy-muted); font-size: .74rem; font-weight: 600; text-decoration: underline;
}
.vu-denye-track {
  display: flex; gap: 10px; overflow-x: auto; padding: 0 16px 4px;
  scrollbar-width: none; scroll-snap-type: x proximity;
}
.vu-denye-track::-webkit-scrollbar { display: none; }
.vu-denye-kat {
  flex: 0 0 96px; display: flex; flex-direction: column; gap: 3px;
  color: var(--bizzy-text); text-decoration: none; scroll-snap-align: start;
}
.vu-denye-foto {
  width: 96px; height: 96px; border-radius: 10px; overflow: hidden;
  background: var(--bizzy-surface); border: 1px solid var(--bizzy-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--bizzy-muted); font-size: 1.6rem;
}
.vu-denye-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vu-denye-non {
  font-size: .72rem; line-height: 1.25; font-weight: 600;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.vu-denye-pri { font-size: .76rem; font-weight: 800; color: var(--bizzy-orange); }

/* ---------- Pwen 4: Boutik popilè ---------- */
.boutik-popile-track {
  display: flex; gap: 10px; overflow-x: auto; padding: 0 16px 4px;
  scrollbar-width: none; scroll-snap-type: x proximity;
}
.boutik-popile-track::-webkit-scrollbar { display: none; }
.boutik-popile-kat {
  flex: 0 0 124px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 8px; text-align: center; scroll-snap-align: start;
  background: var(--bizzy-surface); border: 1px solid var(--bizzy-border); border-radius: 12px;
  color: var(--bizzy-text); text-decoration: none;
}
.boutik-popile-kat:hover { border-color: var(--bizzy-orange); }
.boutik-popile-logo {
  width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: var(--bizzy-bg); border: 2px solid var(--bizzy-orange);
  display: flex; align-items: center; justify-content: center;
  color: var(--bizzy-orange); font-size: 1.4rem;
}
.boutik-popile-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.boutik-popile-kat strong {
  font-size: .78rem; font-weight: 700; line-height: 1.25; max-width: 100%;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.boutik-popile-kat .boutik-verifye { color: #1D4ED8; font-size: .72rem; }
.boutik-popile-kat small { font-size: .68rem; color: var(--bizzy-muted); line-height: 1.2; }

/* ---------- Pwen 5: Kijan sa mache (Kòmande → Peye → Resevwa) ---------- */
.kijan-sa-mache {
  margin: 10px 16px 0; padding: 10px 8px 8px;
  background: var(--bizzy-surface); border: 1px solid var(--bizzy-border); border-radius: 12px;
}
.kijan-tit { margin: 0 0 6px; font-size: .82rem; font-weight: 800; text-align: center; color: var(--bizzy-text); }
.kijan-etap-yo { display: flex; align-items: stretch; gap: 2px; }
/* ⚠️ style.css (liy ~810, media telefòn) fòse .konfyans-item an « pilil » sou yon liy: flex-direction:row !important + white-space:nowrap.
   Se sa ki te fè etap yo soti deyò kad la sou telefòn. Nou ranplase l isit la (menm !important, selektè pi presi). */
.kijan-sa-mache .kijan-etap-yo .kijan-etap {
  flex: 1 1 0 !important; min-width: 0; min-height: 44px; position: relative;
  display: flex; flex-direction: column !important; align-items: center; justify-content: flex-start; gap: 2px;
  padding: 8px 2px 6px !important; border: 0 !important; border-radius: 10px !important; background: transparent !important;
  color: var(--bizzy-text); text-align: center; line-height: 1.2; cursor: pointer;
  white-space: normal !important; overflow-wrap: anywhere; font-size: .7rem;
}
.kijan-sa-mache .kijan-etap strong,
.kijan-sa-mache .kijan-etap small { display: block; max-width: 100%; }
.kijan-sa-mache .kijan-etap > i { font-size: 1.3rem; color: #D9690C; }
.kijan-sa-mache .kijan-etap .konfyans-logos { height: 21px; }
.kijan-sa-mache .kijan-etap .konfyans-logos img { height: 21px; }
.kijan-sa-mache .kijan-etap strong { font-size: .8rem; font-weight: 800; }
.kijan-sa-mache .kijan-etap small { font-size: .66rem; color: var(--bizzy-muted); }
.kijan-sa-mache .kijan-etap-yo .kijan-etap[aria-expanded="true"],
.kijan-sa-mache .kijan-etap-yo .kijan-etap:hover { background: #FFF4EA !important; }
.kijan-nimewo {
  display: inline-flex; align-items: center; justify-content: center; vertical-align: 1px;
  width: 15px; height: 15px; margin-right: 4px; border-radius: 50%;
  background: var(--bizzy-orange); color: #fff; font-size: .58rem; font-weight: 800; line-height: 1;
}
.kijan-flech { align-self: center; flex: 0 0 auto; color: var(--bizzy-muted); font-size: .7rem; }
.kijan-etap-yo { width: 100%; min-width: 0; }
/* Telefòn piti: ti tèks yo pi kout, nimewo a pi pre ikòn nan */
@media (max-width: 359.98px) {
  .kijan-sa-mache .kijan-etap small { display: none; }
  .kijan-flech { display: none; }
}
.kijan-garanti { margin: 6px 0 0; font-size: .7rem; font-weight: 600; text-align: center; color: var(--bizzy-green); }
.kijan-garanti i { margin-right: 2px; }
:root[data-theme="dark"] .kijan-sa-mache .kijan-etap > i { color: #F5A05A; }
:root[data-theme="dark"] .kijan-sa-mache .kijan-etap-yo .kijan-etap[aria-expanded="true"],
:root[data-theme="dark"] .kijan-sa-mache .kijan-etap-yo .kijan-etap:hover { background: rgba(245, 130, 31, .12) !important; }
:root[data-theme="dark"] .kijan-garanti { color: #4ADE80; }
@media (min-width: 768px) {
  .kijan-sa-mache { padding: 12px 16px 10px; }
  .kijan-etap-yo { max-width: 640px; margin: 0 auto; }
}

/* ============================================================
   2026-10-23 — HEADER: ti bouton dous « Konekte » (ranplase gwo bouton oranj « Enskri » a)
   Oranj lan rete pou panye / aksyon acha. Kontras: tèks #141A34 sou blan.
   ============================================================ */
.icon-btn.icon-btn-konekte {
  flex-direction: row; align-items: center; gap: 5px;
  min-height: 36px; padding: 6px 12px; border-radius: 999px;
  background: transparent; border: 1.5px solid var(--bizzy-border);
  color: var(--bizzy-text); font-size: .8rem; font-weight: 600; line-height: 1; white-space: nowrap;
}
.icon-btn.icon-btn-konekte .bi { font-size: 1.05rem; }
.icon-btn.icon-btn-konekte:hover,
.icon-btn.icon-btn-konekte:focus-visible { border-color: var(--bizzy-text); background: var(--bizzy-bg); color: var(--bizzy-text); }
.navbar-icons .icon-btn.icon-btn-konekte { margin: 0 0 0 2px; }
/* Telefòn etwat: « Konekte » sèlman (« / Enskri » ta pouse panye a deyò) */
@media (max-width: 389.98px) {
  .icon-btn.icon-btn-konekte { padding: 6px 9px; gap: 3px; font-size: .74rem; }
  .icon-btn.icon-btn-konekte .konekte-enskri { display: none; }
}

/* Envitasyon dous pou kreye yon kont (apre ❤ san kont) — index_inc/akey_eksplore.js */
.kont-envit {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 1040;
  width: calc(100% - 24px); max-width: 456px;
  display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px;
  background: var(--bizzy-surface); color: var(--bizzy-text);
  border: 1px solid var(--bizzy-border); border-radius: 12px; box-shadow: 0 6px 24px rgba(20, 26, 52, .18);
  font-size: .8rem; line-height: 1.35;
}
.kont-envit > i { color: #DC2626; font-size: 1.2rem; flex-shrink: 0; }
.kont-envit p { margin: 0; flex: 1; min-width: 0; }
.kont-envit a {
  flex-shrink: 0; padding: 8px 12px; border-radius: 8px; min-height: 36px; display: inline-flex; align-items: center;
  background: var(--bizzy-orange); color: #141A34; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.kont-envit button { flex-shrink: 0; width: 32px; height: 32px; border: 0; background: transparent; color: var(--bizzy-muted); border-radius: 8px; }
@media (min-width: 992px) { .kont-envit { bottom: 24px; } }

/* ============================================================
   2026-10-23 — KAT PWODWI PI KONTRA (demann Freud: « twòp espas »)
   - pa gen liy vid rezève ankò (kat_pwodwi.php pa ekri liy zetwal / « N vann » / enfo lè yo vid);
   - tit: 2 liy MAKS men pa 2 liy fòse (pa gen min-height);
   - pri + ansyen pri bare sou menm liy (wrap si pa gen plas);
   - menm wotè nan karousèl la: espas ki rete a ale ANWO « Wè detay » (margin-top:auto), pa nan mitan kat la.
   ============================================================ */
.produit-card .produit-info { padding: 8px 10px 9px; }
.produit-card .produit-nom { min-height: 0; margin-bottom: 2px; }
.produit-card .produit-rating { min-height: 0; margin: 0 0 2px; }
.produit-card .produit-boutik-nom { margin: 0 0 3px; }
.produit-card .produit-prix {
  margin-top: 0;
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 5px; row-gap: 0;
  line-height: 1.25;
}
.produit-card .produit-prix .prix-bare { font-size: .72rem; }
.produit-card .produit-liy-prev { min-height: 0; }
.produit-card .produit-liy-enfo { min-height: 0; margin-top: 2px; }
.produit-card .produit-we-detay { margin-top: auto; padding-top: 5px; }


/* ============================================================
   ✅ 2026-10-24 — AKÈY « PLIS PWODWI » (7 pwen Freud)
   ============================================================ */
/* Pwen 4 — chip kategori ak kantite (reitilize .sou-chips / .sou-chip) */
.akey-chip-kat { margin: 4px 0 2px; padding: 2px 2px 10px; }
/* ✅ 2026-10-25 — Freud: ranje kategori a = yon liy lyen tèks nwa, san fon, san ikòn ni pilil */
.akey-chip-kat {
  gap: 0; margin: 6px 0 2px; padding: 0 6px; background: transparent; border-radius: 0;
  scroll-snap-type: x proximity;
}
.akey-chip-kat .akey-chip {
  min-height: 40px; padding: 0 11px; gap: 0; border: 1px solid transparent; border-radius: 3px;
  background: transparent; color: var(--bizzy-text); font-size: .84rem; font-weight: 600; white-space: nowrap;
  text-decoration: none; scroll-snap-align: start;
}
.akey-chip-kat .akey-chip:hover,
.akey-chip-kat .akey-chip:focus-visible { border-color: var(--bizzy-text); color: var(--bizzy-text); background: transparent; outline: none; }
@media (min-width: 768px) {
  .akey-chip-kat { margin: 6px 10px 2px; }
}
@media (max-width: 575.98px) {
  .akey-chip-kat .akey-chip { min-height: 38px; padding: 0 9px; font-size: .78rem; }
}
.akey-chip i { color: var(--bizzy-orange); font-size: .9rem; }

/* Pwen 1 + 2 — gri « Plis pwodwi pou ou »: 2 kolòn telefòn (.produits-scroll), 3/4/5/6 sou pi gwo ekran */
.akey-feed-section { margin: 18px 0 8px; scroll-margin-top: 72px; }
.akey-feed-section .offres-header h3 i { color: var(--bizzy-orange); margin-right: 4px; }
.akey-feed-gri .produit-card { width: auto; min-width: 0; }
.akey-feed-gri:empty { display: none; }
.akey-feed-pye { min-height: 1px; display: flex; justify-content: center; padding: 14px 0 6px; }
.akey-feed-chaje { display: inline-flex; align-items: center; gap: 8px; color: var(--bizzy-muted); font-size: .82rem; }
.akey-feed-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--bizzy-border); border-top-color: var(--bizzy-orange); animation: akeyFeedVire .8s linear infinite; }
@keyframes akeyFeedVire { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .akey-feed-spin { animation-duration: 2.4s; } }
.akey-feed-bt {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 22px;
  border-radius: 999px; border: 1px solid var(--bizzy-orange); background: var(--bizzy-surface);
  color: var(--bizzy-orange); font-weight: 700; font-size: .86rem; cursor: pointer;
}
.akey-feed-bt:hover, .akey-feed-bt:focus-visible { background: var(--bizzy-orange); color: #fff; outline: none; }
.akey-feed-fen { margin: 0; font-size: .82rem; color: var(--bizzy-muted); text-align: center; }
.akey-feed-fen a { color: var(--bizzy-orange); font-weight: 700; }
[hidden].akey-feed-chaje, [hidden].akey-feed-bt, [hidden].akey-feed-fen { display: none !important; }


/* ✅ 2026-10-24 — bann « Kijan sa mache »: 4 ti badj mwayen peman (ranplase liy tèks long lan) */
.kijan-mwayen { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.kijan-mwayen li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--bizzy-surface); border: 1px solid var(--bizzy-border); font-size: .7rem; font-weight: 600; color: var(--bizzy-text); white-space: nowrap; }
.kijan-mwayen li img { width: 16px; height: 16px; border-radius: 4px; }
.kijan-mwayen li i { color: var(--bizzy-orange); font-size: .85rem; }
.kijan-mwayen + .kijan-garanti { margin-top: 6px; }
/* ✅ 2026-10-25 — Freud: badj peman yo pi piti sou telefòn. 2 + 2 (olye 3 + 1) pou blòk la rete balanse. */
@media (max-width: 575.98px) {
  .kijan-mwayen { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 4px 5px; margin-top: 6px; }
  .kijan-mwayen li { justify-content: center; gap: 4px; padding: 2px 8px; font-size: .64rem; }
  .kijan-mwayen li img { width: 13px; height: 13px; border-radius: 3px; }
  .kijan-mwayen li i { font-size: .72rem; }
}

/* ============================================================
   ✅ 2026-10-25 — RAKOUSI AKÈY (Ofri, Mache, Boutik yo...): Freud vle menm stil telefòn nan sou tout ekran:
   wonn blan, kad fen, ikòn ble maren (style.css liy ~803 fè sa sèlman sou telefòn). Pa gen gwo kare ble ankò.
   ============================================================ */
.categories-card .category-icon-circle {
  border-radius: 50% !important; background-color: var(--bizzy-surface) !important;
  border: 1px solid var(--bizzy-border) !important; box-shadow: 0 1px 2px rgba(20, 26, 52, .06);
}
.categories-card .category-icon-circle i { color: #141A34 !important; }
@media (hover: hover) and (pointer: fine) {
  .categories-card .category-item:hover .category-icon-circle {
    background-color: var(--bizzy-surface) !important; border-color: var(--bizzy-orange) !important;
    box-shadow: 0 2px 6px rgba(20, 26, 52, .12);
  }
  .categories-card .category-item:hover .category-icon-circle i { color: var(--bizzy-orange) !important; }
}
.categories-card .category-item:active .category-icon-circle,
.categories-card .category-item.is-pressed .category-icon-circle { border-color: var(--bizzy-orange) !important; }
:root[data-theme="dark"] .categories-card .category-icon-circle i { color: #fff !important; }

/* ✅ 2026-10-26 — Freud: « Status boutik yo » te kite yon gwo espas blan anba « Ofri jodi a ».
   Kounye a: yon sèl ti ranje (tit agoch, avatar adwat), avatar pi piti, mwens maj. */
.status-section {
  display: flex; align-items: center; gap: 12px;
  margin: 8px 0 0; padding: 0 16px;
}
.status-section-titre { margin: 0; flex: 0 0 auto; max-width: 84px; line-height: 1.25; white-space: normal; }
.status-track { flex: 1 1 auto; min-width: 0; gap: 10px; padding-bottom: 0; }
.status-item { width: 50px; gap: 2px; }
.status-avatar-ring { width: 42px; height: 42px; padding: 2px; }
.status-avatar { font-size: 1rem; }
.status-nom { max-width: 50px; font-size: 0.6rem; }

/* ✅ 2026-10-26 — Freud: « An vedèt » ak yon sèl pwodwi → kat orizontal ki pran tout lajè a (pa gen gwo espas vid adwat). */
:is(.vedet-yon-sel, .pouou-section:has(.pouou-track > .produit-card:only-child)) .pouou-nav-btn { display: none !important; }
:is(.vedet-yon-sel, .pouou-section:has(.pouou-track > .produit-card:only-child)) .pouou-track { overflow: visible; }
:is(.vedet-yon-sel, .pouou-section:has(.pouou-track > .produit-card:only-child)) .pouou-track .produit-card { flex: 1 1 auto; width: 100%; flex-direction: row; }
:is(.vedet-yon-sel, .pouou-section:has(.pouou-track > .produit-card:only-child)) .produit-img-wrapper { flex: 0 0 auto; width: min(42%, 240px); padding-top: 0; aspect-ratio: 1 / 1; }
:is(.vedet-yon-sel, .pouou-section:has(.pouou-track > .produit-card:only-child)) .produit-info { padding: 12px 14px; justify-content: center; min-width: 0; }
:is(.vedet-yon-sel, .pouou-section:has(.pouou-track > .produit-card:only-child)) .produit-nom { font-size: .9rem; min-height: 0; }
:is(.vedet-yon-sel, .pouou-section:has(.pouou-track > .produit-card:only-child)) .produit-we-detay { margin-top: 8px; }
@media (min-width:768px) { :is(.vedet-yon-sel, .pouou-section:has(.pouou-track > .produit-card:only-child)) .produit-info { padding: 16px 24px; } :is(.vedet-yon-sel, .pouou-section:has(.pouou-track > .produit-card:only-child)) .produit-nom { font-size: 1.05rem; } }
@media (max-width:575.98px) {
  :is(.vedet-yon-sel, .pouou-section:has(.pouou-track > .produit-card:only-child)) .produit-img-wrapper { width: 45%; }
  :is(.vedet-yon-sel, .pouou-section:has(.pouou-track > .produit-card:only-child)) .produit-info { padding: 10px 12px; }
}

/* ✅ 2026-10-26 — Freud: « korije tout espas vid sa yo nan index la ».
   Lojik la nan bizzyRanjeVid() (index.php): tuil « Plis pwodwi ap vini » ranpli kaz ki rete yo nan dènye ranje gri a.
   Menm règ kat orizontal « An vedèt » la aplike sou nenpòt karousèl ki gen yon sèl kat (Nouvo, Toupre, Pri…). */
.categorie-row-grid > .categorie-row-vid:not(.categorie-row-vid-plen) { min-height: 0; padding: 14px 10px; }
.categorie-row-grid > .categorie-row-vid:not(.categorie-row-vid-plen) span { font-size: .72rem; }
@media (max-width:575.98px) {
  /* ranje antye (gri a te plen): yon ti bann orizontal (ikòn · tèks · bouton), pa yon gwo bwat 220px */
  .categorie-row-grid > .categorie-row-vid.categorie-row-vid-plen { display: grid; grid-template-columns: auto 1fr auto; column-gap: 12px; row-gap: 2px; align-items: center; text-align: left; padding: 12px 14px; min-height: 0; }
  .categorie-row-grid > .categorie-row-vid-plen > i { grid-row: 1 / 3; margin: 0; width: 38px; height: 38px; font-size: 1.1rem; }
  .categorie-row-grid > .categorie-row-vid-plen strong { grid-column: 2; font-size: .84rem; }
  .categorie-row-grid > .categorie-row-vid-plen span { grid-column: 2; max-width: none; font-size: .72rem; line-height: 1.35; }
  .categorie-row-grid > .categorie-row-vid-plen em { grid-column: 3; grid-row: 1 / 3; margin: 0; padding: 8px 12px; white-space: nowrap; }
}

/* ✅ 2026-10-26 — Freud: ba kategori a = ti pilil won ak bòdi gri (estil filt WhatsApp), fon blan, SAN koulè vèt la */
.akey-chip-kat { gap: 8px; margin: 8px 0 4px; padding: 2px 16px 4px; }
.akey-chip-kat .akey-chip {
  min-height: 36px; padding: 0 16px; border: 1px solid #CFD3D8; border-radius: 999px;
  background: var(--bizzy-surface, #fff); color: var(--bizzy-text); font-size: .86rem; font-weight: 500;
}
.akey-chip-kat .akey-chip:hover,
.akey-chip-kat .akey-chip:focus-visible { border-color: #9CA3AF; background: var(--bizzy-surface, #fff); }
.akey-chip-kat .akey-chip:active { background: var(--bizzy-bg); }
:root[data-theme="dark"] .akey-chip-kat .akey-chip { border-color: rgba(255,255,255,.22); }
@media (min-width: 768px) { .akey-chip-kat { margin: 8px 10px 4px; } }
@media (max-width: 575.98px) { .akey-chip-kat .akey-chip { min-height: 36px; padding: 0 14px; font-size: .82rem; } }

/* ✅ 2026-10-26 — Freud (tankou Amazon): desann → tèt la + ba rechèch la kache; remonte → yo reparèt.
   JS nan index.php (klas html.bz-tet-kache / html.bz-tet-flote, varyab --bz-tet-h = wotè tèt la). */
/* overflow-x:hidden sou html+body te anpeche position:sticky mache (tèt la te monte ak paj la). « clip » koupe menm jan san kase sticky;
   navigatè ki pa konn « clip » kenbe « hidden » style.css la. */
html, body { overflow-x: clip; }
@media (max-width: 991.98px) {
  .top-navbar { transition: transform .25s ease, background-color .2s ease; }
  .search-wrapper {
    position: sticky; top: var(--bz-tet-h, 56px); z-index: 1029;
    background: var(--bizzy-bg); padding-bottom: 8px; transition: transform .25s ease, box-shadow .2s ease;
  }
  html.bz-tet-flote .search-wrapper { box-shadow: 0 6px 10px -8px rgba(20, 26, 52, .25); }
  html.bz-tet-kache .top-navbar { transform: translateY(-100%); }
  html.bz-tet-kache .search-wrapper { transform: translateY(calc(-1 * var(--bz-tet-h, 56px) - 100%)); box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .top-navbar, .search-wrapper { transition: none !important; }
}

/* ==========================================================
   ✅ 2026-10-26 (amelyorasyon #1) — SIJESYON RECHÈCH (index_inc/rechech_sijesyon.js)
   Lis anba ba rechèch la: dènye rechèch / kategori / pwodwi (foto + pri) / boutik.
   ========================================================== */
.search-form.rs-form { position: relative; }
.rs-box {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 1040;
  background: var(--bizzy-surface, #fff); border: 1px solid var(--bizzy-border, #E5E7EB);
  border-radius: 16px; box-shadow: 0 12px 32px -8px rgba(20, 26, 52, .22);
  max-height: min(70vh, 460px); overflow-y: auto; overscroll-behavior: contain; padding: 6px 0;
}
.rs-box[hidden] { display: none; }
.rs-tet { display: flex; align-items: center; justify-content: space-between; padding: 4px 14px 6px; font-size: .72rem; font-weight: 600; color: var(--bizzy-muted, #6B7280); text-transform: uppercase; letter-spacing: .3px; }
.rs-efase { border: 0; background: none; color: var(--bizzy-orange, #F5821F); font-size: .74rem; font-weight: 700; text-transform: none; padding: 2px 4px; cursor: pointer; }
.rs-it { display: flex; align-items: center; gap: 10px; padding: 8px 14px; min-height: 44px; color: var(--bizzy-text, #141A34); text-decoration: none; font-size: .88rem; }
.rs-it:hover, .rs-it.rs-on { background: var(--bizzy-bg, #F5F6F8); color: var(--bizzy-text, #141A34); }
.rs-it > .bi { font-size: 1rem; color: var(--bizzy-muted, #6B7280); width: 40px; text-align: center; flex: none; }
.rs-resan > .bi, .rs-tout > .bi { width: 20px; }
.rs-it img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex: none; background: var(--bizzy-bg, #F5F6F8); }
.rs-non { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-non b { font-weight: 700; }
.rs-pri { flex: none; font-size: .8rem; font-weight: 700; color: var(--bizzy-orange, #F5821F); }
.rs-tag { flex: none; font-size: .68rem; font-weight: 600; color: var(--bizzy-muted, #6B7280); border: 1px solid var(--bizzy-border, #E5E7EB); border-radius: 999px; padding: 1px 8px; }
.rs-tout { border-bottom: 1px solid var(--bizzy-border, #E5E7EB); }
[data-theme="dark"] .rs-box { box-shadow: 0 12px 32px -8px rgba(0, 0, 0, .6); }

/* ==========================================================
   ✅ 2026-10-26 (Freud: « kat pwodwi yo sanble AI ») — KAT PWODWI PRO
   1 dola ayisyen an ti gri anba pri a · 2 « Ekonomize » retire (PHP), pri bare sou menm liy
   3 yon sèl koulè aksan (pri zoranj; boutik ak dola an gri) · 4 « Wè detay » retire (PHP)
   5 foto ki wo (liv…) parèt antye
   ========================================================== */
.produit-card .produit-prix { flex-wrap: nowrap; overflow: hidden; white-space: nowrap; align-items: baseline; column-gap: 6px; }
.produit-card .produit-prix .prix-goud { flex: none; }
.produit-card .produit-prix .prix-bare { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.produit-card .prix-dola-liy { margin-top: 1px; line-height: 1.2; }
.produit-card .prix-dola-liy .prix-dola-ayisyen,
.produit-card .prix-dola-ayisyen { color: var(--bizzy-muted, #6B7280); font-size: .7rem; font-weight: 500; }
.produit-card .produit-boutik-nom i { color: var(--bizzy-muted, #6B7280); }
.produit-card .produit-we-detay { display: none; }
.badj-rabe { box-shadow: none; padding: 3px 7px; font-size: .7rem; font-weight: 700; }
.produit-img-wrapper img.foto-wo { object-fit: contain; padding: 6px 0; }
