/* Keep the mobile navigation control visible on the Antler dark header. */
[data-background="dark"] .menu-wrap.mobile .menu-toggle .icon { background-color: #fff; }
.menu-wrap.mobile .menu-toggle { min-width: 44px; min-height: 44px; }
.menu-wrap.mobile .menu-toggle:focus-visible { outline: 2px solid #fdd700; outline-offset: 4px; }

/* Compact utility-page header and accessible mobile account navigation. */
.top-header.item17{padding-top:157px!important;padding-bottom:40px!important}
.top-header.item17 .wrapper{padding-top:0!important;padding-bottom:0!important}
.top-header.item17 .heading{font-size:clamp(1.8rem,4vw,2.6rem)!important;line-height:1.25}
.top-header.item17 .subheading{font-size:1rem;line-height:1.6;margin-top:12px}
.bg-colorstyle>.wrapper.sec-normal{padding-top:48px;padding-bottom:48px}
.fasting-password-reset{max-width:760px;margin-inline:auto}
@media(max-width:991px){
 .menu-wrap.mobile:not(.active) .main-menu{visibility:hidden;pointer-events:none}
 .menu-wrap.mobile.active .main-menu{visibility:visible;pointer-events:auto;overflow-y:auto;max-height:calc(100vh - 100px)}
 .menu-wrap.mobile .main-menu>li>a{display:block;padding:12px 20px;font-size:18px;line-height:1.4}
 .menu-wrap.mobile .main-menu>li:not(.open):not(.show)>.dropdown-menu{display:none}
 .menu-wrap.mobile .main-menu>li.open>.dropdown-menu,.menu-wrap.mobile .main-menu>li.show>.dropdown-menu{display:block}
 .menu-wrap.mobile .main-menu .dropdown-menu{position:static;float:none;text-align:center;width:100%}
 .menu-wrap.mobile .main-menu .dropdown-menu a{display:block;padding:12px 20px;line-height:1.4}
 .top-header.item17{padding-top:131px!important;padding-bottom:24px!important}
 .bg-colorstyle>.wrapper.sec-normal{padding-top:32px;padding-bottom:32px}
}

/* Keep the close control above the full-screen mobile menu. */
.menu-wrap.mobile .menu-toggle{position:relative;z-index:1001}
.menu-wrap.mobile .menu-toggle .icon{transition:transform .2s,opacity .2s}
.menu-wrap.mobile .menu-toggle.active .icon:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-wrap.mobile .menu-toggle.active .icon:nth-child(2){opacity:0}
.menu-wrap.mobile .menu-toggle.active .icon:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Keep the cart summary below the fixed header; supersede legacy scroll margins. */
@media(min-width:992px){
 #order-standard_cart #scrollingPanelContainer{position:sticky;top:132px;align-self:flex-start}
 #order-standard_cart #orderSummary,#order-standard_cart .secondary-cart-body{margin-top:0!important}
}

/* Restore the account Logout link hidden by the vendor theme. */
#Secondary_Navbar-Account .secundary-nav .secundary-content li#Secondary_Navbar-Account-Logout { display: block; }

/* Make keyboard focus visible over both the dark theme and yellow controls. */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
 outline: 3px solid #fdd700 !important;
 outline-offset: 4px !important;
 box-shadow: 0 0 0 2px #101920 !important;
}

/* Preserve the pink fill while making small button labels legible. */
[data-color="pink"] .btn-default-pink-fill { color: #101920 !important; }
[data-color="pink"] .btn-default-pink-fill:hover {
 background-color: #4c4a4a !important;
 color: #fff !important;
}

/* Keep cart field labels readable on the selected dark background. */
[data-background="dark"] #order-standard_cart label { color: #c5d0d8 !important; }

/* Preserve Antler form readability on the existing mode-specific backgrounds. */
[data-background="dark"] .fasting-account-policy-links a,
[data-background="dark"] .loginpage #registration .divider > span:not(:empty),
[data-background="dark"] .loginpage #registration #default-captcha-domainchecker > p {
    color: #fff;
}
[data-background="light"] .fasting-account-policy-links a,
[data-background="light"] .loginpage #registration .divider > span:not(:empty),
[data-background="light"] .loginpage #registration #default-captcha-domainchecker > p {
    color: #212122;
}
/* The enabled Yes handle keeps its existing opaque green background. */
#registration .bootstrap-switch:not(.bootstrap-switch-disabled) .bootstrap-switch-handle-on.bootstrap-switch-success {
    color: #15212a;
}
/* Match only this Antler cart summary when its brand background is pink. */
[data-color="pink"] #order-standard_cart #orderSummary.fasting-antler-summary .subtotal span,
[data-color="pink"] #order-standard_cart #orderSummary.fasting-antler-summary .bordered-totals span,
[data-color="pink"] #order-standard_cart #orderSummary.fasting-antler-summary .recurring-totals span,
[data-color="pink"] #order-standard_cart #orderSummary.fasting-antler-summary .total-due-today > span:not(.amt) {
    color: #15212a;
}
/* This notice retains the existing light-blue informational background. */
#order-standard_cart .fasting-hosting-empty {
    color: #15212a;
}
