/*
Theme Name: Agrashop Child
Template: agrashop
Author: Sanjay Singh
Version: 1.0
Description: Child Theme of Agrashop
*/

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.logo .custom-logo {
    height: 90px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* HEADER */
.top-bar {
    display: flex;
    justify-content: space-between;
    padding: 0px 30px;
}

.top-icons {
    margin-top: 35px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #ff6a00;
}

.top-icons span {
    margin: 100px;
}

.navbar {
    background: #ff6a00;
    padding: 2px;
    text-align: center;
}

.navbar a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 600;
}

/* MAIN MENU */
.menu {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.menu li {
    position: relative;
}

.menu > li > a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    background: #ff6a00;
}

/* HIDE BUTTON ON DESKTOP */
.menu-toggle {
    display: none;
    background: #ff6a00;
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
}

/* HOVER */
.menu li a:hover {
    background: #e65c00;
}

/* SUB MENU */
.menu ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    display: none;
    min-width: 200px;
    list-style: none;
    padding: 0;
}

.menu ul li a {
    color: #333;
    padding: 10px;
    display: block;
}

/* SHOW SUBMENU */
.menu li:hover > ul {
    display: block;
}

/* SUBMENU HOVER */
.menu ul li a:hover {
    background: #f2f2f2;
}

/* MOBILE */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #ff6a00;
    }

    .menu li {
        text-align: left;
        border-top: 1px solid rgba(255,255,255,0.2);
    }

    .menu > li > a {
        padding: 12px;
        display: block;
    }

    .menu.active {
        display: flex;
    }
    
    .top-bar {
        display: block;
        padding: 0;
        text-align: center;
    }
    
    .top-icons {
        margin: 0;
    }

}
