/* cart.html */
.main-cart {
    background-color: #eaeded;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 400px;
    /* direction: rtl; */ /* دعم كامل للاتجاه العربي */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    box-sizing: border-box;
}
.cart-empty-container {
    background-color: #ffffff;
    width: 100%;
    padding: 35px 40px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.when-cart-empty {
    background-color: #ffffff;
    width: 100%;
    padding: 35px 40px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    gap: 60px;
}
.when-cart-notempty{
  display: flex;
  gap: 150px;
  border: 2px solid orange;
  border-radius: 8px;
  padding: 20px;
}
.cartcontent-name{
  padding: 40px 20px;
  width: 800px;
}
.when-cart-notempty img{
  border-radius: 8px;
  width: 200px;
  height: 150px;
}
.when-cart-notempty .toadd-count{
  display: flex;
  align-items: center;
  justify-content: center;
}
.when-cart-notempty .box{
  width: 120px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 2px solid orange;
  border-radius: 25px;
  /* padding: 3px; */
}
.when-cart-notempty .cart-info{
    display: flex;
    flex-direction: row;
}
.output-cart{
  width: 100%;
  height: 80px;
  margin: 30px 0;
  background-color: white;
}
.cart-empty-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.cart-empty-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0f1111;
    margin: 0 0 4px 0;
}
.cartcontent-name h3{
  font-size: 30px;
  font-weight: bold;
  color: #cc0c39;
  margin-top: 30px;
}
.promo-link {
    color: #007185;
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 24px;
}
.promo-link:hover {
    color: #c45500;
    text-decoration: underline;
}
.cart-actions {
    display: flex;
    gap: 12px; /* مسافة بين الزرين */
    align-items: center;
}
.btn-signin {
    display: inline-block;
    background-color: #ffd814;
    border: 1px solid #fcd200;
    color: #0f1111;
    padding: 0 14px;
    height: 31px;
    line-height: 31px;
    border-radius: 25px;
    font-size: 13px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 2px 5px 0 rgba(213,217,217,.5);
    transition: background-color 0.1s;
}
.btn-signin:hover {
    background-color: #f7ca00;
}
.btn-signup {
    display: inline-block;
    background-color: #ffffff;
    border: 1px solid #d5d9d9;
    color: #0f1111;
    padding: 0 14px;
    height: 31px;
    line-height: 31px;
    border-radius: 25px;
    font-size: 13px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 2px 5px 0 rgba(213,217,217,.3);
    transition: background-color 0.1s;
}
.btn-signup:hover {
    background-color: #f7f8f8;
}
.cart-empty-image {
    width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cart-empty-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.cart-info .toadd-count button{
    background-color: transparent;
    border:none;
    font-size: 20px;
}
.cart-info .toadd-count .delete-btn{
    color: red;
}
.cart-info .toadd-count .plus-btn, .minus-btn{
    color: gray;
    font-weight: bold;
}
.cart-info .toadd-count span{
    font-size: 19px;
    font-weight: bold;
}

.header-for-phone,.footer-mobile{
  display: none;
}
@media (max-width: 768px) {
    .header-for-phone, .footer-mobile {
    display: block;
    }
    .when-cart-notempty {
        width: 100% ;
        gap: 0;
        display:flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 20px;
    }
    .when-cart-notempty{
        display: flex;
        border: 2px solid orange;
        border-radius: 8px;
        padding: 20px;
    }
    .cartcontent-name{
        font-size: 15px;
        padding: 10px 0;
        width: 250px;
    }
    .when-cart-notempty img{
    border-radius: 8px;
    width: 200px;
    height: 150px;
    }
    .when-cart-notempty .toadd-count{
    display: flex;
    align-items: center;
    justify-content: center;
    }
    .when-cart-notempty .box{
    width: 120px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border: 2px solid orange;
    border-radius: 25px;
    /* padding: 3px; */
    }
    .when-cart-notempty .cart-info{
    display: flex;
    flex-direction: column;
    }
    /* .cart-empty-content {
        align-items: center;
    }
    .cart-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn-signin, .btn-signup {
        width: 100%;
    } */
}
