/**
 * Banner da home — responsivo em desktop e mobile.
 * A imagem define a altura (width: 100%, height: auto).
 * Não ultrapassa o .container; o topo (header + menu) permanece referência.
 */

.loja-banner-top {
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.25rem;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    line-height: 0;
}

.loja-banner-picture {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.loja-banner-img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    vertical-align: top;
    aspect-ratio: unset !important;
    object-fit: unset !important;
    object-position: unset !important;
}

@media (min-width: 769px) {
    .loja-banner-top {
        border-radius: 10px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding-top: 0;
        overflow-x: hidden;
    }

    .main-content > .container,
    .main-content .container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .loja-banner-top {
        margin-top: 0;
        margin-bottom: 0.75rem;
        width: 100%;
        max-width: 100%;
    }

    .loja-banner-img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}
