/* =========================================================
   PRODUCT CARD - BASE
========================================================= */
.product-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* =========================================================
   IMAGE SECTION
========================================================= */
.product-image,
.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
}

.product-image img,
.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-image-wrapper i {
    font-size: 50px;
    color: #adb5bd;
}

/* =========================================================
   PRICE BADGE (IMAGE OVERLAY)
========================================================= */
.price-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 10px 14px;
    border-radius: 14px;
    min-width: 120px;
}

/* PRICE STRUCTURE */
.price-hero {
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-value {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.price-meta {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.price-meta .currency {
    font-size: 12px;
    opacity: 0.9;
}

.price-meta .unit {
    font-size: 10px;
    opacity: 0.7;
}

/* =========================================================
   PRICE TEXT COLORS
========================================================= */
.text-price {
    color: #198754 !important;
}

.text-price-unit {
    color: #828e98 !important;
}

/* =========================================================
   PROMO BADGE
========================================================= */
.promo-badge {
    margin-top: 6px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    display: inline-block;
}

/* =========================================================
   RATING SYSTEM
========================================================= */
.rating {
    font-size: 14px;
}

.rating-box {
   /* min-width: 90px;*/
    padding: 6px 10px;
    border-radius: 12px;
    background: rgba(13,110,253,0.06);
    border: 1px solid rgba(13,110,253,0.1);
}

.rating-box-mobile {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(13,110,253,0.05);
    border: 1px solid rgba(13,110,253,0.1);
}

.stars-line {
    color: #ffc107;
    font-size: 13px;
    display: flex;
    gap: 2px;
}

.rating-count {
    font-size: 11px;
    color: #6c757d;
}

.rating-box-mobile .stars-line {
    font-size: 14px;
    margin-bottom: 4px;
}

.rating-box-mobile .rating-count {
    font-size: 12px;
}

/* =========================================================
   LOGO ENTREPRISE
========================================================= */
.entreprise-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    padding: 4px;
    border: 1px solid #eee;
}

/* =========================================================
   BADGES
========================================================= */
.badge-verified {
    right: -10px;
    top: -9px;
}


/* =========================
   ACTIVITIES BADGES
========================= */
.activities-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}


/* =========================
   MOBILE SCROLL BADGES (AIRBNB STYLE)
========================= */
@media (max-width: 768px) {

    .activities-wrapper {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 5px 10px;
        gap: 10px;
        scrollbar-width: none;
    }

    .activities-wrapper::-webkit-scrollbar {
        display: none;
    }

    .activity-badge {
        flex: 0 0 auto;
    }

}
/* =========================================================
   MOBILE RESPONSIVE
========================================================= */
@media (max-width: 768px) {

    .product-image,
    .product-image-wrapper {
        height: 180px;
    }

    .product-card p {
        font-size: 13px;
        line-height: 1.5;

        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-card {
        box-shadow: 0 8px 25px rgba(0,0,0,.06);
    }

    h2 {
        font-size: 1.5rem;
    }

    .text-price {
        font-size: 30px !important;
    }

    .text-currency {
        font-size: 17px !important;
        color: #198754 !important;
    }

    .text-price-unit {
        font-size: 12px !important;
    }

    .text-decoration-line-through {
        font-size: 12px !important;
    }

    .badge.bg-danger {
        padding: 12px 18px !important;
        border-radius: 18px !important;
    }

    .badge.bg-danger .fs-5 {
        font-size: 18px !important;
    }

    .product-card .small {
        font-size: 14px !important;
    }

    .product-card .badge.bg-success {
        font-size: 11px;
        padding: 7px 10px;
    }

    .product-card .row.align-items-center {
        --bs-gutter-y: .5rem;
    }
}