.cwc-wrap { position: relative; }

.cwc-wrap .cwc-swiper { overflow: hidden; }
.cwc-wrap .swiper-slide { height: auto; }

.cwc-wrap .cwc-card{
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.cwc-wrap.cwc-equalize .cwc-body{
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cwc-wrap.cwc-equalize .cwc-price{ margin-top: auto; }
.cwc-wrap.cwc-equalize .cwc-cart{ margin-top: 8px; }

.cwc-wrap .cwc-media{ position: relative; }

.cwc-wrap .cwc-image{
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--cwc-img-h, 240px);
  overflow: hidden;
  width: 100%;
}

.cwc-wrap .cwc-image img{
  width: 100%;
  height: 100%;
  object-fit: var(--cwc-fit, contain);
}

.cwc-wrap .cwc-badge{
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1;
  z-index: 3;
}

.cwc-wrap .cwc-wishlist--over{
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cwc-wrap .cwc-body{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
}

.cwc-wrap .cwc-title{
  text-decoration: none;
  display: block;
}

.cwc-wrap .cwc-cart .cwc-btn{
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
}

.cwc-wrap .cwc-oos{
  display: block;
  width: 100%;
  text-align: center;
  opacity: 0.75;
  padding: 10px 12px;
  border: 1px dashed rgba(0,0,0,0.25);
  border-radius: 8px;
}

.cwc-wrap .cwc-nav{
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  display: block;
}
.cwc-wrap .cwc-prev{ left: -10px; }
.cwc-wrap .cwc-next{ right: -10px; }

.cwc-wrap .cwc-nav::after{
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(135deg);
}
.cwc-wrap .cwc-next::after{
  transform: translate(-50%, -50%) rotate(-45deg);
}
