/* ================================================
   PRODUCT CATEGORY SHOWCASE BAR - UPDATED 7 COLORS
   Grid on desktop, Auto-slide carousel on mobile
   ================================================ */

/* ===================================
   CONTAINER
   =================================== */
.product-showcase-bar {
    width: 100%;
    padding: 40px 20px;
    background: #f5f7fa;
    overflow: hidden;
}

.product-showcase-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* ===================================
   DESKTOP GRID (992px and above)
   =================================== */
@media (min-width: 992px) {
    .product-grid-row {
        display: grid;
        /* Auto-fit columns: usually 3, but wraps if you add more */
        grid-template-columns: repeat(3, 1fr); 
        gap: 20px;
    }
}

@media (min-width: 577px) and (max-width: 991px) {
    .product-grid-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ===================================
   MOBILE CAROUSEL (576px and below)
   =================================== */
@media (max-width: 576px) {
    .product-showcase-container {
        padding-bottom: 50px; /* Space for indicators */
    }
    
    .product-grid-row {
        display: flex;
        overflow-x: hidden;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 15px;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .product-category-card {
        flex: 0 0 calc(100% - 40px);
        scroll-snap-align: center;
        margin: 0 20px;
    }
    
    .product-grid-row::-webkit-scrollbar {
        display: none;
    }
    
    .product-grid-row {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

/* ===================================
   PRODUCT CARD BASE
   =================================== */
.product-category-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 25px;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 220px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.product-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* ===================================
   7 COLOR STYLES
   =================================== */

/* 1. PINK (Original) */
.product-category-card.pink-card { background: linear-gradient(135deg, #ffd6e8 0%, #ffe5f1 100%); }
.pink-card .product-card-price { color: #e91e63; }
.btn-pink { background: linear-gradient(135deg, #e91e63 0%, #f06292 100%); color: white; }
.btn-pink:hover { background: linear-gradient(135deg, #d81b60 0%, #ec407a 100%); }

/* 2. GRAY (Original) */
.product-category-card.gray-card { background: linear-gradient(135deg, #e8eaed 0%, #f0f2f5 100%); }
.gray-card .product-card-price { color: #2d3748; }
.btn-black { background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%); color: white; }
.btn-black:hover { background: linear-gradient(135deg, #1a202c 0%, #000000 100%); }

/* 3. WHITE/LIGHT (Original) */
.product-category-card.light-card { background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%); border: 1px solid #eee; }
.light-card .product-card-price { color: #dc2626; }
.btn-red { background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%); color: white; }
.btn-red:hover { background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%); }

/* 4. BLUE (New) */
.product-category-card.blue-card { background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%); }
.blue-card .product-card-price { color: #0284c7; }
.btn-blue { background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%); color: white; }
.btn-blue:hover { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); }

/* 5. GREEN (New) */
.product-category-card.green-card { background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%); }
.green-card .product-card-price { color: #16a34a; }
.btn-green { background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); color: white; }
.btn-green:hover { background: linear-gradient(135deg, #16a34a 0%, #15803d 100%); }

/* 6. PURPLE (New) */
.product-category-card.purple-card { background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%); }
.purple-card .product-card-price { color: #9333ea; }
.btn-purple { background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%); color: white; }
.btn-purple:hover { background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%); }

/* 7. YELLOW (New) */
.product-category-card.yellow-card { background: linear-gradient(135deg, #fef9c3 0%, #fef08a 100%); }
.yellow-card .product-card-price { color: #ca8a04; }
.btn-yellow { background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%); color: white; }
.btn-yellow:hover { background: linear-gradient(135deg, #ca8a04 0%, #a16207 100%); }


/* ===================================
   CARD CONTENT
   =================================== */
.product-card-content {
    flex: 1;
    z-index: 2;
    position: relative;
}

.product-card-category {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    text-transform: capitalize;
    font-family: 'Poppins', sans-serif;
}

.product-card-pricing {
    margin-bottom: 20px;
}

.product-card-from {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    display: block;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.product-card-price {
    font-size: 1.5rem;
    font-weight: 800;
    display: block;
    font-family: 'Poppins', sans-serif;
}

/* ===================================
   SHOP NOW BUTTON (Shared Base)
   =================================== */
.product-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.product-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.product-card-btn:active {
    transform: translateY(0);
}

/* ===================================
   PRODUCT IMAGE
   =================================== */
.product-card-image-wrapper {
    flex: 0 0 auto;
    max-width: 180px;
    max-height: 180px;
    position: relative;
    z-index: 1;
    margin-left: 20px;
}

.product-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s ease;
}

.product-category-card:hover .product-card-image {
    transform: scale(1.1); /* Slight zoom on hover */
}

@media (max-width: 768px) {
    .product-card-image-wrapper {
        max-width: 140px;
        max-height: 140px;
        margin-left: 15px;
    }
}

@media (max-width: 576px) {
    .product-category-card {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        min-height: auto;
    }
    
    .product-card-image-wrapper {
        margin-left: 0;
        margin-top: 15px;
        order: -1;
        max-width: 160px;
        max-height: 160px;
    }
    
    .product-card-content {
        width: 100%;
    }
}

/* ===================================
   MOBILE CAROUSEL INDICATORS
   =================================== */
.mobile-carousel-indicators {
    display: none;
}

@media (max-width: 576px) {
    .mobile-carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
        position: absolute;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .mobile-indicator {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.2);
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
        padding: 0;
    }
    
    .mobile-indicator.active {
        width: 30px;
        border-radius: 5px;
        background: #e91e63;
    }
}

/* ===================================
   MOBILE NAVIGATION ARROWS
   =================================== */
.mobile-nav-arrows {
    display: none;
}

@media (max-width: 576px) {
    .mobile-nav-arrows {
        display: block;
    }
    
    .mobile-nav-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.9);
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-nav-arrow.prev { left: 10px; }
    .mobile-nav-arrow.next { right: 10px; }
}