/*
|--------------------------------------------------------------------------
| Vebayi - Ana Sayfa Kompakt Slider + Sağ Banner Alanı
|--------------------------------------------------------------------------
| Slider solda, paneldeki Ana Sayfa Sidebar bannerları sağda gösterilir.
| Mevcut slider, banner yönetimi ve bağlantılar korunur.
*/

.vb-home-hero-composition {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.58fr) minmax(330px, 0.92fr);
    gap: 16px;
    align-items: stretch;
}

.vb-home-hero-composition.has-no-banners {
    display: block;
}

.vb-home-hero-composition__slider {
    min-width: 0;
}

.vb-home-hero-composition .vb-hero-slider.vb-hero-slider-clean {
    width: 100% !important;
    min-height: 0 !important;
    height: 390px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    box-shadow: none !important;
    background: #f5f7fa !important;
}

.vb-home-hero-composition .vb-hero-slider.vb-hero-slider-clean .vb-hero-slide {
    width: 100% !important;
    height: 100% !important;
}

.vb-home-hero-composition .vb-hero-slider.vb-hero-slider-clean .vb-hero-slide img {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    object-fit: cover !important;
    border-radius: 18px !important;
}

.vb-home-hero-banners {
    min-width: 0;
    height: 390px;
    display: grid;
    gap: 16px;
}

.vb-home-hero-banners--1 {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.vb-home-hero-banners--2 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.vb-home-hero-banners--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.vb-home-hero-banners--3 .vb-home-hero-banner:first-child {
    grid-column: 1 / -1;
}

.vb-home-hero-banner {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #f6f8fb;
    display: block;
}

.vb-home-hero-banner::before,
.vb-home-hero-banner::after {
    display: none !important;
    content: none !important;
}

.vb-home-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.vb-home-hero-banner:hover img {
    transform: scale(1.018);
}

/* Slider okları daha küçük ve sade */
.vb-home-hero-composition .vb-hero-slider-clean .vb-hero-arrow {
    width: 38px !important;
    height: 38px !important;
}

.vb-home-hero-composition .vb-hero-slider-clean .vb-hero-prev {
    left: 12px !important;
}

.vb-home-hero-composition .vb-hero-slider-clean .vb-hero-next {
    right: 12px !important;
}

.vb-home-hero-composition .vb-hero-slider-clean .vb-hero-dots {
    bottom: 12px !important;
}

/* Kategori bandı ile alan arasındaki boşluğu azalt */
.vb-home-hero-composition + .vb-home-category-slider {
    margin-top: 20px !important;
}

@media (max-width: 1280px) {
    .vb-home-hero-composition {
        grid-template-columns: minmax(0, 1.48fr) minmax(300px, 0.92fr);
        gap: 14px;
    }

    .vb-home-hero-composition .vb-hero-slider.vb-hero-slider-clean,
    .vb-home-hero-banners {
        height: 350px !important;
    }

    .vb-home-hero-banners {
        gap: 14px;
    }
}

@media (max-width: 980px) {
    .vb-home-hero-composition {
        grid-template-columns: 1fr;
    }

    .vb-home-hero-composition .vb-hero-slider.vb-hero-slider-clean {
        height: 360px !important;
    }

    .vb-home-hero-banners {
        height: auto !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-template-rows: 180px !important;
    }

    .vb-home-hero-banners--1 {
        grid-template-columns: 1fr !important;
    }

    .vb-home-hero-banners--3 {
        grid-template-rows: repeat(2, 180px) !important;
    }

    .vb-home-hero-banners--3 .vb-home-hero-banner:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .vb-home-hero-composition {
        gap: 12px;
    }

    .vb-home-hero-composition .vb-hero-slider.vb-hero-slider-clean {
        height: 245px !important;
        border-radius: 14px !important;
    }

    .vb-home-hero-composition .vb-hero-slider.vb-hero-slider-clean .vb-hero-slide img,
    .vb-home-hero-banner {
        border-radius: 14px !important;
    }

    .vb-home-hero-banners {
        grid-template-columns: 1fr !important;
        grid-template-rows: none !important;
        gap: 12px;
    }

    .vb-home-hero-banner {
        height: 150px;
    }

    .vb-home-hero-banners--3 .vb-home-hero-banner:first-child {
        grid-column: auto;
    }

    .vb-home-hero-composition .vb-hero-slider-clean .vb-hero-arrow {
        width: 32px !important;
        height: 32px !important;
    }
}
