/* Mobile-only public shell; original desktop components stay in place. */
.km-mobile-header,.km-mobile-bottom,.km-mobile-filter-button,.km-mobile-site-note,.km-mobile-value-search{display:none!important}
.km-mobile-dialog{display:none}
.km-mobile-dialog[open]{display:flex}
.km-mobile-fallback-menu{display:none}
@media(max-width:1023px){
 html.km-mobile-shell:not(.km-mobile-active) body>.km-mobile-original-header:has(.site-note),html.km-mobile-shell:not(.km-mobile-active) .km-mobile-original-header .head__row{display:contents!important}
 html.km-mobile-shell:not(.km-mobile-active) .km-mobile-original-header:has(.site-note)>:not(:has(.site-note)):not(.site-note),html.km-mobile-shell:not(.km-mobile-active) .km-mobile-original-header .head__row>:not(.site-note){display:none!important}
 html.km-mobile-shell:not(.km-mobile-active) .km-mobile-original-header .site-note{display:block!important;padding:8px 16px;margin:0;font-size:14px;color:var(--km-muted)!important;background:var(--km-surface)}
 html.km-mobile-shell:not(.km-mobile-active) .km-mobile-fallback-menu{display:block;margin:16px;padding:12px;border:1px solid var(--km-line)}
 .km-mobile-fallback-menu summary,.km-mobile-fallback-menu a{min-height:44px;padding:10px;display:block}
 html:is(.km-mobile-shell,.km-mobile-active){--km-surface:#fff;--km-ink:#123354;--km-line:#d6e2ef;--km-accent:#075dcc;--km-muted:#52677f;--km-bottom:calc(64px + env(safe-area-inset-bottom,0px));scroll-padding-bottom:calc(var(--km-bottom) + 16px)}
 html:is(.km-mobile-shell,.km-mobile-active).sl-theme-dark{--km-surface:#10243b;--km-ink:#f2f6fc;--km-line:#415770;--km-accent:#9dccff;--km-muted:#c1d0e1}
 html:is(.km-mobile-shell,.km-mobile-active) body{min-width:0!important;padding-bottom:var(--km-bottom)!important}
 html:is(.km-mobile-shell,.km-mobile-active).km-mobile-dialog-open,html:is(.km-mobile-shell,.km-mobile-active).km-mobile-dialog-open body{overflow:hidden!important}
 html:is(.km-mobile-shell,.km-mobile-active) body>.km-mobile-original-header{display:none!important}
 html:is(.km-mobile-shell,.km-mobile-active) body > #km-mobile-header{box-sizing:border-box;display:flex!important;align-items:center;gap:4px;position:relative!important;top:auto!important;width:100%;height:calc(64px + env(safe-area-inset-top,0px));min-height:64px;margin:0!important;padding:env(safe-area-inset-top,0px) 12px 0!important;border:0!important;border-bottom:1px solid var(--km-line)!important;background:var(--km-surface)!important;color:var(--km-ink);z-index:20}
 .km-mobile-header *,.km-mobile-bottom *,.km-mobile-dialog *{box-sizing:border-box}
 html:is(.km-mobile-shell,.km-mobile-active) .km-mobile-brand{display:flex;align-items:center;min-height:44px;min-width:0;margin-right:auto;flex:1 1 auto}
 html:is(.km-mobile-shell,.km-mobile-active) .km-mobile-brand img{display:block;width:144px;height:44px;max-width:100%;object-fit:contain;background:white;border-radius:4px;padding:0}
 html:is(.km-mobile-shell,.km-mobile-active) .km-mobile-action{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-width:44px;min-height:44px;margin:0;padding:5px 3px;border:0;border-radius:8px;background:transparent;color:var(--km-ink);font:600 12px/1.15 system-ui,sans-serif;text-decoration:none;cursor:pointer}
 .km-mobile-action svg{flex:none;width:22px;height:22px}
 html:is(.km-mobile-shell,.km-mobile-active) .km-mobile-bottom{position:fixed!important;inset:auto 0 0!important;z-index:1050;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:0;box-sizing:border-box;min-height:var(--km-bottom);margin:0;padding:3px max(4px,env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(4px,env(safe-area-inset-left,0px));border-top:1px solid var(--km-line);background:var(--km-surface);box-shadow:0 -3px 14px #152b4410}
 html:is(.km-mobile-shell,.km-mobile-active) .km-mobile-bottom .km-mobile-action{position:relative;min-width:0;min-height:60px;white-space:nowrap;font-size:11px;line-height:1.2}
 html:is(.km-mobile-shell,.km-mobile-active) .km-mobile-bottom [aria-current="page"]{color:var(--km-accent);background:color-mix(in srgb,var(--km-accent) 10%,var(--km-surface))}
 .km-mobile-count{position:absolute;top:3px;left:calc(50% + 6px);border-radius:20px;padding:1px 4px;color:#fff;background:#075dcc;font-size:10px;line-height:14px;max-width:36px;overflow:hidden}
 .km-mobile-count[hidden]{display:none}
 html:is(.km-mobile-shell,.km-mobile-active) .km-mobile-action:focus-visible,.km-mobile-dialog a:focus-visible,.km-mobile-dialog button:focus-visible{outline:3px solid var(--km-accent);outline-offset:-3px}
 html:is(.km-mobile-shell,.km-mobile-active) .km-mobile-dialog{position:fixed;inset:0;width:100%;max-width:100%;height:100%;height:100dvh;max-height:100%;margin:0;padding:env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px);border:0;border-radius:0;background:var(--km-surface);color:var(--km-ink);flex-direction:column;overflow:hidden;overscroll-behavior:contain;font:16px/1.5 system-ui,sans-serif}
 .km-mobile-dialog::backdrop{background:#07182dcc}
 .km-mobile-dialog-top{display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;padding:8px 16px;border-bottom:1px solid var(--km-line)}
 html:is(.km-mobile-shell,.km-mobile-active) .km-mobile-dialog h2{margin:0!important;font:700 22px/1.2 system-ui,sans-serif!important;color:var(--km-ink)!important}
 .km-mobile-dialog-content{padding:16px;min-height:0;overflow-y:auto;overscroll-behavior:contain;flex:1 1 auto;-webkit-overflow-scrolling:touch}
 .km-mobile-search-form{display:grid;gap:16px;width:100%;margin:0}
 html:is(.km-mobile-shell,.km-mobile-active) .km-mobile-dialog input:not([type=checkbox]):not([type=radio]),html:is(.km-mobile-shell,.km-mobile-active) .km-mobile-dialog select{width:100%;max-width:100%;min-width:0;min-height:48px;font-size:16px;padding:10px;border:1px solid var(--km-line);border-radius:8px;background:var(--km-surface);color:var(--km-ink)}
 html:is(.km-mobile-shell,.km-mobile-active) .km-mobile-primary{min-height:48px;padding:12px;border:0;border-radius:8px;background:#075dcc;color:white;font:700 16px/1.3 system-ui,sans-serif}
 .km-mobile-menu-links{display:grid;grid-template-columns:1fr;gap:4px}
 html:is(.km-mobile-shell,.km-mobile-active) .km-mobile-menu-links a{display:flex;align-items:center;min-height:48px;padding:10px 12px;border-radius:8px;color:var(--km-ink);background:transparent;text-decoration:none;font-size:16px}
 html:is(.km-mobile-shell,.km-mobile-active) .km-mobile-menu-links a:hover{background:color-mix(in srgb,var(--km-accent) 10%,var(--km-surface))}
 .km-mobile-theme{padding-top:20px}
 html:is(.km-mobile-shell,.km-mobile-active) .km-mobile-theme #sl-theme-switch{display:flex!important;position:static!important;flex-wrap:wrap!important;gap:8px;margin:0!important;width:100%!important;list-style:none;color:var(--km-ink)!important}
 html:is(.km-mobile-shell,.km-mobile-active) .km-mobile-theme #sl-theme-switch button{min-width:80px;min-height:44px}
 html:is(.km-mobile-shell,.km-mobile-active) .km-mobile-site-note:has(>*){display:block!important;padding:8px 16px;border-bottom:1px solid var(--km-line);background:var(--km-surface);color:var(--km-muted);font:14px/1.4 system-ui,sans-serif}
 html:is(.km-mobile-shell,.km-mobile-active) .km-mobile-site-note .site-note{margin:0;color:inherit}
 html:is(.km-mobile-shell,.km-mobile-active) .km-mobile-filter-button{display:block!important;width:100%;min-height:48px;padding:10px 16px;border:1px solid var(--km-line);border-radius:8px;background:var(--km-surface);color:var(--km-ink);font:700 16px/1.4 system-ui,sans-serif}
 html:is(.km-mobile-shell,.km-mobile-active) #km-mobile-filters .sl-mobile-filter-toggle{display:none!important}
 html:is(.km-mobile-shell,.km-mobile-active) #km-mobile-filters #category-union-filters{display:block;width:100%;min-width:0;max-width:100%;margin:0;padding:0}
 html:is(.km-mobile-shell,.km-mobile-active) #km-mobile-filters .sl-category-union__filters,html:is(.km-mobile-shell,.km-mobile-active) #km-mobile-filters .sl-category-union__values,html:is(.km-mobile-shell,.km-mobile-active) #km-mobile-filters .sl-mobile-filter-shell{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;position:static!important;width:100%!important;margin:0!important;box-shadow:none!important}
 html:is(.km-mobile-shell,.km-mobile-active) #km-mobile-filters .sl-category-union__filters{padding:0!important;background:var(--km-surface)!important;color:var(--km-ink)!important;border:0!important}
 html:is(.km-mobile-shell,.km-mobile-active) #km-mobile-filters summary{min-height:44px;padding:10px 4px;font-size:16px;color:var(--km-ink)}
 html:is(.km-mobile-shell,.km-mobile-active) #km-mobile-filters label{min-height:44px;align-items:center;white-space:normal;color:var(--km-ink)}
 html:is(.km-mobile-shell,.km-mobile-active) #km-mobile-filters .sl-category-union__values label{display:flex;gap:10px;padding:6px 4px}
 html:is(.km-mobile-shell,.km-mobile-active) #km-mobile-filters .sl-category-union__values label[hidden]{display:none!important}
 html:is(.km-mobile-shell,.km-mobile-active) #km-mobile-filters .km-mobile-value-search{display:grid!important;gap:6px;margin:8px 0}
 #km-mobile-filters input[type=checkbox]{width:22px;height:22px;flex:none;accent-color:#075dcc}
 html:is(.km-mobile-shell,.km-mobile-active) #km-mobile-filters .sl-category-union__filter-actions{display:flex;gap:10px;flex-wrap:wrap;position:static;margin:12px 0}
 html:is(.km-mobile-shell,.km-mobile-active) #km-mobile-filters .sl-category-union__filter-actions>*{display:flex;justify-content:center;align-items:center;flex:1;min-height:48px;font-size:16px}
 html:is(.km-mobile-shell,.km-mobile-active) #km-mobile-filters .sl-category-union__filter-actions button{border:0;border-radius:8px;background:#075dcc!important;color:#fff!important}
 html:is(.km-mobile-shell,.km-mobile-active) #km-mobile-filters .sl-category-union__filter-actions a{border:1px solid var(--km-line);border-radius:8px;background:var(--km-surface)!important;color:var(--km-accent)!important}
 html:is(.km-mobile-shell,.km-mobile-active) .sl-category-union__layout{grid-template-columns:minmax(0,1fr)!important}
 html:is(.km-mobile-shell,.km-mobile-active) .sl-category-union__toolbar{flex-wrap:wrap;gap:10px}
 html:is(.km-mobile-shell,.km-mobile-active) .sl-category-union__toolbar label{min-width:0;max-width:100%}
 html:is(.km-mobile-shell,.km-mobile-active) .sl-category-union__toolbar select{max-width:100%;min-height:44px;font-size:16px}
 html:is(.km-mobile-shell,.km-mobile-active) .unified-search__form{grid-template-columns:minmax(0,1fr)!important}
 html:is(.km-mobile-shell,.km-mobile-active) .unified-search__control:has(>.unified-search__stock){grid-column:1/-1!important}
 html:is(.km-mobile-shell,.km-mobile-active) .unified-search__stock{grid-column:1/-1!important;display:flex!important;align-items:center;gap:12px;white-space:normal!important;min-width:0;width:100%!important;max-width:100%;min-height:44px;height:auto!important;overflow:visible!important;padding:8px!important}
 html:is(.km-mobile-shell,.km-mobile-active) .unified-search__stock input{float:none!important;margin:0!important;flex:none}
 html:is(.km-mobile-shell,.km-mobile-active) .unified-search__stock span{white-space:normal!important;overflow:visible!important;max-width:100%}
 html:is(.km-mobile-shell,.km-mobile-active) .unified-search__form input:not([type=checkbox]),html:is(.km-mobile-shell,.km-mobile-active) .unified-search__form select{min-height:44px;font-size:16px;max-width:100%}
 html:is(.km-mobile-shell,.km-mobile-active) .static-filters-status{display:flex;flex-wrap:wrap;gap:10px;white-space:normal!important;min-width:0!important;max-width:100%;height:auto!important}
 html:is(.km-mobile-shell,.km-mobile-active) .static-filters-status span{white-space:normal!important;min-width:0;max-width:100%;overflow-wrap:anywhere}
 html:is(.km-mobile-shell,.km-mobile-active) .static-filters-status button{min-height:44px;flex:none}
 html:is(.km-mobile-shell,.km-mobile-active) .decor-compact-tools{grid-template-columns:minmax(0,1fr)!important}
 html:is(.km-mobile-shell,.km-mobile-active) .decor-compact-tools>*{min-width:0;max-width:100%}
 html:is(.km-mobile-shell,.km-mobile-active) section.signup{background:var(--km-surface)!important;color:var(--km-ink)!important}
 html:is(.km-mobile-shell,.km-mobile-active) section.signup h1,html:is(.km-mobile-shell,.km-mobile-active) section.signup label,html:is(.km-mobile-shell,.km-mobile-active) section.signup .form-text{color:var(--km-ink)!important}
 html:is(.km-mobile-shell,.km-mobile-active) section.signup input{min-height:44px;font-size:16px}
 html:is(.km-mobile-shell,.km-mobile-active).sl-theme-dark .product-summary .order-price-basis-note{color:var(--km-muted)!important}
 html:is(.km-mobile-shell,.km-mobile-active) #cart-mobile-summary{bottom:var(--km-bottom)!important}
 html:is(.km-mobile-shell,.km-mobile-active) body:has(#cart-mobile-summary:not([hidden])){padding-bottom:calc(var(--km-bottom) + 100px)!important}
 html:is(.km-mobile-shell,.km-mobile-active).km-mobile-keyboard .km-mobile-bottom,html:is(.km-mobile-shell,.km-mobile-active).km-mobile-keyboard #cart-mobile-summary{display:none!important}
 html:is(.km-mobile-shell,.km-mobile-active).km-mobile-dialog-open .km-mobile-bottom{visibility:hidden}
 html:is(.km-mobile-shell,.km-mobile-active) .row.product,html:is(.km-mobile-shell,.km-mobile-active) .mc-layout.slig-layout,html:is(.km-mobile-shell,.km-mobile-active) .product-detail{display:block!important}
 html:is(.km-mobile-shell,.km-mobile-active) .row.product>.product_desc,html:is(.km-mobile-shell,.km-mobile-active) .mc-summary{width:100%!important;max-width:100%;min-width:0;grid-column:auto!important;grid-row:auto!important}
 html:is(.km-mobile-shell,.km-mobile-active) .product_desc>.image,html:is(.km-mobile-shell,.km-mobile-active) .product-summary>.product-gallery{float:none!important;width:100%!important;max-width:100%;margin:16px 0!important;padding:0!important;grid-column:auto!important;grid-row:auto!important}
 html:is(.km-mobile-shell,.km-mobile-active) .product_desc>.image .slig-frame,html:is(.km-mobile-shell,.km-mobile-active) .product-summary>.product-gallery .slig-frame,html:is(.km-mobile-shell,.km-mobile-active) .product_desc>.image .carousel.slig-native-frame{max-width:100%!important;max-height:300px!important;max-height:min(300px,45svh)!important}
 html:is(.km-mobile-shell,.km-mobile-active) .product_desc>.image .slig-frame img,html:is(.km-mobile-shell,.km-mobile-active) .product-summary>.product-gallery .slig-frame img,html:is(.km-mobile-shell,.km-mobile-active) .product_desc>.image .carousel.slig-native-frame img{max-height:300px!important;max-height:min(300px,45svh)!important;object-fit:contain!important}
}

/* Auth links and category apply remain readable at every width. */
html section.signup a:not(.btn){color:#075dcc!important;text-decoration:underline}
html.sl-theme-dark section.signup a:not(.btn){color:#9bc9ff!important}
.km-catalog-apply{min-height:44px;padding:10px 16px;border:1px solid #075dcc;border-radius:8px;background:#075dcc;color:#fff;font:inherit;cursor:pointer}

/* Remaining launch issues, 2026-11-11: contextual help and gallery contrast. */
.km-search-help{margin:16px 0;padding:16px;border:1px solid #b8cce5;border-radius:12px;background:#fff;color:#14243b}
.km-search-help h3,.km-search-help p{color:#14243b!important}
.km-search-help nav,.km-contact-direct{display:flex;flex-wrap:wrap;gap:10px}
.km-search-help a,.km-contact-direct a{display:inline-flex;align-items:center;min-height:44px;box-sizing:border-box;padding:10px 12px;border:1px solid #b8cce5;border-radius:8px;color:#075dcc!important;background:#fff;font-weight:700;text-decoration:underline;overflow-wrap:anywhere}
.km-contact-direct{margin:16px 0}
.km-contact-direct .km-contact-phone{font-size:20px}
.km-access-help{margin-top:18px;padding-top:14px;border-top:1px solid #b8cce5}
@media(max-width:1023px){
 html:is(.km-mobile-shell,.km-mobile-active) .mc-summary>.mc-gallery .mc-gallery-caption p{color:#53647a!important}
 html:is(.km-mobile-shell,.km-mobile-active) .contact-page>.brand,html:is(.km-mobile-shell,.km-mobile-active) .contact-page>.eyebrow{display:none!important}
 html:is(.km-mobile-shell,.km-mobile-active) .contact-page h1{margin-top:0}
}
