/* Smoke Factory: "Zakaznici k tomu casto kupuju aj" v kosiku */
.cx-xsell {
  clear: both;
  margin: 40px 0 8px;
  padding: 28px;
  background: #f3f6f4;
  border-radius: 18px;
  font-family: inherit;
  color: #292929;
}
.cx-xsell__head { margin-bottom: 18px; }
.cx-xsell__title { margin: 0; font-size: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; line-height: 1.25; color: #292929; }
.cx-xsell__subtitle { margin: 4px 0 0; color: #5c5c5c; font-size: 15px; }
.cx-xsell__swiper { overflow: hidden; position: relative; min-width: 0; margin: -10px -8px 0; padding: 10px 8px 16px; }
.cx-xsell__swiper .swiper-wrapper { display: flex; }
@media (min-width: 768px) {
  .cx-xsell__swiper .swiper-wrapper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; transform: none !important; }
  .cx-xsell__swiper .swiper-slide { width: auto !important; margin: 0 !important; }
  .cx-xsell__swiper .swiper-pagination { display: none; }
}
.cx-xsell__swiper .swiper-slide { height: auto; min-width: 0; box-sizing: border-box; }
.cx-xsell__swiper .swiper-pagination { position: static; margin-top: 14px; }
.cx-xsell__swiper .swiper-pagination-bullet { width: 8px; height: 8px; background: #b9c4be; opacity: 1; }
.cx-xsell__swiper .swiper-pagination-bullet-active { background: #00c346; width: 22px; border-radius: 999px; }
.cx-xsell__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e3e8e5;
  border-radius: 14px;
  padding: 14px;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.cx-xsell__card:hover { box-shadow: 0 12px 28px rgba(20, 40, 28, .10); transform: translateY(-2px); border-color: #00c346; }
.cx-xsell__media {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1; border-radius: 10px; background: #f7f9f8;
  overflow: hidden; margin-bottom: 12px;
}
.cx-xsell__media img { max-width: 88%; max-height: 88%; object-fit: contain; }
.cx-xsell__name {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 14px; font-weight: 600; line-height: 1.35; min-height: 3.9em;
  color: #292929 !important; text-decoration: none !important;
}
.cx-xsell__name:hover { color: #00843a !important; }
.cx-xsell__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.cx-xsell__price { font-size: 17px; font-weight: 700; color: #292929; white-space: nowrap; }
.cx-xsell__add {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 10px;
  background: #00c346; color: #fff !important;
  font-size: 13px; font-weight: 700; white-space: nowrap; text-decoration: none !important;
  transition: background-color .15s ease, transform .1s ease;
}
.cx-xsell__add svg { width: 15px; height: 15px; }
.cx-xsell__add:hover { background: #00843a; }
.cx-xsell__add:active { transform: scale(.97); }
@media (max-width: 767px) {
  .cx-xsell { padding: 18px 14px; border-radius: 14px; margin-top: 28px; }
  .cx-xsell__title { font-size: 17px; white-space: normal; text-overflow: clip; }
  .cx-xsell__swiper { margin: -10px -4px 0; padding: 10px 4px 16px; }
  .cx-xsell__card { padding: 12px; }
  .cx-xsell__name { min-height: 0; -webkit-line-clamp: 2; font-size: 14px; }
  .cx-xsell__foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .cx-xsell__price { text-align: left; }
  .cx-xsell__add { justify-content: center; width: 100%; box-sizing: border-box; }
}
