/* ==================================================
   EASY MARKET CI - STYLE GLOBAL
================================================== */

:root {
    --orange: #FA6502;
    --navy: #001E33;
    --green: #026503;
    --emerald: #098A27;
    --yellow: #F8C302; 
    --light-orange: #FFF3E8;
}

/* ==================================================
   HERO
================================================== */

.hero {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
}

.hero::after,
.circle {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,.12);
    border-radius: 50%;
}

/* ==================================================
   TITRES
================================================== */

.text-orange {
    color: var(--orange) !important;
}

.section-title,
.product-title {
    color: var(--navy);
    font-weight: 800;
}

.product-title {
    font-size: 2rem;
}

/* ==================================================
   CARTES
================================================== */

.category-card,
.product-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
    transition: .3s;
}

.category-card {
    height: 100%;
    box-shadow: 0 8px 20px rgba(0,0,0,.06);
}

.product-card {
    border-radius: 18px;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(250,101,2,.18);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
}

/* ==================================================
   PRODUITS
================================================== */

.product-card .card-body {
    padding: 10px;
}

.product-card h6 {
    color: var(--navy);
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.3;
    min-height: 38px;
    margin-bottom: 6px;
}

.product-card small {
    font-size: .78rem;
}

.product-card .btn {
    padding: .45rem .7rem;
    border-radius: 12px;
    font-size: .85rem;
}

.product-name {
    color: var(--navy);
}

.product-price {
    display: block;
    width: 100%;
    color: var(--orange);
    font-size: 0.9rem;
    font-weight: 800;
    text-align: center;
}

.product-detail-price {
    color: var(--orange);
    font-size: 2rem;
    font-weight: 900;
}
/* ==================================================
   IMAGES
================================================== */

.product-image {
    width: 100%;
    height: 170px;
    padding: 15px;
    background: #fff;
    object-fit: contain;
    transition: .3s;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* ==================================================
   PAGE DETAIL PRODUIT
================================================== */

.product-page {
    background: #f7f9fa;
}

.product-image-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 520px;
    padding: 30px;
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: .4s;
}

.product-image-box:hover .product-main-image {
    transform: scale(1.08);
}

/* ==================================================
   BADGES
================================================== */

.badge-market {
    display: inline-block;
    padding: 6px 12px;
    color: #fff;
    background: var(--orange); 
    border-radius: 20px;
    font-size: .7rem;
}

.category-badge {
    display: inline-block;
    padding: 8px 18px;
    color: var(--orange);
    background: var(--light-orange);
    border-radius: 30px;
    font-weight: 700;
}

/* ==================================================
   INFORMATIONS PRODUIT
================================================== */

.seller-box {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 15px;
}

.feature-box {
    padding: 15px;
    text-align: center;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,.05);
}

.feature-box i {
    color: var(--green);
    font-size: 30px;
}

/* ==================================================
   QUANTITE
================================================== */

.quantity-box button {
    width: 45px;
    height: 45px;
}

.quantity-box input {
    height: 45px;
}

/* ==================================================
   BOUTONS
================================================== */

.btn-success {
    background: var(--green) !important;
    border: none;
}

.btn-success:hover {
    background: var(--emerald) !important;
}

.btn-outline-success {
    color: var(--green);
    border-color: var(--green);
}

.btn-outline-success:hover {
    color: #fff;
    background: var(--green);
}

.btn-warning {
    color: #fff;
    background: var(--orange);
    border: none;
}

.btn-cart {
    padding: 15px;
    color: #fff;
    background: var(--green);
    border-radius: 15px;
    font-weight: 700;
}

.btn-cart:hover {
    color: #fff;
    background: var(--emerald);
}

/* ==================================================
   CATEGORIES
================================================== */

.category-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    padding: 0;
    background: #FFF7F1;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s;
}

.category-card:hover .category-image img {
    transform: scale(1.08);
}

.category-content {
    padding: 15px;
    text-align: center;
}

.category-content h6 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: .95rem;
    font-weight: 800;
}

.category-count {
    margin-bottom: 10px;
    color: #6c757d;
    font-size: .75rem;
}

.category-link {
    color: var(--orange);
    font-size: .8rem;
    font-weight: 700;
}

.category-link i {
    transition: .3s;
}

.category-card:hover .category-link i {
    margin-left: 5px;
}

.category-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90px;
    height: 90px;
    margin: auto;
    color: var(--orange);
    background: var(--light-orange);
    border-radius: 50%;
    transition: .3s;
}

.category-card:hover .category-icon {
    color: #fff;
    background: var(--orange);
    transform: scale(1.08);
}

/* ==================================================
   AVANTAGES
================================================== */

.advantages-section {
    padding: 20px;
    background: #FFF7F1;
    border-radius: 20px;
}

.advantage-card {
    padding: 15px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,.05);
    transition: .3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    color: var(--orange);
    background: var(--light-orange);
}

/* ==================================================
   SUGGESTIONS
================================================== */

#suggestions {
    overflow: hidden;
    background: #fff;
    border-radius: 15px;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    color: var(--navy);
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.suggestion-item:hover {
    background: var(--light-orange);
}

.suggestion-item strong {
    color: var(--navy);
    font-size: 15px;
    font-weight: 700;
}

.suggestion-item small {
    color: var(--green);
    font-weight: 600;
}

.suggestion-item img {
    border-radius: 10px;
    object-fit: cover;
}

/* ==================================================
   WHATSAPP
================================================== */

.whatsapp-float{

    position:fixed;
    width:60px;
    height:60px;
    bottom:25px;
    right:25px;
    background:#25D366;
    color:white;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    text-decoration:none;
    box-shadow:0 5px 15px rgba(0,0,0,0.3);
    z-index:999;
    transition:0.3s;

}


.whatsapp-float:hover{

    transform:scale(1.1);
    background:#20bd5a;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width:768px) {

    .product-image {
        height: 120px;
        padding: 8px;
    }

    .product-image-box {
        height: 320px;
    }

    .product-title,
    .product-price {
        font-size: 1.5rem;
    }

    .product-card h6 {
        font-size: .85rem;
    }
}
