/* MK Homepage P1/P2: isolated, homepage-only styles. Horizontal rail on phones; no autoplay. */
#mkh-home .mkh-quick-cats{padding-top:0;padding-bottom:8px}
#mkh-home .mkh-quick-cats-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}
#mkh-home .mkh-quick-cats-head h2{font-size:19px;line-height:1.4;letter-spacing:-.02em;margin:0}
#mkh-home .mkh-quick-cats-head a{font-size:13px;color:#315f8c;font-weight:600;min-height:44px;display:inline-flex;align-items:center}
#mkh-home .mkh-quick-cats-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
#mkh-home .mkh-quick-cat{display:flex;gap:8px;align-items:center;justify-content:space-between;min-width:0;min-height:56px;border:1px solid #dfe6df;background:#f8faf6;border-radius:12px;padding:10px 12px;font-size:12px;line-height:1.45;font-weight:600;color:#264d39}
#mkh-home .mkh-quick-cat span:first-child{min-width:0;overflow-wrap:break-word}
#mkh-home .mkh-quick-cat span:last-child{font-size:15px;flex:none;color:#315f8c}
#mkh-home .mkh-quick-cat:hover{border-color:#92a88a;background:#f0f5ef}
#mkh-home .mkh-quick-cat:focus-visible{outline:3px solid #315f8c;outline-offset:3px}
#mkh-home .mkh-swipe-tools{display:none}
@media(max-width:768px){
  #mkh-home .mkh-quick-cats{padding-top:3px;padding-bottom:14px}
  #mkh-home .mkh-quick-cats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  #mkh-home .mkh-quick-cats-head h2{font-size:17px}
  #mkh-home .mkh-quick-cats-head a{font-size:12px;white-space:nowrap}
  #mkh-home .mkh-quick-cat{padding:9px 9px;min-height:58px;font-size:11px;gap:4px}
  #mkh-home .mkh-product-filters{display:flex!important;grid-template-columns:none!important;overflow-x:auto;flex-wrap:nowrap;gap:8px;scrollbar-width:thin;overscroll-behavior-x:contain;padding-bottom:6px;margin-bottom:12px}
  #mkh-home .mkh-product-filters button{flex:0 0 auto;padding-inline:13px;min-width:60px;min-height:44px;border-radius:12px}
}
@media(max-width:640px){
  #mkh-home .mkh-quick-cats-head{align-items:flex-start;gap:10px}
  #mkh-home .mkh-quick-cats-head h2{max-width:210px;line-height:1.3}
  #mkh-home .mkh-quick-cats-head a{line-height:1.4}
  #mkh-home .mkh-swipe-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:1px 0 10px}
  #mkh-home .mkh-swipe-hint{font-size:12px;line-height:1.45;color:#526254}
  #mkh-home .mkh-swipe-buttons{display:flex;gap:7px;flex:none}
  #mkh-home .mkh-swipe-buttons button{width:44px;height:44px;display:grid;place-items:center;border:1px solid #d8e2dc;border-radius:50%;background:#fff;color:#244a70;font:600 22px/1 Arial,sans-serif;cursor:pointer}
  #mkh-home .mkh-swipe-buttons button:disabled{opacity:.32;cursor:default}
  #mkh-home .mkh-swipe-buttons button:focus-visible{outline:3px solid #315f8c;outline-offset:2px}
  #mkh-home #mkh-product-list{display:flex!important;grid-template-columns:none!important;flex-wrap:nowrap;gap:12px;overflow-x:auto;overflow-y:hidden;padding:2px 2px 12px;margin:0;scroll-snap-type:x proximity;scroll-padding-inline:2px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
  #mkh-home #mkh-product-list>li.mkh-product{flex:0 0 clamp(216px,72vw,292px);width:clamp(216px,72vw,292px);max-width:none;margin:0;scroll-snap-align:start}
  #mkh-home #mkh-product-list>li.mkh-product[hidden]{display:none!important}
  #mkh-home #mkh-product-list:focus-visible{outline:3px solid #315f8c;outline-offset:2px}
  #mkh-home #mkh-product-list>li.mkh-product .mkh-product-body{min-height:0}
}
@media(prefers-reduced-motion:reduce){
  #mkh-home #mkh-product-list{scroll-behavior:auto!important}
  #mkh-home .mkh-quick-cat{transition:none!important}
}
