/** Mobile header compact — catálogo (espelha home-mobile-fluid.css) */
/**
 * Home (inicio.html) — layout mobile fluido, sem overflow horizontal.
 * Trust bar carousel: mobile ≤768px; desktop ≥769px inalterado.
 */

body.catalog-page {
    overflow-anchor: none;
}

/* Botão Filtros — visível apenas no mobile */
@media (min-width: 769px) {
    .catalog-filter-btn {
        display: none !important;
    }
    #filterDrawerBackdrop,
    #filterDrawer {
        display: none !important;
    }
}

/* CTA "Ver todos os produtos" (estilo Santo Conceito) — mobile e desktop */
body.catalog-page .home-ver-todos-produtos-cta {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 1.25rem auto 0.75rem;
    padding: 0 var(--container-padding, 0.75rem);
    box-sizing: border-box;
    text-align: center;
}

body.catalog-page .home-ver-todos-produtos-btn {
    display: inline-block;
    box-sizing: border-box;
    min-width: min(100%, 320px);
    max-width: 100%;
    padding: 10px 28px;
    border: 1px solid #2b2b2b;
    border-radius: 0;
    background: #fff;
    color: #2b2b2b;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.35;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease, color 0.2s ease;
}

body.catalog-page .home-ver-todos-produtos-btn:hover {
    background: #f5f5f5;
    color: #2b2b2b;
    text-decoration: none;
}

body.catalog-page .home-ver-todos-produtos-btn:active {
    background: #f5f5f5;
}

@media (min-width: 769px) {
    body.catalog-page .home-ver-todos-produtos-cta {
        margin: 1.5rem auto 1rem;
        padding: 0;
    }

    body.catalog-page .home-ver-todos-produtos-btn {
        min-width: 280px;
        font-size: 0.9375rem;
    }
}

/* Desktop: carrossel da trust bar invisível — 4 colunas originais */
@media (min-width: 769px) {
    .home-trust-bar-carousel-nav {
        display: none !important;
    }

    .home-trust-bar-carousel-viewport,
    .home-trust-bar-carousel-track {
        display: contents;
    }

    /* Cabeçalho compacto: somente mobile */
    .mobile-compact-shell {
        display: none !important;
    }

    /* Banner assistência técnica — full width edge-to-edge no PC (template 1779647105469 / img 1779647105111) */
    body.catalog-page .home-hero-banner-slot,
    body.catalog-page .home-hero-banner-slot .home-banner-fullwidth,
    body.catalog-page .home-hero-banner-slot .horizontal-banner-section,
    body.catalog-page .home-hero-banner-slot [data-template-id],
    body.catalog-page [data-section-id="bannerTemplate_template_1779647105469"],
    body.catalog-page .main-content > .home-banner-fullwidth.horizontal-banner-section {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        overflow: hidden;
        box-sizing: border-box;
    }

    body.catalog-page .home-hero-banner-slot img,
    body.catalog-page .home-hero-banner-slot .home-banner-fullwidth-img,
    body.catalog-page [data-section-id="bannerTemplate_template_1779647105469"] img,
    body.catalog-page .main-content > .home-banner-fullwidth.horizontal-banner-section img {
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        display: block !important;
        border-radius: 0 !important;
    }

    body.catalog-page .home-hero-banner-slot > a,
    body.catalog-page .home-hero-banner-slot > div,
    body.catalog-page .home-hero-banner-slot .banner-carousel,
    body.catalog-page [data-section-id="bannerTemplate_template_1779647105469"] > a,
    body.catalog-page [data-section-id="bannerTemplate_template_1779647105469"] > div,
    body.catalog-page [data-section-id="bannerTemplate_template_1779647105469"] .banner-carousel {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    html:has(body.catalog-page) {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    body.catalog-page {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    body.catalog-page .site-header-shell,
    body.catalog-page .site-topbar,
    body.catalog-page .site-contact-bar,
    body.catalog-page .site-announcement-bar,
    body.catalog-page .header,
    body.catalog-page .mega-nav,
    body.catalog-page .search-bar-mobile,
    body.catalog-page .home-hero-banner-slot,
    body.catalog-page .home-trust-bar,
    body.catalog-page .main-content,
    body.catalog-page .footer {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    body.catalog-page .site-header-shell {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10000;
        overflow: visible;
        box-shadow: none;
    }

    body.catalog-page.search-dropdown-active .site-header-shell,
    body.catalog-page.search-dropdown-active .header,
    body.catalog-page.search-dropdown-active .mega-nav {
        overflow: visible;
    }

    /* Cabeçalho compacto fixo após rolar além da barra de anúncio (estilo Santo Conceito) */
    .mobile-compact-shell {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10050;
        background: #fff;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.3s ease,
            visibility 0.3s ease,
            box-shadow 0.3s ease;
    }

    body.catalog-page.catalog-mobile-header-compact .mobile-compact-shell {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-compact-header {
        position: relative;
        height: 56px;
        padding: 0 12px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        background: #103070;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .mobile-compact-search {
        padding: 0;
        background: #fff;
        box-sizing: border-box;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .mobile-compact-search .search-input-wrapper {
        display: flex;
        align-items: stretch;
        background: #fff;
        border: none;
        border-bottom: 1px solid #d4d4d4;
        border-radius: 0;
        overflow: visible;
        width: 100%;
        position: relative;
        box-shadow: none;
    }

    .mobile-compact-search .search-dropdown {
        left: 0;
        right: 0;
        top: calc(100% + 4px);
        z-index: 10200;
    }

    .mobile-compact-search input {
        flex: 1;
        min-width: 0;
        padding: 10px 12px;
        border: none;
        outline: none;
        font-size: 14px;
        font-family: 'Inter', sans-serif;
        background: #fff;
        color: #333;
        border-radius: 0;
        box-shadow: none;
    }

    .mobile-compact-search input::placeholder {
        color: #a8a8a8;
    }

    .mobile-compact-search .search-btn-mobile {
        flex-shrink: 0;
        width: 40px;
        min-width: 40px;
        background: transparent;
        border: none;
        outline: none;
        box-shadow: none;
        padding: 0 10px 0 0;
        cursor: pointer;
        color: #1a1a1a;
        font-size: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-compact-header__menu {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 40px;
        padding: 0;
        margin: 0;
        border: none;
        background: transparent;
        color: #fff;
        font-size: 1.15rem;
        cursor: pointer;
        flex-shrink: 0;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-compact-header__cep {
        flex: 0 0 auto;
        min-width: 0;
        max-width: 110px;
        display: flex;
        align-items: center;
        gap: 0;
        padding: 0 2px 0 0;
        margin: 0;
        border: none;
        background: transparent;
        cursor: pointer;
        font-family: inherit;
        text-align: left;
        color: inherit;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-compact-header__cep-pin {
        display: none;
    }

    .mobile-compact-header__cep-lines {
        display: flex;
        flex-direction: column;
        line-height: 1.15;
        gap: 0;
        min-width: 0;
        flex: 1 1 auto;
    }

    .mobile-compact-header__cep-label {
        font-size: 11px;
        font-weight: 400;
        font-family: 'Inter', sans-serif;
        color: rgba(255, 255, 255, 0.65);
        white-space: nowrap;
    }

    .mobile-compact-header__cep-value {
        font-size: 12px;
        font-weight: 600;
        font-family: 'Inter', sans-serif;
        color: #fff;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .mobile-compact-header__center {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(calc(-50% + 14px), -50%);
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        pointer-events: none;
    }

    .mobile-compact-header__logo {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        min-width: 0;
        text-decoration: none;
        pointer-events: auto;
    }

    .mobile-compact-header__logo img {
        height: 50px;
        width: auto;
        max-width: 50px;
        object-fit: contain;
    }

    .mobile-compact-header {
        --mobile-header-end-gap: 10px;
        --mobile-header-cart-to-avatar-gap: 20px;
        --mobile-header-cart-hit: 40px;
        --mobile-header-cart-icon: 24px;
        --mobile-header-avatar-size: 32px;
    }

    .mobile-compact-header__end {
        display: flex;
        align-items: center;
        flex-shrink: 1;
        min-width: 0;
        gap: var(--mobile-header-end-gap, 10px);
        margin-left: auto;
        z-index: 1;
    }

    .mobile-compact-header__end .mobile-compact-header__actions {
        display: flex;
        align-items: center;
        flex-shrink: 1;
        min-width: 0;
        gap: 2px;
        margin-left: 0;
    }

    .mobile-compact-header__account-wrap {
        position: relative;
        flex-shrink: 0;
        z-index: 12;
    }

    .mobile-compact-header__account {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
        max-width: 88px;
        min-width: 0;
        height: 40px;
        padding: 0 4px;
        text-decoration: none;
        color: #fff;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-compact-header__account-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        font-size: 24px;
        line-height: 1;
        opacity: 0.9;
        flex-shrink: 0;
        color: #fff;
    }

    .mobile-compact-header__account-text {
        font-size: 12px;
        font-weight: 500;
        font-family: 'Inter', sans-serif;
        line-height: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
        flex-shrink: 1;
    }

    .mobile-compact-header__cart {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        min-width: 40px;
        flex-shrink: 0;
        padding: 0;
        margin: 0;
        border: none;
        border-radius: 0;
        background: transparent;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-compact-header__cart-icon {
        display: block;
        width: 24px;
        height: 24px;
        object-fit: contain;
        filter: brightness(0) invert(1);
        flex-shrink: 0;
    }

    .mobile-compact-header .cart-badge {
        position: absolute;
        top: 2px;
        right: 0;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        border-radius: 999px;
        background: #ef4444;
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        display: none;
        align-items: center;
        justify-content: center;
        line-height: 1;
        box-sizing: border-box;
    }

    body.catalog-page .header .container {
        width: 100%;
        max-width: 100%;
        padding-left: var(--container-padding, 0.4rem);
        padding-right: var(--container-padding, 0.4rem);
        box-sizing: border-box;
    }

    /* Esconde o cabeçalho desktop no mobile (usa #headerMobileRow como em /inicio) */
    body.catalog-page .header-content--desktop {
        display: none !important;
    }

    body.catalog-page .header-main-cluster {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
    }

    body.catalog-page .header-search-group {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 100%;
        gap: 8px;
        overflow: hidden;
    }

    body.catalog-page .header-nav {
        display: contents !important;
    }

    body.catalog-page .header-main-cluster,
    body.catalog-page .header-search-group {
        display: contents;
    }

    body.catalog-page .header-content {
        justify-content: flex-start !important;
    }

    body.catalog-page .mobile-menu-btn {
        order: 1 !important;
        flex: 0 0 auto;
    }

    body.catalog-page .header-cep-slot {
        display: flex !important;
        order: 2 !important;
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(50vw - 68px);
    }

    body.catalog-page .header-cep-slot .header-location {
        min-width: 0;
        width: 100%;
    }

    body.catalog-page .header-cep-slot .header-location-value {
        max-width: 100%;
    }

    body.catalog-page .header-brand {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(calc(-50% + 14px), -50%);
        z-index: 2;
        flex: 0 0 auto;
        min-width: 0;
        pointer-events: none;
    }

    body.catalog-page .header-brand .logo,
    body.catalog-page .header-brand .logo a {
        pointer-events: auto;
    }

    body.catalog-page .header-nav > .user-guest-auth {
        display: none !important;
    }

    body.catalog-page .header-quick-icons {
        order: 4 !important;
        flex: 0 0 auto;
        flex-shrink: 0;
        gap: 2px;
        margin-left: auto !important;
        z-index: 1;
    }

    body.catalog-page .header-quick-icons > a.header-icon-btn {
        display: none !important;
    }

    body.catalog-page .header-quick-icons > a.header-icon-btn.header-mobile-account,
    body.catalog-page .header-quick-icons > a.header-icon-btn#cartLink,
    body.catalog-page .header-quick-icons > a.header-icon-btn[title="Carrinho"] {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    body.catalog-page .header-mobile-account {
        display: flex !important;
        align-items: center;
        gap: 8px;
        width: auto;
        max-width: 88px;
        min-width: 0;
        height: 40px;
        padding: 0 4px;
        text-decoration: none;
        color: #fff;
        -webkit-tap-highlight-color: transparent;
    }

    body.catalog-page .header-mobile-account-text {
        font-size: 12px;
        font-weight: 500;
        font-family: 'Inter', sans-serif;
        line-height: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
        flex-shrink: 1;
    }

    body.catalog-page .header-mobile-account-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        font-size: 24px;
        line-height: 1;
        opacity: 0.9;
        flex-shrink: 0;
    }

    body.catalog-page .header-quick-icons .user-area--icons {
        display: none !important;
    }

    body.catalog-page .search-bar-mobile {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0;
        background: #103070;
        overflow: visible;
        position: relative;
        z-index: 10210;
        isolation: isolate;
    }

    body.catalog-page .search-bar-mobile .search-input-wrapper {
        width: 100%;
        max-width: 100%;
        overflow: visible;
        position: relative;
        border: none;
        border-bottom: 1px solid #d4d4d4;
        border-radius: 0;
    }

    body.catalog-page .search-bar-mobile .search-dropdown {
        left: 0;
        right: 0;
        width: 100%;
        z-index: 10250;
    }

    body.catalog-page .search-bar-mobile .search-dropdown.show {
        display: block;
    }

    body.catalog-page .search-bar-mobile .search-dropdown-scroll {
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    body.catalog-page .mobile-compact-search {
        overflow: visible;
        z-index: 10210;
        isolation: isolate;
    }

    body.catalog-page .mobile-compact-search .search-dropdown {
        z-index: 10250;
    }

    body.catalog-page .mobile-compact-search .search-dropdown-scroll {
        max-height: none;
    }

    /* Trust bar — carrossel (um slide por vez, setas, 4s) */
    body.catalog-page .home-trust-bar {
        overflow: hidden;
    }

    body.catalog-page .home-trust-bar-inner {
        display: grid !important;
        grid-template-columns: 28px minmax(0, 1fr) 28px;
        align-items: center;
        justify-content: stretch;
        gap: 0 !important;
        flex-wrap: nowrap !important;
        max-width: 100%;
        padding: 14px 4px !important;
        box-sizing: border-box;
    }

    body.catalog-page .home-trust-bar-carousel-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        padding: 0;
        margin: 0;
        border: none;
        background: transparent;
        color: #1a1a1a;
        cursor: pointer;
        flex-shrink: 0;
        opacity: 0.75;
    }

    body.catalog-page .home-trust-bar-carousel-nav i {
        font-size: 12px;
        line-height: 1;
    }

    body.catalog-page .home-trust-bar-carousel-nav:active {
        opacity: 1;
    }

    body.catalog-page .home-trust-bar-carousel-viewport {
        overflow: hidden;
        min-width: 0;
        width: 100%;
    }

    body.catalog-page .home-trust-bar-carousel-track {
        display: flex;
        align-items: center;
        transition: transform 0.35s ease;
        will-change: transform;
    }

    body.catalog-page .home-trust-bar-carousel-track > .home-trust-bar-item,
    body.catalog-page .home-trust-bar-carousel-track > a.home-trust-bar-item {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-left: 0 !important;
        padding-right: 0 !important;
        justify-content: center;
        box-sizing: border-box;
    }

    body.catalog-page .home-trust-bar-item--payments .home-trust-bar-payments-list {
        flex-wrap: wrap !important;
        justify-content: center;
        max-width: 100%;
        gap: 8px 10px;
    }

    body.catalog-page .home-trust-bar-revendedor-label,
    body.catalog-page .home-trust-bar-subtitle {
        white-space: normal;
        text-align: center;
    }

    /* Conteúdo principal */
    body.catalog-page .main-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding-left: var(--container-padding, 0.4rem);
        padding-right: var(--container-padding, 0.4rem);
        overflow-x: hidden;
        box-sizing: border-box;
    }

    body.catalog-page .main-content > section,
    body.catalog-page .departments-section,
    body.catalog-page .departments-container,
    body.catalog-page .categories-section,
    body.catalog-page .products-section,
    body.catalog-page .products-container,
    body.catalog-page .brands-section,
    body.catalog-page .promo-banner-section {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    body.catalog-page .home-hero-banner-slot,
    body.catalog-page .home-hero-banner-slot img,
    body.catalog-page .home-hero-banner-slot [data-template-id],
    body.catalog-page .home-hero-banner-slot .banner-carousel {
        max-width: 100% !important;
        width: 100% !important;
    }

    body.catalog-page .departments-carousel-wrapper,
    body.catalog-page .products-carousel-wrapper,
    body.catalog-page .brands-carousel-wrapper {
        max-width: 100%;
        overflow: hidden;
    }

    body.catalog-page .category-section-head {
        max-width: 100%;
        overflow: visible;
        position: relative;
    }

    /* Título da categoria + link "Ver todos" — sem sobreposição no mobile */
    body.catalog-page .category-section-head {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        min-height: 0;
        margin-bottom: 0.4rem;
        gap: 0.35rem;
        padding: 0;
    }

    body.catalog-page .category-section-title,
    body.catalog-page .brands-title.category-section-title {
        width: 100%;
        max-width: 100%;
        font-size: 1rem;
        padding: 8px 14px;
        line-height: 1.25;
        box-sizing: border-box;
        display: block;
    }

    body.catalog-page .brands-section {
        padding-left: var(--container-padding, 0.75rem);
        padding-right: var(--container-padding, 0.75rem);
    }

    body.catalog-page .brands-title.category-section-title {
        margin: 0 auto 0.75rem;
    }

    body.catalog-page .category-section-view-all {
        position: static;
        transform: none;
        align-self: flex-end;
        margin: 0 0 0.2rem;
        padding-right: 0.15rem;
        font-size: 0.72rem;
        line-height: 1.2;
    }

    body.catalog-page .category-section-view-all i {
        font-size: 0.65rem;
    }

    /* Departamentos — link "Ver todas as categorias" igual ao "Ver todos os produtos" */
    body.catalog-page .departments-section-head.category-section-head {
        margin-bottom: 0.35rem;
        padding: 0;
    }

    body.catalog-page .departments-section-head .category-section-view-all {
        position: static;
        transform: none;
        align-self: flex-end;
        margin: 0 0 0.15rem;
        padding-right: 0.15rem;
        font-size: 0.72rem;
        line-height: 1.2;
    }

    /* Cards sob consulta — label e botão igual à página de detalhes */
    body.catalog-page .product-quote-label {
        white-space: nowrap;
        font-size: 0.58rem !important;
        letter-spacing: 0.02em;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body.catalog-page .btn-buy-now.btn-contact-us {
        background: #fff !important;
        color: #1a1a1a !important;
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        gap: 0.4rem !important;
    }

    body.catalog-page .btn-buy-now.btn-contact-us span {
        white-space: nowrap;
        font-size: 0.58rem !important;
    }

    /* Setas dos carrosséis — mesmo visual da trust bar (chevron simples, sem círculo) */
    body.catalog-page .carousel-nav-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        padding: 0;
        margin: 0;
        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #1a1a1a !important;
        cursor: pointer;
        flex-shrink: 0;
        opacity: 0.75;
        z-index: 10;
        font-size: inherit;
        transition: opacity 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    body.catalog-page .carousel-nav-btn:hover,
    body.catalog-page .carousel-nav-btn:focus {
        background: transparent !important;
        border: none !important;
        color: #1a1a1a !important;
        box-shadow: none !important;
    }

    body.catalog-page .carousel-nav-btn:active {
        opacity: 1;
    }

    body.catalog-page .carousel-nav-btn i {
        font-size: 12px !important;
        line-height: 1;
        color: #1a1a1a !important;
        opacity: 1 !important;
    }

    body.catalog-page .carousel-nav-btn.prev {
        left: 4px !important;
    }

    body.catalog-page .carousel-nav-btn.next {
        right: 4px !important;
    }

    body.catalog-page .departments-carousel-wrapper {
        padding: 0 !important;
        overflow: hidden;
        position: relative;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    body.catalog-page .departments-carousel {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: flex-start;
        gap: 0.65rem !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 0.35rem 0.15rem 0.65rem !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y pinch-zoom;
    }

    body.catalog-page .departments-carousel .department-card {
        flex: 0 0 88px !important;
        width: 88px !important;
        max-width: 88px !important;
        scroll-snap-align: start;
    }

    body.catalog-page .departments-section .carousel-nav-btn {
        z-index: 11;
    }

    /* Banner assistência técnica — full width edge-to-edge (template 1779647105111) */
    body.catalog-page .home-banner-mobile-fullwidth,
    body.catalog-page [data-section-id="bannerTemplate_template_1779647105469"] {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        margin-top: var(--section-spacing, 10px) !important;
        margin-bottom: var(--section-spacing, 10px) !important;
        padding: 0 !important;
        border-radius: 0 !important;
        overflow: hidden;
        box-sizing: border-box;
    }

    body.catalog-page .home-banner-mobile-fullwidth img,
    body.catalog-page [data-section-id="bannerTemplate_template_1779647105469"] img {
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        display: block !important;
        border-radius: 0 !important;
    }

    body.catalog-page .home-banner-mobile-fullwidth > a,
    body.catalog-page .home-banner-mobile-fullwidth > div,
    body.catalog-page .home-banner-mobile-fullwidth .banner-carousel,
    body.catalog-page [data-section-id="bannerTemplate_template_1779647105469"] > a,
    body.catalog-page [data-section-id="bannerTemplate_template_1779647105469"] > div,
    body.catalog-page [data-section-id="bannerTemplate_template_1779647105469"] .banner-carousel {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        overflow: hidden;
    }

    body.catalog-page .site-contact-bar,
    body.catalog-page .site-contact-bar-inner {
        display: none !important;
    }

    body.catalog-page .site-announcement-text {
        padding-left: 8px;
        padding-right: 8px;
        box-sizing: border-box;
    }

    /* Rodapé — layout mobile (logo, redes, divisor, telefone, endereço) */
    body.catalog-page .footer-main {
        flex-direction: column;
        align-items: center;
        gap: 0.85rem;
        padding: 1.1rem 0 1.25rem;
    }

    body.catalog-page .footer-logo-img {
        height: 52px;
    }

    body.catalog-page .footer-contact {
        flex-direction: column;
        align-items: center;
        gap: 0.65rem;
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    body.catalog-page .footer-social {
        justify-content: center;
        gap: 0.85rem;
        width: 100%;
    }

    body.catalog-page .footer-hsep {
        display: none;
    }

    body.catalog-page .footer-vdivider {
        display: block;
        width: 1px;
        height: 28px;
        background: rgba(240, 224, 0, 0.35);
        margin: 0.2rem 0;
    }

    body.catalog-page .footer-phone {
        justify-content: center;
        font-size: 0.82rem;
    }

    body.catalog-page .footer-address {
        justify-content: center;
        text-align: center;
        font-size: 0.8rem;
        line-height: 1.45;
        max-width: 300px;
    }

    body.catalog-page .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 0.45rem;
        padding: 0.85rem 3.75rem 1.1rem 0.75rem;
        text-align: center;
    }

    body.catalog-page .footer-bottom-text {
        white-space: normal;
        line-height: 1.45;
        max-width: 100%;
        font-size: 0.72rem;
    }

    body.catalog-page .footer-dev {
        font-size: 0.72rem;
        line-height: 1.45;
    }

    /* ─── Botão Filtros (mobile) — estilo Mercado Livre ─── */
    .catalog-toolbar-row {
        display: flex;
        gap: 0.5rem;
        width: 100%;
    }

    .catalog-toolbar-row .catalog-filter-btn {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 6px;
        margin: 0;
        padding: 0.6rem 0.75rem;
        background: #fff;
        color: #1a1a1a;
        border: 1px solid #bbb;
        border-radius: 0;
        font-size: 0.8rem;
        font-weight: 600;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        justify-content: center;
        height: 40px;
        box-sizing: border-box;
    }

    .catalog-toolbar-row .catalog-filter-btn svg {
        flex-shrink: 0;
    }

    .catalog-toolbar-row .top-toolbar-group.catalog-header-sort {
        flex: 1;
        display: flex;
        margin: 0;
    }

    .catalog-toolbar-row .top-toolbar-select-wrap {
        flex: 1;
        display: flex;
    }

    .catalog-toolbar-row .top-toolbar-select {
        flex: 1;
        padding: 0 0.75rem;
        border: 1px solid #3483fa;
        border-radius: 0;
        font-size: 0.8rem;
        font-weight: 600;
        background: #fff;
        color: #3483fa;
        height: 40px;
        box-sizing: border-box;
        -webkit-appearance: none;
        appearance: none;
        cursor: pointer;
        padding-right: 2rem;
    }

    .catalog-header-showing {
        text-align: center !important;
        width: 100% !important;
        margin: 0.5rem 0 !important;
    }

    .catalog-toolbar-row .top-toolbar-select {
        flex: 1;
        padding: 0 0.75rem;
        border: 1px solid #bbb !important;
        border-radius: 0 !important;
        font-size: 0.8rem;
        font-weight: 600;
        background: #fff;
        color: #1a1a1a;
        height: 40px;
        box-sizing: border-box;
        -webkit-appearance: none;
        appearance: none;
        cursor: pointer;
        padding-right: 2rem;
    }

    .catalog-sort-label {
        display: none !important;
    }

    /* Esconde o SVG de chevron duplicado */
    .catalog-toolbar-row .top-toolbar-select-icon {
        position: absolute;
        right: 0.65rem;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        color: #3483fa;
        font-size: 0.7rem;
    }

    /* ─── Drawer de Filtros ─── */
    .filter-drawer-backdrop {
        position: fixed;
        inset: 0;
        z-index: 22000;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .filter-drawer {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 22020;
        width: min(88vw, 320px);
        height: 100%;
        background: #fff;
        overflow: hidden;
        transform: translateX(-100%);
        pointer-events: none;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
    }

    body.filter-drawer-open .filter-drawer {
        transform: translateX(0);
        pointer-events: auto;
    }

    .filter-drawer .mobile-drawer-header {
        flex-shrink: 0;
    }

    .filter-drawer .mobile-drawer-body {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        min-height: 0;
        -webkit-overflow-scrolling: touch;
        display: flex;
        flex-direction: column;
    }

    .filter-drawer .filter-drawer-actions {
        flex-shrink: 0;
        margin-top: auto;
    }

    body.filter-drawer-open .filter-drawer-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .filter-drawer-search {
        padding: 0.5rem 0.75rem 0.25rem;
    }

    .filter-drawer-search input {
        width: 100%;
        padding: 0.55rem 0.75rem;
        border: 1px solid #d4d4d4;
        border-radius: 6px;
        font-size: 0.82rem;
        background: #f8f8f8;
        box-sizing: border-box;
    }

    .filter-drawer-list {
        max-height: 280px;
        overflow-y: auto;
        padding: 0.25rem 0.75rem;
        -webkit-overflow-scrolling: touch;
    }

    .filter-drawer-list label {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0.45rem 0.5rem;
        font-size: 0.82rem;
        color: #1a1a1a;
        cursor: pointer;
        border-radius: 0;
        transition: background 0.15s;
        border-bottom: 1px solid #f0f0f0;
    }

    .filter-drawer-list label:hover {
        background: #f0f4f8;
    }

    .filter-drawer-list label input[type="checkbox"] {
        accent-color: #103070;
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        margin: 0;
    }

    .filter-drawer-price-row {
        display: flex;
        gap: 0.5rem;
        padding: 0.6rem 0.75rem;
        border-bottom: 1px solid #eee;
        background: #fafafa;
        width: 100%;
        box-sizing: border-box;
    }

    .filter-drawer-price-field {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .filter-drawer-price-field label {
        font-size: 0.75rem;
        color: #333;
        font-weight: 600;
    }

    .filter-drawer-price-field input {
        padding: 0.55rem 0.5rem;
        border: 1px solid #d4d4d4;
        border-radius: 0;
        font-size: 0.85rem;
        background: #fff;
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
    }

    .filter-drawer-actions {
        display: flex;
        gap: 0.5rem;
        padding: 0.75rem;
        border-top: 1px solid #eee;
        margin-top: 0;
    }

    .filter-drawer-btn {
        flex: 1;
        padding: 0.65rem;
        border: 1px solid #ccc;
        border-radius: 0;
        font-size: 0.85rem;
        font-weight: 600;
        cursor: pointer;
        text-align: center;
        background: #f5f5f5;
        color: #1a1a1a;
    }

    .filter-drawer-btn--apply {
        background: #f5f5f5;
        color: #1a1a1a;
        border: 1px solid #ccc;
    }

    .filter-drawer-btn--clear {
        background: #f5f5f5;
        color: #1a1a1a;
        border: 1px solid #ccc;
    }

    .filter-drawer .mobile-drawer-body {
        padding-bottom: 0;
    }

    .filter-drawer .mobile-drawer-accordion {
        border-bottom: 1px solid #eee;
    }

    /* Esconde filtros inline antigos no mobile (substituídos pelo drawer) */
    body.catalog-page #catalogGridFilters,
    body.catalog-page .filter-section.filter-dropdown,
    body.catalog-page #mobilePriceSection {
        display: none !important;
    }
}
