/* GalloShop Core 15.2.0 — refinamento exclusivo da Home em celulares. */
.gshop-mobile-quick-benefits { display: none; }

@media (max-width: 600px) {
    /* Barra superior e cabecalho mais baixos. */
    .gshop-home .gshop-topbar,
    .gshop-home .gshop-topbar .gshop-container {
        min-height: 24px !important;
        height: 24px !important;
    }
    .gshop-home .gshop-topbar .gshop-container {
        justify-content: space-between;
        gap: 10px;
        overflow: hidden;
    }
    .gshop-home .gshop-topbar span {
        display: inline-flex;
        min-width: 0;
        gap: 4px;
        font-size: 8px;
        line-height: 1;
        white-space: nowrap;
    }
    .gshop-home .gshop-topbar span:nth-child(n+3) { display: none; }
    .gshop-home .gshop-topbar span i { font-size: 9px; }
    .gshop-home .gshop-topbar span small { display: none; }
    .gshop-home .gshop-header-row {
        min-height: 0 !important;
        gap: 5px 8px !important;
        padding-top: 5px !important;
    }
    .gshop-home .gshop-brand-zone,
    .gshop-home .gshop-brand { gap: 5px; }
    .gshop-home .gshop-brand > b {
        width: 34px;
        height: 34px;
        border-radius: 9px;
        font-size: 18px;
    }
    .gshop-home .gshop-brand > span { font-size: 17px; line-height: .95; }
    .gshop-home .gshop-brand > span small { margin-top: 3px; font-size: 7px; }
    .gshop-home .gshop-mobile-menu-button { width: 34px; height: 34px; border-radius: 9px; }
    .gshop-home .gshop-search {
        height: 38px !important;
        margin-bottom: 0 !important;
    }
    .gshop-home .gshop-search input[type="search"],
    .gshop-home .gshop-search button {
        min-height: 36px !important;
        height: 36px !important;
    }
    .gshop-home .gshop-search input[type="search"] {
        padding-left: 11px !important;
        font-size: 11px !important;
    }
    .gshop-home .gshop-search button {
        min-width: 70px !important;
        padding-inline: 10px !important;
        font-size: 11px !important;
    }
    .gshop-home .gshop-category-nav,
    .gshop-home .gshop-category-nav .gshop-container {
        min-height: 0 !important;
        height: 0;
        border: 0;
        overflow: visible;
    }
    .gshop-home .gshop-header:not(.is-menu-open) .gshop-category-links { display: none; }

    /* Confiança imediatamente depois da busca. */
    .gshop-mobile-quick-benefits {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1px;
        width: 100%;
        min-height: 38px;
        margin: 0;
        padding: 4px 6px;
        border-bottom: 1px solid #e5e7eb;
        background: #fff;
    }
    .gshop-mobile-quick-benefits span {
        display: flex;
        min-width: 0;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 3px 2px;
        color: #34383d;
        font-size: 7.5px;
        font-weight: 800;
        line-height: 1.1;
        text-align: center;
        white-space: nowrap;
    }
    .gshop-mobile-quick-benefits b { color: #d70000; font-size: 9px; }

    /* Densidade geral; os cards dos produtos nao sao redesenhados. */
    .gshop-home .gshop-home-main { padding-top: 0; }
    .gshop-home .gshop-hero-premium { margin-top: 0 !important; }
    .gshop-home .gshop-section {
        margin-top: 2px !important;
        margin-bottom: 2px !important;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }
    .gshop-home .gshop-home-shelf {
        margin-block: 3px !important;
        padding-top: 8px !important;
        padding-bottom: 6px !important;
    }
    .gshop-home .gshop-shelf-topbar { margin-bottom: 5px; }
    .gshop-home .gshop-product-grid,
    .gshop-home .gshop-shelf-grid { gap: 8px !important; }

    /* Marcas: mesma aparencia, menor altura e respiro. */
    .gshop-home .gshop-brand-showcase {
        margin-block: 3px !important;
        padding-block: 7px 4px !important;
    }
    .gshop-home .gshop-brand-grid { gap: 6px !important; padding-bottom: 2px; }
    .gshop-home .gshop-brand-card,
    .gshop-home .gshop-brand-logo-card {
        min-height: 44px !important;
        height: 44px !important;
        padding-block: 5px !important;
    }
    .gshop-home .gshop-brand-logo { max-height: 24px !important; }

    /* Cards institucionais 35–40% mais baixos. */
    .gshop-home .gshop-support { margin-top: 3px !important; padding-block: 7px !important; }
    .gshop-home .gshop-support .gshop-section-heading { margin-bottom: 7px; }
    .gshop-home .gshop-support .gshop-section-heading p { display: none; }
    .gshop-home .gshop-support-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        overflow: visible;
    }
    .gshop-home .gshop-support-grid .gshop-benefit-card {
        min-width: 0;
        min-height: 108px !important;
        height: auto;
        padding: 10px !important;
        border-radius: 9px;
    }
    .gshop-home .gshop-benefit-card__header { gap: 7px; margin-bottom: 6px; }
    .gshop-home .gshop-support-grid .gshop-benefit-card__icon {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
        border-radius: 8px;
        font-size: 14px;
    }
    .gshop-home .gshop-support-grid .gshop-benefit-card__title {
        font-size: 11px !important;
        line-height: 1.1;
    }
    .gshop-home .gshop-support-grid .gshop-benefit-card ul {
        margin: 0;
        padding-left: 14px;
        font-size: 9px;
        line-height: 1.25;
    }
    .gshop-home .gshop-support-grid .gshop-benefit-card li { margin-bottom: 2px; }

    /* A newsletter permanece funcional no desktop e sai do fluxo principal mobile. */
    .gshop-home .gshop-newsletter { display: none !important; }
    .gshop-home .gshop-testimonials { margin-bottom: 3px !important; }
    .gshop-home .gshop-footer-trust { margin-top: 0; }

    /* Widgets de chat conhecidos: somente escala, sem alterar eventos ou animacoes. */
    body:has(.gshop-home) .joinchat__button,
    body:has(.gshop-home) .ht-ctc-chat,
    body:has(.gshop-home) #qlwapp .qlwapp-toggle,
    body:has(.gshop-home) .wpp-float {
        transform: scale(.8);
        transform-origin: right bottom;
    }
}
