/* Shared product card design for catalog, homepage hits and detail recommendations. */
.catalog_block.kvent-product-cards {
  --kc-accent: #087cbc; --kc-accent-dark: #05669e; --kc-accent-soft: #eef8ff;
  --kc-ink: #12233d; --kc-text: #263449; --kc-muted: #78869a;
  --kc-line: #e2e9f1; --kc-surface: #fff; --kc-success: #23864d;
  --kc-radius: 18px; --kc-shadow: 0 8px 26px rgba(24,54,89,.07);
  --kc-shadow-hover: 0 15px 36px rgba(24,54,89,.13);
}

/* Product card shell. */
.catalog_block.kvent-product-cards .catalog_item {
  position: relative;
  width: 100%;
  height: 100% !important;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--kc-line);
  border-radius: var(--kc-radius);
  background: var(--kc-surface);
  box-shadow: var(--kc-shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.catalog_block.kvent-product-cards .catalog_item > .inner_wrap,
.catalog_block.kvent-product-cards .catalog_item:hover > .inner_wrap {
  display: flex !important;
  flex-direction: column;
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  height: 100% !important;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  border-radius: inherit;
  background: #fff;
  box-shadow: none;
}

.catalog_block.kvent-product-cards .catalog_item:has(.js-show-info-block.opened) {
  z-index: 50;
}

@media (hover: hover) {
  .catalog_block.kvent-product-cards .catalog_item:hover {
    border-color: #c9d9e7;
    box-shadow: var(--kc-shadow-hover);
    transform: translateY(-3px);
  }
}

/* Image and card actions. */
.catalog_block.kvent-product-cards .image_wrapper_block {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 0 0 210px;
  width: 100%;
  height: 210px;
  min-height: 210px;
  margin: 0;
  padding: 22px 18px 10px !important;
  overflow: hidden !important;
  border-radius: calc(var(--kc-radius) - 1px) calc(var(--kc-radius) - 1px) 0 0;
  contain: paint;
  background: #fff !important;
  line-height: normal;
}

.catalog_block.kvent-product-cards .image_wrapper_block > a.thumb {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: static !important;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden !important;
  border-radius: inherit;
  background: #fff !important;
  line-height: normal;
}

.catalog_block.kvent-product-cards .section-gallery-wrapper,
.catalog_block.kvent-product-cards .section-gallery-wrapper__item {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden !important;
  border-radius: inherit;
  background: #fff !important;
}

.catalog_block.kvent-product-cards .image_wrapper_block img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  transform: none !important;
}

.catalog_block.kvent-product-cards .image_wrapper_block .like_icons {
  display: flex;
  gap: 7px;
  position: absolute;
  top: 14px;
  right: 14px;
  left: auto;
  z-index: 5;
  width: max-content;
}

/* The hidden one-click action must not reserve a third slot beside the two
   visible controls; keep it available underneath on hover. */
.catalog_block.kvent-product-cards .like_icons .wrapp_one_click {
  position: absolute;
  top: 39px;
  right: 0;
}

.catalog_block.kvent-product-cards .like_icons .item-action > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  opacity: 1;
  visibility: visible;
  transform: none;
  border: 1px solid rgba(219, 227, 236, 0.9);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(25, 54, 89, 0.05);
}

.catalog_block.kvent-product-cards .like_icons .item-action .svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.catalog_block.kvent-product-cards .like_icons .item-action svg * {
  fill: #8794a5;
  transition: fill 0.18s ease;
}

.catalog_block.kvent-product-cards .like_icons .item-action .added svg *,
.catalog_block.kvent-product-cards .like_icons .item-action:hover svg * {
  fill: var(--kc-accent);
}

.catalog_block.kvent-product-cards .like_icons .fast_view_button {
  display: none !important;
}

.catalog_block.kvent-product-cards .stickers {
  top: 14px;
  left: 14px;
  max-width: calc(100% - 105px);
}

.catalog_block.kvent-product-cards .stickers > div {
  padding: 5px 9px;
  border-radius: 7px;
  box-shadow: 0 4px 12px rgba(30, 47, 70, 0.08);
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
}

/* Product information. */
.catalog_block.kvent-product-cards .item_info {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: flex-start !important;
  min-height: 0;
  margin: 0 !important;
  padding: 0 18px 15px !important;
}

.catalog_block.kvent-product-cards .item_info--top_block {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  min-height: 0;
}

.catalog_block.kvent-product-cards .rating {
  display: flex;
  align-items: center;
  min-height: 18px;
  margin: 0 0 8px;
  padding: 0;
  line-height: 18px;
}

.catalog_block.kvent-product-cards .votes_block {
  margin: 0;
}

.catalog_block.kvent-product-cards .item-rating svg {
  width: 13px;
  height: 13px;
}

.catalog_block.kvent-product-cards .rating .with-text,
.catalog_block.kvent-product-cards .rating .font_sxs {
  font-size: 11px !important;
  line-height: 18px !important;
}

.catalog_block.kvent-product-cards .item-title {
  display: -webkit-box;
  height: auto !important;
  min-height: 42px;
  max-height: 63px;
  margin: 0 0 10px;
  padding: 0;
  overflow: hidden;
  color: var(--kc-text);
  font-size: 14px;
  line-height: 21px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.catalog_block.kvent-product-cards .item-title a,
.catalog_block.kvent-product-cards .item-title a span {
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-decoration: none;
}

.catalog_block.kvent-product-cards .item-title a:hover,
.catalog_block.kvent-product-cards .item-title a:hover span {
  color: var(--kc-accent);
}

.catalog_block.kvent-product-cards .sa_block {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 14px;
  height: auto !important;
  min-height: 20px;
  margin: 0 0 10px;
  padding: 0;
  font-size: 12px;
  line-height: 18px;
}

.catalog_block.kvent-product-cards .sa_block .item-stock,
.catalog_block.kvent-product-cards .sa_block .article_block {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 18px;
}

.catalog_block.kvent-product-cards .sa_block .item-stock .value,
.catalog_block.kvent-product-cards .sa_block .item-stock .store_view,
.catalog_block.kvent-product-cards .sa_block .article_block .muted {
  font-size: 12px !important;
  line-height: 18px !important;
}

.catalog_block.kvent-product-cards .sa_block .article_block .muted {
  color: var(--kc-muted);
}

.catalog_block.kvent-product-cards .item-stock .icon {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin: 0 6px 0 0;
  border-radius: 50%;
  background: var(--kc-success);
}

.catalog_block.kvent-product-cards .item-stock .icon::before,
.catalog_block.kvent-product-cards .item-stock .icon::after {
  display: none;
}

.catalog_block.kvent-product-cards .item_info--bottom_block {
  margin-top: 0;
}

@media (min-width: 768px) {
  #right_block_ajax .catalog_block.kvent-product-cards .item_info--bottom_block {
    margin-top: auto;
  }
}

/* Prices and discount. */
.catalog_block.kvent-product-cards .cost {
  display: flex;
  align-items: flex-end;
  min-height: 50px;
  height: auto !important;
  margin: 0;
  padding: 0;
}

.catalog_block.kvent-product-cards .cost .price_matrix_wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.catalog_block.kvent-product-cards .cost .sale_block {
  display: block !important;
  position: static !important;
  width: 100%;
  height: auto !important;
  margin: 0 0 7px !important;
  padding: 0;
}

.catalog_block.kvent-product-cards .cost .sale_wrapper {
  display: flex !important;
  align-items: center;
  width: 100%;
  height: auto !important;
  margin: 0 !important;
}

.catalog_block.kvent-product-cards .cost .sale-number {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  height: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 0;
  border-radius: 7px;
  background: #fff4e2;
}

.catalog_block.kvent-product-cards .cost .sale-number > .value {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  background: #ffca57;
  color: #5a4304;
  font-size: 11px !important;
  font-weight: 700;
  line-height: 24px !important;
  white-space: nowrap;
}

.catalog_block.kvent-product-cards .cost .inner-sale {
  display: inline-flex !important;
  align-items: center;
  position: static !important;
  width: auto !important;
  height: 24px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.catalog_block.kvent-product-cards .cost .inner-sale .text,
.catalog_block.kvent-product-cards .cost .inner-sale .values_wrapper,
.catalog_block.kvent-product-cards .cost .inner-sale .price_value,
.catalog_block.kvent-product-cards .cost .inner-sale .price_currency {
  color: #78633a;
  font-size: 11px !important;
  font-weight: 500;
  line-height: 24px !important;
  white-space: nowrap;
}

.catalog_block.kvent-product-cards .cost .prices-wrapper {
  display: flex !important;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
  width: 100%;
  min-height: 29px;
  margin: 0 !important;
  padding: 0 !important;
}

.catalog_block.kvent-product-cards .cost .prices-wrapper .price {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.catalog_block.kvent-product-cards .cost .price:not(.discount),
.catalog_block.kvent-product-cards .cost .price:not(.discount) span {
  color: var(--kc-ink) !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 29px !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.catalog_block.kvent-product-cards .cost .price:not(.discount) {
  display: inline-flex !important;
  align-items: center;
  min-height: 29px;
  padding: 0 8px !important;
  border-radius: 8px;
  background: var(--kc-accent-soft);
}

.catalog_block.kvent-product-cards .cost .price.discount,
.catalog_block.kvent-product-cards .cost .price.discount span {
  color: #98a1ad;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
}

/* Quantity and cart controls. */
.catalog_block.kvent-product-cards .footer_button {
  display: block;
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  margin: auto 0 0 !important;
  padding: 0;
  opacity: 1;
  visibility: visible;
  border: 0;
  border-top: 1px solid var(--kc-line);
  border-radius: 0 0 var(--kc-radius) var(--kc-radius);
  box-shadow: none !important;
  transform: none !important;
}

.catalog_block.kvent-product-cards .footer_button .counter_wrapp {
  display: flex !important;
  flex-wrap: nowrap;
  width: 100%;
  height: auto !important;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
}

.catalog_block.kvent-product-cards .footer_button .counter_wrapp > .counter_block_inner {
  display: block;
  flex: 0 0 46% !important;
  width: 46% !important;
  min-width: 0 !important;
  height: 54px;
  margin: 0;
  padding: 0;
}

.catalog_block.kvent-product-cards .footer_button .counter_block {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  flex: 0 0 46% !important;
  position: relative !important;
  width: 46% !important;
  height: 54px;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0 0 0 var(--kc-radius);
  background: #fff;
}

.catalog_block.kvent-product-cards .footer_button .counter_block_inner > .counter_block {
  flex: 0 0 100% !important;
  width: 100% !important;
}

.catalog_block.kvent-product-cards .counter_block > span,
.catalog_block.kvent-product-cards .counter_block input {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 54px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  background: transparent;
  color: var(--kc-text);
  font-size: 12px;
  line-height: 54px;
  text-align: center;
  box-sizing: border-box;
}

.catalog_block.kvent-product-cards .footer_button .counter_block_inner[style*="display: none"],
.catalog_block.kvent-product-cards .footer_button .counter_block_inner[style*="display:none"],
.catalog_block.kvent-product-cards .footer_button .counter_block[style*="display: none"],
.catalog_block.kvent-product-cards .footer_button .counter_block[style*="display:none"] {
  display: none !important;
}

.catalog_block.kvent-product-cards .counter_block > span {
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.catalog_block.kvent-product-cards .counter_block > span:hover {
  background: var(--kc-accent-soft);
  color: var(--kc-accent);
}

.catalog_block.kvent-product-cards .counter_block > span .svg {
  position: static !important;
  inset: auto !important;
  margin: 0 !important;
}

.catalog_block.kvent-product-cards .footer_button .button_block {
  display: block;
  flex: 1 1 54% !important;
  width: 54% !important;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.catalog_block.kvent-product-cards .footer_button .button_block .btn {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 54px;
  min-height: 54px;
  margin: 0;
  padding: 0 12px !important;
  border: 0;
  border-radius: 0 0 var(--kc-radius) 0;
  background: var(--kc-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px !important;
  letter-spacing: 0.025em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap !important;
  transition: background 0.18s ease;
}

.catalog_block.kvent-product-cards .footer_button .button_block .btn:hover {
  background: var(--kc-accent-dark);
}

.catalog_block.kvent-product-cards .footer_button .button_block .btn > span:not(.ripple) {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  font: inherit;
  line-height: 16px !important;
  white-space: nowrap !important;
  transform: none !important;
}

.catalog_block.kvent-product-cards .button_block .btn > .svg {
  display: none !important;
}

.catalog_block.kvent-product-cards .button_block .in-cart {
  background: #ff8a00;
}

.catalog_block.kvent-product-cards .button_block .in-cart:hover {
  background: #ed7a00;
}

.catalog_block.kvent-product-cards .footer_button .button_block .btn[style*="display: none"],
.catalog_block.kvent-product-cards .footer_button .button_block .btn[style*="display:none"] {
  display: none !important;
}

.catalog_block.kvent-product-cards .footer_button .counter_wrapp:has(.in-cart:not([style*="display:none"]):not([style*="display: none"])) .counter_block,
.catalog_block.kvent-product-cards .footer_button .counter_wrapp:has(.in-cart:not([style*="display:none"]):not([style*="display: none"])) .counter_block_inner {
  display: none !important;
}

.catalog_block.kvent-product-cards .footer_button .counter_wrapp:has(.in-cart:not([style*="display:none"]):not([style*="display: none"])) .button_block {
  flex: 0 0 100% !important;
  width: 100% !important;
}

.catalog_block.kvent-product-cards .footer_button .counter_wrapp:has(.in-cart:not([style*="display:none"]):not([style*="display: none"])) .button_block .in-cart {
  display: flex !important;
  width: 100% !important;
  border-radius: 0 0 var(--kc-radius) var(--kc-radius);
  background: #ff8a00;
}

.catalog_block.kvent-product-cards .footer_button .counter_wrapp:has(.in-cart:not([style*="display:none"]):not([style*="display: none"])) .button_block .in-cart:hover {
  background: #ed7a00;
}

.catalog_block.kvent-product-cards .counter_wrapp > .total_summ {
  display: none !important;
}

.catalog_block.kvent-product-cards .kvent-cart-summary {
  display: block !important;
  order: -1;
  flex: 0 0 100%;
  width: 100%;
  min-height: 39px;
  margin: 0;
  padding: 9px 16px;
  border-bottom: 1px solid var(--kc-line);
  background: #f3f9fd;
  color: var(--kc-muted);
  font-size: 12px;
  line-height: 20px;
  text-align: left;
}

.catalog_block.kvent-product-cards .kvent-cart-summary[hidden] {
  display: none !important;
}

.catalog_block.kvent-product-cards .footer_button .counter_wrapp:has(.kvent-cart-summary:not([hidden])) {
  flex-wrap: wrap;
}

.catalog_block.kvent-product-cards .kvent-cart-summary strong {
  color: var(--kc-ink);
  font-size: 13px;
  font-weight: 700;
}


/* Shared responsive card rules. */
@media (max-width: 991px) {
.catalog_block.kvent-product-cards .catalog_item > .inner_wrap,
.catalog_block.kvent-product-cards .catalog_item:hover > .inner_wrap {
    min-height: 470px;
  }
}
@media (max-width: 991px) {
.catalog_block.kvent-product-cards .image_wrapper_block {
    flex-basis: 205px;
    height: 205px;
    min-height: 205px;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .catalog_item {
    --kc-radius: 14px;
    box-shadow: 0 5px 18px rgba(24, 54, 89, 0.07);
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .catalog_item > .inner_wrap,
.catalog_block.kvent-product-cards .catalog_item:hover > .inner_wrap {
    height: 100% !important;
    min-height: 0 !important;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .image_wrapper_block {
    flex-basis: 152px;
    height: 152px;
    min-height: 152px;
    padding: 13px 10px 7px !important;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .image_wrapper_block .like_icons {
    top: 8px;
    right: 8px;
    gap: 4px;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .like_icons .item-action > span {
    width: 28px;
    height: 28px;
    border-radius: 9px;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .stickers {
    top: 8px;
    left: 8px;
    max-width: calc(100% - 72px);
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .stickers > div {
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 9px;
    line-height: 14px;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .item_info {
    padding: 0 10px 10px !important;
    justify-content: flex-start !important;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .rating {
    min-height: 16px;
    margin-bottom: 6px;
    line-height: 16px;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .item-rating svg {
    width: 11px;
    height: 11px;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .rating .with-text,
.catalog_block.kvent-product-cards .rating .font_sxs {
    font-size: 9px !important;
    line-height: 16px !important;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .item-title {
    min-height: 0;
    max-height: 51px;
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 17px;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .sa_block {
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: center;
    gap: 4px 8px;
    min-height: 24px;
    margin: 0 0 8px;
    font-size: 10px;
    line-height: 16px;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .sa_block .item-stock {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start;
    width: auto;
    height: 24px;
    min-height: 24px;
    max-width: 100%;
    padding: 0 8px;
    border-radius: 999px;
    background: #eef9f2;
    color: #1e7d49;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .sa_block .article_block {
    display: inline-flex !important;
    align-items: center;
    min-height: 16px;
    padding-left: 0;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .sa_block .item-stock,
.catalog_block.kvent-product-cards .sa_block .article_block,
.catalog_block.kvent-product-cards .sa_block .item-stock .value,
.catalog_block.kvent-product-cards .sa_block .item-stock .store_view,
.catalog_block.kvent-product-cards .sa_block .article_block .muted {
    font-size: 10px !important;
    line-height: 16px !important;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .item-stock .icon {
    flex-basis: 6px;
    width: 6px;
    height: 6px;
    margin: 0 5px 0 0 !important;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .cost {
    min-height: 25px;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .cost:has(.sale_block) {
    min-height: 55px;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .cost .sale_block {
    margin-bottom: 5px !important;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .cost .sale-number,
.catalog_block.kvent-product-cards .cost .sale-number > .value,
.catalog_block.kvent-product-cards .cost .inner-sale {
    height: 21px !important;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .cost .sale-number > .value,
.catalog_block.kvent-product-cards .cost .inner-sale {
    padding-right: 6px !important;
    padding-left: 6px !important;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .cost .sale-number > .value,
.catalog_block.kvent-product-cards .cost .inner-sale .text,
.catalog_block.kvent-product-cards .cost .inner-sale .values_wrapper,
.catalog_block.kvent-product-cards .cost .inner-sale .price_value,
.catalog_block.kvent-product-cards .cost .inner-sale .price_currency {
    font-size: 9px !important;
    line-height: 21px !important;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .cost .prices-wrapper {
    align-items: center;
    justify-content: flex-start;
    gap: 4px 6px;
    width: 100%;
    min-height: 25px;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .cost .prices-wrapper .price:not(.discount) {
    flex: 0 0 auto !important;
    flex-grow: 0 !important;
    align-self: flex-start !important;
    width: auto !important;
    max-width: max-content;
    min-height: 25px;
    padding: 0 7px !important;
    border-radius: 7px;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .cost .price_matrix_wrapper > .price:not(.discount) {
    display: inline-flex !important;
    align-items: center;
    align-self: flex-start !important;
    flex: 0 0 auto !important;
    flex-grow: 0 !important;
    width: auto !important;
    max-width: max-content !important;
    min-height: 25px;
    padding: 0 7px !important;
    border-radius: 7px;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .cost .price:not(.discount),
.catalog_block.kvent-product-cards .cost .price:not(.discount) span {
    font-size: 16px !important;
    line-height: 25px !important;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .cost .price .values_wrapper {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .cost .price.discount,
.catalog_block.kvent-product-cards .cost .price.discount span {
    font-size: 11px;
    line-height: 20px;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .footer_button .button_block .btn {
    height: 46px !important;
    min-height: 46px;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .footer_button .counter_block,
.catalog_block.kvent-product-cards .footer_button .counter_block_inner {
    display: none !important;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .footer_button .button_block {
    flex: 0 0 100% !important;
    width: 100% !important;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .footer_button {
    margin: auto 0 0 !important;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .footer_button .counter_wrapp {
    display: block !important;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .footer_button .button_block .btn {
    border-radius: 0 0 var(--kc-radius) var(--kc-radius) !important;
  }
}
@media (max-width: 599px) {
.catalog_block.kvent-product-cards .footer_button .button_block .btn {
    padding: 0 5px !important;
    font-size: 10px;
    letter-spacing: 0;
  }
}
@media (max-width: 380px) {
.catalog_block.kvent-product-cards .image_wrapper_block {
    flex-basis: 126px;
    height: 126px;
    min-height: 126px;
    padding: 10px 8px 5px !important;
  }
}
@media (max-width: 380px) {
.catalog_block.kvent-product-cards .item_info {
    padding: 0 8px 9px !important;
  }
}
@media (max-width: 380px) {
.catalog_block.kvent-product-cards .item-title {
    font-size: 11px;
    line-height: 16px;
  }
}
@media (max-width: 599px) {
  #right_block_ajax .catalog_block.kvent-product-cards .item-title {
    --kc-mobile-title-line: 21px;
    display: block;
    height: calc(3 * var(--kc-mobile-title-line)) !important;
    min-height: calc(3 * var(--kc-mobile-title-line));
    max-height: calc(3 * var(--kc-mobile-title-line));
    overflow: hidden;
    -webkit-line-clamp: unset;
    overflow-wrap: anywhere;
  }

  #right_block_ajax .catalog_block.kvent-product-cards .item-title > a {
    display: -webkit-box !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(3 * var(--kc-mobile-title-line)) !important;
    overflow: hidden !important;
    font-size: inherit !important;
    line-height: var(--kc-mobile-title-line) !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
  }

  #right_block_ajax .catalog_block.kvent-product-cards .item-title > a span {
    font-size: inherit !important;
    line-height: inherit !important;
  }
}
@media (max-width: 380px) {
  #right_block_ajax .catalog_block.kvent-product-cards .item-title {
    --kc-mobile-title-line: 16px;
  }
}
@media (max-width: 380px) {
.catalog_block.kvent-product-cards .footer_button .button_block .btn {
    font-size: 9px;
  }
}
@media (min-width: 600px) and (max-width: 991px) {
.catalog_block.kvent-product-cards .catalog_item > .inner_wrap,
.catalog_block.kvent-product-cards .catalog_item:hover > .inner_wrap {
    min-height: 0;
  }
}
@media (min-width: 600px) and (max-width: 991px) {
.catalog_block.kvent-product-cards .item-title {
    min-height: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
.catalog_block.kvent-product-cards .catalog_item,
.catalog_block.kvent-product-cards .footer_button .button_block .btn {
    transition: none;
  }
}
