*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: sans-serif;
   
}
:root{
    --main-color:#198754;
    --parg-color:gray;
    --white-color:white;
    --dark-color:#333;
    --border-color:#ccc9c9;
    --dark-red:rgb(184, 6, 6);
    --name-item:rgb(255, 123, 0);
}
body{
    background-color:#d7e9e0;
    
}
a{
    text-decoration: none;
}
h1,h2,h3,h4,h5,h6,.price-cart-ad,.cart-header span ,i,.total-price p{
    color: var(--dark-color);
}

.cart-header{
    display: flex;
    align-items: center;
    gap: 10px;
}


.cart-header .icon-cart i{
   color: var(--dark-color);
   font-size: 20px;
   border: 1px solid var(--border-color);
   width: 50px;
   height: 50px;
   text-align: center;
   padding: 10px;
   line-height: 50px;
   border-radius: 50%;
   cursor: pointer;
   transition: 0.3s ;
}
.cart-header .icon-cart i:hover{
  background-color:var(--main-color) ;
  color: white;

}
.cart-header .icon-cart {
position: relative;
}
.cart-header .icon-cart .count-item{
position: absolute;
font-size: 18px;
top: -5px;
right: 0px;
background-color: var(--main-color);
width: 20px;
height: 20px;
line-height: 20px;
text-align: center;
border-radius: 50%;
border: 1px solid var(--border-color);
}
.total-price span,p{
    margin-bottom: 8px;
}
header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    z-index: 1000;
}
.navbar-brand img{
    width: 80px;
    height: 80px;
}

.nav-links{
    border-top:solid 1px var(--border-color) ;
    height: 60px;
  
   
}
.links{
    display: flex;
justify-content: center;
align-items: center;


}
.links ul{
    display: flex;
    gap: 40px;
    font-weight: 600;
    
    
}
.links ul li{
    position: relative;
    padding: 20px 0;
}
.links ul li::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--main-color);
    transition: 0.3s ease-in-out;

}
.links ul li.active::after,
.links ul li:hover::after{
    width: 100%;
}

.links ul li a{
    text-decoration: none;
    color: var(--dark-color);
    text-transform: uppercase;
    font-size: 15px;
   
}
.loging-signup a{
    text-decoration: none;
background-color: var(--main-color);
outline: 0;
color: white;
border-radius: 5px;
margin-left: 10px;
border: solid 1px var(--main-color);
padding: 10px 20px;
}
.loging-signup a i{
    color: white;
}
.offcanvas-header h3{
    font-size: 18px;
}
.offcanvas-header h3 span{
    font-size: 14px;
    color: var(--parg-color);
}
.items-in-cart{
    padding: 20px 0;
    border-block: 1px solid var(--border-color);

}
.item-cart{
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}
.item-cart:last-child{
    margin-bottom: 0;
}
.item-cart img{
    width: 100px;
    height: 100px;
}
.item-cart h4{
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 500;
}
.item-cart .delete-item{
    outline: none;
    border: none;
}
.item-cart .delete-item i{
    font-size: 22px;
    cursor: pointer;
    transition: 0.3s;
}
.item-cart .delete-item i:hover{
    color:var(--dark-red);
    scale: 1.2;
}
.bottom-cart .total{
    display: flex;
    justify-content: space-between;
   margin-bottom: 30px;
}
.bottom-cart .total .price-cart-total{
    color: var(--main-color);
}
.botton-cart{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 40px;
  
}
.botton-cart a{
    text-decoration: none;
    color: var(--dark-color);
}
.botton-cart .btn-cart{
    border: 2px solid var(--main-color);
border-radius: 5px;
color: var(--dark-color);
padding: 15px 0;
text-align: center;
font-size: 16px;
text-transform: uppercase;
cursor: pointer;
background-color: var(--main-color);
transition: 0.3s ease;

}
.botton-cart .btn-cart:hover{
    background-color: transparent;
}
.botton-cart .trans-bg{
    background-color: transparent;
}
.botton-cart .trans-bg:hover{
    background-color: var(--main-color);
}
.sidebar .container{
    display: flex;
    justify-content: space-between;
    margin-top: 200px;
   
}
.sidebar .container .slide-bar{
    width: 400px;
margin-right: 30px;


   
}

.sidebar .container .slide-bar h2{
    padding: 20px 15px;
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
}

.sidebar .container .list-group li a{
    text-decoration: none;
    
    padding: 15px;
    font-size: 14px;
    font-weight: bold;
    color: var(--dark-color);
    transition: 0.3s ease-in-out;
}
.sidebar .container .list-group li a:hover{
    color: var(--main-color);
}
.sidebar .container .slide-swp{
    position: relative;
   /*height:45% !important;*/

    width: calc(100% -350px);
   
    overflow: hidden;
}
.sidebar .container .slide-swp .swiper-slide a img{
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: right top;
}
.sidebar .container .slide-swp .swiper-pagination span{
background-color: white;
opacity: 1;
}
.swiper-pagination-bullet-active {
    background-color: var(--main-color) !important;
    width: 35px !important;
    height: 8px !important;
    border-radius: 30px !important;
}
/* start features*/
.features{
    margin: 50px 0;
}
.features .container{
    display: flex;
    justify-content: space-between;
    background-color: white;
    border-radius: 5px;
    padding: 15px 20px;
    flex-wrap: wrap;
}
.features .container .feature-item{
    width: 18%;
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.features .container .feature-item img{
    width: 50px;
}
.features .container .feature-item  h4{
    font-weight: bold;
font-size: 15px;
margin-bottom: 8px;
}
.features .container .feature-item p{
    font-size: 12px;
    color: var(--parg-color);
}
/*--bannar--*/
.bannar{
    margin: 50px 0;
}
.bannar .container{
    display: flex;
    justify-content: space-between;
}
.bannar-img{
    width: 32%;
    position: relative;
}
.bannar-img img{
    width: 100%;
    height: 250px;
}
.bannar .classes-hover{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.bannar .classes-hover::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
background: linear-gradient(50deg,transparent 50%, rgba(255,255,255,0.1),60%,rgba(255,255,255,0.5) 70%,transparent 71%);
background-size: 200% 100%;
background-position: 200% 0;
z-index: 90;
transition: 0.8s;
}
.bannar .bannar-img:hover .classes-hover::after{
    background-position: -20% 0;
}
.bannar-img a{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}
.bannar-big .bannar-img{
    width: 49%;
    position: relative;
}







/*slide*/
.slide{
    margin-bottom: 100px;
}
.top-slide{
    position: relative;
    margin-bottom: 20px;
    padding: 20px 0;
   border-bottom: 1px solid var(--border-color);
}
.top-slide::after{
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100px;
    height: 2px;
    background-color: var(--main-color);
}
.top-slide h2{
    text-transform: capitalize;
}
.top-slide h2{
    font-weight: bold;
    
}
.top-slide h2 span{
    font-weight: normal;
}
/*product cart style*/
.product{
    position: relative;
    background-color: white;
    padding: 20px 30px;
    text-align: center;
    overflow: hidden;
    box-shadow: 5px 5px 10px #94949428;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    width: 25%;
    height: 300px;
}
.product h3{
    font-size: 18px;
    font-weight: bold;
}
.product .sale-present{
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    background-color: var(--dark-red);
    color: white;
    padding: 4px 12px;
    font-size: 14px;
}
.product .img-product{
    position: relative;
    width: 200px;
    height: 250px;
}

.product .img-product img{
    width: 100%;
    transition: 0.3s ease-in-out;


}
.product .img-product .img-hover{
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 80%;
    opacity: 0;
    scale: 0.1;
}
.product:hover .img-product img{
    opacity: 0;
}
.product:hover .img-product .img-hover{
    opacity: 1;
    scale: 1;
}
.product .name-produc{
    font-size: 16px;
}
.product .name-product a{
    color: var(--name-item);
}
.product .name-product a:hover{
    text-decoration: underline;
}
.stars{
    margin: 15px 0;
}
.stars i{
    color: var(--main-color);
}
.price{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.price p{
    color: var(--main-color);
    font-weight: bold;
}
.price .old-price{
    color: var(--parg-color);
    text-decoration: line-through;
    font-size: 13px;
    font-weight: normal;
}
.product .icons{
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    right: -80px;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.3s ease-in-out;
}
.product .icons i{
    color: var(--dark-color);
    background-color:white;
    padding: 5px;
    height: 50px;
    line-height: 50px;
  /*  border: 1px solid var(--border-color);*/
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
transition: 0.3s ease-in-out;
}
.product .icons i.active{
    background-color: var(--main-color);
    cursor: auto;
    pointer-events: none;
    position: relative;
    overflow: hidden;
}
.product .icons i.active::after{
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 50%;
background-color:#0000004f;
z-index: 5;
}
.product .icons i:hover{
    background-color: var(--main-color);
    padding: 10px;
}
.product:hover .icons{
    right: 20px;
}
/*slider*/
.slide .container{
    position: relative;
}
.slide .container .mySwiper{
   
    overflow: hidden;
    padding: 10px 0;
}
.slide .container .mySwiper .btn-swip{
position: absolute;
top: 35px;
right: 0;
background-color: var(--main-color);
color: white;
font-weight: bold;
padding: 0 18px;
border-radius: 5px;
}
.slide .container .mySwiper .btn-swip::after{
    font-size: 25px;
}
.slide .container .mySwiper .btn-swip.swiper-button-prev{
    left: calc(100% - 90px);
}
/*slide-product*/
.slide-product .product-swip{
width: calc(100% - 300px);
}
.slide-product .slide-with-img a img{
    width: 100%;
    height: 100%;
    border-radius: 8px;
    
    }
.slide-product .slide-with-img{
    display: flex;
    justify-content: space-between;
}
.slide-product .categ-img{
    padding: 10px 5px;
    width: 280px;
}
/*newsletter*/
.newsletter{
    background-color: white;

}
.newsletter .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
}
.newsletter .text img{
    width: 100px;
    height: 100px;
}
.newsletter .text h4{
    font-size: 28px;
    font-weight: bold;
}
.newsletter .text h6{
    font-weight: normal;
    font-size: 20px;
}
.newsletter .text p{
    margin: 12px 0;
}
.newsletter .text{
    width: 50%;
    display: flex;
align-items: center;
gap: 20px;
}
.newsletter .newsletter-form{
    width: 40%;
    border: 2px solid var(--main-color);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}
.newsletter .newsletter-form input{
padding: 20px 175px 20px 20px;
outline: 0;
border: 0;
width: 100%;
}
.newsletter .newsletter-form button{
    background-color: var(--main-color);
    outline: none;
    border: none;
    width: 170px;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    cursor: pointer;
    font-size: 18px;
    color: white;
}
