﻿*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

    /* commented for login tab 
        body.popup-active {
        overflow: hidden;*/ /* Disables scrolling */
    /*}*/

/* to make the header and promo bar sticky so for that i had did it  */
.header {
    position: sticky;
    top: 0;
    z-index: 10;
}


/* regular styling start from here  */
.header {
    /* max-width: 1200px; */
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    padding: 0px 20px;
    background-color: #ffffff;
    justify-content: space-between;
    border-bottom: 1px solid #dddd;
}

.logo-box {
    flex: 1 1 calc(10% + 2vw);
}

.icons-box {
    flex: 1 1 calc(10% + 2vw);
}

.search-box {
    flex: 1 1 calc(55% + 5vw);
}

/* Second row */
.menu-box {
    flex: 1 1 calc(25% + 2vw);
}

.payment-box {
    flex: 1 1 calc(50% + 3vw);
}

/* Styling for responsiveness */
@media (max-width: 786px) {
    .header {
        padding: 13px 12px 8px;
    }

    .box:nth-child(4) {
        order: 1;
        flex: 1 1 calc(0.5% + 1vw);
    }

    .box:nth-child(1) {
        order: 2;
        flex: 1 1 calc(40% + 2vw);
    }

    .box:nth-child(3) {
        order: 3;
        flex: 1 1 calc(15% + 1vw);
    }

    .box:nth-child(5) {
        order: 6;
        display: none;
    }

    .box:nth-child(6) {
        order: 5;
        flex: 1 1 90%;
    }

    .box:nth-child(2) {
        order: 4;
        flex: 1 1 86%;
    }
}

/* LOGO  */
.logo-box {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 50px;
    color: #000;
}
    .logo-box a {
        font-family: "Montserrat", sans-serif;
        font-optical-sizing: auto;
    }
    @media (max-width: 920px) {
        .logo-box {
        font-size: 20px;
    }
}

@media (max-width: 786px) {
    .logo-box {
        justify-content: left;
    }
    a.montserrat {
        width: 100%;
        text-align: center;
        font-size: 40px;
    }
    .menu-boxp {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column; /* stack children vertically */
        justify-content: center; /* push children to the bottom */
        align-items: center; /* center horizontally */
    }
}

/* search box container */
.search-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
}

/* search box inner container */
.search-box-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 90%;
}

/* search bar input */
.search-bar {
    font-family: sans-serif;
    font-size: 100%;
    line-height: 1.15;
    background-color: #f7f7f7;
    border: 1px solid #ccc;
    border-radius: 24px;
    padding: .75rem 1.5rem;
    width: 100%;
    transition: border-color 0.3s ease;
}

    /* search bar placeholder */
    .search-bar::placeholder {
        color: #ccc;
    }

/* search button */
.search-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 10px;
    width: 24px;
    height: 100%;
    color: #333;
    display:flex;
    align-items:center;
}

/* hover effect for search bar */
.search-bar:hover,
.search-bar:focus {
    outline: none;
}

/* button hover effect */
.search-btn:hover i {
    color: #ccc;
    /* Icon color on hover */
}


/* Hide the clear icon in the text input */
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    display: none;
}

input[type="text"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    display: none;
}



/* Container for icons */
.icon-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100px;
    height: 60px;
}

    /* General icon styling */
    .icon-container a, .icon-container i {
        font-size: 1.6rem;
        color: #222;
        cursor: pointer;
        position: relative; /* Required for positioning the badge */
    }

        /* Hover effect for icons */
        .icon-container a:hover, .icon-container i:hover {
            color: #555;
        }

/* Cart badge styling */
.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ffcc00;
    color: #000;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    font-weight: bold;
}
/* Cart icon specific styling */
.cart-icon {
    padding: 8px;
}

/* User icon specific styling */
.user-icon {
    padding: 8px;
}




/* menu icon container */
.menu-box {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    font-size: 16px;
    /* border-right: 0.5px solid #555; */
    cursor: pointer;
    width: fit-content;
}

    .menu-box a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-decoration: none;
        color: #333;
    }

    .menu-box label {
        cursor: pointer;
    }

    .menu-box i {
        margin-right: 20px;
        font-size: 18px;
    }

    .menu-box a:hover {
        color: inherit;
    }

@media (max-width: 786px) {
    .menu-box label {
        display: none;
    }

    .menu-box {
        border: none;
    }
}


/* credit card container */
.payment-box {
    display: flex;
    align-items: center;
    justify-content: right;
    padding: 10px 25px;
    font-size: 16px;
    width: fit-content;
}

    .payment-box a {
        display: flex;
        align-items: center;
        justify-self: right;
        text-decoration: none;
        color: #333;
    }

    .payment-box i {
        margin-right: 15px;
        font-size: 18px;
    }

    .payment-box label {
        font-size: 16px;
        cursor: pointer;
    }

    .payment-box:hover {
        color: #000;
    }

    .payment-box a:hover {
        color: inherit;
    }




/* promotion header */
.advertisement-banner-header {
    height: 40px;
    background-color: #343a40;
    color: #fff;
    padding: 11px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .advertisement-banner-header a {
        font-size: 14px;
        color: #fff;
    }

        .advertisement-banner-header a:hover {
            color: #dddddd;
        }



@media (max-width: 786px) {
    .advertisement-banner-header a {
        font-size: 12px;
    }
}












    /* *************** footer ********************/

    /* footer style  */
    .footer-container {
        background-color: #f8f8f8;
        padding: 50px 150px;
        font-family: Arial, sans-serif;
    }

    .footer-content {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-bottom: 20px;
    }

    .footer-column {
        width: 23%;
        margin-bottom: 20px;
    }

        .footer-column h4 {
            font-size: 16px;
            margin-bottom: 10px;
            color: #333;
        }

        .footer-column ul {
            list-style: none;
            padding: 0;
        }

            .footer-column ul li {
                margin-bottom: 8px;
            }

                .footer-column ul li a {
                    text-decoration: none;
                    color: #666;
                    font-size: 14px;
                }

                    .footer-column ul li a:hover {
                        color: #000;
                    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-top: 1px solid #ccc;
        padding-top: 10px;
    }

    .social-icons {
        display: flex;
        gap: 15px;
        margin-bottom: 10px;
    }

        .social-icons .icon {
            display: inline-block;
            width: 40px;
            height: 40px;
            background-color: #ddd;
            color: #333;
            font-size: 20px;
            line-height: 40px;
            text-align: center;
            border-radius: 50%;
            text-decoration: none;
            transition: background-color 0.3s, color 0.3s;
        }

            .social-icons .icon:hover {
                background-color: #333;
                color: #fff;
            }

    .footer-bottom p {
        font-size: 14px;
        color: #666;
    }

    @media (max-width: 768px) {
        .footer-container {
            padding: 20px 10px;
        }

        .footer-column {
            width: 45%;
        }
    }

    @media (max-width: 480px) {
        .footer-column {
            display: none;
        }

        .social-icons {
            justify-content: center;
        }
    }






    /************* login container ****************/
    /* login container  */
    /* Complete Popup Styling */
    .complete-popup {
        font-family: 'Roboto', sans-serif;
        margin: 0;
        padding: 20px; /* Adds padding around the content */
        background: #f5f5f5;
        /* position: fixed;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
       z-index: 15;*/
        width: 90%; /* Adjust width to be responsive */
        max-width: 500px; /* Max width for larger screens */
        border-radius: 8px; /* Rounded corners for the popup */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Adds shadow for better visibility */

        overflow: hidden; /* Prevents content from spilling out */
        transition: opacity 0.3s ease-in-out; /* Smooth fade-in/out effect */
    }

    /* Popup Container (Content Area inside the Popup) */
    .popup-container {
        width: 100%; /* Full width relative to the parent */
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        padding: 20px; /* Padding inside the container */
        box-sizing: border-box;
    }

    .tabs {
        display: flex;
        justify-content: space-between;
        background: #f7f7f7;
    }

    .tab {
        flex: 1;
        text-align: center;
        padding: 10px 0;
        cursor: pointer;
        font-weight: 500;
        color: #555;
    }

        .tab.active {
            color: #ff9f00;
            border-bottom: 3px solid #ff9f00;
        }

    .form {
        padding: 20px;
        display: none;
    }

        .form.active {
            display: block;
        }

    .icon input {
        width: 100%;
        padding: 10px;
        margin: 10px 0;
        border: 1px solid #ddd;
        border-radius: 5px;
    }

    .remember-me input {
        margin-right: 5px;
    }

    .form .btn {
        width: 100%;
        background: #ff9f00;
        color: #fff;
        padding: 10px;
        border: none;
        border-radius: 5px;
        font-weight: 700;
        cursor: pointer;
    }

        .form .btn:hover {
            background: #e68a00;
        }

    .form .icon {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #888;
    }

        .form .icon i {
            color: #555;
        }

    .popup-container-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        color: #424242;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }

        .popup-container-header h3 {
            margin: 0;
            font-size: 1.2rem;
        }

    .close-icon-login {
        cursor: pointer;
    }

        .close-icon-login i {
            font-size: 1.2rem;
            color: #424242;
            transition: transform 0.6s ease, color 0.6s ease;
            /* Smooth transition */
        }

            .close-icon-login i:hover {
                color: #8d8d8d;
                transform: rotate(180deg);
                /* Rotate the icon 180 degrees */
            }

    .popup-container input:focus {
        outline: none;
        border-color: #ff9f00;
    }

    .chkbox-forgot {
        margin: 10px 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .forgot-password {
        display: flex;
        justify-content: right;
        align-items: center;
    }

        .forgot-password a {
            color: #333333;
        }

            .forgot-password a:hover {
                color: #818181;
            }


