/* Moldura da loja (faixa Black Friday, cabeçalho fixo, rodapé, WhatsApp). O configurador fica em configurador.css. */
:root {
  --site-preto: #0b0b0b;
  --site-ouro: #ffc83d;
  --site-vermelho: #e3262f;
  --site-rodape: #20382d;
  --site-faixa-h: 36px;
  --site-barra-h: 68px;
  --site-topo-h: calc(var(--site-faixa-h) + var(--site-barra-h));
  --fonte-titulo: Poppins, Inter, system-ui, sans-serif;
  --fonte-texto: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--site-topo-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--fonte-texto);
  color: #17201c;
  background: #f6f2ea;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a { color: inherit; }

/* faixa Black Friday (pulsando) */
.site-topo { position: fixed; inset: 0 0 auto; z-index: 50; }
.site-faixa {
  margin: 0; height: var(--site-faixa-h); display: grid; place-items: center; overflow: hidden;
  background: var(--site-preto); color: #fff;
  font: 800 14px/1 var(--fonte-titulo); letter-spacing: .06em; white-space: nowrap; text-align: center;
}
.site-faixa span { display: inline-block; animation: faixa-pulsa 1.4s ease-in-out infinite; }
.site-faixa strong { color: var(--site-ouro); font-size: 1.15em; }
@keyframes faixa-pulsa {
  0%, 100% { transform: scale(1); text-shadow: 0 0 0 rgba(255, 200, 61, 0); }
  50% { transform: scale(1.07); text-shadow: 0 0 12px rgba(255, 200, 61, .85); }
}

.site-barra {
  height: var(--site-barra-h); display: flex; align-items: center; gap: 28px; padding: 0 max(20px, calc((100vw - 1180px) / 2));
  background: #16241d; color: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.site-logo img { display: block; height: 46px; width: auto; }
.site-menu { display: flex; gap: 26px; flex: 1; justify-content: center; }
.site-menu a { text-decoration: none; font: 500 14px/1 var(--fonte-texto); letter-spacing: .03em; text-transform: uppercase; opacity: .9; }
.site-menu a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.site-carrinho { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 8px; border-radius: 999px; text-decoration: none; }
.site-carrinho:hover { background: rgba(255, 255, 255, .08); }
.site-contador {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--site-ouro); color: #16241d; font: 700 12px/22px var(--fonte-texto); text-align: center;
}

.site-conteudo { max-width: 1180px; margin: 0 auto; padding-top: var(--site-topo-h); }

/* rodapé enxuto */
.site-rodape { background: var(--site-rodape); color: #e9efe9; padding: 32px 20px calc(28px + env(safe-area-inset-bottom)); }
.site-rodape-in { max-width: 1180px; margin: 0 auto; display: grid; gap: 14px; justify-items: center; text-align: center; }
.site-rodape-logo { height: 40px; width: auto; opacity: .95; }
.site-rodape nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; font-size: 14px; }
.site-rodape a { text-decoration: none; }
.site-rodape a:hover { text-decoration: underline; }
.site-contato { margin: 0; font-size: 13px; line-height: 1.6; opacity: .85; }
.site-copy { margin: 0; font-size: 12px; opacity: .6; }

/* pop-up de boas-vindas */
.bv {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px;
  background: rgba(8, 10, 9, .72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: bv-entra .25s ease-out;
}
.bv-caixa {
  position: relative; width: min(460px, 100%); padding: 28px 22px 22px; border-radius: 22px; text-align: center;
  background: radial-gradient(120% 80% at 50% 0%, #1d1d1d, #0b0b0b); color: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  border: 1px solid rgba(255, 200, 61, .35);
}
.bv-x {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: #fff; font-size: 24px; line-height: 1; cursor: pointer;
}
.bv-selo {
  display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; background: var(--site-vermelho); color: #fff;
  font: 800 11.5px/1.4 var(--fonte-titulo); letter-spacing: .06em;
}
.bv h2 { margin: 0; font: 800 23px/1.2 var(--fonte-titulo); }
.bv-sub { margin: 10px 0 16px; color: var(--site-ouro); font: 600 15px var(--fonte-titulo); }
.bv-opcoes { display: grid; gap: 10px; }
.bv-op {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 76px; padding: 10px 14px; border-radius: 16px;
  border: 1.5px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; text-align: left;
  font: inherit; text-decoration: none; cursor: pointer; transition: border-color .15s, background .15s, transform .1s;
}
.bv-op:hover, .bv-op:focus-visible { border-color: var(--site-ouro); background: rgba(255, 200, 61, .1); outline: none; }
.bv-op:active { transform: scale(.98); }
.bv-op img { width: 56px; height: 56px; flex: none; object-fit: contain; border-radius: 12px; background: #f3f1ec; }
.bv-op strong { display: block; font: 700 16px/1.25 var(--fonte-titulo); }
.bv-op small { display: block; margin-top: 2px; font-size: 13px; opacity: .75; }
.bv-op[data-bv="comprar"] { border-color: var(--site-ouro); background: rgba(255, 200, 61, .12); }
@keyframes bv-entra { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bv { animation: none; } }

/* gaveta do carrinho local (todas as páginas) */
.lmda-gaveta { position: fixed; inset: 0; z-index: 90; display: flex; justify-content: flex-end; background: rgba(10, 14, 12, .5); }
.cr {
  display: flex; flex-direction: column; width: min(440px, 100%); height: 100%; background: #f7f4ee; color: #17201c;
  font: 15px/1.45 var(--fonte-texto); box-shadow: -4px 0 24px rgba(0, 0, 0, .25);
}
.cr-topo { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: #fff; border-bottom: 1px solid #ece6da; }
.cr-topo h2 { margin: 0; font: 700 19px var(--fonte-titulo); }
.cr-topo h2 small { font: 500 13px var(--fonte-texto); color: #5b645f; margin-left: 4px; }
.cr-x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f3f1ec; font-size: 22px; line-height: 1; cursor: pointer; }
.cr-corpo { flex: 1; overflow: auto; padding: 12px 14px 16px; -webkit-overflow-scrolling: touch; }
.cr-itens { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cr-item { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 10px; border-radius: 14px; background: #fff; border: 1px solid #ece6da; }
.cr-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: #f3f1ec; }
.cr-item-txt { min-width: 0; }
.cr-item-txt strong { display: block; font: 600 14px/1.3 var(--fonte-texto); }
.cr-item-txt small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; color: #5b645f; }
.cr-item-pe { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }
.cr-pecas { font-size: 12px; color: #5b645f; }
.cr-qtd { display: inline-flex; align-items: center; border: 1.5px solid #e2dccf; border-radius: 999px; }
.cr-qtd button { width: 32px; height: 32px; border: 0; background: none; font-size: 17px; color: #1f3b2e; cursor: pointer; }
.cr-qtd output { min-width: 18px; text-align: center; font-weight: 600; font-size: 14px; }
.cr-preco { font: 700 16px var(--fonte-titulo); white-space: nowrap; text-align: right; }
.cr-preco s { display: block; font: 400 11.5px var(--fonte-texto); color: #8a918d; }
.cr-tirar { margin-top: 4px; padding: 4px 0; border: 0; background: none; color: #b3261e; font: 500 12.5px var(--fonte-texto); text-decoration: underline; cursor: pointer; }

.cr-bumps { margin-top: 18px; }
.cr-bumps h3 { margin: 0 0 8px; font: 700 15px var(--fonte-titulo); }
.cr-bumps ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cr-bump {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px;
  background: #fff; border: 1.5px dashed #c9952b;
}
.cr-bump img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: #f3f1ec; }
.cr-bump-txt { min-width: 0; display: flex; flex-direction: column; }
.cr-bump-t { font-size: 13px; line-height: 1.3; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cr-bump-txt small { font-size: 11.5px; color: #5b645f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-bump-p { font-size: 12px; color: #8a918d; }
.cr-bump-p b { font: 700 14px var(--fonte-titulo); color: #17703d; }
.cr-bump button {
  min-height: 38px; padding: 0 12px; border: 0; border-radius: 999px; background: #1f3b2e; color: #fff;
  font: 600 12.5px var(--fonte-texto); white-space: nowrap; cursor: pointer;
}
.cr-bump button:hover { background: #2c5240; }

.cr-pe { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #ece6da; box-shadow: 0 -6px 16px rgba(0, 0, 0, .05); }
.cr-pe p { margin: 0; }
.cr-economia { font-size: 13px; color: #17703d; }
.cr-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 2px !important; }
.cr-total span { font-weight: 600; }
.cr-total strong { font: 800 24px var(--fonte-titulo); }
.cr-parc { font-size: 12.5px; color: #5b645f; }
.cr-cta {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; margin-top: 10px; border-radius: 999px;
  background: #1f3b2e; color: #fff; font: 700 16px var(--fonte-titulo); text-decoration: none; box-shadow: 0 6px 16px rgba(31, 59, 46, .25);
}
.cr-cta:hover { background: #2c5240; }
.cr-vazio { padding: 40px 10px; text-align: center; color: #5b645f; }

@media (max-width: 1023px) {
  .site-menu { display: none; }
}
@media (max-width: 899px) {
  :root { --site-faixa-h: 32px; --site-barra-h: 54px; }
  .site-faixa { font-size: 12px; letter-spacing: .03em; }
  .site-barra { padding: 0 12px 0 16px; }
  .site-logo img { height: 36px; }
}
@media (max-width: 360px) {
  .site-faixa { font-size: 11px; letter-spacing: .01em; }
}
@media (prefers-reduced-motion: reduce) {
  .site-faixa span { animation: none; }
}
