/* خلفية الصفحة */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-image: 
    linear-gradient(135deg, #2403b5, #a3020c),
    url("https://www.transparenttextures.com/patterns/purty-wood.png");
  background-repeat: repeat;
  background-size: auto, 250px 250px;
  background-blend-mode: overlay;
  background-attachment: fixed; /* الخلفية تبقى ثابتة مهما تمررت */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff;
}


/* حاوية السلة */
.cart-container {
  background-image: 
    linear-gradient(135deg, #2403b5, #a3020c), /* التدرج الأزرق والأحمر */
    url("https://www.transparenttextures.com/patterns/purty-wood.png"); /* النقوش */

  background-repeat: repeat; /* تكرار النقوش */
  background-size: auto, auto; /* حجم النقوش */
  background-blend-mode: overlay; /* دمج النقوش مع التدرج */
  background-attachment: scroll; /* الخلفية ثابتة */

  max-width: 900px;
  margin: 40px auto;
  border-radius: 20px;
  box-shadow:
    0 8px 32px 0 rgba(31, 38, 135, 0.37),
    inset 0 0 25px 5px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}


/* عنوان السلة */
.cart-container h1 {
  font-size: 2.8rem;
  text-align: center; /* الوسط */
  margin-bottom: 30px;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 2px 2px 8px #0b3144;
}

/* جدول السلة */
.cart-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 20px;
  color: #ddd;
  font-size: 1.1rem;
}

.cart-table th, .cart-table td {
  padding: 15px 20px;
  text-align: center;
  vertical-align: middle;
  border-radius: 12px;
}

.cart-table th {
  background: rgba(255, 255, 255, 0.15);
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.cart-table tbody tr {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease;
}

.cart-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 20px #0ff, 0 0 30px #0ff inset;
}

/* صور المنتجات */
.cart-table img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(15, 255, 255, 0.6);
  transition: transform 0.3s ease;
}

.cart-table img:hover {
  transform: scale(1.1);
}

/* الأزرار */
.btn-remove, .btn-update {
  background: linear-gradient(145deg, #0ff, #0cc);
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  color: #222;
  font-weight: 700;
  cursor: pointer;
  box-shadow:
    3px 3px 6px #0cc,
    -3px -3px 6px #0ff;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-remove:hover, .btn-update:hover {
  background: linear-gradient(145deg, #08c, #05a);
  color: #fff;
  box-shadow: 0 0 15px #0ff, 0 0 25px #0ff inset;
}

/* إجمالي السعر */
.cart-total {
  margin-top: 30px;
  text-align: right;
  font-size: 1.5rem;
  font-weight: 900;
  color: #0ff;
  text-shadow: 1px 1px 5px #08c;
}

/* زر تأكيد الطلب */
.checkout {
  margin-top: 40px;
  text-align: center;
}

.checkout a {
  display: inline-block;
  background: linear-gradient(145deg, #00ffea, #00b3a6);
  color: #001f22;
  font-weight: 900;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 1.3rem;
  text-decoration: none;
  box-shadow:
    0 0 20px #00ffea, 0 0 40px #00ffea inset;
  transition: all 0.3s ease;
}

.checkout a:hover {
  background: linear-gradient(145deg, #00b3a6, #00766e);
  color: #e0f7f6;
  box-shadow:
    0 0 40px #00ffea, 0 0 60px #00ffea inset;
}



