/* BAZAR HOMEPAGE FINAL - responsive polish */
:root {
    --bazar-home-primary: #1769e8;
    --bazar-home-primary-dark: #1158c8;
    --bazar-home-ink: #172b4d;
    --bazar-home-muted: #64748b;
    --bazar-home-bg: #f5f8fd;
    --bazar-home-border: #e3eaf4;
    --bazar-home-radius: 18px;
}

.bazar-home-layout {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: clamp(14px, 2vw, 30px) 0 clamp(28px, 4vw, 56px) !important;
    background: var(--bazar-home-bg) !important;
    color: var(--bazar-home-ink);
    overflow-wrap: anywhere;
}

.bazar-home-container {
    width: min(1280px, calc(100% - 40px)) !important;
    max-width: 1280px;
    margin-inline: auto !important;
}

.bazar-home-hero {
    padding: 0 0 clamp(16px, 2.5vw, 28px) !important;
}

.bazar-home-hero .slider-home,
.bazar-home-hero .slider-home #slider,
.bazar-home-hero .slider-home .nivoSlider,
.bazar-home-hero .slider-home #slider img {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.bazar-home-hero .nivoSlider,
.bazar-home-hero #myCarousel {
    overflow: hidden;
    border: 1px solid var(--bazar-home-border);
    border-radius: var(--bazar-home-radius);
    background: #fff;
    box-shadow: 0 10px 30px rgba(23, 43, 77, .075);
}

.bazar-home-hero .nivoSlider img,
.bazar-home-hero #myCarousel img,
.bazar-home-hero img {
    display: block;
    max-width: 100% !important;
    height: auto !important;
}

.bazar-home-sections {
    display: flex;
    flex-direction: column;
    align-items: stretch !important;
    gap: clamp(14px, 2vw, 22px) !important;
}

.bazar-home-section {
    width: 100% !important;
    max-width: 1280px !important;
    min-width: 0;
    margin-inline: auto;
    padding: clamp(16px, 2.2vw, 28px) !important;
    border: 1px solid var(--bazar-home-border) !important;
    border-radius: var(--bazar-home-radius) !important;
    background: #fff !important;
    box-shadow: 0 6px 24px rgba(23, 43, 77, .045) !important;
    color: var(--bazar-home-ink);
    overflow: hidden;
}

.bazar-home-section .main-box1,
.bazar-home-section .main-box,
.bazar-home-section .body-box,
.bazar-home-section .row,
.bazar-home-section [class*="col-"] {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.bazar-home-section .title-box,
.bazar-home-section .title-box span,
.bazar-home-section .title-box h1,
.bazar-home-section .title-box h2,
.bazar-home-section .title-box h3,
.bazar-home-section h1,
.bazar-home-section h2,
.bazar-home-section h3 {
    color: var(--bazar-home-ink) !important;
    text-shadow: none !important;
    line-height: 1.75;
}

.bazar-home-section p,
.bazar-home-section li,
.bazar-home-section .body-box {
    color: inherit;
    line-height: 1.9;
}

.bazar-home-section img,
.bazar-home-section video,
.bazar-home-section iframe {
    max-width: 100%;
}

.bazar-home-section a:focus-visible,
.bazar-home-hero a:focus-visible {
    outline: 3px solid rgba(23, 105, 232, .6);
    outline-offset: 3px;
}

.bazar-home-section .btn,
.bazar-home-section button,
.bazar-home-section input[type="submit"] {
    min-height: 42px;
    border-radius: 10px;
}

@media (min-width: 1400px) {
    .bazar-home-container { width: min(1320px, calc(100% - 64px)) !important; }
}

@media (max-width: 991px) {
    .bazar-home-container { width: calc(100% - 32px) !important; }
    .bazar-home-section { padding: 20px !important; }
}

@media (max-width: 767px) {
    .bazar-home-layout { padding: 10px 0 28px !important; }
    .bazar-home-container { width: calc(100% - 24px) !important; }
    .bazar-home-hero { padding-bottom: 14px !important; }
    .bazar-home-hero .nivoSlider,
    .bazar-home-hero #myCarousel { border-radius: 12px; }
    .bazar-home-sections { gap: 12px !important; }
    .bazar-home-section { padding: 14px 12px !important; border-radius: 13px !important; }
    .bazar-home-section .body-box { padding: 12px !important; }
}

@media (max-width: 360px) {
    .bazar-home-container { width: calc(100% - 16px) !important; }
    .bazar-home-section { padding: 12px 9px !important; }
}
/* BAZAR HOMEPAGE POLISH V6 */

/* Main content */
.bazar-home-layout {
    background: #f4f7fc !important;
}

.bazar-home-sections {
    align-items: stretch !important;
    gap: 18px !important;
}

.bazar-home-guide,
.bazar-home-notices {
    width: 100% !important;
    max-width: 100% !important;
}

.bazar-home-guide .row,
.bazar-home-notices .row {
    max-width: 100% !important;
    min-width: 0 !important;
}

.bazar-home-guide .main-box,
.bazar-home-guide .main-box1,
.bazar-home-guide .body-box,
.bazar-home-notices .main-box,
.bazar-home-notices .main-box1,
.bazar-home-notices .body-box {
    box-sizing: border-box;
    max-width: 100% !important;
}

.bazar-home-notices .title-box,
.bazar-home-notices .title-box *,
.bazar-home-notices [style*="background"] > h2,
.bazar-home-notices [style*="background"] > h3 {
    color: #ffffff !important;
}

.bazar-home-guide p,
.bazar-home-guide li,
.bazar-home-notices p,
.bazar-home-notices li {
    line-height: 1.85 !important;
    overflow-wrap: break-word;
}

.bazar-home-section {
    box-shadow: 0 6px 22px rgba(20,43,80,.055) !important;
}

@media (max-width: 767px) {

    .bazar-home-layout {
        padding-bottom: 16px !important;
    }

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

    .bazar-home-sections {
        gap: 12px !important;
    }

    .bazar-home-section {
        padding: 18px 12px !important;
    }

    .bazar-home-guide .main-box,
    .bazar-home-guide .main-box1,
    .bazar-home-guide .body-box,
    .bazar-home-notices .main-box,
    .bazar-home-notices .main-box1,
    .bazar-home-notices .body-box {
        width: 100% !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .bazar-home-guide [class*="col-"],
    .bazar-home-notices [class*="col-"] {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .bazar-home-guide .row,
    .bazar-home-notices .row {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .bazar-home-guide p,
    .bazar-home-notices p {
        font-size: 13px;
        line-height: 1.9 !important;
    }

    .bazar-home-guide h2,
    .bazar-home-guide h3,
    .bazar-home-notices h2,
    .bazar-home-notices h3 {
        line-height: 1.65 !important;
    }
}
