/* Michael shop only: keep added navigation links and native menu buttons on one baseline. */
.bal-z-header .bal-z-desktop-nav{align-items:stretch}
.bal-z-header .bal-z-desktop-nav>.bal-z-nav-item{display:flex;align-items:stretch}
.bal-z-header .bal-z-desktop-nav>.bal-z-nav-item>:is(a,button){display:inline-flex;align-items:center;justify-content:center;align-self:stretch;height:100%;min-height:0;margin:0;padding:0;border:0;font-size:16px;font-weight:700;line-height:22px;white-space:nowrap;text-align:center}
.bal-z-header .bal-z-desktop-nav>.bal-z-nav-item>button[aria-expanded=true]{box-shadow:inset 0 -3px currentColor}
@media(max-width:1100px){.bal-z-header .bal-z-desktop-nav>.bal-z-nav-item>:is(a,button){font-size:14px}}

/* Let the details row reach the bottom even when another card needs more swatch rows. */
.bal-eyewear-theme .bal-z-product-card{display:flex;flex-direction:column}
.bal-eyewear-theme .bal-z-product-card>.bal-z-card-image{flex-shrink:0}
.bal-eyewear-theme .bal-z-product-card>.bal-z-card-content{flex:1;grid-template-rows:auto auto auto minmax(0,1fr) auto;align-content:start}
.bal-eyewear-theme .bal-z-card-content>.bal-z-card-swatches{grid-row:3;align-self:start}
.bal-eyewear-theme .bal-z-card-content>.bal-z-card-hint{grid-row:4;align-self:start}
.bal-eyewear-theme .bal-z-card-content>.bal-z-card-details{grid-row:5;align-self:end}
@media(max-width:760px){
 .bal-eyewear-theme .bal-z-product-card>.bal-z-card-content{flex-direction:column;flex-wrap:nowrap;align-items:stretch}
 .bal-eyewear-theme .bal-z-card-content>.bal-z-card-details{margin-top:auto}
}
@media(max-width:767px){
 .bal-z-header .bal-z-header-actions{align-items:center}
 .bal-z-header .bal-z-header-actions>a,.bal-z-header .bal-z-header-actions>.bal-z-favorites-link>a{position:relative;flex-direction:row;justify-content:center;min-height:32px;gap:0}
 .bal-z-header .bal-z-header-actions>a>span,.bal-z-header .bal-z-header-actions>.bal-z-favorites-link>a>span{line-height:0}
 .bal-z-header .bal-z-header-actions :is(.wd-tools-count,.bal-z-cart-count){position:absolute;top:-5px;right:-7px;display:inline-flex;align-items:center;justify-content:center;min-width:15px;height:15px;margin:0;padding:0 3px;border-radius:50%;font-size:10px;line-height:1;background:#e7f2f3;color:#19535a}
 .bal-z-promo{display:block;height:auto;min-height:56px;padding:12px 40px 12px 16px;line-height:1.5;text-align:center}
 .bal-z-promo>span,.bal-z-promo>strong{display:inline}
 .bal-z-promo .bal-z-promo-close{top:50%;transform:translateY(-50%)}
}

/* Keep the existing language selector reachable on a phone without adding a second control. */
@media(max-width:760px){
 .bal-z-header .bal-z-header-actions .bal-z-locale{display:flex;min-width:28px;min-height:32px;justify-content:center}
 .bal-z-header .bal-z-header-actions .bal-z-locale>img{display:none}
 .bal-z-header .bal-z-header-actions .bal-z-locale>span{font-size:12px;line-height:1}
}
@media(max-width:360px){
 .bal-z-header .bal-z-header-main{gap:8px}
 .bal-z-header .bal-z-logo{width:96px}
 .bal-z-header .bal-z-header-actions{gap:8px}
}
