/* =========================
   CART PAGE – STABLE
   ========================= */

.cart-page {
  max-width: 900px;
  margin: 0 auto;
}

/* =========================
   TITLE
   ========================= */

.cart-page h2 {
  margin-bottom: 16px;
  font-size: 22px;
}

/* =========================
   EMPTY STATE
   ========================= */

#cartEmpty {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

#cartEmpty a {
  color: var(--accent-main);
  text-decoration: none;
  font-weight: 600;
}

/* =========================
   TABLE
   ========================= */

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.cart-table th,
.cart-table td {
  padding: 12px;
  font-size: 14px;
  text-align: left;
}

.cart-table th {
  background: #fafafa;
  font-weight: 600;
}

.cart-table tr:not(:last-child) td {
  border-bottom: 1px solid #eee;
}

/* =========================
   TOTAL
   ========================= */

.cart-total {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 700;
}

/* =========================
   CHECKOUT FORM
   ========================= */

.cart-form {
  margin-top: 24px;
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.cart-form h4 {
  margin-bottom: 12px;
}

.cart-form label {
  font-size: 13px;
  color: #555;
}

.cart-form input,
.cart-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.cart-form textarea {
  min-height: 80px;
  resize: vertical;
}

/* =========================
   CHECKOUT BUTTON
   ========================= */

.btn-checkout {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-checkout:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}
