.product-item .picture,
.category-item .picture,
.item-box .picture {
  position: relative;
}

.cb-badge-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.cb-badge {
  position: absolute;
  pointer-events: none;
  line-height: 1.1;
}

.cb-badge--text {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  max-width: 85%;
  word-break: break-word;
}

.cb-badge--image img {
  display: block;
  max-width: 72px;
  width: auto;
  height: auto;
}

.cb-pos-tl { top: 8px; left: 8px; }
.cb-pos-tr { top: 8px; right: 8px; }
.cb-pos-bl { bottom: 8px; left: 8px; }
.cb-pos-br { bottom: 8px; right: 8px; }

.cb-badge-layer--category .cb-badge--text {
  font-size: 10px;
}

/* Product image hover zoom */
.product-item .picture,
.item-box .picture {
  overflow: hidden;
}

.product-item .picture img,
.product-item .picture .swiper-slide img,
.item-box .product-item .picture img {
  transition: transform 0.2s ease;
}

.product-item:hover .picture img,
.product-item:hover .picture .swiper-slide img {
  transform: scale(1.03);
}

/* Category image hover zoom */
.category-item .picture,
.home-page-category-grid .category-item .picture {
  overflow: hidden;
}

.category-item .picture img {
  transition: transform 0.2s ease;
}

.category-item:hover .picture img {
  transform: scale(1.03);
}

/* Add to cart button hover */
.product-item .product-box-add-to-cart-button,
.item-box .product-box-add-to-cart-button {
  transition: transform 0.2s ease;
}

.product-item:hover .product-box-add-to-cart-button,
.item-box:hover .product-box-add-to-cart-button {
  transform: scale(1.05);
}
