/* ==========================================================
   TRIDENT STORE - MODERN CHECKOUT & ORDER SUCCESS STYLES
   Exact 1:1 match with reference UI (NexHub / Modern Web Store)
   ========================================================== */

:root {
  --checkout-bg: #0b0c10;
  --checkout-card-bg: #121319;
  --checkout-border: rgba(255, 255, 255, 0.08);
  --checkout-border-focus: rgba(239, 68, 68, 0.4);
  --checkout-accent: #2563eb;
  --checkout-accent-hover: #1d4ed8;
  --checkout-trident-red: #ef4444;
  --checkout-green: #22c55e;
  --checkout-dim: #8e8e9f;
  --checkout-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.checkout-page-body {
  background-color: var(--checkout-bg) !important;
  color: #ffffff;
  min-height: 100vh;
  font-family: var(--checkout-font);
  display: flex;
  flex-direction: column;
}

/* Header bar */
.checkout-header {
  height: 72px;
  border-bottom: 1px solid var(--checkout-border);
  display: flex;
  align-items: center;
  background: rgba(11, 12, 16, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.checkout-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.checkout-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.checkout-brand-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.checkout-brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.checkout-header-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--checkout-dim);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s;
}

.checkout-header-back:hover {
  color: #ffffff;
}

/* Main 2-Column Grid */
.checkout-main-wrap {
  flex: 1;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 960px) {
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ==========================================================
   LEFT COLUMN: ORDER SUMMARY
   ========================================================== */
.checkout-summary-col {
  background: var(--checkout-card-bg);
  border: 1px solid var(--checkout-border);
  border-radius: 18px;
  padding: 30px;
  position: sticky;
  top: 96px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.checkout-store-logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.checkout-store-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.checkout-store-pill img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.checkout-store-pill span {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.checkout-total-block {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--checkout-border);
}

.checkout-total-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--checkout-dim);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.checkout-total-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* Product Card Row */
.checkout-item-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--checkout-border);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 24px;
}

.checkout-item-thumb {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
}

.checkout-item-thumb img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  display: block;
  border-radius: inherit;
  margin: 0;
  padding: 0;
  border: none;
}

.checkout-item-details {
  flex: 1;
  min-width: 0;
}

.checkout-item-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-item-sub {
  font-size: 0.74rem;
  color: var(--checkout-dim);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-item-price {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
}

/* Price rows */
.checkout-breakdown-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
  margin-bottom: 26px;
}

.checkout-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--checkout-dim);
}

.checkout-row-item.total-row {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  padding-top: 12px;
  border-top: 1px dashed var(--checkout-border);
}

.checkout-row-item.discount-row {
  color: #22c55e;
  font-weight: 700;
}

/* Pay on mobile button */
.btn-pay-on-mobile {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--checkout-border);
  border-radius: 12px;
  padding: 12px;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-pay-on-mobile:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.checkout-left-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  color: var(--checkout-dim);
}

.checkout-left-socials a {
  color: var(--checkout-dim);
  transition: color 0.2s;
}

.checkout-left-socials a:hover {
  color: #ffffff;
}

/* ==========================================================
   RIGHT COLUMN: CHECKOUT STEPS & FORM
   ========================================================== */
.checkout-main-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Steps Breadcrumb / Progress */
.checkout-steps-tracker {
  display: flex;
  align-items: center;
  gap: 14px;
}

.step-node {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--checkout-dim);
  font-size: 0.85rem;
  font-weight: 700;
}

.step-node.active {
  color: #ffffff;
}

.step-node.completed {
  color: #22c55e;
}

.step-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #ffffff;
}

.step-node.active .step-circle {
  background: #2563eb;
  border-color: #3b82f6;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.5);
}

.step-node.completed .step-circle {
  background: #22c55e;
  border-color: #22c55e;
  color: #0b0c10;
}

.step-divider-line {
  flex: 1;
  height: 1px;
  background: var(--checkout-border);
  max-width: 60px;
}

/* Section Title */
.checkout-group-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--checkout-dim);
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Connected Discord Card - Slim Sleek Modern */
.discord-status-card {
  background: rgba(18, 20, 29, 0.65);
  border: 1px solid rgba(88, 101, 242, 0.25);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.discord-status-card:hover {
  border-color: rgba(88, 101, 242, 0.45);
}

.discord-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.discord-avatar-container {
  position: relative;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.discord-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #5865F2;
}

.discord-badge-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  background: #22c55e;
  border: 1.5px solid #121319;
  border-radius: 50%;
}

.discord-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.discord-name-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.discord-tag-pill {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.discord-subline {
  font-size: 0.73rem;
  color: var(--checkout-dim);
  margin-top: 1px;
}

.btn-discord-action {
  background: rgba(88, 101, 242, 0.14);
  border: 1px solid rgba(88, 101, 242, 0.35);
  color: #93c5fd;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-discord-action:hover {
  background: #5865F2;
  color: #ffffff;
  border-color: #5865F2;
  box-shadow: 0 0 14px rgba(88, 101, 242, 0.4);
}

/* Discount toggle & panel */
.discount-accordion-wrap {
  margin-top: -8px;
}

.btn-toggle-discount-link {
  background: none;
  border: none;
  color: var(--checkout-dim);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.btn-toggle-discount-link:hover {
  color: #ffffff;
}

.discount-expand-box {
  margin-top: 10px;
  background: var(--checkout-card-bg);
  border: 1px solid var(--checkout-border);
  border-radius: 14px;
  padding: 16px 18px;
}

.discount-input-row {
  display: flex;
  gap: 10px;
}

.discount-input-field {
  flex: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--checkout-border);
  border-radius: 10px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}

.discount-input-field:focus {
  border-color: #2563eb;
}

.btn-apply-coupon-act {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--checkout-border);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-apply-coupon-act:hover {
  background: #2563eb;
  border-color: #2563eb;
}

/* Terms checkbox */
.checkout-agree-terms {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--checkout-dim);
  user-select: none;
  margin-top: 6px;
}

.checkout-agree-terms input[type="checkbox"] {
  accent-color: #2563eb;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.checkout-agree-terms a {
  color: #ffffff;
  text-decoration: underline;
}

/* Continue to payment button */
.btn-submit-payment {
  width: 100%;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 18px 24px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.btn-submit-payment:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.45);
}

.btn-submit-payment:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.checkout-security-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--checkout-dim);
  text-align: center;
  margin-top: 14px;
}

/* ==========================================================
   POPUP MODAL: PAY ON PHONE (Foto 4)
   ========================================================== */
.modal-qr-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-qr-backdrop.active {
  display: flex;
}

.modal-qr-box {
  background: #13131a;
  border: 1px solid var(--checkout-border);
  border-radius: 20px;
  max-width: 420px;
  width: 100%;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.modal-qr-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--checkout-dim);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-qr-close:hover {
  color: #fff;
}

.modal-qr-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}

.modal-qr-sub {
  font-size: 0.82rem;
  color: var(--checkout-dim);
  line-height: 1.45;
  margin: 0 0 22px;
}

.modal-qr-code-holder {
  background: #ffffff;
  padding: 16px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.modal-qr-code-holder img,
.modal-qr-code-holder canvas {
  display: block;
}

.modal-qr-timer-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.74rem;
  color: var(--checkout-dim);
}

.modal-qr-timer-pill .timer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ==========================================================
   ORDER SUCCESS / COMPLETED PAGE (Foto 5 & 6)
   ========================================================== */
.order-success-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 960px) {
  .order-success-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.success-status-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.success-status-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.success-status-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px;
}

.success-status-sub {
  font-size: 0.86rem;
  color: var(--checkout-dim);
  margin: 0;
}

/* Blue Ready Banner */
.order-ready-banner {
  background: #0d1a33;
  border: 1px solid #1e3a8a;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.order-ready-banner-info strong {
  font-size: 0.95rem;
  color: #ffffff;
  display: block;
}

.order-ready-banner-info span {
  font-size: 0.78rem;
  color: #93c5fd;
}

.btn-banner-continue {
  background: #2563eb;
  color: #ffffff;
  border: none;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-banner-continue:hover {
  background: #1d4ed8;
}

/* Delivered Items Panel */
.delivered-items-panel {
  background: var(--checkout-card-bg);
  border: 1px solid var(--checkout-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.delivered-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--checkout-border);
  margin-bottom: 20px;
}

.delivered-panel-title h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 2px;
  text-transform: uppercase;
}

.delivered-panel-title span {
  font-size: 0.75rem;
  color: var(--checkout-dim);
}

.badge-delivered {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
}

.delivered-section-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--checkout-dim);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.delivered-instructions-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 24px;
  white-space: pre-wrap;
}

.delivered-instructions-box a {
  color: #60a5fa;
  text-decoration: underline;
  word-break: break-all;
}

/* 2FA Dedicated Banner inside Instructions */
.twofa-generator-card {
  margin-top: 14px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.twofa-generator-info {
  font-size: 0.82rem;
  color: #ffffff;
}

.btn-open-2fa {
  background: #ef4444;
  color: #ffffff;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}

.btn-open-2fa:hover {
  background: #dc2626;
}

/* Deliverables code block */
.deliverables-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.deliverables-actions {
  display: flex;
  gap: 8px;
}

.btn-cred-action {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--checkout-border);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}

.btn-cred-action:hover {
  background: rgba(255, 255, 255, 0.12);
}

.delivered-code-container {
  background: #08080c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.delivered-code-container code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.84rem;
  color: #38bdf8;
  word-break: break-all;
  line-height: 1.5;
}

.btn-single-copy {
  background: none;
  border: none;
  color: var(--checkout-dim);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
  flex-shrink: 0;
}

.btn-single-copy:hover {
  color: #ffffff;
}

/* Review prompt */
.review-prompt-card {
  background: var(--checkout-card-bg);
  border: 1px solid var(--checkout-border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
}

.review-prompt-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--checkout-dim);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.review-prompt-sub {
  font-size: 0.82rem;
  color: #cbd5e1;
  margin-bottom: 14px;
}

.review-sign-in-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--checkout-border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-auto-warn {
  margin-top: 12px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.76rem;
  color: #fbbf24;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================
   ENHANCED MOBILE RESPONSIVENESS & TOUCH OPTIMIZATION
   Tested across iPhone SE (375px), iPhone 12/13/14/15/16 (390px),
   Pixel 7 (412px), Samsung Galaxy (360px)
   ========================================================== */
@media (max-width: 768px) {
  body.checkout-page-body {
    overflow-x: hidden;
  }
  .checkout-main-wrap {
    padding: 16px 12px 60px !important;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .checkout-grid,
  .order-success-grid {
    grid-template-columns: 100% !important;
    gap: 20px !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  .checkout-summary-col {
    position: static !important;
    top: auto !important;
    padding: 18px 14px !important;
    border-radius: 14px !important;
    box-sizing: border-box;
    width: 100% !important;
  }
  .checkout-main-col {
    width: 100% !important;
    box-sizing: border-box;
    gap: 20px !important;
  }
  .checkout-steps-tracker {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  .step-node {
    font-size: 0.72rem !important;
    gap: 6px !important;
    flex-shrink: 1;
  }
  .step-circle {
    width: 20px !important;
    height: 20px !important;
    font-size: 0.68rem !important;
    flex-shrink: 0 !important;
  }
  .step-divider-line {
    max-width: 24px !important;
    min-width: 6px !important;
    flex: 1 !important;
  }
  #discord-unconnected-state,
  #discord-connected-state {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }
  #discord-unconnected-state .btn-discord-action,
  #discord-connected-state .btn-discord-action {
    width: 100% !important;
    justify-content: center !important;
  }
  .discord-status-card {
    padding: 14px 14px !important;
    box-sizing: border-box;
    width: 100% !important;
  }
  .checkout-item-card {
    padding: 12px !important;
    box-sizing: border-box;
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .step-node span:not(.step-circle) {
    display: none !important;
  }
  .step-node.active span:not(.step-circle),
  .order-success-grid .step-node:last-child span:not(.step-circle) {
    display: inline !important;
    font-size: 0.7rem !important;
    white-space: nowrap !important;
  }
  .checkout-total-num {
    font-size: 1.85rem !important;
  }
  .sleek-coupon-bar {
    padding: 4px 6px 4px 10px !important;
  }
  .btn-checkout-primary {
    padding: 14px 16px !important;
    font-size: 0.95rem !important;
  }
  .modal-pay-dialog {
    max-width: 92vw !important;
    padding: 20px 14px !important;
  }
}


/* ==========================================================
   ENHANCED PROFESSIONAL CHECKOUT & MULTI-STEP PAYMENT SYSTEM
   ========================================================== */

/* Ambient Lighting Background */
.checkout-page-body {
  position: relative;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #1a0a0f 0%, #0a0b10 50%, #06070a 100%) !important;
}

.checkout-ambient-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  opacity: 0.22;
  z-index: 0;
}

.checkout-ambient-glow.glow-red {
  top: -80px;
  left: 5%;
  background: radial-gradient(circle, #ef4444 0%, transparent 70%);
}

.checkout-ambient-glow.glow-blue {
  top: 140px;
  right: 5%;
  background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
}

.checkout-badge-secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 5px 11px;
  border-radius: 20px;
}

.checkout-badge-secure svg {
  color: #60a5fa;
}

/* Main Container Centering */
.checkout-main-wrap {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 36px;
  align-items: start;
}

/* Left Summary Column Elevated Look */
.checkout-summary-col {
  background: linear-gradient(180deg, rgba(22, 24, 33, 0.95) 0%, rgba(15, 16, 23, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 24px 50px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.checkout-item-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
}

.checkout-item-thumb {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
}

.checkout-item-thumb img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  display: block;
  border-radius: inherit;
  margin: 0;
  padding: 0;
  border: none;
}

/* Trust Box */
.checkout-trust-box {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 16px;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.checkout-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.35;
}

.checkout-trust-item svg {
  color: #22c55e;
  flex-shrink: 0;
}

/* Right Main Column Elevated Card */
.checkout-main-col {
  background: linear-gradient(180deg, rgba(20, 22, 31, 0.9) 0%, rgba(13, 14, 20, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 34px 32px;
  box-shadow: 0 24px 50px -15px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Steps Breadcrumb / Progress */
.checkout-steps-tracker {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.step-node.active .step-circle {
  background: #2563eb;
  border-color: #3b82f6;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.55);
}

.step-node.completed .step-circle {
  background: #22c55e;
  border-color: #22c55e;
  color: #050608;
  font-weight: 900;
}

/* Step Panes Smooth Switch */
.checkout-step-pane {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInCheckout 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInCheckout {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Inputs & Form Groups */
.checkout-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.checkout-field-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--checkout-dim);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkout-input-field {
  width: 100%;
  background: #0b0c12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px;
  color: #ffffff;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.checkout-input-field:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  background: #0f1118;
}

.checkout-input-field::placeholder {
  color: #64748b;
}

.checkout-field-help {
  font-size: 0.73rem;
  color: var(--checkout-dim);
}

/* Back Button in Step 2 */
.btn-back-step {
  align-self: flex-start;
  background: none;
  border: none;
  color: #60a5fa;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 0;
  margin-bottom: 2px;
  transition: color 0.15s;
}

.btn-back-step:hover {
  text-decoration: underline;
  color: #93c5fd;
}

/* Step 2 Customer Summary Bar */
.checkout-summary-pill-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.82rem;
}

.checkout-summary-pill-bar .pill-label {
  color: var(--checkout-dim);
}

.checkout-summary-pill-bar .pill-val {
  color: #ffffff;
  font-weight: 700;
}

/* Payment Methods Grid */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.payment-method-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.payment-method-card:hover {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.05);
}

.payment-method-card.active {
  border-color: #3b82f6 !important;
  background: rgba(59, 130, 246, 0.12) !important;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.3) !important;
}

.payment-method-card .method-icon {
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
}

.payment-method-card .method-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
}

.payment-method-card.active .method-title {
  color: #93c5fd;
}

/* Payment Pane Container */
.payment-pane-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-inputs-row {
  display: flex;
  gap: 12px;
}

.card-inputs-row > div {
  flex: 1;
}

.card-brand-badge {
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #94a3b8;
}

/* Pay Recap Banner */
.pay-recap-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(59, 130, 246, 0.04) 100%);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 12px;
}

.pay-recap-banner span {
  font-size: 0.88rem;
  color: #cbd5e1;
}

.pay-recap-banner .recap-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
}

.btn-checkout-pay-now {
  width: 100%;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 18px 24px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.btn-checkout-pay-now:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.55);
}

.btn-checkout-pay-now:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.payment-seals-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.seal-pill {
  font-size: 0.68rem;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 960px) {
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .payment-methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
