/* ═══════════════════════════════════════════════════════
   BS Hero Slider — Frontend v1.4.0
   ═══════════════════════════════════════════════════════ */

/* Wrapper: full-width */
.bshs-wrapper {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    overflow: hidden;
    line-height: 0;
    margin-bottom: 36px;
}

/* Swiper */
.bshs-swiper {
    width: 100%;
    overflow: hidden;
}

/* Skaidrė — aukštis inline style'u iš PHP */
.bshs-slide {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    display: block;
}

/* Nuoroda */
.bshs-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
}

/* ── Paveikslėliai ─────────────────────────────────── */
.bshs-img {
    display: block;
    width: 100%;
    border-radius: 0 !important;
    /* object-fit ir object-position — inline style iš PHP */
}

.bshs-img-desktop { display: block; }
.bshs-img-mobile  { display: none;  }

@media (max-width: 768px) {
    .bshs-img-desktop { display: none;  }
    .bshs-img-mobile  { display: block; }
}

.bshs-slide .bshs-img:only-child {
    display: block !important;
}

/* ── Navigacija ────────────────────────────────────── */
.bshs-swiper .swiper-button-prev,
.bshs-swiper .swiper-button-next {
    all: unset;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.85);
    border-radius: 50%;
    cursor: pointer;
    color: #222;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background 0.2s, transform 0.2s;
    line-height: 0;
}

.bshs-swiper .swiper-button-prev { left: 16px; }
.bshs-swiper .swiper-button-next { right: 16px; }

.bshs-swiper .swiper-button-prev:hover,
.bshs-swiper .swiper-button-next:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.08);
}

.bshs-swiper .swiper-button-prev::after,
.bshs-swiper .swiper-button-next::after { display: none; }

.bshs-nav-btn svg {
    width: 20px;
    height: 20px;
    pointer-events: none;
}

@media (max-width: 480px) {
    .bshs-swiper .swiper-button-prev,
    .bshs-swiper .swiper-button-next { width: 36px; height: 36px; }
    .bshs-nav-btn svg { width: 16px; height: 16px; }
}

/* ── Pagination ────────────────────────────────────── */
.bshs-swiper .bshs-pagination {
    position: absolute;
    bottom: 14px;
    left: 0; right: 0;
    text-align: center;
    z-index: 10;
    line-height: 1;
}

.bshs-swiper .bshs-pagination .swiper-pagination-bullet {
    display: inline-block;
    width: 28px; height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.5);
    margin: 0 4px;
    cursor: pointer;
    transition: background 0.25s, width 0.25s;
}

.bshs-swiper .bshs-pagination .swiper-pagination-bullet-active {
    background: #fff;
    width: 44px;
}

/* ── Galioja iki ───────────────────────────────────── */
.bshs-expiry {
    position: absolute;
    bottom: -28px; right: 0;
    font-size: 11px; color: #888;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.4;
    text-align: right;
}

@media (max-width: 768px) {
    .bshs-expiry { text-align: center; right: auto; left: 0; right: 0; }
}

/* ── Fade fix ──────────────────────────────────────── */
.bshs-swiper .swiper-slide {
    opacity: 0 !important;
    transition: opacity 0.6s ease !important;
}
.bshs-swiper .swiper-slide-active {
    opacity: 1 !important;
}
