/* ==========================================================
   VARIABLES
========================================================== */

:root{
    --orange:#ff6600;
    --orange-dark:#e85c00;
    --blue:#0066cc;
    --light:#f8f9fa;
    --dark:#212529;
    --success:#198754;
}

/* ==========================================================
   GENERAL
========================================================== */

body{
    background:var(--light);
    font-family:Arial, Helvetica, sans-serif;
    color:var(--dark);
}

a{
    text-decoration:none;
}

img{
    max-width:100%;
}

/* ==========================================================
   TOP BAR
========================================================== */

.top-bar{
    background:var(--blue);
    color:#fff;
    font-size:14px;
    padding:8px 0;
}

/* ==========================================================
   LOGO
========================================================== */

.logo-orange{
    color:var(--orange);
}

.logo-blue{
    color:var(--blue);
}

.navbar-brand{
    font-size:1.8rem;
    font-weight:700;
}

/* ==========================================================
   BUTTONS
========================================================== */

.btn-meassa{
    background:var(--orange);
    color:#fff;
    border:none;
    border-radius:8px;
    transition:0.3s;
}

.btn-meassa:hover{
    background:var(--orange-dark);
    color:#fff;
    transform:translateY(-2px);
}

/* ==========================================================
   SEARCH
========================================================== */

.search-box{
    border-radius:50px;
    overflow:hidden;
}

.search-box input{
    border:none;
}

.search-box button{
    border:none;
}

/* ==========================================================
   BANNER
========================================================== */

.banner-home{
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.banner-home img{
    width:100%;
    display:block;
}

/* ==========================================================
   HERO
========================================================== */

.hero-section{
    padding:50px 0;
    background:#fff;
}

.hero-section h1{
    margin-bottom:20px;
}

/* ==========================================================
   TITRES
========================================================== */

.section-title{
    position:relative;
    margin-bottom:30px;
    font-weight:700;
}

.section-title::after{
    content:'';
    width:60px;
    height:4px;
    background:var(--orange);
    position:absolute;
    bottom:-10px;
    left:0;
    border-radius:20px;
}

/* ==========================================================
   SERVICES
========================================================== */

.service-card{
    background:#fff;
    padding:30px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.05);
    transition:.3s;
    height:100%;
}

.service-card:hover{
    transform:translateY(-5px);
}

.service-card i{
    font-size:45px;
    color:var(--orange);
    margin-bottom:15px;
}

.service-card h5{
    font-weight:600;
}

/* ==========================================================
   PRODUITS
========================================================== */

.product-card{
    border:none;
    border-radius:12px;
    overflow:hidden;
    background:#fff;
    transition:.3s;
}

.product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 30px rgba(0,0,0,.12);
}

.product-card img{
    height:250px;
    object-fit:cover;
    transition:.3s;
}

.product-card:hover img{
    transform:scale(1.03);
}

/* ==========================================================
   BADGE PROMO
========================================================== */

.badge-promo{
    position:absolute;
    top:10px;
    right:10px;
    background:#dc3545;
    color:#fff;
    padding:5px 10px;
    border-radius:20px;
    font-size:12px;
    font-weight:600;
}

/* ==========================================================
   PRIX
========================================================== */

.prix-normal{
    text-decoration:line-through;
    color:#999;
    font-size:14px;
}

.prix-promo{
    color:var(--orange);
    font-size:24px;
    font-weight:700;
}

.prix-livraison{
    color:var(--success);
    font-size:13px;
}

/* ==========================================================
   PANIER
========================================================== */

.panier-total{
    background:#fff;
    padding:20px;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,.05);
}

/* ==========================================================
   SUIVI COMMANDE
========================================================== */

.tracking-container{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:20px;
    margin-top:30px;
}

.tracking-step{
    text-align:center;
    flex:1;
}

.tracking-circle{
    width:50px;
    height:50px;
    border-radius:50%;
    background:#dee2e6;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:auto;
    margin-bottom:10px;
    font-weight:bold;
}

.tracking-circle.active{
    background:#28a745;
}

/* ==========================================================
   TABLES
========================================================== */

.table{
    background:#fff;
}

.table thead{
    background:#f5f5f5;
}

/* ==========================================================
   FOOTER
========================================================== */

.footer{
    background:var(--blue);
    color:#fff;
    padding:50px 0 20px;
}

.footer h5{
    margin-bottom:20px;
    font-weight:600;
}

.footer a{
    color:#fff;
    text-decoration:none;
}

.footer a:hover{
    color:var(--orange);
}

.social-links a{
    font-size:22px;
    margin-right:15px;
}

.copyright{
    font-size:14px;
}

/* ==========================================================
   MOBILE
========================================================== */

@media(max-width:991px){

    .navbar form{
        width:100% !important;
        margin:15px 0;
    }

}

@media(max-width:768px){

    .product-card img{
        height:180px;
    }

    .prix-promo{
        font-size:20px;
    }

    .service-card{
        margin-bottom:20px;
    }

    .tracking-container{
        flex-direction:column;
    }

}


.flash-promo{

    background:#fff;

    padding:40px;

    min-height:320px;

    display:flex;

    align-items:center;

}

.flash-image{

    max-height:250px;

    object-fit:contain;

    animation: zoomFlash 4s infinite;

}

@keyframes zoomFlash{

    0%{
        transform:scale(0.95);
        opacity:0.8;
    }

    50%{
        transform:scale(1.05);
        opacity:1;
    }

    100%{
        transform:scale(0.95);
        opacity:0.8;
    }

}

.carousel-item{

    transition:opacity .8s ease-in-out;

}