/* ===== clone local: estilos auxiliares ===== */
/* banner de cookies: nunca aparece */
.consentimentoCookie { display: none !important; }

/* painel do carrinho aberto pelo nosso JS */
#panel-cart.sl-open {
  display: block !important; visibility: visible !important; opacity: 1 !important;
  transform: none !important; right: 0 !important; left: auto !important;
  z-index: 99998 !important; position: fixed !important; top: 0 !important;
  height: 100% !important; overflow-y: auto !important; background: #fff !important;
}
#panel-cart-overlay.sl-open {
  display: block !important; visibility: visible !important; opacity: .55 !important;
  position: fixed !important; inset: 0 !important; background: #000 !important; z-index: 99990 !important;
}
body.sl-cart-open { overflow: hidden; }
#panel-cart .panel-close { cursor: pointer; }

/* itens do painel (nosso markup) */
.fastCartContent .sf-item {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 8px;
  border-bottom: 1px solid #eee; list-style: none;
}
.fastCartContent .sf-img img { width: 66px; height: 66px; object-fit: cover; border-radius: 6px; display: block; }
.fastCartContent .sf-info { flex: 1; min-width: 0; }
.fastCartContent .sf-nome { display: block; font-size: 13px; font-weight: 600; color: #222; line-height: 1.3; }
.fastCartContent .sf-preco { font-size: 14px; font-weight: 700; color: #e6007e; margin: 4px 0 6px; }
.fastCartContent .sf-qtd { display: flex; align-items: center; gap: 8px; }
.fastCartContent .sf-qtd button {
  width: 26px; height: 26px; border: 1px solid #ddd; background: #fff; border-radius: 4px;
  font-size: 15px; line-height: 1; cursor: pointer; color: #333;
}
.fastCartContent .sf-qtd span { min-width: 18px; text-align: center; font-weight: 600; font-size: 13px; }
.fastCartContent .sf-rem {
  border: 0; background: none; color: #999; font-size: 18px; cursor: pointer; line-height: 1;
}

/* ===== pagina do carrinho ===== */
#sl-cart-page { max-width: 1180px; margin: 0 auto; padding: 26px 16px 60px; font-family: inherit; }
#sl-cart-page h1 { font-size: 24px; margin: 0 0 18px; color: #222; }
#sl-cart-page .sl-grid { display: grid; grid-template-columns: 1fr 330px; gap: 24px; align-items: start; }
#sl-cart-page .sl-vazio {
  border: 1px solid #eee; border-radius: 10px; padding: 40px 20px; text-align: center; color: #666;
}
#sl-cart-page .sl-vazio a { color: #e6007e; font-weight: 700; }
#sl-cart-page .sl-linha {
  display: grid; grid-template-columns: 84px 1fr 110px 100px 80px; gap: 12px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid #eee;
}
#sl-cart-page .sl-linha img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; }
#sl-cart-page .sl-linha-info a { color: #222; font-size: 14px; font-weight: 600; text-decoration: none; }
#sl-cart-page .sl-linha-preco { color: #666; font-size: 13px; margin-top: 4px; }
#sl-cart-page .sl-qtd { display: flex; align-items: center; gap: 6px; }
#sl-cart-page .sl-qtd button {
  width: 28px; height: 28px; border: 1px solid #ddd; background: #fff; border-radius: 4px; cursor: pointer; font-size: 15px;
}
#sl-cart-page .sl-qtd span { min-width: 20px; text-align: center; font-weight: 700; }
#sl-cart-page .sl-sub { font-weight: 700; color: #222; font-size: 14px; }
#sl-cart-page .sl-rem { border: 0; background: none; color: #999; font-size: 12px; cursor: pointer; text-decoration: underline; }
#sl-cart-page .sl-resumo { border: 1px solid #eee; border-radius: 10px; padding: 18px; background: #fafafa; }
#sl-cart-page .sl-resumo-linha { display: flex; justify-content: space-between; font-size: 14px; color: #555; margin-bottom: 10px; }
#sl-cart-page .sl-resumo-total {
  display: flex; justify-content: space-between; font-size: 18px; font-weight: 800; color: #222;
  border-top: 1px solid #e5e5e5; padding-top: 12px; margin: 6px 0 16px;
}
#sl-cart-page .sl-finalizar {
  display: block; background: #e6007e; color: #fff; text-align: center; padding: 15px; border-radius: 8px;
  font-weight: 800; letter-spacing: .4px; text-decoration: none;
}
#sl-cart-page .sl-finalizar:hover { background: #c4006a; }
#sl-cart-page .sl-continuar { display: block; text-align: center; margin-top: 12px; color: #666; font-size: 13px; }
#sl-cart-page .sl-aviso {
  margin-top: 14px; background: #fff8e6; border: 1px solid #f6e2a8; color: #7a5b00;
  border-radius: 8px; padding: 10px 12px; font-size: 12px; line-height: 1.5;
}
@media (max-width: 860px) {
  #sl-cart-page .sl-grid { grid-template-columns: 1fr; }
  #sl-cart-page .sl-linha { grid-template-columns: 64px 1fr 90px; grid-template-areas: "img info info" ". qtd sub"; }
  #sl-cart-page .sl-linha img { grid-area: img; width: 64px; height: 64px; }
  #sl-cart-page .sl-linha-info { grid-area: info; }
  #sl-cart-page .sl-qtd { grid-area: qtd; }
  #sl-cart-page .sl-sub { grid-area: sub; text-align: right; }
  #sl-cart-page .sl-rem { grid-column: 3; justify-self: end; }
}

/* cards da busca local */
#sl-busca .new-product-list__container { display: flex; flex-wrap: wrap; }
#sl-busca .new-product-inner { width: 25%; }
#sl-busca .sl-mais { text-align: center; padding: 24px 0; }
#sl-busca .sl-mais a { color: #e6007e; font-weight: 700; }
/* a paginacao do site nao vale no filtro local (o JS troca por 'ver todos') */
.sl-busca-page .pagination { display: none !important; }
@media (max-width: 900px) { #sl-busca .new-product-inner { width: 50%; } }
/* sl-modal-1prod: estilos do aviso e do toast (usados nas PDPs) */
:root{--pk:#e5007d;--pk-d:#c00068;--dk:#0d0d0d;--bd:#e8e8ea;--pix:#32bcad;}
.lj-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;border:0;border-radius:12px;padding:14px 16px;font:inherit;font-weight:700;font-size:15px;cursor:pointer;transition:transform .06s ease,filter .15s ease}
.lj-btn:active{transform:translateY(1px)}
.lj-btn[disabled]{opacity:.55;cursor:not-allowed}
.lj-btn--pk{background:var(--pk);color:#fff}
.lj-btn--pk:hover{filter:brightness(.94)}
.lj-btn--gh{background:#fff;color:var(--dk);border:1px solid var(--bd)}
.lj-btn svg{width:18px;height:18px;flex:0 0 auto}
.lj-modal{position:fixed;inset:0;background:rgba(8,8,12,.55);display:none;align-items:center;justify-content:center;padding:16px;z-index:90}
.lj-modal.on{display:flex}
.lj-modal__box{background:#fff;border-radius:16px;max-width:400px;width:100%;padding:18px;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.lj-modal__box h3{margin:0 0 6px;font-size:17px}
.lj-modal__box p{margin:0 0 14px;font-size:14px;color:#444}
.lj-modal__box .lj-btn{margin-top:8px}
.lj-toast{position:fixed;left:50%;bottom:18px;transform:translate(-50%,20px);background:#16161a;color:#fff;border-radius:999px;padding:11px 18px;font-size:13px;opacity:0;pointer-events:none;transition:.22s;z-index:100;max-width:92vw;text-align:center}
.lj-toast.on{opacity:1;transform:translate(-50%,0)}
