/* Hamburger button styling */
.pkp_site_nav_toggle {
    width: 40px;
    height: 40px;
    background: #4caf50;
    border: none;
    border-radius: 6px;
    position: relative;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pkp_site_nav_toggle span,
.pkp_site_nav_toggle span::before,
.pkp_site_nav_toggle span::after {
    position: absolute;
    height: 2px;
    width: 22px;
    background: #fff;
    transition: all 0.3s ease;
}

.pkp_site_nav_toggle span {
    top: 50%;
    transform: translateY(-50%);
}

.pkp_site_nav_toggle span::before { content: ''; top: -7px; }
.pkp_site_nav_toggle span::after { content: ''; top: 7px; }

.pkp_site_nav_toggle.active span { background: transparent; }
.pkp_site_nav_toggle.active span::before { transform: rotate(45deg) translate(5px, 5px); }
.pkp_site_nav_toggle.active span::after { transform: rotate(-45deg) translate(5px, -5px); }

/* Navigation menu default hidden */
.pkp_site_nav_menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    background: #4caf50;
}

/* Show menu when open */
.pkp_site_nav_menu.open {
    max-height: 500px;
    opacity: 1;
}

/* Links styling */
.pkp_navigation_primary a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #43a047;
}

.pkp_navigation_primary a:hover {
    background: #43a047;
}

/* Desktop fixes */
@media screen and (min-width:768px){
    .pkp_site_nav_toggle { display: none; }
    .pkp_site_nav_menu { max-height: none; opacity: 1; }
    .pkp_navigation_primary a { display: inline-block; border:none; background:none; color:#222; }
}
