/* AC5 Banner Slider v1.6 */

.ac5bs-wrap {
    position: relative;
    width: 100%;
    display: block;
}

/* Wrapper obejmuje slider + kropki pod spodem */
.ac5bs-outer {
    display: block;
    width: 100%;
}

.ac5bs-track {
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
}

.ac5bs-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
}

.ac5bs-slide.active {
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    z-index: 2;
}

.ac5bs-wrap.ready .ac5bs-slide {
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

.ac5bs-slide.leaving {
    position: absolute !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
    z-index: 1;
}

.ac5bs-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

.ac5bs-link {
    display: block;
    width: 100%;
    line-height: 0;
}

/* ── Strzałki (wewnątrz .ac5bs-wrap nad obrazkiem) ── */
.ac5bs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
    width: 52px;
    height: 52px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.65));
    transition: transform 0.2s;
}
.ac5bs-arrow:hover { transform: translateY(-50%) scale(1.15); }
.ac5bs-prev { left: 14px; }
.ac5bs-next { right: 14px; }
.ac5bs-arrow svg { width: 44px; height: 44px; fill: #fff; display: block; }

/* ── Kropki – POD sliderem, poza wrapem ── */
.ac5bs-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 18px 0 12px;
    margin: 0;
    list-style: none;
}

.ac5bs-dot {
    display: block !important;
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    border-radius: 50% !important;
    border: none !important;
    /* Kolor jak na screenie – ciemny brązowo-szary */
    background: #6b5a4e !important;
    cursor: pointer;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    -webkit-appearance: none;
    appearance: none;
    transition: background 0.25s, transform 0.25s;
    flex-shrink: 0;
    outline: none;
}

.ac5bs-dot.active {
    background: #c8a882 !important;  /* jasny złoto-beż – aktywna jak na screenie */
    transform: scale(1.25);
}

.ac5bs-dot:hover:not(.active) {
    background: #8a7060 !important;
}

@media (max-width: 767px) {
    .ac5bs-prev { left: 6px; }
    .ac5bs-next { right: 6px; }
    .ac5bs-arrow { width: 38px; height: 38px; }
    .ac5bs-arrow svg { width: 32px; height: 32px; }
    .ac5bs-dots { padding: 14px 0 8px; gap: 8px; }
    .ac5bs-dot { width: 12px !important; height: 12px !important; min-width: 12px !important; min-height: 12px !important; }
}
