@media only screen and (max-width: 768px) {
    header.page-header .ammenu-menu-toggle {
        position: relative;
        float: left;
    }
    header.page-header .ammenu-menu-toggle .ammenu-icon {
        border-color: #fff !important;
        border-bottom: 3px solid;
        min-width: 30px;
    }
    .notrelated .product_usps {
        display: none;
    }
}

@media only screen and (min-width: 768px) {
    .page-layout-checkout_custom #shipping {
        width: 55%;
        display: inline-block;
        vertical-align: top;
    }
    .page-layout-checkout_custom #opc-shipping_method {
        width: 42%;
        margin-left: 2%;
        display: inline-block;
        vertical-align: top;
    }
    .abs-shopping-cart-items-desktop, .block-cart-failed,
    .cart-container .form-cart, .cart-container .cart-gift-item {
        width: 67%;
    }
    .checkout-cart-index .cart-summary {
        width: 30%;
    }
    /** Product Page **/
    .page-layout-1column .product-info-main {
        width: 54%;
    }
    .page-layout-1column .product.media {
        width: 46%;
    }

    .notrelated.page-layout-1column .product.media {
        width: 100%;
    }
    product-info-right .page-title-wrapper .page-title {
        width: 65%;
        font-size: 2.2rem;
        line-height: 1.2;
        letter-spacing: -.05rem;
        font-weight: 400;
    }

    .page-header .amsearch-result-section {
        left: 0 !important;
    }
}

@media only screen and (max-width: 767px) {
    /* Hide the desktop mega menu while the hamburger menu is shown; its hidden
       dropdown otherwise stretches the page height well past the footer */
    .header_cols .header_col_2 .megamenu_v2 {
        display: none;
    }
}

@media only screen and (max-width: 480px) {
    .page-layout-checkout_custom #shipping {
        width: 100%;
        display: block;
    }
    .page-layout-checkout_custom #opc-shipping_method {
        width: 100%;
        margin-left: 0;
        display: block;
    }
    header.page-header {
        border: 0 none;
    }
    header.page-header .header.panel {
        padding: 0;
    }
    .header_cols .header_col_1 {
        flex: 1;
    }
    .header_cols .header_col_2 {
        flex: 0 0 0;
        overflow: hidden;
    }
    .header_cols .header_col_3 {
        flex: 0;
    }

    .header_cols .header_col_1 {
        display: flex;
        flex-wrap: nowrap;
        align-items: start;
    }
    .header_cols .header_col_3 {
        background: 0 none;
    }

    header.page-header .logo,
    header.page-header .ammenu-logo {
        display: block;
        padding: 13px 0 0 60px;
        width: 170px;
    }
    header.page-header .ammenu-menu-toggle {
        flex: 0;
        position: relative;
        padding: 14px 0 0 0;
    }
    header.page-header .ammenu-button.-hamburger {
        flex: 0 0 30px;
        margin-left: 0;
        margin-right: 0;
        order: 0;
        position: relative;
    }

    .header_col_2 .amsearch-wrapper-block {
        position: absolute;
        right: 65px;
        top: 13px;
        width: 40px;
        height: 40px;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }
    .header_col_2 .amsearch-wrapper-block,
    .header_col_2 .amsearch-input {
        transition: none;
    }
    .header_col_2 .amsearch-wrapper-block:before {
        display: none;
    }
    .header_col_2 .amsearch-wrapper-block:not(:focus-within) .amsearch-input {
        font-size: 0;
        border: 0 none;
        text-indent: -9999px;
    }
    .header_col_2 .amsearch-wrapper-block:focus-within {
        width: 260px;
        overflow: visible;
    }
    .header_col_2 .amsearch-result-section:has(.amsearch-result-block.-preload) {
        display: none;
    }
    .minicart-wrapper {
        margin: 13px 0 0 0;
    }
    header .minicart-wrapper .action.showcart .text {
        display: none;
    }

    .sections.nav-sections {
        display: block;
    }

    .home_featured_categories > div {
        flex: 1 0 50%;
    }
    .home_featured_categories > div > a > strong {
        font-size: 1.3rem;
    }

    .cms-index-index .blog_section_large {
        flex-wrap: wrap;
    }
    .cms-index-index .blog_section_large .blog_item_text {
        padding-bottom: 30px;
    }
    .cms-index-index .blog_section_large .blog_item_text h2 {
        font-size: 3rem;
    }
    .cms-index-index .blog_section_large .blog_item_text h2 em {
        font-size: 2rem;
    }
    .cms-index-index .blog_section_large .blog_item_text,
    .cms-index-index .blog_section_large .blog_item_img {
        flex: 1 1 100%;
    }
    .cms-index-index .blog_section_medium .blog_item {
        padding-bottom: 30px;
    }

    .home_boxes .home_box {
        padding-bottom: 30px;
    }

    .navigation a,
    .navigation a:hover,
    .navigation a:focus,
    .navigation a:visited {
        color: #333;
    }

    .navigation .level0 {
        font-size: 1.4rem;
    }
    .navigation .level0 > .level-top {
        font-size: 1.4rem;
        text-transform: capitalize;
        padding: 12px 40px 12px 15px;
    }
    .navigation .parent .level-top:after {
        top: 12px;
    }

/*  .block.filter .filter-title, .block-subtitle { display: block; }
    .sidebar .block.filter { margin-bottom: 20px; }
    .sidebar #narrow-by-list { display: none; }*/
    /*.sidebar .block-content.filter-content:before { padding: 20px; text-align: center; font-size: 2em; content: 'Narrow your Search'; display: block; border: 2px solid #eee; }*/
/*    .sidebar .block-title.filter-title { margin: 0 0 0 0; padding: 10px; text-align: center; font-size: 2em; line-height: 1; border: 2px solid #eee; }
    .sidebar .block-title.filter-title:after { display: inline-block; content:'\e622'; font-family: 'icons-luma-theme'; font-size: 1.3em; vertical-align: middle; }
    .sidebar .block-title.filter-title.active:after { content:'\e621'; }
    .sidebar dd.filter-options-content { display: none; }
    .filter-options .filter-options-title:first-child { padding-top: 30px; }
    .filter-options .filter-options-title { position: relative; padding: 15px 10px; margin: 0; border-bottom: 1px solid #ddd; line-height: 1; font-size: 1em; }
    .filter-options .filter-options-title:after { position: absolute; right: 10px; bottom: 0; display: block; content:'\e622'; font-family: 'icons-luma-theme'; font-size: 3em; }
    .filter-options .filter-options-title.active:after { content:'\e621'; }*/

    .product-info-main .page-title-wrapper .page-title {
        width: 60%;
        font-size: 2rem;
    }

    .product-info-main .box-tocart .field.qty,
    .product-options-bottom .box-tocart .field.qty {
        padding: 0;
    }
    .product-info-main .box-tocart .field.qty .control,
    .product-options-bottom .box-tocart .field.qty .control {
        display: flex;
        flex-wrap: nowrap;
    }
    .product-info-main .product-add-form .box-tocart #qtyminus {
        flex: 0 0 40px;
        margin-right: -1px;
    }
    .product-info-main .product-add-form .box-tocart #qtyplus {
        flex: 0 0 40px;
        margin-left: -1px;
    }
    .product-info-main .box-tocart .input-text.qty,
    .product-options-bottom .box-tocart .input-text.qty {
        flex: 1;
    }

    .product_description_tabs {
        padding: 0;
        background-color: transparent;
    }
    .product.attribute.description {
        width: 100%;
        padding: 0;
        margin-bottom: 50px;
    }
    .tabspanel {
        width: 100%;
        padding: 0;
        background: #fff;
    }
    .tab_item .tab_activator {
        font-size: 1.3em;
    }

    .footer.container,
    .footer_details {
        flex-wrap: wrap;
    }
    .footer_details .col {
        flex: 1 0 50%;
    }
    .footer_col_1, .footer_col_2 {
        flex: 1 0 100%;
    }
    .footer.content {
        text-align: center;
    }
    .block.newsletter {
        padding: 40px 0 20px 0;
    }
    .footer .copyright,
    .footer .design {
        float: none;
    }
    .payment_cards {
        text-align: center;
    }
    .payment_cards h2 {
        text-align: center;
        display: block;
        padding: 0 0 10px 0;
        margin: 0;
    }
}
