/*
Theme Name:   Child Graphy Pro
Description:  Child theme
Author:       Argo22
Author URL:   https://argo22.com/
Template:     graphy-pro
Version:      1.2.2
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  graphy-pro-child
*/

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

.main_head {
    background-color: rgb(248 242 239);
    height: 7.375rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    align-items: center;
    display: flex;
    .search-form-input {
        font-family: "Nunito", sans-serif;
    }
}

.site-branding {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.form-wrapper {
    width: 31rem;
    margin-left: 6rem;
}

.search-form-wrapper {
    display: flex;
    align-items: center;
    gap: .5rem;
    border-radius: 9999px;
    background-color: rgb(255 255 255);
    padding-left: 1.5rem;
    box-shadow: 0 2px 6px rgba(132, 104, 89, .13);
}

.search-form-input {
    width: 100%;
    outline-offset: .4rem;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
    border: none !important;
}

.search-input-submit-icon {
    height: 3.5rem;
    width: 3.5rem;
    flex-shrink: 0;
    border-radius: 9999px;
    color: rgb(56 67 13);
    display: flex;
    justify-content: center;
}

.search-input-submit-icon:hover {
    background-color: rgb(154 178 23);
}

.search-input-submit-icon:not(:hover):not(:active) {
    text-shadow: 0 2px 1px rgba(56, 67, 13, .1);
    box-shadow: 0 2px 4px rgba(176, 203, 44, .3);
    background-color: rgb(176 203 44);
}

.search-input-submit-icon-svg {
    margin-left: auto;
    margin-right: auto;
    height: 2.25rem;
    width: 2.25rem;
    color: rgb(56 67 13);
    stroke-width: 1.8;
    overflow: visible !important;
    align-self: center;
}

.site-navigation-wrapper {
    position: relative;
    display: block;
    background-color: rgb(176 203 44);
}

.main-navigation li {
    background-color: rgb(176 203 44) !important;
}

.main-navigation li a {
    font-weight: 700;
    color: rgb(56 67 13);
    text-transform: none;
}

.menu-item.to-eshop {
    display: none;
    text-wrap: nowrap;
    a{
        background-color: #E6714E;
        color: white;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0 18px;
        border-top: 0;
    }
    a:hover {
        background-color: #E0502F;
    }
}

.main-navigation li a:hover {
    background-color: rgb(123 142 16);
    color: rgb(255 255 255);
}

.main-navigation {
    border: none;
    font-family: "Nunito", sans-serif;
    .site-navigation-mobile-top {
        display: flex;
        justify-content: space-between;
    }
    .search-field {
        background-color: #fff;
        border: solid 1px #eee;
        cursor: text;
        max-width: 100%;
        outline: 0;
        width: 240px;
    }
}

.main-navigation.toggled {
    display: block;
    .search-form {
        display: block;
        position: static;
    }
}

.search-form-wrapper-mobile {
    display: none;
}

figure {
    margin: 0;
}

@media screen and (max-width: 1120px) {
    .site-branding {
        max-width: 980px;
    }
    .form-wrapper {
        margin-left: 0;
    }
    .site-content {
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media screen and (max-width: 980px) {
    .site-branding {
        flex-direction: column;
        gap: 20px;
    }

    .main_head {
        height: unset !important;
        padding-bottom: unset !important;
        padding-top: unset !important;
    }
}

@media screen and (max-width: 782px) {
    .form-wrapper {
        display: none;
    }
    .search-form-wrapper-mobile {
        display: block;
        .search-form {
            display: none;
            background-color: rgb(176 203 44);
            padding: 0;
            margin: 0 auto;
            width: calc(100% - 16px);
            label .search-field {
                width: 100%;
            }
        }
    }
    .menu-text {
        padding-left: 20px;
        background-color: rgb(176 203 44);
    }
    .main-navigation {
        li {
            padding-left: 20px;
        }
        .menu-toggle {
            display: flex;
            justify-content: space-between;
            transition: none;
        }
    }

    .site-content {
        margin-left: 20px;
        margin-right: 20px;
    }

    .menu-item.to-eshop {
        display: block;
    }
    .nav-menu > li:first-of-type > a {
        border-top: 0;
    }
}

