/* Jen kategorie / podkategorie / vyhledávání */
body.type-category #products .product > .p.custom-home-product-frame,
body.type-category .products .product > .p.custom-home-product-frame,
body.type-category .products-page .product > .p.custom-home-product-frame,
body.type-category .products-block .product > .p.custom-home-product-frame,
body.type-manufacturer #products .product > .p.custom-home-product-frame,
body.type-manufacturer .products .product > .p.custom-home-product-frame,
body.type-manufacturer .products-page .product > .p.custom-home-product-frame,
body.type-manufacturer .products-block .product > .p.custom-home-product-frame,
body.type-search #products .product > .p.custom-home-product-frame,
body.type-search .products .product > .p.custom-home-product-frame,
body.type-search .products-page .product > .p.custom-home-product-frame,
body.type-search .products-block .product > .p.custom-home-product-frame {
  position: relative !important;
  border: 2px solid #000000 !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  padding: 42px 14px 18px 14px !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

body.type-category #products .product > .p.custom-home-product-frame:hover,
body.type-category .products .product > .p.custom-home-product-frame:hover,
body.type-category .products-page .product > .p.custom-home-product-frame:hover,
body.type-category .products-block .product > .p.custom-home-product-frame:hover,
body.type-manufacturer #products .product > .p.custom-home-product-frame:hover,
body.type-manufacturer .products .product > .p.custom-home-product-frame:hover,
body.type-manufacturer .products-page .product > .p.custom-home-product-frame:hover,
body.type-manufacturer .products-block .product > .p.custom-home-product-frame:hover,
body.type-search #products .product > .p.custom-home-product-frame:hover,
body.type-search .products .product > .p.custom-home-product-frame:hover,
body.type-search .products-page .product > .p.custom-home-product-frame:hover,
body.type-search .products-block .product > .p.custom-home-product-frame:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

body.type-category .p.custom-home-product-frame > *,
body.type-manufacturer .p.custom-home-product-frame > *,
body.type-search .p.custom-home-product-frame > * {
  position: relative !important;
  z-index: 2 !important;
}

/* Štítky vlevo nahoře */
body.type-category .p.custom-home-product-frame .flags,
body.type-category .p.custom-home-product-frame .flag,
body.type-category .p.custom-home-product-frame .p-flags,
body.type-category .p.custom-home-product-frame .flag.flag-new,
body.type-manufacturer .p.custom-home-product-frame .flags,
body.type-manufacturer .p.custom-home-product-frame .flag,
body.type-manufacturer .p.custom-home-product-frame .p-flags,
body.type-manufacturer .p.custom-home-product-frame .flag.flag-new,
body.type-search .p.custom-home-product-frame .flags,
body.type-search .p.custom-home-product-frame .flag,
body.type-search .p.custom-home-product-frame .p-flags,
body.type-search .p.custom-home-product-frame .flag.flag-new {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  z-index: 5 !important;
  margin: 0 !important;
}

/* Kód vpravo nahoře */
body.type-category .p.custom-home-product-frame .p-code,
body.type-category .p.custom-home-product-frame .product-code,
body.type-manufacturer .p.custom-home-product-frame .p-code,
body.type-manufacturer .p.custom-home-product-frame .product-code,
body.type-search .p.custom-home-product-frame .p-code,
body.type-search .p.custom-home-product-frame .product-code {
  position: absolute !important;
  top: 10px !important;
  right: 14px !important;
  z-index: 5 !important;
  margin: 0 !important;
}

/* Srovnání vnitřních bloků */
body.type-category .p.custom-home-product-frame .p-in,
body.type-category .p.custom-home-product-frame .p-in-in,
body.type-category .p.custom-home-product-frame .image,
body.type-category .p.custom-home-product-frame .p-image-wrapper,
body.type-category .p.custom-home-product-frame .product-in,
body.type-manufacturer .p.custom-home-product-frame .p-in,
body.type-manufacturer .p.custom-home-product-frame .p-in-in,
body.type-manufacturer .p.custom-home-product-frame .image,
body.type-manufacturer .p.custom-home-product-frame .p-image-wrapper,
body.type-manufacturer .p.custom-home-product-frame .product-in,
body.type-search .p.custom-home-product-frame .p-in,
body.type-search .p.custom-home-product-frame .p-in-in,
body.type-search .p.custom-home-product-frame .image,
body.type-search .p.custom-home-product-frame .p-image-wrapper,
body.type-search .p.custom-home-product-frame .product-in {
  margin-top: 0 !important;
}

/* Schování původního popisu */
body.type-category .p.custom-home-product-frame .p-desc,
body.type-manufacturer .p.custom-home-product-frame .p-desc,
body.type-search .p.custom-home-product-frame .p-desc {
  display: none !important;
}

/* Benefit text */
body.type-category .p.custom-home-product-frame .custom-home-benefit-text,
body.type-manufacturer .p.custom-home-product-frame .custom-home-benefit-text,
body.type-search .p.custom-home-product-frame .custom-home-benefit-text {
  display: block !important;
  margin-top: 14px !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  text-align: center !important;
  color: #1f2340 !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  width: 100% !important;
}

/* Tlačítko Do košíku jen pro kategorie / podkategorie / vyhledávání */
body.type-category #products .product .btn,
body.type-category #products .product .btn.btn-cart,
body.type-category .products .btn,
body.type-category .products .btn.btn-cart,
body.type-category .products .product .btn,
body.type-category .products .product .btn.btn-cart,
body.type-category .products-block .btn,
body.type-category .products-block .btn.btn-cart,
body.type-category .product .btn,
body.type-category .product .btn.btn-cart,
body.type-category .p .btn,
body.type-category .p .btn.btn-cart,
body.type-category .p-tools .btn,
body.type-category .p-tools .btn.btn-cart,
body.type-manufacturer #products .product .btn,
body.type-manufacturer #products .product .btn.btn-cart,
body.type-manufacturer .products .btn,
body.type-manufacturer .products .btn.btn-cart,
body.type-manufacturer .products .product .btn,
body.type-manufacturer .products .product .btn.btn-cart,
body.type-manufacturer .products-block .btn,
body.type-manufacturer .products-block .btn.btn-cart,
body.type-manufacturer .product .btn,
body.type-manufacturer .product .btn.btn-cart,
body.type-manufacturer .p .btn,
body.type-manufacturer .p .btn.btn-cart,
body.type-manufacturer .p-tools .btn,
body.type-manufacturer .p-tools .btn.btn-cart,
body.type-search #products .product .btn,
body.type-search #products .product .btn.btn-cart,
body.type-search .products .btn,
body.type-search .products .btn.btn-cart,
body.type-search .products .product .btn,
body.type-search .products .product .btn.btn-cart,
body.type-search .products-block .btn,
body.type-search .products-block .btn.btn-cart,
body.type-search .product .btn,
body.type-search .product .btn.btn-cart,
body.type-search .p .btn,
body.type-search .p .btn.btn-cart,
body.type-search .p-tools .btn,
body.type-search .p-tools .btn.btn-cart {
  background: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #000000 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  transition: all 0.25s ease !important;
  padding: 12px 34px !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
}

body.type-category #products .product .btn:hover,
body.type-category #products .product .btn.btn-cart:hover,
body.type-category .products .btn:hover,
body.type-category .products .btn.btn-cart:hover,
body.type-category .products .product .btn:hover,
body.type-category .products .product .btn.btn-cart:hover,
body.type-category .products-block .btn:hover,
body.type-category .products-block .btn.btn-cart:hover,
body.type-category .product .btn:hover,
body.type-category .product .btn.btn-cart:hover,
body.type-category .p .btn:hover,
body.type-category .p .btn.btn-cart:hover,
body.type-category .p-tools .btn:hover,
body.type-category .p-tools .btn.btn-cart:hover,
body.type-manufacturer #products .product .btn:hover,
body.type-manufacturer #products .product .btn.btn-cart:hover,
body.type-manufacturer .products .btn:hover,
body.type-manufacturer .products .btn.btn-cart:hover,
body.type-manufacturer .products .product .btn:hover,
body.type-manufacturer .products .product .btn.btn-cart:hover,
body.type-manufacturer .products-block .btn:hover,
body.type-manufacturer .products-block .btn.btn-cart:hover,
body.type-manufacturer .product .btn:hover,
body.type-manufacturer .product .btn.btn-cart:hover,
body.type-manufacturer .p .btn:hover,
body.type-manufacturer .p .btn.btn-cart:hover,
body.type-manufacturer .p-tools .btn:hover,
body.type-manufacturer .p-tools .btn.btn-cart:hover,
body.type-search #products .product .btn:hover,
body.type-search #products .product .btn.btn-cart:hover,
body.type-search .products .btn:hover,
body.type-search .products .btn.btn-cart:hover,
body.type-search .products .product .btn:hover,
body.type-search .products .product .btn.btn-cart:hover,
body.type-search .products-block .btn:hover,
body.type-search .products-block .btn.btn-cart:hover,
body.type-search .product .btn:hover,
body.type-search .product .btn.btn-cart:hover,
body.type-search .p .btn:hover,
body.type-search .p .btn.btn-cart:hover,
body.type-search .p-tools .btn:hover,
body.type-search .p-tools .btn.btn-cart:hover {
  background: #000000 !important;
  color: #ffffff !important;
  border: 2px solid #000000 !important;
  box-shadow: none !important;
}

body.type-category #products .product .btn span,
body.type-category #products .product .btn.btn-cart span,
body.type-category .products .btn span,
body.type-category .products .btn.btn-cart span,
body.type-category .products .product .btn span,
body.type-category .products .product .btn.btn-cart span,
body.type-category .products-block .btn span,
body.type-category .products-block .btn.btn-cart span,
body.type-category .product .btn span,
body.type-category .product .btn.btn-cart span,
body.type-category .p .btn span,
body.type-category .p .btn.btn-cart span,
body.type-category .p-tools .btn span,
body.type-category .p-tools .btn.btn-cart span,
body.type-manufacturer #products .product .btn span,
body.type-manufacturer #products .product .btn.btn-cart span,
body.type-manufacturer .products .btn span,
body.type-manufacturer .products .btn.btn-cart span,
body.type-manufacturer .products .product .btn span,
body.type-manufacturer .products .product .btn.btn-cart span,
body.type-manufacturer .products-block .btn span,
body.type-manufacturer .products-block .btn.btn-cart span,
body.type-manufacturer .product .btn span,
body.type-manufacturer .product .btn.btn-cart span,
body.type-manufacturer .p .btn span,
body.type-manufacturer .p .btn.btn-cart span,
body.type-manufacturer .p-tools .btn span,
body.type-manufacturer .p-tools .btn.btn-cart span,
body.type-search #products .product .btn span,
body.type-search #products .product .btn.btn-cart span,
body.type-search .products .btn span,
body.type-search .products .btn.btn-cart span,
body.type-search .products .product .btn span,
body.type-search .products .product .btn.btn-cart span,
body.type-search .products-block .btn span,
body.type-search .products-block .btn.btn-cart span,
body.type-search .product .btn span,
body.type-search .product .btn.btn-cart span,
body.type-search .p .btn span,
body.type-search .p .btn.btn-cart span,
body.type-search .p-tools .btn span,
body.type-search .p-tools .btn.btn-cart span {
  color: inherit !important;
}

@media (max-width: 767px) {
  body.type-category #products .product > .p.custom-home-product-frame,
  body.type-category .products .product > .p.custom-home-product-frame,
  body.type-category .products-page .product > .p.custom-home-product-frame,
  body.type-category .products-block .product > .p.custom-home-product-frame,
  body.type-manufacturer #products .product > .p.custom-home-product-frame,
  body.type-manufacturer .products .product > .p.custom-home-product-frame,
  body.type-manufacturer .products-page .product > .p.custom-home-product-frame,
  body.type-manufacturer .products-block .product > .p.custom-home-product-frame,
  body.type-search #products .product > .p.custom-home-product-frame,
  body.type-search .products .product > .p.custom-home-product-frame,
  body.type-search .products-page .product > .p.custom-home-product-frame,
  body.type-search .products-block .product > .p.custom-home-product-frame {
    border-radius: 14px !important;
    padding: 38px 12px 14px 12px !important;
  }

  body.type-category .p.custom-home-product-frame .flags,
  body.type-category .p.custom-home-product-frame .flag,
  body.type-category .p.custom-home-product-frame .p-flags,
  body.type-category .p.custom-home-product-frame .flag.flag-new,
  body.type-manufacturer .p.custom-home-product-frame .flags,
  body.type-manufacturer .p.custom-home-product-frame .flag,
  body.type-manufacturer .p.custom-home-product-frame .p-flags,
  body.type-manufacturer .p.custom-home-product-frame .flag.flag-new,
  body.type-search .p.custom-home-product-frame .flags,
  body.type-search .p.custom-home-product-frame .flag,
  body.type-search .p.custom-home-product-frame .p-flags,
  body.type-search .p.custom-home-product-frame .flag.flag-new {
    top: 8px !important;
    left: 8px !important;
  }

  body.type-category .p.custom-home-product-frame .p-code,
  body.type-category .p.custom-home-product-frame .product-code,
  body.type-manufacturer .p.custom-home-product-frame .p-code,
  body.type-manufacturer .p.custom-home-product-frame .product-code,
  body.type-search .p.custom-home-product-frame .p-code,
  body.type-search .p.custom-home-product-frame .product-code {
    top: 8px !important;
    right: 12px !important;
  }

  body.type-category .p.custom-home-product-frame .custom-home-benefit-text,
  body.type-manufacturer .p.custom-home-product-frame .custom-home-benefit-text,
  body.type-search .p.custom-home-product-frame .custom-home-benefit-text {
    font-size: 12px !important;
    line-height: 1.4 !important;
    margin-top: 12px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
  }
}
body.type-category .p-tools::before,
body.type-category .p-tools::after,
body.type-manufacturer .p-tools::before,
body.type-manufacturer .p-tools::after,
body.type-search .p-tools::before,
body.type-search .p-tools::after {
  content: none !important;
  display: none !important;
}