:root {
  --cream: #f9f9f4;
  --paper: #fff;
  --wine: #571b1c;
  --ink: #210f0f;
  --muted: #616161;
  --line: #e3e4e6;
  --orange: #ed5900;
  --header: #ff6a00;
  --green: #29b540;
  --shadow: 0 2px 8px rgba(33, 15, 15, 0.1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.5 Nunito, Byrd, "Segoe UI", sans-serif;
}
a { color: var(--wine); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
button, input, select { font: inherit; }
.top {
  background: #3b1011;
  color: #f4ebe3;
  font-size: 12px;
  letter-spacing: .04em;
  text-align: center;
  padding: .45rem 1rem;
}
.bar {
  background: var(--header);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}
.bar header {
  width: min(1260px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: .75rem 0;
}
.brand img { height: 22px; width: auto; }
.brand:hover { text-decoration: none; }
.search-head {
  display: flex;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}
.search-head input {
  flex: 1;
  border: 0;
  padding: .7rem .9rem;
  color: var(--ink);
  min-width: 0;
}
.search-head button {
  border: 0;
  background: var(--wine);
  color: #fff;
  padding: 0 1rem;
  cursor: pointer;
  font-weight: 700;
}
.bar-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.bar-actions a { color: #fff; text-decoration: none; }
.bag {
  border: 1px solid rgba(255,255,255,.55);
  padding: .4rem .7rem;
  border-radius: 8px;
  white-space: nowrap;
}
.cats {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.cats nav {
  width: min(1260px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.1rem;
  padding: .55rem 0;
  font-size: 14px;
  font-weight: 700;
}
.cats a { color: var(--wine); text-decoration: none; }
.cats a:hover, .cats a.on { text-decoration: underline; }
.wrap { width: min(1260px, calc(100% - 2rem)); margin: 0 auto; }
.section { padding: 1.4rem 0 2.4rem; }
.section h2, .shelf h2 {
  color: var(--wine);
  font-size: 1.25rem;
  margin: 0 0 1rem;
}
.kicker {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin: 0 0 .35rem;
}
.hero {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 1rem;
  padding: 1.2rem 0 0;
}
.hero-banner {
  border-radius: 12px;
  overflow: hidden;
  background: #ffb300;
  min-height: 220px;
}
.hero-banner img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.hero-side {
  background: var(--wine);
  color: #fff;
  border-radius: 12px;
  padding: 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .6rem;
}
.hero-side h1 { margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.2; }
.hero-side p { margin: 0; color: #f4ebe3; }
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .7rem;
  padding: 1rem 0 0;
}
.benefits article {
  background: #fff;
  border-radius: 10px;
  padding: .85rem .9rem;
  box-shadow: var(--shadow);
  font-size: .92rem;
}
.benefits strong { display: block; color: var(--wine); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: .7rem;
}
.cat-item {
  text-align: center;
  text-decoration: none;
  color: var(--ink);
}
.cat-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: .4rem;
}
.cat-item span { display: block; margin-top: .45rem; font-size: .86rem; font-weight: 700; color: #424242; }
.promo {
  margin: 1.4rem 0 0;
  border-radius: 12px;
  overflow: hidden;
}
.promo img { width: 100%; object-fit: cover; max-height: 220px; }
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.card {
  background: #fff;
  border-radius: 4px;
  box-shadow: var(--shadow);
  padding: .7rem .7rem 1rem;
  display: flex;
  flex-direction: column;
}
.card-media {
  display: block;
  background: #fffaf2;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: .7rem;
  position: relative;
}
.card-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}
.tag {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  min-height: 1em;
}
.card h3 {
  margin: .2rem 0 .25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  min-height: 2.6em;
}
.card p { margin: 0; color: var(--muted); font-size: .9rem; }
.price {
  margin-top: .5rem;
  font-weight: 700;
  color: var(--wine);
  font-size: 1.15rem;
}
.price-block { margin-top: .55rem; }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem; }
.price-now { font-weight: 800; color: var(--wine); font-size: 1.2rem; }
.price-old { color: #9a8c8c; text-decoration: line-through; font-size: .86rem; }
.price-save { margin: .15rem 0 0; color: #2d7a32; font-size: .82rem; font-weight: 700; }
.badge {
  position: absolute;
  top: .55rem;
  left: .55rem;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: .2rem .45rem;
  border-radius: 6px;
  letter-spacing: .02em;
}
.badge.combo-flag { background: var(--wine); }
.card-media .badge:not(.combo-flag) { left: auto; right: .55rem; }
.deal-bar {
  background: var(--wine);
  color: #fff;
  padding: .85rem 0;
  margin-bottom: .4rem;
}
.deal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}
.deal-inner p { margin: 0; font-size: .95rem; }
.ticks { display: flex; gap: .45rem; }
.ticks span {
  background: rgba(255,255,255,.12);
  border-radius: 8px;
  min-width: 4.2rem;
  padding: .35rem .5rem;
  text-align: center;
}
.ticks b { display: block; font-size: 1.35rem; line-height: 1.1; }
.ticks small { font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; color: #f4ebe3; }
.hero-cd {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.hero-cd span { font-size: .8rem; font-weight: 700; color: #ffb38a; text-transform: uppercase; }
.hero-cd b { font-size: 1.35rem; }
.gallery { position: relative; }
.gallery .badge:not(.combo-flag) { left: auto; right: .55rem; }
.card-actions { display: grid; grid-template-columns: 1fr auto; gap: .45rem; margin-top: .7rem; }
.card-actions .btn { margin-top: 0; }
.btn.ok-flash { background: #2d7a32; }
.install { font-size: .8rem; color: var(--muted); font-weight: 400; }
.btn {
  display: inline-block;
  margin-top: .75rem;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .75rem 1rem;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.btn:hover { filter: brightness(1.05); text-decoration: none; color: #fff; }
.btn.ghost { background: transparent; color: var(--wine); border: 1px solid var(--wine); }
.card .btn { width: 100%; }
.search-bar {
  display: flex;
  gap: .6rem;
  margin: 1rem 0 1.4rem;
  max-width: 560px;
}
.search-bar input {
  flex: 1;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: .7rem .85rem;
}
.search-bar button {
  border: 0;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  padding: .7rem 1rem;
  font-weight: 700;
  cursor: pointer;
}
.pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 1.6rem 0 1rem;
}
.crumbs { font-size: .86rem; color: var(--muted); margin: 1rem 0 0; }
.gallery {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1rem;
}
.gallery-main {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fffaf2;
}
.thumbs { display: flex; gap: .5rem; margin-top: .8rem; }
.thumbs button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0;
  width: 72px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
}
.thumbs button.on { border-color: var(--wine); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp-info h1 { margin: .2rem 0 .4rem; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--wine); }
.sku { color: var(--muted); font-size: .85rem; }
.pdp-price { font-size: 1.7rem; font-weight: 800; color: var(--wine); margin: .6rem 0 .2rem; }
.qty-row { display: flex; align-items: center; gap: .8rem; margin: 1rem 0; }
.qty-row input { width: 5rem; padding: .55rem; border: 1px solid var(--line); border-radius: 8px; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.actions .btn { margin-top: 0; min-width: 200px; }
.pdp-panel {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1.2rem 1.3rem;
  margin: 0 0 1.4rem;
}
.pdp-panel h2 { margin: 0 0 .6rem; }
.pdp-panel p, .pdp-panel li { color: #424242; }
.ship { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.ship article { background: var(--cream); border-radius: 8px; padding: .8rem; }
.bag-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.2rem;
  align-items: start;
}
.box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}
.line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: .8rem;
  align-items: center;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
}
.line img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #fffaf2;
  border-radius: 6px;
}
.line input { width: 4.2rem; padding: .4rem; border: 1px solid var(--line); border-radius: 6px; }
.line button.linkish {
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  font-size: .82rem;
}
label { display: block; margin: .7rem 0 .3rem; font-size: 12px; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; font-weight: 700; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"] {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: .7rem;
  border-radius: 8px;
}
.pix-box {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.pix-box img.qr { width: 220px; height: 220px; margin: .6rem auto; background: #fff; }
.pix-box code {
  display: block;
  word-break: break-all;
  background: var(--cream);
  padding: .7rem;
  font: 12px/1.4 ui-monospace, monospace;
  border-radius: 8px;
}
.err { color: #a33; font-size: .92rem; }
.ok { color: #1b7a2d; font-weight: 700; }
.empty { color: var(--muted); padding: 1.4rem 0; }
.track { display: grid; gap: .6rem; margin-top: 1.2rem; }
.step { display: flex; gap: .8rem; align-items: flex-start; color: var(--muted); }
.step.on { color: var(--wine); font-weight: 700; }
.dot { width: 10px; height: 10px; margin-top: .35rem; border-radius: 50%; background: var(--line); flex: 0 0 10px; }
.step.on .dot { background: var(--orange); }
#bc-site-footer { margin-top: 24px; background: var(--cream); color: var(--wine); }
#bc-site-footer a { color: var(--wine); text-decoration: none; }
#bc-site-footer a:hover { text-decoration: underline; }
.bc-footer-newsletter { background: var(--wine); color: #fff; padding: 32px 20px; }
.bc-footer-newsletter .wrap {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.bc-footer-newsletter h2 { margin: 0; font-size: 1.25rem; color: #fff; }
.bc-footer-form { display: flex; gap: 8px; flex: 1; min-width: 260px; max-width: 480px; }
.bc-footer-form input { flex: 1; border: 0; border-radius: 8px; padding: 12px 14px; }
.bc-footer-form button {
  border: 0; border-radius: 8px; background: var(--orange); color: #fff;
  padding: 12px 18px; font-weight: 700; cursor: pointer;
}
.bc-footer-grid {
  max-width: 1260px;
  margin: 0 auto;
  padding: 36px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
}
.bc-footer-grid h3 { margin: 0 0 12px; font-size: 1rem; }
.bc-footer-grid ul { list-style: none; margin: 0; padding: 0; }
.bc-footer-grid li { margin: 6px 0; font-size: .9rem; }
.bc-footer-pays {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bc-footer-pays span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .25rem .55rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--ink);
}
.bc-footer-copy {
  border-top: 1px solid var(--line);
  padding: 18px 20px 28px;
  font-size: .78rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 1260px;
  margin: 0 auto;
}
#bc-wpp {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #29b540 url("/mirror/arquivos/float_whatsapp-icon.509807c9a6.png") center/70% no-repeat;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
}
#bc-wpp:hover { transform: scale(1.05); }
.checkout-steps {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 1.1rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
}
.checkout-steps span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .25rem .7rem;
}
.checkout-steps .on { background: var(--wine); color: #fff; border-color: var(--wine); }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem .7rem;
}
.form-grid .span-2 { grid-column: span 2; }
.form-title { margin: 1.2rem 0 .2rem; }
.ship-list { display: grid; gap: .55rem; margin: .6rem 0 1rem; }
.ship-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .7rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .75rem .85rem;
  cursor: pointer;
  background: var(--cream);
}
.ship-card.on { border-color: var(--wine); background: #fff; box-shadow: var(--shadow); }
.ship-card small { display: block; color: var(--muted); font-weight: 400; }
.ship-card em { font-style: normal; font-weight: 800; color: var(--wine); white-space: nowrap; }
.ship-card s { color: #9a8c8c; font-weight: 400; margin-right: .25rem; }
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin: .35rem 0;
}
.stepper button {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: var(--cream);
  cursor: pointer;
  font-size: 1.1rem;
}
.stepper input {
  width: 3.2rem;
  border: 0;
  text-align: center;
  padding: .35rem 0;
}
.summary-box { position: sticky; top: 5.5rem; }
.sum-line { display: flex; justify-content: space-between; padding: .35rem 0; }
.sum-line.total { border-top: 1px solid var(--line); margin-top: .4rem; padding-top: .7rem; font-size: 1.05rem; }
.trust { font-size: .8rem; color: var(--muted); }
.cep-status { font-size: .82rem; color: var(--muted); min-height: 1.2em; }
.empty-box { background: #fff; border-radius: 10px; padding: 2rem 1.2rem; text-align: center; box-shadow: var(--shadow); }
.pdp-price-block { margin: .5rem 0 .15rem; }
.line-total { font-weight: 800; color: var(--wine); }
@media (max-width: 980px) {
  .bar header { grid-template-columns: 1fr auto; }
  .search-head { grid-column: 1 / -1; max-width: none; order: 3; }
  .hero, .pdp, .bag-layout, .grid, .benefits, .ship { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .hero, .pdp, .bag-layout, .grid, .benefits, .ship, .line, .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .bar-actions .hide-sm { display: none; }
  .actions .btn { width: 100%; }
  .card-actions { grid-template-columns: 1fr; }
  .summary-box { position: static; }
}
