/* Homepage product hero slider – pilnas plotis, turinys container-lg kaip headeris */
.ks-product-hero-slider {
    --ks-phs-bg: #5b6341;
    --ks-phs-btn: #d4a643;
    --ks-phs-btn-hover: #fcb900;
    --ks-phs-link-hover: #fcb900;
    --ks-phs-btn-text: #1f1f1f;
    width: 100%;
    margin-bottom: 1.875rem;
    background: var(--ks-phs-bg);
}

.ks-product-hero-slider__swiper {
    width: 100%;
    background: var(--ks-phs-bg);
    border-radius: 0;
    overflow: hidden;
    min-height: 480px;
}

.ks-product-hero-slider__slide {
    width: 100%;
    min-height: 480px;
    background: var(--ks-phs-bg);
    box-sizing: border-box;
}

.ks-product-hero-slider__slide > .container-lg {
    height: 100%;
    min-height: 480px;
    display: flex;
    align-items: center;
}

.ks-product-hero-slider__inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(1.95rem, 5.2vw, 3.9rem);
    width: 100%;
    padding-block: clamp(1.625rem, 3.9vw, 3.25rem);
    box-sizing: border-box;
}

.ks-product-hero-slider__media {
    flex: 0 0 auto;
    width: clamp(273px, 42.9vw, 507px);
    aspect-ratio: 1;
    background: #fff;
    border-radius: 1.95rem;
    padding: 1.46rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.ks-product-hero-slider__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ks-product-hero-slider__body {
    flex: 1 1 auto;
    min-width: 0;
    color: #fff;
    text-align: left;
}

.ks-product-hero-slider__title {
    margin: 0 0 1.69rem;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.02em;
}

.ks-product-hero-slider__title a {
    color: inherit;
    text-decoration: none;
}

html body .ks-product-hero-slider .ks-product-hero-slider__title a:hover,
html body .ks-product-hero-slider .ks-product-hero-slider__title a:focus-visible,
html body .ks-product-hero-slider .ks-product-hero-slider__title a:active {
    color: #fcb900 !important;
    text-decoration: underline !important;
}

.ks-product-hero-slider__price {
    margin: 0 0 2.11rem;
    font-size: 32px;
    font-weight: 400;
    color: #fff;
}

.ks-product-hero-slider__price strong {
    font-weight: 700;
}

.ks-product-hero-slider__cta {
    display: inline-block;
    padding: 0.975rem 2.275rem;
    background: var(--ks-phs-btn);
    color: var(--ks-phs-btn-text) !important;
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none !important;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.2s ease;
}

html body .ks-product-hero-slider button.ks-product-hero-slider__cta:hover,
html body .ks-product-hero-slider button.ks-product-hero-slider__cta:focus-visible {
    background: #fcb900 !important;
    background-color: #fcb900 !important;
    color: #1f1f1f !important;
}

.ks-product-hero-slider__pagination-wrap {
    position: relative;
    padding-bottom: 0.75rem;
    margin-top: -0.5rem;
}

.ks-product-hero-slider__pagination-wrap .swiper-pagination {
    position: static;
    text-align: left;
}

.ks-product-hero-slider .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
}

.ks-product-hero-slider .swiper-pagination-bullet-active {
    background: var(--ks-phs-btn);
}

@media (max-width: 575.98px) {
    .ks-product-hero-slider__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ks-product-hero-slider__body {
        text-align: left;
        width: 100%;
    }
}
