*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'cinzel', serif;
}

.navbar{
    width: 100%;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    padding-left: 5vw;
    z-index: 9;
    transition: .5s;
}

.navbar.bg, .navbar.dark{
    background: #fff;
}

.links-container{
    display: flex;
    align-items: center;
    list-style: none;
}

.link-item{
    margin: 10px;
}

.link{
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    opacity: 0.7;
    transition: .5s;
}

.navbar.bg .link, .navbar.dark .link{
    color: #000;
    opacity: 0.5;
}

.link.active, .link:hover, .navbar.bg .link:hover, .navbar.bg .link.active{
    opacity: 1;
}

.user-interactions{
    display: flex;
    position: absolute;
    right: 5vw;
    top: 50%;
    transform: translateY(-50%);
}

.search-box{
    position: relative;
    width: 350px;
    height: 70px;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 30px;
}

.search{
    width: 100%;
    height: 40px;
    border-radius: 30px;
    background: none;
    border: 1px solid #fff;
    color: #fff;
    padding: 20px;
    text-transform: capitalize;
    outline: none;
}
.search::placeholder{
    color: #fff;
}

.navbar.bg .search, .navbar.bg .search::placeholder, .navbar.dark .search, .navbar.dark .search::placeholder{
    color: #00000070;
    border-color: #00000070;
}

.search-btn{
    min-width: 40px;
    height: 40px;
    position: relative;
    border: none;
    background: #fff;
    border-radius: 50%;
}

.search-btn img{
    width: 60%;
    height: 60%;
    object-fit: cover;
}

.cart, .user{
    width: 30px;
    height: 30px;
    position: relative;
    margin: 10px;
    cursor: pointer;
}

.cart-icon{
    width: 90%;
    height: 90%;
    object-fit: cover;
    /* position: absolute; */
    /* bottom: ; */
}

.cart-item-count{
    font-family: 'lato', sans-serif;
    color: #d5be8b;
    padding: 5px;
    font-size: 15px;
    font-weight: bolder;
    /* border-radius: 50%; */
    /* background: #f4771edf; */
    position: absolute;
    bottom: 2px;
    left: -27px;
}

.header-section{
    width: 100%;
    height: 100vh;
    background: url(../img/header.png);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-heading{
    font-size: 100px;
    text-transform: capitalize;
    color: #fff;
}

.header-heading span{
    color: #d5be8b;
}

/* best selling product */

.best-selling-product-section{
    position: relative;
    padding: 10px 5vw;

}

.section-title{
    text-transform: capitalize;
    font-size: 30px;
    margin-bottom: 30px;
}

.product-card {
    box-sizing: border-box; /* Include padding and borders in the total width and height */
    border: 8px solid #190c05;
    width: 100%; /* Full width initially */
    height: 300px;
    overflow: hidden;
    position: relative;
    background: #190c05;
    margin-bottom: 20px; /* Add some bottom margin for spacing */
}

.product-card:nth-child(even) {
    border-color: #190c05;
    background: #190c05;
}

.product-img {
    width: 100%;
    height: 100%;
    transition: .5s;
}

/* Media query for small screens (up to 767px) */
@media (max-width: 767px) {
    .product-card {
        width: 100%; /* Full width on small screens */
    }
}

/* Media query for medium screens (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .product-card {
        width: 100%; /* Full width on medium screens */
    }
}

/* Media query for large screens (992px and above) */
@media (min-width: 992px) {
    .product-card {
        width: 100%; /* Adjust width for large screens, making it a quarter of the container */
    }
}
.product-name{
    position: absolute;
    color: #fff;
    text-transform: capitalize;
    font-family: 'lato', sans-serif;
    font-size: 14px;
    font-weight: bolder;
    bottom: 25px;
    left: 40%;
    /* padding-left: 20px; */
    /* padding-right: 20px; */
    transform: translateX(-50%);
    opacity: 0;
    transition: .5s;
}

.product-card:hover .product-name{
    opacity: 1;
}

.product-card:hover .product-img{
    opacity: 0.1;
}

/* mid section */

.mid-section{
    width: 100%;
    height: 800px;
    padding: 40px 5vw;
}

.section-item-container{
    width: 100%;
    height: 100%;
    position: relative;
    padding: 20px;
}

.section-bg{
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
}

.section-info{
    width: 50%;
    height: 100%;
    background: #fff;
    display: block;
    margin-left: auto;
    padding: 50px;
    text-align: center;
}

.title{
    font-size: 60px;
    line-height: 100px;
}

.title span{
    color: #d5be8b;
}

.info{
    font-family: 'lato', sans-serif;
    font-size: 25px;
    line-height: 45px;
    margin-top: 30px;
    opacity: 0.5;
}

/* image collage */

.image-mid-section{
    width: 100%;
    height: 600px;
    padding: 50px 5vw;
}

.image-collage{
    width: 100%;
    height: 100%;
    background: url(../img/bg-1.png);
    background-size: cover;
}

.image-collection{
    position: relative;
    display: block;
    width: 50%;
    height: 100%;
    background: #fff;
    margin: auto;
}

.collage-img{
    position: absolute;
    object-fit: cover;
    transition: .5s;
}

.collage-img:nth-child(1){
    width: 350px;
    height: 350px;
    top: 20px;
    left: 40px;
}

.collage-img:nth-child(2){
    width: 250px;
    height: 250px;
    top: 200px;
    left: 200px;
}

.collage-img:nth-child(3){
    width: 250px;
    height: 250px;
    top: 100px;
    left: 350px;
}

.collage-img:hover{
    transform: translateY(-10px);
}

/* review section */

.review-section{
    padding: 50px 5vw;
}

.section-title span{
    color: #d5be8b;
}

.review-container{
    margin: 50px;
    margin-bottom: 0;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.review-card{
    width: 250px;
    height: auto;
    font-family: 'lato', sans-serif;
}

.user-dp{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: relative;
}

.user-dp img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-dp::before{
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 4px solid #fff;
    border-radius: 50%;
}

.user-dp::after{
    content: attr(data-rating);
    position: absolute;
    bottom: 0;
    right: -20px;
    padding: 5px 20px;
    border-radius: 20px;
    background: #d5be8b;
}

.review-title{
    font-size: 20px;
    line-height: 25px;
    margin: 30px 0;
    text-transform: capitalize;
}

.review{
    opacity: 0.7;
}

.end-section{
    padding: 50px 5vw;
}

.end-section .section-item-container{
    height: 800px;
}

.end-section .section-info{
    margin: 0;
}

.end-section .title{
    font-size: 100px;
    line-height: 150px;
    margin: 50px;
}

/* footer{
    font-family: 'lato', sans-serif;
    color: #d5be8b;
    background: #190c05;
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    text-transform: capitalize;
    font-size: 20px;
} */

.user-icon-popup{
    position: absolute;
    top: 200%;
    padding: 20px;
    background: #fff;
    font-family: 'lato', sans-serif;
    width: 180px;
    right: 0;
    border-radius: 5px;
    text-align: center;
    border: 1px solid #190c05;
    display: none;
}

.user-icon-popup.active{
    display: block;
}

.user-icon-popup p{
    font-size: 1.2rem;
    text-transform: capitalize;
    line-height: 2rem;
}

.user-icon-popup a{
    display: block;
    margin: 20px auto 0;
    text-decoration: none;
    color: #fff;
    background: #d5be8b;
    padding: 10px;
    width: 100px;
    text-transform: capitalize;
    border-radius: 5px;
}

/* product page */

.product-section{
    width: 100%;
    margin-top: 120px;
    padding: 0px 5vw;
    display: flex;
    gap: 40px;
}

.product-image{
    width: 50%;
    height: 600px;
    object-fit: cover ;
}

.product-title{
    font-family: "Josefin Sans", sans-serif;
    font-size: 30px;
    font-weight: bolder;
}

.product-des{
    text-transform: capitalize;
    margin: 5px 0;
    font-family: "Josefin Sans", sans-serif;
    opacity: 0.5;
    font-size: 18px;
    font-weight: bold;
    line-height: 20px;
}
/* Media query for small screens (up to 767px) */
@media (max-width: 767px) {
    .product-title{
        font-size: 25px;
    }
    .product-des{
        font-size: 14px;
    }
}

/* Media query for medium screens (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .product-card {
        font-size: 35px;
    }
    .product-des{

    }
}

/* Media query for large screens (992px and above) */
@media (min-width: 992px) {
    .product-card {
        font-size: 25px;
    }
    .product-des{
        
    }
}

.ratings{
    display: flex;
}

.ratings .star{
    width: 30px;
    height: 30px;
}

.rating-count{
    font-family: 'lato', sans-serif;
    opacity: 0.4;
    font-size: 14px;
    line-height: 40px;
    margin-left: 20px;
}

.price{
    font-size: 50px;
    margin: 20px 0;
    font-weight: 500;
    padding-left: 100px;
}

product-header {
    /* margin-top: 100px; */
    /* padding-bottom: 20px; */
}

.product-btn{
    padding: 15px 40px;
    border: none;
    color: #fff;
    outline: none;
    margin-right: 10px;
    font-size: 16px;
    font-family: "Josefin Sans", sans-serif;
    font-weight: bold;
    cursor: pointer;
    text-transform: capitalize;
    border-radius: 8px;
}

.buy-btn{
    background-color: #ff8474;
    /* width: 25%; */
      box-shadow: 2px 2px 2px #888888;
 
}
.buy-btn2{
    background-color: #e459c1;
    /* width: 25%; */
    box-shadow: 2px 2px 2px #888888;
 
}
.buy-btn3{
    background-color: #62d648;
    /* width: 25%; */
    box-shadow: 2px 2px 2px #888888;
 
}
.buy-btn4{
    background-color: #240fe79d;
    /* width: 25%; */
    box-shadow: 2px 2px 2px #888888;
 
}

.cart-btn{
    background-color: #001d38b1;
    /* width: 30%; */
    box-shadow: 2px 2px 2px #888888;
    
}
.cart-btn2{
    background-color: #e46cceb1;
    /* width: 30%; */
    box-shadow: 2px 2px 2px #888888;
    
}
.download-btn{
    background-color: #ff8474;
    /* width: 35%; */
    box-shadow: 2px 2px 2px #888888;
}

.download-btn2{
    background-color: #e459c1;
    /* width: 35%; */
    box-shadow: 2px 2px 2px #888888;
}
.download-btn3{
    background-color: #5fb9f2b1;
    /* width: 30%; */
    box-shadow: 2px 2px 2px #888888;
    
}

.download-btn4{
    background-color: #a62109b0;
    width: 100%;
    box-shadow: 2px 2px 2px #888888;

    
}

/* Media query for small screens (up to 767px) */
@media (max-width: 767px) {
    .product-btn{
        font-size: 8px;
    }
    .price {
        font-size: 35px;
        padding-left: 100px;
    }
    .subprice {
        font-size: 10px;
    }
    .buy-btn {

    }
    .cart-btn {

    }
    .download-btn {

    }
}
@media (max-width: 767px) {
    
}

/* Media query for medium screens (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .product-btn{
        font-size: 12px;
    }
}

/* Media query for large screens (992px and above) */
@media (min-width: 992px) {
    .product-btn{
        font-size: 12px;
    }
}

.detail-des, .review-section, .add-review-section{
    width: 100%;
    padding: 100px 5vw 0;
}

.des{
    white-space: pre-wrap;
    font-family: "Josefin Sans", sans-serif;
    line-height: 18px;
    font-size: 18px;
    opacity: 0.5;
}

.review-headline, .review-field{
    width: 100%;
    height: 40px;
    border: 2px solid #c9c9c9;
    margin: 10px 0;
    padding: 10px;
    line-height: 40px;
    font-family: 'lato', sans-serif;
    color: #000;
    outline: none;
    text-transform: capitalize;
}

::placeholder{
    color: #c9c9c9;
}

.review-field{
    height: 160px;
    resize: none;
    padding: 0 10px;
}

.review-headline:focus,
.review-field:focus{
    border-color: #d5be8b;
}

.review-headline:focus::placeholder,
.review-field:focus::placeholder{
    color: #d5be8b;
}

.rating-text{
    font-family: 'lato', sans-serif;
    color: #c9c9c9;
    text-transform: uppercase;
    margin: 10px 0;
}

.rating-star{
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.add-review-btn{
    border: none;
    outline: none;
    background: #d5be8b;
    padding: 10px 20px;
    color: #9f1111;
    font-family: 'lato',sans-serif;
    font-size: 16px;
    text-transform: capitalize;
    margin-top: 30px;
    cursor: pointer;
}