:root {
    --amy-mobile-site-header-height: 56px;
    --amy-mobile-site-header-z: 1040;
}

.amy-mobile-site-header,
.amy-mobile-menu-overlay,
.amy-mobile-offcanvas {
    display: none;
}

@media (max-width: 991.98px) {
    :root {
        --amy-mobile-site-header-height: 64px;
    }

    body:not(.editor_enable):not(.o_is_editing):not(.o_in_iframe) #wrapwrap {
        padding-top: var(--amy-mobile-site-header-height);
    }

    body:not(.editor_enable):not(.o_is_editing):not(.o_in_iframe) header#top {
        display: none !important;
    }

    body.amy-mobile-menu-open {
        overflow: hidden;
        touch-action: none;
    }


    body.editor_enable .amy-mobile-site-header,
    body.editor_enable .amy-mobile-menu-overlay,
    body.editor_enable .amy-mobile-offcanvas,
    body.o_is_editing .amy-mobile-site-header,
    body.o_is_editing .amy-mobile-menu-overlay,
    body.o_is_editing .amy-mobile-offcanvas,
    body.o_in_iframe .amy-mobile-site-header,
    body.o_in_iframe .amy-mobile-menu-overlay,
    body.o_in_iframe .amy-mobile-offcanvas,
    html.o_web_client .amy-mobile-site-header,
    html.o_web_client .amy-mobile-menu-overlay,
    html.o_web_client .amy-mobile-offcanvas {
        display: none !important;
    }

    body.editor_enable #wrapwrap,
    body.o_is_editing #wrapwrap,
    body.o_in_iframe #wrapwrap,
    html.o_web_client #wrapwrap {
        padding-top: 0 !important;
    }

    .amy-mobile-site-header {
        align-items: center;
        background: #fff;
        border-bottom: 1px solid #e8e8e8;
        box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
        display: grid;
        grid-template-columns: 42px minmax(82px, 1fr) auto;
        height: var(--amy-mobile-site-header-height);
        left: 0;
        padding: 0 10px;
        position: fixed;
        right: 0;
        top: 0;
        z-index: var(--amy-mobile-site-header-z);
    }

    .amy-mobile-header-brand {
        align-items: center;
        display: inline-flex;
        justify-content: center;
        justify-self: center;
        line-height: 1;
        text-decoration: none;
        white-space: nowrap;
    }

    .amy-mobile-header-brand img {
        display: block;
        height: auto;
        max-height: 34px;
        max-width: 150px;
        object-fit: contain;
        width: auto;
    }

    .amy-mobile-header-actions {
        align-items: center;
        display: flex;
        gap: 4px;
        justify-self: end;
        line-height: 1;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .amy-mobile-header-actions li,
    .amy-mobile-header-action {
        align-items: center;
        display: inline-flex;
        height: 40px;
        justify-content: center;
        line-height: 1;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .amy-mobile-header-actions .divider {
        display: none !important;
    }

    .amy-mobile-header-icon,
    .amy-mobile-menu-toggle {
        align-items: center;
        background: transparent;
        border: 0;
        color: #161616;
        display: inline-flex;
        height: 40px;
        justify-content: center;
        line-height: 1;
        padding: 0;
        position: relative;
        text-decoration: none;
        width: 40px;
    }

    .amy-mobile-header-icon i,
    .amy-mobile-menu-toggle i {
        font-size: 18px;
        line-height: 1;
    }

    .amy-mobile-menu-toggle {
        justify-self: start;
    }

    .amy-mobile-header-icon-wrap {
        align-items: center;
        display: inline-flex;
        justify-content: center;
        position: relative;
    }


    .amy-mobile-header-actions .amy-mobile-header-icon,
    .amy-mobile-header-actions .amy-mobile-header-icon-wrap,
    .amy-mobile-header-actions a.amy-mobile-header-icon,
    .amy-mobile-header-actions button.amy-mobile-header-icon {
        align-items: center !important;
        display: inline-flex !important;
        height: 42px !important;
        justify-content: center !important;
        line-height: 0 !important;
        min-height: 42px !important;
        padding: 0 !important;
        vertical-align: middle !important;
        width: 36px !important;
    }

    .amy-mobile-header-actions .amy-mobile-header-icon > i,
    .amy-mobile-header-actions .amy-mobile-header-icon-wrap > i,
    .amy-mobile-header-actions .amy-mobile-header-icon .fa {
        display: block !important;
        font-size: 22px;
        line-height: 1 !important;
        margin: 0 !important;
        position: static !important;
        transform: none;
        vertical-align: middle !important;
    }

    .amy-mobile-header-search-action .amy-mobile-header-icon > i {
        transform: translateY(1px);
    }

    .amy-mobile-header-cart .amy-mobile-header-icon-wrap,
    .amy-mobile-header-wishlist .amy-mobile-header-icon-wrap {
        transform: translateY(3px);
    }

    .amy-mobile-header-account .dropdown-toggle::after {
        display: none;
    }

    .amy-mobile-account-menu {
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
        min-width: 160px;
        padding: 6px;
    }

    .amy-mobile-account-menu .dropdown-item {
        border-radius: 6px;
        font-size: 0.92rem;
        padding: 9px 12px;
        white-space: nowrap;
    }

    .amy-mobile-header-cart .amy-mobile-header-icon-wrap > i,
    .amy-mobile-header-wishlist .amy-mobile-header-icon-wrap > i {
        font-size: 21px;
    }

    .amy-mobile-header-badge {
        font-size: 0.62rem;
        line-height: 1;
        min-width: 16px;
        padding: 2px 4px;
        position: absolute;
        right: -7px;
        top: -7px;
    }

    .amy-mobile-search-panel {
        align-items: center;
        background: #fff;
        border: 1px solid #dedede;
        border-radius: 999px;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
        display: flex;
        gap: 6px;
        height: 46px;
        left: 16px;
        opacity: 0;
        padding: 5px 6px 5px 16px;
        pointer-events: none;
        position: absolute;
        right: 16px;
        top: calc(100% + 8px);
        transform: translateY(-6px);
        transition: opacity 220ms ease, transform 220ms ease;
        z-index: calc(var(--amy-mobile-site-header-z) + 3);
    }

    body.amy-mobile-search-open .amy-mobile-search-panel {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .amy-mobile-search-leading {
        color: #4b4b4b;
        flex: 0 0 auto;
        font-size: 15px;
    }

    .amy-mobile-search-input {
        border: 0;
        box-shadow: none !important;
        flex: 1 1 auto;
        font-size: 16px;
        height: 36px;
        min-width: 0;
        padding: 0;
    }

    .amy-mobile-search-input:focus {
        outline: 0;
    }

    .amy-mobile-search-submit,
    .amy-mobile-search-close {
        align-items: center;
        background: transparent;
        border: 0;
        color: #161616;
        display: inline-flex;
        flex: 0 0 34px;
        height: 34px;
        justify-content: center;
        padding: 0;
        width: 34px;
    }

    .amy-mobile-search-panel .dropdown-menu {
        border: 1px solid #e5e5e5;
        border-radius: 12px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
        left: 0 !important;
        max-height: 62vh;
        overflow-y: auto;
        padding: 6px;
        right: 0 !important;
        top: calc(100% + 8px) !important;
        transform: none !important;
        width: 100% !important;
    }

    .amy-mobile-search-panel .dropdown-item {
        border-radius: 8px;
        min-height: 56px;
        white-space: normal;
    }

    .amy-mobile-menu-overlay {
        background: rgba(0, 0, 0, 0.42);
        bottom: 0;
        display: block;
        left: 0;
        opacity: 0;
        pointer-events: none;
        position: fixed;
        right: 0;
        top: 0;
        transition: opacity 280ms ease;
        z-index: calc(var(--amy-mobile-site-header-z) + 1);
    }

    .amy-mobile-offcanvas {
        background: #fff;
        bottom: 0;
        box-shadow: 8px 0 28px rgba(0, 0, 0, 0.18);
        display: flex;
        flex-direction: column;
        left: 0;
        max-width: 360px;
        position: fixed;
        top: 0;
        transform: translateX(-104%);
        transition: transform 280ms ease;
        width: 360px;
        z-index: calc(var(--amy-mobile-site-header-z) + 2);
    }

    body.amy-mobile-menu-open .amy-mobile-menu-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    body.amy-mobile-menu-open .amy-mobile-offcanvas {
        transform: translateX(0);
    }

    .amy-mobile-offcanvas-header {
        align-items: center;
        border-bottom: 1px solid #ececec;
        display: flex;
        flex: 0 0 auto;
        height: var(--amy-mobile-site-header-height);
        justify-content: space-between;
        padding: 0 18px;
    }

    .amy-mobile-offcanvas-brand {
        align-items: center;
        display: inline-flex;
        text-decoration: none;
    }

    .amy-mobile-offcanvas-brand img {
        display: block;
        height: auto;
        max-height: 34px;
        max-width: 160px;
        object-fit: contain;
        width: auto;
    }

    .amy-mobile-offcanvas-close {
        align-items: center;
        background: transparent;
        border: 0;
        color: #202020;
        display: inline-flex;
        height: 40px;
        justify-content: center;
        padding: 0;
        width: 40px;
    }

    .amy-mobile-offcanvas-nav {
        flex: 1 1 auto;
        overflow-y: auto;
        padding: 8px 0 24px;
    }

    .amy-mobile-offcanvas-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .amy-mobile-menu-item {
        border-bottom: 1px solid #f0f0f0;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .amy-mobile-menu-link {
        color: #1d1d1d;
        display: block;
        font-size: 0.96rem;
        font-weight: 500;
        padding: 15px 20px;
        text-decoration: none;
    }

    .amy-mobile-submenu {
        background: #f8f8f8;
        border: 0;
        margin: 0;
        padding: 0 0 8px;
        position: static;
        transform: none;
    }


    .amy-mobile-offcanvas .dropdown-menu.amy-mobile-submenu,
    .amy-mobile-offcanvas .amy-mobile-submenu.dropdown-menu {
        box-shadow: none;
        display: none;
        float: none;
        min-width: 0;
        position: static;
        width: 100%;
    }

    .amy-mobile-offcanvas .dropdown-menu.amy-mobile-submenu.show,
    .amy-mobile-offcanvas .amy-mobile-submenu.dropdown-menu.show,
    .amy-mobile-offcanvas .amy-mobile-menu-item.show > .amy-mobile-submenu {
        display: block;
    }

    .amy-mobile-offcanvas .o_mega_menu,
    .amy-mobile-offcanvas .o_mega_menu * {
        max-width: 100%;
    }

    .amy-mobile-offcanvas .o_mega_menu {
        border: 0;
        box-shadow: none;
        position: static !important;
        transform: none !important;
        width: 100% !important;
    }


    .amy-mobile-offcanvas .o_mega_menu.dropdown-menu.show,
    .amy-mobile-offcanvas .amy-mobile-menu-item.show > .o_mega_menu.dropdown-menu {
        display: block !important;
    }

    .amy-mobile-submenu .dropdown-item,
    .amy-mobile-submenu a {
        color: #333;
        display: block;
        padding: 11px 28px;
        text-decoration: none;
    }
    .amy-mobile-offcanvas a,
    .amy-mobile-offcanvas a:hover,
    .amy-mobile-offcanvas a:focus,
    .amy-mobile-offcanvas a:active,
    .amy-mobile-offcanvas .dropdown-toggle,
    .amy-mobile-offcanvas .dropdown-toggle:hover,
    .amy-mobile-offcanvas .dropdown-toggle:focus,
    .amy-mobile-offcanvas .dropdown-toggle:active {
        text-decoration: none !important;
    }

}

@media (max-width: 767.98px) {
    :root {
        --amy-mobile-site-header-height: 56px;
    }

    .amy-mobile-site-header {
        grid-template-columns: 34px minmax(70px, 1fr) auto;
        padding-left: 8px;
        padding-right: 8px;
    }

    .amy-mobile-search-panel {
        left: 12px;
        right: 12px;
    }

    .amy-mobile-header-brand img {
        max-height: 30px;
        max-width: 104px;
    }

    .amy-mobile-header-actions {
        gap: 2px;
    }

    .amy-mobile-header-actions .amy-mobile-header-icon,
    .amy-mobile-header-actions .amy-mobile-header-icon-wrap,
    .amy-mobile-header-actions a.amy-mobile-header-icon,
    .amy-mobile-header-actions button.amy-mobile-header-icon {
        width: 34px !important;
    }

    .amy-mobile-header-actions .amy-mobile-header-icon > i,
    .amy-mobile-header-actions .amy-mobile-header-icon-wrap > i,
    .amy-mobile-header-actions .amy-mobile-header-icon .fa {
        font-size: 20px;
    }

    .amy-mobile-header-cart .amy-mobile-header-icon-wrap > i,
    .amy-mobile-header-wishlist .amy-mobile-header-icon-wrap > i {
        font-size: 20px;
    }

    .amy-mobile-offcanvas {
        max-width: 320px;
        width: 85vw;
    }
}

@media (min-width: 992px) {
    .amy-mobile-site-header,
    .amy-mobile-menu-overlay,
    .amy-mobile-offcanvas {
        display: none !important;
    }
}


@media (min-width: 992px) {
    #o_main_nav > .navbar-nav > .o_wsale_my_cart:not(.amy-desktop-header-cart),
    #o_main_nav > .navbar-nav > .o_wsale_my_wish:not(.amy-desktop-header-wishlist) {
        display: none !important;
    }

    .amy-desktop-header-action {
        align-items: center;
        display: inline-flex;
    }

    .amy-desktop-header-icon {
        align-items: center;
        display: inline-flex;
        height: 36px;
        justify-content: center;
        line-height: 1;
        min-width: 36px;
        text-decoration: none;
        width: 36px;
    }

    .amy-desktop-header-icon.dropdown-toggle::after {
        display: none;
    }

    .amy-desktop-header-icon .fa,
    .amy-desktop-header-icon .oi {
        font-size: 20px;
        line-height: 1;
    }

    .amy-desktop-account-menu {
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
        min-width: 160px;
        padding: 6px;
    }

    .amy-desktop-account-menu .dropdown-item {
        border-radius: 6px;
        font-size: 0.92rem;
        padding: 9px 12px;
        white-space: nowrap;
    }
}

/* Desktop header icon alignment: Search, Account, Wishlist, Cart */
@media (min-width: 992px) {
    #o_main_nav > .navbar-nav {
        align-items: center !important;
        column-gap: 8px !important;
    }

    #o_main_nav > .navbar-nav > li.amy-desktop-header-action,
    #o_main_nav > .navbar-nav > li.o_wsale_my_wish.amy-desktop-header-wishlist,
    #o_main_nav > .navbar-nav > li.o_wsale_my_cart.amy-desktop-header-cart {
        align-items: center !important;
        display: inline-flex !important;
        flex: 0 0 auto !important;
        height: 44px !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #o_main_nav a[data-bs-target="#o_search_modal"],
    #o_main_nav .amy-desktop-header-icon {
        align-items: center !important;
        background: #f1f3f5 !important;
        border: 0 !important;
        border-radius: 50% !important;
        box-shadow: none !important;
        color: #111827 !important;
        display: inline-flex !important;
        flex: 0 0 44px !important;
        height: 44px !important;
        justify-content: center !important;
        line-height: 1 !important;
        margin: 0 !important;
        min-height: 44px !important;
        min-width: 44px !important;
        overflow: visible !important;
        padding: 0 !important;
        position: relative !important;
        text-align: center !important;
        text-decoration: none !important;
        vertical-align: middle !important;
        width: 44px !important;
    }

    #o_main_nav a[data-bs-target="#o_search_modal"]::before,
    #o_main_nav a[data-bs-target="#o_search_modal"]::after,
    #o_main_nav .amy-desktop-header-icon::before,
    #o_main_nav .amy-desktop-header-icon::after,
    #o_main_nav .amy-desktop-header-icon.dropdown-toggle::after {
        border: 0 !important;
        box-shadow: none !important;
        content: none !important;
        display: none !important;
    }

    #o_main_nav a[data-bs-target="#o_search_modal"] > i,
    #o_main_nav .amy-desktop-header-icon > i,
    #o_main_nav .amy-desktop-header-icon .fa,
    #o_main_nav .amy-desktop-header-icon .oi,
    #o_main_nav .amy-desktop-header-icon > div > i {
        align-items: center !important;
        display: inline-flex !important;
        font-size: 21px !important;
        height: 22px !important;
        justify-content: center !important;
        left: auto !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        position: static !important;
        text-align: center !important;
        top: auto !important;
        transform: none !important;
        width: 22px !important;
    }

    #o_main_nav a[data-bs-target="#o_search_modal"] .fa-stack,
    #o_main_nav a[data-bs-target="#o_search_modal"] .lh-lg,
    #o_main_nav .amy-desktop-header-icon .fa-stack,
    #o_main_nav .amy-desktop-header-icon .lh-lg {
        height: 22px !important;
        line-height: 1 !important;
        width: 22px !important;
    }

    #o_main_nav .amy-desktop-header-icon > div {
        align-items: center !important;
        display: inline-flex !important;
        height: 44px !important;
        justify-content: center !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        position: static !important;
        width: 44px !important;
    }

    #o_main_nav .amy-desktop-header-badge,
    #o_main_nav .amy-desktop-header-icon .my_cart_quantity,
    #o_main_nav .amy-desktop-header-icon .my_wish_quantity {
        align-items: center !important;
        display: inline-flex !important;
        font-size: 11px !important;
        height: 20px !important;
        justify-content: center !important;
        line-height: 1 !important;
        margin: 0 !important;
        min-width: 20px !important;
        padding: 0 5px !important;
        position: absolute !important;
        right: -3px !important;
        top: -5px !important;
        transform: none !important;
        z-index: 2 !important;
    }
}

/* Keep mobile header action icons on the same visual center line. */
@media (max-width: 991.98px) {
    .amy-mobile-header-actions {
        align-items: center !important;
    }

    .amy-mobile-header-actions .amy-mobile-header-action,
    .amy-mobile-header-actions li,
    .amy-mobile-header-actions .amy-mobile-header-icon,
    .amy-mobile-header-actions a.amy-mobile-header-icon,
    .amy-mobile-header-actions button.amy-mobile-header-icon,
    .amy-mobile-header-actions .amy-mobile-header-icon-wrap {
        align-items: center !important;
        display: inline-flex !important;
        height: 44px !important;
        justify-content: center !important;
        line-height: 1 !important;
        min-height: 44px !important;
        padding: 0 !important;
        vertical-align: middle !important;
    }

    .amy-mobile-header-actions .amy-mobile-header-icon,
    .amy-mobile-header-actions a.amy-mobile-header-icon,
    .amy-mobile-header-actions button.amy-mobile-header-icon,
    .amy-mobile-header-actions .amy-mobile-header-icon-wrap {
        width: 40px !important;
    }

    .amy-mobile-header-actions .amy-mobile-header-icon > i,
    .amy-mobile-header-actions .amy-mobile-header-icon-wrap > i,
    .amy-mobile-header-actions .amy-mobile-header-icon .fa,
    .amy-mobile-header-actions .amy-mobile-header-icon-wrap .fa {
        align-items: center !important;
        display: inline-flex !important;
        font-size: 22px !important;
        height: 22px !important;
        justify-content: center !important;
        line-height: 1 !important;
        margin: 0 !important;
        position: static !important;
        transform: none !important;
        vertical-align: middle !important;
        width: 22px !important;
    }

    .amy-mobile-header-search-action .amy-mobile-header-icon > i,
    .amy-mobile-header-cart .amy-mobile-header-icon-wrap,
    .amy-mobile-header-wishlist .amy-mobile-header-icon-wrap {
        transform: none !important;
    }

    .amy-mobile-header-badge {
        right: -4px !important;
        top: 1px !important;
    }
}

/* Mobile product detail title size v9 loaded css: compact product H1 on mobile/tablet. */
@media (max-width: 991.98px) {
  html body #wrapwrap #product_detail h1,
  html body #wrapwrap #product_detail_main h1,
  html body #wrapwrap #product_details h1,
  html body #wrapwrap .oe_website_sale #product_detail h1,
  html body #wrapwrap .oe_website_sale #product_details h1,
  html body #wrapwrap .o_wsale_product_details_content_section_title h1,
  html body #wrapwrap h1.h3.mb-3,
  html body #wrapwrap h1.product-title,
  html body #wrapwrap .product_title,
  html body #wrapwrap .o_product_title {
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 23.94px !important;
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    letter-spacing: 0 !important;
  }
}
