/* استایل بنرها */
.banner-section {
    padding: 30px 0;
}

.banner-container {
    display: flex;
    gap: 20px;
}

.main-banner {
    flex: 2;
    max-height: 540px;
/*    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);*/
}

.main-banner h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.main-banner p {
    font-size: 18px;
    max-width: 80%;
}

.large-banner {
    display: block;
    height: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

    .large-banner img {
        max-width: 100%;
        height: 100%;
        object-fit: cover;
    }

.side-banners {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-banner {
    flex: 1;
    height: 100%;
    /* background: linear-gradient(135deg, var(--secondary-color), var(--primary-color)); */
    background-color: white;
    border-radius: 15px;
    display: grid;
    place-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* image */
    max-width: 516px;
    max-height: 260px;
    height: 100%;
    overflow: hidden;
}

.side-banner img {
    max-width: 100%;
    height: 100%;
    /* object-fit: cover; */
}

/* استایل محصولات */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background-color: var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: block;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 260px;
    background-color: var(--primary-color);
}

.slide .product-image {
    height: auto;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--white);
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
}

/* استایل بنر عریض */
.full-banner {
    /* background: linear-gradient(135deg, var(--secondary-color), var(--primary-color)); */
    max-height: 355px;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: grid;
    place-items: center;
}

.full-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

.full-banner h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.full-banner p {
    font-size: 20px;
    max-width: 80%;
    margin: 0 auto;
}

/* استایل ارتباط با فروشندگان */
.seller-contact {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color-light);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon i {
    font-size: 36px;
    color: var(--white);
}

.contact-title {
    font-size: 18px;
    font-weight: 600;
}

/* استایل اسلایدرها */
.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: var(--white);
    padding: 20px;
}

.slider-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color-light);
    font-size: 24px;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    padding: 10px 0;
}

.slider::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera*/
}

.slide {
    min-width: 250px;
    margin: 0 10px;
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border: none;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    transform: scale(1.1);
}

/* استایل برندها */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.brand-item {
    height: 100px;
    background-color: var(--white);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.brand-item:hover {
    filter: grayscale(0%);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.brand-item i {
    font-size: 36px;
    color: var(--primary-color-light);
}

.banner-button {
    text-decoration: none;
    color: var(--primary-color);
    background-color: white;
    border-radius: 15px;
    padding: 10px 15px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .banner-container {
        flex-direction: column;
    }

    .side-banners {
        flex-direction: row;
    }
}

@media (max-width: 546px) {
    .side-banner {
        max-width: 100%;
        max-height: 300px;
    }

    .side-banners {
        flex-direction: column;
    }
}