.product-category {
    position: relative;
    background: #fff;
    border-radius: 5px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    grid-gap: 8px;
}

.product-category-row:not(.slick-initialized) {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-gap: 0;
}

.product-category-header {
    padding: 0;
    font-size: 17px;
    font-weight: 600;
}

.product-category-container {
    position: relative;
    /* border: 1px solid #e1e1e1; */
    border-radius: 5px;
    width: 100%;
}

.product-category-slider {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.product-category-slider::-webkit-scrollbar {
    display: none;
}

.product-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    padding: 12px;
    background-color: transparent;
    min-height: 150px;
    overflow: hidden;
    color: var(--black)
}

.product-category-item:hover {
    color: var(--primary);
}

.product-category-row,
.product-category-row.slick-initialized .slick-slide {
    position: relative;
}

.product-category-row:not(.slick-initialized) {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-gap: 0;
}

.product-category-item-image {
    width: 83px;
    height: 83px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.product-category-item-title {
    font-size: 13px;
    line-height: 1.3;
    text-align: center;
    word-wrap: break-word;
}

/* Navigation arrows for horizontal scroll */
.product-category-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #666;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-category-nav:hover {
    background: white;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.product-category-nav.prev {
    left: -14px;
}

.product-category-nav.next {
    right: -14px;
}

/* Responsive */
@media (max-width: 768px) {
    .product-category {
        padding: 15px;
    }
    
    .product-category-row {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .product-category-item {
        width: 100px;
        padding: 8px;
    }
    
    .product-category-item-image {
        width: 50px;
        height: 50px;
    }
    
    .product-category-item-title {
        font-size: 11px;
    }
    
    .product-category-nav {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .product-category-nav.prev {
        left: -15px;
    }
    
    .product-category-nav.next {
        right: -15px;
    }
}

@media (max-width: 480px) {
    .product-category-row {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }
    
    .product-category-item {
        width: 80px;
        padding: 5px;
    }
    
    .product-category-item-image {
        width: 40px;
        height: 40px;
    }
    
    .product-category-item-title {
        font-size: 10px;
    }
}