/* Loja Atacadão Natalino: branco limpo, Montserrat (a mesma fonte dos banners), vermelho do logo nos botões, vermelho profundo nas barras e selos, dourado nos detalhes. Verde só para Pix e economia. */
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-v20.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --brand: #d0101c;
  --brand-2: #e2545b;
  --brand-dark: #a80c16;
  --brand-soft: #fff2f2;
  --wine: #a00b14;
  --wine-soft: #fdecec;
  --gold: #b98200;
  --gold-bright: #f6c135;
  --gold-soft: #fdf3d8;
  --price: #1d1a18;
  --ok: #13804a;
  --pix-bg: #eef6f0;
  --pix-line: #d4e7d9;
  --text: #1d1a18;
  --muted: #6c6763;
  --line: #e7e2dc;
  --soft: #f7f4f0;
  --white: #ffffff;
  --radius: 14px;
  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--text); background: var(--white); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.container { max-width: 1320px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
@media (min-width: 960px) { .container { padding-left: 32px; padding-right: 32px; } }
svg { flex: none; }
[hidden] { display: none !important; }

/* Topo */
.announce { background: linear-gradient(90deg, #8c0711, var(--wine) 30%, var(--wine) 70%, #8c0711); color: #fff; text-align: center; font-size: 13px; padding: 9px 12px; }
.announce b { font-weight: 700; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 21px; letter-spacing: -0.02em; color: var(--brand); }
.logo svg { width: 30px; height: 30px; }
.logo img { display: block; height: 48px; width: auto; }
.foot-logo { display: block; height: 58px; width: auto; margin-bottom: 14px; padding: 9px 14px; background: #fff; border-radius: 12px; }
.header-left, .header-right { display: flex; align-items: center; gap: 4px; }
.header-right { justify-content: flex-end; }
.icon-btn { position: relative; width: 42px; height: 42px; border: 0; background: transparent; border-radius: 10px; display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 22px; height: 22px; }
.badge-count { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; border-radius: 99px; background: var(--wine); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.search { display: none; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; height: 40px; width: 260px; color: var(--muted); font-size: 13px; }
.search svg { width: 17px; height: 17px; }
.nav { border-bottom: 1px solid var(--line); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; justify-content: center; height: 46px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.nav li { white-space: nowrap; font-weight: 500; }
.nav li.hot { color: var(--wine); font-weight: 600; }
.nav a:hover { color: var(--wine); }
@media (min-width: 960px) { .search { display: flex; } .menu-btn { display: none; } }
@media (max-width: 959px) { .nav ul { justify-content: flex-start; gap: 20px; height: 42px; font-size: 13px; } .logo { font-size: 18px; } .logo img { height: 36px; } }

.crumbs { font-size: 12.5px; color: var(--muted); padding: 14px 0; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs span:last-child { color: var(--text); }

/* Produto */
.product { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); gap: 36px; align-items: start; padding-bottom: 48px; }
.gallery { position: sticky; top: 16px; display: grid; gap: 12px; min-width: 0; }
.viewer { position: relative; height: clamp(520px, calc(100vh - 150px), 820px); border-radius: 18px; overflow: hidden; background: #f3efe9; touch-action: none; }
.viewer canvas { display: block; width: 100% !important; height: 100% !important; cursor: grab; }
.viewer canvas:active { cursor: grabbing; }
.v-top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 10px; pointer-events: none; z-index: 2; }
.v-pill { pointer-events: auto; display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.92); border-radius: 999px; padding: 7px 12px; font-size: 12.5px; font-weight: 600; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.v-pill svg { width: 15px; height: 15px; }
.v-progress { pointer-events: auto; background: rgba(255,255,255,.94); border-radius: 12px; padding: 9px 12px; min-width: 210px; box-shadow: 0 2px 10px rgba(0,0,0,.08); display: grid; gap: 6px; font-size: 12.5px; }
.v-progress b { font-size: 15px; }
.v-progress .bar { height: 5px; border-radius: 9px; background: #ece7e1; overflow: hidden; }
.v-progress .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--wine)); width: 0; transition: width .6s ease; }
.v-tools { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: space-between; gap: 8px; z-index: 2; pointer-events: none; }
.v-tools .grp { display: flex; gap: 8px; pointer-events: auto; }
.v-btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: rgba(255,255,255,.94); font-weight: 600; font-size: 13px; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.1); }
.v-btn svg { width: 17px; height: 17px; }
.v-btn.icon { width: 40px; padding: 0; justify-content: center; }
.v-btn[aria-pressed="true"] { background: #f5c451; color: #2b1d02; box-shadow: 0 0 0 4px rgba(245,196,81,.3), 0 6px 22px rgba(245,196,81,.45); }
.v-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-weight: 500; z-index: 1; }
.views { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.view-btn { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-weight: 500; font-size: 13px; white-space: nowrap; }
.view-btn:hover { border-color: var(--brand); }
.view-btn svg { width: 16px; height: 16px; }

.info { border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: grid; gap: 20px; min-width: 0; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; background: var(--wine-soft); color: var(--wine); }
.tag.green { background: var(--gold-soft); color: #8a5a00; }
h1 { font-size: 30px; line-height: 1.15; letter-spacing: -0.025em; margin: 0; font-weight: 700; text-wrap: balance; }
.rating { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.stars { color: #e0a82e; letter-spacing: 1px; font-size: 15px; }
.rating b { color: var(--text); }
.price-box { display: grid; gap: 10px; padding-top: 4px; border-top: 1px solid var(--line); padding-top: 18px; }
.old { color: var(--muted); text-decoration: line-through; font-size: 14px; }
.now { font-size: 36px; font-weight: 700; color: var(--price); letter-spacing: -0.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.inst { color: var(--muted); font-size: 13.5px; }
.inst b { color: var(--text); }
.pix { display: flex; align-items: center; gap: 12px; background: var(--pix-bg); border: 1px solid var(--pix-line); border-radius: 12px; padding: 11px 14px; }
.pix svg { width: 26px; height: 26px; color: var(--ok); }
.pix strong { font-size: 16px; font-variant-numeric: tabular-nums; color: var(--ok); }
.pix small { display: block; color: var(--muted); font-size: 12px; }
.pill-wine { display: inline-block; background: var(--wine); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; margin-left: 6px; vertical-align: 2px; }
.economy { justify-self: start; background: var(--wine); color: #fff; font-weight: 800; font-size: 12.5px; letter-spacing: .02em; padding: 8px 14px; border-radius: 999px; }
.economy span { color: #ffd88a; }

.opt { display: grid; gap: 10px; }
.opt-label { font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.opt-label span { font-weight: 400; color: var(--muted); font-size: 13px; }
.sizes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.size-btn { height: 46px; border: 1px solid var(--line); border-radius: 9px; background: #fff; cursor: pointer; font-weight: 600; font-variant-numeric: tabular-nums; }
.size-btn:hover { border-color: var(--brand); }
.size-btn[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.variants { display: flex; gap: 8px; flex-wrap: wrap; }
.var-btn { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 14px 0 8px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-weight: 500; }
.var-btn i { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.var-btn small { color: var(--muted); }
.var-btn[aria-pressed="true"] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }

.styles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.style-card { position: relative; text-align: left; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 12px; cursor: pointer; display: grid; gap: 6px; transition: border-color .15s, box-shadow .15s; }
.style-card:hover { border-color: var(--brand-2); }
.style-card[aria-pressed="true"] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: #fffafa; }
.dots { display: flex; }
.dots i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; margin-right: -6px; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.style-name { font-weight: 700; font-size: 14px; }
.style-note { font-size: 12px; color: var(--muted); }
.style-price { font-size: 12.5px; font-weight: 600; color: var(--price); font-variant-numeric: tabular-nums; }
.check { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; display: none; place-items: center; }
.check svg { width: 13px; height: 13px; }
.style-card[aria-pressed="true"] .check { display: grid; }
.none-btn { justify-self: start; border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 13px; padding: 2px 0; }

.custom { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.custom h2 { font-size: 17px; margin: 0; letter-spacing: -0.01em; }
.cat-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.cat-btn { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; height: 36px; padding: 0 13px; cursor: pointer; font-weight: 500; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.cat-btn .n { font-size: 11px; font-weight: 700; background: var(--soft); border-radius: 99px; padding: 1px 7px; color: var(--muted); }
.cat-btn[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.cat-btn[aria-pressed="true"] .n { background: rgba(255,255,255,.18); color: #fff; }
.rec { font-size: 12.5px; color: var(--muted); background: var(--soft); border-radius: 10px; padding: 9px 12px; display: grid; gap: 6px; }
.rec b { color: var(--text); }
.rec .bar { height: 4px; border-radius: 9px; background: #e7e1d9; overflow: hidden; }
.rec .bar i { display: block; height: 100%; background: var(--brand); }
.items { display: grid; gap: 8px; max-height: 430px; overflow-y: auto; padding-right: 2px; }
.item { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px 8px 8px; }
.item.on { border-color: var(--brand-2); background: #fffafa; }
.item img { width: 62px; height: 62px; border-radius: 9px; background: var(--soft); object-fit: contain; display: block; }
.item-name { font-weight: 600; font-size: 13.5px; line-height: 1.3; }
.item-note { font-size: 12px; color: var(--muted); }
.item-price { font-size: 13px; font-weight: 700; color: var(--price); font-variant-numeric: tabular-nums; }
.item p { margin: 0; }
.add-btn { height: 34px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--brand); background: #fff; color: var(--brand); font-weight: 600; font-size: 13px; cursor: pointer; white-space: nowrap; }
.add-btn:hover { background: var(--brand); color: #fff; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.stepper button { width: 32px; height: 34px; border: 0; background: var(--soft); cursor: pointer; font-size: 17px; }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper span { min-width: 30px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.on-label { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--brand); font-size: 13px; }
.on-label button { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 12px; }

.buy { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.buy-line { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13.5px; color: var(--muted); }
.buy-line strong { color: var(--text); font-size: 18px; font-variant-numeric: tabular-nums; }
.btn { height: 54px; border-radius: 10px; border: 1px solid transparent; font-weight: 700; font-size: 15.5px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; }
.btn svg { width: 19px; height: 19px; }
.btn-buy { background: var(--brand); color: #fff; }
.btn-buy:hover { background: var(--brand-dark); }
.btn-out { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-out:hover { background: var(--brand-soft); }
.ship { display: grid; gap: 8px; }
.ship form { display: flex; gap: 8px; }
.ship input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--line); border-radius: 9px; padding: 0 12px; }
.ship button { height: 44px; padding: 0 16px; border-radius: 9px; border: 1px solid var(--text); background: #fff; font-weight: 600; cursor: pointer; }
.ship-res { display: grid; gap: 6px; font-size: 13px; }
.ship-res div { display: flex; justify-content: space-between; gap: 8px; border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; }
.ship-res b.free { color: #2f8a6c; }
.trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.trust li { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--muted); }
.trust li b { display: block; color: var(--text); font-size: 13px; }
.trust svg { width: 26px; height: 26px; color: var(--brand); }

/* Abaixo do produto */
.below { border-top: 1px solid var(--line); padding: 44px 0 60px; display: grid; gap: 44px; }
.below h2 { font-size: 24px; letter-spacing: -0.02em; margin: 0 0 16px; }
.desc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.desc p { color: #3d3834; font-size: 15px; max-width: 62ch; margin: 0 0 12px; }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs th, .specs td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); }
.specs th { color: var(--muted); font-weight: 500; width: 46%; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.review { border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; gap: 8px; align-content: start; }
.review p { margin: 0; color: #3d3834; }
.review small { color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.faq p { color: #3d3834; margin: 10px 0 0; max-width: 70ch; }
.note-proto { font-size: 12.5px; color: var(--muted); }

.site-footer { background: #5e060d; color: #f3d9d9; padding: 40px 0 28px; font-size: 13px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.site-footer h3 { color: #fff; font-size: 14px; margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 28px; padding-top: 18px; color: #e0b3b3; }

/* Carrinho, modal, aviso */
.scrim { position: fixed; inset: 0; background: rgba(15,12,10,.45); z-index: 60; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; z-index: 61; display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,.2); animation: slide .25s ease-out; }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 14px 14px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 18px; }
.free-bar { padding: 12px 20px; font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.free-bar .bar { height: 5px; background: #ece7e1; border-radius: 9px; overflow: hidden; }
.free-bar .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-bright), var(--brand)); }
.drawer-list { flex: 1; overflow-y: auto; padding: 4px 20px; }
.line { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line img { width: 54px; height: 54px; border-radius: 8px; background: var(--soft); object-fit: contain; }
.line p { margin: 0; }
.line-right { display: grid; justify-items: end; gap: 6px; font-weight: 700; font-variant-numeric: tabular-nums; }
.line .stepper button { width: 28px; height: 28px; font-size: 15px; }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 7px; }
.trow { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.trow.disc { color: #2f8a6c; font-weight: 600; }
.trow.total { color: var(--text); font-size: 19px; font-weight: 700; }
.trow.pix-row { color: var(--ok); font-weight: 600; }
.modal { position: fixed; z-index: 61; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto; background: #fff; border-radius: 18px; padding: 24px; display: grid; gap: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.modal h2 { margin: 0; font-size: 21px; }
.modal img { width: 100%; border-radius: 12px; display: block; }
.modal p { margin: 0; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 12px); background: var(--text); color: #fff; padding: 11px 18px; border-radius: 12px; font-weight: 500; font-size: 13.5px; opacity: 0; pointer-events: none; transition: .25s; z-index: 80; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.mobile-buy { display: none; }

@media (max-width: 959px) {
  .product { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .gallery { position: sticky; top: 0; z-index: 20; margin: 0 calc(-1 * max(16px, env(safe-area-inset-left))); gap: 0; background: #fff; }
  .viewer { height: 46svh; min-height: 330px; border-radius: 0; }
  .views { padding: 8px 16px; background: #fff; border-bottom: 1px solid var(--line); }
  .view-btn { height: 36px; flex: 1 0 auto; }
  .info { border: 0; padding: 20px 0 8px; }
  h1 { font-size: 24px; }
  .now { font-size: 31px; }
  .v-progress { min-width: 0; }
  .v-btn .lbl { display: none; }
  .v-btn { width: 40px; padding: 0; justify-content: center; }
  .desc { grid-template-columns: minmax(0, 1fr); }
  .reviews { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .items { max-height: none; }
  .mobile-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); gap: 12px; align-items: center; box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
  .mobile-buy .mb-price { flex: 1; min-width: 0; display: grid; }
  .mobile-buy strong { font-size: 19px; color: var(--price); font-variant-numeric: tabular-nums; }
  .mobile-buy small { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobile-buy .btn { width: auto; height: 48px; padding: 0 22px; }
  body { padding-bottom: 76px; }
}
@media (max-width: 420px) { .sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .styles { grid-template-columns: minmax(0, 1fr); } .trust { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Galeria: fotos reais e prévia ao vivo */
.v-loading { z-index: 6; background: #f3efe9; }
.inspo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 3; background: #f3efe9; }
.inspo-bar { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(255,255,255,.95); border-radius: 12px; padding: 10px 10px 10px 14px; font-weight: 600; font-size: 13px; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.btn-mini { height: 36px; padding: 0 14px; border-radius: 9px; border: 0; background: var(--brand); color: #fff; font-weight: 600; font-size: 13px; cursor: pointer; white-space: nowrap; }
.v-top, .v-tools { z-index: 5; }
.views { padding-bottom: 2px; }
.thumb-btn { flex: none; width: 92px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 4px; cursor: pointer; display: grid; gap: 4px; text-align: center; font-size: 11px; font-weight: 600; color: var(--muted); }
.thumb-btn img { width: 100%; height: 76px; object-fit: cover; border-radius: 7px; display: block; background: var(--soft); }
.thumb-btn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 2px 2px; }
.thumb-btn[aria-pressed="true"] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); color: var(--text); }
.item-act { display: flex; justify-content: flex-end; }
@media (max-width: 959px) { .thumb-btn { width: 74px; } .thumb-btn img { height: 56px; } .inspo-bar { font-size: 12px; } }

/* Montagem com imagens */
.scene-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.opt-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 520px) { .opt-row { grid-template-columns: minmax(0, 1fr); } }
.variants .var-btn { flex: 1 1 auto; }
.base-ic { background: #efe9e0 center/70% no-repeat; }
.base-pe { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23203529' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 4v12M4 20l8-4 8 4'/%3E%3C/svg%3E"); }
.base-cesto { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0703a' stroke-width='2'%3E%3Cpath d='M4 9h16l-2 11H6z'/%3E%3Cpath d='M8 9l1 11M12 9v11M16 9l-1 11' stroke-width='1.2'/%3E%3C/svg%3E"); }
.style-pics { display: flex; gap: 2px; height: 34px; }
.style-pics img { width: 34px; height: 34px; object-fit: contain; }
.item img { object-fit: contain; padding: 4px; }
.info { grid-template-columns: minmax(0, 1fr); }
.info > *, .custom > *, .buy > *, .opt > * { min-width: 0; }
@media (max-width: 520px) {
  .v-pill { font-size: 0; gap: 0; padding: 8px; }
  .v-pill svg { width: 16px; height: 16px; }
  .v-progress { min-width: 0; max-width: 62%; font-size: 11.5px; padding: 7px 10px; }
  .v-progress b { font-size: 13px; }
  .size-btn { height: 42px; }
}

/* Celular: página rola livre; o montador abre em tela cheia com árvore fixa em cima e menu fixo embaixo */
:root { --bh: 47svh; }
.build-open, .build-cta, .build-close { display: none; }
.items .styles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tree-opts { display: grid; gap: 16px; }
@media (min-width: 960px) { .cat-btn.pseudo { display: none; } }
@media (max-width: 959px) {
  .gallery { position: relative; top: auto; z-index: 1; }
  .viewer { height: auto; aspect-ratio: 5 / 6; max-height: none; min-height: 0; }
  .custom { display: none; }
  .build-open { display: inline-flex; position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 6; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.25); cursor: pointer; white-space: nowrap; }
  .build-open svg { width: 17px; height: 17px; }
  .build-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; border: 1px solid var(--brand); background: var(--brand-soft); border-radius: 14px; padding: 14px 16px; cursor: pointer; }
  .build-cta b { display: block; font-size: 15px; }
  .build-cta small { color: var(--muted); font-size: 12.5px; }
  .build-cta .go { flex: none; background: var(--brand); color: #fff; border-radius: 10px; padding: 9px 12px; font-weight: 700; font-size: 13px; }

  html.building, html.building body { overflow: hidden; }
  html.building .gallery { position: fixed; top: 0; left: 0; right: 0; margin: 0; height: var(--bh); z-index: 70; }
  html.building .viewer { height: 100%; max-height: none; min-height: 0; }
  html.building .views, html.building .build-open { display: none; }
  html.building .v-tools { bottom: 28px; }
  html.building .custom { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 10px; position: fixed; left: 0; right: 0; top: calc(var(--bh) - 16px); bottom: calc(72px + env(safe-area-inset-bottom)); z-index: 71; background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 -8px 26px rgba(0,0,0,.14); padding: 0 max(16px, env(safe-area-inset-right)) 16px max(16px, env(safe-area-inset-left)); overflow-y: auto; overscroll-behavior: contain; border-top: 0; }
  html.building .build-head { position: sticky; top: 0; background: #fff; z-index: 3; padding: 12px 0 6px; align-items: center; flex-wrap: nowrap; gap: 10px; }
  html.building .build-head h2 { font-size: 16px; }
  html.building .build-head #customCount { font-size: 12px; white-space: nowrap; }
  html.building .build-close { display: inline-flex; align-items: center; margin-left: auto; height: 34px; padding: 0 14px; border-radius: 9px; border: 0; background: var(--brand); color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; }
  html.building .cat-tabs { position: sticky; top: 52px; background: #fff; z-index: 3; padding-bottom: 6px; }
  html.building .items { max-height: none; }
  html.building .mobile-buy { z-index: 72; }
}
@media (max-width: 959px) { html:not(.building) .v-tools .grp:last-child { display: none; } }
@media (max-width: 959px) {
  html.building .custom { bottom: 0; padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  html.building .build-head h2 { font-size: 15px; white-space: nowrap; }
  html.building .build-head #customCount { display: none; }
}

/* Banner de Natal com letreiro */
.promo { position: relative; display: block; width: 100%; aspect-ratio: 3 / 1; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: pointer; background: #5a0d16 url("../img/banner-natal.webp") left center / cover no-repeat; container-type: inline-size; box-shadow: 0 6px 18px rgba(104, 28, 43, .22); text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.promo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 64% 50%, rgba(40, 0, 8, .28), transparent 70%); pointer-events: none; }
.promo:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(104, 28, 43, .3); }
.promo:focus-visible { outline: 2px solid #c39a3e; outline-offset: 3px; }
.promo-text { position: absolute; z-index: 1; top: 50%; left: 34%; right: 4%; transform: translateY(-50%); display: grid; justify-items: center; gap: 1.2cqw; color: #fbf3e4; }
.promo-eyebrow { font-family: var(--font); font-weight: 700; font-size: clamp(9px, 2.6cqw, 13px); letter-spacing: .32em; text-transform: uppercase; color: #e7c77e; padding-left: .32em; }
.promo-title { font-family: var(--font); font-weight: 700; font-size: clamp(18px, 7.4cqw, 40px); line-height: 1.04; letter-spacing: -0.03em; color: #fbf3e4; text-shadow: 0 2px 10px rgba(30, 0, 6, .45); white-space: nowrap; }
.promo-sub { font-family: var(--font); font-weight: 500; font-size: clamp(10.5px, 3.1cqw, 15px); color: rgba(251, 243, 228, .86); letter-spacing: .01em; }
@media (prefers-reduced-motion: reduce) { .promo, .promo:hover { transform: none; } }
.promo-text { left: 33%; right: 3%; }
.promo-title { font-size: clamp(17px, 6.4cqw, 38px); }

/* ===== Modelos prontos ===== */
.models { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.model { position: relative; display: grid; grid-template-rows: auto 1fr; text-align: left; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.model:hover { border-color: var(--brand-2); transform: translateY(-1px); }
.model[aria-pressed="true"] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand), 0 6px 18px rgba(160, 11, 20, .12); }
.model img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: var(--soft); }
.model-body { display: grid; gap: 2px; padding: 9px 10px 11px; }
.model-name { font-weight: 700; font-size: 13.5px; line-height: 1.25; }
.model-note { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.model-price { font-size: 13px; font-weight: 700; color: var(--price); margin-top: 3px; font-variant-numeric: tabular-nums; }
.model .check { top: 8px; right: 8px; }
.model[aria-pressed="true"] .check { display: grid; }
.model-custom .custom-art { aspect-ratio: 4 / 5; display: grid; place-items: center; align-content: center; gap: 8px; background: radial-gradient(circle at 50% 35%, #f6e9ec, #efe6dc 70%); color: var(--wine); text-align: center; padding: 10px; }
.model-custom .custom-art svg { width: 34px; height: 34px; }
.model-custom .custom-art b { font-weight: 700; letter-spacing: -0.02em; font-size: 16px; color: var(--wine); line-height: 1.1; }
.model-custom .custom-art img { aspect-ratio: auto; height: 100%; object-fit: cover; }
.link-cta { justify-self: start; border: 0; background: none; padding: 2px 0; color: var(--brand); font-weight: 600; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.custom-summary { display: grid; gap: 10px; border: 1px solid var(--brand); background: var(--brand-soft); border-radius: 14px; padding: 14px 16px; }
.custom-summary .cs-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.custom-summary b { font-size: 15px; }
.custom-summary p { margin: 0; font-size: 12.5px; color: var(--muted); }
.custom-summary .cs-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.custom-summary .btn-mini.ghost { background: #fff; color: var(--brand); border: 1px solid var(--brand); }

/* ===== Montador (aba em tela cheia) ===== */
html.bld-open, html.bld-open body { overflow: hidden; }
.bld { position: fixed; inset: 0; z-index: 75; background: #fff; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: "top top" "stage panel" "foot foot"; }
.bld-top { grid-area: top; display: flex; align-items: center; gap: 12px; padding: 10px max(16px, env(safe-area-inset-right)) 10px max(12px, env(safe-area-inset-left)); border-bottom: 1px solid var(--line); padding-top: calc(10px + env(safe-area-inset-top)); }
.bld-back { display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 10px 0 6px; border: 0; background: transparent; border-radius: 10px; font-weight: 600; cursor: pointer; }
.bld-back:hover { background: var(--soft); }
.bld-back svg { width: 20px; height: 20px; }
.bld-heading { display: grid; flex: 1; min-width: 0; text-align: center; }
.bld-heading b { font-weight: 700; letter-spacing: -0.02em; font-size: 18px; }
.bld-heading span { font-size: 12px; color: var(--muted); }
.bld-night { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; }
.bld-night svg { width: 18px; height: 18px; }
.bld-night[aria-pressed="true"] { background: #f5c451; border-color: transparent; }
.bld-stage { grid-area: stage; position: relative; background: #f3efe9; min-height: 0; }
.bld-stage #stage { position: absolute !important; inset: 0; }
.bld-panel { grid-area: panel; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 max(20px, env(safe-area-inset-right)) 24px 20px; border-left: 1px solid var(--line); display: grid; align-content: start; gap: 12px; }
.bld-steps { position: sticky; top: 0; z-index: 2; background: #fff; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 14px 0 10px; }
.bld-steps::-webkit-scrollbar { display: none; }
.bld-step { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px 0 6px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: 13px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.bld-step .n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); font-size: 12px; font-variant-numeric: tabular-nums; }
.bld-step .n svg { width: 12px; height: 12px; }
.bld-step.done .n { background: var(--gold); color: #fff; }
.bld-step[aria-current="step"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.bld-step[aria-current="step"] .n { background: rgba(255,255,255,.2); color: #fff; }
.bld-head h2 { margin: 0; font-size: 20px; letter-spacing: -0.01em; }
.bld-head p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.bld-items { display: grid; gap: 8px; }
.bld-items h3 { margin: 10px 0 2px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.bld-foot { grid-area: foot; display: flex; align-items: center; gap: 10px; padding: 12px max(16px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); border-top: 1px solid var(--line); background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.05); }
.bld-total { display: grid; margin-right: auto; min-width: 0; }
.bld-total small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bld-total strong { font-size: 22px; color: var(--price); font-variant-numeric: tabular-nums; line-height: 1.1; transition: transform .2s; }
.bld-total strong.bump { transform: scale(1.08); }
.bld-foot .btn { width: auto; height: 48px; padding: 0 20px; }
.bld-prev[hidden] { display: none; }
@media (max-width: 959px) {
  .bld { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto min(120vw, 52svh) minmax(0, 1fr) auto; grid-template-areas: "top" "stage" "panel" "foot"; }
  .bld-panel { border-left: 0; border-top-left-radius: 18px; border-top-right-radius: 18px; margin-top: 0; background: #fff; position: relative; z-index: 2; box-shadow: 0 -8px 22px rgba(0,0,0,.1); padding: 0 16px 20px; }
  .bld-heading b { font-size: 17px; }
  .bld-head h2 { font-size: 17px; }
  .bld-total strong { font-size: 19px; }
  .bld-foot .btn { height: 46px; padding: 0 14px; font-size: 14px; }
  .bld-back span { display: none; }
  .build-cta, .custom { display: none !important; }
}
.bld-panel { grid-auto-rows: max-content; }
.bld-steps { min-height: 60px; }
.bld-foot .btn { white-space: nowrap; }
html.bld-open .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
@media (max-width: 959px) {
  .bld-foot .bld-prev { display: none; }
  .bld-foot .bld-next { max-width: 62%; overflow: hidden; text-overflow: ellipsis; }
}
.on-label svg { width: 14px; height: 14px; }
.on-label { white-space: nowrap; }

/* Modelos compactos: 4 numa linha */
.models { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.model { border-radius: 11px; }
.model img { aspect-ratio: 1 / 1.08; }
.model-body { padding: 6px 7px 8px; gap: 1px; }
.model-name { font-size: 12.5px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.model-note { display: none; }
.model-price { font-size: 11.5px; margin-top: 1px; white-space: nowrap; }
.model .check { width: 20px; height: 20px; top: 5px; right: 5px; }
.model .check svg { width: 11px; height: 11px; }
.model:hover { transform: none; }

/* Faixa "do seu jeito" e resumo da árvore personalizada */
.custom-cta, .custom-summary { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border: 1px dashed #d9c9b6; background: #fbf8f4; border-radius: 12px; padding: 10px 12px; }
.custom-summary { border-style: solid; border-color: var(--brand); background: var(--brand-soft); }
.custom-cta[hidden], .custom-summary[hidden] { display: none; }
.cc-ic { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--wine); box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.cc-ic svg { width: 19px; height: 19px; }
.cc-txt, .cs-txt { display: grid; flex: 1 1 160px; min-width: 0; }
.cc-txt b, .cs-txt b { font-size: 13.5px; }
.cc-txt small, .cs-txt p { margin: 0; font-size: 12px; color: var(--muted); }
.cc-btns, .custom-summary .cs-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.custom-summary .cs-row { display: flex; align-items: center; gap: 12px; flex: 1 1 220px; min-width: 0; }
.custom-cta .btn-mini, .custom-summary .btn-mini { height: 34px; padding: 0 12px; font-size: 12.5px; }
.btn-mini.ghost { background: #fff; color: var(--brand); border: 1px solid var(--brand); }
@media (max-width: 420px) { .model-name { font-size: 11.5px; } .model-price { font-size: 11px; } .model-body { padding: 6px 5px 7px; } }

/* Cartões de opção do montador (cada um mostra a foto real do resultado) */
.opt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; }
.opt-card { position: relative; display: grid; grid-template-rows: auto 1fr; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; overflow: hidden; text-align: left; transition: border-color .15s, box-shadow .15s; }
.opt-card:hover:not(:disabled) { border-color: var(--brand-2); }
.opt-card img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; background: var(--soft); display: block; }
.opt-card img[src*="/parts/"], .opt-card img[src*="luzes-"] { object-fit: contain; padding: 16px; }
.opt-card img[src*="luzes-"] { padding: 0; object-fit: cover; }
.opt-card .oc-none { aspect-ratio: 5 / 6; display: grid; place-items: center; background: var(--soft); color: #b3aaa0; }
.opt-card .oc-none svg { width: 34px; height: 34px; }
.oc-body { display: grid; gap: 2px; padding: 8px 9px 10px; align-content: start; }
.oc-name { font-weight: 700; font-size: 13px; line-height: 1.25; }
.oc-sub { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.oc-price { font-size: 12.5px; font-weight: 700; color: var(--price); margin-top: 2px; }
.opt-card[aria-pressed="true"] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand), 0 6px 16px rgba(160, 11, 20, .12); }
.opt-card .check { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; display: none; place-items: center; z-index: 1; }
.opt-card .check svg { width: 12px; height: 12px; }
.opt-card[aria-pressed="true"] .check { display: grid; }
.opt-card:disabled { opacity: .45; cursor: not-allowed; }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; font-size: 13.5px; }
.qty-row small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
#bldRec[hidden] { display: none; }
@media (max-width: 959px) { .opt-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .oc-name { font-size: 12px; } .oc-sub { display: none; } .oc-price { font-size: 11.5px; } .oc-body { padding: 6px 7px 8px; } }

/* itens avulsos dentro do carrinho do produto */
.drawer-sub { margin: 14px 0 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 359px) { .logo img { height: 30px; } .header-row { gap: 6px; } }

/* barra de anúncio: destaque em dourado, como nos banners */
.announce b { color: var(--gold-bright); }

/* "Prefere do seu jeito?" e resumo da árvore personalizada: veludo vermelho da loja, fotos reais e botão dourado (sem ícone) */
.custom-cta, .custom-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "fotos txt" "btns btns"; align-items: center; column-gap: 16px; row-gap: 12px; padding: 14px 16px; border: 0; border-radius: 16px; color: #fff; background: #74020a url("../img/fundos/vermelho-desktop.webp") center 40% / cover no-repeat; box-shadow: 0 10px 26px rgba(120, 0, 10, .22), inset 0 0 0 1px rgba(246, 193, 53, .38); }
.custom-cta[hidden], .custom-summary[hidden] { display: none; }
.cv-fotos { grid-area: fotos; display: flex; align-items: center; gap: 6px; }
.cv-fotos figure { margin: 0; display: grid; gap: 5px; justify-items: center; }
.cv-fotos img { display: block; width: 64px; height: 78px; object-fit: cover; object-position: 50% 40%; border-radius: 9px; border: 2px solid #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, .35); }
.cv-fotos figcaption { font-size: 10.5px; font-weight: 600; color: rgba(255, 255, 255, .85); white-space: nowrap; }
.cv-seta { color: var(--gold-bright); font-weight: 800; font-size: 16px; margin-bottom: 18px; }
.cv-txt { grid-area: txt; align-self: center; display: grid; gap: 2px; min-width: 0; }
.cv-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-bright); }
.cv-txt b { font-size: 17px; letter-spacing: -0.02em; color: #fff; line-height: 1.25; }
.cv-txt small { font-size: 12.5px; color: rgba(255, 255, 255, .82); line-height: 1.4; }
.cv-btns { grid-area: btns; display: flex; gap: 8px; flex-wrap: wrap; }
.cv-btns > * { flex: 1 1 0; }
.cv-gold { height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #ffd66b, #f5bd32 55%, #e9a51b); color: #6b0010; font-weight: 800; font-size: 13px; cursor: pointer; white-space: nowrap; box-shadow: 0 4px 12px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .5); transition: transform .15s; }
.cv-gold::after { content: " →"; }
.cv-gold:hover { transform: translateY(-1px); }
.cv-ghost { height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .65); background: rgba(255, 255, 255, .06); color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; }
.cv-ghost:hover { background: rgba(255, 255, 255, .14); }
.custom-cta :focus-visible, .custom-summary :focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
@media (max-width: 480px) {
  .custom-cta, .custom-summary { grid-template-areas: "fotos txt" "btns btns"; column-gap: 12px; padding: 12px; }
  .cv-fotos img { width: 52px; height: 64px; }
  .cv-seta { margin-bottom: 16px; font-size: 14px; }
  .cv-txt b { font-size: 15.5px; }
  .cv-txt small { font-size: 12px; }
  .cv-btns > * { flex: 1 1 0; padding: 0 10px; }
}

/* sem o selo de estrela em cima da foto: só a barra de progresso, no canto direito */
.v-top { justify-content: flex-end; }

/* tags do produto (arte da marca em SVG) */
.tags img { display: block; height: 28px; width: auto; }
@media (max-width: 420px) { .tags { gap: 6px; } .tags img { height: 25px; } }

/* ===== Avaliações (nota média, barras por estrela, cartões dos clientes) ===== */
.rv { display: grid; gap: 18px; }
.rv h2 { font-size: 24px; letter-spacing: -0.02em; margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.rv-aviso { margin: 0; font-size: 12.5px; color: #7a5a12; background: #fff8e6; border: 1px solid #f3e1b0; border-radius: 10px; padding: 8px 12px; }
.rv-top { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(0, 1.4fr) auto; align-items: center; gap: 28px; padding: 4px 0 18px; border-bottom: 1px solid var(--line); }
.rv-score { display: grid; justify-items: center; gap: 6px; text-align: center; }
.rv-media { display: flex; align-items: flex-start; gap: 2px; }
.rv-media b { font-size: 58px; font-weight: 800; letter-spacing: -0.04em; line-height: .95; color: #e2a20f; }
.rv-media span { font-size: 20px; font-weight: 700; color: var(--text); margin-top: 4px; }
.rv-score small { color: var(--muted); font-size: 13px; }
.rv-st { position: relative; display: inline-flex; line-height: 0; vertical-align: middle; }
.rv-st-bg, .rv-st-fg { display: inline-flex; gap: 2px; white-space: nowrap; }
.rv-st svg { width: 18px; height: 18px; flex: none; }
.rv-st-bg svg { fill: #e4ded6; }
.rv-st-fg { position: absolute; top: 0; bottom: 0; left: 0; overflow: hidden; }
.rv-st-fg svg { fill: #f2b01e; }
.rv-st.lg svg { width: 28px; height: 28px; }
.rv-st.sm svg { width: 17px; height: 17px; }
.rv-barras { display: grid; gap: 8px; }
.rv-linha { display: grid; grid-template-columns: 34px minmax(0, 1fr) 48px; align-items: center; gap: 10px; background: none; border: 0; padding: 2px 0; cursor: pointer; font: inherit; color: var(--text); border-radius: 8px; text-align: left; }
.rv-linha:hover .rv-barra { background: #ddd6cd; }
.rv-linha[aria-pressed="true"] .rv-n { border-color: var(--brand); color: var(--brand); font-weight: 700; }
.rv-k { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; }
.rv-k svg { width: 16px; height: 16px; fill: #f2b01e; }
.rv-barra { height: 12px; border-radius: 99px; background: #e8e3dc; overflow: hidden; transition: background .15s; }
.rv-barra i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #f6c135, #e9a51b); }
.rv-n { text-align: center; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; padding: 2px 0; font-variant-numeric: tabular-nums; background: #fff; }
.rv-escrever { height: 46px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }
.rv-escrever:hover { background: var(--brand-dark); }
.rv-filtro { margin: 0; font-size: 13px; color: var(--muted); }
.rv-filtro button { border: 0; background: none; color: var(--brand); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; padding: 0; }
.rv-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.rv-card { background: #fff; border: 1px solid #ece4da; border-radius: 16px; padding: 18px; display: grid; gap: 10px; align-content: start; box-shadow: 0 4px 14px rgba(120, 40, 20, .05); }
.rv-head { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.rv-head b { font-size: 15px; }
.rv-ver { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.rv-ver svg { width: 14px; height: 14px; fill: #2f9e5b; }
.rv-head time { margin-left: auto; font-size: 12px; color: var(--muted); }
.rv-card p { margin: 0; font-size: 14.5px; color: #3d3834; line-height: 1.55; }
.rv-fotos { display: flex; gap: 8px; flex-wrap: wrap; }
.rv-foto { padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; width: 96px; height: 96px; background: var(--soft); }
.rv-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-util { justify-self: start; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 99px; background: #fff; font: inherit; font-size: 13px; color: var(--text); cursor: pointer; }
.rv-util svg { width: 16px; height: 16px; }
.rv-util[aria-pressed="true"] { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.rv-mais { justify-self: center; height: 44px; padding: 0 22px; border: 1px solid var(--brand); color: var(--brand); background: #fff; border-radius: 10px; font: inherit; font-weight: 700; cursor: pointer; }
.rv-vazio { color: var(--muted); margin: 0; }
.rv-dialog { border: 0; padding: 0; border-radius: 18px; width: min(520px, calc(100vw - 32px)); max-width: none; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.rv-dialog::backdrop { background: rgba(20, 10, 8, .55); }
.rv-dlg { position: relative; padding: 22px; display: grid; gap: 14px; }
.rv-dlg h3 { margin: 0; font-size: 20px; letter-spacing: -0.02em; padding-right: 40px; }
.rv-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--soft); font-size: 22px; line-height: 1; cursor: pointer; z-index: 1; }
.rv-dlg-foto { padding: 12px; }
.rv-dlg-foto img { width: 100%; border-radius: 12px; display: block; }
.rv-nota { border: 0; padding: 0; margin: 0; display: flex; gap: 4px; }
.rv-nota legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; padding: 0; }
.rv-nota label { cursor: pointer; position: relative; }
.rv-nota input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv-nota svg { width: 34px; height: 34px; fill: #e4ded6; transition: fill .12s; display: block; }
.rv-nota label.on svg { fill: #f2b01e; }
.rv-nota input:focus-visible + svg { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rv-campo { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.rv-campo input, .rv-campo textarea { font: inherit; font-weight: 400; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.rv-campo textarea { resize: vertical; }
.rv-erro { margin: 0; color: var(--brand); font-size: 13px; font-weight: 600; }
.rv-enviar { height: 48px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.rv-ok p { margin: 0; color: var(--muted); }
.rv-resumo { display: inline-flex; align-items: center; gap: 6px; }
.rv-resumo .rv-st svg { width: 15px; height: 15px; }
.rv-resumo b { color: var(--text); }
.rv-resumo a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.rv-compacto-top { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
.rv-compacto-top b { color: var(--text); }
.rv-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rv-ver-todas { text-align: center; margin: 0; }
.rv-ver-todas a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
  .rv-top { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .rv-acao { justify-self: center; }
  .rv-lista, .rv-grade { grid-template-columns: minmax(0, 1fr); }
}

/* formulário de avaliação: campos sempre dentro da janela */
.rv-dialog { overflow-x: hidden; }
.rv-dlg > * { min-width: 0; }
.rv-campo input, .rv-campo textarea { width: 100%; min-width: 0; }
.rv-campo input[type="file"] { padding: 8px; font-size: 13px; }
.rv-dlg, .rv-campo { grid-template-columns: minmax(0, 1fr); }

/* Pix com o símbolo oficial (Verde Pix #77B6A8, manual do Banco Central) e cartão no parcelamento */
.pix svg.ic-pix { width: 28px; height: 28px; flex: none; }
.inst { display: flex; align-items: center; gap: 8px; }
.inst .ic-cartao { width: 22px; height: 22px; flex: none; color: #4a4440; }

/* ===== Rodapé (dados da empresa, atendimento e políticas) ===== */
.site-footer { background: #5e060d; color: #f3d9d9; padding: 44px 0 26px; font-size: 13.5px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.site-footer h3 { color: #fff; font-size: 15px; margin: 0 0 12px; }
.foot-sobre h3 { margin-top: 4px; }
.foot-sobre p { margin: 0 0 12px; max-width: 42ch; line-height: 1.6; color: #f3d9d9; }
.foot-mais { font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-contato { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 30px; padding: 16px 20px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 12px; }
.foot-contato b { color: #fff; font-size: 14px; }
.foot-contato span { color: #f3d9d9; font-size: 12.5px; }
.foot-empresa { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .18); }
.foot-empresa > div { display: grid; gap: 4px; }
.foot-empresa b { color: #fff; font-size: 13px; }
.foot-empresa span { font-size: 12.5px; color: #f3d9d9; }
.foot-seg { text-align: right; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; border-top: 1px solid rgba(255, 255, 255, .18); margin-top: 22px; padding-top: 18px; color: #e0b3b3; font-size: 12.5px; }
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px 18px; }
  .foot-sobre { grid-column: 1 / -1; }
  .foot-contato { flex-direction: column; align-items: flex-start; gap: 6px; }
  .foot-seg { text-align: left; }
}

/* ===== Foto principal: selo de progresso compacto embaixo + chave do pisca-pisca ===== */
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.v-tools .grp-prog { margin-left: auto; }
.v-prog { --p: 0; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px 0 8px; border-radius: 999px; background: rgba(255,255,255,.94); box-shadow: 0 2px 10px rgba(0,0,0,.1); font-size: 13px; font-weight: 600; white-space: nowrap; transition: --p .6s ease; }
.v-prog b { font-weight: 800; color: #a00b14; }
.v-ring { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(#e9a51b 0%, #d0101c calc(var(--p) * 1%), #ece4da calc(var(--p) * 1%)); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px)); }

.v-btn.v-luz { gap: 10px; padding: 0 7px 0 16px; }
.v-btn.v-luz[aria-pressed="true"] { background: rgba(255,255,255,.94); color: inherit; box-shadow: 0 2px 10px rgba(0,0,0,.1); }
.v-luz .sw, .bld-night .sw { position: relative; flex: none; width: 40px; height: 24px; border-radius: 999px; background: #d9d1c6; transition: background .25s ease, box-shadow .25s ease; }
.v-luz .sw i, .bld-night .sw i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.v-luz[aria-pressed="true"] .sw, .bld-night[aria-pressed="true"] .sw { background: linear-gradient(90deg, #f6c135, #e9a51b); box-shadow: 0 0 12px rgba(246,193,53,.75); }
.v-luz[aria-pressed="true"] .sw i, .bld-night[aria-pressed="true"] .sw i { transform: translateX(16px); background: #fffbea; box-shadow: 0 0 6px 2px rgba(255,226,140,.95); }

.bld-night { width: auto; display: inline-flex; align-items: center; gap: 10px; padding: 0 7px 0 14px; border-radius: 999px; font-weight: 600; font-size: 13px; white-space: nowrap; }
.bld-night[aria-pressed="true"] { background: #fff; border-color: var(--line); }

@media (max-width: 959px) {
  .v-btn.v-luz { width: auto; padding: 0 6px 0 13px; gap: 8px; font-size: 12.5px; }
  .v-btn.v-luz .lbl { display: inline; }
  .v-prog { height: 36px; padding: 0 12px 0 6px; gap: 6px; font-size: 12px; }
  .v-ring { width: 24px; height: 24px; }
  .v-luz .sw, .bld-night .sw { width: 36px; height: 22px; }
  .v-luz .sw i, .bld-night .sw i { width: 16px; height: 16px; }
  .v-luz[aria-pressed="true"] .sw i, .bld-night[aria-pressed="true"] .sw i { transform: translateX(14px); }
  .bld-night { padding: 0 6px 0 12px; gap: 8px; font-size: 12.5px; }
}
.bld-night .l-curto { display: none; }
.bld-heading span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 520px) { .bld-night .l-longo { display: none; } .bld-night .l-curto { display: inline; } }

/* Promoção: preço "de" riscado + selo de desconto */
.off-pill { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; background: #d0101c; color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .01em; line-height: 1; }
.old-row { display: flex; align-items: center; gap: 8px; }
.pc-de { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.pc-de .off-pill { height: 18px; padding: 0 6px; font-size: 10.5px; }
.mc-price s { font-size: 12.5px; }
