/* Shared compact header chrome (phone + tablet redesign). */
body.aps-mobile-redesign.homepage .aps-main-header-wrap--mobile-v2 {
    order: 1;
    flex-shrink: 0;
}

body.aps-mobile-redesign .aps-main-header-wrap--mobile-v2 {
    position: sticky;
    top: 0;
    z-index: 60;
    flex-shrink: 0;
    background-color: #054f59 !important;
}

body.aps-mobile-redesign .aps-main-header-wrap--mobile-v2 .aps-main-header {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    background-color: #054f59 !important;
}

body.aps-mobile-redesign .aps-main-header-wrap--mobile-v2 .aps-mobile-header__menu--tablet-start {
    display: none !important;
}

body.aps-mobile-redesign .aps-main-header-wrap--mobile-v2 .aps-mobile-header__menu--phone-end {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #00FFB5;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

body.aps-mobile-redesign .aps-main-header-wrap--mobile-v2 .aps-mobile-header__brand {
    flex: 0 1 auto;
    min-width: 0;
}

body.aps-mobile-redesign .aps-main-header-wrap--mobile-v2 .aps-mobile-header__actions {
    flex: 0 0 auto;
    gap: 0;
    padding: 0;
    margin-left: 0;
}

body.aps-mobile-redesign .aps-main-header-wrap--mobile-v2 .aps-mobile-header__icon-group {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
}

body.aps-mobile-redesign .aps-main-header-wrap--mobile-v2 .aps-mobile-header__icon-group .js-user-dropdown-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    overflow: visible;
}

body.aps-mobile-redesign .aps-main-header-wrap--mobile-v2,
body.aps-mobile-redesign .aps-main-header-wrap--mobile-v2 .aps-main-header,
body.aps-mobile-redesign .aps-main-header-wrap--mobile-v2 .aps-mobile-header__actions,
body.aps-mobile-redesign .aps-main-header-wrap--mobile-v2 .aps-mobile-header__icon-group {
    overflow: visible;
}

body.aps-mobile-redesign .aps-main-header-wrap--mobile-v2 .js-user-dropdown-menu {
    z-index: 80;
    max-width: min(12rem, calc(100vw - 1.5rem));
}

body.aps-mobile-redesign .aps-main-header-wrap--mobile-v2 .aps-mobile-header__icon-btn--tablet-only,
body.aps-mobile-redesign .aps-main-header-wrap--mobile-v2 #location-trigger-mobile {
    display: none !important;
}

body.aps-mobile-redesign .aps-main-header-wrap--mobile-v2 .aps-mobile-header__icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 9999px;
    background: #00FFB5;
    color: #002d2f;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    position: relative;
    flex-shrink: 0;
    text-decoration: none;
    box-sizing: border-box;
}

body.aps-mobile-redesign .aps-main-header-wrap--mobile-v2 .aps-mobile-header__icon-btn i {
    display: block;
    line-height: 1;
    font-size: 0.9375rem;
}

body.aps-mobile-redesign .aps-main-header-wrap--mobile-v2 .aps-mobile-header__icon-btn--cart {
    overflow: visible;
}

body.aps-mobile-redesign .aps-main-header-wrap--mobile-v2 .aps-mobile-header__badge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 1rem;
    height: 1rem;
    min-width: 1rem;
    padding: 0;
    border-radius: 9999px;
    background: #00FFB5;
    color: #002D2F;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1rem;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 0 0 2px rgba(0, 45, 47, 0.1);
}

body.aps-mobile-redesign .aps-main-header-wrap--mobile-v2 .aps-mobile-header__brand > .rounded {
    width: 9.5rem !important;
    max-width: calc(100vw - 7.5rem);
}

body.aps-mobile-redesign #mobile-menu-drawer {
    right: 0;
    left: auto;
    transform: translateX(100%);
}

body.aps-mobile-redesign #mobile-menu-drawer.translate-x-0 {
    transform: translateX(0) !important;
}
