/* Center the checkout container & give some breathing room */
.checkout-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #021317;
  border: 2px solid #21b5ef;
  border-radius: 8px;
  color: #fff;
}

/* Headline */
.checkout-container h1 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: #21b5ef;
}

/* ── Shipping form row ───────────────────────────────────────────────────────── */
.shipping-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.shipping-form label {
  flex-basis: 100%;
  color: #49c2f2;
  margin-bottom: 0.25rem;
}

.shipping-form input {
  flex: 1 1 auto;
  padding: 0.5rem;
  border: 1px solid #49c2f2;
  border-radius: 4px;
  background: #021317;
  color: #fff;
}

.shipping-form input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(73, 194, 242, 0.5);
}

.shipping-form button {
  flex: 0 0 auto;
  padding: 0.5rem 1rem;
  background: #21b5ef;
  color: #021317;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.shipping-form button:hover {
  background: #49c2f2;
}

/* ── Summary table styling ───────────────────────────────────────────────────── */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.cart-table th,
.cart-table td {
  padding: 0.5rem;
  border: 1px solid #49c2f2;
}

.cart-table th {
  background-color: #021317;
  color: #49c2f2;
  text-align: left;
}

.cart-table tfoot td {
  font-weight: bold;
}

/* PayPal button alignment */
#paypal-button-container {
  text-align: center;
  margin-top: 1rem;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .checkout-container {
    margin: 1rem;
    padding: 1rem;
  }
  .cart-table th,
  .cart-table td {
    padding: 0.25rem;
    font-size: 0.9rem;
  }
}
