body{
    background-image: url(../img/back5.png);
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat; 
    background-size:cover ;
}
.nav-link{
    font-size: 23px;
    font-weight: bold;
    color: #eceaea;
}
/* ///////////////////// */
#scrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: #eceaea;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    display: none;
    z-index: 99;
}

/* تنسيق زر تغيير اللغة */
#changeLanguage {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #333;
    color: #eceaea;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 99;
}

/* تأثير عند التحويم على الأزرار */
#scrollToTop:hover, #changeLanguage:hover {
    opacity: 0.9;
    transform: scale(1.05);
}
.space{
    margin: 25px 0;
    padding: 10px 0; 
}
.head h2{
    color: #eceaea;
}
.head span{
    width: 50%;
    display: inline-block;
    height: 5px;
    border-radius: 20px;
    background-color: #ecebea;
    transition: width 0.3s ease;
}
.head{
    text-align: center;
    display: inline-block;
}
.head:hover span{
    width: 90%;
}
/* ////////////////////////// */
#user{
    color: #fff;
    font-size: 20px; 
    font-weight: bold;
    display: inline-block;
    padding: 0 20px 0 50px;
}
#num-cart{
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}
.hov:hover{
    background-color: rgb(194, 143, 3);
    border-radius: 20px;
    /* opacity: 0.7; */
}
.product{
    width: 30%;
    height: 400px;
    background-image: url(../img/pro.png);
    background-position: center;
    /* background-attachment: fixed; */
    background-repeat: no-repeat; 
    background-size:cover ;
    position: relative;
    margin: 30px 0;
}
.pro-img{
    width: 90%; 
    height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% ,-50%);
}
.price{
    position: absolute;
    top: 85%;
    left: 10%;
    font-size: 20px;
    font-weight: bold;
    color: #eceaea;
    display: inline-block;
    padding: 5px;
    background-color: #333;
    border-radius: 25px;
}
.go-to-cart{
    position: absolute;
    width: 380px;
    height: 380px;
    top:50%;
    left: 50%;
    transform: translate(-50% , -50%);
    display: none;
    background-color: rgba(20,20,20,0.5);
    border-radius: 100%;
}
.product:hover .go-to-cart{
    display: block;
}
.btn-cart{
    position: absolute;
    width: 100px;
    height: 50px;
    top:50%;
    left: 50%;
    transform: translate(-50% , -50%);
    background-color: rgb(78, 20, 20);
    border: none;
    border-radius: 20px;
    color: #eceaea;
}
.title{
    position: absolute;
    width: 90%;
    top:100%;
    left: 50%;
    transform: translate(-50% , -50%);
    background-color: #333;
    border-radius: 20px;
    color: #eceaea;
}
/* ////////////////////////// */
.circle-container {
    width: 450px;
    height: 450px;
    top:50%;
    left: 50%;
    transform: translate(-50% , -50%);
    /* margin: 100px auto; */
    border-radius: 50%;
    /* background-color: #333; */
    position: relative;
    z-index: -1;
  }
  
  .rotating-text {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
  }
  .product:hover .rotating-text{
    animation: spin 10s linear infinite;
  }

  text {
    fill: #eceaea;
    font-size: 12px;
    /* font-weight: bold; */
    /* letter-spacing: 2px; */
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }  
    100% {
      transform: rotate(360deg);
    }
  }
  /* /////////////////////////////// */
  .slide{
    width: 100%; 
    height: 100vh; 
    background-color: rgba(20,20,20,0.4);
    position: fixed;
    top: 0;
    right: 0;
    justify-content: center;
    justify-items: center;
    /* display: none; */
  }
  .slide-prod{
    border-radius: 20px 0 0 20px; 
    width: 60%; 
    height: 75vh;
     background-color: rgb(193 ,154, 107);
     position: fixed;
     top: 50%;
     right: 0;
     transform: translateY(-50%);
  }
  .slide-img{
    width: 45%;
    height: 400px;
  }
  .slide-img img{
    width: 100%;
    height: 100%;
  }
  .slide-me{
    text-align: center; 
    width: 32%;
  }
  .br{
    display: block;
  }
  .slide-you{
    width: 12%; 
    direction: rtl;
  }
  .slide-price{
    color: gold;
    font-size: 25px;
    font-weight: bold;
    margin-right: 25px;
  }
  .slide-input{
    border: 2px solid #333;
    border-radius: 20px;
    padding: 5px;
    width: 100px;
    margin: 20px 10px 10px 0;
    outline: none;
  }
  .slide-btn{
    border: 2px solid #333;
    border-radius: 20px;
    padding: 5px;
    width: 100px;
    margin: 5px 10px 20px 0;
    outline: none;
    background-color: #333;
    color: #ecebea;
  }
  .slide-star{
    font-size: 30px;
    font-weight: bolder;
    margin-right: 20px;

  }
  
  /* /////////////////////////////////////////////// */
  /* أنماط النافذة المنبثقة */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .modal-content {
    background-color: #fff;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    overflow: auto;
    padding: 20px;
    position: relative;
} */

/* .close-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: red;
} */
.slide-btn2{
    border: 2px solid #333;
    border-radius: 20px;
    padding: 5px;
    width: 50px;
    margin:  10px ;
    outline: none;
    background-color: #333;
    color: #ecebea;
  }

.product-details {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.product-image img {
    max-width: 300px;
    max-height: 300px;
    border-radius: 8px;
}

.product-info {
    flex: 1;
}

.actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.add-to-cart {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.favorite-star {
    font-size: 24px;
    cursor: pointer;
    color: #ccc;
}

.favorite-star.active {
    color: gold;
}

/* أنماط السلة المنسدلة */
.cart-dropdown {
    position: absolute;
    /* left: 10%; */
    transform: translateX(-40%);
    top: 100%;
    background-color: white;
    width: 300px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 10px;
    z-index: 100;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.remove-item {
    background: none;
    border: none;
    color: #FFF;
    background-color: #333;
    border-radius: 100%;
    cursor: pointer;
    font-size: 17px;
    font-weight: bold;
}
.remove-item:hover{
    background-color: rgb(148, 109, 61);
}

.cart-total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    text-align: center;
}

.checkout-btn {
    display: block;
    margin-top: 10px;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 8px;
    border-radius: 5px;
    text-decoration: none;
}
.checkout-btn:hover{
    background-color: rgb(148, 109, 61);
}
.total-price{
    color: goldenrod;
    font-size: 20px;
    font-weight: bold;
}
/* أنماط قائمة المستخدم */
.user-dropdown {
    position: absolute;
    top: 100%;
    transform: translateX(-30%);
    background-color: white;
    width: 200px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 5px;
    z-index: 100;
    text-align: center;
}

.dropdown-item {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.logout {
    width: 80%;
    text-align: center;
    background: none;
    border: none;
    cursor: pointer;
    background-color: #333;
    color: #fff;
    border-radius: 10px;
    margin: auto;
    margin-top: 7px;
    margin-bottom: 7px;
    padding: 3px;
}
.logout:hover{
    background-color: rgb(148, 109, 61);
}
.item-info{
    background-color: rgb(148, 109, 61);
    border-radius: 30px 8px 8px 30px;
    padding: 5px;
    width: 85%;
    direction: rtl;
}
.item-info:hover{
    background-color: rgb(99, 66, 26);
}
.sec-footer{
    background-color: rgb(148, 109, 61);
    text-align: center;
    padding: 15px 0;
}
.sec-footer a{
    color: #fff;
    /* color: rgb(193 ,154, 107); */
    margin: 10px;
    text-decoration: none;
}
.sec-footer p{
    margin-bottom: 0;
}
.col-fff{
    color: #fff;
}
/* ////////////////////// */
.product{
    min-width: 400px;
    max-width: 500px;
    margin: auto;
    margin-bottom: 50px;
}
.my-div{
    display: flex; 
    top: 50%; 
    transform: translatey(-50%); 
    position: absolute; 
    justify-content: space-between; 
    padding: 10px; 
    width: 100%;

}

@media (max-width: 1450px) {
    .my-div{
        display: block; 
    }
    .slide-img{
        width: 100%;
        height:30vh;
        top: 0;
    }
    .slide-img img{
    width: 100%;
    /* height: 100%; */
    }
    .slide-me{
    width: 100%;
  }
  .slide-you{
    width: 100%; 
  }
  .slide-btn2{
    top: -2vh;
    position: absolute;
    left: -8px;
  }
  .slide-price{
        top: 23vh;
        left: 20px;
      }

}
/* ///////////////////admin-bage/////////////////// */
 .admin-container {
            padding: 20px;
            max-width: 1200px;
            margin: 0 auto;
        }
        .product-form {
            background: #f5f5f5;
            padding: 20px;
            border-radius: 10px;
            margin-bottom: 20px;
        }
        .product-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
        }
        .product-card {
            border:3px solid #d6d4d4;
            padding: 15px;
            border-radius: 8px;
            position: relative;
            background-color: rgb(193 ,154, 107);
        }
        .delete-btn {
            position: absolute;
            top: 10px;
            left: 10px;
            background: #333;
            text-align: center;
            color: white;
            border: none;
            border-radius: 50%;
            /* width: 25px;
            height: 25px; */
            cursor: pointer;
        }
        .inp{
            width: 70%;
            border-radius: 20px;
            margin: 10px 0;
            border: 2px solid rgb(170, 117, 52);
        }
        .cen{
            color: #fff;
            font-size: 15;
            font-weight: bold;
        }

 /* ///////////////////favorite-bage//////////////////////////////////////// */
         .favorite-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            padding: 20px;
        }
        .favorite-item {
            border: 3px solid #ddd;
            height: 550px;
            border-radius: 10px;
            padding: 15px;
            position: relative;
            background-color: rgb(193 ,154, 107);
        }
        .remove-btn {
            position: absolute;
            top: 10px;
            left: 10px;
            background: #333;
            color: white;
            border: none;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            cursor: pointer;
        }
/* //////////////////////////cart-bage//////////////////////////////////// */

    body { font-family: Arial; }
    h2 { color: #333; }
    table { width: 100%; border-collapse: collapse; }
    th, td { border: 1px solid #ccc; padding: 10px; text-align: center; }
    .btn { padding: 8px 16px; margin-top: 10px; cursor: pointer; border: none; border-radius: 5px; }
    .btn-danger { background-color: #e74c3c; color: #fff; }
    .btn-me { background-color: #333; color: #fff; font-size: 18px; font-weight: bold; outline: none; border-radius: 20px;border: none; padding: 8px 16px;}
    .btn-me:hover{
        background-color: rgb(211, 159, 95);
    }
    #customer-email{ border-radius: 20px; outline: none; border: 2px solid rgb(193 ,154, 107); padding: 7px;}
    .actions { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
    .hidden { display: none; }
    th{ background-color: rgb(193 ,154, 107); font-size: 18px; font-weight: bold; }
    td{background-color: rgba(247, 222, 142, 0.6); color: #333;font-size: 20px ; font-weight: bolder;background-image: url(./img/mov2.png); }
    #total-price{color: gold; font-size: 25px; font-weight: bold; margin: 10px; }
    .table-container{border-radius: 12px;
      overflow: hidden;
     background-image: url('../img/mov2.png');
     background-size: cover;
    background-position: center;
}
/* ////////////////////////////////////////////////////////////////////// */
#floating-img {
  transition: all 1s ease-in-out;
}
/* ///////////////////////////////////////////////////// */
html, body {
  height: 100%;
  margin: 0;
}

.page-wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1; /* يخلي المحتوى ياخد كل المساحة المتاحة */
}
/* //////////////////////////////////////////// */
.containerr{
    width: 83%;
    margin: auto;
    display: flex;
    justify-content: space-between;
}
@media (max-width: 990px) {
  nav {
    transform: scale(1.2); /* تكبير بنسبة 20% */
    transform-origin: top center; /* نقطة التوسيع من الأعلى */
    /* margin: auto; */
  }
  .containerr{
    width: 80%;
  }
}