/* My SMS Center — Design System (slate + teal SaaS / telecom marketplace)
   Scoped to body.theme-mysmscenter only. Does not affect other sites. */

body.theme-mysmscenter {
  /* Brand — teal/cyan (less pure blue) */
  --primary-50: #F0FDFA;
  --primary-100: #CCFBF1;
  --primary-200: #99F6E4;
  --primary-300: #5EEAD4;
  --primary-400: #2DD4BF;
  --primary-500: #14B8A6;
  --primary-600: #0D9488;
  --primary-700: #0F766E;
  --primary-800: #115E59;
  --primary-900: #134E4A;
  --primary: #0D9488;
  --primary-hover: #0F766E;
  --accent-warm: #EA580C;
  --accent-warm-bg: #FFF7ED;

  /* Dark */
  --dark-950: #080D19;
  --dark-900: #0B1220;
  --dark-850: #101827;
  --dark-800: #151F31;
  --dark-700: #1E293B;
  --dark-600: #334155;
  --background-dark: #080D19;
  --card-dark: #101827;

  /* Light */
  --background: #F8FAFC;
  --background-secondary: #F1F5F9;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  --border-hover: #CBD5E1;

  /* Text */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-dark-primary: #F8FAFC;
  --text-dark-secondary: #CBD5E1;
  --text-dark-muted: #94A3B8;

  /* Semantic */
  --success: #16A34A;
  --success-bg: #DCFCE7;
  --warning: #F59E0B;
  --warning-bg: #FEF3C7;
  --danger: #DC2626;
  --danger-bg: #FEE2E2;
  --info: #0EA5E9;
  --info-bg: #E0F2FE;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Space */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Map legacy tokens used by app.css */
  --paper: var(--background);
  --paper-2: var(--background-secondary);
  --ink: var(--text-primary);
  --muted: var(--text-secondary);
  --line: var(--border);
  --teal: var(--primary);
  --teal-2: var(--primary-hover);
  --teal-deep: var(--primary-800);
  --white: var(--surface);
  --radius: var(--radius-lg);
  --font: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --transition: 180ms ease;

  --z-sticky: 200;
  --z-header: 300;

  font-family: var(--font);
  color: var(--text-primary);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.store.theme-mysmscenter {
  background: var(--background);
  font-family: var(--font);
  color: var(--text-primary);
}

body.theme-mysmscenter :focus-visible {
  outline: 3px solid rgba(13, 148, 136, 0.28);
  outline-offset: 2px;
}

/* ---- Typography ---- */
body.theme-mysmscenter h1,
body.theme-mysmscenter h2,
body.theme-mysmscenter h3 {
  font-family: var(--display);
  color: var(--text-primary);
  letter-spacing: -0.03em;
  font-weight: 700;
  line-height: 1.1;
}

body.theme-mysmscenter h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

body.theme-mysmscenter .msc-ds-hero h1,
body.theme-mysmscenter .msc-ds-hero h2,
body.theme-mysmscenter .msc-final-cta h2 {
  color: #fff;
}

body.theme-mysmscenter h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
}

body.theme-mysmscenter h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 650;
}

body.theme-mysmscenter .lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

body.theme-mysmscenter .kicker {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.theme-mysmscenter .wrap {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

@media (max-width: 768px) {
  body.theme-mysmscenter .wrap {
    width: calc(100% - 32px);
  }
}

body.theme-mysmscenter .section {
  padding-block: 96px;
}

@media (max-width: 1023px) {
  body.theme-mysmscenter .section {
    padding-block: 72px;
  }
}

@media (max-width: 639px) {
  body.theme-mysmscenter .section {
    padding-block: 56px;
  }
}

body.theme-mysmscenter .section-head {
  margin-bottom: var(--space-8);
}

body.theme-mysmscenter .section-head p.muted,
body.theme-mysmscenter .muted {
  color: var(--text-muted);
}

/* ---- Buttons ---- */
body.theme-mysmscenter .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transform: none;
}

body.theme-mysmscenter .btn:hover {
  transform: none;
}

body.theme-mysmscenter .btn-teal,
body.theme-mysmscenter .btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

body.theme-mysmscenter .btn-teal:hover,
body.theme-mysmscenter .btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
}

body.theme-mysmscenter .btn-lg {
  min-height: 56px;
  padding-inline: 24px;
}

body.theme-mysmscenter .btn-ghost,
body.theme-mysmscenter .btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

body.theme-mysmscenter .btn-ghost:hover,
body.theme-mysmscenter .btn-secondary:hover {
  border-color: var(--border-hover);
  background: var(--surface);
  color: var(--text-primary);
}

body.theme-mysmscenter .btn-outline-light {
  background: transparent;
  color: var(--text-dark-primary);
  border: 1px solid rgba(248, 250, 252, 0.28);
}

body.theme-mysmscenter .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(248, 250, 252, 0.45);
}

/* ---- Navbar ---- */
body.store.theme-mysmscenter .site-bar.msc-bar {
  height: 72px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  z-index: var(--z-header);
}

body.theme-mysmscenter .msc-nav {
  height: 72px;
  align-items: center;
}

body.theme-mysmscenter .msc-nav .brand {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  gap: 10px;
}

body.theme-mysmscenter .mark,
body.theme-mysmscenter .mark-mysmscenter {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0D9488 0%, #0F766E 55%, #134E4A 100%);
  position: relative;
  box-shadow: none;
}

body.theme-mysmscenter .mark::after,
body.theme-mysmscenter .mark-mysmscenter::after {
  content: "";
  position: absolute;
  inset: auto;
  left: 8px;
  right: 8px;
  top: 10px;
  height: 2px;
  border: none;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 5px 0 #fff, 0 10px 0 rgba(255, 255, 255, 0.5);
  width: auto;
}

body.theme-mysmscenter .msc-nav .nav-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

body.theme-mysmscenter .msc-nav .nav-links a:hover {
  color: var(--primary);
}

body.theme-mysmscenter .nav-toggle-bar {
  background: var(--text-primary);
}

/* ---- Hero (dark) ---- */
.msc-ds-hero {
  background:
    radial-gradient(circle at 18% 22%, rgba(13, 148, 136, 0.22), transparent 42%),
    radial-gradient(circle at 82% 28%, rgba(234, 88, 12, 0.12), transparent 38%),
    var(--background-dark);
  color: var(--text-dark-primary);
  min-height: 680px;
  display: flex;
  align-items: center;
  padding: 48px 0 64px;
}

.msc-ds-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.msc-ds-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(13, 148, 136, 0.18);
  color: #5EEAD4;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.msc-ds-hero h1 {
  margin: 0 0 18px;
}

.msc-ds-hero .lead {
  color: var(--text-dark-secondary);
  max-width: 34rem;
  margin: 0 0 28px;
}

.msc-ds-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.msc-ds-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--text-dark-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.msc-ds-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.msc-ds-trust li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--success) center / 10px no-repeat;
  box-shadow: inset 0 0 0 8px var(--success);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M2.5 6.5 5 9l4.5-5'/%3E%3C/svg%3E");
  flex-shrink: 0;
}

.msc-ds-visual {
  position: relative;
  min-height: 420px;
  height: 420px;
  overflow: hidden;
}

.msc-ds-orb {
  position: absolute;
  inset: 10% 8% auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.35), transparent 70%);
  filter: blur(8px);
}

.msc-float-card {
  position: absolute;
  background: var(--card-dark);
  border: 1px solid rgba(226, 232, 240, 0.12);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: 0 25px 70px rgba(13, 148, 136, 0.14);
  width: min(280px, 88%);
  height: auto;
  display: block;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
}

.msc-float-card.main {
  top: 14%;
  left: 6%;
  width: min(320px, 92%);
  z-index: 2;
}

/* Do not use class name "side" — conflicts with admin .side { height:100vh }. */
.msc-float-card.secondary {
  bottom: 10%;
  right: 4%;
  width: min(220px, 78%);
  z-index: 1;
  height: auto;
  position: absolute;
  display: block;
}

.msc-float-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.8rem;
  color: var(--text-dark-muted);
  font-weight: 600;
}

.msc-float-card .e164 {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: #fff;
  margin-bottom: 10px;
}

.msc-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.msc-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
}

.msc-chip.ok {
  background: var(--success-bg);
  color: #15803D;
}

.msc-chip.info {
  background: var(--primary-100);
  color: var(--primary-700);
}

.msc-chip.warn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dark-secondary);
}

/* ---- Search finder ---- */
.msc-finder {
  margin-top: -36px;
  position: relative;
  z-index: 2;
}

.msc-finder-box {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  min-height: 64px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.msc-finder-box label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark-600);
  margin-bottom: 6px;
}

.msc-finder-box select,
.msc-finder-box input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--border-hover);
  border-radius: 10px;
  padding: 0 14px;
  background: #fff;
  color: var(--text-primary);
}

.msc-finder-box select:focus,
.msc-finder-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
  outline: none;
}

.msc-finder-box .btn {
  min-height: 48px;
  white-space: nowrap;
}

/* ---- Country cards ---- */
.msc-country-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.msc-country-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 148px;
}

.msc-country-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-300);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.msc-country-card .flag {
  font-size: 1.6rem;
  line-height: 1;
}

.msc-country-card strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.msc-country-card .dial {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.msc-country-card .stock {
  color: var(--text-secondary);
  font-size: 0.86rem;
  margin-top: auto;
}

/* ---- Number cards ---- */
.msc-number-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.msc-number-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.msc-number-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-300);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.msc-number-card .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.msc-number-card .e164 {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}

.msc-number-card .price {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.msc-number-card .price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.msc-number-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---- Steps ---- */
.msc-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.msc-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
}

.msc-step-n {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-50);
  color: var(--primary-700);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.msc-step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.msc-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---- Bento features ---- */
.msc-bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.msc-bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.msc-bento-card.dark {
  background: var(--dark-900);
  color: #fff;
  border-color: transparent;
  grid-row: span 2;
}

.msc-bento-card.dark h3 {
  color: #fff;
}

.msc-bento-card.dark p {
  color: var(--text-dark-secondary);
}

.msc-bento-card h3 {
  margin-bottom: 10px;
}

.msc-bento-card p {
  margin: 0;
  color: var(--text-muted);
}

/* ---- Pricing (home strip) ---- */
body.theme-mysmscenter .plan-card,
body.theme-mysmscenter .panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

body.theme-mysmscenter .plan-card:hover,
body.theme-mysmscenter .country-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-300);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

body.theme-mysmscenter .country-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: none;
}

/* ---- Testimonials ---- */
.msc-quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.msc-quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.msc-quote p {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.55;
}

.msc-quote strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.92rem;
}

.msc-quote span {
  color: var(--text-muted);
  font-size: 0.84rem;
}

/* ---- FAQ ---- */
.msc-faq {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  overflow: hidden;
}

.msc-faq details {
  border-bottom: 1px solid var(--border);
}

.msc-faq details:last-child {
  border-bottom: none;
}

.msc-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 650;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  align-items: center;
}

.msc-faq summary::-webkit-details-marker {
  display: none;
}

.msc-faq summary::after {
  content: "+";
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 500;
}

.msc-faq details[open] summary::after {
  content: "–";
}

.msc-faq details p {
  margin: 0;
  padding: 0 24px 20px;
  color: var(--text-muted);
}

/* ---- Final CTA ---- */
.msc-final-cta {
  background:
    linear-gradient(135deg, rgba(13, 148, 136, 0.28), rgba(234, 88, 12, 0.12)),
    var(--background-dark);
  border-radius: var(--radius-2xl);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
}

.msc-final-cta h2 {
  color: #fff;
  margin-bottom: 12px;
}

.msc-final-cta p {
  color: var(--text-dark-secondary);
  max-width: 32rem;
  margin: 0 auto 28px;
}

/* ---- Footer ---- */
body.theme-mysmscenter .msc-footer {
  background: var(--background-dark);
  color: var(--text-dark-secondary);
  margin-top: 0;
  padding: 64px 0 32px;
  border-top: none;
}

.msc-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.1);
}

.msc-footer-grid strong {
  display: block;
  color: #fff;
  margin-bottom: 14px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.msc-footer-grid a {
  display: block;
  color: var(--text-dark-muted);
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 10px;
  font-weight: 500;
}

.msc-footer-grid a:hover {
  color: #fff;
}

.msc-footer-brand p {
  color: var(--text-dark-muted);
  margin: 8px 0 0;
  max-width: 16rem;
  font-size: 0.92rem;
}

.msc-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.86rem;
  color: var(--text-dark-muted);
}

body.theme-mysmscenter .footer-rating-score strong {
  display: inline;
  color: #fff;
}

body.theme-mysmscenter .rating-star.on {
  color: #F59E0B;
}

/* ---- Shared storefront polish on MSC ---- */
body.theme-mysmscenter .hero {
  padding-top: 48px;
}

body.theme-mysmscenter .sim-hero {
  background: var(--card-dark);
  border-radius: var(--radius-xl);
}

body.theme-mysmscenter .trust span {
  border-radius: var(--radius-full);
  border-color: var(--border);
  background: var(--surface);
}

body.theme-mysmscenter .cta-band {
  background: var(--background-dark);
  border-radius: var(--radius-2xl);
  color: #fff;
}

body.theme-mysmscenter .cta-band h2 {
  color: #fff;
}

body.theme-mysmscenter input,
body.theme-mysmscenter select,
body.theme-mysmscenter textarea {
  border-radius: 10px;
  border-color: var(--border-hover);
  min-height: 48px;
}

body.theme-mysmscenter input:focus,
body.theme-mysmscenter select:focus,
body.theme-mysmscenter textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

/* ---- Responsive ---- */
@media (max-width: 1023px) {
  .msc-ds-hero {
    min-height: 0;
    padding: 40px 0 56px;
  }
  .msc-ds-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .msc-ds-visual {
    min-height: 340px;
    order: -1;
  }
  .msc-finder-box {
    grid-template-columns: 1fr 1fr;
  }
  .msc-country-grid,
  .msc-number-grid,
  .msc-quote-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .msc-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .msc-bento {
    grid-template-columns: 1fr;
  }
  .msc-bento-card.dark {
    grid-row: auto;
  }
  .msc-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 639px) {
  .msc-finder-box {
    grid-template-columns: 1fr;
  }
  .msc-country-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .msc-number-grid,
  .msc-quote-grid,
  .msc-steps {
    grid-template-columns: 1fr;
  }
  .msc-final-cta {
    padding: 40px 24px;
    border-radius: var(--radius-xl);
  }
  .msc-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .msc-float-card.secondary {
    display: none;
  }
  .msc-ds-visual {
    height: 300px;
    min-height: 300px;
  }
}

/* ---- Plan term slider (pricing tabs) ---- */
body.theme-mysmscenter .term-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  background: var(--background-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 24px;
}

body.theme-mysmscenter .term-badges .badge {
  margin: 0;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  border-radius: 10px;
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
}

body.theme-mysmscenter .term-badges .badge.on {
  background: var(--surface);
  color: var(--primary-700);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

body.theme-mysmscenter .plan-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

body.theme-mysmscenter .plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

@media (max-width: 900px) {
  body.theme-mysmscenter .plan-group {
    grid-template-columns: 1fr;
  }
  body.theme-mysmscenter .term-badges {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  body.theme-mysmscenter .term-badges .badge {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

/* =========================================================
   Inner pages: listing / checkout / account / content
   ========================================================= */

body.theme-mysmscenter .section {
  padding-block: 56px;
}

body.theme-mysmscenter .buy-head {
  padding-top: 40px;
  padding-bottom: 8px;
}

body.theme-mysmscenter .page-shell {
  padding-block: 40px 72px;
}

body.theme-mysmscenter .page-hero {
  margin-bottom: 28px;
}

body.theme-mysmscenter .page-hero .lead {
  max-width: 40rem;
}

body.theme-mysmscenter .msc-listing-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

body.theme-mysmscenter .msc-filters {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: sticky;
  top: 88px;
}

body.theme-mysmscenter .msc-filters h2 {
  font-size: 0.95rem;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

body.theme-mysmscenter .msc-filters .field {
  margin-bottom: 14px;
}

body.theme-mysmscenter .msc-filters label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark-600);
}

body.theme-mysmscenter .msc-filters input,
body.theme-mysmscenter .msc-filters select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--border-hover);
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
}

body.theme-mysmscenter .msc-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

body.theme-mysmscenter .msc-toolbar .muted {
  font-size: 0.9rem;
}

body.theme-mysmscenter .search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin: 20px 0 28px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

body.theme-mysmscenter .search input {
  height: 48px;
  border: 1px solid var(--border-hover);
  border-radius: 10px;
  padding: 0 14px;
  background: #fff;
}

body.theme-mysmscenter .grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

body.theme-mysmscenter .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

body.theme-mysmscenter .grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

body.theme-mysmscenter .country-card,
body.theme-mysmscenter .number-card,
body.theme-mysmscenter .line-card,
body.theme-mysmscenter .panel,
body.theme-mysmscenter .split-card,
body.theme-mysmscenter .login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

body.theme-mysmscenter .country-card {
  padding: 22px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

body.theme-mysmscenter .country-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-300);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  color: inherit;
}

body.theme-mysmscenter .country-card .go {
  color: var(--primary-700);
  font-weight: 700;
  font-size: 0.86rem;
  margin-top: 12px;
}

body.theme-mysmscenter .number-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body.theme-mysmscenter .number-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-300);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

body.theme-mysmscenter .number-card .msisdn,
body.theme-mysmscenter .msisdn {
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}

body.theme-mysmscenter .checkout-path {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 24px;
  padding: 6px;
  background: var(--background-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: fit-content;
  max-width: 100%;
}

body.theme-mysmscenter .checkout-path li {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
}

body.theme-mysmscenter .checkout-path li.on {
  background: var(--surface);
  color: var(--primary-800);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

body.theme-mysmscenter .checkout-path li.done {
  color: var(--text-secondary);
}

body.theme-mysmscenter .plan-recap,
body.theme-mysmscenter .order-summary {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
  margin-bottom: 24px;
}

body.theme-mysmscenter .order-summary .sum-total {
  text-align: right;
}

body.theme-mysmscenter .order-summary .sum-total .price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

body.theme-mysmscenter .msc-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: start;
}

body.theme-mysmscenter .msc-summary-sticky {
  position: sticky;
  top: 88px;
}

body.theme-mysmscenter .msc-summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

body.theme-mysmscenter .msc-summary-card .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

body.theme-mysmscenter .msc-summary-card .row:last-of-type {
  border-bottom: none;
}

body.theme-mysmscenter .msc-summary-card .total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

body.theme-mysmscenter .msc-summary-card .total strong {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

body.theme-mysmscenter .msc-trust-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

body.theme-mysmscenter .msc-trust-inline span {
  background: var(--primary-50);
  color: var(--primary-800);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

body.theme-mysmscenter .pay-trust-bar {
  background: var(--background-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
}

body.theme-mysmscenter .pay-form-secure,
body.theme-mysmscenter .pay-checkout .panel {
  border-radius: var(--radius-xl);
  border-color: var(--border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

body.theme-mysmscenter .pay-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

body.theme-mysmscenter .pay-submit {
  background: var(--primary);
  border-radius: 10px;
  min-height: 52px;
}

body.theme-mysmscenter .pay-submit:hover {
  background: var(--primary-hover);
}

body.theme-mysmscenter .flash {
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 12px 14px;
}

body.theme-mysmscenter .flash-error {
  background: var(--danger-bg);
  color: var(--danger);
  border-color: #FECACA;
}

body.theme-mysmscenter .flash-ok {
  background: var(--success-bg);
  color: #15803D;
  border-color: #BBF7D0;
}

body.theme-mysmscenter .field label,
body.theme-mysmscenter .pay-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--dark-600);
}

body.theme-mysmscenter .field input,
body.theme-mysmscenter .field textarea,
body.theme-mysmscenter .field select,
body.theme-mysmscenter .pay-input {
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--border-hover);
}

body.theme-mysmscenter .login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

body.theme-mysmscenter .login-card {
  padding: 32px;
  border-radius: var(--radius-xl);
}

body.theme-mysmscenter .login-access {
  background: var(--dark-900);
  color: var(--text-dark-primary);
  border-color: transparent;
}

body.theme-mysmscenter .login-access h2,
body.theme-mysmscenter .login-access .kicker {
  color: #fff;
}

body.theme-mysmscenter .login-access .kicker {
  color: var(--primary-300);
}

body.theme-mysmscenter .login-access .muted,
body.theme-mysmscenter .login-access .access-list p {
  color: var(--text-dark-muted);
}

body.theme-mysmscenter .login-preview {
  background: var(--card-dark);
  border: 1px solid rgba(226, 232, 240, 0.1);
  border-radius: var(--radius-lg);
  color: #fff;
}

body.theme-mysmscenter .access-n {
  background: rgba(13, 148, 136, 0.2);
  color: #5EEAD4;
}

body.theme-mysmscenter .line-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
}

body.theme-mysmscenter .line-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.theme-mysmscenter .cta-band {
  background:
    linear-gradient(135deg, rgba(13, 148, 136, 0.22), rgba(234, 88, 12, 0.1)),
    var(--background-dark);
  border-radius: var(--radius-2xl);
  padding: 40px;
  color: #fff;
}

body.theme-mysmscenter .cta-band h2,
body.theme-mysmscenter .cta-band .kicker {
  color: #fff;
}

body.theme-mysmscenter .cta-band p {
  color: var(--text-dark-secondary);
}

body.theme-mysmscenter .cta-band .btn-teal {
  background: #fff;
  color: var(--primary-800);
}

body.theme-mysmscenter .cta-band .btn-teal:hover {
  background: var(--primary-50);
  color: var(--primary-900);
}

body.theme-mysmscenter .stock-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary-800);
  font-size: 0.84rem;
  font-weight: 600;
}

body.theme-mysmscenter .benefit,
body.theme-mysmscenter .steps .panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

body.theme-mysmscenter .step-n {
  background: var(--primary-50);
  color: var(--primary-800);
  border-radius: 10px;
}

body.theme-mysmscenter .rating-badge {
  border-radius: 12px;
  border-color: var(--border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

body.theme-mysmscenter .plan:has(input:checked) {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

body.theme-mysmscenter .plan .pick-mark {
  border-color: var(--border-hover);
}

body.theme-mysmscenter .plan:has(input:checked) .pick-mark {
  background: var(--primary);
  border-color: var(--primary);
}

body.theme-mysmscenter .msc-mobile-cta {
  display: none;
}

@media (max-width: 1023px) {
  body.theme-mysmscenter .msc-listing-layout,
  body.theme-mysmscenter .msc-checkout-grid,
  body.theme-mysmscenter .login-layout {
    grid-template-columns: 1fr;
  }
  body.theme-mysmscenter .msc-filters {
    position: static;
  }
  body.theme-mysmscenter .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  body.theme-mysmscenter .plan-recap,
  body.theme-mysmscenter .order-summary {
    grid-template-columns: 1fr;
  }
  body.theme-mysmscenter .order-summary .sum-total {
    text-align: left;
  }
}

@media (max-width: 639px) {
  body.theme-mysmscenter .grid-4,
  body.theme-mysmscenter .grid-3,
  body.theme-mysmscenter .grid-2 {
    grid-template-columns: 1fr;
  }
  body.theme-mysmscenter .number-card,
  body.theme-mysmscenter .line-card {
    flex-direction: column;
    align-items: flex-start;
  }
  body.theme-mysmscenter .number-card .btn,
  body.theme-mysmscenter .line-actions {
    width: 100%;
  }
  body.theme-mysmscenter .number-card .btn {
    width: 100%;
  }
  body.theme-mysmscenter .msc-mobile-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
  }
  body.theme-mysmscenter .msc-mobile-cta .price {
    font-weight: 700;
    font-size: 1.1rem;
  }
  body.theme-mysmscenter.checkout-pay-open {
    padding-bottom: 84px;
  }
}
