/* MotoKlin — tema claro: branco + azul elétrico, ação em laranja */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f4f7fc;
  --bg-3: #e9effa;
  --line: #e2e8f2;
  --line-2: #cdd6e5;
  --ink: #0b1b3a;
  --ink-2: #3e4c66;
  --ink-3: #6b7890;
  --blue: #0a4fd8;
  --blue-2: #083ca6;
  --blue-deep: #06245f;
  --blue-soft: #e8f0ff;
  --orange: #ff6a13;
  --orange-2: #e85800;
  --orange-soft: #fff1e8;
  --ok: #12a150;
  --danger: #d92d20;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11,27,58,.06), 0 1px 1px rgba(11,27,58,.04);
  --shadow: 0 1px 2px rgba(11,27,58,.06), 0 12px 32px -12px rgba(10,79,216,.22);
  --shadow-orange: 0 1px 2px rgba(232,88,0,.25), 0 10px 22px -10px rgba(255,106,19,.6);
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", "Segoe UI", Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.5;
  min-height: 100dvh; padding-bottom: env(safe-area-inset-bottom);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; margin: 0; text-wrap: balance; scroll-margin-top: 90px; }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; position: relative; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.header::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--blue) 0 70%, var(--orange) 70% 100%); }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; line-height: 1; color: var(--blue-deep); }
.logo .bolt { width: 32px; height: 32px; display: grid; place-items: center; background: var(--blue); color: #fff; border-radius: 9px; transform: skewX(-8deg); box-shadow: inset 0 -3px 0 var(--orange); }
.logo .bolt svg { width: 18px; height: 18px; transform: skewX(8deg); }
.logo em { font-style: normal; color: var(--blue); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: 15px; transition: color .15s, background-color .15s; }
.nav a:hover { color: var(--blue); background: var(--blue-soft); }
@media (max-width: 720px) { .nav a:not(.cart-btn) { display: none; } }
.nav .cart-btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line-2); background: #fff; border-radius: 999px; font-weight: 700; color: var(--ink); min-height: 44px; transition: border-color .15s, box-shadow .15s; }
.nav .cart-btn:hover { border-color: var(--blue); background: #fff; box-shadow: var(--shadow-sm); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.cart-count[data-zero="true"] { background: var(--bg-3); color: var(--ink-3); }

/* ---------- Hero com vídeo ---------- */
.vhero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--blue-deep);
  min-height: clamp(560px, 86svh, 820px); display: flex; align-items: center; padding: 56px 0 48px; }
.vhero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% center; z-index: -2; }
.vhero-shade { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,36,95,.94) 0%, rgba(6,36,95,.78) 30%, rgba(6,36,95,.25) 58%, rgba(6,36,95,0) 75%),
    linear-gradient(0deg, rgba(6,36,95,.55) 0%, rgba(6,36,95,0) 30%); }
.vhero-shade::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--blue) 0 70%, var(--orange) 70%); }
.vhero-inner { display: flex; flex-direction: column; justify-content: center; min-height: inherit; width: min(var(--max), 100% - var(--gutter) * 2); }
.vhero-copy { max-width: 760px; animation: rise .7s both; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .18em; font-size: 14px; color: #fff; font-weight: 700; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 999px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,106,19,.3); }
.vhero h1 { font-size: clamp(50px, 8vw, 108px); text-transform: uppercase; margin: 18px 0 16px; font-weight: 800; color: #fff; text-shadow: 0 2px 24px rgba(6,36,95,.5); }
.vhero h1 .ol { position: relative; display: inline-block; color: #fff; }
.vhero h1 .ol::after { content: ""; position: absolute; left: 0; right: 2%; bottom: .04em; height: .13em; background: var(--orange); border-radius: 4px; z-index: -1; }
.vhero .lead { font-size: clamp(17px, 1.6vw, 20px); color: #dbe6ff; max-width: 52ch; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-glass { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.22); border-color: #fff; }
.vhero-from { margin: 22px 0 0; color: #b9c8ea; font-size: 15px; }
.vhero-from strong { color: #ffb27d; font-family: var(--font-display); font-size: 26px; margin-left: 4px; }
.vhero-card { position: absolute; right: var(--gutter); bottom: 36px; display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; background: rgba(255,255,255,.95); color: var(--ink); border-radius: 16px; box-shadow: 0 18px 40px -12px rgba(6,36,95,.55); max-width: calc(100% - var(--gutter) * 2); transition: transform .2s, box-shadow .2s; animation: rise .7s .3s both; }
.vhero-card:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -12px rgba(6,36,95,.65); }
.vhero-card img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; }
.vhero-card-t { display: grid; min-width: 0; line-height: 1.2; }
.vhero-card-t small { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--orange-2); font-weight: 700; }
.vhero-card-t b { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; color: var(--blue-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vhero-card-t span { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.vhero-card-go { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; font-weight: 800; }
.vhero-toggle { position: absolute; left: var(--gutter); bottom: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(6,36,95,.45); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background-color .15s; }
.vhero-toggle:hover { background: rgba(6,36,95,.75); }
.vhero-toggle svg { width: 18px; height: 18px; }
.vhero-toggle .i-play, .vhero-toggle[aria-pressed="true"] .i-pause { display: none; }
.vhero-toggle[aria-pressed="true"] .i-play { display: block; }
@media (max-width: 900px) {
  /* celular: vídeo em cima mostrando a moto, texto embaixo em fundo azul */
  .vhero { display: block; min-height: 0; padding: 0 0 32px; }
  .vhero-video { position: relative; inset: auto; display: block; height: clamp(260px, 52svh, 480px); object-position: 80% 40%; z-index: auto; }
  .vhero-shade { inset: 0 0 auto; z-index: 1; height: clamp(260px, 52svh, 480px); background: linear-gradient(0deg, var(--blue-deep) 0%, rgba(6,36,95,.6) 18%, rgba(6,36,95,0) 42%); }
  .vhero-inner { z-index: 2; }
  .vhero-shade::after { display: none; }
  .vhero-inner { min-height: 0; margin-top: -56px; position: relative; }
  .vhero h1 { font-size: clamp(44px, 12vw, 72px); margin-top: 14px; }
  .vhero .lead { margin-bottom: 22px; }
  .hero-actions .btn { flex: 1 1 200px; }
  .vhero-card { position: relative; right: auto; bottom: auto; margin-top: 22px; max-width: none; }
  .vhero-toggle { left: auto; right: var(--gutter); top: 16px; bottom: auto; }
}

.stats { background: var(--blue-deep); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats div { padding: 24px 20px; border-right: 1px solid rgba(255,255,255,.12); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-family: var(--font-display); font-size: 38px; color: #fff; line-height: 1; }
.stats div:nth-child(odd) b { color: #ffb27d; }
.stats b small { font-size: 18px; }
.stats span { color: #b9c8ea; font-size: 14px; }
@media (max-width: 720px) { .stats .wrap { grid-template-columns: 1fr 1fr; } .stats div:nth-child(2) { border-right: 0; } .stats div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); } }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700; border: 1px solid transparent; transition: transform .12s, background-color .15s, border-color .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--orange-2); }
.btn-ghost { background: #fff; border-color: var(--line-2); color: var(--blue-deep); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-wa { background: #1fbf5b; color: #fff; }
.btn-wa:hover { background: #18a84f; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn .spinner { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg) } }

/* ---------- Catálogo ---------- */
.section { padding: clamp(48px, 7vw, 96px) 0; }
#catalogo { background: var(--bg-2); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(36px, 5vw, 60px); text-transform: uppercase; color: var(--blue-deep); position: relative; padding-left: 18px; }
.section-head h2::before { content: ""; position: absolute; left: 0; top: .1em; bottom: .14em; width: 6px; border-radius: 3px; background: linear-gradient(var(--blue) 60%, var(--orange) 60%); }
.section-head p { color: var(--ink-3); margin: 0; max-width: 46ch; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, border-color .2s, box-shadow .2s; animation: rise .5s both; animation-delay: calc(var(--i, 0) * 50ms); }
.card:hover { transform: translateY(-4px); border-color: #b9cdf5; box-shadow: var(--shadow); }
@keyframes rise { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: none } }
.card-media { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(180deg, #eef3fd, #fff); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card-media img { transform: scale(1.04); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--blue); color: #fff; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 6px; box-shadow: var(--shadow-sm); }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 0; }
.card .brand { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--blue); font-weight: 700; }
.card h3 { font-size: 26px; text-transform: uppercase; color: var(--blue-deep); }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card .tagline { color: var(--ink-2); font-size: 14px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; padding: 4px 9px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-2); font-weight: 600; }
.price-row { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.price { font-family: var(--font-display); font-size: 34px; font-weight: 800; line-height: 1; color: var(--blue-deep); }
.price small { font-size: 15px; font-weight: 600; color: var(--ink-3); margin-right: 4px; }
.price-note { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.card-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; position: relative; z-index: 1; }
.card-actions .btn { min-height: 44px; padding: 0 16px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 0; background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); transition: background-color .15s, transform .12s; }
.icon-btn:hover { background: var(--orange-2); }
.icon-btn:active { transform: scale(.96); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Diferenciais ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.feature::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--blue-soft); }
.feature .n { font-family: var(--font-display); font-size: 56px; line-height: 1; color: var(--orange); position: relative; z-index: 1; }
.feature h3 { font-size: 26px; text-transform: uppercase; margin: 10px 0 6px; color: var(--blue-deep); }
.feature p { color: var(--ink-2); margin: 0; }

/* ---------- Faixa ---------- */
.marquee { overflow: hidden; background: var(--orange); color: #fff; font-family: var(--font-display); text-transform: uppercase; font-weight: 700; letter-spacing: .08em; font-size: 20px; padding: 12px 0; white-space: nowrap; }
.marquee span { display: inline-block; padding-right: 48px; animation: slide 30s linear infinite; }
@keyframes slide { to { transform: translateX(-50%) } }

/* ---------- Página de produto ---------- */
.crumbs { font-size: 14px; color: var(--ink-3); padding: 18px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--blue); }
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: 24px 0 64px; align-items: start; }
@media (max-width: 920px) { .product { grid-template-columns: 1fr; } }
.gallery { position: sticky; top: 92px; }
@media (max-width: 920px) { .gallery { position: static; } }
.gallery { max-width: min(480px, 62vh); width: 100%; justify-self: center; }
.gallery-main { aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 920px) { .gallery { max-width: 480px; } }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; margin-top: 10px; }
.thumbs button { aspect-ratio: 1; padding: 0; border-radius: var(--radius-sm); border: 2px solid var(--line); background: #fff; overflow: hidden; transition: border-color .15s; }
.thumbs button:hover { border-color: #9bb6ee; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.pinfo .brand { font-size: 13px; text-transform: uppercase; letter-spacing: .16em; color: var(--blue); font-weight: 700; }
.pinfo h1 { font-size: clamp(32px, 3.6vw, 48px); text-transform: uppercase; margin: 6px 0 8px; color: var(--blue-deep); }
.pinfo .tagline { font-size: 18px; color: var(--ink-2); margin: 0 0 22px; }
.pricebox { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%); color: #fff; border-radius: var(--radius); padding: 22px; margin-bottom: 22px; box-shadow: var(--shadow); position: relative; overflow: hidden; text-align: center; }
.pricebox::after { content: ""; position: absolute; left: -30px; bottom: -50px; width: 160px; height: 160px; border-radius: 50%; border: 22px solid rgba(255,255,255,.08); }
.pricebox .price { font-size: 42px; color: #fff; }
.pricebox .via { font-size: 13px; color: #cfe0ff; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.pricebox .alt { margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(255,255,255,.3); color: #dbe6ff; font-size: 15px; }
.pricebox .alt b { color: #fff; }
.field { margin-bottom: 16px; }
.field > label, .field > .label { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); font-weight: 700; margin-bottom: 8px; }
.colors { display: flex; flex-wrap: wrap; gap: 8px; }
.colors label { position: relative; }
.colors input { position: absolute; opacity: 0; inset: 0; }
.colors span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 14px; cursor: pointer; transition: border-color .15s, background-color .15s; }
.colors span:hover { border-color: #9bb6ee; }
.colors input:checked + span { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-2); font-weight: 700; box-shadow: inset 0 0 0 1px var(--blue); }
.colors input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.colors .sw { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(11,27,58,.25); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #fff; }
.qty button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 20px; color: var(--blue); }
.qty button:hover { background: var(--blue-soft); }
.qty input { width: 56px; height: 44px; border: 0; background: transparent; text-align: center; font: inherit; font-size: 16px; color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.buy { display: grid; gap: 10px; margin: 22px 0; }
.buy .btn { min-height: 54px; font-size: 17px; }
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 14px; color: var(--ink-2); }
.trust div { display: flex; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-2); }
.trust svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.highlights { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.highlights li { display: flex; gap: 10px; align-items: start; padding: 10px 12px; background: var(--orange-soft); border: 1px solid #ffd9c2; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; color: #7a2e00; }
.highlights li::before { content: "⚡"; flex: none; }
@media (max-width: 520px) { .highlights, .trust { grid-template-columns: 1fr; } }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 64px; }
@media (max-width: 920px) { .details { grid-template-columns: 1fr; } }
.details h2 { font-size: 34px; text-transform: uppercase; margin-bottom: 14px; color: var(--blue-deep); }
.details p { color: var(--ink-2); font-size: 17px; }
.specs { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.specs th, .specs td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { color: var(--ink-3); font-weight: 600; width: 40%; }
.specs td { color: var(--ink); font-weight: 600; }
.specs tr:nth-child(odd) td, .specs tr:nth-child(odd) th { background: var(--bg-2); }
.related { border-top: 1px solid var(--line); padding-top: 48px; }
.related h2 { font-size: 34px; text-transform: uppercase; margin-bottom: 20px; color: var(--blue-deep); }

/* ---------- Carrinho (drawer) ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; display: none; }
.drawer[open] { display: block; }
.drawer-bg { position: absolute; inset: 0; background: rgba(6,36,95,.45); backdrop-filter: blur(3px); border: 0; width: 100%; cursor: default; }
.drawer-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(440px, 100%); background: #fff; display: flex; flex-direction: column; overscroll-behavior: contain; animation: slideIn .25s ease-out; padding-bottom: env(safe-area-inset-bottom); box-shadow: -20px 0 60px -20px rgba(6,36,95,.4); }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0 } to { transform: none; opacity: 1 } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); background: var(--blue); color: #fff; }
.drawer-head h2 { font-size: 28px; text-transform: uppercase; }
.drawer-head .icon-btn { background: rgba(255,255,255,.15); box-shadow: none; }
.drawer-head .icon-btn:hover { background: rgba(255,255,255,.28); }
.drawer-items { flex: 1; overflow: auto; padding: 14px 20px; display: flex; flex-direction: column; gap: 12px; background: var(--bg-2); }
.citem { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.citem img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.citem .t { min-width: 0; }
.citem .t b { display: block; font-family: var(--font-display); font-size: 18px; text-transform: uppercase; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--blue-deep); }
.citem .t small { color: var(--ink-3); display: block; }
.citem .t .p { font-weight: 700; margin-top: 4px; }
.citem .qty { transform: scale(.9); transform-origin: right; }
.citem .rm { border: 0; background: transparent; color: var(--ink-3); font-size: 13px; padding: 4px 0; text-decoration: underline; }
.citem .rm:hover { color: var(--danger); }
.drawer-empty { text-align: center; color: var(--ink-3); padding: 48px 20px; }
.drawer-empty svg { width: 48px; height: 48px; margin: 0 auto 10px; color: var(--line-2); }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.totals { display: flex; justify-content: space-between; align-items: baseline; }
.totals b { font-family: var(--font-display); font-size: 34px; color: var(--blue-deep); }
.totals small { color: var(--ink-3); }
.drawer-foot .hint { font-size: 12px; color: var(--ink-3); margin: 0; text-align: center; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(20px); background: var(--blue-deep); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; box-shadow: var(--shadow); border-left: 4px solid var(--orange); }
.toast[data-show="true"] { opacity: 1; transform: translateX(-50%); }

/* ---------- FAQ e Rodapé ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-family: var(--font-display); font-size: 22px; text-transform: uppercase; color: var(--blue-deep); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
.faq summary:hover { color: var(--blue); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); font-size: 24px; }
.faq details[open] summary::after { content: "–"; background: var(--orange); color: #fff; }
.faq p { color: var(--ink-2); margin: 0 0 18px; max-width: 70ch; }
.footer { background: var(--blue-deep); color: #b9c8ea; padding: 48px 0 28px; font-size: 14px; }
.footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
@media (max-width: 720px) { .footer .wrap { grid-template-columns: 1fr; } }
.footer .logo { color: #fff; }
.footer .logo em { color: #ffb27d; }
.footer h4 { font-size: 16px; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 10px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer a:hover { color: #fff; }
.footer .copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; margin-top: 8px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Estoque / esgotado ---------- */
.card[hidden] { display: none; }
.soldout { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: rgba(255,255,255,.55); pointer-events: none; }
.soldout b { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: 22px; color: #fff; background: #d12b2b; padding: 8px 48px; transform: rotate(-12deg); box-shadow: 0 10px 24px -8px rgba(209,43,43,.6); }
.gallery-main { position: relative; }
.gallery-main .soldout b { font-size: 34px; padding: 10px 80px; }
.card.is-out img, .gallery-main.is-out img { filter: grayscale(.65); }
.card.is-out .price { color: var(--ink-3); }
.icon-btn-muted { background: var(--blue-deep); box-shadow: none; }
.icon-btn-muted:hover { background: var(--blue); }
.pricebox.is-out { background: linear-gradient(135deg, #5d6676 0%, #3f4654 100%); }
.soldout-box { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--radius-sm); background: #fdeaea; border: 1px solid #f3b8b8; color: #8a1c1c; margin-bottom: 14px; }
.soldout-box b { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: 20px; }
.colors label.is-out span { opacity: .55; text-decoration: line-through; cursor: not-allowed; background: var(--bg-2); }
.colors label.is-out small { text-decoration: none; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #b42323; margin-left: 2px; }
.tag-best { font-style: normal; background: var(--orange); color: #fff; padding: 2px 8px; border-radius: 4px; letter-spacing: .08em; }

/* ---------- Filtro do catálogo ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 24px; }
.tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--blue-deep); font: inherit; font-weight: 700; cursor: pointer; touch-action: manipulation; transition: border-color .15s, background-color .15s, color .15s; }
.tab:hover { border-color: var(--blue); }
.tab:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.tab[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.tab .num { font-size: 12px; padding: 1px 7px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-2); }
.tab[aria-pressed="true"] .num { background: rgba(255,255,255,.2); color: #fff; }
.tab-check { font-weight: 600; }
.tab-check input { width: 18px; height: 18px; accent-color: var(--orange); }
.filter-empty { color: var(--ink-2); }
.linklike { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }

/* ---------- Checkout ---------- */
.checkout { padding-bottom: 72px; }
.co-title { font-size: clamp(34px, 4.5vw, 52px); text-transform: uppercase; color: var(--blue-deep); margin: 14px 0 22px; scroll-margin-top: 90px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
@media (max-width: 920px) { .co-grid { grid-template-columns: 1fr; } .co-sum { order: -1; } }
.co-form { display: grid; gap: 18px; min-width: 0; }
.co-box { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 20px; margin: 0; min-width: 0; box-shadow: var(--shadow-sm); }
.co-box legend { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 24px; text-transform: uppercase; color: var(--blue-deep); padding: 0 6px; }
.co-n { width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 17px; }
.cf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 14px; }
.cf { grid-column: span 2; display: grid; gap: 5px; min-width: 0; }
.cf.full { grid-column: 1 / -1; }
.cf.wide { grid-column: span 3; }
#cf-number, .cf:has(#number), .cf:has(#uf) { grid-column: span 1; }
@media (max-width: 560px) { .cf-grid { grid-template-columns: 1fr 1fr; } .cf, .cf.wide { grid-column: 1 / -1; } .cf:has(#number), .cf:has(#uf) { grid-column: span 1; } }
.cf label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.cf input { min-height: 46px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); width: 100%; transition: border-color .15s, box-shadow .15s; }
.cf input:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.cf input[aria-invalid="true"] { border-color: #d12b2b; box-shadow: 0 0 0 3px #fde3e3; }
.cf-err { color: #b42323; font-size: 12px; min-height: 0; }
.cf-err:empty { display: none; }
.co-note { color: var(--ink-3); font-size: 14px; margin: 12px 0 0; }
.paym { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .paym { grid-template-columns: 1fr; } }
.paym-opt { position: relative; cursor: pointer; }
.paym-opt input { position: absolute; opacity: 0; inset: 0; }
.paym-opt > span { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; min-height: 44px; transition: border-color .15s, background-color .15s; }
.paym-opt b { font-size: 16px; color: var(--blue-deep); }
.paym-opt em { font-style: normal; font-family: var(--font-display); font-size: 26px; color: var(--blue-deep); font-variant-numeric: tabular-nums; }
.paym-opt small { color: var(--ink-3); font-size: 12px; }
.paym-opt input:checked + span { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }
.paym-opt input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.paym-opt input:disabled + span { opacity: .55; cursor: not-allowed; }
.receiver { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; padding: 12px 14px; border-radius: 12px; background: #fff7ef; border: 1px solid #ffd2b0; color: #7a3a07; font-size: 14px; }
.receiver svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--orange-2); }
.receiver p { margin: 0; }
[data-pix-area] { margin-top: 14px; }
.brick { margin-top: 10px; }
.co-msg { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #fdeaea; color: #8a1c1c; font-size: 14px; }
.co-msg[data-kind="info"] { background: var(--blue-soft); color: var(--blue-2); }
.co-sum { position: sticky; top: 92px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 20px; box-shadow: var(--shadow-sm); min-width: 0; }
@media (max-width: 920px) { .co-sum { position: static; } }
.co-sum h2 { font-family: var(--font-display); font-size: 24px; text-transform: uppercase; color: var(--blue-deep); margin: 0 0 12px; }
.co-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 10px 0; border-bottom: 1px dashed var(--line-2); }
.co-item b { font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.co-item small { grid-column: 1; color: var(--ink-3); font-size: 12px; }
.co-item .num { grid-column: 2; grid-row: 1; font-weight: 700; }
.co-tot { margin: 12px 0 0; display: grid; gap: 6px; }
.co-tot div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--ink-2); }
.co-tot dt, .co-tot dd { margin: 0; }
.co-tot .co-total { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; font-size: 18px; color: var(--blue-deep); font-weight: 800; }
.co-total dd { font-family: var(--font-display); font-size: 28px; }
.co-result { max-width: 560px; margin: 0 auto; }
.pix, .ok-box, .fail-box { text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 28px 22px; box-shadow: var(--shadow); display: grid; gap: 12px; justify-items: center; }
.pix h2, .ok-box h2, .fail-box h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 32px; color: var(--blue-deep); margin: 0; }
.pix-amt { font-family: var(--font-display); font-size: 44px; color: var(--blue); margin: 0; }
.pix-qr { width: 240px; height: 240px; image-rendering: pixelated; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: #fff; }
.pix-code-l { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.pix-code { width: 100%; font: 13px/1.4 ui-monospace, monospace; padding: 10px; border: 1px solid var(--line-2); border-radius: 10px; resize: none; color: var(--ink-2); background: var(--bg-2); word-break: break-all; }
.receiver-inline { font-size: 14px; background: #fff7ef; border: 1px solid #ffd2b0; color: #7a3a07; padding: 8px 12px; border-radius: 10px; margin: 0; }
.pix-wait { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink-2); font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
.ok-ic { width: 72px; height: 72px; border-radius: 50%; background: #1fbf5b; color: #fff; display: grid; place-items: center; font-size: 40px; font-weight: 800; }
.btn.is-loading { opacity: .8; }

[hidden] { display: none !important; }
