/**
 * @package Cort\MegaMenuLite
 * @author CORT Business Services Corporation
 * @copyright Copyright © 2023 CORT Business Services Corporation
 */
.panel.wrapper.desktop {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end
}

.panel.header {
    flex-basis: 100%;
}

.ammenu-menu-wrapper {
    flex-basis: fit-content;
}

.block.block-search {
    flex-basis: 20%;
    margin-left: 340px;
}

/**
Logo adjustments
**/
.ammenu-header-container .header.content .ammenu-logo {
    max-width: 166px;
}

@media only screen and (max-width: 768px) {
    .ammenu-header-container .header.content .ammenu-logo {
        max-width: 88px;
    }
}

.ammenu-header-container .header.content {
    display: flex;
    align-items: start;
}

.ammenu-button.-hamburger{
    min-width: 25px !important;
}

/**
End Logo adjustments
**/
.ammenu-menu-wrapper {
    margin-bottom: 0;
    height: 60px;
}

.ammenu-menu-wrapper .ammenu-text-block {
    font-weight: 700;
}

/**
Mobile fix
**/
@media only screen and (max-width: 768px) {
    .minicart-wrapper .cart-icon.show-for-small-only, .minicart-wrapper .action.showcart.show-for-medium {
        display: inline-flex;
    }
}

.cart-icon:before {
    padding: 0 0.5rem;
}

.panel.wrapper.mobile {
    display: none !important;
}

.ammenu-menu-wrapper {
    flex-basis: fit-content;
    margin-bottom: 0;
    position: relative;
    margin-left: 150px;
}

/*@media screen and (max-width: 64rem) {
    .ammenu-menu-wrapper {
        display: none !important;
    }
  }*/
@media screen and (max-width: 30rem) {
    .panel.header {
        order: 2;
        flex-basis: 0;
    }
}

@media screen and (max-width: 30rem) {
    .block.block-search {
        order: 1;
    }
}

@media screen and (max-width: 30rem) {
    .panel.wrapper.desktop {
        display: flex;
        flex-wrap: nowrap;
        width: 75%;
        justify-content: flex-end;
        padding: 0;
    }
}

@media only screen and (max-width: 768px) {
    .ammenu-logo img{
        height: 70px !important;
    }

@media only screen and (max-width: 768px) {
    .header.content .block-search {
        position: inherit;
    }
}

@media only screen and (max-width: 768px) {
    .header.panel {
        padding-right: 0 !important;
    }
}

@media only screen and (max-width: 1024px) {
    .panel.wrapper .my-account {
        display: none;
    }
}

.ammenu-header-container .header.content .minicart-wrapper {
    margin: 0 0 0 10px;
}

ul.ammenu-list .ammenu-text-block .ammenu-text {
    font-weight: 300;
}

.ammenu-header-container .header.content .block-search {
    margin-top: 0.75rem;
}

@media only screen and (max-width: 768px) {
    .ammenu-header-container .header.content .minicart-wrapper {
        margin: 0;
    }
}

@media only screen and (max-width: 768px) {
    .ammenu-header-container .header.content .block-search {
        margin-top: .5rem;
        margin-right: .5rem;
    }
}

@media only screen and (max-width: 500px) {
    .ammenu-header-container .header.content .block-search {
        margin-right: 0;
    }
}

@media only screen and (max-width: 768px) {
    .minicart-wrapper .action.showcart:before {
        margin: 0 .5rem;
    }
}
