.wc-cps { position: relative; }

.wc-cps-swiper { overflow: hidden; }

.wc-cps-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.wc-cps-img {
  width: 100%;
  padding-top: 130%; /* razmerje slike (višina) */
  background-size: cover;
  background-position: center;
  transition: transform .4s ease;
}

.wc-cps-card:hover .wc-cps-img { transform: scale(1.03); }

.wc-cps-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%);
}

.wc-cps-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,.25);
}

.wc-cps-subtitle {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #e6ffe6;
  display: inline-block;
  background: #94509f;
  padding: 6px 10px;
  border-radius: 999px;
}

/* Navigacija */
.wc-cps-nav {
  position: absolute;
  top: 50%;
  width: 40px; height: 40px;
  margin-top: -20px;
  z-index: 5;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  cursor: pointer;
}
.wc-cps-prev { left: -8px; }
.wc-cps-next { right: -8px; }

.wc-cps-nav::after {
  content: '';
  display: block;
  width: 100%; height: 100%;
  mask-size: 60% 60%;
  mask-position: center;
  mask-repeat: no-repeat;
  background: #333;
}
.wc-cps-prev::after { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>'); }
.wc-cps-next::after { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z"/></svg>'); }

/* Responsivnost (Swiper bo poskrbel za slidesPerView, to je dodatno) */
@media (max-width: 1023px){
  .wc-cps-subtitle { font-size: 13px; }
  .wc-cps-title { font-size: 20px; }
}
@media (max-width: 640px){
  .wc-cps-subtitle { font-size: 12px; }
  .wc-cps-title { font-size: 18px; }
}
