/* Wzory PDF - pełna okładka i czytelna nazwa, bez zmian produktów fizycznych. */
.product-card--pdf .product-card__image {
  aspect-ratio: 4 / 5;
  background: var(--cl-bg-alt);
  padding: 18px 26px;
}
.product-card--pdf .product-card__image .carousel,
.product-card--pdf .carousel__track,
.product-card--pdf .carousel__slide,
.product-card--pdf .product-card__image-link {
  background: transparent;
}
.product-card--pdf .product-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 3px 3px 0 var(--cl-card), var(--shadow-sm);
  transform: none;
}
.product-card--pdf:hover .product-card__img { transform: none; }
.product-card--pdf .product-card__name {
  margin-bottom: 4px;
  font-size: 1.35rem;
  line-height: 1.3;
}
.product-card--pdf .product-card__desc {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-height: 1.6;
}
.is-shop.single-product.is-pattern-product div.product .woocommerce-product-gallery {
  width: 42% !important;
  max-width: 470px !important;
  margin-bottom: 28px;
}
.is-shop.single-product.is-pattern-product div.product .summary {
  width: 50%;
  padding-top: 10px;
}
.is-shop.single-product.is-pattern-product .woocommerce-product-gallery__wrapper {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.is-shop.single-product.is-pattern-product .woocommerce-product-gallery__image {
  aspect-ratio: auto;
  max-height: 520px;
  background: transparent;
}
.is-shop.single-product.is-pattern-product .woocommerce-product-gallery__image > a {
  display: block;
  width: 100%;
  text-align: center;
}
.is-shop.single-product.is-pattern-product .woocommerce-product-gallery__image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 520px;
  margin-inline: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
  border-radius: 2px;
  box-shadow: 3px 3px 0 var(--cl-card), var(--shadow-sm);
}
.is-shop.single-product.is-pattern-product .product_title.stw-pattern-title {
  font-size: clamp(2rem, 1.8rem + .5vw, 2.25rem);
  line-height: 1.2;
  margin-bottom: 12px;
}
.is-pattern-product .stw-pattern-subtitle {
  color: var(--cl-text-muted);
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 22px;
  max-width: 34ch;
}
.is-shop.single-product.is-pattern-product .summary .price { margin-bottom: 18px; }
.is-shop.single-product.is-pattern-product .woocommerce-product-details__short-description {
  margin-bottom: 24px;
  max-width: 46ch;
}
@media (max-width: 768px) {
  .is-shop.single-product.is-pattern-product div.product .woocommerce-product-gallery {
    width: 100% !important;
    max-width: 340px !important;
    margin-inline: auto;
    margin-bottom: 30px;
  }
  .is-shop.single-product.is-pattern-product div.product .summary {
    width: 100%;
    padding-top: 0;
  }
  .is-shop.single-product.is-pattern-product .woocommerce-product-gallery__image,
  .is-shop.single-product.is-pattern-product .woocommerce-product-gallery__image img {
    max-height: 420px;
  }
}
