/**
 * Homepage inline shop (index.php) — layout from reference mock, TopFlow landing tokens.
 */
.landing-shop-page {
  scroll-padding-top: 72px;
}

.landing-shop-page .landing-bg {
  opacity: 0.35;
}

.landing-shop-page.customer-landing-page {
  --shop-step-accent: var(--color-secondary-hover);
  --shop-card-bg: var(--color-network-at-text);
  --shop-card-border: color-mix(in srgb, var(--color-network-mtn-text) 8%, transparent);
  --shop-card-shadow: 0 8px 28px color-mix(in srgb, var(--color-network-mtn-text) 6%, transparent);
}

html[data-theme="dark"] .landing-shop-page.customer-landing-page {
  --shop-card-bg: var(--landing-glass-bg-strong);
  --shop-card-border: var(--landing-glass-border);
  --shop-card-shadow: var(--landing-glass-shadow);
}

.landing-shop-promo {
  border-bottom: 1px solid var(--landing-glass-border);
  background: var(--landing-glass-bg);
}

.landing-shop-promo-inner {
  padding: 10px 0;
}

.landing-shop-promo-fallback {
  margin: 0;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-2);
}

.landing-shop-promo-inner .pub-notice-banner {
  margin: 0;
  border-radius: var(--r-sm);
}

.landing-shop-promo-inner .pub-notice-banner + .pub-notice-banner {
  margin-top: 8px;
}

.landing-shop-hero {
  position: relative;
  padding: 4px 0 28px;
}

.landing-shop-main {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
  padding: 4px 0 8px;
}

.landing-shop-store {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.landing-shop-buy-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}


.landing-shop-card {
  background: var(--shop-card-bg);
  border: 1px solid var(--shop-card-border);
  border-radius: 20px;
  box-shadow: var(--shop-card-shadow);
}

.landing-shop-title {
  font-family:var(--font-display);
  font-size: clamp(1.85rem, 4.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
}

.landing-shop-title--shop {
  text-align: center;
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 8vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.landing-shop-panel {
  padding: 0;
  overflow: hidden;
}

.landing-shop-pane-heading {
  font-family:var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
}

.landing-shop-pane--track {
  padding-top: 4px;
}

.landing-shop-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--landing-glass-bg);
  border-bottom: 1px solid var(--landing-glass-border);
}

.landing-shop-tab {
  min-height: 50px;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font: 600 0.98rem var(--font-sans);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, background 0.15s;
}

.landing-shop-tab[aria-selected="true"] {
  background: var(--landing-glass-bg-strong);
  color: var(--ink);
  border-bottom-color: var(--brand);
}

.landing-shop-pane {
  padding: 20px 18px 22px;
}

.landing-shop-pane--track {
  padding: 20px 18px 22px;
}

.landing-shop-step {
  margin-bottom: 22px;
  padding-bottom: 0;
  border-bottom: none;
}

.landing-shop-step:last-child {
  margin-bottom: 0;
}

.landing-shop-step.is-collapsed,
.landing-shop-step--pay[hidden] {
  display: none !important;
}

.landing-shop-step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.landing-shop-step-head--bundles {
  align-items: flex-start;
  justify-content: space-between;
}

.landing-shop-step-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family:var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.landing-shop-step-head--bundles .landing-shop-step-heading {
  margin-bottom: 0;
  flex: 1;
}

.landing-shop-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--shop-step-accent);
  color: var(--color-network-at-text);
  font: 800 0.88rem var(--font-display);
  display: grid;
  place-items: center;
}

.landing-shop-step--done .landing-shop-step-num {
  background: var(--ok);
}

.landing-shop-step-title {
  margin: 0;
  flex: 1;
}

.landing-shop-step-back {
  border: 0;
  background: transparent;
  color: var(--brand);
  font: 600 0.82rem var(--font-sans);
  cursor: pointer;
  padding: 4px 6px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.landing-shop-step.is-revealed {
  animation: landingStepIn 0.28s ease-out both;
}

@keyframes landingStepIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.landing-shop-extras {
  margin: 12px 0;
  font-size: 0.9rem;
}

.landing-shop-extras summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.landing-buy-form .offer-phone-panel {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.landing-shop-page .recipient-lookup-status {
  margin: 8px 0 0;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.landing-shop-page .recipient-lookup-status[hidden] { display: none !important; }
.landing-shop-page .recipient-lookup-status.is-ok { color: var(--ink); }
.landing-shop-page .recipient-lookup-status.is-error { color: #b91c1c; }
.landing-shop-page .recipient-lookup-status.is-warn { color: #b45309; }
.landing-shop-page .recipient-lookup-status.is-loading { color: var(--muted, #64748b); font-weight: 700; }

.landing-shop-pane[hidden] {
  display: none;
}

.landing-shop-lbl {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin: 12px 0 8px;
  color: var(--ink);
}

.landing-shop-pane > .landing-shop-lbl:first-child {
  margin-top: 0;
}

.landing-buy-form .network-pill-grid {
  margin-bottom: 0.5rem;
}

.landing-buy-form .offer-grid {
  margin-bottom: 0.65rem;
}

.landing-shop-bundle-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 8px;
}

.landing-shop-lbl--inline {
  margin: 0;
  flex-shrink: 0;
}

.landing-shop-field--select {
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.9rem;
  flex: 1;
}

.landing-shop-bundle-shell {
  border-radius: 16px;
  min-height: 120px;
  transition: border-color 0.15s, background 0.15s;
}

.landing-shop-bundle-shell.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  border: 2px dashed color-mix(in srgb, var(--color-network-mtn-text) 12%, transparent);
  background: var(--color-network-mtn-text);
  background: color-mix(in srgb, var(--color-network-mtn-text) 2%, transparent);
}

html[data-theme="dark"] .landing-shop-bundle-shell.is-empty {
  border-color: color-mix(in srgb, var(--color-network-at-text) 14%, transparent);
  background: var(--color-fixed-172033);
}

.landing-shop-bundle-shell:not(.is-empty) {
  padding-top: 4px;
}

.landing-shop-empty {
  font-size: 0.92rem;
  color: var(--ink-2);
  margin: 0;
  text-align: center;
  line-height: 1.45;
}

.landing-shop-empty--placeholder {
  font-weight: 500;
}

.landing-shop-net-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 4px;
  margin: 0 -2px;
  scrollbar-width: thin;
}

.landing-shop-page .landing-shop-net-grid .network-pill {
  flex: 1 1 0;
  min-width: 96px;
  max-width: 140px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 108px;
  padding: 14px 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--shop-card-border);
  background: var(--shop-card-bg);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--color-network-mtn-text) 5%, transparent);
}

.landing-shop-page .landing-shop-net-grid .network-pill__logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--color-network-mtn-text);
  background: color-mix(in srgb, var(--color-network-mtn-text) 4%, transparent);
}

.landing-shop-page .landing-shop-net-grid .network-pill__logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.landing-shop-page .landing-shop-net-grid .network-pill__label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-shop-page .landing-shop-net-grid .network-pill.is-active {
  border-color: var(--shop-step-accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--shop-step-accent) 25%, transparent);
}

.landing-shop-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.landing-shop-page .landing-shop-offer-grid .offer-card {
  border-radius: 14px;
  min-height: 88px;
  border: 1px solid var(--shop-card-border);
  box-shadow: 0 2px 10px color-mix(in srgb, var(--color-network-mtn-text) 4%, transparent);
}

.landing-shop-step--pay {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--landing-glass-border);
}

.landing-shop-optional {
  font-weight: 500;
  color: var(--ink-2);
  font-size: 0.85em;
}

.landing-shop-promo-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.landing-shop-promo-row .landing-shop-field {
  flex: 1;
  min-width: 0;
}

.landing-shop-promo-row .landing-shop-btn {
  flex-shrink: 0;
  min-height: 46px;
  padding: 0 14px;
}

.landing-shop-field {
  width: 100%;
  min-height: 46px;
  border-radius: var(--r-sm);
  border: 2px solid var(--landing-glass-border);
  background: var(--landing-glass-bg);
  color: var(--ink);
  padding: 0 14px;
  font: 500 1.05rem var(--font-sans);
  letter-spacing: 0.02em;
}

.landing-shop-field:focus {
  border-color: var(--brand);
  outline: none;
}

.landing-shop-msg {
  min-height: 1.25em;
  font-size: 0.86rem;
  margin: 6px 0 0;
  color: var(--ink-2);
}

.landing-shop-msg.is-error {
  color: var(--color-fixed-c62828);
}

.landing-shop-msg-link {
  font-weight: 600;
  color: var(--brand);
}

.landing-shop-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 10px 0 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--landing-glass-border);
  font-size: 0.92rem;
  color: var(--ink-2);
}

.landing-shop-total strong {
  font-family:var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--ink);
}

.landing-shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  font: 600 0.95rem var(--font-sans);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s, opacity 0.12s;
}

.landing-shop-btn:active {
  transform: scale(0.98);
}

.landing-shop-btn--brand {
  background: var(--brand);
  color: var(--on-brand);
}

.landing-shop-btn--brand:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.landing-shop-btn--ghost {
  background: transparent;
  border-color: var(--landing-glass-border);
  color: var(--ink);
}

.landing-shop-btn--full {
  width: 100%;
  min-height: 50px;
}

.landing-shop-fine {
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-2);
  margin: 12px 0 0;
  line-height: 1.45;
}

.landing-shop-fine a {
  font-weight: 600;
  color: var(--brand);
}

.landing-shop-hint {
  font-size: 0.9rem;
  color: var(--ink-2);
  margin: 0 0 8px;
}

.landing-shop-alert {
  background: var(--gold);
  background: color-mix(in srgb, var(--gold) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--landing-glass-border));
  border-radius: var(--r-sm);
  padding: 10px 12px;
  font-size: 0.88rem;
  margin-bottom: 12px;
  color: var(--ink);
}

.landing-shop-partner {
  padding: 40px 0 48px;
  border-top: 1px solid var(--landing-glass-border);
  background: var(--landing-glass-bg);
  background: color-mix(in srgb, var(--landing-glass-bg) 65%, transparent);
}

.landing-shop-partner-lead {
  margin: 10px 0 0;
  max-width: 36em;
  font-size: 0.98rem;
  color: var(--ink-2);
}

.landing-shop-partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.landing-shop-partner-card {
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.landing-shop-partner-kicker {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.landing-shop-partner-name {
  font-family:var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
}

.landing-shop-partner-desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.45;
  flex: 1;
}

.landing-shop-partner-list {
  list-style: none;
  margin: 14px 0 10px;
  padding: 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}

.landing-shop-partner-list li::before {
  content: "●";
  color: var(--ok);
  font-size: 0.55rem;
  margin-right: 6px;
  vertical-align: 2px;
}

.landing-shop-partner-meta {
  margin: 0 0 14px;
  font-family:var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
}

.landing-shop-acct {
  padding: 18px 20px;
  max-width: 520px;
}

.landing-shop-acct h2 {
  font-family:var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--ink);
}

.landing-shop-acct p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.92rem;
}

.landing-shop-acct ul {
  list-style: none;
  margin: 12px 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}

.landing-shop-acct li::before {
  content: "●";
  color: var(--ok);
  font-size: 0.55rem;
  margin-right: 6px;
  vertical-align: 2px;
}

.landing-shop-acct__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-shop-acct__row--center {
  justify-content: center;
}

.landing-shop-band {
  padding: 48px 0;
  background: var(--landing-glass-bg);
  border-block: 1px solid var(--landing-glass-border);
}

.landing-shop-section-title {
  font-family:var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 800;
  margin: 0;
  color: var(--ink);
}

.landing-shop-how {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
  counter-reset: landing-step;
}

.landing-shop-how > div {
  position: relative;
  padding-top: 40px;
}

.landing-shop-how > div::before {
  counter-increment: landing-step;
  content: counter(landing-step);
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  display: grid;
  place-items: center;
  font: 800 0.9rem var(--font-display);
}

.landing-shop-how > div::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 38px;
  right: 4px;
  border-top: 2px dotted var(--landing-glass-border);
}

.landing-shop-how > div:last-child::after {
  display: none;
}

.landing-shop-how h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ink);
}

.landing-shop-how p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.landing-shop-faq {
  padding: 48px 0;
}

.landing-shop-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: 22px;
  align-items: start;
}

.landing-shop-faq-grid details {
  background: var(--landing-glass-bg-strong);
  border: 1px solid var(--landing-glass-border);
  border-radius: var(--r-sm);
  padding: 0 16px;
}

.landing-shop-faq-grid summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
}

.landing-shop-faq-grid summary::after {
  content: "+";
  font-size: 1.2rem;
  line-height: 1;
  color: var(--ink-2);
}

.landing-shop-faq-grid details[open] summary::after {
  content: "–";
}

.landing-shop-faq-grid details p {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.landing-shop-final-wrap {
  padding: 0 0 48px;
}

.landing-shop-final {
  text-align: center;
  padding: 36px 24px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%) !important;
  background-image: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%) !important;
  color: var(--on-brand);
  border: none;
  border-radius: var(--r-lg);
  box-shadow: var(--landing-glass-shadow);
}

.landing-shop-final h2 {
  font-family:var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  margin: 0;
  color: var(--on-brand);
}

.landing-shop-final p {
  margin: 10px auto 20px;
  max-width: 28em;
  opacity: 0.92;
  font-size: 0.98rem;
  color: var(--on-brand);
}

.landing-shop-final .landing-shop-btn--ghost {
  border-color: color-mix(in srgb, var(--color-network-at-text) 72%, transparent);
  color: var(--color-network-at-text);
  background: var(--color-network-at-text);
  background: color-mix(in srgb, var(--color-network-at-text) 10%, transparent);
}

.landing-shop-final .landing-shop-btn--ghost:hover {
  background: var(--color-network-at-text);
  background: color-mix(in srgb, var(--color-network-at-text) 18%, transparent);
  border-color: var(--color-network-at-text);
}

.landing-shop-final .landing-shop-btn--brand {
  background: var(--color-network-at-text);
  color: var(--brand-2);
  border-color: var(--color-network-at-text);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--color-fixed-0b1a28) 12%, transparent);
}

.landing-shop-final .landing-shop-btn--brand:hover {
  background: var(--color-fixed-f4f8ff);
}

@media (max-width: 900px) {
  .landing-shop-main {
    padding-bottom: 8px;
  }

  .landing-shop-title--shop {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
    margin-bottom: 18px;
  }

  .landing-shop-partner-grid {
    grid-template-columns: 1fr;
  }

  .landing-shop-partner {
    padding: 32px 0 36px;
  }

  .landing-shop-how {
    grid-template-columns: 1fr 1fr;
    row-gap: 22px;
  }

  .landing-shop-how > div::after {
    display: none;
  }

  .landing-shop-faq-grid {
    grid-template-columns: 1fr;
  }

  .landing-shop-band,
  .landing-shop-faq {
    padding: 36px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-shop-btn,
  .landing-shop-tab {
    transition: none;
  }
}
