/*
 * eSkarbnik WWW — hotfix R6.2 (2026-11-04)
 * Usuwa przycinanie slajdów bez modyfikacji treści i grafik.
 * Wczytywany PO site.css, hero-balance.css i premium-full.css.
 */
@media (min-width: 901px) {
  .site-shell > main > .hero-carousel {
    min-height: 680px !important;
  }
  .site-shell > main > .hero-carousel > .carousel-stage {
    height: 680px !important;
    translate: none !important; /* Stare przesunięcie stage o 24–65px wypychało przyciski poza hero. */
  }
  .hero-carousel .slide-visual-art {
    min-width: 0;
    overflow: visible;
  }
  .hero-carousel .slide-visual-art .artwork {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 100% !important;
    object-fit: contain !important;
    transform: none !important;
  }
  .hero-carousel .slide-copy {
    transform: none !important;
  }
}
/* W przedziale 901–1199px podpisy zawijają się na więcej linii. */
@media (min-width: 901px) and (max-width: 1199px) {
  .site-shell > main > .hero-carousel { min-height: 720px !important; }
  .site-shell > main > .hero-carousel > .carousel-stage { height: 720px !important; }
}
/* Tablet i telefon: wysokość karuzeli wynika z zawartości aktywnego slajdu. */
@media (max-width: 900px) {
  .site-shell > main > .hero-carousel {
    min-height: 0 !important;
    height: auto !important;
  }
  .site-shell > main > .hero-carousel > .carousel-stage {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 22px 48px !important;
    translate: none !important;
  }
  .hero-carousel .slide {
    position: relative !important;
    inset: auto !important;
    display: none !important;
    height: auto !important;
    padding: 0 !important;
    opacity: 1;
    visibility: visible;
    transform: none !important;
    pointer-events: none !important;
  }
  .hero-carousel .slide.is-active {
    display: block !important;
    pointer-events: auto !important;
  }
  .hero-carousel .slide-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
    height: auto !important;
    padding: 29px 0 9px !important;
  }
  .hero-carousel .slide-visual-art {
    width: 100% !important;
    max-width: 550px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 auto !important;
    overflow: visible !important;
  }
  .hero-carousel .slide-visual-art .artwork {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 350px !important;
    object-fit: contain !important;
    transform: none !important;
  }
  .hero-carousel .slide-copy { transform: none !important; }
  .hero-carousel .slide-arrow {
    top: auto !important;
    bottom: 8px !important;
    transform: none !important;
  }
  .hero-carousel .slide-arrow:hover { transform: scale(1.05) !important; }
  .hero-carousel .carousel-dots { bottom: 22px !important; }
}
