.op {
  padding: 0px;
  margin: 0px;
}
.op li {
  display: inline-block;
  cursor: pointer;
  list-style: none;
}
.cp .color li {
  border: 1px solid #dddddd;
  height: 100%;
  line-height: 10px !important;
}
.cp .color li {
  position: relative;
}
.cp .color li.active {
  border: 1px solid #999999;
}
.cp .color li.active::after {
  content: '✓';
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 16px;
  height: 16px;
  font-size: 11px;
  font-weight: bold;
  color: #fff;
  line-height: 16px;
  text-align: center;
  background: #4caf50;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.5);
  pointer-events: none;
}
.cp .size {
  padding-bottom: 3px;
}
.cp .size li {
  background: #ffffff;
  min-width: 30px;
  padding: 0px 5px;
  text-align: center;
  border: 1px solid #dddddd;
  line-height: 29px;
  display: inline-block;
  font-size: 14px;
  color: #222222;
  text-transform: uppercase;
  font-weight: bold;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  border-radius: 3px;
}
.cp .size li.active {
  border-color: #999999;
}

/* Delivery label в caption */
.caption .cp-name-price-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}
.caption .cp-name-col {
  flex: 0 0 60%;
  max-width: 60%;
}
.caption .cp-name-col .name {
  margin: 0 !important;
}
.caption .cp-name-col .name a {
  text-align: left !important;
}
.caption .cp-price-col {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.caption .cp-price-col .price {
  margin: 0 !important;
}
.caption .cp-caption-labels {
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: normal;
}
.caption .cp-caption-labels .product-label {
  position: static !important;
  pointer-events: auto;
  order: unset !important;
  display: inline-block;
}

/* Скриваме оригиналния label-30 върху снимката */
.product-labels .product-label-30 {
  display: none !important;
}

/* Еднаква височина на всички карти */
.product-grid .product-layout {
  display: flex;
}
.product-grid .product-thumb {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.product-grid .product-thumb .caption {
  flex: 1;
}

/* Бутон ВИЖ ПОВЕЧЕ – винаги видим, закачен към дъното */
.cp-view-more {
  margin-top: auto;
  padding-top: 8px;
}
.cp-view-more .btn-cart {
  display: block !important;
  width: 100%;
  text-align: center;
}
.cp-view-more .btn-cart::before,
.cp-view-more .btn-cart::after {
  display: none !important;
}

/* Категорийна страница */
.cp-category-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin: 5px 0 4px;
  position: relative;
  z-index: 10;
  pointer-events: auto !important;
}
.cp-category-swatches img {
  width: 20px;
  height: 20px;
  cursor: pointer !important;
  border: 1px solid #ddd;
  opacity: 0.85;
  transition: opacity .15s, border-color .15s, transform .15s;
  position: relative;
  z-index: 10;
  pointer-events: auto !important;
}
.cp-category-swatches img:hover {
  opacity: 1;
  border-color: #999;
  transform: scale(1.15);
}

/* Мобилен изглед на продуктовата карта */
@media (max-width: 767px) {
  .caption .cp-name-price-row {
    flex-wrap: wrap;
    gap: 2px 0;
  }
  .caption .cp-name-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .caption .cp-price-col {
    flex: 0 0 100%;
    max-width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .caption .cp-price-col .price {
    margin: 0 !important;
  }
  .caption .cp-price-col .price > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
  }
}