/* Scoped to the two homepage product blocks, including the legacy price-hits snippet. */
body :is(.kp-hity-home, .kppc-news-home) {
  margin: 8px auto !important;
  max-width: 1200px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
/* Elementor containers created specifically for these blocks: remove duplicate spacing. */
.elementor-widget:has(.kp-hity-home, .kppc-news-home) {
  margin-block: 0 !important;
  padding-block: 0 !important;
}
/* Only the innermost Elementor container holding a product block. */
.e-con:has(.kp-hity-home, .kppc-news-home):not(:has(.e-con)) {
  margin-block: 0 !important;
  padding-block: 0 !important;
  min-height: 0 !important;
  --padding-top: 0px;
  --padding-bottom: 0px;
}
.e-con:has(.kp-hity-home, .kppc-news-home):not(:has(.e-con)) > .e-con-inner {
  padding-block: 0 !important;
  min-height: 0 !important;
}
:is(.kp-hity-home, .kppc-news-home) ul.products::before,
:is(.kp-hity-home, .kppc-news-home) ul.products::after { display: none !important; }
:is(.kp-hity-home, .kppc-news-home) :is(.kp-hity-home__heading, .kppc-news-home__heading) { min-width: 0; }
:is(.kp-hity-home, .kppc-news-home) li.product { min-width: 0 !important; box-sizing: border-box; }
:is(.kp-hity-home, .kppc-news-home) li.product :is(h2, .woocommerce-loop-product__title) { overflow-wrap: anywhere; }
:is(.kp-hity-home, .kppc-news-home) li.product img { max-width: 100%; height: auto; }
@media (max-width: 900px) {
  body :is(.kp-hity-home, .kppc-news-home) ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 600px) {
  body :is(.kp-hity-home, .kppc-news-home) { margin-block: 6px !important; padding: 18px 12px; }
  :is(.kp-hity-home__header, .kppc-news-home__header, .kp-hity-home__footer, .kppc-news-home__footer) {
    flex-direction: column !important; align-items: flex-start !important; gap: 10px;
  }
  :is(.kp-hity-home__heading, .kppc-news-home__heading) h2 { font-size: clamp(23px, 5.5vw, 28px) !important; line-height: 1.2 !important; }
  :is(.kp-hity-home__status, .kppc-news-home__status, .kp-hity-home__more, .kppc-news-home__more) { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  body :is(.kp-hity-home, .kppc-news-home) ul.products { gap: 12px !important; }
  :is(.kp-hity-home, .kppc-news-home) .kp-loop-cart-row { flex-wrap: wrap !important; gap: 8px !important; }
  :is(.kp-hity-home, .kppc-news-home) .kp-loop-cart-row > .button {
    flex: 1 1 100% !important; width: 100% !important; min-width: 0 !important;
    white-space: normal !important; min-height: 44px;
  }
  :is(.kp-hity-home, .kppc-news-home) .kp-loop-quantity { max-width: 100%; }
  :is(.kp-hity-home, .kppc-news-home) .kp-loop-quantity button { min-width: 36px; min-height: 44px; }
  :is(.kp-hity-home, .kppc-news-home) .kp-loop-qty-input { min-height: 44px; }
}
@media (max-width: 420px) {
  body :is(.kp-hity-home, .kppc-news-home) ul.products { grid-template-columns: minmax(0, 1fr) !important; }
}
