/* Stack Gamer 2026 - Capitulo 09: Monte seu PC */
.theme-stackgamer-definitive-preview.sg-page-setup {
  --sg-setup-page: #f3f4f6;
  --sg-setup-surface: #ffffff;
  --sg-setup-surface-soft: #f8fbff;
  --sg-setup-line: rgba(37, 99, 255, 0.14);
  --sg-setup-line-strong: rgba(14, 165, 255, 0.28);
  --sg-setup-navy: #0f172a;
  --sg-setup-muted: #64748b;
  --sg-setup-blue: #2563ff;
  --sg-setup-cyan: #38ddf8;
  --sg-setup-green: #16a34a;
  --sg-setup-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  background:
    radial-gradient(circle at 4% 2%, rgba(56, 221, 248, 0.12), transparent 30rem),
    radial-gradient(circle at 95% 10%, rgba(37, 99, 255, 0.12), transparent 34rem),
    var(--sg-setup-page) !important;
  color: var(--sg-setup-navy);
  min-height: 100vh;
}

.theme-stackgamer-definitive-preview.sg-page-setup::before,
.theme-stackgamer-definitive-preview.sg-page-setup::after {
  content: none !important;
}

.theme-stackgamer-definitive-preview.sg-page-setup .navbar {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 28px;
  padding: 18px 0 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.theme-stackgamer-definitive-preview.sg-page-setup .brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.theme-stackgamer-definitive-preview.sg-page-setup .brand-logo-container {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eaf8ff, #ffffff);
  border: 1px solid rgba(37, 99, 255, 0.22);
  box-shadow: 0 14px 30px rgba(37, 99, 255, 0.12);
  overflow: hidden;
}

.theme-stackgamer-definitive-preview.sg-page-setup .brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.theme-stackgamer-definitive-preview.sg-page-setup .nav-logo-text {
  color: var(--sg-setup-navy) !important;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.theme-stackgamer-definitive-preview.sg-page-setup .nav-social-icons,
.theme-stackgamer-definitive-preview.sg-page-setup .nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-stackgamer-definitive-preview.sg-page-setup .btn-back-vitrine {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid rgba(37, 99, 255, 0.18);
  background: #ffffff;
  color: var(--sg-setup-blue) !important;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.theme-stackgamer-definitive-preview.sg-page-setup .grid-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.theme-stackgamer-definitive-preview.sg-page-setup .wizard-container,
.theme-stackgamer-definitive-preview.sg-page-setup .summary-sidebar {
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--sg-setup-navy) !important;
  border: 1px solid var(--sg-setup-line) !important;
  border-radius: 16px !important;
  box-shadow: var(--sg-setup-shadow) !important;
}

.theme-stackgamer-definitive-preview.sg-page-setup .wizard-container {
  padding: 24px;
  overflow: hidden;
}

.theme-stackgamer-definitive-preview.sg-page-setup .summary-sidebar {
  position: sticky;
  top: 18px;
  padding: 20px;
}

.theme-stackgamer-definitive-preview.sg-page-setup .progress-indicator {
  display: flex !important;
  gap: 8px;
  padding: 0 0 18px;
  margin: 0 0 20px;
  overflow-x: auto;
  border-bottom: 1px solid var(--sg-setup-line);
  scrollbar-width: thin;
}

.theme-stackgamer-definitive-preview.sg-page-setup .step-badge {
  min-width: 118px;
  min-height: 74px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 12px 10px;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 255, 0.16);
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  color: var(--sg-setup-muted);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}

.theme-stackgamer-definitive-preview.sg-page-setup .step-badge svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.theme-stackgamer-definitive-preview.sg-page-setup .step-badge b {
  color: inherit;
}

.theme-stackgamer-definitive-preview.sg-page-setup .step-badge.active {
  background: linear-gradient(135deg, var(--sg-setup-blue), var(--sg-setup-cyan));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 14px 26px rgba(37, 99, 255, 0.22);
  transform: translateY(-1px);
}

.theme-stackgamer-definitive-preview.sg-page-setup .step-badge.completed {
  background: #eefdf7;
  color: #047857;
  border-color: rgba(16, 185, 129, 0.22);
}

.theme-stackgamer-definitive-preview.sg-page-setup .current-step-title {
  margin: 0 0 14px !important;
  color: var(--sg-setup-navy) !important;
  font-size: clamp(24px, 3vw, 34px) !important;
  line-height: 1.05 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.theme-stackgamer-definitive-preview.sg-page-setup .setup-step-guidance {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--sg-setup-line-strong) !important;
  background: linear-gradient(135deg, rgba(37, 99, 255, 0.08), rgba(56, 221, 248, 0.08)) !important;
  color: var(--sg-setup-navy) !important;
}

.theme-stackgamer-definitive-preview.sg-page-setup .setup-step-guidance strong {
  color: var(--sg-setup-blue) !important;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.theme-stackgamer-definitive-preview.sg-page-setup .setup-step-guidance span,
.theme-stackgamer-definitive-preview.sg-page-setup .setup-step-guidance p {
  color: var(--sg-setup-muted) !important;
  font-size: 14px;
  line-height: 1.55;
}

.theme-stackgamer-definitive-preview.sg-page-setup .setup-status-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--sg-setup-line);
  background: #fbfdff;
  color: var(--sg-setup-navy);
}

.theme-stackgamer-definitive-preview.sg-page-setup .setup-status-progress,
.theme-stackgamer-definitive-preview.sg-page-setup .setup-compatibility-status {
  color: var(--sg-setup-navy) !important;
  font-size: 13px;
  font-weight: 850;
}

.theme-stackgamer-definitive-preview.sg-page-setup .setup-compatibility-status {
  color: #047857 !important;
}

.theme-stackgamer-definitive-preview.sg-page-setup .setup-filter-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 14px;
  border: 1px solid var(--sg-setup-line);
  border-radius: 12px;
  background: var(--sg-setup-surface-soft) !important;
}

.theme-stackgamer-definitive-preview.sg-page-setup .filter-label {
  flex-basis: 100%;
  color: var(--sg-setup-muted) !important;
  font-size: 13px;
  font-weight: 800;
}

.theme-stackgamer-definitive-preview.sg-page-setup .btn-setup-filter {
  min-height: 40px;
  min-width: 84px;
  border-radius: 8px;
  border: 1px solid rgba(37, 99, 255, 0.2) !important;
  background: #ffffff !important;
  color: var(--sg-setup-navy) !important;
  font-weight: 900;
  cursor: pointer;
}

.theme-stackgamer-definitive-preview.sg-page-setup .btn-setup-filter.active-amd,
.theme-stackgamer-definitive-preview.sg-page-setup .btn-setup-filter.active-intel,
.theme-stackgamer-definitive-preview.sg-page-setup .btn-setup-filter[aria-pressed="true"] {
  color: #ffffff !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--sg-setup-blue), var(--sg-setup-cyan)) !important;
  box-shadow: 0 12px 24px rgba(37, 99, 255, 0.18);
}

.theme-stackgamer-definitive-preview.sg-page-setup .options-list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.theme-stackgamer-definitive-preview.sg-page-setup .option-card,
.theme-stackgamer-definitive-preview.sg-page-setup .sg-setup-option-card {
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 14px !important;
  border: 1px solid rgba(37, 99, 255, 0.15) !important;
  background: #ffffff !important;
  color: var(--sg-setup-navy) !important;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08) !important;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.theme-stackgamer-definitive-preview.sg-page-setup .option-card:hover,
.theme-stackgamer-definitive-preview.sg-page-setup .option-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 255, 0.42) !important;
  box-shadow: 0 20px 45px rgba(37, 99, 255, 0.14) !important;
}

.theme-stackgamer-definitive-preview.sg-page-setup .option-card.selected {
  border-color: rgba(22, 163, 74, 0.55) !important;
  box-shadow: 0 20px 45px rgba(22, 163, 74, 0.14) !important;
}

.theme-stackgamer-definitive-preview.sg-page-setup .option-img {
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 16px;
  background: linear-gradient(180deg, #f8fbff, #eef6ff) !important;
  border-bottom: 1px solid var(--sg-setup-line);
}

.theme-stackgamer-definitive-preview.sg-page-setup .cyber-carousel {
  width: 100%;
  min-height: 150px;
  display: grid;
  place-items: center;
}

.theme-stackgamer-definitive-preview.sg-page-setup .cyber-carousel img {
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(15, 23, 42, 0.15));
}

.theme-stackgamer-definitive-preview.sg-page-setup .option-card-content {
  display: grid;
  gap: 12px;
  padding: 16px;
  flex: 1;
}

.theme-stackgamer-definitive-preview.sg-page-setup .option-title {
  min-height: 54px;
  margin: 0 !important;
  color: var(--sg-setup-navy) !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.theme-stackgamer-definitive-preview.sg-page-setup .option-meta-row {
  display: grid;
  gap: 8px;
}

.theme-stackgamer-definitive-preview.sg-page-setup .option-price {
  color: var(--sg-setup-blue) !important;
  font-size: 22px !important;
  font-weight: 950 !important;
}

.theme-stackgamer-definitive-preview.sg-page-setup .option-stock {
  width: max-content;
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857 !important;
  font-size: 11px;
  font-weight: 900;
}

.theme-stackgamer-definitive-preview.sg-page-setup .option-card-footer {
  padding: 0 16px 16px;
}

.theme-stackgamer-definitive-preview.sg-page-setup .add-overlay-btn,
.theme-stackgamer-definitive-preview.sg-page-setup .qty-btn {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid transparent !important;
  background: linear-gradient(135deg, var(--sg-setup-blue), var(--sg-setup-cyan)) !important;
  color: #ffffff !important;
  font-weight: 950;
  cursor: pointer;
}

.theme-stackgamer-definitive-preview.sg-page-setup .add-overlay-btn {
  width: 100%;
}

.theme-stackgamer-definitive-preview.sg-page-setup .qty-controls {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  gap: 8px;
  align-items: center;
}

.theme-stackgamer-definitive-preview.sg-page-setup .qty-display {
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--sg-setup-line);
  background: #f8fbff;
  color: var(--sg-setup-navy);
  font-weight: 950;
}

.theme-stackgamer-definitive-preview.sg-page-setup .setup-empty-state {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding: 28px;
  border-radius: 14px;
  border: 1px dashed rgba(37, 99, 255, 0.28);
  background: #ffffff;
  color: var(--sg-setup-navy);
  text-align: center;
}

.theme-stackgamer-definitive-preview.sg-page-setup .setup-empty-state strong {
  font-size: 18px;
  font-weight: 950;
}

.theme-stackgamer-definitive-preview.sg-page-setup .setup-empty-state p {
  margin: 0;
  color: var(--sg-setup-muted);
}

.theme-stackgamer-definitive-preview.sg-page-setup .setup-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.theme-stackgamer-definitive-preview.sg-page-setup .setup-empty-actions a,
.theme-stackgamer-definitive-preview.sg-page-setup .setup-empty-actions button {
  min-height: 40px;
  padding: 0 14px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(37, 99, 255, 0.18);
  background: #ffffff;
  color: var(--sg-setup-blue);
  font-weight: 850;
  text-decoration: none;
}

.theme-stackgamer-definitive-preview.sg-page-setup .wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--sg-setup-line);
}

.theme-stackgamer-definitive-preview.sg-page-setup .btn-wiz {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px !important;
  font-weight: 950 !important;
  cursor: pointer;
}

.theme-stackgamer-definitive-preview.sg-page-setup .btn-prev {
  border: 1px solid rgba(37, 99, 255, 0.2) !important;
  background: #ffffff !important;
  color: var(--sg-setup-blue) !important;
}

.theme-stackgamer-definitive-preview.sg-page-setup .btn-next,
.theme-stackgamer-definitive-preview.sg-page-setup .btn-finish-setup {
  border: 0 !important;
  background: linear-gradient(135deg, var(--sg-setup-blue), var(--sg-setup-cyan)) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(37, 99, 255, 0.18);
}

.theme-stackgamer-definitive-preview.sg-page-setup .btn-wiz:disabled {
  opacity: .48;
  cursor: not-allowed;
  box-shadow: none !important;
}

.theme-stackgamer-definitive-preview.sg-page-setup .summary-sidebar h2,
.theme-stackgamer-definitive-preview.sg-page-setup .summary-sidebar h3 {
  margin: 0 0 16px !important;
  color: var(--sg-setup-navy) !important;
  font-size: 18px !important;
  font-weight: 950 !important;
  letter-spacing: 0;
}

.theme-stackgamer-definitive-preview.sg-page-setup .summary-items {
  display: grid;
  gap: 8px;
}

.theme-stackgamer-definitive-preview.sg-page-setup .summary-row,
.theme-stackgamer-definitive-preview.sg-page-setup .sg-setup-summary-row {
  padding: 11px 0;
  border-bottom: 1px solid rgba(100, 116, 139, 0.16);
  color: var(--sg-setup-navy) !important;
}

.theme-stackgamer-definitive-preview.sg-page-setup .summary-cat {
  margin-bottom: 4px;
  color: var(--sg-setup-blue) !important;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.theme-stackgamer-definitive-preview.sg-page-setup .summary-part-info {
  display: flex;
  gap: 6px;
  min-width: 0;
  color: var(--sg-setup-navy) !important;
  font-size: 13px;
  line-height: 1.35;
}

.theme-stackgamer-definitive-preview.sg-page-setup .summary-part-qtd {
  flex: 0 0 auto;
  color: var(--sg-setup-blue);
  font-weight: 950;
}

.theme-stackgamer-definitive-preview.sg-page-setup .summary-part-name {
  overflow-wrap: anywhere;
}

.theme-stackgamer-definitive-preview.sg-page-setup .summary-row span[style] {
  color: var(--sg-setup-muted) !important;
}

.theme-stackgamer-definitive-preview.sg-page-setup .total-container {
  margin-top: 18px;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 255, 0.2);
  background: linear-gradient(135deg, #eff6ff, #f8fbff) !important;
}

.theme-stackgamer-definitive-preview.sg-page-setup .total-label {
  color: var(--sg-setup-muted) !important;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.theme-stackgamer-definitive-preview.sg-page-setup .total-value {
  display: block;
  margin-top: 6px;
  color: #16a34a !important;
  font-size: 30px !important;
  line-height: 1;
  font-weight: 950 !important;
}

.theme-stackgamer-definitive-preview.sg-page-setup .setup-whatsapp-help {
  width: 100%;
  min-height: 42px;
  margin-top: 14px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(22, 163, 74, 0.24);
  background: #ecfdf5;
  color: #047857 !important;
  font-weight: 900;
  text-decoration: none;
}

.theme-stackgamer-definitive-preview.sg-page-setup .setup-whatsapp-note {
  margin-top: 10px;
  color: var(--sg-setup-muted) !important;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .theme-stackgamer-definitive-preview.sg-page-setup .grid-layout {
    grid-template-columns: 1fr;
  }

  .theme-stackgamer-definitive-preview.sg-page-setup .summary-sidebar {
    position: static;
  }
}

@media (max-width: 900px) {
  .theme-stackgamer-definitive-preview.sg-page-setup .options-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .theme-stackgamer-definitive-preview.sg-page-setup .navbar,
  .theme-stackgamer-definitive-preview.sg-page-setup .grid-layout {
    width: min(100% - 20px, 1180px);
  }

  .theme-stackgamer-definitive-preview.sg-page-setup .wizard-container,
  .theme-stackgamer-definitive-preview.sg-page-setup .summary-sidebar {
    border-radius: 12px !important;
    padding: 16px;
  }

  .theme-stackgamer-definitive-preview.sg-page-setup .options-list {
    grid-template-columns: 1fr;
  }

  .theme-stackgamer-definitive-preview.sg-page-setup .wizard-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .theme-stackgamer-definitive-preview.sg-page-setup .step-badge {
    min-width: 104px;
  }
}
