/* ============================================================
   cart-checkout.css — cart list/summary, numbered checkout
   ============================================================ */

/* ── CART ─────────────────────────────────────────────────── */
.nt-cart-list { list-style: none; margin: 0 0 20px; padding: 0; }
.nt-cart-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(26, 21, 35, 0.06);
}
.nt-cart-item__thumb {
  width: 64px; height: 64px;
  border-radius: 14px;
  overflow: hidden;
  background: #F4F2F9;
  flex-shrink: 0;
}
.nt-cart-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.nt-cart-item__info { flex: 1; min-width: 0; }
.nt-cart-item__brand { font-size: 10.5px; font-weight: 800; text-transform: uppercase; color: var(--nt-ink-faint); }
.nt-cart-item__name { font-size: 14.5px; font-weight: 700; margin: 2px 0; }
.nt-cart-item__variant { font-size: 12.5px; color: var(--nt-ink-soft); }
.nt-cart-item__price { font-family: var(--f-display); font-weight: 700; font-size: 14px; white-space: nowrap; }
.nt-cart-item__qty { margin-top: 6px; }

.nt-cart-summary {
  padding: 20px;
  border-radius: 20px;
  background: var(--nt-white);
  box-shadow: var(--nt-card-shadow);
}
.nt-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--nt-ink-soft);
  padding: 6px 0;
}
.nt-summary-row--total {
  font-weight: 800;
  font-size: 16px;
  color: var(--nt-ink);
  border-top: 1px solid rgba(26, 21, 35, 0.08);
  margin-top: 8px;
  padding-top: 12px;
}
.nt-coupon-row { display: flex; gap: 10px; margin: 14px 0; }
.nt-coupon-row input { flex: 1; }

/* ── CHECKOUT: numbered sections ─────────────────────────── */
.nt-checkout-section {
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 20px;
  background: var(--nt-white);
  box-shadow: var(--nt-card-shadow);
}
.nt-checkout-section__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.nt-checkout-section__num {
  width: 26px; height: 26px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--nt-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.nt-checkout-section__title { font-weight: 800; font-size: 15px; }

.nt-payment-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1.5px solid rgba(26, 21, 35, 0.08);
}
.nt-payment-option + .nt-payment-option { margin-top: 10px; }
.nt-payment-option.is-selected { border-color: var(--nt-purple-dark); background: var(--nt-pill-bg); }
.nt-payment-option__title { font-weight: 700; font-size: 14px; }
.nt-payment-option__desc { font-size: 12.5px; color: var(--nt-ink-soft); margin-top: 2px; }

.nt-checkout-sticky-total {
  position: sticky;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  margin-top: 8px;
}

/* ── Fallback restyle for native WooCommerce totals/order-review
   tables (cart-totals.php / review-order.php are not overridden,
   so restyle them here to keep the glass-card look). ────────── */
.cart_totals,
.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
}
.cart_totals th,
.cart_totals td,
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(26, 21, 35, 0.06);
  text-align: left;
}
.cart_totals .order-total th,
.cart_totals .order-total td,
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
  font-weight: 800;
  font-size: 16px;
  border-bottom: none;
}
.cart_totals .checkout-button,
#place_order {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  border-radius: var(--nt-radius-btn) !important;
  background: var(--nt-gradient) !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: var(--nt-btn-shadow);
  border: none !important;
}
.woocommerce-checkout #payment {
  background: transparent;
  border: none;
}
.woocommerce-checkout #payment ul.payment_methods {
  list-style: none;
  padding: 0;
}
.woocommerce-checkout #payment ul.payment_methods li {
  padding: 14px;
  border-radius: 14px;
  border: 1.5px solid rgba(26, 21, 35, 0.08);
  margin-bottom: 10px;
}
.woocommerce-checkout #payment ul.payment_methods li input[type="radio"]:checked ~ label {
  color: var(--nt-purple-dark);
}
