/* Compact product card — catalog, Elementor blocks, related, recently viewed */

.woocommerce ul.products,
.pxl-product-grid ul.products,
.pxl-product-carousel ul.products {
  margin-left: -8px;
  margin-right: -8px;
}

.woocommerce ul.products > .product,
.pxl-grid.pxl-product-grid .grid-item,
.pxl-product-carousel .swiper-slide {
  padding-left: 8px;
  padding-right: 8px;
}

.woocommerce ul.products > .product {
  padding-top: 10px;
  padding-bottom: 10px;
}

.pxl-shop-item-wrap {
  padding: 8px;
  border-radius: 12px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pxl-shop-item-wrap:hover {
  box-shadow: 0 8px 22px rgba(14, 8, 30, 0.08);
}

/* Image */
.pxl-shop-item-wrap .pxl-products-thumb .image-wrap {
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  background: #f7f5fb;
  border-radius: 10px;
  overflow: hidden;
}

.pxl-shop-item-wrap .pxl-products-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
}

.pxl-shop-item-wrap:has(.pxl-badge-oos) .pxl-products-thumb img {
  opacity: 0.72;
}

/* Badges */
.pxl-shop-item-wrap .pxl-product-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  pointer-events: none;
}

.pxl-shop-item-wrap .pxl-product-badges .pxl-featured,
.pxl-shop-item-wrap .pxl-product-badges .onsale,
.pxl-shop-item-wrap .pxl-product-badges .pxl-badge-oos {
  position: static;
  top: auto;
  right: auto;
  left: auto;
  transform: none;
  min-height: 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pxl-shop-item-wrap .pxl-product-badges .pxl-featured + .onsale,
.pxl-shop-item-wrap .pxl-featured + .onsale {
  top: auto;
}

.pxl-shop-item-wrap .pxl-product-badges .pxl-badge-oos {
  background: #eceaf2;
  color: #5c5470;
}

/* Title / rating / price */
.pxl-shop-item-wrap .pxl-products-content {
  padding: 10px 2px 2px;
}

.pxl-shop-item-wrap .pxl-products-content .pxl-products-content-inner {
  align-items: flex-start;
}

.pxl-shop-item-wrap .pxl-product-title,
.pxl-shop-item-wrap .pxl-product-title > a,
.pxl-shop-item-wrap .woocommerce-loop-product__link {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  color: var(--heading-color, #0e081e);
}

.pxl-shop-item-wrap .kwz-loop-packs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
  margin: 2px 0 8px;
}

.pxl-shop-item-wrap .kwz-loop-pack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--heading-color, #0e081e);
  text-decoration: none !important;
  line-height: 1;
  transition: transform 0.15s ease;
}

.pxl-shop-item-wrap .kwz-loop-pack:hover,
.pxl-shop-item-wrap .kwz-loop-pack:focus {
  border-color: transparent;
  color: inherit;
  transform: translateY(-1px);
}

/* Pack art shell (bags + cans) */
.pxl-shop-item-wrap .kwz-loop-pack__img {
  position: relative;
  display: block;
  width: 52px;
  height: 70px;
}

.pxl-shop-item-wrap .kwz-loop-pack__kg {
  position: absolute;
  left: 50%;
  top: 56%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 70%;
  color: #5c5470;
  font-family: var(--heading-font-family, inherit);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.pxl-shop-item-wrap .kwz-loop-pack__kg--sm {
  font-size: 10px;
  letter-spacing: -0.03em;
}

.pxl-shop-item-wrap .kwz-loop-pack__kg--md {
  font-size: 9px;
  letter-spacing: -0.04em;
}

.pxl-shop-item-wrap .kwz-loop-pack__kg--lg {
  font-size: 8px;
  letter-spacing: -0.05em;
}

.pxl-shop-item-wrap .kwz-loop-pack:hover .kwz-loop-pack__kg,
.pxl-shop-item-wrap .kwz-loop-pack:focus .kwz-loop-pack__kg {
  color: var(--primary-color, #7c58d3);
}

/* Dry bags — calculator PNG */

.pxl-shop-item-wrap .kwz-loop-pack--bag .kwz-loop-pack__bag-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.15s ease;
}

.pxl-shop-item-wrap .kwz-loop-pack--bag .kwz-loop-pack__bag-img--on {
  opacity: 0;
}

.pxl-shop-item-wrap .kwz-loop-pack--bag:hover .kwz-loop-pack__bag-img--on,
.pxl-shop-item-wrap .kwz-loop-pack--bag:focus .kwz-loop-pack__bag-img--on {
  opacity: 1;
}

.pxl-shop-item-wrap .kwz-loop-pack--bag:hover .kwz-loop-pack__bag-img--off,
.pxl-shop-item-wrap .kwz-loop-pack--bag:focus .kwz-loop-pack__bag-img--off {
  opacity: 0;
}

/* Wet cans — same footprint as bags, no chip chrome */
.pxl-shop-item-wrap .kwz-loop-pack--can .kwz-loop-pack__can-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.pxl-shop-item-wrap .kwz-loop-pack--can .kwz-loop-pack__can-lid {
  fill: #f0edf6;
  stroke: #9a93a8;
  stroke-width: 2.2;
}

.pxl-shop-item-wrap .kwz-loop-pack--can .kwz-loop-pack__can-body {
  fill: #f7f5fb;
  stroke: #9a93a8;
  stroke-width: 2.2;
  stroke-linejoin: round;
}

.pxl-shop-item-wrap .kwz-loop-pack--can .kwz-loop-pack__can-rim {
  fill: none;
  stroke: #9a93a8;
  stroke-width: 2.2;
}

.pxl-shop-item-wrap .kwz-loop-pack--can .kwz-loop-pack__can-label {
  fill: #fff;
  stroke: #c5bfd4;
  stroke-width: 1.6;
}

.pxl-shop-item-wrap .kwz-loop-pack--can:hover .kwz-loop-pack__can-lid,
.pxl-shop-item-wrap .kwz-loop-pack--can:focus .kwz-loop-pack__can-lid {
  fill: #efe8ff;
  stroke: var(--primary-color, #7c58d3);
}

.pxl-shop-item-wrap .kwz-loop-pack--can:hover .kwz-loop-pack__can-body,
.pxl-shop-item-wrap .kwz-loop-pack--can:focus .kwz-loop-pack__can-body {
  fill: #f3eefc;
  stroke: var(--primary-color, #7c58d3);
}

.pxl-shop-item-wrap .kwz-loop-pack--can:hover .kwz-loop-pack__can-rim,
.pxl-shop-item-wrap .kwz-loop-pack--can:focus .kwz-loop-pack__can-rim {
  stroke: var(--primary-color, #7c58d3);
}

.pxl-shop-item-wrap .kwz-loop-pack--can:hover .kwz-loop-pack__can-label,
.pxl-shop-item-wrap .kwz-loop-pack--can:focus .kwz-loop-pack__can-label {
  stroke: var(--primary-color, #7c58d3);
}

.pxl-shop-item-wrap .kwz-loop-pack--can .kwz-loop-pack__kg {
  top: 48%;
  max-width: 96%;
  font-size: 9px;
  letter-spacing: -0.04em;
}

.pxl-shop-item-wrap .kwz-loop-pack--more {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0 8px;
  border: 1px solid #e6e2ee;
  border-radius: 999px;
  background: #f7f5fb;
  color: var(--primary-color, #7c58d3);
  font-size: 12px;
  font-weight: 800;
}

.pxl-shop-item-wrap .kwz-loop-pack--more:hover,
.pxl-shop-item-wrap .kwz-loop-pack--more:focus {
  border-color: rgba(124, 88, 211, 0.45);
  background: #f3eefc;
}

@media (max-width: 767px) {
  .pxl-shop-item-wrap .kwz-loop-packs {
    gap: 6px;
  }

  .pxl-shop-item-wrap .kwz-loop-pack__img {
    width: 46px;
    height: 62px;
  }

  .pxl-shop-item-wrap .kwz-loop-pack__kg {
    font-size: 10px;
  }

  .pxl-shop-item-wrap .kwz-loop-pack__kg--sm {
    font-size: 9px;
  }

  .pxl-shop-item-wrap .kwz-loop-pack__kg--md {
    font-size: 8px;
  }

  .pxl-shop-item-wrap .kwz-loop-pack__kg--lg {
    font-size: 7px;
  }

  .pxl-shop-item-wrap .kwz-loop-pack--can .kwz-loop-pack__kg {
    font-size: 8px;
  }
}

.pxl-shop-item-wrap .pxl-product-title {
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.pxl-shop-item-wrap .kwz-product-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: 6px;
}

.pxl-shop-item-wrap .kwz-product-row .price {
  min-width: 0;
  flex: 1 1 auto;
}

.pxl-shop-item-wrap .kwz-product-row .kwz-product-go {
  margin-left: auto;
}

.pxl-shop-item-wrap .star-rating {
  width: 90px;
  height: 16px;
  font-size: 11px;
  line-height: 16px;
  margin: 0 0 4px;
}

.pxl-shop-item-wrap .price,
.pxl-shop-item-wrap .price ins,
.pxl-shop-item-wrap .price .woocommerce-Price-amount {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color, #7c58d3);
}

.pxl-shop-item-wrap .kwz-product-row .price,
.pxl-shop-item-wrap .kwz-product-row .price ins,
.pxl-shop-item-wrap .kwz-product-row .price .woocommerce-Price-amount {
  color: var(--heading-color, #0e081e);
}

.pxl-shop-item-wrap .price {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-start;
  gap: 6px;
  white-space: normal;
}

.pxl-shop-item-wrap .price ins {
  padding-left: 0;
  text-decoration: none;
}

.pxl-shop-item-wrap .price del,
.pxl-shop-item-wrap .price del .woocommerce-Price-amount {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: #a7a7a7;
  margin-left: 0;
  order: 0;
}

.pxl-shop-item-wrap .kwz-product-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color, #7c58d3);
  text-decoration: none;
}

.pxl-shop-item-wrap .kwz-product-go:hover {
  color: var(--additional01-color, #ff47a2);
}

.pxl-shop-item-wrap .kwz-product-go .pxl-icon {
  font-size: 12px;
}

/* Hover actions */
.pxl-shop-item-wrap .pxl-shop-woosmart-wrap {
  left: 50%;
  bottom: 8px;
  gap: 6px;
  transform: translateX(-50%);
}

.pxl-shop-item-wrap .pxl-shop-woosmart-wrap .pxl-add-to-cart {
  padding: 0;
}

.pxl-shop-item-wrap .pxl-products-thumb .add_to_cart_button,
.pxl-shop-item-wrap .pxl-products-thumb .button.product_type_grouped,
.pxl-shop-item-wrap .pxl-products-thumb .product_type_external,
.pxl-shop-item-wrap .pxl-products-thumb .added_to_cart,
.pxl-shop-item-wrap .pxl-products-thumb .kwz-qv-open,
.pxl-shop-item-wrap .pxl-shop-woosmart-wrap .woosw-btn,
.pxl-shop-item-wrap .pxl-shop-woosmart-wrap .woosq-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
}

.pxl-shop-item-wrap .pxl-products-thumb .kwz-qv-open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  cursor: pointer;
  color: #fff;
  background-color: var(--primary-color, #7c58d3);
  font-size: 0;
}

.pxl-shop-item-wrap .pxl-products-thumb .kwz-qv-open .pxl-icon {
  font-size: 15px;
}

.pxl-shop-item-wrap .pxl-products-thumb .kwz-qv-open:hover {
  background-color: var(--additional01-color, #ff47a2);
}

.pxl-shop-item-wrap .pxl-shop-woosmart-wrap .woosw-btn:before {
  font-size: 14px;
}

.pxl-shop-item-wrap .pxl-shop-woosmart-wrap .woosq-btn:before {
  font-size: 15px;
}

@media (hover: hover) and (pointer: fine) {
  .pxl-shop-item-wrap .pxl-products-thumb .add_to_cart_button,
  .pxl-shop-item-wrap .pxl-products-thumb .button.product_type_grouped,
  .pxl-shop-item-wrap .pxl-products-thumb .product_type_external,
  .pxl-shop-item-wrap .pxl-products-thumb .added_to_cart,
  .pxl-shop-item-wrap .pxl-products-thumb .kwz-qv-open,
  .pxl-shop-item-wrap .pxl-products-thumb .woosw-btn,
  .pxl-shop-item-wrap .pxl-products-thumb .woosq-btn,
  .pxl-shop-item-wrap .pxl-products-thumb button {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
  }

  .pxl-shop-item-wrap .pxl-products-thumb:hover .add_to_cart_button,
  .pxl-shop-item-wrap .pxl-products-thumb:hover .button.product_type_grouped,
  .pxl-shop-item-wrap .pxl-products-thumb:hover .product_type_external,
  .pxl-shop-item-wrap .pxl-products-thumb:hover .added_to_cart,
  .pxl-shop-item-wrap .pxl-products-thumb:hover .kwz-qv-open,
  .pxl-shop-item-wrap .pxl-products-thumb:hover .woosw-btn,
  .pxl-shop-item-wrap .pxl-products-thumb:hover .woosq-btn,
  .pxl-shop-item-wrap .pxl-products-thumb:hover button {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .pxl-shop-item-wrap .pxl-products-thumb .add_to_cart_button,
  .pxl-shop-item-wrap .pxl-products-thumb .button.product_type_grouped,
  .pxl-shop-item-wrap .pxl-products-thumb .product_type_external,
  .pxl-shop-item-wrap .pxl-products-thumb .added_to_cart,
  .pxl-shop-item-wrap .pxl-products-thumb .kwz-qv-open,
  .pxl-shop-item-wrap .pxl-products-thumb .woosw-btn,
  .pxl-shop-item-wrap .pxl-products-thumb .woosq-btn,
  .pxl-shop-item-wrap .pxl-products-thumb button {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}

/* Catalog list view */
.products.shop-view-list .pxl-shop-item-wrap {
  align-items: flex-start;
  padding: 12px 8px;
}

.products.shop-view-list .pxl-shop-item-wrap:hover {
  box-shadow: none;
}

@media (min-width: 576px) {
  .products.shop-view-list .pxl-products-thumb {
    width: 140px;
    max-width: 140px;
    flex: 0 0 140px;
    padding: 0 12px 0 0;
  }

  .products.shop-view-list .pxl-products-content-list-view {
    width: auto;
    flex: 1 1 auto;
    padding: 0;
  }
}

.products.shop-view-list .pxl-products-thumb .pxl-featured,
.products.shop-view-list .pxl-products-thumb .onsale,
.products.shop-view-list .pxl-products-thumb .pxl-badge-oos {
  right: auto;
  top: auto;
}

.products.shop-view-list .pxl-products-content-list-view .pxl-product-title {
  margin-top: 0;
  margin-bottom: 6px;
  min-height: 0;
  font-size: 15px;
}

.products.shop-view-list .pxl-products-content-list-view .pxl-loop-product-excerpt {
  margin: 8px 0 14px;
}

.products.shop-view-list .list-view-rating .pxl-shop-woosmart-wrap {
  position: static;
  transform: none;
  left: auto;
  bottom: auto;
}

.products.shop-view-list .pxl-products-content-list-view .add_to_cart_button,
.products.shop-view-list .pxl-products-content-list-view .button.product_type_grouped,
.products.shop-view-list .pxl-products-content-list-view .product_type_external,
.products.shop-view-list .pxl-products-content-list-view .added_to_cart,
.products.shop-view-list .pxl-products-content-list-view .kwz-qv-open--list {
  width: auto;
  height: 40px;
  min-width: 160px;
  border-radius: 8px;
  font-size: 14px;
  padding: 0 16px;
}

.products.shop-view-list .pxl-products-content-list-view .kwz-qv-open--list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  color: #fff;
  background-color: var(--primary-color, #7c58d3);
}

.products.shop-view-list .pxl-products-content-list-view .kwz-qv-open--list .pxl-icon {
  font-size: 15px;
}

/* Elementor product list */
.pxl-product-list .pxl-shop-item-wrap {
  align-items: center;
  padding: 0;
}

.pxl-product-list .pxl-shop-item-wrap:hover {
  box-shadow: none;
}

.pxl-product-list .pxl-shop-item-wrap .pxl-products-thumb {
  max-width: 88px;
  flex: 0 0 88px;
  margin-right: 14px;
}

.pxl-product-list .pxl-shop-item-wrap .pxl-products-thumb .onsale,
.pxl-product-list .pxl-shop-item-wrap .pxl-product-badges .onsale,
.pxl-product-list .pxl-shop-item-wrap .pxl-product-badges .pxl-featured,
.pxl-product-list .pxl-shop-item-wrap .pxl-product-badges .pxl-badge-oos {
  display: inline-flex;
}

.pxl-product-list .pxl-shop-item-wrap .pxl-shop-woosmart-wrap {
  display: none;
}

.pxl-product-list .pxl-shop-item-wrap .pxl-products-content-inner {
  align-items: flex-start;
}

.pxl-product-list .pxl-shop-item-wrap .pxl-products-content-inner .pxl-product-title,
.pxl-product-list .pxl-shop-item-wrap .pxl-products-content-inner .pxl-product-title > * {
  max-width: none;
  max-height: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  min-height: 0;
}

.pxl-product-list .pxl-shop-item-wrap .pxl-products-content-inner ins {
  padding-left: 0;
  display: inline;
}

.pxl-product-list .pxl-shop-item-wrap .pxl-products-content-inner del {
  display: inline;
}

/* Recently viewed (account) */
.kwz-rv-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f7f5fb;
  border-radius: 10px;
}

.kwz-rv-card__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kwz-rv-card__price,
.kwz-rv-card__price ins,
.kwz-rv-card__price .woocommerce-Price-amount {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--kwz-purple, var(--primary-color, #7c58d3));
}

.kwz-rv-card__price ins {
  text-decoration: none;
}

.kwz-rv-card__price del,
.kwz-rv-card__price del .woocommerce-Price-amount {
  font-size: 13px;
  font-weight: 500;
  color: #a7a7a7;
}

@media (max-width: 767.98px) {
  .pxl-shop-item-wrap {
    padding: 6px;
  }

  .pxl-shop-item-wrap .pxl-product-title,
  .pxl-shop-item-wrap .pxl-product-title > a {
    font-size: 14px;
  }

  .pxl-shop-item-wrap .price,
  .pxl-shop-item-wrap .price ins,
  .pxl-shop-item-wrap .price .woocommerce-Price-amount {
    font-size: 15px;
  }

  .pxl-shop-item-wrap .price {
    justify-content: flex-start;
  }

  .pxl-shop-item-wrap .price del,
  .pxl-shop-item-wrap .price del .woocommerce-Price-amount {
    font-size: 12px;
  }

  .kwz-rv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
