/* Estetik Klima v1.2.19: one card layout for homepage and catalogue.
   Specificity protects the layout from NewStore's later custom-fixes.css
   and inline heights. List/table views retain the theme's own layout. */
.ek-site-chrome-enabled .row-price {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
body.ek-site-chrome-enabled #content .row-price > .product-layout.product-grid {
  display: flex;
  float: none;
  min-width: 0;
  margin-bottom: 16px;
  padding-left: 8px;
  padding-right: 8px;
}
body.ek-site-chrome-enabled #content .row-price > .product-grid > .product-thumb {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dce6ec;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(4,38,61,.035);
  font-family: Arial, Helvetica, sans-serif;
  transition: border-color .18s ease, box-shadow .18s ease;
}
body.ek-site-chrome-enabled #content .row-price > .product-grid:hover > .product-thumb {
  border-color: #bfd5de;
  box-shadow: 0 6px 18px rgba(4,38,61,.08);
}
body.ek-site-chrome-enabled #content .row-price .product-grid .image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 100%;
  height: 210px !important;
  min-height: 0 !important;
  margin: 0;
  padding: 26px 8px 0;
  background: #fff;
}
body.ek-site-chrome-enabled #content .row-price .product-grid .image > a,
body.ek-site-chrome-enabled #content .row-price .product-grid .image-carousel-category {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 184px !important;
  min-height: 0 !important;
  margin: 0;
  padding: 0 !important;
  overflow: hidden;
}
body.ek-site-chrome-enabled #content .row-price .product-grid .image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 184px !important;
  margin: 0 auto !important;
  padding: 0;
  object-fit: contain;
  object-position: center;
  transform: none !important;
}
body.ek-site-chrome-enabled #content .row-price .product-grid .stickers-ns {
  position: absolute;
  inset: 9px 9px auto;
  z-index: 5 !important;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
  width: auto !important;
  max-width: none;
  margin: 0;
  padding: 0 !important;
  opacity: 1 !important;
  pointer-events: none;
}
body.ek-site-chrome-enabled #content .row-price .product-grid .stickers-ns .sticker-ns {
  position: static;
  display: inline-flex !important;
  align-items: center;
  flex: 0 0 auto;
  gap: 4px;
  float: none;
  clear: none;
  width: auto;
  max-width: calc(100% - 58px);
  min-height: 24px;
  margin: 0;
  padding: 4px 6px;
  border: 1px solid rgba(11,39,64,.09);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(4,38,61,.08);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: left;
}
body.ek-site-chrome-enabled #content .row-price .product-grid .sticker-ns .material-icons,
body.ek-site-chrome-enabled #content .row-price .product-grid .sticker-ns .fa {
  flex: 0 0 auto;
  font-size: 13px;
  line-height: 1;
}
body.ek-site-chrome-enabled #content .row-price .product-grid .stickers-ns .procent-skidka {
  position: absolute !important;
  top: 0;
  right: 0;
  left: auto;
  min-width: 48px;
  min-height: 26px;
  max-width: none;
  justify-content: center;
  padding: 5px 6px !important;
  border: 0 !important;
  background: #d71920 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap;
  opacity: 1 !important;
}
/* Product cards: first three feature labels; discount is separate.
   Covers homepage/catalogue cards and related-product carousels. */
body.ek-site-chrome-enabled #content .product-thumb .stickers-ns > .sticker-ns:not(.procent-skidka)
  ~ .sticker-ns:not(.procent-skidka) ~ .sticker-ns:not(.procent-skidka) ~ .sticker-ns:not(.procent-skidka) {
  display: none !important;
}
/* Main product image: first five feature labels; discount is separate. */
body.ek-site-chrome-enabled #content .general-image > .stickers-ns > .sticker-ns:not(.procent-skidka)
  ~ .sticker-ns:not(.procent-skidka) ~ .sticker-ns:not(.procent-skidka)
  ~ .sticker-ns:not(.procent-skidka) ~ .sticker-ns:not(.procent-skidka) ~ .sticker-ns:not(.procent-skidka) {
  display: none !important;
}
body.ek-site-chrome-enabled #content .row-price .product-grid .caption {
  display: grid !important;
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: 10px 8px;
  flex: 1 1 auto;
  width: 100%;
  height: auto !important;
  min-width: 0;
  min-height: 0 !important;
  margin: 0;
  padding: 8px 12px 12px;
}
body.ek-site-chrome-enabled #content .row-price .product-grid .product-name,
body.ek-site-chrome-enabled #content .row-price .product-grid .product-name a {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  margin: 0;
  padding: 0;
  overflow: visible !important;
  color: #123550;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-line-clamp: unset !important;
}
body.ek-site-chrome-enabled #content .row-price .product-grid .product-name {
  grid-column: 1 / -1;
  min-height: 59px;
  align-self: start;
}
body.ek-site-chrome-enabled #content .row-price .product-grid .product-name a { min-height: 0; }
body.ek-site-chrome-enabled #content .row-price .product-grid p.price {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  grid-column: 1;
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 0;
  color: #fa171e;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}
body.ek-site-chrome-enabled #content .row-price .product-grid p.price .price-new {
  display: block;
  margin: 0;
  color: #fa171e;
  font: inherit;
  white-space: nowrap;
}
body.ek-site-chrome-enabled #content .row-price .product-grid p.price .price-old {
  display: block;
  margin: 0 0 2px;
  color: #5f7180;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: line-through;
}
body.ek-site-chrome-enabled #content .row-price .product-grid .actions {
  position: static !important;
  display: flex;
  grid-column: 2;
  align-items: end;
  justify-content: flex-end;
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 0;
  opacity: 1;
}
body.ek-site-chrome-enabled #content .row-price .product-grid .actions > .cart {
  position: static;
  display: block;
  margin: 0;
  padding: 0;
  width: auto;
}
body.ek-site-chrome-enabled #content .row-price .product-grid .actions .cart .btn-general {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 44px;
  width: auto;
  margin: 0;
  padding: 9px 10px;
  border: 0;
  border-radius: 5px;
  background: #067c8c;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
  white-space: nowrap;
}
body.ek-site-chrome-enabled #content .row-price .product-grid .actions .cart .btn-general > span { display: inline !important; }
body.ek-site-chrome-enabled #content .row-price .product-grid .actions .cart .btn-general:hover { background: #056f7e; }
body.ek-site-chrome-enabled #content .row-price .product-grid a:focus-visible,
body.ek-site-chrome-enabled #content .row-price .product-grid button:focus-visible { outline: 2px solid #078fa1; outline-offset: 2px; }
body.ek-site-chrome-enabled #content .row-price .product-grid .actions-quick-order,
body.ek-site-chrome-enabled #content .row-price .product-grid .product-model,
body.ek-site-chrome-enabled #content .row-price .product-grid .product-description,
body.ek-site-chrome-enabled #content .row-price .product-grid .attribute-cat,
body.ek-site-chrome-enabled #content .row-price .product-grid > .catalogCard-extra,
body.ek-site-chrome-enabled #content .row-price .product-grid .rating,
body.ek-site-chrome-enabled #content .row-price .product-grid .quantity_plus_minus,
body.ek-site-chrome-enabled #content .row-price .product-grid .actions .btn-wishlist,
body.ek-site-chrome-enabled #content .row-price .product-grid .actions .btn-compare,
body.ek-site-chrome-enabled #content .row-price .product-grid .list-quick-order,
body.ek-site-chrome-enabled #content .row-price .product-grid .cart .btn-general > i { display: none !important; }
.ek-site-chrome-enabled .row-price .product-grid .quickview { opacity: 0; }
.ek-site-chrome-enabled .row-price .product-grid:hover .quickview,
.ek-site-chrome-enabled .row-price .product-grid:focus-within .quickview { opacity: 1; }
@media (min-width: 1440px) {
  body.ek-site-chrome-enabled #content .row-price > .product-grid { width: 25% !important; max-width: 25%; flex: 0 0 25%; }
}
@media (min-width: 992px) and (max-width: 1439px) {
  body.ek-site-chrome-enabled #content .row-price > .product-grid { width: 33.3333% !important; max-width: 33.3333%; flex: 0 0 33.3333%; }
}
@media (min-width: 1200px) {
  body.ek-site-chrome-enabled #content .ek-home-products > .product-grid { width: 25% !important; max-width: 25%; flex: 0 0 25%; }
}
/* rc4: one compact horizontal product card per row on phones and tablets. */
@media (max-width: 991px) {
  body.ek-site-chrome-enabled #content .row-price { margin-left: 0; margin-right: 0; }
  body.ek-site-chrome-enabled #content .row-price > .product-layout.product-grid {
    width: 100% !important; max-width: 100%; flex: 0 0 100%; padding: 0; margin-bottom: 12px;
  }
  body.ek-site-chrome-enabled #content .row-price > .product-grid > .product-thumb {
    display: grid !important;
    grid-template-columns: 37% minmax(0,1fr);
    align-items: start;
    padding-top: var(--ek-card-label-space, 8px);
    box-shadow: none;
  }
  /* Reserve the full-width label layer's measured height, including wrapped text.
     Updated after filtering, resizing and font loading by ek-site-chrome. */
  body.ek-site-chrome-enabled #content .row-price .product-grid .image {
    position: static; height: auto !important; min-height: 126px !important; padding: 0 4px 8px 8px;
  }
  body.ek-site-chrome-enabled #content .row-price .product-grid .image > a,
  body.ek-site-chrome-enabled #content .row-price .product-grid .image-carousel-category,
  body.ek-site-chrome-enabled #content .row-price .product-grid .image img { height: 132px !important; min-height: 0 !important; }
  body.ek-site-chrome-enabled #content .row-price .product-grid .stickers-ns .sticker-ns { font-size: 11px; }
  body.ek-site-chrome-enabled #content .row-price .product-grid .caption {
    display: flex !important; align-items: stretch; flex-direction: column; gap: 8px; padding: 0 10px 12px 6px;
  }
  body.ek-site-chrome-enabled #content .row-price .product-grid .product-name { min-height: 0; }
  body.ek-site-chrome-enabled #content .row-price .product-grid .product-name a { font-size: 13px; line-height: 1.4; }
  body.ek-site-chrome-enabled #content .row-price .product-grid p.price { min-height: 0; font-size: 20px; }
  body.ek-site-chrome-enabled #content .row-price .product-grid .actions,
  body.ek-site-chrome-enabled #content .row-price .product-grid .actions > .cart,
  body.ek-site-chrome-enabled #content .row-price .product-grid .actions .cart .btn-general { width: 100%; }
  body.ek-site-chrome-enabled #content .row-price .product-grid .actions .cart .btn-general { font-size: 13px; }
  body.ek-site-chrome-enabled #content .row-price .product-grid .quickview { display: none !important; }
}
/* Load more stays distinct from the primary purchase button. */
.ek-site-chrome-enabled #content #showmore { display: flex; width: max-content; min-width: 190px; margin: 18px auto 16px; padding: 0 !important; align-items: center; justify-content: center; border: 0; background: transparent; }
.ek-site-chrome-enabled #content #showmore > a { display: inline-flex; min-height: 44px; padding: 10px 22px; align-items: center; justify-content: center; border: 1px solid #078fa1; border-radius: 5px; background: #fff; color: #078392; font-size: 14px; font-weight: 700; text-decoration: none; }
.ek-site-chrome-enabled #content #showmore > a:hover,
.ek-site-chrome-enabled #content #showmore > a:focus { background: #078fa1; color: #fff; outline: 2px solid rgba(7,143,161,.22); outline-offset: 2px; }
/* Shared feature-label colours override the legacy inline colours on catalogue cards. */
body.ek-site-chrome-enabled #content .row-price .sticker-ns.ek-product-card__label--neutral { color: #123550 !important; }
body.ek-site-chrome-enabled #content .row-price .sticker-ns.ek-product-card__label--service { color: #c71920 !important; }
body.ek-site-chrome-enabled #content .row-price .sticker-ns.ek-product-card__label--wifi,
body.ek-site-chrome-enabled #content .row-price .sticker-ns.ek-product-card__label--popular { color: #7b1fa2 !important; }
body.ek-site-chrome-enabled #content .row-price .sticker-ns.ek-product-card__label--warranty,
body.ek-site-chrome-enabled #content .row-price .sticker-ns.ek-product-card__label--info { color: #145fc2 !important; }
body.ek-site-chrome-enabled #content .row-price .sticker-ns.ek-product-card__label--heating { color: #99500f !important; }
body.ek-site-chrome-enabled #content .row-price .sticker-ns.ek-product-card__label--promo { color: #c71920 !important; }
body.ek-site-chrome-enabled #content .row-price .sticker-ns.ek-product-card__label--new { color: #1f753f !important; }
