body .fctel-product-catalog .product-list {
  container-type: inline-size;
}

body .fctel-product-catalog .product-list > ul {
  --card-gap: 16px;
  --card-width: calc((100% - 3 * var(--card-gap)) / 4);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: var(--card-gap);
  padding: 0;
}

body .fctel-product-catalog .product-list > ul > li {
  display: flex;
  flex: 0 0 var(--card-width);
  min-width: 0;
}

body .fctel-product-catalog .product-list .p-item {
  display: flex;
  width: 100%;
  min-width: 0;
}

body .fctel-product-catalog .product-list .fctel-product-card-link {
  width: 100%;
  box-sizing: border-box;
  border-color: #dce6ec;
  border-radius: 15px;
  background: #fff;
  color: #173547;
  box-shadow: 0 7px 18px rgb(27 52 73 / 8%);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body .fctel-product-catalog .product-list .imgshow {
  box-sizing: border-box;
  display: flex;
  width: auto;
  height: auto;
  margin: 7px 7px 0;
  padding: 12px 8px;
  aspect-ratio: 1.68 / 1;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(150deg, #fbfdfe 20%, #edf3f6);
}

body .fctel-product-catalog .product-list .imgshow img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

body .fctel-product-catalog .product-list .fctel-image-placeholder {
  font-size: clamp(15px, 3cqi, 24px);
}

body .fctel-product-catalog .product-list .fctel-card-corner {
  inset: 13px 13px auto auto;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid #e5eaf0;
  border-radius: 50%;
  background: #fff;
  color: #bd2431;
}

body .fctel-product-catalog .product-list .fctel-card-corner::after {
  position: static;
  color: inherit;
  content: "↗";
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
}

body .fctel-product-catalog .product-list .text {
  align-items: stretch;
  gap: 8px;
  min-height: 0;
  height: auto;
  padding: 12px 10px 13px;
  border: 0;
  text-align: center;
}

body .fctel-product-catalog .product-list .text h3 {
  display: block;
  min-height: 0;
  height: auto;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  color: #173547;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.36;
  text-wrap: balance;
  -webkit-line-clamp: unset;
}

body .fctel-product-catalog .product-list .fctel-product-model {
  align-self: center;
  display: block;
  width: fit-content;
  max-width: 100%;
  min-height: 0;
  margin: auto 0 0;
  padding: 4px 9px;
  border: 1px solid #e0ebf0;
  border-radius: 6px;
  background: #f2f7f9;
  color: #345064;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

body .fctel-product-catalog .product-list .fctel-product-model strong {
  color: #516579;
}

body .fctel-product-catalog .product-list .fctel-product-card-link:focus-visible {
  outline: 2px solid #b8222f;
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  body .fctel-product-catalog .product-list .fctel-product-card-link:hover {
    border-color: #d1a6ae;
    box-shadow: 0 12px 23px rgb(27 52 73 / 13%);
    transform: translateY(-2px);
  }

  body .fctel-product-catalog .product-list .fctel-product-card-link:hover .fctel-card-corner {
    border-color: #bd2431;
    background: #bd2431;
    color: #fff;
  }
}

@container (max-width: 815px) {
  body .fctel-product-catalog .product-list > ul {
    --card-width: calc((100% - 2 * var(--card-gap)) / 3);
  }
}

@container (max-width: 525px) {
  body .fctel-product-catalog .product-list > ul {
    --card-gap: 10px;
    --card-width: calc((100% - var(--card-gap)) / 2);
  }

  body .fctel-product-catalog .product-list .imgshow { margin: 5px 5px 0; }
  body .fctel-product-catalog .product-list .text { padding: 9px 7px 10px; }
  body .fctel-product-catalog .product-list .text h3 { font-size: 13px; }
  body .fctel-product-catalog .product-list .fctel-product-model { padding-inline: 6px; font-size: 10.5px; }
  body .fctel-product-catalog .product-list .fctel-card-corner { inset: 9px 9px auto auto; width: 23px; height: 23px; }
}

@container (max-width: 300px) {
  body .fctel-product-catalog .product-list > ul { --card-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  body .fctel-product-catalog .product-list .fctel-product-card-link,
  body .fctel-product-catalog .product-list .fctel-product-card-link:hover {
    transition: none;
    transform: none;
  }
}
