/* MJX header navigation: option 02 desktop + option 06 mobile. */
.mjx-header-actions .shop-icon {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 3px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.mjx-header-actions .shop-icon li,
.mjx-header-actions .shop-icon li + li {margin: 0; padding: 0; list-style: none;}
.mjx-header-actions .shop-icon li a,
.mjx-header-actions .shop-icon li button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 65px;
    padding: 0;
    border: none;
    background: transparent;
    line-height: 1;
    color: #2c3941;
    text-decoration: none;
    cursor: pointer;
}
.mjx-header-actions .shop-icon li a:hover,
.mjx-header-actions .shop-icon li a:focus-visible,
.mjx-header-actions .shop-icon li button:hover,
.mjx-header-actions .shop-icon li button:focus-visible {color: #527082;}
.mjx-header-actions .shop-icon svg,
.mjx-mobile-dock svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.mjx-header-actions .shop-icon .mjx-nav-my {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    height: 23px;
    padding: 0 3px;
    border: 1px solid #cbd5dc;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: -.35px;
    color: inherit;
}
.mjx-header-actions .shop-icon li.btn-cart {position: relative;}
.mjx-header-actions .shop-icon li.btn-cart span.mjx-nav-cart-count {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 13px;
    left: auto;
    right: -5px;
    min-width: 16px;
    width: auto;
    height: 16px;
    padding: 0 3px;
    border: 1px solid #fff;
    border-radius: 9px;
    background: #e84c57;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
}
.mjx-header-actions .shop-icon .mjx-nav-shop-link img {width: 21px;}
.mjx-header-actions .shop-icon .mjx-nav-grid-icon {fill: currentColor;stroke: none;}
/* Desktop: keep all original icons, then append the guest-only account links. */
.mjx-header-actions .shop-icon li.mjx-nav-auth-link a {
    width: auto;
    height: 33px;
    min-width: 0;
    padding: 0 9px;
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
    line-height: 1;
}
.mjx-header-actions .shop-icon li.mjx-nav-auth-login {margin-left: 9px;}
.mjx-header-actions .shop-icon li.mjx-nav-auth-login a {
    color: #526a7a;
}
.mjx-header-actions .shop-icon li.mjx-nav-auth-register a {
    padding: 0 9px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #526a7a;
}
.mjx-header-actions .shop-icon li.mjx-nav-auth-register a:hover,
.mjx-header-actions .shop-icon li.mjx-nav-auth-register a:focus-visible {
    border: 0;
    background: transparent;
    color: #344d5d;
}
.mjx-mobile-auth, .mjx-mobile-dock {display: none;}
@media (min-width: 992px) {
    .mjx-header-actions .shop-icon li.mobile-nav-trigger {display: none;}
}
@media (max-width: 991px) {
    .header-inner {min-height: 50px;}
    .header-right.mjx-header-actions {display: none;}
    /* Account controls occupy the original top-right action area on mobile. */
    .mjx-mobile-auth {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: flex-end;
        gap: 5px;
        margin-left: auto;
        white-space: nowrap;
    }
    .mjx-mobile-auth__link,
    .mjx-mobile-auth__link:link,
    .mjx-mobile-auth__link:visited {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 32px;
        padding: 0 9px;
        border: 1px solid transparent;
        border-radius: 7px;
        font-size: 11px;
        font-weight: 700;
        line-height: 1;
        color: #506676;
        background: transparent;
        text-decoration: none;
        transition: background-color .15s, border-color .15s;
    }
    .mjx-mobile-auth__link:hover,
    .mjx-mobile-auth__link:focus-visible {background: #eff4f7;color: #344d5d;}
    .mjx-mobile-auth__register {
        border: 0 !important;
        background: transparent !important;
        color: #506676 !important;
    }
    .mjx-mobile-auth__register:hover,
    .mjx-mobile-auth__register:focus-visible {
        border: 0 !important;
        background: transparent !important;
        color: #344d5d !important;
    }
    /* The site wrapper ends after the footer; reserve space below its content. */
    .wrapper {padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));}
    .mjx-mobile-dock {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: stretch;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        min-height: 65px;
        padding: 5px 5px calc(5px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid #e1e8ed;
        background: #fff;
        box-shadow: 0 -5px 22px rgba(37, 55, 67, .07);
        z-index: 990;
    }
    .mjx-mobile-dock__item,
    .mjx-mobile-dock__item:link,
    .mjx-mobile-dock__item:visited {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-width: 0;
        min-height: 55px;
        margin: 0;
        padding: 2px 0;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: #536674;
        text-decoration: none;
        cursor: pointer;
        font-family: inherit;
    }
    .mjx-mobile-dock__item:hover,
    .mjx-mobile-dock__item:focus-visible {
        background: #f0f4f6;
        color: #344e5e;
    }
    .mjx-mobile-dock__glyph {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 23px;
        height: 23px;
        line-height: 23px;
    }
    .mjx-mobile-dock__my {
        font-size: 12px;
        font-weight: 850;
        letter-spacing: -.35px;
    }
    .mjx-mobile-dock__label {
        display: block;
        max-width: 100%;
        font-size: 10px;
        font-weight: 650;
        line-height: 1.1;
        white-space: nowrap;
        color: #70818f;
    }
    .mjx-mobile-dock__count {
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        top: -4px;
        right: -9px;
        height: 16px;
        min-width: 16px;
        padding: 0 3px;
        border: 1px solid #fff;
        border-radius: 9px;
        background: #e84c57;
        color: #fff;
        font-size: 9px;
        font-weight: 800;
        line-height: 1;
    }
    .mjx-mobile-dock .mjx-nav-grid-icon {fill: currentColor; stroke: none;}
    /* Keep floating helpers above the dock without covering its buttons. */
    .eb-backtotop {bottom: calc(90px + env(safe-area-inset-bottom, 0px));}
    .counsel-btn {bottom: calc(145px + env(safe-area-inset-bottom, 0px));}
}
@media (max-width: 340px) {
    .mjx-mobile-auth {gap: 2px;}
    .mjx-mobile-auth__link {padding: 0 7px; font-size: 10.5px;}
    .mjx-mobile-dock {padding-left: 2px;padding-right: 2px;}
    .mjx-mobile-dock__label {font-size: 9px;}
}
