:root {
  --shop-blue: #0a86e8;
  --shop-blue-dark: #0577db;
  --shop-ink: #172033;
  --shop-muted: #667385;
  --shop-line: #dce7f2;
  --shop-soft: #f3faff;
  --shop-shadow: 0 24px 70px rgba(24, 101, 174, 0.14);
}

.shop-main {
  min-height: 100vh;
  padding: 55px 0 70px;
  background:
    linear-gradient(180deg, rgba(244, 251, 255, 0) 0%, #f4fbff 48%, #eef8ff 100%),
    url("./assets/home-hero-airplane.jpg?v=20260531-bg-fade") center top / 100% auto no-repeat,
    #f4fbff;
}

.shop-wrap {
  width: var(--content-width);
  margin: 0 auto;
}

.shop-hero {
  display: grid;
  gap: 10px;
  padding: 56px 0 30px;
  color: #fff;
}

.shop-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shop-hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.05;
}

.shop-hero p {
  display: none;
}

.shop-card-panel,
.shop-cart-panel,
.shop-checkout-panel {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shop-shadow);
}

.shop-card-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.plan-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px 30px;
  min-height: 330px;
}

.plan-card + .plan-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 38px;
  bottom: 38px;
  width: 1px;
  background: var(--shop-line);
}

.plan-card.is-featured {
  background: linear-gradient(180deg, rgba(231, 247, 255, 0.82), rgba(255, 255, 255, 0.96));
}

.plan-badge {
  justify-self: start;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(10, 134, 232, 0.1);
  color: var(--shop-blue-dark);
  font-size: 13px;
  font-weight: 600;
}

.plan-title {
  margin: 0;
  color: var(--shop-ink);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
}

.plan-desc {
  margin: 0;
  color: var(--shop-muted);
  font-size: 14px;
  line-height: 1.6;
}

.plan-price {
  display: flex;
  align-items: end;
  gap: 8px;
  color: var(--shop-ink);
}

.plan-price strong {
  font-size: 34px;
  line-height: 1;
}

.plan-price span {
  padding-bottom: 5px;
  color: var(--shop-muted);
  font-size: 15px;
}

.plan-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: #46566b;
  font-size: 14px;
  list-style: none;
}

.plan-list li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--shop-blue);
  vertical-align: 2px;
}

.plan-action {
  align-self: end;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  background: var(--shop-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.plan-action:hover {
  background: var(--shop-blue-dark);
}

.cart-count-badge {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  margin-left: 4px;
  place-items: center;
  border-radius: 999px;
  background: var(--shop-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.shop-cart-panel,
.shop-checkout-panel {
  padding: 24px;
}

.shop-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.shop-section-head h1 {
  margin: 0;
  color: var(--shop-ink);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1.08;
}

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

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
}

.cart-items,
.checkout-form {
  display: grid;
  gap: 14px;
}

.cart-item,
.summary-box,
.checkout-box {
  border: 1px solid var(--shop-line);
  border-radius: 14px;
  background: #fff;
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  padding: 18px;
}

.cart-item h3,
.summary-box h2,
.checkout-box h2 {
  margin: 0;
  color: var(--shop-ink);
}

.cart-item h3 {
  font-size: 20px;
}

.summary-box h2,
.checkout-box h2 {
  font-size: 26px;
  line-height: 1.15;
}

.cart-item p,
.summary-row,
.empty-state,
.checkout-note {
  color: var(--shop-muted);
  font-size: 14px;
}

.cart-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 12px;
  color: #46566b;
  font-size: 14px;
}

.cart-item-price {
  text-align: right;
  color: var(--shop-ink);
  font-size: 22px;
  font-weight: 700;
}

.remove-cart-item {
  margin-top: 14px;
  border: 0;
  background: transparent;
  color: #b91c1c;
  cursor: pointer;
}

.summary-box,
.checkout-box {
  padding: 18px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}

.summary-total {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--shop-line);
  color: var(--shop-ink);
  font-size: 20px;
  font-weight: 700;
}

.shop-primary,
.shop-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.shop-primary {
  width: 100%;
  border: 0;
  background: var(--shop-blue);
  color: #fff;
}

.shop-primary:hover {
  background: var(--shop-blue-dark);
}

.shop-secondary {
  border: 1px solid var(--shop-line);
  background: #fff;
  color: var(--shop-blue-dark);
}

.payment-result-panel {
  max-width: 1180px;
  padding: 38px 44px;
}

.payment-result-panel .shop-kicker {
  color: rgba(23, 32, 51, 0.38);
}

.payment-result-panel h1 {
  margin: 0 0 16px;
  color: var(--shop-ink);
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.05;
}

.payment-result-panel p {
  margin: 0;
  max-width: 980px;
  color: #2e3a4f;
  font-size: 16px;
  line-height: 1.7;
}

.payment-result-panel .shop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.payment-result-panel .shop-primary,
.payment-result-panel .shop-secondary {
  width: auto;
  min-height: 40px;
  padding: 0 22px;
  font-size: 14px;
}

.payment-result-panel .shop-primary {
  min-width: 240px;
}

.checkout-form label {
  display: grid;
  gap: 8px;
  color: #3a485d;
  font-weight: 600;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid #d6dce5;
  border-radius: 12px;
  padding: 11px 12px;
  background: #fff;
  color: var(--shop-ink);
  font: inherit;
}

.checkout-form textarea {
  min-height: 88px;
  resize: vertical;
}

.payment-disabled {
  display: none;
  margin-top: 14px;
  border: 1px solid rgba(185, 28, 28, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff5f5;
  color: #b91c1c;
}

.payment-disabled.is-visible {
  display: block;
}

.empty-state {
  border: 1px dashed var(--shop-line);
  border-radius: 14px;
  padding: 30px;
  text-align: center;
}

.account-credit-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
  border: 1px solid rgba(10, 134, 232, 0.14);
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(237, 249, 255, 0.95), rgba(255, 255, 255, 0.96));
}

.account-credit-card > div,
.credit-metric {
  display: grid;
  gap: 4px;
  min-height: 76px;
  border: 1px solid var(--shop-line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
}

.account-credit-card span {
  color: #0f6f96;
  font-size: 13px;
  font-weight: 600;
}

.account-credit-card strong {
  color: var(--shop-ink);
  font-size: 30px;
  line-height: 1;
}

.account-credit-card em {
  color: var(--shop-muted);
  font-size: 13px;
  font-style: normal;
}

.credit-metric.is-primary {
  border-color: rgba(10, 134, 232, 0.24);
}

.shop-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 60;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  border-radius: 999px;
  padding: 11px 18px;
  background: rgba(23, 32, 51, 0.94);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 18px 42px rgba(23, 32, 51, 0.18);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.shop-toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (max-width: 980px) {
  .shop-card-panel,
  .cart-layout,
  .checkout-layout,
  .account-credit-card {
    grid-template-columns: 1fr;
  }

  .plan-card + .plan-card::before {
    top: 0;
    bottom: auto;
    left: 36px;
    right: 36px;
    width: auto;
    height: 1px;
  }
}

@media (max-width: 760px) {
  .shop-main {
    padding-top: 50px;
  }

  .shop-hero {
    padding: 44px 0 26px;
  }

  .plan-card,
  .shop-cart-panel,
  .shop-checkout-panel {
    padding: 22px;
  }

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

  .cart-item-price {
    text-align: left;
  }

  .payment-result-panel {
    padding: 28px 22px;
  }

  .payment-result-panel h1 {
    font-size: 32px;
  }

  .payment-result-panel p {
    font-size: 15px;
  }

  .payment-result-panel .shop-primary,
  .payment-result-panel .shop-secondary {
    width: 100%;
  }
}
