/* =============================================
   MALU AROMAS — CSS Profissional v3.0 FINAL
   Paleta: Rosé #C4846A | Marrom #3D2B1F | Creme #FAF7F4
============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Lato:wght@300;400;700;900&display=swap');

:root {
  --cor-principal: #C4846A;
  --cor-botao: #C4846A;
  --cor-secundaria: #3D2B1F;
}

/* === GLOBAL === */
body { font-family: 'Lato', sans-serif !important; background-color: #FAF7F4 !important; color: #3D2B1F !important; }
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif !important; color: #3D2B1F !important; }
a { color: #C4846A !important; text-decoration: none; transition: color 0.2s; }
a:hover { color: #A86E56 !important; }
::selection { background-color: #C4846A !important; color: #FFFFFF !important; }
::-moz-selection { background-color: #C4846A !important; color: #FFFFFF !important; }

/* === HEADER === */
header { background-color: #FFFFFF !important; border-bottom: 1px solid #EDE8E3 !important; box-shadow: 0 2px 12px rgba(61,43,31,0.07) !important; }

/* === MENU — remove azul do hover === */
header nav a, .menu-categorias a, ul.menu-categorias > li > a, nav.principal a { font-family: 'Lato', sans-serif !important; font-weight: 700 !important; color: #3D2B1F !important; text-transform: uppercase; font-size: 13px; letter-spacing: 0.4px; transition: color 0.2s !important; }
header nav a:hover, .menu-categorias a:hover, ul.menu-categorias > li > a:hover, ul.menu-categorias > li:hover > a { color: #C4846A !important; background-color: transparent !important; }

/* === CARRINHO — remove bolinha azul === */
.numero-carrinho, [class*="numero-carrinho"], .quantidade-carrinho { background-color: #C4846A !important; color: #FFFFFF !important; border: 2px solid #FFFFFF !important; font-weight: 700 !important; }

/* === SEARCH === */
#search-form .btn, #search-form button, form[action="/buscar"] button { background: transparent !important; border: none !important; color: #C4846A !important; }
#search-form input[type="text"], form[action="/buscar"] input[type="text"] { border: 1px solid #EDE8E3 !important; border-radius: 50px !important; padding: 8px 16px !important; background: #FAF7F4 !important; color: #3D2B1F !important; font-family: 'Lato', sans-serif !important; }

/* === BOTÕES === */
.btn-primario, .btn-comprar, [class*="btn-comprar"], .adicionar-carrinho, button.btn-carrinho { background-color: #C4846A !important; border: 2px solid #C4846A !important; color: #FFFFFF !important; font-family: 'Lato', sans-serif !important; font-weight: 700 !important; border-radius: 50px !important; padding: 10px 24px !important; transition: all 0.2s !important; }
.btn-primario:hover, .btn-comprar:hover, [class*="btn-comprar"]:hover { background-color: #A86E56 !important; border-color: #A86E56 !important; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(196,132,106,0.35) !important; }

/* === CARDS DE PRODUTO === */
.listagem-item, li.span4, li.span3, li.span6 { background: #FFFFFF !important; border-radius: 16px !important; overflow: hidden !important; transition: box-shadow 0.3s, transform 0.3s !important; border: 1px solid #EDE8E3 !important; }
.listagem-item:hover, li.span4:hover { box-shadow: 0 12px 32px rgba(196,132,106,0.18) !important; transform: translateY(-4px) !important; border-color: #C4846A !important; }
.nome-produto, .nome-produto a { font-family: 'Playfair Display', serif !important; color: #3D2B1F !important; font-size: 15px !important; font-weight: 500 !important; }
.preco-produto .preco, .preco-por, .preco-atual { color: #C4846A !important; font-weight: 700 !important; font-size: 18px !important; }
.preco-de, .preco-cheio, del { color: #B0A099 !important; font-size: 12px !important; }

/* === BADGES === */
.bandeira-desconto, [class*="bandeira-desc"], .tag-desconto { background-color: #3D2B1F !important; color: #FAF7F4 !important; border-radius: 50px !important; font-size: 11px !important; font-weight: 700 !important; padding: 4px 10px !important; border: none !important; }
.adicionado-carrinho, .bandeira-carrinho, [class*="adicionado"] { background-color: #2D7A4F !important; color: #FFFFFF !important; border-radius: 50px !important; font-size: 11px !important; font-weight: 700 !important; padding: 4px 12px !important; border: none !important; }

/* === VITRINE TÍTULOS === */
.vitrine h2, .destaques-titulo, [class*="titulo-vitrine"], h2 { font-family: 'Playfair Display', serif !important; color: #3D2B1F !important; font-size: 26px !important; font-weight: 600 !important; }

/* === NEWSLETTER === */
.componente.newsletter { background: linear-gradient(135deg, #F5EDE8, #EDE8E3) !important; border-radius: 20px !important; border: none !important; }
.componente.newsletter .titulo { font-family: 'Playfair Display', serif !important; color: #3D2B1F !important; }
.componente.newsletter .btn, .componente.newsletter button { background-color: #C4846A !important; border: none !important; color: #FFFFFF !important; border-radius: 50px !important; font-weight: 700 !important; }

/* === RODAPÉ — seletores corretos do tema === */
#rodape { background-color: #3D2B1F !important; }
.institucional.fundo-secundario { background-color: #3D2B1F !important; }
.fundo-secundario { background-color: #3D2B1F !important; }
#rodape *, .institucional.fundo-secundario * { color: #FAF7F4 !important; }
#rodape a, .institucional.fundo-secundario a { color: #D4C4B8 !important; transition: color 0.2s !important; }
#rodape a:hover, .institucional.fundo-secundario a:hover { color: #C4846A !important; }
#rodape h5, .institucional.fundo-secundario h5 { font-family: 'Playfair Display', serif !important; color: #FFFFFF !important; font-size: 13px !important; font-weight: 600 !important; text-transform: uppercase; letter-spacing: 1px; }

/* === INSTAGRAM FOOTER — legível === */
#g_social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.15) !important; transition: background 0.2s !important; }
#g_social a:hover { background: #C4846A !important; }
#g_social .icon-instagram { font-size: 20px !important; color: #FFFFFF !important; }

/* === PIX E BOLETO — resolve fundo marrom horrível === */
.pague-com, .rodape-pague, [class*="pague-com"] { background-color: rgba(255,255,255,0.06) !important; border-radius: 12px !important; border: 1px solid rgba(255,255,255,0.12) !important; padding: 16px !important; }
.pague-com .titulo, .rodape-pague .titulo { color: #FAF7F4 !important; font-family: 'Playfair Display', serif !important; }
.bandeiras-pagamento li i, .bandeiras-pagamento li [class*="icon"] { filter: brightness(0) invert(1) !important; opacity: 0.85; }
/* Pix e Boleto com fundo levemente destacado */
.metodo-pagamento, [class*="metodo-pag"], .i-pix, .i-boleto, [class*="boleto"], [class*="pix"] { background-color: rgba(255,255,255,0.1) !important; border-radius: 8px !important; padding: 8px 12px !important; border: 1px solid rgba(255,255,255,0.18) !important; }

/* === SELOS === */
.selos { background-color: rgba(255,255,255,0.05) !important; border-radius: 12px !important; padding: 16px !important; }

/* === SUB-RODAPÉ COPYRIGHT === */
.rodape-inferior, .copyright, [class*="rodape-inferior"] { background-color: #2A1D14 !important; color: rgba(250,247,244,0.5) !important; font-size: 12px !important; border-top: 1px solid rgba(255,255,255,0.08) !important; }
.rodape-inferior a, .copyright a { color: rgba(250,247,244,0.5) !important; }

/* === INPUTS GLOBAIS === */
input[type="text"], input[type="email"], input[type="password"], input[type="search"], select, textarea { border: 1px solid #EDE8E3 !important; border-radius: 8px !important; font-family: 'Lato', sans-serif !important; color: #3D2B1F !important; }
input:focus, select:focus, textarea:focus { border-color: #C4846A !important; box-shadow: 0 0 0 3px rgba(196,132,106,0.18) !important; outline: none !important; }

/* === BREADCRUMB === */
.breadcrumb a, .breadcrumb li { color: #C4846A !important; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #FAF7F4; }
::-webkit-scrollbar-thumb { background: #C4846A; border-radius: 3px; }

/* === FIX CRÍTICO: card produto-adicionado === */
/* Quando produto está no carrinho, o tema coloca bg colorido no card — override */
li.produto-adicionado,
.listagem-item.produto-adicionado,
li.produto-adicionado.span4,
li.produto-adicionado.span3 {
  background-color: #FFFFFF !important;
}

/* Badge "Produto Adicionado" — verde sutil, não afeta o card */
.produto-adicionado .adicionado-carrinho,
.adicionado-carrinho {
  background-color: #2D7A4F !important;
  color: #FFFFFF !important;
  border-radius: 50px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Badge % OFF — cor que contrasta com o card branco */
.bandeira-desconto,
.tag-desconto,
[class*="bandeira-desc"] {
  background-color: #C4846A !important;
  color: #FFFFFF !important;
  border-radius: 50px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 10px !important;
}

/* Scrollbar rosé */
::-webkit-scrollbar-thumb { background: #C4846A !important; }

/* FUNDO-PRINCIPAL — badge % OFF = rosé, não azul */
.fundo-principal {
  background-color: #C4846A !important;
  color: #FFFFFF !important;
}
.bandeira-promocao.fundo-principal,
span.fundo-principal,
[class*="bandeira"].fundo-principal {
  background-color: #C4846A !important;
  color: #FFFFFF !important;
  border-radius: 50px !important;
  padding: 3px 10px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

/* === PAGAMENTO-SELOS — sub-rodapé === */
.pagamento-selos {
  background-color: #2A1D14 !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  padding: 24px 0 !important;
}
.pagamento-selos .titulo,
.pagamento-selos .cor-secundaria {
  color: rgba(250,247,244,0.6) !important;
  font-size: 12px !important;
  font-family: 'Lato', sans-serif !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pagamento-selos .bandeiras-pagamento li,
.pagamento-selos .selos {
  opacity: 0.85;
}
/* Pix e Boleto com fundo suave */
.pagamento-selos .metodos-pagamento,
.pagamento-selos [class*="metodo"],
.pagamento-selos [class*="boleto"],
.pagamento-selos [class*="pix"] {
  background: rgba(255,255,255,0.08) !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  padding: 8px 16px !important;
}
/* Copyright */
.copyright-rodape, [class*="copyright"] {
  background-color: #2A1D14 !important;
  color: rgba(250,247,244,0.4) !important;
  font-size: 11px !important;
}

/* === INSTAGRAM — botão mais visível === */
#g_social ul li a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.18) !important;
  border: 1.5px solid rgba(255,255,255,0.3) !important;
  transition: all 0.2s !important;
}
#g_social ul li a:hover {
  background: #C4846A !important;
  border-color: #C4846A !important;
}
#g_social .icon-instagram {
  font-size: 22px !important;
  color: #FFFFFF !important;
}



/* === SEARCH BAR — fix definitivo === */
/* Wrapper do form dentro do #search-form */
#search-form form,
#search-form > div {
  display: flex !important;
  align-items: center !important;
  background: #F5EDE8 !important;
  border-radius: 50px !important;
  border: 1.5px solid #D4C4B8 !important;
  overflow: hidden !important;
  height: 40px !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}
#search-form form:focus-within,
#search-form > div:focus-within {
  border-color: #C4846A !important;
  box-shadow: 0 0 0 3px rgba(196,132,106,0.15) !important;
}

/* Input dentro do form */
#search-form input[type="text"],
#search-form .ui-autocomplete-input {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 16px 0 18px !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 14px !important;
  color: #3D2B1F !important;
  height: 40px !important;
  flex: 1 !important;
  min-width: 180px !important;
  width: 100% !important;
}
#search-form input::placeholder {
  color: #B0A099 !important;
  font-size: 13px !important;
}

/* Botão lupa */
#search-form .botao-busca,
#search-form button {
  background-color: #C4846A !important;
  border: none !important;
  border-radius: 0 50px 50px 0 !important;
  width: 44px !important;
  min-width: 44px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  color: #FFFFFF !important;
  font-size: 16px !important;
  padding: 0 !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}
#search-form .botao-busca:hover,
#search-form button:hover {
  background-color: #A86E56 !important;
}
/* Força ícone branco */
#search-form .botao-busca::before,
#search-form button::before,
#search-form .icon-search::before {
  color: #FFFFFF !important;
  font-size: 16px !important;
}

/* === SEARCH INPUT — header ===  */
input[name="q"],
form[action="/buscar"] input[type="text"],
#search-form input[type="text"] {
  border-radius: 50px !important;
  border: 1.5px solid #D4C4B8 !important;
  padding: 9px 18px 9px 18px !important;
  font-family: 'Lato', sans-serif !important;
  font-size: 14px !important;
  color: #3D2B1F !important;
  background-color: #FAF7F4 !important;
  transition: border-color 0.2s, box-shadow 0.2s, width 0.2s !important;
  min-width: 220px !important;
}
input[name="q"]:focus,
form[action="/buscar"] input[type="text"]:focus {
  border-color: #C4846A !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 0 0 3px rgba(196,132,106,0.15) !important;
  outline: none !important;
}
input[name="q"]::placeholder {
  color: #B0A099 !important;
  font-style: italic;
}

/* Botão de busca — integrado ao input */
.botao-busca.botao-input,
.botao-busca.icon-search {
  background-color: #C4846A !important;
  color: #FFFFFF !important;
  border-radius: 0 50px 50px 0 !important;
  border: none !important;
  padding: 9px 16px !important;
  margin-left: -2px !important;
  transition: background-color 0.2s !important;
}
.botao-busca.botao-input:hover,
.botao-busca.icon-search:hover {
  background-color: #A86E56 !important;
}

/* Wrapper do form — une input + botão */
#search-form form,
form[action="/buscar"] {
  display: flex !important;
  align-items: center !important;
}
#search-form input,
form[action="/buscar"] input[name="q"] {
  border-right: none !important;
  border-radius: 50px 0 0 50px !important;
}

/* =====================================================
   MALU AROMAS — FOOTER UNIFICADO — OPÇÃO B (Bege Neutro)
   Cor única: #f4ede4 | Texto: #3d2b1f / #5c4030 / #6b4c35
   Sem divisória entre footer, subfooter e sub-sub-footer
   ===================================================== */

/* COR ÚNICA de fundo */
#rodape { background-color: #f4ede4 !important; }
#rodape .institucional.fundo-secundario { background-color: #f4ede4 !important; }
#rodape .pagamento-selos { background-color: #f4ede4 !important; border-top: none !important; }
#rodape > div:last-child { background-color: #f4ede4 !important; border-top: none !important; }

/* TEXTOS do footer principal */
#rodape .institucional,
#rodape .institucional * { color: #5c4030 !important; }

/* TÍTULOS das colunas */
#rodape .institucional h5,
#rodape .institucional .titulo,
#rodape .institucional [class*="titulo"] { color: #3d2b1f !important; }

/* LINKS */
#rodape .institucional a,
#rodape a { color: #6b4c35 !important; }
#rodape .institucional a:hover,
#rodape a:hover { color: #3d2b1f !important; }

/* LABELS "PAGUE COM" e "SELOS" */
#rodape .pagamento-selos .titulo,
#rodape .pagamento-selos .cor-secundaria,
#rodape .pagamento-selos > .conteiner span:not(.icone-pagamento) { color: #3d2b1f !important; }

/* BANDEIRAS DE CARTÃO — LI fundo branco */
#rodape .pagamento-selos .bandeiras-pagamento li {
  background-color: #ffffff !important;
  border-radius: 5px !important;
  padding: 2px 4px !important;
  margin-right: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#rodape .icone-pagamento { background-color: transparent !important; padding: 0 !important; }

/* BOLETO e PIX — container branco com borda leve */
#rodape .pagamento-selos .pagamento .col-md-3 {
  background-color: #ffffff !important;
  border-radius: 6px !important;
  padding: 6px 12px !important;
  margin-right: 8px !important;
  margin-top: 4px !important;
  border: 1px solid rgba(61,43,31,.12) !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* SELOS — sem card, sem fundo, sem borda */
#rodape .selos,
#rodape .pagamento-selos .selos {
  background-color: transparent !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
#rodape .selos .titulo,
#rodape .pagamento-selos .selos .titulo { color: #3d2b1f !important; }

/* SUB-SUB-FOOTER: dados legais + Google/LI */
#rodape > div:last-child .conteiner,
#rodape > div:last-child .row-fluid,
#rodape > div:last-child div,
#rodape > div:last-child p,
#rodape > div:last-child span { color: #6b4c35 !important; }
#rodape > div:last-child a { color: #6b4c35 !important; opacity: 1 !important; }
#rodape > div:last-child svg path,
#rodape > div:last-child svg rect,
#rodape > div:last-child svg g { fill: #6b4c35 !important; }

/* =====================================================
   FOOTER — PATCH inline-style override + bordas residuais
   Sub-sub-footer tem style="" inline do tema — cobrir via CSS
   Sub-footer borda residual — garantir remoção
   ===================================================== */

/* Cobrir inline background-color: #fff do sub-sub-footer */
#rodape > div:last-child { background-color: #f4ede4 !important; }
#rodape > div:last-child[style] { background-color: #f4ede4 !important; }

/* Remover toda borda do sub-sub-footer — inclusive a inline border-top */
#rodape > div:last-child,
#rodape > div:last-child[style] {
  border: none !important;
  border-top: none !important;
  border-top-color: #f4ede4 !important;
  border-top-width: 0 !important;
  border-top-style: none !important;
  outline: none !important;
}

/* Sub-footer: garantir zero borda e fundo unificado */
#rodape .pagamento-selos {
  border: none !important;
  border-top: none !important;
  background-color: #f4ede4 !important;
}

/* Qualquer separador residual dentro das seções */
#rodape hr { display: none !important; }

/* === FILTRO ORDENAÇÃO — hover texto branco === */
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: #FFFFFF !important;
}

/* ============================================================
   MALU AROMAS — PATCHES CONSOLIDADOS v6.0
   Filtro hover · Botão adicionar · Dropdown hover ·
   Títulos de seção · Mini banners zoom · Menu Playfair ·
   Menu mobile · Input busca mobile · Carrinho botões ·
   Alinhamento qty/comprar
   ============================================================ */

/* === FILTRO ORDENAÇÃO — hover texto branco === */
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: #FFFFFF !important;
}

/* === BOTÃO ADICIONAR NO CARD — cor da marca === */
.botao-comprar-ajax,
a.botao-comprar-ajax {
  background-color: #C4846A !important;
  border-color: #C4846A !important;
  color: #FFFFFF !important;
  transition: background-color 0.2s ease, transform 0.15s ease !important;
}
.botao-comprar-ajax:hover,
a.botao-comprar-ajax:hover {
  background-color: #a8694f !important;
  border-color: #a8694f !important;
  color: #FFFFFF !important;
}

/* === MINHA CONTA DROPDOWN — hover com fundo === */
.list-inline .dropdown .dropdown-menu > li > a:hover,
.list-inline .dropdown .dropdown-menu > li > a:focus,
header .dropdown .dropdown-menu > li > a:hover,
header .dropdown .dropdown-menu > li > a:focus {
  background-color: #C4846A !important;
  color: #FFFFFF !important;
}
.list-inline .dropdown .dropdown-menu,
header .dropdown .dropdown-menu {
  border-radius: 6px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
}
.list-inline .dropdown .dropdown-menu > li > a,
header .dropdown .dropdown-menu > li > a {
  padding: 9px 18px !important;
  transition: background-color 0.18s ease, color 0.18s ease !important;
}

/* === TÍTULOS DE SEÇÃO — Destaques, Lançamentos, Mais vendidos === */
.titulo-categoria {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.65rem !important;
  font-weight: 700 !important;
  color: #3D2B1F !important;
  letter-spacing: 0.04em !important;
  padding: 0 0 10px 0 !important;
  margin-bottom: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  position: relative !important;
  border: none !important;
  background: transparent !important;
}
.titulo-categoria::before {
  content: '' !important;
  display: inline-block !important;
  width: 32px !important;
  height: 3px !important;
  background: linear-gradient(90deg, #C4846A, #e8b89e) !important;
  border-radius: 2px !important;
  flex-shrink: 0 !important;
}
.titulo-categoria::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(90deg, #C4846A 0%, rgba(196,132,106,0.2) 60%, transparent 100%) !important;
  border-radius: 2px !important;
}

/* === MINI BANNERS home — zoom suave no hover === */
.mini-banner .modulo a {
  display: block !important;
  overflow: hidden !important;
  border-radius: 18px !important;
}
.mini-banner .modulo a img {
  transition: transform 0.35s ease !important;
  will-change: transform !important;
  display: block !important;
  width: 100% !important;
}
.mini-banner .modulo a:hover img {
  transform: scale(1.06) !important;
}
.mini-banner label {
  text-shadow:
    0 1px 4px rgba(0,0,0,0.70),
    0 0 18px rgba(0,0,0,0.50),
    0 0 32px rgba(0,0,0,0.30) !important;
  letter-spacing: 0.08em !important;
  font-weight: 700 !important;
}

/* === MENU HEADER — fonte Playfair Display === */
header .menu.superior .nivel-um > li > a strong.titulo,
header nav a strong.titulo,
.menu.superior strong.titulo.cor-secundaria {
  font-family: 'Playfair Display', serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-shadow: none !important;
}

/* === MENU MOBILE — layout refinado === */
@media (max-width: 767px) {
  /* Header mobile: apenas hamburguer + logo visíveis, sem overflow */
  header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: #FFFFFF !important;
  }
  /* Row principal do header no mobile */
  header .row-flex.justify-content-between {
    flex-wrap: nowrap !important;
    overflow: hidden !important;
  }
  /* Esconder a coluna de busca/menu desktop no mobile */
  header .col-auto:last-child {
    display: none !important;
  }
  /* Menu superior: drawer lateral/vertical fixo abaixo do header */
  .menu.superior {
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    width: 80% !important;
    max-width: 320px !important;
    height: 100vh !important;
    z-index: 9999 !important;
    background: #FFFFFF !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    transition: left 0.3s ease !important;
    padding: 80px 0 20px !important;
    box-shadow: 4px 0 20px rgba(0,0,0,0.12) !important;
  }
  /* Menu aberto: desliza para dentro */
  .menu.superior.menu-visible-desktop {
    left: 0 !important;
  }
  .menu.superior .nivel-um {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .menu.superior .nivel-um > li {
    border-bottom: 1px solid rgba(196,132,106,0.15) !important;
    display: block !important;
  }
  .menu.superior .nivel-um > li:last-child {
    border-bottom: none !important;
  }
  .menu.superior .nivel-um > li > a {
    display: flex !important;
    align-items: center !important;
    padding: 16px 24px !important;
    text-decoration: none !important;
  }
  .menu.superior .nivel-um > li > a strong.titulo {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: #3D2B1F !important;
    transition: color 0.2s !important;
  }
  .menu.superior .nivel-um > li > a:hover strong.titulo,
  .menu.superior .nivel-um > li > a:active strong.titulo {
    color: #C4846A !important;
  }
  /* Overlay escuro por trás do menu */
  .menu-trigger.menu-toggle.open-desktop ~ * .menu.superior::before,
  body.menu-open::after {
    content: '' !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,0.45) !important;
    z-index: 9998 !important;
  }
}

/* === INPUT BUSCA MOBILE === */
@media (max-width: 767px) {
  /* Área de busca no mobile (dentro do between-mobile, terceiro filho) */
  header .between-mobile .col-auto:last-child {
    display: flex !important;
    flex: 1 !important;
    min-width: 0 !important;
  }
  /* Form de busca */
  header .between-mobile form,
  header .between-mobile .ui-autocomplete-input {
    display: flex !important;
    width: 100% !important;
  }
  /* Input corrigido - sobrescrever inline style */
  header .ui-autocomplete-input,
  header input[name="q"] {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 1 !important;
    box-sizing: border-box !important;
    border-radius: 24px 0 0 24px !important;
    border-right: none !important;
    border: 1.5px solid rgba(212,196,184,1) !important;
    border-right: none !important;
    padding: 10px 14px 10px 16px !important;
    background: rgb(250,247,244) !important;
    font-size: 0.9rem !important;
  }
  header .ui-autocomplete-input:focus,
  header input[name="q"]:focus {
    border-color: #C4846A !important;
    outline: none !important;
    box-shadow: none !important;
  }
}

/* === PRODUTO — Alinhar qty input com botão Comprar === */
.comprar {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}
.comprar .qtde-adicionar-carrinho {
  flex-shrink: 0 !important;
  align-self: center !important;
}
.comprar .botao-comprar {
  flex: 1 !important;
  align-self: center !important;
  margin-top: -8px !important;
  line-height: 52px !important;
}
.comprar .disponibilidade-produto {
  flex-basis: 100% !important;
  order: 10 !important;
  margin-top: 4px !important;
}

/* === CARRINHO — botões padronizados === */
.botao.continuar-comprando,
a.botao.continuar-comprando {
  background-color: transparent !important;
  background: transparent !important;
  border: 2px solid #C4846A !important;
  color: #C4846A !important;
  font-family: 'Playfair Display', serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  transition: background-color 0.2s ease, color 0.2s ease, background 0.2s ease !important;
}
.botao.continuar-comprando:hover,
a.botao.continuar-comprando:hover {
  background-color: #C4846A !important;
  background: #C4846A !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  border-color: #C4846A !important;
}
.botao.principal.ir-carrinho,
a.botao.principal.ir-carrinho,
.botao.principal.grande,
a.botao.principal.grande {
  background-color: #C4846A !important;
  background: #C4846A !important;
  border: 2px solid #C4846A !important;
  color: #FFFFFF !important;
  font-family: 'Playfair Display', serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  border-radius: 999px !important;
}
.botao.principal.ir-carrinho:hover,
.botao.principal.grande:hover {
  background-color: #a8694f !important;
  background: #a8694f !important;
  border-color: #a8694f !important;
}