@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


  
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: "Inter" , sans-serif;
}
:root{
    --main_color :  #ff8716;
    --p_color : #7b7b7b;
    --bg_color : #f3f3f3;
    --color_headig : #121416;
    --border_color : #e5e5e5d5;
    --sale_color : #E51A1A;
}
body{
   padding-top: 200px;
}
span{
    color: var(--main_color);
}
p{
    color: var(--p_color);
}
h1,h2,h3,h4,h5,h6{
    color: var(--color_headig);
    font-family: "DM_sans",sans-serif;
}
img{
    max-width: 100%;
    height: auto;
    
}
input,select,button{
    outline: none;
    border: none;
}
.btns{
    display: flex;
    align-items: center;
    gap: 20px;
}
.btn:hover{
    transform: scale(1.1);
}
.btn{
    padding: 10px 18px;
    text-transform: capitalize;
    border-radius: 2px;
    background-color: var(--main_color);
    color: white;
    display: flex;
    gap: 10px;
    align-items: center;
    transition: 0.3s;
}
.btn i{
    color: white;
}
.container{
    width: 90%;
    margin: 0 auto;
    max-width: 1350px;

    
}
@media (max-width: 1350px) {
    .container{
        width: 90%;
    }
}


header{
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 5px 8px 8px #d1d1d13b;
    z-index: 1000;
    
}
header .top_header .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}
header .top_header .logo{
    width: 100px;
}
header .top_header .search-box{
    width: 610px;
    display: flex;
    align-items: center;
    border-radius: 2px;
    background-color: var(--bg_color);
}
header .top_header .search-box input{
    height: 55px;
    width: 400px;
    padding: 5px 15px 5px 10px;
    background-color: var(--bg_color);

}
header .top_header .search-box .select-box{
    position: relative;
}
header .top_header .search-box .select-box::after{
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 1px;
    height: 50%;
    background-color: #b9b9b9;
}
header .top_header .search-box select{
    height: 55px;
    width: 190px;
    background: var(--bg_color);
    font-size: 16px;
    padding-left: 10px;
    margin-right: 15px;
    cursor: pointer;

}
header .top_header .search-box select option{
    font-size: 14px;
}
header .top_header .search-box  button{
    height: 55px;
    width: 60px;
    background-color: var(--main_color);
    font-size: 18px;
    cursor: pointer;
}
header .top_header .search-box  button i{
    color: white;
}
header .top_header .header-icons{
    display: flex;
    gap: 30px;
}
header .top_header .header-icons .icon{
    position: relative;
    cursor: pointer;
}
header .top_header .header-icons .icon i{
    font-size: 24px;
    color: black;
}
header .top_header .header-icons .icon .count{
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    background-color: var(--main_color);
    color: white;
    font-size: 11px;
    border-radius: 100%;
}
header .bottom-header{
    border-top: 1px solid var(--border_color); 
}
header .bottom-header nav{
    display: flex;
    align-items: center;
    gap: 50px;
    height: 60px;
}
header .bottom-header .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header .bottom-header .category-nav{
    width: 220px;
    height: 100%;
    position: relative;
}
header .bottom-header .category-nav .category-btn{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--main_color);
    padding: 0 15px;
    cursor: pointer;
}
header .bottom-header .category-nav .category-btn p{
    color: white;
    font-weight: 600;
    font-size: 14px;
}
header .bottom-header .category-nav .category-btn i{
    color: white;
}
header .bottom-header .category-nav .category-nav-list{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    border: 1px solid #999;
    border-top: 0;
    display: flex;
    flex-direction: column;
    clip-path: polygon(0 0,100% 0, 100% 0,0 0);  
      transition: 0.3 ease-in-out;
}
header .bottom-header .category-nav .category-nav-list.active{
    clip-path: polygon(0 0 , 100% 0, 100% 100% , 0 100%);
}
header .bottom-header .category-nav .category-nav-list a{
    padding: 14px 10px;
    border-bottom: 1px solid var(--border_color);
    font-size: 14px;
    color: var(--color_headig);
}
header .bottom-header .category-nav .category-nav-list a:last-child{
    border-bottom: 0;
}
header .bottom-header .category-nav .category-nav-list a:hover{
    background-color: #d0d0d0;
}
header .bottom-header .nav-links{
    display: flex;
    gap: 35px;
}
header .bottom-header .nav-links li a{
    color: var(--color_headig); 
    transition: 0.3s;
}
header .bottom-header .nav-links li:hover a,
header .bottom-header .nav-links li.active a{
    color: var(--main_color);
}
.slider {
    position: relative;
}
.slider .container{
    display: flex;
    justify-content: space-between;
}

.slider .banner-2{
    width: 23%;
    height: 100%;
    object-fit: cover; /* أو contain إذا كنت لا تريد تقطيع الصورة */
}
  
.slider.banner-2 a{
    height: 100%;
    width: 100%;

}

.slider .container .slider-swp{
    width: 75%;
    overflow: hidden;
    position: relative;
}
.swiper-wrapper{
    height: auto !important;
}
.slider .container .slider-swp .swiper-pagination span{
    background: white;
    opacity: 1;

}
.swiper-pagination-bullet-active{
    background-color: var(--main_color) !important;
    width: 34px !important;
    height: 8px !important;
    border-radius: 30px !important;
}
.banner-4{
    margin: 40px 0;
}
.banner-4 .container{
    display: flex;
    justify-content: space-between;
}
.banner-4 .container .box{
    width: 24%;
    background: url(../img/bg_banner3.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    display: flex;
    align-self: center;
    gap: 15px;
    padding: 12px 10px;
    position: relative;

}
.banner-4 .container .box img{
    width: 100px;
    transition: 0.3s;
}
.banner-4 .container .box:hover img{
    scale: 1.0s;
}
.banner-4 .container .box h5{
    font-size: 16px;
}
.banner-4 .container .box .sale{
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 7px 0;

}
.banner-4 .container .box .sale span{
    font-size: 25px;
    font-weight: bold;

}
.banner-4 .container .box .sale h6{
    font-size: 14px;
    font-weight: bold;
}
.banner-4 .container .box .link-btn{
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
}
.slide{
    margin-bottom: 70px;
}
.top-slide{
    position: relative;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--main_color);
}
.top-slide h2{
    position: relative;
    text-transform: uppercase;
    background: var(--main_color);
    color: white;
    font-size: 13px;
    padding: 10px 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;

}
.top-slide h2::before{
    content:'';
    position: absolute;
    width: 0;
    height: 0;
    top: 0;
    z-index: 9;
    border-left: 20px solid transparent;
    background: white;
    left: 0;
    border-bottom: 20px solid #e26202;
}
.top-slide h2 i{
    color: white;
}
.slide .container{
    position: relative;
}
.slide .container .mySwiper{
    padding: 10px 0;
}
.slide .container .mySwiper .btn-Swip{
    position: absolute;
    top: 30px;
    right: 0;
    background: var(--bg_color);
    color: var(--color_headig);
    font-weight: bold;
    border-radius: 5px;
    height: 35px;
    width: 35px;
    border: 1px solid var(--border_color);
}
.slide .container .mySwiper .btn-Swip::after{
    font-size: 12px;
}
.slide .container .mySwiper .btn-Swip.swiper-button-prev{
    left: calc(100% - 80px);
}




.mySwiper{
    overflow: hidden;
}
.product{
    background: white;
    padding: 20px 20px;
    box-shadow: 5px 5px 10px #94949428;
    border: 1px slid var(--border_color);
    border-radius: 5px;
}
.product .sale-present{
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background-color: #ed0505;
    color: white;
    padding: 4px 10px;
    font-size: 13px;

}
.product .img-product{
    position: relative;
    height: 180px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3;
}
.product:hover .img-product{
    transform: scale(1.1);
     will-change: transform;

}
.product .name-product a{
    margin-bottom: 10px;
    color: var(--color_headig);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.product .name-product:hover a{
    text-decoration: underline;
    color: var(--main_color);
}
.starts{
    margin-bottom: 10px;
}
.starts i{
    color: var(--main_color);
    font-size: 14px;
}
.price{
    display: flex;
    align-items: center;
    gap: 12px; 
}
.price p{
    font-weight: bold;
    font-size: 18px;
}
.price .old-price{
    text-decoration: line-through;
    font-size: 13px;
    font-weight: normal;
}
.product .icons{
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.product .icons .icon-products{
    width: 40px;
    height: 40px;
    position: 1px solid var(--border_color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.product .icons .icon-products:hover{
    background-color: var(--main_color);
}
.product .icons .icon-products i{
    font-size: 14px;
}
.product .icons .icon-products:hover i{
    color: white;
}
.product .icons .btn-add-cart{
    background-color: var(--main_color);
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    padding: 5px 10px;
    cursor: pointer;
    border: 1px solid var(--main_color);
    transition: 0.3s;
}
.product .icons .btn-add-cart i{
    pointer-events: none;
 
    color: white;
}
.product .icons .btn-add-cart.active{
    color: var(--color_headig);
    background: transparent;
    pointer-events: none;
}
.product .icons .btn-add-cart.active i{
    color: var(--main_color);
}
.product .icons .btn-add-cart:hover{
    scale: 1.05;
    background-color: #f47600;
}
.banners{
    margin: 50px 0;

}
.banners .banners-boxs{
    display: flex;
    justify-content: space-between;
}
.banners .banners-boxs .box{
    width: 49%;
}
.banners .banners-boxs.banner-3-img .box{
    width: 32%;
}
footer{
    background-color: var(--color_headig);
}
footer .container{
    display: flex;
    justify-content: space-between;
    padding: 40px 0;

}
footer .container .big-row{
    width: 30%;
}
footer .container .big-row .logo-footer{
    width: 180px;
}
footer .container .big-row p{
    width: 90%;
    color: #b1b1b1;
    font-size: 14px;
    line-height: 1.5;
    margin: 15px 0;
}
footer .container .big-row .icons-footer{
    display: flex;
    gap: 10px;
}
footer .container .big-row .icons-footer a{
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--main_color);
    border-radius: 3px;
    position: relative;
    top: 0;
    transition: 0.3s;
}
footer .container .big-row .icons-footer a:hover{
    top: -5px;
}
footer .container .big-row .icons-footer a i{
    color: white;
    font-size: 20px;
}
footer .container .row{
    width: 22%;
}
footer .container .row h4{
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
}
footer .container .row .links{
    display: flex;
    flex-direction: column;
    gap: 7px;
}
footer .container .row .links a{
    color: #b1b1b1;
    font-size: 14px;
    position: relative;
    left: 0;
    transition: 0.3s;
}
footer .container .row .links a:hover{
    left: 8px;
    color: var(--main_color);
}
footer .container .row .links a i{
    color: var(--main_color);
    font-size: 14px;
    margin-right: 5px;
}
footer .bottom-footer{

    background-color: #1d1f22;
}
footer .bottom-footer .container{
    align-items: center;
    padding: 5px 0;
}
footer .bottom-footer p{
    color: white;
}
footer .bottom-footer .payment-img{
    width: 350px;
}

.cart{
    position: fixed;
    top: 0;
    right: -350px;
    bottom: 0;
    z-index: 1100;    
    background: white;
    border-left: 1px solid var(--border_color);
    width: 350px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s ease-in-out;
}
.cart.active{
    right: 0;

}
.cart .top-cart{
    display: flex;
    align-items: center;
    justify-content: space-between;

}
.cart .top-cart h3{
    font-size: 18px;
}
.cart .top-cart h3 span{
    color: var(--color_headig);
}

.cart .top-cart .close-cart i{
    cursor: pointer;
    font-size: 35px;
}

.cart .items-in-cart{
    padding: 20px 0;
    border-block: 1px solid var(--border_color);
    margin-block: 20px;
    height: 100%;
    overflow-y: auto;

}
.cart .items-in-cart .item-cart{
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    height: 125px;
    border-bottom: 1px solid var(--border_color);
}
.cart .items-in-cart .item-cart:last-child{
    border-bottom: 0;
    margin-bottom: 0;
}
.cart .items-in-cart .item-cart img{
    width: 80px;
}
.cart .items-in-cart .item-cart h4{
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical ;
}
.cart .items-in-cart .item-cart .delete-item i{
    font-size: 22px;
    cursor: pointer;
    transition: 0.3s;
}

.cart .items-in-cart .item-cart .delete-item i:hover{
    color: #E51A1A;

}
.cart .items-in-cart .item-cart .quantity-control{
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;

}
.cart .items-in-cart .item-cart .quantity-control span{
    font-size: 18px;
    min-width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cart .items-in-cart .item-cart .quantity-control button{
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    border-radius: 2px;
    border: 1px solid var(--border_color);
}
.cart .bottom-cart .total{
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.cart .bottom-cart .price-cart-total{
    color: var(--main_color);
    font-size: 20px;
}
.cart .bottom-cart .button-cart{
    display: flex;
    gap: 20px;
}
.cart .bottom-cart .button-cart .btn-cart{
    
    text-transform: uppercase;
    border: 2px solid var(--main_color);
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}
.cart .bottom-cart .button-cart .tran.bg{
    background: transparent;
    color: var(--color_headig);

}
.Cheackout {
    margin: 50px 0;
}
.Cheackout .container{
    display: flex;
    align-items: center;
    justify-content: space-between;

}
.Cheackout .order-summary{
    width: 45%;
    padding: 0 20px;
    border: 1px solid var(--border_color); 

}