/* PL-only presentation closeout. No product, gallery, payment or tracking changes. */
html:lang(pl) .catalog-card__image > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}
/* New labelled source photographs are square: retain the whole material and label. */
html:lang(pl) .catalog-card__image:has(> img[src*="uploads/catalog-489/"]) {
  aspect-ratio: 1;
}
html:lang(pl) .selector-layout > *,
html:lang(pl) .panel-selector,
html:lang(pl) .panel-selector fieldset {
  min-width: 0;
  min-inline-size: 0;
}
@media (max-width: 1180px) {
  html:lang(pl) .selector-layout { grid-template-columns: minmax(0, 1fr); }
  html:lang(pl) .selector-layout > .panel-selector { width: 100%; max-width: 100%; }
  html:lang(pl) .primary-nav { max-width: 100vw; }
}
@media (max-width: 620px) {
  html:lang(pl) .selector-proof strong { overflow-wrap: anywhere; }
}
/* Give the existing dimension rail its own space, not the last row of the label. */
html:lang(pl) .commerce-studio__visual:has(> img[src*="uploads/catalog-489/"]) {
  background: #fff;
}
html:lang(pl) .commerce-studio__visual > img[src*="uploads/catalog-489/"] {
  object-fit: contain;
  height: calc(100% - 62px);
}
html:lang(pl) .commerce-studio__visual:has(> img[src*="uploads/catalog-489/"]) > div {
  bottom: 15px;
  padding-top: 12px;
}
@media (max-width: 620px) {
  html:lang(pl) .commerce-studio__visual:has(> img[src*="uploads/catalog-489/"]) {
    min-height: max(360px, calc(100vw + 34px));
  }
}
/* Text-only contrast corrections; original orange surfaces and brand layout stay. */
html:lang(pl) :is(.catalog-card__kind, .catalog-popular .catalog-kicker,
  .catalog-shapes .catalog-kicker, .catalog-listing .catalog-kicker,
  .catalog-content .catalog-kicker, .panel-selector legend b,
  .size-choice--custom strong, .shelf-offer-card__copy b) { color: #a43b12; }
html:lang(pl) :is(.catalog-breadcrumbs, .catalog-result-count,
  .catalog-listing__actions label, .catalog-card__footer strong small,
  .catalog-shapes p, .catalog-content__intro > p, .catalog-faq p) { color: #5c6065; }
html:lang(pl) :is(.material-choice__copy small, .panel-selector legend small,
  .size-choice small, .quantity-control-wrap > span, .quantity-control-wrap > small,
  .quantity-control b, .finder-price > span, .finder-price > small,
  .finder-completion__status > span, .studio-selection-line > span,
  .shelf-variant-panel > span) { color: #5c6065; }
html:lang(pl) :is(.brand small, .site-footer__grid h3,
  .site-footer__bottom span, .hero__spec span,
  .panel-selector__heading small, .catalog-showcase dt) { color: rgba(255,255,255,.7); }
html:lang(pl) :is(.cart-action b, .choice-grid input:checked + span,
  .ready-groups button.is-active, .catalog-custom-band .catalog-kicker,
  .catalog-custom-band p) { color: #101318; }
html:lang(pl) .finder-completion .button--dark span { color: #fff; }
html:lang(pl) .site-footer__bottom a { color: rgba(255,255,255,.7); }
html:lang(pl) .size-choice input:checked + span small { color: rgba(255,255,255,.8); }

/* Remaining actually observed Lighthouse text contrasts, including revealed panels. */
html:lang(pl) :is(.button--accent,.commerce-studio__visual > span,
  .studio-filter button.is-active,.ready-groups button.is-active small) { color:#101318; }
html:lang(pl) :is(.commerce-studio .eyebrow--dark,.commerce-studio__lead,
  .studio-filter > span,.studio-quantity > span,.studio-quantity b,
  .studio-price > span,.studio-selection-line > span) { color:#5c6065; }
html:lang(pl) .ready-groups button.is-active small { color:rgba(16,19,24,.8); opacity:1; }
html:lang(pl) .button--accent:hover { color:#fff; }
html:lang(pl) .catalog-card__cta:hover { color:#101318; }
