:root{
  --black:#0b0b0b;
  --red:#b83a3a;
  --gold:#c9a227;
  --paper:#fafafa;
  --ink:#111;

  /* Premium */
  --soft:#f6f7fb;
  --border:rgba(0,0,0,.08);
  --shadow:0 14px 30px rgba(0,0,0,.12);
  --shadow2:0 8px 18px rgba(0,0,0,.10);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;overflow-x:hidden}
body{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--paper);color:var(--ink)}

/* Header */
.header{
  display:flex;flex-direction:column;align-items:center;gap:8px;
  background:#0f0f0f;padding:14px 10px;
}
.header .logo{width:110px;height:110px;object-fit:contain;border-radius:0}

/* Premium sticky + topo com botão carrinho */
.header-premium{
  position:sticky;top:0;z-index:50;
  background:linear-gradient(180deg,#0f0f0f 0%, #0c0c0c 100%);
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}
.navline{
  width:100%;
  max-width:1280px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

/* ===========================
   Faixa premium de ajuda (vídeo)
   =========================== */
.help-bar{
  width:100%;
  max-width:1280px;
  margin: 4px auto 6px;
  padding: 10px 12px;
  border-radius: 16px;

  /* aparência premium em cima do preto */
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 22px rgba(0,0,0,.20);

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.help-bar__text{
  color: var(--gold);
  font-weight: 900;
  font-size: 13px;
  line-height: 1.25;
  text-align: left;
  text-wrap: balance;
}

.help-bar__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  background: var(--gold);
  color:#111;
  font-weight: 900;
  font-size: 13px;

  padding: 10px 14px;
  border-radius: 999px;
  text-decoration:none;
  white-space: nowrap;

  border: 1px solid rgba(0,0,0,.35);
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
  transition: transform .14s ease, filter .14s ease, opacity .14s ease;
}

.help-bar__btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
  opacity: .98;
}
.help-bar__btn:active{
  transform: translateY(0);
}

@media (max-width: 640px){
  .help-bar{
    margin: 6px 10px 8px;
    width: calc(100% - 20px);
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .help-bar__text{
    text-align: center;
    font-size: 13px;
  }
  .help-bar__btn{
    width: 100%;
  }
}
/* =========================== */

/* Banner */
.banner img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
}
@media (min-width: 1024px) {
  .banner img { height: 300px; }
}

.container{max-width:1280px;margin:0 auto;padding:12px}
.title{margin:14px auto;text-align:center;font-weight:900}
.title .red{color:var(--red)}

/* GRID HOME */
.grid{display:grid;gap:12px;justify-content:center;justify-items:center;margin:0 auto;place-items:center}
@media(min-width:1024px){ .grid{grid-template-columns:repeat(5, minmax(160px, 1fr));} }
@media(min-width:640px) and (max-width:1023.98px){ .grid{grid-template-columns:repeat(3, minmax(160px, 1fr));} }
@media(max-width:639.98px){ .grid{grid-template-columns:repeat(2, 1fr); width:100%; } }

.card{
  background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:10px;
  text-decoration:none;color:inherit;display:flex;flex-direction:column;gap:8px;
  width:100%;max-width:220px;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{ transform:translateY(-3px); box-shadow:var(--shadow); border-color:rgba(0,0,0,.14); }
.card .thumb{width:100%;aspect-ratio:1/1;overflow:hidden;border-radius:12px;border:1px solid #eee;background:#fafafa}
.card .thumb img{width:100%;height:100%;object-fit:cover}
.card .name{font-weight:900;text-align:center}

/* Produto */
.hero-mini{display:flex;justify-content:center;margin-top:10px}
.hero-mini img{
  width:200px;height:200px;border-radius:12px;object-fit:contain;
  background:#fff;border:1px solid rgba(0,0,0,.08);
  box-shadow:0 10px 22px rgba(0,0,0,.08);
}
@media(max-width:640px){ .hero-mini img{width:140px;height:140px} }

.table{width:100%;border-collapse:collapse;margin:10px 0;border-radius:12px;overflow:hidden}
.table th,.table td{border:1px solid #e5e7eb;padding:6px;text-align:center}
.table th{background:#fff4da}

.row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #eee}
.left{display:flex;align-items:center;gap:10px}
.thumb-sm{width:40px;height:40px;border-radius:10px;overflow:hidden;border:1px solid #eee;background:#f8f8f8}
.thumb-sm img{width:100%;height:100%;object-fit:cover}

.qty{
  width:84px;padding:8px;border:1px solid #d1d5db;border-radius:12px;text-align:center;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.qty:focus{
  outline:none;
  border-color: rgba(184,58,58,.55);
  box-shadow: 0 0 0 4px rgba(184,58,58,.12);
}

.options{background:#fff7e8;border:1px dashed #eac56b;padding:10px;border-radius:12px}

/* Buttons */
.actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:8px}
.btn{
  display:inline-block;padding:12px 18px;border-radius:14px;text-decoration:none;
  border:2px solid #111;cursor:pointer;font-weight:900;letter-spacing:.2px;
  transition: transform .14s ease, filter .14s ease, opacity .14s ease;
}
.btn:hover{ transform:translateY(-1px); filter:brightness(1.03); }
.btn:active{ transform:translateY(0px); }

.btn-primary{background:#e9d796;color:#111;border-color:#111;box-shadow:0 10px 22px rgba(0,0,0,.10)}
.btn-danger{background:#e48c8c;color:#fff;border-color:#9b4a4a;box-shadow:0 10px 22px rgba(155,74,74,.16)}
.btn-ghost{background:#fff;color:#111;border-color:#111}

.summary{
  background:#fff;border:1px solid #eee;border-radius:18px;padding:12px;margin-top:14px;
  box-shadow:0 10px 22px rgba(0,0,0,.06);
}
.note{font-size:.95rem;color:#444}
.notice-req{color:#b71c1c;font-weight:900}

/* Carrinho */
.cep-area{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.cep-area label{font-weight:900;text-transform:uppercase;color:#b71c1c}
.cep-area input{margin-top:6px}

/* Premium: pill carrinho + badge */
.cart-pill{
  display:inline-flex;align-items:center;gap:10px;
  padding:10px 14px;border-radius:999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  color:#fff;text-decoration:none;font-weight:900;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.cart-pill:hover{ transform: translateY(-1px); background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.28); }
.cart-badge{
  min-width:24px;height:24px;padding:0 8px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  background: var(--red);color:#fff;font-weight:900;font-size:12px;
  box-shadow: 0 6px 14px rgba(184,58,58,.35);
}
@keyframes badgePop{
  0%{ transform:scale(1); }
  40%{ transform:scale(1.18); }
  100%{ transform:scale(1); }
}
.badge-pop{ animation: badgePop .28s ease; }

/* Premium: barra fixa mobile */
.mobilebar{
  position:fixed;left:0;right:0;bottom:0;
  padding:10px 12px;
  background: rgba(255,255,255,.92);
  border-top:1px solid rgba(0,0,0,.10);
  backdrop-filter: blur(10px);
  display:none;
  z-index:60;
}
.mobilebar .mbwrap{
  max-width:1280px;margin:0 auto;
  display:flex;gap:10px;align-items:center;justify-content:space-between;
}
.mobilebar .mbwrap a, .mobilebar .mbwrap button{
  flex:1;
}
@media(max-width:640px){
  .mobilebar{ display:block; }
  body{ padding-bottom:76px; } /* espaço pra barra */
}

/* Footer */
.footer{
  margin-top:24px;padding:18px 12px;border-top:2px solid #0b0b0b;background:#0e0e0e;color:#eaeaea;
  display:flex;flex-direction:column;gap:10px;align-items:center
}
.footer .rights{text-align:center;color:#c7c7c7}
.footer .socials{display:flex;gap:16px;align-items:center}
.footer .socials img{width:24px;height:24px}

/* Premium: mini resumo na home */
.home-mini{
  margin:12px auto 0 auto;
  max-width:1280px;
  background:linear-gradient(180deg,#ffffff 0%, #fbfbfb 100%);
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  padding:12px;
  box-shadow:0 10px 22px rgba(0,0,0,.06);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.home-mini strong{font-weight:900}
.home-mini .muted{color:#555;font-weight:700}
@media(max-width:640px){
  .home-mini{flex-direction:column;align-items:flex-start}
}
