/* ============================
   CART + CHECKOUT PAGE
   ============================ */

.cart-container,
.checkout-container {
  width: 100%;
  max-width: 560px;
  margin: 22px auto;
  padding: 12px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.cart-items {
  margin: 0 auto;
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.empty-cart-message {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.25rem;
  color: var(--mystic-light);
  text-shadow: 0 0 10px var(--mystic-glow);
}

.checkout-container h1 {
  font-size: 1.55rem;
  line-height: 1.15;
}

/* Cart items */
.cart-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 460px;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(157, 78, 221, 0.3);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item h3 {
  font-size: 1.3rem;
  color: var(--mystic-light);
}

.cart-item .price {
  font-size: 1.2rem;
  color: var(--mystic-gray);
}

/* Checkout form */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.checkout-form label {
  font-size: 0.92rem;
  color: var(--mystic-light);
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 7px;
  border: 1px solid var(--mystic-accent);
  background: rgba(255, 255, 255, 0.05);
  color: var(--mystic-white);
  font-size: 0.9rem;
  transition: 0.3s;
}

.checkout-form textarea {
  min-height: 68px;
}

.checkout-form input:focus,
.checkout-form textarea:focus,
.checkout-form select:focus {
  outline: none;
  border-color: var(--mystic-light);
  box-shadow: 0 0 12px var(--mystic-glow);
}

/* Order summary */
.order-summary {
  margin: 14px auto 0;
  width: 100%;
  max-width: 420px;
  padding: 6px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.order-summary h2 {
  font-size: 1.2rem;
  color: var(--mystic-light);
  text-shadow: 0 0 10px var(--mystic-glow);
  margin-bottom: 8px;
}

.order-summary .line {
  display: flex;
  justify-content: space-between;
  max-width: 280px;
  margin: 0 auto 6px;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--mystic-gray);
}

.order-summary .total {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--mystic-light);
  margin-top: 8px;
  text-shadow: 0 0 12px var(--mystic-glow);
}

/* Checkout button */
.checkout-btn {
  margin-top: 8px;
  padding: 11px 24px;
  font-size: 0.9rem;
}

.checkout-btn:hover {
  box-shadow: 0 0 22px var(--mystic-glow);
}

/* Thank-you page */
.thankyou-box {
  width: 100%;
  max-width: 700px;
  margin: 100px auto;
  padding: 40px;
  background: rgba(20, 0, 35, 0.7);
  border: 1px solid var(--mystic-accent);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 0 25px rgba(157, 78, 221, 0.4);
}

.thankyou-box h1 {
  font-size: 2.6rem;
  color: var(--mystic-light);
  text-shadow: 0 0 15px var(--mystic-glow);
}

.thankyou-box p {
  margin-top: 20px;
  font-size: 1.2rem;
  color: var(--mystic-gray);
}