/* ============ SHOP BY CATEGORY SECTION ============ */
.shop-category-section {
    padding: 70px 40px;
    background: #fff;
}

.shop-category-container {
    max-width: 1400px;
    margin: 0 auto;
}

.shop-category-heading {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 50px;
}

/* ============ GRID LAYOUT (Desktop/Tablet) ============ */
.shop-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 25px;
}

/* ============ CATEGORY CARD ============ */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-6px);
}

/* Circular Image Background */
.category-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

.category-card:hover .category-image-wrapper {
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.category-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 10px rgba(0,0,0,0.08));
}

/* Category Name + Arrow */
.category-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #1a1a1a;
}

.category-name i {
    font-size: 14px;
    color: #1a1a1a;
    transition: transform 0.3s ease;
}

.category-card:hover .category-name i {
    transform: translateX(4px);
}

/* ==========================================================
   RESPONSIVE DESIGN
   ========================================================== */

/* ---------- Tablet ---------- */
@media (max-width: 992px) and (min-width: 769px) {
    .shop-category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px 20px;
    }

    .shop-category-heading {
        font-size: 30px;
        margin-bottom: 40px;
    }

    .category-name {
        font-size: 17px;
    }
}

/* ==========================================================
   MOBILE - HORIZONTAL SWIPEABLE CAROUSEL
   ========================================================== */

@media (max-width: 768px) {

    .shop-category-section {
        padding: 40px 0; /* left-right padding hata di, scroll ke liye full width chahiye */
    }

    .shop-category-heading {
        font-size: 28px;
        margin-bottom: 35px;
        padding: 0 20px;
    }

    /* Grid ko horizontal scroll container mein convert karna */
    .shop-category-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0;
        padding: 0 20px 15px 20px;

        /* Scrollbar ko chupana */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .shop-category-grid::-webkit-scrollbar {
        display: none;
    }

    /* Har card ka width fix karna taake agli card ka peek dikhe */
    .category-card {
        flex: 0 0 82%;
        scroll-snap-align: center;
        margin-right: 16px;
    }

    .category-card:last-child {
        margin-right: 0;
    }

    .category-image-wrapper {
        margin-bottom: 25px;
    }

    .category-name {
        font-size: 22px;
        font-weight: 500;
    }

    .category-name i {
        font-size: 16px;
    }

    /* Hover effect mobile pe disable (touch device hai) */
    .category-card:hover {
        transform: none;
    }
}

/* ---------- Small Mobile ---------- */
@media (max-width: 400px) {
    .category-card {
        flex: 0 0 85%;
    }

    .category-name {
        font-size: 19px;
    }
}