/* =========================================================================
   AMBROZINIANO STOREFRONT — ESTRUTURA & DESIGN SYSTEM ALEMANHA RP
   Compatível com Motor de Temas Multi-Tenant (--primary, --secondary, etc.)
   ========================================================================= */

:root {
  --bg-dark: #0a0712;
  --bg-card: #130e1f;
  --primary: #e81cff;
  --secondary: #ff8a4c;
  --accent: #2de2e6;
  --gold: #fbbf24;
  --text-main: #fafafa;
  --text-muted: #b8adc9;
  --border-color: rgba(255, 255, 255, 0.09);
  --surface-tint: rgba(255, 255, 255, 0.03);
  --nav-bg: rgba(10, 7, 18, 0.84);
  --input-bg: rgba(255, 255, 255, 0.05);
  --font-main: 'Geist', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Kanit', 'Geist', sans-serif;
  --radius-lg: 0.7rem;
  --radius-md: 0.6rem;
}

body[data-theme-mode="light"] {
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-color: rgba(15, 23, 42, 0.12);
  --surface-tint: rgba(15, 23, 42, 0.04);
  --nav-bg: rgba(255, 255, 255, 0.88);
  --input-bg: #f1f5f9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.hidden {
  display: none !important;
}

.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;
}

.text-primary {
  color: var(--primary);
}

.font-semibold {
  font-weight: 600;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-xs { width: 14px; height: 14px; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; flex-shrink: 0; }
.icon-md { width: 20px; height: 20px; flex-shrink: 0; }

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* =========================================================================
   AMBIENT BACKGROUND & MASKED HERO IMAGE
   ========================================================================= */
.ambient-layer {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  pointer-events: none;
}

.ambient-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(110px);
}

.ambient-orb-left {
  width: 34rem;
  height: 34rem;
  top: -12rem;
  left: -6rem;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 26%, transparent), transparent 70%);
}

.ambient-orb-right {
  width: 44rem;
  height: 44rem;
  top: -15rem;
  right: 2rem;
  background: radial-gradient(circle, color-mix(in srgb, var(--secondary) 24%, transparent), color-mix(in srgb, var(--primary) 12%, transparent) 45%, transparent 72%);
}

.hero-banner-bg.custom-bg-mask {
  position: fixed;
  inset: 0;
  z-index: -20;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.12) 45%, transparent 85%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.12) 45%, transparent 85%);
  transition: opacity 0.4s ease;
}

/* =========================================================================
   TOP ANNOUNCEMENT / COUPON BAR (Estilo Alemanha RP)
   ========================================================================= */
#top-announce {
  width: 100%;
  min-height: 44px;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 30;
  background: linear-gradient(90deg, #000000 0%, color-mix(in srgb, var(--primary) 32%, #000000) 50%, #000000 100%);
  border-bottom: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.top-announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.coupon-icon-wrap {
  display: inline-flex;
  align-items: center;
  color: color-mix(in srgb, var(--primary) 70%, #ffffff);
}

.coupon-copy {
  text-transform: uppercase;
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.coupon-code-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.coupon-code-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  border: 2px solid var(--primary);
  opacity: 0;
  pointer-events: none;
  animation: coupon-ripple 3.2s ease-out infinite;
}

.coupon-code {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--primary);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 0 14px color-mix(in srgb, var(--primary) 45%, transparent);
  animation: coupon-press 3.2s ease-in-out infinite;
  transition: background-color 0.2s ease;
}

.coupon-code::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  animation: coupon-shine 3.2s ease-in-out infinite;
}

.coupon-code-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.coupon-icon-check,
#top-announce.is-copied .coupon-icon-copy {
  display: none;
}

#top-announce.is-copied .coupon-icon-check {
  display: block;
}

#top-announce.is-copied .coupon-code {
  background: #16a34a;
  animation: none;
}

.coupon-tap-hand {
  position: absolute;
  right: -7px;
  bottom: -11px;
  z-index: 2;
  display: inline-flex;
  pointer-events: none;
  opacity: 0;
  animation: coupon-hand 3.2s ease-in-out infinite;
  will-change: transform, opacity;
}

.coupon-tap-hand-icon {
  width: 16px;
  height: 16px;
  color: #ffffff;
  fill: rgba(0, 0, 0, 0.78);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.85));
}

#top-announce.is-copied .coupon-tap-hand,
#top-announce.is-copied .coupon-code-wrap::before,
#top-announce.is-copied .coupon-code::after {
  animation: none;
  opacity: 0;
}

.coupon-mobile { display: none; }
.coupon-sep {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

@keyframes coupon-hand {
  0%, 30%   { opacity: 0; transform: translate(10px, 10px) scale(1); }
  45%       { opacity: 1; transform: translate(0, 0) scale(1); }
  52%       { opacity: 1; transform: translate(0, 0) scale(0.8); }
  60%       { opacity: 1; transform: translate(0, 0) scale(1); }
  75%       { opacity: 1; transform: translate(0, 0) scale(1); }
  88%, 100% { opacity: 0; transform: translate(10px, 10px) scale(1); }
}

@keyframes coupon-press {
  0%, 49%, 58%, 100% { transform: scale(1); }
  52% { transform: scale(0.93); }
}

@keyframes coupon-ripple {
  0%, 51% { opacity: 0; transform: scale(1); }
  53%     { opacity: 0.9; transform: scale(1); }
  80%, 100% { opacity: 0; transform: scale(1.25, 1.55); }
}

@keyframes coupon-shine {
  0%, 55% { left: -60%; }
  80%, 100% { left: 130%; }
}

/* =========================================================================
   STICKY GLASS HEADER / NAVBAR
   ========================================================================= */
.store-navbar {
  position: sticky;
  top: 0;
  z-index: 25;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
}

.navbar-container {
  max-width: 1536px;
  margin: 0 auto;
}

.navbar-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-logo-wrap {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--primary) 35%, transparent);
}

.brand-logo-wrap.has-logo-img {
  width: auto;
  height: 44px;
  max-width: 140px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.brand-logo-wrap img {
  width: auto;
  height: 100%;
  max-width: 140px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px color-mix(in srgb, var(--primary) 45%, transparent));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.brand:hover .brand-logo-wrap img {
  transform: scale(1.04);
  filter: drop-shadow(0 2px 14px color-mix(in srgb, var(--primary) 70%, transparent));
}

.brand-icon {
  font-size: 18px;
}

.brand-text h1 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.badge-online {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  color: #4ade80;
  letter-spacing: 0.02em;
}

/* Inline Header Search */
.header-search-wrap {
  position: relative;
  flex-shrink: 0;
}

.header-search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  pointer-events: none;
}

.header-search-input {
  width: 240px;
  height: 36px;
  padding: 0 12px 0 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-size: 13px;
  transition: all 0.2s ease;
}

.header-search-input::placeholder {
  color: var(--text-muted);
}

.header-search-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 20%, transparent);
}

.header-search-input.mobile {
  width: 100%;
  height: 40px;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 360px;
  max-width: 92vw;
  max-height: 380px;
  overflow-y: auto;
  background: #101013;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.75);
  z-index: 60;
  padding: 6px;
}

.search-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
  text-decoration: none;
  color: inherit;
}

.search-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.search-dropdown-item img {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.search-dropdown-meta {
  flex: 1;
  min-width: 0;
}

.search-dropdown-title {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-dropdown-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}

.search-dropdown-empty {
  padding: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.mobile-search-box {
  position: relative;
  margin-top: 10px;
}

/* =========================================================================
   TOP 3 DONATORS PODIUM (Centro do Header — Estilo Alemanha RP)
   ========================================================================= */
.top-donators-shell {
  margin: 0 auto;
}

.top-donators {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.donator-card {
  --ring: linear-gradient(140deg, #fde68a 0%, #f59e0b 45%, #92400e 100%);
  --d-accent: #fbbf24;
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 11px 4px 5px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: default;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.donator-card:hover {
  background: rgba(255, 255, 255, 0.04);
}

.donator-card--1 {
  background: linear-gradient(120deg, color-mix(in srgb, var(--primary) 30%, transparent) 0%, color-mix(in srgb, var(--primary) 8%, transparent) 65%, transparent 100%);
  border-color: color-mix(in srgb, var(--primary) 35%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 18px color-mix(in srgb, var(--primary) 18%, transparent);
}

.donator-card--2 {
  --ring: linear-gradient(140deg, #f8fafc 0%, #a8b3c4 50%, #475569 100%);
  --d-accent: #cbd5e1;
}

.donator-card--3 {
  --ring: linear-gradient(140deg, #f3c9a5 0%, #b87333 50%, #5c2e14 100%);
  --d-accent: #d4915a;
}

.donator-avatar {
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  padding: 2px;
  border-radius: 9999px;
  background: var(--ring);
}

.donator-card--1 .donator-avatar {
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.35);
}

.donator-avatar-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 9999px;
  background: radial-gradient(circle at 30% 25%, #2a2a30, #121215);
  box-shadow: 0 0 0 2px #0b0b0d;
  color: var(--d-accent);
  font-size: 12px;
  font-weight: 800;
}

.donator-position {
  position: absolute;
  right: -4px;
  bottom: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 9999px;
  border: 1.5px solid #0b0b0d;
  background: var(--ring);
  color: #111113;
  font-size: 9.5px;
  font-weight: 800;
  line-height: 13px;
  text-align: center;
}

.donator-card--3 .donator-position {
  color: #ffffff;
}

.donator-crown {
  position: absolute;
  top: -9px;
  left: 50%;
  width: 13px;
  height: 13px;
  transform: translateX(-50%) rotate(-12deg);
  color: #fbbf24;
  fill: #fbbf24;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.7));
}

.donator-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.donator-name {
  max-width: 84px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

.donator-meta {
  margin-top: 2px;
  color: var(--d-accent);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Header Right Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.btn-header-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-header-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  cursor: pointer;
}

.btn-header-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  background: #5865f2;
  color: #ffffff;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-header-discord:hover {
  background: #4752c4;
  transform: translateY(-1px);
}

.btn-header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(100deg, var(--primary), color-mix(in srgb, var(--secondary) 75%, var(--primary)));
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--primary) 38%, transparent);
}

.btn-header-cart:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 9999px;
  background: #ffffff;
  color: #09090b;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-dark);
}

.only-mobile {
  display: none;
}

/* =========================================================================
   MAIN STORE SHELL (SIDEBAR FIXA + CONTEÚDO PRINCIPAL)
   ========================================================================= */
.store-main {
  flex: 1;
  width: 100%;
}

.store-shell {
  max-width: 1536px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  position: relative;
}

/* Desktop Sticky Sidebar */
.store-sidebar-col {
  width: 256px;
  flex-shrink: 0;
  position: sticky;
  top: 82px;
  z-index: 15;
}

.sidebar-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  max-height: calc(100vh - 106px);
  overflow-y: auto;
}

.sidebar-header {
  padding: 6px 10px 8px;
  margin-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-cat-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
}

.sidebar-cat-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.sidebar-cat-btn.active {
  background: color-mix(in srgb, var(--primary) 22%, transparent);
  border-color: color-mix(in srgb, var(--primary) 50%, transparent);
  color: #ffffff;
  box-shadow: 0 0 18px color-mix(in srgb, var(--primary) 20%, transparent);
}

.sidebar-count {
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  flex-shrink: 0;
}

.sidebar-cat-btn.active .sidebar-count {
  background: var(--primary);
  color: #ffffff;
}

.sidebar-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 4px;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.18s ease;
}

.sidebar-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.sidebar-f8-box {
  margin-top: 6px;
  width: 100%;
  padding: 10px 11px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sidebar-f8-box:hover {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, rgba(0, 0, 0, 0.4));
}

.sidebar-f8-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.sidebar-f8-box code {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile Category Selector */
.mobile-cat-wrap {
  display: none;
  width: 100%;
  position: relative;
}

.mobile-cat-btn {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.mobile-cat-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-cat-chevron {
  transition: transform 0.2s ease;
}

.mobile-cat-btn[data-state="open"] .mobile-cat-chevron {
  transform: rotate(180deg);
}

.mobile-cat-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(14, 14, 17, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.75);
  display: none;
  flex-direction: column;
  gap: 4px;
}

.mobile-cat-dropdown[data-state="open"] {
  display: flex;
}

.mobile-cat-item {
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.mobile-cat-item:hover,
.mobile-cat-item.active {
  background: color-mix(in srgb, var(--primary) 22%, transparent);
  color: #ffffff;
}

/* =========================================================================
   COLUNA PRINCIPAL: HERO COMPACTO + CATEGORIAS + CARDS PFX
   ========================================================================= */
.store-content-col {
  flex: 1;
  min-width: 0;
}

.store-hero-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 24px;
  margin-bottom: 28px;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 12% 50%, color-mix(in srgb, var(--primary) 22%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, color-mix(in srgb, var(--secondary) 18%, transparent) 0%, transparent 50%),
    linear-gradient(135deg, rgba(25, 14, 42, 0.85) 0%, rgba(14, 10, 24, 0.78) 100%);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, rgba(255, 255, 255, 0.1));
  box-shadow: 0 16px 40px -16px color-mix(in srgb, var(--primary) 35%, rgba(0, 0, 0, 0.6));
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
}

.hero-compact-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-city-logo {
  height: 82px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 22px color-mix(in srgb, var(--primary) 50%, transparent));
  transition: transform 0.25s ease;
}

.store-hero-compact:hover .hero-city-logo {
  transform: scale(1.03);
}

.hero-compact-left {
  flex: 1;
  min-width: 240px;
}

.hero-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
  color: color-mix(in srgb, var(--primary) 55%, #ffffff);
  margin-bottom: 8px;
}

.store-hero-compact h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 6px;
}

.store-hero-compact p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 620px;
}

.hero-compact-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 15%, transparent);
}

.trust-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 9px;
  border-radius: 6px;
}

.trust-pill i,
.trust-pill svg {
  color: var(--primary);
}

/* Categorized Sections Stack */
.categories-stack {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.cat-section-block {
  display: flex;
  flex-direction: column;
}

.cat-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--primary) 20%, transparent);
  border: 2px solid var(--primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffffff;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 24px color-mix(in srgb, var(--primary) 18%, transparent);
}

/* Responsive Product Grid (2 / 3 / 4 colunas — Alemanha RP) */
.package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

/* =========================================================================
   PRODUCT CARD (.package.pfx — Efeitos Spotlight, Shine & Launch Badge)
   ========================================================================= */
.package.pfx {
  --pfx-c: var(--primary);
  --pfx-t: #ffffff;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.package.pfx:hover {
  transform: scale(1.02);
  border-color: var(--pfx-c);
  box-shadow:
    0 18px 40px -18px color-mix(in srgb, var(--pfx-c) 75%, transparent),
    0 0 24px -8px color-mix(in srgb, var(--pfx-c) 60%, transparent);
}

/* Mouse Spotlight */
.pfx-spot {
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  background: radial-gradient(
    240px circle at var(--pfx-x, 50%) var(--pfx-y, 30%),
    color-mix(in srgb, var(--pfx-c) 40%, transparent),
    transparent 65%
  );
  transition: opacity 0.3s ease;
}

.package.pfx:hover .pfx-spot {
  opacity: 1;
}

/* Featured / Launch Card Variant */
.package.pfx-launch {
  overflow: visible;
  border-color: var(--pfx-c);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--pfx-c) 35%, transparent),
    0 12px 32px -14px color-mix(in srgb, var(--pfx-c) 70%, transparent);
  animation: pfx-launch-glow 2.8s ease-in-out infinite;
}

.package.pfx-launch:hover {
  animation: none;
}

.package.pfx-launch .pfx-cover {
  border-radius: calc(var(--radius-lg) - 2px) calc(var(--radius-lg) - 2px) 0 0;
  border-bottom-color: color-mix(in srgb, var(--pfx-c) 70%, transparent);
}

@keyframes pfx-launch-glow {
  0%, 100% {
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--pfx-c) 35%, transparent),
      0 12px 32px -14px color-mix(in srgb, var(--pfx-c) 70%, transparent);
  }
  50% {
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--pfx-c) 55%, transparent),
      0 0 26px -4px color-mix(in srgb, var(--pfx-c) 65%, transparent);
  }
}

/* Floating Centered Top Badge */
.pfx-badge {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  transform: translate(-50%, -50%);
  padding: 3px 11px 3px 9px;
  border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--pfx-c) 55%, #ffffff);
  background: linear-gradient(180deg, color-mix(in srgb, var(--pfx-c) 78%, #ffffff), var(--pfx-c) 55%, color-mix(in srgb, var(--pfx-c) 80%, #000000));
  box-shadow:
    0 0 18px color-mix(in srgb, var(--pfx-c) 75%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  color: var(--pfx-t);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  pointer-events: none;
}

.pfx-badge::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: translateX(-160%) skewX(-20deg);
  animation: pfx-badge-shine 3.6s ease-in-out infinite;
}

.pfx-badge-fire {
  display: inline-block;
  font-size: 11px;
  animation: pfx-fire 1.6s ease-in-out infinite;
}

@keyframes pfx-badge-shine {
  0%, 60% { transform: translateX(-160%) skewX(-20deg); }
  85%, 100% { transform: translateX(320%) skewX(-20deg); }
}

@keyframes pfx-fire {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.15) rotate(-6deg); }
}

/* Cover & Diagonal Shine Sweep */
.pfx-cover {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 16 / 10;
  background: #070709;
}

.pfx-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.package.pfx:hover .pfx-cover img {
  transform: scale(1.05);
}

.package-shine {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}

.package-shine::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 0;
  width: 45%;
  height: 140%;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 30%,
    color-mix(in srgb, var(--pfx-c, #ffffff) 45%, rgba(255, 255, 255, 0.55)) 50%,
    rgba(255, 255, 255, 0.08) 70%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-160%) skewX(-18deg);
  opacity: 0;
}

.package.pfx:hover .package-shine::before {
  opacity: 1;
  animation: package-shine-sweep 0.85s ease-out forwards;
}

@keyframes package-shine-sweep {
  from { transform: translateX(-160%) skewX(-18deg); }
  to { transform: translateX(330%) skewX(-18deg); }
}

.pfx-duration-chip {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 7;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(9, 9, 11, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
}

/* Card Body */
.pfx-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pfx-title {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.28;
  margin-bottom: 6px;
  min-height: 2.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pfx-features {
  list-style: none;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pfx-features li {
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pfx-features li::before {
  content: '•';
  color: var(--primary);
  font-weight: 900;
}

.pfx-price-row {
  margin-top: auto;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
}

.pfx-discount-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
  flex-wrap: wrap;
}

.pfx-old-price {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
  line-height: 1;
}

.pfx-discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 19px;
  padding: 0 5px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--primary) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  color: color-mix(in srgb, var(--primary) 75%, #ffffff);
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.pfx-final-price {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #ffffff;
}

body[data-theme-mode="light"] .pfx-final-price {
  color: var(--text-main);
}

.pfx-pix-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.pfx-pix-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(50, 188, 173, 0.15);
  border: 1px solid rgba(50, 188, 173, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #32bcad;
}

/* Card Buttons */
.pfx-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-buy {
  flex: 1;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  border: none;
  background: linear-gradient(100deg, var(--primary), color-mix(in srgb, var(--secondary) 70%, var(--primary)));
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-buy:hover {
  filter: brightness(1.12);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--primary) 42%, transparent);
}

.btn-add-cart {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.btn-add-cart:hover {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 18%, transparent);
  color: #ffffff;
}

/* Admin Card Controls */
.card-admin-bar {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
}

.btn-card-mini {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-card-mini:hover {
  border-color: var(--primary);
}

.btn-card-mini.danger:hover {
  border-color: #ef4444;
  color: #fca5a5;
}

/* =========================================================================
   SEÇÕES INFORMATIVAS (COMO JOGAR + FAQ)
   ========================================================================= */
.site-section {
  padding: 56px 24px;
  border-top: 1px solid var(--border-color);
}

.section-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.section-head-pill {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.section-head-pill p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.6;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 22px;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.step-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.step-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.step-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 16px 20px;
}

.faq-item summary {
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--primary);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================================================================
   TWO-TIER FOOTER (Estilo Alemanha RP)
   ========================================================================= */
.store-footer {
  margin-top: auto;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(14px);
  position: relative;
  z-index: 10;
}

.footer-top {
  padding: 28px 24px;
  border-top: 1px solid var(--border-color);
}

.footer-bottom {
  padding: 18px 24px;
  border-top: 1px solid var(--border-color);
}

.footer-container {
  max-width: 1536px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-logo-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 20px;
}

.footer-logo-wrap.has-logo-img {
  width: auto;
  height: 48px;
  max-width: 155px;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.footer-logo-wrap img {
  width: auto;
  height: 100%;
  max-width: 155px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px color-mix(in srgb, var(--primary) 45%, transparent));
}

.footer-brand-link h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.footer-powered {
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-bottom-row {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* =========================================================================
   CART DRAWER (LATERAL DIREITO — Estilo Alemanha RP)
   ========================================================================= */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.cart-drawer-overlay[data-state="open"] {
  opacity: 1;
  visibility: visible;
}

.cart-drawer-panel {
  width: 100%;
  max-width: 430px;
  height: 100%;
  background: var(--bg-dark);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.26s ease;
}

.cart-drawer-overlay[data-state="open"] .cart-drawer-panel {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.cart-drawer-header h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
}

.cart-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
}

.cart-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-empty-state {
  margin: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px;
}

.cart-empty-icon {
  width: 44px;
  height: 44px;
  color: var(--primary);
  margin-bottom: 4px;
}

.cart-empty-state p {
  font-size: 16px;
  font-weight: 600;
}

.cart-empty-state span {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 260px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.cart-item-left img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-info {
  min-width: 0;
}

.cart-item-name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 2px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cart-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-qty-btn:hover {
  border-color: var(--primary);
}

.cart-qty-btn.remove {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.45);
  color: #f87171;
}

.cart-qty-val {
  min-width: 24px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.cart-drawer-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.cart-pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 12px;
  font-size: 14px;
}

.cart-pricing-row span {
  color: var(--text-muted);
}

.cart-pricing-row strong {
  font-size: 16px;
  color: #ffffff;
}

.btn-primary-full {
  width: 100%;
  height: 42px;
  border-radius: var(--radius-md);
  border: none;
  background: var(--primary);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary-full:hover:not(:disabled) {
  filter: brightness(1.1);
}

.btn-primary-full:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* =========================================================================
   MODALS (PRESENTEAR, CHECKOUT PIX, ADMIN)
   ========================================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #101013;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  width: 100%;
  max-width: 520px;
  padding: 28px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75);
  max-height: 92vh;
  overflow-y: auto;
}

.modal-card.modal-sm {
  max-width: 440px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: #ffffff;
}

.modal-step { display: none; }
.modal-step.active { display: block; }

.modal-header {
  margin-bottom: 18px;
}

.step-badge {
  background: color-mix(in srgb, var(--primary) 20%, transparent);
  color: color-mix(in srgb, var(--primary) 65%, #ffffff);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 8px;
}

.step-pix-badge {
  background: rgba(50, 188, 173, 0.18);
  color: #32bcad;
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.selected-product-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.selected-product-summary img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
}

.summary-price {
  color: #4ade80;
  font-weight: 800;
  font-size: 16px;
}

.summary-price-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 3px;
}

.summary-old-price {
  font-size: 12.5px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.summary-coupon-pill {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
  letter-spacing: 0.03em;
}

/* Checkout Coupon Box */
.coupon-apply-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 11px 12px;
  margin-bottom: 14px;
}

.coupon-apply-box label {
  margin-bottom: 6px;
}

.coupon-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.coupon-code-input {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.btn-apply-coupon {
  height: 41px;
  padding: 0 15px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--primary) 55%, transparent);
  background: color-mix(in srgb, var(--primary) 22%, transparent);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.btn-apply-coupon:hover {
  background: var(--primary);
}

.btn-remove-coupon {
  height: 41px;
  width: 41px;
  border-radius: 8px;
  border: 1px solid rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.coupon-feedback {
  margin-top: 7px;
  font-size: 12px;
  font-weight: 600;
}

.coupon-feedback.ok { color: #4ade80; }
.coupon-feedback.err { color: #f87171; }

/* Admin Modal Tabs */
.admin-modal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.admin-tab-btn {
  flex: 1;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.admin-tab-btn.active {
  background: color-mix(in srgb, var(--primary) 22%, transparent);
  border-color: color-mix(in srgb, var(--primary) 55%, transparent);
  color: #ffffff;
}

.coupon-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--primary) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 45%, transparent);
  color: #ffffff;
  letter-spacing: 0.05em;
}

.checkout-form .form-group {
  margin-bottom: 14px;
}

.checkout-form label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.form-input {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  padding: 11px 13px;
  border-radius: 8px;
  font-size: 13.5px;
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
}

.form-hint {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-error-msg {
  display: block;
  font-size: 12px;
  color: #f87171;
  margin-top: 5px;
}

.btn-submit-pix {
  width: 100%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 13px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-submit-pix:hover {
  filter: brightness(1.1);
}

.btn-outline-full {
  width: 100%;
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 11px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}

.btn-outline-full:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* PIX Payment Box */
.pix-payment-box { text-align: center; }

.qr-container {
  background: #ffffff;
  padding: 14px;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.qr-container img {
  width: 200px;
  height: 200px;
  display: block;
}

.pix-copy-section {
  text-align: left;
  margin-bottom: 18px;
}

.pix-copy-section label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.copy-input-wrapper {
  display: flex;
  gap: 8px;
}

.copy-input-wrapper input {
  flex: 1;
  background: var(--input-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #32bcad;
  padding: 10px 12px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 12px;
}

.btn-copy-pix {
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.payment-status-tracker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.pulse-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 10px transparent; }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 transparent; }
}

.btn-test-pay {
  background: rgba(251, 191, 36, 0.14);
  border: 1px dashed var(--gold);
  color: var(--gold);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}

/* Success */
.success-box { text-align: center; padding: 10px 0; }
.success-icon { font-size: 52px; margin-bottom: 10px; }
.success-box h3 { font-size: 22px; font-weight: 800; color: #4ade80; margin-bottom: 6px; }
.success-msg { color: var(--text-muted); font-size: 13.5px; margin-bottom: 20px; }
.success-details {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  padding: 14px;
  text-align: left;
  margin-bottom: 20px;
}
.detail-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; }
.detail-row:last-child { margin-bottom: 0; }
.badge-success { color: #4ade80; font-weight: 700; }

/* Admin Modal */
.items-admin-card { max-width: 780px; }
.items-admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
}
.delivery-config-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  padding: 14px;
  margin-top: 8px;
}
.site-items-table-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 55vh;
  overflow-y: auto;
}
.site-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  flex-wrap: wrap;
}
.site-item-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 200px;
}
.site-item-info img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}
.site-item-title { font-size: 13.5px; font-weight: 700; }
.site-item-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.site-item-actions { display: flex; align-items: center; gap: 6px; }

.loading-spinner {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 14px;
}

/* =========================================================================
   TOAST NOTIFICATIONS
   ========================================================================= */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.store-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 10px;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  animation: toast-in 0.22s ease;
}

.store-toast.success { border-left: 3px solid #22c55e; }
.store-toast.error { border-left: 3px solid #ef4444; }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================= */
@media (max-width: 1380px) {
  .package-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .top-donators-shell {
    display: none !important;
  }
  .hide-lg {
    display: none;
  }
}

@media (max-width: 1024px) {
  .store-shell {
    flex-direction: column;
    padding: 20px 16px 48px;
    gap: 16px;
  }
  .store-sidebar-col {
    display: none;
  }
  .mobile-cat-wrap {
    display: block;
  }
  .package-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-search-wrap {
    display: none;
  }
  .only-mobile {
    display: inline-flex;
  }
  .hide-md {
    display: none;
  }
  .coupon-desktop {
    display: none;
  }
  .coupon-mobile {
    display: inline-flex;
  }
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .pfx-body {
    padding: 9px;
  }
  .pfx-title {
    font-size: 12.5px;
    min-height: 2rem;
  }
  .pfx-final-price {
    font-size: 15px;
  }
  .btn-buy {
    height: 32px;
    font-size: 11.5px;
    padding: 0 8px;
  }
  .btn-add-cart {
    width: 32px;
    height: 32px;
  }
  .store-hero-compact {
    padding: 16px;
  }
  .hero-compact-right {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .hide-xs {
    display: none;
  }
  .form-row,
  .form-row-3 {
    grid-template-columns: 1fr;
  }
  .brand-text h1 {
    font-size: 14px;
  }
}


/* =========================================================================
   PAINEL DE CHECKOUT PREMIUM (2 COLUNAS + STEPPER + VÍNCULO DISCORD)
   ========================================================================= */
.checkout-modal-card {
  max-width: 860px;
  padding: 24px 26px 26px;
  border-color: color-mix(in srgb, var(--primary) 30%, rgba(255, 255, 255, 0.12));
  background: linear-gradient(180deg, #141020 0%, #0d0a16 100%);
}

/* Stepper */
.checkout-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 0 28px 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stepper-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.stepper-dot {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-muted);
  flex-shrink: 0;
}

.stepper-item.active {
  color: #ffffff;
}

.stepper-item.active .stepper-dot {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 0 14px color-mix(in srgb, var(--primary) 50%, transparent);
}

.stepper-item.done {
  color: #4ade80;
}

.stepper-item.done .stepper-dot {
  background: rgba(34, 197, 94, 0.2);
  border-color: #22c55e;
  color: #4ade80;
}

.stepper-line {
  flex: 1;
  max-width: 64px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

/* Two-Column Checkout Grid */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 20px;
  align-items: start;
}

.checkout-col-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Discord Bind Card */
.discord-bind-card {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.14) 0%, rgba(88, 101, 242, 0.04) 100%);
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: 12px;
  padding: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.discord-bind-card.is-linked {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(88, 101, 242, 0.06) 100%);
  border-color: rgba(34, 197, 94, 0.45);
}

.discord-bind-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.discord-bind-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.discord-icon-pill {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #5865f2;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.45);
}

.discord-bind-title h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.discord-bind-title span {
  font-size: 11.5px;
  color: var(--text-muted);
}

.discord-status-chip {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(88, 101, 242, 0.22);
  border: 1px solid rgba(88, 101, 242, 0.45);
  color: #c7d2fe;
  white-space: nowrap;
}

.discord-bind-card.is-linked .discord-status-chip {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.45);
  color: #4ade80;
}

.discord-input-row {
  display: flex;
  gap: 8px;
}

.btn-discord-verify {
  height: 41px;
  padding: 0 15px;
  border-radius: 8px;
  border: none;
  background: #5865f2;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.btn-discord-verify:hover:not(:disabled) {
  background: #4752c4;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.45);
}

.btn-discord-verify:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.discord-linked-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.discord-linked-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid #4ade80;
  background: #1e1b2e;
  flex-shrink: 0;
}

.discord-linked-info {
  flex: 1;
  min-width: 0;
}

.discord-linked-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.discord-linked-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.discord-linked-badge {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 700;
  color: #4ade80;
}

.discord-linked-badge.warn {
  color: #fbbf24;
}

.btn-discord-unlink {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 7px;
  cursor: pointer;
}

.btn-discord-unlink:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Checkout Section Cards */
.checkout-section-card,
.checkout-summary-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
}

.checkout-section-card .form-group {
  margin-bottom: 12px;
}

.checkout-section-card .form-group:last-child {
  margin-bottom: 0;
}

.checkout-section-card label,
.checkout-summary-card label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 5px;
}

.checkout-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #ffffff;
}

.summary-duration-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

/* Totals Breakdown */
.checkout-totals-box {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.totals-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.totals-row.discount {
  color: #4ade80;
  font-weight: 600;
}

.totals-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 2px 0;
}

.totals-row.total {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.totals-row.total strong {
  font-size: 19px;
  color: #4ade80;
}

.checkout-guarantees {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.checkout-guarantees span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.checkout-guarantees svg {
  color: var(--primary);
}

/* Step 2 PIX 2-Column */
.pix-step-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 24px;
  align-items: center;
}

.pix-qr-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pix-timer-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 5px 12px;
  border-radius: 999px;
}

.pix-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding: 10px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
  font-size: 12.5px;
}

.pix-order-meta span {
  color: var(--text-muted);
}

.pix-order-meta strong {
  color: #ffffff;
}

.pix-steps-help {
  padding-left: 18px;
  margin-bottom: 16px;
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 5px;
  line-height: 1.45;
}

@media (max-width: 780px) {
  .checkout-layout,
  .pix-step-grid {
    grid-template-columns: 1fr;
  }
  .stepper-label {
    display: none;
  }
  .checkout-modal-card {
    padding: 18px 16px;
  }
}


/* =========================================================================
   LINK APP DO DISCORD & PAGAMENTO CARTÃO DE CRÉDITO
   ========================================================================= */
.btn-discord-app-open {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(100deg, #5865f2 0%, #4752c4 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(88, 101, 242, 0.35);
  transition: all 0.2s ease;
}

.btn-discord-app-open:hover:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.discord-app-session-box {
  margin-top: 10px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(88, 101, 242, 0.45);
}

.discord-session-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #c7d2fe;
  margin-bottom: 6px;
}

.discord-session-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.45;
}

.discord-session-desc code {
  color: #a5b4fc;
  font-weight: 700;
}

.discord-bind-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(88, 101, 242, 0.16);
  border: 1px dashed rgba(129, 140, 248, 0.6);
  margin-bottom: 10px;
}

.discord-bind-code-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.btn-copy-bind {
  background: #5865f2;
  color: #ffffff;
  border: none;
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.discord-session-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.discord-mini-link {
  font-size: 11.5px;
  font-weight: 600;
  color: #c7d2fe;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 9px;
  border-radius: 6px;
  cursor: pointer;
}

.discord-mini-link:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.discord-mini-link.cancel {
  margin-left: auto;
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.35);
}

.discord-or-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-size: 11px;
  color: var(--text-muted);
}

.discord-or-divider::before,
.discord-or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

/* Payment Method Selector */
.payment-method-section {
  margin-bottom: 14px;
}

.payment-section-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 7px;
}

.payment-method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.payment-method-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border-radius: 9px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
}

.payment-method-card:hover {
  border-color: rgba(255, 255, 255, 0.24);
}

.payment-method-card.active {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 16%, rgba(0, 0, 0, 0.3));
  box-shadow: 0 0 16px color-mix(in srgb, var(--primary) 24%, transparent);
}

.pm-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.pm-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.pm-text strong {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
}

.pm-text span {
  font-size: 10.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.card-installments-wrap {
  margin-top: 10px;
}

/* Step 2B Credit Card Box */
.card-payment-box {
  text-align: center;
  padding: 16px 8px;
}

.card-payment-box h3 {
  font-size: 21px;
  font-weight: 800;
  margin: 6px 0;
}

.card-step-desc {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 16px;
  line-height: 1.5;
}


/* =========================================================================
   LOGIN DE CLIENTE DA LOJA & MINHA CONTA
   ========================================================================= */
.btn-header-account.is-logged {
  background: color-mix(in srgb, var(--primary) 18%, rgba(255, 255, 255, 0.05));
  border-color: color-mix(in srgb, var(--primary) 45%, transparent);
  color: #ffffff;
}

.auth-notice-box {
  padding: 10px 12px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--primary) 16%, rgba(0, 0, 0, 0.35));
  border: 1px solid color-mix(in srgb, var(--primary) 45%, transparent);
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 14px;
}

.checkout-logged-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.logged-bar-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.logged-avatar-dot {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logged-bar-info strong {
  display: block;
  font-size: 13px;
  color: #ffffff;
  line-height: 1.15;
}

.logged-bar-info span {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-switch-account {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-switch-account:hover {
  color: #ffffff;
  border-color: var(--primary);
}

.account-meta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
  font-size: 13px;
}

.account-meta-strip span {
  color: var(--text-muted);
  margin-right: 6px;
}

.btn-logout-store {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 7px;
  cursor: pointer;
}

.btn-logout-store:hover {
  background: rgba(239, 68, 68, 0.28);
  color: #ffffff;
}

.account-orders-section h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.account-orders-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 300px;
  overflow-y: auto;
}

.account-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12.5px;
}

.account-order-row strong {
  display: block;
  color: #ffffff;
}

.account-order-row small {
  color: var(--text-muted);
  font-size: 11px;
}

.order-status-pill {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.order-status-pill.ok {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
}

.order-status-pill.pending {
  background: rgba(251, 191, 36, 0.16);
  color: #fbbf24;
}


/* Termos de Compra Digital & Metadados da Conta */
.checkout-terms-box {
  display: flex !important;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 11px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 12px !important;
  cursor: pointer;
  font-size: 11.5px !important;
  font-weight: 400 !important;
  color: var(--text-muted);
  line-height: 1.45;
}

.checkout-terms-box input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--primary);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  cursor: pointer;
}

.checkout-terms-box strong {
  color: #ffffff;
}

.account-meta-grid {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12.5px;
}


/* =========================================================================
   TELA DE TRANSAÇÃO NEGADA / ERRO & REPROCESSAMENTO EM MEUS PEDIDOS
   ========================================================================= */
.failed-box {
  text-align: center;
  padding: 16px 8px 6px;
}

.failed-icon {
  font-size: 48px;
  margin-bottom: 8px;
}

.failed-status-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  margin-bottom: 10px;
}

.failed-box h3 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.failed-reason {
  font-size: 13px;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 9px;
  padding: 10px 14px;
  max-width: 520px;
  margin: 0 auto 14px;
  line-height: 1.5;
}

.failed-order-meta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.failed-order-meta strong {
  color: #ffffff;
}

.failed-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 360px;
  margin: 0 auto;
}

.order-status-pill.rejected {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}

.order-status-pill.error {
  background: rgba(249, 115, 22, 0.18);
  color: #fdba74;
}

.account-order-row {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.account-order-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.account-order-err {
  font-size: 11px;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.09);
  padding: 5px 8px;
  border-radius: 6px;
}

.account-order-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.btn-order-retry {
  flex: 1;
  background: color-mix(in srgb, var(--primary) 20%, rgba(255, 255, 255, 0.04));
  border: 1px solid color-mix(in srgb, var(--primary) 45%, transparent);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-order-retry:hover {
  background: var(--primary);
}

.btn-order-retry.secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-order-retry.secondary:hover {
  border-color: var(--primary);
}


/* =========================================================================
   CHECKOUT EM TELA DEDICADA (NÃO FLUTUANTE / TRAVADO ATÉ APROVAR OU CANCELAR)
   ========================================================================= */
body.checkout-open {
  overflow: hidden;
}

#checkout-modal.checkout-fullscreen {
  background:
    radial-gradient(ellipse at 15% 0%, color-mix(in srgb, var(--primary) 16%, transparent) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 0%, color-mix(in srgb, var(--secondary) 14%, transparent) 0%, transparent 45%),
    var(--bg-dark);
  backdrop-filter: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 28px 20px 56px;
}

#checkout-modal.checkout-fullscreen .checkout-modal-card {
  max-width: 960px;
  max-height: none;
  overflow: visible;
  margin: 0 auto;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.checkout-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.checkout-topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-topbar-logo {
  height: 36px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}

.checkout-secure-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
}

.btn-cancel-checkout {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.42);
  color: #fca5a5;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-cancel-checkout:hover {
  background: rgba(239, 68, 68, 0.28);
  color: #ffffff;
}

#checkout-modal.checkout-fullscreen .checkout-stepper {
  padding-right: 0;
}


/* Lista Multi-Itens do Carrinho no Checkout */
.checkout-cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 185px;
  overflow-y: auto;
  margin-bottom: 14px;
  padding-right: 4px;
}

.checkout-cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-cart-row-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.checkout-cart-row-left img {
  width: 38px;
  height: 38px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
}

.checkout-cart-row-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-cart-row-qty {
  font-size: 11px;
  color: var(--text-muted);
}

.checkout-cart-row-price {
  font-size: 13px;
  font-weight: 800;
  color: #4ade80;
  white-space: nowrap;
}


/* Confirmação de Passaporte (vw_loja_jogador) & Status loja_entregas */
.passport-lookup-pill {
  margin-top: 7px;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
}

.passport-lookup-pill.ok {
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

.passport-lookup-pill.err {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.passport-lookup-pill.info {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
}

.order-deliveries-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.order-delivery-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
}

.order-delivery-item .del-st-entregue { color: #4ade80; font-weight: 700; }
.order-delivery-item .del-st-pendente,
.order-delivery-item .del-st-processando { color: #fbbf24; font-weight: 700; }
.order-delivery-item .del-st-erro,
.order-delivery-item .del-st-cancelado { color: #fca5a5; font-weight: 700; }
