/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

/* Slider Container */
.subcategories-slider-container {
    position: relative;
    margin: 0 auto;
    padding: 0 40px;
    max-width: 1200px;
}

/* Slider Track */
.subcategories-slider {
    display: block;
    overflow: hidden;
    margin: 0 -10px;
}

/* Single slide case */
.subcategories-slider.single-slide {
    display: flex;
    justify-content: center;
}

/* Individual Slides */
.subcategory-slide {
    padding: 0 10px;
    text-align: center;
    outline: none;
}

/* Image container */
.subcategory-image {
    margin-bottom: 10px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
   /* background: #f5f5f5;*/
    border-radius: 4px;
    overflow: hidden;
}

.subcategory-image img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

/* No image placeholder */
.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: #e9e9e9;*/
    color: #777;
}

/* Category name */
.subcategory-name {
    display: block;
    font-weight: 600;
    color: #333;
    margin-top: 5px;
	text-transform: uppercase;
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: #fff;
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

/* Disable arrows when not needed */
.slick-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .subcategories-slider-container {
        padding: 0 20px;
    }
    
    .subcategory-image {
        height: 100px;
    }
}