.hc-crosssale-autofeed {
  display: block !important;
  margin: 18px 0 22px;
  padding: 16px;
  border: 1px solid #d8e2ee;
  border-radius: 18px;
  background: linear-gradient(#ffffff 0%, #f3f7fb 100%);
  box-shadow: 0 10px 24px rgba(20, 46, 82, 0.05);
  font-family: "new_font", sans-serif;
}

.hc-crosssale-autofeed__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.hc-crosssale-autofeed__title {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 400;
  color: #16385c;
}

.hc-crosssale-autofeed__subtitle {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #6a7b8d;
}

.hc-crosssale-autofeed__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hc-crosssale-autofeed__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px;
  border: 1px solid #d7e2ee;
  border-radius: 16px;
  background: linear-gradient(#ffffff 50%, #edf4fb 100%);
  box-shadow: 0 8px 20px rgba(22, 52, 92, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.hc-crosssale-autofeed__card:hover {
  transform: translateY(-3px);
  border-color: #bfd1e4;
  box-shadow: 0 14px 28px rgba(22, 52, 92, 0.09);
}

.hc-crosssale-autofeed__imageWrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-decoration: none;
}

.hc-crosssale-autofeed__image {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: contain;
  border-radius: 12px;
  background: transparent;
}

.hc-crosssale-autofeed__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 8px 2px 0;
}

.hc-crosssale-autofeed__name {
  display: -webkit-box;
  min-height: 38px;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
  color: #16385c;
  text-decoration: none;
  -webkit-box-orient: vertical;
}

.hc-crosssale-autofeed__name:hover {
  color: #225097;
  text-decoration: none;
}

.hc-crosssale-autofeed__price {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 700;
  color: #16385c;
}

.hc-crosssale-autofeed__stock {
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  color: #609933;
}

.hc-crosssale-autofeed__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin-top: 6px;
  padding: 0 14px;
  border-radius: 10px;
  background: linear-gradient(90deg, #123966, #2b64a8);
  box-shadow: 0 8px 16px rgba(28, 74, 129, 0.14);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.hc-crosssale-autofeed__btn:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(28, 74, 129, 0.2);
}

.hc-crosssale-debug {
  display: none;
}

@media (max-width: 1199px) {
  .hc-crosssale-autofeed__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .hc-crosssale-autofeed {
    padding: 12px;
    border-radius: 16px;
  }

  .hc-crosssale-autofeed__title {
    font-size: 22px;
  }

  .hc-crosssale-autofeed__subtitle {
    font-size: 12px;
  }

  .hc-crosssale-autofeed__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hc-crosssale-autofeed__image {
    height: 170px;
  }
}
.hc-crosssale-native.hc-crosssale-compact {
  display: block !important;
  margin: 14px 0 0;
  padding: 12px;
  border: 1px solid #d8e2ee;
  border-radius: 16px;
  background: linear-gradient(#ffffff 0%, #f4f8fc 100%);
  box-shadow: 0 10px 24px rgba(20, 46, 82, 0.05);
  font-family: "new_font", sans-serif;
}

.hc-crosssale-native.hc-crosssale-compact .products-related-header {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 400;
  color: #16385c;
  text-align: left;
}

.hc-crosssale-native.hc-crosssale-compact .hc-crosssale-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.hc-crosssale-native.hc-crosssale-compact .hc-crosssale-native__item {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hc-crosssale-native.hc-crosssale-compact .hc-crosssale-native__item .p {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 8px;
  border: 1px solid #d7e2ee;
  border-radius: 14px;
  background: linear-gradient(#ffffff 50%, #edf4fb 100%);
  box-shadow: 0 8px 20px rgba(22, 52, 92, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.hc-crosssale-native.hc-crosssale-compact .hc-crosssale-native__item .p:hover {
  transform: translateY(-2px);
  border-color: #bfd1e4;
  box-shadow: 0 12px 24px rgba(22, 52, 92, 0.08);
}

.hc-crosssale-native.hc-crosssale-compact .image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  text-decoration: none;
}

.hc-crosssale-native.hc-crosssale-compact .image img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin: 0;
}

.hc-crosssale-native.hc-crosssale-compact .flags,
.hc-crosssale-native.hc-crosssale-compact .stars-wrapper,
.hc-crosssale-native.hc-crosssale-compact .ratings-wrapper {
  display: none !important;
}

.hc-crosssale-native.hc-crosssale-compact .p-in {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 6px 0 0;
}

.hc-crosssale-native.hc-crosssale-compact .p-in-in {
  margin: 0 0 6px;
}

.hc-crosssale-native.hc-crosssale-compact .name {
  display: block;
  min-height: 34px;
  color: #16385c;
  text-decoration: none;
}

.hc-crosssale-native.hc-crosssale-compact .name span {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 400;
  -webkit-box-orient: vertical;
}

.hc-crosssale-native.hc-crosssale-compact .name:hover,
.hc-crosssale-native.hc-crosssale-compact .name:hover span {
  color: #225097;
  text-decoration: none;
}

.hc-crosssale-native.hc-crosssale-compact .p-bottom {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.hc-crosssale-native.hc-crosssale-compact .p-bottom > div {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.hc-crosssale-native.hc-crosssale-compact .prices {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 6px;
}

.hc-crosssale-native.hc-crosssale-compact .price-additional {
  order: 2;
  font-size: 10px;
  line-height: 1.2;
  color: #7b8a9a;
}

.hc-crosssale-native.hc-crosssale-compact .price.price-final {
  order: 1;
  margin: 0;
  font-size: 0;
  line-height: 1;
}

.hc-crosssale-native.hc-crosssale-compact .price.price-final strong {
  font-size: 19px;
  line-height: 1.05;
  font-weight: 700;
  color: #16385c;
}

.hc-crosssale-native.hc-crosssale-compact .availability {
  order: 3;
  margin: 0;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
}

.hc-crosssale-native.hc-crosssale-compact .availability .show-tooltip {
  color: inherit !important;
}

.hc-crosssale-native.hc-crosssale-compact .p-tools {
  margin-top: auto;
}

.hc-crosssale-native.hc-crosssale-compact .p-tools .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, #123966, #2b64a8);
  box-shadow: 0 8px 16px rgba(28, 74, 129, 0.14);
  color: #fff !important;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 10px;
  line-height: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.hc-crosssale-native.hc-crosssale-compact .p-tools .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(28, 74, 129, 0.2);
}

.hc-crosssale-native.hc-crosssale-compact .p-desc {
  display: -webkit-box;
  overflow: hidden;
  min-height: 32px;
  margin: 7px 0 0;
  font-size: 10px;
  line-height: 1.35;
  color: #6a7b8d;
  -webkit-box-orient: vertical;
}

.hc-crosssale-debug {
  display: none;
}

@media (max-width: 1199px) {
  .hc-crosssale-native.hc-crosssale-compact .hc-crosssale-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .hc-crosssale-native.hc-crosssale-compact {
    padding: 10px;
    border-radius: 14px;
  }

  .hc-crosssale-native.hc-crosssale-compact .products-related-header {
    font-size: 18px;
  }

  .hc-crosssale-native.hc-crosssale-compact .hc-crosssale-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hc-crosssale-native.hc-crosssale-compact .image img {
    height: 110px;
  }
}