/* ──────────────────────────────── Checkout Page Styles ──────────────────────────────── */

/* ── Animations ─────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp .55s cubic-bezier(.16,1,.3,1) both;
}

/* ── Glass Card ─────────────────────────── */
.glass-card {
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 28px;
  transition: border-color .25s ease;
}
.glass-card:hover {
  border-color: rgba(255, 255, 255, .14);
}

/* ── Grid Layout ───────────────────────── */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 1024px) {
  .checkout-grid {
    grid-template-columns: 2fr 3fr;
    gap: 56px;
  }
}

/* ── Back Link ─────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  color: rgba(148,163,184,1);
  transition: color .2s ease;
  margin-bottom: 20px;
}
.back-link:hover { color: #fff; }
.back-link svg { stroke: currentColor; }

/* ── Product Card ──────────────────────── */
.product-card {
  position: relative;
  overflow: hidden;
}
.product-card-glow {
  position: absolute;
  top: -60%;
  right: -30%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(14,165,233,.12) 0%, transparent 70%);
  pointer-events: none;
}

.product-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.product-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(14,165,233,.35);
}
.product-icon svg { stroke: #fff; }

.product-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.025em;
}

.product-desc {
  color: rgba(148,163,184,1);
  font-size: .9rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 22px;
}
.price-amount {
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(to right,#38bdf8,#06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price-currency {
  font-size: .875rem;
  color: rgba(100,116,139,1);
  font-weight: 500;
}

/* ── Divider ───────────────────────────── */
.divider {
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 18px 0;
}

/* ── Features List ─────────────────────── */
.includes-title {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(100,116,139,1);
  font-weight: 600;
  margin-bottom: 14px;
}
.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: rgba(203,213,225,1);
}
.features-list li svg {
  stroke: #0ea5e9;
  flex-shrink: 0;
}

/* ── Product Preview Image ─────────────── */
.product-preview {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.product-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.45) 0%, transparent 50%);
}

/* ── Trust Strip ───────────────────────── */
.trust-strip {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  color: rgba(100,116,139,1);
}
.trust-item svg { stroke: rgba(100,116,139,1); }

/* ── Checkout Right Column ─────────────── */
.checkout-heading h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -.025em;
  margin-bottom: 6px;
}
.checkout-heading p {
  font-size: .9rem;
  color: rgba(148,163,184,1);
  margin-bottom: 28px;
}

/* ── Form Sections ─────────────────────── */
.form-section { margin-bottom: 20px; }
.section-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 18px;
}

/* ── Form Fields ───────────────────────── */
.form-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full  { width: 100%; }
.field.half  { width: 100%; }
@media (min-width: 640px) {
  .field.half { width: calc(50% - 8px); }
}

.field label {
  font-size: .8rem;
  font-weight: 500;
  color: rgba(148,163,184,1);
}

.field input,
.select-wrap select {
  width: 100%;
  padding: 11px 14px;
  font-size: .9rem;
  color: #fff;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
  font-family: inherit;
}
.field input::placeholder { color: rgba(100,116,139,.7); }
.field input:focus,
.select-wrap select:focus {
  border-color: rgba(14,165,233,.5);
  box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}

/* ── Select Wrapper ────────────────────── */
.select-wrap {
  position: relative;
}
.select-wrap select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}
.select-wrap select option {
  background: #0f1724;
  color: #fff;
}
.select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  stroke: rgba(148,163,184,.6);
  pointer-events: none;
}

/* ── Payment Placeholder ───────────────── */
.payment-placeholder {
  border: 2px dashed rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 32px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.payment-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
.payment-icon-wrap svg { stroke: rgba(100,116,139,.7); }
.payment-placeholder h4 {
  font-size: .9rem;
  font-weight: 600;
  color: rgba(148,163,184,1);
}
.payment-placeholder p {
  font-size: .8rem;
  color: rgba(100,116,139,1);
}

/* ── Order Summary ─────────────────────── */
.order-summary { }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .9rem;
}
.summary-label { color: rgba(148,163,184,1); }
.summary-value { font-weight: 600; }
.summary-total {
  font-size: 1.1rem;
  font-weight: 700;
}

/* ── Submit Button ─────────────────────── */
.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  margin-top: 22px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  box-shadow: 0 4px 24px rgba(14,165,233,.35), 0 1px 3px rgba(0,0,0,.2);
  transition: transform .15s ease, box-shadow .15s ease;
  font-family: inherit;
}
.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 30px rgba(14,165,233,.45), 0 2px 6px rgba(0,0,0,.25);
}
.submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(14,165,233,.3);
}
.submit-btn svg { stroke: currentColor; }

/* ── Secure Note ───────────────────────── */
.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: .75rem;
  color: rgba(100,116,139,1);
}
.secure-note svg { stroke: rgba(100,116,139,1); }

/* ── Left column sticky on desktop ───── */
@media (min-width: 1024px) {
  .checkout-left {
    position: sticky;
    top: 96px;
    align-self: start;
  }
}
