/* ==========================================================================
   Purchase / pricing page
   ========================================================================== */

.pricing-page {
  background: #fff;
  min-height: 100vh;
}

.pricing-page .skip-link {
  color: #1a1a1a;
}

/* Header */
.purchase-header {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 72px;
  background: #fff;
  border-bottom: 1px solid #ebebeb;
  container-type: inline-size;
  container-name: purchase-header;
}

.purchase-header__inner {
  display: grid;
  grid-template-columns: minmax(max-content, auto) minmax(0, 1fr) minmax(max-content, auto);
  align-items: center;
  height: 100%;
  gap: 16px;
}

.purchase-header .logo {
  grid-column: 1;
  justify-self: start;
}

.purchase-nav {
  display: none;
  grid-column: 2;
  justify-self: center;
  position: static;
  left: auto;
  top: auto;
  transform: none;
  max-width: 100%;
  min-width: 0;
}

.purchase-header__right {
  grid-column: 3;
  justify-self: end;
}

.logo--dark {
  color: #1a1a1a;
  flex-shrink: 0;
  min-width: max-content;
  white-space: nowrap;
}

.purchase-header .logo__icon {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.purchase-nav {
  display: none;
}

.purchase-nav__list {
  display: flex;
  align-items: center;
  gap: 19px;
  list-style: none;
}

.purchase-nav__link {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 16px;
  font-weight: 510;
  line-height: 1;
  color: #1a1a1a;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.purchase-nav__link:hover {
  color: #6b6b6b;
}

.purchase-nav__link--active {
  color: #111;
  font-weight: 600;
}

.purchase-header__prefs {
  flex-shrink: 0;
}

.purchase-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.purchase-header__login {
  font-size: 16px;
  font-weight: 510;
  line-height: 1;
  color: #1a1a1a;
  white-space: nowrap;
  padding: 8px 2px;
  transition: opacity 0.2s ease;
}

.purchase-header__login:hover {
  opacity: 0.7;
}

.purchase-header__login--active {
  font-weight: 600;
}

.purchase-header__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.purchase-header__mobile-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
  border: 1.5px solid #d8d8dc;
  border-radius: 999px;
}

.purchase-header__mobile-link--cta {
  padding: 8px 14px;
  color: #fff;
  background: #111;
  border-radius: 999px;
}

.purchase-header__mobile-only-cta {
  display: none;
}

.btn--purchase-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 510;
  color: #1a1a1a;
  background: #fff;
  border: 1.5px solid #d8d8dc;
  border-radius: 999px;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.btn--purchase-ghost:hover {
  border-color: #111;
  background: #fafafa;
}

.btn--purchase-ghost--active {
  border-color: #111;
  background: #f7f7f8;
  font-weight: 600;
}

.btn--purchase-header {
  display: none;
  flex-shrink: 0;
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 510;
  color: #fff;
  background: #000;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn--purchase-header:hover {
  background: #1a1a1a;
  transform: scale(1.03);
}

.menu-toggle--dark .menu-toggle__bar {
  background: #1a1a1a;
}

@media (min-width: 1024px) {
  .purchase-nav {
    display: block;
  }

  .purchase-header .header__toolbar {
    display: flex;
  }

  .btn--purchase-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .purchase-header__actions {
    display: flex;
  }

  .purchase-header__mobile-link,
  .purchase-header__mobile-link--cta {
    display: none;
  }

  .pricing-page .menu-toggle {
    display: none;
  }
}

.my-purchases-main {
  min-height: calc(100vh - 72px);
}

.my-purchases-page .purchase-header__mobile-link--cta {
  display: inline-flex;
  color: #fff;
  background: #111;
  border-color: #111;
}

@media (min-width: 1024px) {
  .my-purchases-page .purchase-header__mobile-link--cta {
    display: none;
  }
}

@container purchase-header (max-width: 1360px) {
  .purchase-header__inner {
    gap: 10px;
  }

  .purchase-nav__list {
    gap: 12px;
  }

  .purchase-nav__link,
  .purchase-header__login,
  .btn--purchase-header,
  .btn--purchase-ghost {
    font-size: 14px;
  }

  .btn--purchase-header {
    padding: 8px 16px;
  }

  .purchase-header__toolbar {
    gap: 12px;
  }

  .purchase-header__actions {
    gap: 8px;
  }
}

@container purchase-header (max-width: 1220px) {
  .purchase-nav__link--apps > span:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .purchase-nav__item--esim {
    display: list-item;
  }

  .btn--purchase-header {
    display: none;
  }
}

@container purchase-header (max-width: 1080px) {
  .purchase-nav__list {
    gap: 8px;
  }

  .purchase-nav__link,
  .purchase-header__login {
    font-size: 13px;
  }
}

/* Main layout */
.purchase {
  padding: 40px 0 30px;
}

.pricing-page .how-it-works {
  padding-top: calc(20px * var(--how-scale, 1.2));
}

.pricing-page .esim-promo {
  padding-top: 0;
  padding-bottom: 0;
}

.pricing-page .app-download {
  padding-top: calc(32px * var(--app-download-scale, 1.2));
  padding-bottom: calc(48px * var(--app-download-scale, 1.2));
}

.purchase__wrap {
  display: flex;
  justify-content: center;
  max-width: 1120px;
}

.purchase__layout {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 100%;
  max-width: 1038px;
}

.purchase__hero {
  flex: 0 0 397px;
  width: 397px;
  height: 598px;
  border-radius: 20px;
  overflow: hidden;
}

.purchase__hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.purchase__panel {
  --scale: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 611px;
  min-width: 0;
  max-width: 611px;
}

/* Search fields — same component as homepage, sized for panel */
.purchase__meta.search-card__fields {
  justify-content: flex-start;
  gap: 15px;
  width: 100%;
  max-width: 100%;
}

.purchase .search-field--destination {
  flex: 1 1 0;
  min-width: 0;
}

.purchase .search-field--duration {
  flex: 0 0 auto;
  width: auto;
  min-width: 220px;
}

.purchase .search-field--duration .search-field__label-row,
.purchase .search-field--duration .search-field__value,
.purchase .search-field--duration .search-field__label {
  white-space: nowrap;
}

.purchase .search-field--duration .search-field__value-text {
  white-space: nowrap;
  overflow: visible;
}

.purchase .search-field__trigger {
  background: transparent;
  border: none;
  padding: 18px 24px 20px 18px;
  gap: 9.6px;
}

.purchase .search-field__label {
  font-size: 17px;
}

.purchase .search-field__value-text {
  font-size: 24px;
  line-height: 1.5;
  overflow: visible;
}

.purchase .search-field--destination .search-field__value-text {
  overflow: hidden;
  text-overflow: ellipsis;
  padding-bottom: 0.2em;
}

.purchase .search-field__icon {
  width: 15px;
}

.purchase .search-field__icon--calendar {
  width: 19px;
}

.purchase .search-dropdown {
  z-index: 20;
}

/* Plan grid — 3 columns × 2 rows */
.purchase__plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  width: 100%;
  max-width: 611px;
}

.purchase__plans-hint {
  grid-column: 1 / -1;
  margin: 0;
  padding: 20px 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-muted, #6b6b6b);
  text-align: center;
  background: #f8f9fb;
  border-radius: 12px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  height: 145px;
  min-height: 145px;
  padding: 20px 15px;
  text-align: left;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover {
  border-color: #d0d0d0;
}

.plan-card.is-selected {
  border-color: #000;
}

.plan-card__header {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.plan-card__radio {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1px solid #eee;
  border-radius: 11px;
}

.plan-card.is-selected .plan-card__radio {
  width: 21px;
  height: 20px;
  background: #fff500;
  border-color: #fff500;
}

.plan-card__check {
  display: block;
  width: 7px;
  height: 5px;
  border-left: 2.5px solid #000;
  border-bottom: 2.5px solid #000;
  transform: rotate(-45deg) translateY(-1px);
}

.plan-card__data {
  width: 100%;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: #2a2b32;
}

.plan-card__validity {
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: #86878f;
}

.plan-card__price {
  width: 100%;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: #2a2b32;
  margin-top: auto;
}

/* eSIM quantity stepper */
.purchase__quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 4px 0;
}

.purchase__quantity-text {
  flex: 1 1 auto;
  min-width: 0;
}

.purchase__quantity-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.4px;
  color: #2a2b32;
}

.purchase__quantity-sub {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: #86878f;
}

.purchase__stepper {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  padding: 5px 6px;
  background: #fff;
  border: 1px solid #e3e4e8;
  border-radius: 9999px;
}

.purchase__stepper-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #86878f;
  background: #fff;
  border: 1px solid #e3e4e8;
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.purchase__stepper-btn:hover:not(:disabled) {
  color: #2a2b32;
  border-color: #c8c9cf;
  background: #fafafa;
}

.purchase__stepper-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.purchase__stepper-value {
  min-width: 88px;
  padding: 0 6px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: #2a2b32;
  text-align: center;
  white-space: nowrap;
}

.purchase__stepper-value strong {
  font-weight: 700;
}

/* Info box */
.purchase__info {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 15px;
  background: #f7f7f8;
  border-radius: 12px;
}

.purchase__info-icon {
  flex-shrink: 0;
}

.purchase__info-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.purchase__info-title {
  font-size: 16px;
  font-weight: 510;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: #000;
}

.purchase__info-body {
  font-size: 16px;
  font-weight: 510;
  line-height: 1.5;
  letter-spacing: -0.8px;
  color: #000;
}

/* Checkout */
.purchase__checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 12px 40px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  color: #191c1f;
  background: #fff500;
  border: 1px solid #fff500;
  border-radius: 9999px;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.purchase__checkout:hover {
  background: #e6dc00;
  transform: scale(1.02);
}

.purchase__checkout:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.purchase__checkout-error {
  margin: 0 0 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff0f0;
  color: #b00020;
  font-size: 14px;
  line-height: 1.4;
}

/* Success / claim pages */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255, 245, 0, 0.18), transparent 60%),
    #f7f7f8;
}

.success-card [hidden] {
  display: none !important;
}

.success-card {
  width: min(100%, 440px);
  background: #fff;
  border-radius: 28px;
  padding: 32px 28px 28px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.07);
  text-align: center;
}

.success-card__header {
  position: relative;
  width: 56px;
  height: 56px;
  margin: 0 auto 28px;
}

.success-card__logo {
  position: absolute;
  inset: 4px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.success-card__check {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #111;
  color: #fff500;
}

.success-card__badge {
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 999px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.success-card__header .success-card__spinner {
  position: absolute;
  inset: 8px;
  margin: 0;
}

.success-card__title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.6px;
  color: #111;
}

.success-card__subtitle {
  margin: 0 0 24px;
  color: #666;
  font-size: 15px;
  line-height: 1.55;
}

.success-card__plan-wrap {
  margin-bottom: 20px;
}

.success-card__plan-label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #999;
}

.success-card__plan {
  margin: 0;
  padding: 14px 18px;
  border-radius: 14px;
  background: #f7f7f8;
  border: 1px solid #ececec;
  font-size: 17px;
  font-weight: 700;
  color: #111;
}

/* Numbered steps (single + per-person wizard) */
.success-steps {
  width: 100%;
  margin: 0 0 20px;
  text-align: left;
}

.success-steps__heading {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  text-align: center;
}

.success-steps__box {
  padding: 20px 18px;
  background: #f4f5f7;
  border-radius: 18px;
}

.success-steps__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
}

.success-steps__item:first-child {
  margin-top: 0;
}

.success-steps__num {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 15px;
  font-weight: 800;
  color: #111;
  background: #fff500;
  border-radius: 50%;
}

.success-steps__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-top: 2px;
}

.success-steps__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
}

.success-steps__text {
  font-size: 14px;
  line-height: 1.55;
  color: #5c5c5c;
}

/* Multi-traveler wizard — one person at a time */
.success-card__wizard {
  width: 100%;
  margin-bottom: 8px;
}

.success-card__traveler-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.success-card__traveler-tab {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #5c5c5c;
  background: #f7f7f8;
  border: 1.5px solid #e8e8ea;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.success-card__traveler-tab:hover {
  border-color: #ccc;
  color: #111;
}

.success-card__traveler-tab.is-active {
  color: #111;
  background: #fff9b8;
  border-color: #fff500;
}

.success-card__person-label {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  text-align: center;
}

.success-card__for-me {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #ececec;
  text-align: center;
}

.success-card__for-me-toggle {
  padding: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #777;
  background: none;
  border: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.success-card__for-me-toggle:hover,
.success-card__for-me-toggle.is-open {
  color: #111;
}

.success-card__for-me-panel {
  margin-top: 14px;
}

.success-card__for-me-warn {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #666;
}

.success-card__for-me-btn {
  width: 100%;
  box-sizing: border-box;
}

.success-card__panel-qr {
  margin: 18px auto 0;
  padding: 16px;
  max-width: 220px;
  text-align: center;
  background: #fff;
  border: 1px solid #e8e8ea;
  border-radius: 16px;
}

.success-card__panel-qr-label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: #5c5c5c;
}

.success-card__panel-qr-img {
  display: block;
  margin: 0 auto;
  border-radius: 10px;
}

.success-card__panel-cta {
  width: 100%;
  margin-top: 18px;
  box-sizing: border-box;
  border: none;
  cursor: pointer;
  font: inherit;
}

.success-card__copy-btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  background: transparent;
  border: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.success-card__copy-btn:hover {
  color: #333;
}

.success-card__traveler-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #ececec;
}

.success-card__nav-btn {
  padding: 8px 0;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #5c5c5c;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.success-card__nav-btn:hover {
  color: #111;
}

.success-card__nav-btn--next {
  color: #111;
  margin-left: auto;
}

.success-card__progress-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
}

.success-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  transition: background 0.15s ease, transform 0.15s ease;
}

.success-card__dot.is-active {
  background: #111;
  transform: scale(1.15);
}

.success-card__claims-list {
  width: 100%;
  margin-top: 24px;
  text-align: left;
}

.success-card__claims-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #111;
  text-align: center;
}

.success-card__claims-sub {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #5c5c5c;
  text-align: center;
}

.success-card__claim-item {
  margin-top: 20px;
  padding: 18px;
  background: #f4f5f7;
  border-radius: 16px;
}

.success-card__claim-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.success-card__claim-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 15px;
  font-weight: 800;
  color: #111;
  background: #fff500;
  border-radius: 50%;
  flex-shrink: 0;
}

.success-card__claim-label {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.success-card__claim-plan {
  margin: 2px 0 0;
  font-size: 13px;
  color: #5c5c5c;
}

.success-card__claim-qr-wrap {
  margin-top: 14px;
  text-align: center;
}

.success-card__claim-qr {
  display: inline-block;
  border-radius: 12px;
  background: #fff;
}

.success-card__claim-link {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.success-card__qr-wrap {
  padding: 16px;
  margin: 0 auto 16px;
  width: fit-content;
  border-radius: 20px;
  background: #fafafa;
  border: 1px solid #ececec;
}

.success-card__qr {
  display: block;
  width: 200px;
  height: 200px;
  margin: 0;
  border-radius: 12px;
  object-fit: contain;
}

.success-card__hint,
.success-card__status {
  margin: 0 0 20px;
  color: #777;
  font-size: 14px;
  line-height: 1.5;
}

.success-card__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
}

.success-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.success-card__btn:active {
  transform: scale(0.98);
}

.success-card__btn--primary {
  background: #fff500;
  color: #111;
  box-shadow: 0 4px 20px rgba(255, 245, 0, 0.35);
}

.success-card__btn--primary:hover {
  background: #f0e600;
}

.success-card__btn--outline {
  background: #fff;
  color: #111;
  border: 1.5px solid #ddd;
}

.success-card__btn--outline:hover {
  border-color: #111;
}

.success-card__btn--secondary {
  background: #111;
  color: #fff;
  border: none;
  cursor: pointer;
  font: inherit;
  width: 100%;
}

.success-card__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
}

.success-card__link {
  padding: 0;
  border: none;
  background: none;
  color: #555;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.success-card__link:hover {
  color: #111;
}

.success-card__email-hint {
  margin: 20px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f7f7f8;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}

.success-card__store {
  margin: 16px 0 0;
  color: #999;
  font-size: 13px;
  line-height: 1.5;
}

.success-card__store a {
  color: #555;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.success-card__store a:hover {
  color: #111;
}

.success-card__store span {
  margin: 0 4px;
}

.success-card__spinner {
  width: 40px;
  height: 40px;
  margin: 16px auto;
  border: 3px solid #ececec;
  border-top-color: #111;
  border-radius: 50%;
  animation: success-spin 0.8s linear infinite;
}

@keyframes success-spin {
  to { transform: rotate(360deg); }
}

.success-card--wide {
  width: min(100%, 520px);
  text-align: left;
}

.success-card--wide .success-card__header {
  text-align: center;
}

.success-card--wide .success-card__title,
.success-card--wide .success-card__subtitle {
  text-align: center;
}

.success-card--wide .success-card__plan-wrap {
  text-align: center;
}

.my-purchases-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.my-purchases-form__label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.my-purchases-form__input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font: inherit;
  box-sizing: border-box;
}

.my-purchases-form__submit {
  width: 100%;
  border: none;
  cursor: pointer;
}

.my-purchases-form__hint,
.my-purchases-signed-in,
.my-purchases-local-hint {
  margin: 0;
}

.my-purchases-signed-in {
  margin-bottom: 16px;
  font-size: 14px;
  color: #666;
}

.purchase-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.purchase-card {
  padding: 18px;
  border: 1px solid #ececec;
  border-radius: 16px;
  background: #fafafa;
}

.purchase-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.purchase-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.purchase-card__meta {
  margin: 0 0 14px;
  font-size: 14px;
  color: #666;
}

.purchase-card__status {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.purchase-card__status--ready_to_claim {
  background: #fff8c4;
  color: #6b5d00;
}

.purchase-card__status--claimed {
  background: #e7f6ec;
  color: #1b6b34;
}

.purchase-card__status--expired {
  background: #f3f3f3;
  color: #666;
}

.purchase-card__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.purchase-card__manage {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

.purchase-card__store-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Responsive */
@media (max-width: 1100px) {
  .purchase__layout {
    flex-direction: column;
    align-items: stretch;
  }

  .purchase__hero {
    flex: 0 0 auto;
    width: 100%;
    max-width: 397px;
    height: 420px;
    margin: 0 auto;
  }

  .purchase__panel {
    max-width: none;
    width: 100%;
  }

  .purchase__meta {
    max-width: none;
  }

  .purchase__plans {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .purchase__plans {
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .purchase {
    padding: 24px 0 48px;
  }

  .purchase__meta.search-card__fields {
    flex-direction: column;
    align-items: stretch;
  }

  .purchase .search-field--duration {
    flex: 1 1 auto;
    max-width: none;
    min-width: 0;
  }
}

@media (max-width: 400px) {
  .purchase__plans {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .purchase__plans {
    grid-template-columns: 1fr;
  }
}

/* Send-to-traveler email modal */
body.send-modal-open {
  overflow: hidden;
}

.send-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
}

.send-modal[hidden] {
  display: none !important;
}

.send-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  backdrop-filter: blur(4px);
}

.send-modal__dialog {
  position: relative;
  width: min(100%, 420px);
  max-height: min(92vh, 640px);
  overflow-y: auto;
  padding: 28px 24px 24px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.send-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
  color: #888;
  background: #f4f5f7;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.send-modal__close:hover {
  color: #111;
  background: #eceef1;
}

.send-modal__kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
}

.send-modal__title {
  margin: 8px 0 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #111;
}

.send-modal__sub {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: #666;
}

.send-modal__form {
  margin-top: 22px;
  text-align: left;
}

.send-modal__label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

.send-modal__input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid #e3e4e8;
  border-radius: 14px;
  background: #fafafa;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.send-modal__input-wrap:focus-within {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(255, 245, 0, 0.35);
  background: #fff;
}

.send-modal__input {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 17px;
  color: #111;
  background: transparent;
  border: none;
  outline: none;
}

.send-modal__chips-label {
  margin: 16px 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: #888;
  text-align: center;
}

.send-modal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.send-modal__chip {
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  background: #f4f5f7;
  border: 1.5px solid #e8e8ea;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.send-modal__chip:hover {
  border-color: #ccc;
  color: #111;
}

.send-modal__chip.is-active {
  color: #111;
  background: #fff9b8;
  border-color: #fff500;
}

.send-modal__preview {
  margin: 14px 0 0;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.4;
  color: #444;
  text-align: center;
  background: #f7f7f8;
  border-radius: 12px;
}

.send-modal__preview strong {
  color: #111;
  font-weight: 700;
}

.send-modal__error {
  margin: 12px 0 0;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #b00020;
  background: #fff0f0;
  border-radius: 10px;
}

.send-modal__submit {
  width: 100%;
  margin-top: 18px;
  border: none;
  cursor: pointer;
}

.send-modal__alt {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 8px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  background: none;
  border: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.send-modal__alt:hover {
  color: #111;
}

.send-modal__success {
  margin-top: 24px;
  padding: 20px 16px;
  font-size: 15px;
  line-height: 1.55;
  color: #333;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 16px;
}

.send-modal__success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 800;
  color: #111;
  background: #fff500;
  border-radius: 50%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.contact-form__message {
  min-height: 140px;
  resize: vertical;
  line-height: 1.45;
}

.contact-form__hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-main .success-card {
  max-width: 560px;
}
