/* Loja no celular (≤768px), padrão de app: topo com menu/logo/carrinho, busca, linha de CEP,
   banner em cartão, categorias em fila e barra inferior. Cores sempre do tema de cada loja. */
.mobile-cep-line, .store-tabbar { display: none; }

@media (max-width: 768px) {
  html body { --sm-accent: var(--ap-accent, #0f766e); --sm-ink: var(--ap-ink, #0f172a); --sm-muted: #64748b; --sm-line: #e6e9ee; --sm-soft: #f5f7f9;
    --sm-r: var(--ap-r-card, 16px); --sm-tab-h: 64px; }

  /* Topo: menu · logo · carrinho */
  html body #headerMobileRow.mobile-compact-header { display: grid !important; grid-template-columns: 48px 1fr auto !important; align-items: center !important; gap: 8px !important;
    min-height: 60px !important; padding: 6px 12px !important; }
  html body #headerMobileRow .mobile-compact-header__menu { grid-column: 1 !important; display: grid !important; place-items: center !important; width: 44px !important; height: 44px !important; margin: 0 !important;
    padding: 0 !important; border: 0 !important; border-radius: 12px !important; background: transparent !important; }
  html body #headerMobileRow .mobile-compact-header__menu i, html body #headerMobileRow .mobile-compact-header__cart-ico { font-size: 22px !important; }
  html body #headerMobileRow .mobile-compact-header__center { grid-column: 2 !important; grid-row: 1 !important; display: flex !important; justify-content: center !important; min-width: 0 !important;
    position: static !important; inset: auto !important; margin: 0 !important; transform: none !important; width: auto !important; }
  html body #headerMobileRow .mobile-compact-header__logo img { display: block !important; width: auto !important; height: 46px !important; max-width: 180px !important; object-fit: contain !important; }
  html body #headerMobileRow .mobile-compact-header__end { grid-column: 3 !important; grid-row: 1 !important; display: flex !important; align-items: center !important; justify-content: flex-end !important; gap: 4px !important; margin: 0 !important; }
  html body #headerMobileRow .mobile-compact-header__cart { position: relative !important; display: grid !important; place-items: center !important; width: 44px !important; height: 44px !important; font-size: 22px !important; }
  html body #headerMobileRow #cartBadge { position: absolute !important; top: 0 !important; right: -2px !important; min-width: 20px !important; height: 20px !important; padding: 0 5px !important;
    border: 2px solid var(--site-header-bg, #fff) !important; border-radius: 999px !important; background: var(--sm-accent) !important; color: #fff !important;
    font: 700 11px/16px var(--ap-body, system-ui) !important; text-align: center !important; }

  /* Busca */
  html body #headerMobileSearch.search-bar-mobile { padding: 4px 16px 0 !important; background: var(--site-header-bg, #fff) !important; }
  html body #headerMobileSearch .search-input-wrapper { position: relative !important; display: flex !important; align-items: center !important; gap: 0 !important; height: 52px !important;
    padding: 0 4px 0 0 !important; border: 1px solid var(--sm-line) !important; border-radius: 16px !important; background: var(--sm-soft) !important; box-shadow: none !important; }
  html body #headerMobileSearch #searchInputMobile { flex: 1 !important; min-width: 0 !important; height: 100% !important; padding: 0 8px 0 16px !important; border: 0 !important; background: transparent !important;
    color: var(--sm-ink) !important; font-size: 15px !important; outline: none !important; }
  html body #headerMobileSearch .search-btn-mobile { display: grid !important; place-items: center !important; flex: none !important; width: 52px !important; height: 44px !important; margin: 0 !important;
    border: 0 !important; border-radius: 12px !important; background: var(--sm-accent) !important; color: #fff !important; font-size: 18px !important; }

  /* CEP: ícone compacto ao lado do carrinho, no topo */
  html body #headerMobileRow #headerCepBtn.mobile-cep-line { display: grid; place-items: center; width: 40px; height: 40px; margin: 0; padding: 0;
    border: 0; border-radius: 12px; background: transparent; color: var(--sm-ink); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .15s ease; }
  html body #headerMobileRow #headerCepBtn.mobile-cep-line:active { background: var(--sm-soft); }
  html body #headerMobileRow #headerCepBtn.mobile-cep-line:focus-visible { outline: 2px solid var(--sm-accent); outline-offset: 2px; }
  html body #headerCepBtn .mobile-cep-line__pin { display: grid; place-items: center; width: 100%; height: 100%; color: var(--sm-accent); font-size: 19px; }
  html body #headerCepBtn.mobile-cep-line.is-empty .mobile-cep-line__pin { color: var(--sm-accent); }

  /* Banner em cartão arredondado */
  html body #homeHeroBanner.home-hero-banner-slot { width: auto !important; max-width: none !important; margin: 6px 16px 0 !important; border-radius: calc(var(--sm-r) + 4px) !important; overflow: hidden !important;
    box-shadow: 0 14px 30px -18px rgba(15,23,42,.45) !important; }
  html body #homeHeroBanner > *, html body #homeHeroBanner .home-banner-fullwidth { width: 100% !important; max-width: 100% !important; margin: 0 !important; left: auto !important; }
  html body #homeHeroBanner img { display: block !important; width: 100% !important; height: auto !important; }

  /* Seções: título e "Ver todas" no padrão da referência */
  html body .main-content .category-section-head { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 12px !important; padding: 0 16px !important; margin-bottom: 12px !important; }
  html body .main-content .category-section-title { font-size: 20px !important; line-height: 1.2 !important; letter-spacing: -.01em !important; color: var(--sm-ink) !important; }
  html body .category-section .category-section-view-all, html body #departmentsSection .category-section-view-all { color: var(--sm-accent) !important; font-weight: 600 !important; text-decoration: underline !important; text-underline-offset: 3px !important; white-space: nowrap !important; }
  html body .products-section .category-section-view-all { font-size: 13.5px !important; }
  html body #departmentsSection .category-section-view-all::before { font-size: 13.5px !important; }
  html body #departmentsSection .departments-section-head::before { font-size: 20px !important; color: var(--sm-ink) !important; }

  /* Compre por categoria: fila de miniaturas com rolagem lateral natural */
  html body #departmentsSection .carousel-nav-btn { display: none !important; }
  html body #departmentsSection .departments-carousel { display: flex !important; gap: 10px !important; overflow-x: auto !important; padding: 2px 16px 6px !important; scroll-snap-type: x proximity !important;
    scrollbar-width: none !important; transform: none !important; }
  html body #departmentsSection .departments-carousel::-webkit-scrollbar { display: none !important; }
  html body #departmentsSection .department-card { flex: 0 0 86px !important; width: 86px !important; min-width: 0 !important; height: auto !important; padding: 0 !important; margin: 0 !important;
    border: 0 !important; background: none !important; box-shadow: none !important; scroll-snap-align: start !important; text-align: center !important; }
  html body #departmentsSection .department-image-container { display: grid !important; place-items: center !important; width: 86px !important; height: 86px !important; margin: 0 0 8px !important;
    padding: 8px !important; border: 1px solid var(--sm-line) !important; border-radius: var(--sm-r) !important; background: var(--sm-soft) !important; }
  html body #departmentsSection .department-image { width: 100% !important; height: 100% !important; object-fit: contain !important; }
  html body #departmentsSection .department-name { display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important;
    color: var(--sm-ink) !important; font-size: 12.5px !important; font-weight: 500 !important; line-height: 1.3 !important; }

  /* Cartões de produto */
  html body :is(.main-content, .products-main, .related-products-section) .product-card { border: 1px solid var(--sm-line) !important; border-radius: var(--sm-r) !important; background: #fff !important; box-shadow: 0 10px 24px -20px rgba(15,23,42,.5) !important; overflow: hidden !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card .product-image { background: var(--sm-soft) !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card .product-name { color: var(--sm-ink) !important; font-weight: 600 !important; }

  /* Barra inferior */
  html body .store-tabbar { position: fixed; z-index: 9990; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr);
    height: calc(var(--sm-tab-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--sm-line); background: rgba(255,255,255,.97);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 -8px 24px -18px rgba(15,23,42,.35); }
  html body .store-tabbar > a, html body .store-tabbar > button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; padding: 0; border: 0;
    background: none; color: var(--sm-muted); font: 500 12px/1.1 var(--ap-body, system-ui); text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  html body .store-tabbar i { font-size: 21px; }
  html body .store-tabbar [aria-current="page"] { color: var(--sm-accent); font-weight: 700; }
  html body .store-tabbar a:focus-visible, html body .store-tabbar button:focus-visible { outline: 2px solid var(--sm-accent); outline-offset: -4px; border-radius: 12px; }
  html body.has-store-tabbar { padding-bottom: calc(var(--sm-tab-h) + env(safe-area-inset-bottom)) !important; }
  html body.has-store-tabbar .stelc-chat-bubble:not(.stelc-chat-bubble--in-header) { bottom: calc(var(--sm-tab-h) + 14px + env(safe-area-inset-bottom)) !important; }
  html body.has-store-tabbar .stelc-chat-panel { bottom: calc(var(--sm-tab-h) + 80px + env(safe-area-inset-bottom)) !important; max-height: calc(100dvh - var(--sm-tab-h) - 120px) !important; }
}

/* Menu (gaveta), aba Menu: lista com ícone, divisória e seta; conta embaixo com "Entrar" e "Criar conta". */
@media (max-width: 768px) {
  /* Aba Menu: lista única num cartão, linhas com ícone · título · seta e divisória fina */
  html body #mobileDrawer[data-tab="menu"] .mobile-drawer-nav:not(.mobile-drawer-nav--account) { flex: 0 0 auto !important; gap: 0 !important; margin: 0 !important; padding: 2px 6px !important;
    border: 1px solid var(--sm-line) !important; border-radius: 16px !important; background: #fff !important; box-shadow: none !important; }
  html body #mobileDrawer[data-tab="menu"] .mobile-drawer-nav:not(.mobile-drawer-nav--account) > .mobile-drawer-link { min-height: 50px !important; gap: 14px !important; padding: 0 10px !important;
    border: 0 !important; border-radius: 10px !important; background: none !important; box-shadow: none !important; font-size: .95rem !important; }
  html body #mobileDrawer[data-tab="menu"] .mobile-drawer-nav:not(.mobile-drawer-nav--account) > .mobile-drawer-link ~ .mobile-drawer-link:not([hidden]) {
    background: linear-gradient(var(--sm-line), var(--sm-line)) 48px 0 / calc(100% - 58px) 1px no-repeat !important; }
  html body #mobileDrawer[data-tab="menu"] .mobile-drawer-nav:not(.mobile-drawer-nav--account) > .mobile-drawer-link:active { background-color: var(--sm-soft) !important; }
  html body #mobileDrawer[data-tab="menu"] .mobile-drawer-nav:not(.mobile-drawer-nav--account) > .mobile-drawer-link::before {
    flex: 0 0 22px !important; width: 22px !important; height: 22px !important; border-radius: 0 !important; color: var(--sm-accent) !important;
    -webkit-mask-size: 20px 20px !important; mask-size: 20px 20px !important; }
  html body #mobileDrawer[data-tab="menu"] .mobile-drawer-nav:not(.mobile-drawer-nav--account) > .mobile-drawer-link::after { content: ""; flex: 0 0 auto; width: 14px; height: 14px; margin-left: auto;
    -webkit-mask: var(--si-chevron-right) center / 14px 14px no-repeat; mask: var(--si-chevron-right) center / 14px 14px no-repeat; background-color: #a3acb9; }
  html body #mobileDrawer .mobile-drawer-link--cats::before { content: ""; -webkit-mask: var(--si-layers) center no-repeat; mask: var(--si-layers) center no-repeat; background-color: currentColor !important; }
  html body #mobileDrawer .mobile-drawer-link--ofertas::before { content: ""; -webkit-mask: var(--si-percent) center no-repeat; mask: var(--si-percent) center no-repeat; background-color: currentColor !important; }
  html body #mobileDrawer .mobile-drawer-link--pedidos::before { content: ""; -webkit-mask: var(--si-package) center no-repeat; mask: var(--si-package) center no-repeat; background-color: currentColor !important; }
  html body #mobileDrawer .mobile-drawer-link--cupons::before { content: ""; -webkit-mask: var(--si-ticket) center no-repeat; mask: var(--si-ticket) center no-repeat; background-color: currentColor !important; }
  html body #mobileDrawer .mobile-drawer-link--dados::before { content: ""; -webkit-mask: var(--si-user-round-cog) center no-repeat; mask: var(--si-user-round-cog) center no-repeat; background-color: currentColor !important; }
  html body #mobileDrawer .mobile-drawer-link--ajuda::before { content: ""; -webkit-mask: var(--si-headset) center no-repeat; mask: var(--si-headset) center no-repeat; background-color: currentColor !important; }
  html body #mobileDrawer #mobileDrawerCart .cart-badge { position: absolute; right: 36px; margin: 0 !important; }
  html body #mobileDrawer #mobileDrawerCart .cart-badge:empty { display: none !important; }

  /* Conta: fora do cartão, presa no rodapé do quadro */
  html body #mobileDrawer#mobileDrawer[data-tab="menu"] .mobile-drawer-nav--account.mobile-drawer-nav--account { flex: 1 0 auto !important; flex-direction: column !important; flex-wrap: nowrap !important; justify-content: flex-end !important;
    gap: 10px !important; margin-top: 12px !important; padding: 0 2px !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
  html body #mobileDrawer#mobileDrawer .mobile-drawer-link--login { flex: 0 0 auto !important; width: 100% !important; min-height: 50px !important; justify-content: center !important; gap: 10px !important;
    border-radius: 16px !important; background: linear-gradient(135deg, var(--sm-accent), color-mix(in srgb, var(--sm-accent) 72%, #000)) !important; color: #fff !important;
    font-size: 1rem !important; box-shadow: 0 14px 26px -16px color-mix(in srgb, var(--sm-accent) 80%, transparent) !important; }
  html body #mobileDrawer .mobile-drawer-link--login::before { content: "" !important; width: 20px !important; height: 20px !important; flex: 0 0 20px !important;
    -webkit-mask: var(--si-user-round) center / 20px 20px no-repeat !important; mask: var(--si-user-round) center / 20px 20px no-repeat !important; background: #fff !important; }
  html body #mobileDrawer .mobile-drawer-link--login::after { content: ""; position: absolute; right: 18px; width: 18px; height: 18px;
    -webkit-mask: var(--si-chevron-right) center / 18px 18px no-repeat; mask: var(--si-chevron-right) center / 18px 18px no-repeat; background: #fff; }

  /* aba Menu: a folha cresce até o conteúdo (sem cortar "Criar conta") */
  html body aside#mobileDrawer.mobile-drawer[data-tab="menu"] { height: auto !important; max-height: 92dvh !important; }
  html body #mobileDrawer#mobileDrawer[data-tab="menu"] .mobile-drawer-nav--account.mobile-drawer-nav--account { flex: 0 0 auto !important; padding-bottom: 4px !important; }
  /* cartão da conta + abas: degradê só com a cor da loja */
  html body #mobileDrawer > .mobile-drawer-account-card { background: linear-gradient(180deg, var(--sm-accent) 0%, color-mix(in srgb, var(--sm-accent) 82%, #000) 100%) !important; }
  html body #mobileDrawer > .mobile-drawer-account-card + .md-tabs { background: linear-gradient(180deg, color-mix(in srgb, var(--sm-accent) 82%, #000) 0%, color-mix(in srgb, var(--sm-accent) 66%, #000) 100%) !important; }
}

/* Topo v2 (23/10/2026): [menu · CEP]  logo no centro exato  [busca · carrinho]; busca em tela cheia pela lupa;
   barra inferior Início · Produtos · Conta · Atendimento. Laterais 1fr iguais: a logo não anda com a largura dos ícones. */
.mobile-compact-header__start, .mobile-compact-header__search { display: none; }
@media (max-width: 768px) {
  html body #headerMobileRow#headerMobileRow.mobile-compact-header { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important; gap: 4px !important; padding: 6px 8px !important; }
  html body #headerMobileRow .mobile-compact-header__start { grid-column: 1 !important; grid-row: 1 !important; display: flex !important; align-items: center !important; justify-content: flex-start !important; gap: 2px !important; min-width: 0 !important; }
  html body #headerMobileRow .mobile-compact-header__start .mobile-compact-header__menu { grid-column: auto !important; }
  html body #headerMobileRow .mobile-compact-header__end { gap: 2px !important; }
  html body #headerMobileRow .mobile-compact-header__logo img { height: 44px !important; max-width: min(150px, 40vw) !important; }
  html body #headerMobileRow #headerCepBtn.mobile-cep-line, html body #headerMobileRow .mobile-compact-header__search { display: grid !important; place-items: center !important; width: 44px !important; height: 44px !important;
    margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 12px !important; background: transparent !important; color: var(--sm-ink) !important; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  html body #headerMobileRow .mobile-compact-header__search i { font-size: 21px !important; }
  html body #headerMobileRow #headerCepBtn .mobile-cep-line__pin { font-size: 20px !important; }
  html body #headerMobileRow .mobile-compact-header__search:active, html body #headerMobileRow #headerCepBtn.mobile-cep-line:active { background: var(--sm-soft) !important; }
  html body #headerMobileRow .mobile-compact-header__search:focus-visible { outline: 2px solid var(--sm-accent) !important; outline-offset: -2px !important; }
  @media (max-width: 340px) {
    html body #headerMobileRow .mobile-compact-header__menu, html body #headerMobileRow #headerCepBtn.mobile-cep-line,
    html body #headerMobileRow .mobile-compact-header__search, html body #headerMobileRow .mobile-compact-header__cart { width: 40px !important; height: 44px !important; }
    html body #headerMobileRow .mobile-compact-header__logo img { max-width: 34vw !important; }
  }

  /* Busca: fechada não ocupa espaço; aberta cobre a tela com fundo sólido do cabeçalho. */
  html body #headerMobileSearch#headerMobileSearch.search-bar-mobile { display: none !important; }
  html body #headerMobileSearch#headerMobileSearch.search-bar-mobile.is-open { position: fixed !important; inset: 0 !important; z-index: 10050 !important; display: flex !important; flex-direction: column !important;
    margin: 0 !important; padding: 0 !important; border: 0 !important; background: var(--site-header-bg, var(--cab-fundo, #fff)) !important; color: var(--sm-ink) !important; overscroll-behavior: contain; }
  html body.msearch-open { position: fixed !important; left: 0 !important; right: 0 !important; overflow: hidden !important; }
  html body #headerMobileSearch .msearch-top { display: flex; align-items: center; gap: 6px; padding: calc(8px + env(safe-area-inset-top)) 12px 10px 6px; border-bottom: 1px solid var(--sm-line); }
  html body #headerMobileSearch .msearch-back { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--sm-ink); font-size: 20px; cursor: pointer; }
  html body #headerMobileSearch .msearch-back:focus-visible, html body #headerMobileSearch .msearch-clear:focus-visible { outline: 2px solid var(--sm-accent); outline-offset: -2px; }
  html body #headerMobileSearch#headerMobileSearch div.search-input-wrapper { flex: 1 !important; min-width: 0 !important; height: 48px !important; padding: 0 4px 0 14px !important; gap: 8px !important;
    border: 1px solid var(--sm-line) !important; border-radius: 14px !important; background: var(--sm-soft) !important; box-shadow: none !important; }
  html body #headerMobileSearch#headerMobileSearch div.search-input-wrapper:focus-within { border-color: var(--sm-accent) !important; }
  html body #headerMobileSearch .msearch-ico { flex: none; color: var(--sm-muted); font-size: 16px; }
  html body #headerMobileSearch#headerMobileSearch #searchInputMobile { flex: 1 !important; height: 100% !important; padding: 0 !important; border: 0 !important; background: transparent !important;
    color: var(--sm-ink) !important; font-size: 16px !important; outline: none !important; box-shadow: none !important; }
  html body #headerMobileSearch .msearch-clear { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--sm-muted); font-size: 18px; cursor: pointer; }
  html body #headerMobileSearch .msearch-clear[hidden] { display: none; }
  html body #headerMobileSearch#headerMobileSearch #searchBtnMobile { display: none !important; }
  html body #headerMobileSearch .msearch-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 4px 0 calc(24px + env(safe-area-inset-bottom)); }
  html body #headerMobileSearch .msearch-intro[hidden], html body #headerMobileSearch .msearch-group[hidden] { display: none; }
  html body #headerMobileSearch .msearch-group { padding: 16px 16px 4px; }
  html body #headerMobileSearch .msearch-group-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
  html body #headerMobileSearch .msearch-group-head h2 { margin: 0; color: var(--sm-ink); font-size: 16px; font-weight: 700; }
  html body #headerMobileSearch .msearch-link { padding: 6px 0; border: 0; background: none; color: var(--sm-accent); font-size: 13.5px; font-weight: 600; cursor: pointer; }
  html body #headerMobileSearch .msearch-chips { display: flex; flex-wrap: wrap; gap: 8px; }
  html body #headerMobileSearch .msearch-chip { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 40px; padding: 0 14px; border: 1px solid var(--sm-line); border-radius: 999px;
    background: var(--sm-soft); color: var(--sm-ink); font-size: 14px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html body #headerMobileSearch .msearch-chip i { color: var(--sm-muted); font-size: 13px; }
  html body #headerMobileSearch .msearch-chip:active { border-color: var(--sm-accent); }
  /* Sugestões de produto (site-store-header-core.js) viram lista dentro da tela, não um pop-up. */
  html body #headerMobileSearch#headerMobileSearch .search-dropdown { position: static !important; inset: auto !important; display: none !important; width: auto !important; max-height: none !important;
    margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; transform: none !important; }
  html body #headerMobileSearch#headerMobileSearch .search-dropdown.show { display: block !important; }
  html body #headerMobileSearch .search-dropdown-scroll { max-height: none !important; overflow: visible !important; }
  html body #headerMobileSearch .search-dropdown-item { display: flex !important; align-items: center !important; gap: 12px !important; min-height: 64px !important; padding: 8px 16px !important; border-bottom: 1px solid var(--sm-line) !important; }
  html body #headerMobileSearch .search-dropdown-img { flex: none !important; width: 52px !important; height: 52px !important; object-fit: contain !important; border-radius: 10px !important; background: var(--sm-soft) !important; }
  html body #headerMobileSearch .search-dropdown-empty { padding: 28px 16px 8px !important; color: var(--sm-muted) !important; text-align: center !important; }
  html body #headerMobileSearch .search-dropdown-footer a { display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; min-height: 48px !important; margin: 12px 16px 0 !important;
    border-radius: 14px !important; background: var(--sm-accent) !important; color: #fff !important; font-weight: 600 !important; text-decoration: none !important; }

  /* Barra inferior: Atendimento no lugar de Categorias; o balão flutuante sai (a barra já abre o chat). */
  html body .store-tabbar .store-tabbar__ico { position: relative; display: grid; place-items: center; width: 24px; height: 24px; }
  html body .store-tabbar .store-tabbar__ico svg { width: 22px; height: 22px; }
  html body .store-tabbar .store-tabbar__badge { position: absolute; top: -6px; right: -10px; min-width: 18px; height: 18px; padding: 0 4px; border: 2px solid #fff; border-radius: 999px;
    background: var(--sm-accent); color: #fff; font: 700 10px/14px var(--ap-body, system-ui); text-align: center; }
  html body .store-tabbar .store-tabbar__badge[hidden] { display: none; }
  html body .store-tabbar [aria-expanded="true"] { color: var(--sm-accent); font-weight: 700; }
  html body.has-store-tabbar .stelc-chat-bubble:not(.stelc-chat-bubble--in-header) { display: none !important; }
}

@media (max-width: 768px) {
  /* Ordem fixa no grupo da esquerda: menu e depois CEP (folhas antigas punham o CEP primeiro). */
  html body #headerMobileRow .mobile-compact-header__start > .mobile-compact-header__menu { order: 1 !important; }
  html body #headerMobileRow .mobile-compact-header__start > #headerCepBtn { order: 2 !important; }
}

@media (max-width: 768px) {
  /* Sugestões de produto na tela de busca: grade de 2 colunas (foto 1:1, nome em até 2 linhas, preço). */
  html body #headerMobileSearch#headerMobileSearch .search-dropdown-scroll { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important;
    flex-direction: initial !important; overflow: visible !important; padding: 12px 16px 0 !important; }
  html body #headerMobileSearch#headerMobileSearch .search-dropdown-item { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 6px !important; width: auto !important; min-width: 0 !important;
    min-height: 0 !important; margin: 0 !important; padding: 8px !important; border: 1px solid var(--sm-line) !important; border-radius: var(--sm-r) !important; background: #fff !important; box-shadow: none !important; text-decoration: none !important; }
  html body #headerMobileSearch#headerMobileSearch .search-dropdown-img { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1 !important; }
  html body #headerMobileSearch#headerMobileSearch .search-dropdown-info { min-width: 0 !important; }
  html body #headerMobileSearch#headerMobileSearch .search-dropdown-name { display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important;
    white-space: normal !important; text-overflow: clip !important; color: var(--sm-ink) !important; font-size: 13px !important; font-weight: 600 !important; line-height: 1.3 !important; text-align: left !important; }
  html body #headerMobileSearch#headerMobileSearch .search-dropdown-sku { display: none !important; }
  html body #headerMobileSearch#headerMobileSearch .search-dropdown-prices, html body #headerMobileSearch#headerMobileSearch .search-dropdown-price { margin: 0 !important; text-align: left !important; }
  html body #headerMobileSearch#headerMobileSearch .search-dropdown-price { color: var(--sm-ink) !important; font-size: 14px !important; font-weight: 700 !important; }
}

/* Cartões de produto no celular (23/10/2026): foto 1:1, nome em até 3 linhas, preço logo abaixo e o carrinho
   compacto ao lado do preço. Quantidade e selo de estoque saem do cartão (ficam na página do produto);
   "Avise-me" e "sob consulta" continuam. Home: até 4 por seção em grade 2x2. Catálogo: grade de 2 colunas. */
@media (max-width: 768px) {
  /* Home: o carrossel horizontal vira grade 2x2 */
  html body .main-content .products-section .products-carousel-wrapper { padding: 0 16px !important; margin: 0 !important; }
  html body .main-content .products-section .carousel-nav-btn { display: none !important; }
  html body .main-content .products-section .products-carousel { display: grid !important; grid-template-columns: repeat(var(--grade-colunas, 2), minmax(0, 1fr)) !important; gap: 10px !important;
    overflow: visible !important; transform: none !important; padding: 0 !important; margin: 0 !important; scroll-snap-type: none !important; }
  html body .main-content .products-section .products-carousel > .product-card { width: auto !important; min-width: 0 !important; max-width: none !important; flex: none !important; margin: 0 !important; }
  html body .main-content .products-section { margin-top: 18px !important; margin-bottom: 0 !important; }

  /* Catálogo: 2 colunas, mesmo espaçamento */
  html body .main-content #productsGrid.products-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  html body .main-content #productsGrid .product-ghost { display: none !important; }

  /* Cartão */
  html body :is(.main-content, .products-main, .related-products-section) .product-card { display: flex !important; flex-direction: column !important; height: auto !important; min-height: 0 !important; padding: 0 !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card .product-image { position: relative !important; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1 !important; padding: 8px !important; margin: 0 !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card .product-image img { width: 100% !important; height: 100% !important; max-height: none !important; object-fit: contain !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card .product-info { display: flex !important; flex: 1 1 auto !important; flex-wrap: wrap !important; align-items: flex-end !important; align-content: flex-start !important;
    column-gap: 8px !important; row-gap: 6px !important; height: auto !important; min-height: 0 !important; padding: 10px 10px 12px !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card .product-name { flex: 1 0 100% !important; display: -webkit-box !important; -webkit-line-clamp: 3 !important; -webkit-box-orient: vertical !important; overflow: hidden !important;
    min-height: calc(3 * 1.3em) !important; height: auto !important; max-height: none !important; margin: 0 !important; font-size: 13.5px !important; line-height: 1.3 !important; white-space: normal !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card .product-meta-row { display: none !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card .product-prices { flex: 1 1 0 !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card .product-prices .price-row { margin: 0 !important; padding: 0 !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card .price-value { font-size: 16px !important; font-weight: 700 !important; line-height: 1.15 !important; color: var(--sm-ink) !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card .price-original { font-size: 11.5px !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card .discount-badge { font-size: 10px !important; padding: 1px 5px !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card .product-quote-label { font-size: 12px !important; font-weight: 700 !important; letter-spacing: .02em !important; color: var(--sm-muted) !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card .product-actions { flex: none !important; margin: 0 !important; padding: 0 !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card .card-bottom-row { display: flex !important; gap: 0 !important; margin: 0 !important; padding: 0 !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card .card-qty-stepper { display: none !important; }
  /* COMPRAR vira o botão de carrinho compacto (mesma ação: comprar agora) */
  html body :is(.main-content, .products-main, .related-products-section) .product-card .btn-buy-now { display: grid !important; place-items: center !important; width: 40px !important; min-width: 40px !important; height: 40px !important; padding: 0 !important;
    border: 0 !important; border-radius: 12px !important; background: var(--sm-accent) !important; color: #fff !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card .btn-buy-now:not(.btn-contact-us) span { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card .btn-buy-now::before { content: "\f07a"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; font-size: 16px; line-height: 1; }
  /* Sem estoque: o "Avise-me" ocupa a linha inteira, abaixo do nome */
  html body :is(.main-content, .products-main, .related-products-section) .product-card .product-actions:has(.btn-notify-stock) { flex: 1 0 100% !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card .btn-notify-stock { width: 100% !important; min-height: 38px !important; padding: 0 8px !important; font-size: 12px !important; border-radius: 12px !important; }

  /* Catálogo: "Ver mais" / carregando */
  html body .catalog-load-more { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; margin: 14px 16px 8px; color: var(--sm-muted); font-size: 14px; }
  html body .catalog-load-more[hidden] { display: none; }
  html body .catalog-load-more__btn { min-height: 46px; padding: 0 22px; border: 1px solid var(--sm-line); border-radius: 14px; background: #fff; color: var(--sm-ink); font-weight: 600; font-size: 14px; cursor: pointer; }
  html body .catalog-load-more__spin { width: 18px; height: 18px; border: 2px solid var(--sm-line); border-top-color: var(--sm-accent); border-radius: 50%; animation: sm-spin .8s linear infinite; }
  html body.has-store-tabbar #pagination, html body.has-store-tabbar .products-catalog-shell > .pagination { display: none !important; }
}
@keyframes sm-spin { to { transform: rotate(360deg); } }

@media (max-width: 768px) {
  /* Folhas antigas da home punham nome e preço na mesma linha e escondiam o botão: grade explícita, mais específica. */
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-info { display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; grid-auto-rows: auto !important;
    align-items: end !important; column-gap: 8px !important; row-gap: 6px !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-info > .product-name { grid-column: 1 / -1 !important; width: auto !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-info > .product-prices { grid-column: 1 !important; width: auto !important; flex-direction: column !important; align-items: flex-start !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-info > .product-actions { grid-column: 2 !important; display: block !important; visibility: visible !important; opacity: 1 !important; width: auto !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-info > .product-actions:has(.btn-notify-stock) { grid-column: 1 / -1 !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .card-bottom-row { display: flex !important; visibility: visible !important; opacity: 1 !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .btn-buy-now { display: grid !important; visibility: visible !important; opacity: 1 !important; position: relative !important; transform: none !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .btn-notify-stock { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 6px !important; visibility: visible !important; opacity: 1 !important; }
}

@media (max-width: 768px) {
  /* Ícone do carrinho em SVG próprio (a fonte de ícones da loja troca o glifo do Font Awesome). */
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .btn-buy-now::before { content: "" !important; width: 19px !important; height: 19px !important; background: currentColor !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%279%27 cy=%2721%27 r=%271%27/%3E%3Ccircle cx=%2720%27 cy=%2721%27 r=%271%27/%3E%3Cpath d=%27M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6%27/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%279%27 cy=%2721%27 r=%271%27/%3E%3Ccircle cx=%2720%27 cy=%2721%27 r=%271%27/%3E%3Cpath d=%27M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6%27/%3E%3C/svg%3E") center / contain no-repeat !important;
    font-size: 0 !important; }
  /* Sob consulta não é comprável pelo cartão: sem botão de compra, o texto ocupa a linha. */
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-info:has(.price-row--quote) > .product-actions { display: none !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-info:has(.price-row--quote) > .product-prices { grid-column: 1 / -1 !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-quote-label { text-align: left !important; white-space: normal !important; }
}

/* Ajustes 23/10/2026 (2): fundo branco, grade de largura total, botão "Carrinho" no rodapé do cartão,
   preço original e desconto numa linha e preço final embaixo; busca só com produtos. */
.btn-add-cart-m { display: none; }
@media (max-width: 768px) {
  /* Fundo branco (não off-white) nas categorias e nos produtos */
  html body #departmentsSection .department-image-container { background: #fff !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card, html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-image { background: #fff !important; }

  /* Seções da home de ponta a ponta (16 px de margem) */
  html body .main-content .products-section, html body .main-content .products-section .products-container,
  html body .main-content .products-section .products-carousel-wrapper { width: 100% !important; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; box-sizing: border-box !important; }
  html body .main-content .products-section .products-container { padding: 0 !important; }
  html body .main-content .products-section .products-carousel { width: 100% !important; max-width: none !important; }

  /* Cartão: uma coluna (nome, preço, botão) */
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-info { grid-template-columns: minmax(0, 1fr) !important; row-gap: 8px !important; align-items: start !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-info > .product-prices,
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-info > .product-actions { grid-column: 1 / -1 !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-name { min-height: calc(2 * 1.3em) !important; -webkit-line-clamp: 2 !important; }

  /* Preço: "de R$ X  -12%" numa linha, preço final embaixo */
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-prices { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 2px !important; min-height: 38px !important; justify-content: flex-end !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-prices .price-row, html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-prices .price-info {
    display: flex !important; flex-wrap: nowrap !important; align-items: center !important; gap: 6px !important; width: auto !important; margin: 0 !important; padding: 0 !important; justify-content: flex-start !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .price-original { font-size: 12px !important; line-height: 1.2 !important; color: var(--sm-muted) !important; text-decoration: line-through !important; white-space: nowrap !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .discount-badge { font-size: 0 !important; line-height: 1 !important; padding: 3px 6px !important; border-radius: 6px !important; white-space: nowrap !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .discount-badge::after { font-size: 11px !important; font-weight: 700 !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .price-value { font-size: 17px !important; white-space: nowrap !important; }

  /* Botão "Carrinho" de largura total no rodapé do cartão */
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .btn-buy-now { display: none !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .card-bottom-row { width: 100% !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .btn-add-cart-m { display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; width: 100% !important;
    min-height: 42px !important; margin: 0 !important; padding: 0 10px !important; border: 0 !important; border-radius: 12px !important; background: var(--sm-accent) !important; color: #fff !important;
    font: 600 14px/1 var(--ap-body, system-ui) !important; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .btn-add-cart-m:active { filter: brightness(.92); }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .btn-add-cart-m:focus-visible { outline: 2px solid var(--sm-ink) !important; outline-offset: 2px !important; }

  /* Busca: cartões ocupando a coluna inteira, preço alinhado à esquerda */
  html body #headerMobileSearch#headerMobileSearch .search-dropdown-scroll { width: 100% !important; box-sizing: border-box !important; }
  html body #headerMobileSearch#headerMobileSearch .search-dropdown-item { width: 100% !important; max-width: none !important; box-sizing: border-box !important; background: #fff !important; }
  html body #headerMobileSearch#headerMobileSearch .search-dropdown-img { background: #fff !important; }
  html body #headerMobileSearch#headerMobileSearch .search-dropdown-prices { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 2px !important; text-align: left !important; }
  html body #headerMobileSearch#headerMobileSearch .search-dropdown-discount-row { display: flex !important; align-items: center !important; gap: 6px !important; justify-content: flex-start !important; }
  html body #headerMobileSearch#headerMobileSearch .search-dropdown-original { font-size: 12px !important; color: var(--sm-muted) !important; }
  html body #headerMobileSearch#headerMobileSearch .search-dropdown-pix-row { display: block !important; text-align: left !important; }
  html body #headerMobileSearch#headerMobileSearch .search-dropdown-price { font-size: 16px !important; }
  html body #headerMobileSearch #mobileSearchCatsGroup { display: none !important; }
}
@media (max-width: 768px) {
  /* Desconto na busca com o mesmo selo dos cartões da vitrine */
  html body #headerMobileSearch#headerMobileSearch .search-dropdown-discount-row .discount-badge { display: inline-block !important; padding: 3px 6px !important; border-radius: 6px !important;
    background: #ef4444 !important; color: #fff !important; font: 700 11px/1 var(--ap-body, system-ui) !important; white-space: nowrap !important; }
}

/* Ajustes 23/10/2026 (3) — vale para PC e celular salvo onde indicado. */

/* Carrinho lateral: item compacto, preço sem quebrar, lixeira no lugar do "Excluir", botão final arredondado. */
html body .cart-overlay .cart-items .cart-item { display: grid !important; grid-template-columns: 64px minmax(0, 1fr) !important; gap: 12px !important; align-items: start !important;
  padding: 10px !important; margin: 0 0 8px !important; border: 1px solid #eef0f3 !important; border-radius: 14px !important; background: #fff !important; box-shadow: none !important; }
html body .cart-overlay .cart-items .cart-item-img { width: 64px !important; height: 64px !important; object-fit: contain !important; padding: 4px !important; border: 1px solid #eef0f3 !important; border-radius: 10px !important; background: #fff !important; }
html body .cart-overlay .cart-items .cart-item-info { display: flex !important; flex-direction: column !important; gap: 6px !important; min-width: 0 !important; }
html body .cart-overlay .cart-items .cart-item-name { display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important;
  margin: 0 !important; font-size: 13px !important; font-weight: 600 !important; line-height: 1.3 !important; }
html body .cart-overlay .cart-items .cart-item-row-price { display: flex !important; align-items: flex-end !important; justify-content: space-between !important; gap: 8px !important; flex-wrap: nowrap !important; margin: 0 !important; }
html body .cart-overlay .cart-items .cart-item-prices { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 2px !important; min-width: 0 !important; }
html body .cart-overlay .cart-items .cart-item-discount-row { display: flex !important; align-items: center !important; gap: 6px !important; white-space: nowrap !important; }
html body .cart-overlay .cart-items .cart-item-discount-row .price-original { font-size: 11.5px !important; color: #8a94a3 !important; text-decoration: line-through !important; }
html body .cart-overlay .cart-items .cart-item-discount-row .discount-badge { padding: 2px 5px !important; border-radius: 5px !important; font-size: 10px !important; }
html body .cart-overlay .cart-items .cart-item-price-value { font-size: 15px !important; font-weight: 700 !important; white-space: nowrap !important; line-height: 1.15 !important; }
html body .cart-overlay .cart-items .cart-item-actions { display: flex !important; align-items: center !important; gap: 6px !important; flex: none !important; margin: 0 !important; }
html body .cart-overlay .cart-items .cart-qty { display: inline-flex !important; align-items: center !important; height: 32px !important; padding: 0 2px !important; border: 1px solid #e3e6eb !important; border-radius: 10px !important; background: #fff !important; }
html body .cart-overlay .cart-items .cart-qty .ch-qty-btn { width: 28px !important; height: 28px !important; min-width: 28px !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
html body .cart-overlay .cart-items .cart-qty .ch-qty-value { min-width: 22px !important; font-size: 13px !important; font-weight: 600 !important; text-align: center !important; }
html body .cart-overlay .cart-items .ch-item-remove-text { position: relative !important; display: grid !important; place-items: center !important; width: 32px !important; height: 32px !important; min-width: 32px !important;
  padding: 0 !important; border: 1px solid #e3e6eb !important; border-radius: 10px !important; background: #fff !important; color: #8a94a3 !important; font-size: 0 !important; box-shadow: none !important; cursor: pointer; }
html body .cart-overlay .cart-items .ch-item-remove-text::before { content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M3 6h18M8 6V4h8v2M19 6l-1 14H6L5 6M10 11v6M14 11v6%27/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M3 6h18M8 6V4h8v2M19 6l-1 14H6L5 6M10 11v6M14 11v6%27/%3E%3C/svg%3E") center / contain no-repeat; }
html body .cart-overlay .cart-items .ch-item-remove-text:hover, html body .cart-overlay .cart-items .ch-item-remove-text:focus-visible { color: #dc2626 !important; border-color: #fecaca !important; }
html body .cart-overlay .cart-footer .cart-checkout-btn { border-radius: 14px !important; }

/* Marcas: sem contorno na caixa */
html body .brands-section, html body .brands-carousel-wrapper, html body .brands-carousel { border: 0 !important; box-shadow: none !important; outline: 0 !important; }

/* Produtos por linha no PC: configuração de cada loja em Aparência (siteThemeService, campo colunas). */
@media (max-width: 768px) {
  /* Celular: preço centralizado (original + desconto numa linha, final embaixo) */
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-prices { align-items: center !important; text-align: center !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-prices .price-row, html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-prices .price-info { justify-content: center !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-quote-label { text-align: center !important; width: 100% !important; }
  /* Botão Carrinho mais baixo e discreto */
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .btn-add-cart-m { min-height: 36px !important; border-radius: 10px !important; font-size: 13px !important; gap: 6px !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .btn-add-cart-m svg { width: 15px !important; height: 15px !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-info { padding: 10px 10px 10px !important; row-gap: 6px !important; }
  /* Carrinho no celular: painel na largura da tela, item continua compacto */
  html body .cart-overlay .cart-items .cart-item { grid-template-columns: 56px minmax(0, 1fr) !important; gap: 10px !important; }
  html body .cart-overlay .cart-items .cart-item-img { width: 56px !important; height: 56px !important; }
}
@media (max-width: 768px) {
  /* A caixa do preço ocupa a largura do cartão para o centro valer */
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-info > .product-prices { width: 100% !important; justify-self: stretch !important; align-items: center !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-info > .product-prices .price-row,
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-info > .product-prices .price-info { width: 100% !important; justify-content: center !important; }
}

/* Cartão v4 (23/10/2026): padrão da referência no PC; celular de ponta a ponta no main-content.
   Pesos: 700 títulos e preços · 600 nomes e botões · 400 textos secundários (a fonte vem do tema da loja). */
.product-quote-box, .product-rating[hidden], .product-installments[hidden] { display: none; }
.product-card .lbl-m { display: none; }

/* Sem a linha entre a foto e o título (PC e celular) */
html body .product-card.product-card .product-image { border-bottom: 0 !important; box-shadow: none !important; }
html body .product-card.product-card .product-image::after { display: none !important; }

/* Estrelas: 5 estrelas com preenchimento pela nota (--nota de 0 a 5) */
html body .product-card .product-rating { display: flex; align-items: center; gap: 6px; }
html body .product-card .product-stars { display: inline-block; width: 86px; height: 16px; flex: none;
  background: linear-gradient(90deg, #f5a524 calc(var(--nota) / 5 * 100%), #d9dde3 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 86 16%27%3E%3Cg%3E%3Cpath id=%27s%27 d=%27M8 0l2.4 5 5.6.6-4.2 3.8 1.2 5.5L8 12.1 3 14.9l1.2-5.5L0 5.6 5.6 5z%27/%3E%3Cuse href=%27%23s%27 x=%2717.5%27/%3E%3Cuse href=%27%23s%27 x=%2735%27/%3E%3Cuse href=%27%23s%27 x=%2752.5%27/%3E%3Cuse href=%27%23s%27 x=%2770%27/%3E%3C/g%3E%3C/svg%3E") 0 0 / 86px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 86 16%27%3E%3Cg%3E%3Cpath id=%27s%27 d=%27M8 0l2.4 5 5.6.6-4.2 3.8 1.2 5.5L8 12.1 3 14.9l1.2-5.5L0 5.6 5.6 5z%27/%3E%3Cuse href=%27%23s%27 x=%2717.5%27/%3E%3Cuse href=%27%23s%27 x=%2735%27/%3E%3Cuse href=%27%23s%27 x=%2752.5%27/%3E%3Cuse href=%27%23s%27 x=%2770%27/%3E%3C/g%3E%3C/svg%3E") 0 0 / 86px 16px no-repeat; }
html body .product-card .product-rating-total { color: #6b7280; font-size: 13px; font-weight: 400; }

/* ============================== PC ============================== */
@media (min-width: 769px) {
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card { display: flex !important; flex-direction: column !important; height: 100% !important; padding: 0 !important; overflow: hidden !important;
    border: 1px solid #eceef1 !important; border-radius: 16px !important; background: #fff !important; box-shadow: 0 1px 2px rgba(16, 24, 40, .04) !important; text-align: left !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card:hover { box-shadow: 0 10px 28px -14px rgba(16, 24, 40, .22) !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-image { position: relative !important; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1 !important;
    margin: 0 !important; padding: 18px !important; box-sizing: border-box !important; background: #fff !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-image img { width: 100% !important; height: 100% !important; max-height: none !important; object-fit: contain !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .btn-favorite { position: absolute !important; top: 14px !important; right: 14px !important; display: grid !important; place-items: center !important;
    width: 40px !important; height: 40px !important; border: 0 !important; border-radius: 50% !important; background: #fff !important; color: #111 !important; box-shadow: 0 2px 10px rgba(16, 24, 40, .12) !important; opacity: 1 !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-off-badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 9px; border-radius: 8px; background: #dc2626; color: #fff;
    font-weight: 700; font-size: 13px; line-height: 1; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-info { display: flex !important; flex-direction: column !important; flex: 1 1 auto !important; align-items: stretch !important; gap: 8px !important;
    padding: 4px 18px 18px !important; text-align: left !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-name { display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important;
    min-height: calc(2 * 1.3em) !important; margin: 0 !important; color: #111 !important; font-weight: 600 !important; line-height: 1.3 !important; text-align: left !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-meta-row { display: none !important; }
  /* Preço final grande e o original riscado ao lado; parcelamento embaixo */
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-prices { display: flex !important; flex-wrap: wrap !important; align-items: baseline !important; justify-content: flex-start !important;
    gap: 2px 10px !important; margin: 4px 0 0 !important; text-align: left !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-prices > .price-row { order: 1; display: block !important; margin: 0 !important; width: auto !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-prices > .price-row:has(.price-original) { order: 2; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-prices .price-info { display: inline-flex !important; align-items: baseline !important; gap: 8px !important; justify-content: flex-start !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-prices .discount-badge { display: none !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .price-value { color: #111 !important; font-weight: 700 !important; line-height: 1.1 !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .price-original { color: #8a8f98 !important; font-size: 15px !important; font-weight: 400 !important; text-decoration: line-through !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-installments { order: 3; flex: 1 0 100%; color: #4b5563; font-size: 14px; font-weight: 400; line-height: 1.35; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-installments b { color: #111; font-weight: 600; }
  /* Botões no rodapé do cartão */
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-actions { margin-top: auto !important; padding-top: 6px !important; display: block !important; opacity: 1 !important; visibility: visible !important; transform: none !important; position: static !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .card-bottom-row { display: block !important; margin: 0 !important; width: 100% !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .card-qty-stepper, html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .btn-buy-now:not(.btn-contact-us) { display: none !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .btn-add-cart-m, html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-actions .btn-buy-now.btn-contact-us {
    display: flex !important; align-items: center !important; justify-content: center !important; gap: 10px !important; width: 100% !important; min-height: 48px !important; margin: 0 !important; padding: 0 14px !important;
    border-radius: 12px !important; font-weight: 600 !important; font-size: 15px !important; letter-spacing: 0 !important; text-transform: none !important; cursor: pointer; opacity: 1 !important; visibility: visible !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .btn-add-cart-m { border: 1.5px solid var(--ap-accent, #e0a526) !important; background: #111 !important; color: #fff !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .btn-add-cart-m:hover { background: #000 !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-actions .btn-buy-now.btn-contact-us { border: 1.5px solid var(--ap-accent, #e0a526) !important; background: #fff !important; color: #111 !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-actions .btn-buy-now.btn-contact-us span { font-size: 15px !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .lbl-pc { display: inline !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .lbl-m { display: none !important; }
  /* Sob consulta: quadro explicativo no lugar do preço */
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-prices > .price-row.price-row--quote { display: none !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-quote-box { display: flex !important; gap: 10px; align-items: flex-start; width: 100%; padding: 12px; border-radius: 12px; background: #fdf8ea; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-quote-box__ico { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ap-accent, #e0a526);
    color: #fff; font-weight: 700; font-size: 13px; font-style: normal; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-quote-box b { display: block; color: #111; font-weight: 600; font-size: 14px; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-quote-box small { display: block; margin-top: 2px; color: #6b7280; font-weight: 400; font-size: 13px; line-height: 1.35; }
  /* Cabeçalho da seção: última palavra em destaque, traço embaixo e "Ver todos" em botão contornado */
  html body .main-content .products-section .category-section-head { display: flex !important; align-items: flex-start !important; justify-content: space-between !important; margin-bottom: 22px !important; }
  html body .main-content .products-section .category-section-title { position: relative !important; display: inline-block !important; padding-bottom: 14px !important; color: #111 !important; font-weight: 700 !important; letter-spacing: -.02em !important; }
  html body .main-content .products-section .category-section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: var(--ap-accent, #e0a526); }
  html body .main-content .products-section .cs-title-accent { color: var(--ap-accent, #e0a526); }
  html body .main-content .products-section .category-section-view-all { display: inline-flex !important; align-items: center !important; gap: 8px !important; padding: 10px 18px !important;
    border: 1.5px solid var(--ap-accent, #e0a526) !important; border-radius: 12px !important; color: var(--ap-accent, #e0a526) !important; font-weight: 600 !important; text-decoration: none !important; white-space: nowrap !important; }
  html body .main-content .products-section .category-section-view-all:hover { background: var(--ap-accent, #e0a526) !important; color: #fff !important; }
}

/* ============================== Celular ============================== */
@media (max-width: 768px) {
  /* Vitrine de ponta a ponta no main-content: sem a margem extra do carrossel e do título */
  html body .main-content .products-section .products-carousel-wrapper, html body .main-content .products-section .category-section-head { padding-left: 0 !important; padding-right: 0 !important; }
  html body .main-content .products-section .category-section-title::after { display: none !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .lbl-pc { display: none !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .lbl-m { display: inline !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-off-badge { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 3px 6px; border-radius: 6px; background: #dc2626; color: #fff; font-weight: 700; font-size: 11px; line-height: 1; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-prices .discount-badge { display: none !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-rating { justify-content: center; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-stars { transform: scale(.85); transform-origin: center; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-installments { width: 100%; color: #4b5563; font-size: 11.5px; font-weight: 400; line-height: 1.3; text-align: center; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-installments b { color: #111; font-weight: 600; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-name { font-weight: 600 !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .price-value { font-weight: 700 !important; }
  /* Sob consulta no celular: botão "Falar com a loja" compacto */
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-info:has(.price-row--quote) > .product-actions { display: block !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-actions .btn-buy-now.btn-contact-us { display: flex !important; align-items: center !important; justify-content: center !important; gap: 6px !important; width: 100% !important;
    min-height: 36px !important; padding: 0 8px !important; border: 1.5px solid var(--ap-accent, #e0a526) !important; border-radius: 10px !important; background: #fff !important; color: #111 !important;
    font-weight: 600 !important; font-size: 12.5px !important; text-transform: none !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .btn-contact-us svg { width: 15px; height: 15px; flex: none; }}
@media (min-width: 769px) {
  /* Folhas antigas: preço em coluna, coração à esquerda e "Ver todos" sem borda */
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-info > .product-prices { flex-direction: row !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-image > .btn-favorite { left: auto !important; right: 14px !important; inset: 14px 14px auto auto !important; }
  html body .main-content .products-section.category-section .category-section-head > a.category-section-view-all.category-section-view-all {
    border: 1.5px solid var(--ap-accent, #e0a526) !important; border-radius: 12px !important; padding: 10px 18px !important; color: var(--ap-accent, #e0a526) !important; background: transparent !important; }
  html body .main-content .products-section.category-section .category-section-head > a.category-section-view-all.category-section-view-all:hover { background: var(--ap-accent, #e0a526) !important; color: #fff !important; }
}
/* Linha entre foto e título também vinha da borda de cima do bloco de informações; coração visível no círculo branco */
html body .product-card.product-card .product-info { border-top: 0 !important; box-shadow: none !important; }
html body .product-card.product-card .btn-favorite i { color: #111 !important; opacity: 1 !important; font-size: 17px !important; }
html body .product-card.product-card .btn-favorite.active i { color: #dc2626 !important; }
/* Coração em SVG próprio (o ícone da fonte vinha escondido e a fonte não carrega mais) */
html body .product-card.product-card .btn-favorite i { display: none !important; }
html body .product-card.product-card .btn-favorite::before { content: ""; width: 19px; height: 19px; background: #111;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z%27/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z%27/%3E%3C/svg%3E") center / contain no-repeat; }
html body .product-card.product-card .btn-favorite.active::before { background: #dc2626;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z%27/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z%27/%3E%3C/svg%3E"); }
/* Fechamento do cartão v4 (23/10/2026): "Falar com a loja" sem o ícone de compra herdado (stelc-premium),
   setas do carrossel só quando há o que rolar, hover/toque discretos. */
html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-actions .btn-buy-now.btn-contact-us::before { display: none !important; }
html body .products-section .carousel-nav-btn[hidden] { display: none !important; }
html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-image img { transition: transform .35s cubic-bezier(.23, 1, .32, 1); }
@media (hover: hover) and (min-width: 769px) {
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card { transition: box-shadow .25s ease, transform .25s ease !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card:hover { transform: translateY(-2px) !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card:hover .product-image img { transform: scale(1.04); }
}
@media (hover: none) {
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card { transition: transform .12s ease !important; -webkit-tap-highlight-color: transparent; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card:active { transform: scale(.98) !important; }
}
@media (prefers-reduced-motion: reduce) {
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card, html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-image img { transition: none !important; transform: none !important; }
}
/* Sob consulta (23/10/2026): no cartão o quadro é uma linha só, com a mesma altura da linha de preço,
   e os cartões de uma fileira têm a mesma altura. A frase longa fica na página do produto. */
html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-quote-box { align-items: center !important; padding: 8px 10px !important; border-radius: 10px !important; }
html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-quote-box small { display: none !important; }
html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-quote-box b { font-size: 13.5px !important; white-space: nowrap; }
html body .main-content .products-carousel > .product-card.product-card { align-self: stretch !important; height: auto !important; }
/* Cartão estreito (5 ou 6 por linha no PC): "Carrinho" no lugar de "Adicionar ao carrinho", sem quebrar em 2 linhas */
html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card { container-type: inline-size; }
@container (max-width: 250px) {
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .btn-add-cart-m .lbl-pc { display: none !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .btn-add-cart-m .lbl-m { display: inline !important; }
}
/* Página do produto: o mesmo quadro no lugar do preço e "Falar com a loja" no padrão do cartão */
html body .product-summary-card .product-quote-box { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 14px; padding: 14px 16px; border-radius: 12px; background: #fdf8ea; }
html body .product-summary-card .product-quote-box__ico { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ap-accent, #e0a526); color: #fff; font-weight: 700; font-size: 13px; }
html body .product-summary-card .product-quote-box b { display: block; color: #111; font-weight: 600; font-size: 15px; }
html body .product-summary-card .product-quote-box small { display: block; margin-top: 2px; color: #6b7280; font-weight: 400; font-size: 14px; line-height: 1.4; }
html body .product-summary-card .product-actions #buyNowBtn.btn-buy-now.btn-contact-us { display: flex !important; align-items: center !important; justify-content: center !important; gap: 10px !important; width: 100% !important; min-height: 50px !important;
  border: 1.5px solid var(--ap-accent, #e0a526) !important; border-radius: 12px !important; background: #fff !important; color: #111 !important; font-weight: 600 !important; font-size: 15px !important; text-transform: none !important; }
html body .product-summary-card .product-actions #buyNowBtn.btn-contact-us::before { display: none !important; }
html body .product-summary-card .product-actions #buyNowBtn.btn-contact-us span { position: static !important; width: auto !important; height: auto !important; clip: auto !important; font-size: 15px !important; }
@media (min-width: 769px) {
  /* Mesma altura da linha de preço (26px) e do botão de carrinho (48px): cartão sob consulta não cresce */
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-quote-box { height: 26px !important; padding: 0 10px !important; gap: 8px !important; border-radius: 8px !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-quote-box__ico { width: 16px !important; height: 16px !important; font-size: 11px !important; }
  html body :is(.main-content, .products-main, .related-products-section) .product-card.product-card .product-actions .btn-buy-now.btn-contact-us { box-sizing: border-box !important; height: 48px !important; min-height: 48px !important; }
}

/* Filtro lateral do catálogo (PC): Marcas e Categorias como seções abertas, sem botão cinza,
   sem rolagem interna e sem "Limpar/Aplicar" (cada caixa já aplica na hora). */
@media (min-width: 769px) {
  html body .catalog-grid-filters .top-toolbar-sidebar-filters { gap: 18px !important; }
  html body .catalog-grid-filters .top-toolbar-dropdown { position: static !important; width: 100% !important; }
  html body .catalog-grid-filters .top-toolbar-dropdown-btn { display: flex !important; align-items: center !important; justify-content: space-between !important; width: 100% !important;
    height: auto !important; min-height: 0 !important; padding: 0 2px 8px !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important;
    pointer-events: none; color: var(--ap-ink, #111) !important; font-weight: 700 !important; font-size: 15px !important; }
  html body .catalog-grid-filters .top-toolbar-dropdown-btn > span, html body .catalog-grid-filters .top-toolbar-dropdown-btn > i { display: none !important; }
  html body .catalog-grid-filters #topBrandsBtn::before { content: "Marcas"; }
  html body .catalog-grid-filters #topCategoriesBtn::before { content: "Categorias"; }
  html body .catalog-grid-filters .top-toolbar-dropdown-btn > i.fa-tag, html body .catalog-grid-filters .top-toolbar-dropdown-btn > i.fa-th-large { display: none !important; }
  html body .catalog-grid-filters .top-toolbar-dropdown-panel { display: block !important; position: static !important; width: auto !important; margin: 0 !important; padding: 0 !important;
    border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; transform: none !important; opacity: 1 !important; visibility: visible !important; }
  html body .catalog-grid-filters .top-toolbar-dropdown-search { margin: 0 0 6px !important; }
  html body .catalog-grid-filters .top-toolbar-dropdown-list { max-height: none !important; overflow: visible !important; display: flex !important; flex-direction: column !important; gap: 0 !important; }
  html body .catalog-grid-filters .top-toolbar-dropdown-list .filter-option { min-height: 36px !important; padding: 4px 6px !important; border-radius: 8px !important; }
  html body .catalog-grid-filters .top-toolbar-dropdown-list .filter-option:hover { background: var(--ap-fill, #f4f5f7) !important; }
  html body .catalog-grid-filters .top-toolbar-dropdown-list .filter-option label { font-size: 14px !important; font-weight: 500 !important; }
  html body .catalog-grid-filters .top-toolbar-dropdown-footer { display: none !important; }
}
@media (min-width: 769px) {
  /* título da seção: o ::before da página era o ícone (largura fixa, fonte de ícone) */
  html body .catalog-grid-filters #topBrandsBtn::before, html body .catalog-grid-filters #topCategoriesBtn::before {
    display: block !important; width: auto !important; height: auto !important; margin: 0 !important; background: none !important; -webkit-mask: none !important; mask: none !important;
    font: 700 15px/1.2 var(--ap-body, inherit) !important; color: var(--ap-ink, #111) !important; }
  html body .catalog-grid-filters #topBrandsBtn, html body .catalog-grid-filters #topCategoriesBtn { background: none !important; box-shadow: none !important; border: 0 !important; }
}
