*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

@keyframes appear{
    from{
        opacity: 0;
        transform: translateX(-100px);
        /* clip-path: inset(100% 100% 0 0); */
    }
    to{
        opacity: 1;
        transform: translateX(0px);
        /* clip-path: inset(0 0 0 0); */
    }
        
} 


body{
    font-family: "Poppins", serif;
    font-weight: 300;
    font-style: normal;    
}

.header{
    background: #2C3930;
    color: #DCD7C9;
    animation: linear;
}
.navbar{
    overflow: hidden;
    position: sticky;
    top: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    /* flex-wrap: wrap; */
    align-items: center;
    padding: 10px;
    background: #2C3930;
    color: #DCD7C9;
}
nav{
    flex: 1;
    text-align: center;
    margin-right: 65px;
}
nav ul{
    display: inline-block;
    list-style-type: none;
}
nav ul li{
    display: inline-block;
    margin-right: 20px;
}
a{
    text-decoration: none;
    color: #DCD7C9;
}

nav ul a:hover{
    text-decoration: underline;
    color: #A27B5C;
}

.cart-icon{
    position: relative;
    z-index: 1;
}

.cart-icon:hover{
    transform:scale(1.2) ;
}

.totalquantity{
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 10px;
    background-color: #A27B5C;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    color: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX();
    cursor: pointer;
}

p{         
    color: #555;
}

.container{
    max-width: 1300px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}
.row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}
/* .col-2{
    /* flex-basis: 50%; */
    /* min-width: 300px; */
 */

.col-2 img{
    position: relative;
    /* animation: appear linear ; */
    /* animation-timeline: view(); */
    /* animation-range: entry 0% cover 40%; */

}


.col-2 h1 {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    line-height: 100px;
    margin: 10px 0;
    color: #DCD7C9;
    text-align: center;
    display: block;
    letter-spacing: 2px;
    animation: opacity 3s linear;
    overflow: hidden;
    white-space: nowrap;
    filter: drop-shadow(0 30px 30px #000900);
}

@keyframes opacity{ 
    from{
        opacity: 0;                                                    
    }

    to{
        opacity: 1;
    }
}

.btn {
    display: inline-block;
    background: #A27B5C;
    color: #fff;
    position: absolute;
    top: 62%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 30px 0;
    padding: 8px 30px;
    border-radius: 30px;
    text-align: center;
}

.btn:hover{
    background-color: #3F4F44;
    color: #DCD7C9;
    transition-duration: 0.5s;
}
.categories{
    margin: 7px 0;
}



.col-3{
    flex-basis: 30%;
    min-width: 250px;
    margin-bottom: 30px;
    position: relative;
}

.col-3 img{
    width: 100%;
    object-fit: cover;
}

.middle{
    transition: 0.5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    font-weight: normal;
    font-size: medium;
    transform: translate(-50%, -50%);
    color: #2C3930;
}

.col-3:hover img{
     opacity: 0.3;
     cursor: pointer;
}

.col-3:hover .middle{
    opacity: 1;
}


.small-container{
    max-width: 1080px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
    
}   

.sec-divider{
    background-color: #A27B5C;
    height: 10px;
}

.big-container{
    background: #ffffff;
    margin-top: -10px;
    padding-bottom: 20px;
}

/* .col-4{
     flex-basis: 25%;
     margin: auto;
     min-width: 200px;
     padding: 0 15px;
     margin-bottom: 50px;
} */
/* .col-4 img{
      width: 100%;   
} */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 40px 25px;
    max-width: 1080px;
    margin: auto;
}

.listProduct{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 40px 25px;
    max-width: 1080px;
    margin: auto;
}
/* 
.product-card {
    background-color: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
} */



.product-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* .product-details {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
} */

.product-title {
    font-size: 16px;
    font-weight: 600;
    color: #2C3930;
    text-align: left;
    margin-top: 20px;
}

/* .product-category {
    font-size: 14px;
    color: #555;
    text-align: left;
} */

.product-price {
    font-size: 20px;
    color: #111;
    text-align: left;
}

.product-price del {
    color: #999;
    margin-left: 6px;
}

.product-discount {
    font-size: 14px;
    color: green;
    font-weight: bold;
    text-align: left;
    top: 0;
}

/* .image-wrapper{
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    backdrop-filter: blur(8px);  
    overflow: hidden;
    position: relative;
} */

.image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; 
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

.img-default, 
.img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.img-default{
    z-index: 2;
    opacity: 1;
}

.img-hover{
    z-index: 1;
    opacity: 0;
}
/* 
.img-default {
    transition: opacity 0.2s ease, transform 0.5s ease;
} */

/* .image-wrapper {
    position: relative;
} */

.shine {
    position: relative;
    overflow: hidden;
}

.shine::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    pointer-events: none;
    background: linear-gradient(
        45deg, 
        transparent 50%,
        rgba(255,255,255,0.03) 58%,
        rgba(255,255,255,0.16) 67%,
        transparent 68%
    );
    background-size: 200% 100%;
    background-position: 185% 0;
    transition: background-position 1.8s ease;
    /* transform: transform 1s ease; */
    z-index: 3;
}

.shine:hover::after{
    background-position: -20% 0;

}

.shine:hover{
    box-shadow: 15px 30px 32px rgba(0,0,0,0.25);
    transform: translateY(-5px);
    animation: swing 4s ease-in-out;
} 

@keyframes swing {
    0%   { transform: translateY(-5px) rotate(0deg); }
    69%  { transform: translateY(-5px) rotate(2deg); }
    100% { transform: translateY(-5px) rotate(0deg);}
  }

.shine:hover .img-default {
    opacity: 0;
    transform: scale(1);
}

.shine:hover .img-hover {
    opacity: 1;
    transform: scale(1.05);
}
/* 
.shine::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(128, 128, 128, 0) 0%,
        rgba(51, 51, 51, 0.3) 50%,
        rgba(128, 128, 128, 0) 100%
    );
    transform: skewX(-10deg);
    z-index: 2;
    animation: shine 0.85s;
    opacity: 0;
}

.shine:hover::before,
.shine:focus::before {
    opacity: 1;
} */
/* 
@keyframes shine {
    0% {
        transform: skewX(-25deg) translateX(-100%);
    }
    100% {
        transform: skewX(-25deg) translateX(100%);
    }
} */

.title{
      text-align: center;
      position: relative;
      color: #2C3930;
      margin: 0 auto 80px;
      padding-top: 15px;
      line-height: 60px;
}
.title::after{
  content: '';
  background: #A27B5C;
  width: 80px;
  height: 5px;
  border-radius: 5px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

h4{
    color: #3F4F44;
    font-weight: normal;
}

.col-4 p{
    font-size: 14px;
    color: #2C3930;
    font-weight: 300;
}

.rating .fa{
    color: #F14A00;
}

.col-4:hover{
    /* transform: scale(1.1); */
    cursor: pointer;
}

/* .col-4 img:hover{
    transform: scale(1.03);
    
} */

.btn-new{
    /* display: flex; */
    position: relative;
    left: 450px;
    background: #A27B5C;
    color: #fff;
    margin: 30px 0;
    padding: 8px 30px;
    border-radius: 30px;
    top: 50px;
    bottom: 0;

}

.btn-new:hover{
    background-color: #3F4F44;
    color: #DCD7C9;
    transition-duration: 0.5s;
}

.offer{
    margin-top: 120px;
    padding: 30px 0;
    /* background: #A27B5C; */

}

/* .col-2 p,h1{
     position: relative;
    margin: auto;
} */

.col-2 .join{
    position: relative;
    top: 50%;
    bottom: 10px;
    display: flexbox;
    line-height: 50px;
    margin-top: 20px;
}

.form-control{
    /* border-radius: 30px; */
    padding: 10px 70px;
    bottom: 0;
    margin-top: 20px;
    border-color: #2C3930;
    text-align: center;
    position: relative;
    left: 30%;
}

.testimonial{
    padding-top: 100px;
}

.testimonial .col-3{
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.1); 
    cursor: pointer; 
    transition: transform 0.5s; 
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.7);

}

.testimonial .col-3 img{
    width: 50px;
    margin-top: 20px;
    border-radius: 50%;
    border: 2px solid #2C3930;
}

.testimonial .col-3:hover{
    transform: translateY(-10px);
}

.col-3:hover .user{
    opacity: 1;
}

.fa .fa-quote-left{
    font-size: 34px;
    color: #F14A00;
}

.col-3 p{
    font-size: 12px;
    margin: 12px 0;
    color: #2C3930;
}

.testimonial .col-3 h3{
    font-weight: 600;
    color: #2C3930;
    font-size: 16px;
}

.brands{
    margin: 100px auto;
}

.col-5{
    width: 160px;
}

.col-5 img{
    width: 100%;
    cursor: pointer;
    filter: grayscale(100%);
}

.col-5 img:hover{
    filter: grayscale(0%);
}



/* cartWindow */

.cartTab{
    width: 400px;
    background-color: #3F4F44;
    color: #DCD7C9;
    position: fixed;
    inset: 0 -400px 0 auto;
    display: grid;
    grid-template-rows: 70px 1fr 70px;
    transition: 0.5s;
}

body.showCart .cartTab{
    inset: 0 0 0 auto;
}

.cartTab h1{
    padding: 20px;
    margin: 0;
    font-weight: 400;
}

.cartTab .cart-button{
    display: grid;
    grid-template-columns: repeat(2,1fr);

}

.cartTab .cart-button button{
    background-color: #2C3930;
    color: #A27B5C;
    border: none;
    font-weight: 500;
    cursor: pointer;
}

.cartTab .cart-button .close{
    background-color: #DCD7C9;
    color: #2C3930;
}

.cartTab .ListCart .cart-item img{
    width: 100%;
}

.cartTab .ListCart .cart-item{
    display: grid;
    grid-template-columns: 70px 130px 50px 1fr;
    gap: 20px;
    text-align: center;
    align-items: center;
}

.ListCart .item-quantity span{
    display: inline-block;
    width: 22px;
    height: 22px;
    background-color: #ffffff;
    border-radius: 50%;
    color: #555;
    cursor: pointer;
}

.ListCart .item-quantity span:nth-child(2){
    background-color: transparent;
    color: #ffffff;
}

.ListCart .cart-item:nth-child(even){
    background-color: #2C3930;
}

.ListCart{
    overflow: auto;
}

.ListCart ::-webkit-scrollbar{
    width: 0;
}




/* // footer */

.footer{
    color: #DCD7C9;
    background: #3F4F44;
    font-size: 14px;
    padding: 20px 0 40px;
    margin-left: auto;
    /* margin-top: -90px; */
}

.footer p{
    color: #DCD7C9;
}

.footer h3{
    color: #DCD7C9;
    margin-bottom: 30px;
}

.footer-col-1, .footer-col-2, .footer-col-3, .footer-col-4{
    min-width: 250px;
    margin-bottom: 20px;
}
.footer-col-1{
    flex-basis: 30%;
}
.footer-col-2{
    flex: 1;
    text-align: center;
}
.footer-col-2 img{
    width: 150px;
    height: 125px;
}

.footer-col-2 p{
    font-weight: 500;
    font-family: Arial, Helvetica, sans-serif;
}

.footer-col-3, .footer-col-4{
    flex-basis: 20%;
    text-align: center;
}
.footer-col-4 h3, .footer-col-3 h3{
    font-weight: 700;
    color: #DCD7C9;
    bottom: 0;
}

ul{
    list-style-type: none;
}

ul a{
    color: #DCD7C9;
}
.app-logo{
    margin-top: 20px;
}

.app-logo img{
    width: 140px;
}

.footer hr{
    border: none;
    background: #b5b5b5;
    height: 1px;
    margin: 20px 0;
}

.copyright{
    text-align: center;

}

.row .footer-links a:hover{
     text-decoration: underline;
     color: #A27B5C;
}


/*--------------- single-product------------- */


.single-product{
    margin-top: 80px;
}

.single-product .col-2 img{
    padding: 0;
}

.single-product .col-2{
    padding: 20px;
}
.single-product h4{
    margin: 20px 0;
    font-size: 22px;
    font-weight: bold;
}

.single-product select{
    display: block;
    padding: 10px;
    margin-top: 20px;
}

.single-product input{
    width: 50px;
    height: 40px;
    padding-left: 10px;
    font-size: 20px;
    margin-right: 10px;
    border: 1px solid #2A004E;
}

input:focus{
    outline: #500073;
}

.single-product .fa{
    color: #500073;
    margin-left: 16px;
}

.small-img-row{
    display: flex;
    justify-content: space-between;

}

.small-img-col{
    flex-basis: 24%;
    cursor: pointer;
}

.small-container .row-2{
    display: flex;
    justify-content: space-between;
    margin-right: 100px;
    padding-left: 30px;
    padding-bottom: 26px;
    top: auto;
}

