/* ==========================================================
   PulseirasPlay — loja
   Cores tiradas do logotipo: azul-marinho do contorno, azul e ciano do botão "play",
   amarelo/laranja do "Play", roxo do fio e verde das miçangas.
   ========================================================== */

@font-face {
  font-family: "Baloo 2";
  src: url("/fonts/baloo-2-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* cores da marca */
  --brand: #2b6cff;
  --brand-d: #1a47c9;
  --brand-soft: #dfe9ff;
  --brand-tint: #f3f7ff;
  --cyan: #5fd6f7;
  --cyan-d: #1fa7cf;
  --cyan-soft: #e3f8ff;
  --teal: #19c3c9;
  --orange: #ff8a1f;
  --orange-d: #d96a00;
  --lime: #7ed321;
  --yellow: #ffd23f;
  --yellow-d: #dfa400;
  --yellow-soft: #fff6d4;
  --grape: #7c3aed;
  --purple: #4527c4;
  --green: #159a52;
  --green-d: #0d7039;
  --green-soft: #e1f7ea;
  --danger: #d92b4b;
  --danger-soft: #ffe9ee;

  /* texto e superfícies */
  --ink: #1a1247;
  --ink-soft: #5e5a8c;
  --bg: #f5f6ff;
  --lav: #eef0ff;
  --lav-2: #dde1fb;
  --lav-3: #bcc3f3;
  --white: #fff;
  --line: rgba(40, 36, 140, .12);
  --line-2: rgba(40, 36, 140, .22);

  /* forma, sombra e movimento */
  --font-d: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-b: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --radius: var(--r-lg);
  --sh-1: 0 1px 2px rgba(23, 16, 63, .06), 0 3px 8px -2px rgba(23, 16, 63, .06);
  --sh-2: 0 2px 4px rgba(23, 16, 63, .04), 0 12px 28px -12px rgba(52, 44, 160, .26);
  --sh-3: 0 4px 10px rgba(23, 16, 63, .05), 0 28px 56px -20px rgba(52, 44, 160, .38);
  --card-shadow: var(--sh-2);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.3, 1.5, .5, 1);

  --topbar-h: 64px;
  --gutter: clamp(16px, 4vw, 32px);
  --maxw: 1160px;
}

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

html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-b);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  overflow-x: hidden;
  overflow-x: clip;
}
/* fundo: manchas de cor bem suaves, paradas atrás do conteúdo */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(62vmax 48vmax at 100% -6%, rgba(43, 108, 255, .11), transparent 62%),
    radial-gradient(56vmax 46vmax at -8% 18%, rgba(95, 214, 247, .2), transparent 62%),
    radial-gradient(52vmax 42vmax at 62% 104%, rgba(255, 210, 63, .16), transparent 62%),
    radial-gradient(circle at 15px 15px, rgba(92, 70, 235, .055) 1.6px, transparent 2.2px) 0 0 / 30px 30px;
}

h1, h2, h3 { font-family: var(--font-d); line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--grape); outline-offset: 3px; border-radius: 10px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 800;
}
.skip:focus { top: 12px; }

/* ---------- ícones ---------- */

.ico-wrap { display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; flex: none; vertical-align: -.24em; }
.ico { display: block; width: 100%; height: 100%; }

/* ---------- miçangas ---------- */

.bead { display: block; width: 44px; height: 44px; flex: none; }
.bead-svg, .bead-img { display: block; width: 100%; height: 100%; }
.bead-svg { overflow: visible; filter: drop-shadow(0 2px 1.5px rgba(30, 22, 92, .28)); }
/* disquinho de lado: o desenho passa da caixinha e não precisa de sombra */
.bead-side .bead-svg { filter: none; }
.bead-img { object-fit: contain; filter: drop-shadow(0 2px 2px rgba(30, 22, 92, .3)); pointer-events: none; -webkit-user-drag: none; }

/* ---------- botões ---------- */

.btn {
  --bg: #1f5cf0;
  --bg-2: #4b8bff;
  --edge: #1238a8;
  --fg: #fff;
  --glow: rgba(43, 108, 255, .5);
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: .5em 1.45em;
  font-family: var(--font-d); font-weight: 700; font-size: 1.14rem; line-height: 1.1;
  color: var(--fg); background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border: 0; border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42), 0 4px 0 var(--edge), 0 16px 22px -12px var(--glow);
  text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), filter .2s ease;
  user-select: none; -webkit-user-select: none;
}
.btn:hover { transform: translateY(-1px); filter: saturate(1.08) brightness(1.03); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42), 0 5px 0 var(--edge), 0 20px 26px -12px var(--glow); }
.btn:active { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 1px 0 var(--edge), 0 6px 10px -6px var(--glow); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn .ico-wrap { width: 1.15em; height: 1.15em; }
.btn-xl { min-height: 62px; font-size: clamp(1.14rem, .7rem + 2.2vw, 1.32rem); padding: .55em 1.5em; }
.btn-sm { min-height: 42px; font-size: 1rem; padding: .35em 1.05em; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42), 0 3px 0 var(--edge); }
.btn-cyan { --bg: #4fcdf2; --bg-2: #84e2fb; --edge: var(--cyan-d); --fg: var(--ink); --glow: rgba(31, 167, 207, .5); }
.btn-yellow { --bg: #ffb81f; --bg-2: #ffe066; --edge: #d98a00; --fg: var(--ink); --glow: rgba(255, 150, 0, .55); }
.btn-green { --bg: #0f8444; --bg-2: #19a056; --edge: #0a6032; --glow: rgba(21, 154, 82, .5); }
.btn-ghost {
  --bg: #fff; --bg-2: #fff; --edge: var(--lav-3); --fg: var(--purple); --glow: rgba(52, 44, 160, .28);
  box-shadow: inset 0 0 0 1.5px var(--lav-2), 0 4px 0 var(--edge), 0 14px 20px -14px var(--glow);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--lav-3), 0 5px 0 var(--edge), 0 18px 24px -14px var(--glow); }
.btn-ghost:active { box-shadow: inset 0 0 0 1.5px var(--lav-3), 0 1px 0 var(--edge); }

/* brilho que passa pelos botões principais */
.hero-cta .btn-yellow::before, .cta-in .btn::before, #add-cart.is-ready::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 36%, rgba(255, 255, 255, .42) 50%, transparent 64%);
  transform: translateX(-120%);
  animation: shine 4.6s ease-in-out 1.4s infinite;
}

.link { color: var(--purple); font-weight: 800; text-underline-offset: 3px; }
.link:hover { color: var(--brand-d); }

.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center; flex: none;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--purple);
  cursor: pointer; font-size: 1.15rem; text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .16s var(--ease);
}
.icon-btn:hover { background: var(--lav); border-color: var(--lav-3); }
.icon-btn:active { transform: scale(.94); }
#sound-btn[aria-pressed="true"] .sound-off, #sound-btn[aria-pressed="false"] .sound-on { display: none; }
#sound-btn[aria-pressed="false"] { color: var(--ink-soft); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 4px 8px 4px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--sh-1);
  font-family: var(--font-d); font-weight: 700; font-size: 1rem; color: var(--ink);
  cursor: pointer; white-space: nowrap;
  transition: transform .16s var(--ease), box-shadow .2s ease, border-color .2s ease;
}
.pill:hover { border-color: var(--lav-3); box-shadow: var(--sh-2); }
.pill:active { transform: scale(.97); }
.pill-ico { color: var(--grape); }
.pill-action { font-size: .8rem; font-weight: 700; color: var(--brand-d); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; }
.pill-ghost { padding-right: 16px; background: var(--yellow-soft); border-color: #f1dc8f; }
.pill-ghost .pill-ico { color: #a87400; }
.only-wide { display: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .86); border: 1px solid var(--line); box-shadow: var(--sh-1);
  font-family: var(--font-d); font-weight: 700; font-size: .92rem; line-height: 1.2; color: var(--purple);
}
.eyebrow .ico-wrap { color: var(--brand); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2); }

/* ---------- topo ---------- */

.topbar {
  position: sticky; top: 0; z-index: 30;
  height: var(--topbar-h);
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: saturate(1.7) blur(16px); backdrop-filter: saturate(1.7) blur(16px);
  transition: box-shadow .25s ease, background .25s ease;
}
.topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px;
  background: linear-gradient(90deg, #7c3aed, #2b6cff, #22d3ee, #7ed321, #ffc928, #ff8a1f);
}
.topbar.scrolled { background: rgba(255, 255, 255, .94); box-shadow: 0 14px 30px -20px rgba(23, 16, 63, .5); }
.topbar-in {
  height: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
}
.brand { display: block; height: 100%; padding: 5px 0; margin-right: auto; transition: transform .2s var(--spring); }
.brand:hover { transform: scale(1.04) rotate(-1.5deg); }
.brand img { height: 100%; width: auto; display: block; }
.topnav { display: none; align-items: center; gap: 4px; }
.nav-link {
  padding: 9px 16px; border-radius: 999px;
  font-family: var(--font-d); font-weight: 700; font-size: 1.02rem; color: var(--ink-soft); text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.nav-link:hover { background: var(--lav); color: var(--purple); }
.nav-link[aria-current="page"] { background: var(--lav); color: var(--purple); }
.topactions { display: flex; align-items: center; gap: 8px; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 44px; min-height: 44px; padding: 0 12px;
  background: var(--brand-soft); border: 1px solid #bcd0ff; border-radius: 999px;
  font-family: var(--font-d); font-weight: 700; color: var(--brand-d); text-decoration: none; font-size: 1.05rem;
  transition: background .2s ease, transform .16s var(--ease);
}
.cart-btn:hover { background: #cddcff; }
.cart-btn .ico-wrap { width: 1.3em; height: 1.3em; }
.cart-txt { display: none; }
.cart-badge {
  position: absolute; top: -5px; right: -5px;
  min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center;
  background: var(--brand); color: #fff; border-radius: 999px; font-size: .82rem; line-height: 1;
  box-shadow: 0 0 0 2px #fff;
}
.cart-btn.bump { animation: bump .5s var(--spring); }

/* ---------- vistas ---------- */

main { flex: 1; outline: none; }
.view { animation: view-in .34s var(--ease) both; }
.page { width: min(100%, 760px); margin: 0 auto; padding: clamp(20px, 4vw, 40px) var(--gutter) 64px; }
.page-wide { width: min(100%, 1080px); }
.page h1 { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 2.6rem); font-weight: 800; color: var(--ink); letter-spacing: -.01em; margin-bottom: 18px; }
.page-sub { color: var(--ink-soft); font-weight: 600; margin: -10px 0 18px; }
.page.center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lead { font-size: 1.15rem; }
.hint { color: var(--ink-soft); max-width: 44ch; }
.side-title { font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.side-note { font-size: .92rem; font-weight: 600; color: var(--ink-soft); }

/* etapas do pedido: Sacolinha › Seus dados › Pronto */
.flow {
  list-style: none; display: flex; align-items: center; gap: 6px; padding: 0; margin: 0 0 16px;
  font-family: var(--font-d); font-weight: 700; font-size: .86rem; color: var(--ink-soft);
}
.flow li { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.flow li + li::before { content: ""; width: clamp(8px, 4vw, 40px); height: 2px; border-radius: 2px; background: var(--lav-3); }
.flow-n {
  width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%;
  background: var(--lav-2); color: var(--purple); font-size: .82rem; line-height: 1;
}
.flow-n .ico-wrap { width: 14px; height: 14px; }
.flow .is-now { color: var(--ink); }
.flow .is-now .flow-n { background: var(--brand); color: #fff; box-shadow: 0 0 0 4px var(--brand-soft); }
.flow .is-done .flow-n { background: var(--green); color: #fff; box-shadow: none; }
.flow .is-done + li::before { background: var(--green); }
.flow a { color: inherit; text-underline-offset: 3px; }
.page.center .flow { justify-content: center; }

/* aparece ao rolar a página (só quando o JavaScript liga) */
.js-reveal .reveal {
  opacity: 0; translate: 0 22px;
  transition: opacity .7s var(--ease) var(--rd, 0ms), translate .7s var(--ease) var(--rd, 0ms),
              transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease;
}
.js-reveal .reveal.in { opacity: 1; translate: none; }

/* ---------- início ---------- */

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(48px, 7vw, 84px) var(--gutter) clamp(34px, 6vw, 70px);
  color: #fff;
  background:
    radial-gradient(70% 90% at 6% -12%, rgba(124, 58, 237, .78), transparent 60%),
    radial-gradient(55% 80% at 102% 0%, rgba(34, 211, 238, .36), transparent 62%),
    radial-gradient(75% 70% at 50% 124%, rgba(43, 108, 255, .72), transparent 62%),
    #150d45;
}
/* grade de pontinhos, como tela de jogo */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 14px 14px, rgba(255, 255, 255, .1) 1.5px, transparent 2.1px) 0 0 / 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 88%); mask-image: linear-gradient(180deg, #000, transparent 88%);
}
.hero-in { max-width: 900px; margin: 0 auto; display: grid; justify-items: center; gap: clamp(12px, 2.6vw, 24px); }
.hero-copy { display: grid; justify-items: center; gap: 14px; text-align: center; }
.hero h1 {
  font-size: clamp(1.9rem, 1.2rem + 3.3vw, 3.3rem); font-weight: 800; letter-spacing: -.018em; line-height: 1.07;
  max-width: 19ch; color: #fff; text-shadow: 0 3px 0 rgba(10, 6, 40, .4);
}
.hero h1 .hl {
  color: var(--yellow);
  background: linear-gradient(180deg, #ffe45c 10%, #ff9a1f 95%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: none; filter: drop-shadow(0 3px 0 rgba(10, 6, 40, .4));
}
.hero-sub { max-width: 48ch; font-size: clamp(1.05rem, 1rem + .4vw, 1.2rem); color: #dcdfff; font-weight: 600; }
.hero .eyebrow { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .24); color: #fff; box-shadow: none; }
.hero .eyebrow .ico-wrap { color: var(--yellow); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 12px; margin-top: 8px; }
.btn-glass {
  --bg: rgba(255, 255, 255, .1); --bg-2: rgba(255, 255, 255, .18); --edge: rgba(8, 5, 40, .6); --fg: #fff; --glow: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .42), 0 4px 0 var(--edge);
}
.btn-glass:hover { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7), 0 5px 0 var(--edge); }
.btn-glass:active { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7), 0 1px 0 var(--edge); }
.hero-trust {
  list-style: none; padding: 0; margin: 10px 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px;
  font-size: .95rem; font-weight: 800; color: #eceeff;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.hero-trust .ico-wrap { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .22); color: #fff; }
.hero-trust li:nth-child(1) .ico-wrap { color: var(--yellow); }
.hero-trust li:nth-child(2) .ico-wrap { color: #67e3ff; }
.hero-trust li:nth-child(3) .ico-wrap { color: #7df0b0; }

.hero-art { position: relative; isolation: isolate; width: min(100%, 740px); margin: 0 auto; display: grid; place-items: center; }
.hero-glow {
  position: absolute; inset: 6% 2%; z-index: -2; border-radius: 50%;
  background:
    radial-gradient(closest-side at 28% 44%, rgba(34, 211, 238, .55), transparent),
    radial-gradient(closest-side at 74% 46%, rgba(255, 201, 40, .4), transparent),
    radial-gradient(closest-side, rgba(124, 58, 237, .55), transparent);
  filter: blur(30px);
}
.hero-logo { width: 100%; height: auto; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 18px 22px rgba(6, 3, 30, .5)); }
.hero-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-deco .bead {
  position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s);
  animation: bob var(--t, 6s) ease-in-out var(--d, 0s) infinite;
}
.hero-deco .bead-svg { filter: drop-shadow(0 8px 8px rgba(6, 3, 30, .45)); }

.hero-card {
  display: flex; align-items: center; gap: 12px; width: max-content; max-width: 100%; margin-top: 12px; rotate: -1.5deg;
  padding: 9px 18px 9px 9px; text-align: left;
  background: #fff; border: 0; border-radius: 22px; box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .7), 0 0 0 4px rgba(255, 255, 255, .14);
  cursor: pointer; color: var(--ink);
  transition: rotate .3s var(--spring), transform .3s var(--spring), box-shadow .3s ease;
}
.hero-card:hover { rotate: 0deg; transform: translateY(-3px); }
.hero-card .mini-ring { background: radial-gradient(circle, #fff 34%, var(--lav) 100%); border-radius: 16px; pointer-events: none; }
.hero-card-txt { display: grid; gap: 1px; line-height: 1.2; }
.hero-card-txt small { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-d); }
.hero-card-txt strong { font-family: var(--font-d); font-weight: 800; font-size: 1.12rem; }
.hero-card-txt span { font-size: .86rem; font-weight: 700; color: var(--ink-soft); }
.hero-card-go { display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; color: var(--purple) !important; }
.hero-card-go .ico-wrap { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.hero-card:hover .hero-card-go .ico-wrap { transform: translateX(3px); }

.marquee {
  overflow: hidden; padding: 16px 0;
  background: rgba(255, 255, 255, .72); border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track .bead { width: 46px; height: 46px; }

.showcase, .steps, .perks { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(40px, 7vw, 84px) var(--gutter) 0; }
.sec-head { display: grid; justify-items: center; gap: 10px; text-align: center; margin-bottom: clamp(22px, 4vw, 38px); }
.sec-head h2 { font-size: clamp(1.75rem, 1.15rem + 2.4vw, 2.65rem); font-weight: 800; color: var(--ink); letter-spacing: -.012em; }
.sec-sub { color: var(--ink-soft); font-weight: 600; max-width: 46ch; }

.showcase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 2vw, 18px); }
.product-card {
  --tint: var(--lav);
  position: relative; display: grid; justify-items: center; align-content: start; gap: 3px;
  padding: 12px 12px 16px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1);
  cursor: pointer; color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: var(--lav-3); }
.product-card:active { transform: translateY(-1px) scale(.99); }
.product-card:nth-child(5n + 1) { --tint: #dfe9ff; }
.product-card:nth-child(5n + 2) { --tint: #dff5ff; }
.product-card:nth-child(5n + 3) { --tint: #fff3c9; }
.product-card:nth-child(5n + 4) { --tint: #ffe9d2; }
.product-card:nth-child(5n + 5) { --tint: #dcf6ec; }
.product-art {
  width: 100%; aspect-ratio: 1 / .84; display: grid; place-items: center; margin-bottom: 9px;
  border-radius: 17px; background: radial-gradient(circle at 50% 42%, #fff 22%, var(--tint) 96%);
}
.product-art .mini-ring { pointer-events: none; transition: transform .45s var(--spring); }
.product-card:hover .product-art .mini-ring { transform: scale(1.08) rotate(-5deg); }
.product-card strong { font-family: var(--font-d); font-weight: 800; font-size: 1.22rem; line-height: 1.1; text-wrap: balance; }
.product-meta { font-size: .88rem; font-weight: 700; color: var(--ink-soft); }
.product-go {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 9px; padding: 6px 12px 6px 15px; border-radius: 999px;
  background: var(--lav); color: var(--purple); font-family: var(--font-d); font-weight: 700; font-size: .96rem;
  transition: background .2s ease, color .2s ease;
}
.product-go .ico-wrap { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.product-card:hover .product-go { background: var(--brand); color: #fff; }
.product-card:hover .product-go .ico-wrap { transform: translateX(3px); }

.steps-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px 20px; box-shadow: var(--sh-1);
}
.step h3 { font-size: 1.3rem; font-weight: 800; color: var(--ink); align-self: end; }
.step p { grid-column: 2; color: var(--ink-soft); font-weight: 600; align-self: start; }
.step-n {
  grid-row: span 2; width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; font-family: var(--font-d); font-weight: 800; font-size: 1.7rem; color: #fff;
  background: radial-gradient(ellipse 34% 22% at 34% 20%, rgba(255, 255, 255, .6), transparent),
              radial-gradient(circle at 38% 30%, var(--c1), var(--c2) 78%);
  box-shadow: 0 10px 16px -8px var(--c2), inset 0 -3px 6px rgba(23, 16, 63, .12);
  text-shadow: 0 2px 0 rgba(23, 16, 63, .22);
}
.step-1 .step-n { --c1: #b79bff; --c2: #6d28d9; }
.step-2 .step-n { --c1: #7fe3ff; --c2: #1297c9; }
.step-3 .step-n { --c1: #ffe27a; --c2: #f0aa00; color: var(--ink); text-shadow: none; }
.step-2 { --rd: 90ms; }
.step-3 { --rd: 180ms; }

.cta-band { padding: clamp(40px, 7vw, 84px) var(--gutter) clamp(44px, 7vw, 88px); }
.cta-in {
  position: relative; overflow: hidden; isolation: isolate;
  max-width: var(--maxw); margin: 0 auto; padding: clamp(34px, 6vw, 64px) 22px;
  display: grid; justify-items: center; gap: 10px; text-align: center; color: #fff;
  border-radius: var(--r-xl);
  background:
    radial-gradient(90% 130% at 0% 0%, #6d3df0 0%, transparent 58%),
    radial-gradient(70% 120% at 100% 100%, #1f8fff 0%, transparent 56%),
    #1d1458;
  box-shadow: 0 34px 60px -34px rgba(52, 44, 160, .8), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.cta-in h2 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3rem); font-weight: 800; letter-spacing: -.012em; }
.cta-in p { font-size: 1.12rem; font-weight: 700; max-width: 38ch; margin-bottom: 12px; }
.cta-beads { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-beads .bead { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); opacity: .9; animation: bob var(--t, 7s) ease-in-out var(--d, 0s) infinite; }
.cta-in h2, .cta-in p { text-shadow: 0 2px 10px rgba(23, 16, 63, .35); }

/* ---------- montador ---------- */

.builder {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  height: calc(100vh - var(--topbar-h));
  height: calc(100dvh - var(--topbar-h));
  min-height: 500px;
}
.builder-grid { display: contents; }
.stage-col { display: flex; flex-direction: column; gap: 6px; min-height: 0; padding: 12px 12px 6px; }
.builder-top { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.stage-wrap {
  position: relative; flex: 1; min-height: 0;
  display: grid; place-items: center;
  container-type: size;
}
.stage {
  position: relative; aspect-ratio: 1;
  width: min(100cqw, 100cqh);
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 38%, rgba(255, 255, 255, .62) 56%, transparent 71%);
  touch-action: none;
}
@supports not (container-type: size) {
  .stage { width: min(100%, 46vh); }
}
.cord { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cord .cord-line { stroke: var(--lav-3); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.stage.is-empty .cord .cord-line { stroke-dasharray: 2 12; stroke-width: 5; animation: cord-march 1.4s linear infinite; }
.stage.drop-on .cord .cord-line { stroke: var(--brand); }
.stage.is-done .cord .cord-line { stroke: var(--yellow); }

/* Chaveiro: fio em diagonal, com o preço no canto livre de cima. */
.stage[data-layout="strand"] { border-radius: 40px; background: radial-gradient(circle, #fff 0 46%, rgba(255, 255, 255, .55) 66%, transparent 82%); }
.stage[data-layout="strand"] .ring-center { inset: 5% 2% auto 50%; height: 38%; }

.ring-center {
  position: absolute; inset: 24%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  text-align: center; pointer-events: none;
}
.ring-price { font-family: var(--font-d); font-weight: 800; font-size: 2rem; font-size: clamp(1.5rem, 9cqw, 3rem); color: var(--ink); letter-spacing: -.01em; line-height: 1; }
.ring-status { font-family: var(--font-d); font-weight: 700; font-size: 1rem; font-size: clamp(.9rem, 4.6cqw, 1.3rem); color: var(--brand-d); line-height: 1.15; }
.stage.is-done .ring-status { color: var(--green-d); }
.ring-price.tick { animation: bump .35s var(--spring); }

.ring-beads { position: absolute; inset: 0; }
.rbead, .slot {
  position: absolute; left: 0; top: 0; padding: 0; margin: 0;
  border: 0; background: none; border-radius: 50%;
  transition: transform .3s cubic-bezier(.3, 1.25, .5, 1), width .2s ease, height .2s ease;
  will-change: transform;
}
.rbead { cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.rbead .bead { width: 100%; height: 100%; }
.rbead:hover .bead { transform: scale(1.1); }
.rbead .bead { transition: transform .12s ease; }
.rbead.pop .bead { animation: pop .38s cubic-bezier(.3, 1.7, .5, 1) var(--delay, 0ms) both; }
.rbead.bye { pointer-events: none; }
.rbead.bye .bead { animation: bye .22s ease-in forwards; }
.rbead.is-dragging { opacity: 0; }
.rbead.is-flying { opacity: 0; }
.slot { border: 3px dashed var(--brand); background: rgba(43, 108, 255, .12); pointer-events: none; opacity: 0; scale: .8; transition-property: transform, opacity; }
.slot.on { opacity: 1; }

.stage.shake { animation: shake .4s ease; }
.stage.party { animation: party .9s ease; }

.tools { position: absolute; inset: 0; pointer-events: none; }
.tool {
  position: absolute; pointer-events: auto;
  width: 50px; height: 50px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer;
  box-shadow: var(--sh-2);
  font-family: var(--font-d); font-weight: 700; color: var(--purple);
  transition: transform .16s var(--ease), box-shadow .2s ease, background .2s ease, opacity .2s ease;
}
.tool:hover { background: var(--lav); }
.tool:active { transform: scale(.92); }
.tool[disabled] { opacity: .45; cursor: default; box-shadow: none; }
.tool[disabled]:hover { background: #fff; }
.tool-ico { width: 24px; height: 24px; }
.tool-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.tool-undo { left: 2px; top: 2px; }
.tool-clear { right: 2px; top: 2px; }
.tool-surprise { left: 2px; bottom: 2px; }
.tool-fill {
  right: 2px; bottom: 2px; color: var(--ink); border-color: #eec84b;
  background: linear-gradient(180deg, #ffe070, #ffcb2a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 10px 18px -8px rgba(223, 164, 0, .8);
}
.tool-fill:hover { background: linear-gradient(180deg, #ffe680, #ffd23f); }
.tool-fill.nudge { animation: wiggle 1s ease-in-out 2; }

.tray-col {
  background: #fff; border-radius: 26px 26px 0 0;
  border-top: 1px solid var(--line);
  box-shadow: 0 -14px 30px -22px rgba(52, 44, 160, .5);
  padding-top: 10px; min-width: 0;
}
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 0 12px 8px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; min-height: 38px; padding: 2px 15px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer;
  font-family: var(--font-d); font-weight: 700; font-size: .98rem; color: var(--ink-soft); white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tab:hover { background: var(--lav); color: var(--purple); }
.tab[aria-selected="true"] {
  background: linear-gradient(180deg, #2c2380, #1a1247); border-color: transparent; color: #fff;
  box-shadow: 0 8px 14px -8px rgba(52, 44, 160, .9);
}

.tray {
  display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 66px;
  gap: 2px 4px; padding: 2px 12px 10px;
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--lav-3) transparent;
}
.chip {
  position: relative; display: grid; justify-items: center; gap: 1px; padding: 6px 2px 4px;
  border: 0; border-radius: 16px; background: none; cursor: grab;
  touch-action: pan-x; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  transition: background .18s ease;
}
.chip .bead { width: 44px; height: 44px; transition: transform .22s var(--spring); }
.chip:hover { background: var(--lav); }
.chip:hover .bead { transform: scale(1.14) rotate(-6deg); }
.chip:active .bead { transform: scale(.9); }
.chip-price { font-size: .74rem; font-weight: 800; color: var(--ink-soft); line-height: 1.2; white-space: nowrap; }
.chip-left {
  position: absolute; top: 0; right: 0; padding: 1px 6px; border-radius: 999px;
  background: var(--yellow); color: var(--ink); font-size: .66rem; font-weight: 800; line-height: 1.3; white-space: nowrap;
  box-shadow: 0 1px 0 var(--yellow-d);
}
.chip.out { cursor: not-allowed; }
.chip.out .bead { filter: grayscale(1); opacity: .4; }
.chip.out:hover { background: none; }
.chip.out:hover .bead, .chip.out:active .bead { transform: none; }
.chip.out .chip-price { color: #a3122f; }
.tray-hint { display: none; }
.tray-empty { grid-row: 1 / -1; padding: 18px 8px; color: var(--ink-soft); font-weight: 700; white-space: nowrap; }

.buybar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: #fff;
}
/* quanto do fio já está preenchido */
.meter { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--lav-2); overflow: hidden; }
.meter span {
  display: block; height: 100%; width: calc(var(--p, 0) * 100%); border-radius: 0 4px 4px 0;
  background: linear-gradient(90deg, #22d3ee, #2b6cff, #7c3aed);
  transition: width .4s var(--ease), background .3s ease;
}
.meter.is-done span { background: linear-gradient(90deg, #35d389, #159a52); border-radius: 0; }
.buybar-total { display: flex; flex-direction: column; line-height: 1.1; }
.buybar-total small { font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.buybar-total strong { font-family: var(--font-d); font-weight: 800; font-size: 1.55rem; color: var(--ink); letter-spacing: -.01em; }
#add-cart { flex: 1; max-width: 300px; padding-inline: .9em; }
#add-cart:not(.is-ready) { --bg: #cfd4f5; --bg-2: #dfe3fa; --edge: #a9b0e6; --fg: var(--ink); --glow: transparent; }

body.dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }
body.dragging * { cursor: grabbing !important; }
body[data-view="builder"] .footer { display: none; }

.drag-ghost {
  position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; will-change: transform;
}
.drag-ghost.landing { transition: transform .18s ease-out; }
.drag-ghost .bead { width: 100%; height: 100%; transform: scale(1.22) rotate(-8deg); transition: transform .15s ease, opacity .15s ease, filter .15s ease; }
.drag-ghost .bead-svg, .drag-ghost .bead-img { filter: drop-shadow(0 10px 8px rgba(30, 22, 92, .38)); }
.drag-ghost.nope .bead { filter: grayscale(1); opacity: .6; }
.drag-ghost.out .bead { transform: scale(.85) rotate(14deg); opacity: .55; }
.fly-ghost { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; }
.fly-ghost .bead { width: 100%; height: 100%; }

/* ---------- sacolinha ---------- */

.cart-layout { display: grid; gap: 18px; align-items: start; }
.cart-list { display: grid; gap: 14px; }
.cart-item {
  display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; box-shadow: var(--sh-2);
}
.cart-item .mini-ring { grid-row: span 2; background: radial-gradient(circle, #fff 30%, var(--lav) 100%); border-radius: 20px; }
.cart-info h2 { font-size: 1.3rem; font-weight: 800; color: var(--ink); overflow-wrap: anywhere; }
.cart-info p { color: var(--ink-soft); font-weight: 700; font-size: .93rem; }
.cart-price { font-family: var(--font-d); font-weight: 800; font-size: 1.45rem; color: var(--ink); letter-spacing: -.01em; }
.cart-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.cart-btns { display: flex; gap: 8px; }
.mini-btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 4px 14px; border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  background: var(--lav); color: var(--purple); font-family: var(--font-d); font-weight: 700; font-size: .95rem; text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.mini-btn .ico-wrap { width: 1.05em; height: 1.05em; }
.mini-btn:hover { background: var(--lav-2); }
.mini-btn.danger { color: #b01c3a; background: var(--danger-soft); }
.mini-btn.danger:hover { background: #ffd9e1; }
.cart-warn { grid-column: 1 / -1; background: var(--yellow-soft); border: 1px solid #f1dc8f; border-radius: 14px; padding: 9px 13px; font-weight: 700; font-size: .95rem; }

.mini-ring { position: relative; flex: none; }
.mini-cord { position: absolute; inset: 0; width: 100%; height: 100%; }
.mini-cord .cord-line { stroke: var(--lav-3); stroke-width: 2; stroke-linecap: round; }
.mini-ring .bead-svg { filter: drop-shadow(0 1px 1px rgba(30, 22, 92, .25)); }

.cart-foot { display: grid; gap: 14px; padding: clamp(18px, 3vw, 24px); }
.cart-actions { display: grid; gap: 14px; margin-top: 4px; }
.total-line {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-top: 12px; border-top: 2px dashed var(--lav-2);
  font-family: var(--font-d); font-weight: 700; font-size: 1.15rem; color: var(--ink-soft);
}
.total-line strong { font-size: 1.85rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.total-line.big { min-width: min(100%, 320px); padding: 12px 20px; border: 0; border-radius: 18px; background: var(--lav); }

.empty { text-align: center; display: grid; justify-items: center; gap: 10px; padding: 34px 10px 20px; }
.empty-art {
  width: 116px; height: 116px; display: grid; place-items: center; margin-bottom: 6px;
  border-radius: 50%; color: var(--grape); font-size: 3.1rem; line-height: 1;
  background: radial-gradient(circle at 34% 28%, #fff 0 34%, var(--lav-2) 100%);
  box-shadow: var(--sh-2), inset 0 0 0 1px var(--line);
  animation: float 5s ease-in-out infinite;
}
.empty h2 { font-size: 1.55rem; font-weight: 800; }
.empty p { font-size: 1.08rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 10px; }

/* ---------- formulário ---------- */

.adult-banner {
  display: flex; align-items: center; gap: 14px;
  background: var(--yellow-soft); border: 1px solid #f1dc8f; border-radius: var(--r-lg);
  padding: 14px 18px; margin-bottom: 18px;
}
.adult-ico {
  width: 46px; height: 46px; padding: 10px; border-radius: 50%; color: var(--ink);
  background: linear-gradient(180deg, #ffe070, #ffcb2a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 8px 14px -8px rgba(223, 164, 0, .9);
}
.adult-banner strong { font-family: var(--font-d); font-size: 1.22rem; font-weight: 800; line-height: 1.2; }
.adult-banner p { font-size: .98rem; font-weight: 600; color: #5a4a2a; }

.form { display: grid; gap: 18px; align-items: start; }
.checkout-fields, .checkout-side { display: grid; gap: 16px; padding: clamp(18px, 3vw, 28px); min-width: 0; }
.field-row { display: grid; gap: 16px; align-items: end; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend { font-family: var(--font-d); font-weight: 700; font-size: 1.06rem; padding: 0; }
.opt { font-family: var(--font-b); font-weight: 600; font-size: .9rem; color: var(--ink-soft); }
input[type="text"], input[type="tel"], input[type="email"], textarea {
  width: 100%; padding: 13px 15px; font-size: 1.05rem; font-weight: 600;
  background: #f9faff; border: 1.5px solid var(--lav-2); border-radius: 15px;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 64px; }
input:hover, textarea:hover { border-color: var(--lav-3); }
input:focus, textarea:focus { outline: none; border-color: var(--grape); background: #fff; box-shadow: 0 0 0 4px rgba(92, 70, 235, .16); }
input::placeholder, textarea::placeholder { color: #8a8db8; font-weight: 500; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); background: #fff5f7; }

.choices { display: grid; gap: 10px; }
.choice {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 12px;
  padding: 13px 15px; border: 1.5px solid var(--lav-2); border-radius: 18px; cursor: pointer; background: #fff;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.choice:hover { border-color: var(--lav-3); }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); box-shadow: 0 0 0 3px var(--brand-soft); }
.choice input { width: 22px; height: 22px; accent-color: var(--brand); margin: 0; }
.choice-title { font-family: var(--font-d); font-weight: 700; font-size: 1.1rem; }
.choice-price { font-family: var(--font-d); font-weight: 800; color: var(--purple); }
.choice-info { grid-column: 2 / -1; font-family: var(--font-b); font-size: .92rem; color: var(--ink-soft); font-weight: 600; }
#checkout-submit { font-size: 1.2rem; padding-inline: 1em; }

.summary { display: grid; gap: 8px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.summary-row span:first-child { overflow-wrap: anywhere; color: var(--ink-soft); }
.summary-row span:last-child { white-space: nowrap; }
.summary-row.total { border-top: 2px dashed var(--lav-2); padding-top: 12px; margin-top: 4px; align-items: baseline; font-family: var(--font-d); font-size: 1.5rem; font-weight: 800; }
.summary-row.total span:first-child { color: var(--ink-soft); font-size: 1.15rem; font-weight: 700; }
.form-error { background: var(--danger-soft); color: #a3122f; font-weight: 800; padding: 10px 14px; border-radius: 14px; }
.privacy { display: flex; gap: 8px; align-items: flex-start; font-size: .86rem; font-weight: 600; color: var(--ink-soft); }
.privacy .ico-wrap { color: var(--green); margin-top: 1px; }

/* ---------- pedido feito / acompanhar ---------- */

.done-card { width: 100%; display: grid; justify-items: center; gap: 14px; padding: clamp(26px, 5vw, 44px) clamp(18px, 4vw, 40px); }
.done-card h1 { margin: 0; }
.done-art {
  width: 92px; height: 92px; display: grid; place-items: center; border-radius: 50%; color: #fff;
  background: linear-gradient(180deg, #35d389, #159a52);
  box-shadow: 0 0 0 10px var(--green-soft), 0 18px 26px -12px rgba(21, 154, 82, .8);
  animation: pop .6s cubic-bezier(.3, 1.8, .5, 1) both;
}
.done-art .ico-wrap { width: 50px; height: 50px; }
.done-art .ico { stroke-width: 3; }
.code-box {
  font-family: var(--font-d); font-weight: 800; font-size: clamp(1.5rem, 6.4vw, 2rem); letter-spacing: .06em; line-height: 1.2;
  color: var(--purple); background: var(--brand-tint); border: 2px dashed #a9c4ff; border-radius: 16px; padding: 4px 16px;
  user-select: all; -webkit-user-select: all;
}
.next-box { width: min(100%, 460px); background: var(--cyan-soft); border: 1px solid #bfeaf8; border-radius: var(--r-md); padding: 16px; display: grid; gap: 8px; }
.next-box h2 { font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.next-box p { font-weight: 600; }
.copy-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; }
.copy-row code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1rem; background: #fff; border: 1px solid var(--line); padding: 8px 12px; border-radius: 12px; overflow-wrap: anywhere; }

.track-form { display: grid; gap: 8px; padding: 18px; }
.track-form label { font-family: var(--font-d); font-weight: 700; font-size: 1.06rem; }
.track-row { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.track-row input { flex: 1 1 180px; text-transform: uppercase; font-weight: 800; letter-spacing: .06em; }
.track-row input::placeholder { letter-spacing: .04em; }
.track-recent { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 16px 0; font-weight: 700; color: var(--ink-soft); }
.track-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 26px); box-shadow: var(--sh-2); display: grid; gap: 18px; margin-top: 8px; }
.track-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 14px; }
.track-head h2 { font-size: 1.7rem; font-weight: 800; color: var(--purple); letter-spacing: .03em; }
.track-head span { color: var(--ink-soft); font-weight: 700; font-size: .95rem; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.timeline li { position: relative; display: grid; justify-items: center; align-content: start; gap: 7px; text-align: center; font-size: clamp(.6rem, 2.5vw, .82rem); font-weight: 800; color: var(--ink-soft); line-height: 1.15; }
.timeline li::before { content: ""; position: absolute; top: clamp(16px, 5vw, 20px); left: -50%; width: 100%; height: 4px; background: var(--lav-2); z-index: 0; }
.timeline li:first-child::before { display: none; }
.timeline li.reached::before { background: linear-gradient(90deg, #7c3aed, #2b6cff); }
.tl-dot {
  position: relative; z-index: 1; width: clamp(36px, 10vw, 44px); height: clamp(36px, 10vw, 44px); display: grid; place-items: center; font-size: 1.2rem;
  border-radius: 50%; background: var(--lav); color: #9aa0d4; box-shadow: inset 0 0 0 2px var(--lav-2);
}
.tl-dot .ico-wrap { width: 22px; height: 22px; }
.timeline li.reached { color: var(--ink); }
.timeline li.reached .tl-dot { background: linear-gradient(180deg, #4b8bff, #1f5cf0); color: #fff; box-shadow: 0 8px 14px -8px rgba(43, 108, 255, .9); }
.timeline li.current .tl-dot { box-shadow: 0 0 0 5px var(--brand-soft), 0 8px 14px -8px rgba(43, 108, 255, .9); animation: pulse 1.8s ease-in-out infinite; }
.track-cancel { background: var(--danger-soft); color: #a3122f; font-weight: 800; padding: 12px 14px; border-radius: 14px; text-align: center; }
.track-items { display: grid; gap: 12px; }
.track-item { display: flex; align-items: center; gap: 14px; background: #f9faff; border: 1px solid var(--line); border-radius: 18px; padding: 10px 14px; }
.track-item h3 { font-size: 1.15rem; font-weight: 800; overflow-wrap: anywhere; }
.track-item p { font-weight: 700; color: var(--ink-soft); font-size: .93rem; }
.track-card > .btn { justify-self: center; }

/* ---------- janelinhas ---------- */

.sheet {
  width: min(100%, 500px); max-width: 100%; max-height: 92dvh;
  margin: auto auto 0; padding: 0; border: 0; border-radius: 30px 30px 0 0;
  background: #fff; color: var(--ink); overflow: auto;
  box-shadow: 0 -20px 60px rgba(23, 16, 63, .35);
}
.sheet[open] { animation: sheet-in .32s var(--ease); }
.sheet::backdrop { background: rgba(23, 16, 63, .48); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.sheet-body { display: grid; gap: 14px; padding: 12px 20px calc(22px + env(safe-area-inset-bottom)); }
.sheet-body::before { content: ""; justify-self: center; width: 46px; height: 5px; border-radius: 99px; background: var(--lav-2); }
.sheet h2 { font-size: 1.6rem; font-weight: 800; color: var(--ink); text-align: center; letter-spacing: -.01em; }
.sheet-tip { text-align: center; color: var(--ink-soft); font-weight: 600; font-size: .98rem; }
.sheet-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; margin-top: 4px; }
.confirm-text { font-family: var(--font-d); font-weight: 700; font-size: 1.3rem; text-align: center; text-wrap: balance; padding-top: 4px; }

.product-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 10px; }
.product-opt, .size-opt {
  position: relative; display: grid; justify-items: center; gap: 3px; padding: 11px 5px 9px;
  border: 1.5px solid var(--lav-2); border-radius: 20px; background: #fff; cursor: pointer;
  font-family: var(--font-d); color: var(--ink);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .16s var(--ease);
}
.product-opt:hover, .size-opt:hover { border-color: var(--lav-3); background: #f9faff; }
.product-opt:active, .size-opt:active { transform: scale(.97); }
.product-opt[aria-checked="true"], .size-opt[aria-checked="true"] { border-color: var(--grape); background: var(--lav); box-shadow: 0 0 0 3px rgba(92, 70, 235, .18); }
.size-opt[aria-checked="true"] { border-color: var(--brand); background: var(--brand-tint); box-shadow: 0 0 0 3px var(--brand-soft); }
/* selinho de "escolhido" */
.product-opt[aria-checked="true"]::after, .size-opt[aria-checked="true"]::after {
  content: ""; position: absolute; top: -7px; right: -7px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--grape) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 15px no-repeat;
  box-shadow: 0 0 0 2.5px #fff; animation: pop .3s var(--spring) both;
}
.size-opt[aria-checked="true"]::after { background-color: var(--brand); }
.product-opt .mini-ring { pointer-events: none; }
.product-name { font-weight: 800; font-size: 1.06rem; line-height: 1.1; text-wrap: balance; }
.product-group { grid-column: 1 / -1; margin: 4px 0 -4px; font-family: var(--font-b); font-weight: 800; font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); }
.sheet-label { font-family: var(--font-d); font-weight: 700; font-size: 1.1rem; margin-bottom: -6px; }
.size-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 10px; }
.size-opt { padding: 13px 6px 11px; gap: 2px; }
.size-name { font-weight: 800; font-size: 1.15rem; line-height: 1.1; }
.size-cm { font-weight: 700; color: var(--ink-soft); font-size: .95rem; }
.size-price { font-family: var(--font-b); font-weight: 800; font-size: .8rem; color: var(--purple); }

.name-preview { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; min-height: 46px; }
.name-preview .bead { width: 40px; height: 40px; animation: pop .3s cubic-bezier(.3, 1.7, .5, 1) both; }
.name-preview .miss { width: 40px; height: 40px; display: grid; place-items: center; border: 2px dashed var(--lav-3); border-radius: 12px; font-weight: 800; color: var(--ink-soft); }
#name-input { text-align: center; text-transform: uppercase; font-family: var(--font-d); font-weight: 800; font-size: 1.6rem; letter-spacing: .12em; }

/* ---------- avisos ---------- */

.toasts {
  position: fixed; left: 0; right: 0; top: calc(var(--topbar-h) + 12px); z-index: 300;
  display: grid; justify-items: center; gap: 8px; padding: 0 14px; pointer-events: none;
}
.toast {
  max-width: 440px; padding: 11px 20px; border-radius: 20px;
  background: rgba(23, 16, 63, .96); color: #fff; font-weight: 800; text-align: center;
  box-shadow: 0 18px 30px -14px rgba(23, 16, 63, .8);
  animation: toast-in .34s var(--spring) both;
}
.toast.out { animation: toast-out .25s ease forwards; }
.toast.warn { background: #fff8dc; color: var(--ink); box-shadow: inset 0 0 0 1.5px #efd36a, 0 18px 30px -14px rgba(52, 44, 160, .6); }

#confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 400; pointer-events: none; }

.loading { display: grid; place-items: center; gap: 12px; padding: 60px 20px; font-family: var(--font-d); font-weight: 700; font-size: 1.2rem; text-align: center; }
.spinner { display: flex; gap: 8px; }
.spinner .bead { width: 28px; height: 28px; animation: bounce .9s ease-in-out infinite; }
.spinner .bead:nth-child(2) { animation-delay: .12s; }
.spinner .bead:nth-child(3) { animation-delay: .24s; }

/* ---------- rodapé ---------- */

.footer {
  padding: 34px var(--gutter) calc(22px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #221766, #140d3d); color: #fff;
}
.footer-in {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
}
.footer-name { font-family: var(--font-d); font-weight: 800; font-size: 1.6rem; line-height: 1.1; }
.footer-small { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: .96rem; font-weight: 600; color: #cfd4ff; }
.footer-small .ico-wrap { color: #ffc928; }
.footer-small .ico { fill: currentColor; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.footer-links a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  color: #fff; font-weight: 800; font-size: .96rem; text-decoration: none;
  transition: background .2s ease, transform .16s var(--ease);
}
.footer-links a:hover { background: rgba(255, 255, 255, .2); transform: translateY(-1px); }
.footer-credit {
  max-width: var(--maxw); margin: 22px auto 0; padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  text-align: center; font-size: .9rem; font-weight: 600; color: #cfd4ff;
}
.footer-credit a { color: #fff; font-weight: 800; text-underline-offset: 3px; }
.footer-credit a:hover { color: var(--yellow); }

@media (max-width: 599px) {
  .product-card:last-child:nth-child(odd) {
    grid-column: 1 / -1; grid-template-columns: 42% 1fr; column-gap: 16px;
    justify-items: start; align-content: center; text-align: left; padding-bottom: 12px;
  }
  .product-card:last-child:nth-child(odd) .product-art { grid-row: 1 / span 4; margin: 0; }
  .product-card:last-child:nth-child(odd) strong { align-self: end; }
}

/* ---------- telas maiores ---------- */

@media (min-width: 600px) {
  .showcase-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .only-wide { display: inline; }
  .only-narrow { display: none; }
  .cart-btn { padding: 0 16px; }
  .cart-txt { display: inline; }
  .cart-badge { position: static; box-shadow: none; }
  .flow { font-size: .95rem; gap: 8px; }
  .flow li { gap: 8px; }
  .flow-n { width: 28px; height: 28px; font-size: .9rem; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .sheet { margin: auto; border-radius: 30px; }
  .sheet-body { padding: 26px 26px 26px; }
  .sheet-body::before { display: none; }
  .sheet-sm { width: min(100%, 400px); }
  .toasts { top: auto; bottom: 28px; }
  .footer-in { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer-links { justify-content: flex-end; }
}

@media (min-width: 760px) {
  .topnav { display: flex; margin-right: 8px; }
  .nav-mini { display: none; }
  .steps-list { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .step { grid-template-columns: 1fr; gap: 6px; padding: 26px 24px 26px; align-content: start; }
  .step-n { grid-row: auto; margin-bottom: 10px; }
  .step p { grid-column: auto; }
  .step h3 { font-size: 1.4rem; }
}

@media (min-width: 900px) {
  :root { --topbar-h: 76px; }

  .showcase-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .product-card { padding: 14px 14px 20px; }

  .builder {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 16px 24px; padding: 20px var(--gutter) 24px; min-height: 580px;
    width: 100%; max-width: 1380px; margin: 0 auto;
  }
  .stage-col {
    grid-row: 1 / -1; gap: 10px; padding: 18px;
    background: rgba(255, 255, 255, .58); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-1);
  }
  .builder-top { justify-content: flex-start; }
  .stage-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; container-type: normal; }
  .stage { width: min(100%, calc(100dvh - var(--topbar-h) - 212px)); max-width: 640px; min-width: 300px; }
  .ring-price { font-size: clamp(2rem, 4.6vw, 3.4rem); }
  .ring-status { font-size: clamp(1rem, 2vw, 1.4rem); }
  .stage[data-layout="strand"] .ring-price { font-size: clamp(1.6rem, 3vw, 2.4rem); }
  .stage[data-layout="strand"] .ring-status { font-size: clamp(.95rem, 1.5vw, 1.2rem); }
  .tools { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; pointer-events: auto; }
  .tool { position: static; width: auto; height: 46px; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px 0 14px; border-radius: 999px; font-size: 1.02rem; box-shadow: var(--sh-1); }
  .tool:active { transform: scale(.97); }
  .tool-txt { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .tool-ico { width: 20px; height: 20px; }

  .tray-col {
    border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-2);
    padding: 16px 10px 10px; display: flex; flex-direction: column; min-height: 0;
  }
  .tabs { flex-wrap: wrap; overflow: visible; padding-bottom: 12px; }
  .tray {
    flex: 1; min-height: 0; align-content: start;
    grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); grid-auto-columns: auto;
    overflow-x: hidden; overflow-y: auto; gap: 6px; padding: 4px 10px 10px;
  }
  .chip { touch-action: pan-y; padding: 9px 2px 6px; }
  .chip .bead { width: 52px; height: 52px; }
  .chip-price { font-size: .8rem; }
  .tray-hint { display: block; padding: 10px 12px 2px; font-size: .9rem; font-weight: 700; color: var(--ink-soft); text-align: center; border-top: 1px solid var(--line); }
  .tray-empty { grid-row: auto; grid-column: 1 / -1; white-space: normal; }

  .buybar { overflow: hidden; padding: 16px 16px 14px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2); }
  .buybar-total strong { font-size: 1.9rem; }

  .cart-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
  .cart-foot, .checkout-side { position: sticky; top: calc(var(--topbar-h) + 22px); }
  .cart-item { padding: 16px; gap: 8px 20px; }
  .form { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; }
}

@media (max-height: 620px) and (max-width: 899px) {
  .tray { grid-template-rows: auto; }
  .tool { width: 44px; height: 44px; }
}

/* ---------- animações ---------- */

@keyframes view-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes float { 50% { transform: translateY(-10px) rotate(-1deg); } }
@keyframes bob { 50% { transform: translateY(-16px) rotate(14deg); } }
@keyframes wiggle { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-3deg) scale(1.04); } 93% { transform: rotate(3deg) scale(1.04); } 97% { transform: rotate(-2deg); } }
@keyframes shine { 0%, 62% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pop { from { transform: scale(0); } }
@keyframes bye { to { transform: scale(0) rotate(60deg); opacity: 0; } }
@keyframes bump { 40% { transform: scale(1.18); } }
@keyframes shake { 20%, 60% { transform: translateX(-9px); } 40%, 80% { transform: translateX(9px); } }
@keyframes party { 20% { transform: rotate(-7deg) scale(1.05); } 45% { transform: rotate(6deg) scale(1.07); } 70% { transform: rotate(-3deg) scale(1.03); } }
@keyframes cord-march { to { stroke-dashoffset: -14; } }
@keyframes pulse { 50% { transform: scale(1.1); } }
@keyframes bounce { 50% { transform: translateY(-10px); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(-12px) scale(.9); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px); } }
@keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
  .js-reveal .reveal { opacity: 1; translate: none; }
}

/* ==========================================================
   PulseirasPlay: entrega (Correios), finalizar compra e Pix
   ========================================================== */

.link.small { font-size: .9rem; justify-self: start; }
.field-hint { font-size: .86rem; font-weight: 600; color: var(--ink-soft); }
input[readonly] { background: var(--lav); color: var(--ink-soft); cursor: default; }
input[readonly]:hover { border-color: var(--lav-2); }

/* ---------- "Chega até você" ---------- */
.perks-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.perk {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--sh-1);
}
.perk-ico { grid-row: span 2; width: 54px; height: 54px; padding: 13px; border-radius: 18px; color: #fff; background: linear-gradient(160deg, #4b8bff, #1f5cf0); box-shadow: 0 10px 16px -8px rgba(43, 108, 255, .8); }
.perk:nth-child(2) .perk-ico { background: linear-gradient(160deg, #ffb347, #ff7a1a); box-shadow: 0 10px 16px -8px rgba(255, 138, 31, .8); }
.perk:nth-child(3) .perk-ico { background: linear-gradient(160deg, #3fe0c5, #12a594); box-shadow: 0 10px 16px -8px rgba(18, 165, 148, .8); }
.perk h3 { font-size: 1.25rem; font-weight: 800; color: var(--ink); align-self: end; }
.perk p { grid-column: 2; color: var(--ink-soft); font-weight: 600; align-self: start; }
.perk:nth-child(2) { --rd: 90ms; }
.perk:nth-child(3) { --rd: 180ms; }

/* ---------- frete: CEP e opções ---------- */
.ship-calc { display: grid; gap: 8px; padding: 14px; border-radius: 18px; background: var(--lav); border: 1px solid var(--line); }
.ship-calc > label { font-family: var(--font-d); font-weight: 700; font-size: 1.04rem; }
.ship-calc.no-cep > label, .ship-calc.no-cep .cep-row, .ship-calc.no-cep .cep-msg { display: none; }
.cep-row { display: flex; gap: 8px; align-items: stretch; margin: 0; }
.cep-row input { flex: 1 1 0; min-width: 0; max-width: 190px; font-weight: 800; letter-spacing: .04em; }
.ship-calc .cep-row input { background: #fff; max-width: none; }
.cep-row .btn { flex: none; min-height: 48px; }
.cep-msg { min-height: 1.3em; font-size: .92rem; font-weight: 700; color: var(--ink-soft); overflow-wrap: anywhere; }
.cep-msg:empty { min-height: 0; }
.cep-msg.ok { color: var(--green-d); }
.cep-msg.bad { color: #a3122f; }
.choice-price { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.choice-price s { font-family: var(--font-b); font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.choice-hint { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1.5px dashed var(--lav-3); color: var(--ink-soft); font-weight: 700; font-size: .93rem; }
.choice-hint .ico-wrap { color: var(--brand); }
.choice-note { display: flex; gap: 7px; align-items: flex-start; font-size: .84rem; font-weight: 600; color: var(--ink-soft); }
.choice-note .ico-wrap { margin-top: 1px; }
.choices.compact { gap: 8px; }
.choices.compact:empty { display: none; }
.choices.compact .choice { padding: 10px 12px; border-radius: 15px; gap: 2px 10px; }
.choices.compact .choice-title { font-size: 1rem; }
.choices.compact .choice-info { font-size: .84rem; }
.choices.compact .choice input { width: 20px; height: 20px; }
.free-ship { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 14px; background: var(--yellow-soft); border: 1px solid #f1dc8f; font-weight: 800; font-size: .93rem; }
.free-ship.won { background: var(--green-soft); border-color: #a7e3c2; color: var(--green-d); }
.summary-row.sub { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 2px; }
.summary-row.pending span:last-child { font-weight: 700; color: var(--ink-soft); font-size: .92rem; }
.pay-line { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: .9rem; font-weight: 800; color: var(--ink-soft); }
.pay-line .ico-wrap { color: #12a594; }

/* ---------- finalizar ---------- */
.checkout-main { display: grid; gap: 18px; min-width: 0; }
.co-title { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 800; color: var(--ink); }
.co-n { width: 30px; height: 30px; display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--ink); color: #fff; font-size: 1rem; line-height: 1; }
.address { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; animation: view-in .3s var(--ease) both; }
.address .span-2 { grid-column: 1 / -1; }
.pay-option { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; border: 1.5px solid #9fe3d6; background: #eafaf6; }
.pay-ico { width: 46px; height: 46px; padding: 10px; flex: none; border-radius: 14px; color: #fff; background: linear-gradient(160deg, #3fe0c5, #12a594); }
.pay-option strong { font-family: var(--font-d); font-size: 1.2rem; font-weight: 800; }
.pay-option p { font-size: .95rem; font-weight: 600; color: var(--ink-soft); }

/* ---------- pedido feito: pagar com Pix ---------- */
.done-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: 100%; }
.done-meta > div { display: grid; justify-items: center; gap: 4px; padding: 12px 18px; border-radius: 18px; background: var(--lav); flex: 1 1 180px; max-width: 280px; }
.done-meta small { font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); }
.done-total { font-family: var(--font-d); font-weight: 800; font-size: clamp(1.7rem, 7vw, 2.1rem); line-height: 1.2; color: var(--ink); letter-spacing: -.01em; }
#done-pay, .done-delivery { width: 100%; display: grid; justify-items: center; }
#done-pay:empty { display: none; }

.pix-box { width: min(100%, 560px); display: grid; gap: 14px; padding: clamp(16px, 3vw, 22px); text-align: left; border-radius: var(--r-lg); border: 1.5px solid #9fe3d6; background: linear-gradient(180deg, #f0fcf9, #fff 60%); }
.pix-box h2 { display: flex; align-items: center; gap: 9px; font-size: 1.4rem; font-weight: 800; color: var(--ink); }
.pix-box h2 .ico-wrap { color: #12a594; width: 1.2em; height: 1.2em; }
.pix-grid { display: grid; gap: 14px; justify-items: center; }
.pix-qr { display: block; width: 230px; max-width: 100%; height: auto; aspect-ratio: 1; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); image-rendering: pixelated; }
.pix-steps { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; font-weight: 600; color: var(--ink); }
.pix-steps li::marker { font-family: var(--font-d); font-weight: 800; color: #12a594; }
.pix-copy { display: grid; gap: 10px; }
.pix-code { width: 100%; min-height: 0; padding: 10px 12px; resize: none; field-sizing: content; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .82rem; font-weight: 500; line-height: 1.35; word-break: break-all; color: var(--ink-soft); background: #fff; border: 1.5px dashed #9fe3d6; border-radius: 14px; }
.pix-who { font-size: .92rem; font-weight: 600; color: var(--ink-soft); overflow-wrap: anywhere; }
.pix-who strong { color: var(--ink); }

.delivery-line { display: flex; gap: 10px; align-items: flex-start; text-align: left; width: min(100%, 560px); padding: 12px 14px; border-radius: 16px; background: var(--lav); font-weight: 600; color: var(--ink-soft); }
.delivery-line .ico-wrap { color: var(--brand); margin-top: 2px; }
.delivery-line strong { color: var(--ink); }
.track-card .delivery-line, .track-card .pix-box { width: 100%; }
.track-note { padding: 10px 14px; border-radius: 14px; background: var(--yellow-soft); border: 1px solid #f1dc8f; font-weight: 700; }
.tracking { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; padding: 12px 14px; border-radius: 16px; background: var(--brand-tint); border: 1.5px solid var(--brand-soft); }
.tracking small { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); }
.tracking code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.15rem; font-weight: 700; letter-spacing: .04em; color: var(--ink); overflow-wrap: anywhere; }
.tracking-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.tracking .mini-btn { background: #fff; border-color: var(--line); }

/* ---------- rodapé ---------- */
.footer-pay { max-width: var(--maxw); margin: 20px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: .9rem; font-weight: 800; color: #cfd4ff; }
.footer-pay > span { display: inline-flex; align-items: center; gap: 7px; }
.footer-credit { margin-top: 16px; }

@media (min-width: 600px) {
  .pix-grid { grid-template-columns: 210px minmax(0, 1fr); justify-items: start; align-items: center; gap: 20px; }
}
@media (min-width: 760px) {
  .perks-list { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .perk { grid-template-columns: 1fr; gap: 6px; padding: 24px; align-content: start; }
  .perk-ico { grid-row: auto; margin-bottom: 8px; }
  .perk p { grid-column: auto; }
  .perks-list:has(> .perk[hidden]) { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .hero-in { gap: 22px; }
  .hero-art { width: min(100%, 780px); }
}
@media (max-width: 340px) {
  .address { grid-template-columns: minmax(0, 1fr); }
  .address .span-2 { grid-column: auto; }
}
