/* ============================================================================
   LOJA — vitrine, resgate e pagamento Pix
   ========================================================================== */

/* ---- hero ------------------------------------------------------------------ */
.shop-hero {
  position: relative;
  min-height: min(46rem, 78svh);
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-content: end;
  padding-top: clamp(7rem, 10vw, 8.5rem);
}
.shop-hero-art {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-color: #281506;
  background-image: url('/img/art/universo-market.jpg');
  background-size: cover;
  background-position: center 37%;
  filter: saturate(1.23) contrast(1.05);
}
.shop-hero-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(42rem 30rem at 76% 43%, rgba(255, 171, 47, .18), transparent 70%),
    linear-gradient(90deg, rgba(5, 25, 22, .94) 0%, rgba(7, 29, 25, .72) 45%, rgba(27, 16, 6, .18) 82%),
    linear-gradient(0deg, #061a18 0%, transparent 44%, rgba(4, 18, 16, .4) 100%);
}
.shop-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(35rem 24rem at 25% 60%, rgba(17, 113, 94, .2), transparent 72%),
    linear-gradient(120deg, rgba(3, 34, 29, .25), transparent 54%);
}
.shop-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: clamp(8rem, 20vh, 12rem);
  pointer-events: none;
  background: linear-gradient(to top, #061a18, transparent);
}
.shop-hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(17rem, .62fr);
  align-items: end;
  gap: clamp(2.5rem, 8vw, 8rem);
  padding-bottom: clamp(5.5rem, 9vw, 7rem);
}
.shop-hero-copy {
  display: grid;
  justify-items: start;
  gap: 1.15rem;
}
.shop-hero-copy .h-display {
  max-width: 11.5ch;
  font-size: clamp(3.9rem, 6.6vw, 6.4rem);
  line-height: .88;
  letter-spacing: -.035em;
  text-shadow: 0 7px 36px rgba(0, 0, 0, .58);
}
.shop-hero-copy .lead {
  max-width: 39rem;
  color: rgba(247, 241, 220, .85);
  text-wrap: balance;
}
.shop-hero-copy .lead strong { color: var(--gold-300); }
.shop-hero-action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .9rem 1.15rem;
  margin-top: .25rem;
}
.shop-hero-action > span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: rgba(247, 241, 220, .66);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.shop-hero-action > span::before {
  content: '';
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #62e3b1;
  box-shadow: 0 0 12px rgba(98, 227, 177, .5);
}
.shop-hero-mark {
  position: relative;
  display: grid;
  justify-items: center;
  gap: .5rem;
  padding: 1.35rem 1.5rem 1.45rem;
  border: 1px solid rgba(238, 192, 106, .46);
  border-radius: 24px 5px 24px 5px;
  background: linear-gradient(145deg, rgba(52, 41, 15, .82), rgba(5, 43, 37, .8));
  box-shadow: 0 26px 75px rgba(0, 0, 0, .32), inset 0 0 34px rgba(238, 192, 106, .05);
  backdrop-filter: blur(12px);
  transform: rotate(1.5deg);
}
.shop-hero-mark::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(238, 192, 106, .15);
  border-radius: 17px 2px 17px 2px;
  pointer-events: none;
}
.shop-hero-mark > span,
.shop-hero-mark > small {
  position: relative;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.shop-hero-mark > b {
  position: relative;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-strong);
}
.shop-hero-mark > small { color: rgba(247, 241, 220, .6); }
.shop-coin {
  position: relative;
  width: 6.5rem;
  height: 6.5rem;
  display: grid;
  place-items: center;
  margin: .25rem 0;
  border: 5px double #a96d0b;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 248, 184, .9), transparent 18%),
    radial-gradient(circle, #ffd75c 0 48%, #c98511 49% 66%, #ffdf69 67% 74%, #9e6108 75%);
  box-shadow: 0 0 0 5px rgba(255, 205, 67, .09), 0 13px 24px rgba(0, 0, 0, .33), 0 0 28px rgba(255, 185, 35, .23);
  transform: rotate(-8deg);
}
.shop-coin::after {
  content: '';
  position: absolute;
  inset: .72rem;
  border: 1px dashed rgba(111, 61, 2, .48);
  border-radius: 50%;
}
.shop-coin strong {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 3.15rem;
  line-height: 1;
  color: #704207;
  text-shadow: 0 1px rgba(255, 244, 162, .68);
}

/* ---- hero do pedido -------------------------------------------------------- */
.shop-hero--order { min-height: min(32rem, 56svh); }
.shop-hero--order .shop-hero-art::after {
  background:
    linear-gradient(90deg, rgba(6, 28, 24, .84), rgba(10, 30, 26, .54)),
    linear-gradient(0deg, #061a18 0%, transparent 58%, rgba(4, 18, 16, .46) 100%);
}
.shop-hero--order .shop-hero-body {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: .85rem;
  padding-bottom: clamp(4rem, 7vw, 5.2rem);
  text-align: center;
}
.shop-hero--order .h-section {
  max-width: 22ch;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: .96;
  text-wrap: balance;
  text-shadow: 0 5px 26px rgba(0, 0, 0, .55);
}
.shop-hero--order .lead { margin-inline: auto; }
.shop-hero--order .lead strong { color: var(--gold-300); }

/* ---- área principal -------------------------------------------------------- */
.shop-main {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 0 0 clamp(5rem, 9vw, 7rem);
  background: #061a18;
}
.shop-main::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(58rem 34rem at 0% 20%, rgba(35, 135, 116, .13), transparent 72%),
    radial-gradient(52rem 34rem at 100% 76%, rgba(199, 139, 30, .1), transparent 72%);
}
.shop-hero--order + .shop-main { padding-top: clamp(4rem, 7vw, 6rem); }
.shop-wrap { display: grid; gap: clamp(1.8rem, 4vw, 2.8rem); }
.shop-wrap--narrow { max-width: 900px; }

/* ---- faixa de confiança ---------------------------------------------------- */
.shop-trustbar {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: -2.8rem;
  margin-bottom: clamp(4rem, 7vw, 5.5rem);
  border: 1px solid rgba(79, 188, 173, .28);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(8, 49, 44, .98), rgba(4, 28, 26, .98));
  box-shadow: 0 22px 60px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .04);
  backdrop-filter: blur(18px);
}
.shop-trust-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-height: 5.6rem;
  padding: 1rem 1.25rem;
}
.shop-trust-item + .shop-trust-item { border-left: 1px solid rgba(79, 188, 173, .16); }
.shop-trust-icon {
  width: 2.6rem;
  height: 2.6rem;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgba(238, 192, 106, .32);
  border-radius: 10px 3px 10px 3px;
  background: rgba(238, 192, 106, .08);
  color: var(--gold-300);
}
.shop-trust-icon svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.shop-trust-item > div { display: grid; gap: .18rem; }
.shop-trust-item strong {
  color: var(--text-strong);
  font-size: .9rem;
  letter-spacing: .02em;
}
.shop-trust-item small { color: var(--text-faint); font-size: .76rem; }

/* ---- catálogo -------------------------------------------------------------- */
.shop-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.4rem);
  align-items: start;
}
.shop-side {
  position: sticky;
  top: 6.5rem;
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(79, 188, 173, .18);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(11, 48, 42, .86), rgba(6, 30, 27, .9));
  box-shadow: 0 18px 42px rgba(0, 0, 0, .16);
}
.shop-side-head {
  display: grid;
  gap: .45rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(238, 192, 106, .15);
  font-size: 1.05rem;
}
.shop-side-head strong {
  font-family: var(--font-display);
  font-size: 1.42rem;
  line-height: 1.15;
  color: var(--text-strong);
}
.shop-nav { display: grid; gap: .35rem; }
.shop-navlink {
  display: flex;
  align-items: center;
  gap: .7rem;
  width: 100%;
  min-height: 3.5rem;
  padding: .8rem .9rem;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1.06rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.shop-navlink:hover {
  transform: translateX(2px);
  background: rgba(238, 192, 106, .07);
  color: var(--text);
}
.shop-navlink.is-active {
  border-color: rgba(238, 192, 106, .4);
  background: linear-gradient(110deg, rgba(238, 192, 106, .16), rgba(200, 135, 26, .05));
  color: var(--gold-300);
}
.shop-navico { flex: none; color: currentColor; }
.shop-navtext { flex: 1; }
.shop-navcount {
  min-width: 1.45rem;
  flex: none;
  padding: .12rem .4rem;
  border-radius: 999px;
  background: rgba(3, 23, 20, .65);
  color: var(--text-faint);
  font-size: .78rem;
  font-weight: 800;
  text-align: center;
}
.shop-navlink.is-active .shop-navcount {
  color: var(--gold-300);
  background: rgba(238, 192, 106, .14);
}
.shop-side-help {
  padding-top: .8rem;
  border-top: 1px solid rgba(79, 188, 173, .12);
  color: var(--text-faint);
  font-size: .79rem;
  text-decoration: none;
}
.shop-side-help:hover { color: var(--gold-300); }
.shop-content { min-width: 0; }
.shop-panel { display: none; }
.shop-panel.is-active { display: grid; gap: 1.75rem; }
.shop-panel-head {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(15rem, 1fr);
  align-items: end;
  gap: 1rem 2rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid rgba(238, 192, 106, .18);
}
.shop-panel-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--text-strong);
}
.shop-panel-note {
  justify-self: end;
  max-width: 32rem;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
  text-align: right;
}
.shop-panel-note strong { color: var(--gold-300); }

/* ---- cards ----------------------------------------------------------------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}
.shop-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(79, 188, 173, .18);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(12, 49, 44, .96), rgba(7, 31, 28, .99));
  box-shadow: 0 20px 48px rgba(0, 0, 0, .2);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.shop-card:hover {
  transform: translateY(-5px);
  border-color: rgba(238, 192, 106, .48);
  box-shadow: 0 28px 64px rgba(0, 0, 0, .34);
}
.shop-card--highlight,
.shop-panel[data-cat='ogrinas'] .shop-card:nth-child(2) {
  border-color: rgba(238, 192, 106, .52);
  background:
    linear-gradient(125deg, rgba(238, 192, 106, .07), transparent 43%),
    linear-gradient(155deg, rgba(17, 57, 49, .98), rgba(7, 31, 28, .99));
  box-shadow: 0 24px 58px rgba(0, 0, 0, .25), 0 0 30px -22px rgba(238, 192, 106, .8);
}
.shop-panel[data-cat='ogrinas'] .shop-card:nth-child(2)::before {
  content: 'Melhor escolha';
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 4;
  padding: .38rem .7rem;
  border: 1px solid rgba(255, 228, 132, .68);
  border-radius: 7px;
  background: linear-gradient(135deg, #ffd85c, #d89213);
  box-shadow: 0 7px 18px rgba(0, 0, 0, .3);
  color: #382205;
  font-size: .63rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.shop-grid .shop-card:only-child {
  grid-column: 1 / -1;
  width: min(32rem, 100%);
}
.shop-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 8.7;
  overflow: hidden;
  border-bottom: 1px solid rgba(238, 192, 106, .14);
  background: rgba(3, 24, 21, .7);
}
.shop-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2, .7, .2, 1), filter .4s ease;
}
.shop-card:hover .shop-cover img { transform: scale(1.045); filter: saturate(1.1); }
.gshop-card .shop-cover img { object-fit: contain; padding: 1.15rem; }
.gshop-card .shop-cover.is-image-missing {
  display: grid;
  place-items: center;
  background:
    radial-gradient(16rem 9rem at 50% 68%, rgba(78, 197, 179, .2), transparent 72%),
    linear-gradient(145deg, #16443d, #092723 68%);
}
.gshop-card .shop-cover.is-image-missing::before {
  content: '✦';
  width: 6.3rem;
  height: 6.3rem;
  display: grid;
  place-items: center;
  border: 2px solid rgba(238, 192, 106, .52);
  border-radius: 22px 6px 22px 6px;
  background: linear-gradient(145deg, rgba(238, 192, 106, .14), rgba(8, 61, 53, .72));
  box-shadow: 0 15px 32px rgba(0, 0, 0, .28), 0 0 28px rgba(79, 188, 173, .15);
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: 3rem;
  transform: rotate(-4deg);
}
.gshop-card .shop-cover.is-image-missing::after {
  content: 'Presente de Astrubia';
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  white-space: nowrap;
  color: rgba(247, 241, 220, .5);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.shop-card-art { position: absolute; inset: 0; overflow: hidden; }
.shop-card-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 15%, rgba(255, 255, 255, .09) 34%, transparent 52%),
    linear-gradient(to top, rgba(3, 25, 22, .62), transparent 48%);
  transform: translateX(-38%);
  transition: transform .75s ease;
}
.shop-card:hover .shop-card-art::after { transform: translateX(18%); }
.shop-card-art::before {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 6.4rem;
  height: 6.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  transition: transform .5s cubic-bezier(.2, .75, .2, 1);
}
.shop-card:hover .shop-card-art::before { transform: translate(-50%, -53%) rotate(-3deg) scale(1.06); }
.shop-card-art--ogrinas {
  background:
    radial-gradient(20rem 11rem at 50% 72%, rgba(247, 189, 55, .26), transparent 72%),
    radial-gradient(circle at 76% 14%, rgba(255, 225, 123, .15), transparent 24%),
    linear-gradient(145deg, #5b3d0c, #2b1d08 55%, #113b32);
}
.shop-card-art--ogrinas::before {
  content: 'A';
  border: 5px double #a96d0b;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 248, 184, .9), transparent 18%),
    radial-gradient(circle, #ffd75c 0 48%, #c98511 49% 66%, #ffdf69 67% 74%, #9e6108 75%);
  box-shadow: 3.5rem .8rem 0 -1.5rem rgba(212, 139, 18, .74), -3.5rem 1.15rem 0 -1.7rem rgba(255, 205, 64, .5), 0 13px 25px rgba(0, 0, 0, .35), 0 0 32px rgba(255, 187, 34, .24);
  color: #704207;
  text-shadow: 0 1px rgba(255, 244, 162, .68);
}
.shop-card-art--vip {
  background: radial-gradient(70% 100% at 50% 15%, rgba(248, 223, 160, .4), transparent 56%), linear-gradient(150deg, #493411, #1e1408 70%);
}
.shop-card-art--vip::before { content: 'VIP'; border: 2px solid var(--gold-400); background: rgba(35, 23, 6, .78); color: var(--gold-300); font-size: 1.7rem; }
.shop-card-art--itens {
  background: radial-gradient(70% 100% at 70% 10%, rgba(75, 190, 191, .3), transparent 58%), linear-gradient(150deg, #17433e, #0b2522 70%);
}
.shop-card-art--itens::before { content: '✦'; border: 2px solid rgba(118, 223, 212, .55); background: rgba(8, 54, 48, .78); color: var(--gold-300); }
.shop-card-art--outros {
  background: radial-gradient(70% 100% at 30% 10%, rgba(156, 197, 97, .3), transparent 58%), linear-gradient(150deg, #304117, #15220e 70%);
}
.shop-card-art--outros::before { content: '✦'; border: 2px solid rgba(156, 197, 97, .5); background: rgba(25, 48, 17, .78); color: var(--leaf-300); }
.shop-cat {
  position: absolute;
  top: .9rem;
  left: .9rem;
  z-index: 2;
  padding: .28rem .68rem;
  border: 1px solid rgba(238, 192, 106, .42);
  border-radius: 6px;
  background: rgba(3, 24, 21, .84);
  color: var(--gold-300);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.shop-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .7rem;
  padding: clamp(1.25rem, 3vw, 1.65rem);
}
.shop-name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.1;
  color: var(--text-strong);
}
.shop-desc {
  color: var(--text-muted);
  font-size: .93rem;
  line-height: 1.6;
}
.shop-foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: .9rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(79, 188, 173, .12);
}
.shop-price {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 800;
  line-height: 1;
  color: var(--gold-300);
}
.shop-price.is-discounted {
  display: grid;
  gap: .22rem;
  color: #aef083;
}
.shop-price.is-discounted del {
  color: #f2d7a3;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 900;
  opacity: 1;
  text-decoration-color: #ff765f;
  text-decoration-thickness: 2.5px;
}
.shop-price.is-discounted strong {
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  line-height: 1;
}
.order-upgrade-saving {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .65rem;
  margin: .65rem 0 0;
  color: #b7f28f;
  font-size: .88rem;
  font-weight: 800;
}
.order-upgrade-saving del { color: #dd9a8b; }
.gshop-price { color: var(--gold-300); }
.gshop-og { font-size: .55em; font-weight: 800; opacity: .78; text-transform: uppercase; letter-spacing: .06em; }
.gshop-qty { font-size: .72em; color: var(--text-muted); font-weight: 600; }
.shop-empty {
  grid-column: 1 / -1;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  border: 1px dashed rgba(238, 192, 106, .3);
  border-radius: 16px;
  background: rgba(16, 58, 50, .34);
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}
.shop-section { display: grid; gap: 1.1rem; }
.shop-section-title { letter-spacing: .1em; }

/* ---- modal de resgate ------------------------------------------------------ */
.redeem-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}
.redeem-modal[hidden] { display: none; }
.redeem-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(3, 18, 16, .82);
  backdrop-filter: blur(7px);
}
.redeem-modal-box {
  position: relative;
  width: min(470px, 100%);
  display: grid;
  gap: 1rem;
  padding: clamp(1.45rem, 4vw, 2.1rem);
  border: 1px solid rgba(238, 192, 106, .42);
  border-radius: 20px 6px 20px 6px;
  background: linear-gradient(155deg, rgba(13, 54, 47, .99), rgba(5, 29, 26, .99));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55), 0 0 34px -22px rgba(238, 192, 106, .8);
}
.redeem-modal-title { font-family: var(--font-display); font-size: 1.65rem; color: var(--text-strong); }
.redeem-modal-text { color: var(--text); font-size: 1.05rem; }
.redeem-modal-text strong { color: var(--gold-300); }
.redeem-modal-hint { color: var(--text-muted); font-size: .92rem; line-height: 1.55; }
.redeem-check {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .9rem;
  border: 1px solid rgba(79, 188, 173, .25);
  border-radius: 10px;
  background: rgba(3, 25, 22, .6);
  color: var(--text-muted);
  font-size: .93rem;
  line-height: 1.45;
  cursor: pointer;
}
.redeem-check input { width: 1.1rem; height: 1.1rem; flex: none; margin-top: .18rem; accent-color: var(--gold-300); }
.redeem-check strong { color: var(--text); }
.redeem-modal-msg { color: var(--danger, #e0736b); font-size: .92rem; font-weight: 700; }
.redeem-modal-actions { display: flex; justify-content: flex-end; gap: .7rem; margin-top: .2rem; }

/* ---- pedido / pagamento ---------------------------------------------------- */
.order-panel {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.3rem);
  border-color: rgba(79, 188, 173, .22);
  background: linear-gradient(155deg, rgba(12, 49, 44, .96), rgba(7, 31, 28, .99));
}
.order-status { display: flex; justify-content: center; }
.order-pay-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}
.order-qr { display: grid; justify-items: center; }
.order-qr-img {
  width: 260px;
  height: 260px;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}
.order-qr-off {
  width: 260px;
  height: 260px;
  display: grid;
  place-items: center;
  padding: 1rem;
  border: 2px dashed rgba(238, 192, 106, .4);
  border-radius: 14px;
  color: var(--text-faint);
  font-weight: 700;
  text-align: center;
}
.order-code { display: grid; gap: .8rem; justify-items: start; }
.order-hint { color: var(--text-muted); line-height: 1.65; }
.order-code-box {
  width: 100%;
  padding: .9rem 1rem;
  border: 1px solid rgba(79, 188, 173, .3);
  border-radius: 9px;
  background: rgba(3, 25, 22, .72);
  color: var(--parch-100);
  font-family: 'Consolas', monospace;
  font-size: .82rem;
  word-break: break-all;
  resize: none;
}
.order-code-box:focus { outline: 2px solid rgba(238, 192, 106, .4); }
.order-copied { color: var(--ok); font-weight: 800; }
.order-expire {
  padding-top: 1rem;
  border-top: 1px solid rgba(79, 188, 173, .13);
  color: var(--text-faint);
  font-size: .88rem;
  text-align: center;
}
.order-done {
  display: grid;
  justify-items: center;
  gap: .9rem;
  padding: clamp(1.7rem, 4vw, 2.5rem);
  text-align: center;
}
.order-done-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: .04em;
  color: #4a3712;
}
.order-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }

/* ---- responsivo ------------------------------------------------------------ */
@media (max-width: 980px) {
  .shop-hero-body { grid-template-columns: minmax(0, 1fr) minmax(14rem, .5fr); gap: 3rem; }
  .shop-layout { grid-template-columns: 215px minmax(0, 1fr); gap: 1.7rem; }
  .shop-grid { gap: 1rem; }
  .shop-foot { align-items: stretch; flex-direction: column; }
  .shop-foot .btn { width: 100%; }
}

@media (max-width: 760px) {
  .shop-hero {
    min-height: auto;
    padding-top: 8.5rem;
  }
  .shop-hero-art { background-position: 59% center; }
  .shop-hero-art::after {
    background:
      linear-gradient(90deg, rgba(6, 28, 24, .88), rgba(10, 30, 26, .5)),
      linear-gradient(0deg, #061a18 0%, transparent 56%, rgba(4, 18, 16, .48) 100%);
  }
  .shop-hero-body { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 5rem; }
  .shop-hero-copy .h-display { font-size: clamp(3.15rem, 14vw, 4.5rem); letter-spacing: -.045em; }
  .shop-hero-copy .lead { font-size: 1rem; }
  .shop-hero-mark { width: min(20rem, 82%); justify-self: end; }
  .shop-coin { width: 5.2rem; height: 5.2rem; }
  .shop-coin strong { font-size: 2.5rem; }
  .shop-trustbar { grid-template-columns: 1fr; }
  .shop-trust-item { min-height: 4.8rem; }
  .shop-trust-item + .shop-trust-item { border-left: 0; border-top: 1px solid rgba(79, 188, 173, .16); }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-side { position: static; padding: 1rem; }
  .shop-side-head { padding-bottom: .8rem; }
  .shop-nav {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    gap: .5rem;
    padding-bottom: .1rem;
    scrollbar-width: none;
  }
  .shop-nav::-webkit-scrollbar { display: none; }
  .shop-navlink { white-space: nowrap; }
  .shop-navcount { display: none; }
  .shop-side-help { display: none; }
  .shop-panel-head { grid-template-columns: 1fr; align-items: start; }
  .shop-panel-note { justify-self: start; text-align: left; }
  .order-pay-grid { grid-template-columns: 1fr; }
  .order-qr { order: -1; }
}

@media (max-width: 620px) {
  .shop-hero-mark { display: none; }
  .shop-hero-body { padding-bottom: 4.4rem; }
  .shop-hero-action { align-items: flex-start; flex-direction: column; width: 100%; }
  .shop-hero-action .btn { width: 100%; }
  .shop-trustbar { margin-top: -2.2rem; margin-bottom: 3.7rem; }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-grid .shop-card:only-child { grid-column: auto; width: 100%; }
  .shop-foot { flex-direction: row; align-items: end; }
  .shop-foot .btn { width: auto; }
  .shop-panel-title { font-size: clamp(2rem, 11vw, 3rem); }
  .redeem-modal-actions { flex-direction: column-reverse; }
  .redeem-modal-actions .btn { width: 100%; }
}

@media (max-width: 430px) {
  .shop-foot { align-items: stretch; flex-direction: column; }
  .shop-foot .btn { width: 100%; }
  .order-qr-img,
  .order-qr-off { width: min(260px, 100%); height: auto; aspect-ratio: 1; }
  .order-done-actions { width: 100%; }
  .order-done-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-cover img,
  .shop-card-art::before,
  .shop-card-art::after { transition: none; }
  .shop-card:hover .shop-cover img,
  .shop-card:hover .shop-card-art::before,
  .shop-card:hover .shop-card-art::after { transform: none; }
}

/* ---- refatoracao de densidade -------------------------------------------- */
.shop-hero {
  min-height: 10rem;
  padding-top: 4.625rem;
}
.shop-hero::after { height: 4rem; }
.shop-hero-art::before {
  content: 'Loja de Astrubia';
  position: absolute;
  left: max(1.5rem, calc((100% - var(--container)) / 2));
  bottom: 1.5rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .035em;
  color: var(--text-main);
  text-shadow: 0 3px 18px rgba(0, 0, 0, .75);
}
.shop-hero:has(.shop-hero-titlebar) .shop-hero-art::before { display: none; }
.shop-hero-titlebar {
  align-self: end;
  display: grid;
  justify-items: start;
  gap: var(--space-1);
  padding-bottom: var(--space-5);
}
.shop-hero-titlebar > span {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.shop-hero-titlebar h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1;
  letter-spacing: .035em;
  color: var(--text-main);
  text-shadow: 0 3px 18px rgba(0, 0, 0, .75);
}
.shop-hero-titlebar h1 em {
  font-style: normal;
  color: var(--gold-300);
}
.shop-hero-body,
.shop-trustbar,
.shop-panel-head { display: none; }

/* ---- ofertas ricas: selos, promoção e ficha completa --------------------- */
.shop-card--promo { border-color: rgba(255, 199, 71, .32); }
.shop-card-badges {
  min-height: 1.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
}
.shop-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: .28rem .55rem;
  border: 1px solid rgba(79, 188, 173, .34);
  border-radius: 999px;
  background: rgba(79, 188, 173, .1);
  color: #9de2d8;
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.shop-badge--promo {
  border-color: rgba(255, 193, 55, .48);
  background: rgba(255, 193, 55, .12);
  color: #ffd56c;
}
.shop-badge--feature {
  border-color: rgba(177, 221, 110, .4);
  background: rgba(177, 221, 110, .1);
  color: #c9ef8e;
}
.shop-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: .45rem;
  flex-wrap: wrap;
}
.shop-card-actions .btn { white-space: nowrap; }
.shop-price.is-discounted { min-width: 6rem; }
.gshop-price.is-discounted strong { color: var(--gold-300); }

.shop-detail-open { overflow: hidden; }
.shop-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: clamp(.65rem, 2vw, 1.5rem);
}
.shop-detail-modal[hidden] { display: none; }
.shop-detail-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(2, 15, 13, .88);
  backdrop-filter: blur(9px);
}
.shop-detail-modal-box {
  position: relative;
  width: min(880px, 100%);
  max-height: min(90vh, 850px);
  overflow: auto;
  border: 1px solid rgba(238, 192, 106, .38);
  border-radius: 22px 7px 22px 7px;
  background:
    radial-gradient(circle at 10% 0, rgba(79, 188, 173, .13), transparent 38%),
    linear-gradient(155deg, rgba(13, 54, 47, .995), rgba(5, 29, 26, .995));
  box-shadow: 0 35px 110px rgba(0, 0, 0, .64);
}
.shop-detail-close {
  position: absolute;
  top: .85rem;
  right: .85rem;
  z-index: 4;
  width: 2.35rem;
  height: 2.35rem;
  margin: 0;
  border: 1px solid rgba(238, 192, 106, .28);
  border-radius: 50%;
  background: rgba(3, 24, 21, .88);
  color: var(--text);
  cursor: pointer;
}
.shop-detail-modal-content { padding: clamp(1.25rem, 4vw, 2.4rem); }
.shop-detail-layout {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center;
}
.shop-detail-art {
  min-height: 250px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(79, 188, 173, .2);
  border-radius: 16px 5px 16px 5px;
  background: radial-gradient(circle, rgba(79, 188, 173, .17), rgba(3, 24, 21, .68) 70%);
}
.shop-detail-art img { width: 100%; height: 100%; max-height: 330px; object-fit: contain; padding: 1rem; }
.shop-detail-placeholder { color: var(--gold-300); font-size: 4rem; }
.shop-detail-intro { display: grid; gap: .75rem; }
.shop-detail-badges { display: flex; flex-wrap: wrap; gap: .4rem; min-height: 1.5rem; }
.shop-detail-intro h2 {
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1;
}
.shop-detail-intro p { color: var(--text-muted); line-height: 1.7; white-space: pre-line; }
.shop-detail-price {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  color: var(--gold-300);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 900;
}
.shop-detail-price del { color: var(--text-faint); font-family: var(--font-body); font-size: .95rem; }
.shop-detail-price strong { color: var(--gold-300); }
.shop-detail-section { display: grid; gap: 1rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid rgba(238, 192, 106, .16); }
.shop-detail-section h3 { margin-top: .2rem; color: var(--text-strong); font-family: var(--font-display); font-size: 1.55rem; }
.shop-detail-content-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; list-style: none; }
.shop-detail-content-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: .75rem;
  align-items: center;
  min-width: 0;
  padding: .7rem;
  border: 1px solid rgba(79, 188, 173, .16);
  border-radius: 11px;
  background: rgba(3, 24, 21, .42);
}
.shop-detail-content-media { width: 58px; height: 58px; display: grid; place-items: center; overflow: hidden; border-radius: 9px; background: rgba(79, 188, 173, .09); color: var(--gold-300); }
.shop-detail-content-media img { width: 100%; height: 100%; object-fit: contain; padding: .2rem; }
.shop-detail-content-copy { min-width: 0; display: grid; gap: .22rem; }
.shop-detail-content-copy strong { color: var(--text-strong); }
.shop-detail-content-copy small { color: var(--text-muted); line-height: 1.4; }
.shop-detail-qty { color: var(--gold-300); }
.shop-detail-delivery { display: grid; grid-template-columns: 38px 1fr; gap: .8rem; margin-top: 1.2rem; padding: 1rem; border: 1px solid rgba(177, 221, 110, .2); border-radius: 11px; background: rgba(177, 221, 110, .06); }
.shop-detail-delivery > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(177, 221, 110, .13); color: #c9ef8e; font-weight: 900; }
.shop-detail-delivery strong { color: var(--text-strong); }
.shop-detail-delivery p { margin-top: .25rem; color: var(--text-muted); font-size: .88rem; line-height: 1.55; }
.shop-detail-modal-actions { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: .65rem; padding: 1rem clamp(1.25rem, 4vw, 2.4rem); border-top: 1px solid rgba(238, 192, 106, .16); background: rgba(5, 29, 26, .96); backdrop-filter: blur(8px); }

@media (max-width: 720px) {
  .shop-foot { align-items: stretch; flex-direction: column; }
  .shop-card-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .shop-card-actions .btn { width: 100%; }
  .shop-detail-layout { grid-template-columns: 1fr; }
  .shop-detail-art { min-height: 190px; }
  .shop-detail-content-list { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .shop-detail-modal-actions { flex-direction: column-reverse; }
  .shop-detail-modal-actions .btn { width: 100%; }
  .shop-card-actions { grid-template-columns: 1fr; }
}
.shop-hero-body {
  grid-template-columns: 1fr;
  align-items: center;
  min-height: 10rem;
  gap: 0;
  padding-bottom: 0;
}
.shop-hero-copy { gap: var(--space-2); max-width: 46rem; }
.shop-hero-copy .h-display {
  font-size: var(--type-page-title);
  line-height: 1.02;
  letter-spacing: 0;
}
.shop-hero-copy .lead { font-size: var(--type-body); line-height: 1.55; }
.shop-hero-action,
.shop-hero-mark { display: none; }
.shop-main { padding: var(--space-4) 0 var(--space-16); }
.shop-wrap { gap: var(--space-6); }
.shop-trustbar {
  display: flex;
  min-height: 2.75rem;
  margin: 0;
  border-radius: var(--radius);
  box-shadow: none;
}
.shop-trustbar > div {
  flex: 1;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
}
.shop-grid { gap: var(--grid-gap); }
.shop-card {
  padding: var(--card-space);
  border-radius: var(--radius);
  box-shadow: none;
}

@media (max-width: 720px) {
  .shop-hero { min-height: 9rem; padding-top: 4.625rem; }
  .shop-hero-titlebar { padding-bottom: var(--space-4); }
  .shop-hero-body { min-height: 9rem; padding-bottom: 0; }
  .shop-trustbar { overflow-x: auto; }
  .shop-trustbar > div { min-width: 13rem; flex: none; }
}

/* ---- catalogo compacto ---------------------------------------------------- */
.shop-wrap { gap: var(--space-4); }
.shop-trustbar {
  min-height: var(--control-height);
  background: rgba(8, 39, 33, .72);
}
.shop-trust-item {
  min-height: var(--control-height);
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
}
.shop-trust-icon {
  width: 1.5rem;
  height: 1.5rem;
  border: 0;
  border-radius: 0;
  background: none;
}
.shop-trust-icon svg { width: 1rem; height: 1rem; }
.shop-layout {
  grid-template-columns: 12.5rem minmax(0, 1fr);
  gap: var(--grid-gap);
}
.shop-side {
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius);
  box-shadow: none;
}
.shop-side-head { gap: var(--space-1); padding-bottom: var(--space-3); }
.shop-side-head strong {
  font-family: var(--font-body);
  font-size: var(--type-card-title);
}
.shop-nav { gap: 0; }
.shop-navlink {
  min-height: var(--control-height);
  padding: var(--space-2);
  border-radius: var(--radius);
  font-size: var(--type-body-small);
}
.shop-panel.is-active { gap: var(--space-4); }
.shop-panel-head {
  gap: var(--space-4);
  padding-bottom: var(--space-3);
}
.shop-panel-title {
  font-size: var(--type-section-title);
  line-height: 1.2;
}
.shop-panel-note {
  font-size: var(--type-body-small);
  line-height: 1.4;
}
.shop-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
}
.shop-card,
.shop-card--highlight,
.shop-panel[data-cat='ogrinas'] .shop-card:nth-child(2) {
  border-color: rgba(255, 212, 90, .12);
  border-radius: var(--radius);
  background: rgba(8, 39, 33, .8);
  box-shadow: none;
}
.shop-card:hover {
  transform: none;
  border-color: rgba(255, 212, 90, .28);
  box-shadow: none;
}
.shop-cover { aspect-ratio: 16 / 7; }
.shop-card-art::before {
  width: 4rem;
  height: 4rem;
  font-size: 1.75rem;
}
.shop-card-art--ogrinas::before {
  box-shadow: 2.2rem .5rem 0 -1rem rgba(212, 139, 18, .55), -2.2rem .75rem 0 -1.1rem rgba(255, 205, 64, .38);
}
.shop-cat { top: var(--space-2); left: var(--space-2); }
.shop-body { gap: var(--space-2); padding: var(--space-4); }
.shop-name {
  font-family: var(--font-body);
  font-size: var(--type-card-title);
  line-height: 1.25;
}
.shop-desc { font-size: var(--type-body-small); line-height: 1.45; }
.shop-foot { gap: var(--space-2); padding-top: var(--space-3); }
.shop-price { font-size: 1.25rem; }
.shop-panel[data-cat='ogrinas'] .shop-card:nth-child(2)::before {
  top: var(--space-2);
  right: var(--space-2);
  box-shadow: none;
}

@media (max-width: 820px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-side { position: static; }
  .shop-nav {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .shop-nav::-webkit-scrollbar { display: none; }
  .shop-navlink { flex: none; min-width: 8rem; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .shop-trustbar { overflow-x: auto; scrollbar-width: none; }
  .shop-trustbar::-webkit-scrollbar { display: none; }
  .shop-trust-item { min-width: 12rem; }
  .shop-panel-head { grid-template-columns: 1fr; }
  .shop-panel-note { justify-self: start; text-align: left; }
  .shop-grid { grid-template-columns: 1fr; }
}

/* Mantem o HTML ja carregado pelo servidor atual alinhado ao novo layout. */
.shop-hero-body,
.shop-trustbar,
.shop-panel-head { display: none; }

/* ==== painel VIP: vantagens + planos ====================================== */
.shop-panel--vip.is-active { gap: 2.25rem; }

/* bloco enxuto, sem gradiente/glow — combina com o resto do site */
.vip-benefits { display: grid; gap: .9rem; }

.vip-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.vip-chip {
  padding: .26rem .6rem;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 700;
  border: 1px solid rgba(238, 192, 106, .28);
  background: rgba(238, 192, 106, .06);
  color: var(--gold-300);
}

/* vantagens: lista simples em 2 colunas, ícone inline, sem caixas */
.vip-perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.vip-perk {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .55rem;
  align-items: start;
}
.vip-perk-ico { color: var(--gold-300); opacity: .85; margin-top: .1rem; }
.vip-perk-ico svg { display: block; width: 19px; height: 19px; }
.vip-perk-copy {
  font-size: .84rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.vip-perk-copy > strong { color: var(--text-strong); font-weight: 700; }

/* grupos de planos (Solo / Grupo) */
.vip-plans-group { display: grid; gap: 1.1rem; }
.vip-plans-head {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  flex-wrap: wrap;
  padding-bottom: .7rem;
  border-bottom: 1px solid rgba(238, 192, 106, .18);
}
.vip-plans-head > h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-strong);
}
.vip-plans-head > span { font-size: .9rem; color: var(--text-muted); }

/* 4 planos (durações) alinhados na mesma linha */
.shop-panel--vip .shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }

/* R$ e valor SEMPRE na mesma linha, sem quebrar */
.shop-price { white-space: nowrap; }
.shop-price.is-discounted { white-space: normal; }

/* card VIP mais compacto: preço e botões empilhados pra caber nos 4 */
.shop-panel--vip .shop-foot { flex-direction: column; align-items: stretch; gap: .8rem; }
.shop-panel--vip .shop-card-actions { display: grid; grid-template-columns: 1fr; gap: .5rem; }
.shop-panel--vip .shop-card-actions .btn { width: 100%; }

@media (max-width: 1120px) {
  .shop-panel--vip .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .vip-hero { grid-template-columns: 1fr; }
  .vip-compare { grid-template-columns: 1fr; }
  .vip-perks { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .shop-panel--vip .shop-grid { grid-template-columns: 1fr; }
}

/* sidebar de categorias maior e mais visível (vence a camada de tokens acima) */
.shop-side-head strong {
  font-family: var(--font-display);
  font-size: 1.42rem;
  line-height: 1.15;
  color: var(--text-strong);
}
.shop-navlink {
  min-height: 3.35rem;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--text);
}
.shop-navlink.is-active { color: var(--gold-300); }
.shop-navcount { font-size: .8rem; }
.shop-side-help { font-size: .95rem; }
@media (max-width: 820px) {
  .shop-navlink { min-width: 9rem; }
}

/* ==== painel Converter ===================================================== */
.shop-panel--convert.is-active { display: block; }
.convert-wrap { display: grid; gap: 1.5rem; max-width: 900px; }
.convert-head > h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--text-strong); margin: .2rem 0 .4rem; }
.convert-head > p { color: var(--text-muted); font-size: .92rem; line-height: 1.55; margin: 0 0 .55rem; max-width: 60ch; }
.convert-balance {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .85rem; border-radius: 999px;
  border: 1px solid rgba(255, 216, 92, .28); background: rgba(255, 216, 92, .07);
  color: var(--text) !important;
}
.convert-balance strong { color: var(--gold-300); font-family: var(--font-display); font-size: 1.1rem; }

/* moedas SVG */
.coin { flex: none; display: block; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .4)); }

/* duas colunas lado a lado; empilha no mobile */
.convert-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 720px) { .convert-cols { grid-template-columns: 1fr; } }

.convert-card {
  position: relative;
  display: grid; gap: .85rem; align-content: start;
  padding: 1.4rem;
  border: 1px solid rgba(79, 188, 173, .2);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(12, 49, 44, .96), rgba(7, 31, 28, .99));
  transition: opacity .18s ease, filter .18s ease;
}
.convert-card--send.is-active { border-color: rgba(255, 216, 92, .38); }
.convert-card.is-active { box-shadow: 0 0 0 1px rgba(255, 216, 92, .18), 0 10px 30px rgba(0, 0, 0, .35); }
/* lado travado: apagado, controles inertes, clique reativa (overlay) */
.convert-card.is-locked { opacity: .5; filter: saturate(.5); }
.convert-card.is-locked select,
.convert-card.is-locked input,
.convert-card.is-locked .btn { pointer-events: none; }
.convert-lock {
  position: absolute; inset: 0; border: 0; cursor: pointer;
  background: transparent; border-radius: inherit;
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 700; color: var(--gold-300); letter-spacing: .02em;
}
.convert-card.is-active .convert-lock { display: none; }
.convert-lock span {
  padding: .5rem .9rem; border-radius: 999px;
  background: rgba(7, 31, 28, .9); border: 1px solid rgba(255, 216, 92, .3);
}
.convert-flow {
  display: flex; align-items: center; gap: .55rem;
  padding: .55rem .75rem; width: fit-content;
  border-radius: 12px; background: rgba(0, 0, 0, .22);
}
.convert-flow .coin { width: 30px; height: 30px; }
.convert-arrow { color: var(--text-muted); }
.convert-card > h3 { font-size: 1.15rem; color: var(--text-strong); margin: 0; }
.convert-card > p { font-size: .85rem; color: var(--text-muted); line-height: 1.5; margin: 0; }

.convert-field { display: grid; gap: .35rem; }
.convert-field > span { font-size: .78rem; font-weight: 700; color: var(--text-muted); }
.convert-field select, .convert-field input {
  width: 100%; padding: .7rem .8rem;
  border: 1px solid rgba(79, 188, 173, .28); border-radius: 10px;
  background: rgba(0, 0, 0, .28); color: var(--text-strong); font: inherit;
}
.convert-field select:focus, .convert-field input:focus {
  outline: none; border-color: var(--gold-300);
  box-shadow: 0 0 0 3px rgba(255, 216, 92, .14);
}
/* valor com sufixo "ogrinas" embutido */
.convert-amount { position: relative; display: block; }
.convert-amount input { padding-right: 5rem; text-align: right; font-variant-numeric: tabular-nums; }
.convert-amount input::-webkit-outer-spin-button,
.convert-amount input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.convert-amount input[type=number] { -moz-appearance: textfield; }
.convert-amount-suf {
  position: absolute; right: .8rem; top: 50%; transform: translateY(-50%);
  font-size: .78rem; font-weight: 700; color: var(--text-muted); pointer-events: none;
}
.convert-field.is-invalid input { border-color: #ff9c7f; box-shadow: 0 0 0 3px rgba(255, 156, 127, .14); }

.convert-msg { font-size: .84rem; color: #ff9c7f; margin: 0; }
.convert-card .btn { justify-self: stretch; width: 100%; margin-top: .2rem; }
