@import url('https://fonts.googleapis.com/css2?family=spartan:wght@100;200;300;400;500;600;700;800;900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'spartan', sans-serif;
}



h1 {
    font-size: 50px;
    line-height: 64px;
    color: #222;
}
.single-pro-details h2{
    font-size: 46px;
    line-height: 54px;
    color: #222;
}
h2 {
    font-size: 46px;
    line-height: 54px;
    color: #222;
}

h4 {
    font-size: 20px;
    color: #222;
}

h6 {
    font-weight: 700;
    font-size: 12px;
}
footer .col p{
    
    font-size: 16px;
    color: #465b52;
    margin: 15px 0 20px 0;
}
p {
    font-size: 16px;
    color: #465b52;
    margin: 15px 0 20px 0;
}

.section-p1 {
    padding: 40px 80px;
}

.section-m1 {
    margin: 40px 0;
}

button.normal{
    font-size: 14px;
    font-weight: 100;
    padding: 15px 30px;
    color: #000;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: 0.2s;
}

button.white{
    font-size: 14px;
    font-weight: 700;
    padding: 11px 18px;
    color: #ffffff;
    background-color: transparent;
    cursor: pointer;
    border: 1px solid #000000;
    outline: none;
    transition: 0.2s;
}

body {
    width: 100%;
    
}


/* header start */


#header{
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px 80px;
background-color:  #ffffff;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
z-index: 999;
position: sticky;
top: 0;
left: 0;
}
#header a img{
    width: 120px;
    height: 120px;
    
}

#navbar{
display: flex;
align-items: center;
justify-content: center;
}
#navbar li{
list-style: none;
padding: 0 20px;
position: relative;
}
#navbar li a {
text-decoration: none;
font-size: 16px;
font-weight: 600;
color: #1a1a1a;
transition: 0.3s ease;
}
#navbar li a:hover,
#navbar li a.active {
color: #965050;
}
#navbar li a.active::after,
#navbar li a:hover::after {
    content: "";
    width: 30%;
    height: 2px;
    background: #965050;
    position: absolute;
    bottom: -4px;
    left: 20px;
}



#lg-bag a:hover, #mobile a:hover {
    color: #e68a8a; /* تغيير اللون عند التمرير */
}

/* تصميم العدّاد داخل السلة */
.cart-count, .cart-count-mobile{
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #a06464; /* لون الخلفية */
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 50%;
    min-width: 20px;
    text-align: center;
    line-height: 1;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* تأثير التكبير عند إضافة منتج */
.cart-count,.cart-count-mobile{
    transform: scale(1);
    opacity: 1;
}

.cart-count.new-items,.cart-count-mobile.new-items{
    transform: scale(1.2); /* تكبير العدّاد عند إضافة منتج */
    opacity: 0.9;
}

/* تأثير عند إضافة منتج: عدّاد السلة يتألق */
.cart-count,.cart-count-mobile{
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* إضافة تأثير عند التمرير فوق عدّاد السلة */
.cart-count:hover,.cart-count-mobile:hover{
    background-color: #ab9595; /* تغيير اللون عند التمرير فوق العدّاد */
}

/* التدرج في الخلفية عند زيادة المنتجات */
.cart-count {
    animation: pulse 1s infinite;
}
.cart-count-mobile{
    animation: pulse 1s infinite;
}


/* تأثير نبضة عند إضافة منتج */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}


#mobile {
    display: none;
    align-items: center;
    padding: 20px;
}

#close{
    display: none;
}


/* home page*/
#hero {
    position: relative;
    height: 90vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; /* لون النص الأبيض ليكون واضحًا على الخلفية */
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1; /* لجعل الفيديو خلف المحتوى */
}

.hero-content {
    z-index: 1; /* لجعل المحتوى فوق الفيديو */
    text-align: center;
    padding: 0 80px;
}
#hero h4, h2, h1, p{
    color: #fff;
}

#hero button{
    background-color: #fff;
    color: #000000;
    border: 0;
    padding: 14px 80px 14px 65px;
    background-repeat: no-repeat;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    border-radius: 14px;

}

#feature{
    background-color:#ede5eb ;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
#feature .fe-box{
   background-color: #ffffff;
   width: 180px;
   text-align: center;
   padding: 25px 15px;
   box-shadow: 20px 20px 34px rgba(0, 0, 0, 0.03);
   border: 1px solid #cce7d0;
   border-radius: 4px;
   margin: 15px 0;
}
#feature .fe-box:hover{
    box-shadow: 10px 10px 54px rgba(70, 62, 221, 0.1);
}  
#feature .fe-box img{
    width: 100%;
    margin-bottom: 10px;
}
#feature .fe-box h6{
    display: inline-block;
    padding: 9px 8px 6px 8px;
    line-height: 1;
    border-radius: 4px;
    color: #088178;
    background-color: #fddde4;

} 
#feature .fe-box:nth-child(2) h6{
    background-color: #cdebbc;
}
#feature .fe-box:nth-child(3) h6{
    background-color: #d1e8f2;
}
#feature .fe-box:nth-child(4) h6{
    background-color: #cdd4f8;
}
#feature .fe-box:nth-child(5) h6{
    background-color: #fff2e5;
}

#product1{
    text-align: center;
}
#product1 h2 {
    font-size: 46px;
    line-height: 54px;
    color: #222;
}
#product1 p {
    font-size: 16px;
    color: #465b52;
    margin: 15px 0 20px 0;
}
#product2 h2 {
    font-size: 46px;
    line-height: 54px;
    color: #222;
}
#product2 p {
    font-size: 16px;
    color: #465b52;
    margin: 15px 0 20px 0;
}
#product2{
    text-align: center;
}
#product1 .pro-container{
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    flex-wrap: wrap;
}
#product2 .pro-container{
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    flex-wrap: wrap;
}
#product1 .pro{
    width: 23%;
    min-width: 250px;
    padding: 10px 12px;
    border: 1px solid #cce7d0;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 20px 20px 30px rgba(0,0,0,0.02);
    margin: 15px 0;
    transition: 0.2s ease;
    position: relative;
}
#product2 .pro{
    width: 23%;
    min-width: 250px;
    padding: 10px 12px;
    border: 1px solid #cce7d0;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 20px 20px 30px rgba(0,0,0,0.02);
    margin: 15px 0;
    transition: 0.2s ease;
    position: relative;
}
#product1 .pro:hover{
    box-shadow: 20px 20px 30px rgba(0,0,0,0.06);
}
#product2 .pro:hover{
    box-shadow: 20px 20px 30px rgba(0,0,0,0.06);
}
#product1 .pro img{
    width: 100%;
    border-radius: 20px;
}
#product2 .pro img{
    width: 100%;
    border-radius: 20px;
}
#product1 .pro .des{
     text-align: start;
     padding: 10px 0;
}
#product2 .pro .des{
    text-align: start;
    padding: 10px 0;
}
#product1 .pro .des span{
    color: #606063;
    font-size: 12px;
}
#product2 .pro .des span{
    color: #606063;
    font-size: 12px;
}


.product-rating-stars {
    width: 1px;
    
    margin-right: 6px;
    padding-top: 20px;
    padding-bottom: 25px;
    padding-left: 25px;
    padding-right: 25px;
   
  
    display: flex;
}

#product1 .pro .des i{
    font-size: 12px;
    color: rgb(243, 181, 25);
}
#product2 .pro .des i{
    font-size: 12px;
    color: rgb(243, 181, 25);
}
#product1 .pro .des h4{
    padding-top: 7px;
    font-size: 15px;
    font-weight: 700;
    color: #088178;
}
#product2 .pro .des h4{
    padding-top: 7px;
    font-size: 15px;
    font-weight: 700;
    color: #088178;
}
#product1 .pro .add-to-cart{
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50px;
    background-color: #e8f6ea;
    font-weight: 500;
    color: #088178;
    border: 1px solid #cce7d0;
    position: absolute;
    bottom: 20px;
    right: 10px;
}
#product2 .pro .add-to-cart{
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50px;
    background-color: #e8f6ea;
    font-weight: 500;
    color: #088178;
    border: 1px solid #cce7d0;
    position: absolute;
    bottom: 20px;
    right: 10px;
}
.confirmation-message{
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ad7b79;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    display: none;
    z-index: 1000;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.add-to-cart i{
    transition: transform 0.2s ease;
}
.add-to-cart i:hover{
    transform: scale(1.2);
}
#banner{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url("img/g9.jpeg");
    width: 100%;
    height: 40vh;
    background-size: cover;
    background-position: center;
}
#banner h4{
    color: #fff;
    font-size: 16px;
}
#banner h2{
    color: #fff;
    font-size: 30px;
    padding: 10px 0;
}
#banner h2 span{
    color: #e38f8b;
}
#banner button:hover{
    background: #088178;
    color: #fff;
}
#sm-banner{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
#sm-banner .banner-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-image: url("img/banner/b3.jpg");
    min-width: 580px;
    height: 50vh;
    background-size: cover;
    background-position: center;
    padding: 30px;
}
#sm-banner .banner-box2{
    background-image: url("img/banner/b4.jpg");
}
#sm-banner h4{
    color: #cedff5;
    font-size: 20px;
    font-weight: 300;
}
#sm-banner h2{
    color: #cedff5;
    font-size: 28px;
    font-weight: 800;
}
#sm-banner span{
    color: #cedff5;
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 15px;
}
#sm-banner .banner-box:hover button{
    background-color: #088178;
    border: 1px solid #088178;
}
#banner3{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 80px;
}
#banner3  .banner-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-image: url("img/l7.jpeg");
    min-width: 30%;
    height: 30vh;
    background-size: cover;
    background-position: center;
    padding: 20px;
    margin-bottom: 20px;
}
#banner3  .banner-box2{
    background-image: url("img/l9.jpeg");
}
#banner3  .banner-box3{
    background-image: url("img/l8.jpeg");
}
#banner3 h2{
    color: #ba6a6a;
    font-weight: 900;
    font-size: 22px;
}
#banner3 h3{
    color: #eb6262;
    font-weight: 800;
    font-size: 15px;
}


#newsletter {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background: linear-gradient(to left, #330d0d, #6a2929, #ae6262, #e5aaaa, #c99c9c, #765f5f, #595656, #2c2b2b);
    align-items: center;
    padding: 20px;
}

#newsletter .newstext {
    flex: 1;
}

#newsletter .form {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

#newsletter .form form {
    display: flex;
    align-items: center; /* يجعل العناصر في وسط الخط */
    width: 100%;
    max-width: 400px; /* لتحديد عرض أقصى لنموذج الاشتراك */
    border-radius: 5px;
    overflow: hidden; /* لضمان أن التصميم يبقى منسجمًا */
}

#newsletter .form input {
    flex: 1;
    height: 3.125rem;
    padding: 0 1rem;
    font-size: 14px;
    border: none;
    outline: none;
}

#newsletter .form button {
    height: 3.125rem;
    padding: 0 1.5rem;
    background-color: #c17d7d;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

#newsletter .form button:hover {
    background-color: #a86363;
}
footer .hipa{
    display: flex;
    flex-wrap: wrap; 
}

footer{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

footer .col{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}
.col img{
    width: 130px;
    height: 130px;
}
footer.logo{
   margin-bottom: 30px;
}
footer h4{
    font-size: 14px;
    padding-bottom: 20px;
 }
footer .col p{
    font-size: 13px;
    margin: 0 0 8px 0;
 }


footer a{
    font-size: 13px;
    text-decoration: none;
    color: #222;
    margin-bottom: 10px;
 }
footer .follow{
   margin-top: 20px;
 }

 footer .follow i{
    color: #465b52;
    padding-right: 4px;
    cursor: pointer;
  }
 
footer .social-icons a{
    font-size: 20px;
}
footer .follow i:hover,
footer a:hover{
    color: #088178;
    
 }

footer .copyright{
    width: 100%;
    text-align: center;
 }
 
 /*----whatsap--*/
 /* جعل الصورة دائرية */
.whatsapp-icon {
    width: 80px; /* تحديد الحجم */
    height: 80px; 
    border-radius: 50%; /* جعلها دائرية */
    object-fit: cover; /* ضمان تغطية الصورة بالكامل */
    border: 3px solid #fff; /* إطار أبيض حول الصورة */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* إضافة ظل للصورة */
    
    /* تثبيت الصورة في مكانها */
    position: fixed;
    bottom: 20px; /* المسافة من الأسفل */
    right: 20px;  /* المسافة من اليمين */
    z-index: 1000; /* ضمان ظهورها فوق العناصر الأخرى */
}




/* shop page */
#page-header{
    background-image: linear-gradient(135deg,#838282 10%,  #a53333 100%) ;
    width: 100%;
    height: 20vh;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 14px;
 }

 #page-header h2,
 #page-header p{
    color: #ffffff;
 }

#pagination{
    text-align: center;
}

#pagination a{
   text-decoration: none;
   background-color: #9b2929;
   padding: 15px 20px;
   border-radius: 4px;
   color: #fff;
   font-weight: 600;
}

#pagination a i{
    font-size: 16px;
    font-weight: 600;
}


/* single product */

#prodetails{
    display: flex;
    margin-top: 20px;
}


#prodetails .single-pro-image{
     width: 40%;
     margin-right: 50px;
}

.small-img-group{
    display: flex;
    justify-content: space-between;
}

.small-img-col{
    flex-basis: 24%;
    cursor: pointer;
}

#prodetails .single-pro-details{
    width: 50%;
    padding-top: 30px;
}

#prodetails .single-pro-details h4{
    padding: 40px 0 20px 0;
}

#prodetails .single-pro-details h2{
    font-size: 26px;
}

#prodetails .single-pro-details select{
    display: block;
    padding: 5px 10px;
    margin-bottom: 10px;
}

#prodetails .single-pro-details input{
    width: 50px;
    height: 47px;
    padding-left: 10px;
    font-size: 16px;
    margin-right: 10px;
}

#prodetails .single-pro-details input:focus{
    outline: none;
}


#prodetails .single-pro-details button{
    background-color: #9b2929;
    color: #fff;
}

#prodetails .single-pro-details span{
    line-height: 30px;
}

/* blog page */
.page{
    background: linear-gradient(#d3977779, #edf1f1, #d7404085) ;
    width: 100%;
    height: 20vh;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 14px;
 }

 .page h2,
 .page p{
    color: #1c1c1c;
 }
        /* قسم المدونات */
        .blog-posts {
            background-color: #f6f3f3;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
            padding: 20px;
        }

        .blog-post {
            background-color: #ffffff;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            margin: 15px;
            width: 30%;
            overflow: hidden;
            transition: transform 0.3s ease;
        }

        .blog-post:hover {
            transform: translateY(-10px);
        }

        .blog-post img {
            width: 100%;
            height: 500px;
            object-fit: cover;
        }

        .blog-post-content {
            padding: 20px;
        }

        .blog-post-content h2 {
            margin: 0 0 10px;
            font-size: 1.5rem;
        }

        .blog-post-content p {
            font-size: 1rem;
            line-height: 1.6;
            color: #666;
        }

        .blog-post-content a {
            display: inline-block;
            margin-top: 10px;
            color: #333;
            text-decoration: none;
            font-weight: bold;
        }

        .blog-post-content a:hover {
            color: #007bff;
        }

        /* تذييل الصفحة */
        footer {
            background-color: #ffffff;
            color: #fff;
            text-align: center;
            padding: 20px 0;
            margin-top: 40px;
        }

        footer p {
            margin: 0;
            font-size: 1rem;
        }

        /* تصميم متجاوب */
        @media (max-width: 768px) {
            .blog-post {
                width: 45%;
            }
        }

        @media (max-width: 480px) {
            .blog-post {
                width: 100%;
            }
        }














/* Cart Page */

#pag-header{
    background-image: linear-gradient(135deg,#838282 10%,  #a53333 100%) ;
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 14px;
 }

 #pag-header h2,
 #pag-header p{
    color: #3b1d1d;
 }

#cart {
    overflow-x: auto;
}
#cart table{
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    white-space: nowrap;
}

#cart table img{
    width: 70px;
}

#cart table td:nth-child(1){
    width: 100px;
    text-align: center;
}

#cart table td:nth-child(2){
    width: 150px;
    text-align: center;
}

#cart table td:nth-child(3){
    width: 250px;
    text-align: center;
}

#cart table td:nth-child(4),
#cart table td:nth-child(5),
#cart table td:nth-child(6){
    width: 150px;
    text-align: center;
}

#cart table td:nth-child(5) input{
    width: 70px;
    padding: 10px 5px 10px 15px;
}


#cart table thead{
    border: 1px solid #e2e9e1;
    border-left: none;
    border-right: none;
}

#cart table thead td{
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    padding: 18px 0;
}

#cart table tbody  tr td{
    padding-top: 14px;
}

#cart table tbody  td{
    font-size: 13px;
}


#cart-add{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#coupon{
    width: 50%;
    margin-bottom: 30px;
}

#coupon h3,
.Checkouttotals h3 {
    padding-bottom: 15px;
}

#coupon input{
    padding: 10px 20px;
    outline: none;
    width: 60%;
    margin-right: 10px;
    border: 1px solid #e2e9e1;
}

#coupon button,
.Checkouttotals button {
    background-color: #9b2929;
    color: #fff;
    padding: 12px 20px;
}

.Checkouttotals{
    width: 50%;
    margin-bottom: 30px;
    border: 1px solid #e2e9e1;
    padding: 30px;
}

.Checkouttotals table{
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
}

.Checkouttotals table td{
    width: 50%;
    border: 1px solid #e2e9e1;
    padding: 10px;
    font-size: 13px;
}











.register-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: absolute;
    top: 10%;
    left: 40%;
    transform: translateX(-10%, -10%);
}

.register-container h1 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 1rem;
    text-align: right;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus {
    border-color: #869cb7;
    outline: none;
}
.red {
    
    background-color: #537291;
    color: #fff;
   
    transition: background-color 0.3s ease;
}

.red:hover {
    background-color: #7e9bbc;
}

.login-link {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #555;
}

.login-link a {
    color: #64707f;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

.success-message {
    color: #28a745;
    margin-bottom: 1rem;
}

.error-message {
    color: #dc3545;
    margin-bottom: 1rem;
}





.login-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: absolute;
    top: 10%;
    left: 40%;
    transform: translateX(-10%, -10%);
}

.login-container h1 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 1rem;
    text-align: right;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus {
    border-color: #8c9fb1;
    outline: none;
}

.red{
    width: 100%;
    padding: 0.75rem;
    background-color: #646d78;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.red:hover {
    background-color: #69737c;
}

.register-link {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #555;
}

.register-link a {
    color: #007bff;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

.success-message {
    color: #28a745;
    margin-bottom: 1rem;
}

.error-message {
    color: #dc3545;
    margin-bottom: 1rem;
}




/* تنسيق الحاوية الرئيسية */
.admin-container {
    max-width: 1200px;
    margin: 20px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}



/*----------- banner ----------*/
.banner {
    background: #fcc927;
    width: 100%;
    height: 50vh;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
}

/* إضافة صورة الخلفية */
.banner::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: 10%;
    background-image: url('img/hh01.png');
    width: 316px;
    height: 245px;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.8;
    background-repeat: no-repeat;
}

/* تحسين النص داخل البانر */
.banner .detail {
    position: relative;
    z-index: 2;
}

.banner .detail h1 {
    font-size: 3.5rem;
    color: #fff;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.banner .detail p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #222;
}

/*----------- header ----------*/
header {
    background: #fcc927;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 101;
    padding: 1rem 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease-in-out;
}

header.scrolled {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.header .scrolled:hover {
    color: var(--orange);
}

/* تحسين تنسيق القائمة */
.flex {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    position: relative;
}

/* تنسيق الروابط في القائمة */
.navbar a {
    margin: 0 1rem;
    font-size: 1rem;
    color: #000;
    text-transform: uppercase;
    transition: color 0.3s ease-in-out;
}
/* تحسين أيقونات الهيدر */
.header .icons {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.navbar a:hover,
header .icons i:hover {
    color: #fff;
    text-decoration: none;
}
#men-btn{
    display: none;
}
.header .user-box{
    position: absolute;
    top: 120%;
    right: 0rem;
    background: rgb(255 255 255 / 80%);
    box-shadow: 0px 0px 0px 6px rgb(255 255 255/40%);
    border-radius: .5rem;
    padding: 1rem;
    text-align: center;
    width: 20rem;
    transform: scale(0);
    transform-origin: top right;
    line-height: 2;
}
.logout-btn{
    background: #000;
    color: #fff;
    text-transform: uppercase;
    width: 10rem;
    border-radius: 4px;
}
.header .user-box.active{
    transform: scale(1.0);
    transition: .2s linear;
}

/*----------- admin dashboard ----------*/


.dashboard {
    background: rgb(206, 206, 205);
    padding: 3rem;
    margin-top: -3.5rem;
    position: relative;
    overflow: hidden; /* لمنع أي محتوى يفيض خارج المساحة */
}

.dashboard::before {
    position: absolute;
    content: '';
    top: -10%;
    left: -10px;
    background-image: url('img/hh01.png');
    width: 600px;
    height: 600px;
    background-size: 225px;
    background-repeat: no-repeat;
    z-index: 100;
    opacity: 0.6; /* لجعل الصورة أقل وضوحًا */
}

.box-container {
    padding: 2% 8%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); /* تصحيح هنا */
    gap: 1.5rem; /* استخدام gap بدلاً من column-gap و row-gap */
}

.box-container .box {
    background: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); /* تحسين الظل */
    padding: 2rem;
    text-align: center;
    border-radius: 10px; /* زيادة نصف القطر للزوايا */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* إضافة تأثيرات عند التمرير */
}

.box-container .box:hover {
    transform: translateY(-5px); /* تأثير رفع الصندوق عند التمرير */
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2); /* زيادة الظل عند التمرير */
}

.dashboard h3 {
    text-align: center;
    font-size: 2rem;
    color: #333; /* لون النص */
    margin-bottom: 0.5rem; /* تباعد بين العنوان والنص */
}

.dashboard p {
    font-size: 1.1rem; /* تصغير حجم النص قليلاً */
    text-transform: capitalize;
    margin: 0.5rem 0;
    color: #666; /* لون النص الثانوي */
}



/* تحسينات إضافية */
.line4 {
    height: 2px;
    background: #ddd;
    margin: 1rem 0;
}

/* تنسيقات للرأس */
header {
    background: #9ca0a4;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2rem;
}

/* تنسيقات للرسائل */
.messages {
    background: #fff;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

.messages h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.messages p {
    font-size: 1rem;
    color: #717070;
    margin: 0.5rem 0;
}

/*----------- admin product page----------*/
.message, .empty {
    background-color: #767a76;
    color: #ffffff;
    padding: 10px 15px;
    margin: 10px auto; /* توسيط العنصر أفقيًا */
    border-radius: 5px;
    display: flex;
    justify-content: center; /* توسيط المحتوى أفقيًا */
    align-items: center; /* توسيط المحتوى عموديًا */
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center; /* توسيط النص */
}

.box .hello p{
    color: #000;
    background-color: #e1eb9b;
    padding: 13px 12px;
    border-radius: 7px;
}
.title01{
        display: block;         /* تأكد من أن العنصر يأخذ سطرًا كاملًا */
        text-align: center;     /* يجعل النص في وسط العنصر */
        margin: 0 auto;         /* يضمن أن العنصر نفسه في المنتصف إذا كان له عرض محدد */
        font-size: 2rem;        /* حجم الخط */
        font-weight: bold;      /* جعل النص عريض */
}
.message i{
    cursor: pointer;
    font-size: 18px;
}
.message , .empty p{
    color: #f7f6f6;
}
/* 🌟 تصميم النموذج */
.from-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    margin-top: 20px;
   
 
}

/* ✨ زر الإضافة */
.btn {
    width: 100%;
    padding: 10px;
    background-color: #9ea49e;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.btn:hover {
    background-color: #9ba19c;
}
.add-products {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* تنسيق العنوان */
.add-products h2 {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

/* تنسيق حقول الإدخال */
.input-field {
    margin-bottom: 20px;
}

.input-field label {
    display: block;
    font-size: 16px;
    color: #555;
    margin-bottom: 8px;
}

.input-field input[type="text"],
.input-field textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.input-field input[type="text"]:focus,
.input-field textarea:focus {
    border-color: #4CAF50;
    outline: none;
}

.input-field textarea {
    resize: vertical;
    min-height: 100px;
}

/* تنسيق حقل تحميل الصورة */
.input-field input[type="file"] {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
/* 🌟 تصميم النموذج */
.from-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    margin-top: 20px;
   
 
}

/* ✨ زر الإضافة */
.btn {
    width: 100%;
    padding: 10px;
    background-color: #9ea49e;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.btn:hover {
    background-color: #9ba19c;
}
.add-products {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* تنسيق العنوان */
.add-products h2 {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

/* تنسيق حقول الإدخال */
.input-field {
    margin-bottom: 20px;
}

.input-field label {
    display: block;
    font-size: 16px;
    color: #555;
    margin-bottom: 8px;
}

.input-field input[type="text"],
.input-field textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.input-field input[type="text"]:focus,
.input-field textarea:focus {
    border-color: #4CAF50;
    outline: none;
}

.input-field textarea {
    resize: vertical;
    min-height: 100px;
}

/* تنسيق حقل تحميل الصورة */
.input-field input[type="file"] {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
}



/* تقسيم المنتجات */
.show-products {
    padding: 50px 0;
    background-color: #f4f4f4;
}

.box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.box {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 250px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.box img {
    width: 100%;
    border-radius: 8px;
    height: 200px;
    object-fit: cover;
}

.box p {
    color: #333;
    font-size: 16px;
    margin-top: 10px;
}

.box h4 {
    font-size: 18px;
    color: #333;
    margin: 10px 0;
}

.box details {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

.box a {
    display: inline-block;
    padding: 8px 15px;
    margin: 5px 0;
    text-decoration: none;
    color: white;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.box   .edit {
    background-color: #e3c117;
}

.box .edit:hover {
    background-color: #e3c117;
}

.box  .delete {
    background-color: #6f6f6f;
}

.box  .delete:hover {
    background-color: #6f6f6f;
}

/* التنسيق عند مرور الفأرة */
.box:hover {
    transform: translateY(-10px);
}

/* حالة عدم وجود منتجات */
.empty {
    text-align: center;
    font-size: 18px;
    color: #555;
}

/* خط الفاصل */
.line4 {
    width: 100%;
    height: 2px;
    background-color: #ddd;
    margin: 30px 0;
}

details {
   
    padding: 10px;
    margin-top: 5px;
    cursor: pointer;
}

summary {
    font-weight: bold;
    cursor: pointer;
}

details p {
    margin-top: 10px;
    color: #555;
   
}

.update-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.update-container img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.update-container input[type="text"],
.update-container input[type="number"],
.update-container textarea,
.update-container input[type="file"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.update-container textarea {
    height: 150px;
    resize: vertical;
}




/* تخطيط الأزرار بشكل عمودي */
.button-container {
    display: flex;
    flex-direction: column; /* يجعل الأزرار عمودية */
    gap: 10px; /* المسافة بين الأزرار */
    margin-top: 20px;
   
}

.update-container input[type="submit"],
.update-container input[type="reset"] {
    width: 100%; /* نفس العرض */
    padding: 12px 20px; /* نفس الطول */
    border: none;
    border-radius: 7px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
}

.update-container input[type="submit"] {
    background-color: #938d5c;
    color: white;
}

.update-container input[type="submit"]:hover {
    background-color: #938d5c;
}

.update-container input[type="reset"] {
    background-color: #8a8888;
    color: white;
}

.update-container input[type="reset"]:hover {
    background-color: #8a8888;
}

.update-container .edit {
    background-color: #007bff;
    color: #ffffff;
}

.update-container .edit:hover {
    background-color: #0056b3;
}

.update-container .option-btn {
    background-color: #6c757d;
    color: white;
}

.update-container .option-btn:hover {
    background-color: #5a6268;
}





/* تنسيقات عامة لقسم review-section */
#review-section {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#review-section h4 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

/* تنسيقات حقول الإدخال */
#review-section .two {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

#review-section .two:focus {
    border-color: #923232;
    outline: none;
    box-shadow: 0 0 5px #f1575780;
}

/* تنسيقات حقل النص */
#review-section textarea.two {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    resize: vertical; /* يسمح بتغيير الارتفاع فقط */
    min-height: 100px;
    box-sizing: border-box;
}

#review-section textarea.two:focus {
    border-color: #923232;
    outline: none;
    box-shadow: 0 0 5px rgba(244, 77, 77, 0.5);
}
#review-section button.normal {
    width: 100%;
    padding: 10px;
    background-color: #933636;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#review-section button.normal:hover {
    background-color: #b23737;
}

/* تنسيقات زر الإرسال */








/* ⚡ تحسين التصميم للهواتف */
@media (max-width: 600px) {
    .from-container {
        padding: 15px;
    }
    .btn {
        font-size: 14px;
    }
}






@media (max-width: 2000px) {
footer .hipa {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
    padding: 12px;
}

footer .hipo {
    display: block;
    justify-content: space-between;
    align-items: center;
    padding: 0px 200px;
    margin-left: 400px;
}
footer .hipo p {
    margin: 0 0 10px 0;
    font-size: 1rem;
    color: #000;
}
}





/* تحسين التصميم للأجهزة الصغيرة */
@media (max-width: 991px) {
    .banner .detail h1 {
        font-size: 2.5rem;
    }

    .banner .detail p {
        font-size: 1rem;
    }

    .navbar {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: white;
        width: 200px;
        display: none;
    }

    .navbar a {
        padding: 10px;
        border-bottom: 1px solid #ccc;
    }

    .icons {
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    #menu-btn {
        display: block;
    }
    .header .flex .navbar {
        position: absolute;
        top: 149%;
        left: 0;
        display: block;
        right: 0;
        border-top: 1px solid #000;
        background: #fff;
        transition: .3s ease;
        clip-path: polygon(0 0,100% 0, 100% 0,0 0);
    }
    .header .flex .navbar.active{
        clip-path: polygon(0 0,100% 0, 100% 100%,0 100%);
    }
    .header .flex .navbar a{
        display: block;
        margin: 2rem;
    }
    .banner .detail{
        left: 10%;
    }

 
}



@media (max-width: 768px) {
    .login-container {
      width: 90%;
      left: 50%;
      top: 20%;
      transform: translate(-50%, -20%);
      padding: 1.5rem;
    }
    .register-container {
          width: 90%;
          left: 50%;
          top: 20%;
          transform: translate(-50%, -20%);
          padding: 1.5rem;
        }
      
  }






/* start media query */

@media (max-width:799px){
    
    .section-p1 {
        padding: 40px 40px;
    }


    #navbar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: -300px;
        height: 100vh;
        width: 300px;
        background-color: #e3e6f3;
        box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
        padding: 80px 0 0 10px;
        transition: 0.3s;
    }

    #navbar.active{
        right: 0px;
    }


    #navbar li{
        margin-bottom: 25px;
    }

    #mobile{
        display: flex;
        align-items: center;
    }

    
    #mobile i{
        color: #1a1a1a;
        font-size: 25px;
        padding-left: 21px;
    }

    #close{
        display: initial;
        position: absolute;
        top: 30px;
        left: 30px;
        color: #222;
        font-size: 24px;

    }

    #lg-bag{
        display: none;
    }

    #hero {
        height: 70vh;
        padding: 0 80px;
        background-position: top 30% right 30%;
    }

    #feature{
        justify-content: center;
    }

    #feature .fe-box {
        margin: 15px 15px;
    }

    #product1 .pro-container {
        justify-content: center;
    }

    #product1 .pro {
        margin: 15px;  
    }

    #product2 .pro {
        margin: 15px;  
    }

    #banner {
        height: 20vh;
    } 

    #sm-banner .banner-box {
        min-width: 100%;
        height: 30vh;
    }

    #banner3 {
        padding: 0 40px;
    }

    #banner3  .banner-box {
        width: 28%;
    }

    #newsletter .form {
        width: 70%;
    }
    .cart-count, .cart-count-mobile {
        position: relative;
        font-size: 14px;
        font-weight: bold;
        padding: 5px 10px;
        border-radius: 50%;
        min-width: 20px;
        text-align: center;
        line-height: 1;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    }
  
}

@media (max-width:477px) {
    .section-p1 {
        padding: 20px;
    }


    #header {
        padding: 10px 30px;
    }


    h1 {
        font-size: 34px;
    }


    h2 {
        font-size: 19px;
    }


    #hero {
        padding: 0 20px;
        background-position: 55%;
    }


    #feature {
        justify-content: space-between;
    }

    #feature .fe-box {
        width: 155px;
        margin: 0 0 15px 0;
    }
    

    #product1 .pro {
        width: 100%;
    }


    #product2 .pro {
        width: 100%;
    }

    #banner {
        height: 40vh;
    }


    #sm-banner .banner-box {
        height: 40vh;
    }


    #sm-banner .banner-box2 {
       margin-top: 20px;
    }


    #banner3 {
        padding: 0 20px;
    }

    #banner3  .banner-box {
        width: 100%;
    }

    #newsletter {
        padding: 40px 20px;
    }

    #newsletter .form {
        width: 100%;
    }

    footer .copyright {
        text-align: start;
    }
    footer .hipa {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
        margin-top: 120px;
    }
    

    footer .hipo {
        display: block;
        justify-content: space-between;
        align-items: center;
        padding: 40px 20px;
        margin-left: 40px;
    }
    footer .hipo p {
        margin: 0 0 10px 0;
        font-size: 1rem;
        color: #000;
    }

   /* single product */

   #prodetails {
        display: flex;
      flex-direction: column;
    }

    #prodetails .single-pro-image{
        width: 100%;
        margin-right: 0px;
   }

   #prodetails .single-pro-details {
        width: 100%;
   }
   /*  Cart Page  */
   #cart-add {
    flex-direction: column;
   }
   #coupon {
    width: 100%;
   }
   .Checkouttotals {
    width: 100%;
    padding: 20px;
   }
   #lg-bag a, #mobile a {
    position: relative;
    display: inline-block;
    font-size: 24px;
    color: #333;
    transition: color 0.3s ease-in-out;
    }
    #lg-bag a:hover, #mobile a:hover {
        color: #e68a8a; /* تغيير اللون عند التمرير */
    }
   


}



  
