/* MK Kachi-inspired homepage visual proportions, 2026-10-23.
 * Comparative browser measurements (390px viewport):
 * Kachi source card ~158px, product image 142x142, title 14px.
 * Mishio currently card ~174px, image frame ~172x156, title 15px.
 * Adapt SQUARE imagery and editorial rhythm, not price/brand/business rules.
 */
#mkh-home .mkh-v4-page .mkh-product-image{
  aspect-ratio:1/1!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  background:#f8f9f7!important;
}
#mkh-home .mkh-v4-page .mkh-product-image img,
#mkh-home .mkh-v4-page .mkh-product-image img.mk-original-product-image{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  padding:0!important;
  margin:0!important;
  object-fit:contain!important;
  object-position:center!important;
  aspect-ratio:1/1!important;
  display:block!important;
  background:#f8f9f7!important;
}
#mkh-home .mkh-v4-page .mkh-product-image .mkh-badge{display:none!important}
#mkh-home .mkh-v4-page .mkh-product-body h3{
  letter-spacing:-.014em!important;
  overflow-wrap:normal!important;
  text-wrap:pretty;
}
#mkh-home .mkh-v4-page .mkh-product-detail,
#mkh-home .mkh-v4-page .mkh-product-note{
  -webkit-line-clamp:1!important;
  line-clamp:1;
}
#mkh-home .mkh-v4-page .mkh-product-action .button{
  border-radius:9px!important;
  font-weight:700!important;
}
/* Destination-category visual navigation: same six links, now with
 * lightweight inline line-art icons. No carousel autoplay. */
#mkh-home .mkh-v3-categories .mkh-quick-cats-grid{
  gap:8px!important;
}
#mkh-home .mkh-v3-categories .mkh-quick-cat{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  text-align:center!important;
  gap:7px!important;
  border:1px solid #e5eae3!important;
  background:#fbfcfa!important;
  border-radius:12px!important;
  box-shadow:none!important;
  min-height:108px!important;
  padding:8px 9px!important;
  color:#344c3d!important;
}
#mkh-home .mkh-v3-categories .mkh-quick-cat:hover{
  background:#f4f8f0!important;
  border-color:#b8cab8!important;
}
#mkh-home .mkh-v3-categories .mkh-ref-category-icon{
  display:grid!important;
  place-items:center!important;
  flex:none!important;
  width:48px!important;
  height:48px!important;
  color:#315f8c!important;
  background:#f2f6ef!important;
  border:1px solid #dce7d9!important;
  border-radius:50%!important;
  overflow:hidden;
}
#mkh-home .mkh-v3-categories .mkh-ref-category-icon svg{
  width:27px;height:27px;display:block;flex:none;
}
#mkh-home .mkh-v3-categories .mkh-quick-cat>span:nth-child(2){
  font-size:13px!important;
  font-weight:600!important;
  line-height:1.35!important;
  color:#34513f!important;
  max-width:100%;
}
#mkh-home .mkh-v3-categories .mkh-quick-cat>span:last-child[aria-hidden="true"]:not(.mkh-ref-category-icon){
  display:none!important;
}
@media(max-width:767px){
  /* The Kachi reference emphasises a full-width hero photograph. */
  #mkh-home .mkh-hero-photo{
    min-height:195px!important;
    height:195px!important;
  }
  #mkh-home .mkh-v3-categories .mkh-quick-cats-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
  }
  #mkh-home .mkh-v3-categories .mkh-quick-cat{
    border:1px solid #e7ece5!important;
    border-radius:10px!important;
    min-height:94px!important;
    padding:7px 4px!important;
    gap:5px!important;
  }
  #mkh-home .mkh-v3-categories .mkh-ref-category-icon{
    width:40px!important;height:40px!important;
  }
  #mkh-home .mkh-v3-categories .mkh-ref-category-icon svg{
    width:23px!important;height:23px!important;
  }
  #mkh-home .mkh-v3-categories .mkh-quick-cat>span:nth-child(2){
    font-size:12px!important;line-height:1.3!important;
  }
  #mkh-home .mkh-v4-page .mkh-product-body{
    padding:8px 9px 10px!important;
  }
  #mkh-home .mkh-v4-page .mkh-product-body h3{
    font-size:15px!important;
    line-height:1.35!important;
    min-height:2.7em!important;
    max-height:2.7em!important;
  }
  #mkh-home .mkh-v4-page .mkh-product-detail{
    font-size:12px!important;
    line-height:1.4!important;
    margin-top:4px!important;
  }
  #mkh-home .mkh-v4-page .mkh-product-note{
    display:none!important;
  }
  #mkh-home .mkh-v4-page .mkh-price-block{
    padding-top:5px!important;
  }
  #mkh-home .mkh-v4-page .mkh-price-previous:empty{
    display:none!important;height:0!important;min-height:0!important;
  }
  #mkh-home .mkh-v4-page .mkh-price.mkh-price-main{
    font-size:17px!important;
    line-height:1.3!important;
    letter-spacing:-.018em!important;
  }
  #mkh-home .mkh-v4-page .mkh-price-qualifier{
    font-size:11px!important;
    line-height:1.35!important;
    max-height:1.35em!important;
    -webkit-line-clamp:1!important;
  }
  #mkh-home .mkh-v4-page .mkh-product-action{
    margin-top:6px!important;
  }
  #mkh-home .mkh-v4-page .mkh-product-action .button{
    min-height:44px!important;
    font-size:13.5px!important;
    line-height:1.25!important;
    padding:8px 8px!important;
  }
}
@media(max-width:350px){
  #mkh-home .mkh-v4-page .mkh-product-body{
    padding:7px 7px 9px!important;
  }
  #mkh-home .mkh-v4-page .mkh-product-body h3{
    font-size:14px!important;
    line-height:1.33!important;
    min-height:2.66em!important;
    max-height:2.66em!important;
  }
  #mkh-home .mkh-v4-page .mkh-price.mkh-price-main{font-size:15.5px!important}
  #mkh-home .mkh-v4-page .mkh-product-action .button{
    font-size:12px!important;
  }
  #mkh-home .mkh-v3-categories .mkh-quick-cat>span:nth-child(2){
    font-size:11.5px!important;
  }
}
@media(min-width:768px){
  #mkh-home .mkh-v4-page .mkh-product-body{
    padding:10px 12px 12px!important;
  }
  #mkh-home .mkh-v4-page .mkh-product-body h3{
    font-size:16px!important;
    line-height:1.4!important;
  }
  #mkh-home .mkh-v4-page .mkh-price.mkh-price-main{
    font-size:20px!important;
  }
  #mkh-home .mkh-v4-page .mkh-product-action .button{
    min-height:44px!important;
    font-size:14px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  #mkh-home .mkh-v3-categories .mkh-quick-cat{transition:none!important}
}
