/* Mila Papier: refreshed product photography and contact-first homepage (03.12.2026) */
/* Old exported markup uses a blurred duplicate behind an object-contain image.
   Hide that legacy duplicate and crop the real photo without distortion. */
img[src$="-blur.webp"] { display: none !important; }
img[src*="/assets/photo-"]:not([src$="-blur.webp"]) {
  object-fit: cover !important;
  object-position: center center;
}
img[src*="photo-stanowisko.webp"] { object-position: center 42% !important; }
img[src*="photo-dyspenser-manualny.webp"] { object-position: center 40% !important; }
img[src*="photo-dyspenser-papierowy.webp"] { object-position: center 44% !important; }
/* Scoped to homepage: do not affect product/article detail layouts. */
main:has(> #top) { display: flex; flex-direction: column; }
main:has(> #top) > #top { order: 0; }
main:has(> #top) > #kontakt { order: 1; scroll-margin-top: 72px; }
main:has(> #top) > :not(#top):not(#kontakt) { order: 2; }
/* Old export makes the large pack-station photo excessively panoramic. */
[class*="aspect-[24/9]"] { aspect-ratio: 21 / 9 !important; }
@media (max-width: 1023px) {
  [class*="aspect-[24/9]"] { aspect-ratio: 16 / 9 !important; }
}
@media (max-width: 767px) {
  [class*="aspect-[24/9]"] { aspect-ratio: 4 / 3 !important; }
}
