/* CMK shop layout refresh — scoped, reversible override; desktop 4-col, tablet 3-col, mobile 2-col. */
body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product-grid,
body.cameraminhkhang main#cmk-shop-catalog .cmk-shop-product-grid,
body.cameraminhkhang main.cmk-catalog-page .cmk-catalog-products {
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
  width:100%!important;
  min-width:0!important;
}
body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product,
body.cameraminhkhang main#cmk-shop-catalog .cmk-modern-product-grid>.cmk-modern-product {
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  height:100%!important;
  margin:0!important;
  overflow:hidden!important;
  border:1px solid #dce9e1!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 5px 18px rgba(6,59,36,.055)!important;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease!important;
}
body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product:hover {
  transform:translateY(-3px)!important;
  border-color:#a8d8bb!important;
  box-shadow:0 13px 28px rgba(6,59,36,.12)!important;
}
body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product-media {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:auto!important;
  min-height:190px!important;
  max-height:230px!important;
  aspect-ratio:1/1!important;
  overflow:hidden!important;
  padding:14px!important;
  background:#fff!important;
}
body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product-media img {
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
}
body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product-body {
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  gap:8px!important;
  min-width:0!important;
  padding:14px!important;
}
body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product-brand {
  display:inline-flex!important;
  align-self:flex-start!important;
  max-width:100%!important;
  padding:4px 8px!important;
  border:1px solid #cce8d8!important;
  border-radius:999px!important;
  background:#f1faf5!important;
  color:#176448!important;
  font-size:10px!important;
  font-weight:800!important;
  line-height:1.3!important;
  overflow-wrap:anywhere!important;
}
body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product h3 {
  display:-webkit-box!important;
  min-height:2.9em!important;
  margin:0!important;
  overflow:hidden!important;
  color:#17352a!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1.45!important;
  overflow-wrap:anywhere!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
}
body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product h3 a {
  color:#17352a!important;
  text-decoration:none!important;
}
body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product-price {
  min-height:38px!important;
  margin-top:auto!important;
  padding-top:5px!important;
}
body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product-price .cmk-price-current,
body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product-price .cmk-price-current .amount,
body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product-price .cmk-price-current .woocommerce-Price-currencySymbol {
  color:#087f45!important;
  font-size:18px!important;
  font-weight:900!important;
  line-height:1.35!important;
}
body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product-price .cmk-price-old,
body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product-price .cmk-price-old .amount {
  color:#77877e!important;
  font-size:12px!important;
}
body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product-buy {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:42px!important;
  margin-top:10px!important;
  padding:9px 12px!important;
  border:1px solid #087f45!important;
  border-radius:12px!important;
  background:#087f45!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:850!important;
  text-decoration:none!important;
}
body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product-buy:hover {
  border-color:#063b24!important;
  background:#063b24!important;
  color:#fff!important;
}
body.cameraminhkhang .cmk-single-product-layout .cmk-single-product-content .cmk-product-main {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:20px!important;
  align-items:start!important;
  width:100%!important;
  margin:0!important;
}
body.cameraminhkhang .cmk-single-product-layout .cmk-single-product-content .cmk-product-gallery,
body.cameraminhkhang .cmk-single-product-layout .cmk-single-product-content .cmk-product-summary {
  min-width:0!important;
  width:100%!important;
  margin:0!important;
  padding:20px!important;
  border:1px solid #dce9e1!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 7px 22px rgba(6,59,36,.065)!important;
  box-sizing:border-box!important;
}
body.cameraminhkhang .cmk-single-product-layout .cmk-product-gallery .woocommerce-product-gallery {
  float:none!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  opacity:1!important;
}
body.cameraminhkhang .cmk-single-product-layout .cmk-product-gallery img {
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  max-height:560px!important;
  height:auto!important;
  object-fit:contain!important;
}
body.cameraminhkhang .cmk-single-product-layout .cmk-product-summary .product_title {
  margin:0 0 14px!important;
  color:#063b24!important;
  font-size:clamp(24px,2.2vw,34px)!important;
  font-weight:850!important;
  line-height:1.25!important;
  overflow-wrap:anywhere!important;
}
body.cameraminhkhang .cmk-single-product-layout .cmk-product-summary .price {
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:baseline!important;
  gap:8px!important;
  margin:0 0 16px!important;
  color:#087f45!important;
  font-size:clamp(23px,2vw,30px)!important;
  font-weight:900!important;
  line-height:1.3!important;
}
body.cameraminhkhang .cmk-single-product-layout .cmk-product-summary .stock {
  color:#087f45!important;
  font-weight:800!important;
}
body.cameraminhkhang .cmk-single-product-layout .cmk-product-summary .single_add_to_cart_button,
body.cameraminhkhang .cmk-single-product-layout .cmk-product-summary .quote-button,
body.cameraminhkhang .cmk-single-product-layout .cmk-product-summary a.button {
  min-height:46px!important;
  border-radius:12px!important;
  font-weight:850!important;
}
@media(min-width:761px) and (max-width:1100px) {
  body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product-grid,
  body.cameraminhkhang main#cmk-shop-catalog .cmk-shop-product-grid,
  body.cameraminhkhang main.cmk-catalog-page .cmk-catalog-products {
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:13px!important;
  }
  body.cameraminhkhang .cmk-single-product-layout .cmk-single-product-content .cmk-product-main {
    grid-template-columns:minmax(0,1fr)!important;
  }
}
@media(max-width:760px) {
  body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product-grid,
  body.cameraminhkhang main#cmk-shop-catalog .cmk-shop-product-grid,
  body.cameraminhkhang main.cmk-catalog-page .cmk-catalog-products {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product-media {
    min-height:140px!important;
    max-height:165px!important;
    padding:8px!important;
  }
  body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product-body {
    gap:7px!important;
    padding:10px!important;
  }
  body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product h3 {
    min-height:2.9em!important;
    font-size:12px!important;
    line-height:1.45!important;
  }
  body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product-price .cmk-price-current,
  body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product-price .cmk-price-current .amount,
  body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product-price .cmk-price-current .woocommerce-Price-currencySymbol {
    font-size:15px!important;
  }
  body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product-buy {
    min-height:38px!important;
    margin-top:8px!important;
    padding:8px 6px!important;
    font-size:10px!important;
  }
  body.cameraminhkhang .cmk-single-product-layout .cmk-single-product-content .cmk-product-main {
    grid-template-columns:minmax(0,1fr)!important;
    gap:12px!important;
  }
  body.cameraminhkhang .cmk-single-product-layout .cmk-single-product-content .cmk-product-gallery,
  body.cameraminhkhang .cmk-single-product-layout .cmk-single-product-content .cmk-product-summary {
    padding:14px!important;
    border-radius:15px!important;
  }
  body.cameraminhkhang .cmk-single-product-layout .cmk-product-summary .product_title {
    font-size:24px!important;
  }
}
@media(max-width:380px) {
  body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product-grid,
  body.cameraminhkhang main#cmk-shop-catalog .cmk-shop-product-grid,
  body.cameraminhkhang main.cmk-catalog-page .cmk-catalog-products {
    gap:8px!important;
  }
  body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product-body {
    padding:8px!important;
  }
}
@media(prefers-reduced-motion:reduce) {
  body.cameraminhkhang main.cmk-catalog-page .cmk-modern-product {
    transition:none!important;
  }
}
/* EZVIZ category: show entire product without hover crop. */
body.cameraminhkhang main.cmk-category-page .cmk-modern-product-media{aspect-ratio:1/1!important;min-height:210px!important;max-height:240px!important;padding:10px!important;background:#fff!important;overflow:hidden!important}
body.cameraminhkhang main.cmk-category-page .cmk-modern-product-media img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important}
body.cameraminhkhang main.cmk-category-page .cmk-modern-product:hover .cmk-modern-product-media img{transform:none!important}
@media(max-width:767px){body.cameraminhkhang main.cmk-category-page .cmk-modern-product-media{min-height:170px!important;max-height:190px!important;padding:7px!important}}
