:root {
  --ink: #1c1917;
  --muted: #78716c;
  --line: rgba(28, 25, 23, 0.12);
  --fill: #f5f5f7;
  --white: #fff;
  --accent: #e24a00;
  --accent-press: #c2410c;
  --accent-soft: #fff1e8;
  --green: #e24a00;
  --navy: #1c1917;
  --radius: 12px;
  --header: 48px;
  --ann: 34px;
  --bar: calc(72px + env(safe-area-inset-bottom));
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
button, a, label, summary, .kit-opt, .size-opt, .seg button, .icon-btn {
  touch-action: manipulation;
}
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
body[data-page="home"],
body[data-page="forno"] { padding-bottom: var(--bar); }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
ul { list-style: none; }

.container { width: 100%; }
.announcement {
  height: var(--ann);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.announcement b { font-weight: 600; }

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--line);
}
.header-inner {
  height: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: baseline; gap: 6px; }
.logo-name { font-weight: 800; font-size: 18px; letter-spacing: -0.04em; white-space: nowrap; }
.logo-sub { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; color: var(--muted); }
.nav { display: none; }
.menu-toggle { display: none; }
.header-actions { display: flex; gap: 2px; }
.icon-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  position: relative;
  color: var(--ink);
}
.cart-count {
  position: absolute; top: 8px; right: 6px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 99px; background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700;
  display: none; place-items: center;
}

/* Gallery — Shopify/TTK style, Apple chrome */
.gallery-wrap { background: #111; position: relative; }
.gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  aspect-ratio: 1 / 1;
  width: 100%;
  background: #111;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery .slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  display: block;
  padding: 0;
  background: #111;
  overflow: hidden;
}
.gallery .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: none;
}
.gallery .slide-video {
  padding: 0;
  background: #111;
}
.gallery .slide-video video {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  background: #111;
}
.dots {
  position: absolute;
  left: 0; right: 0; bottom: 10px;
  display: flex; justify-content: center; gap: 4px;
  pointer-events: none;
}
.dots i {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.45);
}
.dots i.on { background: #fff; width: 16px; border-radius: 99px; }

/* PDP body */
.pdp-body { padding: 10px 16px 8px; max-width: 980px; margin: 0 auto; }
.seller-line {
  font-size: 11px; color: var(--muted); margin-bottom: 4px;
}
.seller-line b { color: var(--ink); font-weight: 600; }
.brand { display: none; }
.pdp-body h1 {
  font-size: 16px; font-weight: 700; letter-spacing: -0.03em;
  margin: 2px 0 4px; line-height: 1.25;
}
.rating { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.stars { color: #c9a227; letter-spacing: 1px; font-size: 12px; }

.price-block { margin: 8px 0 4px; }
.price-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.price { font-size: 28px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--accent); }
.compare { color: var(--muted); text-decoration: line-through; font-size: 15px; font-weight: 600; }
.off-badge {
  display: inline-block;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 800;
  padding: 3px 7px; border-radius: 6px;
  letter-spacing: 0.02em;
}
[hidden] { display: none !important; }
.unit-price { margin-top: 4px; font-size: 13px; color: var(--muted); font-weight: 600; }
.pix-note { margin-top: 2px; font-size: 14px; color: var(--accent); font-weight: 700; }
.save-line, .promo-row { display: none; }

.opt-label {
  font-size: 13px; font-weight: 700; margin: 14px 0 8px;
}
.seg {
  display: flex; background: var(--fill); border-radius: 9px; padding: 2px;
}
.seg button {
  flex: 1; height: 36px; border-radius: 7px;
  font-size: 14px; font-weight: 600; color: var(--ink);
}
.seg button.active { background: var(--white); box-shadow: 0 0.5px 2px rgba(0,0,0,0.12); }

.size-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.size-opt {
  height: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 16px;
  font-weight: 700;
}
.size-opt strong { font-size: 16px; font-weight: 800; }
.size-opt .hint, .size-opt b { display: none; }
.size-opt .tag { position: static; }
.size-opt.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: none;
}
.size-opt.active .tag { background: #fff; color: var(--accent); }

.kit-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.kit-list.cols-4 { grid-template-columns: repeat(4, 1fr); }
.kit-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 8px 4px 8px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-align: center;
  position: relative;
  min-height: 0;
}
.kit-opt.active { border-color: var(--accent); background: var(--accent-soft); box-shadow: none; }
.kit-opt img {
  width: 100%;
  height: 70px;
  flex: none;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}
.kit-opt strong { font-size: 12px; font-weight: 800; }
.kit-opt b { font-size: 13px; font-weight: 800; letter-spacing: -0.03em; color: var(--accent); }
.kit-opt s { font-size: 10px; color: var(--muted); font-weight: 600; }
.kit-opt .tag { position: absolute; top: 4px; left: 4px; z-index: 1; }
.tag {
  display: inline-block; font-size: 9px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--ink); color: #fff; padding: 2px 5px;
  border-radius: 4px;
}
.tag.orange { background: var(--accent); }

.orig {
  margin-top: 12px;
  padding: 12px;
  background: var(--fill);
  border-radius: 12px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.orig b { color: var(--ink); }
.bump {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  padding: 10px;
  border: 1px dashed var(--accent);
  border-radius: 12px;
  background: #fff8f3;
  cursor: pointer;
}
.bump input { width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--accent); }
.bump img {
  width: 88px; height: 88px; object-fit: contain; background: #fff;
  border-radius: 8px; flex: 0 0 88px;
}
.bump-txt { flex: 1; min-width: 0; }
.bump-txt b { display: block; font-size: 13px; }
.bump-txt span { display: block; font-size: 11px; color: var(--muted); margin: 2px 0; }
.bump-txt strong { font-size: 14px; }
.bump-txt s { color: var(--muted); font-weight: 400; }

.ship {
  margin: 12px 0;
  padding: 10px 0;
  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
  font-size: 12px; color: var(--muted);
}
.ship b { color: var(--ink); font-weight: 600; }

.accordion { margin-top: 8px; }
.accordion details { border-bottom: 0.5px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer;
  padding: 16px 0; font-size: 16px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 20px; }
.accordion details[open] summary::after { content: "–"; }
.accordion .acc-body { padding: 0 0 16px; font-size: 15px; color: var(--muted); line-height: 1.5; }

.block { padding: 24px 16px; max-width: 980px; margin: 0 auto; }
.block h2 { font-size: 20px; letter-spacing: -0.03em; margin-bottom: 12px; }
.detail-shots { display: grid; gap: 10px; }
.detail-shots img {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  border: 0.5px solid var(--line);
}
.ba { border-radius: 12px; overflow: hidden; position: relative; background: var(--fill); }
.ba img { width: 100%; }
.ba-labels {
  position: absolute; inset: 12px 12px auto 12px;
  display: flex; justify-content: space-between; pointer-events: none;
}
.ba-labels span {
  background: rgba(29,29,31,0.78); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 5px 8px; border-radius: 6px;
}

.rev-sec {
  padding: 8px 0 20px;
  background: #fff;
  border-top: 0.5px solid var(--line);
}
.rev-sec h2 {
  font-size: 20px;
  letter-spacing: -0.03em;
  padding: 16px 16px 4px;
  max-width: 980px;
  margin: 0 auto;
}
.rev-sub {
  font-size: 13px;
  color: var(--muted);
  padding: 0 16px 14px;
  max-width: 980px;
  margin: 0 auto;
}
.rev-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.rev-track::-webkit-scrollbar { display: none; }
.rev-card {
  flex: 0 0 78%;
  max-width: 300px;
  scroll-snap-align: start;
  background: #fff;
  border: 0.5px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.rev-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #f5f5f7;
  display: block;
}
.rev-body { padding: 12px 14px 16px; }
.rev-body .stars { color: #c9a227; font-size: 12px; letter-spacing: 1px; }
.rev-body b { display: block; font-size: 14px; margin-top: 4px; }
.rev-body .where { font-size: 11px; color: var(--muted); }
.rev-body p {
  margin-top: 8px;
  font-size: 14px;
  color: #3a3a3c;
  line-height: 1.4;
}

.faq-item { border-bottom: 0.5px solid var(--line); }
.faq-item button {
  width: 100%; text-align: left; padding: 16px 0;
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 16px; font-weight: 600;
}
.faq-item button span { color: var(--muted); font-weight: 400; font-size: 20px; }
.faq-item .faq-body { display: none; padding: 0 0 14px; font-size: 15px; color: var(--muted); }
.faq-item.open .faq-body { display: block; }

.vis {
  background: #fff;
}
.vis img { width: 100%; display: block; }
.vis-cap {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 16px 8px;
}

.home-video {
  padding: 8px 0 8px;
  background: #111;
  border-top: 0;
  max-width: none;
  margin: 0;
}
.home-video h2 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.home-video h2 { color: #fff; padding: 16px 16px 8px; max-width: 980px; margin: 0 auto; }
.home-video-frame {
  border-radius: 0;
  overflow: hidden;
  background: #111;
  aspect-ratio: 9 / 16;
  max-height: 640px;
  margin: 0 auto;
  width: min(100%, 420px);
  position: relative;
}
.home-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #111;
}

.related {
  padding: 8px 0 20px;
  background: #fff;
  border-top: 0.5px solid var(--line);
}
.related h2 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 16px 16px 12px;
}
.rel-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.rel-track::-webkit-scrollbar { display: none; }
.rel-card {
  flex: 0 0 42%;
  max-width: 180px;
  scroll-snap-align: start;
  color: inherit;
}
.rel-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border: 0.5px solid var(--line);
  border-radius: 8px;
}
.rel-card h3 {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 32px;
}
.rel-card .rel-meta { font-size: 11px; color: var(--muted); margin-top: 4px; }
.rel-card .rel-price { font-size: 14px; font-weight: 700; margin-top: 4px; }
.rel-card .rel-price s { font-weight: 400; color: var(--muted); margin-left: 4px; }

.footer {
  background: #fff;
  padding: 32px 16px calc(24px + env(safe-area-inset-bottom));
  margin-top: 0;
  font-size: 13px; color: var(--muted);
  border-top: 0.5px solid var(--line);
}
.footer-grid { display: grid; gap: 22px; max-width: 980px; margin: 0 auto; }
.footer .logo-name { color: var(--ink); }
.footer h4 { color: var(--ink); font-size: 12px; margin-bottom: 8px; }
.footer a { display: block; padding: 5px 0; }
.footer-bottom { margin-top: 22px; padding-top: 16px; border-top: 0.5px solid var(--line); font-size: 12px; }
.pay-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
.pay-ico {
  width: 46px;
  height: 30px;
  display: block;
  border-radius: 4px;
  object-fit: contain;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 0 0 0.5px rgba(60,60,67,.18);
}
.pay-ico[alt="Pix"] {
  width: 86px;
  height: 30px;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
  object-fit: contain;
}

/* Sticky buy bar — Apple / Shopify, not TikTok yellow */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 0.5px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex; gap: 10px; align-items: center;
}
.buybar .bi { flex: 1; min-width: 0; }
.buybar .bi b { display: block; font-size: 16px; letter-spacing: -0.02em; }
.buybar .bi span { font-size: 11px; color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 18px; border-radius: 980px;
  font-size: 16px; font-weight: 600;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:active { background: var(--accent-press); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: var(--fill); color: var(--ink); }
.btn-block { width: 100%; }
.buybar .btn { flex: 0 0 auto; min-width: 148px; }

.sticky-atc { display: none !important; }

/* Sheet / drawer */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.36);
  opacity: 0; pointer-events: none; transition: 0.22s ease; z-index: 60;
}
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: min(82vh, 640px); background: #fff;
  border-radius: 16px 16px 0 0;
  transform: translateY(110%); transition: 0.28s cubic-bezier(.2,.8,.2,1);
  z-index: 70; display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer-head, .drawer-foot { padding: 14px 16px; }
.drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; font-size: 17px;
}
.drawer-head::before {
  content: ""; position: absolute; left: 50%; top: 8px;
  width: 36px; height: 4px; margin-left: -18px;
  background: #d1d1d6; border-radius: 4px;
}
.drawer-body { flex: 1; overflow: auto; padding: 0 16px 16px; }
.drawer-foot { border-top: 0.5px solid var(--line); padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
.cart-line {
  display: grid; grid-template-columns: 64px 1fr auto;
  gap: 12px; padding: 12px 0; border-bottom: 0.5px solid var(--line);
}
.cart-line img {
  width: 64px; height: 64px; object-fit: contain;
  background: var(--fill); border-radius: 8px;
}
.cart-line h4 { font-size: 14px; }
.cart-line p { font-size: 12px; color: var(--muted); }
.qty {
  display: inline-flex; align-items: center;
  background: var(--fill); border-radius: 8px; height: 32px; margin-top: 8px;
}
.qty button { width: 32px; height: 32px; font-size: 16px; }
.qty span { min-width: 22px; text-align: center; font-size: 13px; font-weight: 600; }
.line-price { font-size: 14px; font-weight: 600; }
.remove-line { font-size: 12px; color: var(--accent); margin-top: 6px; }
.totals { display: grid; gap: 6px; margin-bottom: 12px; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 17px; font-weight: 700; padding-top: 6px; }
.empty-cart { text-align: center; padding: 40px 12px; color: var(--muted); }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--bar) + 12px);
  transform: translateX(-50%) translateY(12px);
  background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 980px;
  font-size: 13px; font-weight: 600;
  opacity: 0; pointer-events: none; z-index: 90; transition: 0.22s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.page-hero { padding: 20px 16px 8px; max-width: 980px; margin: 0 auto; }
.page-hero h1 { font-size: 28px; letter-spacing: -0.04em; }
.section { padding: 12px 16px 32px; max-width: 980px; margin: 0 auto; }
.section-kicker { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.section-lead { color: var(--muted); margin-top: 8px; font-size: 15px; }
.kit-grid { display: grid; gap: 10px; }
.kit-card {
  border: 0.5px solid var(--line); border-radius: 14px; padding: 12px;
  display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: center;
}
.kit-card img {
  width: 88px; height: 88px; object-fit: contain; background: var(--fill); border-radius: 10px;
}
.kit-card h3 { font-size: 16px; }
.kit-sub { font-size: 12px; color: var(--muted); }
.kit-card .btn { margin-top: 8px; height: 40px; font-size: 14px; width: 100%; }
.kit-badge { display: none; }

.cart-page, .check-page {
  padding: 8px 16px 32px; max-width: 720px; margin: 0 auto;
  display: grid; gap: 12px;
}
.panel { background: #fff; border-radius: 14px; padding: 16px; border: 0.5px solid var(--line); }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; height: 48px; border: 0.5px solid var(--line);
  border-radius: 10px; padding: 0 12px; background: var(--white); font-size: 16px;
  touch-action: manipulation;
}
.field textarea { height: 88px; padding: 10px 12px; }
.field-row { display: grid; gap: 10px; }
.check-page .field-row { grid-template-columns: 1.2fr 0.8fr; }
.pay-option {
  background: var(--white); border: 0.5px solid var(--line);
  border-radius: 12px; padding: 12px; display: flex; gap: 10px; align-items: center;
  margin-bottom: 8px;
}
.pay-option.active { border-color: var(--accent); background: #fff; }
.pay-stack { display: flex; gap: 4px; flex-shrink: 0; }
.summary-line { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; }
.sum-title { font-size: 16px; margin-bottom: 12px; }
.sum-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 0.5px solid var(--line);
}
.sum-item img {
  width: 56px; height: 56px; object-fit: contain;
  background: #fff; border-radius: 8px; border: 0.5px solid var(--line);
}
.sum-txt b { display: block; font-size: 13px; line-height: 1.3; }
.sum-txt span { font-size: 12px; color: var(--muted); }
.sum-item strong { font-size: 13px; white-space: nowrap; }
.sum-total { font-weight: 800; font-size: 18px; padding-top: 12px; }
.ok-box { padding: 48px 20px; text-align: center; max-width: 480px; margin: 0 auto; }
.ok-box h1 { font-size: 28px; letter-spacing: -0.04em; margin: 8px 0 12px; }

.co-title { font-size: 22px; letter-spacing: -0.03em; margin-bottom: 4px; }
.co-sub { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.co-h { font-size: 15px; margin: 18px 0 10px; }
.opt { color: var(--muted); font-weight: 400; }
.cep-status { font-size: 12px; color: var(--muted); margin-top: 6px; min-height: 16px; }
.cep-status.err { color: #b42318; font-weight: 600; }
.addr-block { margin-top: 4px; }
.pay-hint { font-size: 12px; color: var(--muted); }
.lock-note { font-size: 12px; color: var(--muted); margin: 10px 0 12px; line-height: 1.4; }
.form-err { color: #b42318; font-size: 13px; font-weight: 600; margin: 0 0 10px; }
.field-err { color: #b42318; font-size: 12px; font-weight: 600; margin-top: 5px; }
.field input.bad { border-color: #b42318; }
.pix-page { max-width: 440px; margin: 0 auto; padding: 12px 16px 40px; display: grid; gap: 12px; }
.pix-secure {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12px; font-weight: 700; color: #166534;
  background: #f0fdf4; border-radius: 10px; padding: 10px 12px;
}
.lock-ico {
  width: 14px; height: 16px; display: inline-block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M17 8V7a5 5 0 0 0-10 0v1H5v14h14V8h-2zm-8-1a3 3 0 1 1 6 0v1H9V7z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M17 8V7a5 5 0 0 0-10 0v1H5v14h14V8h-2zm-8-1a3 3 0 1 1 6 0v1H9V7z'/></svg>") center / contain no-repeat;
}
.pix-card { text-align: center; }
.pix-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pix-card h1 { font-size: 24px; margin: 4px 0 6px; letter-spacing: -0.03em; }
.pix-lead { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.pix-amount { font-size: 32px; font-weight: 800; margin: 4px 0 4px; letter-spacing: -0.04em; color: var(--ink); }
.pix-timer { font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.qr-wrap {
  width: 240px; height: 240px; margin: 0 auto 6px;
  background: #fff; border-radius: 16px; padding: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(28,25,23,0.06);
}
.qr-wrap img { width: 100%; height: 100%; }
.qr-cap { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.pix-hidden { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pix-steps {
  text-align: left; margin: 16px 0 8px; padding-left: 22px;
  font-size: 14px; color: var(--ink); line-height: 1.55;
}
.pix-steps .or { color: var(--muted); font-size: 12px; }
.pix-wait { font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 10px; }
.pix-trust p { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.legal { padding: 8px 16px 40px; max-width: 680px; margin: 0 auto; }
.legal h2 { font-size: 18px; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 8px; font-size: 15px; }
.legal ul { padding-left: 18px; list-style: disc; }
.contact-grid { display: grid; gap: 16px; }

.mobile-nav { display: none; }

@media (max-width: 380px) {
  .buybar .btn-ghost { display: none; }
  .buybar .btn { min-width: 0; flex: 1; }
}
@media (min-width: 860px) {
  body[data-page="home"] { padding-bottom: 0; }
  .nav { display: flex; gap: 22px; font-size: 13px; font-weight: 500; color: var(--muted); }
  .nav a.active, .nav a:hover { color: var(--ink); }
  .pdp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1080px;
    margin: 0 auto;
    align-items: start;
  }
  .gallery-wrap { position: sticky; top: calc(var(--ann) + var(--header)); }
  .gallery { aspect-ratio: 1 / 1; }
  .pdp-body { padding: 28px 32px 40px; }
  .pdp-body h1 { font-size: 26px; }
  .kit-opt img { height: 110px; }
  .kit-opt b { font-size: 16px; }
  .price { font-size: 32px; }
  .brand { display: block; }
  .buybar {
    position: static; border: 0; background: none;
    padding: 16px 0 0; backdrop-filter: none;
  }
  .drawer {
    left: auto; right: 0; top: 0; bottom: 0;
    height: 100%; width: 400px; border-radius: 0;
    transform: translateX(100%);
  }
  .drawer.open { transform: none; }
  .drawer-head::before { display: none; }
  .kit-grid { grid-template-columns: 1fr 1fr; }
  .kit-card { grid-template-columns: 1fr; }
  .kit-card img { width: 100%; height: 200px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .cart-page, .check-page { grid-template-columns: 1.2fr 0.8fr; max-width: 980px; }
  .rev-card { flex: 0 0 260px; max-width: 260px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .rel-track { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; max-width: 980px; margin: 0 auto; padding-bottom: 24px; }
  .rel-card { flex: none; max-width: none; }
}
