@font-face { font-family: Barlow; src: url(../assets/fonts/BarlowCondensed-Bold.ttf) format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: Barlow; src: url(../assets/fonts/BarlowCondensed-BoldItalic.ttf) format('truetype'); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --bg: #070707; --surface: #120f0e; --field: #141110; --line: #3a3330; --line-soft: #2a2522; --card-line: #655a53;
  --text: #fff; --text-2: #ddd; --muted: #a59a93; --faint: #6f6763;
  --red: #f10810; --red-press: #c9060d; --red-bg: #1c0c0c; --red-text: #ff6b6f;
  --green: #3ccf7a; --green-bg: #0f2a1b; --amber: #ffb020; --amber-bg: #1c140a;
  --radius: 12px; --head-h: 76px; --nav-h: 66px; --cartbar-h: 0px;
  --display: Barlow, 'Arial Narrow', sans-serif;
  --body: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.45 var(--body); min-height: 100vh; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #fff; outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
svg.i { width: 1em; height: 1em; flex: none; }

.display { font-family: var(--display); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .2px; line-height: .95; margin: 0; }
.h-section { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 20px; margin: 28px 0 12px; letter-spacing: .3px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.red { color: var(--red); }

/* ---------- topo ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(7,7,7,.94); backdrop-filter: blur(8px); border-bottom: 1px solid #1d1917; }
.topbar__in { height: var(--head-h); display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; }
.logo { justify-self: center; }
.logo img { height: 58px; width: auto; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 10px; text-decoration: none; background: none; border: 0; font-size: 26px; position: relative; }
.icon-btn:hover { background: #1b1716; }
.topbar__actions { display: flex; justify-content: flex-end; }
.topbar__search-d, .topnav { display: none; }
.badge { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--red); font: 700 11px/20px var(--body); text-align: center; }
.cart-btn.bump { animation: bump .35s; }
@keyframes bump { 50% { transform: scale(1.18); } }

/* ---------- navegação inferior ---------- */
.bottomnav { position: fixed; inset: auto 0 0 0; z-index: 30; height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  display: grid; grid-template-columns: repeat(4, 1fr); background: #050505; border-top: 1px solid #3b332e; }
.bottomnav a { display: grid; justify-items: center; align-content: center; gap: 4px; text-decoration: none; color: #eee; font-size: 12px; }
.bottomnav a span { font-size: 24px; line-height: 0; }
.bottomnav a[aria-current="page"] { color: #ff1017; }
main { padding-bottom: calc(var(--nav-h) + var(--cartbar-h) + 24px); min-height: 70vh; outline: none; }
body.no-nav main { padding-bottom: 120px; }
body.no-nav .bottomnav { display: none; }

/* ---------- barra do carrinho ---------- */
.cartbar { position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); z-index: 29; padding: 10px 16px; background: linear-gradient(to top, #070707 70%, transparent); }
.cartbar a { max-width: 560px; margin: 0 auto; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent;
  font: 700 18px/1 var(--display); letter-spacing: .3px; text-decoration: none; background: var(--red); color: #fff; transition: background .15s, transform .1s; }
.btn:hover { background: var(--red-press); }
.btn:active { transform: scale(.98); }
.btn svg.i { font-size: 20px; }
.btn--block { display: flex; width: 100%; }
.btn--outline { background: transparent; border-color: #8a7d75; }
.btn--outline:hover { background: #1b1716; }
.btn--ghost { background: #1b1716; border-color: var(--line); }
.btn--sm { min-height: 36px; font-size: 17px; padding: 0 14px; }
.btn[disabled], .btn.is-disabled { background: #2a2624; color: #8b817b; border-color: transparent; cursor: not-allowed; transform: none; }
.btn--split { justify-content: space-between; }
.link-btn { background: none; border: 0; color: var(--red); font-weight: 700; font-size: 13px; padding: 6px 0; text-decoration: none; }

/* ---------- unidade ---------- */
.unitbar { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 9px 14px; border: 1px solid var(--line-soft); background: var(--field); border-radius: 9px; font-size: 13px; }
.unitbar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }
.unitbar .dot.closed { background: var(--amber); }
.unitbar span.grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; margin: 12px -16px 0; min-height: 220px; overflow: hidden; }
.hero::before { content: ''; position: absolute; right: -10%; top: 0; width: 80%; height: 100%; background: radial-gradient(closest-side, rgba(139,38,8,.55), transparent); }
.hero__txt { position: relative; z-index: 2; padding: 20px 0 20px 18px; }
.hero__txt h1 { font-size: 44px; }
.hero__txt h1 em { display: block; color: var(--red); font-style: italic; font-size: 1.1em; }
.hero__txt p { margin: 10px 0 0; font-size: 14px; max-width: 26ch; color: var(--text-2); }
.hero__img { position: relative; height: 100%; min-height: 220px; }
.hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 30%); mask-image: linear-gradient(to right, transparent, #000 30%); }

/* ---------- alertas ---------- */
.alert { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); margin-top: 12px; }
.alert > svg.i { font-size: 24px; grid-row: span 2; margin-top: 2px; }
.alert strong { font-size: 14px; }
.alert p { margin: 0; font-size: 13px; color: var(--text-2); }
.alert--amber { background: var(--amber-bg); border-color: #8a6514; }
.alert--amber > svg.i, .alert--amber .alert__title { color: var(--amber); }
.alert--red { background: var(--red-bg); border-color: #7a1518; }
.alert--red > svg.i { color: var(--red-text); }
.alert--green { background: var(--green-bg); border-color: #2a7a4c; }
.alert--green > svg.i { color: var(--green); }
.alert__title { font: 700 italic 21px/1 var(--display); text-transform: uppercase; }
.alert__actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

/* ---------- categorias ---------- */
.cats { position: sticky; top: var(--head-h); z-index: 20; background: var(--bg); padding: 12px 0; margin-top: 4px; }
.cats__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cat { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border-radius: 10px; border: 1px solid #7a6d65; background: #090909; text-decoration: none;
  font: 700 13px/1 var(--display); letter-spacing: .2px; text-align: center; }
.cat svg.i { font-size: 30px; }
.cat[aria-current="true"] { background: var(--red); border-color: var(--red); }
.cat__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* ---------- produtos ---------- */
.grid { display: grid; gap: 10px; }
.pcard { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 10px; min-height: 104px; padding: 4px 10px 4px 2px; border: 1px solid var(--card-line); border-radius: 9px;
  background: linear-gradient(135deg, #1b130f, #080808 55%, #0d0806); }
.pcard__img { display: grid; place-items: center; overflow: hidden; border-radius: 8px; }
.pcard__img img { width: 100%; height: 96px; object-fit: contain; }
.pcard__img .ph { font-size: 46px; color: #c9b9ae; }
.pcard__img.duo { position: relative; }
.pcard__img.duo img + img { position: absolute; right: -6px; bottom: 0; width: 60%; height: auto; }
.pcard__body { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; gap: 2px 8px; padding: 6px 0; min-width: 0; }
.pcard__name { font: 700 italic 24px/1 var(--display); margin: 0; text-decoration: none; }
.pcard__name::after { content: ''; position: absolute; inset: 0; border-radius: 9px; } /* área de toque do cartão inteiro */
.pcard__price { font: 700 italic 22px/1 var(--display); white-space: nowrap; text-align: right; }
.pcard__old { display: block; font: 400 12px var(--body); color: var(--muted); text-decoration: line-through; font-style: normal; }
.pcard__desc { grid-column: 1 / -1; font-size: 11.5px; line-height: 1.3; color: var(--text-2); margin: 4px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.pcard__foot .btn { position: relative; z-index: 2; }
.pcard.is-off { opacity: .6; }
.pcard.is-off .pcard__img img { filter: grayscale(.8); }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 12px; font: 700 11px/1 var(--body); border: 1px solid var(--line); background: #1b1716; color: var(--text-2); white-space: nowrap; }
.tag svg.i { font-size: 13px; }
.tag--green { background: var(--green-bg); border-color: #2a7a4c; color: var(--green); }
.tag--amber { background: #2e2208; border-color: #8a6514; color: var(--amber); }
.tag--red { background: #3a0d0f; border-color: var(--red); color: #fff; }
.tag--off { background: #151312; border-color: var(--line-soft); color: var(--faint); }
mark { background: rgba(241,8,16,.45); color: #fff; border-radius: 3px; padding: 0 1px; }

/* ---------- busca ---------- */
.page-head { padding-top: 14px; }
.back { display: inline-flex; align-items: center; gap: 8px; color: #bbb; text-decoration: none; font-size: 14px; padding: 6px 0; background: none; border: 0; }
.back svg.i { font-size: 20px; }
.page-title { font-size: 40px; margin: 8px 0 4px; }
.page-sub { margin: 0; color: var(--muted); font-size: 13px; }
.searchbox { position: relative; margin-top: 14px; }
.searchbox svg.i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 22px; color: #bbb; pointer-events: none; }
.searchbox input { width: 100%; height: 50px; padding: 0 48px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--field); font-size: 16px; }
.searchbox input:focus { border-color: var(--red); outline: none; }
.searchbox .clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 0; background: #2f2a27; display: grid; place-items: center; font-size: 16px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--line); background: #1b1716; font-size: 13px; font-weight: 700; text-decoration: none; }
.chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); }
.empty { display: grid; justify-items: center; text-align: center; padding: 28px 0 8px; }
.empty__icon { width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #2a1510, #1b1311 70%); border: 1px solid #3a2a24; font-size: 52px; color: var(--red); box-shadow: 0 0 60px rgba(139,38,8,.5); }
.empty h2 { font-size: 30px; margin: 20px 0 6px; }
.empty p { margin: 0 0 18px; color: var(--text-2); }

/* ---------- produto ---------- */
.product { padding-bottom: 20px; }
.product__img { position: relative; margin: 0 -16px; height: 260px; display: grid; place-items: center; background: radial-gradient(closest-side, rgba(139,38,8,.55), transparent); }
.product__img img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.product__img .ph { font-size: 120px; color: #c9b9ae; }
.product h1 { font-size: 40px; margin-top: 8px; }
.product__price { font: 700 italic 28px/1 var(--display); color: var(--red); margin: 6px 0 0; }
.product__desc { color: var(--text-2); margin: 10px 0 0; }
.group { margin-top: 22px; border: 0; padding: 0; }
.group legend { font: 700 italic 22px/1 var(--display); text-transform: uppercase; padding: 0; display: flex; gap: 10px; align-items: center; width: 100%; }
.group legend .tag { margin-left: auto; font-style: normal; }
.group .hint { margin: 4px 0 10px; font-size: 12px; color: var(--muted); }
.opt { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--field); margin-top: 8px; cursor: pointer; }
.opt input { width: 20px; height: 20px; accent-color: var(--red); margin: 0; }
.opt span { flex: 1; }
.opt small { color: var(--muted); }
.opt:has(input:checked) { border-color: var(--red); background: var(--red-bg); }
.opt.is-disabled { opacity: .45; cursor: not-allowed; }
.group.is-invalid legend { color: var(--red-text); }
.textarea { width: 100%; min-height: 76px; resize: vertical; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--field); }
.textarea:focus, .input:focus, .select:focus { border-color: var(--red); outline: none; }
.addbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 31; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #0d0b0a; border-top: 1px solid var(--line-soft); }
.addbar__in { max-width: 640px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; }
.addbar__msg { grid-column: 1 / -1; font-size: 12px; color: var(--red-text); text-align: center; min-height: 0; }
.qty { display: inline-flex; align-items: center; background: #1b1716; border-radius: 10px; border: 1px solid var(--line); }
.qty button { width: 44px; height: 46px; border: 0; background: none; font-size: 20px; display: grid; place-items: center; }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty output { min-width: 26px; text-align: center; font-size: 18px; font-weight: 700; }
.qty--sm button { width: 36px; height: 36px; font-size: 16px; }
.qty--sm output { font-size: 15px; }

/* ---------- carrinho / finalização ---------- */
.citem { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 10px; border-radius: var(--radius); background: #191919; margin-top: 10px; }
.citem__img { width: 76px; height: 70px; display: grid; place-items: center; overflow: hidden; border-radius: 8px; }
.citem__img img { width: 100%; height: 100%; object-fit: contain; }
.citem__img .ph { font-size: 34px; color: #c9b9ae; }
.citem h3 { margin: 0; font-size: 16px; }
.citem__opts { font-size: 12px; color: var(--muted); margin: 2px 0 0; }
.citem__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.citem__price { font-weight: 700; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: 10px; border: 1px solid #444; background: #191919; color: #aaa; cursor: pointer; font-weight: 700; }
.seg label svg.i { font-size: 22px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { border-color: var(--red); background: #351012; color: #fff; }
.seg label:has(input:focus-visible) { outline: 3px solid #fff; outline-offset: 2px; }
.seg label.is-disabled { opacity: .4; cursor: not-allowed; }
.totals { margin-top: 18px; }
.totals .row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; color: var(--muted); font-size: 14px; }
.totals .row b { color: #fff; font-weight: 400; }
.totals .row.disc b { color: var(--green); }
.totals .row.total { border-top: 1px solid #333; margin-top: 8px; padding-top: 14px; color: #fff; font: 700 22px/1 var(--display); text-transform: uppercase; }
.totals .row.total b { font: 700 italic 26px/1 var(--display); }
.step { display: flex; align-items: center; gap: 10px; margin: 26px 0 12px; }
.step__n { width: 24px; height: 24px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font: 700 15px/1 var(--display); }
.step h2 { font: 700 italic 23px/1 var(--display); margin: 0; flex: 1; }
.field { display: grid; gap: 6px; margin-top: 12px; }
.field label, .field .label { font-size: 12px; color: var(--muted); }
.input, .select { height: 48px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line); background: var(--field); width: 100%; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #bbb 50%), linear-gradient(135deg, #bbb 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field.is-invalid .input, .field.is-invalid .select { border-color: var(--red-text); }
.err { font-size: 12px; color: var(--red-text); display: none; }
.is-invalid > .err { display: block; }
.pay.is-invalid label { border-color: var(--red-text); }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.cols-num { display: grid; grid-template-columns: 1fr 110px; gap: 0 10px; }
.pay { display: grid; gap: 8px; }
.pay label { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 6px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--field); cursor: pointer; }
.pay label svg.i { font-size: 22px; color: #ccc; }
.pay label span { flex: 1; display: grid; }
.pay label small { color: var(--muted); font-size: 11.5px; }
.pay input { width: 20px; height: 20px; accent-color: var(--red); }
.pay label:has(input:checked) { border-color: var(--red); background: var(--red-bg); }
.pay label:has(input:checked) svg.i { color: var(--red); }
.box { padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.box + .box { margin-top: 12px; }
.box h2 { font: 700 18px/1 var(--display); text-transform: uppercase; margin: 0 0 12px; }
.lines { display: grid; gap: 6px; font-size: 13.5px; }
.lines div { display: flex; justify-content: space-between; gap: 10px; }
.lines .muted { font-size: 12px; }
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 31; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); background: #0d0b0a; border-top: 1px solid var(--line-soft); }
.actionbar__in { max-width: 640px; margin: 0 auto; display: grid; gap: 6px; }
.actionbar p { margin: 0; text-align: center; font-size: 11.5px; color: var(--muted); }

/* ---------- confirmação ---------- */
.done { text-align: center; padding-top: 22px; }
.done__icon { width: 86px; height: 86px; margin: 0 auto; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 46px; box-shadow: 0 0 80px rgba(241,8,16,.45); }
.done__icon.wait { background: #2e2208; color: var(--amber); box-shadow: 0 0 80px rgba(255,176,32,.25); }
.done h1 { font-size: 40px; margin-top: 18px; }
.done p { color: var(--text-2); margin: 8px 0 0; }
.ordno { display: inline-block; margin-top: 14px; padding: 8px 18px; border-radius: 8px; border: 1px solid var(--line); background: var(--field); font: 700 22px/1 var(--display); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; display: flex; justify-content: space-between; padding: 0 0 18px 32px; color: #8b817b; font-size: 14px; }
.timeline li::before { content: ''; position: absolute; left: 4px; top: 2px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #4a423e; }
.timeline li::after { content: ''; position: absolute; left: 10px; top: 20px; bottom: 2px; width: 2px; background: #3a3330; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: #fff; }
.timeline li.done::before { background: var(--red); border-color: var(--red); }
.timeline li.done::after { background: var(--red); }
.timeline li.now { color: #fff; font-weight: 700; }
.timeline li.now::before { border-color: var(--red); box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 8px var(--red); }

/* ---------- unidades / promoções / pedidos ---------- */
.ucard { padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.ucard.is-sel { border: 1.5px solid var(--red); background: var(--red-bg); }
.ucard__head { display: flex; align-items: center; gap: 10px; }
.ucard__head svg.i { font-size: 24px; }
.ucard.is-sel .ucard__head svg.i { color: var(--red); }
.ucard__head h2 { font: 700 italic 26px/1 var(--display); margin: 0; flex: 1; }
.ucard__info { display: grid; gap: 6px; margin: 12px 0; font-size: 13.5px; color: var(--text-2); }
.ucard__info div { display: flex; gap: 8px; align-items: center; }
.ucard__info svg.i { color: var(--muted); font-size: 16px; }
.ucard__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.ucard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.ucard__sel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.ucard__sel svg.i { color: var(--red); font-size: 18px; }
.promo-hero { position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--card-line); background: linear-gradient(135deg, #1b130f, #080808 55%, #0d0806); padding: 0 16px 14px; }
.promo-hero__badge { display: inline-block; margin-left: -16px; padding: 6px 26px 6px 12px; background: var(--red); font: 700 italic 20px/1 var(--display); clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); margin-top: 14px; }
.promo-hero__pct { font: 700 italic 50px/1 var(--display); color: var(--red); margin: 8px 0 0; }
.promo-hero__imgs { position: absolute; right: 0; top: 10px; width: 58%; height: 140px; }
.promo-hero__imgs img { position: absolute; }
.promo-hero__imgs img:first-child { left: 0; top: 0; height: 120px; width: auto; }
.promo-hero__imgs img + img { right: 4px; top: 40px; height: 80px; width: auto; }
.promo-hero h2 { font: 700 italic 30px/1 var(--display); margin: 46px 0 4px; }
.promo-hero__price { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.promo-hero__price s { color: var(--muted); }
.promo-hero__price strong { background: var(--red); padding: 6px 18px 6px 12px; font: 700 italic 28px/1 var(--display); clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%); }
.promo-hero__price .btn { margin-left: auto; }
.prow { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px 8px 6px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-decoration: none; }
.prow img { height: 92px; width: 110px; object-fit: contain; }
.prow__ph { height: 92px; width: 110px; display: grid; place-items: center; font-size: 40px; color: var(--faint); }
.prow h3 { font: 700 italic 24px/1 var(--display); margin: 8px 0 4px; }
.prow p { margin: 0; font-size: 12.5px; color: var(--text-2); }
.prow small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.prow > svg.i { font-size: 22px; }
.prow.is-off { opacity: .55; }
.orow { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-decoration: none; }
.orow div { flex: 1; display: grid; gap: 2px; }
.orow b { font: 700 20px/1 var(--display); }
.orow small { color: var(--muted); }
.stack { display: grid; gap: 12px; }

/* ---------- modal / toast ---------- */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.72); display: grid; align-items: end; }
.modal__sheet { width: 100%; max-width: 560px; margin: 0 auto; max-height: 92vh; overflow: auto; background: #121010; border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); animation: up .22s ease-out; }
.modal__sheet::before { content: ''; display: block; width: 50px; height: 5px; border-radius: 3px; background: #4a423e; margin: -10px auto 14px; }
.modal__sheet h2 { font-size: 34px; margin: 0 0 8px; }
.modal__sheet .center { text-align: center; }
.modal__actions { display: grid; gap: 10px; margin-top: 18px; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 86px); transform: translate(-50%, 20px); z-index: 60; background: #fff; color: #111; padding: 10px 16px; border-radius: 10px; font-weight: 700; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.foot { margin-top: 36px; padding: 18px 0; border-top: 1px solid var(--line-soft); color: var(--faint); font-size: 12px; text-align: center; }
.spin { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- tablet ---------- */
@media (min-width: 720px) {
  .hero { margin: 16px 0 0; border-radius: 16px; min-height: 280px; }
  .hero__txt { padding-left: 28px; }
  .hero__txt h1 { font-size: 64px; }
  .hero__txt p { font-size: 16px; }
  .grid--products { grid-template-columns: 1fr 1fr; }
  .cats__row { gap: 12px; }
  .cat { grid-auto-flow: column; justify-content: center; align-items: center; gap: 8px; padding: 12px 8px; font-size: 17px; }
  .cat svg.i { font-size: 24px; }
  .pcard { grid-template-columns: 150px 1fr; min-height: 140px; }
  .pcard__img img { height: 130px; }
  .pcard__name { font-size: 28px; }
  .pcard__desc { font-size: 13px; }
  .stack--2 { grid-template-columns: 1fr 1fr; }
  .product__img { height: 340px; margin: 0; border-radius: 16px; }
  .checkout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
  .checkout aside { position: sticky; top: calc(var(--head-h) + 16px); }
}

/* ---------- computador ---------- */
@media (min-width: 960px) {
  :root { --head-h: 84px; }
  .topbar__in { grid-template-columns: auto 1fr auto; gap: 24px; }
  .topbar__search-m { display: none; }
  .logo { justify-self: start; }
  .logo img { height: 64px; }
  .topnav { display: flex; gap: 32px; justify-content: center; }
  .topnav a { font: 700 19px/1 var(--display); text-decoration: none; padding: 10px 2px; border-bottom: 3px solid transparent; }
  .topnav a[aria-current="page"] { border-color: var(--red); }
  .topnav a:hover { color: #ffb3b5; }
  .topbar__search-d { display: inline-grid; }
  .topbar__actions { gap: 8px; }
  .bottomnav { display: none; }
  :root { --nav-h: 0px; }
  main { padding-bottom: 60px; }
  .cartbar { bottom: 0; }
  .toast { bottom: 100px; }
  .modal { align-items: center; }
  .modal__sheet { border-radius: 22px; border-bottom: 1px solid var(--line); }
  .modal__sheet::before { display: none; }
  .hero__txt h1 { font-size: 84px; }
  .product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; padding-top: 10px; }
  .product-layout .product__img { position: sticky; top: calc(var(--head-h) + 16px); height: 440px; }
}
