/* =============================================================
   Eclipse Roleplay — Loja (Red Edition)
   ============================================================= */
:root {
  --void: #000;
  --graphite: #131317;
  --steel: #1c1c22;
  --iron: #26262e;
  --line: #2e2e37;
  --ash: #9d9da8;
  --mist: #c9c9d1;
  --bone: #f5f5f6;
  --corona: #ff1f1f;
  --corona-hot: #ff4a3d;
  --corona-deep: #b3000b;
  --ok: #22c55e;
  --warn: #f5a524;

  --display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --wrap: 1240px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--void); color: var(--bone);
  font: 500 16px/1.6 var(--body); -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
#main:focus, #main:focus-visible { outline: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
p { margin: 0; }
::selection { background: var(--corona); color: #fff; }
:focus-visible { outline: 2px solid var(--corona-hot); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--corona); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Tipografia ---------- */
.display { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .01em; }
.h-section { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4.4vw, 3.6rem); text-transform: uppercase; letter-spacing: .005em; }
.lede { color: var(--ash); font-size: 1.05rem; max-width: 60ch; }
.muted { color: var(--ash); }
.price { font-family: var(--display); font-weight: 800; letter-spacing: .01em; font-variant-numeric: tabular-nums; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 800; font-size: .98rem; letter-spacing: .01em; transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--corona); color: #fff; box-shadow: 0 0 0 0 rgba(255, 31, 31, .5), 0 10px 30px -10px rgba(255, 31, 31, .7); }
.btn-primary:hover { background: var(--corona-hot); box-shadow: 0 0 0 6px rgba(255, 31, 31, .15), 0 14px 40px -12px rgba(255, 31, 31, .9); }
.btn-ghost { border-color: var(--line); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: var(--bone); }
.btn-light { background: var(--bone); color: #000; }
.btn-light:hover { background: #fff; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn.is-loading::after { content: ''; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; min-width: 42px; padding: 0 10px; justify-content: center;
  background: transparent; border: 1px solid transparent; border-radius: 999px; transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: var(--steel); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Anúncio + header ---------- */
.announcement { background: var(--corona); color: #fff; text-align: center; font-weight: 700; font-size: .9rem; padding: 8px 16px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(8, 8, 10, .9); }
.header-row { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 60, 40, .55), 0 0 22px -2px rgba(255, 31, 31, .6); flex: none; }
.brand-logo-lg { width: 72px; height: 72px; border-radius: 16px; }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; background: #000; box-shadow: 0 0 0 2px var(--corona), 0 0 18px 4px rgba(255, 31, 31, .55), inset -6px -4px 0 0 #111; }
.brand-name { font-family: var(--display); font-weight: 900; font-size: 1.55rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1; display: flex; flex-direction: column; }
.brand-name span { font-size: .62rem; font-family: var(--body); font-weight: 700; letter-spacing: .32em; color: var(--corona); text-transform: uppercase; margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.main-nav > a, .nav-drop-btn { padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .94rem; color: var(--mist); background: none; border: 0; transition: color .2s, background .2s; }
.main-nav > a:hover, .nav-drop-btn:hover, .main-nav > a.is-active { color: #fff; background: var(--steel); }
.nav-drop { position: relative; }
.nav-drop-btn::after { content: ''; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); margin-left: 8px; }
.nav-drop-menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px; background: var(--graphite); border: 1px solid var(--line); border-radius: var(--r-md); padding: 8px; display: none; box-shadow: 0 30px 60px -20px #000; }
.nav-drop.is-open .nav-drop-menu { display: grid; }
.nav-drop-menu a { padding: 10px 12px; border-radius: 8px; display: flex; justify-content: space-between; font-weight: 600; color: var(--mist); }
.nav-drop-menu a:hover { background: var(--steel); color: #fff; }
.nav-drop-menu small { color: var(--ash); }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.btn-vip { background: var(--corona); color: #fff; font-weight: 800; font-size: .9rem; padding: 10px 18px; border-radius: 999px; margin-right: 6px; transition: background .2s; }
.btn-vip:hover { background: var(--corona-hot); }
.account-label { font-weight: 700; font-size: .9rem; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-btn { position: relative; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--corona); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.menu-btn { display: none; }

/* ---------- Hero / eclipse ---------- */
.hero { position: relative; overflow: hidden; min-height: min(760px, calc(100vh - var(--header-h))); display: flex; align-items: center; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 70% at 72% 45%, rgba(130, 0, 8, .38), transparent 70%); z-index: -2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; padding: 60px 0 80px; }
.hero h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(3.4rem, 8.4vw, 7.6rem); line-height: .86; letter-spacing: -.005em; }
.hero h1 .stroke { display: block; color: transparent; -webkit-text-stroke: 2px var(--bone); }
.hero p.lede { margin: 26px 0 34px; font-size: 1.12rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 44px; color: var(--ash); font-size: .92rem; }
.hero-proof strong { display: block; color: var(--bone); font-family: var(--display); font-size: 1.9rem; font-weight: 800; line-height: 1; }

.eclipse { position: relative; aspect-ratio: 1; width: min(100%, 560px); justify-self: center; }
.eclipse-corona { position: absolute; inset: -14%; border-radius: 50%;
  background: radial-gradient(circle, transparent 48%, rgba(255, 31, 31, .95) 52%, rgba(255, 110, 80, .55) 55%, rgba(255, 31, 31, .25) 62%, transparent 72%);
  filter: blur(10px); animation: ignite 2.2s var(--ease) both, breathe 7s 2.2s ease-in-out infinite; }
.eclipse-flare { position: absolute; inset: -30%; border-radius: 50%; background: conic-gradient(from 210deg, transparent 0 20%, rgba(255, 60, 40, .35) 24%, transparent 30% 62%, rgba(255, 31, 31, .25) 66%, transparent 72%); filter: blur(28px); animation: ignite 2.6s .3s var(--ease) both, rotate 60s linear infinite; }
.eclipse-disc { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #17171b, #000 62%); box-shadow: 0 0 0 2px rgba(255, 60, 40, .9), 0 0 60px 10px rgba(255, 31, 31, .45), inset 0 0 60px #000; overflow: hidden; }
.eclipse-car { position: absolute; left: -16%; width: 132%; height: auto; max-width: none; bottom: 16%; opacity: 0; transform: translateX(-6%); animation: drive 1.3s 1s var(--ease) forwards; filter: drop-shadow(0 20px 30px #000); }
.eclipse-tag { position: absolute; right: 0; top: 6%; background: rgba(10, 10, 12, .85); border: 1px solid var(--line); backdrop-filter: blur(10px); padding: 14px 18px; border-radius: var(--r-md); display: flex; gap: 14px; align-items: center; animation: rise .9s 1.7s var(--ease) both; }
.eclipse-tag img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; }
.eclipse-tag small { color: var(--ash); display: block; font-size: .78rem; }
.eclipse-tag b { font-family: var(--display); font-size: 1.3rem; letter-spacing: .01em; }
@keyframes ignite { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
@keyframes breathe { 50% { transform: scale(1.04); opacity: .85; } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes drive { to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Seções ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 56px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head .lede { margin-top: 10px; }
.link-more { font-weight: 800; color: var(--bone); border-bottom: 2px solid var(--corona); padding-bottom: 2px; }
.link-more:hover { color: var(--corona-hot); }
.band { background: var(--graphite); border-block: 1px solid var(--line); }

/* ---------- Banners promocionais ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.promo { position: relative; min-height: 260px; border-radius: var(--r-lg); overflow: hidden; display: flex; align-items: flex-end; padding: 30px; border: 1px solid var(--line); isolation: isolate; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.promo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .55) 55%, transparent); z-index: -1; }
.promo:hover img { transform: scale(1.04); }
.promo h3 { font-family: var(--display); font-weight: 900; font-size: clamp(1.9rem, 3vw, 2.6rem); text-transform: uppercase; }
.promo p { color: var(--mist); margin: 6px 0 18px; max-width: 34ch; }

/* ---------- Grid de produtos / cards 3D ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card3d { perspective: 1000px; }
.pcard {
  position: relative; height: 100%; display: flex; flex-direction: column; background: var(--graphite);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transform-style: preserve-3d; transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0));
  transition: transform .5s var(--ease), border-color .3s, box-shadow .3s; will-change: transform;
}
.card3d.is-tilting .pcard { transition: transform .08s linear, border-color .3s, box-shadow .3s; }
.pcard:hover { border-color: rgba(255, 31, 31, .6); box-shadow: 0 30px 60px -25px rgba(255, 31, 31, .45), 0 20px 40px -20px #000; }
.pcard-glare { position: absolute; inset: 0; pointer-events: none; z-index: 3; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .14), transparent 45%); opacity: 0; transition: opacity .3s; }
.pcard:hover .pcard-glare { opacity: 1; }
.pcard-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #000; transform: translateZ(30px); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard-badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 8px; z-index: 2; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: .76rem; font-weight: 800; background: rgba(0, 0, 0, .7); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.tag-red { background: var(--corona); border-color: var(--corona); color: #fff; }
.tag-light { background: var(--bone); color: #000; border-color: var(--bone); }
.pcard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; transform: translateZ(20px); }
.pcard-cat { font-size: .8rem; color: var(--corona); font-weight: 800; }
.pcard h3 { font-family: var(--display); font-weight: 800; font-size: 1.7rem; text-transform: uppercase; letter-spacing: .01em; }
.pcard p { color: var(--ash); font-size: .92rem; }
.pcard-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.pcard .old { color: var(--ash); text-decoration: line-through; font-size: .86rem; display: block; }
.pcard .price { font-size: 2rem; line-height: 1; }
.pcard .add { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--steel); border: 1px solid var(--line); transition: background .2s, transform .2s; }
.pcard .add:hover { background: var(--corona); border-color: var(--corona); transform: rotate(90deg); }
.pcard .add svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2.4; fill: none; }
.pcard .stock-low { color: var(--warn); font-weight: 700; font-size: .8rem; }
.pcard.is-out { opacity: .6; }

/* ---------- VIP ---------- */
.vip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.vip { position: relative; background: var(--graphite); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 16px; transition: transform .4s var(--ease), border-color .3s; }
.vip:hover { transform: translateY(-6px); border-color: #444; }
.vip.is-hot { background: linear-gradient(180deg, #2a0306, var(--graphite) 55%); border-color: var(--corona); box-shadow: 0 30px 80px -30px rgba(255, 31, 31, .55); }
.vip.is-hot .ribbon { position: absolute; top: -13px; left: 24px; }
.vip h3 { font-family: var(--display); font-size: 2.1rem; font-weight: 900; text-transform: uppercase; }
.vip-tier { width: 46px; height: 46px; border-radius: 50%; background: #000; box-shadow: 0 0 0 2px var(--tier, var(--corona)), 0 0 22px 2px var(--tier, var(--corona)); }
.vip .price { font-size: 2.8rem; line-height: 1; }
.vip .price small { font-family: var(--body); font-size: .9rem; color: var(--ash); font-weight: 600; letter-spacing: 0; }
.vip ul { list-style: none; padding: 0; margin: 0; display: grid; align-content: start; gap: 10px; font-size: .93rem; color: var(--mist); flex: 1; }
.vip li { display: flex; gap: 10px; }
.vip li::before { content: ''; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: radial-gradient(circle, var(--corona) 35%, transparent 40%); box-shadow: inset 0 0 0 1.5px var(--corona); }

/* ---------- Categorias ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat { position: relative; grid-column: span 2; min-height: 200px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; isolation: isolate; }
.cat:nth-child(1), .cat:nth-child(2) { grid-column: span 3; min-height: 260px; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease), filter .4s; filter: saturate(.9); }
.cat::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .1) 70%); }
.cat:hover img { transform: scale(1.06); filter: saturate(1.2); }
.cat h3 { font-family: var(--display); font-size: 1.9rem; font-weight: 900; text-transform: uppercase; }
.cat p { color: var(--mist); font-size: .9rem; }
.cat .count { position: absolute; top: 16px; right: 16px; }

/* ---------- Como funciona / benefícios ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.step { padding: 30px 30px 10px 0; position: relative; }
.step + .step { padding-left: 30px; border-left: 1px solid var(--line); }
.step-n { font-family: var(--display); font-weight: 900; font-size: 4.2rem; color: transparent; -webkit-text-stroke: 1.5px var(--corona); line-height: 1; }
.step h3 { font-size: 1.25rem; font-weight: 800; margin: 12px 0 8px; font-family: var(--body); }
.step p { color: var(--ash); }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.perk { padding: 24px; border-radius: var(--r-md); background: var(--steel); border: 1px solid var(--line); }
.perk svg { width: 30px; height: 30px; stroke: var(--corona); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.perk h3 { font-family: var(--body); font-size: 1.05rem; font-weight: 800; margin: 16px 0 6px; }
.perk p { color: var(--ash); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 800; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--corona); border-bottom: 2px solid var(--corona); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { color: var(--ash); padding: 0 40px 22px 0; animation: rise .35s var(--ease); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #060607; padding: 64px 0 32px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-family: var(--body); font-size: .95rem; font-weight: 800; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--ash); font-size: .94rem; }
.site-footer a:hover { color: var(--bone); }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--ash); font-size: .82rem; }
.pay-icons { display: flex; gap: 8px; }
.pay-icons span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; font-weight: 800; font-size: .76rem; color: var(--mist); }
.server-ip { display: inline-flex; gap: 10px; align-items: center; margin-top: 18px; padding: 10px 14px; background: var(--steel); border: 1px solid var(--line); border-radius: 8px; font-family: ui-monospace, monospace; font-size: .85rem; cursor: pointer; }

/* ---------- Loja ---------- */
.page-head { padding: 56px 0 28px; border-bottom: 1px solid var(--line); background: radial-gradient(50% 120% at 85% 0%, rgba(150, 0, 10, .35), transparent 70%); }
.page-head h1 { font-family: var(--display); font-weight: 900; font-size: clamp(2.8rem, 6vw, 4.8rem); text-transform: uppercase; }
.crumbs { color: var(--ash); font-size: .88rem; margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--bone); }
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 36px; padding: 36px 0 80px; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; display: grid; gap: 4px; }
.filters a { padding: 10px 14px; border-radius: 10px; display: flex; justify-content: space-between; color: var(--mist); font-weight: 600; }
.filters a:hover { background: var(--graphite); color: #fff; }
.filters a.is-active { background: var(--corona); color: #fff; }
.filters a small { opacity: .7; }
.toolbar { display: flex; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: .86rem; font-weight: 700; color: var(--mist); }
.field small { color: var(--ash); font-size: .8rem; }
.input, select.input, textarea.input {
  width: 100%; height: 48px; padding: 0 14px; background: var(--graphite); border: 1px solid var(--line); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s; outline: none;
}
textarea.input { height: auto; padding: 12px 14px; resize: vertical; }
.input:focus { border-color: var(--corona); box-shadow: 0 0 0 4px rgba(255, 31, 31, .15); }
.input::placeholder { color: #6b6b75; }
.toolbar .input { flex: 1; min-width: 200px; }
.toolbar select.input { flex: 0 0 200px; }
.empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--line); border-radius: var(--r-lg); color: var(--ash); }
.empty h3 { color: var(--bone); font-family: var(--display); font-size: 2rem; text-transform: uppercase; margin-bottom: 8px; }

/* ---------- Produto ---------- */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding: 40px 0 80px; }
.product-media { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 4 / 3; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product h1 { font-family: var(--display); font-weight: 900; font-size: clamp(2.8rem, 5vw, 4.4rem); text-transform: uppercase; margin: 10px 0 12px; }
.product .price-box { display: flex; align-items: baseline; gap: 14px; margin: 24px 0; flex-wrap: wrap; }
.product .price-box .price { font-size: 3.4rem; line-height: 1; }
.product .price-box .old { color: var(--ash); text-decoration: line-through; font-size: 1.1rem; }
.meta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.benefits { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.benefits li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--graphite); border: 1px solid var(--line); border-radius: 10px; font-weight: 600; }
.benefits li svg { flex: none; width: 20px; height: 20px; stroke: var(--corona); fill: none; stroke-width: 2.4; margin-top: 2px; }
.buy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 48px; }
.qty button { width: 44px; height: 100%; background: none; border: 0; font-size: 1.3rem; }
.qty button:hover { color: var(--corona); }
.qty output { min-width: 28px; text-align: center; font-weight: 800; }
.desc { color: var(--mist); margin-top: 30px; white-space: pre-line; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
.trust div { padding: 14px; border: 1px solid var(--line); border-radius: 10px; font-size: .84rem; color: var(--ash); }
.trust b { display: block; color: var(--bone); font-size: .92rem; }

/* ---------- Carrinho (drawer) ---------- */
.drawer-backdrop, .modal-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .65); backdrop-filter: blur(4px); z-index: 80; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--graphite); border-left: 1px solid var(--line); z-index: 90; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .4s var(--ease); }
.drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--display); font-size: 1.9rem; font-weight: 900; text-transform: uppercase; }
.drawer-body { flex: 1; overflow-y: auto; padding: 10px 22px; }
.drawer-foot { padding: 20px 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.citem { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.citem img { width: 76px; height: 57px; object-fit: cover; border-radius: 8px; }
.citem h4 { font-size: .98rem; font-weight: 800; font-family: var(--body); }
.citem .qty { height: 34px; margin-top: 6px; }
.citem .qty button { width: 32px; font-size: 1.05rem; }
.citem .right { text-align: right; display: grid; gap: 6px; justify-items: end; }
.link-btn { background: none; border: 0; color: var(--ash); font-size: .82rem; text-decoration: underline; padding: 0; }
.link-btn:hover { color: var(--corona-hot); }
.sum-row { display: flex; justify-content: space-between; color: var(--mist); }
.sum-row.total { color: var(--bone); font-weight: 800; font-size: 1.1rem; align-items: baseline; }
.sum-row.total .price { font-size: 2rem; }
.sum-row.discount { color: var(--ok); }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.3fr .9fr; gap: 40px; padding: 40px 0 80px; align-items: start; }
.panel { background: var(--graphite); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.panel + .panel { margin-top: 20px; }
.panel-title { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.panel-title .n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--corona); font-weight: 900; font-size: .95rem; }
.panel-title h2 { font-family: var(--body); font-size: 1.2rem; font-weight: 800; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-opt { position: relative; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 18px; cursor: pointer; display: flex; gap: 14px; align-items: center; transition: border-color .2s, background .2s; }
.pay-opt:hover { border-color: #555; }
.pay-opt input { position: absolute; opacity: 0; }
.pay-opt:has(input:checked) { border-color: var(--corona); background: rgba(255, 31, 31, .07); }
.pay-opt:has(input:focus-visible) { outline: 2px solid var(--corona-hot); outline-offset: 3px; }
.pay-opt .pay-ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--steel); font-weight: 900; font-size: .8rem; flex: none; }
.pay-opt b { display: block; }
.pay-opt small { color: var(--ash); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--mist); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--corona); margin-top: 2px; flex: none; }
.coupon-row { display: flex; gap: 10px; }
.summary-list { display: grid; gap: 12px; margin-bottom: 18px; }
.summary-item { display: flex; justify-content: space-between; gap: 14px; font-size: .94rem; }
.summary-item span:first-child { color: var(--mist); }
.alert { padding: 14px 16px; border-radius: 10px; font-size: .92rem; border: 1px solid; }
.alert-error { background: rgba(255, 31, 31, .08); border-color: rgba(255, 31, 31, .4); color: #ffb4ae; }
.alert-info { background: rgba(255, 255, 255, .03); border-color: var(--line); color: var(--mist); }
.alert-ok { background: rgba(34, 197, 94, .08); border-color: rgba(34, 197, 94, .4); color: #9ef0b9; }

/* ---------- Pedido ---------- */
.order-page { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; padding: 40px 0 80px; align-items: start; }
.timeline { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.timeline li { position: relative; padding-top: 36px; font-weight: 700; font-size: .9rem; color: var(--ash); }
.timeline li::before { content: ''; position: absolute; top: 8px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--steel); border: 2px solid var(--line); z-index: 1; }
.timeline li::after { content: ''; position: absolute; top: 16px; left: 18px; right: 0; height: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--bone); }
.timeline li.done::before { background: var(--corona); border-color: var(--corona); box-shadow: 0 0 14px var(--corona); }
.timeline li.done::after { background: var(--corona); }
.timeline li.now::before { animation: pulse 1.6s infinite; border-color: var(--corona); }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 31, 31, .2); } }
.pix-box { display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: center; }
.pix-qr { background: #fff; padding: 12px; border-radius: 14px; }
.pix-code { display: flex; gap: 8px; margin-top: 14px; }
.pix-code input { font-family: ui-monospace, monospace; font-size: .8rem; }
.countdown { font-family: var(--display); font-size: 2.2rem; font-weight: 800; color: var(--corona); line-height: 1; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: .82rem; border: 1px solid var(--line); background: var(--steel); }
.status-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.st-pending { color: var(--warn); }
.st-paid, .st-delivering { color: #60a5fa; }
.st-delivered { color: var(--ok); }
.st-delivery_failed, .st-cancelled, .st-expired, .st-refunded { color: #f87171; }
.big-status { text-align: center; padding: 30px 10px; }
.big-status .ring { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: #000; box-shadow: 0 0 0 3px var(--ok), 0 0 40px rgba(34, 197, 94, .5); }
.big-status .ring svg { width: 44px; height: 44px; stroke: var(--ok); fill: none; stroke-width: 2.6; }
.big-status h2 { font-family: var(--display); font-size: 2.6rem; font-weight: 900; text-transform: uppercase; }

/* ---------- Conta ---------- */
.account { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; padding: 40px 0 80px; align-items: start; }
.orders-list { display: grid; gap: 12px; }
.order-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 18px 20px; background: var(--graphite); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .2s; }
.order-row:hover { border-color: #555; }
.order-row .code { font-family: ui-monospace, monospace; font-weight: 700; }
.order-row .sum { color: var(--ash); font-size: .9rem; grid-column: 1 / -1; }

/* ---------- Modal / auth ---------- */
.modal-backdrop { display: grid; place-items: center; padding: 20px; z-index: 100; }
.modal { position: relative; width: min(460px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: var(--graphite); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px 30px; animation: rise .35s var(--ease); outline: none; }
.modal-close { position: absolute; top: 12px; right: 12px; }
.modal h2 { font-family: var(--display); font-size: 2.3rem; font-weight: 900; text-transform: uppercase; margin-bottom: 6px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--void); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 18px 0 22px; }
.tabs button { background: none; border: 0; border-radius: 999px; padding: 10px; font-weight: 800; color: var(--ash); }
.tabs button.is-active { background: var(--corona); color: #fff; }
.stack { display: grid; gap: 14px; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 10px; width: min(420px, calc(100% - 32px)); }
.toast { background: var(--bone); color: #000; padding: 14px 18px; border-radius: 12px; font-weight: 700; box-shadow: 0 20px 40px -10px #000; display: flex; gap: 10px; align-items: center; animation: rise .35s var(--ease); }
.toast.error { background: var(--corona); color: #fff; }
.toast.leaving { opacity: 0; transform: translateY(10px); transition: .3s; }

/* ---------- Skeleton ---------- */
.skel { background: linear-gradient(90deg, var(--graphite), var(--steel), var(--graphite)); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--r-lg); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .vip-grid { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .btn-vip { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .menu-btn { display: inline-flex; }
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 20px 24px; background: rgba(8, 8, 10, .98); border-bottom: 1px solid var(--line); transform: translateY(-120%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .main-nav.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
  .main-nav > a, .nav-drop-btn { padding: 14px; font-size: 1.05rem; text-align: left; width: 100%; }
  .nav-drop-menu { position: static; box-shadow: none; margin-top: 4px; }
  .account-label { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 30px; }
  .eclipse { width: min(86%, 440px); order: -1; }
  .eclipse-tag { left: 0; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; scrollbar-width: none; }
  .filters a { white-space: nowrap; border: 1px solid var(--line); }
  .filters a small { display: none; }
  .product, .checkout, .order-page, .account, .faq-wrap { grid-template-columns: 1fr; gap: 28px; }
  .product-media { position: static; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat, .cat:nth-child(1), .cat:nth-child(2) { grid-column: span 1; min-height: 180px; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 68px 0; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 28px); }
  .brand-name { font-size: 1.3rem; }
  .vip-grid, .perks, .footer-grid, .form-grid, .pay-options { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pcard h3 { font-size: 1.25rem; }
  .pcard p { display: none; }
  .pcard .price { font-size: 1.5rem; }
  .pcard-body { padding: 14px; }
  .pcard .add { width: 38px; height: 38px; }
  .cat-grid { grid-template-columns: 1fr; }
  .pix-box { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pix-qr { width: 220px; }
  .timeline li { font-size: .74rem; }
  .trust { grid-template-columns: 1fr; }
  .hero-proof { gap: 20px; }
  .panel { padding: 20px; }
  .toolbar select.input { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .pcard { transform: none !important; }
}
