/* Frosted Store — atualização visual e responsiva v4.0 */
:root {
  --nav-height: 76px;
  --surface-1: rgba(20, 23, 29, 0.94);
  --surface-2: rgba(27, 31, 39, 0.92);
  --surface-3: rgba(255, 255, 255, 0.055);
  --surface-border: rgba(255, 255, 255, 0.1);
  --surface-border-strong: rgba(92, 225, 253, 0.26);
  --page-width: 1240px;
}

body {
  background:
    radial-gradient(circle at 12% 5%, rgba(55, 164, 236, 0.1), transparent 28rem),
    var(--bg-dark);
}

body.nav-open,
body.modal-open { overflow: hidden; }

[hidden] { display: none !important; }

/* ==============================
   NAVBAR COMPARTILHADA
   ============================== */
.main-navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1100;
  height: var(--nav-height);
  padding: 10px 20px;
  background: transparent;
  border: 0;
  transition: padding .25s ease, background .25s ease, box-shadow .25s ease;
}

.main-navbar::before {
  content: '';
  position: absolute;
  inset: 8px max(14px, calc((100vw - var(--page-width)) / 2));
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: rgba(8, 10, 14, 0.72);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .25);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  transition: inset .25s ease, border-radius .25s ease, background .25s ease;
}

.main-navbar.scrolled { padding-top: 6px; padding-bottom: 6px; }
.main-navbar.scrolled::before {
  top: 4px;
  bottom: 4px;
  background: rgba(8, 10, 14, 0.92);
  box-shadow: 0 14px 42px rgba(0, 0, 0, .4);
}

.navbar-container {
  width: min(100%, var(--page-width));
  height: 100%;
  margin: 0 auto;
  padding: 0 26px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(92px, 1fr);
  align-items: center;
  gap: 20px;
}

.navbar-brand { min-width: 0; }
.navbar-brand .logo-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.navbar-brand .logo-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #061015;
  background: var(--gradient-primary);
  box-shadow: 0 8px 24px rgba(55, 164, 236, .28);
  transform: none;
}

.navbar-brand .logo-icon i { font-size: 1.05rem; }
.navbar-brand .logo-text { min-width: 0; }
.navbar-brand .logo-text h1 {
  margin: 0;
  font-size: .98rem;
  line-height: 1.15;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.navbar-brand .logo-text p {
  margin: 3px 0 0;
  font-size: .69rem;
  line-height: 1;
  color: var(--text-muted);
  white-space: nowrap;
}

.navbar-links {
  position: static;
  width: auto;
  height: auto;
  padding: 5px;
  display: flex;
  align-items: center;
  gap: 3px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  box-shadow: none;
  transform: none;
  opacity: 1;
  visibility: visible;
}

.nav-link {
  position: relative;
  min-height: 42px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  color: rgba(255,255,255,.72);
  font-size: .82rem;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
}
.nav-link i { font-size: .82rem; color: rgba(255,255,255,.46); transition: .2s ease; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.065); transform: none; }
.nav-link:hover i { color: var(--primary); }
.nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(92,225,253,.16), rgba(55,164,236,.12));
  box-shadow: inset 0 0 0 1px rgba(92,225,253,.2);
}
.nav-link.active i { color: var(--primary); }
.nav-link .nav-indicator { display: none; }

.navbar-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 9px;
}

.mobile-cart-button {
  position: relative;
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid rgba(92,225,253,.25);
  border-radius: 14px;
  color: #071318;
  background: var(--gradient-primary);
  box-shadow: 0 8px 22px rgba(55,164,236,.25);
}

.cart-count-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border: 2px solid #0a0a0a;
  border-radius: 999px;
  background: #ff9136;
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  line-height: 1;
}

.navbar-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  display: none;
  place-items: center;
  gap: 0;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.05);
}
.navbar-toggle .toggle-line {
  position: absolute;
  width: 19px;
  height: 2px;
  border-radius: 10px;
  background: #fff;
  transition: transform .25s ease, opacity .2s ease;
}
.navbar-toggle .toggle-line:nth-child(1) { transform: translateY(-6px); }
.navbar-toggle .toggle-line:nth-child(3) { transform: translateY(6px); }
.navbar-toggle.active .toggle-line:nth-child(1) { transform: rotate(45deg); }
.navbar-toggle.active .toggle-line:nth-child(2) { opacity: 0; }
.navbar-toggle.active .toggle-line:nth-child(3) { transform: rotate(-45deg); }

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: var(--gradient-primary);
  box-shadow: 0 0 12px rgba(92,225,253,.7);
}

/* Home adjustments */
.hero-section { padding-top: calc(var(--nav-height) + 36px); }
.section-sets { scroll-margin-top: calc(var(--nav-height) + 20px); }
.section-faq { scroll-margin-top: calc(var(--nav-height) + 20px); }
.particle {
  position: absolute;
  width: var(--particle-size);
  height: var(--particle-size);
  left: var(--particle-left);
  top: var(--particle-top);
  border-radius: 50%;
  background: rgba(92,225,253,.4);
  animation: float var(--particle-duration) var(--particle-delay) infinite ease-in-out;
}

.product-card--enter { opacity: 0; transform: translateY(14px); }
.product-card--enter.is-visible { opacity: 1; transform: translateY(0); transition: opacity .4s ease, transform .4s ease; }
.buy-btn-cart { cursor: pointer; }
.buy-btn-cart.added { transform: scale(.94); }

.products-status {
  grid-column: 1 / -1;
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: var(--text-muted);
  text-align: center;
}
.products-status i { font-size: 2rem; color: var(--primary); }
.products-status button,
.cart-stock-error button {
  padding: 10px 16px;
  border-radius: 10px;
  color: #061015;
  background: var(--gradient-primary);
  font-weight: 750;
}
.pagination-numbers { align-items: center; }
.pagination-page-wrapper,
.pagination-page-wrapper.custom-select-wrapper { width: auto; min-width: 0; flex: 0 0 auto; }
.pagination-page-select { width: auto; min-width: 0; }
.pagination-page-select .custom-select__trigger {
  width: auto;
  min-width: 138px;
  height: 48px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid rgba(255,255,255,.05);
  border-radius: var(--radius-md);
  color: var(--text-light);
  background: var(--bg-light);
  font-size: .82rem;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}
.pagination-page-select .custom-select__trigger:hover,
.pagination-page-select.open .custom-select__trigger { border-color: rgba(92,225,253,.35); color: var(--primary-light); }
.pagination-page-select .custom-select__label { width: auto; overflow: visible; text-overflow: clip; white-space: nowrap; }
.pagination-page-select .custom-select__arrow { margin-left: 0; }
.pagination-page-select .custom-select__dropdown {
  left: 50%;
  right: auto;
  width: max-content;
  min-width: 100%;
  max-height: 260px;
  overflow-x: hidden;
  overflow-y: auto;
  transform: translateX(-50%) translateY(-8px) scale(.98);
  scrollbar-width: thin;
  scrollbar-color: rgba(92,225,253,.25) transparent;
  z-index: 30;
}
.pagination-page-select.open .custom-select__dropdown { transform: translateX(-50%) translateY(0) scale(1); }
.pagination-page-select .custom-select__option {
  width: 100%;
  justify-content: center;
  border: 0;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}
.pagination-page-select .custom-select__dropdown::-webkit-scrollbar { width: 4px; }
.pagination-page-select .custom-select__dropdown::-webkit-scrollbar-thumb { border-radius: 10px; background: rgba(92,225,253,.25); }

/* ==============================
   PÁGINAS INTERNAS
   ============================== */
.inner-page {
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 28px);
}

.page-refresh-hero {
  position: relative;
  width: min(calc(100% - 32px), var(--page-width));
  margin: 20px auto 34px;
  padding: clamp(38px, 7vw, 76px) clamp(22px, 6vw, 72px);
  overflow: hidden;
  border: 1px solid var(--surface-border);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 10%, rgba(92,225,253,.2), transparent 19rem),
    linear-gradient(135deg, rgba(25,29,37,.98), rgba(12,14,19,.98));
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}
.page-refresh-hero::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  bottom: -150px;
  border-radius: 50%;
  background: rgba(55,164,236,.12);
  filter: blur(10px);
}
.page-refresh-hero > * { position: relative; z-index: 1; }
.page-refresh-badge {
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(92,225,253,.23);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(92,225,253,.075);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.page-refresh-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.page-refresh-hero p {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.68);
  font-size: clamp(.96rem, 2vw, 1.12rem);
}
.page-refresh-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.page-refresh-button {
  min-height: 46px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 13px;
  color: #fff;
  background: rgba(255,255,255,.055);
  font-size: .86rem;
  font-weight: 750;
}
.page-refresh-button.primary {
  color: #061015;
  border-color: transparent;
  background: var(--gradient-primary);
}
.page-refresh-button:hover { transform: translateY(-2px); }

/* Como comprar */
.purchase-page-content {
  width: min(calc(100% - 32px), 1100px);
  margin: 0 auto 80px;
}
.purchase-channels {
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.purchase-channel-card {
  min-height: 154px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
}
.purchase-channel-card:hover { border-color: var(--surface-border-strong); transform: translateY(-3px); }
.purchase-channel-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--primary);
  background: rgba(92,225,253,.1);
}
.purchase-channel-card h2 { margin: 0; font-size: 1rem; }
.purchase-channel-card p { margin: 6px 0 0; color: var(--text-muted); font-size: .82rem; }
.purchase-channel-card span { color: var(--primary); font-size: .76rem; font-weight: 750; }
.purchase-guide-intro {
  margin: 40px 0 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}
.purchase-guide-intro h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2.25rem); letter-spacing: -.035em; }
.purchase-guide-intro p { max-width: 520px; margin: 0; color: var(--text-muted); font-size: .9rem; }
.purchase-guide-list { display: grid; gap: 16px; }
.purchase-guide-card {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid var(--surface-border);
  border-radius: 22px;
  background: var(--surface-1);
}
.purchase-guide-number {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(92,225,253,.22);
  border-radius: 17px;
  color: var(--primary);
  background: rgba(92,225,253,.075);
  font-size: 1.15rem;
  font-weight: 850;
}
.purchase-guide-card h3 { margin: 0 0 7px; font-size: 1.15rem; }
.purchase-guide-card > div > p { margin: 0 0 15px; color: var(--text-muted); font-size: .87rem; }
.purchase-guide-card ol,
.purchase-guide-card ul { margin: 0; padding-left: 20px; color: rgba(255,255,255,.77); }
.purchase-guide-card li { margin: 8px 0; padding-left: 4px; }
.purchase-guide-card strong { color: #fff; }
.guide-note {
  margin-top: 18px;
  padding: 13px 15px;
  display: flex;
  gap: 10px;
  border: 1px solid rgba(92,225,253,.16);
  border-radius: 13px;
  color: rgba(255,255,255,.76);
  background: rgba(92,225,253,.055);
  font-size: .82rem;
}
.guide-note i { margin-top: 3px; color: var(--primary); }
.purchase-warning {
  margin-top: 24px;
  padding: 22px;
  display: flex;
  gap: 16px;
  border: 1px solid rgba(255,171,0,.2);
  border-radius: 20px;
  background: rgba(255,171,0,.055);
}
.purchase-warning i { color: var(--warning); font-size: 1.25rem; }
.purchase-warning h3 { margin: 0 0 5px; font-size: .96rem; }
.purchase-warning p { margin: 0; color: var(--text-muted); font-size: .84rem; }

/* Termos */
.terms-page-content {
  width: min(calc(100% - 32px), 1060px);
  margin: 0 auto 84px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.terms-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  padding: 18px;
  border: 1px solid var(--surface-border);
  border-radius: 19px;
  background: rgba(17,20,26,.9);
  backdrop-filter: blur(15px);
}
.terms-sidebar h2 { margin: 0 0 12px; font-size: .78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .09em; }
.terms-nav { display: grid; gap: 4px; }
.terms-nav a {
  padding: 9px 11px;
  border-radius: 10px;
  color: rgba(255,255,255,.58);
  font-size: .74rem;
  font-weight: 650;
}
.terms-nav a:hover,
.terms-nav a.active { color: #fff; background: rgba(92,225,253,.09); }
.terms-nav a.active { box-shadow: inset 2px 0 0 var(--primary); }
.terms-main { min-width: 0; }
.terms-intro-card {
  margin-bottom: 16px;
  padding: 22px;
  border: 1px solid rgba(92,225,253,.16);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(92,225,253,.075), rgba(255,255,255,.025));
  color: rgba(255,255,255,.76);
}
.terms-intro-card p { margin: 0; }
.terms-sections { display: grid; gap: 14px; }
.terms-section {
  position: relative;
  margin: 0;
  padding: clamp(22px, 4vw, 30px);
  border: 1px solid var(--surface-border);
  border-radius: 21px;
  background: var(--surface-1);
  scroll-margin-top: calc(var(--nav-height) + 18px);
  transition: border-color .2s ease, transform .2s ease;
}
.terms-section:hover { border-color: rgba(92,225,253,.18); }
.terms-section .section-number {
  position: static;
  width: fit-content;
  height: auto;
  margin-bottom: 13px;
  padding: 6px 9px;
  border: 1px solid rgba(92,225,253,.18);
  border-radius: 9px;
  color: var(--primary);
  background: rgba(92,225,253,.07);
  font-size: .66rem;
  line-height: 1;
  font-weight: 850;
}
.terms-section h3 { margin: 0 0 13px; font-size: 1.17rem; letter-spacing: -.02em; }
.terms-section p { margin: 0 0 13px; color: rgba(255,255,255,.67); font-size: .88rem; line-height: 1.78; }
.terms-section p:last-child { margin-bottom: 0; }
.terms-section ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.terms-section ul li { padding: 0; color: rgba(255,255,255,.7); font-size: .86rem; }
.terms-section ul li::before { display: none; }
.terms-section strong { color: #fff; }
.terms-final-cta {
  margin-top: 20px;
  padding: 28px;
  border: 1px solid var(--surface-border-strong);
  border-radius: 22px;
  background: radial-gradient(circle at 90% 0%, rgba(92,225,253,.15), transparent 16rem), var(--surface-1);
}
.terms-final-cta h2 { margin: 0 0 7px; font-size: 1.35rem; }
.terms-final-cta p { margin: 0 0 18px; color: var(--text-muted); }

/* ==============================
   CARRINHO NOVO
   ============================== */
.cart-body { background: radial-gradient(circle at 80% 4%, rgba(55,164,236,.11), transparent 28rem), #0a0a0a; }
.cart-page {
  width: min(calc(100% - 32px), 1440px);
  max-width: none;
  min-height: 100vh;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 36px) 0 82px;
}
.cart-hero {
  width: min(100%, 1060px);
  margin: 0 auto 22px;
  padding: clamp(26px, 5vw, 46px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--surface-border);
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 10%, rgba(92,225,253,.17), transparent 18rem),
    linear-gradient(140deg, rgba(27,31,39,.97), rgba(13,15,20,.97));
}
.cart-title { margin: 0; padding: 0; text-align: left; }
.cart-title .page-refresh-badge { margin-bottom: 13px; }
.cart-title h1 { margin: 0; font-size: clamp(1.9rem, 5vw, 3.4rem); letter-spacing: -.05em; }
.cart-title h1 i { color: var(--primary); font-size: .7em; }
.cart-title p { max-width: 620px; margin: 12px 0 0; color: var(--text-muted); font-size: .92rem; }
.cart-trust-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.cart-trust-list span {
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.04);
  font-size: .72rem;
  white-space: nowrap;
}
.cart-trust-list i { color: var(--primary); }
.cart-layout {
  width: min(100%, 1120px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.cart-panel,
.cart-checkout-card,
.cart-stock {
  border: 1px solid var(--surface-border);
  background: var(--surface-1);
  box-shadow: 0 16px 48px rgba(0,0,0,.2);
}
.cart-panel { width: min(100%, 980px); margin-inline: auto; overflow: hidden; border-radius: 22px; }
.cart-panel-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--surface-border);
}
.cart-panel-header h2 { margin: 0; font-size: 1rem; }
.cart-panel-header span { color: var(--text-muted); font-size: .75rem; }
.cart-items {
  max-height: 408px;
  min-height: 290px;
  padding: 8px;
  display: grid;
  gap: 8px;
  align-content: start;
  grid-auto-rows: max-content;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.cart-empty {
  min-height: 360px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cart-empty-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 17px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: var(--primary);
  font-size: 1.5rem;
}
.cart-empty-icon i {
  display: block;
  line-height: 1;
}
.cart-empty h2 { margin: 0; font-size: 1.15rem; }
.cart-empty p { margin: 7px 0 18px; color: var(--text-muted); font-size: .84rem; }
.cart-empty-action {
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 11px;
  color: #061015;
  background: var(--gradient-primary);
  font-size: .8rem;
  font-weight: 800;
}
.cart-item {
  min-height: 92px;
  padding: 10px;
  display: grid;
  grid-template-columns: 68px minmax(150px, 1fr) auto;
  align-items: center;
  gap: 15px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: rgba(255,255,255,.034);
}
.cart-item:hover { border-color: rgba(92,225,253,.13); background: rgba(255,255,255,.05); transform: none; }
.cart-thumb { width: 68px; height: 68px; overflow: visible; border-radius: 13px; background: transparent; }
.cart-item img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; background: transparent; }
.cart-info { min-width: 0; }
.cart-info h3 { margin: 0 0 5px; overflow: hidden; color: #fff; font-size: .93rem; text-overflow: ellipsis; white-space: nowrap; }
.cart-info span { color: var(--text-muted); font-size: .72rem; }
.cart-right { display: grid; grid-template-columns: auto minmax(90px, auto) 36px; align-items: center; gap: 12px; }
.cart-qty-wrap { height: 38px; padding: 3px; border-radius: 11px; }
.cart-qty-btn { width: 30px; height: 30px; border-radius: 8px; }
.cart-qty { width: 36px; height: 30px; font-size: .8rem; }
.cart-price-block { min-width: 90px; text-align: right; }
.cart-price-block small { display: block; font-size: .62rem; }
.cart-subtotal { font-size: .86rem; }
.cart-remove { width: 36px; height: 36px; border-radius: 10px; }
.cart-checkout-card {
  padding: 22px;
  border-radius: 22px;
}
.cart-checkout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cart-checkout-heading {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-checkout-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(92,225,253,.18);
  border-radius: 14px;
  color: var(--primary);
  background: rgba(92,225,253,.07);
  font-size: 1.05rem;
}
.cart-checkout-heading h2 { margin: 0; font-size: 1rem; }
.cart-checkout-heading p { margin: 4px 0 0; color: var(--text-muted); font-size: .72rem; }
.cart-continue-link {
  min-height: 40px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 11px;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.035);
  font-size: .74rem;
  font-weight: 700;
}
.cart-continue-link:hover { color: #fff; border-color: rgba(92,225,253,.2); background: rgba(92,225,253,.06); }
.cart-summary {
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(250px, .75fr) minmax(0, 2fr);
  gap: 14px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.cart-total {
  margin: 0;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(92,225,253,.16);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(92,225,253,.09), rgba(55,164,236,.035));
}
.cart-total-copy { min-width: 0; display: grid; gap: 4px; }
.cart-total span { color: rgba(255,255,255,.78); font-size: .76rem; font-weight: 700; }
.cart-total small { color: var(--text-muted); font-size: .67rem; }
.cart-total strong { flex: 0 0 auto; color: #fff; font-size: clamp(1.18rem, 2vw, 1.5rem); letter-spacing: -.035em; }
.cart-actions { display: grid; grid-template-columns: 1.35fr repeat(2, minmax(0, 1fr)); gap: 10px; }
.cart-btn {
  min-height: 58px;
  width: 100%;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  font-size: .78rem;
  font-weight: 750;
  text-align: center;
}
.cart-btn:hover { transform: translateY(-1px); }
.cart-btn i { font-size: .95rem; }
.btn-copy { color: #061015; border-color: transparent; background: var(--gradient-primary); }
.btn-discord { background: rgba(88,101,242,.16); color: #cfd4ff; }
.btn-whatsapp { background: rgba(37,211,102,.13); color: #a8f3c3; }
.btn-back { background: rgba(255,255,255,.035); color: rgba(255,255,255,.72); }
.cart-checkout-footer {
  margin-top: 14px;
  padding-top: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--surface-border);
  color: var(--text-muted);
  font-size: .67rem;
  line-height: 1.5;
}
.cart-checkout-footer span { flex: 0 0 auto; color: rgba(255,255,255,.72); font-weight: 700; }
.cart-checkout-footer p { margin: 0; text-align: right; }
.cart-checkout-footer i { color: var(--primary); margin-right: 5px; }
.cart-stock {
  width: min(100%, 1360px);
  margin: 18px auto 0;
  padding: 22px;
  border-radius: 22px;
}
.cart-stock-head { display: grid; gap: 15px; }
.cart-stock-title-row { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.cart-stock-title-row h2 { margin: 0; font-size: 1.15rem; }
.cart-stock-hint { margin: 4px 0 0; color: var(--text-muted); font-size: .77rem; }
.cart-stock-filters { margin: 0; display: grid; grid-template-columns: minmax(240px, 1fr) 180px 210px; gap: 10px; }
.cart-stock-search-wrap { width: 100%; }
.cart-stock-grid {
  max-height: 610px;
  margin-top: 18px;
  padding-right: 5px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.cart-stock-card {
  position: relative;
  min-width: 0;
  min-height: 88px;
  padding: 10px 42px 10px 10px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  border-radius: 14px;
}
.cart-stock-card img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.cart-stock-card-info { min-width: 0; }
.cart-stock-name {
  margin: 0 0 4px;
  display: -webkit-box;
  overflow: hidden;
  font-size: .72rem;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  line-clamp: 2;
}
.cart-stock-price { font-size: .67rem; }
.cart-stock-card .buy-btn-cart {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
}
.cart-stock-loading,
.cart-stock-error { grid-column: 1 / -1; min-height: 190px; display: grid; place-items: center; align-content: center; gap: 10px; color: var(--text-muted); text-align: center; }
.cart-stock-loading i,
.cart-stock-error i { color: var(--primary); font-size: 1.35rem; }
.cart-stock-empty { min-height: 180px; }

/* Footer date correction and shared spacing */
.main-footer { margin-top: 0; }
.back-to-top { z-index: 1050; }

.reveal-ready { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .navbar-container { grid-template-columns: minmax(190px, 1fr) auto 44px; gap: 12px; padding-inline: 18px; }
  .nav-link { padding-inline: 10px; }
  .nav-link span { font-size: .76rem; }
  .cart-stock-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 992px) {
  :root { --nav-height: 70px; }
  .main-navbar { padding: 8px 10px; }
  .main-navbar::before,
  .main-navbar.scrolled::before { inset: 5px 8px; border-radius: 18px; }
  .navbar-container { grid-template-columns: 1fr auto; padding-inline: 14px; }
  .navbar-brand .logo-icon { width: 40px; height: 40px; flex-basis: 40px; border-radius: 13px; }
  .navbar-links {
    position: absolute;
    top: calc(100% + 5px);
    left: 10px;
    right: 10px;
    width: auto;
    padding: 10px;
    display: grid;
    gap: 4px;
    border-radius: 17px;
    background: rgba(10,12,16,.98);
    box-shadow: 0 22px 60px rgba(0,0,0,.48);
    transform: translateY(-8px) scale(.985);
    transform-origin: top;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .navbar-links.active { transform: translateY(0) scale(1); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-link { min-height: 48px; padding: 0 14px; justify-content: flex-start; font-size: .86rem; }
  .nav-link span { font-size: inherit; }
  .desktop-cart-link { display: none; }
  .mobile-cart-button,
  .navbar-toggle { display: grid; }
  .navbar-actions { grid-column: 2; grid-row: 1; }

  .purchase-channels { grid-template-columns: 1fr; }
  .purchase-channel-card { min-height: auto; }
  .purchase-guide-intro { align-items: flex-start; flex-direction: column; }
  .terms-page-content { grid-template-columns: 1fr; }
  .terms-sidebar { position: static; }
  .terms-nav { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { grid-template-columns: 1fr; }
  .cart-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cart-stock-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cart-stock-filters { grid-template-columns: 1fr 1fr; }
  .cart-stock-search-wrap { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .navbar-brand .logo-text p { display: none; }
  .navbar-brand .logo-text h1 { font-size: .9rem; }
  .page-refresh-hero { width: min(calc(100% - 20px), var(--page-width)); margin-top: 12px; border-radius: 23px; }
  .purchase-page-content,
  .terms-page-content,
  .cart-page { width: min(calc(100% - 20px), 100%); }
  .page-refresh-actions { display: grid; }
  .page-refresh-button { width: 100%; }
  .purchase-guide-card { grid-template-columns: 1fr; gap: 14px; }
  .purchase-guide-number { width: 48px; height: 48px; border-radius: 14px; }
  .terms-nav { grid-template-columns: 1fr; }
  .terms-sidebar { padding: 14px; }

  .cart-hero { align-items: flex-start; flex-direction: column; border-radius: 22px; }
  .cart-trust-list { justify-content: flex-start; }
  .cart-items { max-height: 500px; }
  .cart-item { grid-template-columns: 68px minmax(0,1fr); align-items: start; }
  .cart-thumb { width: 68px; height: 68px; }
  .cart-right { grid-column: 1 / -1; grid-template-columns: auto 1fr 36px; width: 100%; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.065); }
  .cart-price-block { text-align: left; }
  .cart-stock { padding: 15px; }
  .cart-stock-title-row { align-items: flex-start; flex-direction: column; }
  .cart-stock-filters { grid-template-columns: 1fr; }
  .cart-stock-search-wrap { grid-column: auto; }
  .cart-checkout-head { align-items: stretch; flex-direction: column; }
  .cart-continue-link { width: 100%; }
  .cart-summary { grid-template-columns: 1fr; }
  .cart-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-actions .btn-copy { grid-column: 1 / -1; }
  .cart-checkout-footer { align-items: flex-start; flex-direction: column; }
  .cart-checkout-footer p { text-align: left; }
  .cart-stock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 660px; gap: 8px; }
  .cart-stock-card { min-height: 166px; padding: 10px; grid-template-columns: 1fr; align-content: start; text-align: center; }
  .cart-stock-card img { width: 70px; height: 70px; margin: 0 auto; }
  .cart-stock-card-info { width: 100%; }
  .cart-stock-name { min-height: 2.56em; margin-bottom: 3px; }
  .cart-stock-card .buy-btn-cart { position: static; width: 100%; height: 36px; margin-top: auto; }
}

@media (max-width: 420px) {
  .main-navbar { padding-inline: 5px; }
  .main-navbar::before,
  .main-navbar.scrolled::before { inset-inline: 4px; }
  .navbar-container { padding-inline: 10px; }
  .navbar-brand .logo-wrapper { gap: 8px; }
  .navbar-brand .logo-icon { width: 36px; height: 36px; flex-basis: 36px; }
  .mobile-cart-button,
  .navbar-toggle { width: 40px; height: 40px; border-radius: 12px; }
  .cart-page { padding-top: calc(var(--nav-height) + 20px); }
  .cart-panel-header { padding: 15px; }
  .cart-items { padding: 7px; }
  .cart-item { padding: 10px; }
  .cart-checkout-card { padding: 17px; }
}

@media (max-width: 480px) {
  .pagination-page-select .custom-select__trigger { min-width: 116px; height: 38px; padding-inline: 10px; font-size: .74rem; }
}

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

/* Static content pages: Como Comprar and Termos do not animate on scroll. */
.static-content-page [data-reveal],
.static-content-page .feature-card,
.static-content-page .simple-step,
.static-content-page .terms-section,
.static-content-page .reveal-ready,
.static-content-page .reveal-visible {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

/* Atendimento pelo site */
.cart-actions { grid-template-columns: 1.45fr repeat(3, minmax(0, 1fr)); }
.btn-site-chat {
  color: #061015;
  border-color: transparent;
  background: var(--gradient-primary);
  box-shadow: 0 10px 28px rgba(55,164,236,.16);
}
.btn-copy {
  color: rgba(255,255,255,.8);
  border-color: rgba(255,255,255,.09);
  background: rgba(255,255,255,.045);
}
@media (max-width: 900px) {
  .cart-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .cart-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-actions .btn-site-chat { grid-column: 1 / -1; }
  .cart-actions .btn-copy { grid-column: auto; }
}
.buy-modal__btn.site {
  flex-basis: 100%;
  color: #061015;
  border-color: transparent;
  background: var(--gradient-primary);
}


/* Frosted FTF — Tickets premium e correção dos botões do carrinho (v50) */
.nav-link.tickets-premium-link {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(92, 225, 253, .16);
  background: linear-gradient(135deg, rgba(92, 225, 253, .08), rgba(151, 184, 255, .055));
}
.nav-link.tickets-premium-link::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0;
  background: linear-gradient(110deg, transparent 18%, rgba(255,255,255,.11) 48%, transparent 78%);
  transform: translateX(-110%);
  transition: opacity .25s ease, transform .55s ease;
  content: '';
}
.nav-link.tickets-premium-link:hover::before,
.nav-link.tickets-premium-link.active::before {
  opacity: 1;
  transform: translateX(110%);
}
.nav-link.tickets-premium-link i,
.nav-link.tickets-premium-link span { position: relative; z-index: 1; }
.nav-link.tickets-premium-link i { color: var(--primary); }
.nav-link.tickets-premium-link.active {
  color: #eafcff;
  border-color: rgba(92,225,253,.28);
  background: linear-gradient(135deg, rgba(55,164,236,.2), rgba(92,225,253,.095));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025), 0 8px 24px rgba(55,164,236,.11);
}

@media (min-width: 901px) {
  .cart-summary {
    grid-template-columns: minmax(280px, .72fr) minmax(0, 2.28fr);
    gap: 16px;
  }
  .cart-actions {
    min-width: 0;
    grid-template-columns: minmax(210px, 1.32fr) repeat(3, minmax(145px, 1fr));
    gap: 12px;
  }
  .cart-actions .cart-btn {
    min-width: 0;
    padding-inline: 16px;
    white-space: nowrap;
  }
  .cart-actions .cart-btn span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (min-width: 901px) and (max-width: 1150px) {
  .cart-summary { grid-template-columns: 1fr; }
  .cart-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}


/* V91 — Safari/iOS: centraliza o ícone do botão do menu sem alterar Android/desktop. */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 992px) {
    .navbar-toggle {
      position: relative;
      display: grid;
      align-items: center;
      justify-items: center;
    }

    .navbar-toggle .toggle-line {
      top: 50%;
      left: 50%;
      margin: 0;
      transform-origin: center center;
    }

    .navbar-toggle .toggle-line:nth-child(1) {
      transform: translate(-50%, calc(-50% - 6px));
    }

    .navbar-toggle .toggle-line:nth-child(2) {
      transform: translate(-50%, -50%);
    }

    .navbar-toggle .toggle-line:nth-child(3) {
      transform: translate(-50%, calc(-50% + 6px));
    }

    .navbar-toggle.active .toggle-line:nth-child(1) {
      transform: translate(-50%, -50%) rotate(45deg);
    }

    .navbar-toggle.active .toggle-line:nth-child(2) {
      transform: translate(-50%, -50%);
      opacity: 0;
    }

    .navbar-toggle.active .toggle-line:nth-child(3) {
      transform: translate(-50%, -50%) rotate(-45deg);
    }
  }
}

/* V92 — SEO semântico e acessibilidade, sem alterar a aba do carrinho. */
.logo-text .logo-name {
  display: block;
  margin: 0 0 .2rem;
  font-size: 1.4rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
}
.navbar-brand .logo-text .logo-name {
  margin: 0;
  font-size: .98rem;
  line-height: 1.15;
  letter-spacing: -.02em;
  white-space: nowrap;
}

/* O carrinho mantém exatamente a aparência da V91. */
body:not(.cart-body) {
  --text-dark: rgba(255, 255, 255, 0.55);
}
.composer-note {
  color: var(--chat-muted);
  font-size: .6875rem;
}
.staff-list-time,
.staff-ticket-stat > small {
  color: var(--chat-muted);
  font-size: .6875rem;
}

@media (max-width: 680px) {
  .navbar-brand .logo-text .logo-name { font-size: .9rem; }
}
@media (max-width: 480px) {
  .logo-text .logo-name { font-size: 1.2rem; }
}
