/* ═══════════════════════════════════════════════════════════
   PLANS / PURCHASE STEPPER  —  Sunset Orange Brand
   ═══════════════════════════════════════════════════════════ */

/* ── Checkout Stepper (plans.html) ──────────────────────── */
.checkout-stepper-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  padding: 24px 40px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  margin-bottom: 30px;
}

.step-item { display: flex; align-items: center; gap: 12px; }

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: all .2s;
}

.step-item.active .step-num {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: white;
  box-shadow: var(--glow-orange);
}

.step-label { font-weight: 600; color: var(--text-muted); font-size: 0.95rem; transition: color .2s; }
.step-item.active .step-label { color: var(--brand-primary); }

.step-line { flex: 1; height: 2px; background: var(--border); margin: 0 20px; border-radius: 2px; transition: background .3s; }
.step-line.done { background: var(--brand-primary); }

/* ── eSIM Selection ─────────────────────────────────────── */
.esim-selection-container {
  background: var(--white);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--border);
}

.selection-header { display: flex; gap: 16px; margin-bottom: 32px; align-items: center; }

.header-icon-box {
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.header-text h2 { font-size: 1.25rem; font-weight: 600; color: var(--brand-primary); line-height: 1.2; }
.header-text p  { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }

.esim-selection-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 12px; }

@media (min-width: 768px) {
  .esim-selection-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.esim-select-card { cursor: pointer; position: relative; }
.esim-select-card input { display: none; }

.card-inner {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 16px;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.esim-select-card input:checked + .card-inner {
  border-color: var(--brand-primary);
  background: var(--brand-primary-soft);
  transform: translateY(-4px);
  box-shadow: var(--glow-orange);
}

.flag-wrapper { width: 40px; height: 40px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); display: flex; flex-shrink: 0; box-shadow: var(--shadow-xs); }
.flag-wrapper img { width: 100%; height: 100%; object-fit: cover; }

.title-row { display: flex; justify-content: space-between; align-items: center; }

.card-info h3 { font-size: 0.95rem; font-weight: 600; color: var(--text-main); }
.network-meta { font-size: 0.75rem; color: var(--text-muted); margin: 2px 0 10px 0; }

/* Status pills in selection */
.data-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-teal-soft);
  color: var(--brand-teal);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 800;
}

.data-status-pill.ready { background: var(--brand-primary-soft); color: var(--brand-primary-deep); }

.pulse-dot { width: 6px; height: 6px; background: var(--brand-teal); border-radius: 50%; animation: pulseGlow 1.5s infinite; }

@keyframes pulseGlow {
  0%   { opacity: 1; transform: scale(1); }
  50%  { opacity: 0.4; transform: scale(1.3); }
  100% { opacity: 1; transform: scale(1); }
}

.selection-indicator { color: var(--brand-primary); font-size: 1.2rem; opacity: 0; transition: 0.2s; }
.esim-select-card input:checked + .card-inner .selection-indicator { opacity: 1; }

/* Add new card */
.add-country-card .dashed-boundary {
  border: 2px dashed var(--border);
  border-radius: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  transition: 0.2s;
}

.add-country-card:hover .dashed-boundary { border-color: var(--brand-primary); background: var(--brand-primary-soft); }

.plus-circle {
  width: 32px;
  height: 32px;
  background: var(--brand-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.add-text strong { font-size: 0.85rem; color: var(--text-main); display: block; }
.add-text span   { font-size: 0.7rem;  color: var(--text-muted); }

/* Footer */
.selection-footer { display: flex; justify-content: flex-end; margin-top: 32px; gap: 10px; }

.btn-primary-action {
  background: var(--brand-primary);
  color: var(--white);
  padding: 14px 20px;
  border-radius: 14px;
  border: none;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all .25s;
  box-shadow: var(--glow-orange);
  width: fit-content;
}

.btn-primary-action:hover { background: var(--brand-primary-deep); transform: translateX(4px); }

@media (min-width: 768px) { .btn-primary-action { width: auto; } }

/* ── Plan Selection Container ───────────────────────────── */
.plan-selection-container {
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border);
}

.plan-filter-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.tab-pill {
  padding: 8px 12px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--bg-main);
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.75rem;
  white-space: nowrap;
  transition: all .18s ease;
  scroll-snap-align: start;
}

.tab-pill.active { background: var(--brand-primary); color: white; border-color: var(--brand-primary); box-shadow: var(--glow-orange); }

.plans-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }

.plan-card {
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  position: relative;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  background: white;
  display: flex;
  flex-direction: column;
}

.plan-card.active {
  border-color: var(--brand-primary);
  background: var(--brand-primary-soft);
  box-shadow: var(--glow-orange);
}

.plan-card.popular { border-color: var(--brand-teal); }

.popular-badge {
  position: absolute;
  top: 0;
  right: 20px;
  background: var(--brand-teal);
  color: white;
  padding: 4px 12px;
  border-radius: 0 0 10px 10px;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

.plan-type     { font-size: 0.7rem; font-weight: 900; color: var(--text-muted); text-transform: uppercase; margin-bottom: 8px; }
.plan-data     { font-size: 1.8rem; font-weight: 900; color: var(--text-main); line-height: 1; }
.plan-validity { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 12px; }
.plan-price    { font-size: 1.6rem; font-weight: 900; color: var(--brand-primary); margin-bottom: 16px; }

.plan-features { list-style: none; padding: 0; margin: 0; }
.plan-features li { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.plan-features li i { color: var(--brand-teal); font-size: 1rem; }
.plan-features li.disabled { opacity: 0.5; }
.plan-features li.disabled i { color: var(--border); }

.btn-back {
  background: var(--bg-main);
  border: 1.5px solid var(--border);
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  margin-right: 10px;
  transition: all .18s;
}

.btn-back:hover { border-color: var(--brand-primary); color: var(--brand-primary); }

/* ── Payment Grid ───────────────────────────────────────── */
.payment-grid { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }

.payment-methods-card { background: var(--white); border: 1.5px solid var(--border); border-radius: 20px; padding: 20px; }

.method-option { cursor: pointer; display: block; margin-bottom: 12px; }
.method-option input { display: none; }

.method-inner {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all .25s;
}

.method-option input:checked + .method-inner {
  border-color: var(--brand-primary);
  background: var(--brand-primary-soft);
  box-shadow: var(--glow-orange);
}

.method-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.method-icon.wallet { background: var(--brand-teal-soft); color: var(--brand-teal); }
.method-icon.card   { background: var(--brand-primary-soft); color: var(--brand-primary); }

.method-badge {
  background: var(--brand-teal-soft);
  color: var(--brand-teal);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 800;
}

/* Summary sidebar */
.summary-sticky-card { background: var(--white); border: 1px solid var(--border); border-radius: 24px; padding: 24px; position: sticky; top: 20px; box-shadow: var(--shadow-sm); }
.summary-title { font-size: 1.1rem; font-weight: 800; color: var(--text-main); margin-bottom: 20px; }

.plan-preview-card {
  background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-secondary-light) 100%);
  border-radius: 18px;
  padding: 20px;
  color: white;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}

.plan-preview-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.plan-preview-card::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(242, 166, 90, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.preview-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; position: relative; z-index: 2; }
.preview-flag   { width: 36px; height: 36px; background: rgba(255,255,255,.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.8rem; }
.preview-target strong { display: block; font-size: 0.95rem; }
.preview-target span   { font-size: 0.75rem; opacity: 0.7; }
.preview-body  { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 12px; position: relative; z-index: 2; }
.preview-data  { font-size: 2rem; font-weight: 900; letter-spacing: -1px; }
.preview-price { font-size: 1.5rem; font-weight: 900; color: var(--brand-primary); }
.preview-footer { font-size: 0.75rem; opacity: 0.8; position: relative; z-index: 2; }
.watermark-text { position: absolute; right: -10px; top: 10px; font-size: 5rem; font-weight: 900; opacity: 0.05; pointer-events: none; }

.billing-details { margin-top: 20px; }
.bill-item { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.9rem; }
.bill-item .label { color: var(--text-muted); }
.bill-item .value { color: var(--text-main); font-weight: 700; }
.bill-item.discount .value { color: var(--brand-teal); }
.bill-divider { height: 1px; background: var(--border); margin: 16px 0; }
.bill-total { display: flex; justify-content: space-between; align-items: center; }
.bill-total .label { font-size: 1rem; font-weight: 800; color: var(--text-main); }
.bill-total .value { font-size: 1.4rem; font-weight: 900; color: var(--brand-primary); }

.secure-checkout-badge {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--brand-teal);
  background: var(--brand-teal-soft);
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Success modal */
.success-variant { text-align: center; padding: 40px; max-width: 450px; }

.check-circle-main {
  width: 80px;
  height: 80px;
  background: var(--brand-teal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 24px;
  box-shadow: var(--glow-teal);
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.receipt-preview { background: var(--bg-main); border-radius: 16px; padding: 20px; margin: 24px 0; border: 1px solid var(--border); }
.receipt-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.9rem; }
.receipt-row strong { color: var(--text-main); }

@keyframes scaleIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Modal overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(26, 26, 46, 0.5);
  z-index: 1200;
  backdrop-filter: blur(6px);
  padding: 24px;
}

.modal-overlay.open, .modal-overlay.active { display: flex; }

.modal-container {
  background: white;
  border-radius: 20px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.modal-container.success-variant { padding: 28px 28px 20px; }

.success-content h2 { font-size: 1.4rem; margin-bottom: 8px; color: var(--text-main); }
.success-content p  { color: var(--text-muted); margin-bottom: 12px; }

.success-actions { display: flex; gap: 10px; margin-top: 12px; }

.btn-full { padding: 12px 14px; border-radius: 12px; border: none; cursor: pointer; font-weight: 700; transition: all .18s; }
.btn-full.primary   { background: var(--brand-primary); color: #fff; box-shadow: var(--glow-orange); }
.btn-full.primary:hover { background: var(--brand-primary-deep); }
.btn-full.secondary { background: transparent; border: 1.5px solid var(--border); color: var(--text-main); }

body.modal-open { overflow: hidden; }

/* Confetti */
.confetti-container { position: absolute; inset: 0; pointer-events: none; }
.confetti-piece { position: absolute; width: 10px; height: 18px; background: var(--brand-primary); opacity: 0.95; transform-origin: center; border-radius: 2px; }

@keyframes confettiFall {
  0%   { transform: translateY(-10vh) rotate(0deg) scale(1); opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: translateY(80vh) rotate(360deg) scale(0.9); opacity: 0; }
}

/* ── Purchase.css styles (advanced stepper) ─────────────── */
:root {
  --navy:        var(--brand-secondary);
  --navy-2:      var(--brand-secondary-light);
  --navy-3:      #3A3A5A;
  --navy-soft:   var(--brand-primary-soft);
  --navy-mid:    rgba(242, 166, 90, 0.35);
  --teal:        var(--brand-teal);
  --teal-2:      #0FD490;
  --teal-soft:   var(--brand-teal-soft);
  --teal-mid:    rgba(16, 185, 129, 0.35);
  --obsidian:    var(--brand-secondary);
  --obsidian-2:  var(--brand-secondary-light);
  --obsidian-3:  #2E2E4A;
  --obsidian-4:  #3A3A5A;
  --chalk:       var(--chalk);
  --ink:         var(--text-main);
  --ink-2:       #2A2A3E;
  --ink-3:       var(--text-muted);
  --ink-4:       #94A3B8;
  --border-2:    var(--border-light);
  --amber:       #F59E0B;
  --amber-soft:  #FFF4E0;
  --red:         #EF4444;
  --red-soft:    #FEF2F2;
  --green:       var(--brand-teal);
  --green-soft:  var(--brand-teal-soft);
  --purple:      #7C3AED;
  --purple-soft: #F5F3FF;
  --gold:        #F59E0B;
}

.stepper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  animation: fadeUp .3s ease both;
}

.step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 800;
  border: 2px solid var(--border);
  color: var(--ink-4);
  background: var(--white);
  transition: all .3s;
  z-index: 1;
}

.step-circle.done   { background: var(--brand-teal); border-color: var(--brand-teal); color: #fff; }
.step-circle.active { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; box-shadow: var(--glow-orange); }

.step-text { margin-left: 9px; }
.step-label { font-size: .76rem; font-weight: 700; color: var(--ink-3); transition: color .3s; white-space: nowrap; }
.step-label.active { color: var(--brand-primary); }
.step-label.done   { color: var(--brand-teal); }
.step-sub { font-size: .62rem; color: var(--ink-4); margin-top: 1px; white-space: nowrap; }
.step-sub.active { color: var(--ink-3); }
.step-connector { flex: 1; height: 2px; background: var(--border-2); margin: 0 6px; border-radius: 99px; transition: background .4s; min-width: 16px; }
.step-connector.done { background: var(--brand-primary); }

.step-page { display: none; animation: fadeUp .3s ease both; }
.step-page.active { display: block; }

/* Hero (purchase) */
.hero {
  background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-secondary-light) 100%);
  border-radius: 28px;
  padding: 26px 30px 22px;
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(242, 166, 90, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.hero-eye {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--brand-teal-soft);
  border: 1px solid rgba(16, 185, 129, .28);
  color: var(--brand-teal);
  padding: 4px 13px;
  border-radius: 99px;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 11px;
}

.hero-h { font-size: 1.65rem; font-weight: 800; color: #fff; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 6px; }
.hero-h .a { color: var(--brand-primary); }
.hero-p { font-size: .82rem; color: rgba(255,255,255,.44); max-width: 500px; line-height: 1.6; }

/* Back row / breadcrumb */
.back-row { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }

.back-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  font-size: 1.05rem;
  transition: all .15s;
  flex-shrink: 0;
}

.back-btn:hover { border-color: var(--brand-primary); color: var(--brand-primary); background: var(--brand-primary-soft); }

.crumb { display: flex; align-items: center; gap: 9px; background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 8px 15px; flex: 1; }
.crumb-ico { width: 30px; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: .95rem; flex-shrink: 0; }
.crumb-title { font-size: .85rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.crumb-sub   { font-size: .65rem; color: var(--ink-3); }
.crumb-change { margin-left: auto; font-size: .7rem; font-weight: 600; color: var(--brand-primary); padding: 4px 11px; border-radius: 8px; border: 1px solid rgba(242,166,90,.35); background: var(--brand-primary-soft); transition: all .15s; flex-shrink: 0; }
.crumb-change:hover { background: var(--brand-primary); color: #fff; }

/* Type cards */
.type-grid { display: grid; grid-template-columns: repeat(2, 1fr) !important; gap: 13px; margin-bottom: 16px; }

.type-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 22px;
  padding: 20px;
  cursor: pointer;
  transition: all .2s;
  position: relative;
  overflow: hidden;
}

.type-card:hover  { border-color: rgba(242,166,90,.4); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.type-card.selected { border-color: var(--brand-primary); background: var(--brand-primary-soft); }

.type-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 22px 22px 0 0; background: var(--border); transition: background .2s; }
.type-card.selected::before { background: linear-gradient(90deg, var(--brand-primary), var(--brand-teal)); }

.tc-chk {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  opacity: 0;
  transform: scale(.5);
  transition: all .2s;
}

.type-card.selected .tc-chk { opacity: 1; transform: scale(1); }

.tc-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 99px; font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 11px; }
.tc-badge.pop { background: var(--amber-soft); color: var(--amber); }
.tc-badge.val { background: var(--teal-soft);  color: var(--teal); }
.tc-badge.tgt { background: var(--amber-soft); color: var(--amber); }
.tc-badge.ent { background: var(--purple-soft); color: var(--purple); }

.tc-icon-row { display: flex; align-items: center; gap: 11px; margin-bottom: 9px; }
.tc-ico { width: 44px; height: 44px; border-radius: 18px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.tc-ico.globe   { background: var(--brand-primary-soft); color: var(--brand-primary); }
.tc-ico.region  { background: var(--brand-teal-soft);   color: var(--brand-teal); }
.tc-ico.country { background: var(--amber-soft);        color: var(--amber); }
.tc-ico.biz     { background: var(--purple-soft);       color: var(--purple); }
.tc-name { font-size: .98rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.tc-tag  { font-size: .68rem; color: var(--ink-3); margin-top: 1px; }
.tc-desc { font-size: .77rem; color: var(--ink-3); line-height: 1.6; margin-bottom: 12px; }
.tc-feats { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 13px; }
.tc-feat { display: flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 99px; font-size: .67rem; font-weight: 600; background: var(--chalk); border: 1px solid var(--border); color: var(--ink-2); }
.tc-feat i { font-size: .78rem; color: var(--ink-3); }
.type-card.selected .tc-feat { background: var(--brand-primary-soft); border-color: rgba(242,166,90,.35); color: var(--brand-primary-deep); }

.tc-price-row { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border-2); }
.tc-price     { font-size: .9rem; font-weight: 800; color: var(--ink); }
.tc-price sub { font-size: .6rem; font-weight: 500; color: var(--ink-3); }
.tc-cta { display: flex; align-items: center; gap: 5px; padding: 6px 14px; border-radius: 12px; font-size: .76rem; font-weight: 700; background: var(--brand-primary); color: #fff; transition: all .15s; box-shadow: var(--glow-orange); }
.tc-cta:hover, .type-card.selected .tc-cta { background: var(--brand-primary-deep); }

/* Coverage strip */
.cov-strip { background: var(--white); border: 1px solid var(--border); border-radius: 22px; padding: 14px 20px; display: flex; align-items: center; gap: 12px; }
.cov-label { font-size: .8rem; font-weight: 700; color: var(--ink); flex-shrink: 0; }
.cov-flags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; flex: 1; }
.cov-flag  { width: 36px; height: 24px; display: inline-block; border-radius: 6px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-xs); object-fit: cover; }
.cov-more  { font-size: .7rem; font-weight: 700; color: var(--brand-primary); background: var(--brand-primary-soft); padding: 3px 9px; border-radius: 99px; flex-shrink: 0; }

/* Region grid */
.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-bottom: 18px; }

.rgn { background: var(--white); border: 2px solid var(--border); border-radius: 22px; cursor: pointer; transition: all .22s; position: relative; overflow: hidden; }
.rgn:hover   { border-color: rgba(242,166,90,.4); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rgn.selected { border-color: var(--brand-primary); box-shadow: var(--glow-orange); }

.rgn-banner { height: 108px; display: flex; align-items: center; justify-content: center; gap: 4px; position: relative; overflow: hidden; padding: 8px; }
.rgn-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.02) 60%); z-index: 0; }
.rgn-banner > * { z-index: 1; }

.rgn-chk { position: absolute; top: 9px; right: 9px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .75rem; opacity: 0; transform: scale(.4); transition: all .2s; }
.rgn.selected .rgn-chk { opacity: 1; transform: scale(1); }

.rgn-body { padding: 13px 15px 15px; }
.rgn-name { font-size: .93rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin-bottom: 2px; }
.rgn-meta { font-size: .68rem; color: var(--ink-3); margin-bottom: 8px; display: flex; align-items: center; gap: 4px; }
.rgn-meta i { color: var(--brand-teal); font-size: .78rem; }
.rgn-flags  { display: flex; gap: 3px; flex-wrap: wrap; margin-bottom: 9px; font-size: 1.05rem; }
.rgn-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 9px; border-top: 1px solid var(--border-2); }
.rgn-price  { font-size: .83rem; font-weight: 800; color: var(--ink); }
.rgn-btn { display: flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 12px; background: var(--brand-primary); color: #fff; font-size: .72rem; font-weight: 700; transition: all .15s; }
.rgn-btn:hover, .rgn.selected .rgn-btn { background: var(--brand-primary-deep); }

/* Country picker */
.country-toolbar { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }

.search-box { flex: 1; display: flex; align-items: center; gap: 7px; background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 10px 15px; transition: border-color .15s; }
.search-box:focus-within { border-color: var(--brand-primary); box-shadow: 0 0 0 3px var(--brand-primary-soft); }
.search-box i { color: var(--ink-4); font-size: .95rem; flex-shrink: 0; }
.search-box input { flex: 1; border: none; outline: none; font-size: .875rem; color: var(--ink); background: none; }
.search-box input::placeholder { color: var(--ink-4); }

.sort-btn { padding: 10px 14px; border: 1px solid var(--border); border-radius: 18px; font-size: .77rem; font-weight: 600; color: var(--ink-2); background: var(--white); display: flex; align-items: center; gap: 5px; transition: all .15s; white-space: nowrap; }
.sort-btn:hover { border-color: var(--brand-primary); color: var(--brand-primary); background: var(--brand-primary-soft); }

.country-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 18px; }

.cc { background: var(--white); border: 2px solid var(--border); border-radius: 18px; padding: 13px 9px; cursor: pointer; transition: all .18s; text-align: center; position: relative; }
.cc:hover    { border-color: rgba(242,166,90,.4); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.cc.selected { border-color: var(--brand-primary); background: var(--brand-primary-soft); }

.cc-chk { position: absolute; top: 6px; right: 6px; width: 17px; height: 17px; border-radius: 50%; background: var(--brand-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .58rem; opacity: 0; transform: scale(.3); transition: all .18s; }
.cc.selected .cc-chk { opacity: 1; transform: scale(1); }

.cc-flag  { font-size: 1.9rem; line-height: 1; margin-bottom: 5px; }
.cc-name  { font-size: .7rem; font-weight: 700; color: var(--ink); line-height: 1.2; margin-bottom: 2px; }
.cc-price { font-size: .64rem; color: var(--brand-primary); font-weight: 700; }

.c-empty { text-align: center; padding: 36px 20px; color: var(--ink-3); font-size: .83rem; grid-column: span 5; }
.c-empty i { font-size: 1.8rem; display: block; margin-bottom: 7px; color: var(--ink-4); }

/* Confirm bar */
.confirm-bar { background: var(--white); border: 1px solid var(--border); border-radius: 22px; padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; box-shadow: var(--shadow-xs); }
.cb-sel  { display: flex; align-items: center; gap: 9px; }
.cb-flag { font-size: 1.55rem; line-height: 1; }
.cb-name { font-size: .9rem; font-weight: 800; color: var(--brand-primary); letter-spacing: -.01em; }
.cb-detail { font-size: .67rem; color: var(--ink-3); }
.cb-none   { font-size: .8rem; color: var(--ink-4); }
.cb-btn { display: flex; align-items: center; gap: 7px; padding: 11px 22px; background: var(--brand-primary); color: #fff; border-radius: 18px; font-size: .855rem; font-weight: 700; transition: all .18s; flex-shrink: 0; box-shadow: var(--glow-orange); }
.cb-btn:hover { background: var(--brand-primary-deep); transform: translateY(-1px); }
.cb-btn:disabled { opacity: .36; cursor: not-allowed; transform: none; }

/* Duration tabs */
.dur-bar { background: var(--white); border: 1px solid var(--border); border-radius: 22px; padding: 13px 20px; margin-bottom: 18px; display: flex; align-items: center; gap: 13px; }
.dur-lbl  { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); flex-shrink: 0; }
.dur-tabs { display: flex; gap: 5px; flex-wrap: wrap; }
.dur-tab  { padding: 6px 16px; border-radius: 12px; border: 2px solid var(--border); font-size: .79rem; font-weight: 700; color: var(--ink-3); background: var(--white); transition: all .18s; cursor: pointer; }
.dur-tab:hover     { border-color: rgba(242,166,90,.4); color: var(--brand-primary); }
.dur-tab.active    { border-color: var(--brand-primary); background: var(--brand-primary); color: #fff; box-shadow: var(--glow-orange); }
.save-tag { display: inline-flex; align-items: center; margin-left: 4px; background: var(--amber); color: #fff; font-size: .5rem; font-weight: 800; padding: 1px 5px; border-radius: 99px; vertical-align: middle; }
.dur-tab.active .save-tag { background: rgba(255,255,255,.25); }

/* Plan cards (advanced) */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }

.plan-card { background: var(--white); border: 2px solid var(--border); border-radius: 22px; cursor: pointer; transition: all .22s; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.plan-card:hover   { border-color: rgba(242,166,90,.4); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.plan-card.selected { border-color: var(--brand-primary); box-shadow: var(--glow-orange); }
.plan-card.featured { border-color: var(--brand-primary); }

.plan-accent { height: 4px; border-radius: 22px 22px 0 0; }

.pop-wrap { height: 22px; display: flex; align-items: center; justify-content: center; }
.pop-tag  { display: inline-flex; align-items: center; gap: 4px; background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-deep)); color: #fff; padding: 3px 12px; border-radius: 0 0 12px 12px; font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pop-tag i { font-size: .75rem; color: var(--amber); }

.plan-body  { padding: 15px 17px 0; flex: 1; display: flex; flex-direction: column; }
.plan-name  { font-size: .9rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin-bottom: 1px; }
.plan-tag   { font-size: .68rem; color: var(--ink-3); margin-bottom: 12px; }

.price-blk { background: var(--chalk); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; text-align: center; }
.price-big { font-size: 1.95rem; font-weight: 800; color: var(--ink); letter-spacing: -.05em; line-height: 1; }
.price-cur { font-size: .9rem; font-weight: 600; color: var(--ink-3); vertical-align: super; }
.price-per  { font-size: .68rem; color: var(--ink-3); margin-top: 3px; }
.price-orig { font-size: .7rem; color: var(--ink-4); text-decoration: line-through; margin-top: 2px; }
.price-save { font-size: .64rem; font-weight: 700; color: var(--brand-teal); margin-top: 2px; }

.plan-card.selected .price-blk { background: var(--brand-primary-soft); border-color: rgba(242,166,90,.35); }
.plan-card.selected .price-big { color: var(--brand-primary-deep); }

.plan-feats { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.pf { display: flex; align-items: center; gap: 7px; font-size: .78rem; color: var(--ink-2); }
.pf i { font-size: .88rem; flex-shrink: 0; width: 16px; text-align: center; }
.pf i.ok   { color: var(--brand-teal); }
.pf i.no   { color: var(--danger); }
.pf i.star { color: var(--amber); }
.pf strong { color: var(--ink); }

.plan-footer { padding: 12px 17px; border-top: 1px solid var(--border-2); margin-top: auto; }
.plan-btn { width: 100%; padding: 9px; border-radius: 12px; font-size: .83rem; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; transition: all .18s; }
.plan-btn.outline { background: var(--white); color: var(--brand-primary); border: 2px solid var(--brand-primary); }
.plan-btn.outline:hover, .plan-card.selected .plan-btn.outline { background: var(--brand-primary); color: #fff; }
.plan-btn.solid { background: var(--brand-primary); color: #fff; border: 2px solid var(--brand-primary); }
.plan-btn.solid:hover { background: var(--brand-primary-deep); }
.plan-card.selected .plan-btn.solid { background: var(--brand-teal); border-color: var(--brand-teal); }

.plan-tip { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 12px 17px; display: flex; align-items: center; gap: 8px; font-size: .76rem; color: var(--ink-3); line-height: 1.5; }
.plan-tip i { color: var(--brand-primary); font-size: .92rem; flex-shrink: 0; }

/* Checkout layout */
.checkout-layout { display: grid; grid-template-columns: 1fr 355px; gap: 18px; }
.order-card { background: var(--white); border: 1px solid var(--border); border-radius: 22px; overflow: hidden; }

.oc-head { background: linear-gradient(135deg, var(--brand-secondary), var(--brand-secondary-light)); padding: 15px 20px; display: flex; align-items: center; gap: 11px; }
.oc-head-ico   { width: 32px; height: 32px; border-radius: 10px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; font-size: .9rem; color: #fff; }
.oc-head-title { font-size: .9rem; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.oc-head-sub   { font-size: .65rem; color: rgba(255,255,255,.42); }
.oc-edit { margin-left: auto; padding: 5px 12px; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.68); border-radius: 8px; font-size: .7rem; font-weight: 600; background: transparent; transition: all .15s; }
.oc-edit:hover { background: rgba(255,255,255,.1); color: #fff; }
.oc-body { padding: 18px 20px; }

.esim-summ { background: var(--chalk); border: 1px solid var(--border); border-radius: 14px; padding: 13px 15px; margin-bottom: 15px; display: flex; align-items: center; gap: 12px; }
.es-ico  { width: 42px; height: 42px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.es-name { font-size: .9rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.es-plan { font-size: .7rem; color: var(--ink-3); margin-top: 2px; }
.es-edit { font-size: .68rem; font-weight: 600; color: var(--brand-primary); padding: 4px 9px; border-radius: 8px; border: 1px solid rgba(242,166,90,.35); background: var(--brand-primary-soft); margin-left: auto; transition: all .15s; flex-shrink: 0; }
.es-edit:hover { background: var(--brand-primary); color: #fff; }

.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 15px; }
.fg { background: var(--chalk); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; display: flex; align-items: center; gap: 8px; }
.fg-ico { width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .85rem; }
.fg-ico.teal   { background: var(--teal-soft);   color: var(--teal); }
.fg-ico.navy   { background: var(--navy-soft);   color: var(--brand-primary); }
.fg-ico.amber  { background: var(--amber-soft);  color: var(--amber); }
.fg-ico.purple { background: var(--purple-soft); color: var(--purple); }
.fg-ico.green  { background: var(--teal-soft);   color: var(--teal); }
.fg-val { font-size: .85rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.fg-lbl { font-size: .62rem; color: var(--ink-3); margin-top: 1px; }

.act-steps { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid var(--border-2); }
.act-step  { display: flex; align-items: center; gap: 8px; font-size: .77rem; color: var(--ink-3); }
.act-num   { width: 19px; height: 19px; border-radius: 50%; background: var(--brand-primary-soft); color: var(--brand-primary); font-size: .65rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Payment sidebar */
.co-sidebar { display: flex; flex-direction: column; gap: 12px; }
.pay-card   { background: var(--white); border: 1px solid var(--border); border-radius: 22px; overflow: hidden; }
.pay-head   { padding: 12px 17px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 7px; }
.pay-head i { color: var(--brand-primary); font-size: .92rem; }
.pay-head-title { font-size: .83rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.pay-body   { padding: 14px 17px; }

.wallet-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--teal-soft); border: 1px solid var(--teal-mid); border-radius: 14px; margin-bottom: 11px; cursor: pointer; transition: all .15s; }
.wallet-row:hover { background: var(--teal); border-color: var(--teal); }
.wallet-row:hover .wr-lbl, .wallet-row:hover .wr-bal { color: #fff; }
.wallet-row:hover .wr-ico { background: rgba(255,255,255,.2); color: #fff; }
.wr-ico { width: 30px; height: 30px; border-radius: 8px; background: var(--teal-mid); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; transition: all .15s; }
.wr-lbl { font-size: .78rem; font-weight: 700; color: var(--brand-teal); flex: 1; transition: color .15s; }
.wr-bal { font-size: .86rem; font-weight: 800; color: var(--brand-teal); letter-spacing: -.02em; transition: color .15s; }

.or-div { display: flex; align-items: center; gap: 7px; margin: 9px 0; font-size: .68rem; color: var(--ink-4); }
.or-div::before, .or-div::after { content: ''; flex: 1; height: 1px; background: var(--border-2); }

.sv-card { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border: 2px solid var(--border); border-radius: 14px; margin-bottom: 6px; cursor: pointer; transition: all .15s; }
.sv-card.selected   { border-color: var(--brand-primary); background: var(--brand-primary-soft); }
.sv-card:hover:not(.selected) { border-color: rgba(242,166,90,.4); }
.sc-scheme { width: 34px; height: 21px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: .54rem; font-weight: 800; flex-shrink: 0; }
.sc-scheme.visa { background: #1A1F71; color: #fff; }
.sc-scheme.mc   { background: #EB001B; color: #fff; }
.sc-name { font-size: .78rem; font-weight: 600; color: var(--ink); }
.sc-exp  { font-size: .64rem; color: var(--ink-3); }
.sc-radio { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; transition: all .15s; display: flex; align-items: center; justify-content: center; margin-left: auto; }
.sv-card.selected .sc-radio { border-color: var(--brand-primary); background: var(--brand-primary); }
.sv-card.selected .sc-radio::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #fff; }

.add-card { width: 100%; padding: 8px; border: 2px dashed var(--border); border-radius: 14px; font-size: .76rem; font-weight: 600; color: var(--brand-primary); display: flex; align-items: center; justify-content: center; gap: 6px; transition: all .15s; }
.add-card:hover { border-color: var(--brand-primary); background: var(--brand-primary-soft); }

.promo-row { display: flex; gap: 6px; }
.promo-in  { flex: 1; padding: 9px 12px; border: 1px solid var(--border); border-radius: 12px; font-size: .82rem; color: var(--ink); outline: none; transition: border-color .15s; }
.promo-in:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 3px var(--brand-primary-soft); }
.promo-btn { padding: 9px 15px; background: var(--brand-primary); color: #fff; border-radius: 12px; font-size: .78rem; font-weight: 700; transition: all .15s; }
.promo-btn:hover { background: var(--brand-primary-deep); }

.price-card  { background: var(--white); border: 1px solid var(--border); border-radius: 22px; overflow: hidden; }
.price-rows  { display: flex; flex-direction: column; padding: 14px 17px; }
.pr { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--border-2); font-size: .8rem; }
.pr:last-child { border-bottom: none; }
.pr .lbl { color: var(--ink-3); }
.pr .val { font-weight: 600; color: var(--ink); }
.pr.total { border-top: 2px solid var(--border); padding-top: 12px; margin-top: 3px; }
.pr.total .lbl { font-size: .86rem; font-weight: 800; color: var(--ink); }
.pr.total .val { font-size: 1.15rem; font-weight: 800; color: var(--brand-primary); letter-spacing: -.02em; }
.pr.disc .val  { color: var(--brand-teal); }
.pr.tax .lbl, .pr.tax .val { font-size: .71rem; color: var(--ink-4); }

.buy-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-deep));
  color: #fff;
  border-radius: 14px;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: -.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .2s;
  box-shadow: var(--glow-orange);
}

.buy-btn:hover { background: linear-gradient(135deg, var(--brand-primary-deep), #C47340); transform: translateY(-1px); box-shadow: 0 12px 32px rgba(242,166,90,.4); }

.buy-note { text-align: center; font-size: .64rem; color: var(--ink-3); margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 4px; }
.buy-note i { font-size: .8rem; color: var(--brand-teal); }

/* Success modal (purchase) */
.overlay { position: fixed; inset: 0; background: rgba(26,26,46,.65); z-index: 700; opacity: 0; pointer-events: none; transition: opacity .25s; backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; }
.overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--white);
  border-radius: 28px;
  width: 480px;
  max-width: 96vw;
  transform: scale(.94) translateY(20px);
  transition: transform .3s cubic-bezier(.22,1,.36,1);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.overlay.open .modal { transform: scale(1) translateY(0); }

.modal-hero {
  background: linear-gradient(135deg, var(--brand-secondary), var(--brand-secondary-light));
  padding: 26px 24px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.modal-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 18px 18px; }
.modal-hero::after  { content: ''; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(242,166,90,.2) 0%, transparent 70%); pointer-events: none; }

.success-ico { width: 62px; height: 62px; border-radius: 50%; background: var(--brand-teal); margin: 0 auto 11px; display: flex; align-items: center; justify-content: center; font-size: 1.65rem; color: #fff; position: relative; z-index: 1; box-shadow: 0 0 0 10px rgba(16,185,129,.18); animation: popIn .5s .1s cubic-bezier(.34,1.56,.64,1) both; }

@keyframes popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.modal-title { font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: -.03em; position: relative; z-index: 1; }
.modal-sub   { font-size: .78rem; color: rgba(255,255,255,.48); margin-top: 5px; position: relative; z-index: 1; }

.qr-sect { padding: 18px 24px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--border); }
.qr-box  { width: 92px; height: 92px; background: var(--chalk); border: 1px solid var(--border); border-radius: 14px; flex-shrink: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 1.5px; padding: 7px; overflow: hidden; }
.qc { border-radius: 1.5px; }
.qc.b { background: var(--brand-secondary); }
.qc.w { background: transparent; }
.qr-title { font-size: .83rem; font-weight: 800; color: var(--ink); margin-bottom: 3px; }
.qr-text  { font-size: .7rem; color: var(--ink-3); line-height: 1.55; }
.qr-ref   { font-family: monospace; font-size: .68rem; font-weight: 700; color: var(--brand-primary); background: var(--brand-primary-soft); padding: 3px 7px; border-radius: 5px; margin-top: 5px; display: inline-block; }

.modal-next { padding: 16px 24px 20px; }
.mn-title   { font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 9px; display: flex; align-items: center; gap: 5px; }
.mn-title::after { content: ''; flex: 1; height: 1px; background: var(--border-2); }
.mn-steps { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.mn-step  { display: flex; align-items: center; gap: 8px; font-size: .76rem; color: var(--ink-3); }
.mn-num   { width: 19px; height: 19px; border-radius: 50%; background: var(--brand-primary-soft); color: var(--brand-primary); font-size: .65rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.modal-actions { display: flex; gap: 7px; }
.ma-btn { flex: 1; padding: 10px; border-radius: 14px; font-size: .83rem; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; transition: all .15s; }
.ma-btn.solid { background: var(--brand-primary); color: #fff; box-shadow: var(--glow-orange); }
.ma-btn.solid:hover { background: var(--brand-primary-deep); }
.ma-btn.ghost { background: var(--white); color: var(--ink-2); border: 1px solid var(--border); }
.ma-btn.ghost:hover { border-color: var(--ink-2); }

/* Toast */
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--brand-secondary); color: #fff; padding: 11px 16px; border-radius: 12px; font-size: .79rem; font-weight: 500; display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow-lg); transform: translateY(80px); opacity: 0; transition: transform .3s cubic-bezier(.22,1,.36,1), opacity .3s; z-index: 900; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast i { font-size: 1.05rem; color: var(--brand-primary); flex-shrink: 0; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin   { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 992px) { .payment-grid { grid-template-columns: 1fr; } }

@media (max-width: 1060px) { .checkout-layout { grid-template-columns: 1fr; } }

@media (max-width: 880px) {
  .plans-grid    { grid-template-columns: 1fr 1fr !important; }
  .region-grid   { grid-template-columns: 1fr 1fr !important; }
  .country-grid  { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 800px) { .type-grid { grid-template-columns: 1fr !important; } }

@media (max-width: 640px) {
  .checkout-stepper-wrap { flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 14px; }
  .step-item.active { background: var(--brand-primary-soft); border-radius: 12px; }
  .step-line { display: none; }
  .selection-footer { position: sticky; bottom: 0; left: 0; right: 0; display: flex; gap: 10px; padding: 12px; background: rgba(255,255,255,.96); box-shadow: 0 -8px 24px rgba(26,26,46,.08); z-index: 50; }
  .selection-footer .btn-back            { flex: 1; }
  .selection-footer .btn-primary-action  { flex: 2; justify-content: center; }
  .tab-pill { padding: 12px 16px; font-size: 0.9rem; }
  .plans-grid { grid-template-columns: 1fr !important; }
  .country-grid { grid-template-columns: repeat(3, 1fr); }
  .region-grid  { grid-template-columns: 1fr !important; }
  .feat-grid    { grid-template-columns: 1fr !important; }
  .step-text    { display: none; }
}

@media (max-width: 520px) { .cov-flag { width: 34px; height: 34px; border-radius: 50%; } .cov-strip { padding: 10px 12px; gap: 8px; flex-wrap: wrap; } .cov-label { flex-basis: 100%; } .cov-more { flex-basis: 100%; margin-top: 6px; } }

@media (max-width: 480px) { .selection-header { gap: 12px; } .header-text h2 { font-size: 1.05rem; } .plan-card { padding: 14px; } .plan-data { font-size: 1.5rem; } .plan-price { font-size: 1.25rem; } }