:root {
  --bg: #0b0b0b;
  --bg2: #141414;
  --card: #1a1a1a;
  --line: #2a2a2a;
  --gold: #f5b301;
  --gold2: #ffcf4a;
  --gold-dk: #b37c00;
  --cream: #f4efe6;
  --txt: #f4efe6;
  --muted: #a39d93;
  --green: #22c55e;
  --red: #ef4444;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--txt); font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--gold); }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
h1, h2, h3 { font-family: Anton, Impact, sans-serif; font-weight: 400; letter-spacing: .5px; margin: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 24px; font-weight: 700; text-decoration: none; transition: transform .1s, background .2s; }
.btn:active { transform: scale(.97); }
.btn.sm { padding: 9px 16px; font-size: 14px; }
.btn-gold { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #1a1200; }
.btn-gold:hover { background: var(--gold2); }
.btn-ghost { background: transparent; color: var(--txt); border: 1.5px solid #3a3a3a; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* Topbar */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(11,11,11,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); font-family: Anton, sans-serif; line-height: 1; font-size: 15px; }
.brand img { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; border: 2px solid var(--gold); }
.brand b { color: var(--gold); font-weight: 400; }
.status { margin-left: auto; font-size: 13px; display: flex; align-items: center; gap: 6px; color: var(--muted); }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.status.closed .dot { background: var(--red); box-shadow: 0 0 0 4px rgba(239,68,68,.2); }
.cart-btn { position: relative; background: var(--gold); color: #111; border: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.cart-btn span { position: absolute; top: -4px; right: -4px; background: #fff; color: #111; font-size: 11px; font-weight: 800; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 4px; }

/* Hero */
.hero { background: radial-gradient(ellipse at 70% 30%, rgba(245,179,1,.18), transparent 60%), var(--bg); padding: 40px 0 32px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.kicker { color: var(--gold); font-weight: 700; margin: 0 0 10px; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1; text-transform: uppercase; }
.hero h1 span { color: var(--gold); }
.lead { color: #d6d0c5; font-size: 18px; max-width: 520px; line-height: 1.5; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; }
.hero-img { position: relative; }
.hero-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 28px; border: 2px solid rgba(245,179,1,.35); box-shadow: 0 30px 80px rgba(245,179,1,.15); }
.hero-badge { position: absolute; left: -16px; bottom: 28px; background: var(--gold); color: #111; padding: 12px 18px; border-radius: 14px; font-size: 13px; line-height: 1.25; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.hero-badge b { font-family: Anton, sans-serif; font-weight: 400; font-size: 20px; }

/* Promo bar */
.promo { background: repeating-linear-gradient(-45deg, var(--gold), var(--gold) 18px, var(--gold2) 18px, var(--gold2) 36px); color: #1a1200; }
.promo-in { display: flex; align-items: center; gap: 16px; padding: 14px 16px; flex-wrap: wrap; }
.promo h3 { font-size: 24px; text-transform: uppercase; }
.promo p { margin: 0; font-weight: 600; }
.countdown { margin-left: auto; background: #111; color: var(--gold); border-radius: 10px; padding: 8px 14px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* Sections */
.section { padding: 40px 16px 8px; }
.sec-head { margin-bottom: 18px; }
.sec-head h2 { font-size: 34px; text-transform: uppercase; }
.sec-head p { color: var(--muted); margin: 4px 0 0; }

/* Combos */
.combo-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.combo { scroll-snap-align: start; background: linear-gradient(160deg, #1f1a0c, var(--card) 55%); border: 1px solid #3a2f10; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.combo img { height: 170px; width: 100%; object-fit: cover; }
.combo-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.combo h3 { font-size: 24px; color: var(--gold); }
.combo p { margin: 0; color: #d6d0c5; font-size: 14px; }
.save { align-self: flex-start; background: var(--green); color: #04220f; font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.price-line { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.price { font-size: 22px; font-weight: 800; color: var(--cream); }
.old { color: var(--muted); text-decoration: line-through; font-size: 14px; }

/* Cat nav */
.catnav { position: sticky; top: 64px; z-index: 20; background: rgba(11,11,11,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 12px 0 10px; margin-top: 32px; scroll-margin-top: 64px; }
.cat-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab { flex: none; background: var(--card); border: 1px solid var(--line); color: var(--txt); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.cat-tab.on { background: var(--gold); color: #111; border-color: var(--gold); }
.filters { display: flex; gap: 10px; margin-top: 10px; align-items: center; flex-wrap: wrap; }
.filters input { flex: 1 1 220px; background: var(--bg2); border: 1px solid var(--line); color: var(--txt); border-radius: 12px; padding: 10px 14px; outline: none; }
.filters input:focus { border-color: var(--gold); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { background: transparent; border: 1px dashed #444; color: var(--muted); padding: 6px 12px; border-radius: 999px; font-size: 13px; }
.chip.on { border-style: solid; border-color: var(--gold); color: var(--gold); background: rgba(245,179,1,.08); }

/* Menu */
.cat-block { padding-top: 28px; scroll-margin-top: 190px; }
.cat-block h2 { font-size: 28px; text-transform: uppercase; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.card:hover { border-color: #4a3c12; transform: translateY(-2px); }
.card.selected { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(245,179,1,.3); }
.thumb { position: relative; aspect-ratio: 4/3; background: radial-gradient(circle at 50% 40%, #2a220c, #141414); cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 56px; opacity: .8; }
.thumb .ph small { position: absolute; bottom: 10px; font-size: 11px; color: var(--muted); }
.badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 6px; background: #111; color: var(--gold); text-transform: uppercase; letter-spacing: .3px; }
.badge.off { background: var(--red); color: #fff; }
.badge.top { background: var(--gold); color: #111; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-family: Inter, sans-serif; font-weight: 800; font-size: 18px; letter-spacing: 0; }
.card .desc { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.4; }
.ingr { display: flex; flex-wrap: wrap; gap: 4px; }
.ingr span { font-size: 11px; background: var(--bg2); border: 1px solid var(--line); color: #cfc9be; padding: 3px 7px; border-radius: 6px; }
.meta { font-size: 12px; color: var(--muted); }
.card-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; }
.card-foot .prices { display: flex; flex-direction: column; }
.add { margin-left: auto; background: var(--gold); color: #111; border: 0; border-radius: 12px; padding: 10px 14px; font-weight: 800; }
.cmp { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); cursor: pointer; user-select: none; }
.cmp input { accent-color: var(--gold); width: 16px; height: 16px; }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }

/* Compare bar */
.compare-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #161206; border-top: 2px solid var(--gold); transform: translateY(110%); transition: transform .25s; }
.compare-bar.show { transform: none; }
.compare-in { display: flex; align-items: center; gap: 10px; padding: 10px 16px; }
.compare-thumbs { display: flex; }
.compare-thumbs div { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--gold); background: #2a220c center/cover; margin-right: -8px; display: grid; place-items: center; font-size: 18px; }
#compareTxt { margin-left: 14px; font-size: 14px; margin-right: auto; }

/* Compare table */
.cmp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp-table th, .cmp-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp-table th:first-child, .cmp-table td:first-child { text-align: left; color: var(--muted); font-weight: 500; position: sticky; left: 0; background: var(--bg2); }
.cmp-table thead th { vertical-align: top; }
.cmp-table thead img, .cmp-table thead .ph-s { width: 100%; max-width: 140px; aspect-ratio: 1; object-fit: cover; border-radius: 12px; margin: 0 auto 8px; background: #2a220c; display: grid; place-items: center; font-size: 40px; }
.cmp-table .yes { color: var(--green); font-weight: 800; font-size: 16px; }
.cmp-table .no { color: #555; }
.cmp-table .best { color: var(--gold); font-weight: 800; }
.cmp-scroll { overflow-x: auto; }

/* Overlay, modal, drawer */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 50; opacity: 0; pointer-events: none; transition: opacity .2s; }
.overlay.show { opacity: 1; pointer-events: auto; }
.modal { position: fixed; z-index: 60; left: 50%; top: 50%; transform: translate(-50%, -46%); width: min(720px, calc(100% - 24px)); max-height: calc(100% - 40px); overflow: auto; background: var(--bg2); border: 1px solid var(--line); border-radius: 20px; opacity: 0; pointer-events: none; transition: all .2s; }
.modal.show { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.modal.wide { width: min(1000px, calc(100% - 24px)); }
.m-head { display: flex; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg2); z-index: 2; }
.m-head h3 { font-size: 24px; }
.x { margin-left: auto; background: var(--card); border: 1px solid var(--line); color: var(--txt); width: 36px; height: 36px; border-radius: 50%; font-size: 18px; }
.m-body { padding: 20px; }
.m-foot { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; position: sticky; bottom: 0; background: var(--bg2); }
.pm-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; margin-bottom: 14px; }
.opt { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; cursor: pointer; }
.opt:has(input:checked) { border-color: var(--gold); background: rgba(245,179,1,.06); }
.opt input { accent-color: var(--gold); width: 18px; height: 18px; }
.opt .p { margin-left: auto; color: var(--gold); font-weight: 700; }
.lbl { font-weight: 700; margin: 18px 0 8px; display: block; }
.field { width: 100%; background: var(--card); border: 1px solid var(--line); color: var(--txt); border-radius: 12px; padding: 12px 14px; outline: none; }
.field:focus { border-color: var(--gold); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty button { background: var(--card); border: 0; color: var(--gold); width: 38px; height: 40px; font-size: 18px; font-weight: 800; }
.qty span { min-width: 34px; text-align: center; font-weight: 800; }

.drawer { position: fixed; z-index: 60; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg2); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .25s; display: flex; flex-direction: column; }
.drawer.show { transform: none; }
.d-body { flex: 1; overflow: auto; padding: 16px 20px; }
.line { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line .li-img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: #2a220c; display: grid; place-items: center; font-size: 26px; flex: none; }
.line .li-info { flex: 1; min-width: 0; }
.line .li-info b { display: block; }
.line .li-info small { color: var(--muted); display: block; }
.line .li-right { text-align: right; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.line .qty button { width: 30px; height: 30px; font-size: 15px; }
.line .qty span { min-width: 24px; }
.progress { background: var(--card); border-radius: 12px; padding: 12px; margin: 14px 0; font-size: 13px; }
.progress .bar { height: 6px; background: #333; border-radius: 3px; margin-top: 8px; overflow: hidden; }
.progress .bar i { display: block; height: 100%; background: var(--gold); border-radius: 3px; transition: width .3s; }
.upsell { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.up { flex: none; width: 130px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px; font-size: 13px; }
.up .ui { height: 60px; border-radius: 8px; background: #2a220c center/cover; display: grid; place-items: center; font-size: 26px; margin-bottom: 6px; }
.up button { width: 100%; margin-top: 6px; background: transparent; border: 1px solid var(--gold); color: var(--gold); border-radius: 8px; padding: 5px; font-weight: 700; }
.coupon { display: flex; gap: 8px; margin: 14px 0 6px; }
.coupon input { flex: 1; text-transform: uppercase; }
.coupon-msg { font-size: 13px; min-height: 18px; }
.coupon-msg.ok { color: var(--green); }
.coupon-msg.err { color: var(--red); }
.totals { font-size: 14px; }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; }
.totals .grand { font-size: 20px; font-weight: 800; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.totals .disc { color: var(--green); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: center; cursor: pointer; font-weight: 600; }
.seg label:has(input:checked) { border-color: var(--gold); color: var(--gold); background: rgba(245,179,1,.06); }
.seg input { display: none; }
.pay { display: grid; gap: 8px; }
.pay .opt small { display: block; color: var(--muted); font-size: 12px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stack > * + * { margin-top: 8px; }

.pix-box { text-align: center; }
.qr { width: 220px; height: 220px; margin: 10px auto; background: #fff; border-radius: 12px; padding: 12px; }
.copy { display: flex; gap: 8px; margin-top: 10px; }
.copy input { flex: 1; font-size: 12px; }
.ok-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--green); color: #fff; font-size: 40px; display: grid; place-items: center; margin: 10px auto; }
.track { display: flex; justify-content: space-between; margin: 20px 0; position: relative; }
.track::before { content: ''; position: absolute; top: 14px; left: 10%; right: 10%; height: 2px; background: var(--line); }
.track div { position: relative; text-align: center; font-size: 12px; color: var(--muted); flex: 1; }
.track i { display: block; width: 30px; height: 30px; margin: 0 auto 6px; border-radius: 50%; background: var(--card); border: 2px solid var(--line); font-style: normal; line-height: 26px; }
.track .on { color: var(--gold); }
.track .on i { border-color: var(--gold); background: var(--gold); color: #111; }
.note { font-size: 12px; color: var(--muted); background: var(--card); border: 1px dashed #444; padding: 10px; border-radius: 10px; margin-top: 12px; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 35; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.4); transition: bottom .25s; }
body.cmp-on .wa-float { bottom: 84px; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); background: var(--cream); color: #111; padding: 12px 20px; border-radius: 999px; font-weight: 700; z-index: 80; opacity: 0; pointer-events: none; transition: all .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 30px 0 100px; }
.foot-in { display: flex; gap: 16px; align-items: center; }
.foot-in img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; }
.foot-in p { margin: 4px 0; font-size: 14px; }

@media (max-width: 760px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-img { order: -1; }
  .hero-img img { aspect-ratio: 16/11; }
  .hero-badge { left: 12px; bottom: 12px; }
  .lead { font-size: 16px; }
  .status span { display: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card .desc, .ingr { display: none; }
  .card h3 { font-size: 15px; }
  .card-body { padding: 10px; }
  .card-foot { flex-wrap: wrap; }
  .add { margin-left: 0; width: 100%; }
  .modal { top: auto; bottom: 0; left: 0; transform: translateY(20px); width: 100%; max-height: 92%; border-radius: 20px 20px 0 0; }
  .modal.show { transform: none; }
  .modal.wide { width: 100%; }
  .countdown { margin-left: 0; }
  #compareTxt { display: none; }
  .compare-thumbs { margin-right: auto; }
}

/* ---------- Versão real: opções, conta, página do pedido ---------- */
.opt-group { margin-top: 18px; }
.opt-group .lbl { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.opt-group .req { font-size: 11px; background: #111; color: var(--gold); border: 1px solid #3a2f10; padding: 2px 8px; border-radius: 6px; font-weight: 700; }
.opt-group .req.ok { color: var(--green); border-color: #14532d; }
.opt small.d { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.opt .step { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.opt .step button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--gold); font-weight: 800; }
.opt .step b { min-width: 16px; text-align: center; }
.opt.has { border-color: var(--gold); background: rgba(245,179,1,.06); }
.addr-box { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 14px; margin-top: 8px; }
.addr-box b { color: var(--gold); }
.err-msg { color: var(--red); font-size: 13px; margin-top: 6px; min-height: 16px; }
.login-link { background: none; border: 0; color: var(--gold); text-decoration: underline; padding: 0; font-size: 13px; }
.order-page { max-width: 620px; margin: 0 auto; padding: 24px 16px 120px; }
.order-card { background: var(--bg2); border: 1px solid var(--line); border-radius: 20px; padding: 20px; margin-bottom: 16px; }
.order-card h2 { font-size: 26px; }
.order-items { list-style: none; padding: 0; margin: 12px 0; }
.order-items li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.order-items small { display: block; color: var(--muted); }
.tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 12px 0; }
.tabs button { background: var(--card); border: 1px solid var(--line); color: var(--txt); padding: 12px; border-radius: 12px; font-weight: 700; }
.tabs button.on { border-color: var(--gold); color: var(--gold); background: rgba(245,179,1,.06); }
#qrBox canvas, #qrBox img { margin: 10px auto; background: #fff; padding: 10px; border-radius: 12px; width: 220px; height: 220px; }
.status-pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: 13px; background: rgba(245,179,1,.15); color: var(--gold); }
.status-pill.paid { background: rgba(34,197,94,.15); color: var(--green); }
.spinner { width: 18px; height: 18px; border: 2px solid #444; border-top-color: var(--gold); border-radius: 50%; display: inline-block; animation: spin 1s linear infinite; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.hide { display: none !important; }
.skeleton { height: 260px; border-radius: var(--radius); background: linear-gradient(90deg, #161616, #1f1f1f, #161616); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }
