/* --- Quantity Counter Styles (Cart & Checkout) --- */
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.quantity-controls button {
  width: 32px;
  height: 32px;
  border: none;
  background: #fff;
  font-size: 1.3rem;
  font-weight: bolder;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-controls .increase-qty {
  color: green;
}

.quantity-controls .decrease-qty {
  color: red;
}

.quantity-controls button:hover {
  background: #1a8917;
  color: #fff;
}

.quantity-controls .qty {
  min-width: 28px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  padding: 2px 8px;
  margin: 0 2px;
  font-weight: bold;
}

/* Cart Container */
.cart-container {
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  direction: ltr;
}

html[dir="rtl"] .cart-container,
body[dir="rtl"] .cart-container {
  direction: rtl;
}

.cart-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
  color: white;
}




.cart-item {
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));

  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.cart-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 5px;
  aspect-ratio: 1/1;
  background-color: rgb(226, 226, 226);
}

.cart-item-details {
  flex: 1;
  margin-left: 15px;
  margin-right: 0;
}

html[dir="rtl"] .cart-item-details,
body[dir="rtl"] .cart-item-details {
  margin-left: 0;
  margin-right: 15px;
}

html[dir="rtl"] .cart-item-details,
body[dir="rtl"] .cart-item-details {
  margin-left: 0;
  margin-right: 15px;
}

.cart-item h3 {
  font-size: 18px;
  color: white;
  margin: 0;
  margin-right: 15px;
  margin-left: 0;
}

html[dir="rtl"] .cart-item h3,
body[dir="rtl"] .cart-item h3 {
  margin-right: 0;
  margin-left: 15px;
}

.cart-item .price {
  color: red;
  font-weight: bold;
}

.remove-btn {
  color: red;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bolder;
  background-color: transparent;
}



.cart-total {
  text-align: right;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  color: white;
}

html[dir="rtl"] .cart-total,
body[dir="rtl"] .cart-total {
  text-align: right;
}

.empty-cart {
  text-align: center;
  font-size: 18px;
  color: #666;
  margin-top: 50px;
}

.checkout-btn {
  display: block;
  margin: 20px auto;
  padding: 12px 25px;
  background-color: #e60023;
  color: white;
  font-size: 18px;
  text-align: center;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.checkout-btn:hover {
  background-color: #b8001b;
  cursor: pointer;
}