/* ============================================================
   index_inc/anba_paj.css — faz 136 (paj produit.php)
   ------------------------------------------------------------
   1) Ba pwodwi KOLE (sticky) — pwodwi a rete vizib lè moun nan monte
   2) Istorik Navigasyon + 3) Bann Peman/Biznis + 4) Footè
      (menm rèl ak index_inc/style.css; footè a vini nan
       index_inc/footer_site.php, pataje ak index.php)
   5) Tuil envitasyon nan kawosèl ki gen kèk kat sèlman
   ⚠️ Chaje APRE <style> inline produit.php la (li sèvi ak menm tokens
      --bizzy-* yo, mòd fonse enkli).
============================================================ */

/* ---------- 0) Pa kite paj la ba: footè a pran plas bar achte mobil la ---------- */
body.paj-produit{ padding-bottom: 0; }
@media (max-width: 991px){
    body.paj-produit .site-footer{ padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 992px){
    /* blan an dwat gwo imaj la : galeri a santre nan kat li */
    .galeri-wrapper{ justify-content: center; }
}

/* ---------- 1) BA PWODWI KOLE ---------- */
.pwodwi-kole{
    position: fixed; top: var(--kole-top, 66px); left: 50%; width: 100%; max-width: 480px; z-index: 1020; /* menm lajè ak .app-container (480 mobil / 1280 òdinatè) */
    background-color: var(--bizzy-surface); border-bottom: 1px solid var(--bizzy-border);
    box-shadow: 0 6px 16px rgba(20,26,52,0.10);
    transform: translate(-50%, -110%); opacity: 0; visibility: hidden;
    transition: transform .22s ease, opacity .18s ease, visibility 0s linear .22s;
}
.pwodwi-kole.montre{ transform: translate(-50%, 0); opacity: 1; visibility: visible; transition-delay: 0s; }
.pwodwi-kole-ent{
    margin: 0 auto; padding: 8px 16px;
    display: flex; align-items: center; gap: 12px;
}
.pwodwi-kole-lyen{
    flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px;
    background: none; border: 0; padding: 0; text-align: left; cursor: pointer;
    color: var(--bizzy-text); font: inherit;
}
.pwodwi-kole-lyen img{
    width: 44px; height: 44px; flex: 0 0 44px; border-radius: 8px; object-fit: cover;
    border: 1px solid var(--bizzy-border); background-color: var(--bizzy-bg);
}
.pwodwi-kole-tekst{ min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.pwodwi-kole-nom{ font-size: .82rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pwodwi-kole-prix{ font-size: .9rem; font-weight: 800; white-space: nowrap; }
.pwodwi-kole-retou{ font-size: .7rem; font-weight: 600; color: var(--bizzy-muted); margin-left: 8px; text-decoration: underline; }
.pwodwi-kole-lyen:hover .pwodwi-kole-retou, .pwodwi-kole-lyen:focus-visible .pwodwi-kole-retou{ color: var(--bizzy-text); }
.pwodwi-kole-lyen:focus-visible, .pwodwi-kole-panye:focus-visible, .pwodwi-kole-anwo:focus-visible{ outline: 2px solid var(--bizzy-orange); outline-offset: 2px; }
.pwodwi-kole-panye{
    flex: 0 0 auto; border: 1.5px solid #141A34; background-color: #141A34; color: #fff;
    border-radius: 10px; font-weight: 700; font-size: .8rem; padding: 9px 16px; white-space: nowrap;
    transition: background-color .15s ease, border-color .15s ease;
}
.pwodwi-kole-panye:hover{ background-color: var(--bizzy-orange); border-color: var(--bizzy-orange); }
[data-theme="dark"] .pwodwi-kole-panye{ background-color: #242C52; border-color: rgba(255,255,255,0.18); }
[data-theme="dark"] .pwodwi-kole-panye:hover{ background-color: var(--bizzy-orange); border-color: var(--bizzy-orange); }
.pwodwi-kole-anwo{
    flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; border: 1.5px solid var(--bizzy-border);
    background-color: var(--bizzy-surface); color: var(--bizzy-text); display: none; align-items: center; justify-content: center; font-size: 1.05rem;
}
/* mobil : ba achte fikse anba ekran an deja la → isit sèlman yon flèch "retounen anlè" */
@media (max-width: 991px){
    .pwodwi-kole-panye, .pwodwi-kole-retou{ display: none; }
    .pwodwi-kole-anwo{ display: flex; }
}
@media (min-width: 992px){ .pwodwi-kole{ max-width: 1280px; } .pwodwi-kole-ent{ padding: 8px 32px; } }
@media (prefers-reduced-motion: reduce){ .pwodwi-kole{ transition: none; } }

/* ---------- 2) ISTORIK NAVIGASYON (menm look ak index) ---------- */
.hist-produit{ padding-top: 16px; }
.historique-header{ display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; flex-wrap: wrap; gap: 6px; }
.historique-header-titre{ display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.historique-header h3{ font-size: .92rem; font-weight: 800; margin: 0; }
.historique-header .lien-modifier{ font-size: .76rem; color: #D9690C; text-decoration: none; font-weight: 600; }
.historique-header .lien-modifier:hover{ text-decoration: underline; }
[data-theme="dark"] .historique-header .lien-modifier{ color: #F5A25D; }
.historique-page-indicator{ font-size: .74rem; color: var(--bizzy-muted); font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.historique-track-wrapper{ position: relative; }
.historique-track{ display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 8px; }
.historique-track::-webkit-scrollbar{ display: none; }
.historique-item{
    flex: 0 0 auto; width: 92px; height: 92px; border-radius: 10px; border: 1px solid var(--bizzy-border);
    background: var(--bizzy-surface); overflow: hidden; display: flex; align-items: center; justify-content: center; text-decoration: none;
}
.historique-item img{ width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.historique-nav-btn{
    position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%;
    border: 1px solid var(--bizzy-border); background: var(--bizzy-surface); box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    display: flex; align-items: center; justify-content: center; color: var(--bizzy-text); z-index: 3; cursor: pointer; font-size: .85rem;
}
.historique-nav-btn.gauche{ left: -4px; }
.historique-nav-btn.dwat{ right: -4px; }
.historique-nav-btn:disabled{ opacity: .25; cursor: not-allowed; }
@media (min-width: 576px){ .historique-item{ width: 104px; height: 104px; } }
@media (max-width: 575px){ .historique-nav-btn{ display: none; } }

/* ---------- 3) BANN PEMAN & BIZNIS ---------- */
.site-peman-bann{ background-color: var(--bizzy-surface); border-top: 8px solid var(--bizzy-bg); padding: 18px 16px; margin-top: 8px; }
.site-peman-bann-ranje{ max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 12px; }
.site-peman-kat{ border: 1px solid var(--bizzy-border); border-radius: 12px; padding: 16px; background-color: var(--bizzy-surface); }
.site-peman-tit{ display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--bizzy-text); margin-bottom: 6px; }
.site-peman-tit i{ color: var(--bizzy-orange); font-size: 1.05rem; }
.site-peman-kat p{ font-size: .78rem; line-height: 1.55; color: var(--bizzy-muted); margin: 0 0 12px; }
.site-peman-logo{ display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.site-peman-logo img{ height: 30px; width: 30px; border-radius: 7px; display: block; }
.site-peman-kach{ display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 10px; border-radius: 7px; border: 1px solid var(--bizzy-border); color: var(--bizzy-text); font-weight: 600; font-size: .76rem; }
.site-peman-kach i{ color: #15803D; }
[data-theme="dark"] .site-peman-kach i{ color: #6FCF97; }
.site-peman-bouton{
    display: inline-flex; align-items: center; gap: 8px; background-color: #141A34; color: #fff; font-weight: 700; font-size: .8rem;
    padding: 10px 16px; border-radius: 10px; text-decoration: none; border: 1.5px solid #141A34; transition: background-color .15s ease;
}
.site-peman-bouton:hover, .site-peman-bouton:focus-visible{ background-color: var(--bizzy-orange); border-color: var(--bizzy-orange); color: #fff; outline: none; }
[data-theme="dark"] .site-peman-bouton{ background-color: #242C52; border-color: rgba(255,255,255,0.18); }
[data-theme="dark"] .site-peman-bouton:hover{ background-color: var(--bizzy-orange); border-color: var(--bizzy-orange); }
@media (min-width: 768px){ .site-peman-bann-ranje{ grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px){ .site-peman-bann{ padding: 22px 32px; } }
.site-peman-bann + .site-footer{ margin-top: 0; }

/* ---------- 4) FOOTÈ (kopi fidèl index_inc/style.css) ---------- */
.site-footer{ background-color: var(--bizzy-navy); color: #D1D5DB; margin-top: 26px; padding: 28px 20px 18px; }
.site-footer-top{ display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; max-width: 1280px; margin-left: auto; margin-right: auto; }
.site-footer-col h4{ color: #fff; font-size: .74rem; font-weight: 700; margin: 0 0 10px; text-transform: uppercase; letter-spacing: .4px; }
.site-footer-col a{ display: block; color: #9CA3AF; font-size: .78rem; text-decoration: none; margin-bottom: 9px; }
.site-footer-col a:hover{ color: #fff; text-decoration: underline; }
.site-footer-social{ display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer-social a{ width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 1rem; margin-bottom: 0; color: #fff; }
.site-footer-social a:hover, .site-footer-social a:focus-visible{ background: var(--bizzy-orange); outline: none; text-decoration: none; }
.site-footer-bottom{ border-top: 1px solid rgba(255,255,255,0.12); padding-top: 16px; text-align: center; }
.site-footer-bottom .bizzy-logo{ font-size: 1.15rem; justify-content: center; display: inline-flex; font-weight: 800; letter-spacing: -.5px; }
.site-footer .bizzy-logo .bi-part{ color: #FFFFFF; }
.site-footer .bizzy-logo .zzy-part{ color: var(--bizzy-orange); }
.site-footer-bottom p{ font-size: .72rem; color: #9CA3AF; margin: 10px 0 4px; }
.site-footer-legal-links{ font-size: .72rem; }
.site-footer-legal-links a{ color: #9CA3AF; text-decoration: underline; }
@media (min-width: 768px){ .site-footer-top{ grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 992px){ .site-footer{ padding-left: 32px; padding-right: 32px; } }

/* ---------- 5) TUIL ENVITASYON (ranpli espas vid kawosèl ki gen kèk kat) ---------- */
.invit-tuil{
    flex: 1 1 220px; min-width: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    text-align: center; padding: 16px; border: 2px dashed var(--bizzy-border); border-radius: 10px; background: transparent;
    color: var(--bizzy-text); text-decoration: none; font-size: .82rem; font-weight: 700; line-height: 1.35;
    transition: border-color .15s ease, background-color .15s ease;
}
.invit-tuil > i:first-child{ font-size: 1.7rem; color: var(--bizzy-orange); }
.invit-tuil small{ font-weight: 500; font-size: .72rem; color: var(--bizzy-muted); }
.invit-tuil .invit-aksyon{ display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; color: var(--bizzy-text); text-decoration: underline; font-size: .76rem; }
.invit-tuil:hover, .invit-tuil:focus-visible{ border-color: var(--bizzy-orange); background-color: rgba(245,130,31,0.06); color: var(--bizzy-text); outline: none; }

/* ✅ 2026-10-16 — footè: ekriti pi gwo, konfyans peman, kontak, bouton vizitè anndan footè a */
.site-footer-col h4{font-size:.8rem;}
.site-footer-col a{font-size:.88rem;color:#B6BCC8;}
.ft-ti-ikon{font-size:.8em;margin-left:4px;color:#25D366;}
.site-footer-kontak{margin-top:12px;display:flex;flex-direction:column;gap:2px;}
.site-footer-kontak a{display:flex;align-items:center;gap:8px;min-height:36px;color:#fff;font-size:.88rem;font-weight:600;text-decoration:none;word-break:break-all;}
.site-footer-kontak a:hover{color:var(--bizzy-orange);}
.site-footer-konfyans{max-width:1280px;margin:0 auto 18px;padding:14px 16px;border-radius:12px;background:rgba(255,255,255,.06);text-align:left;}
.site-footer-konfyans-tit{color:#fff;font-weight:700;font-size:.9rem;display:flex;align-items:center;gap:8px;}
.site-footer-konfyans-tit i{color:#22C55E;}
.site-footer-konfyans p{color:#B6BCC8;font-size:.82rem;margin:6px 0 10px;line-height:1.45;}
.site-footer-peman{display:flex;align-items:center;flex-wrap:wrap;gap:8px;}
.site-footer-peman img{width:28px;height:28px;border-radius:7px;background:#fff;}
.site-footer-peman span{color:#fff;font-size:.8rem;font-weight:600;}
.site-footer-kach{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.1);}
.site-footer .bizzy-guest-cta-wrap.site-footer-cta{background:transparent;border:0;padding:0 0 18px;max-width:1280px;margin:0 auto;}
.site-footer .site-footer-cta .bizzy-guest-cta-btn{display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:8px 18px;font-size:.88rem;border-radius:10px;color:#fff;border:1.5px solid rgba(255,255,255,.35);background:transparent;}
.site-footer .site-footer-cta .bizzy-guest-cta-btn:first-child{background:var(--bizzy-orange);border-color:var(--bizzy-orange);}
.site-footer .site-footer-cta .bizzy-guest-cta-btn:hover{border-color:#fff;}
.site-footer-bottom p{font-size:.8rem;}
.site-footer-ayiti{color:#D1D5DB !important;font-weight:600;}
.site-footer-legal-links{font-size:.8rem;}
.ft-drapo{vertical-align:-1px;border-radius:2px;margin:0 2px;}
