﻿
/* Scroll container */
.brand-slider-wrapper {
    position: relative;
}
.product-slider-wrapper {
    position: relative;
}


.scroll-container {
    direction: ltr;
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth; /* اسکرول نرم */
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
    position: relative;
    align-items: center;
    padding: 0 45px;
}
.scroll-container-product{
    height:290px;
}
.scroll-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.brand-scroll {
    direction: rtl;
    flex: 0 0 auto;
    width: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-scroll {
    direction: rtl;
    width:210px;
    height:290px;
    align-items: center;
    justify-content: center;
}
/* دکمه های چپ و راست */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s ease;
}

    .slider-btn:hover {
        transform: translateY(-50%) scale(1.08);
    }

    .slider-btn.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

.slider-btn-left {
    left: 0;
}

.slider-btn-right {
    right: 0;
}

.brand-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: .2s ease;
}

    .brand-img:hover {
        transform: scale(1.05);
    }

.product-img {
    
    object-fit: contain;
    transition: .2s ease;
}

    .product-img:hover {
        transform: scale(1.05);
    }
/*scroll container*/
