@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@200..700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    background-color: #E5E4E2;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #FAFAFA;
    font-family: 'Inter', sans-serif;
}

body.no-scroll {
  overflow: hidden;
}


.header {
    /* background-color: green; */
    display: flex;
}


.cat {
    max-width: 280px;
    min-width: 140px;
    width: auto;
    flex: 10 0 auto;
    width: fit-content;
    transition: background-color 0.2s, color 0.2s;
}



.cat.active {
    background-color: black;
    color: white;
}

ul {
    display: flex;
    gap: 40px;

}

.user-button {
    height: 80px;
    width: 100px;
    background-color: rgb(227, 223, 218);
    position: absolute;
    z-index: 11;
    right: 50px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 20px;
}

.user-button.show {
    display: flex;
    /* Show when active */
}

.auth-btn {
    width: calc(100% - 0px);
    /* 130px */
    height: 40px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.auth-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.auth-btn .bx {
    font-size: 20px;
    color: #555;
}


.header ul a {
    text-decoration: none;
}

ul li {
    list-style: none;
    color: black;
    font-size: 16px;
}

.logo {
    position: relative;
    left: 200px;
    /* background-color: red; */
    height: 40px;
    width: 100px;
    overflow: hidden;
}

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

.user {
    position: absolute;
    right: 60px;
    font-size: 20px;
    display: flex;
    gap: 10px;
    top: 25px;

}

.user a {
    color: black;
}


/* splash screen styles */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000; /* or any background you want */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.logos{
    overflow: hidden;
    /* background-color: grey; */
    width: 120px;
    height:120px;
}

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

.splash-screen .logos img {
    animation: neonPulse 2s ease-in-out infinite,
               flicker 1s infinite;
    filter: drop-shadow(0 0 5px rgba(100,200,255,0.5));
}

@keyframes neonPulse {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(100,200,255,0.5));
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
        filter: drop-shadow(0 0 15px rgba(100,200,255,0.8));
    }
}

@keyframes flicker {
    0%, 10%, 30%, 50%, 70%, 90% {
        opacity: 0.95;
    }
    20%, 40%, 60%, 80%, 100% {
        opacity: 1;
    }
}


.ad-container{
    height: 400px;
    width: 1200px;
    background-color: rgba(85, 137, 85, 0.256);
    position: relative;
    left: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.ad-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.ad-title{
    position: absolute;
    left: 360px;
    height: 120px;
    width: 500px;
    /* background-color: rgba(158, 110, 110, 0.612); */
    top: 200px;
    font-size: 34px;
    text-align: center;
    font-weight: 600;
    color: white;
    font-family: 'Merriweather', sans-serif;
}


.Shop-now{
    height: 50px;
    width: 200px;
    font-size: 20px;
    border: none;
    border-radius: 10px;
    position: relative;
    bottom: 20px;
    background-color: rgb(0, 95, 0);
    color: white;
}

.main {
    height: 400px;
    width: 100%;
    /* background-color: yellow; */
    display: flex;
    gap: 40px;
    position: relative;
    top: 20px;
}

.left {
    height: 380px;
    width: 750px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    position: relative;
    top: 5px;
    border-radius: 20px;
    left: 20px;
    overflow: hidden;
}

.top {
    height: 60px;
    position: relative;
    top: 20px;
    width: 550px;
    /* background-color: grey; */
    display: flex;
}


.left img {
    height: 100%;
    width: 100%;
    object-fit: cover;

}

.top,
.bottom {
    position: absolute;
    /* Positions elements relative to .left */
    z-index: 1;
    /* Ensures text is above the image */

}


.start {
    height: 50px;
    width: 70px;
    background-color: red;
    position: relative;
    left: 40px;
    top: 5px;
    border-radius: 10px;
}

.top p {
    font-size: 20px;
    position: relative;
    left: 50px;
    width: 700px;
    top: -12px;
    /* background-color: blue; */
    font-weight: 600;
    /* Slightly bolder for better visibility */

    /* Universal visibility enhancements */
    color: rgba(255, 255, 255, 0.9);
    /* Slightly transparent white */
    text-shadow:
        1px 1px 4px rgba(0, 0, 0, 0.5),
        /* Dark shadow for light backgrounds */
        -1px -1px 4px rgba(255, 255, 255, 0.5);
    /* Light shadow for dark backgrounds */

    /* Optional glowing effect */
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    /* Improves readability */
}

/* Optional hover animation for extra flair */


.bottom {
    width: 650px;
    height: 70px;
    background: radial-gradient(circle, #5c5a5a6b 0%, #22222278 50%, #4948486d 80%);
    position: absolute;
    top: 280px;
    left: 40px;
    border-radius: 10px;
    display: flex;
}

.item-icon {
    height: 60px;
    width: 65px;
    background-color: white;
    position: relative;
    left: 20px;
    top: 5px;
    border-radius: 10px;
    overflow: hidden;
}

.property {
    height: 60px;
    width: 300px;
    /* background-color: blue; */
    position: relative;
    left: 30px;
    display: block;
}

.right .bottom {
    position: absolute;
    top: 0px;
}

.start {
    overflow: hidden;
    background-color: rgba(162, 162, 162, 0.411);
    transition: opacity 0.5s ease;
}

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

.property .name {
    font-size: 20px;
    position: relative;
    bottom: 10px;
    font-weight: 500;
    color: white;

    max-width: 480px;
    /* or set fixed width */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property .pr {
    font-size: 18px;
    position: relative;
    bottom: 25px;
    font-weight: 400;
    color: rgb(188, 188, 188);
}

.bottom {
    position: absolute;
}



.see {
    cursor: pointer;
    height: 50px;
    width: 50px;
    background-color: white;
    border-radius: 100%;
    position: relative;
    left: 210px;
    top: 10px;
    text-align: center;
}

.see i {
    font-size: 28px;
    top: 12px;
    left: 2px;
    position: relative;
}

.see:hover {
    background-color: rgb(220, 220, 220);
}

.item-icon img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}


.right {
    height: 380px;
    width: 420px;
    background-color: blue;
    top: 5px;
    position: relative;
    border-radius: 20px;
}

.right img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    /* Explicit positioning */
    left: 0;
    border-radius: 20px;
}



.right .bottom {
    width: 380px;
    top: 280px;
    left: 20px;
    position: relative;
}

.right .bottom .pro-dec {
    height: 60px;
    width: 160px;
    /* background-color: red; */
    position: relative;
    top: 5px;
    left: 10px;
}

.favourite {
    height: 300px;
    width: 400px;
    background-color: rgb(196, 195, 193);
    position: absolute;
    right: 10px;
    z-index: 11;
    border-radius: 20px;
}

.close {
    height: 30px;
    width: 30px;
    background-color: gray;
    position: absolute;
    right: 10px;
    top: 10px;
    border-radius: 100%;
    cursor: pointer;
    text-align: center;
}



.close i {
    font-size: 22px;
    position: relative;
    top: 4px;
}


.fav-product {
    height: 80px;
    width: 360px;
    /* background-color: grey; */
    position: relative;
    top: 40px;
    left: 20px;
    display: flex;
}

.fav-image {
    width: 100px;
    height: 60px;
    /* background-color: white; */
    position: relative;
    top: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.fav-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.fav-details {
    width: 200px;
    height: 60px;
    /* background-color: blue; */
    position: relative;
    top: 10px;
    left: 10px;
    display: block;
}

.fav-name {
    height: 35px;
    width: 200px;
    /* background-color:red; */
    overflow: hidden;
}

.fav-name p {
    font-size: 20px;
    position: relative;
    bottom: 15px;
}

.fav-price p {
    font-size: 18px;
    position: relative;
    bottom: 15px;
}

.fav-remove {
    width: 30px;
    height: 40px;
    /* background-color: yellow; */
    position: relative;
    left: 20px;
    top: 20px;
    text-align: center;
    font-size: 24px;
}

.fav-price {
    height: 25px;
    width: 80px;
    /* background-color: green; */
}

.right .bottom .pro-dec .name {
    font-size: 20px;
    position: relative;
    bottom: 10px;
    font-weight: 500;
    color: white;
    /* background-color: beige; */
    max-width: 180px;
    /* or set fixed width */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.right .bottom .pro-dec .store {
    font-size: 16px;
    position: relative;
    bottom: 30px;
    font-weight: 500;
    color: rgb(209, 207, 207);
}

.cart {
    height: 50px;
    width: 180px;
    background-color: #202020;
    position: relative;
    top: 10px;
    color: white;
    left: 20px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    border: none;
    gap: 30px;
    text-align: center;
    overflow: hidden;
}

.cart p {
    font-size: 16px;
    position: relative;
    left: 10px;
    width: 200px;
    /* background-color: red; */
    text-align: start;
    overflow: hidden;
}

.cart span {
    position: relative;
    top: 16px;
    font-size: 16px;
    right: 10px;
}

.popular-products {
    height: 60px;
    width: 100%;
    /* background-color: green; */
    overflow: hidden;
    display: flex;
}

.popular-products p {
    font-size: 24px;
    font-weight: 600;
    position: relative;
    top: -10px;
    left: 20px;

}

.categories {
    height: 80px;
    width: 700px;
    /* background-color: blue; */
    position: relative;
    bottom: 20px;
    left: 300px;
    display: flex;
    gap: 20px;
}

.cat {

    display: inline-flex;
    white-space: nowrap;
    position: relative;
    top: 30px;
    align-items: center;
    height: 40px;
    padding: 0 12px;
    max-width: 260px;
    min-width: 100px;
    background-color: transparent;
    border: 1px solid black;
    border-radius: 20px;
    box-sizing: border-box;
    flex: 20 0 auto;
    cursor: pointer;
}


.cat p {
    font-size: 16px;
    position: relative;
    left: 10px;
    top: 0px;
    font-weight: 400;
}

.products {
    height: 330px;
    width: 100%;
    display: flex;
    gap: 20px;
    grid-template-columns: 4fr;
    /* background-color: green; */
}

.product-card {
    height: 300px;
    width: 280px;
    /* background-color: grey; */
    position: relative;
    left: 20px;
    top: 10px;
    overflow: hidden;

}

.image {
    height: 200px;
    width: 280px;
    overflow: hidden;
    background-color: white;
    border-radius: 20px;
}

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

.like {
    background-color: white;
    height: 40px;
    width: 40px;
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 100%;
    text-align: center;
}

.like i {
    font-size: 24px;
    position: relative;
    top: 8px;
}

.details {
    height: 100px;
    width: 300px;
    /* background-color: white; */
}

.price {
    font-size: 20px;
    position: relative;
    display: flex;
    bottom: 10px;
    left: 5px;
    gap: 10px;
}

.old-price {
    position: relative;
    left: 5px;
    text-decoration: line-through;
    color: rgb(158, 158, 158);
}

.product-name {
    font-size: 20px;
    position: relative;
    bottom: 30px;
    left: 5px;
    font-weight: 500;
}

.company-name {
    font-size: 16px;
    position: relative;
    bottom: 30px;
    left: 5px;
}

.see-all {
    height: 80px;
    width: 100%;
    /* background-color: red; */
    overflow: hidden;
    display: flex;
}

.see-all p {
    font-size: 22px;
    width: 250px;
    font-weight: 500;
    position: relative;
    left: 20px;
    bottom: 10px;
    color: rgba(128, 128, 128, 0.753);
}

.see-all-btn {
    height: 50px;
    width: 200px;
    background-color: black;
    position: relative;
    left: 750px;
    top: 10px;
    border-radius: 30px;
    display: flex;
}

.see-all-btn p {
    position: relative;
    font-size: 18px;
    left: 70px;
    top: -5px;
    color: white;
}

.discount{
    height: 400px;
    width: 100%;
    /* background-color: green; */
    display: flex;
    gap: 20px;
}

.dis{
    height: 350px;
    width: 580px;
    background-color: red;
    position: relative;
    left: 20px;
    border-radius: 10px;
    overflow: hidden;
}

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

.dis-info{
    position: absolute;
    /* background-color: yellow; */
    width: 340px;
    left: 150px;
    text-align: center;
    top: 10px;
    


}

.off{
height: 0px;
color: white;
}

.dis-name{
    font-size: 30px;
    position: relative;
    height: 0px;
    position: relative;
    color: white;
}

.off span{
    color: rgb(255, 200, 2);
}

.dis-desc{
    /* height: 0px; */
    color: white;
    position: relative;
    top: 15px;
}

.shop-now{
    position: relative;
    height: 40px;
    width: 150px;
    top: 10px;
    border: none;
    background-color: rgb(2, 178, 2);
    border-radius: 5px;
    font-size: 16px;
    color: white;
}

#right-dis{
    position: absolute;
    left: 0px;
    top: 10px;
    text-align: start;
    left: 10px;
}

.rights{
    overflow: hidden;
}