@font-face { font-family: "MITWA Display"; src: url("../fonts/InterDisplay-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "MITWA Display"; src: url("../fonts/InterDisplay-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "MITWA Light"; src: url("../fonts/Inter-Light.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "MITWA Medium"; src: url("../fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
/* fontes da estampa (desenhadas no canvas) */
@font-face { font-family: "MITWA Lato Black"; src: url("../fonts/Lato-Black.woff2") format("woff2"); font-weight: 900; font-display: block; }
@font-face { font-family: "MITWA Lato"; src: url("../fonts/Lato-Regular.woff2") format("woff2"); font-weight: 400; font-display: block; }
@font-face { font-family: "MITWA Roboto"; src: url("../fonts/Roboto-Regular.woff2") format("woff2"); font-weight: 400; font-display: block; }

/* Paleta da identidade MITWA */
:root {
  --black: #000000;
  --panel: #0f0f0f;
  --white: #fffcfc;
  --blue: #3f28fe;
  --blue-soft: rgba(63, 40, 254, 0.16);
  --red: #fc0301;
  --muted: rgba(255, 252, 252, 0.62);
  --faint: rgba(255, 252, 252, 0.12);
  --line: rgba(255, 252, 252, 0.22);
  --radius: 16px;
  --pad: clamp(18px, 5vw, 48px);
  --display: "MITWA Display", "Inter", system-ui, sans-serif;
  --medium: "MITWA Medium", "Inter", system-ui, sans-serif;
  --light: "MITWA Light", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: var(--white);
  font: 400 15px/1.55 var(--light);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 84px;
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
button, input { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }

/* ---------- fita ---------- */
.ribbon {
  overflow: hidden; white-space: nowrap; height: 32px; display: flex; align-items: center;
  background: radial-gradient(60% 260% at 30% 50%, rgba(252,3,1,0.55), transparent 60%),
              radial-gradient(60% 260% at 75% 50%, rgba(63,40,254,0.9), transparent 65%), #050505;
}
.ribbon-track { display: flex; width: max-content; }
.ribbon-track.on { animation: marquee var(--dur, 40s) linear infinite; }
.ribbon-group { display: flex; flex: none; align-items: center; gap: 28px; padding-right: 28px; }
.ribbon-group span { flex: none; font: 500 10.5px/1 var(--medium); letter-spacing: 0.28em; }
.ribbon-group img { flex: none; height: 12px; width: auto; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ribbon-track { animation: none; } }

/* ---------- topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--pad);
  background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--faint);
}
.brand img { height: 22px; width: auto; }
.tag { font: 500 10.5px/1 var(--medium); letter-spacing: 0.24em; text-transform: uppercase; padding: 9px 14px; border-radius: 99px; background: var(--blue); text-decoration: none; white-space: nowrap; }

.thanks { margin: 0; padding: 14px var(--pad); background: var(--blue); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.thanks .link { color: var(--white); margin-left: auto; }

/* ---------- produto ---------- */
.product { max-width: 1240px; margin: 0 auto; }
:root { --topbar: 47px; --gal: min(100vw, 46svh); }
@media (min-width: 900px) {
  .product { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; padding: 32px var(--pad) 64px; align-items: start; }
  .gallery { position: sticky; top: 76px; }
}
/* celular: o mockup fica preso no topo enquanto a pessoa troca as opções */
@media (max-width: 899px) {
  .gallery { position: sticky; top: var(--topbar); z-index: 15; background: #e2e2e2; box-shadow: 0 10px 24px rgba(0,0,0,.35); }
  .gallery .stage { width: var(--gal); height: var(--gal); margin: 0 auto; transition: width .25s, height .25s; }
  body.typing { --gal: min(100vw, 26svh); }
  .gallery .caption { display: none; }
  .block, .options { scroll-margin-top: calc(var(--gal) + var(--topbar) + 12px); }
}

.stage { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; }
@media (min-width: 900px) { .stage { border-radius: var(--radius); } }
.stage canvas { width: 100%; height: 100%; display: block; }
.badge {
  position: absolute; left: 12px; top: 12px; padding: 7px 11px; border-radius: 99px;
  background: var(--blue); color: var(--white); font: 500 11px/1 var(--medium); letter-spacing: 0.06em;
}
.badge.mine { background: #000; }
.busy { position: absolute; right: 14px; top: 14px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.busy.on { opacity: 1; }
.busy span { display: block; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(0,0,0,0.15); border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.views { position: absolute; right: 10px; bottom: 10px; display: flex; padding: 3px; border-radius: 99px; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); }
.views button {
  padding: 8px 12px; border-radius: 99px; border: 0; background: none; cursor: pointer;
  font: 500 10.5px/1 var(--medium); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.7);
}
.views button[aria-selected="true"] { background: var(--white); color: var(--black); }
.caption { margin: 10px var(--pad) 0; font-size: 12px; color: var(--muted); text-align: center; }
@media (min-width: 900px) { .caption { margin: 10px 0 0; } }

/* ---------- compra ---------- */
.buy { padding: 20px var(--pad) 40px; }
@media (min-width: 900px) { .buy { padding: 0; } }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 500 11px/1 var(--medium); letter-spacing: 0.28em; text-transform: uppercase; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
h1 { margin: 0; font: 700 clamp(28px, 8vw, 52px)/1.04 var(--display); letter-spacing: -0.03em; }
h1 em { display: block; }
@media (max-width: 899px) { h1 em { display: inline; } .eyebrow { display: none; } }
h1 em { font-style: normal; color: var(--blue); }
.price { margin: 10px 0 18px; color: var(--muted); font-size: 14px; min-height: 26px; }
.price b { color: var(--white); font: 700 24px/1 var(--display); margin-right: 6px; }
.error-box { padding: 16px; border-radius: 12px; border: 1px solid var(--red); color: var(--white); background: rgba(252,3,1,0.08); }

.opt { margin-bottom: 20px; }
.opt-head { display: flex; gap: 10px; align-items: baseline; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.opt-head b { color: var(--white); font: 500 13px/1 var(--medium); }
.opt-head .push { margin-left: auto; }

.options { padding-bottom: 6px; }
.opt { margin-bottom: 16px; }
.seg.seg-models { grid-template-columns: repeat(3, 1fr); }
.seg-models button { display: grid; gap: 3px; padding: 11px 4px; min-width: 0; }
.seg-models b { font: 700 15px/1.1 var(--display); }
.seg-models small { font-size: 11px; line-height: 1.25; color: inherit; opacity: .7; }
@media (max-width: 899px) { .seg-models small { display: none; } .seg-models b { font-size: 14px; } }
#verPecas { color: var(--blue); text-decoration: none; font-weight: 500; }
.block { padding-top: 22px; margin-top: 8px; border-top: 1px solid var(--faint); }
.block h2 { margin: 0 0 14px; font: 700 20px/1.2 var(--display); letter-spacing: -0.01em; }



.howto { margin: 0 0 18px; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }
.howto b { color: var(--white); font-family: var(--medium); font-weight: 500; }
.drop {
  display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--radius); cursor: pointer;
  border: 1.5px dashed var(--blue); background: var(--blue-soft); transition: background .2s;
}
.drop:hover, .drop.over { background: rgba(63, 40, 254, 0.26); }
.drop-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue); font-size: 20px; }
.drop b { display: block; font: 500 16px/1.3 var(--medium); }
.drop small { color: var(--muted); font-size: 12.5px; }
.note { margin: 14px 0 6px; font-size: 13px; color: var(--muted); }
.center { display: block; text-align: center; margin-left: auto; margin-right: auto; }
.link { background: none; border: 0; padding: 0; cursor: pointer; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }
.link:hover { color: var(--white); }
.link.small { font-size: 12.5px; }

/* estampas */
.tpls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 899px) { .tpl { padding: 9px 4px; gap: 6px; } .tpl small { display: none; } .tpl b { font-size: 12px; } .tpl-ico { transform: scale(.85); } }
.tpl { display: grid; justify-items: center; gap: 8px; padding: 12px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; text-align: center; }
.tpl[aria-checked="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.tpl b { display: block; font: 500 12.5px/1.2 var(--medium); }
.tpl small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.tpl-ico { position: relative; display: block; width: 62px; height: 40px; border-radius: 4px; background: #000; border: 1px solid var(--line); }
.tpl-ico i, .tpl-ico s { position: absolute; display: block; text-decoration: none; }
.tpl-ico i { background: linear-gradient(135deg, #c98b6a, #4c58a8); }
.tpl-ico s { background: var(--white); opacity: .85; height: 2px; }
.ico-capa_player i { left: 5px; top: 7px; width: 22px; height: 22px; }
.ico-capa_player s:nth-of-type(1) { left: 31px; width: 18px; top: 9px; height: 4px; }
.ico-capa_player s:nth-of-type(2) { left: 31px; width: 24px; top: 20px; height: 3px; opacity: .5; }
.ico-capa_player s:nth-of-type(3) { left: 5px; right: 5px; top: 33px; }
.ico-so_player i { display: none; }
.ico-so_player s:nth-of-type(1) { left: 6px; width: 26px; top: 8px; height: 5px; }
.ico-so_player s:nth-of-type(2) { left: 6px; right: 6px; top: 19px; }
.ico-so_player s:nth-of-type(3) { left: 16px; right: 16px; top: 28px; height: 4px; opacity: .5; }
.tpl-ico.ico-capa_grande { width: 34px; height: 44px; }
.ico-capa_grande i { left: 4px; right: 4px; top: 4px; height: 20px; }
.ico-capa_grande s:nth-of-type(1) { left: 4px; width: 16px; top: 27px; height: 3px; }
.ico-capa_grande s:nth-of-type(2) { left: 4px; right: 4px; top: 33px; }
.ico-capa_grande s:nth-of-type(3) { left: 9px; right: 9px; top: 38px; height: 2px; opacity: .5; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg button { padding: 12px 0; border-radius: 10px; border: 1px solid var(--line); background: none; cursor: pointer; font: 500 14px/1 var(--medium); color: var(--white); }
.seg button[aria-checked="true"] { background: var(--white); color: var(--black); border-color: var(--white); }
.seg button[disabled] { opacity: .35; cursor: not-allowed; }


.crop { margin-bottom: 14px; padding: 14px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--faint); }
.crop-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 13px; }
.crop-head small { color: var(--muted); }
.crop-frame { position: relative; width: min(100%, 340px); margin: 0 auto; background: #000; outline: 2px solid var(--white); outline-offset: 0; overflow: hidden; }
.crop-frame canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.crop-frame canvas.dragging { cursor: grabbing; }
.range { display: flex; align-items: center; gap: 12px; margin-top: 10px; color: var(--muted); }
input[type="range"] { flex: 1; width: 100%; accent-color: var(--blue); height: 28px; }
.status.loading::before { content: ""; display: inline-block; vertical-align: -2px; margin-right: 8px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--faint); border-top-color: var(--blue); animation: spin .8s linear infinite; }
.fields { display: grid; gap: 12px; padding: 16px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--faint); }
.field { display: grid; gap: 6px; }
.field span { font-size: 12px; color: var(--muted); }
.field input { width: 100%; padding: 14px; border-radius: 10px; border: 1px solid var(--line); background: #050505; font-size: 16px; outline: none; }
.field input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.status { margin: 0; font-size: 12.5px; color: var(--muted); }
.fields .link { justify-self: start; }

.step-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin: 18px 0 12px; }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 46px; height: 46px; border-radius: 50%; padding: 4px; border: 1.5px solid transparent; background: none; cursor: pointer; }
.swatch i { display: block; width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); }
.swatch[aria-checked="true"] { border-color: var(--white); }
.swatch[disabled] { opacity: .3; cursor: not-allowed; }
.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.sizes button { padding: 14px 0; border-radius: 10px; border: 1px solid var(--line); background: none; cursor: pointer; font: 500 14px/1 var(--medium); }
.sizes button[aria-checked="true"] { background: var(--white); color: var(--black); border-color: var(--white); }
.sizes button[disabled] { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

.summary { display: flex; gap: 14px; align-items: center; padding: 12px; margin: 18px 0 14px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--faint); }
.summary canvas { width: 64px; height: 64px; border-radius: 10px; flex: none; }
.summary > div { flex: 1; min-width: 0; }
.summary b { display: block; font: 700 16px/1.2 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.summary span { display: block; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.summary small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.summary strong { font: 700 17px/1 var(--display); white-space: nowrap; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 12px 22px; border-radius: 12px; cursor: pointer; border: 1px solid transparent;
  font: 500 15px/1.2 var(--medium); letter-spacing: 0.02em; transition: transform .12s, background .2s, opacity .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: #5440ff; }
.btn-line { background: none; border-color: var(--line); color: var(--white); }
.btn-line:hover { border-color: var(--white); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-pay { width: 100%; min-height: 58px; font-size: 16px; }

/* ---------- banner ---------- */
.banner { position: relative; margin: 0 auto; max-width: 1240px; overflow: hidden; }
@media (min-width: 900px) { .banner { padding: 0 var(--pad); } .banner img { border-radius: var(--radius); } }
.banner img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.banner-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px var(--pad); }
.banner-copy p { margin: 0; text-align: center; font: 500 11px/1 var(--medium); letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.85; }

/* ---------- detalhes / faq ---------- */
.details, .faq { max-width: 1240px; margin: 0 auto; padding: 48px var(--pad) 8px; }
.section-title { margin: 0 0 22px; font: 700 24px/1.1 var(--display); letter-spacing: -0.02em; }
.detail-grid { display: grid; gap: 12px; }
@media (min-width: 760px) { .detail-grid { grid-template-columns: repeat(3, 1fr); } }
.detail-grid article { padding: 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--faint); }
.num { font: 500 12px/1 var(--medium); color: var(--blue); letter-spacing: 0.1em; }
.detail-grid h3 { margin: 12px 0 6px; font: 700 17px/1.25 var(--display); }
.detail-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.desc { margin-top: 18px; color: var(--muted); font-size: 14px; max-width: 760px; }
.desc p { margin: 0 0 10px; }
.faq { padding-bottom: 40px; }
.faq details { border-bottom: 1px solid var(--faint); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative; font: 500 15px/1.35 var(--medium); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 16px; font-size: 20px; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }

.foot { display: grid; justify-items: center; gap: 12px; padding: 40px var(--pad) 48px; border-top: 1px solid var(--faint); }
.foot img { height: 28px; width: auto; }
.foot p { margin: 0; font: 500 10.5px/1 var(--medium); letter-spacing: 0.3em; color: var(--muted); }
.policies { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 12px; color: var(--muted); }

/* ---------- tabela de medidas ---------- */
.sheet { border: 1px solid var(--line); border-radius: var(--radius); background: #0b0b0b; color: var(--white); padding: 22px; width: min(92vw, 420px); }
.sheet::backdrop { background: rgba(0,0,0,.6); }
.sheet h3 { margin: 0 0 14px; font: 700 18px/1.2 var(--display); }
.sheet small { color: var(--muted); font-weight: 400; }
.sheet table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 14px; }
.sheet th, .sheet td { padding: 9px 6px; border-bottom: 1px solid var(--faint); text-align: center; }
.sheet thead th { color: var(--muted); font-weight: 500; }
.sheet .btn { width: 100%; }

/* ---------- barra fixa (celular) ---------- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 10px var(--pad) max(10px, env(safe-area-inset-bottom));
  background: rgba(0,0,0,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--faint);
  transition: transform .25s ease;
}
.sticky.hide { transform: translateY(110%); }
.sticky .btn { width: 100%; }
@media (min-width: 900px) { .sticky { display: none; } }

.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 16px); z-index: 50;
  background: var(--white); color: var(--black); padding: 12px 18px; border-radius: 16px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) { .toast { bottom: 32px; } }

/* ---------- topo: voltar para a loja ---------- */
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; }
.topbar .brand { justify-self: center; }
.topbar .tag { justify-self: end; }
.back { justify-self: start; display: inline-flex; align-items: center; gap: 6px; color: var(--white); text-decoration: none; font: 500 13px/1 var(--medium); padding: 9px 12px 9px 8px; border-radius: 99px; border: 1px solid var(--line); white-space: nowrap; }
.back:hover { border-color: var(--white); }
@media (max-width: 520px) { .hide-sm { display: none; } .tag { padding: 9px 11px; letter-spacing: .16em; } }

/* ---------- cartão do que foi lido ---------- */
.lido { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--faint); }
.lido canvas { width: 64px; height: 64px; border-radius: 8px; flex: none; }
.lido-txt { min-width: 0; }
.lido-txt b { display: block; font: 700 17px/1.2 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lido-txt span { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lido-txt small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
#editBox > .status { margin: 10px 2px 0; }
.lido-acoes { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0 4px; }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 14px; }
#personalizar { flex-direction: column; gap: 3px; align-items: flex-start; text-align: left; }
.btn-sm small { font: 400 11.5px/1 var(--light); opacity: .65; }
#personalizar { background: var(--blue); border-color: var(--blue); color: #fff; }
#personalizar:hover { filter: brightness(1.12); }
#personalizar.on { background: transparent; border-color: var(--blue); }
#detalhes { margin-top: 12px; animation: rise .25s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
#pronto { margin-top: 4px; }

/* ---------- selos de confiança ---------- */
.selos { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); }
.selos li::before { content: "✓"; color: var(--blue); font-weight: 700; margin-right: 8px; }
.selos li b { color: var(--white); font-weight: 500; }

/* ---------- confirmação ---------- */
.confirm { width: min(94vw, 460px); max-height: 92svh; overflow: auto; }
.confirm h3 { font-size: 20px; }
.confirm-top { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: start; margin-bottom: 14px; }
.confirm-top canvas { width: 120px; height: 120px; border-radius: 10px; background: #fff; }
.confirm-lista { display: grid; grid-template-columns: auto 1fr; gap: 5px 10px; margin: 0; font-size: 13.5px; }
.confirm-lista dt { color: var(--muted); }
.confirm-lista dd { margin: 0; overflow-wrap: anywhere; }
.aviso { padding: 12px 14px; border-radius: 12px; background: rgba(252,3,1,.08); border: 1px solid rgba(252,3,1,.45); font-size: 13.5px; line-height: 1.5; margin-bottom: 16px; }
.aviso .link { display: inline-block; margin-top: 6px; color: var(--white); }
.confirm-acoes { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
@media (max-width: 420px) { .confirm-acoes { grid-template-columns: 1fr; } .confirm-acoes .btn-primary { order: -1; } .confirm-top { grid-template-columns: 96px 1fr; } .confirm-top canvas { width: 96px; height: 96px; } }
.stage { background: #e4e4e4; }

/* ---------- detalhes das peças ---------- */
.pc-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 14px; background: var(--panel); border: 1px solid var(--faint); margin-bottom: 16px; }
.pc-tabs button { padding: 12px 4px; border: 0; border-radius: 10px; background: none; color: var(--muted); font: 500 14px/1 var(--medium); cursor: pointer; }
.pc-tabs button[aria-selected="true"] { background: var(--blue); color: #fff; }
.pc { padding: 22px 18px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--faint); animation: rise .25s ease; }
.pc-kicker { margin: 0 0 6px; font: 500 11px/1 var(--medium); letter-spacing: .22em; text-transform: uppercase; color: var(--blue); }
.pc h3 { margin: 0 0 10px; font: 700 24px/1.1 var(--display); letter-spacing: -0.02em; }
.pc-lead { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 720px; }
.pc-specs { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 760px) { .pc-specs { grid-template-columns: repeat(4, 1fr); } .pc { padding: 30px; } }
.pc-specs li { padding: 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--faint); display: grid; gap: 4px; }
.pc-specs b { font: 700 16px/1.15 var(--display); }
.pc-specs span { font-size: 12.5px; color: var(--muted); }
.pc-aviso { margin: 0 0 20px; padding: 14px 16px; border-radius: 12px; background: var(--blue-soft); border-left: 3px solid var(--blue); font-size: 14px; line-height: 1.5; }
.pc h4 { margin: 0 0 10px; font: 700 16px/1.2 var(--display); }
.pc-table { overflow-x: auto; }
.pc-table table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: center; }
.pc-table th, .pc-table td { padding: 9px 6px; border-bottom: 1px solid var(--faint); }
.pc-table thead th { font: 500 12px/1.2 var(--medium); color: var(--muted); }
.pc-table tbody th { font-weight: 700; }
.pc-nota { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.pc-medidas { margin: 14px 0 28px; }
#pecas { scroll-margin-top: 70px; }
.howto-t { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.howto-t b { color: var(--white); font-weight: 500; }
.formatos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; }
.fmt { margin: 0; padding: 12px; border-radius: 14px; background: var(--panel); border: 1px solid var(--faint); display: grid; gap: 10px; align-content: start; }
.fmt figcaption { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.fmt figcaption b { display: block; margin-bottom: 2px; color: var(--white); font: 500 13.5px/1.25 var(--medium); }
.fmt figcaption em { font-style: normal; color: var(--white); }
.fmt-tela { position: relative; width: 62px; height: 110px; margin: 0 auto; border-radius: 10px; border: 2px solid rgba(255,255,255,.25); background: linear-gradient(#4b5d8c, #2b3248); overflow: hidden; }
.fmt-tela i { position: absolute; display: block; border-radius: 2px; background: rgba(255,255,255,.85); }
.fmt-player .f-capa { left: 7px; right: 7px; top: 14px; height: 44px; background: linear-gradient(135deg, #c98c6c, #6f6fd6); }
.fmt-player .f-l1 { left: 7px; top: 64px; width: 30px; height: 5px; }
.fmt-player .f-l2 { left: 7px; top: 72px; width: 20px; height: 3px; opacity: .6; }
.fmt-player .f-bar { left: 7px; right: 7px; top: 82px; height: 2px; opacity: .5; }
.fmt-player .f-play { left: 24px; top: 89px; width: 12px; height: 12px; border-radius: 50%; }
.fmt-card { background: #1c1c1c; }
.fmt-card span { position: absolute; left: 12px; right: 12px; top: 20px; height: 66px; border-radius: 6px; background: #000; }
.fmt-card .f-capa { left: 7px; right: 7px; top: 6px; height: 30px; background: linear-gradient(135deg, #ddd, #888); }
.fmt-card .f-l1 { left: 7px; top: 41px; width: 26px; height: 5px; }
.fmt-card .f-l2 { left: 7px; top: 50px; width: 18px; height: 3px; opacity: .6; }
/* botões camiseta/estampa no canto superior direito; carregando vai para baixo */
.views { top: 10px; bottom: auto; }
.busy { top: auto; bottom: 14px; }
/* formato vídeo: dois prints */
.fmt-pair { display: flex; justify-content: center; gap: 6px; }
.fmt-pair .fmt-tela { margin: 0; width: 50px; height: 92px; }
.fmt-video { background: #111; }
.fmt-video .f-vid { left: 0; right: 0; top: 0; height: 58px; border-radius: 0; background: linear-gradient(160deg, #3a3f6b, #0d0d14); }
.fmt-video .f-thumb { left: 5px; top: 62px; width: 9px; height: 9px; background: linear-gradient(135deg, #c98c6c, #6f6fd6); box-shadow: 0 0 0 2px var(--blue); }
.fmt-video .f-l1 { left: 17px; top: 63px; width: 22px; height: 4px; }
.fmt-video .f-bar { left: 5px; right: 5px; top: 77px; height: 2px; opacity: .5; }
.fmt-capa { background: #0b0b0b; }
.fmt-capa .f-capa { left: 4px; right: 4px; top: 25px; height: 40px; background: linear-gradient(135deg, #c98c6c, #6f6fd6); }
.capa-box { display: flex; gap: 14px; align-items: center; margin: 12px 0 4px; padding: 14px; border-radius: 14px; border: 1px dashed var(--blue); background: var(--blue-soft); }
.capa-box b { font: 500 15px/1.2 var(--medium); }
.capa-box p { margin: 4px 0 10px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.fmt-mini { flex: none; margin: 0; width: 46px; height: 82px; }
.fmt-mini .f-capa { top: 10px; height: 34px; left: 5px; right: 5px; }
.fmt-mini .f-l1 { top: 49px; left: 5px; width: 22px; } .fmt-mini .f-l2 { top: 56px; left: 5px; }
.fmt-mini .f-bar { top: 63px; left: 5px; right: 5px; } .fmt-mini .f-play { top: 68px; left: 17px; width: 9px; height: 9px; }
.capa-box { display: block; }
#capaDica { display: block; width: 100%; height: auto; margin: 2px 0 12px; border-radius: 10px; background: #000; }
.capa-nota { display: block; margin-top: 8px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.capa-box.pisca { animation: pisca .6s ease 2; }
@keyframes pisca { 50% { border-color: #fff; background: rgba(63,40,254,.35); } }

/* ---------- celular: mockup ocupa a largura toda ---------- */
@media (max-width: 899px) {
  :root { --gal: min(100vw, 52svh); }
  .gallery .stage { width: 100%; height: var(--gal); }
  .stage canvas { object-fit: cover; }
  .badge, .views { top: 10px; }
  .views button { padding: 7px 10px; font-size: 10px; }
}
/* barra fixa: fundo sólido até a borda da tela (Safari com barra flutuante) */
.sticky { background: #000; }
.sticky::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 200px; background: #000; }

/* ---------- sacola ---------- */
.sacola-btn { border: 0; cursor: pointer; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.sacola-btn span { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: #fff; color: var(--blue); font: 700 11px/20px var(--medium); letter-spacing: 0; text-align: center; }
.sacola-btn.pulo { animation: pulo .45s ease; }
@keyframes pulo { 40% { transform: scale(1.15); } }
.btn-add { width: 100%; margin-top: 10px; }
.si-lista { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; max-height: 46vh; overflow: auto; }
.si { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--faint); }
.si img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; background: #ddd; }
.si-txt { min-width: 0; display: grid; gap: 2px; }
.si-txt b { font: 500 14px/1.2 var(--medium); }
.si-txt span { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.si-txt small, .si-dir small { font-size: 11.5px; color: var(--muted); }
.si-dir { display: grid; justify-items: end; gap: 6px; }
.si-dir strong { font: 700 14px/1 var(--display); }
.qtd { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; }
.qtd button { width: 28px; height: 28px; border: 0; background: none; color: var(--white); font-size: 16px; cursor: pointer; }
.qtd span { min-width: 18px; text-align: center; font-size: 13px; }
.si-vazia { padding: 18px; text-align: center; color: var(--muted); }
.confirm-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.confirm-total b { color: var(--white); font: 700 18px/1 var(--display); }
.sacola-nota { margin: 0 0 14px; font-size: 12.5px; color: var(--muted); }
.capa-box p { margin: 4px 0 10px; }
.passo { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 4px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 11px/1 var(--medium); vertical-align: 1px; }
.capa-alt { padding-top: 10px; border-top: 1px solid rgba(255,255,255,.12); }
.capa-alt b:not(.passo) { color: var(--white); font-weight: 500; }
.ico-share { display: inline-block; padding: 0 5px; border: 1px solid var(--line); border-radius: 5px; font-size: 12px; color: var(--white); }
.si-ph { width: 64px; height: 64px; border-radius: 8px; background: #2a2a2a; }

/* ---------- WhatsApp ---------- */
.wa-ajuda { display: flex; gap: 12px; align-items: center; margin: 18px 0 4px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(37,211,102,.45); background: rgba(37,211,102,.08); color: var(--white); text-decoration: none; }
.wa-ajuda svg { flex: none; width: 30px; height: 30px; color: #25d366; }
.wa-ajuda span { font-size: 13px; line-height: 1.4; color: var(--muted); }
.wa-ajuda b { display: block; color: var(--white); font: 500 14px/1.3 var(--medium); }
.wa-flutuante { position: fixed; right: 16px; bottom: 20px; z-index: 29; display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 14px; border-radius: 99px; background: #25d366; color: #fff; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.35); font: 500 14px/1 var(--medium); }
.wa-flutuante svg { width: 26px; height: 26px; }
@media (max-width: 899px) {
  .wa-flutuante { bottom: calc(86px + env(safe-area-inset-bottom)); width: 50px; height: 50px; padding: 0; justify-content: center; }
  .wa-flutuante .wa-txt { display: none; }
}
@media (max-width: 899px) { body.sem-sticky .wa-flutuante { bottom: calc(20px + env(safe-area-inset-bottom)); } .wa-flutuante { transition: bottom .25s ease; } }
.sacola-btn { padding: 8px 12px; gap: 7px; }
.sacola-btn .ico-cart { width: 20px; height: 20px; }
.chk { display: flex; gap: 12px; align-items: flex-start; margin-top: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; }
.chk[hidden] { display: none; }
.chk input { position: absolute; opacity: 0; pointer-events: none; }
.chk-box { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; border: 2px solid var(--line); display: grid; place-items: center; }
.chk input:checked + .chk-box { background: var(--blue); border-color: var(--blue); }
.chk input:checked + .chk-box::after { content: "✓"; color: #fff; font-size: 14px; font-weight: 700; }
.chk input:focus-visible + .chk-box { outline: 2px solid #fff; outline-offset: 2px; }
.chk b { display: block; font: 500 14px/1.3 var(--medium); }
.chk small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
/* ordem: print da música → personalização → tamanho */
#musica { border-top: 0; padding-top: 4px; margin-top: 0; margin-bottom: 8px; }
.options { padding-top: 22px; border-top: 1px solid var(--faint); }
.opt-titulo { margin: 0 0 14px; font: 700 20px/1.2 var(--display); letter-spacing: -0.01em; }
#personalizar { width: 100%; align-items: center; text-align: center; }

/* ---------- ação comercial ---------- */
.pix { margin: -10px 0 12px; font-size: 13.5px; color: #3ddc84; }
.pix:empty { display: none; }
.promo { list-style: none; margin: 0 0 20px; padding: 12px 14px; display: grid; gap: 6px; border-radius: 12px; background: var(--blue-soft); border: 1px solid rgba(63,40,254,.45); font-size: 13.5px; color: var(--muted); }
.promo b { color: var(--white); font-weight: 500; }
.frete-meta { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: rgba(61,220,132,.1); border: 1px solid rgba(61,220,132,.35); font-size: 13.5px; color: var(--white); text-align: center; }
.frete-meta:empty { display: none; }
.frete-meta b { font-weight: 600; }
/* carrinho: chamada frete grátis */
.up { margin: 2px 0 14px; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, rgba(63,40,254,.28), rgba(63,40,254,.12)); border: 1px solid rgba(63,40,254,.6); }
.up[hidden] { display: none; }
.up.ok { background: rgba(61,220,132,.12); border-color: rgba(61,220,132,.5); }
.up-txt { font-size: 15px; line-height: 1.35; }
.up-txt b { font-weight: 700; }
.up-txt small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.up-barra { height: 8px; margin: 12px 0; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
.up-barra i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #3f28fe, #3ddc84); transition: width .4s ease; }
.up.ok .up-barra i { background: #3ddc84; }
.up-btn { width: 100%; }
.resumo { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.resumo dd { margin: 0; text-align: right; color: var(--white); }
.resumo .resumo-total { padding-top: 8px; border-top: 1px solid var(--faint); font: 700 17px/1.2 var(--display); color: var(--white); }
.gratis { color: #3ddc84; letter-spacing: .04em; }
.resumo { column-gap: 0; } .resumo dd { padding-left: 12px; }
.btn-add { margin-top: 0; }
.add-dica { margin: 8px 0 10px; text-align: center; font-size: 13px; color: var(--muted); }
.add-dica b { color: #3ddc84; font-weight: 600; }
.btn-pay { width: 100%; }
