@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/*
Theme Name: KT Refill Premium
Theme URI: https://example.com/ktrefill-premium
Author: Your Name
Author URI: https://example.com
Description: A premium black-and-gold WordPress theme inspired by KT Refill, built for global digital services and modern landing pages.
Version: 1.0.0
Text Domain: ktrefill-premium
*/

:root {
  --kt-dark: #0D0318;
  --kt-dark-purple: #1A0633;
  --kt-purple: #5B21B6;
  --kt-bright-purple: #7C3AED;
  --kt-gold: #D4AF37;
  --kt-bright-gold: #F4D35E;
  --kt-light-gold: #FFE8A3;
  --kt-card: #241044;
  --kt-border: #3B1766;
  --kt-white: #FFFFFF;
  --kt-text-muted: #C9BDD6;
  --bg: var(--kt-dark);
  --bg-soft: var(--kt-dark-purple);
  --surface: var(--kt-card);
  --surface-2: var(--kt-purple);
  --text: var(--kt-white);
  --muted: var(--kt-text-muted);
  --gold: var(--kt-gold);
  --gold-soft: var(--kt-bright-gold);
  --border: rgba(59, 23, 102, 0.9);
  --shadow: 0 24px 70px rgba(13, 3, 24, 0.34);
  --color-theme-950: var(--kt-dark);
  --color-theme-900: var(--kt-dark-purple);
  --color-theme-800: var(--kt-purple);
  --color-theme-700: var(--kt-bright-purple);
  --color-theme-600: var(--kt-bright-purple);
  --color-accent-gold: var(--kt-gold);
  --color-accent-orange: var(--kt-bright-gold);
  --kt-bg-gradient: linear-gradient(135deg, #0D0318 0%, #1A0633 50%, #241044 100%);
  --kt-purple-gradient: linear-gradient(135deg, #1A0633 0%, #5B21B6 100%);
  --kt-gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F4D35E 100%);
}

.bg-theme-950 { background-color: var(--color-theme-950); }
.bg-theme-900 { background-color: var(--color-theme-900); }
.bg-theme-800 { background-color: var(--color-theme-800); }
.bg-theme-700 { background-color: var(--color-theme-700); }
.bg-theme-600 { background-color: var(--color-theme-600); }
.bg-theme-900\/95 { background-color: rgba(13, 62, 139, 0.95); }
.bg-theme-900\/70 { background-color: rgba(13, 62, 139, 0.70); }
.bg-theme-900\/60 { background-color: rgba(13, 62, 139, 0.60); }
.bg-theme-900\/30 { background-color: rgba(13, 62, 139, 0.30); }
.bg-theme-900\/20 { background-color: rgba(13, 62, 139, 0.20); }
.bg-theme-800\/90 { background-color: rgba(27, 95, 208, 0.90); }
.bg-theme-gradient { background: linear-gradient(135deg, var(--color-theme-900) 0%, var(--color-theme-800) 50%, var(--color-theme-700) 100%); }
.surface-blue { background: rgba(13, 62, 139, 0.18); border: 1px solid rgba(255,255,255,0.08); }
.text-accent-gold { color: var(--color-accent-gold); }
.bg-accent-gold { background-color: var(--color-accent-gold); }
.bg-accent-orange { background-color: var(--color-accent-orange); }
.border-accent-gold { border-color: var(--color-accent-gold); }
.text-accent-orange { color: var(--color-accent-orange); }
.shadow-accent-gold { box-shadow: 0 0 20px rgba(251, 191, 36, 0.3); }
.gradient-text {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

* {
  box-sizing: border-box;
}

:root {
  --site-content-width: min(100%, 1400px);
  --site-safe-pad: clamp(0.75rem, 2vw, 1.5rem);
  --touch-target: 44px;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--kt-white);
  line-height: 1.7;
  overflow-x: hidden;
  letter-spacing: 0.01em;
  font-size: clamp(0.95rem, 0.86rem + 0.28vw, 1.06rem);
  background-image: linear-gradient(rgba(13, 3, 24, 0.72), rgba(13, 3, 24, 0.78)), url('https://4kwallpapers.com/images/wallpapers/purple-aesthetic-2560x1440-17734.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
#mobile-menu {
  display: none;
}

#mobile-menu:not(.hidden) {
  display: block;
}

button, .btn, input, select, textarea, a {
  min-height: var(--touch-target);
  -webkit-tap-highlight-color: transparent;
}

.container,
.nav-wrap,
.page-container,
.max-w-7xl {
  width: min(var(--site-content-width), calc(100% - (var(--site-safe-pad) * 2)));
  max-width: 1400px;
  margin-inline: auto;
  padding-left: var(--site-safe-pad);
  padding-right: var(--site-safe-pad);
}

@media (max-width: 900px) {
  .nav-wrap {
    gap: 0.75rem;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }
}

@media (max-width: 767px) {
  .site-header .brand .logo-img,
  .site-header .brand img {
    height: 28px;
    max-width: 120px;
    width: auto;
  }

  .menu-toggle,
  button.menu-toggle,
  button[onclick="toggleMobileMenu()"] {
    min-width: 44px !important;
    min-height: 44px !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0.35rem !important;
  }
}

@media (max-width: 480px) {
  .site-header .brand .logo-img,
  .site-header .brand img {
    max-width: 110px;
    height: 24px;
  }
}

body,
p,
span,
a,
li,
button,
input,
select,
textarea,
label {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin: 0 0 0.6rem;
}

h1 {
  font-size: clamp(1.6rem, 2vw, 2rem);
}

h2 {
  font-size: clamp(1.35rem, 1.7vw, 1.65rem);
}

h3 {
  font-size: 1.1rem;
}

main,
section,
article,
aside,
header,
footer,
nav,
div,
p,
h1,
h2,
h3,
span,
li,
button,
input,
select,
textarea,
a {
  color: inherit;
}

main {
  padding-top: 4rem;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

/* Product Grid Layout */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(216, 165, 66, 0.16);
  border-radius: 1.2rem;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 165, 66, 0.32);
  box-shadow: 0 16px 40px rgba(216, 165, 66, 0.12);
}

.product-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-tag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 0.6rem;
  background: rgba(216, 165, 66, 0.16);
  color: var(--gold-soft);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 1rem 1rem 0;
}

.product-card > div:nth-child(2) {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 1rem;
}

.product-card h3 {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--text);
}

.price-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
}

.old-price {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.9rem;
}

.new-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-soft);
}

.product-stock-label {
  display: block;
  margin: 0 1rem 1rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(248, 113, 113, 0.45);
  border-radius: 0.7rem;
  background: rgba(127, 29, 29, 0.24);
  color: #fecaca;
  font-size: 0.85rem;
  font-weight: 800;
  text-align: center;
}

.local-add-to-cart {
  margin: 0 1rem 1rem;
  width: calc(100% - 2rem);
}

/* Tablet Layout (2 columns) */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

/* Mobile Layout (2 columns with full visibility) */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }

  .product-card {
    border-radius: 0.9rem;
  }

  .product-image {
    aspect-ratio: 1;
  }

  .product-tag {
    margin: 0.7rem 0.75rem 0;
    font-size: 0.7rem;
    padding: 0.35rem 0.7rem;
  }

  .product-card > div:nth-child(2) {
    padding: 0 0.75rem;
    gap: 0.4rem;
  }

  .product-card h3 {
    font-size: 0.9rem;
    margin: 0.3rem 0 0;
  }

  .price-row {
    padding: 0.7rem 0.75rem;
    gap: 0.75rem;
  }

  .old-price {
    font-size: 0.8rem;
  }

  .new-price {
    font-size: 1rem;
  }

  .local-add-to-cart {
    margin: 0 0.75rem 0.75rem;
    width: calc(100% - 1.5rem);
    padding: 0.7rem 0.8rem;
    font-size: 0.9rem;
  }
}

/* Small Mobile Layout */
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .product-card {
    border-radius: 0.8rem;
  }

  .product-tag {
    margin: 0.6rem 0.6rem 0;
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
  }

  .product-card > div:nth-child(2) {
    padding: 0 0.6rem;
    gap: 0.3rem;
  }

  .product-card h3 {
    font-size: 0.85rem;
    margin: 0.25rem 0 0;
  }

  .price-row {
    padding: 0.6rem;
    gap: 0.5rem;
    font-size: 0.9rem;
  }

  .old-price {
    font-size: 0.75rem;
  }

  .new-price {
    font-size: 0.95rem;
  }

  .local-add-to-cart {
    margin: 0.5rem 0.6rem 0.6rem;
    width: calc(100% - 1.2rem);
    padding: 0.6rem 0.7rem;
    font-size: 0.85rem;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(13, 3, 24, 0.88);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 10px 40px rgba(13, 3, 24, 0.34);
}

.site-header .brand .logo-img {
  height: 36px;
  width: auto;
  max-width: 160px;
}

.checkout-reference-box {
  margin: 0 0 1rem;
}

.checkout-reference-card {
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 2px solid #dc2626;
  background: linear-gradient(135deg, #fff7f7 0%, #ffe4e6 100%);
  color: #991b1b;
  box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.12), 0 8px 24px rgba(153, 27, 27, 0.12);
}

.checkout-reference-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #b91c1c;
}

.checkout-reference-card strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  word-break: break-all;
}

.site-header .brand .logo-img {
  height: 36px;
  width: auto;
  max-width: 160px;
}

.brand-title {
  display: inline-grid;
  line-height: 1;
  margin-left: 0.8rem;
}

.brand-title span {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--text);
  text-transform: uppercase;
}

.brand-title strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-soft);
  letter-spacing: 0.16em;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  position: relative;
  flex-wrap: wrap;
}

.site-header .brand {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header .brand::after {
  content: '';
  display: none;
}

.brand .logo-img {
  height: 40px;
  width: auto;
  max-width: 180px;
  display: block;
  transition: transform 0.2s ease;
}

.site-header .brand:hover .logo-img {
  transform: scale(1.02);
}

.site-nav {
  display: none;
  position: static;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav.active {
  display: block;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 1.1rem;
  margin: 0 auto;
  padding: 0.25rem 0 0.5rem;
  max-width: 1180px;
}

.site-nav ul li {
  margin: 0;
}

.site-nav a {
  display: block;
  color: var(--text);
  padding: 0.65rem 0;
  transition: color 0.2s ease, transform 0.2s ease;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  text-transform: none;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 2px;
  background: var(--gold-soft);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-soft);
  transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 0;
  min-width: 34px !important;
  min-height: 34px !important;
  width: 34px !important;
  height: 34px !important;
  font-size: 0;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
  gap: 4px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  margin: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

@media (max-width: 767px) {
  .physical-sim-page .header-actions,
  .carrier-esim-page .header-actions,
  .checkout-page .header-actions {
    gap: 0.45rem;
  }

  .physical-sim-page .header-actions .currency-picker,
  .carrier-esim-page .header-actions .currency-picker,
  .checkout-page .header-actions .currency-picker {
    flex: 0 0 auto;
  }

  .physical-sim-page .header-actions .currency-picker-button,
  .carrier-esim-page .header-actions .currency-picker-button,
  .checkout-page .header-actions .currency-picker-button {
    min-width: 70px;
    width: 70px;
    gap: 0.25rem;
    padding: 0.42rem 0.45rem;
    border-radius: 0.5rem;
    font-size: 0.72rem;
  }

  .physical-sim-page .header-actions .currency-flag,
  .carrier-esim-page .header-actions .currency-flag,
  .checkout-page .header-actions .currency-flag {
    width: 16px;
    height: 12px;
  }

  .site-header .header-actions .account-link,
  .site-header .header-actions .currency-picker {
    display: inline-flex !important;
  }

  .site-header .header-actions .cart-link {
    display: inline-flex !important;
  }

  .site-header .brand .logo-img,
  .site-header .brand img {
    height: 28px !important;
    max-width: 120px !important;
    width: auto !important;
  }

  .site-header .menu-toggle {
    display: inline-flex;
    padding: 0.15rem;
    min-width: 34px;
    min-height: 34px;
  }

  .site-nav {
    display: none;
  }

  #mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: calc(100vh - 5.5rem);
  }

  #mobile-menu.hidden {
    display: none;
  }

  #mobile-menu > .px-4,
  #mobile-menu > .px-4 > .space-y-3 {
    flex: 1 1 auto;
  }

  .mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
    padding: 0.75rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-menu-actions > * {
    width: 100%;
  }

  .mobile-menu-actions .currency-picker {
    width: 100%;
    min-width: 0;
  }

  .mobile-menu-actions .currency-picker-button {
    width: 100%;
    justify-content: space-between;
  }

  .mobile-menu-actions .cart-link,
  .mobile-menu-actions .account-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .mobile-menu-actions .mobile-account-link {
    min-height: 46px;
    border: 1px solid rgba(212, 175, 55, 0.65);
    border-radius: 0.5rem;
    color: #f8f6f0;
    background: rgba(212, 175, 55, 0.1);
    font-weight: 800;
  }

  .mobile-menu-actions .mobile-cart-link {
    min-height: 46px;
    border: 1px solid rgba(212, 175, 55, 0.65);
    border-radius: 0.5rem;
    color: #f8f6f0;
    background: rgba(212, 175, 55, 0.1);
    font-weight: 800;
  }

  .mobile-menu-actions .mobile-cart-link:hover,
  .mobile-menu-actions .mobile-cart-link:focus-visible {
    color: #1d1608;
    background: #d4af37;
  }

  .mobile-menu-actions .mobile-account-link:hover,
  .mobile-menu-actions .mobile-account-link:focus-visible {
    color: #1d1608;
    background: #d4af37;
  }

  .mobile-menu-actions .cart-link:hover,
  .mobile-menu-actions .account-link:hover,
  .mobile-menu-actions .currency-picker-button:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
  }

  .mobile-menu-actions .cart-link svg,
  .mobile-menu-actions .account-link svg {
    margin-left: auto;
  }
}

.physical-sim-page .site-header,
.carrier-esim-page .site-header {
  background: rgba(13, 3, 24, 0.88);
  border-bottom-color: rgba(212, 175, 55, 0.2);
  box-shadow: 0 10px 40px rgba(13, 3, 24, 0.28);
}

.physical-sim-page .site-nav a,
.carrier-esim-page .site-nav a,
.physical-sim-page .header-actions a,
.carrier-esim-page .header-actions a {
  color: #f8f6f0;
}

.physical-sim-page #mobile-menu,
.carrier-esim-page #mobile-menu {
  min-height: 0;
  background: rgba(13, 3, 24, 0.96);
  border-top-color: rgba(212, 175, 55, 0.2);
}

.physical-sim-page #mobile-menu > div,
.carrier-esim-page #mobile-menu > div {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.9rem 1rem 1rem;
}

.physical-sim-page #mobile-menu > div > a,
.carrier-esim-page #mobile-menu > div > a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 0.8rem 0.75rem;
  border-radius: 0.75rem;
  color: rgba(248, 246, 240, 0.82);
  text-decoration: none;
}

.physical-sim-page #mobile-menu .mobile-menu-actions,
.carrier-esim-page #mobile-menu .mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 767px) {
  #mobile-menu > div {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.9rem 1rem 1rem;
  }

  #mobile-menu > div > a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 0.8rem 0.75rem;
    border-radius: 0.75rem;
    color: rgba(248, 246, 240, 0.82);
    text-decoration: none;
  }

  #mobile-menu .mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .physical-sim-page #mobile-menu,
  .carrier-esim-page #mobile-menu {
    display: block;
  }

  .physical-sim-page #mobile-menu.hidden,
  .carrier-esim-page #mobile-menu.hidden {
    display: none;
  }
}

.site-header--canonical {
  background: rgba(13, 3, 24, 0.88) !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
  box-shadow: 0 10px 40px rgba(13, 3, 24, 0.28) !important;
}

.site-header--canonical .site-nav a,
.site-header--canonical .header-actions a {
  color: #f8f6f0;
}

.site-header--canonical .header-actions .wholesale-portal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.42rem 0.68rem;
  border: 1px solid #d4af37;
  border-radius: 0.5rem;
  color: #1d1608;
  background: #d4af37;
  font-weight: 800;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.site-header--canonical .header-actions .account-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(212, 175, 55, 0.65);
  border-radius: 0.5rem;
  color: #f8f6f0;
  background: rgba(212, 175, 55, 0.1);
}

.site-header--canonical .header-actions .account-link:hover {
  color: #1d1608;
  background: #d4af37;
  transform: translateY(-1px);
}

.site-header--canonical .header-actions .wholesale-portal-link:hover {
  color: #1d1608;
  background: #ebc957;
  transform: translateY(-1px);
}

.site-header--canonical #mobile-menu .mobile-menu-actions .mobile-wholesale-link {
  display: none;
}

@media (max-width: 1040px) {
  .site-header--canonical .header-actions .wholesale-portal-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0.38rem 0.56rem;
    border: 1px solid #d4af37;
    border-radius: 0.5rem;
    color: #1d1608 !important;
    background: #d4af37 !important;
    font-size: 0.7rem;
    font-weight: 800;
    white-space: nowrap;
  }

  .site-header--canonical #mobile-menu .mobile-menu-actions .mobile-wholesale-link {
    display: none !important;
  }
}

.site-header--canonical #mobile-menu {
  min-height: 0;
  background: rgba(13, 3, 24, 0.96) !important;
  border-top-color: rgba(212, 175, 55, 0.2);
}

.site-header--canonical #mobile-menu > div {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.9rem 1rem 1rem;
}

.site-header--canonical #mobile-menu > div > a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 0.8rem 0.75rem;
  border-radius: 0.75rem;
  color: rgba(248, 246, 240, 0.82);
  text-decoration: none;
}

.site-header--canonical #mobile-menu .mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 767px) {
  .site-header--canonical .header-actions .wholesale-portal-link {
    align-items: center;
    justify-content: center;
    display: inline-flex !important;
    min-height: 38px;
    padding: 0.5rem 0.7rem;
    border: 1px solid #d4af37;
    border-radius: 0.5rem;
    color: #1d1608 !important;
    background: #d4af37 !important;
    font-size: 0.76rem;
    font-weight: 800;
  }

  .site-header--canonical #mobile-menu {
    display: block;
  }

  .site-header--canonical #mobile-menu.hidden {
    display: none;
  }
}

.profile-dropdown {
  position: relative;
}

.profile-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(216, 165, 66, 0.2);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.profile-toggle:hover {
  background: rgba(255,255,255,0.08);
}

.profile-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(216, 165, 66, 0.18);
  color: var(--gold);
  font-weight: 700;
}

.profile-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.75rem);
  min-width: 220px;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(6, 6, 6, 0.98);
  border: 1px solid rgba(216, 165, 66, 0.2);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
}

.profile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.profile-card {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(216, 165, 66, 0.14);
  margin-bottom: 1rem;
}

.profile-card p {
  margin: 0;
}

.profile-name {
  font-weight: 700;
  color: var(--text);
}

.profile-email {
  color: var(--muted);
  font-size: 0.92rem;
}

.profile-menu a,
.profile-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}

.profile-menu button {
  color: #f8f7f2;
}

.profile-menu a:hover,
.profile-menu button:hover {
  color: var(--gold-soft);
}

.cart-link,
.account-link,
.login-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.account-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(216, 165, 66, 0.14);
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 0.95rem;
}

.header-actions .account-link.is-authenticated {
  width: auto;
  min-width: 40px;
  max-width: min(220px, 42vw);
  height: 40px;
  padding: 0 0.75rem;
  gap: 0.45rem;
  white-space: nowrap;
  overflow: hidden;
}

.header-actions .account-link.is-authenticated .account-pill {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.currency-selector-wrapper {
  display: inline-flex;
  align-items: center;
}

.currency-selector-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.currency-selector {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255,255,255,0.95);
  color: #0f172a;
  border: 1px solid rgba(15,23,42,0.12);
  padding: 0.75rem 3rem 0.75rem 2.75rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  outline: none;
  min-width: 220px;
  box-shadow: 0 10px 24px rgba(15,23,42,0.08);
}

.currency-selector-shell::before {
  content: '';
  position: absolute;
  left: 0.9rem;
  width: 1.5rem;
  height: 1.5rem;
  background-image: var(--selected-flag, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
}

.currency-selector-icon {
  position: absolute;
  right: 1rem;
  pointer-events: none;
  color: #475569;
  font-size: 0.9rem;
}

.currency-selector option {
  color: #0f172a;
  background: #ffffff;
}

.currency-selector:focus {
  border-color: var(--gold-soft);
  box-shadow: 0 0 0 3px rgba(216, 165, 66, 0.18);
}

.currency-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: inherit;
}

/* eSIM now uses the shared site-wide picker in the header. */
.esim-currency-selector {
  display: none !important;
}

.currency-picker-button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
  color: #f8f7f2;
  font-weight: 700;
  min-width: 200px;
  width: min(100%, 230px);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.currency-picker-button:hover,
.currency-picker-button:focus-visible {
  border-color: var(--gold-soft);
  outline: none;
}

.currency-picker.open .currency-arrow {
  transform: rotate(180deg);
}

.currency-picker-search {
  padding: 0.75rem 1rem 0 1rem;
}

.currency-picker-search-input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #f8f7f2;
  font-size: 0.92rem;
  outline: none;
}

.currency-picker-search-input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.currency-picker-search-input:focus {
  border-color: var(--gold-soft);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.18);
}

.currency-flag {
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.97);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.currency-label {
  flex: 1;
  text-align: left;
  line-height: 1.1;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.currency-arrow {
  margin-left: auto;
  color: #dbeafe;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.currency-arrow {
  margin-left: auto;
  color: #dbeafe;
  font-size: 0.95rem;
}

.currency-picker-list {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  min-width: 240px;
  max-width: 280px;
  max-height: 320px;
  overflow-y: auto;
  background: rgba(10, 16, 47, 0.98);
  border-radius: 1.25rem;
  box-shadow: 0 24px 60px rgba(4, 26, 72, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 1000;
  padding: 0.35rem 0;
}
.currency-picker-list.hidden {
  display: none;
}

.currency-picker-item {
  width: 100%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
  color: #f8f7f2;
}

.currency-picker-item + .currency-picker-item {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.currency-picker-item:hover,
.currency-picker-item:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.currency-picker-item img {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  object-fit: cover;
}

.currency-item-heading {
  display: block;
  font-size: 0.96rem;
  font-weight: 700;
  color: #f8f7f2;
}

.currency-item-meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.86rem;
  color: #dbeafe;
}

.cart-link {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.cart-link .cart-text {
  font-weight: 700;
}

.cart-link:hover,
.account-link:hover,
.login-link:hover {
  color: var(--gold-soft);
  transform: translateY(-2px);
}

.cart-icon,
.account-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--gold);
  color: var(--bg);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.login-link {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(255,255,255,0.08);
}

.login-link:hover {
  border-color: var(--gold-soft);
}

.cart-page {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.cart-panel,
.cart-summary {
  background: rgba(13, 62, 139, 0.18);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 14px 40px rgba(4, 26, 72, 0.2);
}

.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.cart-items {
  display: grid;
  gap: 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto auto;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.cart-item__details {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.cart-item__details-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cart-item__quantity-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.16rem 0.24rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  white-space: nowrap;
  justify-self: start;
  margin-top: 0.15rem;
}

.cart-item .qty-btn {
  width: 1.05rem !important;
  height: 1.05rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--accent) !important;
  color: #fff !important;
  cursor: pointer !important;
  font-size: 0.75rem !important;
  line-height: 1 !important;
  padding: 0 !important;
}

.qty-value {
  min-width: 0.75rem;
  text-align: center;
  font-weight: 700;
  color: var(--text);
  font-size: 0.78rem;
}

.cart-item__thumb {
  width: 72px;
  height: 72px;
  border-radius: 0.8rem;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-item__details {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.cart-item__title {
  font-weight: 700;
  color: var(--text);
}

.cart-item__meta {
  font-size: 0.95rem;
  color: var(--muted);
}

.cart-item__price {
  text-align: right;
  font-weight: 700;
}

.cart-empty {
  padding: 2rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(255,255,255,0.15);
  color: var(--muted);
  text-align: center;
}

.cart-summary .summary-card {
  display: grid;
  gap: 1rem;
}

.summary-card h3 {
  margin-bottom: 0.25rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
}

.summary-row.total {
  font-size: 1.05rem;
  color: var(--text);
}

.checkout-summary-table .total th,
.checkout-summary-table .total td {
  font-size: 1.1rem;
  font-weight: 800;
}

.checkout-summary-table .total td {
  color: #facc15;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(340px, 1fr);
  gap: 2rem;
  align-items: start;
}

.checkout-form-card,
.checkout-summary-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
}

.checkout-form-card {
  padding: 2rem 1.75rem;
}

.checkout-summary-card {
  padding: 1.8rem 1.6rem;
}

.checkout-form-card .checkout-section {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.checkout-form-card .checkout-section:last-child {
  margin-bottom: 0;
}

.checkout-item-list {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 1.5rem;
}

.checkout-item-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-summary-card h2 {
  margin-bottom: 1rem;
}

.order-note {
  margin: 0.75rem 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.checkout-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-step:last-child {
  border-bottom: none;
}

.checkout-step span {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: rgba(216, 165, 66, 0.16);
  color: var(--gold-soft);
  font-weight: 700;
}

.checkout-step h5 {
  margin: 0;
  font-size: 1rem;
}

.payment-method-card {
  position: relative;
  display: grid;
  grid-template-columns: auto auto auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.payment-method-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.payment-method-card.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  border-color: rgba(255,255,255,0.04);
}

.payment-method-card.disabled:hover {
  transform: none;
  border-color: rgba(255,255,255,0.08);
}

.payment-method-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-method-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.payment-method-logo {
  display: block;
  width: 2.15rem;
  height: 2.15rem;
}

.payment-method-card .payment-method-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.payment-method-card.selected .payment-method-dot,
.payment-method-card input:checked ~ .payment-method-dot {
  background: rgba(216, 165, 66, 0.9);
  border-color: rgba(216, 165, 66, 0.9);
}

.payment-method-card input:checked ~ .payment-method-content strong,
.payment-method-card.selected .payment-method-content strong {
  color: var(--text);
}

.payment-method-card .payment-method-content {
  display: grid;
  gap: 0.2rem;
}

.payment-method-card .payment-method-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8f7f2;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.payment-method-card strong {
  display: block;
  font-size: 1rem;
}

.payment-method-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.payment-methods-header,
.payment-methods-subheading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.5rem;
}

.payment-methods-header .eyebrow,
.payment-methods-subheading span {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payment-methods-subheading {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  color: #f8f7f2;
  background: rgba(255,255,255,0.08);
  width: fit-content;
}

.payment-method-card.selected {
  border-color: rgba(216, 165, 66, 0.7);
  background: rgba(216, 165, 66, 0.08);
}

.payment-method-card .payment-status {
  background: rgba(255,255,255,0.08);
}

.payment-method-card.disabled .payment-status {
  background: rgba(255,255,255,0.05);
  color: var(--muted);
}

.payment-methods {
  display: grid;
  gap: 0.95rem;
  margin-bottom: 1rem;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}

.checkbox-row input {
  width: auto;
  margin-top: 0.2rem;
}

@media (max-width: 900px) {
  .cart-page,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .cart-panel,
  .cart-summary {
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .checkout-form-card,
  .checkout-summary-card {
    padding: 1.5rem;
  }
}

@media (max-width: 700px) {
  body {
    padding: 0;
    margin: 0;
  }

  .checkout-layout {
    width: 100vw;
    position: relative;
    left: calc(-50vw + 50%);
    padding: 0;
    margin: 0;
  }

  .checkout-form-card,
  .checkout-summary-card {
    padding: 1.2rem 1rem;
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 0;
  }

  .checkout-section {
    gap: 1rem;
    margin-bottom: 1.2rem;
  }

  .checkout-step {
    flex-direction: column;
    gap: 0.5rem;
  }

  .checkout-step span {
    width: 1.8rem;
    height: 1.8rem;
  }

  .checkout-form-card .form-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .form-field--country,
  .form-field--currency,
  .form-field--full {
    grid-column: auto;
  }

  .payment-method-card {
    padding: 0.85rem;
  }

  .payment-method-card .payment-method-dot {
    width: 16px;
    height: 16px;
  }

  .payment-method-card .payment-method-content strong {
    font-size: 0.95rem;
  }

  .checkbox-row {
    flex-direction: row;
    padding: 0.8rem;
    gap: 0.6rem;
  }

  .checkbox-row input {
    margin-top: 0.15rem;
  }

  .checkout-form-card .btn {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
  }

  /* Cart Page - Full Width */
  .cart-page {
    width: 100vw;
    position: relative;
    left: calc(-50vw + 50%);
    padding: 0;
    margin: 0;
  }

  .cart-panel,
  .cart-summary {
    border-radius: 0;
    width: 100%;
    padding: 1.2rem 1rem;
  }

  /* Airtime Form Card - Full Width */
  .topup-hero {
    width: 100%;
    padding: 1.5rem 0;
    min-height: auto;
    margin: 0;
    box-sizing: border-box;
  }

  .topup-hero .container {
    width: 100%;
    padding: 0;
    margin: 0;
    max-width: none;
    overflow-x: hidden;
  }

  .hero-stack {
    width: 100%;
    max-width: none;
    margin: 0;
    gap: 0;
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .hero-form-card {
    width: 100%;
    max-width: none;
    padding: 1.1rem 0.75rem;
    box-sizing: border-box;
    border-radius: 1.2rem;
    margin: 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  }

  .hero-form-card .step-indicator {
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
    padding: 0.35rem;
    width: 100%;
    box-sizing: border-box;
  }

  .step-pill {
    font-size: 0.55rem;
    padding: 0.2rem 0.3rem;
    flex-shrink: 1;
  }

  .airtime-form .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .airtime-step-wrapper {
    gap: 0.6rem;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .airtime-step-panel {
    gap: 1rem;
    padding: 0 0 50px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .airtime-step-panel.active {
    width: 100%;
    max-width: 100%;
  }

  .form-field {
    gap: 0.4rem;
    margin-bottom: 0.8rem;
  }

  .custom-select-trigger {
    padding: 0.9rem 1rem;
    font-size: 0.82rem;
  }

  .custom-select-trigger .custom-select-flag {
    width: 18px;
    height: 14px;
    min-width: 18px;
  }

  .phone-field-row {
    gap: 0.5rem;
    grid-template-columns: minmax(96px, 110px) minmax(0, 1fr);
  }

  .phone-code-field {
    flex: 0 0 110px;
    max-width: 110px;
    min-width: 96px;
  }

  .phone-code-shell {
    min-width: 0;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .phone-code-field input {
    min-width: 0;
    width: 100%;
    font-size: 0.85rem;
    text-align: center;
  }

  .phone-number-field {
    flex: 1;
    min-width: 0;
  }

  .kt-topup-type {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    width: 100%;
  }

  .kt-topup-card {
    padding: 1rem;
    width: 100%;
    max-width: 100%;
    border-radius: 1.1rem;
    min-height: 150px;
  }

  .kt-topup-card h3 {
    font-size: 0.95rem;
    margin: 0.45rem 0 0.2rem;
  }

  .kt-topup-card p {
    font-size: 0.75rem;
    margin: 0;
  }

  .airtime-step-panel .review-summary {
    padding: 1.5rem 1.5rem;
    margin: 0 auto 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
  }

  @media (max-width: 390px) {
    .hero-form-card {
      width: 100% !important;
      max-width: 100% !important;
      padding-left: 0.8rem !important;
      padding-right: 0.8rem !important;
      box-sizing: border-box !important;
    }

    .airtime-step-wrapper,
    .airtime-step-panel,
    .airtime-step-panel.active,
    .airtime-form {
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
    }

    .airtime-step-panel .review-summary {
      width: 100% !important;
      max-width: 100% !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
      padding-left: 0.85rem !important;
      padding-right: 0.85rem !important;
      box-sizing: border-box !important;
    }

    .review-details {
      width: 100% !important;
      max-width: 100% !important;
    }

    .review-row {
      width: 100% !important;
      max-width: 100% !important;
      grid-template-columns: minmax(88px, 1fr) minmax(0, 1.65fr) !important;
      gap: 0.35rem 0.65rem !important;
      align-items: start !important;
    }

    .review-row dt,
    .review-row dd {
      min-width: 0 !important;
      max-width: 100% !important;
    }

    .review-row dd {
      justify-content: flex-start !important;
      white-space: normal !important;
      text-align: left !important;
    }

    .review-country,
    .review-operator {
      justify-content: flex-start !important;
      text-align: left !important;
    }
  }

  .airtime-step-panel .review-summary h3 {
    display: none;
  }

  .review-details {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
  }

  .review-row {
    display: grid;
    grid-template-columns: minmax(90px, 1.1fr) minmax(0, 1.8fr);
    gap: 0.35rem 0.7rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    align-items: center;
    width: 100%;
    max-width: 100%;
  }

  .review-row:last-child {
    border-bottom: none;
  }

  .review-row dt,
  .review-row dd {
    min-width: 0;
  }

  .review-row dt {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.6);
    word-break: break-word;
    line-height: 1.4;
    display: flex;
    align-items: center;
    max-width: 100%;
  }

    .review-row dd {
    margin: 0;
    font-size: 0.95rem;
    color: #111827;
    text-align: right;
    font-weight: 600;
    line-height: 1.5;
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .review-total-section {
    border-top: 2px solid rgba(0, 0, 0, 0.08);
    background: #f8f6fc;
    margin: 1rem -1.5rem -1.5rem -1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 0 0 12px 12px;
  }

  .total-row dt,
  .total-row dd {
    font-weight: 700;
    font-size: 1.3rem;
    color: #3600af;
  }

  .review-country,
  .review-operator {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    flex-wrap: nowrap;
    max-width: 100%;
    min-width: 0;
    width: 100%;
    overflow: hidden;
  }

  .review-country-flag,
  .review-operator-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    font-size: 1rem;
    line-height: 1;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
  }

  .review-country-name,
  .review-operator-name {
    display: inline;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .form-field input,
  .form-field select,
  .custom-select-trigger {
    width: 100%;
    box-sizing: border-box;
    font-size: 0.8rem;
    padding: 0.5rem 0.7rem;
  }

  .form-field label {
    font-size: 0.73rem;
    margin-bottom: 0.25rem;
  }

  .form-field input,
  .form-field select,
  .custom-select-trigger {
    width: 100%;
    box-sizing: border-box;
    font-size: 0.78rem;
    padding: 0.7rem 0.8rem;
  }

  .phone-code-field input {
    text-align: center;
  }

  .btn-primary {
    font-size: 0.82rem;
    padding: 0.6rem 0.8rem;
    width: 100%;
    box-sizing: border-box;
    background: #d97706 !important;
    color: #ffffff !important;
    border: none !important;
  }

  .btn-primary:hover {
    background: #b45309 !important;
  }

  .hero-actions--wizard {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .hero-actions--wizard .btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
  }

  .hero-actions--wizard .btn-primary {
    background: #d97706 !important;
    color: #ffffff !important;
    box-shadow: none;
  }

  .hero-actions--wizard .btn-primary:hover {
    background: #b45309 !important;
    box-shadow: none;
  }

  .hero-actions--wizard .btn-secondary {
    background: transparent;
    color: #6b7280;
    border: 1px solid #d1d5db;
  }

  .hero-actions--wizard .btn-secondary:hover {
    background: #f3f4f6;
  }

  /* Mobile operator dropdown sizing */
  .custom-select-wrapper[data-select="operator"] .custom-select-panel {
    width: 100% !important;
    max-width: 100% !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    top: calc(100% + 0.5rem) !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 1.2rem !important;
    max-height: 60vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 30;
  }

  .custom-select-wrapper[data-select="operator"] .custom-select-options {
    max-height: none;
    overflow-y: auto;
  }

  .custom-select-option {
    align-items: flex-start;
  }

  .custom-select-option .option-label {
    min-width: auto;
    flex: 1 1 auto;
    word-break: break-word;
  }

  .operator-card-meta {
    flex-wrap: wrap;
    gap: 0.3rem;
  }

  /* Gift Card Grid - Full Width Container */
  .giftcard-grid {
    width: 100vw;
    position: relative;
    left: calc(-50vw + 50%);
    padding: 0 1rem;
    gap: 0.8rem;
  }

  .giftcard-card {
    border-radius: 0.75rem;
  }

  /* Dashboard Sections - Full Width */
  .dashboard-hero {
    width: 100vw;
    position: relative;
    left: calc(-50vw + 50%);
    padding: 1.5rem 1rem;
    border-radius: 0;
  }

  .dashboard-summary-grid .container {
    width: 100vw;
    position: relative;
    left: calc(-50vw + 50%);
    padding: 1.5rem 1rem;
    margin: 0;
  }

  .dashboard-section-grid {
    width: 100vw;
    position: relative;
    left: calc(-50vw + 50%);
    padding: 1.5rem 1rem;
  }

  .dashboard-hero-card,
  .dashboard-orders-card,
  .dashboard-info-card,
  .dashboard-support-card {
    border-radius: 0.75rem;
  }

  /* Order Tracking - Full Width */
  .order-tracking-card,
  .order-status-card,
  .order-detail-card {
    width: 100%;
    border-radius: 0.75rem;
  }

  /* Carrier eSIM & Physical SIM - Full Width Cards */
  .carrier-esim-grid,
  .physical-sim-grid,
  .esim-detail-card,
  .physical-sim-detail-card {
    width: 100vw;
    position: relative;
    left: calc(-50vw + 50%);
    padding: 0 1rem;
  }

  .carrier-esim-card,
  .physical-sim-card {
    border-radius: 0.75rem;
  }

  /* Topup Hero - Full Width Section */
  .topup-hero {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    min-height: auto;
  }

  /* eSIM & Physical SIM Details - Full Width */
  .esim-details-layout,
  .physical-sim-details-layout {
    width: 100%;
    max-width: 100%;
    position: static;
    left: auto;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0;
    margin: 0;
  }

  .esim-details-layout .glass-card,
  .physical-sim-details-layout .glass-card {
    border-radius: 1rem;
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
  }

  /* Gift Card Steps - Mobile Optimization */
  .giftcard-steps {
    gap: 0.5rem;
    margin-bottom: 0.8rem;
  }

  .giftcard-step {
    padding: 0.5rem 0.6rem;
    font-size: 0.8rem;
  }

  .giftcard-step span:first-child {
    width: 1.3rem;
    height: 1.3rem;
    font-size: 0.75rem;
  }

  .giftcard-step-label {
    font-size: 0.7rem;
  }

  .giftcard-catalog-header .giftcard-steps {
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
  }

  .giftcard-catalog-header .giftcard-step {
    font-size: 0.6rem;
    padding: 0.4rem 0.45rem;
    gap: 0.3rem;
  }

  .giftcard-catalog-header .giftcard-step span:first-child {
    width: 1.2rem;
    height: 1.2rem;
    font-size: 0.65rem;
  }

  /* Sign In Card - Full Width */
  main > .section {
    padding: 1rem 0;
    min-height: auto;
  }

  /* Auth Section (Sign In/Sign Up) - Full Width */
  .auth-section {
    padding: 3.4rem 0;
  }

  /* Auth Section (Sign In/Sign Up) - Full Width */
  .auth-section {
    padding: 3.4rem 0;
  }

  .auth-section .container {
    width: 100%;
    padding: 0 1.3rem;
    margin: 0 auto;
    max-width: 100%;
    box-sizing: border-box;
  }

  .form-card.auth-card {
    width: 100%;
    padding: 2rem 1.2rem !important;
    box-sizing: border-box;
    border-radius: 1.15rem;
    margin: 0 auto !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(8, 16, 29, 0.96));
    box-shadow: 0 18px 46px rgba(7, 14, 27, 0.45), 0 0 0 1px rgba(216, 165, 66, 0.08);
  }
}

@media (max-width: 520px) {
  .checkout-form-card,
  .checkout-summary-card {
    padding: 1rem;
  }

  .checkout-step span {
    width: 1.6rem;
    height: 1.6rem;
    font-size: 0.9rem;
  }

  .form-field span {
    font-size: 0.82rem;
  }

  .form-field input,
  .form-field select {
    padding: 0.8rem 0.9rem;
    font-size: 0.95rem;
  }

  .checkout-summary-table th,
  .checkout-summary-table td {
    padding: 0.6rem 0;
    font-size: 1rem;
  }

  .checkout-summary-table .total th,
  .checkout-summary-table .total td {
    font-size: 1.2rem;
  }

  .checkout-item-row {
    font-size: 1rem;
  }

  .checkout-item-row strong {
    font-size: 1.05rem;
  }

  .payment-methods {
    gap: 0.8rem;
  }

  .payment-method-card {
    grid-template-columns: auto 1fr;
    gap: 0.6rem;
    padding: 0.75rem;
  }

  /* Cart Page - 520px Adjustments */
  .cart-panel,
  .cart-summary {
    padding: 1rem;
  }

  .cart-item {
    grid-template-columns: 60px minmax(0, 1fr) auto;
    gap: 0.8rem;
  }

  .cart-item-price,
  .cart-item-qty {
    font-size: 0.9rem;
  }

  /* Airtime - 520px Adjustments */
  .hero-form-card {
    padding: 1.2rem 1rem;
  }

  .kt-topup-card {
    padding: 1rem;
    min-height: 140px;
  }

  .kt-topup-card h3 {
    font-size: 1rem;
  }

  /* Gift Card - 520px Adjustments */
  .giftcard-card {
    padding: 0.8rem;
  }

  .giftcard-image {
    height: 140px;
  }

  /* Dashboard - 520px Adjustments */
  .dashboard-hero {
    padding: 1.2rem 1rem;
  }

  .dashboard-summary-grid .container {
    padding: 1.2rem 1rem;
  }

  .dashboard-hero-card {
    padding: 1rem;
  }

  .dashboard-orders-card,
  .dashboard-info-card,
  .dashboard-support-card {
    padding: 1rem;
  }

  .dashboard-order-table th,
  .dashboard-order-table td {
    padding: 0.6rem;
    font-size: 0.85rem;
  }

  /* Order Tracking - 520px Adjustments */
  .order-tracking-card,
  .order-status-card,
  .order-detail-card {
    padding: 1rem;
  }
}

@media (max-width: 700px) {
  .checkout-form-card,
  .checkout-summary-card {
    padding: 1rem;
  }

  .checkout-step {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    align-items: start;
  }

  .checkout-step span {
    width: 1.9rem;
    height: 1.9rem;
  }

  .payment-method-card {
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    padding: 0.9rem 0.95rem;
  }

  .payment-method-card .payment-status {
    grid-column: 2;
    margin-top: 0.1rem;
    justify-self: start;
  }

  .checkout-item-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .checkout-item-row strong {
    align-self: flex-start;
  }

  .checkbox-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.85rem;
  }

  .checkout-form-card .btn {
    width: 100%;
  }

  .review-pay-page {
    padding: 24px 14px 20px;
  }

  .review-pay-header p {
    font-size: 1rem;
  }

  .review-pay-row {
    padding: 18px 16px;
  }

  .review-pay-row strong {
    font-size: 1rem;
  }

  .review-pay-actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cart-panel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .cart-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.85rem;
    align-items: start;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .cart-item__thumb {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  .cart-item__details {
    min-width: 0;
    overflow: hidden;
    grid-column: 2;
    grid-row: 1;
  }

  .cart-item__price {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
    white-space: nowrap;
    padding-left: 0;
    flex-shrink: 0;
    margin-top: 0.1rem;
    justify-self: start;
  }

  .cart-item__quantity-control {
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
    margin-top: 0.1rem;
    flex-shrink: 0;
  }

  .cart-item__title,
  .cart-item__meta {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .cart-item > .btn-secondary {
    width: 100%;
    margin-top: 0.25rem;
    grid-column: 1 / -1;
    grid-row: 4;
  }

  .summary-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .cart-empty {
    padding: 1.25rem;
  }
}

/* Keep the main customer workflows comfortable on narrow phone screens. */
@media (max-width: 600px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .section > .container,
  .auth-section > .container,
  .giftcard-page-section > .container,
  .checkout-layout,
  .esim-details-layout,
  .dashboard-hero .container,
  .dashboard-summary-grid .container,
  .dashboard-activity-grid .container {
    width: 94vw !important;
    max-width: 94vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  .section,
  .auth-section,
  .giftcard-page-section,
  .dashboard-hero,
  .dashboard-summary-grid,
  .dashboard-activity-grid {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .form-card,
  .service-form,
  .giftcard-purchase-panel,
  .auth-card,
  .checkout-form-card,
  .checkout-summary-card,
  .esim-details-layout > .glass-card,
  .dashboard-hero-card,
  .dashboard-orders-card,
  .dashboard-info-card,
  .dashboard-support-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  .giftcard-purchase-panel,
  .auth-card,
  .checkout-form-card,
  .checkout-summary-card,
  .esim-details-layout > .glass-card,
  .dashboard-hero-card,
  .dashboard-orders-card,
  .dashboard-info-card,
  .dashboard-support-card {
    padding: 1rem !important;
  }

  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .form-card .btn,
  .service-form .btn,
  form button[type="submit"],
  form button[type="button"] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    font-size: 16px !important;
  }

  .hero-actions,
  .giftcard-purchase-panel .hero-actions,
  .checkout-form-card .hero-actions,
  .dashboard-hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .checkout-layout {
    position: static;
    left: auto;
    display: grid;
    gap: 1rem;
  }

  .checkout-form-card,
  .checkout-summary-card {
    border-radius: 1rem !important;
  }

  .giftcard-checkout-header,
  .giftcard-purchase-header,
  .esim-hero,
  .esim-summary-card__body,
  .esim-carrier-info {
    min-width: 0;
    flex-wrap: wrap;
  }

  .giftcard-checkout-header > *,
  .giftcard-purchase-header > *,
  .esim-hero__content,
  .esim-carrier-info > div {
    min-width: 0;
    max-width: 100%;
  }

  .dashboard-orders-card {
    min-height: 0;
  }

  .dashboard-order-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .dashboard-order-table {
    width: max-content !important;
    min-width: 680px;
  }

  .dashboard-order-table th,
  .dashboard-order-table td {
    white-space: nowrap;
  }

  .esim-details-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1rem;
  }

  .esim-price-stack {
    align-items: flex-start;
    width: 100%;
  }
}

.review-pay-inline {
  display: block;
  margin-top: 1.5rem;
  width: 100%;
}

.review-pay-page {
  min-height: 100vh;
  background: #f3f3f5;
  padding: 28px 18px 32px;
  font-family: "Inter", "Segoe UI", sans-serif;
}

.review-pay-shell {
  max-width: 820px;
  margin: 0 auto;
}

.review-pay-header h1 {
  margin: 0;
  font-size: clamp(2.4rem, 3.6vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: #1d2430;
  font-weight: 800;
}

.review-pay-header p {
  margin: 12px 0 26px;
  font-size: 1.15rem;
  color: rgba(29, 36, 48, 0.7);
  font-weight: 500;
}

.review-pay-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 18px;
  overflow: hidden;
}

.review-pay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 22px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(17, 24, 39, 0.12);
  font-size: 1.05rem;
  color: #1d2430;
}

.review-pay-row:last-child {
  border-bottom: none;
}

.review-pay-row > span {
  color: rgba(29, 36, 48, 0.9);
  font-weight: 500;
}

.review-pay-row strong {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: #1d2430;
  font-size: 1.08rem;
  font-weight: 700;
}

.flag-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 1.1rem;
  background: rgba(17, 24, 39, 0.04);
}

.type-pill {
  color: #1c8f6a;
}

.small-bolt {
  color: #f0a718;
  font-size: 1.15rem;
}

.muted-equals {
  color: rgba(29, 36, 48, 0.72);
  font-weight: 500;
}

.processing-row {
  border-top: 1px solid rgba(17, 24, 39, 0.12);
}

.fee-amount {
  color: #f29d0d;
}

.total-row {
  background: rgba(111, 67, 211, 0.12);
  border-top: 2px solid rgba(99, 59, 177, 0.8);
  padding-top: 22px;
  padding-bottom: 22px;
}

.total-row span,
.total-row strong {
  color: #4b2c8f;
}

.total-row strong {
  font-size: clamp(1.7rem, 2.3vw, 2.5rem);
  letter-spacing: -0.05em;
}

.review-pay-actions {
  display: grid;
  grid-template-columns: 1fr 4.3fr;
  gap: 18px;
  margin-top: 18px;
}

.review-pay-back,
.review-pay-submit {
  min-height: 66px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-pay-back {
  background: rgba(255, 255, 255, 0.8);
  color: #1d2430;
}

.review-pay-submit {
  background: linear-gradient(135deg, #19b58a 0%, #0f9d7d 100%);
  border: none;
  color: #fff;
  box-shadow: 0 10px 22px rgba(18, 153, 118, 0.22);
  font-size: clamp(1.1rem, 1.8vw, 2.05rem);
  letter-spacing: -0.05em;
}

.review-pay-back:hover,
.review-pay-submit:hover {
  transform: translateY(-1px);
}

.submit-bolt {
  font-size: 1.2rem;
  margin-right: 8px;
}

.review-pay-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 14px;
  color: rgba(29, 36, 48, 0.7);
  font-size: 1rem;
  font-weight: 600;
}

.review-pay-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-bolt {
  color: #f0a718;
}

.trust-lock {
  color: #4b5563;
}

.trust-check {
  color: #16a34a;
}

@media (max-width: 700px) {
  .review-pay-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .review-pay-row strong {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }

  .review-pay-actions {
    grid-template-columns: 1fr;
  }

  .review-pay-trust {
    gap: 14px 22px;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .cart-item {
    gap: 0.6rem;
    padding: 0.75rem;
  }

  .cart-item__thumb {
    width: 48px;
    height: 48px;
  }

  .cart-item__title {
    font-size: 0.95rem;
  }

  .cart-item__meta {
    font-size: 0.9rem;
  }

  .cart-item__price {
    font-size: 0.95rem;
  }

  .cart-item__quantity-control {
    width: fit-content;
  }

  .cart-item .qty-btn {
    width: 0.95rem !important;
    height: 0.95rem !important;
    min-width: 0.95rem !important;
    min-height: 0.95rem !important;
    font-size: 0.68rem !important;
  }
}

.btn-sm {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
}

.hero {
  position: relative;
  padding: 6.5rem 0 4.5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(245, 182, 29, 0.14), transparent 26%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.09), transparent 22%),
    linear-gradient(160deg, #12053a 0%, #0b0a22 46%, #140f32 100%);
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr minmax(320px, 0.85fr);
  gap: 2rem;
  align-items: start;
}

.hero-panel {
  display: grid;
  place-items: center;
}

.hero-panel-card {
  position: relative;
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 1.8rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border: 1px solid rgba(255, 195, 0, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.hero-panel-card::before {
  content: '';
  position: absolute;
  inset: -24px;
  background: radial-gradient(circle at top right, rgba(255, 195, 0, 0.12), transparent 30%);
  opacity: 0.55;
  pointer-events: none;
}

.hero-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.hero-panel-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 195, 0, 0.28);
  color: var(--gold-soft);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
}

.hero-panel-copy {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.hero-panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 1rem;
  background: rgba(255, 195, 0, 0.16);
  color: var(--gold);
  font-size: 1.2rem;
}

.service-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.service-tab {
  padding: 1rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.service-tab.active,
.service-tab:hover {
  background: rgba(255, 195, 0, 0.22);
  border-color: rgba(255, 195, 0, 0.28);
  color: var(--gold-soft);
}

.hero-form-row {
  display: grid;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field label {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-field--highlight,
.phone-field-group,
.amount-input-wrap,
.kt-topup-type {
  background: rgba(255, 255, 255, 0.02);
}

.custom-select-wrapper {
  position: relative;
  min-width: 0;
}

.custom-select-trigger {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(12, 18, 32, 0.9));
  color: var(--text);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 8px 18px rgba(15, 23, 42, 0.12);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.custom-select-trigger:hover,
.custom-select-trigger:focus {
  border-color: rgba(245, 182, 29, 0.32);
  box-shadow: inset 0 0 0 1px rgba(245, 182, 29, 0.04), 0 12px 24px rgba(15, 23, 42, 0.18);
  transform: translateY(-1px);
}

.custom-select-trigger .custom-select-flag {
  width: 22px;
  height: 16px;
  min-width: 22px;
  background: rgba(255,255,255,0.08);
  border-radius: 0.4rem;
  display: grid;
  place-items: center;
}

.custom-select-trigger .custom-select-flag img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0.35rem;
}

.custom-select-trigger img {
  width: 22px;
  height: 16px;
  border-radius: 0.5rem;
}

.phone-code-shell {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: center;
  min-height: 3.4rem;
  padding: 0.15rem 0.6rem 0.15rem 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1rem;
}

.phone-code-flag {
  width: 32px;
  height: 22px;
  min-width: 32px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.45rem;
  display: grid;
  place-items: center;
}

.phone-code-flag img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0.35rem;
}

.phone-field-group .phone-code-field input,
.phone-field-group .phone-number-field input {
  width: 100%;
  padding: 0.95rem 0.8rem;
  border: none;
  border-radius: 0.65rem;
  background: transparent;
}

.phone-field-group .phone-code-field input:focus,
.phone-field-group .phone-number-field input:focus {
  outline: none;
}

.phone-entry,
.amount-input-wrap {
  display: grid;
}

.phone-entry {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem;
}

.phone-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(245, 182, 29, 0.12);
  border: 1px solid rgba(245, 182, 29, 0.24);
  color: var(--gold-soft);
  font-weight: 700;
}

.phone-entry input,
.amount-input-wrap input {
  width: 100%;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.phone-entry input:focus,
.amount-input-wrap input:focus,
.form-field input:focus,
.form-field select:focus {
  border-color: rgba(245, 182, 29, 0.38);
  box-shadow: 0 0 0 4px rgba(245, 182, 29, 0.08);
}

.amount-options {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.amount-pill,
.chip {
  padding: 0.95rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.amount-pill.active,
.amount-pill:hover,
.chip:hover {
  background: linear-gradient(135deg, rgba(245, 182, 29, 0.22), rgba(255, 255, 255, 0.08));
  border-color: rgba(255, 195, 0, 0.3);
  color: var(--gold-soft);
}

.hero-panel-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.hero-panel-footer span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 195, 0, 0.16);
  color: var(--gold);
  font-size: 0.95rem;
}

.testimonial-stars {
  display: block;
  margin-bottom: 1rem;
  color: var(--gold-soft);
}

.eyebrow {
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.85rem;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.2rem, 4.4vw, 4.15rem);
  max-width: 12ch;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  font-weight: 700;
}

h3 {
  font-weight: 700;
}

.hero-text,
.section-head p,
.showcase-copy p,
.feature-card p,
.testimonial-card p,
.faq-answer p,
.site-footer p,
.link-card p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.7rem 0 1.2rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--gold-soft);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pill-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3dd26f;
  box-shadow: 0 0 0 4px rgba(61, 210, 111, 0.12);
}

.hero-copy h1 {
  font-size: clamp(3rem, 5.1vw, 5.2rem);
  margin-top: 1.4rem;
  max-width: 14ch;
  line-height: 1.02;
}

.hero-copy h1 span {
  display: block;
  color: var(--gold);
}

.hero-support {
  margin-top: 1.6rem;
}

.hero-support span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.flag-list {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.flag-list img {
  width: 32px;
  height: 24px;
  object-fit: cover;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.flag-list span {
  color: var(--text);
  font-weight: 700;
}

.btn-nav {
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--bg);
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(245, 182, 29, 0.28);
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(245, 182, 29, 0.34);
}


.info-banner {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  background: rgba(250, 243, 209, 0.96);
  border: 1px solid rgba(249, 231, 159, 0.9);
  color: #2d2d1f;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.info-banner span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.carrier-summary-grid {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
}

.carrier-card,
.carrier-info-card {
  border: 1px solid rgba(216, 165, 66, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.3rem;
}

.carrier-card {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.carrier-card-image {
  width: 96px;
  min-width: 96px;
  height: 96px;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
}

.carrier-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.carrier-info-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 195, 0, 0.35);
}

.carrier-card span {
  display: block;
  color: var(--muted);
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
}

.carrier-card strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 1rem;
  font-weight: 800;
}

.carrier-info-card h3 {
  margin: 0 0 0.75rem;
  color: #111;
}

.carrier-info-card p {
  margin: 0 0 0.8rem;
  color: #333;
}

.muted-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.selected-summary-card {
  padding: 1.4rem;
  border-radius: 1rem;
  border: 1px solid rgba(216, 165, 66, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.esim-plan-card {
  min-height: auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
}

/* ESIM page modern tweaks */
.esim-selection-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  padding: 1.1rem 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 18px 38px rgba(8, 14, 40, 0.12);
}

.esim-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0;
}

.esim-hero__media {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

#esim-details-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.esim-hero__content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.esim-hero__content h3 {
  font-size: 1.25rem;
  margin: 0.15rem 0 0.25rem;
}

.esim-hero__content p {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 600px) {
  .esim-hero__media {
    flex-basis: 76px;
    width: 76px;
    height: 76px;
  }
}

.esim-details-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  width: 100%;
  max-width: none;
}

.esim-details-layout > .glass-card {
  width: 100%;
  max-width: none;
}

@media (max-width: 1040px) {
  .esim-details-layout {
    grid-template-columns: 1fr;
  }
}

.esim-summary-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #FFFFFF;
  padding: 1.4rem;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.08);
}

.esim-summary-card__body {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.esim-summary-card .eyebrow {
  margin: 0 0 0.45rem;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
}

.esim-summary-card h4 {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.2;
  color: #111111;
}

.esim-price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.esim-price-stack #esim-selected-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-soft);
}

.esim-price-stack #esim-selected-old-price {
  color: #999999;
  font-size: 0.95rem;
  text-decoration: line-through;
}

.esim-order-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #FFFFFF;
  padding: 1.4rem;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 100%;
}

.esim-order-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.esim-order-card__header h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #111111;
}

.esim-carrier-info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  background: #F5F5F5;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 1.2rem;
  padding: 1rem;
  color: #111111;
}

.esim-carrier-info h4 {
  color: #111111;
  margin: 0 0 0.35rem 0;
}

.esim-carrier-info p {
  color: #555555;
  margin: 0 0 0.4rem 0;
}

.esim-carrier-info img {
  width: 88px;
  height: 88px;
  border-radius: 1rem;
  object-fit: cover;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(0,0,0,0.12);
}

.esim-plan-card {
  min-height: auto;
  padding: 1.2rem;
  border-radius: 1.35rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.esim-plan-card .plan-card-heading h3 {
  font-size: 1rem;
}

#esim-plan-options .esim-plan-card:hover,
#esim-plan-options .esim-plan-card.selected {
  transform: translateY(-4px);
  border-color: rgba(255, 199, 0, 0.45);
  box-shadow: 0 18px 45px rgba(255, 198, 0, 0.12);
}

#esim-plan-options .plan-card-meta {
  color: rgba(255, 255, 255, 0.72);
}

#esim-plan-options .plan-price-row {
  justify-content: space-between;
  gap: 0.75rem;
}

#esim-plan-options .new-price {
  font-size: 1.45rem;
  color: var(--gold-soft);
}

#esim-plan-options .plan-summary {
  margin: 0 0 0.8rem;
  font-weight: 700;
  color: #f8f6f0;
}

#esim-plan-options .plan-features li {
  gap: 0.6rem;
  font-size: 0.95rem;
}

#esim-plan-options .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

#esim-details-form {
  width: 100%;
}

#esim-details-form .form-grid {
  grid-template-columns: 1fr;
  gap: 1rem;
}

#esim-details-form .form-field {
  min-width: 0;
}

#esim-details-form .form-field input,
#esim-details-form .form-field select,
#esim-details-form .form-field textarea {
  min-height: 3rem;
  padding: 1rem 1.05rem;
  font-size: 1rem;
  line-height: 1.4;
}

#esim-details-form .contact-toggle-group {
  flex-wrap: wrap;
}

#esim-details-form .contact-toggle {
  min-width: 120px;
  justify-content: center;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

#esim-details-add-to-cart.btn-primary {
  background: linear-gradient(90deg, var(--color-accent-gold), var(--color-accent-orange));
  color: #07103a;
  font-weight: 800;
  padding: 0.8rem 1.05rem;
  border-radius: 0.75rem;
  border: none;
  box-shadow: 0 8px 30px rgba(245,158,11,0.12);
}

@media (max-width: 900px) {
  .esim-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .esim-hero__media {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
    min-width: 72px;
  }

  .esim-hero__content h3 {
    font-size: 1.05rem;
  }

  .esim-summary-card__body {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .esim-price-stack {
    align-items: flex-start;
  }

  .esim-carrier-info {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .esim-carrier-info img {
    width: 56px;
    height: 56px;
  }
}

.plan-card-heading h3 {
  margin: 0;
  font-size: 1.1rem;
}

.plan-card-meta {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-price-row {
  align-items: baseline;
  gap: 1rem;
}

.plan-summary {
  margin: 0 0 0.8rem;
  font-weight: 700;
}

.plan-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-features li {
  display: flex;
  gap: 0.75rem;
}

.plan-features li::before {
  content: '✔';
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  font-size: 0.9rem;
}

.plan-renewal {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-toggle-group {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.contact-toggle {
  border: 1px solid rgba(216, 165, 66, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 999px;
  padding: 0.9rem 1rem;
  cursor: pointer;
  font-weight: 700;
}

.contact-toggle.active {
  background: rgba(255, 195, 0, 0.95);
  color: #121212;
  border-color: rgba(255, 195, 0, 0.7);
}

.contact-toggle:hover {
  border-color: rgba(216, 165, 66, 0.32);
}

.form-field select {
  appearance: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.4rem;
}

.hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.hero-quick-links a {
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: #111827;
  box-shadow: 0 12px 30px rgba(251, 191, 36, 0.24);
  border: none;
}

.btn-primary:hover {
  box-shadow: 0 16px 40px rgba(245, 182, 29, 0.55);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
}

.btn-nav {
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--bg);
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(245, 182, 29, 0.28);
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(245, 182, 29, 0.34);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-signin {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
}

.btn-signin:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--gold-soft);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.hero-metrics div {
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 1rem;
  min-width: 120px;
}

.hero-metrics strong {
  display: block;
  color: var(--gold-soft);
  font-size: 1.05rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-banner {
  margin-top: 1.5rem;
  padding: 1.15rem 1.25rem;
  border-radius: 1.25rem;
  background: rgba(255, 195, 0, 0.1);
  border: 1px solid rgba(255, 195, 0, 0.25);
  color: var(--text);
  box-shadow: 0 14px 35px rgba(255, 195, 0, 0.15);
}

.hero-banner p {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
}

.no-voucher-section {
  background: rgba(255, 195, 0, 0.05);
  border: 1px solid rgba(255, 195, 0, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.no-voucher-grid {
  display: grid;
  grid-template-columns: 1.1fr minmax(260px, 0.9fr);
  gap: 1.5rem;
  align-items: center;
}

.no-voucher-copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.no-voucher-copy p {
  color: var(--muted);
  max-width: 40rem;
}

.no-voucher-highlights {
  display: grid;
  gap: 1rem;
}

.no-voucher-card {
  padding: 1.35rem 1.25rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 195, 0, 0.22);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.no-voucher-card h3 {
  margin: 0 0 0.55rem;
}

.no-voucher-card p {
  margin: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.3rem;
}

.service-card {
  display: grid;
  gap: 1rem;
  padding: 1.6rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(216, 165, 66, 0.18);
  border-radius: 1.4rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 195, 0, 0.35);
  background: rgba(255, 255, 255, 0.09);
}

.service-card h3 {
  margin: 0;
  color: var(--text);
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.service-card ul li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--muted);
}

.service-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--gold);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 195, 0, 0.18);
  transition: transform 0.22s ease, background 0.22s ease;
}

.service-card:hover .service-card-icon {
  transform: translateY(-2px) scale(1.02);
  background: rgba(255, 255, 255, 0.12);
}

.service-card a {
  color: var(--gold-soft);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-card a::after {
  content: '→';
  display: inline-block;
  transition: transform 0.2s ease;
}

.service-card a:hover::after {
  transform: translateX(3px);
}

.cta-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.4rem;
}

.cta-benefits {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  color: var(--muted);
}

.cta-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cta-benefits li::before {
  content: '✔';
  color: var(--gold);
  font-weight: 700;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.advantage-card {
  padding: 1.5rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(216, 165, 66, 0.16);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.advantage-card h3 {
  margin: 0 0 0.8rem;
}

.advantage-card p {
  margin: 0;
  color: var(--muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.stats-grid div {
  padding: 1.2rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(216, 165, 66, 0.14);
}

.stats-grid strong {
  display: block;
  font-size: 1.7rem;
  color: var(--gold-soft);
}

.stats-grid span {
  color: var(--muted);
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.coverage-card {
  padding: 1.35rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(216, 165, 66, 0.16);
  display: grid;
  gap: 0.9rem;
  text-align: center;
}

.coverage-card img {
  width: 56px;
  height: 40px;
  object-fit: contain;
  margin: 0 auto;
}

.coverage-card h4 {
  margin: 0;
}

.coverage-card p {
  margin: 0;
  color: var(--muted);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.step-card {
  padding: 1.4rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(216, 165, 66, 0.16);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 195, 0, 0.18);
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-card h3 {
  margin: 0 0 0.65rem;
}

.step-card p {
  margin: 0;
  color: var(--muted);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.testimonial-card {
  padding: 1.5rem;
  border-radius: 1.45rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(216, 165, 66, 0.16);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
}

.testimonial-card p {
  color: var(--muted);
}

.testimonial-card strong {
  display: block;
  margin-top: 1rem;
  color: var(--text);
}

.testimonial-card span {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.faq-item {
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(216, 165, 66, 0.16);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.4rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.faq-question span {
  color: var(--gold-soft);
  font-size: 1.25rem;
}

.faq-answer {
  display: none;
  padding: 0 1.4rem 1.3rem;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
}

.faq-item.active .faq-answer {
  display: block;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.cta-section {
  background: linear-gradient(135deg, rgba(216, 165, 66, 0.12), rgba(255,255,255,0.02));
}

.cta-card {
  display: grid;
  align-items: center;
  grid-template-columns: 1.2fr auto;
  gap: 1rem;
  padding: 2rem 2.1rem;
  border-radius: 1.5rem;
  background: rgba(18, 18, 18, 0.96);
  border: 1px solid rgba(255, 195, 0, 0.18);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.cta-card h2 {
  margin: 0;
}

.cta-card .btn {
  min-width: 200px;
}

@media (max-width: 900px) {
  .no-voucher-grid,
  .cta-card,
  .showcase-grid,
  .payment-grid,
  .advantage-grid,
  .stats-grid,
  .coverage-grid,
  .step-grid,
  .testimonial-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    text-align: center;
  }

  .cta-card .btn {
    width: 100%;
  }
}

.form-card,
.service-form,
.dashboard-card,
.tracking-card {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.1rem;
  padding: 1.4rem;
  box-shadow: 0 14px 36px rgba(4, 22, 60, 0.16);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.checkout-form-card .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-form-card .form-field--country,
.checkout-form-card .form-field--currency {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.checkout-form-card .form-field--country select,
.checkout-form-card .form-field--currency select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(1.1em), calc(100% - 14px) calc(1.1em);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}

.checkout-form-card .form-field--country .country-option,
.checkout-form-card .form-field--currency .currency-option {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.checkout-form-card .form-field--country .country-flag,
.checkout-form-card .form-field--currency .currency-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  background: rgba(216, 165, 66, 0.16);
  font-size: 0.8rem;
  font-weight: 700;
}

.airtime-form .form-grid {
  gap: 1.05rem;
}

.airtime-step-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.airtime-step-panel {
  display: none;
  gap: 1rem;
  padding: 0 0 50px 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.airtime-step-panel.active {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.kt-topup-type {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  width: 100%;
}

.kt-topup-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.35rem 1.2rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(148,163,184,0.22);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  min-height: 170px;
  width: 100%;
  max-width: 100%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 12px 30px rgba(15, 23, 42, 0.12);
  transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
  cursor: pointer;
}

.kt-topup-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
  color: #f8fafc;
}

.kt-topup-card-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(245, 182, 29, 0.12);
  border: 1px solid rgba(245, 182, 29, 0.2);
}

.kt-topup-card-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.kt-topup-card p {
  margin: 0;
  color: rgba(226, 232, 240, 0.7);
  line-height: 1.6;
}

.kt-topup-card:hover {
  border-color: rgba(245, 182, 29, 0.34);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
  transform: translateY(-1px);
}

.kt-topup-card.active {
  border-width: 1px;
  border-color: rgba(245, 182, 29, 0.34);
  background: linear-gradient(180deg, rgba(245, 182, 29, 0.14), rgba(255,255,255,0.04));
  box-shadow: 0 18px 40px rgba(245, 182, 29, 0.12);
  transform: translateY(-1px);
}

.kt-topup-card.active h3 {
  color: #fff5d6;
}

.kt-topup-card.active::before {
  content: 'Selected';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #065f46;
  background: rgba(220, 252, 231, 0.95);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 9999px;
  padding: 0.35rem 0.75rem;
}

.airtime-step-panel [class^="amount-"] {
  display: block;
}

.airtime-step-panel .review-summary {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-left: 4px solid var(--kt-gold, #d4af37) !important;
  border-radius: 1rem;
  padding: 1.75rem 1.75rem 1.75rem 1.5rem;
  width: 100%;
  max-width: 100%;
  margin: 0 0 1.5rem;
  box-shadow: none;
}

.airtime-step-panel .review-summary h3 {
  margin: 0 0 0.9rem;
  font-size: 1rem;
  color: #0f172a;
  letter-spacing: 0.02em;
}

.review-details {
  display: grid;
  gap: 0.75rem 0;
}

.review-row {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(160px, 1fr);
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.review-row:last-child {
  border-bottom: none;
}

.review-row dt {
  font-size: 0.76rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.review-row dd {
  margin: 0;
  font-size: 0.98rem;
  color: #0f172a;
  font-weight: 700;
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.review-row.total-row dt {
  font-weight: 800;
  color: #0f172a;
}

.review-row.total-row dd {
  font-size: 1.15rem;
  color: #1d4ed8;
  font-weight: 900;
}

.review-country,
.review-operator {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.review-country-flag,
.review-operator-logo {
  min-width: 28px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
  border-radius: 0.45rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.review-country-name,
.review-operator-name {
  display: inline-block;
  font-weight: 700;
  color: #0f172a;
  max-width: 100%;
}

.review-country-flag img,
.type-summary-country-flag img,
.custom-select-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.review-operator {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.review-operator-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 0.45rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.review-operator-name {
  display: inline-block;
  font-weight: 700;
  color: #0f172a;
}

.review-fee {
  color: #0f172a;
}

.airtime-step-panel .amount-subtitle:empty {
  display: none;
}

.airtime-amount-helper {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.95);
  padding: 0.8rem 1rem;
  border-radius: 0.85rem;
}

@media (max-width: 768px) {
  .kt-topup-type {
    grid-template-columns: 1fr;
  }
}

.hero-actions--wizard {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.phone-field-group {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.phone-field-group .phone-field-row {
  display: grid;
  grid-template-columns: minmax(128px, 160px) minmax(0, 1fr);
  gap: 0.9rem;
  align-items: flex-end;
}

.phone-code-input-shell {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.95rem;
  padding: 0.25rem 0.55rem 0.25rem 0.4rem;
}

.phone-code-flag {
  width: 38px;
  min-width: 38px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  color: var(--gold-soft);
  font-size: 1rem;
}

.phone-field-group .phone-code-field input,
.phone-field-group .phone-number-field input {
  width: 100%;
  padding: 0.95rem 0.8rem;
  border: none;
  border-radius: 0.65rem;
  background: transparent;
}

.phone-field-group .phone-code-field input:focus,
.phone-field-group .phone-number-field input:focus {
  outline: none;
}

.phone-field-hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.5;
}

.phone-field-group .phone-code-field span,
.phone-field-group .phone-number-field span {
  font-size: 0.82rem;
  color: var(--muted);
}

.form-field span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.95rem;
  padding: 0.95rem 1rem;
  background: rgba(10, 16, 27, 0.8);
  color: #f8f7f2;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 0 1px rgba(255,255,255,0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(216, 165, 66, 0.7);
  box-shadow: 0 0 0 4px rgba(216, 165, 66, 0.12), 0 10px 24px rgba(216, 165, 66, 0.08);
}

.form-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-soft) 50%), linear-gradient(135deg, var(--gold-soft) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
  color: #f8f7f2;
}

.form-field select option {
  background: #121212;
  color: #f8f7f2;
}

.tracking-result {
  margin-top: 1.5rem;
}

.tracking-result-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  padding: 1.45rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.tracking-result-header {
  margin-bottom: 1rem;
}

.tracking-result-header h3 {
  margin: 0 0 0.4rem;
}

.tracking-result-header p {
  margin: 0;
  color: var(--muted);
}

.tracking-result-body {
  display: grid;
  gap: 1rem;
}

.tracking-detail-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tracking-detail-row:first-child {
  border-top: none;
}

.tracking-detail-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.tracking-detail-row strong {
  color: var(--text);
  font-size: 0.98rem;
}

.tracking-board {
  margin-top: 2rem;
}

.tracking-board-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.tracking-summary-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.15rem;
  padding: 1rem 1.2rem;
  text-align: left;
}

.tracking-summary-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.45rem;
}

.tracking-summary-card strong {
  color: var(--text);
  font-size: 1.4rem;
}

.tracking-board-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tracking-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tracking-filter {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.tracking-filter.active,
.tracking-filter:hover {
  background: rgba(251, 191, 36, 0.14);
  color: var(--gold-soft);
  border-color: rgba(251, 191, 36, 0.22);
}

.tracking-board-table-wrap {
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
}

.tracking-board-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 100%;
}

@media (max-width: 640px) {
  .tracking-board-table {
    min-width: 100%;
  }

  .tracking-board-table td,
  .tracking-board-table th {
    padding: 0.75rem 0.8rem;
  }
}

.tracking-board-table th,
.tracking-board-table td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tracking-board-table th {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tracking-board-table td {
  color: var(--text);
  font-size: 0.95rem;
}

.tracking-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.tracking-status-pill.submitted {
  color: #facc15;
  background: rgba(250, 204, 21, 0.12);
}

.tracking-status-pill.processing {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
}

.tracking-status-pill.pending {
  color: #f97316;
  background: rgba(249, 115, 22, 0.12);
}

.tracking-status-pill.completed,
.tracking-status-pill.delivered {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
}

.tracking-order-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.tracking-order-link:hover {
  color: var(--gold-soft);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .tracking-board-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tracking-detail-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tracking-detail-row:first-child {
  border-top: none;
}

.tracking-detail-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.tracking-detail-row strong {
  color: var(--text);
  font-size: 0.98rem;
}

.form-field--highlight {
  background: rgba(216, 165, 66, 0.08);
  border: 1px solid rgba(216, 165, 66, 0.2);
  border-radius: 1rem;
  padding: 0.8rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.auth-section {
  width: 100%;
}

.auth-section .container {
  width: min(100%, 1200px);
  max-width: calc(100% - 2rem);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

.auth-card {
  width: min(100%, 1080px);
  max-width: calc(100% - 2rem);
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(111, 84, 170, 0.28), rgba(62, 41, 121, 0.18));
  border: 1px solid rgba(196, 170, 255, 0.28);
  box-shadow: 0 28px 72px rgba(18, 10, 35, 0.35), 0 0 0 1px rgba(196, 170, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

@media (max-width: 640px) {
  .auth-section .container,
  .dashboard-hero .container,
  .dashboard-summary-grid .container,
  .dashboard-activity-grid .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  .auth-card,
  .dashboard-hero-card,
  .dashboard-summary-grid-inner,
  .dashboard-section-grid,
  .dashboard-card,
  .wallet-modal-dialog {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  .auth-card {
    width: calc(100% - 0.75rem) !important;
    max-width: calc(100% - 0.75rem) !important;
    margin: 0 auto !important;
    padding: 1.95rem 1.2rem 1.5rem !important;
    box-sizing: border-box !important;
    border-radius: 1rem !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, rgba(111, 84, 170, 0.28), rgba(62, 41, 121, 0.18)) !important;
    border-left: 1px solid rgba(196, 170, 255, 0.28) !important;
    border-right: 1px solid rgba(196, 170, 255, 0.28) !important;
    border-top: 1px solid rgba(196, 170, 255, 0.28) !important;
    border-bottom: 1px solid rgba(196, 170, 255, 0.28) !important;
    box-shadow: 0 22px 52px rgba(18, 10, 35, 0.3), 0 0 0 1px rgba(196, 170, 255, 0.08) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
  }

  .auth-card .form-card,
  .auth-card .service-form,
  .auth-card form,
  .auth-card .auth-form,
  .auth-card .auth-fields {
    width: 100% !important;
    max-width: 100% !important;
  }

  .auth-form,
  .auth-fields,
  .auth-header,
  .auth-tabs,
  .social-buttons {
    padding-left: 0.05rem;
    padding-right: 0.05rem;
  }

  .auth-form {
    display: grid;
    gap: 1.35rem;
  }

  .auth-fields {
    gap: 1.15rem;
  }

  .auth-fields .form-field {
    margin: 0;
  }

  .social-login {
    margin-bottom: 1.4rem;
  }

  .form-divider {
    margin: 1.35rem 0;
  }

  .auth-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 1.6rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .auth-header > div:first-child {
    width: 100%;
  }

  .auth-header h2 {
    font-size: 1.65rem;
    line-height: 1.15;
  }

  .auth-header p {
    max-width: 100%;
  }

  .auth-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.35rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    align-self: stretch;
  }

  .auth-card,
  .auth-form,
  .auth-fields,
  .social-login,
  .social-buttons,
  .auth-actions,
  .auth-helper-row {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .auth-form,
  .auth-fields {
    display: grid;
    gap: 1rem;
  }

  .auth-tab {
    min-width: 0;
    width: 100%;
    padding: 0.8rem 0.75rem;
    font-size: 0.9rem;
    border-radius: 0.7rem;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .social-buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .social-button {
    padding: 0.8rem 0.75rem;
    font-size: 0.92rem;
    min-height: 48px;
    border-radius: 0.8rem;
  }

  .auth-helper-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .auth-actions {
    width: 100%;
    justify-content: stretch;
  }

  .auth-actions .btn,
  .auth-submit-btn {
    width: 100%;
    min-height: 52px;
    border-radius: 0.9rem;
  }
}

.dashboard-hero {
  padding-bottom: 0;
}

.dashboard-summary-grid .container,
.dashboard-section-grid {
  display: grid;
  gap: 1rem;
}

.dashboard-summary-grid .container {
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.dashboard-section-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
  align-items: start;
}

.dashboard-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 1fr);
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(180deg, rgba(111, 84, 170, 0.28), rgba(62, 41, 121, 0.18));
  border: 1px solid rgba(196, 170, 255, 0.28);
  border-radius: 1.5rem;
  box-shadow: 0 26px 60px rgba(18, 10, 35, 0.35);
  padding: 2rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.dashboard-hero-card h1 {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(2.25rem, 3vw, 3rem);
}

.dashboard-welcome-copy {
  color: var(--muted);
  max-width: 520px;
}

.dashboard-wallet-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 0.85rem;
}

.dashboard-wallet-summary div {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.dashboard-wallet-summary span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.dashboard-wallet-summary strong {
  display: block;
  margin-top: 0.45rem;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
}

.dashboard-summary-grid-inner {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.dashboard-orders-card {
  min-height: 420px;
}

.dashboard-order-table-wrap {
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
}

.dashboard-order-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.dashboard-order-table th,
.dashboard-order-table td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-order-table th {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-order-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.dashboard-order-table td {
  color: var(--text);
  font-size: 0.95rem;
}

.dashboard-order-id-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.dashboard-order-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.dashboard-order-link:hover {
  color: var(--gold-soft);
  text-decoration: underline;
}

.dashboard-order-status-link {
  color: var(--gold-soft);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
}

.dashboard-order-status-link:hover {
  color: var(--text);
  text-decoration: underline;
}

.dashboard-order-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.dashboard-order-doc-link:hover {
  color: var(--gold-soft);
  text-decoration: underline;
}

.dashboard-order-doc-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.dashboard-order-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.dashboard-order-status.pending {
  background: rgba(255, 200, 0, 0.14);
  color: var(--gold-soft);
}

.dashboard-order-status.delivered {
  background: rgba(34, 197, 94, 0.12);
  color: #7ee787;
}

.dashboard-order-status.failed {
  background: rgba(239, 68, 68, 0.12);
  color: #fda4af;
}

.dashboard-order-insight {
  margin-top: 1rem;
}

.dashboard-order-insight-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border-radius: 1.2rem;
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.35rem;
}

.dashboard-order-insight-card .eyebrow {
  margin-bottom: 0.1rem;
}

.dashboard-order-insight-card p {
  margin: 0;
  color: var(--muted);
}

.dashboard-order-insight-card strong {
  color: var(--text);
}

.dashboard-empty-state {
  padding: 1rem;
  color: var(--muted);
  text-align: center;
}

.dashboard-empty-state-shell {
  margin-top: 1rem;
}

.dashboard-empty-card {
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 1.2rem;
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.035);
  display: grid;
  gap: 0.7rem;
}

.dashboard-empty-card h3 {
  margin: 0;
  color: var(--text);
}

.dashboard-empty-card p {
  margin: 0;
  color: var(--muted);
}

.dashboard-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.3rem;
}

.dashboard-info-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dashboard-info-list {
  display: grid;
  gap: 0.9rem;
}

.dashboard-info-card .dashboard-info-item {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.10);
}

.dashboard-support-card {
  background: linear-gradient(180deg, rgba(29, 38, 74, 0.96), rgba(255, 255, 255, 0.04));
}

.dashboard-support-card .dashboard-stat-icon {
  background: rgba(255, 223, 113, 0.15);
}

.dashboard-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.dashboard-hero-summary {
  display: grid;
  gap: 1rem;
}

.dashboard-metric {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(216, 165, 66, 0.16);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
}

.dashboard-metric span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.dashboard-metric strong {
  display: block;
  margin-top: 0.65rem;
  color: var(--text);
  font-size: 1.05rem;
}

.dashboard-security-metric {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.dashboard-security-metric small {
  color: var(--muted);
  font-size: 0.85rem;
}

.dashboard-summary-grid {
  padding-top: 0.5rem;
}

.dashboard-card-highlight {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(255,255,255,0.06));
  box-shadow: 0 24px 56px rgba(10, 31, 77, 0.28);
}

.dashboard-wallet-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
}

.dashboard-wallet-card .dashboard-card-header {
  margin-bottom: 0.6rem;
}

.dashboard-balance-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.2rem 0 0.45rem;
}

.dashboard-balance-value {
  font-size: clamp(2rem, 3.2vw, 3.3rem);
  font-weight: 800;
  margin: 0;
  color: var(--text);
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}

.dashboard-balance-value.is-hidden {
  opacity: 0.7;
}

.dashboard-balance-toggle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.dashboard-balance-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.14);
}

.dashboard-balance-toggle svg {
  width: 20px;
  height: 20px;
}

.dashboard-balance-toggle.is-hidden {
  background: rgba(251, 191, 36, 0.16);
  color: var(--gold-soft);
}

.dashboard-balance-copy {
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 430px;
}

.dashboard-wallet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dashboard-wallet-actions .btn {
  min-width: 120px;
}

.wallet-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.wallet-modal[hidden] {
  display: none;
}

.wallet-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.72);
  backdrop-filter: blur(8px);
}

.wallet-modal-dialog {
  position: relative;
  width: min(100%, 480px);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(9, 14, 30, 0.98), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.32);
  padding: 1.4rem;
}

.wallet-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.wallet-modal-close {
  border: 0;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
}

.wallet-modal-copy {
  color: var(--muted);
  margin: 0 0 1rem;
}

.wallet-modal-form {
  display: grid;
  gap: 0.9rem;
}

.wallet-modal-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--text);
}

.wallet-modal-form input,
.wallet-modal-form select {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
}

.dashboard-stat-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  min-height: 140px;
}

.dashboard-stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.16), rgba(255,255,255,0.06));
  color: var(--gold-soft);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.dashboard-stat-value {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 0.2rem 0 0;
  color: var(--text);
}

.dashboard-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: rgba(216, 165, 66, 0.16);
  color: var(--gold-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dashboard-info-list {
  display: grid;
  gap: 0.85rem;
}

.dashboard-info-item {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(216, 165, 66, 0.14);
  background: rgba(255,255,255,0.03);
}

.dashboard-info-item span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}

.dashboard-info-item strong {
  color: var(--text);
  font-size: 0.98rem;
}

.dashboard-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border: 1px solid rgba(216, 165, 66, 0.18);
  border-radius: 1.3rem;
  padding: 1.7rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}

.dashboard-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.dashboard-card-full {
  grid-column: 1 / -1;
}

.dashboard-quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.link-card {
  display: block;
  padding: 1.15rem 1rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(216, 165, 66, 0.14);
  background: rgba(255,255,255,0.02);
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.link-card:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.05);
  border-color: rgba(216, 165, 66, 0.3);
}

.link-card span {
  font-weight: 600;
}

.dashboard-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dashboard-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(216, 165, 66, 0.12);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.dashboard-list li strong {
  color: var(--text);
}

.dashboard-activity-grid {
  padding-top: 1rem;
}

.dashboard-card h3 {
  margin-bottom: 0.8rem;
}

.dashboard-last-login {
  color: var(--text);
}

@media (max-width: 900px) {
  .dashboard-hero-card {
    grid-template-columns: 1fr;
  }

  .dashboard-summary-grid .container,
  .dashboard-section-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-card-highlight {
    grid-column: auto;
  }

  .dashboard-wallet-card {
    min-height: auto;
  }

  .dashboard-quick-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .dashboard-hero {
    padding-top: 1rem;
  }

  .dashboard-hero-card,
  .dashboard-card,
  .wallet-modal-dialog {
    padding: 1.1rem;
    border-radius: 1rem;
  }

  .dashboard-hero-card {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    background: linear-gradient(180deg, rgba(111, 84, 170, 0.28), rgba(62, 41, 121, 0.18));
    border-color: rgba(196, 170, 255, 0.28);
    box-shadow: 0 16px 40px rgba(18, 10, 35, 0.28);
  }

  .dashboard-summary-grid-inner,
  .dashboard-section-grid {
    width: 100% !important;
    max-width: 100% !important;
    gap: 0.8rem !important;
  }

  .dashboard-orders-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .dashboard-card {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  }

  .dashboard-hero-card h1 {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
    line-height: 1.1;
  }

  .dashboard-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1.1rem;
  }

  .dashboard-hero-actions .btn,
  .dashboard-hero-actions a,
  .dashboard-hero-actions button {
    width: 100%;
    justify-content: center;
  }

  .dashboard-hero-summary {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .dashboard-summary-grid-inner {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .dashboard-wallet-summary {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .dashboard-wallet-summary div,
  .dashboard-metric,
  .dashboard-order-insight-card {
    padding: 0.8rem 0.9rem;
  }

  .dashboard-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
  }

  .dashboard-card-header h2,
  .dashboard-card-header h3 {
    font-size: 1.2rem;
  }

  .dashboard-balance-row {
    align-items: center;
    justify-content: space-between;
    margin: 0.3rem 0 0.7rem;
  }

  .dashboard-balance-value {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .dashboard-stat-card {
    min-height: auto;
    padding: 1rem;
  }

  .dashboard-stat-value {
    font-size: 1.3rem;
  }

  .dashboard-order-table {
    width: max-content !important;
    min-width: 760px !important;
    table-layout: auto !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
  }

  .dashboard-order-table th,
  .dashboard-order-table td {
    padding: 0.75rem 0.6rem;
    font-size: 0.78rem;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    vertical-align: top !important;
  }

  .dashboard-order-table-wrap {
    width: 100% !important;
    border-radius: 0.9rem;
    border-color: rgba(255, 255, 255, 0.09);
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .dashboard-empty-card {
    padding: 1rem;
  }

  .dashboard-empty-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dashboard-empty-actions .btn {
    width: 100%;
  }

  .site-header .nav-wrap {
    padding-inline: 0.75rem;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .profile-toggle {
    padding: 0.45rem 0.6rem;
  }

  .profile-name {
    display: none;
  }

  .profile-dropdown {
    position: static;
  }

  .profile-menu {
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    min-width: 0;
  }
}

.auth-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-header .eyebrow {
  margin-bottom: 0.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.auth-header h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.auth-header p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.auth-tabs {
  display: flex;
  gap: 0.75rem;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.auth-tab {
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  padding: 0.8rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  min-width: 110px;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.auth-tab:hover {
  border-color: rgba(216, 165, 66, 0.3);
}

.auth-tab.active {
  background: linear-gradient(135deg, rgba(216, 165, 66, 0.18), rgba(255, 255, 255, 0.06));
  border-color: rgba(216, 165, 66, 0.55);
  box-shadow: 0 0 0 1px rgba(216, 165, 66, 0.18), 0 10px 24px rgba(216, 165, 66, 0.16);
  color: var(--gold-soft);
}

.social-login {
  margin-bottom: 1rem;
}

.social-login p {
  margin-bottom: 0.85rem;
  color: var(--muted);
}

.social-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-width: 0;
  padding: 0.85rem 0.9rem;
  white-space: normal;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-button svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.form-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}

.auth-fields {
  grid-template-columns: 1fr;
}

.auth-name-field,
.auth-confirm-password-field {
  display: none;
}

.auth-name-field:not([hidden]),
.auth-confirm-password-field:not([hidden]) {
  display: flex;
}

/* Ensure forms with hidden attribute are not displayed */
#signin-form[hidden],
#signup-form[hidden],
.auth-form[hidden] {
  display: none !important;
}

/* Ensure visible forms are displayed properly */
#signin-form:not([hidden]),
#signup-form:not([hidden]),
.auth-form:not([hidden]) {
  display: grid;
  gap: 1rem;
}

.auth-actions {
  justify-content: flex-start;
}

.auth-helper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.remember-field {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 500;
}

.remember-field input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary);
}

.auth-forgot-password {
  background: transparent;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  padding: 0;
}

.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 16, 0.72);
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 20;
}

.auth-modal-backdrop.open {
  display: block;
  opacity: 1;
  visibility: visible;
}

.auth-modal-backdrop.is-closing {
  opacity: 0;
  visibility: hidden;
}

.auth-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  display: none;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(92vw, 440px);
  background: rgba(17, 20, 28, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 21;
}

.auth-modal.open {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.auth-modal.is-closing {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.96);
}

.auth-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.auth-modal-header h3 {
  margin: 0.3rem 0 0;
}

.auth-modal-close {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.auth-reset-form {
  display: grid;
  gap: 1rem;
}

.auth-reset-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-width: 180px;
}

.auth-reset-submit.is-loading .auth-reset-button-text {
  opacity: 0.75;
}

.auth-reset-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: auth-spin 0.8s linear infinite;
}

.auth-reset-submit.is-loading .auth-reset-spinner {
  display: inline-block;
}

.auth-success-message {
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.6;
}

.auth-back-to-login-btn {
  width: 100%;
  margin-top: 0.25rem;
}

.auth-modal-status {
  margin-top: 0;
}

.auth-success-close-btn {
  width: 100%;
}

@keyframes auth-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinner-spin {
  to {
    transform: rotate(360deg);
  }
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: #007bff;
  border-radius: 50%;
  animation: spinner-spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
  color: #666;
}

.loading-state p {
  margin: 0;
  font-size: 0.95rem;
}

.empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
  color: #999;
  border: 1px dashed #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.empty-state p {
  margin: 0;
  font-size: 0.95rem;
}

.bundle-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.auth-submit-btn {
  min-width: 140px;
}

.status-message {
  margin-top: 1rem;
  border-radius: 0.8rem;
  padding: 0.9rem 1rem;
  background: rgba(216, 165, 66, 0.12);
  color: var(--text);
  border: 1px solid rgba(216, 165, 66, 0.25);
  display: none;
}

.status-message.show {
  display: block;
}

.status-message.success {
  background: rgba(255, 195, 0, 0.12);
  border-color: rgba(255, 195, 0, 0.3);
}

.status-message.error {
  background: rgba(216, 74, 74, 0.12);
  border-color: rgba(216, 74, 74, 0.25);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.dashboard-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.dashboard-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(216, 165, 66, 0.18);
  color: var(--muted);
}

.dashboard-list li:last-child {
  border-bottom: none;
}

.hero-media {
  position: relative;
  width: min(100%, 920px);
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.hero-media--standalone {
  padding: 0;
  aspect-ratio: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-media::before {
  content: '';
  position: absolute;
  inset: -18%;
  background:
    radial-gradient(circle, rgba(216, 165, 66, 0.2), transparent 40%),
    radial-gradient(circle at center, rgba(63, 155, 255, 0.08), transparent 60%);
  filter: blur(20px);
  opacity: 0.95;
  pointer-events: none;
  animation: heroPulse 9s linear infinite;
}

.hero-media img {
  position: relative;
  z-index: 1;
  width: min(100%, 100%);
  max-width: 100%;
  border-radius: 1.4rem;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(216, 165, 66, 0.62)) drop-shadow(0 16px 46px rgba(8, 8, 8, 0.48));
}

.hero-icon {
  position: absolute;
  z-index: 3;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 10, 18, 0.9);
  border: 1px solid rgba(216, 165, 66, 0.34);
  color: var(--gold-soft);
  box-shadow:
    0 0 14px rgba(216, 165, 66, 0.3),
    inset 0 0 12px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.hero-icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold-soft);
  filter: drop-shadow(0 0 7px rgba(216, 165, 66, 0.55));
}

.icon-phone {
  top: 13%;
  left: 2%;
}

.icon-wifi {
  top: 4%;
  right: 4%;
}

.icon-sim {
  bottom: 22%;
  left: 4%;
}

.icon-gift {
  bottom: 8%;
  right: 4%;
}

@keyframes heroPulse {
  0% { transform: rotate(0deg) scale(1); opacity: 0.35; }
  50% { transform: rotate(180deg) scale(1.05); opacity: 0.75; }
  100% { transform: rotate(360deg) scale(1); opacity: 0.35; }
}

@keyframes heroSheen {
  0%, 100% { box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.04), 0 0 0 1px rgba(255, 255, 255, 0.04); }
  50% { box-shadow: inset 0 0 45px rgba(216, 165, 66, 0.08), 0 0 0 1px rgba(216, 165, 66, 0.12); }
}


.hero-badge {
  position: absolute;
  left: 1.4rem;
  bottom: 1.4rem;
  background: rgba(6, 6, 6, 0.92);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.2);
}

.hero-badge span {
  display: block;
  color: var(--gold-soft);
  font-weight: 700;
}

.hero-badge strong {
  color: var(--text);
  font-size: 0.95rem;
}

.logo-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.4rem 0;
  background: rgba(255,255,255,0.025);
}

.logo-strip p {
  text-align: center;
  color: var(--muted);
  margin-bottom: 1rem;
}

.logo-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: logoSlide 28s linear infinite;
}

.logo-track img {
  width: 120px;
  height: 52px;
  object-fit: contain;
  opacity: 0.92;
  flex-shrink: 0;
  filter: brightness(1.02) saturate(0.95);
}

@keyframes logoSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 3.4rem 0;
  background: transparent;
}

.giftcard-page-section {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.section:nth-child(even) {
  background: transparent;
}

.topup-hero {
  padding-top: 3rem;
  padding-bottom: 2.75rem;
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
}

.topup-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(216, 165, 66, 0.12), transparent 34%),
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.08), transparent 20%),
    radial-gradient(circle at 85% 25%, rgba(216, 165, 66, 0.12), transparent 24%);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.topup-hero .container {
  position: relative;
  z-index: 1;
}

.hero-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.hero-intro {
  padding: 0.5rem 0;
  text-align: center;
}

.hero-intro h1 {
  max-width: 10ch;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1rem 0 1.25rem;
}

.hero-badges span {
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-steps {
  display: grid;
  gap: 0.8rem;
}

.step-card {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(216, 165, 66, 0.16);
}

.step-card strong {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(216, 165, 66, 0.16);
  color: var(--gold-soft);
  font-weight: 800;
  flex-shrink: 0;
}

.step-card h3 {
  margin-bottom: 0.25rem;
}

.step-card p {
  margin: 0;
  color: var(--muted);
}

.hero-form-card {
  padding: 1rem;
  border-radius: 1.6rem;
  background: linear-gradient(180deg, rgba(19, 13, 33, 0.92), rgba(31, 22, 48, 0.9));
  border: 1px solid rgba(190, 167, 255, 0.26);
  box-shadow: 0 26px 70px rgba(9, 6, 18, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  justify-self: center;
  width: min(100%, 660px);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: visible;
}

.hero-form-card::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -10%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.35), transparent 70%);
  pointer-events: none;
}

.airtime-form-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.eyebrow-mini {
  margin: 0 0 0.2rem;
  color: #d4c9ff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.airtime-form-header h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.1;
  color: #f8fafc;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(216, 165, 66, 0.25);
  background: rgba(245, 182, 29, 0.12);
  color: #fef3c7;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 0.5rem 0.8rem;
  white-space: nowrap;
}

.step-indicator {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.35rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.step-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.42rem 0.7rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(226, 232, 240, 0.75);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.step-pill.active {
  background: linear-gradient(135deg, rgba(216, 165, 66, 0.18), rgba(168, 85, 247, 0.12));
  color: #fef3c7;
  border-color: rgba(216, 165, 66, 0.35);
  box-shadow: inset 0 0 0 1px rgba(216, 165, 66, 0.08);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.modern-field {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.15rem;
  padding: 0.7rem 0.85rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.field-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d4c9ff;
}

.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(216, 165, 66, 0.24);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.custom-select-trigger:hover,
.custom-select-trigger:focus {
  border-color: rgba(216, 165, 66, 0.52);
  box-shadow: 0 0 0 3px rgba(216, 165, 66, 0.12);
}

.custom-select-panel {
  position: absolute;
  left: 0;
  right: auto;
  top: calc(100% + 0.7rem);
  margin-top: 0;
  background: linear-gradient(180deg, rgba(92, 70, 150, 0.96), rgba(28, 18, 54, 0.94));
  border: 1px solid rgba(196, 170, 255, 0.35);
  border-radius: 1.1rem;
  box-shadow: 0 22px 48px rgba(16, 11, 31, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  width: 100%;
  max-width: min(100%, 460px);
  max-height: 160px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}

.custom-select-panel[hidden] {
  display: none !important;
  visibility: hidden !important;
}

.custom-select-search {
  padding: 0.75rem 0.85rem 0.65rem;
  border-bottom: 1px solid rgba(196, 170, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.custom-select-search input {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(196, 170, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.phone-field-group {
  padding: 0.9rem 0.95rem 1rem;
}

.phone-field-row {
  display: flex;
  align-items: stretch;
  gap: 0.8rem;
  width: 100%;
}

.phone-code-field {
  flex: 0 0 120px;
  width: 120px;
}

.phone-number-field {
  flex: 1 1 auto;
  min-width: 0;
}

.phone-code-shell {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: center;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.95rem;
  padding: 0.35rem 0.6rem 0.35rem 0.45rem;
}

.phone-code-shell input,
.phone-number-field input,
.airtime-step-panel input[type="number"] {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 0.98rem;
  padding: 0.7rem 0.1rem;
}

.phone-number-field input,
.airtime-step-panel input[type="number"] {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.95rem;
  padding-left: 0.9rem;
  padding-right: 0.9rem;
}

.airtime-step-panel input[type="number"] {
  margin-top: 0.2rem;
}

.airtime-amount-helper {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(226, 232, 240, 0.8);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.9rem;
  padding: 0.8rem 0.95rem;
}

.hero-actions--wizard {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 1.35rem;
}

.hero-actions--wizard .btn {
  min-width: 152px;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, #f5b61d, #d97706);
  color: #111827;
  box-shadow: 0 15px 30px rgba(245, 182, 29, 0.25);
}

.btn-secondary {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}

.status-message {
  margin-top: 0.9rem;
}

.airtime-step-panel[data-step-panel="1"] > .form-field:has(.custom-select-wrapper[data-select="country"]) {
  margin-bottom: 100px;
}

@media (max-width: 768px) {
  .hero-form-card {
    padding: 1rem;
  }

  .airtime-form-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .phone-field-row {
    grid-template-columns: 1fr;
  }

  .step-indicator {
    gap: 0.35rem;
  }

  .step-pill {
    flex: 1 1 calc(50% - 0.35rem);
  }
}

.two-column-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.2rem;
  align-items: center;
}

.panel-copy {
  padding-right: 0.5rem;
}

.panel-visual {
  position: relative;
  min-height: 280px;
  border-radius: 1.4rem;
  background: linear-gradient(135deg, rgba(216, 165, 66, 0.16), rgba(255,255,255,0.04));
  border: 1px solid var(--border);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.panel-glow {
  position: absolute;
  inset: 12% 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 165, 66, 0.3), transparent 70%);
  filter: blur(20px);
}

.panel-card {
  position: relative;
  z-index: 1;
  width: min(82%, 320px);
  padding: 1.25rem;
  border-radius: 1.2rem;
  background: rgba(8, 8, 8, 0.82);
  border: 1px solid rgba(216, 165, 66, 0.28);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.22);
}

.panel-card h3 {
  margin-bottom: 0.35rem;
}

.panel-card p {
  color: var(--muted);
  margin: 0;
}

.section-head {
  margin-bottom: 1.35rem;
}

.feature-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1rem auto 0;
  max-width: 980px;
}

.country-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.85rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  min-height: 72px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  text-align: left;
  color: inherit;
  width: 100%;
}

.country-card:hover {
  transform: translateY(-1px);
  border-color: rgba(216, 165, 66, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.country-card:focus-visible {
  outline: 2px solid rgba(216, 165, 66, 0.8);
  outline-offset: 2px;
}

.country-card.active {
  border-color: rgba(216, 165, 66, 0.6);
  background: rgba(216, 165, 66, 0.16);
}

.country-flag {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border-radius: 0.8rem;
  background: rgba(216, 165, 66, 0.16);
  overflow: hidden;
  flex-shrink: 0;
}

.country-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.country-card strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.country-card span {
  color: var(--muted);
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .country-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .country-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .country-card {
    padding: 0.55rem 0.5rem;
    min-height: 64px;
    gap: 0.35rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }

  .country-flag {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin-bottom: 0.2rem;
  }

  .country-card strong {
    font-size: 0.68rem;
    line-height: 1.05;
    margin-bottom: 0.04rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
  }

  .country-card span {
    font-size: 0.62rem;
    line-height: 1.05;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
  }
}

.custom-select-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(216, 165, 66, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.95rem;
  cursor: pointer;
}

.custom-select-trigger:hover,
.custom-select-trigger:focus {
  border-color: rgba(216, 165, 66, 0.4);
}

.custom-select-wrapper[data-select="operator"] .custom-select-panel {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  width: 100% !important;
  max-width: none !important;
  max-height: none !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: auto !important;
  display: flex !important;
  flex-direction: column !important;
}

.custom-select-search {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid rgba(196, 170, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.custom-select-search input {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 170, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.custom-select-options {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  max-height: 220px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  background: transparent !important;
}

.custom-select-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.8rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  min-width: 0;
}

.custom-select-option:hover,
.custom-select-option[aria-selected="true"] {
  background: rgba(216, 165, 66, 0.12);
}

.custom-select-option .flag-icon {
  width: 28px;
  height: 20px;
  border-radius: 0.35rem;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  flex-shrink: 0;
  margin-top: 0.12rem;
}

.custom-select-option .flag-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-select-option .option-label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

/* Operator card meta and badges */
.operator-card-title {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.operator-card-tagline {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  line-height: 1.3;
}
.operator-card-meta {
  margin-top: 0.15rem;
  display: flex;
  gap: 0.38rem;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 0.25rem;
  min-width: 0;
}
.operator-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-size: 0.78rem;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.operator-badge:hover,
.operator-badge:focus {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-1px);
}
.operator-badge.plans {
  background: rgba(216,165,66,0.16);
  color: var(--text);
}
.operator-badge-clickable {
  border: none;
  background: transparent;
  padding: 0;
}
.custom-select-option.detected {
  outline: 2px solid rgba(216,165,66,0.18);
}

/* Larger operator logos inside operator dropdowns and better spacing */
.operator-card .flag-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
}
.operator-card .flag-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.operator-card .option-label {
  margin-left: 0.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.operator-expand {
  margin-left: auto;
  border: none;
  background: transparent;
  font-size: 1.2rem;
  color: rgba(0,0,0,0.35);
  cursor: pointer;
}
.operator-children {
  padding: 0.6rem 1rem 1rem 64px;
  border-top: 1px solid rgba(0,0,0,0.02);
  background: rgba(255,255,255,0.02);
}
.operator-children-inner{display:flex;gap:0.6rem;flex-wrap:wrap}
.operator-child-card{background:rgba(255,255,255,0.03);padding:0.6rem;border-radius:0.6rem;min-width:120px}
.operator-child-card .plan-list{margin-top:0.5rem;display:flex;gap:0.4rem;flex-wrap:wrap}
.plan-pill{padding:0.28rem 0.5rem;border-radius:999px;background:rgba(216,165,66,0.08);border:none;cursor:pointer;font-size:0.85rem}
.operator-child-card.empty{color:rgba(255,255,255,0.6);font-size:0.9rem}

.plans-grid{display:block}
.plan-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:0.85rem;
  margin-top:0.75rem;
}
.plan-card{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:0.85rem;
  padding:0.75rem;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:0.75rem;
  min-width:0;
  cursor:pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
  font-size:0.95rem;
}
.plan-card:hover{
  background:rgba(255,255,255,0.10);
  border-color:rgba(255,255,255,0.18);
  transform:translateY(-1px);
}
.plan-card .plan-thumb img{
  width:44px;
  height:44px;
  object-fit:contain;
  border-radius:6px;
}
.plan-card .plan-card-body{
  flex:1;
  width:100%;
}
.plan-card .plan-amount,
.plan-card .plan-title{
  font-weight:700;
  font-size:0.95rem;
}
.plan-card .plan-price{
  margin-top:0.25rem;
  color:rgba(255,255,255,0.85);
}
.plan-card .plan-card-actions{
  width:100%;
  display:flex;
  justify-content:flex-end;
  margin-top:auto;
}
.plan-card .plan-pill{
  width:100%;
  max-width:100%;
}
@media (max-width: 768px) {
  .plan-cards {
    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  }
}
@media (max-width: 560px) {
  .plan-cards {
    grid-template-columns:1fr;
  }
}

/* Compact amount option grid (three columns) */
#airtime-amount-options.amount-option-grid,
.amount-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 0.75rem;
  width: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* Make amount option cards prominent standalone cards */
.amount-option-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 0.3rem 0.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  aspect-ratio: 1.8 / 1;
  font-weight: 700;
  gap: 0.06rem;
  transition: all 0.2s ease;
  color: #111827;
}

/* Amount text - large and prominent */
.amount-option-card .plan-amount {
  display: block;
  font-size: 0.78rem;
  line-height: 1.1;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

/* USD conversion text - smaller and below */
.amount-option-card .plan-price {
  display: block;
  font-size: 0.62rem;
  line-height: 1.15;
  opacity: 0.7;
  font-weight: 500;
  color: #666;
  margin: 0;
  white-space: nowrap;
}

.amount-option-card:hover {
  background: #f9f7fc;
  border-color: #3600af;
  box-shadow: 0 4px 12px rgba(54, 0, 175, 0.12);
  transform: translateY(-2px);
}

.amount-option-card.selected {
  background: #f0fdf9;
  border-color: #17b890;
  box-shadow: 0 0 0 2px #17b890;
}

.amount-option-card.selected .plan-amount {
  color: #17b890;
}

.amount-option-card.selected .plan-price {
  color: #17b890;
  opacity: 0.8;
}

/* Hide inner Select pill for compact amount cards (card itself is clickable) */
.amount-option-card .plan-pill { display: none; }

@media (max-width: 768px) {
  #airtime-amount-options.amount-option-grid,
  .amount-option-grid { 
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
    gap: 0.6rem;
  }
}

@media (max-width: 560px) {
  #airtime-amount-options.amount-option-grid,
  .amount-option-grid { 
    grid-template-columns: 1fr; 
    gap: 0.5rem;
  }
}

.giftcard-toolbar {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.2rem;
}

.giftcard-search-field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  background: #fafafa;
  border: 1.6px solid #e6e6e6;
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
}

.giftcard-search-icon {
  color: #999;
  font-size: 1rem;
}

.giftcard-country-dropdown-wrapper {
  position: relative;
  display: inline-flex;
}

.giftcard-country-dropdown {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  width: min(320px, 100vw);
  max-height: 380px;
  overflow-y: auto;
  background: #ffffff;
  border: 1.6px solid #e6e6e6;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12);
  z-index: 30;
}

.giftcard-country-dropdown.hidden {
  display: none;
}

.giftcard-country-search {
  padding: 0.75rem 0.95rem 0 0.95rem;
}

.giftcard-country-search-input {
  width: 100%;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  background: #fafafa;
  color: #111;
  font-size: 0.92rem;
}

.giftcard-country-search-input:focus {
  outline: 2px solid rgba(59, 130, 246, 0.35);
  outline-offset: 2px;
}

.giftcard-country-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  background: #ffffff;
  color: #111111;
  font-size: 0.92rem;
  cursor: pointer;
}

.giftcard-country-option:hover,
.giftcard-country-option:focus {
  background: #f5f5f5;
}

.giftcard-country-option:last-child {
  border-bottom: none;
}

.giftcard-country-flag {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.giftcard-country-dropdown-wrapper {
  position: relative;
  display: inline-flex;
}

.giftcard-filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1.6px solid #e6e6e6;
  color: #111111;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.giftcard-filter-pill__flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.giftcard-filter-pill__flag--img {
  width: 22px;
  height: 22px;
  object-fit: cover;
}

.giftcard-filter-pill__label {
  display: inline-flex;
  align-items: center;
}

.giftcard-filter-pill__caret {
  display: inline-flex;
  align-items: center;
  margin-left: 0.1rem;
  opacity: 0.7;
  cursor: pointer;
}

.giftcard-filter-pill:hover,
.giftcard-filter-pill:focus {
  background: #f7f7f7;
}

.giftcard-search-input {
  width: 100%;
  border: none;
  background: transparent;
  color: #666;
  font-size: 14px;
  line-height: 23px;
  padding: 12px 12px 12px 0;
  min-width: 0;
}

.giftcard-search-input::placeholder {
  color: #999;
  opacity: 1;
}

.giftcard-search-input:focus {
  outline: none;
}

.giftcard-pill {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(216, 165, 66, 0.14);
  border: 1px solid rgba(216, 165, 66, 0.3);
  color: var(--gold-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.giftcard-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .giftcard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .giftcard-toolbar {
    grid-template-columns: 1fr;
  }

  .giftcard-search-field {
    width: 100%;
  }

  .giftcard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .giftcard-card {
    min-height: 230px;
    padding: 0.7rem;
    border-radius: 1rem;
  }

  .giftcard-image-wrap {
    height: 110px;
    min-height: 110px;
  }

  .giftcard-body h3 {
    font-size: 0.8rem;
    line-height: 1.28;
    font-weight: 600;
  }
}

@media (max-width: 520px) {
  .giftcard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .giftcard-card {
    min-height: 220px;
    padding: 0.6rem;
    gap: 0.32rem;
    border-radius: 0.9rem;
  }

  .giftcard-image-wrap {
    height: 96px;
    min-height: 96px;
  }

  .giftcard-body h3 {
    font-size: 0.78rem;
    line-height: 1.25;
    font-weight: 600;
    white-space: normal;
  }

  .giftcard-card .btn {
    padding: 0.7rem 0.7rem;
    font-size: 0.76rem;
    border-radius: 0.8rem;
  }
}

@media (max-width: 390px) {
  .giftcard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .giftcard-card {
    padding: 0.52rem;
    gap: 0.28rem;
    min-height: 210px;
  }

  .giftcard-image-wrap {
    height: 88px;
    min-height: 88px;
  }

  .giftcard-body h3 {
    font-size: 0.74rem;
    line-height: 1.2;
  }

  .giftcard-card .btn {
    padding: 0.65rem 0.55rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 340px) {
  .giftcard-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .giftcard-card {
    min-height: 190px;
  }
}

@media (max-width: 340px) {
  .giftcard-grid {
    grid-template-columns: 1fr;
  }
}

.giftcard-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.4rem;
  padding: 0.55rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  min-height: 220px;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  cursor: pointer;
}

.giftcard-image-wrap {
  border-radius: 0.7rem;
  overflow: hidden;
  border: 1px solid rgba(216, 165, 66, 0.18);
  background: linear-gradient(135deg, rgba(216, 165, 66, 0.14), rgba(255,255,255,0.04));
  height: 132px;
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

@media (max-width: 520px) {
  .giftcard-card {
    min-height: 210px;
    padding: 0.42rem;
    gap: 0.28rem;
  }

  .giftcard-image-wrap {
    height: 118px;
    min-height: 118px;
  }

  .giftcard-body h3 {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .giftcard-card .btn {
    padding: 0.45rem 0.55rem;
    font-size: 0.74rem;
  }
}

.giftcard-image-button {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.giftcard-image-button:focus {
  outline: 2px solid rgba(59, 130, 246, 0.35);
  outline-offset: 2px;
}

.giftcard-image {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
  background: transparent;
}

.giftcard-image svg {
  width: 100%;
  height: 100%;
  display: block;
}

.giftcard-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: flex-start;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
}

.giftcard-body h3 {
  margin-bottom: 0;
  font-size: 0.76rem;
  line-height: 1.08;
  font-weight: 400;
  color: #111111;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 520px) {
  .giftcard-body h3 {
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.78rem;
    line-height: 1.25;
  }
}

.giftcard-body--minimal {
  padding: 0 0.1rem;
}

.giftcard-card .btn {
  margin-top: 0.4rem;
  width: 100%;
  padding: 0.6rem 0.75rem;
}

.giftcard-empty {
  padding: 1.2rem;
  border-radius: 1rem;
  border: 1px dashed rgba(216, 165, 66, 0.3);
  color: var(--muted);
  background: rgba(255,255,255,0.03);
}

.giftcard-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.giftcard-step {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  font-size: 0.9rem;
}

.giftcard-step span {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--gold-soft);
  font-weight: 700;
}

.giftcard-step.active {
  border-color: rgba(216, 165, 66, 0.32);
  color: var(--gold-soft);
  background: rgba(216, 165, 66, 0.12);
}

.giftcard-step.complete {
  border-color: rgba(255, 195, 0, 0.24);
  color: var(--gold-soft);
}

.giftcard-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1rem;
}

.giftcard-toolbar input {
  flex: 1 1 260px;
}

.giftcard-filter-pill {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(216, 165, 66, 0.26);
  background: rgba(216, 165, 66, 0.12);
  color: var(--gold-soft);
  cursor: pointer;
}

.giftcard-selection-summary {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(216, 165, 66, 0.24);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
}

.giftcard-selection-summary h4 {
  margin: 0.2rem 0 0.3rem;
}

.giftcard-selection-summary p {
  margin: 0;
  color: var(--muted);
}

.giftcard-purchase-panel {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(216, 165, 66, 0.28);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.16);
}

.giftcard-details-stage,
.giftcard-checkout-stage {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.giftcard-product-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.giftcard-product-logo {
  width: 60px;
  height: 60px;
  border-radius: 1rem;
  background: rgba(255,255,255,0.9);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.giftcard-product-logo img,
.giftcard-checkout-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.giftcard-checkout-icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  font-size: 1.2rem;
}

.giftcard-product-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.giftcard-product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.link-button {
  border: none;
  background: transparent;
  color: var(--gold-soft);
  padding: 0;
  margin-top: 0.45rem;
  cursor: pointer;
  font-size: 0.94rem;
}

.giftcard-details-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.giftcard-amount-selection {
  flex: 1 1 60%;
}

.giftcard-amount-selection label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.giftcard-amount-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.giftcard-amount-button {
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  color: #f8f7f2;
  padding: 0.9rem 1.05rem;
  border-radius: 1rem;
  cursor: pointer;
  min-width: 100px;
  font-weight: 700;
}

.giftcard-amount-button.active,
.giftcard-amount-button:hover {
  background: rgba(255, 195, 0, 0.95);
  border-color: rgba(255, 195, 0, 0.75);
}

.giftcard-quantity-panel {
  flex: 1 1 30%;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.giftcard-quantity-panel label {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.giftcard-quantity-panel input {
  width: 100%;
  border: 1px solid rgba(216, 165, 66, 0.24);
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  background: rgba(8, 8, 8, 0.9);
  color: #f8f7f2;
  font: inherit;
}

.giftcard-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.giftcard-price-row strong {
  color: #ff7c00;
  font-size: 1.2rem;
}

.giftcard-details-controls {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.giftcard-checkout-stage {
  display: none;
}

.giftcard-checkout-stage.active,
.giftcard-details-stage.active {
  display: flex;
}

.giftcard-order-summary {
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(216, 165, 66, 0.22);
  background: rgba(216, 165, 66, 0.08);
}

.giftcard-order-summary h4 {
  margin: 0 0 0.8rem;
}

.checkout-summary-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--muted);
}

.checkout-summary-table th,
.checkout-summary-table td {
  text-align: left;
  padding: 0.4rem 0;
  font-weight: 400;
}

.checkout-summary-table th {
  color: var(--muted);
}

.checkout-summary-table td {
  text-align: right;
  color: var(--text);
}

.checkout-summary-table tr.total {
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
}

.checkout-summary-table tr.total th,
.checkout-summary-table tr.total td {
  padding-top: 0.7rem;
  font-weight: 700;
}

.giftcard-purchase-panel .hero-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.giftcard-purchase-panel .btn-secondary {
  background: rgba(255,255,255,0.06);
  color: #f8f7f2;
}

.giftcard-purchase-panel .btn-primary {
  min-width: 180px;
}

.giftcard-purchase-panel .btn {
  padding: 0.95rem 1.35rem;
}

.giftcard-checkout-stage {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.giftcard-checkout-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(216, 165, 66, 0.1);
  border: 1px solid rgba(216, 165, 66, 0.22);
}

.giftcard-checkout-icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  font-size: 1.2rem;
}

.giftcard-checkout-header h4,
.giftcard-checkout-header p {
  margin: 0;
}

.giftcard-checkout-header p {
  color: var(--muted);
  font-size: 0.94rem;
}

.checkout-section {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.checkout-step span {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: rgba(216, 165, 66, 0.16);
  color: var(--gold-soft);
  font-weight: 700;
}

.checkout-step h5,
.checkout-step p {
  margin: 0;
}

.checkout-step p {
  color: var(--muted);
  font-size: 0.9rem;
}

.checkbox-row {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: 0.95rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.checkbox-row input {
  width: auto;
  margin-top: 0.25rem;
}

.checkbox-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.giftcard-order-summary {
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(216, 165, 66, 0.22);
  background: rgba(216, 165, 66, 0.08);
}

.giftcard-order-summary h4 {
  margin: 0 0 0.8rem;
}

.order-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.45rem 0;
  color: var(--muted);
  align-items: center;
}

.order-row.total {
  padding-top: 0.7rem;
  margin-top: 0.4rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  font-weight: 700;
}

.giftcard-purchase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.giftcard-purchase-header h3 {
  margin: 0.15rem 0 0;
}

.giftcard-catalog-header {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
  margin: 0 0 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  text-align: center;
}

.giftcard-step-title {
  margin: 0;
  font-size: clamp(1.32rem, 2.25vw, 2rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.giftcard-catalog-header .giftcard-steps {
  margin: 0;
  flex-wrap: nowrap;
}

.giftcard-catalog-header .giftcard-step {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.giftcard-catalog-header .giftcard-step span:first-child {
  width: 1.6rem;
  height: 1.6rem;
}

.giftcard-catalog-header .giftcard-step-label {
  font-size: 0.68rem;
}

/* Gift Card Form Sections - Professional Styling */
.giftcard-checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-section {
  padding: 1.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-section h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.form-section h4::before {
  content: '';
  width: 3px;
  height: 1.1rem;
  background: linear-gradient(180deg, rgba(255, 195, 0, 0.8), rgba(255, 195, 0, 0.4));
  border-radius: 999px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.form-group input,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.8rem;
  background: rgba(8, 8, 8, 0.9);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(255, 195, 0, 0.5);
  background: rgba(8, 8, 8, 0.95);
  box-shadow: 0 0 0 3px rgba(255, 195, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.form-group small {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: -0.3rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.form-group small::before {
  content: 'ℹ';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  background: rgba(255, 195, 0, 0.15);
  border-radius: 999px;
  font-size: 0.7rem;
  color: rgba(255, 195, 0, 0.6);
}

/* Character counter styling */
#giftcard-message-count {
  color: rgba(255, 195, 0, 0.7);
  font-weight: 600;
}

.giftcard-checkout-form .hero-actions {
  margin-top: 0.5rem;
}

.giftcard-checkout-form .status-message {
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  font-size: 0.92rem;
  margin-top: 0.5rem;
}

@media (max-width: 700px) {
  .giftcard-purchase-panel {
    padding: 1rem;
  }

  .form-section {
    padding: 1rem;
    gap: 0.85rem;
  }

  .form-section h4 {
    font-size: 0.95rem;
  }

  .form-group label {
    font-size: 0.88rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.75rem 0.9rem;
    font-size: 0.9rem;
  }

  .form-group textarea {
    min-height: 80px;
  }

  .giftcard-catalog-header {
    align-items: center;
  }

  .giftcard-catalog-header .giftcard-steps {
    width: 100%;
    justify-content: center;
  }

  .giftcard-catalog-header .giftcard-step {
    flex: 1 1 auto;
    justify-content: center;
  }

  .giftcard-details-stage,
  .giftcard-checkout-stage {
    gap: 0.95rem;
  }

  .giftcard-product-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .giftcard-product-logo {
    width: 52px;
    height: 52px;
  }

  .giftcard-details-actions {
    flex-direction: column;
    gap: 0.9rem;
  }

  .giftcard-amount-selection,
  .giftcard-quantity-panel {
    flex: 1 1 100%;
    width: 100%;
  }

  .giftcard-amount-grid {
    gap: 0.6rem;
  }

  .giftcard-amount-button {
    flex: 1 1 calc(50% - 0.3rem);
    min-width: 0;
    padding: 0.75rem 0.7rem;
    font-size: 0.9rem;
  }

  .giftcard-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .giftcard-details-controls,
  .giftcard-purchase-panel .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .giftcard-details-controls .btn,
  .giftcard-purchase-panel .btn {
    width: 100%;
    min-width: 0;
  }

  .giftcard-checkout-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .giftcard-order-summary {
    padding: 0.95rem;
  }

  .order-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }
}

@media (max-width: 480px) {
  .giftcard-amount-button {
    flex: 1 1 calc(50% - 0.3rem);
    font-size: 0.85rem;
  }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

@media (min-width: 701px) {
  .physical-sim-page .product-grid,
  .carrier-esim-page .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 280px));
    justify-content: start;
  }
}

#esim-plan-options {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.35rem 0.2rem 0.7rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  scrollbar-width: none;
}

#esim-plan-options::-webkit-scrollbar {
  display: none;
}

#esim-plan-options .esim-plan-card {
  min-height: auto;
  width: min(280px, 100%);
  flex: 0 0 min(280px, 100%);
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  scroll-snap-align: start;
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  #esim-plan-options .esim-plan-card {
    width: min(260px, 100%);
    flex-basis: min(260px, 100%);
  }
}

@media (max-width: 899px) {
  #esim-plan-options .esim-plan-card {
    width: min(220px, 100%);
    flex-basis: min(220px, 100%);
  }
}

@media (max-width: 760px) {
  #esim-plan-options {
    gap: 0.8rem;
    padding-left: 0.1rem;
    padding-right: 0.1rem;
  }

  #esim-plan-options .esim-plan-card {
    width: min(240px, calc(100% - 0.5rem));
    flex-basis: min(240px, calc(100% - 0.5rem));
    min-width: 0;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  #esim-plan-options .esim-plan-card {
    width: min(220px, calc(100% - 0.5rem));
    flex-basis: min(220px, calc(100% - 0.5rem));
    min-width: 0;
  }

  .esim-selection-card,
  .esim-summary-card,
  .esim-order-card {
    padding: 1rem;
  }

  .esim-hero__media {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    min-width: 64px;
  }
}

@media (max-width: 700px) {
  .physical-sim-page .product-grid,
  .carrier-esim-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .physical-sim-page .product-card,
  .carrier-esim-page .product-card {
    min-height: 270px;
    padding: 0.8rem;
    gap: 0.65rem;
    width: 100%;
  }

  .physical-sim-page .product-card .product-image,
  .carrier-esim-page .product-card .product-image {
    padding: 0.45rem;
    min-height: 110px;
  }

  .physical-sim-page .product-card h3,
  .carrier-esim-page .product-card h3 {
    font-size: 0.98rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .physical-sim-page .product-card p,
  .carrier-esim-page .product-card p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    font-size: 0.78rem;
  }

  .physical-sim-page .product-card .price-row,
  .carrier-esim-page .product-card .price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .physical-sim-page .product-card .btn,
  .carrier-esim-page .product-card .btn {
    padding: 0.72rem 0.9rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 560px) {
  .physical-sim-page .container,
  .carrier-esim-page .container {
    width: calc(100% - 0.25rem) !important;
  }

  .physical-sim-page .product-grid,
  .carrier-esim-page .product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    gap: 0.3rem !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: auto;
  }

  .physical-sim-page .product-card,
  .carrier-esim-page .product-card {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 255px;
    padding: 0.65rem;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0.9rem;
    box-shadow: 0 12px 22px rgba(14, 26, 52, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    gap: 0.6rem;
    scroll-snap-align: none;
  }

  .physical-sim-page .product-card .product-image,
  .carrier-esim-page .product-card .product-image {
    min-height: 94px;
    padding: 0.5rem;
    border-radius: 0.8rem;
  }

  .physical-sim-page .product-card .product-image img,
  .carrier-esim-page .product-card .product-image img {
    max-height: 76px;
  }

  .physical-sim-page .product-card h3,
  .carrier-esim-page .product-card h3 {
    font-size: 0.9rem !important;
    line-height: 1.28 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-height: 2.6em;
  }

  .physical-sim-page .product-card p,
  .carrier-esim-page .product-card p {
    font-size: 0.64rem !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .physical-sim-page .product-card .price-row,
  .carrier-esim-page .product-card .price-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.22rem;
    min-width: 0;
    width: 100%;
  }

  .physical-sim-page .product-card .old-price,
  .carrier-esim-page .product-card .old-price,
  .physical-sim-page .product-card .new-price,
  .carrier-esim-page .product-card .new-price {
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: clip;
    min-width: 0;
    line-height: 1.15;
    font-size: 0.63rem !important;
  }

  .physical-sim-page .product-card .new-price,
  .carrier-esim-page .product-card .new-price {
    font-size: 0.75rem !important;
    font-weight: 800;
    margin-left: auto;
  }

  .physical-sim-page .product-card .btn,
  .carrier-esim-page .product-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.42rem 0.5rem;
    font-size: 0.62rem !important;
    line-height: 1.1;
    border-radius: 0.65rem;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .product-label {
    padding: 0.18rem 0.45rem !important;
    font-size: 0.56rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .product-tag {
    display: inline-block !important;
    padding: 0.15rem 0.35rem !important;
    font-size: 0.52rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 !important;
    line-height: 1.2;
  }

  .product-card-header {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0.25rem !important;
    width: 100% !important;
    align-items: center !important;
  }
}

@media (max-width: 480px) {
  .physical-sim-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.feature-card,
.testimonial-card,
.faq-item,
.cta-card,
.link-card,
.showcase-card,
.product-card,
.payment-card,
.support-card {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.25rem;
  padding: 1.4rem;
  box-shadow: 0 12px 34px rgba(4, 22, 60, 0.16);
  backdrop-filter: blur(10px);
}

.feature-card,
.product-card,
.payment-card,
.support-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover,
.product-card:hover,
.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 165, 66, 0.5);
}

.product-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.05));
  border-radius: 1.1rem;
  padding: 0.95rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.8rem;
  min-height: 360px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.16);
}

.product-card .product-image {
  position: relative;
  padding: 0.7rem;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.14);
}

.product-card .product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-card > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
}

.product-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.product-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-sale-badge {
  background: #dc2626;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.product-card .product-image .product-sale-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 1;
  padding: 0.25rem 0.55rem;
  font-size: 0.68rem;
  line-height: 1;
}

.product-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 700;
  color: #f7f7f2;
}

.product-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0;
}

.product-card .price-row {
  align-items: center;
  justify-content: space-between;
  gap: 0.2rem;
  padding-top: 0.2rem;
  flex-wrap: nowrap;
  min-width: 0;
}

.product-card .old-price,
.product-card .new-price {
  white-space: nowrap;
  display: inline-block;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  min-width: 0;
}

.product-card .old-price {
  font-size: 0.78rem;
  color: #bdbdbd;
}

.product-card .new-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-soft);
  text-align: right;
}

.product-card .btn {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0.9rem;
  font-weight: 700;
}

@media (min-width: 900px) {
  .product-card .btn {
    width: auto;
  }
}

.esim-plan-card {
  min-height: 380px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
}

.esim-plan-card .plan-header {
  display: grid;
  gap: 0.35rem;
}

.esim-plan-card .plan-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.plan-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-soft);
}

.plan-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
}

.plan-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-features li {
  display: flex;
  gap: 0.6rem;
}

.plan-features li::before {
  content: '✓';
  color: var(--green);
  font-size: 0.96rem;
  line-height: 1;
}

.product-card.selected {
  border-color: rgba(255, 195, 0, 0.9);
  background: rgba(255, 195, 0, 0.12);
  box-shadow: 0 16px 36px rgba(255, 195, 0, 0.16);
}

.product-card.selected .btn {
  background: rgba(255, 195, 0, 0.95);
  color: #121212;
  border-color: rgba(255, 195, 0, 0.8);
}

.product-card[data-esim-plan-select] {
  cursor: pointer;
}

.product-card[data-esim-plan-select]:hover {
  transform: translateY(-2px);
}

.product-card[data-esim-plan-select]:focus-visible {
  outline: 3px solid rgba(255, 195, 0, 0.35);
  outline-offset: 3px;
}

.catalog-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.catalog-card h3 {
  margin-bottom: 0;
}

.catalog-card p {
  margin: 0;
  color: var(--muted);
}

.catalog-badge {
  width: fit-content;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(216, 165, 66, 0.16);
  border: 1px solid rgba(216, 165, 66, 0.28);
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.catalog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.catalog-meta span {
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.8rem;
}

.catalog-loading {
  color: var(--muted);
  padding: 1rem 0;
}

.product-image {
  min-height: 170px;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.16);
  display: grid;
  place-items: center;
  padding: 1rem;
  font-size: 2.2rem;
  color: var(--gold-soft);
}

.product-image img {
  max-width: 72%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.product-card {
  position: relative;
}

.product-card::after {
  content: 'Tap to view details';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.85rem;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.product-card:hover::after,
.product-card:focus-within::after {
  opacity: 1;
  transform: translateY(0);
}

.product-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.product-card-footer {
  margin-top: auto;
}

.product-card .btn {
  width: 100%;
}

@media (min-width: 720px) {
  .product-card-actions {
    flex-direction: row;
  }

  .product-card .btn {
    width: auto;
  }
}

.product-tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.32rem 0.68rem;
  border-radius: 999px;
  background: rgba(216,165,66,0.15);
  border: 1px solid rgba(216,165,66,0.3);
  color: var(--gold-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.old-price {
  font-size: 0.92rem;
  color: var(--muted);
  text-decoration: line-through;
}

.new-price {
  font-size: 1.2rem;
  color: var(--gold-soft);
  font-weight: 800;
}

.product-card .btn {
  margin-top: auto;
}

.selected-plan-panel {
  margin-bottom: 1.5rem;
}

.selected-plan-panel .product-card {
  padding: 1.5rem;
  border-color: rgba(255, 195, 0, 0.45);
  box-shadow: 0 18px 45px rgba(255, 195, 0, 0.16);
}

.product-card.selected {
  border-color: rgba(255, 195, 0, 0.55);
  background: rgba(255, 195, 0, 0.08);
}

.product-card.selected .btn {
  background: rgba(255, 195, 0, 0.95);
  color: #000;
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: block;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 12px rgba(216, 165, 66, 0.1));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.08);
  filter: drop-shadow(0 6px 16px rgba(216, 165, 66, 0.2));
}

.feature-card .icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(216, 165, 66, 0.15);
  color: var(--gold-soft);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.showcase-section {
  background: linear-gradient(135deg, rgba(216, 165, 66, 0.12), rgba(255,255,255,0.03));
}

.showcase-section .review-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.showcase-section .review-summary div {
  padding: 1.2rem 1.3rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(216, 165, 66, 0.16);
}

.showcase-section .review-summary strong {
  display: block;
  font-size: 2rem;
  color: var(--gold-soft);
}

.showcase-section .review-summary span {
  color: var(--muted);
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.payment-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
}

.payment-card h3 {
  margin: 0;
  color: var(--text);
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.payment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.8rem;
  height: 3.8rem;
  border-radius: 0.95rem;
  background: rgba(255, 195, 0, 0.12);
  border: 1px solid rgba(255, 195, 0, 0.24);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
}

.payment-card p,
.support-copy p {
  color: var(--muted);
}

.support-section {
  background: rgba(255, 255, 255, 0.02);
}

.support-card {
  padding: 2rem;
  border-radius: 1.7rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255, 195, 0, 0.18);
  box-shadow: 0 18px 42px rgba(0,0,0,0.18);
}

.support-copy {
  max-width: 640px;
}

.support-section .hero-actions {
  margin-top: 1.8rem;
}

.support-section .btn-secondary {
  background: rgba(255,255,255,0.06);
}

.payment-card:hover,
.support-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 195, 0, 0.35);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  padding-left: 1.2rem;
  position: relative;
  color: var(--muted);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-soft);
}

.showcase-card img {
  border-radius: 1.2rem;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card strong {
  display: block;
  margin-top: 1rem;
  color: var(--gold-soft);
}

.testimonial-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-question {
  width: 100%;
  padding: 1rem 1.2rem;
  background: transparent;
  border: none;
  color: var(--text);
  font: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 1.2rem 0;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
  padding-bottom: 1rem;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.link-card-image {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  display: block;
}

.link-card a {
  color: var(--gold-soft);
  font-weight: 700;
  display: inline-block;
  margin-top: 0.6rem;
  position: relative;
}

.link-card a::after {
  content: '→';
  margin-left: 0.35rem;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-visual {
  width: 180px;
  height: auto;
  flex-shrink: 0;
  border-radius: 1rem;
}

.site-footer {
  padding: 3rem 0 1.2rem;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.025);
}

.site-footer-home {
  padding: 4rem 0 2rem;
  background: rgba(26, 6, 51, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.site-footer-home__inner {
  width: min(100%, 1400px);
  margin: 0 auto;
  padding: 0 var(--site-safe-pad);
}

.site-footer-home__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.site-footer-home__brand {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin-bottom: 1.5rem;
}

.site-footer-home__brand img {
  display: block;
  width: auto;
  max-width: 180px;
  height: 48px;
  object-fit: contain;
}

.site-footer-home h4 {
  margin: 0 0 1.5rem;
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 700;
}

.site-footer-home p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer-home__links,
.site-footer-home__contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer-home__links {
  display: grid;
  gap: 0.75rem;
}

.site-footer-home__links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-home__links a:hover,
.site-footer-home__links a:focus-visible {
  color: var(--gold-soft);
}

.site-footer-home__contact {
  display: grid;
  gap: 1rem;
}

.site-footer-home__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.site-footer-home__contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.2);
}

.site-footer-home__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer-home__legal p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
}

.site-footer-home__payments {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 900px) {
  .site-footer-home__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-footer-home {
    padding: 3rem 0 1.5rem;
  }

  .site-footer-home__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .site-footer-home__legal {
    flex-direction: column;
    align-items: flex-start;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1.5rem;
}

.site-footer h3 {
  margin-bottom: 0.7rem;
}

.site-footer a {
  display: block;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.site-footer a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  color: var(--muted);
}

.float-chat {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #121212;
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow: var(--shadow);
}

@media (min-width: 701px) {
  .site-nav {
    display: block;
    position: static;
    background: transparent;
    border-bottom: none;
    backdrop-filter: none;
  }

  .site-nav ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem 1.1rem;
    margin: 0 auto;
    padding: 0.25rem 0 0.5rem;
  }

  .menu-toggle {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .showcase-grid,
  .footer-grid,
  .hero-stack,
  .two-column-panel,
  .carrier-summary-grid,
  .selected-summary-body {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .testimonial-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .giftcard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

  #data-bundle-plan-options.product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
  }

  @media (max-width: 1200px) {
    #data-bundle-plan-options.product-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  @media (max-width: 900px) {
    #data-bundle-plan-options.product-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 640px) {
    #data-bundle-plan-options.product-grid {
      grid-template-columns: 1fr;
    }
  }

  #data-bundle-plan-options .product-card,
  #data-bundle-plan-options .bundle-plan-card {
    padding: 0.95rem;
    min-height: auto;
  }

  .plan-question {
    margin-bottom: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .plan-question-heading {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #f7f7f2;
  }

  .plan-question-help {
    margin: 0;
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.4;
  }

  #data-bundle-plan-options .bundle-plan-card {
    gap: 0.65rem;
  }

  #data-bundle-plan-options .bundle-plan-card h3 {
    font-size: 0.95rem;
  }

  #data-bundle-plan-options .bundle-plan-card .plan-card-meta {
    font-size: 0.82rem;
    margin-bottom: 0.45rem;
  }

  #data-bundle-plan-options .bundle-plan-card .price-row {
    padding-top: 0.15rem;
  }

  #data-bundle-plan-options .bundle-plan-card .new-price {
    font-size: 1rem;
  }

  #data-bundle-plan-options .bundle-plan-card .btn {
    padding: 0.65rem 0.75rem;
    font-size: 0.9rem;
  }

  .product-card,
  .giftcard-card {
    min-width: 0;
  }

  .giftcard-card {
    padding: 0.75rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .giftcard-purchase-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }

  .giftcard-details-actions {
    justify-content: stretch;
  }
}

@media (max-width: 700px) {
  .topup-hero,
  .topup-hero .container,
  .hero-stack {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .hero-stack {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0;
    margin: 0;
  }

  .hero-form-card {
    width: calc(100% - 0.2rem) !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    left: 0 !important;
    padding: 1rem 0.8rem !important;
    box-sizing: border-box !important;
    border-radius: 0.75rem !important;
    overflow: hidden !important;
  }

  .step-indicator {
    gap: 0.35rem;
    width: 100%;
    padding: 0;
  }

  .step-pill {
    font-size: 0.7rem;
    padding: 0.35rem 0.6rem;
  }

  .phone-field-group {
    padding: 0.8rem;
  }

  .phone-field-group .phone-field-row {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .phone-field-group .phone-code-field input,
  .phone-field-group .phone-number-field input {
    padding: 0.8rem 0.7rem;
    font-size: 0.95rem;
  }

  .phone-code-input-shell {
    padding: 0.25rem 0.45rem 0.25rem 0.35rem;
  }

  .phone-code-flag {
    width: 32px;
    min-width: 32px;
  }

  .phone-field-hint {
    font-size: 0.82rem;
  }

  .form-field input,
  .form-field select,
  .custom-select-trigger {
    width: 100%;
    min-width: 0;
  }

  .kt-topup-type {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kt-topup-card {
    min-height: auto;
    padding: 1.1rem 1rem;
  }

  .review-row {
    grid-template-columns: minmax(110px, 1.2fr) minmax(0, 1.8fr);
    gap: 0.35rem 0.8rem;
    padding: 0.8rem 0;
    align-items: center;
  }

  .review-row dt {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    white-space: nowrap;
  }

  .review-row dd {
    text-align: right;
    font-size: 0.96rem;
    min-width: 0;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    max-width: 100%;
  }

  .review-country,
  .review-operator {
    justify-content: flex-end;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
  }

  .review-country-name,
  .review-operator-name {
    white-space: nowrap;
  }

  .hero-actions--wizard {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions--wizard .btn {
    width: 100%;
  }

  .menu-toggle {
    display: block;
  }

  .nav-wrap {
    align-items: center;
  }

/* Removed old `.airtime-type-details`/`.airtime-type-detail` duplicate rules.
   The new `airtime-type-grid` rules below provide a clean, conflict-free layout. */

/* Removed legacy emergency overrides to avoid conflicting selectors. */

  .site-nav {
    display: none;
    position: static;
    top: auto;
  }

  .site-nav.active {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0.4rem;
    gap: 0.2rem;
  }


  .site-nav li {
    width: 100%;
  }

  .site-nav a {
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    border-bottom: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gold-soft);
  }

  .nav-wrap {
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .site-header .brand {
    flex: 0 0 auto;
    min-width: 0;
  }

  .brand .logo-img {
    height: 30px;
    max-width: 130px;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 0 0 auto;
  }

  .header-actions a,
  .header-actions button {
    flex-shrink: 0;
  }

  .header-actions .account-link {
    display: none;
  }

  .header-actions .cart-link {
    min-width: auto;
  }

  .site-nav {
    width: 100%;
    margin-top: 0.8rem;
  }

  .site-nav ul {
    gap: 0.4rem;
  }

  .login-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }

  .logo-grid,
  .feature-grid,
  .testimonial-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .giftcard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
  }

  @media (max-width: 420px) {
    .giftcard-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  .hero-intro h1 {
    max-width: 100%;
  }

  .hero-form-card {
    padding: 1rem;
  }

  .feature-icon {
    width: 56px;
    height: 56px;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

.sim-details-page {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
}

.sim-details-page.hidden {
  display: none;
}

.sim-modal-panel {
  width: 100%;
  min-height: auto;
  max-height: none;
  background: linear-gradient(180deg, rgba(91, 33, 182, 0.25), rgba(123, 58, 237, 0.2));
  border: none;
  border-radius: 1.25rem;
  position: relative;
  overflow: auto;
  box-shadow: none;
  border: 1px solid rgba(123, 58, 237, 0.4);
}

.sim-modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.8rem;
  padding: 2.2rem clamp(1.2rem, 3vw, 3rem) 2rem;
  min-height: auto;
}

.sim-modal-image-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 0;
  padding: 0;
}

.sim-product-card-visual {
  position: relative;
  width: min(100%, 420px);
  height: auto;
  aspect-ratio: 1.1 / 1;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(13, 20, 38, 0.96), rgba(21, 46, 70, 0.94) 40%, rgba(89, 71, 196, 0.88));
  border: 1px solid rgba(157, 176, 255, 0.28);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.35rem;
  overflow: hidden;
}

.sim-visual-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.8;
  pointer-events: none;
}

.sim-visual-glow-one {
  width: 12rem;
  height: 12rem;
  background: rgba(99, 102, 241, 0.55);
  top: -1.5rem;
  right: -1rem;
}

.sim-visual-glow-two {
  width: 10rem;
  height: 10rem;
  background: rgba(45, 212, 191, 0.35);
  bottom: -1.5rem;
  left: -1rem;
}

.sim-visual-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.sim-product-card-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  transform: scale(1.08);
  filter: drop-shadow(0 24px 28px rgba(15, 23, 42, 0.32));
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.sim-modal-content {
  padding: 0.5rem 0.2rem 0.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.sim-modal-header-copy {
  margin: 0.2rem 0 0.2rem;
  font-size: clamp(1.2rem, 1.6vw, 2.7rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #edf6ff;
  max-width: 580px;
}

.sim-modal-header-title h3 {
  margin: 0;
  font-size: clamp(2rem, 2.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #f4f8ff;
}

.sim-modal-currency {
  margin: 0.15rem 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: rgba(205, 227, 255, 0.8);
  text-transform: uppercase;
}

.sim-modal-rating-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.8rem;
  margin-bottom: 1rem;
}

.star-rating {
  color: #f7b24b;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.rating-count {
  color: rgba(228, 236, 255, 0.85);
  font-size: 0.92rem;
}

.sim-price-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  margin-top: 1.1rem;
}

.sim-price-row .old-price {
  color: rgba(200, 216, 255, 0.45);
  text-decoration: line-through;
  font-size: 1.2rem;
  font-weight: 600;
}

.sim-price-row .new-price {
  color: #f4f6ff;
  font-size: clamp(2rem, 2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.sim-discount-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.65rem;
  border-radius: 0.45rem;
  background: rgba(72, 196, 255, 0.12);
  color: #6de0ff;
  border: 1px solid rgba(109, 224, 255, 0.35);
  font-size: 0.82rem;
  font-weight: 700;
}

.sim-modal-description {
  margin: 0 0 1.3rem;
  color: rgba(213, 226, 255, 0.9);
  font-size: 1.08rem;
  line-height: 1.5;
}

.sim-mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  padding: 0.3rem;
  margin-bottom: 1.1rem;
  border-radius: 0.85rem;
  background: rgba(98, 132, 191, 0.18);
  border: 1px solid rgba(163, 198, 255, 0.25);
}

.sim-mode-button {
  border: 0;
  border-radius: 0.7rem;
  background: transparent;
  color: #dfeaff;
  font-weight: 700;
  padding: 0.95rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sim-mode-button.active {
  background: rgba(232, 214, 170, 0.98);
  color: #1a294b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.sim-plan-list {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.sim-tier-card {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1.2rem;
  padding: 0.7rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(153, 182, 255, 0.2);
  background: rgba(17, 29, 57, 0.68);
}

.sim-tier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.7rem;
  border-radius: 0.7rem;
  color: rgba(223, 236, 255, 0.9);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.sim-tier-row.active {
  background: rgba(255, 214, 146, 0.12);
  border-color: rgba(255, 214, 146, 0.45);
  color: #f7fbff;
}

.sim-tier-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 214, 146, 0.18);
  color: #ffd081;
  font-size: 0.72rem;
  font-weight: 800;
}

.sim-plan-list.hidden,
.sim-summary-row.hidden {
  display: none;
}

.sim-plan-option {
  width: 100%;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(180, 206, 255, 0.35);
  background: rgba(29, 48, 92, 0.42);
  border-radius: 0.9rem;
  color: #edf5ff;
  padding: 0.9rem 1rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sim-plan-option.active {
  border-color: rgba(246, 146, 98, 0.9);
  box-shadow: 0 0 0 1px rgba(246, 146, 98, 0.7);
  background: rgba(24, 38, 74, 0.76);
}

.sim-plan-main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sim-plan-title {
  font-size: 1.08rem;
  font-weight: 700;
}

.sim-plan-copy {
  color: rgba(210, 225, 255, 0.72);
  font-size: 0.82rem;
}

.sim-plan-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: #f5f9ff;
}

.sim-discount-cards {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.75rem;
  background: rgba(86, 119, 190, 0.15);
  border: 1px solid rgba(138, 173, 255, 0.22);
}

.sim-discount-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}

.sim-discount-row.active {
  color: #f7fbff;
  background: rgba(255, 214, 146, 0.12);
  border-radius: 0.5rem;
}

.discount-label {
  color: rgba(200, 225, 255, 0.85);
  font-weight: 600;
}

.discount-value {
  color: #ff9966;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sim-summary-area {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(123, 58, 237, 0.4);
}

.sim-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: rgba(217, 231, 255, 0.78);
  font-size: 0.98rem;
}

.sim-summary-row strong,
.sim-summary-row span {
  color: inherit;
}

.sim-summary-row.total-row {
  margin-top: 0.35rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(153, 182, 255, 0.2);
  font-size: 1.16rem;
  font-weight: 800;
  color: #eef6ff;
}

.sim-quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(123, 58, 237, 0.4);
  border-radius: 0.8rem;
  background: rgba(91, 33, 182, 0.2);
  padding: 0.2rem 0.45rem;
}

.sim-quantity-controls input {
  width: 3.5rem;
  border: none;
  background: transparent;
  color: #f3f8ff;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
}

.sim-quantity-controls input:focus {
  outline: none;
}

.sim-quantity-controls .qty-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  color: #eef6ff;
  border: 0;
  font-size: 1.2rem;
  cursor: pointer;
}

.sim-page-sections {
  display: block;
  width: min(100%, 1100px);
  max-width: 1100px;
  margin: 1.1rem auto 0;
  padding: 0 clamp(1.2rem, 3vw, 3rem) 2rem;
}

.sim-info-card {
  background: rgba(91, 33, 182, 0.15);
  border: 1px solid rgba(123, 58, 237, 0.4);
  border-radius: 1.15rem;
  padding: 0;
  overflow: hidden;
  width: 100%;
  max-width: 1100px;
  box-shadow: 0 12px 30px rgba(123, 58, 237, 0.15);
}

.sim-card-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.8rem 0.5rem;
  background: rgba(91, 33, 182, 0.2);
  border-bottom: 1px solid rgba(123, 58, 237, 0.3);
}

.sim-tab-button {
  flex: 1 1 0;
  border: 0;
  border-radius: 0.7rem;
  background: rgba(64, 92, 147, 0.18);
  color: rgba(218, 232, 255, 0.72);
  padding: 0.9rem 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
  text-transform: none;
}

.sim-tab-button.active {
  background: rgba(239, 178, 110, 0.95);
  color: #0d1f45;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}

.sim-tab-panel {
  display: none;
  padding: 1.1rem 1.35rem 1.3rem;
}

.sim-tab-panel.active {
  display: block;
}

.sim-coverage-wrap {
  display: grid;
  gap: 1rem;
}

/* Operator Selection Badges */
.custom-select-option.operator-option {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  padding: 10px 10px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid rgba(196, 170, 255, 0.3);
  box-shadow: none;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0;
  box-sizing: border-box;
  flex-shrink: 0;
}

.operator-option:hover {
  background: transparent;
  border-color: rgba(196, 170, 255, 0.5);
  box-shadow: none;
}

.operator-option:active {
  background: transparent;
  transform: none;
}

.operator-option.selected {
  background: transparent;
  border-color: rgba(196, 170, 255, 0.5);
  box-shadow: none;
}

.operator-option-main {
  display: flex !important;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  position: relative;
  min-height: 0;
}

.operator-option-main .option-label {
  flex: 1 1 auto;
  min-width: 0;
}

.operator-option .flag-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.operator-option .flag-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.option-label {
  flex: 1 1 auto;
  font-weight: 600;
  color: #ffffff;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  line-height: 1.2;
}

.operator-arrow {
  flex-shrink: 0;
  color: rgba(17, 24, 39, 0.5);
  font-size: 1.25rem;
  line-height: 1;
}

.option-badges {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-left: 0 !important;
  margin-top: 2px;
  width: 100%;
  flex-shrink: 0;
  line-height: 1.1;
}

.operator-offer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.1rem 0.38rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  flex-shrink: 0;
  line-height: 1.1;
}

.operator-offer-badge::before {
  display: inline-block;
  font-style: normal;
  font-weight: 400;
  font-size: 0.8em;
  line-height: 1;
}

.operator-offer-badge.direct::before {
  content: '⚡';
}

.operator-offer-badge.pin::before {
  content: '📋';
}

.operator-offer-badge.plans::before {
  content: '📦';
}

.operator-offer-badge.bundle::before {
  content: '📦';
}

.operator-offer-badge.direct {
  background: rgba(127, 211, 155, 0.3);
  color: #ffffff;
  border-color: rgba(82, 172, 118, 0.25);
}

.operator-offer-badge.pin {
  background: rgba(240, 216, 128, 0.4);
  color: #ffffff;
  border-color: rgba(180, 155, 58, 0.25);
}

.operator-offer-badge.plans {
  background: rgba(192, 164, 255, 0.28);
  color: #6b4f9a;
  border-color: rgba(146, 110, 222, 0.25);
}

.operator-offer-badge.bundle {
  background: rgba(159, 171, 255, 0.25);
  color: #4f5dc8;
  border-color: rgba(105, 122, 214, 0.2);
}

.sim-coverage-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.8rem;
  padding-top: 0.2rem;
  font-size: clamp(1.1rem, 1.6vw, 2rem);
  font-weight: 700;
  color: #edf6ff;
}

.sim-coverage-arrow {
  color: #6ad4ff;
  font-size: 1.4rem;
}

.sim-network-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 1.6fr) minmax(0, 1fr);
  align-items: center;
  gap: 0;
  color: #edf6ff;
  font-size: 1.05rem;
}

.sim-network-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 3.2rem;
}

.sim-network-side-right {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 3.2rem;
}

.sim-network-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(143, 230, 255, 0.9);
  box-shadow: 0 0 12px rgba(143, 230, 255, 0.9);
}

.sim-network-dot-right {
  background: rgba(127, 188, 255, 0.9);
}

.sim-network-lane {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 280px;
  height: 2.2rem;
  margin: 0 -0.5rem;
}

.sim-network-route {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  background-image: repeating-linear-gradient(
    to right,
    rgba(143, 230, 255, 0.95) 0,
    rgba(143, 230, 255, 0.95) 6px,
    transparent 6px,
    transparent 12px
  );
  opacity: 0.95;
}

.sim-network-plane {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 0;
  background: transparent;
  border: none;
  color: #ff9966;
}

.sim-network-plane svg {
  width: 1.7rem;
  height: 1.7rem;
  fill: currentColor;
}

.airplane-icon-img {
  width: 1.7rem;
  height: 1.7rem;
  filter: brightness(0) saturate(100%) invert(57%) sepia(75%) saturate(1248%) hue-rotate(1deg) brightness(102%) contrast(101%);
}

.sim-coverage-copy {
  margin: 0;
  color: #ebf5ff;
  font-size: clamp(0.95rem, 1vw, 1.2rem);
  line-height: 1.42;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.sim-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.sim-stat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.8rem;
  border-radius: 0.75rem;
  background: rgba(94, 145, 210, 0.18);
  border: 1px solid rgba(168, 203, 255, 0.22);
  text-align: center;
  min-height: 110px;
  color: #ebf5ff;
}

.sim-spec-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  color: #ff9966;
  flex-shrink: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.sim-spec-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sim-spec-icon svg circle,
.sim-spec-icon svg rect,
.sim-spec-icon svg path {
  vector-effect: non-scaling-stroke;
}

.sim-stat-tile strong {
  font-size: clamp(1.2rem, 2vw, 2rem);
  color: #edf6ff;
  font-weight: 800;
}

.sim-stat-tile span {
  color: rgba(214, 230, 255, 0.8);
  font-size: 0.82rem;
}

.sim-coverage-specs {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.sim-spec-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) minmax(0, 1.8fr);
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 0.2rem;
  border-top: 1px solid rgba(153, 182, 255, 0.16);
  color: #ebf5ff;
}

.sim-spec-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #dfeeff;
  font-weight: 800;
  font-size: clamp(1.05rem, 1.2vw, 1.3rem);
}

.sim-spec-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  color: #ff9966;
  flex-shrink: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 0;
}

.sim-spec-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sim-spec-value {
  color: #ebf5ff;
  text-align: right;
  font-weight: 500;
}

.sim-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.sim-feature-list li {
  position: relative;
  padding-left: 1.1rem;
  color: rgba(225, 235, 255, 0.86);
  line-height: 1.6;
}

.sim-feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ffd081;
}

.sim-faq-list {
  display: grid;
  gap: 0.35rem;
}

.sim-faq-item {
  padding: 1rem 0 1.1rem;
  border-top: 1px solid rgba(153, 182, 255, 0.2);
}

.sim-faq-item:first-child {
  border-top: 0;
  padding-top: 0.2rem;
}

.sim-faq-item h5 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.08rem, 1.4vw, 1.55rem);
  font-weight: 800;
  color: #edf6ff;
  line-height: 1.4;
}

.sim-faq-item p {
  margin: 0;
  color: rgba(225, 235, 255, 0.8);
  line-height: 1.65;
  font-size: 1.02rem;
}

.sim-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-top: 1.2rem;
}

.sim-modal-actions .btn {
  flex: 1 1 260px;
  min-height: 52px;
  border-radius: 0.9rem;
  font-weight: 800;
  padding: 0.9rem 1.2rem;
}

@media (max-width: 760px) {
  .sim-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .sim-modal-actions .btn {
    flex: none;
    width: 100%;
    min-height: 42px;
    padding: 0.7rem 0.8rem;
    font-size: 0.86rem;
    border-radius: 0.75rem;
  }
}

.sim-modal-actions .btn-primary {
  background: linear-gradient(180deg, rgba(255, 170, 114, 0.2), rgba(255, 190, 122, 0.18));
  color: #f8fbff;
  border: 1px solid rgba(255, 181, 105, 0.5);
}

.sim-modal-actions .btn-secondary {
  background: rgba(255, 214, 146, 0.9);
  color: #1d294d;
  border: 1px solid rgba(255, 214, 146, 0.8);
}

#sim-modal-status {
  margin-top: 0.9rem;
}

@media (max-width: 760px) {
  .sim-modal-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .sim-modal-image-wrap {
    min-height: 0;
  }

  .sim-product-card-visual {
    min-height: 0;
    width: min(100%, 240px);
  }

  .sim-page-sections {
    padding: 0 1rem 1.5rem;
  }

  .sim-modal-actions {
    flex-direction: column;
  }

  .sim-modal-actions .btn {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .product-card {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .modal-actions .btn {
    width: 100%;
  }

  .modal-quantity-row {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  body {
    background-attachment: scroll;
    min-width: auto;
  }

  .container {
    width: min(100%, calc(100% - 1rem));
    margin: 0 auto;
  }

  .nav-wrap {
    padding: 0.75rem 0;
    gap: 0.75rem;
  }

  .sim-details-page,
  .sim-modal-panel,
  .sim-modal-grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .sim-modal-panel {
    margin: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    overflow: hidden !important;
  }

  .sim-modal-grid {
    padding: 0.9rem 0.75rem !important;
    overflow: hidden !important;
  }

  .sim-modal-content,
  .sim-page-sections,
  .sim-info-card,
  .sim-coverage-wrap {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }

  .sim-modal-actions {
    grid-template-columns: 1fr !important;
  }

  .header-actions {
    gap: 0.75rem;
  }

  .site-nav ul {
    gap: 0.5rem;
  }

  .hero-intro h1 {
    font-size: clamp(2rem, 8vw, 2.5rem);
    line-height: 1.1;
  }

  .hero-intro p,
  .section-head p,
  .product-card p,
  .feature-card p,
  .testimonial-card p {
    font-size: 0.95rem;
  }

  .site-nav a {
    font-size: 0.95rem;
  }

  .feature-grid,
  .testimonial-grid,
  .link-grid,
  .country-grid,
  .hero-grid,
  .showcase-grid,
  .footer-grid,
  .two-column-panel,
  .carrier-summary-grid,
  .selected-summary-body {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-grid {
    gap: 1rem;
  }

  .feature-card,
  .product-card,
  .testimonial-card,
  .link-card {
    padding: 1rem;
  }

  .product-grid,
  #esim-plan-options {
    grid-template-columns: 1fr;
  }

  .physical-sim-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .giftcard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #esim-plan-options {
    gap: 1rem;
  }

  .product-card,
  .giftcard-card,
  #esim-plan-options .esim-plan-card {
    width: 100%;
    min-width: 0;
    min-height: auto;
  }

  .hero-actions,
  .giftcard-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .giftcard-toolbar input {
    max-width: 100%;
  }

  .float-chat {
    right: 0.8rem;
    bottom: 0.8rem;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100%, calc(100% - 1rem));
  }

  .nav-wrap,
  .hero-grid,
  .showcase-grid,
  .footer-grid,
  .hero-stack,
  .two-column-panel,
  .carrier-summary-grid,
  .selected-summary-body,
  .feature-grid,
  .testimonial-grid,
  .link-grid,
  .page-grid,
  .view-panel .panel-grid,
  .analytics-grid,
  .analytics-metric-grid,
  .content-grid,
  .lower-grid,
  .bottom-grid,
  .modal-grid,
  .form-grid {
    grid-template-columns: 1fr !important;
  }

  .country-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .site-nav {
    width: 100% !important;
    position: static !important;
    margin-top: 0.8rem;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.75rem;
    width: 100%;
  }

  .site-nav li {
    width: 100%;
  }

  .site-nav a {
    width: 100%;
    padding: 0.85rem 1rem;
  }

  .product-grid,
  .giftcard-grid,
  #esim-plan-options {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 0.85rem !important;
  }

  .product-card,
  .giftcard-card,
  .esim-plan-card,
  .form-card,
  .service-form,
  .dashboard-card,
  .tracking-card,
  .modal-panel,
  .page-card,
  .card,
  .hero-card,
  .glass-card {
    min-width: 0 !important;
    width: 100% !important;
  }

  .modal-panel {
    width: min(100%, 98%) !important;
    max-width: 100% !important;
  }

  .site-header .brand .logo-img {
    max-width: 140px !important;
    width: auto !important;
  }
}

@media (max-width: 768px) {
  /* Physical SIM Details Tablet Layout */
  .sim-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.7rem !important;
  }

  .sim-stat-tile {
    min-height: 100px !important;
    padding: 0.9rem 0.7rem !important;
  }

  .sim-spec-row {
    grid-template-columns: minmax(100px, 0.6fr) minmax(0, 1.4fr) !important;
    gap: 0.8rem !important;
    padding: 0.8rem 0.1rem !important;
  }

  .sim-network-row {
    grid-template-columns: minmax(0, 0.8fr) minmax(100px, 1.2fr) minmax(0, 0.8fr) !important;
  }

  /* Tablet General Layout */
  .section,
  .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  .modal-panel,
  .sim-modal-panel {
    width: 90% !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .sim-modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.2rem !important;
  }

  /* Tablet Button Layout */
  .btn {
    padding: 0.85rem 1.5rem !important;
  }

  /* Tablet Form */
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
  }

  .form-field {
    margin-bottom: 0.9rem !important;
  }

  /* Tablet Product Grid */
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.2rem !important;
  }

  /* Tablet Amount Grid */
  .amount-option-grid,
  .amount-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.8rem !important;
  }

  /* Tablet Table */
  .tracking-board-table,
  .dashboard-order-table {
    font-size: 0.9rem !important;
  }

  .tracking-board-table th,
  .tracking-board-table td,
  .dashboard-order-table th,
  .dashboard-order-table td {
    padding: 0.85rem 0.9rem !important;
  }

  /* Tablet Feature Grid */
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.2rem !important;
  }

  /* Tablet Two Column */
  .two-column-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 1.2rem !important;
  }

  /* Tablet Sidebar */
  .sidebar,
  .dashboard-sidebar {
    width: 320px !important;
  }

  /* Tablet Payment Options */
  .payment-options {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
  }

  /* Tablet Admin Dashboard */
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.2rem !important;
  }

  .dashboard-card,
  .inventory-card {
    padding: 1.1rem !important;
  }

  /* Tablet Text Sizing */
  h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem) !important;
  }

  h2 {
    font-size: clamp(1.4rem, 4vw, 2rem) !important;
  }

  h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem) !important;
  }

  p {
    font-size: clamp(0.9rem, 2vw, 1rem) !important;
  }

  /* Tablet Hero Section */
  .hero-intro h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem) !important;
  }

  .hero-intro p {
    font-size: clamp(0.95rem, 2vw, 1.1rem) !important;
  }

  .hero-actions {
    flex-wrap: wrap !important;
    gap: 1rem !important;
  }

  /* Tablet Checkout */
  .checkout-header {
    padding: 1.2rem !important;
  }

  .order-summary-row {
    font-size: 0.95rem !important;
  }

  /* Tablet Custom Select */
  .custom-select,
  .custom-select-container {
    min-height: 44px !important;
  }

  .custom-select-option {
    padding: 0.85rem !important;
    min-height: 48px !important;
  }

  /* Tablet Badge and Button Sizing */
  .operator-badge {
    padding: 0.45rem 0.8rem !important;
    font-size: 0.8rem !important;
  }

  .operator-card {
    padding: 1rem !important;
    min-height: 60px !important;
  }

  /* Tablet CTA */
  .cta-card {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1.5rem !important;
  }

  .cta-card > div {
    width: auto !important;
  }

  /* Tablet Testimonial Grid */
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.2rem !important;
  }

  /* Tablet Link Grid */
  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.2rem !important;
  }

  /* Tablet Giftcard Grid */
  .giftcard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1rem !important;
  }

  /* Tablet Cart and Checkout */
  .cart-item-row {
    grid-template-columns: 80px 1fr auto auto !important;
    gap: 0.85rem !important;
  }

  .cart-item-image {
    width: 80px !important;
    height: 80px !important;
  }

  .cart-item-details {
    font-size: 0.95rem !important;
  }

  /* Tablet Product Card */
  .product-card {
    padding: 1rem !important;
  }

  .product-card img {
    max-height: 280px !important;
  }

  /* Tablet Input Sizing */
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Tablet Tabs */
  .tab-button,
  .sim-tab-button {
    padding: 0.75rem 1.2rem !important;
    font-size: 0.95rem !important;
  }

  /* Tablet Safe Area */
  body {
    padding-left: max(0.75rem, env(safe-area-inset-left)) !important;
    padding-right: max(0.75rem, env(safe-area-inset-right)) !important;
  }
}

@media (max-width: 640px) {
  .site-nav ul {
    gap: 0.5rem;
  }

  .product-grid,
  #esim-plan-options {
    grid-template-columns: 1fr !important;
  }

  .physical-sim-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .carrier-esim-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .giftcard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .hero-actions,
  .giftcard-toolbar,
  .modal-actions,
  .form-grid {
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  /* Physical SIM Details Mobile Layout */
  .sim-stat-grid {
    grid-template-columns: 1fr !important;
    gap: 0.6rem !important;
  }

  .sim-stat-tile {
    min-height: 90px !important;
    padding: 0.8rem 0.6rem !important;
  }

  .sim-spec-row {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
    padding: 0.7rem 0 !important;
  }

  .sim-spec-label,
  .sim-spec-value {
    text-align: left !important;
  }

  .sim-spec-value {
    text-align: left !important;
  }

  .sim-network-row {
    grid-template-columns: 1fr !important;
    gap: 0.8rem !important;
    font-size: 0.95rem !important;
  }

  #esim-plan-options {
    display: flex !important;
    overflow-x: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 0.8rem !important;
    padding-left: 0.1rem !important;
    padding-right: 0.1rem !important;
  }

  #esim-plan-options .esim-plan-card {
    width: min(240px, calc(100vw - 2rem)) !important;
    flex: 0 0 min(240px, calc(100vw - 2rem)) !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 1rem !important;
  }

  .sim-network-side,
  .sim-network-side-right {
    min-height: 2.5rem !important;
  }

  .sim-network-lane {
    min-width: 100px !important;
    height: 1.8rem !important;
  }

  .sim-coverage-copy {
    font-size: 0.9rem !important;
    padding: 0 0.5rem !important;
  }

  .section,
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    width: min(100%, calc(100% - 1rem)) !important;
  }

  .site-header .nav-wrap {
    padding: 0.9rem 0 !important;
  }

  .tracking-board-table-wrap,
  .dashboard-order-table-wrap,
  .tracking-board-table,
  .dashboard-order-table {
    width: 100%;
    overflow-x: auto;
  }

  .tracking-board-table th,
  .tracking-board-table td,
  .dashboard-order-table th,
  .dashboard-order-table td {
    padding: 0.75rem 0.85rem !important;
  }

  /* Modal and Dialog Mobile Layout */
  .modal-panel,
  .sim-modal-panel {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 1rem calc(-50vw + 50%) !important;
    position: relative !important;
    border-radius: 0 !important;
    max-height: none !important;
    overflow-y: visible !important;
  }

  .sim-modal-grid {
    grid-template-columns: 1fr !important;
    gap: 0.8rem !important;
    padding: 1rem 0 !important;
  }

  .sim-modal-image-wrap,
  .sim-modal-content {
    width: 100% !important;
  }

  .sim-product-card-visual img {
    max-height: 300px !important;
  }

  /* Form Mobile Layout */
  .form-field {
    gap: 0.35rem !important;
    margin-bottom: 0.85rem !important;
  }

  .form-field input,
  .form-field select,
  .form-field textarea,
  .form-field label {
    font-size: 16px !important;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    padding: 0.75rem 0.9rem !important;
    border-radius: 0.5rem !important;
  }

  .form-field label {
    font-weight: 600 !important;
    font-size: 0.95rem !important;
  }

  /* Button Mobile Layout */
  .btn {
    padding: 0.85rem 1.2rem !important;
    font-size: 0.95rem !important;
    min-height: 44px !important;
    border-radius: 0.5rem !important;
  }

  .btn-small {
    padding: 0.65rem 0.9rem !important;
    font-size: 0.85rem !important;
  }

  /* Checkout Flow Mobile Layout */
  .checkout-header,
  .order-card,
  .payment-method-card {
    padding: 1rem !important;
    margin-bottom: 0.85rem !important;
  }

  .checkout-header h2,
  .order-card h3,
  .payment-method-card h3 {
    font-size: 1.1rem !important;
  }

  .order-summary-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    padding: 0.7rem 0 !important;
    font-size: 0.9rem !important;
  }

  .order-summary-row strong {
    text-align: right !important;
  }

  .order-total-row {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Admin Dashboard Mobile Layout */
  .dashboard-card,
  .inventory-card {
    padding: 1rem !important;
    margin-bottom: 0.85rem !important;
  }

  .dashboard-card h3,
  .inventory-card h3 {
    font-size: 1.05rem !important;
  }

  .dashboard-section-title {
    font-size: 1.2rem !important;
  }

  .admin-form-field {
    margin-bottom: 0.85rem !important;
  }

  .admin-form-field input,
  .admin-form-field select,
  .admin-form-field textarea {
    padding: 0.75rem 0.9rem !important;
    font-size: 16px !important;
  }

  /* Sidebar Mobile Layout */
  .sidebar,
  .dashboard-sidebar {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    width: 280px !important;
    height: 100vh !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s ease !important;
    z-index: 1000 !important;
  }

  .sidebar.active,
  .dashboard-sidebar.active {
    transform: translateX(0) !important;
  }

  /* Text Sizing Mobile */
  h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem) !important;
  }

  h2 {
    font-size: clamp(1.3rem, 4vw, 2rem) !important;
  }

  h3 {
    font-size: clamp(1.1rem, 3vw, 1.5rem) !important;
  }

  h4 {
    font-size: clamp(1rem, 2.5vw, 1.25rem) !important;
  }

  p,
  span {
    font-size: clamp(0.85rem, 2vw, 1rem) !important;
  }

  /* Select/Dropdown Mobile */
  .custom-select,
  .custom-select-container,
  select {
    min-height: 44px !important;
    font-size: 16px !important;
    padding: 0.75rem 0.9rem !important;
  }

  /* Input Mobile Touch Targets */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="tel"],
  textarea,
  select {
    min-height: 44px !important;
    font-size: 16px !important;
    padding: 0.75rem 0.9rem !important;
  }

  /* Checkbox and Radio Mobile */
  input[type="checkbox"],
  input[type="radio"] {
    width: 20px !important;
    height: 20px !important;
    cursor: pointer !important;
  }

  label {
    cursor: pointer !important;
  }

  /* Image Mobile Responsive */
  img {
    max-width: 100% !important;
    height: auto !important;
  }

  .product-card img,
  .product-image img {
    max-height: 250px !important;
    object-fit: cover !important;
  }

  /* Payment Section Mobile */
  .payment-options {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.8rem !important;
  }

  .payment-option-card {
    padding: 1rem !important;
    border-radius: 0.5rem !important;
  }

  /* Tabs Mobile */
  .tabs,
  .tab-list {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    gap: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    margin-bottom: 1rem !important;
  }

  .tab-button,
  .sim-tab-button,
  .sim-mode-button {
    padding: 0.7rem 1rem !important;
    font-size: 0.9rem !important;
    white-space: nowrap !important;
    min-width: auto !important;
  }

  /* Card Mobile Layout */
  .card,
  .info-card,
  .feature-card {
    padding: 1rem !important;
    margin-bottom: 0.85rem !important;
    border-radius: 0.75rem !important;
  }

  /* List Mobile Layout */
  ul,
  ol {
    padding-left: 1.5rem !important;
    margin: 0.85rem 0 !important;
  }

  li {
    margin-bottom: 0.5rem !important;
    line-height: 1.6 !important;
  }

  /* Search/Filter Mobile */
  .search-box,
  .filter-box,
  .search-input {
    width: 100% !important;
    padding: 0.75rem 0.9rem !important;
    font-size: 16px !important;
    border-radius: 0.5rem !important;
    margin-bottom: 0.85rem !important;
  }

  /* Operator Selection Mobile */
  .operator-card,
  .operator-list,
  .custom-select-option {
    padding: 0.85rem !important;
    min-height: 50px !important;
    font-size: 0.95rem !important;
  }

  .operator-card-meta {
    font-size: 0.8rem !important;
  }

  .operator-badge {
    padding: 0.4rem 0.7rem !important;
    font-size: 0.75rem !important;
  }

  /* Amount Grid Mobile */
  .amount-grid,
  .amount-option-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
  }

  .amount-option,
  .amount-card {
    padding: 0.8rem !important;
    font-size: 0.85rem !important;
  }

  /* Price Display Mobile */
  .price-row,
  .sim-price-row {
    gap: 0.5rem !important;
  }

  .old-price,
  .price-old {
    font-size: 0.85rem !important;
  }

  .new-price,
  .price-current {
    font-size: 1.1rem !important;
  }

  /* Status Message Mobile */
  .status-message,
  .alert,
  .error,
  .success {
    padding: 0.85rem 1rem !important;
    margin: 0.85rem 0 !important;
    font-size: 0.9rem !important;
    border-radius: 0.5rem !important;
  }

  /* Quantity Controls Mobile */
  .qty-btn,
  .quantity-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.9rem !important;
    padding: 0 !important;
  }

  input[type="number"].quantity-input {
    width: 50px !important;
    text-align: center !important;
    font-size: 0.95rem !important;
  }

  /* Brand/Logo Mobile */
  .brand,
  .logo {
    max-width: 120px !important;
  }

  .brand img,
  .logo img {
    max-height: 40px !important;
  }

  /* Cart Count Mobile */
  .cart-count,
  .notification-badge {
    font-size: 0.75rem !important;
    padding: 0.25rem 0.4rem !important;
  }

  /* Feature Grid Mobile */
  .feature-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .feature-card {
    padding: 1.2rem 1rem !important;
  }

  /* Two Column Layout Mobile */
  .two-column-panel,
  .two-column-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .left-column,
  .right-column {
    width: 100% !important;
  }

  /* Link Grid Mobile */
  .link-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Testimonial Grid Mobile */
  .testimonial-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .testimonial-card {
    padding: 1rem !important;
  }

  /* CTA Card Mobile */
  .cta-card {
    flex-direction: column !important;
    gap: 1rem !important;
  }

  .cta-card > div {
    width: 100% !important;
  }

  /* Margin and Padding Mobile */
  .section {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .container {
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Visibility Mobile */
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  /* Spacing Optimization */
  .mb-1 { margin-bottom: 0.5rem !important; }
  .mb-2 { margin-bottom: 1rem !important; }
  .mb-3 { margin-bottom: 1.5rem !important; }
  .mt-1 { margin-top: 0.5rem !important; }
  .mt-2 { margin-top: 1rem !important; }
  .mt-3 { margin-top: 1.5rem !important; }
  .px-1 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
  .px-2 { padding-left: 1rem !important; padding-right: 1rem !important; }
  .py-1 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
  .py-2 { padding-top: 1rem !important; padding-bottom: 1rem !important; }

  /* Scroll Behavior Mobile */
  html {
    scroll-behavior: auto !important;
  }

  /* Safe Area for Notches */
  body {
    padding-left: max(0.5rem, env(safe-area-inset-left)) !important;
    padding-right: max(0.5rem, env(safe-area-inset-right)) !important;
  }

  /* Coupon Panel Mobile Responsive */
  #cart-coupon-panel,
  #product-coupon-panel {
    margin: 1rem 0 !important;
    padding: 10px !important;
    border-radius: 8px !important;
  }

  #cart-coupon-panel strong,
  #product-coupon-panel strong {
    font-size: 0.9rem !important;
    margin-bottom: 8px !important;
  }

  #cart-coupon-entry,
  #product-coupon-entry {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    align-items: stretch !important;
  }

  #cart-coupon-code,
  #product-coupon-code {
    width: 100% !important;
    padding: 8px 10px !important;
    font-size: 0.9rem !important;
    border-radius: 6px !important;
  }

  #cart-coupon-apply,
  #product-coupon-apply {
    width: 100% !important;
    padding: 10px 12px !important;
    font-size: 0.85rem !important;
    min-height: 40px !important;
    border-radius: 6px !important;
    white-space: normal !important;
  }

  #cart-coupon-message,
  #product-coupon-message {
    font-size: 0.85rem !important;
    margin-top: 6px !important;
  }

  #cart-coupon-applied,
  #product-coupon-applied {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  #cart-coupon-label,
  #product-coupon-label {
    font-size: 0.9rem !important;
    display: block !important;
  }

  #cart-coupon-remove,
  #product-coupon-remove {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
  }
}

/* Ultra Small Devices (< 480px) - Smartwatches and tiny phones */
@media (max-width: 480px) {
  .container {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
    width: min(100%, calc(100% - 0.85rem)) !important;
  }

  .section {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  /* Ultra Small Buttons */
  .btn {
    padding: 0.75rem 1rem !important;
    font-size: 0.9rem !important;
    min-width: 100% !important;
  }

  .btn-small {
    padding: 0.6rem 0.8rem !important;
    font-size: 0.8rem !important;
  }

  /* Ultra Small Text */
  h1 {
    font-size: clamp(1.3rem, 6vw, 2rem) !important;
  }

  h2 {
    font-size: clamp(1.1rem, 5vw, 1.6rem) !important;
  }

  h3 {
    font-size: clamp(1rem, 4vw, 1.3rem) !important;
  }

  h4, h5, h6 {
    font-size: clamp(0.9rem, 3vw, 1.1rem) !important;
  }

  p, span, a {
    font-size: clamp(0.8rem, 2.5vw, 0.95rem) !important;
  }

  /* Ultra Small Form */
  .form-field input,
  .form-field select,
  .form-field textarea {
    padding: 0.7rem 0.8rem !important;
  }

  .form-field label {
    font-size: 0.9rem !important;
  }

  /* Ultra Small Modal */
  .sim-details-page {
    min-height: 100vh !important;
  }

  .modal-panel,
  .sim-modal-panel {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 100vw !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: visible !important;
    border-radius: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .sim-modal-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    min-height: auto !important;
    height: auto !important;
    padding: 0.9rem 0.75rem !important;
  }

  .sim-modal-content {
    overflow: visible !important;
    padding-right: 0 !important;
  }

  .sim-modal-image-wrap {
    min-height: 180px !important;
    padding: 0.5rem !important;
  }

  .sim-modal-header-copy,
  .sim-modal-header-title h3,
  .sim-modal-description,
  .sim-plan-list,
  .sim-info-card,
  .sim-card-header,
  .sim-coverage-grid {
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  /* Ultra Small Tabs */
  .tab-button,
  .sim-tab-button,
  .sim-mode-button {
    padding: 0.6rem 0.85rem !important;
    font-size: 0.8rem !important;
  }

  /* Ultra Small Amount Grid */
  .amount-option-grid,
  .amount-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }

  .amount-option,
  .amount-card {
    padding: 0.7rem 0.6rem !important;
    font-size: 0.8rem !important;
  }

  /* Ultra Small Product Card */
  .product-card {
    padding: 0.9rem !important;
  }

  .product-card img {
    max-height: 200px !important;
  }

  .physical-sim-page .product-card h3,
  .carrier-esim-page .product-card h3,
  .product-card h3 {
    font-size: 0.62rem !important;
    margin-bottom: 0.2rem !important;
  }

  /* Ultra Small Price Display */
  .price-row,
  .sim-price-row {
    gap: 0.3rem !important;
  }

  .physical-sim-page .product-card .old-price,
  .carrier-esim-page .product-card .old-price,
  .old-price,
  .price-old {
    font-size: 0.44rem !important;
  }

  .physical-sim-page .product-card .new-price,
  .carrier-esim-page .product-card .new-price,
  .new-price,
  .price-current {
    font-size: 0.52rem !important;
  }

  /* Ultra Small Quantity */
  .qty-btn,
  .quantity-btn {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.8rem !important;
  }

  input[type="number"].quantity-input {
    width: 45px !important;
  }

  /* Ultra Small Cart */
  .cart-item-row {
    grid-template-columns: 60px 1fr auto !important;
    gap: 0.6rem !important;
  }

  .cart-item-image {
    width: 60px !important;
    height: 60px !important;
  }

  .cart-item-details {
    font-size: 0.8rem !important;
  }

  .cart-item-price,
  .cart-item-qty {
    font-size: 0.85rem !important;
  }

  /* Ultra Small Table */
  .tracking-board-table,
  .dashboard-order-table {
    font-size: 0.8rem !important;
  }

  .tracking-board-table th,
  .tracking-board-table td,
  .dashboard-order-table th,
  .dashboard-order-table td {
    padding: 0.6rem 0.6rem !important;
  }

  /* Ultra Small Card */
  .card,
  .info-card,
  .feature-card,
  .dashboard-card,
  .inventory-card {
    padding: 0.9rem !important;
  }

  /* Ultra Small Brand */
  .brand,
  .logo {
    max-width: 100px !important;
  }

  .brand img,
  .logo img {
    max-height: 35px !important;
  }

  /* Ultra Small Operator Card */
  .operator-card {
    padding: 0.8rem !important;
    min-height: 45px !important;
  }

  .operator-card-title {
    font-size: 0.9rem !important;
  }

  .operator-card-tagline {
    font-size: 0.75rem !important;
  }

  .operator-badge {
    padding: 0.3rem 0.6rem !important;
    font-size: 0.7rem !important;
  }

  /* Ultra Small Margin/Padding Helpers */
  .mb-1 { margin-bottom: 0.4rem !important; }
  .mb-2 { margin-bottom: 0.8rem !important; }
  .mb-3 { margin-bottom: 1.2rem !important; }
  .mt-1 { margin-top: 0.4rem !important; }
  .mt-2 { margin-top: 0.8rem !important; }
  .mt-3 { margin-top: 1.2rem !important; }
  .px-1 { padding-left: 0.4rem !important; padding-right: 0.4rem !important; }
  .px-2 { padding-left: 0.8rem !important; padding-right: 0.8rem !important; }
  .py-1 { padding-top: 0.4rem !important; padding-bottom: 0.4rem !important; }
  .py-2 { padding-top: 0.8rem !important; padding-bottom: 0.8rem !important; }

  /* Ultra Small Notification Badge */
  .cart-count,
  .notification-badge {
    font-size: 0.65rem !important;
    padding: 0.2rem 0.35rem !important;
  }

  /* Ultra Small Link */
  a {
    word-break: break-word !important;
  }

  /* Ultra Small List */
  ul, ol {
    padding-left: 1.2rem !important;
  }

  li {
    margin-bottom: 0.4rem !important;
  }

  /* Ultra Small Safe Area */
  body {
    padding-left: max(0.42rem, env(safe-area-inset-left)) !important;
    padding-right: max(0.42rem, env(safe-area-inset-right)) !important;
  }
}

@media (max-width: 600px) {
  .giftcard-purchase-panel,
  .auth-section .auth-card,
  .checkout-layout .checkout-form-card,
  .checkout-layout .checkout-summary-card,
  .esim-details-layout > .glass-card,
  .dashboard-hero-card,
  .dashboard-orders-card,
  .dashboard-info-card,
  .dashboard-support-card {
    width: 94vw !important;
    max-width: 94vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  .checkout-layout,
  .esim-details-layout {
    width: 94vw !important;
    max-width: 94vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .dashboard-orders-card .dashboard-order-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
  }

  .auth-section .auth-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 640px) {
  /* The physical details page is a normal document, not a viewport modal. */
  body:has(.sim-details-page) {
    overflow-x: hidden;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .sim-details-page,
  .sim-details-page .sim-modal-panel,
  .sim-details-page .sim-modal-grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  body:has(.sim-details-page) > .site-header,
  body:has(.sim-details-page) > main {
    width: 100% !important;
    max-width: 100% !important;
  }

  .sim-details-page {
    width: calc(100% - 1rem) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .sim-details-page .sim-modal-grid {
    overflow: hidden !important;
  }

  .sim-details-page .sim-price-row {
    display: flex !important;
    align-items: baseline !important;
    gap: 0.55rem !important;
    margin: 0.8rem 0 1rem !important;
    min-width: 0 !important;
  }

  .sim-details-page .sim-price-row .old-price {
    font-size: 0.95rem !important;
    white-space: nowrap !important;
  }

  .sim-details-page .sim-price-row .new-price {
    font-size: 1.65rem !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  .sim-details-page .sim-summary-row {
    align-items: flex-start !important;
    gap: 0.6rem !important;
    min-width: 0 !important;
  }

  .sim-details-page .sim-summary-row > span:first-child {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  .sim-details-page .sim-summary-row > strong {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    font-size: 1rem !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
  }

  .sim-details-page .sim-summary-row.total-row > strong {
    font-size: 1.25rem !important;
  }
}

@media (max-width: 640px) {
  body:has(#giftcard-catalog) {
    overflow-x: hidden;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body:has(#giftcard-catalog) > .site-header,
  body:has(#giftcard-catalog) > main,
  body:has(#giftcard-catalog) .giftcard-page-section > .container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body:has(#giftcard-catalog) .giftcard-page-section > .container {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  .giftcard-grid {
    position: static !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.45rem !important;
    box-sizing: border-box !important;
  }

  .giftcard-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.35rem !important;
  }

  .giftcard-card .giftcard-image-wrap {
    height: 76px !important;
    min-height: 76px !important;
  }

  .giftcard-card .giftcard-body h3 {
    font-size: 0.66rem !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 640px) {
  body:has(#cart-page) {
    overflow-x: hidden;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body:has(#cart-page) > .site-header,
  body:has(#cart-page) > main,
  body:has(#cart-page) .cart-page {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body:has(#cart-page) .cart-page {
    position: static !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0 auto !important;
    padding: 0 0.5rem !important;
    grid-template-columns: 1fr !important;
  }

  body:has(#cart-page) .cart-panel,
  body:has(#cart-page) .cart-summary {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body:has(#cart-page) .cart-item,
  body:has(#cart-page) .cart-item__details,
  body:has(#cart-page) .cart-item__details-row,
  body:has(#cart-page) #cart-coupon-entry {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body:has(#cart-page) .cart-item__title,
  body:has(#cart-page) .cart-item__meta,
  body:has(#cart-page) .cart-item__price {
    overflow-wrap: anywhere !important;
    min-width: 0 !important;
  }
}
