/* BAZAR HOME V3 */

.bazar-home-layout {
    background: #f5f7fb !important;
    color: #334155;
    direction: rtl;
    padding: 20px 0 64px;
    min-height: 70vh;
}

.bazar-home-layout *,
.bazar-home-layout *::before,
.bazar-home-layout *::after {
    box-sizing: border-box;
}

.bazar-home-container {
    width: min(1180px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

.bazar-home-hero {
    padding: 10px 0 24px;
}

.bazar-home-hero .slider-home #slider,
.bazar-home-hero .slider-home #slider img {
    width: 100% !important;
    height: auto !important;
    max-height: 520px;
    object-fit: contain;
}

.bazar-home-hero .nivoSlider {
    max-width: 100%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(20,40,80,.09);
}

.bazar-home-sections {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.bazar-home-section {
    width: 100%;
    max-width: 900px;
    min-width: 0;
    padding: 28px;
    border: 1px solid #e4eaf3;
    border-radius: 20px;
    background: #fff !important;
    box-shadow: 0 8px 28px rgba(20,40,80,.045);
    overflow-wrap: anywhere;
}

.bazar-home-section .title-box,
.bazar-home-section .title-box h2,
.bazar-home-section .title-box h3 {
    color: #172b4d !important;
    text-shadow: none !important;
}

.bazar-home-section h1,
.bazar-home-section h2,
.bazar-home-section h3 {
    line-height: 1.8;
}

.bazar-home-section img {
    max-width: 100%;
    height: auto;
}

.bazar-home-section a:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .bazar-home-layout {
        padding: 12px 0 30px;
    }

    .bazar-home-container {
        width: calc(100% - 24px);
    }

    .bazar-home-hero {
        padding: 4px 0 14px;
    }

    .bazar-home-sections {
        gap: 16px;
    }

    .bazar-home-section {
        padding: 16px 12px;
        border-radius: 14px;
    }

    .bazar-home-hero .nivoSlider {
        border-radius: 12px;
    }
}