/* css, file: public/css/app.css, target: browser */
:root {
  --primary: #F4C356; --header: #000; --buy: #06881B; --buy-text: #fff;
  --ink: #111; --muted: #6b6b6b; --line: #e6e6e6; --bg: #fff; --soft: #f5f5f5; --red: #d62828;
  --font: "Work Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 14px; color: var(--ink); background: var(--bg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

.announce { background: #7a0000; color: var(--primary); text-align: center; font-weight: 800; font-size: 12px; letter-spacing: .04em; padding: 8px 12px; }
.topbar { background: var(--header); color: #fff; }
.topbar .row { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 14px 16px; }
.logo { font-size: 26px; font-weight: 800; font-style: italic; color: var(--primary); letter-spacing: -.02em; }
.search { position: relative; }
.search input { width: 100%; height: 42px; border-radius: 8px; border: 0; padding: 0 44px 0 14px; font: inherit; }
.search button { position: absolute; right: 4px; top: 4px; height: 34px; width: 36px; background: none; border: 0; font-size: 16px; }
.cart-btn { background: none; border: 0; color: #fff; font-size: 22px; position: relative; padding: 4px 6px; }
.cart-btn .count { position: absolute; top: -4px; right: -6px; background: var(--primary); color: #000; border-radius: 50%; font-size: 11px; font-weight: 800; min-width: 18px; height: 18px; display: grid; place-items: center; }
.nav { background: var(--header); border-top: 1px solid #222; }
.nav .wrap { display: flex; gap: 20px; overflow-x: auto; padding: 10px 16px; scrollbar-width: none; }
.nav a { color: #fff; font-weight: 700; font-size: 13px; white-space: nowrap; }
.nav a:hover, .nav a.on { color: var(--primary); }

.hero { position: relative; overflow: hidden; background: #111; }
.slide { display: none; min-height: 320px; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 56px 16px; background: radial-gradient(circle at 70% 30%, #3a3a3a, #0b0b0b 70%); }
.slide.on { display: flex; }
.slide .k { color: #ddd; font-size: 16px; }
.slide h2 { margin: 8px 0 20px; font-size: clamp(36px, 7vw, 72px); font-weight: 800; line-height: 1; }
.slide .btn { background: var(--primary); color: #000; }
.dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; }
.dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: #777; padding: 0; }
.dots button.on { background: var(--primary); }

.benefits { border-bottom: 1px solid var(--line); }
.benefits .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 16px; }
.benefits b { display: block; font-size: 13px; }
.benefits span { color: var(--muted); font-size: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 28px; border-radius: 999px; border: 0; font-weight: 800; text-transform: uppercase; font-size: 14px; background: #000; color: #fff; }
.btn.buy { background: var(--buy); color: var(--buy-text); width: 100%; }
.btn.ghost { background: #fff; color: #000; border: 1px solid #000; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.section { padding: 28px 0; }
.section h2 { font-size: 22px; margin: 0 0 16px; }
.section .more { float: right; font-size: 13px; font-weight: 700; text-decoration: underline; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 16px; }
.card { position: relative; display: block; }
.card .img { aspect-ratio: 1; background: var(--soft); border-radius: 8px; overflow: hidden; }
.card .img img { width: 100%; height: 100%; object-fit: cover; }
.card .tag { position: absolute; top: 8px; left: 8px; background: var(--primary); color: #000; font-weight: 800; font-size: 12px; padding: 3px 8px; border-radius: 4px; z-index: 1; }
.card .name { margin-top: 10px; font-weight: 600; font-size: 14px; line-height: 1.3; }
.price-row { margin-top: 6px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.price { font-weight: 800; font-size: 18px; }
.old { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.inst { color: var(--muted); font-size: 12px; margin-top: 2px; }
.pix { color: var(--buy); font-weight: 700; font-size: 12px; margin-top: 2px; }

.crumbs { color: var(--muted); font-size: 12px; padding: 16px 0 0; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin: 12px 0 16px; gap: 12px; flex-wrap: wrap; }
.toolbar h1 { margin: 0; font-size: 24px; }
select, input[type=text], input[type=email], input[type=tel], input[type=search] { font: inherit; }
.toolbar select { height: 38px; border-radius: 8px; border: 1px solid var(--line); padding: 0 10px; }
.empty { padding: 56px 0; text-align: center; color: var(--muted); }

.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; padding: 16px 0 32px; }
.gallery .main { aspect-ratio: 1; background: var(--soft); border-radius: 10px; overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { width: 68px; height: 68px; flex: none; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: var(--soft); }
.thumbs button.on { border-color: #000; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp h1 { font-size: 24px; margin: 0 0 8px; line-height: 1.2; }
.pdp .price { font-size: 30px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }
.sizes button { min-width: 52px; height: 44px; border: 1px solid #bbb; background: #fff; border-radius: 8px; font-weight: 700; }
.sizes button.on { background: #000; color: #fff; border-color: #000; }
.sizes button:disabled { color: #bbb; text-decoration: line-through; cursor: not-allowed; background: var(--soft); }
.label { font-weight: 700; font-size: 13px; }
.err { color: var(--red); font-size: 13px; margin: 6px 0; }
.box { border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-top: 16px; }
.cep-row { display: flex; gap: 8px; margin-top: 8px; }
.cep-row input { flex: 1; height: 42px; border: 1px solid #bbb; border-radius: 8px; padding: 0 12px; }
.cep-row button { height: 42px; border-radius: 8px; border: 0; background: #000; color: #fff; font-weight: 700; padding: 0 16px; }
.perks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; color: #333; }

#drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 50; }
#drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 51; display: flex; flex-direction: column; box-shadow: -6px 0 24px rgba(0,0,0,.2); }
.d-head { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); font-weight: 800; font-size: 16px; }
.d-head button { background: none; border: 0; font-size: 22px; }
.d-body { flex: 1; overflow-y: auto; padding: 8px 16px; }
.d-foot { padding: 16px; border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; background: var(--soft); }
.line .n { font-weight: 600; font-size: 13px; line-height: 1.3; }
.line .s { color: var(--muted); font-size: 12px; margin: 2px 0 6px; }
.qty { display: inline-flex; align-items: center; border: 1px solid #ccc; border-radius: 8px; }
.qty button { width: 30px; height: 30px; border: 0; background: none; font-size: 16px; }
.qty span { min-width: 24px; text-align: center; font-weight: 700; }
.rm { background: none; border: 0; color: var(--muted); text-decoration: underline; margin-left: 10px; font-size: 12px; }
.tot { display: flex; justify-content: space-between; margin: 4px 0; }
.tot.big { font-weight: 800; font-size: 18px; margin-top: 8px; }

.co { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; padding: 24px 0 48px; align-items: start; }
.co h1 { font-size: 24px; margin: 0 0 16px; }
.co fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin: 0 0 16px; }
.co legend { font-weight: 800; padding: 0 6px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f3 { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.fld { display: block; margin-bottom: 12px; }
.fld span { display: block; font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.fld input, .fld select { width: 100%; height: 44px; border: 1px solid #bbb; border-radius: 8px; padding: 0 12px; background: #fff; }
.fld input:focus, .cep-row input:focus { outline: 2px solid var(--primary); border-color: #000; }
.pay { display: flex; gap: 10px; align-items: center; border: 1px solid #bbb; border-radius: 10px; padding: 12px; margin-bottom: 8px; cursor: pointer; }
.pay input { accent-color: #000; }
.pay.on { border-color: #000; background: #fafafa; }
.pay small { color: var(--buy); font-weight: 700; margin-left: auto; }
.sum { position: sticky; top: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.sum h2 { margin: 0 0 8px; font-size: 18px; }
.notice { background: #fff8e1; border: 1px solid #f1d98b; border-radius: 8px; padding: 10px 12px; font-size: 13px; margin-bottom: 14px; }
.errors { background: #fdecec; border: 1px solid #f3b4b4; color: #8a1c1c; border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; }
.errors ul { margin: 0; padding-left: 18px; }

.done { max-width: 620px; margin: 40px auto; text-align: center; }
.done h1 { margin-bottom: 4px; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: 12px; background: #eee; }
.pill.paid { background: #d9f5df; color: #0a6a1c; }
.pill.pending { background: #fff3cd; color: #7a5b00; }
.pill.failed { background: #fdecec; color: #8a1c1c; }

.footer { background: #0b0b0b; color: #ccc; padding: 32px 0; margin-top: 24px; font-size: 13px; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.footer h4 { color: #fff; margin: 0 0 10px; }
.footer a { display: block; padding: 3px 0; }
.footer .copy { margin-top: 24px; color: #888; font-size: 12px; }
.page { max-width: 760px; padding: 32px 16px; margin: 0 auto; line-height: 1.6; }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .pdp, .co { grid-template-columns: 1fr; }
  .benefits .wrap { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: 1fr; }
  .sum { position: static; }
  .topbar .row { grid-template-columns: auto 1fr auto; gap: 10px; }
  .logo { font-size: 20px; }
}
@media (max-width: 480px) {
  .f2, .f3 { grid-template-columns: 1fr; }
}


/* ---- v2 ---- */
.announce { background: #7a0000; color: var(--primary); overflow: hidden; padding: 8px 0; }
.marquee { white-space: nowrap; overflow: hidden; }
.marquee span { display: inline-block; font-weight: 800; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; animation: slide 40s linear infinite; padding-left: 100%; }
@keyframes slide { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee span { animation: none; padding-left: 0; } }
.topbar .wrap > .track-link { display: inline-block; font-size: 12px; padding: 8px 0 0; color: #ddd; }
.topbar .row { display: grid; grid-template-columns: 200px 1fr auto; gap: 24px; align-items: center; padding: 6px 0 12px; }
.logo img { height: 56px; width: auto; display: block; }
.icons { display: flex; gap: 8px; align-items: center; }
.icon-btn { background: none; border: 0; color: #fff; padding: 6px; position: relative; display: grid; place-items: center; }
.search button { color: #333; display: grid; place-items: center; }
.nav .wrap { align-items: center; }
.cats { position: relative; }
.cats-btn { display: flex; align-items: center; gap: 8px; background: none; border: 0; color: #fff; font-weight: 800; font-size: 13px; padding: 0; }
.cats-btn:hover { color: var(--primary); }
.cats-panel { position: absolute; top: 32px; left: 0; width: 260px; max-height: 70vh; overflow-y: auto; background: #fff; color: #111; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.3); padding: 10px 0; z-index: 40; }
.cats-group a { display: block; padding: 7px 18px; color: #111; font-weight: 500; font-size: 13px; }
.cats-group .cats-main { font-weight: 700; }
.cats-group .cats-sub { padding-left: 34px; color: #555; }
.cats-group a:hover { background: var(--soft); }
.nav .wrap { overflow: visible; }
.nav { overflow: visible; position: relative; z-index: 30; }

.hero { background: #e9e9ee; }
.hero-slide { display: block; }
.hero-slide img { width: 100%; height: auto; display: block; }

.benefits .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 16px; }
.ben { display: flex; gap: 10px; align-items: center; }
.ben-i { color: #222; display: grid; place-items: center; }
.ben b { display: block; font-size: 13px; }
.ben span:not(.ben-i) { color: var(--muted); font-size: 12px; }

.card .img { position: relative; }
.card .tag { position: absolute; top: 8px; left: 8px; background: #000; color: var(--primary); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; padding: 0; }
.card .tag::after { content: ""; }
.badge { position: absolute; bottom: 8px; left: 8px; background: var(--primary); color: #000; font-weight: 800; font-size: 10px; letter-spacing: .04em; padding: 3px 8px; border-radius: 4px; }
.badge.static { position: static; display: inline-block; margin-bottom: 8px; }
.tag.static { position: static; display: inline-block; width: auto; height: auto; border-radius: 4px; padding: 3px 8px; font-size: 12px; background: var(--primary); color: #000; }
.pdp .price-row { align-items: center; }

.banners3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.banners3 img, .strip img { width: 100%; height: auto; border-radius: 12px; display: block; }
.strip { display: block; margin: 8px 0; }
.desc { border-top: 1px solid var(--line); padding: 24px 0; }
.desc h2, .section h2 { margin-top: 0; }
.desc ul { padding-left: 20px; line-height: 1.8; }
.others { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.others a { width: 64px; height: 64px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--soft); }
.others img { width: 100%; height: 100%; object-fit: cover; }
.linkbtn { background: none; border: 0; padding: 0; text-decoration: underline; font: inherit; color: inherit; }

.page h1 { font-size: 26px; }
.page h3 { margin: 22px 0 6px; font-size: 15px; }
.page p { margin: 0 0 10px; }
.page { max-width: 860px; }
.fake-link { color: #0b57d0; text-decoration: underline; cursor: default; }

.timeline { list-style: none; padding: 0; margin: 16px 0 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 20px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #bbb; }
.timeline li.now::before { background: var(--buy); }
.timeline b { display: block; }
.timeline span { display: block; color: #444; }
.timeline small { color: var(--muted); }

.news { background: var(--primary); color: #000; padding: 22px 0; margin-top: 32px; }
.news .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.news-t { font-weight: 800; font-size: 16px; flex: 1 1 280px; }
.news-f { display: flex; gap: 8px; flex: 1 1 320px; }
.news-f input { flex: 1; height: 46px; border: 0; border-radius: 999px; padding: 0 18px; font: inherit; }
.news-f .btn { height: 46px; }
.news #news-msg { flex-basis: 100%; color: #222; }

.footer { margin-top: 0; padding: 36px 0 24px; background: #000; }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1.2fr 1.2fr auto; gap: 32px; align-items: start; }
.footer h4 { font-size: 15px; }
.footer a, .footer .dead { display: block; padding: 6px 0; color: #eee; font-weight: 500; }
.footer a:hover { color: var(--primary); }
.footer .dead { cursor: default; }
.f-logo { height: 64px; width: auto; margin-bottom: 12px; }
.f-brand p { color: #888; max-width: 340px; line-height: 1.6; }
.socials { display: flex; gap: 10px; }
.soc { width: 40px; height: 40px; border: 1px solid #fff; background: none; color: #fff; border-radius: 6px; display: grid; place-items: center; cursor: default; }
.pay-row { display: flex; justify-content: center; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 32px; }
.cards { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.cards img { background: #fff; border-radius: 4px; padding: 3px 6px; height: 26px; width: auto; }
.seal { background: #fff; color: #111; border-radius: 4px; padding: 6px 12px; display: grid; text-align: center; }
.seal b { background: #000; color: #fff; padding: 2px 10px; border-radius: 3px; font-size: 12px; }
.seal span { font-size: 10px; font-weight: 700; margin-top: 2px; }
.footer .copy { border-top: 1px solid #2a2a2a; margin-top: 24px; padding-top: 20px; text-align: center; color: #777; }

@media (max-width: 900px) {
  .topbar .row { grid-template-columns: auto 1fr auto; gap: 10px; }
  .logo img { height: 42px; }
  .banners3 { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
  .benefits .wrap { grid-template-columns: repeat(2, 1fr); }
  .search { grid-column: 1 / -1; order: 3; }
  .topbar .row { grid-template-columns: 1fr auto; }
  .topbar .row .search { grid-row: 2; }
}

/* ---- v3: galeria, lightbox, balão de vídeo, conta ---- */
.pdp { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; }
.gallery { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 14px; align-items: start; }
.gallery .thumbs { display: flex; flex-direction: column; gap: 10px; margin: 0; max-height: 640px; overflow-y: auto; scrollbar-width: none; }
.gallery .thumbs button { width: 75px; height: 75px; flex: none; }
.stage { position: relative; }
.gallery .main { aspect-ratio: 1; background: var(--soft); border-radius: 12px; overflow: hidden; cursor: zoom-in; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.nav-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); box-shadow: 0 2px 8px rgba(0,0,0,.25); font-size: 24px; line-height: 1; display: grid; place-items: center; padding: 0 0 3px; z-index: 2; }
.nav-arrow.prev { left: 10px; } .nav-arrow.next { right: 10px; }
.gdots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; gap: 6px; justify-content: center; pointer-events: none; }
.gdots span { width: 8px; height: 8px; border-radius: 50%; background: #bbb; }
.gdots span.on { background: var(--primary); box-shadow: 0 0 0 1px #000; }
.buy-row { display: flex; gap: 12px; align-items: center; margin-top: 4px; }
.buy-row .buy { flex: 1; width: auto; }
.qty.big { height: 48px; border-radius: 999px; }
.qty.big button { width: 40px; height: 46px; font-size: 20px; }
.qty.big span { min-width: 30px; }
.video-embed { position: relative; aspect-ratio: 16 / 9; max-width: 860px; margin: 8px 0 18px; border-radius: 12px; overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.lb { position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 90; display: grid; place-items: center; padding: 16px; }
.lb img { max-width: min(96vw, 1100px); max-height: 92vh; object-fit: contain; border-radius: 8px; background: #fff; }
.lb-x { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 38px; line-height: 1; z-index: 2; }
.lb-n { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 28px; display: grid; place-items: center; padding: 0 0 4px; z-index: 2; }
.lb-n.prev { left: 16px; } .lb-n.next { right: 16px; }

.bubble { position: fixed; left: 18px; bottom: 150px; z-index: 60; }
.bubble-b { width: 100px; height: 100px; border-radius: 50%; border: 0; padding: 0; overflow: hidden; position: relative; background: #000; box-shadow: 0 6px 18px rgba(0,0,0,.35); cursor: pointer; animation: pulsar 2s infinite; }
.bubble-b video, .bubble-b img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bubble-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 22px; background: rgba(0,0,0,.18); text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.bubble-x { position: absolute; top: -6px; right: -6px; z-index: 2; width: 24px; height: 24px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.4); font-size: 16px; line-height: 1; padding: 0 0 2px; }
@keyframes pulsar { 0% { box-shadow: 0 0 0 0 rgba(244,195,86,.8), 0 6px 18px rgba(0,0,0,.35); } 70% { box-shadow: 0 0 0 14px rgba(244,195,86,0), 0 6px 18px rgba(0,0,0,.35); } 100% { box-shadow: 0 0 0 0 rgba(244,195,86,0), 0 6px 18px rgba(0,0,0,.35); } }
@media (prefers-reduced-motion: reduce) { .bubble-b { animation: none; } }
.sp { position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 95; display: grid; place-items: center; }
.sp-box { height: min(92vh, 900px); aspect-ratio: 9 / 16; max-width: 96vw; background: #000; border-radius: 14px; overflow: hidden; }
.sp-box video { width: 100%; height: 100%; object-fit: contain; background: #000; }

.icon-btn .who { font-size: 12px; font-weight: 700; margin-left: 6px; max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.icon-btn { display: inline-flex; align-items: center; }
.auth { max-width: 440px; margin: 32px auto 48px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 18px; border-bottom: 2px solid var(--line); }
.tabs a { text-align: center; padding: 12px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tabs a.on { color: #000; border-bottom-color: var(--primary); }
.account { padding: 24px 0 48px; }
.acc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.acc-head h1 { margin: 0; font-size: 26px; }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.account h2 { font-size: 18px; margin: 12px 0; }
.ord { margin-top: 10px; }
.pixbox { text-align: center; margin: 16px 0; }
.pixbox .qr { width: 240px; height: 240px; margin: 12px auto; image-rendering: pixelated; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.pixbox textarea { width: 100%; border: 1px solid #bbb; border-radius: 8px; padding: 10px; font: 12px/1.4 monospace; resize: none; margin-bottom: 10px; }
.pay { justify-content: space-between; }

@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; gap: 20px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .thumbs { flex-direction: row; order: 2; max-height: none; overflow-x: auto; }
  .gallery .thumbs button { width: 64px; height: 64px; }
  .acc-grid { grid-template-columns: 1fr; }
  .bubble { left: 12px; bottom: 90px; }
  .bubble-b { width: 75px; height: 75px; }
}

/* ---- v4: isca anti-bot, termos, aviso de cookies ---- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.terms { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 14px; font-size: 13px; line-height: 1.4; }
.terms input { margin-top: 3px; accent-color: #000; }
.terms a { text-decoration: underline; }
.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; max-width: 720px; margin: 0 auto; background: #111; color: #eee; border-radius: 12px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; box-shadow: 0 8px 30px rgba(0,0,0,.4); font-size: 13px; }
.cookie a { color: var(--primary); text-decoration: underline; }
.cookie .btn { height: 36px; padding: 0 18px; background: var(--primary); color: #000; flex: none; }

/* ---- v5: correção de largura no celular ---- */
.nav .wrap { display: flex; align-items: center; gap: 20px; overflow: visible; }
.nav-links { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; min-width: 0; flex: 1; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a, .cats-btn { flex: none; white-space: nowrap; }
.news-f input { min-width: 0; width: 100%; }
html, body { max-width: 100%; overflow-x: clip; }
@media (max-width: 480px) {
  .news-f { flex-direction: column; }
  .news-f .btn { width: 100%; justify-content: center; }
  .cookie { flex-direction: column; align-items: stretch; text-align: left; }
  .cookie .btn { width: 100%; justify-content: center; }
  .buy-row { flex-wrap: wrap; }
  .cats-panel { position: fixed; left: 8px; right: 8px; top: 120px; width: auto; max-height: 65vh; }
}

/* ---- v6: termos do checkout (texto em um bloco só) ---- */
.terms { display: flex; align-items: flex-start; gap: 10px; }
.terms input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; }
.terms span { flex: 1; min-width: 0; display: block; line-height: 1.5; font-size: 13px; }
.terms span a { display: inline; padding: 0; }
