:root {
  color-scheme: dark;

  --bg: #020614;
  --bg-raised: #071128;
  --panel: #0a1730;
  --line: rgba(130, 175, 255, .16);
  --line-strong: rgba(130, 175, 255, .32);
  --ink: #f5f8ff;
  --muted: #a3b3cf;
  --cyan: #2fd6ff;
  --blue: #0a7bff;
  --grad: linear-gradient(100deg, #35d9ff, #1a8dff);
  --on-grad: #02081a;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --header: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Brilhos azuis nos cantos, como no banner do logo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(50vw 40vh at 0% 0%, rgba(10, 90, 255, .28), transparent 70%),
    radial-gradient(50vw 45vh at 100% 100%, rgba(10, 100, 255, .24), transparent 70%);
}

h1, h2, h3, p { margin: 0; }
img, canvas, svg { display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: var(--bg); border-radius: 10px;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.028em;
  margin-top: 12px;
  text-wrap: balance;
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--grad); color: var(--on-grad); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(30, 150, 255, .4); }
.btn-ghost { border-color: var(--line-strong); background: rgba(6, 14, 34, .5); }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(47, 214, 255, .08); }
.btn-block { width: 100%; }

.icon-btn {
  display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(6, 14, 34, .7);
}
.icon-btn:hover { border-color: var(--cyan); }
.icon-btn svg { width: 20px; height: 20px; }

/* Cabeçalho */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  height: var(--header);
  padding: 0 var(--gutter);
  background: rgba(2, 6, 20, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; font-weight: 800; font-size: 1.14rem; letter-spacing: -.02em;
  white-space: nowrap;
}
.brand-mark { width: 40px; height: 26px; flex: none; }

.site-nav { display: flex; gap: 30px; margin-left: auto; }
.site-nav a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.site-nav a:hover { color: var(--ink); }

.cart-button {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; font-weight: 600; font-size: .95rem;
  transition: border-color .2s;
}
.cart-button:hover { border-color: var(--cyan); }
.cart-button svg { width: 20px; height: 20px; }
.cart-count {
  display: grid; place-items: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--grad); color: var(--on-grad);
  font-size: .78rem; font-weight: 800;
}
.cart-count[hidden] { display: none; }

@media (max-width: 820px) {
  .site-nav { display: none; }
  .cart-button { margin-left: auto; }
  .cart-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: flex; align-items: center;
  padding: 48px var(--gutter);
  overflow: hidden;
  max-width: 100vw;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-copy { position: relative; z-index: 1; width: min(640px, 50%); }
@media (max-width: 900px) { .hero-copy { width: 100%; } }
.hero h1 {
  margin-top: 18px;
  font-size: clamp(3rem, 6vw, 6rem);
  text-wrap: balance;
  line-height: .98;
  font-weight: 700;
  letter-spacing: -.04em;
}
.hero-lead { margin-top: 24px; max-width: 30em; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-caption {
  position: absolute; right: var(--gutter); bottom: 28px; z-index: 1;
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  transition: opacity .5s;
}

@media (max-width: 900px) {
  .hero { align-items: flex-end; padding-top: 37vh; padding-bottom: 36px; }
  .hero-caption { display: none; }
  .hero-lead { margin-top: 18px; }
  .hero-actions { margin-top: 26px; flex-wrap: nowrap; gap: 8px; }
  .hero-actions .btn { flex: 1 1 auto; padding: 0 14px; font-size: .95rem; white-space: nowrap; }
}

/* Faixa com os três pilares do logo */
.pillars {
  display: flex; justify-content: center;
  padding: 30px var(--gutter);
  position: relative;
}
.pillars::before, .rule {
  content: ""; display: block; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue) 25%, var(--cyan) 50%, var(--blue) 75%, transparent);
}
.pillars::before { position: absolute; top: 0; left: 12%; right: 12%; }
.rule { margin: 0 auto; width: min(76%, 900px); opacity: .75; }

.pillar {
  display: flex; align-items: center; gap: 14px;
  padding: 4px clamp(14px, 4vw, 52px);
  font-size: clamp(.92rem, 1.5vw, 1.2rem); font-weight: 500;
}
.pillar + .pillar { border-left: 1px solid var(--blue); }
.pillar svg { width: 38px; height: 38px; flex: none; }

@media (max-width: 640px) {
  .pillar { flex-direction: column; gap: 8px; text-align: center; font-size: .82rem; line-height: 1.25; padding: 4px 10px; flex: 1; }
  .pillar svg { width: 30px; height: 30px; }
}

/* Seções */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) var(--gutter);
}
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 36px;
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--muted); font-weight: 600; font-size: .92rem;
  transition: color .2s, border-color .2s, background-color .2s;
}
.filter:hover { color: var(--ink); border-color: var(--cyan); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.grid-message { grid-column: 1 / -1; display: grid; gap: 16px; justify-items: center; padding: 56px 16px; text-align: center; color: var(--muted); }
.demo-note { margin: -16px 0 28px; font-size: .88rem; color: var(--muted); }

/* Grade de produtos */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
}
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card {
  position: relative;
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-raised);
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card[hidden] { display: none; }

.card-open {
  display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left;
}
.card-open:focus-visible { outline-offset: -4px; border-radius: var(--radius); }

.card-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  background: radial-gradient(70% 62% at 50% 44%, rgba(40, 110, 255, .24), transparent 72%), var(--panel);
  display: grid; place-items: center;
  overflow: hidden;
}
.card-stage img { width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .4s, transform .5s cubic-bezier(.2, .7, .2, 1); }
.card-stage img.is-ready { opacity: 1; }
.card-stage img.is-photo { object-fit: cover; }
.card:hover .card-stage img { transform: scale(1.05); }
.card-stage .placeholder { position: absolute; width: 30%; opacity: .35; aspect-ratio: 120 / 78; }
.card-stage img.is-ready + .placeholder { display: none; }

.card-body { display: flex; flex-direction: column; gap: 2px; padding: 16px 16px 0; }
.card-cat { font-size: .78rem; color: var(--muted); }
.card-name { font-size: 1.06rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }

.card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 16px 16px; margin-top: auto;
}
.card-price { font-weight: 700; }
.card-add {
  display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0; flex: none;
  border-radius: 50%; border: 1px solid var(--line-strong); background: transparent;
  transition: background-color .2s, border-color .2s, color .2s;
}
.card-add svg { width: 20px; height: 20px; }
.card-add:hover { background: var(--grad); border-color: transparent; color: var(--on-grad); }

@media (max-width: 480px) {
  .card-body { padding: 12px 12px 0; }
  .card-foot { padding: 8px 12px 12px; }
  .card-name { font-size: .98rem; }
}

/* Sob medida */
.custom {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start;
}
.custom-copy > p:not(.eyebrow) { margin-top: 20px; color: var(--muted); max-width: 32em; }
.custom-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.custom-list li { position: relative; padding-left: 28px; }
.custom-list li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 16px; height: 2px; background: var(--grad); border-radius: 2px;
}

.custom-form {
  display: grid; gap: 18px;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-raised);
}
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: .92rem; font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: 12px;
  background: var(--bg); font-size: 16px;
  transition: border-color .2s;
}
.field textarea { resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(47, 214, 255, .18); }
.field ::placeholder { color: #7f90ad; }
.form-hint { font-size: .86rem; color: var(--muted); }
.form-hint a { color: var(--ink); text-underline-offset: 2px; }
.form-error { padding: 10px 14px; border-radius: 10px; border: 1px solid #ff8f8f66; background: #ff6b6b1f; color: #ffc9c9; font-size: .92rem; }
.form-success { padding: 10px 14px; border-radius: 10px; border: 1px solid #5fe3b066; background: #3ddc971c; color: #b8f5dc; font-size: .92rem; }
.form-error[hidden], .form-success[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 860px) { .custom { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .field-row { grid-template-columns: 1fr; } }

/* Como funciona */
.process {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center;
}
.process-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: 640px;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: radial-gradient(60% 55% at 50% 48%, rgba(40, 110, 255, .22), transparent 75%), var(--bg-raised);
  overflow: hidden;
}
#process-canvas { width: 100%; height: 100%; }

.steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 6px; }
.step {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start;
  width: 100%; padding: 16px; text-align: left;
  background: transparent; border: 1px solid transparent; border-radius: 14px;
  color: var(--muted); font-size: .98rem; line-height: 1.5;
  transition: background-color .3s, border-color .3s, color .3s;
}
.step svg { width: 40px; height: 40px; opacity: .55; transition: opacity .3s; }
.step strong { display: block; color: var(--ink); font-size: 1.14rem; margin-bottom: 3px; font-weight: 700; }
.step:hover { border-color: var(--line); }
.step.is-active { background: var(--bg-raised); border-color: var(--line-strong); color: var(--ink); }
.step.is-active svg { opacity: 1; }

/* No celular: título, animação e passos, nessa ordem, para ver a animação junto com os passos */
@media (max-width: 860px) {
  .process { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .process-copy { display: contents; }
  .process-copy .eyebrow { order: 1; }
  .process-copy h2 { order: 2; margin-bottom: 24px; }
  .process-stage { order: 3; aspect-ratio: 4 / 3; }
  .steps { order: 4; margin-top: 12px; }
  .step { padding: 12px; }
}

/* Dúvidas */
.faq[hidden] { display: none; }
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 6vw, 88px); }
.faq-list { display: grid; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 14px 0;
  font-weight: 600; font-size: 1.06rem; cursor: pointer; list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s;
}
details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
details p { padding-bottom: 20px; color: var(--muted); max-width: 38em; }

@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* Rodapé */
.site-footer {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px;
  max-width: var(--max); margin: 0 auto;
  padding: 56px var(--gutter) 36px;
  border-top: 1px solid var(--line);
}
.tagline { margin-top: 12px; color: var(--muted); }
.footer-links, .footer-contact { display: grid; gap: 4px; align-content: start; justify-items: start; }
.footer-links a, .footer-contact a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px;
  color: var(--muted); text-decoration: none; transition: color .2s;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--ink); }
.footer-contact svg { width: 18px; height: 18px; }
.footer-legal { grid-column: 1 / -1; margin-top: 12px; display: grid; gap: 4px; font-size: .86rem; color: var(--muted); }
.footer-legal a { text-underline-offset: 2px; }
.footer-legal [hidden] { display: none; }

/* Políticas */
.policy { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gutter) 80px; }
.policy h1 { margin-top: 12px; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; }
.policy-date { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.policy section { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header) + 8px); }
.policy h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.policy h3 { margin: 28px 0 6px; font-size: 1.08rem; font-weight: 700; }
.policy p, .policy li { color: var(--muted); }
.policy ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.policy strong { color: var(--ink); }
.policy > p:last-child { margin-top: 48px; }
.policy-contact { margin-top: 14px; display: grid; gap: 4px; }

@media (max-width: 640px) { .site-footer { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Sem WebGL: o espaço do 3D some e a loja continua igual */
.no-3d #hero-canvas, .no-3d .process-stage, .no-3d .hero-caption { display: none; }
.no-3d .process { grid-template-columns: 1fr; }
.no-3d .hero { min-height: 0; align-items: center; padding-top: 72px; padding-bottom: 72px; }

/* Diálogos */
html.has-dialog { overflow: hidden; }
dialog { color: var(--ink); padding: 0; border: 1px solid var(--line-strong); background: var(--bg-raised); }
dialog::backdrop { background: rgba(1, 4, 14, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

.product-dialog {
  width: min(1040px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  border-radius: 22px;
  overflow: hidden;
}
.product-dialog[open] { display: grid; grid-template-columns: 1.1fr 1fr; animation: rise .32s cubic-bezier(.2, .7, .2, 1); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.dialog-close { position: absolute; top: 14px; right: 14px; z-index: 2; }

.pd-stage {
  position: relative; min-height: 520px;
  background: radial-gradient(62% 56% at 50% 46%, rgba(40, 110, 255, .28), transparent 75%), var(--panel);
}
#pd-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
#pd-canvas:active { cursor: grabbing; }
#pd-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#pd-image[hidden], #pd-canvas[hidden], #pd-hint[hidden] { display: none; }
.pd-placeholder { position: absolute; inset: 0; margin: auto; width: 30%; aspect-ratio: 120 / 78; height: auto; opacity: .35; display: none; }
.pd-stage.is-empty .pd-placeholder { display: block; }
.pd-hint { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-size: .82rem; color: var(--muted); pointer-events: none; }

.pd-info { padding: clamp(24px, 3.4vw, 44px); overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.pd-info h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0; padding-right: 40px; }
.pd-price { font-size: 1.4rem; font-weight: 700; }
.pd-desc { color: var(--muted); }
.pd-size { font-size: .92rem; color: var(--muted); }

.swatches { border: 0; margin: 8px 0 0; padding: 0; min-width: 0; }
.swatches legend { padding: 0; font-weight: 600; font-size: .95rem; }
.swatches legend span { font-weight: 400; color: var(--muted); }
.swatch-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.swatch {
  width: 44px; height: 44px; padding: 5px; border-radius: 50%;
  border: 2px solid transparent; background: none;
  transition: border-color .2s;
}
.swatch span { display: block; width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); }
.swatch:hover { border-color: var(--line-strong); }
.swatch[aria-pressed="true"] { border-color: var(--cyan); }

.pd-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 12px; }

@media (max-width: 820px) {
  .product-dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; border: 0; }
  .product-dialog[open] { grid-template-columns: 1fr; grid-template-rows: 42dvh 1fr; }
  .pd-stage { min-height: 0; }
}

/* Carrinho */
.cart-dialog {
  width: min(460px, 100vw); max-width: 100vw;
  height: 100dvh; max-height: 100dvh;
  margin: 0 0 0 auto;
  border-width: 0 0 0 1px;
}
.cart-dialog[open] { display: flex; flex-direction: column; animation: slide .3s cubic-bezier(.2, .7, .2, 1); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }

.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.cart-head h2 { margin: 0; font-size: 1.3rem; letter-spacing: -.015em; }

.cart-dialog { overflow-y: auto; }
.cart-items { flex: 1 1 auto; min-height: 140px; overflow-y: auto; padding: 8px 20px; }
.cart-empty { padding: 56px 12px; text-align: center; color: var(--muted); display: grid; gap: 18px; justify-items: center; }
.cart-empty svg { width: 72px; height: 47px; opacity: .6; }

.cart-item {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.cart-thumb { width: 76px; height: 76px; border-radius: 12px; background: var(--panel); object-fit: contain; }
.cart-item-name { font-weight: 700; line-height: 1.3; }
.cart-item-meta { font-size: .86rem; color: var(--muted); }
.cart-item-side { display: grid; justify-items: end; gap: 6px; }
.qty { display: inline-flex; align-items: center; margin-top: 6px; border: 1px solid var(--line-strong); border-radius: 999px; }
.qty button { width: 36px; height: 36px; padding: 0; border: 0; background: none; font-size: 1.1rem; border-radius: 50%; }
.qty button:hover { color: var(--cyan); }
.qty span { min-width: 22px; text-align: center; font-weight: 600; font-size: .92rem; }
.cart-remove {
  padding: 8px 0; border: 0; background: none; font-size: .82rem; color: var(--muted);
  text-decoration: underline; text-underline-offset: 2px;
}
.cart-remove:hover { color: var(--ink); }

.cart-foot { display: grid; gap: 10px; padding: 18px 20px 22px; border-top: 1px solid var(--line); background: var(--bg-raised); }
.cart-foot[hidden] { display: none; }
.checkout-form { display: grid; gap: 10px; }
.checkout-form .field { gap: 4px; }
.checkout-form .field label { font-size: .84rem; }
.checkout-form .field input { min-height: 44px; padding: 8px 12px; }
.checkout-form .field-row { grid-template-columns: 1.25fr 1fr; gap: 10px; }

.order-done { display: grid; gap: 14px; justify-items: center; padding: 48px 12px; text-align: center; }
.order-done svg.order-mark { width: 72px; height: 47px; }
.order-code { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.order-done p { color: var(--muted); max-width: 26em; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; }
.cart-total strong { font-size: 1.35rem; }

/* Aviso */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60;
  max-width: calc(100vw - 32px);
  padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-weight: 600; font-size: .94rem;
  transform: translate(-50%, 24px); opacity: 0; pointer-events: none;
  transition: transform .3s, opacity .3s;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
