/* PL shelf family only. Desktop and commerce data remain with the existing renderer. */
@media (max-width: 760px) {
  html:lang(pl) [data-parent-page="polki-na-resoraki"].shelf-mobile-buy .catalog-parent-hero {
    min-height: 0;
  }
  html:lang(pl) .shelf-mobile-buy .catalog-parent-hero > div:first-child {
    padding: 18px 20px 12px;
  }
  html:lang(pl) .shelf-mobile-buy .catalog-parent-hero h1 {
    font-size: clamp(25px, 7vw, 30px);
    line-height: 1.06;
    letter-spacing: -.035em;
  }
  html:lang(pl) .shelf-mobile-buy .catalog-parent-hero .catalog-kicker {
    font-size: 8px;
    line-height: 1.4;
    margin-bottom: 8px;
  }
  html:lang(pl) .shelf-mobile-buy .catalog-parent-hero > div:last-child {
    min-height: 0;
    height: 220px;
  }
  html:lang(pl) .shelf-mobile-buy .catalog-parent-hero img {
    min-height: 0;
    height: 220px;
    width: 100%;
    padding: 12px;
    object-fit: contain;
  }
  html:lang(pl) .shelf-mobile-buy .shelf-mobile-overview summary {
    padding: 12px 0 0;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
  }
  html:lang(pl) .shelf-mobile-buy .shelf-mobile-overview p {
    margin: 14px 0;
    color: rgba(255,255,255,.8);
    font-size: 13px;
    line-height: 1.6;
  }
  html:lang(pl) .shelf-mobile-buy .shelf-mobile-overview ul { margin: 14px 0; }
  html:lang(pl) .shelf-mobile-buy .catalog-configurator { margin-top: 12px; }
  html:lang(pl) .shelf-mobile-buy .catalog-configurator__controls { padding: 18px 16px; }
  html:lang(pl) .shelf-mobile-buy .catalog-configurator__controls > h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  html:lang(pl) .shelf-mobile-buy [data-selected-offer-title] {
    margin: 8px 0 16px;
    font-size: 16px;
    line-height: 1.3;
  }
  html:lang(pl) .shelf-mobile-buy .catalog-configurator fieldset { margin-bottom: 14px; }
  html:lang(pl) .shelf-mobile-buy .catalog-configurator fieldset > div {
    max-height: 146px;
  }
  html:lang(pl) .shelf-mobile-buy .catalog-configurator fieldset:first-child > div,
  html:lang(pl) .shelf-mobile-buy .catalog-configurator .catalog-shelf-capacities {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: none;
  }
  html:lang(pl) .shelf-mobile-buy .catalog-configurator .catalog-shelf-capacities button {
    min-height: 58px;
    padding: 8px;
  }
  html:lang(pl) .shelf-mobile-buy .catalog-stock { margin-top: 14px; }
  html:lang(pl) .shelf-mobile-buy .catalog-buy {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
  }
  html:lang(pl) .shelf-mobile-buy .catalog-buy > button { grid-column: 1 / -1; }
  html:lang(pl) .shelf-mobile-buy .catalog-buy > label > div { width: 100%; }
  html:lang(pl) .shelf-mobile-buy .catalog-buy label :is(button,input,span) {
    min-width: 0;
    width: 25%;
    height: 42px;
  }
  html:lang(pl) .shelf-mobile-buy .catalog-buy > div strong { font-size: 20px; }
  html:lang(pl) .shelf-mobile-buy .catalog-configurator__visual {
    min-height: 0;
    padding: 20px;
    border-top: 1px solid var(--catalog-line);
  }
  html:lang(pl) .shelf-mobile-buy .catalog-configurator__visual > img {
    height: 280px;
    object-fit: contain;
  }
}
