body {
    font-family: none;
    margin: 0;
    padding: 20px;
    text-align: center;
    background-color:white;
}


header {
    position: fixed;
    top: 0;
    left: 0;
    /* border: #28a745 1px solid; */
    color: black;
    width: 100%;
    background-color: none;
}
.logo{
    margin-left: -6%;
}

#toogleBtn {
    font-size: 24px;
    display: none;
    cursor: pointer;
}

@media (max-width: 576px) {
    #toogleBtn {
        display: initial;
        margin-right: 5%;

    }

    #menu {
        top: 50px;
        left: -100%;
        transition: 400ms;
        position: fixed;
        flex-direction: column;
        color: white;
        width: 70%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.7);
        padding: 20px;
        z-index: 1000;
    }

    #menu.open-menu {
        left: 0;
    }

    #menu li {
        margin: 10px 0;
    }
    nav .logo img {
        width: 40%;
        margin-left: -40%;
    }
}

#overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    opacity: 0;
    transition: 400ms;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99;
}

.show-overlay {
    opacity: 1 !important;
    visibility: visible;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 95%;
    margin: auto;
    /* background: transparent; */
    color: black;
    height: 100px;
}

nav .logo img {
    width: 40%;
}

#menu {
    font-size: 16px;
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
    font-family: Arial;
}


.search-box {
    width: 200px;
    height: 25px;
    margin: 0 20px 0 40px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    /* background-color: #181715; */        gap: 2px;
    padding-right: 75px;
    margin-left: 90px;
    border: 1px solid #181715;
}

input::placeholder {
    color: black;
    /* Tomato red color */
    opacity: 1;
    /* Ensure the placeholder text is fully visible */
}

#search-icon {
    border: none;
    height: 20px;
    color: black;
    width: 19px;
    display: block;
}

.search-box input {
    color: black;
    /* background-color: transparent; */
    
    border: none;
    /* Removes the border from the input field */
    outline: none;
    /* Removes the outline when focused */
    flex: 1;
    /* Allows input to take available space */
}
.dropbtn {
    background-color: transparent;
    color: white;
    /* padding: 16px; */
    font-size: 16px;
    border: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 4px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: transparent;
}



/* Responsive Design */
@media (max-width: 768px) {
    #menu {
        display: none;
        flex-direction: column;
        background-color: #fff;
        position: absolute;
        top: 60px;
        right: 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        padding: 20px;
        border-radius: 10px;
        z-index: 1000;
    }

    #menu.show {
        display: flex;
    }

    #toggleBtn {
        display: block;
        margin-right: 5%;

    }
    nav .logo img {
        width: 40%;
        margin-left: -40%;
    }
}

.similars-title {
    /* font-size: 24px; */
    margin-top: 70px;
}


/* Product Details */
.product-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    background-color: white;
    padding: 20px;
    margin-top: 70px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    transition: all 0.3s ease-in-out;
}

.product-details img {
    width: 300px;
    border-radius: 10px;
    cursor: pointer;
}

.product-info {
    max-width: 400px;
    font-family: none        ;
    text-align: left;
}

.product-info h1 {
    font-size: 43px;
}

.btn {
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin: 10px 5px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn.light {
    background-color:gray;
    color: white;
}

.btn.dark {
    background-color: gray;
    color: white;
}

.btn:hover {
    opacity: 0.8;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 14px;
    display: none;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

/* Similar Products */
.similar-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.similar-products {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.product-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 180px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.product-card:hover {
    transform: scale(1.05);
}

.product-card img {
    width: 100px;
    height: auto;
    border-radius: 10px;
}

.product-card h3 {
    font-size: 16px;
    margin: 10px 0 5px;
}

.product-card p {
    font-size: 14px;
    color: #666;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .product-details {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .product-info {
        max-width: 100%;
    }

    .similar-products {
        gap: 15px;
    }

    .product-card {
        width: 150px;
        padding: 15px;
    }

    .product-card img {
        width: 80px;
    }

    .product-card h3 {
        font-size: 14px;
    }

    .product-card p {
        font-size: 12px;
    }
    nav .logo img {
        width: 40%;
        margin-left: -40%;
    }
    .product-info {
        max-width: 400px;
        font-family: none        ;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .product-details {
        padding: 15px;
    }

    .product-card {
        width: 120px;
        padding: 10px;
    }

    .product-card img {
        width: 70px;
    }

    .product-card h3 {
        font-size: 12px;
    }

    .product-card p {
        font-size: 10px;
    }
    .product-info {
        max-width: 400px;
        font-family: none        ;
        text-align: center;
    }
    nav .logo img {
        width: 40%;
        margin-left: -40%;
    }
    
}
