/* Novo layout da loja G&A. Só muda a disposição: usa as cores definidas no index.php e o logo atual.
   Para desfazer, tire do index.php as duas linhas que carregam loja_layout.css e loja_layout.js. */

/* ---------- Base ---------- */
body.ly { background: var(--bg-body); background-image: none; }
.ly #autoHideMenu { display: none !important; }

/* ---------- Cabeçalho ---------- */
.ly .navbar-custom { z-index: 1040; background-color: #096fba; } /* mesma cor do topo do carrinho e do login */
.ly .navbar-top-row { max-width: 1400px; padding: 14px 20px; gap: 28px; }
.ly .store-brand-box { margin-left: 0 !important; }
.ly .navbar-brand-img { height: 72px; width: 72px; }
.ly .store-title { font-size: 1.1rem; line-height: 1.2; }
.ly .store-subtitle { font-size: .72rem; margin-top: 2px; }
.ly .search-container { flex: 1 1 auto; max-width: none !important; width: auto !important; }
.ly .search-input { height: 50px !important; border-radius: var(--radius-pill) !important; font-size: .98rem !important; border: 0 !important; box-shadow: 0 2px 8px rgba(15, 23, 42, .12); }
.ly .nav-actions-box { gap: 4px !important; flex-shrink: 0; }

.ly .ly-acao,
.ly .nav-actions-box .btn-login-nav,
.ly .nav-actions-box .btn-nav-action {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    width: auto !important;
    height: 48px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: #fff !important;
    font-size: .88rem !important;
    font-weight: 700 !important;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: none !important;
    position: relative;
}
.ly .ly-acao:hover,
.ly .nav-actions-box .btn-login-nav:hover,
.ly .nav-actions-box .btn-nav-action:hover { background: rgba(255, 255, 255, .16) !important; color: #fff !important; }
.ly .ly-acao i,
.ly .nav-actions-box .btn-login-nav > i,
.ly .nav-actions-box .btn-nav-action > i { color: var(--cor-tema1); font-size: 1.4rem !important; }
.ly .nav-actions-box .login-label { display: inline !important; color: #fff !important; font-size: .88rem !important; }
.ly .nav-actions-box .ly-menu-conta { display: none !important; }

/* ---------- Barra de departamentos ---------- */
.ly-nav { background: #fff; border-bottom: 1px solid var(--border-color); box-shadow: 0 2px 10px rgba(15, 23, 42, .05); position: relative; z-index: 1030; }
.ly-nav-in { display: flex; align-items: stretch; gap: 4px; max-width: 1400px; margin: 0 auto; padding: 0 20px; min-height: 54px; }
.ly-dep { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; margin-right: 8px; padding: 0 16px 0 0; border: 0; border-right: 1px solid var(--border-color); background: none; color: var(--text-main); font-size: .9rem; font-weight: 800; }
.ly-dep i { font-size: 1.35rem; color: var(--cor-destaque1); }
.ly-dep:hover { color: var(--cor-destaque1); }
.ly-item { position: static; display: flex; }
.ly-item.ly-oculto { display: none; }
.ly-link { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; color: var(--text-main); font-size: .84rem; font-weight: 700; text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; border-top: 3px solid transparent; }
.ly-link i { font-size: .68rem; opacity: .65; }
.ly-item:hover > .ly-link,
.ly-item:focus-within > .ly-link,
.ly-item.ativo > .ly-link { color: var(--cor-destaque1); border-bottom-color: var(--cor-tema1); }

.ly-mega { display: none; position: absolute; top: 100%; width: min(640px, calc(100vw - 40px)); padding: 22px 26px 24px; background: #fff; border-radius: 0 0 var(--radius-card) var(--radius-card); box-shadow: 0 18px 40px rgba(15, 23, 42, .18); }
.ly-item:hover > .ly-mega,
.ly-item:focus-within > .ly-mega { display: block; }
.ly-mega-topo { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: 12px; border-bottom: 1px solid var(--border-color); }
.ly-mega-topo strong { font-size: 1rem; font-weight: 800; color: var(--text-main); }
.ly-mega-tudo { flex-shrink: 0; padding: 6px 14px; border-radius: var(--radius-pill); background: var(--cor-tema1); color: var(--text-main); font-size: .76rem; font-weight: 800; text-decoration: none; }
.ly-mega-tudo:hover { color: var(--cor-destaque1); }
.ly-mega ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 24px; margin: 0; padding: 0; list-style: none; }
.ly-mega li a { display: block; padding: 7px 8px; border-radius: 8px; color: var(--text-main); font-size: .86rem; font-weight: 600; text-decoration: none; }
.ly-mega li a:hover { background: var(--bg-body); color: var(--cor-destaque1); }

/* ---------- Banner ---------- */
.ly .banner-home { max-width: 1400px; margin: 20px auto 0 !important; padding: 0 20px; }
.ly .banner-home .carousel { border-radius: var(--radius-card); overflow: hidden; }
.ly .banner-home,
.ly .banner-home .carousel,
.ly .banner-home .carousel-inner,
.ly .banner-home .carousel-item,
.ly .banner-home .slide-bg { height: 340px !important; min-height: 0 !important; }

/* ---------- Catálogo: lateral + produtos ---------- */
.ly .main-content { max-width: 1400px; margin: 0 auto !important; padding: 24px 20px; }
.ly-catalogo { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.ly-lateral { position: sticky; top: 116px; max-height: calc(100vh - 136px); overflow-y: auto; padding: 18px; background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-card); }
.ly-lateral h2 { margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border-color); font-size: 1.02rem; font-weight: 800; color: var(--text-main); }
.ly-lat-cat { display: block; padding: 8px 10px; border-radius: 8px; color: var(--text-main); font-size: .86rem; font-weight: 700; text-decoration: none; }
.ly-lat-cat:hover { background: var(--bg-body); color: var(--cor-destaque1); }
.ly-lat-cat.ativo { background: var(--cor-destaque1); color: #fff; }
.ly-lat-subs { margin: 4px 0 8px; padding: 0 0 0 10px; border-left: 2px solid var(--cor-tema1); list-style: none; }
.ly-lat-subs a { display: block; padding: 5px 8px; border-radius: 6px; color: var(--text-suave); font-size: .8rem; font-weight: 600; text-decoration: none; }
.ly-lat-subs a:hover,
.ly-lat-subs a.ativo { color: var(--cor-destaque1); background: var(--bg-body); }

/* Filtros da lateral */
.ly-filtro-topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 1.02rem; font-weight: 800; color: var(--text-main); }
.ly-filtro-fechar { display: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--bg-body); color: var(--text-main); }
.ly-filtro-limpar { width: 100%; margin-bottom: 12px; padding: 7px 12px; border: 1px solid var(--border-color); border-radius: var(--radius-pill); background: #fff; color: var(--cor-destaque1); font-size: .8rem; font-weight: 700; }
.ly-filtro-limpar:hover { background: var(--bg-body); }
.ly-filtro { padding: 14px 0; border-top: 1px solid var(--border-color); }
.ly-filtro h3 { margin: 0 0 10px; font-size: .95rem; font-weight: 800; color: var(--text-main); }
.ly-filtro-lista { max-height: 250px; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; scrollbar-color: var(--cor-destaque1) var(--bg-body); }
.ly-check { display: flex; align-items: flex-start; gap: 8px; padding: 5px 2px; color: var(--text-main); font-size: .84rem; font-weight: 600; line-height: 1.3; cursor: pointer; }
.ly-check:hover { color: var(--cor-destaque1); }
.ly-check input { flex-shrink: 0; width: 17px; height: 17px; margin: 0; accent-color: var(--cor-destaque1); cursor: pointer; }
.ly-check-nome { flex: 1; min-width: 0; }
.ly-check-n { flex-shrink: 0; color: var(--text-suave); font-size: .74rem; font-weight: 500; }
.ly-filtro-vazio { margin: 0; color: var(--text-suave); font-size: .84rem; }
.ly-btn-filtrar { display: none; align-items: center; gap: 6px; padding: 7px 14px; border: 0; border-radius: var(--radius-pill); background: var(--cor-destaque1); color: #fff; font-size: .82rem; font-weight: 700; }

.ly #catalogo-geral > .ly-catalogo .sticky-top { position: static !important; }
/* Barra de total, filtros ativos e ordenação removida da tela. Fica no HTML porque a busca atualiza o total nela. */
.ly-conteudo > .sticky-top { display: none !important; }
.ly-catalogo { scroll-margin-top: 124px; }
.ly .categoria-bloco > h3 { font-size: 1.35rem !important; font-weight: 800 !important; border-bottom: 0 !important; padding-bottom: 0 !important; }
.ly .categoria-bloco > h4 { font-size: .92rem !important; color: var(--cor-destaque1) !important; font-weight: 700 !important; }

/* ---------- Cards de produto ---------- */
.ly .products-layout-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important; gap: 16px !important; }
.ly .product-card-modern { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-card); box-shadow: none; transition: box-shadow .18s ease, border-color .18s ease; overflow: hidden; }
.ly .product-card-modern:hover { transform: none; border-color: var(--cor-destaque-suave); box-shadow: var(--card-shadow); }
.ly .product-card-img-box { background: #fff; padding: 14px; border-radius: 0; }
.ly .product-card-img-box img { object-fit: contain; }
.ly .product-card-details { display: flex; flex: 1; flex-direction: column; padding: 2px 14px 14px; text-align: center; }
.ly .product-card-name { min-height: 2.6em; margin-bottom: 4px; font-size: .86rem; font-weight: 600; line-height: 1.3; color: var(--text-main); text-align: center; }
.ly .card-unidade { margin-bottom: 6px; font-size: .72rem; color: var(--text-suave); }
.ly .card-precos { margin-top: auto; margin-bottom: 12px; }
.ly .product-card-price { font-size: 1.22rem; font-weight: 800; color: var(--text-main); }
.ly .card-parcela { font-size: .72rem; color: var(--text-suave); }
.ly .product-card-footer { width: 100%; }
.ly .btn-card-add-circle,
.ly .btn-card-indisponivel { width: 100%; height: 42px; border: 0; border-radius: var(--radius-pill); font-size: .86rem; font-weight: 800; }
.ly .btn-card-add-circle { background: var(--cor-tema1); color: var(--text-main); }
.ly .btn-card-add-circle:hover { background: var(--cor-destaque1); color: #fff; }
.ly .product-card-active-controls { width: 100%; height: 42px; justify-content: space-between; border-radius: var(--radius-pill); }

/* Reserva o espaço da lateral e do botão Filtrar até o script montar o catálogo, para a página não pular. */
@media (min-width: 992px) {
    body.ly:not(.ly-pronto) #catalogo-geral { padding-left: 304px; }
}
@media (max-width: 991.98px) {
    body.ly:not(.ly-pronto) #catalogo-geral { padding-top: 66px; }
}

/* ---------- Vitrine: produtos sem caixa, com foto grande e centralizados ---------- */
body.ly { background: #fff; }
.ly .categoria-bloco > h3 { margin-bottom: 8px !important; color: var(--text-main) !important; font-size: 1.9rem !important; font-weight: 800 !important; line-height: 1.2; text-transform: uppercase; }
.ly .categoria-bloco > h4 { margin: 20px 0 14px !important; font-size: 1rem !important; text-transform: uppercase; }
.ly .products-layout-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 36px 28px !important; }
.ly .product-card-modern,
.ly .product-card-modern:hover { border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.ly .product-card-img-box { padding: 0; border: 0; background: transparent; }
.ly .product-card-img-box img { padding: 20px; transition: transform .2s ease; }
.ly .product-card-modern:hover .product-card-img-box img { transform: scale(1.03); }
.ly .product-card-details { padding: 4px 8px 0; background: transparent; text-align: center; }
.ly .product-card-name { min-height: 2.7em; margin-bottom: 4px; color: var(--text-main); font-size: .95rem; font-weight: 500; line-height: 1.35; text-align: center; text-transform: uppercase; }
.ly .card-unidade { margin-bottom: 8px; text-align: center; }
.ly .card-precos { margin-bottom: 14px; text-align: center; }
.ly .product-card-price { color: var(--text-main); font-size: 1.35rem; font-weight: 800; }
.ly .product-card-footer { margin-top: 0; }
.ly .btn-card-add-circle,
.ly .btn-card-indisponivel { min-height: 46px; height: auto; border-radius: var(--radius-pill); font-size: .95rem; font-weight: 800; }
.ly .product-card-active-controls { min-height: 46px; height: auto; border: 1px solid var(--cor-destaque1); }
.ly-card-whats { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 40px; margin-top: 8px; padding: 4px 8px; border: 1px solid #128c4a; border-radius: var(--radius-pill); background: #fff; color: #0d7a3f; font-size: .85rem; font-weight: 700; line-height: 1.2; text-decoration: none; }
.ly-card-whats:hover { background: #128c4a; color: #fff; }
@media (max-width: 1199.98px) {
    .ly .products-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 991.98px) {
    .ly .categoria-bloco > h3 { font-size: 1.35rem !important; }
    .ly .products-layout-grid { gap: 26px 12px !important; }
    .ly .product-card-img-box img { padding: 8px; }
    .ly .product-card-details { padding: 2px 0 0; }
    .ly .product-card-name { font-size: .78rem; }
    .ly .product-card-price { font-size: 1.1rem; }
    .ly .btn-card-add-circle, .ly .btn-card-indisponivel { min-height: 42px; font-size: .86rem; }
    .ly-card-whats { min-height: 38px; font-size: .72rem; gap: 5px; }
}

/* ---------- Produto em destaque no menu ---------- */
.ly-mega.com-destaque { width: min(780px, calc(100vw - 40px)); grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; }
.ly-item:hover > .ly-mega.com-destaque,
.ly-item:focus-within > .ly-mega.com-destaque { display: grid; }
.ly-mega.com-destaque ul { grid-template-columns: 1fr; gap: 0; max-height: 420px; overflow-y: auto; }
.ly-mega-prod { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ly-mega-foto { display: flex; align-items: center; justify-content: center; width: 100%; height: 200px; margin-bottom: 10px; }
.ly-mega-foto img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.ly-mega-nome { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 2.6em; color: var(--text-main); font-size: .88rem; font-weight: 600; line-height: 1.3; text-decoration: none; }
.ly-mega-nome:hover { color: var(--cor-destaque1); }
.ly-mega-preco { margin: 10px 0 12px; color: var(--text-main); font-size: 1.2rem; font-weight: 800; }
.ly-mega-compra { display: flex; align-items: stretch; gap: 8px; width: 100%; margin-bottom: 8px; }
.ly-mega-qtd { display: flex; align-items: center; flex-shrink: 0; border: 1px solid var(--cor-destaque1); border-radius: var(--radius-pill); }
.ly-mega-qtd button { width: 30px; height: 40px; border: 0; background: none; color: var(--cor-destaque1); font-size: 1.1rem; font-weight: 700; line-height: 1; }
.ly-mega-qtd span { min-width: 22px; color: var(--text-main); font-size: .88rem; font-weight: 700; text-align: center; }
.ly-mega-comprar { flex: 1; min-height: 42px; border: 0; border-radius: var(--radius-pill); background: var(--cor-tema1); color: var(--text-main); font-size: .88rem; font-weight: 800; }
.ly-mega-comprar:hover:not(:disabled) { background: var(--cor-destaque1); color: #fff; }
.ly-mega-comprar:disabled { background: var(--bg-body); color: var(--text-suave); cursor: not-allowed; }
.ly-mega-whats { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 38px; border: 1px solid #128c4a; border-radius: var(--radius-pill); color: #0d7a3f; font-size: .82rem; font-weight: 700; text-decoration: none; }
.ly-mega-whats:hover { background: #128c4a; color: #fff; }

/* ---------- Botões flutuantes ---------- */
body.ly:not(.ly-pronto) .whatsapp-float { visibility: hidden; }
.ly .whatsapp-float.ly-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); color: #fff; }
.ly .whatsapp-float.ly-instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); color: #fff; }
.ly-topo { position: fixed; right: 24px; bottom: 91px; z-index: 1500; display: flex; align-items: center; justify-content: center; width: 55px; height: 55px; border: 0; border-radius: 50%; background: var(--cor-destaque1); color: #fff; font-size: 1.5rem; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.ly-topo.visivel { opacity: 1; visibility: visible; transform: none; }
.ly-topo.visivel:hover { color: var(--cor-tema1); transform: scale(1.08); }
.ly-topo:focus-visible { outline: 3px solid var(--cor-tema1); outline-offset: 2px; }
body.ly:has(#modalSacolaPedidos.show) .ly-topo,
body.ly-filtros-abertos .ly-topo { display: none; }
@media (max-width: 991.98px) {
    .ly-topo { right: 16px; bottom: 80px; width: 50px; height: 50px; font-size: 1.35rem; }
    .ly .whatsapp-float { right: 16px; bottom: 16px; width: 50px; height: 50px; font-size: 27px; }
    .ly .whatsapp-float.ly-flut-insta { bottom: 78px; }
    body.ly .ly-topo { bottom: 140px; }
}

/* ---------- Carrinho em painel lateral ---------- */
body.ly:has(#modalSacolaPedidos.show) .whatsapp-float { display: none !important; }
.ly-carrinho.modal { padding: 0 !important; }
.ly-carrinho .modal-dialog { position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: min(460px, 100vw); max-width: none; height: 100%; max-height: none; margin: 0; }
.ly-carrinho.modal.fade .modal-dialog { transform: translateX(100%); opacity: 1; transition: transform .28s ease; }
.ly-carrinho.modal.show .modal-dialog { transform: none; opacity: 1; }
.ly-carrinho .modal-content { height: 100%; max-height: none; border-radius: 0 !important; }
.ly-cart-topo { flex-shrink: 0; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--border-color); }
.ly-cart-fechar { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; border: 0; background: none; color: var(--text-main); font-size: .95rem; font-weight: 600; }
.ly-cart-fechar:hover { color: var(--cor-destaque1); }
.ly-cart-titulo { margin: 0; color: var(--text-main); font-size: 1.02rem; font-weight: 800; }
.ly-cart-limpar { flex-shrink: 0; align-self: flex-end; margin: 10px 22px 0; padding: 2px 0; border: 0; background: none; color: #dc2626; font-size: .8rem; font-weight: 700; }
.ly-cart-limpar:hover { text-decoration: underline; }
.ly-carrinho #corpo-lista-sacola { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 10px 22px !important; }
.ly-carrinho #corpo-lista-sacola.ly-cart-vazio { display: flex; flex-direction: column; justify-content: center; }
.ly-cart-vazio .text-center p:not(.ly-cart-dica) { margin-bottom: 8px; color: var(--text-main) !important; font-size: 1.15rem !important; font-weight: 700; }
.ly-cart-vazio .text-center > i { display: block; font-size: 3rem !important; color: var(--cor-destaque1) !important; }
.ly-cart-dica { margin: 0; color: var(--text-suave); font-size: .88rem; }
.ly-carrinho .cart-item-details { min-width: 0; }
.ly-carrinho #cart-footer-wrap { flex-shrink: 0; padding: 14px 22px !important; border-top: 1px solid var(--border-color) !important; }
.ly-cart-conta { flex-shrink: 0; padding: 14px 22px 18px; background: #fff; border-top: 1px solid var(--border-color); }
.ly-cart-conta-aviso { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; color: var(--text-main); font-size: .86rem; font-weight: 600; line-height: 1.35; }
.ly-cart-conta-aviso i { font-size: 1.6rem; color: var(--cor-destaque1); }
.ly-cart-conta-botoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ly-cart-conta-botoes button { padding: 10px; border: 0; border-bottom: 2px solid var(--border-color); background: none; color: var(--text-main); font-size: .9rem; font-weight: 800; }
.ly-cart-conta-botoes button:first-child { border-bottom-color: var(--cor-destaque1); }
.ly-cart-conta-botoes button:hover { color: var(--cor-destaque1); border-bottom-color: var(--cor-destaque1); }

/* ---------- Tablet e celular ---------- */
@media (max-width: 991.98px) {
    .ly .navbar-top-row { flex-wrap: wrap; padding: 10px 14px; gap: 8px 12px; }
    .ly .navbar-brand-img { height: 52px; width: 52px; }
    .ly .store-title { font-size: .92rem; }
    .ly .store-subtitle { display: none; }
    .ly .store-brand-box { flex: 1 1 0; min-width: 0; }
    .ly .search-container { order: 3; flex: 1 1 100%; }
    .ly .search-input { height: 44px !important; font-size: 16px !important; }
    .ly .ly-acao-texto, .ly .nav-actions-box .login-label { display: none !important; }
    .ly .ly-acao, .ly .nav-actions-box .btn-login-nav, .ly .nav-actions-box .btn-nav-action { padding: 0 8px !important; height: 44px !important; }
    .ly .nav-actions-box .ly-menu-conta { display: inline-flex !important; }

    .ly-nav-in { padding: 0 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; min-height: 48px; }
    .ly-nav-in::-webkit-scrollbar { display: none; }
    .ly-item.ly-oculto { display: flex; }
    .ly-link i, .ly-mega { display: none !important; }

    .ly .banner-home { margin-top: 12px !important; padding: 0 14px; }
    .ly .banner-home,
    .ly .banner-home .carousel,
    .ly .banner-home .carousel-inner,
    .ly .banner-home .carousel-item,
    .ly .banner-home .slide-bg { height: 190px !important; }
    .ly .main-content { padding: 16px 14px; }
    .ly-catalogo { display: block; }
    .ly-lateral { display: none; }
    .ly-lateral.aberto { display: block; position: fixed; inset: 0; z-index: 1060; top: 0; max-height: none; border: 0; border-radius: 0; padding: 18px 16px 32px; overflow-y: auto; }
    .ly-filtro-fechar { display: inline-flex; align-items: center; justify-content: center; }
    .ly-filtro-lista { max-height: none; }
    .ly-check { padding: 9px 2px; font-size: .92rem; }
    .ly-btn-filtrar { display: inline-flex; min-height: 36px; margin-bottom: 14px; }
    body.ly-filtros-abertos { overflow: hidden; }
    body.ly-filtros-abertos .whatsapp-float { display: none !important; }
    .ly .products-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
    .ly .product-card-details { padding: 2px 10px 10px; }
}

/* Produto indisponível: imagem normal, texto vermelho */
.ly .product-card-modern.is-esgotado .product-card-img-box img { opacity: 1; }
.ly .product-card-modern.is-esgotado .product-card-name { color: #dc3545; }
.ly .btn-card-indisponivel { color: #dc3545; }

/* ---------- Menu suspenso compacto ---------- */
.ly-mega { width: min(520px, calc(100vw - 40px)); padding: 14px 18px 16px; }
.ly-mega-topo { padding-bottom: 10px; margin-bottom: 8px; }
.ly-mega-topo strong { font-size: .9rem; }
.ly-mega-tudo { padding: 4px 11px; font-size: .7rem; }
.ly-mega li a { padding: 5px 8px; font-size: .8rem; }
.ly-mega.com-destaque { width: min(565px, calc(100vw - 40px)); grid-template-columns: minmax(0, 1fr) 230px; gap: 18px; }
.ly-mega.com-destaque ul { max-height: 300px; }
.ly-mega-foto { height: 180px; margin-bottom: 8px; }
.ly-mega-nome { font-size: .8rem; }
.ly-mega-preco { margin: 6px 0 8px; font-size: 1.02rem; }
.ly-mega-compra { gap: 6px; margin-bottom: 6px; }
.ly-mega-qtd button { width: 26px; height: 34px; font-size: 1rem; }
.ly-mega-qtd span { min-width: 18px; font-size: .8rem; }
.ly-mega-comprar { min-height: 36px; font-size: .8rem; }
.ly-mega-whats { min-height: 34px; font-size: .76rem; }

/* ---------- Instagram flutuante acima do WhatsApp ---------- */
@media (min-width: 992px) {
    .ly .whatsapp-float.ly-flut-insta { bottom: 91px; }
    body.ly .ly-topo { bottom: 158px; }
}

/* ---------- Nome do cliente logado também no celular ---------- */
@media (max-width: 991.98px) {
    .ly .nav-actions-box .btn-login-nav.is-logged { width: auto !important; }
    .ly .nav-actions-box .btn-login-nav.is-logged .login-label { display: inline !important; font-size: .72rem !important; white-space: nowrap; }
}

/* ---------- Menu suspenso: ver tudo ao lado do nome da categoria ---------- */
.ly-mega-topo { flex-wrap: wrap; justify-content: flex-start; gap: 6px 10px; }

/* [MODAIS PADRÃO] todas as janelas da loja com o visual do modal do rodapé:
   cabeçalho azul #096fba, título branco, ícone amarelo, faixa amarela #fcf10c, cantos 18px */
.modal .modal-content { border: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 50px rgba(15,23,42,.22); }
.modal .modal-header { background: #096fba !important; color: #fff !important; border-bottom: 4px solid #fcf10c !important; padding: .85rem 1.25rem !important; }
.modal .modal-header .modal-title, .modal .modal-header h1, .modal .modal-header h2, .modal .modal-header h3,
.modal .modal-header h4, .modal .modal-header h5, .modal .modal-header h6 { color: #fff !important; font-weight: 800; text-decoration: none !important; }
.modal .modal-header .modal-title i, .modal .modal-header h5 i, .modal .modal-header h2 i { color: #fcf10c !important; }
.modal .modal-header .text-muted, .modal .modal-header small { color: rgba(255,255,255,.82) !important; }
.modal .modal-header .btn-close { filter: invert(1) grayscale(100%) brightness(200%); opacity: .9; }
.modal .modal-header .btn-close:hover { opacity: 1; }
.modal .modal-footer { background: #f8fafc; border-top: 1px solid #e2e8f0 !important; }
#modalLoginUsuario .modal-content { border: 0 !important; border-radius: 18px !important; }
#modalLoginUsuario .login-modal-bar { background: #096fba !important; border-bottom: 4px solid #fcf10c; }
#modalLoginUsuario .login-modal-bar .btn-close { filter: invert(1) grayscale(100%) brightness(200%); }
#modalLoginUsuario .modal-content .login-modal-bar h5 { color: #fff !important; font-weight: 800; }
#modalLoginUsuario .modal-content .login-modal-bar .bi { color: #fcf10c !important; }
.modal .modal-header .ly-cart-fechar, .modal .modal-header .ly-cart-fechar i { color: #fff !important; background: transparent; }
.modal .modal-header .ly-cart-fechar:hover, .modal .modal-header .ly-cart-fechar:hover i { color: #fcf10c !important; }
