@charset "UTF-8";
/* =========================================================
   TrocaVinil — estilos do tema
   Paleta inspirada em selos de gravadora dos anos 70.
   A parte final ("WordPress e WooCommerce") só existe no tema.
   ========================================================= */

:root {
  --paper: #F1F2F5;
  --paper-2: #E4E6EC;
  --ink: #16183A;
  --ink-soft: #4A4E6E;
  --cobalt: #2B45D3;
  --cobalt-dark: #1E33A6;
  --mustard: #F2B705;
  --rosa: #E5487E;
  --white: #FFFFFF;
  --vinyl: #121212;

  --wide: "Archivo", system-ui, sans-serif;
  --radius-s: 4px;
  --radius-m: 10px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--wide);
  font-size: 1rem;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 2px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: var(--radius-s);
}
.skip:focus { top: 8px; }

h1, h2, h3 { margin: 0; line-height: 1.1; }
h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.1rem;
  font-weight: 700;
  font-variation-settings: "wdth" 112;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-variation-settings: "wdth" 110;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .92rem; }
.btn--cobalt { background: var(--cobalt); color: var(--white); }
.btn--cobalt:hover { background: var(--cobalt-dark); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--cobalt); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }

/* ---------- Topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(241, 242, 245, .92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink);
}
.topbar__inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 68px;
}

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.logo__disc {
  width: 28px; height: 28px; border-radius: 50%;
  background:
    radial-gradient(circle, var(--ink) 0 2px, var(--mustard) 3px 8px, transparent 9px),
    repeating-radial-gradient(circle, #222 0 1px, var(--vinyl) 1px 3px);
}
.logo__word {
  font-weight: 900; font-size: 1.25rem;
  font-variation-settings: "wdth" 125;
  letter-spacing: -0.02em;
}
.logo--light { color: var(--white); }

.search {
  flex: 1; max-width: 420px;
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px; height: 42px;
  background: var(--white);
  border: 2px solid var(--ink); border-radius: 999px;
}
.search input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
}
.search:focus-within { outline: 3px solid var(--mustard); outline-offset: 2px; }

.nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; }
.nav a:not(.btn):hover { color: var(--cobalt); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: var(--mustard); }
.nav__wants {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0; font-weight: 600;
}
.nav__wants:hover { color: var(--rosa); }
.badge {
  display: inline-grid; place-items: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  background: var(--rosa); color: var(--white);
  border-radius: 999px; font-size: .78rem; font-weight: 800;
}
.badge[hidden] { display: none; }

.menu-btn {
  display: none;
  align-items: center; gap: 8px;
  margin-left: auto; height: 40px; padding: 0 14px;
  border: 2px solid var(--ink); border-radius: 999px; background: var(--white);
  font-weight: 700;
}
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  display: block; width: 16px; height: 2px; background: currentColor; position: relative;
}
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -5px; }
.menu-btn__bars::after { top: 5px; }
.menu-open .menu-btn__bars { background: transparent; }
.menu-open .menu-btn__bars::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-btn__bars::after { top: 0; transform: rotate(-45deg); }

@media (min-width: 1021px) {
  .search { max-width: 340px; }
}
@media (max-width: 1020px) {
  .topbar__inner { flex-wrap: wrap; gap: 10px 16px; padding-top: 10px; padding-bottom: 10px; }
  .menu-btn { display: inline-flex; }
  .search { order: 3; max-width: none; flex-basis: 100%; }
  .nav {
    order: 4; flex-basis: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    margin: 0 0 6px;
    border-top: 2px solid var(--ink);
  }
  .menu-open .nav { display: flex; }
  .nav > a:not(.btn), .nav__wants {
    padding: 14px 0; border-bottom: 1px solid var(--paper-2); font-size: 1.05rem;
  }
  .nav .btn { margin-top: 14px; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--cobalt);
  color: var(--white);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(48px, 8vw, 96px);
}
.hero__title {
  font-size: clamp(2.3rem, 5.4vw, 4.3rem);
  font-weight: 900;
  font-variation-settings: "wdth" 125;
  letter-spacing: -0.025em;
  line-height: 1.0;
  max-width: 14ch;
}
.hero__lead {
  margin: 24px 0 32px;
  font-size: 1.15rem;
  max-width: 52ch;
  color: #DCE1FF;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn--cobalt { background: var(--mustard); color: var(--ink); }
.hero .btn--cobalt:hover { background: var(--white); }
.hero .btn--ghost { border-color: var(--white); color: var(--white); }
.hero .btn--ghost:hover { background: var(--white); color: var(--cobalt); }

.hero__live { margin: 28px 0 0; font-size: .95rem; color: #DCE1FF; display: flex; align-items: center; gap: 8px; }
.hero__live strong { color: var(--white); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mustard); box-shadow: 0 0 0 4px rgba(242,183,5,.25); }

/* Palco: capa de LP + disco saindo + fita K7 */
.hero__stage {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  justify-content: center;
  align-items: end;
  min-height: 360px;
}
.stage-sleeve {
  position: relative;
  width: clamp(200px, 24vw, 290px);
  aspect-ratio: 1;
  grid-column: 1; grid-row: 1 / 3;
}
.stage-cover {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(var(--mustard) 0 0) 0 62% / 100% 12% no-repeat,
    var(--rosa);
  border-radius: 3px;
  box-shadow: 10px 12px 0 rgba(10, 14, 60, .35);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px; color: var(--ink);
}
.stage-cover__t {
  font-weight: 900; font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-variation-settings: "wdth" 125; line-height: .95;
}
.stage-cover__s { font-weight: 600; font-size: .85rem; margin-top: 6px; }
.stage-disc {
  position: absolute; z-index: 1;
  width: 94%; aspect-ratio: 1;
  top: 3%; left: 3%;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--paper) 0 3px, transparent 4px),
    radial-gradient(circle, var(--mustard) 0 17%, transparent 17.5%),
    repeating-radial-gradient(circle, #1d1d1d 0 1px, var(--vinyl) 1.5px 3px);
  animation: pullout 1.1s cubic-bezier(.2,.8,.2,1) .35s both;
}
.stage-disc span {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 30deg, transparent 0 40deg, rgba(255,255,255,.12) 55deg, transparent 70deg 220deg, rgba(255,255,255,.08) 235deg, transparent 250deg);
  animation: spin 6s linear 1.4s infinite;
}
@keyframes pullout { from { transform: translateX(0); } to { transform: translateX(46%); } }
@keyframes spin { to { transform: rotate(360deg); } }

.stage-swap {
  grid-column: 2; grid-row: 1;
  color: var(--mustard);
  justify-self: center;
  margin: 0 0 18px 60px;
}
.stage-tape {
  grid-column: 2; grid-row: 2;
  position: relative; z-index: 3;
  width: clamp(170px, 18vw, 220px);
  aspect-ratio: 1.6;
  margin-left: 30px;
  background: var(--ink);
  border-radius: 8px;
  padding: 10px;
  transform: rotate(-6deg);
  box-shadow: 8px 10px 0 rgba(10, 14, 60, .35);
  display: flex; flex-direction: column; gap: 8px;
}
.tape-label {
  background: var(--paper);
  border-radius: 3px;
  padding: 6px 8px;
  color: var(--ink);
  border-top: 6px solid var(--mustard);
}
.tape-label__t { display: block; font-weight: 800; font-size: .9rem; font-variation-settings: "wdth" 115; line-height: 1.1; }
.tape-label__s { display: block; font-size: .7rem; color: var(--ink-soft); }
.tape-window {
  flex: 1;
  background: #3A3D5C;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: space-around;
  padding: 0 10%;
}
.reel {
  width: 26%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--paper) 0 30%, #8B5E3C 32% 100%);
}

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__stage { min-height: 0; justify-content: start; padding-right: 60px; }
}
@media (max-width: 480px) {
  .stage-swap { margin-left: 10px; }
  .stage-tape { margin-left: 0; width: 140px; }
  .stage-sleeve { width: 170px; }
  .hero__stage { padding-right: 0; }
}

/* ---------- Acervo ---------- */
.catalog { padding: 72px 0 96px; }
.catalog__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.catalog__count { margin: 0; color: var(--ink-soft); }

.filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding-bottom: 24px; margin-bottom: 32px;
  border-bottom: 2px solid var(--ink);
}
.seg {
  display: inline-flex;
  border: 2px solid var(--ink); border-radius: 999px;
  padding: 3px; background: var(--white);
}
.seg button {
  border: 0; background: transparent;
  padding: 6px 16px; border-radius: 999px;
  font-weight: 600;
}
.seg button[aria-checked="true"] { background: var(--ink); color: var(--white); }
.seg--full { display: flex; }
.seg--full button { flex: 1; }

.select select {
  appearance: none;
  height: 44px; padding: 0 38px 0 16px;
  border: 2px solid var(--ink); border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2316183A' stroke-width='2'/%3E%3C/svg%3E") right 14px center no-repeat,
    var(--white);
  font-weight: 600;
}

/* O caixote: vinis quadrados e fitas retangulares lado a lado */
.crate {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 40px 28px;
  align-items: start;
}
@media (max-width: 520px) {
  .crate { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
}

.item { position: relative; }
.item__open {
  display: block; width: 100%;
  padding: 0; border: 0; background: none; text-align: left;
  text-decoration: none; color: inherit;
}
.item__open:focus-visible { outline-offset: 6px; }

/* Capa de vinil */
.sleeve {
  position: relative;
  aspect-ratio: 1;
  margin-right: 14%;
}
.sleeve__disc {
  position: absolute; top: 4%; left: 4%;
  width: 92%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle, var(--paper) 0 2px, transparent 3px),
    radial-gradient(circle, var(--c2) 0 17%, transparent 17.5%),
    repeating-radial-gradient(circle, #1f1f1f 0 1px, var(--vinyl) 1.5px 3px);
  transform: translateX(14%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.item__open:hover .sleeve__disc,
.item__open:focus-visible .sleeve__disc { transform: translateX(26%); }

.cover {
  position: absolute; inset: 0;
  border-radius: 2px;
  background: var(--c1);
  color: var(--fg);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 12px;
  box-shadow: 6px 6px 0 var(--ink);
}
.cover__title {
  position: relative;
  font-weight: 900; font-variation-settings: "wdth" 125;
  font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.cover__artist { position: relative; font-size: .78rem; font-weight: 600; margin-top: 4px; opacity: .85; }

/* Padrões das capas */
.cover::before { content: ""; position: absolute; inset: 0; }
.p-stripes::before { background: repeating-linear-gradient(-45deg, transparent 0 14px, var(--c2) 14px 22px); clip-path: inset(0 0 42% 0); }
.p-circle::before  { background: radial-gradient(circle at 70% 32%, var(--c2) 0 26%, transparent 26.5%); }
.p-split::before   { background: linear-gradient(var(--c2) 0 0) 0 0 / 100% 45% no-repeat; }
.p-bands::before   { background: repeating-linear-gradient(0deg, transparent 0 18px, var(--c2) 18px 24px); clip-path: inset(0 0 45% 0); }
.p-grid::before    { background:
    linear-gradient(90deg, var(--c2) 0 50%, transparent 50%) 0 0 / 50% 50%,
    linear-gradient(var(--c1), var(--c1)); clip-path: inset(0 0 40% 0); }
.p-sun::before     { background: radial-gradient(circle at 50% -8%, var(--c2) 0 38%, transparent 38.5%), repeating-conic-gradient(from 0deg at 50% -8%, transparent 0 6deg, rgba(255,255,255,.15) 6deg 12deg); clip-path: inset(0 0 40% 0); }

/* Fita K7 (encarte J-card) */
.tape {
  position: relative;
  aspect-ratio: 1.58;
  background: var(--ink);
  border-radius: 8px;
  padding: 8px;
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: 6px 6px 0 var(--c1);
  transition: transform .25s;
}
.item__open:hover .tape,
.item__open:focus-visible .tape { transform: rotate(-3deg); }
.tape__label {
  background: var(--paper);
  color: var(--ink);
  border-radius: 3px;
  border-top: 6px solid var(--c1);
  padding: 5px 8px;
}
.tape__label .cover__title,
.tape__label .cover__artist { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tape__label .cover__title { font-size: .95rem; font-variation-settings: "wdth" 115; }
.tape__label .cover__artist { font-size: .72rem; margin-top: 2px; }
.tape__window {
  flex: 1; min-height: 22px;
  background: #3A3D5C; border-radius: 999px;
  display: flex; align-items: center; justify-content: space-around; padding: 0 12%;
}
.tape__window span {
  height: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--paper) 0 28%, #8B5E3C 30%);
}

.item__meta {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 8px;
  margin-top: 16px;
}
.item__name { display: block; font-weight: 700; line-height: 1.25; text-decoration: none; }
.item__name:hover { color: var(--cobalt); }
.item__sub { font-size: .86rem; color: var(--ink-soft); }
.item__owner { font-size: .82rem; color: var(--ink-soft); margin-top: 6px; }
.item__owner a { color: var(--ink); text-decoration: none; font-weight: 600; }
.item__owner a:hover { color: var(--cobalt); text-decoration: underline; }

.want {
  position: absolute; top: -12px; left: -12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: var(--white); color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 0 0 2px var(--ink);
}
.want svg { width: 18px; height: 18px; }
.want[aria-pressed="true"] { background: var(--rosa); color: var(--white); box-shadow: 0 0 0 2px var(--rosa); }
.item__art { position: relative; }
/* a fita é mais baixa que a capa: recuo para alinhar as bases na grade */
.item--k7 .item__art { margin-top: 23%; }

.format-tag {
  display: inline-block; flex-shrink: 0;
  font-size: .72rem; font-weight: 800; font-variation-settings: "wdth" 110;
  padding: 2px 8px; border-radius: 999px;
  border: 1.5px solid currentColor;
}
.format-tag--vinil { color: var(--cobalt); }
.format-tag--k7 { color: var(--rosa); }

/* Graus de conservação */
.grade {
  display: inline-grid; place-items: center;
  min-width: 36px; height: 24px; padding: 0 6px;
  border-radius: var(--radius-s);
  font-size: .78rem; font-weight: 800; font-variation-settings: "wdth" 110;
  background: var(--paper-2); color: var(--ink);
}
.grade--M { background: var(--ink); color: var(--mustard); }
.grade--NM { background: var(--cobalt); color: var(--white); }
.grade--VGp { background: var(--mustard); color: var(--ink); }
.grade--VG { background: #F7D978; color: var(--ink); }
.grade--G { background: var(--paper-2); color: var(--ink-soft); }

.empty {
  text-align: center; max-width: 46ch; margin: 40px auto 0;
  padding: 40px 24px; border: 2px dashed var(--ink-soft); border-radius: var(--radius-m);
}
.empty__title { font-weight: 800; font-size: 1.2rem; margin: 0 0 6px; }

/* ---------- Como funciona ---------- */
.how {
  background: var(--mustard);
  padding: 80px 0;
}
.how__steps {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
  counter-reset: passo;
}
.how__steps li { counter-increment: passo; position: relative; padding-top: 72px; }
.how__steps li::before {
  content: counter(passo);
  position: absolute; top: 0; left: 0;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--mustard);
  font-weight: 900; font-size: 1.5rem; font-variation-settings: "wdth" 125;
}
.how__steps p { margin: 8px 0 0; max-width: 38ch; }

.how__plans {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  margin-top: 56px; padding-top: 32px;
  border-top: 2px solid var(--ink);
}
.how__plans p { margin: 0; max-width: 60ch; font-size: 1.05rem; }

@media (max-width: 760px) {
  .how__steps { grid-template-columns: 1fr; }
}

/* ---------- Rodapé ---------- */
.footer { background: var(--ink); color: #C9CCE0; padding: 48px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--mustard); }
.footer__note { margin: 0 0 0 auto; font-size: .9rem; }
@media (max-width: 760px) { .footer__note { margin-left: 0; } }

/* =========================================================
   Peças compartilhadas
   ========================================================= */
.muted { color: var(--ink-soft); }
.small { font-size: .88rem; }
.text-link { color: var(--cobalt); font-weight: 600; text-underline-offset: 3px; }
.text-link:hover { color: var(--cobalt-dark); }
.section-lead { margin: 6px 0 28px; color: var(--ink-soft); font-size: 1.05rem; }
.note { margin: 0; padding: 12px 16px; background: var(--white); border-left: 4px solid var(--cobalt); }

.btn--block { width: 100%; }
.btn--mustard { background: var(--mustard); color: var(--ink); }
.btn--mustard:hover { background: var(--white); }

.link-btn {
  background: none; border: 0; padding: 0;
  color: var(--ink-soft); font-size: .9rem; font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--ink); }
.link-btn--danger:hover { color: #B3174E; }

.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--ink); color: var(--mustard); font-weight: 800;
  font-variation-settings: "wdth" 115;
}
.avatar--sm { width: 32px; height: 32px; font-size: .8rem; }
.avatar--xl { width: 112px; height: 112px; font-size: 2.4rem; box-shadow: 6px 6px 0 var(--mustard); }

.pill {
  display: inline-block; vertical-align: middle;
  padding: 2px 10px; border-radius: 999px;
  background: var(--cobalt); color: var(--white);
  font-size: .76rem; font-weight: 700; white-space: nowrap;
}
.pill--box { background: var(--mustard); color: var(--ink); }

.chip {
  display: inline-block; white-space: nowrap;
  padding: 3px 10px; border-radius: var(--radius-s);
  font-size: .8rem; font-weight: 700;
  background: var(--paper-2); color: var(--ink);
}
.chip--disponivel { background: #D7EEDF; color: #1D5E3A; }
.chip--em-troca, .chip--contraproposta { background: #FCE9A6; color: #5E4700; }
.chip--pausado, .chip--recusada { background: var(--paper-2); color: var(--ink-soft); }
.chip--aguardando { background: #DCE1FF; color: var(--cobalt-dark); }

.stars { color: var(--mustard); letter-spacing: 1px; -webkit-text-stroke: .5px #B48700; }
.stars__off { color: var(--paper-2); -webkit-text-stroke: 0; }

.callout { background: var(--white); border-radius: var(--radius-m); padding: 14px 16px; margin: 0 0 24px; }
.callout p { margin: 4px 0 0; }

.swatch { width: 36px; height: 36px; flex-shrink: 0; border-radius: 2px; background: var(--c1); box-shadow: inset -12px 0 0 var(--c2); }
.swatch--k7 { height: 24px; border-radius: 4px; background: var(--ink); box-shadow: inset 0 5px 0 var(--c1); }

.empty--left { text-align: left; margin: 0; max-width: none; }
.empty--page { margin: 40px auto; }

/* ---------- Modais ---------- */
.modal, .drawer {
  border: 0; padding: 0; color: var(--ink);
  background: var(--paper);
}
.modal {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  border-radius: var(--radius-m);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
}
.modal::backdrop, .drawer::backdrop { background: rgba(22, 24, 58, .55); }
.modal[open] { animation: rise .22s ease-out; }
@keyframes rise { from { transform: translateY(12px); opacity: 0; } }

.modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--white);
  font-size: 1.4rem; line-height: 1;
}
.modal__close:hover { background: var(--ink); color: var(--white); }

/* ---------- Formulários ---------- */
.form-stack { padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.form-stack h2 { padding-right: 44px; font-size: 1.6rem; }
.form-stack__lead { margin: -8px 0 0; color: var(--ink-soft); }
.form-stack fieldset { border: 0; padding: 0; margin: 0; }
.form-stack legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.form-stack__actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.form-stack__actions--start { justify-content: flex-start; }
.form-stack__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.form-stack--wide { padding: 0; max-width: 680px; }

.field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.field > span { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 10px 14px; border-radius: var(--radius-s);
  border: 2px solid var(--ink); background: var(--white);
}
.field input[readonly] { background: var(--paper-2); color: var(--ink-soft); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--mustard); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--rosa); }
.field-hint { color: var(--ink-soft); font-size: .84rem; }
.field-row { display: flex; gap: 14px; }
.field--cep { flex: 0 0 150px; }
.field-error { margin: 0; color: #B3174E; font-weight: 600; font-size: .9rem; }
.field-error[hidden] { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--cobalt); flex-shrink: 0; }
.fieldset { border: 2px solid var(--paper-2); border-radius: var(--radius-m); padding: 18px; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.fieldset legend { font-weight: 700; padding: 0 6px; }
.fieldset p { margin: -6px 0 0; }
@media (max-width: 560px) {
  .field-row { flex-direction: column; }
  .field--cep { flex-basis: auto; }
}

.offer-list { display: flex; flex-direction: column; gap: 8px; }
.offer {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--radius-s);
  border: 2px solid var(--paper-2); background: var(--white);
  cursor: pointer;
}
.offer:has(input:checked) { border-color: var(--cobalt); }
.offer input { width: 20px; height: 20px; accent-color: var(--cobalt); flex-shrink: 0; }
.offer__text { flex: 1; line-height: 1.3; min-width: 0; }
.offer__text small { display: block; color: var(--ink-soft); }

/* ---------- Gaveta "Quero" ---------- */
.drawer {
  margin: 0 0 0 auto; height: 100vh; max-height: 100vh;
  width: min(400px, 100vw);
  border-left: 2px solid var(--ink);
}
.drawer[open] { animation: slidein .25s ease-out; }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 16px; border-bottom: 2px solid var(--ink); }
.drawer__head h2 { font-size: 1.3rem; }
.drawer__head .modal__close { position: static; }
.wants { list-style: none; margin: 0; padding: 8px 20px; }
.wants li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--paper-2); }
.wants__link { flex: 1; min-width: 0; line-height: 1.3; text-decoration: none; }
.wants__link small { display: block; color: var(--ink-soft); }
.wants__link:hover strong { color: var(--cobalt); }
.wants__empty { padding: 20px; color: var(--ink-soft); }
.wants__empty[hidden] { display: none; }
.wants--page { padding: 0; max-width: 680px; }

/* ---------- Aviso ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--white);
  padding: 14px 20px; border-radius: 999px;
  font-weight: 600; max-width: calc(100vw - 32px);
  width: max-content;
  transition: opacity .2s, transform .2s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 560px) { .toast { border-radius: var(--radius-m); } }

/* ---------- Cabeçalho de página interna ---------- */
.pagehead { padding: 56px 0 40px; border-bottom: 2px solid var(--ink); }
.pagehead h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900;
  font-variation-settings: "wdth" 125; letter-spacing: -0.025em; line-height: 1;
  max-width: 18ch;
}
.pagehead__lead { margin: 18px 0 0; font-size: 1.15rem; max-width: 56ch; color: var(--ink-soft); }
.pagehead--cobalt { background: var(--cobalt); color: var(--white); border-bottom: 0; padding-bottom: 120px; }
.pagehead--cobalt .pagehead__lead { color: #DCE1FF; }
.pagehead .seg { margin-top: 28px; }
.seg--on-dark { background: transparent; border-color: var(--white); }
.seg--on-dark button { color: var(--white); }
.seg--on-dark button[aria-checked="true"] { background: var(--white); color: var(--cobalt); }

/* =========================================================
   Planos
   ========================================================= */
.plans { margin-top: -80px; padding-bottom: 72px; }
.plans__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  align-items: start;
}
.plan {
  position: relative;
  background: var(--white);
  border: 2px solid var(--ink); border-radius: var(--radius-m);
  padding: 28px 24px 24px;
  display: flex; flex-direction: column;
}
.plan--featured {
  background: var(--ink); color: var(--white);
  box-shadow: 10px 10px 0 var(--mustard);
}
.plan__flag {
  position: absolute; top: -14px; right: 20px; margin: 0;
  background: var(--mustard); color: var(--ink);
  padding: 4px 12px; border-radius: 999px;
  font-size: .82rem; font-weight: 800;
}
.plan__icon { height: 76px; display: flex; align-items: flex-end; }
.mini-disc {
  width: var(--s); height: var(--s); border-radius: 50%;
  background:
    radial-gradient(circle, var(--paper) 0 2px, var(--rosa) 3px 18%, transparent 18.5%),
    repeating-radial-gradient(circle, #2a2a2a 0 1px, var(--vinyl) 1.5px 3px);
  box-shadow: 0 0 0 2px var(--ink);
}
.plan--featured .mini-disc { background: radial-gradient(circle, var(--ink) 0 2px, var(--mustard) 3px 18%, transparent 18.5%), repeating-radial-gradient(circle, #2a2a2a 0 1px, var(--vinyl) 1.5px 3px); box-shadow: 0 0 0 2px var(--white); }
.plan__icon .mini-disc + .mini-disc { margin-left: -36px; }
.plan__name {
  margin-top: 18px;
  font-size: 2rem; font-weight: 900; font-variation-settings: "wdth" 125;
}
.plan__for { margin: 4px 0 18px; color: var(--ink-soft); }
.plan--featured .plan__for, .plan--featured .plan__billing { color: #C9CCE0; }
.plan__price { margin: 0; display: flex; align-items: baseline; gap: 4px; }
.plan__value { font-size: 2.4rem; font-weight: 800; font-variation-settings: "wdth" 110; letter-spacing: -0.02em; line-height: 1; }
.plan__per { font-weight: 600; }
.plan__billing { margin: 8px 0 20px; font-size: .9rem; color: var(--ink-soft); min-height: 2.8em; }
.plan__cta { width: 100%; }
.plan--featured .btn--ghost { color: var(--white); border-color: var(--white); }
.plan__list { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1.5px solid currentColor; display: flex; flex-direction: column; gap: 10px; }
.plan__list li { position: relative; padding-left: 26px; }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle, currentColor 0 2px, transparent 2.5px), var(--mustard);
}

@media (max-width: 900px) {
  .plans__grid { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-left: auto; margin-right: auto; }
  .plan--featured { order: -1; }
}

.compare { padding: 0 0 72px; }
.compare h2 { margin-bottom: 24px; }
.table-wrap { overflow-x: auto; border: 2px solid var(--ink); border-radius: var(--radius-m); background: var(--white); }
.table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table th, .table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--paper-2); }
.table thead th { background: var(--paper-2); font-variation-settings: "wdth" 115; }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table tbody th { font-weight: 600; }
.table--compare td, .table--compare thead th:not(:first-child) { text-align: center; }
.table--compare td:nth-child(3), .table--compare thead th:nth-child(3) { background: #EEF0FF; font-weight: 700; }
.yes, .no { font-weight: 700; }
.yes { color: #1D5E3A; }
.no { color: var(--ink-soft); font-weight: 500; }

.addons { background: var(--paper-2); padding: 72px 0; }
.addons__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.addon { border-top: 4px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.addon p { margin: 0; }
.addon__price { font-size: 1.5rem; font-weight: 800; font-variation-settings: "wdth" 110; margin-top: auto !important; }
.addon__price small { font-size: .9rem; font-weight: 500; color: var(--ink-soft); }
@media (max-width: 760px) { .addons__list { grid-template-columns: 1fr; } }

.faq { padding: 72px 0 96px; }
.faq__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; }
.faq__list details { border-bottom: 1.5px solid var(--ink); }
.faq__list details:first-child { border-top: 1.5px solid var(--ink); }
.faq__list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-weight: 700; font-size: 1.05rem;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; font-size: 1.4rem; line-height: 1; font-weight: 500; }
.faq__list details[open] summary::after { content: "−"; }
.faq__list details p { margin: 0 0 18px; max-width: 64ch; }
@media (max-width: 760px) { .faq__inner { grid-template-columns: 1fr; gap: 20px; } }

/* =========================================================
   Página do item
   ========================================================= */
.crumbs { padding: 24px 0 0; font-size: .9rem; color: var(--ink-soft); }
.crumbs a { color: var(--ink); }
.product {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px; padding: 32px 0 72px;
  border-bottom: 2px solid var(--ink);
}
.product__art { padding: 12px 12% 0 0; max-width: 480px; }
.product__art .sleeve__disc { transform: translateX(22%); }
.product__art.item--k7 { padding-top: 15%; }
.product__title {
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 900;
  font-variation-settings: "wdth" 125; letter-spacing: -0.02em; line-height: 1;
}
.product__artist { font-size: 1.2rem; font-weight: 600; margin: 10px 0 24px; }
.facts {
  display: grid; grid-template-columns: auto 1fr; gap: 10px 24px;
  margin: 0 0 24px; padding: 18px 0;
  border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
}
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; font-weight: 600; }
.product__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.product__protect { font-size: .92rem; color: var(--ink-soft); margin: 14px 0 28px; }
.product__protect a { color: var(--cobalt); font-weight: 600; }
.owner-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; border: 2px solid var(--ink); border-radius: var(--radius-m);
  background: var(--white); text-decoration: none;
}
.owner-card:hover { border-color: var(--cobalt); }
.owner-card__text { flex: 1; font-size: .94rem; line-height: 1.45; }
@media (max-width: 760px) {
  .product { grid-template-columns: 1fr; gap: 32px; }
  .product__art { max-width: 300px; }
}

.more { padding: 56px 0 24px; }
.more + .more { padding-top: 24px; }
.more:last-child { padding-bottom: 80px; }
.more__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.more__head h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.more__head p { margin: 0; }

/* =========================================================
   Perfil público
   ========================================================= */
.profile-head { background: var(--paper-2); border-bottom: 2px solid var(--ink); padding: 48px 0; }
.profile-head__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.profile-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; font-variation-settings: "wdth" 125; }
.profile-head__handle { margin: 8px 0 0; font-weight: 600; color: var(--ink-soft); }
.profile-head__bio { margin: 14px 0 0; max-width: 56ch; }
.profile-stats { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(110px, auto)); gap: 18px 32px; }
.profile-stats dt { font-size: .85rem; color: var(--ink-soft); }
.profile-stats dd { margin: 2px 0 0; font-size: 1.6rem; font-weight: 800; font-variation-settings: "wdth" 115; line-height: 1.1; }
.profile-stats__small { font-size: 1rem !important; }
@media (max-width: 900px) {
  .profile-head__inner { grid-template-columns: auto minmax(0, 1fr); }
  .profile-stats { grid-column: 1 / -1; grid-template-columns: repeat(4, auto); justify-content: start; }
}
@media (max-width: 560px) {
  .profile-head__inner { grid-template-columns: 1fr; }
  .avatar--xl { width: 80px; height: 80px; font-size: 1.8rem; }
  .profile-stats { grid-template-columns: repeat(2, auto); }
}
.profile-body { padding: 56px var(--gutter) 88px; }
.reviews { margin-top: 72px; padding-top: 32px; border-top: 2px solid var(--ink); }
.reviews h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.reviews__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.review p { margin: 6px 0; }
.review a { font-size: .9rem; }

/* =========================================================
   Entrar / criar conta
   ========================================================= */
.auth { padding: 56px 0 96px; }
.auth__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.auth__panel { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-m); box-shadow: 10px 10px 0 var(--ink); max-width: 480px; }
.auth__panel .form-stack { padding: 28px; }
.auth__title { font-size: 1.7rem; font-weight: 800; font-variation-settings: "wdth" 120; }
.auth__aside { background: var(--cobalt); color: var(--white); border-radius: var(--radius-m); padding: 40px 32px; overflow: hidden; }
.auth__aside .hero__stage { min-height: 300px; padding-right: 40px; }
.auth__aside .stage-sleeve { width: 200px; }
.auth__aside .stage-tape { width: 160px; margin-left: 0; }
.auth__aside .stage-swap { margin-left: 20px; }
.auth__quote { margin: 24px 0 0; font-size: 1.3rem; font-weight: 800; font-variation-settings: "wdth" 115; max-width: 24ch; }
@media (max-width: 860px) {
  .auth__inner { grid-template-columns: 1fr; }
  .auth__panel { max-width: none; }
  .auth__aside { display: none; }
}

.tabs { display: flex; border-bottom: 2px solid var(--ink); }
.tabs button {
  flex: 1; padding: 16px; border: 0; background: transparent;
  font-weight: 700; font-variation-settings: "wdth" 110; color: var(--ink-soft);
  border-bottom: 4px solid transparent; margin-bottom: -2px;
}
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--cobalt); }
.tabs--small { margin-bottom: 24px; }
.tabs--small button { flex: 0 0 auto; padding: 12px 18px; }

/* =========================================================
   Minha conta
   ========================================================= */
.account { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; padding-top: 40px; padding-bottom: 96px; }
.account__side { position: sticky; top: 92px; align-self: start; }
.account__me { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; margin-bottom: 12px; border-bottom: 2px solid var(--ink); line-height: 1.3; }
.account__nav { display: flex; flex-direction: column; }
.account__nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; margin: 0 -12px; border-radius: var(--radius-s);
  text-decoration: none; font-weight: 600;
}
.account__nav a:hover { background: var(--paper-2); }
.account__nav a[aria-current="page"] { background: var(--ink); color: var(--white); }
.account__nav .link-btn { align-self: flex-start; margin-top: 16px; }
.account__title { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 900; font-variation-settings: "wdth" 125; margin-bottom: 24px; }
.account__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.account__head .account__title { margin: 0; }
.account__sub { font-size: 1.15rem; margin: 36px 0 16px; }
.tabpanel > .account__sub:first-child, .todo > .account__sub:first-child { margin-top: 0; }
@media (max-width: 860px) {
  .account { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .account__side { position: static; }
  .account__nav { flex-direction: row; overflow-x: auto; gap: 4px; padding-bottom: 6px; }
  .account__nav a { margin: 0; white-space: nowrap; gap: 6px; }
  .account__nav .link-btn { margin: 0 0 0 8px; align-self: center; white-space: nowrap; }
}

.todo__list { display: flex; flex-direction: column; border: 2px solid var(--ink); border-radius: var(--radius-m); background: var(--white); overflow: hidden; }
.todo__list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; text-decoration: none; border-bottom: 1px solid var(--paper-2); }
.todo__list a:last-child { border-bottom: 0; }
.todo__list a:hover { background: #EEF0FF; }
.todo__list strong { font-weight: 600; }
.todo__list span { color: var(--cobalt); font-weight: 700; white-space: nowrap; }

.usage { max-width: 680px; }
.meter { margin-bottom: 16px; }
.meter__label { display: flex; justify-content: space-between; gap: 12px; font-size: .94rem; margin-bottom: 6px; }
.meter__label span:last-child { font-weight: 700; }
.meter__bar { height: 10px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.meter__bar span { display: block; height: 100%; background: var(--cobalt); border-radius: 999px; }
.meter--full .meter__bar span { background: var(--rosa); }
.upsell { margin-top: 24px; padding: 18px 20px; background: var(--mustard); border-radius: var(--radius-m); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.upsell p { margin: 0; max-width: 52ch; }

.rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--paper-2); }
.row__main { flex: 1; min-width: 0; line-height: 1.3; }
.row__main a { text-decoration: none; }
.row__main a:hover { color: var(--cobalt); }
.row__main small { display: block; color: var(--ink-soft); }
.row__actions { display: flex; gap: 14px; min-width: 150px; justify-content: flex-end; }
@media (max-width: 640px) {
  .row { flex-wrap: wrap; }
  .row__main { flex-basis: calc(100% - 50px); }
  .row__actions { min-width: 0; margin-left: auto; }
}

.proposals { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.proposal, .trade-card {
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-m);
  padding: 20px;
}
.trade-card + .trade-card { margin-top: 20px; }
.proposal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.trade-card .proposal__head { justify-content: flex-start; }
.person { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.person:hover strong { color: var(--cobalt); }

.swapbox { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px; background: var(--paper); border-radius: var(--radius-s); }
.swapbox__label { margin: 0 0 8px; font-size: .85rem; font-weight: 700; color: var(--ink-soft); }
.swap-icon { color: var(--cobalt); }
.mini { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mini li { display: flex; align-items: center; gap: 10px; }
.mini__text { flex: 1; min-width: 0; line-height: 1.25; }
.mini__text a { text-decoration: none; }
.mini__text a:hover { color: var(--cobalt); }
.mini__text small { display: block; color: var(--ink-soft); font-size: .82rem; }
@media (max-width: 640px) {
  .swapbox { grid-template-columns: 1fr; }
  .swap-icon { transform: rotate(90deg); justify-self: center; }
}
.proposal__msg { margin: 16px 0 0; padding: 10px 14px; border-left: 4px solid var(--mustard); background: var(--paper); }
.proposal__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 16px; }
.proposal__actions:empty { display: none; }
.counter { margin-top: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.counter[hidden] { display: none; }
.counter .field { width: 100%; }

.steps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: etapa; }
.steps li {
  counter-increment: etapa; position: relative;
  padding-top: 40px; font-size: .88rem; font-weight: 600; color: var(--ink-soft);
}
.steps li::before {
  content: counter(etapa);
  position: absolute; top: 0; left: 0; z-index: 1;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--paper-2); color: var(--ink-soft);
  font-weight: 800;
}
.steps li::after { content: ""; position: absolute; top: 14px; left: 30px; right: 0; height: 2px; background: var(--paper-2); }
.steps li:last-child::after { display: none; }
.steps li.is-done { color: var(--ink); }
.steps li.is-done::before { content: "✓"; background: var(--cobalt); border-color: var(--cobalt); color: var(--white); }
.steps li.is-done::after { background: var(--cobalt); }
.steps li.is-current { color: var(--ink); }
.steps li.is-current::before { border-color: var(--cobalt); color: var(--cobalt); }

.trade-action { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--paper-2); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.trade-action p { margin: 0; }
.inline-form { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.inline-form .field { flex: 0 1 240px; }

.rate { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.rate legend { font-weight: 700; margin-bottom: 6px; float: left; width: 100%; }
.rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate label { font-size: 2rem; line-height: 1; padding: 0 2px; color: var(--paper-2); cursor: pointer; }
.rate label:hover, .rate label:hover ~ label, .rate input:checked ~ label { color: var(--mustard); }
.rate input:focus-visible + label { outline: 3px solid var(--mustard); outline-offset: 2px; border-radius: 4px; }

.plan-now { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 32px; }
.plan-now__box { flex: 1 1 320px; padding: 20px; background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-m); }
.plan-now__box p { margin: 0; }
.plan-now__name { font-size: 1.6rem; font-weight: 900; font-variation-settings: "wdth" 125; margin-bottom: 4px !important; }

/* =========================================================
   Ajuda
   ========================================================= */
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding-top: 48px; padding-bottom: 96px; }
.doc__nav { position: sticky; top: 92px; align-self: start; display: flex; flex-direction: column; border-left: 2px solid var(--ink); }
.doc__nav a { padding: 6px 0 6px 16px; text-decoration: none; font-weight: 600; color: var(--ink-soft); }
.doc__nav a:hover { color: var(--cobalt); }
.doc__body { max-width: 760px; }
.doc__body section { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1.5px solid var(--paper-2); scroll-margin-top: 96px; }
.doc__body section:last-child { border-bottom: 0; margin-bottom: 0; }
.doc__body h2 { margin-bottom: 16px; }
.doc__body p { max-width: 68ch; }
.doc-steps { margin: 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: 12px; }
.doc-steps li::marker { font-weight: 800; color: var(--cobalt); }
.grades { margin: 20px 0 0; display: flex; flex-direction: column; gap: 14px; }
.grades div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; align-items: baseline; }
.grades dt { font-weight: 700; display: flex; gap: 10px; align-items: center; }
.grades dd { margin: 0; }
.pack { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; }
.pack > div { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-m); padding: 20px; }
.pack ul { margin: 12px 0 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 8px; }
.qa { margin: 0; }
.qa dt { font-weight: 700; margin-top: 18px; }
.qa dt:first-child { margin-top: 0; }
.qa dd { margin: 6px 0 0; max-width: 68ch; }
@media (max-width: 860px) {
  .doc { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .doc__nav { position: static; flex-direction: row; flex-wrap: wrap; border-left: 0; gap: 8px; }
  .doc__nav a { padding: 6px 12px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: .9rem; }
  .pack { grid-template-columns: 1fr; }
  .grades div { grid-template-columns: 1fr; gap: 4px; }
}

/* =========================================================
   WordPress e WooCommerce
   ========================================================= */

/* Barra do admin: o topo fixo desce junto */
.admin-bar .topbar { top: 32px; }
@media (max-width: 782px) { .admin-bar .topbar { top: 46px; } }
@media (max-width: 600px) { .admin-bar .topbar { top: 0; } }

/* Seletor segmentado com rádios de verdade (filtros e formulário de anúncio) */
.seg label {
  display: inline-flex; align-items: center;
  padding: 6px 16px; border-radius: 999px;
  font-weight: 600; cursor: pointer;
}
.seg label input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label:has(input:checked) { background: var(--ink); color: var(--white); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--mustard); outline-offset: 2px; }
.seg--full label { flex: 1; justify-content: center; }
.filters__clear { align-self: center; margin-left: 4px; }

/* Fotos de capa enviadas pelos usuários */
.cover--photo { padding: 0; background: var(--paper-2); }
.cover--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tape--photo { padding: 6px; }
.tape--photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 4px; }
.swatch--photo { object-fit: cover; box-shadow: none; }

/* Paginação do acervo */
.pagination { margin-top: 48px; }
.pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pagination a, .pagination span {
  display: inline-grid; place-items: center;
  min-width: 42px; height: 42px; padding: 0 12px;
  border: 2px solid var(--ink); border-radius: 999px;
  text-decoration: none; font-weight: 700;
}
.pagination .current { background: var(--ink); color: var(--white); }
.pagination .dots { border-color: transparent; }
.pagination a:hover { background: var(--paper-2); }

/* Páginas comuns */
.page-body { padding-top: 40px; padding-bottom: 96px; }
.entry { max-width: 72ch; }
.entry > * + * { margin-top: 1em; }
.entry h2 { margin-top: 1.6em; }
.entry a { color: var(--cobalt); }
.entry img { height: auto; }
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--paper-2); }
.post-list a { text-decoration: none; }
.address { font-style: normal; line-height: 1.5; padding: 12px 16px; background: var(--paper); border-radius: var(--radius-s); }
.trade-card .trade-action + .trade-action { margin-top: 0; }
.edit-item { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.edit-item__art { padding-right: 12%; }
.edit-item__art.item--k7 { padding-top: 10%; }
@media (max-width: 760px) { .edit-item { grid-template-columns: 1fr; } .edit-item__art { max-width: 200px; } }

/* ---------- Minha conta ---------- */
.account-page { padding-top: 40px; padding-bottom: 96px; }
.logged-in .account-page > .woocommerce {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start;
}
/* O clearfix do WooCommerce (::before/::after) viraria uma célula da grade */
.logged-in .account-page > .woocommerce::before,
.logged-in .account-page > .woocommerce::after { display: none; }
.logged-in .account-page > .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account .account-page .woocommerce-MyAccount-navigation,
.woocommerce-account .account-page .woocommerce-MyAccount-content { float: none; width: auto; min-width: 0; }
.woocommerce-MyAccount-navigation { position: sticky; top: 92px; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.woocommerce-MyAccount-navigation a {
  display: block; padding: 10px 12px; margin: 0 -12px; border-radius: var(--radius-s);
  text-decoration: none; font-weight: 600;
}
.woocommerce-MyAccount-navigation a:hover { background: var(--paper-2); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: var(--white); }
.woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 16px; }
.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--ink-soft); font-size: .9rem; text-decoration: underline; }
.woocommerce-MyAccount-navigation .account__me { margin-bottom: 12px; }
.woocommerce-MyAccount-navigation .account__me a { text-decoration: none; padding: 0; margin: 0; display: inline; font-weight: 500; }
.woocommerce-MyAccount-navigation .account__me a:hover { background: none; color: var(--cobalt); }
@media (max-width: 860px) {
  .logged-in .account-page > .woocommerce { grid-template-columns: 1fr; gap: 24px; }
  .woocommerce-MyAccount-navigation { position: static; }
  .woocommerce-MyAccount-navigation ul { flex-direction: row; overflow-x: auto; gap: 4px; padding-bottom: 6px; }
  .woocommerce-MyAccount-navigation a { margin: 0; white-space: nowrap; }
  .woocommerce-MyAccount-navigation-link--customer-logout { margin: 0; }
}

/* Entrar / criar conta dentro do WooCommerce */
.account-page .auth__inner { padding: 16px 0 40px; }
.woocommerce .auth__panel form.login,
.woocommerce .auth__panel form.register { border: 0; border-radius: 0; margin: 0; padding: 28px; }

/* ---------- Avisos do WooCommerce ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info, .woocommerce .woocommerce-error,
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none; margin: 0 0 24px; padding: 14px 18px 14px 20px;
  background: var(--white); color: var(--ink);
  border: 2px solid var(--ink); border-left-width: 8px; border-radius: var(--radius-s);
}
.woocommerce-message { border-left-color: #2E8B57; }
.woocommerce-info { border-left-color: var(--cobalt); }
.woocommerce-error { border-left-color: var(--rosa); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-message .button, .woocommerce-info .button { float: right; }

/* ---------- Formulários e botões do WooCommerce ---------- */
.woocommerce form .form-row { padding: 0; margin: 0 0 16px; }
.woocommerce form .form-row label { font-weight: 600; font-size: .92rem; margin-bottom: 6px; display: block; }
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea,
.woocommerce .select2-container .select2-selection--single {
  width: 100%; min-height: 46px;
  padding: 10px 14px; border-radius: var(--radius-s);
  border: 2px solid var(--ink); background: var(--white); font: inherit;
}
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 22px; }
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { top: 10px; right: 8px; }
.woocommerce form .form-row .input-text:focus, .woocommerce form .form-row select:focus, .woocommerce form .form-row textarea:focus { outline: 3px solid var(--mustard); outline-offset: 1px; }
.woocommerce form .form-row.woocommerce-invalid .input-text { border-color: var(--rosa); }
.woocommerce fieldset { border: 2px solid var(--paper-2); border-radius: var(--radius-m); padding: 18px; margin: 24px 0; }
.woocommerce fieldset legend { font-weight: 700; padding: 0 6px; }

.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt,
.woocommerce #payment #place_order {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px;
  border: 2px solid transparent; border-radius: 999px;
  background: var(--cobalt); color: var(--white);
  font: inherit; font-weight: 700; font-variation-settings: "wdth" 110; line-height: 1.2;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce #payment #place_order:hover {
  background: var(--cobalt-dark); color: var(--white);
}
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { opacity: .5; padding: 0 22px; }

/* Tabelas (pedidos, carrinho, checkout) */
.woocommerce table.shop_table {
  border: 2px solid var(--ink); border-radius: var(--radius-m); border-collapse: separate;
  background: var(--white); overflow: hidden;
}
.woocommerce table.shop_table th { font-variation-settings: "wdth" 115; background: var(--paper-2); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { padding: 14px 18px; border-top: 1px solid var(--paper-2); }

/* Checkout */
.woocommerce-checkout #payment { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-m); }
.woocommerce-checkout #payment div.payment_box { background: var(--paper); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--paper); }
.woocommerce-checkout h3 { font-size: 1.3rem; font-variation-settings: "wdth" 120; margin: 24px 0 16px; }

/* Endereços na conta */
.woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.woocommerce-Addresses::before, .woocommerce-Addresses::after { display: none; }
.woocommerce-Addresses .woocommerce-Address { float: none; width: auto; background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius-m); padding: 20px; }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.woocommerce-Address-title h2 { font-size: 1.2rem; }
.woocommerce-Address address { font-style: normal; }
