/* SIMCARD Shop UI */
:root {
  --primary: #005bff;
  --primary-2: #007bff;
  --soft-blue: #eaf3ff;
  --bg: #f7fbff;
  --bg-gradient: linear-gradient(135deg, #eaf8ff 0%, #f3e8ff 100%);
  --card: #ffffff;
  --text: #07122f;
  --muted: #64748b;
  --border: #e5eaf2;
  --success: #22c55e;
  --danger: #ef4444;
  --shadow: 0 18px 50px rgba(0, 49, 140, 0.10);
  --soft-shadow: 0 10px 24px rgba(0, 91, 255, 0.14);
  --radius: 20px;
  --radius-sm: 14px;
}

[data-theme="dark"] {
  --primary: #3b82f6;
  --primary-2: #60a5fa;
  --soft-blue: #10203d;
  --bg: #07111f;
  --bg-gradient: linear-gradient(135deg, #081827 0%, #1c1230 100%);
  --card: #0f1b2f;
  --text: #f8fafc;
  --muted: #a8b3c7;
  --border: #24334d;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  --soft-shadow: 0 10px 24px rgba(59, 130, 246, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-gradient);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  width: min(1420px, calc(100% - 32px));
  margin: 18px auto;
  min-height: calc(100vh - 36px);
  background:
    radial-gradient(circle at 15% 95%, rgba(125, 211, 252, .28), transparent 22%),
    radial-gradient(circle at 82% 96%, rgba(216, 180, 254, .30), transparent 25%),
    var(--card);
  border: 1px solid rgba(226, 232, 240, 0.75);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.site-header {
  height: 84px;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

[data-theme="dark"] .site-header {
  background: rgba(15, 27, 47, .8);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand img {
  width: 34px;
  height: 34px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}

.nav-link {
  color: var(--text);
  opacity: .78;
  padding: 32px 0;
  border-bottom: 3px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  opacity: 1;
  border-color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  display: grid;
  place-items: center;
  position: relative;
}

.icon-button:hover,
.theme-toggle:hover {
  border-color: var(--primary);
  box-shadow: var(--soft-shadow);
}

.cart-badge {
  position: absolute;
  top: -7px;
  right: -5px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  line-height: 19px;
  font-weight: 700;
}

.theme-toggle {
  width: 42px;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(135deg, #fff, #eef5ff);
}

[data-theme="dark"] .theme-toggle {
  background: linear-gradient(135deg, #15243d, #0b1425);
}

.theme-toggle span {
  font-size: 15px;
}

.mobile-menu {
  display: none;
}

main {
  padding: 34px;
}

.hero {
  min-height: 220px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 52px 74px;
  background:
    radial-gradient(circle at 52% 30%, rgba(255,255,255,.72), transparent 10%),
    radial-gradient(circle at 92% 45%, rgba(255,255,255,.55), transparent 12%),
    linear-gradient(135deg, rgba(207, 250, 254, .92), rgba(221, 214, 254, .92));
  display: grid;
  grid-template-columns: 1fr 430px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

[data-theme="dark"] .hero {
  background:
    radial-gradient(circle at 52% 30%, rgba(255,255,255,.12), transparent 10%),
    linear-gradient(135deg, rgba(14, 116, 144, .45), rgba(88, 28, 135, .42));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -18% 40%;
  height: 190px;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.36) 0 2px, transparent 2px 8px);
  border-radius: 50%;
  transform: rotate(-10deg);
  opacity: .5;
}

.eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 12px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.hero p {
  margin: 0;
  font-size: 18px;
  color: #1e2d50;
  max-width: 560px;
}

[data-theme="dark"] .hero p {
  color: #dbeafe;
}

.hero-visual {
  height: 170px;
  position: relative;
  z-index: 1;
}

.sim-card {
  position: absolute;
  border-radius: 22px;
  box-shadow: 0 24px 36px rgba(0, 91, 255, .22);
  transform: rotate(14deg);
}

.physical {
  left: 55px;
  top: 28px;
  width: 112px;
  height: 142px;
  background: linear-gradient(160deg, #fff, #eef4ff);
  display: grid;
  place-items: center;
}

.chip {
  width: 52px;
  height: 62px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, transparent 31%, rgba(97, 59, 0,.35) 32% 34%, transparent 35% 65%, rgba(97, 59, 0,.35) 66% 68%, transparent 69%),
    linear-gradient(0deg, transparent 31%, rgba(97, 59, 0,.35) 32% 34%, transparent 35% 65%, rgba(97, 59, 0,.35) 66% 68%, transparent 69%),
    #f7c948;
  border: 2px solid #d79500;
}

.esim {
  right: 50px;
  top: 18px;
  width: 174px;
  height: 144px;
  background: linear-gradient(145deg, #3aa8ff, #005bff);
  color: #fff;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.esim strong {
  font-size: 24px;
  letter-spacing: .02em;
}

.esim small {
  width: fit-content;
  align-self: flex-end;
  border: 1.4px solid rgba(255,255,255,.85);
  border-radius: 8px;
  padding: 5px 7px;
}

.shop-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 295px minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.filter-panel,
.product-panel,
.summary-card,
.checkout-form,
.success-card {
  background: rgba(255,255,255,.76);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .04);
}

[data-theme="dark"] .filter-panel,
[data-theme="dark"] .product-panel,
[data-theme="dark"] .summary-card,
[data-theme="dark"] .checkout-form,
[data-theme="dark"] .success-card {
  background: rgba(15, 27, 47, .84);
}

.filter-panel,
.product-panel,
.summary-card {
  padding: 24px;
}

.filter-panel h2,
.product-panel h2,
.summary-card h2,
.checkout-form h2 {
  font-size: 18px;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.choice-stack {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.type-choice,
.duration-choice,
.product-card {
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: .18s ease;
}

.type-choice:hover,
.duration-choice:hover,
.product-card:hover {
  border-color: var(--primary);
  box-shadow: var(--soft-shadow);
  transform: translateY(-1px);
}

.type-choice {
  width: 100%;
  min-height: 72px;
  padding: 14px;
  display: grid;
  grid-template-columns: 44px 1fr 22px;
  align-items: center;
  text-align: left;
}

.type-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  color: var(--primary);
  background: var(--soft-blue);
  font-size: 18px;
}

.type-choice strong {
  display: block;
  font-size: 15px;
}

.type-choice small {
  color: var(--muted);
  font-weight: 600;
}

.check-mark {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: transparent;
  background: transparent;
}

.type-choice.active,
.duration-choice.active,
.product-card.active {
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 18px 30px rgba(0, 91, 255, .26);
}

.type-choice.active small,
.product-card.active small,
.product-card.active .price {
  color: rgba(255,255,255,.92);
}

.type-choice.active .type-icon {
  background: rgba(255,255,255,.18);
  color: #fff;
  border-color: rgba(255,255,255,.3);
}

.active .check-mark {
  color: var(--primary);
  background: #fff;
}

.duration-list {
  display: grid;
  gap: 9px;
  margin-bottom: 26px;
}

.duration-choice {
  width: 100%;
  min-height: 42px;
  font-weight: 700;
}

.info-box {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
  background: var(--soft-blue);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 13px;
}

.info-box p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.section-title p {
  margin: -8px 0 0;
  color: var(--muted);
}

.network-pill,
.notice b {
  background: #dbeafe;
  color: var(--primary);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  min-height: 144px;
  padding: 22px 18px;
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
}

.wifi {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--primary);
  font-weight: 900;
}

.product-card.active .wifi {
  color: #fff;
}

.product-card strong {
  font-size: 26px;
  letter-spacing: -0.04em;
}

.product-card small {
  color: var(--muted);
  font-weight: 700;
}

.product-card .price {
  margin-top: 12px;
  color: var(--text);
  font-weight: 700;
}

.product-card .check-mark {
  position: absolute;
  top: 12px;
  right: 12px;
}

.notice {
  margin-top: 22px;
  min-height: 54px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: var(--soft-blue);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.notice b {
  margin-left: auto;
}

.summary-card {
  position: sticky;
  top: 104px;
}

.summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.link-button {
  border: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 800;
}

.summary-lines {
  display: grid;
  gap: 18px;
  margin: 24px 0;
}

.summary-lines div,
.summary-price {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.summary-lines span,
.summary-price span {
  color: var(--muted);
  font-weight: 600;
}

.summary-card hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 18px 0;
}

.summary-price {
  margin-bottom: 22px;
}

.summary-price strong {
  color: var(--primary);
  font-size: 30px;
  letter-spacing: -0.05em;
}

.primary-button,
.secondary-button {
  min-height: 54px;
  border-radius: 12px;
  padding: 0 18px;
  font-weight: 800;
  display: grid;
  place-items: center;
  text-align: center;
  width: 100%;
}

.primary-button {
  border: 0;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  color: #fff;
  box-shadow: var(--soft-shadow);
}

.primary-button:hover {
  transform: translateY(-1px);
}

.secondary-button {
  margin-top: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
}

.benefits {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.benefits li::first-letter {
  color: var(--success);
}

.steps-section {
  margin-top: 28px;
  padding: 30px 0 0;
}

.steps-section h2 {
  margin: 0 0 16px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.steps-grid article {
  background: rgba(255,255,255,.74);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

[data-theme="dark"] .steps-grid article {
  background: rgba(15, 27, 47, .8);
}

.steps-grid span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}

.steps-grid h3 {
  margin: 16px 0 8px;
}

.steps-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  margin: 10px 34px 34px;
  padding: 34px 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 34px;
}

.site-footer p {
  color: var(--muted);
  max-width: 310px;
}

.site-footer h4 {
  margin: 0 0 14px;
}

.site-footer a:not(.brand) {
  display: block;
  color: var(--muted);
  margin: 10px 0;
  font-weight: 600;
}

.footer-brand {
  font-size: 22px;
}

.mobile-tabs,
.mobile-duration-scroll {
  display: none;
}

.state-card {
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  color: var(--muted);
  background: var(--soft-blue);
  margin-bottom: 16px;
}

.state-card.error {
  color: #991b1b;
  background: #fee2e2;
  border-color: #fecaca;
}

.hidden {
  display: none !important;
}

.whatsapp-float {
  position: fixed;
  right: 32px;
  bottom: 32px;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366, #12b554);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 38px rgba(18, 181, 84, .34);
  z-index: 40;
  border: 5px solid rgba(255,255,255,.85);
}

.whatsapp-float svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.whatsapp-float i {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #ef4444;
  border-radius: 999px;
  top: 4px;
  right: 4px;
  border: 2px solid #fff;
}

.bottom-nav {
  display: none;
}

/* Checkout */
.checkout-shell {
  width: min(1120px, calc(100% - 32px));
}

.checkout-hero {
  max-width: 760px;
  margin-bottom: 24px;
}

.back-link {
  color: var(--primary);
  font-weight: 800;
}

.checkout-hero h1 {
  margin: 18px 0 10px;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.06em;
}

.checkout-hero p {
  color: var(--muted);
  line-height: 1.7;
}

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

.checkout-form {
  padding: 26px;
  display: grid;
  gap: 16px;
}

.checkout-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1.4px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  padding: 14px 16px;
  outline: none;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 91, 255, .12);
}

.field-error {
  min-height: 18px;
  color: var(--danger);
  font-weight: 700;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.checkout-summary {
  top: 104px;
}

.success-main {
  min-height: 640px;
  display: grid;
  place-items: center;
}

.success-card {
  width: min(560px, 100%);
  padding: 46px;
  text-align: center;
}

.success-icon {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #34d399, #16a34a);
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  margin: 0 auto 20px;
}

.success-card h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.06em;
}

.success-card p {
  color: var(--muted);
}

.order-id-box {
  margin: 26px 0;
  border: 1px solid var(--border);
  background: var(--soft-blue);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: grid;
  gap: 5px;
}

.order-id-box span {
  color: var(--muted);
  font-weight: 700;
}

.order-id-box strong {
  font-size: 24px;
  color: var(--primary);
}

.success-actions {
  display: grid;
  gap: 12px;
}

/* Responsive */
@media (max-width: 1120px) {
  .desktop-nav {
    gap: 18px;
  }

  .shop-grid {
    grid-template-columns: 250px 1fr;
  }

  .summary-card {
    grid-column: 1 / -1;
    position: static;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: 1fr 300px;
    padding: 42px;
  }
}

@media (max-width: 760px) {
  :root {
  }

  body {
    background: var(--bg);
  }

  .app-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border-radius: 0;
    border: 0;
  }

  .site-header {
    height: 70px;
    padding: 0 18px;
  }

  .brand {
    font-size: 18px;
  }

  .brand img {
    width: 28px;
    height: 28px;
  }

  .desktop-nav,
  .desktop-only {
    display: none;
  }

  .mobile-menu {
    display: grid;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
  }

  main {
    padding: 18px;
  }

  .hero {
    min-height: 138px;
    grid-template-columns: 1fr 160px;
    padding: 24px 20px;
    border-radius: 16px;
  }

  .eyebrow {
    display: none;
  }

  .hero h1 {
    font-size: 22px;
    line-height: 1.15;
  }

  .hero p {
    font-size: 14px;
  }

  .hero-visual {
    height: 110px;
  }

  .physical {
    left: 8px;
    top: 28px;
    width: 58px;
    height: 76px;
    border-radius: 14px;
  }

  .chip {
    width: 28px;
    height: 34px;
    border-radius: 7px;
  }

  .esim {
    right: 2px;
    top: 14px;
    width: 104px;
    height: 82px;
    border-radius: 14px;
    padding: 17px 12px;
  }

  .esim strong {
    font-size: 13px;
  }

  .esim small {
    font-size: 8px;
    padding: 3px 4px;
    border-radius: 5px;
  }

  .shop-grid {
    display: block;
    margin-top: 20px;
  }

  .filter-panel {
    display: none;
  }

  .product-panel {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .section-title {
    margin-top: 8px;
  }

  .section-title p,
  .network-pill {
    display: none;
  }

  .section-title h2 {
    font-size: 18px;
  }

  .mobile-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 18px;
  }

  .mobile-tabs .type-choice {
    min-height: 52px;
    grid-template-columns: 1fr;
    place-items: center;
    text-align: center;
    font-weight: 800;
  }

  .mobile-tabs .type-icon,
  .mobile-tabs small,
  .mobile-tabs .check-mark {
    display: none;
  }

  .mobile-duration-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 0 8px;
    margin-bottom: 12px;
  }

  .mobile-duration-scroll .duration-choice {
    min-width: 76px;
    padding: 0 12px;
  }

  .product-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 0 12px;
    scroll-snap-type: x mandatory;
  }

  .product-card {
    min-width: 112px;
    min-height: 120px;
    padding: 18px 12px;
    scroll-snap-align: start;
  }

  .product-card strong {
    font-size: 21px;
  }

  .product-card .price {
    font-size: 12px;
  }

  .notice {
    display: none;
  }

  .summary-card {
    margin-top: 18px;
    padding: 20px;
  }

  .summary-price strong {
    font-size: 24px;
  }

  .benefits {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    font-size: 13px;
    text-align: center;
  }

  .steps-section {
    display: none;
  }

  .site-footer {
    display: none;
  }


  .whatsapp-float {
    width: 58px;
    height: 58px;
    right: 16px;
    bottom: 24px;
  }

  .checkout-grid {
    display: block;
  }

  .checkout-form {
    padding: 20px;
  }

  .checkout-summary {
    margin-top: 18px;
  }

  .success-main {
    min-height: calc(100vh - 110px);
  }

  .success-card {
    padding: 28px 20px;
  }
}

@media (max-width: 390px) {
  .hero {
    grid-template-columns: 1fr 130px;
  }

  .hero h1 {
    font-size: 20px;
  }

  .hero p {
    font-size: 13px;
  }

  .product-card {
    min-width: 104px;
  }
}

/* Revised: mobile drawer, cart popup, spreadsheet stock visibility */
.duration-choice:disabled,
.product-card.disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.product-card em {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.product-card.active em {
  color: rgba(255,255,255,.85);
}

.mobile-drawer-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 18, 47, .46);
  backdrop-filter: blur(5px);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}

.mobile-drawer-backdrop.open,
.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 88vw);
  height: 100vh;
  background: var(--card);
  border-left: 1px solid var(--border);
  box-shadow: -22px 0 60px rgba(7, 18, 47, .18);
  z-index: 90;
  transform: translateX(105%);
  transition: .24s ease;
  padding: 20px;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-head,
.cart-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mobile-drawer-nav {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.drawer-link {
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-weight: 800;
  background: var(--card);
}

.drawer-link.active,
.drawer-link:hover {
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  color: #fff;
  border-color: var(--primary);
}

.cart-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(520px, calc(100% - 32px));
  max-height: min(680px, calc(100vh - 42px));
  overflow: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(7, 18, 47, .25);
  z-index: 95;
  transform: translate(-50%, -46%) scale(.96);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
  padding: 24px;
}

.cart-modal.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.cart-modal h2 {
  margin: 0 0 4px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.cart-modal p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.cart-items {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr 36px;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  background: var(--soft-blue);
}

.cart-item strong {
  display: block;
  margin-bottom: 5px;
}

.cart-item span {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.remove-cart-item {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--danger);
  font-size: 22px;
  line-height: 1;
}

.empty-cart {
  border: 1px dashed var(--border);
  border-radius: 16px;
  padding: 20px;
  color: var(--muted);
  background: var(--soft-blue);
  text-align: center;
  font-weight: 700;
}

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

.cart-total span {
  color: var(--muted);
  font-weight: 800;
}

.cart-total strong {
  color: var(--primary);
  font-size: 26px;
  letter-spacing: -0.05em;
}

.cart-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cart-actions .secondary-button {
  margin-top: 0;
}

@media (max-width: 760px) {
  .whatsapp-float {
    bottom: 24px;
  }

  .cart-modal {
    padding: 20px;
  }

  .cart-actions {
    grid-template-columns: 1fr;
  }
}

/* Final v3: mobile full choices, carousel, checkout submit order, FAQ/Setting */
.hero-carousel { position: relative; min-height: 275px; padding: 0; }
.hero-slide { position: absolute; inset: 0; padding: 52px 74px; display: grid; grid-template-columns: 1fr 430px; align-items: center; opacity: 0; transform: translateX(20px); transition: opacity .55s ease, transform .55s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; transform: translateX(0); pointer-events: auto; }
.carousel-dots { position: absolute; left: 74px; bottom: 24px; display: flex; gap: 8px; z-index: 3; }
.carousel-dot { width: 24px; height: 8px; border-radius: 999px; border: 0; background: rgba(0, 91, 255, .22); transition: .2s ease; }
.carousel-dot.active { width: 42px; background: var(--primary); }
.topup-visual { display: grid; place-items: center; }
.topup-card { position: relative; inset: auto; transform: rotate(-12deg); }
.pulse-ring { width: 175px; height: 175px; border-radius: 999px; border: 18px solid rgba(0, 91, 255, .12); position: absolute; }
.mini-left { left: 76px; transform: rotate(-10deg); }
.mini-right { right: 60px; transform: rotate(12deg); }
.checkout-right { display: grid; gap: 18px; align-self: start; }
.checkout-submit-card { background: rgba(255,255,255,.76); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
[data-theme="dark"] .checkout-submit-card { background: rgba(15, 27, 47, .84); }
.page-card { background: rgba(255,255,255,.76); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 28px rgba(15, 23, 42, .04); }
[data-theme="dark"] .page-card { background: rgba(15, 27, 47, .84); }
.content-page { max-width: 980px; margin: 0 auto; }
.content-page h1 { font-size: clamp(34px, 4vw, 48px); letter-spacing: -0.06em; margin: 0 0 12px; }
.content-page > p, .page-card > p { color: var(--muted); line-height: 1.7; }
.faq-list, .setting-grid { display: grid; gap: 14px; margin-top: 22px; }
.faq-item, .setting-row { border: 1px solid var(--border); border-radius: 16px; background: var(--card); padding: 18px 20px; }
.faq-item summary { cursor: pointer; font-weight: 900; color: var(--text); }
.faq-item p { color: var(--muted); line-height: 1.7; margin: 14px 0 0; }
.setting-row { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.setting-row h3 { margin: 0 0 6px; }
.setting-row p { margin: 0; color: var(--muted); }

@media (max-width: 760px) {
  .hero-carousel { min-height: 188px; }
  .hero-slide { padding: 22px 18px; grid-template-columns: 1fr 132px; }
  .carousel-dots { left: 18px; bottom: 14px; }
  .carousel-dot { width: 18px; height: 7px; }
  .carousel-dot.active { width: 32px; }
  .mobile-tabs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .mobile-tabs .type-choice { min-height: 50px; padding: 10px 8px; font-size: 13px; }
  .mobile-duration-scroll { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; overflow: visible; padding: 0; margin-bottom: 14px; }
  .mobile-duration-scroll .duration-choice { min-width: 0; min-height: 44px; padding: 0 6px; white-space: normal; line-height: 1.15; font-size: 13px; }
  .product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; overflow: visible; padding: 0; scroll-snap-type: none; }
  .product-card { min-width: 0; min-height: 132px; padding: 16px 8px 13px; }
  .product-card strong { font-size: 18px; }
  .product-card small, .product-card .price, .product-card em { font-size: 11px; }
  .product-card .wifi { top: 11px; right: 10px; font-size: 11px; }
  .product-card .check-mark { top: 8px; right: 8px; }
  .checkout-grid { display: flex; flex-direction: column; }
  .checkout-form { order: 1; }
  .checkout-right { display: contents; }
  .checkout-summary { order: 2; width: 100%; }
  .checkout-submit-card { order: 3; width: 100%; padding: 20px; margin-top: 0; }
  .checkout-submit-card .primary-button { min-height: 56px; }
  .page-card { padding: 20px; }
  .setting-row { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 390px) {
  .mobile-duration-scroll { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .product-card { min-height: 126px; border-radius: 13px; }
  .product-card strong { font-size: 16px; }
  .product-card .price { font-size: 10px; }
}

/* Sales UX + Payment + Login/Tracking upgrade */
.hero-slide .primary-button.hero-cta,
.hero-cta {
  margin-top: 22px;
  width: fit-content;
  min-width: 170px;
}
.payment-section {
  display: grid;
  gap: 14px;
}
.form-section-title h2 {
  margin-bottom: 6px;
}
.form-section-title p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
}
.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.payment-card {
  border: 1.5px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  padding: 14px;
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 10px;
  align-items: start;
  cursor: pointer;
}
.payment-card.active {
  border-color: var(--primary);
  box-shadow: var(--soft-shadow);
  background: var(--soft-blue);
}
.payment-card strong,
.payment-card small,
.payment-card em {
  display: block;
}
.payment-card small {
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.45;
  font-weight: 600;
}
.payment-card em {
  margin-top: 9px;
  color: var(--primary);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}
.payment-card b {
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  padding: 5px 8px;
  font-size: 11px;
}
.auth-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 22px;
  margin-top: 22px;
  align-items: start;
}
.auth-form,
.auth-side {
  box-shadow: none;
}
.account-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  background: var(--soft-blue);
  display: grid;
  gap: 5px;
}
.account-card span,
.account-card small {
  color: var(--muted);
  font-weight: 700;
}
.tracking-form {
  display: grid;
  grid-template-columns: 1fr 1fr 180px;
  gap: 12px;
  align-items: end;
  margin-top: 22px;
}
.tracking-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}
.tracking-form input {
  border: 1.4px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  padding: 14px 16px;
  outline: none;
}
.tracking-result {
  margin-top: 20px;
}
.tracking-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  padding: 22px;
}
.tracking-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.tracking-head span {
  display: block;
  color: var(--muted);
  font-weight: 700;
}
.tracking-head strong {
  display: block;
  color: var(--primary);
  font-size: 24px;
}
.tracking-head b {
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--primary);
  padding: 8px 12px;
}
.tracking-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 22px 0;
}
.tracking-steps span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 10px;
  text-align: center;
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
}
.tracking-steps span.done {
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  border-color: var(--primary);
  color: #fff;
}
.summary-lines.compact {
  gap: 12px;
  margin-bottom: 0;
}
@media (max-width: 760px) {
  .payment-methods,
  .auth-grid,
  .tracking-form,
  .tracking-steps {
    grid-template-columns: 1fr;
  }
  .payment-card {
    grid-template-columns: 18px 1fr;
  }
  .payment-card b {
    grid-column: 2;
    width: fit-content;
  }
  .tracking-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .desktop-nav {
    display: none !important;
  }
  .hero-slide .primary-button.hero-cta,
  .hero-cta {
    min-height: 42px;
    min-width: 130px;
    font-size: 13px;
    margin-top: 14px;
  }
}

.sales-proof {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.sales-proof article {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.74);
  padding: 16px;
  display: grid;
  gap: 6px;
}
[data-theme="dark"] .sales-proof article { background: rgba(15, 27, 47, .8); }
.sales-proof span { color: var(--muted); font-weight: 600; line-height: 1.45; font-size: 13px; }
@media (max-width: 760px) { .sales-proof { grid-template-columns: 1fr; gap: 10px; } .sales-proof article { padding: 14px; } }

/* v5 refinements: clearer product choices, accordion info cards, mobile cleanup */
.type-choice.type-sim-fisik {
  --type-accent: #0ea5e9;
  --type-soft: rgba(14, 165, 233, .14);
}
.type-choice.type-esim {
  --type-accent: #7c3aed;
  --type-soft: rgba(124, 58, 237, .14);
}
.type-choice.type-topup {
  --type-accent: #f97316;
  --type-soft: rgba(249, 115, 22, .16);
}
.type-choice:not(.active) {
  border-color: color-mix(in srgb, var(--type-accent, var(--border)) 38%, var(--border));
  background: linear-gradient(135deg, var(--type-soft, var(--card)), var(--card));
}
.type-choice:not(.active) .type-icon {
  color: var(--type-accent, var(--primary));
  background: var(--type-soft, var(--soft-blue));
  border-color: color-mix(in srgb, var(--type-accent, var(--border)) 38%, var(--border));
}
.type-choice.active.type-sim-fisik {
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  border-color: #0284c7;
}
.type-choice.active.type-esim {
  background: linear-gradient(135deg, #a78bfa, #6d28d9);
  border-color: #6d28d9;
}
.type-choice.active.type-topup {
  background: linear-gradient(135deg, #fb923c, #ea580c);
  border-color: #ea580c;
}

.product-card .price {
  color: #f97316;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.product-card.active .price {
  color: #fff7ed;
  font-size: 17px;
}

.sales-accordion {
  align-items: stretch;
}
.sales-card {
  display: block;
  min-height: 100%;
}
.sales-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  list-style: none;
}
.sales-card summary::-webkit-details-marker { display: none; }
.summary-arrow {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--soft-blue);
  font-weight: 900;
  transition: transform .18s ease;
}
.sales-card[open] > summary .summary-arrow {
  transform: rotate(180deg);
}
.sales-card-body {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.55;
  font-size: 13px;
}
.sales-card-body p { margin: 0 0 10px; }
.sales-card-body ol {
  margin: 0;
  padding-left: 18px;
}
.mini-faq {
  display: grid;
  gap: 8px;
}
.mini-faq details {
  border-top: 1px solid var(--border);
  padding-top: 8px;
}
.mini-faq summary {
  font-weight: 850;
  color: var(--text);
}
.mini-faq p {
  margin: 8px 0 0;
  color: var(--muted);
}
.payment-highlight {
  display: grid;
  align-content: start;
  gap: 8px;
}

.sweet-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(7, 18, 47, .52);
  backdrop-filter: blur(8px);
}
.sweet-card {
  width: min(520px, 100%);
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 28px 90px rgba(7, 18, 47, .28);
  padding: 28px;
  text-align: center;
  animation: sweetPop .18s ease-out;
}
@keyframes sweetPop {
  from { transform: translateY(12px) scale(.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.sweet-icon {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  background: #fff7ed;
  color: #f97316;
  border: 3px solid #fed7aa;
  font-size: 38px;
  font-weight: 900;
}
.sweet-card h2 {
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.04em;
}
.sweet-card p {
  margin: 0 0 18px;
  color: var(--muted);
}
.sweet-summary {
  display: grid;
  gap: 10px;
  text-align: left;
  background: var(--soft-blue);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 18px;
}
.sweet-summary div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
.sweet-summary span {
  color: var(--muted);
  font-weight: 700;
}
.sweet-summary b {
  text-align: right;
}
.sweet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.sweet-actions .secondary-button { margin-top: 0; }
.success-wa-note {
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .hero-slide .primary-button.hero-cta,
  .hero-cta,
  #buyNowBtn {
    display: none !important;
  }
  .sales-accordion {
    grid-template-columns: 1fr;
  }
  .sales-card {
    padding: 16px;
  }
  .sales-card-body {
    font-size: 13px;
  }
  .mobile-tabs .type-choice.type-sim-fisik:not(.active) strong { color: #0284c7; }
  .mobile-tabs .type-choice.type-esim:not(.active) strong { color: #6d28d9; }
  .mobile-tabs .type-choice.type-topup:not(.active) strong { color: #ea580c; }
  .product-card .price {
    font-size: 12px;
    line-height: 1.2;
  }
  .product-card.active .price {
    font-size: 13px;
  }
  .sweet-card {
    padding: 22px 18px;
  }
  .sweet-actions {
    grid-template-columns: 1fr;
  }
  .sweet-summary div {
    display: grid;
    gap: 4px;
  }
  .sweet-summary b {
    text-align: left;
  }
}

/* v6: unified info cards, stronger mobile polish, creator credit */
.sales-proof.sales-accordion {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 300px;
  grid-template-areas: "howto faq payment";
  align-items: stretch;
  gap: 14px;
}
.sales-card,
.sales-proof article,
.sales-proof details {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .04);
  padding: 18px;
  min-height: 100%;
}
[data-theme="dark"] .sales-card,
[data-theme="dark"] .sales-proof article,
[data-theme="dark"] .sales-proof details {
  background: rgba(15, 27, 47, .84);
}
.howto-card { grid-area: howto; }
.faq-card { grid-area: faq; }
.payment-highlight { grid-area: payment; }
.sales-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  list-style: none;
  font-weight: 900;
}
.sales-card summary::-webkit-details-marker,
.mini-faq summary::-webkit-details-marker { display: none; }
.summary-plus,
.mini-plus {
  --plus-size: 30px;
  width: var(--plus-size);
  height: var(--plus-size);
  flex: 0 0 var(--plus-size);
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  box-shadow: var(--soft-shadow);
  position: relative;
}
.summary-plus::before,
.summary-plus::after,
.mini-plus::before,
.mini-plus::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform .18s ease, opacity .18s ease;
}
.summary-plus::after,
.mini-plus::after { transform: rotate(90deg); }
.sales-card[open] > summary .summary-plus::after,
.mini-faq details[open] > summary .mini-plus::after {
  transform: rotate(0deg);
  opacity: 0;
}
.mini-plus {
  --plus-size: 24px;
  box-shadow: none;
}
.mini-plus::before,
.mini-plus::after { width: 11px; }
.summary-arrow { display: none !important; }
.sales-card-body {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.6;
  font-size: 13px;
}
.sales-card-body ol { margin: 10px 0 0; padding-left: 20px; }
.sales-card-body li + li { margin-top: 6px; }
.mini-faq { display: grid; gap: 10px; }
.mini-faq details {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: var(--card);
}
.mini-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}
.payment-highlight {
  display: grid;
  align-content: start;
  gap: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 197, 94, .14), transparent 35%),
    rgba(255,255,255,.78);
}
.payment-highlight strong { font-size: 17px; }
.payment-highlight span { color: var(--muted); font-weight: 650; line-height: 1.55; }
.payment-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}
.payment-pill-row b {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--primary);
  font-size: 12px;
}
.product-card .price {
  color: #ea580c;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -0.03em;
}
.product-card.active .price {
  color: #fff7ed;
  font-size: 18px;
}
.creator-credit {
  width: min(1420px, calc(100% - 68px));
  margin: -18px auto 28px;
  padding: 16px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  border-top: 1px solid var(--border);
}
.checkout-shell .creator-credit {
  width: calc(100% - 68px);
  margin-bottom: 26px;
}
.creator-credit a {
  color: var(--primary);
  font-weight: 900;
}
.sweet-overlay {
  overflow-y: auto;
  align-items: start;
  padding: 18px;
}
.sweet-card {
  margin: auto 0;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sweet-actions {
  position: sticky;
  bottom: -28px;
  background: linear-gradient(to top, var(--card) 78%, rgba(255,255,255,0));
  padding-top: 12px;
}
[data-theme="dark"] .sweet-actions {
  background: linear-gradient(to top, var(--card) 78%, rgba(15,27,47,0));
}
@media (max-width: 760px) {
  .sales-proof.sales-accordion {
    grid-template-columns: 1fr;
    grid-template-areas:
      "howto"
      "faq"
      "payment";
    gap: 10px;
  }
  .sales-card,
  .sales-proof article,
  .sales-proof details {
    padding: 16px;
    border-radius: 18px;
  }
  #buyNowBtn {
    display: grid !important;
    order: 1;
    margin-top: 0;
  }
  #addCartBtn {
    order: 2;
  }
  .summary-card .primary-button + .secondary-button {
    margin-top: 10px;
  }
  .hero-slide .primary-button.hero-cta,
  .hero-cta {
    display: grid !important;
  }
  .creator-credit {
    width: calc(100% - 36px);
    margin: 0 auto 22px;
    padding-top: 14px;
  }
  .sweet-overlay {
    place-items: start center;
    padding: 12px;
  }
  .sweet-card {
    width: min(100%, 480px);
    max-height: calc(100vh - 24px);
    border-radius: 20px;
    padding: 20px 16px;
  }
  .sweet-icon {
    width: 58px;
    height: 58px;
    font-size: 30px;
  }
  .sweet-card h2 { font-size: 22px; }
  .sweet-actions {
    grid-template-columns: 1fr;
    bottom: -20px;
  }
  .payment-highlight {
    order: 3;
  }
}


/* Final professional polish by ChatGPT */
:root {
  --header-bg: rgba(255,255,255,.86);
  --ring: rgba(0,91,255,.14);
}
[data-theme="dark"] { --header-bg: rgba(15,27,47,.88); --ring: rgba(96,165,250,.18); }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.site-header { background: var(--header-bg); }
.brand span { white-space: nowrap; }
.nav-link { white-space: nowrap; }
.primary-button, .secondary-button, .icon-button, .theme-toggle, .type-choice, .duration-choice, .product-card, .payment-card { -webkit-tap-highlight-color: transparent; }
.primary-button:focus-visible, .secondary-button:focus-visible, .icon-button:focus-visible, .theme-toggle:focus-visible, .nav-link:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, .drawer-link:focus-visible { outline: 4px solid var(--ring); outline-offset: 2px; }
.product-panel, .filter-panel, .summary-card, .page-card, .checkout-form, .checkout-submit-card { backdrop-filter: blur(14px); }
.product-card { isolation: isolate; overflow: hidden; }
.product-card::before { content:""; position:absolute; inset:-40% -30% auto auto; width:100px; height:100px; border-radius:999px; background:rgba(0,91,255,.08); z-index:-1; }
.product-card.active::before { background:rgba(255,255,255,.16); }
.payment-card input { accent-color: var(--primary); margin-top: 3px; }
.checkout-form input::placeholder, .checkout-form textarea::placeholder, .tracking-form input::placeholder { color: color-mix(in srgb, var(--muted) 76%, transparent); }
.checkout-form input:required, .checkout-form textarea:required { background-image: linear-gradient(90deg, transparent calc(100% - 24px), rgba(0,91,255,.10) calc(100% - 24px)); }
.success-icon { box-shadow: 0 18px 45px rgba(34,197,94,.28); }
@media (min-width: 1121px) {
  .summary-card { max-height: calc(100vh - 124px); overflow: auto; }
}
@media (max-width: 920px) and (min-width: 761px) {
  .site-header { padding: 0 22px; }
  .desktop-nav { gap: 12px; font-size: 13px; }
  .shop-grid { grid-template-columns: 220px 1fr; gap: 18px; }
  main { padding: 24px; }
}
@media (max-width: 760px) {
  .site-header { box-shadow: 0 10px 28px rgba(15,23,42,.06); }
  main { padding-bottom: 84px; }
  .hero-carousel { border-radius: 22px; box-shadow: 0 16px 42px rgba(0,91,255,.10); }
  .hero-slide { gap: 8px; }
  .sales-proof.sales-accordion { margin-top: 14px; }
  .product-panel { margin-top: 18px; }
  .mobile-tabs { position: sticky; top: 70px; z-index: 10; padding: 8px 0; background: linear-gradient(to bottom, var(--card), color-mix(in srgb, var(--card) 92%, transparent)); backdrop-filter: blur(12px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card { min-height: 126px; }
  .summary-card { border-radius: 22px; }
  .summary-card .primary-button, .summary-card .secondary-button, .checkout-submit-card .primary-button { min-height: 58px; border-radius: 16px; }
  .checkout-form, .checkout-submit-card, .page-card { border-radius: 22px; }
  .checkout-form label { font-size: 14px; }
  .checkout-form input, .checkout-form textarea, .tracking-form input { min-height: 52px; }
  .payment-card { border-radius: 18px; padding: 15px; }
  .whatsapp-float { bottom: 18px; right: 16px; width: 56px; height: 56px; border-width: 4px; }
  .content-page h1, .checkout-hero h1 { font-size: 32px; line-height: 1.05; }
}
@media (max-width: 390px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-slide { grid-template-columns: 1fr 116px; }
  .header-actions { gap: 6px; }
}

/* Final requested revisions: mobile type checks, editable product badges, unified header spacing */
.product-card {
  align-content: center;
  gap: 4px;
}

.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-start;
  pointer-events: none;
}

.product-badge,
.product-card em.product-badge {
  margin: 0;
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 10px;
  line-height: 1;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .01em;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
}

.product-badge.best-seller,
.product-card em.product-badge.best-seller {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fed7aa;
}

.product-badge.discount,
.product-card em.product-badge.discount {
  background: #dcfce7;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.product-card.active .product-badge,
.product-card.active em.product-badge {
  background: rgba(255,255,255,.18);
  color: #fff;
  border-color: rgba(255,255,255,.32);
  box-shadow: none;
}

@media (max-width: 760px) {
  .mobile-tabs .type-choice {
    grid-template-columns: 1fr 20px;
    gap: 6px;
    place-items: center stretch;
    position: relative;
  }

  .mobile-tabs .type-choice > span:not(.check-mark):not(.type-icon) {
    min-width: 0;
  }

  .mobile-tabs .type-choice strong {
    display: block;
    text-align: center;
  }

  .mobile-tabs .type-choice .check-mark {
    display: grid;
    width: 20px;
    height: 20px;
    font-size: 12px;
    justify-self: end;
    border: 1px solid color-mix(in srgb, var(--type-accent, var(--primary)) 35%, var(--border));
    color: transparent;
    background: rgba(255,255,255,.45);
  }

  .mobile-tabs .type-choice.active .check-mark {
    color: var(--primary);
    background: #fff;
    border-color: #fff;
  }

  .product-badges {
    top: 8px;
    left: 8px;
    right: 34px;
    gap: 4px;
  }

  .product-badge,
  .product-card em.product-badge {
    padding: 3px 5px;
    font-size: 9px;
  }

  .product-card strong {
    margin-top: 12px;
  }
}

/* Requested refinements: colorful packages, centered desktop duration, buyer auth, smaller pulsing WhatsApp, instant payment popup */
.type-choice,
.duration-choice,
.product-card,
.payment-card,
.faq-item,
.setting-row,
.auth-form,
.auth-side {
  background:
    radial-gradient(circle at 15% 12%, rgba(255,255,255,.86), transparent 30%),
    linear-gradient(135deg, rgba(239, 246, 255, .98), rgba(245, 243, 255, .96) 48%, rgba(236, 253, 245, .88));
}

[data-theme="dark"] .type-choice,
[data-theme="dark"] .duration-choice,
[data-theme="dark"] .product-card,
[data-theme="dark"] .payment-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .setting-row,
[data-theme="dark"] .auth-form,
[data-theme="dark"] .auth-side {
  background:
    radial-gradient(circle at 15% 12%, rgba(96, 165, 250, .16), transparent 28%),
    linear-gradient(135deg, rgba(15, 27, 47, .98), rgba(30, 41, 59, .96) 48%, rgba(20, 83, 45, .28));
}

.product-card:nth-child(3n+1) { background: linear-gradient(145deg, rgba(239,246,255,.98), rgba(219,234,254,.96)); }
.product-card:nth-child(3n+2) { background: linear-gradient(145deg, rgba(250,245,255,.98), rgba(237,233,254,.96)); }
.product-card:nth-child(3n+3) { background: linear-gradient(145deg, rgba(236,253,245,.98), rgba(207,250,254,.9)); }
[data-theme="dark"] .product-card:nth-child(n) { background: linear-gradient(145deg, rgba(15,27,47,.98), rgba(30,41,59,.94)); }
.product-card.active,
.duration-choice.active,
.type-choice.active,
.payment-card.active { background: linear-gradient(135deg, #38bdf8, #005bff 54%, #7c3aed); }

.desktop-duration-center {
  display: grid;
  place-items: center;
  text-align: center;
  margin: 2px 0 20px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(239,246,255,.84));
}
.desktop-duration-center h2 { margin: 0 0 12px; }
.desktop-duration-center .duration-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}
.desktop-duration-center .duration-choice {
  width: auto;
  min-width: 92px;
  padding: 0 16px;
}

.whatsapp-float {
  width: 51px;
  height: 51px;
  border-width: 4px;
  animation: waPulse 1.7s infinite;
}
.whatsapp-float svg { width: 29px; height: 29px; }
.whatsapp-float i { width: 11px; height: 11px; top: 3px; right: 3px; }
@keyframes waPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, .42), 0 16px 38px rgba(18, 181, 84, .30); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 16px 38px rgba(18, 181, 84, .30); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 16px 38px rgba(18, 181, 84, .30); }
}

.auth-page { max-width: 1040px; }
.auth-card-wrap { overflow: hidden; }
.auth-brand-title { margin: 12px 0 20px; }
.auth-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(219,234,254,.68);
}
.auth-tab {
  border: 0;
  border-radius: 999px;
  min-height: 42px;
  padding: 0 16px;
  font-weight: 900;
  color: var(--text);
  background: transparent;
}
.auth-tab.active { background: linear-gradient(135deg, var(--primary-2), var(--primary)); color: #fff; box-shadow: var(--soft-shadow); }
.auth-panels { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 18px; align-items: start; }
.auth-panel { display: none; margin: 0; }
.auth-panel.active { display: grid; }
.auth-inline-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.wa-mini-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #25d366, #12b554);
  font-weight: 900;
}
.account-card { display: grid; gap: 7px; padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--soft-blue); }
.account-card span, .account-card small { color: var(--muted); font-weight: 700; }

.payment-popup-card { max-width: 460px; }
.sweet-icon.success { background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; }
.payment-instant-box { display: grid; gap: 12px; margin: 16px 0 0; }
.payment-instant-box h3 { margin: 0; }
.qris-image { width: min(260px, 80vw); border-radius: 18px; margin: 0 auto; border: 1px solid var(--border); background: #fff; padding: 10px; }
.qris-fallback {
  width: 230px;
  height: 230px;
  margin: 0 auto;
  border: 10px solid #fff;
  border-radius: 18px;
  background:
    linear-gradient(90deg, #111 10px, transparent 10px 22px, #111 22px 34px, transparent 34px 46px, #111 46px 58px, transparent 58px),
    linear-gradient(#111 10px, transparent 10px 22px, #111 22px 34px, transparent 34px 46px, #111 46px 58px, transparent 58px),
    repeating-linear-gradient(45deg, #111 0 8px, #fff 8px 15px);
  background-size: 68px 68px, 68px 68px, 36px 36px;
  background-position: 16px 16px, 146px 16px, center;
  box-shadow: 0 18px 40px rgba(15,23,42,.14);
  position: relative;
}
.qris-fallback::after { content: "QRIS"; position: absolute; inset: 92px 68px; display: grid; place-items: center; border-radius: 12px; background: #fff; color: #111; font-weight: 1000; letter-spacing: .08em; }
.sweet-summary.compact { margin-top: 0; }
.payment-instant-box small { color: var(--muted); font-weight: 700; line-height: 1.5; }

@media (min-width: 901px) {
  .filter-panel .duration-list { display: none; }
}

@media (max-width: 900px) {
  .desktop-duration-center { display: none; }
  .auth-panels { grid-template-columns: 1fr; }
  .auth-side { order: 9; position: static; }
}

@media (max-width: 520px) {
  .auth-tabs { border-radius: 18px; display: grid; grid-template-columns: 1fr; }
  .auth-tab { width: 100%; }
  .sweet-actions { grid-template-columns: 1fr; }
  .qris-fallback { width: 200px; height: 200px; }
}
