.theme-products.product-grid {
    display: grid;
    gap: 30px;
}

.theme-products.product-grid.columns-1 { grid-template-columns: 1fr; }
.theme-products.product-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.theme-products.product-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.theme-products.product-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }

.product-item {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-thumb {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.product-cats {
    margin: 10px 0;
}

.product-cats span {
    background: #f0f0f0;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 5px;
}

.product-title {
    margin: 8px 0 !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;
}

.product-excerpt {
    color: #666;
    margin-bottom: 15px;
}

.buy-now-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #FED700 !important;
    color: #132A36 !important;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.buy-now-btn:hover {
    background: #D74C3C !important;
    color:#fff;
}

/* Carousel specific styles */
.product-carousel .product-item {
    margin: 10px;
}

/* Slick Carousel Navigation Styles */
.product-carousel .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-carousel .slick-arrow:before {
    color: #333;
    font-size: 20px;
}

.product-carousel .slick-arrow:hover {
    background: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.product-carousel .slick-prev {
    left: -20px;
}

.product-carousel .slick-next {
    right: -20px;
}

.product-carousel .slick-dots {
    bottom: -30px;
    padding: 0;
}

.product-carousel .slick-dots li {
    margin: 0 4px;
}

.product-carousel .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
}

.product-carousel .slick-dots li button:before {
    content: '';
    width: 8px;
    height: 8px;
    background: #ddd;
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease;
}

.product-carousel .slick-dots li.slick-active button:before {
    background: #007bff;
    transform: scale(1.2);
}

/* Add margin bottom to carousel to accommodate dots */
.product-carousel {
    margin-bottom: 50px;
}

/* Category List Styles */
.theme-category-list {
    display: block;
}

.theme-category-list .category-item {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.theme-category-list .category-item:last-child {
    border-bottom: none;
}

.theme-category-list .category-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.theme-category-list .category-item a:hover {
    color: #e74c3c;
}

/* .theme-category-list .category-item a:hover .category-title {
    color: #e74c3c;
} */

.theme-category-list .category-icon {
	width: 20px;
	height: 20px;
	margin-right: 8px;
	display: flex;
	align-items: center;
}

.theme-category-list .category-icon svg,
.theme-category-list .category-icon img {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.theme-category-list .category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.theme-category-list .category-title {
    font-size: 14px;
    color: #333;
    font-weight: normal;
}

@media screen and (max-width: 767px) {
    .theme-category-list .category-item {
        padding: 8px 0;
    }
}

/* Responsive Grid */
@media screen and (max-width: 1024px) {
    .theme-products.product-grid {
        gap: 20px;
    }
    
    .theme-products.product-grid.columns-4,
    .theme-products.product-grid.columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .theme-products.product-grid {
        gap: 15px;
    }
    
    .theme-products.product-grid.columns-4,
    .theme-products.product-grid.columns-3,
    .theme-products.product-grid.columns-2 {
        grid-template-columns: 1fr;
    }

    .product-thumb {
        height: 180px;
    }

    .product-item {
        padding: 10px;
    }

    .product-title {
        font-size: 16px !important;
    }

    .theme-category-list .category-divider {
        margin: 0 8px;
    }
}
