/* Loaded last: compact header stays in document flow so results remain visible. */
@media(max-width:900px){
 html,body{max-width:100%;overflow-x:clip}
 body{padding-top:0!important}
 .site-header.crystal-header{position:sticky!important;top:0!important;transform:none!important;height:auto!important;z-index:1000}
 .site-header .container{width:100%!important;max-width:100%!important;padding-left:16px!important;padding-right:16px!important}
 .top-social-bar{padding:6px 0!important;min-height:0!important}
 .top-social-inner{display:flex!important;flex-wrap:nowrap!important;justify-content:space-between!important;gap:8px!important}
 .top-social-icons{display:none!important}
 .top-shipping-message{font-size:11px!important;line-height:1.4!important;margin:0!important;text-align:right}
 .keyak-language{font-size:0!important;margin:0!important;flex-shrink:0}
 .keyak-language select{font-size:13px!important;width:95px!important;min-height:36px!important;padding:5px!important;margin:0!important}
 .main-header-area{padding:10px 0!important}
 .main-header-grid{display:grid!important;grid-template-columns:minmax(90px,1fr) auto!important;gap:10px!important;align-items:center!important}
 .brand-logo{grid-column:1;grid-row:1;justify-self:start!important;margin:0!important}
 .site-logo-image{width:110px!important;max-width:100%!important;height:45px!important;object-fit:contain}
 .header-actions{grid-column:2;grid-row:1;display:flex!important;gap:8px!important;justify-content:flex-end!important;margin:0!important}
 .header-actions .account-button,.header-actions .keyak-main-website-link{display:none!important}
 .cart-link.crystal-cart-link{padding:9px 12px!important;min-width:0!important;min-height:42px!important;font-size:13px!important;gap:6px!important}
 .cart-link svg{width:21px!important;height:21px!important}
 .cart-total-header{display:none!important}
 .mobile-menu-toggle{display:flex!important;flex-direction:column;justify-content:center;gap:4px;width:42px!important;height:42px!important;padding:10px!important}
 .mobile-menu-toggle span{display:block!important;width:20px;height:2px;background:#111}
 .header-search-form{grid-column:1/-1;grid-row:2;display:flex!important;width:100%!important;max-width:none!important;height:44px!important;min-height:44px!important;margin:0!important;position:relative!important;border-radius:12px!important}
 .header-search-form input{font-size:16px!important;height:42px!important;min-width:0!important;padding:8px!important}
 .header-search-form button{width:44px!important;padding:10px!important}
 .header-search-form button svg{width:22px!important;height:22px!important}
 .header-search-form.has-search-autocomplete{flex-wrap:wrap!important;height:auto!important;overflow:visible!important}
 .search-suggestions-box{position:static!important;inset:auto!important;flex:0 0 100%!important;width:100%!important;min-width:0!important;max-height:220px!important;overflow-y:auto!important;box-shadow:none!important;border-radius:8px!important;overscroll-behavior:contain}
 .search-suggestions-box:not(.open){display:none!important}
 .search-suggestions-box.open{display:block!important}
 .category-header-bar{padding:0!important;position:static!important}
 .category-header-nav{display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important;overflow-x:auto!important;gap:10px!important;padding:8px 0!important;scrollbar-width:thin}
 .category-header-nav>a{flex:0 0 auto!important;white-space:nowrap!important;font-size:12px!important;padding:8px 10px!important;border:1px solid #eee!important;border-radius:20px!important;min-height:36px!important}
 .category-arrow{display:none!important}
 #mobileHeaderPanel{position:static!important;inset:auto!important;max-height:none!important;height:auto!important;box-shadow:none!important;padding:0 16px!important;background:#fff!important;display:none!important}
 #mobileHeaderPanel.open{display:grid!important;grid-template-columns:1fr 1fr;gap:4px;padding:12px 16px!important;border-top:1px solid #eee}
 #mobileHeaderPanel .mobile-search-form{display:none!important}
 #mobileHeaderPanel a{font-size:13px!important;padding:12px!important;border:1px solid #eee;border-radius:8px}
 main{padding-top:0!important;margin-top:0!important}
 .shop-hero,.shop-section{padding-top:24px!important}
}

@media(max-width:900px){.header-search-form input{flex:1 1 0%!important;width:0!important}.search-suggestion-item{padding:10px!important;gap:8px!important}.suggestion-image{flex:0 0 44px!important;width:44px!important;height:44px!important}.suggestion-content{min-width:0!important}.suggestion-content strong{white-space:normal!important;font-size:12px!important}.suggestion-price{font-size:12px!important}}

/* Only logo/search/menu/categories stick. Language and shipping scroll away. */
.site-header.crystal-header{position:sticky!important;top:0!important;transform:none!important;z-index:1000!important;background:#fff!important;box-shadow:0 2px 12px #0000000c}
body{padding-top:0!important}
@media(max-width:900px){#mobileHeaderPanel.open{max-height:40vh!important;overflow-y:auto!important}}

/* Header stays interactive while sticky. Only decorative layers ignore clicks. */
.site-header.crystal-header{pointer-events:auto!important}
.site-header.crystal-header .main-header-area,
.site-header.crystal-header .category-header-bar{pointer-events:auto!important;opacity:1!important;transform:none!important}
.keyak-price-formats{display:grid;gap:6px;margin:14px 0;font-size:12px}.keyak-price-formats>div{display:flex;justify-content:space-between;gap:10px;padding:5px 0;border-bottom:1px solid #eee}.keyak-price-formats dt{font-weight:500;color:#656565}.keyak-price-formats dd{margin:0;font-weight:700;color:#111}.keyak-variant-select{width:100%;max-width:450px;padding:13px;border:1px solid #d8d2c8;border-radius:9px;font-size:16px;background:#fff}
