/* ================= CART PAGE ================= */
.cart-section {
  padding: 40px 0;
  position: relative;
}

.cart-title {
  font-weight: 800;
  margin-bottom: 30px;
}

/* ================= CLOSE BUTTON ================= */
.cart-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  background: #ffffff;
  color: #374151;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  z-index: 10;
}

.cart-close:hover {
  background: #dc2626;
  color: #ffffff;
  transform: rotate(90deg);
}

/* ================= TABLE ================= */
.cart-table-wrapper {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
}

.cart-table thead {
  background: #f9fafb;
}

.cart-table th {
  font-weight: 700;
  font-size: 14px;
}

.cart-table td {
  font-size: 14px;
  vertical-align: middle;
}

.cart-table img {
  width: 60px;
  border-radius: 10px;
}

/* ================= QUANTITY ================= */
.qty-btn {
  border: none;
  background: #e5e7eb;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: bold;
}

.qty-number {
  margin: 0 10px;
  font-weight: 600;
}

/* ================= REMOVE ================= */
.remove-btn {
  background: none;
  border: none;
  color: #dc2626;
  font-size: 18px;
}

/* ================= SUMMARY ================= */
.cart-summary {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.summary-box {
  width: 100%;
  max-width: 320px;
  background: #ffffff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.summary-box h4 {
  font-weight: 700;
}

.summary-box h3 {
  font-weight: 800;
  color: #16a34a;
}

.continue-link {
  display: block;
  text-align: center;
  margin-top: 15px;
  font-weight: 600;
}

/* ================= EMPTY CART ================= */
.empty-cart {
  text-align: center;
  padding: 60px 20px;
}

.empty-cart i {
  font-size: 60px;
  color: #d1d5db;
  margin-bottom: 20px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .cart-summary {
    justify-content: center;
  }

  .summary-box {
    max-width: 100%;
  }

  .cart-close {
    top: 15px;
    right: 15px;
  }
}
