body {
    margin: 0;
    background: #f6f8fb;
    font-family: Arial, Helvetica, sans-serif;
}

.ce-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}
.ce-header .row {
    min-height: 115px;
}
.ce-logo {
    width: 95px;
    height: auto;
    object-fit: contain;
}
.ce-logo-slogan{
    color:#003f9e;
    font-size:14px;
    font-weight:800;
    font-style:italic;
    margin-top:6px;
    letter-spacing:0.3px;
}

.ce-title {
    margin: 0;
    color: #12aee8;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

.ce-subtitle {
    letter-spacing: 5px;
    font-size: 13px;
    color: #111827;
    font-weight: 700;
}
.ce-search {
    display: flex;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.ce-search input {
    border: none;
    box-shadow: none;
    padding: 14px 18px;
}

.ce-search button {
    border: none;
    background: #0069d9;
    color: #fff;
    padding: 0 22px;
    font-size: 22px;
}

.ce-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111827;
    text-decoration: none;
    font-weight: 600;
}

.ce-cart i {
    font-size: 32px;
}

.ce-cart b {
    position: absolute;
    top: -12px;
    right: -14px;
    background: #0069d9;
    color: #fff;
    border-radius: 50%;
    padding: 3px 8px;
    font-size: 12px;
}

.ce-nav {
    background: linear-gradient(90deg, #004fd6, #007bff);
    z-index: 9999;
}

.ce-nav.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

#nav-placeholder {
    display: none;
}

.ce-nav-scroll {
    display: flex;
    align-items: center;
    gap: 22px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0 24px;
}

.ce-nav .container-fluid {
    display: flex;
    align-items: center;
    gap: 22px;
}

.ce-nav-item {
    color: #fff;
    text-decoration: none;
    padding: 16px 0;
    font-size: 15px;
    font-weight: 600;
    flex: 0 0 auto;
}

.ce-nav-item:hover {
    color: #dbeafe;
}
.produit-card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: 0.2s ease;
    background: #fff;
}

.produit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 64, 160, 0.12);
}

.produit-img-wrap {
    display: block;
    height: 190px;
    background: #f8fafc;
    padding: 12px;
}

.produit-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.produit-famille {
    font-size: 12px;
    color: #0d6efd;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.produit-title {
    font-size: 15px;
    font-weight: 700;
    min-height: 42px;
}

.produit-title a {
    color: #111827;
    text-decoration: none;
}

.produit-title a:hover {
    color: #0d6efd;
}

.produit-prix {
    color: #0d6efd;
    font-size: 18px;
    font-weight: 800;
}


.produit-stock {
  color: #000;
  font-size: 13px;
  margin-top: 4px;
  font-weight: 700;
}	
.hero-home {
    background: linear-gradient(120deg, #eaf4ff, #ffffff);
}

.hero-home h1 {
  color: #003f9e;
  font-weight: 800;
  font-size: 40px;
  padding: 12px;
}
.hero-home p {
    color: #4b5563;
    font-size: 18px;
    max-width: 650px;
}

.home-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    height: 100%;
    box-shadow: 0 8px 20px rgba(0, 64, 160, 0.08);
}

.home-card h4 {
    color: #0d6efd;
    font-weight: 800;
}
.boutique-head {
     display:flex;
    justify-content:space-between;
    align-items:end;
    gap:20px;
    flex-wrap:wrap
}

.boutique-head h2 {
    color: #003f9e;
    font-weight: 800;
}

.boutique-filtres {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr auto;
    gap: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 16px;
    border-radius: 16px;
}
.tri-form{
    min-width:260px;
}

.tri-form select{
    border-radius:12px;
}
.tri-label{
    display:block;
    margin-bottom:6px;
    font-size:14px;
    font-weight:700;
    color:#374151;
}

.detail-image-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.detail-image {
    width: 100%;
    max-height: 430px;
    object-fit: contain;
}

.detail-categorie {
    color: #0d6efd;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.detail-title {
    color: #111827;
    font-weight: 800;
    font-size: 34px;
    margin-bottom: 20px;
}

.detail-prix {
    color: #0d6efd;
    font-weight: 900;
    font-size: 30px;
    margin-bottom: 15px;
}

.detail-stock {
    color: #374151;
    font-size: 16px;
}

.detail-qte {
    max-width: 160px;
}
.detail-description{
    margin-top:25px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:24px;
    line-height:1.7;
    color:#374151;
}

.detail-description h3{
    color:#003f9e;
    font-weight:800;
    margin-bottom:18px;
}

.panier-table{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
}

.panier-produit{
    display:flex;
    align-items:center;
    gap:15px;
}

.panier-image{
    width:90px;
    height:90px;
    object-fit:contain;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:8px;
    background:#fff;
}

.panier-nom{
    font-weight:700;
    color:#111827;
}

.panier-stock{
    color:#6b7280;
    font-size:13px;
    margin-top:4px;
}

.panier-qte{
    width:90px;
}

.panier-total-box{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:24px;
}

.panier-total-ligne{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:22px;
}
.panier-mobile{
    display:none;
}

.ce-mobile-menu-btn{
    display:none;
}
.commande-title{
    color:#003f9e;
    font-weight:800;
    margin-bottom:25px;
}

.commande-banner{
    background:linear-gradient(135deg, #003f9e, #0d6efd);
    color:#fff;
    padding:32px 0;
    margin-bottom:35px;
}

.commande-banner h2{
    font-weight:800;
    margin-bottom:6px;
}

.commande-banner p{
    margin:0;
    opacity:.9;
}

.commande-box{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:24px;
    height:100%;
    box-shadow:0 4px 16px rgba(0,63,158,0.05);
}

.commande-box h4{
    color:#003f9e;
    font-weight:800;
    display:flex;
    align-items:center;
    margin-bottom:6px;
}

.commande-resume-box{
    position:sticky;
    top:20px;
}

.commande-produit{
    display:flex;
    gap:14px;
    padding:14px 0;
    border-bottom:1px solid #eef2f7;
}

.commande-image{
    width:75px;
    height:75px;
    object-fit:contain;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:6px;
    background:#fff;
}

.commande-nom{
    font-weight:700;
    color:#111827;
}

.commande-qte{
    color:#6b7280;
    font-size:13px;
    margin-top:4px;
}

.commande-prix{
    color:#0d6efd;
    font-weight:800;
    margin-top:5px;
}

.commande-total{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:17px;
    padding:6px 0;
}

.commande-total-final{
    margin-top:10px;
    padding-top:16px;
    border-top:2px solid #eef2f7;
    font-size:20px;
}

.commande-total-final strong{
    color:#003f9e;
}

.frais-a-discuter{
    color:#dc3545;
    font-size:14px;
    background:#fdecea;
    padding:4px 12px;
    border-radius:20px;
    text-transform:uppercase;
    letter-spacing:.3px;
}

.panier-qte-mobile{
    display:none;
}
.commande-success-box{
    max-width:720px;
    margin:0 auto;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:22px;
    padding:35px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,64,160,0.10);
}

.success-icon{
    width:76px;
    height:76px;
    border-radius:50%;
    background:#0d6efd;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:42px;
    font-weight:900;
    margin:0 auto 20px;
}

.commande-success-box h2{
    color:#003f9e;
    font-weight:900;
}

.success-details{
    margin-top:25px;
    text-align:left;
    border-top:1px solid #eef2f7;
}

.success-details div{
    display:flex;
    justify-content:space-between;
    gap:15px;
    padding:14px 0;
    border-bottom:1px solid #eef2f7;
}

.success-details span{
    color:#6b7280;
}

.success-details strong{
    color:#111827;
    text-align:right;
}
.ce-footer{
    background:linear-gradient(135deg,#003f9e,#001f4d);
    color:#cbd5e1;
    margin-top:60px;
    padding-top:50px;
	border-top:4px solid #0d6efd;
}

.footer-logo img{
    height:60px;
    margin-bottom:18px;
}

.footer-text{
    line-height:1.8;
    color:#fff;
}

.footer-title{
    color:#fff;
    font-weight:800;
    margin-bottom:18px;
}

.footer-links{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-links li{
    margin-bottom:12px;
}

.footer-links a{
    color:#fff;
    text-decoration:none;
    transition:0.3s;
}

.footer-links a:hover{
    color:#60a5fa;
}

.footer-contact{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.footer-whatsapp a{
    display:inline-block;
    margin-top:8px;
    background:#25D366;
    color:#fff;
    text-decoration:none;
    padding:10px 18px;
    border-radius:10px;
    font-weight:700;
}

.footer-bottom{
    margin-top:40px;
    border-top:1px solid rgba(255,255,255,0.08);
    text-align:center;
    padding:20px 0;
    font-size:14px;
    color:#fff;
}

.page-info-box{
    max-width:1000px;
    margin:0 auto;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:22px;
    padding:35px;
    line-height:1.8;
}

.page-info-box h1{
    color:#003f9e;
    font-weight:900;
    margin-bottom:20px;
}

.page-info-box h3{
    color:#0d6efd;
    font-weight:800;
    margin-top:28px;
}
.footer-slogan{
    color:#fff;
    font-weight:800;
    font-style:italic;
    margin-top:12px;
}
.home-slider{
    position:relative;
    min-height:420px;
    overflow:hidden;
    background:#003f9e;
}

.slide{
    display:none;
    min-height:420px;
    align-items:center;
    background:linear-gradient(135deg,#003f9e,#0d6efd);
    color:#fff;
    padding:50px 8%;
}

.slide.active{
    display:flex;
}

.slide:nth-child(2){
    background:linear-gradient(135deg,#001f4d,#007bff);
}

.slide:nth-child(3){
    background:linear-gradient(135deg,#002b70,#12aee8);
}

.slide-content{
    max-width:720px;
}

.slide-content h1{
    font-size:46px;
    font-weight:900;
    margin-bottom:18px;
}

.slide-content p{
    font-size:20px;
    margin-bottom:28px;
    line-height:1.6;
}

.slider-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:45px;
    height:45px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,0.25);
    color:white;
    font-size:34px;
    line-height:1;
    cursor:pointer;
}

.slider-btn:hover{
    background:rgba(255,255,255,0.4);
}

.slider-btn.prev{
    left:20px;
}

.slider-btn.next{
    right:20px;
}

.slider-dots{
    position:absolute;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:10px;
}

.dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:rgba(255,255,255,0.5);
    cursor:pointer;
}

.dot.active{
    background:white;
}

.badge-stock{
    display:inline-block;
    margin-left:6px;
    padding:3px 8px;
    border-radius:20px;
    font-size:11px;
    font-weight:600;
}

.badge-success{
    background:#dcfce7;
    color:#166534;
}

.badge-warning{
    background:#fef3c7;
    color:#92400e;
}

.badge-danger{
    background:#fee2e2;
    color:#991b1b;
}

.badge-secondary{
    background:#e5e7eb;
    color:#374151;
}

/* ── PAGINATION (pastilles, même style que l'admin) ────────── */
.pager-pills {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:8px;
    padding:14px;
    margin-top:24px;
}
.pager-btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:36px;
    height:36px;
    padding:0 12px;
    border-radius:999px;
    background:#fff;
    border:1px solid #dbe2ea;
    color:#1a56db;
    font-weight:700;
    font-size:13px;
    text-decoration:none;
    box-shadow:0 1px 2px rgba(16,24,40,.04);
}
.pager-btn:hover:not(.disabled):not(.active) { background:#eef2ff; border-color:#c7d2fe; }
.pager-btn.active { background:#1a56db; border-color:#1a56db; color:#fff; }
.pager-btn.disabled { color:#c2c8d1; pointer-events:none; }

/* ── NOUVEAUX PRODUITS ─────────────────────────────────────── */
.ce-nav-new {
    background: rgba(255, 210, 0, 0.18);
    border-radius: 8px;
    padding: 6px 14px !important;
    color: #ffe066 !important;
    font-weight: 800 !important;
}

.ce-nav-new:hover {
    background: rgba(255, 210, 0, 0.30);
    color: #fff !important;
}

.badge-new-ribbon {
    position: absolute;
    top: 12px;
    left: -2px;
    background: linear-gradient(90deg, #ff4d00, #ff6b35);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px 4px 8px;
    border-radius: 0 12px 12px 0;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 2px 2px 6px rgba(255,77,0,0.25);
}

.badge-new-label {
    display: inline-block;
    background: linear-gradient(90deg, #ff4d00, #ff6b35);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

.section-np-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.section-np-title {
    color: #003f9e;
    font-weight: 800;
    margin-bottom: 4px;
}

/* ── FIN NOUVEAUX PRODUITS ──────────────────────────────────── */
.whatsapp-float{
    position:fixed;
    right:22px;
    bottom:22px;
    width:58px;
    height:58px;
    border-radius:50%;
    background:#25D366;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    text-decoration:none;
    z-index:9999;
    box-shadow:0 8px 25px rgba(0,0,0,0.25);
}

.whatsapp-float:hover{
    color:#fff;
    transform:scale(1.05);
}
@media(max-width:768px){
    .home-slider,
    .slide{
        min-height:360px;
    }

    .slide{
        padding:40px 25px;
        text-align:center;
        justify-content:center;
    }

    .slide-content h1{
        font-size:30px;
    }

    .slide-content p{
        font-size:16px;
    }

    .slider-btn{
        display:none;
    }

     .ce-logo-slogan{
        font-size:12px;
    }
	.page-info-box{
        padding:22px;
    }

    .ce-footer{
        text-align:center;
    }

    .footer-contact{
        align-items:center;
    }


    .commande-success-box{
        padding:22px;
    }

    .success-details div{
        flex-direction:column;
        gap:4px;
    }

    .success-details strong{
        text-align:left;
    }

    .table-responsive{
        display:none;
    }

    .panier-qte-desktop{
        display:none;
    }

    .panier-qte-mobile{
        display:block;
    }

    .commande-box{
        padding:18px;
    }

    .commande-resume-box{
        position:static;
    }

    .commande-banner{
        padding:22px 0;
    }

    .commande-total{
        font-size:18px;
    }

    .ce-mobile-menu-btn{
        display:block;
        width:100%;
        background:#0069d9;
        color:white;
        border:none;
        padding:14px;
        font-size:17px;
        font-weight:800;
    }

    .ce-nav-scroll{
        display:none;
        flex-direction:column;
        align-items:stretch;
        gap:0;
        padding:0;
    }

    .ce-nav-scroll.active{
        display:flex;
    }

    .ce-nav-item{
        padding:14px 20px;
        border-top:1px solid rgba(255,255,255,0.2);
    }

    .table-responsive{
        display:none;
    }

    .panier-mobile{
        display:block;
    }

    .panier-mobile-card{
        background:#fff;
        border:1px solid #e5e7eb;
        border-radius:18px;
        padding:15px;
        margin-bottom:15px;
    }

    .panier-mobile-top{
        display:flex;
        gap:15px;
        margin-bottom:15px;
    }

    .panier-mobile-image{
        width:85px;
        height:85px;
        object-fit:contain;
        border:1px solid #eee;
        border-radius:12px;
        padding:6px;
        background:#fff;
    }

    .panier-mobile-title{
        font-weight:700;
        font-size:16px;
        color:#111827;
    }

    .panier-mobile-stock{
        color:#6b7280;
        margin-top:5px;
        font-size:13px;
    }

    .panier-mobile-info{
        display:flex;
        justify-content:space-between;
        margin-bottom:15px;
    }

    .panier-mobile-info small{
        display:block;
        color:#6b7280;
        margin-bottom:4px;
    }

    .panier-mobile-actions{
        display:flex;
        gap:12px;
        align-items:center;
    }

    .panier-mobile-actions .panier-qte{
        width:120px;
    }

    .panier-image{
        width:65px;
        height:65px;
    }

    .panier-total-ligne{
        font-size:18px;
    }

    .detail-title {
        font-size: 24px;
    }

    .detail-prix {
        font-size: 24px;
    }

    .boutique-filtres {
        grid-template-columns: 1fr;
    }

    .ce-title {
        font-size: 22px;
    }

    .ce-subtitle {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .ce-search {
        margin-top: 10px;
    }

    .ce-cart span {
        display: none;
    }

    .ce-nav {
        overflow-x: auto;
    }
    .produit-img-wrap {
        height: 140px;
    }

    .produit-title {
        font-size: 13px;
    }

    .produit-prix {
        font-size: 15px;
    }
    .hero-home h1 {
        font-size: 28px;
    }

    .hero-home p {
        font-size: 15px;
    }
}
/* ===== Promotions ===== */
.badge-promo-ribbon {
    position: absolute;
    top: 12px;
    right: -2px;
    background: linear-gradient(90deg, #d90429, #ef233c);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 8px 4px 12px;
    border-radius: 12px 0 0 12px;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: -2px 2px 6px rgba(217,4,41,0.25);
}

.prix-promo {
    color: #d90429;
    white-space: nowrap;
}

.prix-barre {
    color: #6b7280;
    font-size: 0.75em;
    font-weight: 600;
    text-decoration: line-through;
    white-space: nowrap;
}

.detail-image-box {
    position: relative;
}

.badge-promo-label {
    background: linear-gradient(90deg, #d90429, #ef233c);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    vertical-align: middle;
}

.ce-nav-promo {
    background: rgba(217, 4, 41, 0.18);
    color: #fff !important;
}
.ce-nav-promo:hover {
    background: rgba(217, 4, 41, 0.35);
}

/* ── Confirmation et suivi de commande ───────────────── */
.success-total strong { color:#f97316; font-size:1.25rem; }
.success-actions { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.suivi-etapes { display:flex; justify-content:space-between; gap:8px; position:relative; }
.suivi-etape { flex:1; display:flex; flex-direction:column; align-items:center; gap:6px; font-size:13px; font-weight:700; color:#9ca3af; text-align:center; }
.suivi-etape.fait { color:#16a34a; }
.suivi-pastille { width:34px; height:34px; border-radius:50%; background:#e5e7eb; color:#6b7280; display:flex; align-items:center; justify-content:center; font-weight:800; }
.suivi-etape.fait .suivi-pastille { background:#16a34a; color:#fff; }

/* Galerie de photos de la page produit : défilement tactile, flèches et miniatures */
.galerie { position: relative; }
.galerie-piste {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.galerie-piste::-webkit-scrollbar { display: none; }
.galerie-vue {
    flex: 0 0 100%;
    scroll-snap-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.galerie-fleche {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.55);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.galerie-fleche:hover { background: rgba(17, 24, 39, 0.8); }
.galerie-prec { left: 0; }
.galerie-suiv { right: 0; }
.galerie-compteur {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(17, 24, 39, 0.6);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 12px;
}
.galerie-miniatures {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.galerie-mini {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    padding: 2px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
}
.galerie-mini img { width: 100%; height: 100%; object-fit: contain; }
.galerie-mini.actif { border-color: #0d6efd; }
@media (max-width: 575px) {
    .galerie-fleche { display: none; }
}
.galerie-video { background: #000; border-radius: 12px; max-height: 430px; }
.galerie-mini { position: relative; }
.galerie-mini-video img { opacity: .55; }
.galerie-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    text-shadow: 0 0 6px rgba(0, 0, 0, .8);
}

/* Accueil facon application : categories, bandeau promo, barre du bas */
.home-cats { position: relative; display: flex; align-items: center; background: #f0f2f5; padding: 10px 0; }
.home-cats-piste { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 8px; flex: 1; }
.home-cats-piste::-webkit-scrollbar { display: none; }
.home-cat { flex: 0 0 140px; scroll-snap-align: start; text-decoration: none; background: #29a9e1; border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.home-cat-img { display: flex; align-items: center; justify-content: center; height: 120px; padding: 8px; }
.home-cat-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.home-cat-nom { background: #e02020; color: #fff; font-weight: 800; font-size: 13px; text-align: center; text-transform: uppercase; padding: 6px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-cats-fleche { flex: 0 0 auto; border: 0; background: transparent; font-size: 26px; color: #111; padding: 0 6px; }
.home-promo-bande { display: block; background: #0a0a8c; color: #fff; overflow: hidden; white-space: nowrap; text-decoration: none; padding: 10px 0; font-size: 22px; }
.home-promo-bande b { font-weight: 900; letter-spacing: .5px; margin: 0 6px; }
.home-promo-bande em { font-style: normal; font-weight: 900; color: #ff3b30; margin: 0 6px; }
.home-promo-defile { display: inline-block; padding-left: 100%; animation: homePromo 18s linear infinite; }
@keyframes homePromo { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .home-promo-defile { animation: none; padding-left: 8px; } }

.tabbar { display: none; }
@media (max-width: 768px) {
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
    .tabbar {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1900;
        justify-content: space-around; align-items: flex-end;
        background: #fff; border-top: 1px solid #e5e7eb; box-shadow: 0 -2px 10px rgba(0,0,0,.08);
        padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
    }
    .tabbar a { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: #6b7280; font-size: 11px; font-weight: 600; }
    .tabbar a i { font-size: 22px; }
    .tabbar a.actif { color: #0d6efd; }
    .tabbar .tabbar-accueil i { width: 52px; height: 52px; margin-top: -22px; border-radius: 50%; background: #29a9e1; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 3px 10px rgba(41,169,225,.5); border: 4px solid #fff; }
    .tabbar .tabbar-accueil.actif i { background: #0d6efd; }
    .tabbar-badge { position: absolute; top: -4px; left: calc(50% + 6px); min-width: 18px; padding: 0 4px; border-radius: 9px; background: #e02020; color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 700; }
    .tabbar-badge:empty, .tabbar-badge[data-n="0"] { display: none; }
    #pushBanniere { bottom: calc(80px + env(safe-area-inset-bottom)) !important; }
    #capIos { bottom: calc(66px + env(safe-area-inset-bottom)) !important; }
}
@media (max-width: 768px) {
    .whatsapp-float { bottom: calc(84px + env(safe-area-inset-bottom)); right: 14px; width: 50px; height: 50px; font-size: 28px; }
}
@media (max-width: 768px) {
    /* Chrome Android : evite que la barre du bas soit rognee quand la barre d'adresse se masque au defilement */
    .tabbar { transform: translateZ(0); min-height: 64px; }
    .tabbar a span { display: block; line-height: 1.2; white-space: nowrap; }
}

/* En-tete compact facon application */
@media (max-width: 768px) {
    .ce-header .container-fluid { padding: 8px 12px !important; }
    .ce-header .row { --bs-gutter-y: .5rem; }
    .ce-logo { width: 52px; }
    .ce-marque { margin-left: 8px; }
    .ce-title { font-size: 19px; }
    .ce-subtitle { font-size: 10px; letter-spacing: 1px; }
    .ce-logo-slogan { display: none; }
    .ce-search { margin-top: 0; }
    .hero-home h1 { font-size: 22px; padding: 6px 0; }
}

/* Bannieres de l'accueil gerees depuis l'admin : l'image entiere, sans bande vide ni repetition */
.home-slider.home-slider-img { min-height: 0; background: #003f9e; max-width: 1300px; margin: 12px auto; border-radius: 12px; }
@media (max-width: 1300px) { .home-slider.home-slider-img { margin: 0 auto; border-radius: 0; } }
.home-slider .slide.slide-image {
    min-height: 0;
    aspect-ratio: 12 / 5;
    width: 100%;
    max-height: 540px;
    padding: 0 6%;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.slide-image .slide-content { text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.slide-lien { position: absolute; inset: 0; z-index: 1; }
.home-slider-img .slider-dots { bottom: 8px; gap: 8px; }
@media (max-width: 768px) {
    .slide-image .slide-content h1 { font-size: 20px; margin-bottom: 6px; }
    .slide-image .slide-content p { font-size: 12px; margin-bottom: 6px; }
    .home-slider-img .slider-dots { bottom: 4px; }
}

/* ===== Habillage application (maquette mobile) : en-tete bleu, accueil en feuille arrondie, barre du bas flottante ===== */
.ce-burger { display: none; }
.home-raccourcis { display: none; }
@media (max-width: 768px) {
    body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }

    /* En-tete bleu : menu, logo, panier, recherche en pilule */
    .ce-header { background: linear-gradient(165deg, #1f6fd6 0%, #2fa3ea 100%); border-bottom: 0; padding-bottom: 22px; }
    .ce-header .row { min-height: 0; }
    .ce-burger { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; height: 40px; margin-right: 6px; border: 0; background: transparent; color: #fff; font-size: 34px; padding: 0; border-radius: 8px; }
    .ce-title { color: #fff; font-size: 17px; }
    .ce-subtitle { color: #fff; letter-spacing: .5px; font-size: 12px; }
    .ce-logo { width: 46px; }
    .ce-cart { color: #fff; }
    .ce-cart i { font-size: 28px; }
    .ce-cart span { display: none; }
    .ce-cart b { background: #e02020; top: -8px; right: -8px; }
    .ce-search { border: 4px solid #fff; border-radius: 999px; background: #fff; }
    .ce-search input { background: #eceff3; border-radius: 999px 0 0 999px; padding: 9px 16px; font-size: 15px; }
    .ce-search button { background: #fff; color: #111; padding: 0 14px; font-size: 20px; }
    .ce-mobile-menu-btn { display: none; }
    .ce-nav-scroll.active { background: #0b57c9; }

    /* Accueil : feuille blanche arrondie qui chevauche l'en-tete ; ordre bannieres > categories > raccourcis > promo */
    .home-flux { display: flex; flex-direction: column; background: #fff; border-radius: 26px 26px 0 0; margin-top: -16px; position: relative; padding: 12px 0 8px; }
    .home-flux .home-slider { order: 1; }
    .home-flux .home-cats { order: 2; }
    .home-flux .home-raccourcis { order: 3; }
    .home-flux .home-promo-bande { order: 4; }
    .home-flux .hero-home { order: 5; }
    .hero-home { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; margin: 0; }
    .home-flux .home-slider.home-slider-img { margin: 0 10px 10px; border-radius: 22px; overflow: hidden; width: auto; }

    /* Carrousel de categories : 3 cartes visibles, fleches en barres bleues */
    .home-cats { background: transparent; padding: 0; margin: 4px 0 6px; align-items: stretch; }
    .home-cats-piste { gap: 5px; padding: 0; }
    .home-cat { flex: 0 0 calc((100% - 10px) / 3); border-radius: 0; }
    .home-cat-img { height: 76px; padding: 4px; }
    .home-cat-nom { font-size: 11px; padding: 4px 2px; }
    .home-cats-fleche { background: #2a74d6; color: #fff; width: 30px; padding: 0; font-size: 22px; margin: 0; border-radius: 0; }

    /* Raccourcis ronds */
    .home-raccourcis { display: flex; justify-content: space-around; padding: 14px 6px 10px; }
    .home-raccourcis a { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 30%; text-align: center; text-decoration: none; color: #111; font-size: 13px; line-height: 1.2; }
    .home-rac-rond { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #2a7ae0; color: #fff; font-size: 26px; }

    /* Barre du bas flottante en pilule */
    .tabbar { left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); border: 1px solid #1f2937; border-radius: 999px; align-items: center; padding: 8px 6px; min-height: 0; box-shadow: 0 4px 16px rgba(0, 0, 0, .12); }
    .tabbar a { font-size: 11px; }
    .tabbar a i { font-size: 22px; }
    .tabbar a.actif { color: #2a74d6; }
    .tabbar-badge { top: -6px; }
    #pushBanniere { bottom: calc(96px + env(safe-area-inset-bottom)) !important; }
    #capIos { bottom: calc(84px + env(safe-area-inset-bottom)) !important; }
    .whatsapp-float { bottom: calc(100px + env(safe-area-inset-bottom)); }
}

/* Pied de page compact sur mobile : liens en 2 colonnes, textes plus petits */
@media (max-width: 768px) {
    .ce-footer { margin-top: 24px; padding-top: 24px; text-align: left; }
    .ce-footer .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; --bs-gutter-x: 0; --bs-gutter-y: 0; }
    .ce-footer .row > * { width: auto; max-width: none; padding: 0; margin: 0; }
    .ce-footer .row > :first-child, .ce-footer .row > :last-child { grid-column: 1 / -1; text-align: center; }
    .footer-logo img { height: 44px; margin-bottom: 8px; }
    .footer-text { font-size: 13px; line-height: 1.5; margin-bottom: 6px; }
    .footer-slogan { font-size: 14px; margin-top: 6px; }
    .footer-title { font-size: 16px; margin-bottom: 10px; }
    .footer-links li { margin-bottom: 8px; }
    .footer-links a { font-size: 13px; }
    .footer-contact { align-items: center; gap: 6px; font-size: 13px; }
    .footer-bottom { margin-top: 20px; padding: 14px 8px; font-size: 12px; }
}

/* Page Categories (liste facon application) */
.cat-liste-page { max-width: 640px; margin: 0 auto; padding: 14px 14px 24px; }
.cat-liste-titre { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cat-liste-titre h2 { margin: 0; font-size: 22px; font-weight: 800; color: #111; }
.cat-liste-retour { color: #111; font-size: 28px; line-height: 1; text-decoration: none; }
.cat-liste { display: flex; flex-direction: column; gap: 10px; }
.cat-liste-item { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 22px; padding: 8px 16px 8px 10px; text-decoration: none; color: #111; box-shadow: 0 1px 4px rgba(0, 0, 0, .06); }
.cat-liste-img { flex: 0 0 76px; height: 64px; display: flex; align-items: center; justify-content: center; color: #2a74d6; font-size: 34px; }
.cat-liste-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cat-liste-nom { flex: 1; font-size: 16px; font-weight: 800; line-height: 1.2; }
.cat-liste-fleche { color: #9ca3af; font-size: 22px; }
@media (max-width: 768px) { body:has(.cat-liste-page) { background: #ececec; } }

/* Panier facon application (maquette mobile) */
@media (max-width: 768px) {
    body:has(.panier-page) { background: #ececec; }
    .panier-page { padding-top: 14px !important; padding-bottom: 10px !important; }
    .panier-page > div:first-child { flex-wrap: nowrap !important; margin-bottom: 12px !important; }
    .panier-entete-titre { display: flex; align-items: center; gap: 12px; }
    .panier-entete-titre p { display: none; }
    .panier-entete-titre h2 { font-size: 21px; font-weight: 800; margin: 0 !important; }
    .panier-retour { color: #111; font-size: 28px; line-height: 1; text-decoration: none; }
    .panier-page > div:first-child > a.btn { border: 0; background: none; color: #1e6fbf; font-weight: 700; padding: 0; font-size: 15px; }
    .panier-mobile-card { display: flex; align-items: center; gap: 14px; border: 0; border-radius: 22px; padding: 12px 14px; margin-bottom: 12px; }
    .panier-mobile-image { flex: 0 0 76px; width: 76px; height: 84px; border: 0; padding: 0; }
    .panier-mobile-corps { flex: 1; min-width: 0; }
    .panier-mobile-title { font-size: 15px; font-weight: 600; line-height: 1.25; }
    .panier-mobile-prix { color: #1e6fbf; font-weight: 800; font-size: 19px; margin: 2px 0 6px; white-space: nowrap; }
    .panier-mobile-ctrl { display: flex; align-items: center; gap: 12px; }
    .panier-stepper { display: inline-flex; align-items: center; background: #ececec; border-radius: 999px; padding: 2px 4px; }
    .panier-stepper button { border: 0; background: none; width: 30px; height: 30px; font-size: 20px; font-weight: 700; line-height: 1; padding: 0; color: #111; }
    .panier-stepper input { width: 34px; border: 0; background: none; text-align: center; font-weight: 700; font-size: 16px; padding: 0; -moz-appearance: textfield; }
    .panier-stepper input::-webkit-outer-spin-button, .panier-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
    .panier-mobile-suppr { color: #1e6fbf; font-size: 22px; text-decoration: none; }
    .panier-total-box { border: 0; border-radius: 22px; padding: 18px 20px; background: #f7f7f7; }
    .panier-total-ligne { font-size: 17px; }
    .panier-total-ligne strong { color: #1e6fbf; font-size: 20px; }
    .panier-livraison-ligne { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; font-size: 15px; }
    .panier-livraison-ligne em { font-style: normal; color: #6b7280; font-size: 12px; text-align: right; }
    .panier-total-box .btn-lg { border-radius: 999px; background: #1e6fbf; border-color: #1e6fbf; font-weight: 800; padding: 12px; font-size: 18px; }
}

/* Ecran de commande / paiement : cartes de moyens de paiement */
.pay-option { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 22px; padding: 10px 16px; margin-top: 10px; cursor: pointer; }
.pay-option:has(input:checked) { border-color: #1e6fbf; box-shadow: 0 0 0 1px #1e6fbf inset; }
.pay-option input { width: 22px; height: 22px; accent-color: #1e6fbf; flex: 0 0 auto; margin: 0; }
.pay-logo { flex: 0 0 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: 8px; overflow: hidden; color: #fff; font-size: 34px; }
.pay-logo img { width: 100%; height: 100%; object-fit: contain; }
.pay-logo-orange { background: #ff7900; }
.pay-logo-moov { background: #0a5aa8; font-size: 15px; }
.pay-logo-moov b { letter-spacing: 1px; }
.pay-logo-livraison { background: transparent; color: #1e6fbf; }
.pay-nom { font-size: 17px; font-weight: 700; }
.pay-note { margin: 12px 4px 0; font-size: 13px; color: #6b7280; }
@media (max-width: 768px) {
    body:has(.pay-box) { background: #ececec; }
    .commande-banner { padding: 14px 0; }
    .commande-banner h2 { font-size: 20px; margin: 0; }
    .commande-banner p { display: none; }
    .commande-box { border: 0; border-radius: 22px; }
    .commande-resume-box .commande-produit, .commande-resume-box hr { display: none; }
    .commande-resume-box { background: #f7f7f7; }
    #btnValidationCommande { border-radius: 999px; background: #1e6fbf; border-color: #1e6fbf; font-weight: 800; padding: 12px; font-size: 18px; }
}
.commande-box.pay-box { height: auto; }
.commande-box:not(.pay-box):not(.commande-resume-box) { height: auto; }
.pay-logo-ecobank { background: #0b5f8a; font-size: 30px; }
.pay-logo-especes { background: #16a34a; font-size: 32px; }

/* Bureau : carrousel des categories centre, menu qui passe a la ligne au lieu de deborder */
.home-cat:first-child { margin-left: auto; }
.home-cat:last-child { margin-right: auto; }
@media (min-width: 769px) {
    .ce-nav-scroll { flex-wrap: wrap; justify-content: center; gap: 0 16px; overflow-x: visible; padding: 0 16px; }
    .ce-nav-item { padding: 12px 0; font-size: 13px; }
}

/* Menu : familles regroupees dans un menu deroulant "Categories" sur ordinateur ; liste a plat sur mobile */
.ce-nav-drop { display: none; }
@media (min-width: 769px) {
    .ce-nav-scroll { flex-wrap: nowrap; justify-content: center; }
    .ce-nav-fam { display: none; }
    .ce-nav-drop { display: block; position: relative; flex: 0 0 auto; }
    .ce-nav-drop-btn { background: rgba(255, 255, 255, .18); border: 0; border-radius: 6px; padding: 6px 12px; margin: 6px 0; font-family: inherit; cursor: pointer; }
    .ce-nav-drop-btn i { font-size: 12px; margin-left: 4px; }
    .ce-nav-drop-liste { display: none; position: absolute; left: 0; top: 100%; min-width: 260px; background: #fff; border-radius: 0 0 10px 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); padding: 6px 0; z-index: 10000; text-align: left; }
    .ce-nav-drop:hover .ce-nav-drop-liste, .ce-nav-drop:focus-within .ce-nav-drop-liste, .ce-nav-drop.ouvert .ce-nav-drop-liste { display: block; }
    .ce-nav-drop-liste a { display: block; padding: 9px 18px; color: #111827; text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
    .ce-nav-drop-liste a:hover { background: #e6f1fb; color: #0a5fd8; }
}
@media (max-width: 768px) { .ce-nav-drop { display: none !important; } }
