.pcs-quick-shop {
  position: absolute;
  bottom: 12px;
  left: 50%;
  z-index: 3;
  display: flex;
  justify-content: center;
  width: auto;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.block-product-image__layer-image-wrapper:hover .pcs-quick-shop,
.block-product-card--pets:hover .pcs-quick-shop,
.block-product-card--custom:hover .pcs-quick-shop,
.block-product-card--custom:focus-within .pcs-quick-shop {
  pointer-events: auto;
  opacity: 1;
  transform: translate(-50%, 0);
}

.block-product-card--custom .pcs-quick-shop {
  bottom: 14px;
}

.block-product-card--custom .pcs-quick-shop__btn {
  min-width: 168px;
  min-height: 42px;
  padding: 0 18px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.01em;
  background: rgba(36, 83, 53, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 9px 24px rgba(25, 53, 34, 0.24);
  backdrop-filter: blur(8px);
}

.block-product-card--custom .pcs-quick-shop__btn:hover {
  color: #fff !important;
  background: #214f34;
}

.block-product-card--custom .pcs-quick-shop__label::after {
  content: " →";
  font-weight: 900;
}

@media (hover: none) {
  .block-product-card--custom .pcs-quick-shop {
    pointer-events: auto;
    opacity: 1;
    transform: translate(-50%, 0);
  }

  .block-product-card--custom .pcs-quick-shop__btn {
    min-width: 140px;
    min-height: 38px;
    font-size: 11px;
  }
}

@media (max-width: 640px) {
  .block-product-card--custom .pcs-quick-shop {
    bottom: 10px;
  }
}

.pcs-quick-shop__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  color: var(--pcs-quick-shop-color, #214f2f) !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
  background: #fff;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(33, 49, 36, 0.16);
  box-sizing: border-box;
}

.pcs-quick-shop__btn:hover {
  color: var(--pcs-quick-shop-color, #214f2f) !important;
  text-decoration: none !important;
}

.pcs-quick-shop__btn.disabled,
.pcs-quick-shop__btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.pcs-quick-shop__loading {
  display: none;
  width: 16px;
  height: 16px;
}

.pcs-quick-shop__btn.loading .pcs-quick-shop__label {
  display: none;
}

.pcs-quick-shop__btn.loading .pcs-quick-shop__loading {
  display: block;
}
