body.premium[data-screen="fotoksiegi"] .reference-product .product-image{aspect-ratio:1/1;height:auto;max-height:none;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#fff}body.premium[data-screen="fotoksiegi"] .reference-product .product-image img{width:100%;height:100%;object-fit:contain;transform:none}body[data-screen="kontakt"] .local-offer{padding-block:36px}body[data-screen="kontakt"] .local-offer-grid{gap:20px}body[data-screen="kontakt"] .local-offer-card img{height:160px;object-fit:cover}body[data-screen="kontakt"] .local-offer-copy{padding:18px}.cal-cover-title{margin-bottom:24px}.cal-cover-title input{font-family:Roboto,Arial,sans-serif}.cal-export-progress{font-size:14px}

/* Keep the footer below the viewport during asynchronous configurator boot. */
.page-content:has(>.loading-state){min-height:100vh;visibility:hidden}
@media(max-width:480px){body.premium .progress li{min-width:0}body.premium .progress button,body.premium .progress a{min-width:0;max-width:100%;width:100%;padding-inline:2px}body.premium .progress span{min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal}}

/* Price columns stay legible on small screens; scroll the table, not the page. */
@media(max-width:900px){body[data-screen^="cennik"] .table-scroll{width:100%;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}body[data-screen^="cennik"] .table-scroll .price-table{min-width:560px!important;table-layout:auto!important}body[data-screen^="cennik"] .table-scroll .price-table th,body[data-screen^="cennik"] .table-scroll .price-table td{word-break:normal!important;overflow-wrap:normal!important;white-space:normal!important}body[data-screen^="cennik"] .table-scroll::before{content:"Przesuń tabelę w bok →";display:block;position:sticky;left:0;font-size:13px;color:#536d80;margin-bottom:10px}}

/* Client revision 8.5: compact local offer; four columns, then two/one. */
body.premium[data-screen="kontakt"] .local-offer-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
body.premium[data-screen="kontakt"] .local-offer-card>img{height:140px}
body.premium[data-screen="kontakt"] .local-offer-copy{padding:14px 16px}
body.premium[data-screen="kontakt"] .local-offer-copy h3{margin:0;font-size:18px;line-height:1.35}
body.premium[data-screen="konfigurator-kalendarza"] .cal-template-options{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1000px){body.premium[data-screen="kontakt"] .local-offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.premium[data-screen="kontakt"] .local-offer-grid{grid-template-columns:1fr}}

@media(min-width:901px){body.premium[data-screen="kalendarze"] .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
