/* Vitrine do Volta */
body:has(.market-home) {
  --market-bg: #16111f;
  --market-surface: #231a31;
  --market-border: #473653;
  --ink: #fff8f5;
  --muted: #cdbfd7;
  --line: var(--market-border);
  background: var(--market-bg);
  color: var(--ink);
}
.market-home {
  --market-violet: #241638;
  --market-gold: #ffc966;
}
body:has(.market-home) .top { background: #1b1427; border-color: var(--line); }
body:has(.market-home) .top .brand,
body:has(.market-home) .top .account { color: var(--ink); }
body:has(.market-home) .top .account { background: #362746; }
.market-home .card,
.market-home .search { background: var(--market-surface); }
.market-home .search { color: var(--ink); }
.market-home .btn.outline { background: #352642; color: var(--ink); }
.market-home .search::placeholder { color: var(--muted); }
.market-home .card-photo { background: #352642; }
.market-home .demo { color: var(--muted); }
.market-home :focus-visible,
body:has(.market-home) .top :focus-visible { outline-color: #ffc966; }
body:has(.market-home) dialog {
  --ink: #251c39;
  --muted: #625971;
  --line: #e9e3ef;
}
.top { border-bottom-color: #e9e2ed; }
.top-inner { min-height: 76px; }
.top .brand { color: #29193c; }
.top .account { background: #f0e7f7; color: #38204e; }
.market-hero {
  position: relative;
  isolation: isolate;
  border-radius: 30px;
  grid-template-columns: 1.08fr .92fr;
  min-height: 470px;
  background: var(--market-violet);
  box-shadow: 0 20px 56px #2818381c;
}
.market-hero .hero-copy { padding: clamp(28px, 5vw, 68px); z-index: 1; }
.market-hero h1 { font-size: clamp(46px, 7.4vw, 88px); line-height: .98; letter-spacing: -.075em; }
.market-hero h1 span { color: var(--market-gold); }
.market-hero .market-kicker { margin: 0 0 22px; color: var(--market-gold); font-weight: 700; font-size: 14px; letter-spacing: .06em; }
.market-hero h1 + p { margin: 22px 0 28px; font-size: clamp(16px, 1.65vw, 19px); }
.market-hero .hero-photo { position: relative; background-position: 50% 54%; }
.market-hero .hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #241638 0%, #24163835 24%, transparent 68%); }
.market-primary { background: var(--market-gold); color: #2c1a3c; padding-inline: 20px; }
.market-secondary { border: 1px solid #ffffff70; color: #fff; background: transparent; padding-inline: 20px; }
.market-section { margin-top: clamp(44px, 7vw, 82px); scroll-margin-top: 24px; }
.market-section h2,.market-merchant h2 { font-size: clamp(28px, 5vw, 47px); }
.market-section-head { align-items: end; margin-bottom: 20px; }
.market-section-head p { font-size: 16px; }
.market-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.market-filter {
  background: var(--market-surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  min-height: 42px;
  font-weight: 700;
  font-size: 14px;
}
.market-filter[aria-pressed=true] { background: var(--market-gold); color: #2c1a3c; border-color: var(--market-gold); }
.market-filter:hover:not([aria-pressed=true]) { background: #352642; }
.market-card { box-shadow: 0 8px 24px #2818380d; display: flex; flex-direction: column; }
.market-photo { position: relative; }
.market-card .card-photo { height: clamp(170px, 20vw, 230px); }
.market-card .card-body { display: flex; flex: 1; flex-direction: column; gap: 7px; }
.market-card h3 { font-size: clamp(21px, 2.2vw, 28px); }
.market-card .card-bottom { margin-top: auto; padding-top: 12px; }
.market-card .card-bottom .btn { white-space: nowrap; font-size: 14px; padding-inline: 12px; }
.market-card .card-bottom .muted { margin: 0; }
.market-category { color: #e0bbf7; font-size: 14px; font-weight: 800; }
.market-demo { position: absolute; top: 12px; right: 12px; background: #241638ee; color: white; border-radius: 999px; padding: 5px 9px; font-size: 13px; }
.market-empty { grid-column: 1/-1; padding: 18px 20px; background: var(--market-surface); border-radius: 14px; color: var(--muted); }
.market-home .reward-points { background: var(--market-gold); color: #2c1a3c; white-space: nowrap; }
.market-rewards { border-top: 1px solid var(--line); padding-top: 35px; }
.market-how article { border-top: 3px solid #bf9ad9; padding: 20px 18px 8px 0; }
.market-how h3 { font-size: 23px; }
.market-how p { color: var(--muted); margin: 8px 0; }
.market-merchant { margin-top: 55px; border: 1px solid var(--line); background: var(--market-violet); color: white; border-radius: 22px; padding: clamp(24px,5vw,48px); display: flex; gap: 18px; justify-content: space-between; align-items: center; }
.market-merchant p { margin: 6px 0 0; color: #e8def0; }
.market-merchant a { flex: none; }
@media(max-width:780px) {
  .market-hero { grid-template-columns: 1fr; min-height: 0; }
  .market-hero .hero-photo { min-height: 235px; }
  .market-hero .hero-photo::after { background: linear-gradient(180deg,#241638 0%,transparent 50%); }
  .market-section-head { align-items: start; }
}
@media(max-width:520px) {
  .market-section-head { flex-direction: column; gap: 12px; }
  .market-section-head .search { width: 100%; }
  .market-hero { border-radius: 22px; }
  .market-hero h1 { font-size: clamp(41px,12vw,60px); }
  .market-hero .hero-copy { padding: 29px 21px 18px; }
  .market-hero .hero-photo { min-height: 185px; }
  .market-home .grid { grid-template-columns: 1fr; }
  .market-merchant { align-items: start; flex-direction: column; }
}

.market-benefits article { padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: var(--market-surface); }
.market-benefits h3 { font-size: 23px; }
.market-benefits p { margin: 7px 0 0; color: var(--muted); }
.market-help { max-width: 760px; }
.market-help details { border-bottom: 1px solid var(--line); padding: 15px 3px; }
.market-help summary { cursor: pointer; font-weight: 700; }
.market-help details p { margin: 8px 0 0; color: var(--muted); }
.market-help .btn { margin-top: 18px; }
.market-merchant .actions { flex: 0 0 auto; }
@media(max-width:780px) { .market-merchant { align-items: start; flex-direction: column; } }
