/* Category design v2 — preview via ?design=1 */
.home-product-cards {
  --cat-v2-cyan: #00b3cf;
  --cat-v2-cyan-soft: #e2f6fa;
  --cat-v2-cyan-border: #b8e6ef;
  --cat-v2-cyan-text: #0a6d7e;
  --cat-v2-border: #e6e8ea;
  --cat-v2-text: #23262b;
  --cat-v2-muted: #5a6068;
  --cat-v2-green-bg: #eaf7ef;
  --cat-v2-green: #2f8a4e;
  --cat-v2-radius: 16px;
  --cat-v2-radius-sm: 10px;
  color: var(--cat-v2-text);
}

.home-product-cards .product-thumb,
.home-product-cards .product-list .product-thumb,
.home-product-cards .product-grid .product-thumb {
  background: #fff !important;
  border: 1px solid var(--cat-v2-border) !important;
  border-radius: var(--cat-v2-radius) !important;
  box-shadow: none !important;
  padding: 12px !important;
  margin: 0 !important;
  overflow: hidden !important;
  height: 100%;
  min-height: 0 !important;
  max-width: none !important;
  width: 100% !important;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
@media (hover: hover) and (min-width: 992px) {
  .home-product-cards .product-thumb:hover,
  .home-product-cards .product-list .product-thumb:hover,
  .home-product-cards .product-grid .product-thumb:hover {
    border-color: rgb(0, 179, 207) !important;
    box-shadow: oklch(0.2 0.02 250 / 0.3) 0px 16px 30px -20px !important;
  }
}
.home-product-cards .product-thumb > div {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.home-product-cards .product-thumb .image,
.home-product-cards .product-list .product-thumb .image,
.home-product-cards .product-grid .product-thumb .image {
  position: relative !important;
  float: none !important;
  background: transparent !important;
  border-radius: 10px;
  margin: 0 0 12px !important;
  padding: 0 !important;
  min-height: 0;
  max-width: 100% !important;
  width: 100% !important;
  display: block !important;
  overflow: hidden;
  text-align: center;
}
.home-product-cards .product-thumb .image > a:not(.cat-v2-play) {
  display: block;
  width: 100%;
}
.home-product-cards .product-thumb .image img {
  aspect-ratio: 963 / 642;
  height: auto;
  max-height: none;
  width: 100% !important;
  max-width: 100%;
  margin: 0 auto !important;
  object-fit: cover;
  filter: none !important;
  background: transparent !important;
}
.home-product-cards #knopssnar {
  display: none !important;
}
.home-product-cards .product-thumb .caption,
.home-product-cards .product-list .product-thumb .caption,
.home-product-cards .product-grid .product-thumb .caption {
  margin: 0 !important;
  margin-left: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: 100% !important;
  min-height: 0 !important;
}
.home-product-cards #statnal {
  position: absolute !important;
  left: 12px !important;
  top: 12px !important;
  right: auto !important;
  z-index: 2;
  display: block !important;
  float: none !important;
}
.home-product-cards .product-thumb > div > .caption > #statnal {
  /* design_v2: badge lives in caption, overlay image on desktop */
  position: absolute !important;
  left: 12px !important;
  top: 12px !important;
}
.home-product-cards #statnal1,
.home-product-cards #statnal2,
.home-product-cards #statnal3,
.home-product-cards #statnal4,
.home-product-cards #statnal5,
.home-product-cards #statnal6,
.home-product-cards #statnal7,
.home-product-cards #statnal8,
.home-product-cards #statnal9,
.home-product-cards #statnal10 {
  float: none !important;
  display: inline-block !important;
  margin: 0 0 4px 0 !important;
  border-radius: 100px !important;
  padding: 5px 10px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  line-height: 1.2 !important;
  overflow: visible !important;
}
.home-product-cards #statnal1 {
  background: var(--cat-v2-green-bg) !important;
  color: var(--cat-v2-green) !important;
}
.home-product-cards #statnal2 {
  background: #fdecea !important;
  color: #c62828 !important;
}
.home-product-cards #statnal3,
.home-product-cards #statnal4,
.home-product-cards #statnal6 {
  background: #fff3e0 !important;
  color: #e65100 !important;
}
.home-product-cards #statnal5 {
  background: #e3f2fd !important;
  color: #1565c0 !important;
}
.home-product-cards #statnal7 {
  background: #fdecea !important;
  color: #c62828 !important;
}
.home-product-cards #statnal8 {
  background: #fce4ec !important;
  color: #c2185b !important;
}
.home-product-cards #statnal9 {
  background: #fff8e1 !important;
  color: #b8860b !important;
}
.home-product-cards #statnal10 {
  background: #f3e5f5 !important;
  color: #7b1fa2 !important;
}
.home-product-cards .cat-v2-discount {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: var(--cat-v2-cyan);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  padding: 4px 8px;
}
.home-product-cards .cat-v2-play,
.home-product-cards .product-thumb .image a.cat-v2-play {
  position: absolute !important;
  right: 12px !important;
  bottom: 12px !important;
  left: auto !important;
  top: auto !important;
  z-index: 3;
  width: 40px !important;
  height: 28px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  border-radius: 7px;
  background: #ff0000 !important;
  color: #fff !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(20, 30, 50, 0.3);
}
.home-product-cards .cat-v2-play i {
  margin-left: 2px;
  font-size: 13px;
}
.home-product-cards #nazgl {
  margin: 0 0 6px;
}
.home-product-cards #nazgl h4 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  min-height: 0 !important;
}
.home-product-cards #nazgl h4 a {
  color: var(--cat-v2-text);
}
.home-product-cards #artnazgl {
  display: none !important;
}
.home-product-cards .vraotzvid {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}
.home-product-cards .vraotzvid li {
  display: inline-block;
  vertical-align: middle;
}
.home-product-cards .rating {
  padding-bottom: 0 !important;
}
.home-product-cards .rating .fa-star {
  color: #f5c518 !important;
}
.home-product-cards .rating .fa-stack {
  width: 1em;
  height: 1em;
  line-height: 1em;
  margin-right: 3px;
}
.home-product-cards #znratingk,
.home-product-cards .cat-v2-reviews {
  color: var(--cat-v2-muted);
  font-size: 13px;
  margin-left: 4px;
}
.home-product-cards #videocat {
  display: none !important;
}
.home-product-cards .price,
.home-product-cards .product-thumb .price {
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: var(--cat-v2-text) !important;
  font-size: 22px;
  font-weight: 700;
}
.home-product-cards .price .price-new {
  color: var(--cat-v2-text) !important;
  font-size: 22px;
  font-weight: 700;
  margin-right: 8px;
}
.home-product-cards .price .price-old {
  color: var(--cat-v2-muted) !important;
  font-size: 14px;
  font-weight: 400;
  text-decoration: line-through;
}
.home-product-cards #dveknsup {
  margin: auto 0 0 !important;
  padding: 0 !important;
  width: 100%;
}
.home-product-cards #dveknsup1 {
  display: flex !important;
  gap: 8px;
  align-items: stretch;
  width: 100%;
}
.home-product-cards #dveknsup1 button {
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  line-height: 10px;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--cat-v2-cyan) !important;
  color: #fff !important;
  padding: 0 !important;
  float: none !important;
}
.home-product-cards #dveknsup1 a.cat-v2-buy,
.home-product-cards #dveknsup1 a {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: auto !important;
  max-width: none !important;
  height: 46px !important;
  line-height: 1 !important;
  border-radius: var(--cat-v2-radius-sm) !important;
  background: var(--cat-v2-cyan-soft) !important;
  color: var(--cat-v2-cyan-text) !important;
  border: 1px solid var(--cat-v2-cyan-border) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  float: none !important;
}
.home-product-cards #dveknsup2 {
  display: none !important;
}


/* Keep the existing home carousel and equal card heights. */
.home-product-cards #carousel20 .owl-wrapper { display: flex !important; }
.home-product-cards #carousel20 .owl-item { flex-shrink: 0; float: none; }
.home-product-cards #carousel20 .item { padding: 6px 9px 18px; height: 100%; }
.home-product-cards #carousel20 .product-thumb { height: 100%; }
.home-product-cards .product-thumb .image { flex: 0 0 auto; }
.home-product-cards .product-thumb .image img { aspect-ratio: 3 / 2; object-fit: contain; }
.home-product-cards .product-thumb .caption { display: flex; flex-direction: column; flex: 1 1 auto; }
.home-product-cards .product-thumb .price { margin-top: auto !important; }
.home-product-cards #nazgl h4 { min-height: 41px !important; font-weight: 500; }
.home-product-cards #statnal { left: 0 !important; top: 0 !important; }
@media (max-width: 767px) {
  .home-product-cards #carousel20 .item { padding: 6px 5px 16px; }
}

.home-product-cards #statnal .cat-v2-black-friday { background:#000 !important; color:#ffdf00 !important; }
.home-product-cards .cat-v2-discount { background:#ff0000 !important; top:0; right:0; }
.home-product-cards #statnal { max-width:calc(100% - 65px); display:flex !important; flex-wrap:wrap; gap:4px; }
.home-product-cards #statnal > div { margin-bottom:0 !important; }

/* Compact home video button, matching category cards. */
.home-product-cards .cat-v2-play,
.home-product-cards .product-thumb .image a.cat-v2-play {
 right:1px !important; bottom:3px !important;
 width:25px !important; min-width:25px !important; max-width:25px !important;
 height:17px !important; border-radius:4px; box-shadow:none;
}
.home-product-cards .cat-v2-play svg { width:10px; height:10px; }
