/* === Container === */
.custom-cart-container {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 30px;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

/* === Headings === */
.custom-cart-container h1 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #222;
}

.custom-cart-container p {
  color: #666;
  margin-bottom: 30px;
}

/* === Cart Item Box === */
.cart-item-box {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  text-align: left;
}

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

/* === Title & Link === */
.cart-item-box h2 {
  font-size: 20px;
  margin: 0 0 10px;
}

.cart-item-box h2 a {
  color: #0073aa;
  text-decoration: none;
}

.cart-item-box h2 a:hover {
  text-decoration: underline;
}

/* === Image === */
.cart-item-box img {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
  border-radius: 6px;
}

/* === Table (Variations & Price) === */
.cart-item-box table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.cart-item-box table td {
  padding: 8px;
  vertical-align: top;
}

.cart-item-box table td:first-child {
  font-weight: bold;
  width: 150px;
  color: #333;
}

/* === Quantity Input === */
.ic-qty-input {
  width: 70px;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-align: center;
  font-size: 16px;
  transition: all 0.2s ease;
}

.ic-qty-input:focus {
  outline: none;
  border-color: #0073aa;
  box-shadow: 0 0 4px rgba(0, 115, 170, 0.3);
}

/* === Button (Edit / Coupon / Apply) === */
.custom-cart-container .button {
  background: #0073aa;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  margin-top: 12px;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

.custom-cart-container .button:hover {
  background: #005f8c;
}

/* === Totals Section === */
.cart_totals {
  margin-top: 40px;
  text-align: right;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

/* === Responsive === */
@media (max-width: 768px) {
  .cart-item-box table td:first-child {
    width: 120px;
  }

  .cart_totals {
    text-align: center;
  }
}