@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Tajawal", sans-serif;
}

body {
  font-family: "Tajawal", sans-serif;
  margin: 0;
  padding: 0;
  direction: rtl;
  background-color: #eef2ef;
}

.cart-container {
margin: 10px auto;
  max-width: 1200px;
  padding: 20px;
  background-color: #eef2ef;
  border-radius: 10px;
}

.cart-header {
  text-align: left;
  margin-bottom: 30px;
  margin-top: 10px;
}

.cart-header h1 {
  font-size: 25px;
  font-weight: 700;
  color: #333;
  text-align: right;
}

.cart-header p {
  font-size: 14px;
  color: #999;
}

.cart-header a {
  text-decoration: none;
  color: #333;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th,
.cart-table td {
  padding: 15px;
  text-align: left;
}

.cart-table th {
  background-color: #f0f0f0;
  font-weight: 600;
}

.cart-table tr {
  border-bottom: 1px solid #ddd;
}

.cart-table td {
  vertical-align: middle;
}

.cart-table img {
  width: 80px;
  margin-right: 15px;
  border-radius: 5px;
}

.item-info {
  display: flex;
  align-items: center;
}

.remove-item {
  color: red;
  text-decoration: none;
  font-weight: 600;
}

.remove-item:hover {
  text-decoration: underline;
}

.checkout {
  text-align: right;
  margin-top: 40px;
  display: flex;
  justify-content: end;
}

#checkout-btn {
  padding: 12px 30px;
  background-color: #000;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;

}

#checkout-btn:hover {
  background-color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .cart-header h1 {
    font-size: 28px;
  }

  .cart-table img {
    width: 60px;
  }

  #checkout-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {

  .cart-table th,
  .cart-table td {
    font-size: 14px;
  }

  .cart-table img {
    width: 50px;
  }
}

.empty-cart-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.empty-cart {
  text-align: center;
  padding: 50px;
  border-radius: 10px;
  max-width: 600px;
  width: 100%;
}

.cart-icon {
  font-size: 48px;
  margin-bottom: 20px;
  color: #333;
}

.empty-cart h1 {
  font-size: 23px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.empty-cart p {
  font-size: 15px;
  color: #666;
  margin-bottom: 30px;
}

#return-shop-btn {
  padding: 12px 30px;
  background-color: #000;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

#return-shop-btn:hover {
  background-color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .empty-cart {
    padding: 30px;
  }

  .empty-cart h1 {
    font-size: 20px;
  }

  .empty-cart p {
    font-size: 14px;
  }

  #return-shop-btn {
    font-size: 14px;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .empty-cart {
    padding: 20px;
  }

  .empty-cart h1 {
    font-size: 18px;
  }

  .empty-cart p {
    font-size: 12px;
  }

  #return-shop-btn {
    font-size: 12px;
    padding: 8px 15px;
  }
}