.elementor-5353 .elementor-element.elementor-element-478ea5e{--display:flex;}.elementor-5353 .elementor-element.elementor-element-70bea29 > .elementor-widget-container{margin:50px 0px 0px 0px;}.elementor-5353 .elementor-element.elementor-element-49831c6{--display:grid;--e-con-grid-template-columns:repeat(2, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--grid-auto-flow:row;--align-items:center;--margin-top:0px;--margin-bottom:20px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-5353 .elementor-element.elementor-element-0e9c804 img{border-style:none;border-radius:20px 20px 20px 20px;box-shadow:0px 0px 5px 0px rgba(0, 0, 0, 0.21);}.elementor-5353 .elementor-element.elementor-element-771ec1f{--display:flex;}.elementor-5353 .elementor-element.elementor-element-d4f0935 .elementor-button{background-color:#1B9BD8;font-family:var( --e-global-typography-489f25c-font-family ), Sans-serif;font-size:var( --e-global-typography-489f25c-font-size );font-weight:var( --e-global-typography-489f25c-font-weight );line-height:var( --e-global-typography-489f25c-line-height );fill:#FFFFFF;color:#FFFFFF;border-style:none;border-radius:10px 10px 10px 10px;padding:15px 30px 15px 30px;}.elementor-5353 .elementor-element.elementor-element-d4f0935 .elementor-button:hover, .elementor-5353 .elementor-element.elementor-element-d4f0935 .elementor-button:focus{background-color:var( --e-global-color-primary );color:var( --e-global-color-text );}.elementor-5353 .elementor-element.elementor-element-d4f0935 > .elementor-widget-container{padding:0px 0px 0px 0px;}.elementor-5353 .elementor-element.elementor-element-d4f0935 .elementor-button:hover svg, .elementor-5353 .elementor-element.elementor-element-d4f0935 .elementor-button:focus svg{fill:var( --e-global-color-text );}.elementor-5353 .elementor-element.elementor-element-a147b4f .elementor-heading-title{font-family:"Roboto", Sans-serif;}.elementor-5353 .elementor-element.elementor-element-3d26e7f.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}.elementor-5353 .elementor-element.elementor-element-b4e0516{--display:flex;}.elementor-5353 .elementor-element.elementor-element-2fefcde > .elementor-widget-container{margin:0px 0px 50px 0px;}.elementor-5353 .elementor-element.elementor-element-2fefcde.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}.elementor-5353 .elementor-element.elementor-element-2fefcde.elementor-wc-products ul.products li.product span.onsale{display:block;}@media(max-width:1024px){.elementor-5353 .elementor-element.elementor-element-49831c6{--grid-auto-flow:row;}.elementor-5353 .elementor-element.elementor-element-d4f0935 .elementor-button{font-size:var( --e-global-typography-489f25c-font-size );line-height:var( --e-global-typography-489f25c-line-height );}.elementor-5353 .elementor-element.elementor-element-2fefcde.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}@media(max-width:767px){.elementor-5353 .elementor-element.elementor-element-49831c6{--e-con-grid-template-columns:repeat(1, 1fr);--grid-auto-flow:row;}.elementor-5353 .elementor-element.elementor-element-d4f0935 .elementor-button{font-size:var( --e-global-typography-489f25c-font-size );line-height:var( --e-global-typography-489f25c-line-height );}.elementor-5353 .elementor-element.elementor-element-2fefcde.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}/* Start custom CSS for text-editor, class: .elementor-element-9201401 */.mdair-cat-desc {
  font-size: 15px;
  color: #4a6070;
  line-height: 1.75;
  max-width: 780px;
  margin: 0 0 32px 0;
}/* End custom CSS */
/* Start custom CSS */.elementor-nothing-found{
    font-size:16px;
    padding:30px !important;
    background-color:#1B9BD8;
    color:white;
    border-radius:10px;
}
.elementor-nothing-found a{
    font-size:16px;
    color:lightgrey;
    
}
.elementor-nothing-found a:hover{
    color:lightgrey;
    
}

/* ===== HLAVNÁ STRÁNKA – prvé 2 kategórie väčšie ===== */
body.woocommerce-shop ul.products.elementor-grid li.product-category:nth-child(1),
body.woocommerce-shop ul.products.elementor-grid li.product-category:nth-child(2),
body.post-type-archive-product ul.products.elementor-grid li.product-category:nth-child(1),
body.post-type-archive-product ul.products.elementor-grid li.product-category:nth-child(2) {
  flex: 0 0 calc(30% - 20px) !important;
  max-width: calc(30% - 20px) !important;
}

body.woocommerce-shop ul.products.elementor-grid:has(li.product-category),
body.post-type-archive-product ul.products.elementor-grid:has(li.product-category) {
  justify-content: center !important;
}

body.woocommerce-shop ul.products.elementor-grid li.product-category:nth-child(1) a img,
body.woocommerce-shop ul.products.elementor-grid li.product-category:nth-child(2) a img,
body.post-type-archive-product ul.products.elementor-grid li.product-category:nth-child(1) a img,
body.post-type-archive-product ul.products.elementor-grid li.product-category:nth-child(2) a img {
  padding: 40px 60px !important;
  max-height: 1000px !important;
}
/* ============================================================
   WooCommerce + Elementor – Product Archive CSS
   Midea / MDV – mdair.sk
   ============================================================ */

/* ===== BREADCRUMB ===== */
.elementor-widget-woocommerce-breadcrumb .woocommerce-breadcrumb {
  color: black !important;
  font-size: 13px !important;
  opacity: 0.7 !important;
  margin-bottom: 24px !important;
}
.elementor-widget-woocommerce-breadcrumb .woocommerce-breadcrumb a {
  color: #1B9BD8 !important;
  text-decoration: none !important;
}
.elementor-widget-woocommerce-breadcrumb .woocommerce-breadcrumb a:hover {
  color: black !important;
  text-decoration: underline !important;
}

/* ===== BUTTON ===== */
.btn-contact-us {
  display: block !important;
  background: #1B9BD8 !important;
  color: #ffffff !important;
  padding: 4px 14px 14px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

/* ============================================================
   PRODUCT CATEGORIES
   ============================================================ */

ul.products.elementor-grid:has(li.product-category) {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  padding: 28px !important;
  background: #f0f4f5 !important;
  border-radius: 18px !important;
  align-items: stretch !important;
}

ul.products.elementor-grid li.product-category {
  background: #ffffff !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 10px rgba(6, 33, 45, 0.07) !important;
  border: 1px solid rgba(6, 33, 45, 0.07) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  padding: 0 !important;
  margin: 0 !important;
  flex: 0 0 calc(25% - 15px) !important;
  max-width: calc(25% - 15px) !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

ul.products.elementor-grid li.product-category:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 32px rgba(27, 155, 216, 0.15) !important;
}

ul.products.elementor-grid li.product-category a {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  text-decoration: none !important;
  margin: 0 !important;
  padding: 0 !important;
  
}

/* Obrázok kategórie – centrovanie + bez orezania */
ul.products.elementor-grid li.product-category a img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 220px !important;
  aspect-ratio: unset !important;
  object-fit: contain !important;
  background: #f8fafb !important;
  display: block !important;
  padding: 28px 32px !important;
  box-sizing: border-box !important;
  margin: auto !important;
  flex: 1 !important;
  transition: transform 0.4s ease !important;
}

ul.products.elementor-grid li.product-category:hover a img {
  transform: scale(1.05) !important;
}

ul.products.elementor-grid li.product-category a h3 {
  background: #1B9BD8 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  padding: 14px 18px !important;
  margin: 0 !important;
  margin-top: auto !important;
  transition: background 0.25s ease, letter-spacing 0.25s ease !important;
  line-height: 1.4 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

ul.products.elementor-grid li.product-category:hover a h3 {
  letter-spacing: 0.8px !important;
}

ul.products.elementor-grid li.product-category a h3 mark.count {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 20px !important;
  margin-left: 8px !important;
}

/* ============================================================
   PRODUCT ARCHIVE – ZOZNAM PRODUKTOV
   ============================================================ */

ul.products.elementor-grid:has(li.product:not(.product-category)) {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  padding: 28px !important;
  background: #f0f4f5 !important;
  border-radius: 18px !important;
  align-items: stretch !important;
}

ul.products.elementor-grid li.product:not(.product-category) {
  padding: 0 !important;
  margin: 0 !important;
  flex: 0 0 calc(33.333% - 14px) !important;
  max-width: calc(33.333% - 14px) !important;
  min-width: 0 !important;
  display: flex !important;
}

ul.products.elementor-grid li.product:not(.product-category) .tm-product-box {
  background: #ffffff !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 10px rgba(6, 33, 45, 0.07) !important;
  border: 1px solid rgba(6, 33, 45, 0.07) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
}

ul.products.elementor-grid li.product:not(.product-category) .tm-product-box:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 14px 36px rgba(6, 33, 45, 0.15) !important;
}

/* Image wrapper – centrovanie + bez orezania */
ul.products.elementor-grid li.product:not(.product-category) .tm-product-image-box {
  background: #f8fafb !important;
  padding: 24px !important;
  margin: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  flex-shrink: 0 !important;
  aspect-ratio: unset !important;
  width: 100% !important;
  min-height: 180px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

ul.products.elementor-grid li.product:not(.product-category) .tm-product-image-box a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  line-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Obrázok produktu – centrovanie + bez orezania */
ul.products.elementor-grid li.product:not(.product-category) .tm-product-image-box img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 180px !important;
  object-fit: contain !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 auto !important;
  transition: transform 0.4s ease !important;
}

ul.products.elementor-grid li.product:not(.product-category) .tm-product-box:hover .tm-product-image-box img {
  transform: scale(1.05) !important;
}

/* Overlay */
ul.products.elementor-grid li.product:not(.product-category) .tm-shop-icon {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(6, 33, 45, 0.55) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
  z-index: 2 !important;
}

ul.products.elementor-grid li.product:not(.product-category) .tm-product-box:hover .tm-shop-icon {
  opacity: 1 !important;
}

ul.products.elementor-grid li.product:not(.product-category) .tm-shop-icon .tm-wc-add-to-cart-btn a.button {
  background: transparent !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  border-radius: 8px !important;
  padding: 11px 22px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  transition: all 0.25s ease !important;
  white-space: nowrap !important;
}

ul.products.elementor-grid li.product:not(.product-category) .tm-shop-icon .tm-wc-add-to-cart-btn a.button:hover {
  background: #ffffff !important;
  color: #1B9BD8 !important;
}

/* Názov + cena produktu */
ul.products.elementor-grid li.product:not(.product-category) .tm-product-content {
  background: #1B9BD8 !important;
  padding: 0 !important;
  margin: 0 !important;
  margin-top: auto !important;
  min-height: unset !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

ul.products.elementor-grid li.product:not(.product-category) .tm-product-title-link {
  display: block !important;
  padding: 14px 18px !important;
  text-decoration: none !important;
  transition: background 0.25s ease, letter-spacing 0.25s ease !important;
}

ul.products.elementor-grid li.product:not(.product-category) .woocommerce-loop-product__title {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Cena */
ul.products.elementor-grid li.product:not(.product-category) .tm-product-content span.price {
  display: block !important;
  background: #1B9BD8 !important;
  padding: 4px 18px 14px !important;
  margin: 0 !important;
}

ul.products.elementor-grid li.product:not(.product-category) .tm-product-content span.price .woocommerce-Price-amount {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
}

ul.products.elementor-grid li.product:not(.product-category) .tm-product-content span.price .woocommerce-Price-amount::after {
  content: " bez DPH • Odporúčaná maloobchodná cena" !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  opacity: 0.6 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  margin-left: 4px !important;
  vertical-align: middle !important;
}

ul.products.elementor-grid li.product:not(.product-category) .tm-product-content span.price .woocommerce-Price-currencySymbol {
  font-size: 12px !important;
  font-weight: 600 !important;
  opacity: 0.7 !important;
  margin-left: 2px !important;
  vertical-align: middle !important;
}

/* ============================================================
   RESPONZIVITA
   ============================================================ */

@media (max-width: 1024px) {
  ul.products.elementor-grid:has(li.product-category),
  ul.products.elementor-grid:has(li.product:not(.product-category)) {
    padding: 20px !important;
    gap: 16px !important;
  }

  ul.products.elementor-grid li.product-category {
    flex: 0 0 calc(50% - 8px) !important;
    max-width: calc(50% - 8px) !important;
  }

  ul.products.elementor-grid li.product:not(.product-category) {
    flex: 0 0 calc(50% - 8px) !important;
    max-width: calc(50% - 8px) !important;
  }
}

@media (max-width: 600px) {
  ul.products.elementor-grid:has(li.product-category),
  ul.products.elementor-grid:has(li.product:not(.product-category)) {
    padding: 14px !important;
    gap: 14px !important;
    border-radius: 12px !important;
  }

  /* Prvé 2 kategórie – na mobile rovnaká veľkosť ako ostatné */
  body.woocommerce-shop ul.products.elementor-grid li.product-category:nth-child(1),
  body.woocommerce-shop ul.products.elementor-grid li.product-category:nth-child(2),
  body.post-type-archive-product ul.products.elementor-grid li.product-category:nth-child(1),
  body.post-type-archive-product ul.products.elementor-grid li.product-category:nth-child(2) {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* Obrázky prvých 2 kategórií – reset na štandardné padding */
  body.woocommerce-shop ul.products.elementor-grid li.product-category:nth-child(1) a img,
  body.woocommerce-shop ul.products.elementor-grid li.product-category:nth-child(2) a img,
  body.post-type-archive-product ul.products.elementor-grid li.product-category:nth-child(1) a img,
  body.post-type-archive-product ul.products.elementor-grid li.product-category:nth-child(2) a img {
    padding: 28px 32px !important;
    max-height: 220px !important;
  }

  ul.products.elementor-grid li.product-category,
  ul.products.elementor-grid li.product:not(.product-category) {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  ul.products.elementor-grid li.product-category a h3 {
    font-size: 13px !important;
  }
}/* End custom CSS */