.elementor-widget-mu_hero_gallery_slider {
    min-width: 0;
    overflow-anchor: none;
}

.elementor-widget-mu_hero_gallery_slider > .elementor-widget-container {
    min-width: 0;
}

/*
 * Initial height mask.
 * Gdy wysokość ma być dopasowana do sąsiedniego kontenera, slider pozostaje
 * niewidoczny tylko do pierwszego poprawnego pomiaru JS. Dzięki temu użytkownik
 * nie widzi przejścia z wysokości domyślnej do wysokości docelowej.
 */
@media (min-width: 1025px) {
    .elementor-widget-mu_hero_gallery_slider .mu-hgs-root[data-match-height-desktop="yes"]:not(.is-initial-height-ready) {
        opacity: 0;
        pointer-events: none;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .elementor-widget-mu_hero_gallery_slider .mu-hgs-root[data-match-height-tablet="yes"]:not(.is-initial-height-ready) {
        opacity: 0;
        pointer-events: none;
    }
}

@media (max-width: 767px) {
    .elementor-widget-mu_hero_gallery_slider .mu-hgs-root[data-match-height-mobile="yes"]:not(.is-initial-height-ready) {
        opacity: 0;
        pointer-events: none;
    }
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-root {
    --mu-hgs-height: 670px;
    --mu-hgs-transition: 500ms;
    --mu-hgs-hover-scale: 1.04;
    --mu-hgs-hover-duration: 500ms;
    --mu-hgs-left-bar-height: 70px;
    --mu-hgs-price-width: 170px;
    --mu-hgs-price-width-effective: var(--mu-hgs-price-width);
    --mu-hgs-price-height: 110px;
    --mu-hgs-price-overlap: 40px;

    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: var(--mu-hgs-height);
    min-width: 0;
    box-sizing: border-box;
    overflow-anchor: none;
    opacity: 1;
    transition: none;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-root.is-pagination-outside-match {
    overflow: visible;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-root.is-pagination-outside-match .mu-hgs-card {
    flex: 1 1 auto;
    min-height: 0;
}

/*
 * Gdy paginacja nie ma być liczona do wyrównanej wysokości, zostawiamy ją
 * w normalnym układzie DOM, ale jej slot ma dokładnie 0 px wysokości.
 * Dzięki temu karta nadal ma pełną wysokość kontenera odniesienia, a kropki
 * naturalnie wychodzą poniżej bez position:absolute na samej paginacji.
 */
.elementor-widget-mu_hero_gallery_slider .mu-hgs-root.is-pagination-outside-match .mu-hgs-pagination-slot {
    flex: 0 0 0;
    height: 0;
    min-height: 0;
    overflow: visible;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-card {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-stage {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #f4f4f2;
    outline: none;
    touch-action: pan-y;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-stage:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -2px;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-track {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    min-width: 0;
    transition: transform var(--mu-hgs-transition) cubic-bezier(.2, .65, .25, 1);
    will-change: transform;
}

/* Podczas aktywnego przeciągania slajd podąża 1:1 za palcem / myszką. */
.elementor-widget-mu_hero_gallery_slider .mu-hgs-root.is-dragging .mu-hgs-track {
    transition: none !important;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-root.is-dragging .mu-hgs-image {
    transform: scale(1) !important;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    min-width: 0;
    overflow: hidden;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-image-link,
.elementor-widget-mu_hero_gallery_slider .mu-hgs-slide > img {
    display: block;
    width: 100%;
    height: 100%;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-image-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 50%;
    transform: scale(1);
    transform-origin: 50% 50%;
    transition: transform var(--mu-hgs-hover-duration) cubic-bezier(.2, .65, .25, 1);
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
}

@media (hover: hover) and (pointer: fine) {
    .elementor-widget-mu_hero_gallery_slider .mu-hgs-root.has-hover-zoom .mu-hgs-slide.is-active:hover .mu-hgs-image {
        transform: scale(var(--mu-hgs-hover-scale));
    }
}

/* Fade mode */
.elementor-widget-mu_hero_gallery_slider .mu-hgs-root.is-effect-fade .mu-hgs-track {
    display: block;
    transform: none !important;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-root.is-effect-fade .mu-hgs-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity var(--mu-hgs-transition) ease,
        visibility var(--mu-hgs-transition) ease;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-root.is-effect-fade .mu-hgs-slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Bottom bar */
.elementor-widget-mu_hero_gallery_slider .mu-hgs-bar {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: minmax(0, var(--mu-hgs-left-bar-height));
    flex: 0 0 auto;
    align-items: stretch;
    width: 100%;
    height: var(--mu-hgs-left-bar-height);
    min-width: 0;
    min-height: 0;
    overflow: visible;
    background: #6b6b69;
    box-sizing: border-box;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-root.has-no-price .mu-hgs-bar {
    grid-template-columns: minmax(0, 1fr);
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-label {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: auto;
    height: var(--mu-hgs-left-bar-height);
    max-height: var(--mu-hgs-left-bar-height);
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    padding: 0 24px;
    color: #fff;
    font-family: 'Barlow Condensed', 'Barlow', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: .02em;
    text-align: left;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    box-sizing: border-box;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-label-text {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-price-panel {
    position: relative;
    top: calc(-1 * var(--mu-hgs-price-overlap));
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: var(--mu-hgs-price-width-effective);
    max-width: none;
    height: var(--mu-hgs-price-height);
    min-width: 0;
    justify-self: end;
    align-self: start;
    padding: 14px 20px;
    background: #ff6511;
    text-align: left;
    box-sizing: border-box;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-price-prefix,
.elementor-widget-mu_hero_gallery_slider .mu-hgs-price-value,
.elementor-widget-mu_hero_gallery_slider .mu-hgs-price-suffix {
    max-width: none;
    margin: 0;
    color: #fff;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-price-prefix {
    font-family: 'Barlow Condensed', 'Barlow', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-price-value {
    margin-top: 4px;
    font-family: 'Barlow Condensed', 'Barlow', sans-serif;
    font-size: 30px;
    font-weight: 800;
    line-height: .95;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-price-suffix {
    margin-top: 5px;
    font-family: 'Barlow Condensed', 'Barlow', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.15;
}

/* Pagination */
.elementor-widget-mu_hero_gallery_slider .mu-hgs-pagination-slot {
    position: relative;
    z-index: 5;
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    justify-content: flex-end;
    width: 100%;
    min-width: 0;
    min-height: 0;
    overflow: visible;
    box-sizing: border-box;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-pagination {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    max-width: 100%;
    margin-top: 0;
    min-height: 20px;
    box-sizing: border-box;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-root.is-pagination-outside-match .mu-hgs-pagination {
    position: relative;
    top: 0;
    right: auto;
    bottom: auto;
    left: auto;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-dot::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ffd9c4;
    transition:
        background-color 180ms ease,
        transform 180ms ease;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-dot.is-active::before {
    background: #ff6511;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-dot:hover::before,
.elementor-widget-mu_hero_gallery_slider .mu-hgs-dot:focus-visible::before {
    background: #ff8a4c;
    transform: scale(1.15);
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-dot:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 1px;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-empty {
    padding: 24px;
    border: 1px dashed #bbb;
    color: #666;
}

@media (max-width: 767px) {
    .elementor-widget-mu_hero_gallery_slider .mu-hgs-price-value {
        font-size: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .elementor-widget-mu_hero_gallery_slider .mu-hgs-root,
    .elementor-widget-mu_hero_gallery_slider .mu-hgs-track,
    .elementor-widget-mu_hero_gallery_slider .mu-hgs-slide,
    .elementor-widget-mu_hero_gallery_slider .mu-hgs-image,
    .elementor-widget-mu_hero_gallery_slider .mu-hgs-dot::before {
        transition-duration: 0ms !important;
    }
}

/* v11: prawdziwy infinite track + stabilny drag na touch. */
.elementor-widget-mu_hero_gallery_slider .mu-hgs-root.is-loop-jumping .mu-hgs-track {
    transition: none !important;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-slide.is-loop-clone {
    pointer-events: none;
}

.elementor-widget-mu_hero_gallery_slider .mu-hgs-slide.is-loop-clone a {
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .elementor-widget-mu_hero_gallery_slider .mu-hgs-root.is-dragging .mu-hgs-stage {
        cursor: grabbing;
    }
}


.elementor-widget-mu_hero_gallery_slider .mu-hgs-label-text[hidden],
.elementor-widget-mu_hero_gallery_slider .mu-hgs-price-prefix[hidden],
.elementor-widget-mu_hero_gallery_slider .mu-hgs-price-value[hidden],
.elementor-widget-mu_hero_gallery_slider .mu-hgs-price-suffix[hidden] {
    display: none !important;
}