/* Hero slider block — responsive web/mobile banners + Buy Now CTA */
.nest-hero-slider-section {
    margin: 8px 0 0;
    overflow: hidden;
}

.nest-hero-slider-shell {
    position: relative;
}

.nest-hero-slider {
    border-radius: 20px;
    overflow: hidden;
}

.nest-hero-slider:not(.slick-initialized) .nest-hero-slider__slide:not(:first-child) {
    display: none;
}

.nest-hero-slider__slide {
    outline: none;
}

.nest-hero-slider__card {
    background: #f4f6fa;
    border: 1px solid #eceff3;
    border-radius: 18px;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    position: relative;
}

.nest-hero-slider__media {
    aspect-ratio: 1920 / 700;
    background: #eef1f5;
    line-height: 0;
    overflow: hidden;
    position: relative;
}

.nest-hero-slider__media picture,
.nest-hero-slider__media img {
    display: block;
    height: 100%;
    width: 100%;
}

.nest-hero-slider__image {
    object-fit: cover;
    transform: scale(1);
    transition: transform 8s ease;
}

.nest-hero-slider__slide.is-active .nest-hero-slider__image,
.nest-hero-slider--single .nest-hero-slider__image {
    transform: scale(1.05);
}

.nest-hero-slider__overlay {
    align-items: flex-start;
    bottom: clamp(14px, 4vw, 36px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    left: clamp(14px, 4vw, 36px);
    max-width: min(420px, 72%);
    position: absolute;
    z-index: 2;
}

.nest-hero-slider__title {
    color: #fff;
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.nest-hero-slider__btn {
    align-items: center;
    background-color: var(--color-whatsapp, #25D366) !important;
    border: none !important;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
    color: #fff !important;
    display: inline-flex !important;
    font-size: clamp(12px, 1.05vw, 15px);
    font-weight: 600;
    gap: 4px;
    line-height: 1.2;
    padding: 10px 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
    width: auto !important;
}

.nest-hero-slider__btn:hover,
.nest-hero-slider__btn:focus {
    background-color: var(--color-whatsapp-dark, #1DA851) !important;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.42);
    color: #fff !important;
    transform: translateY(-2px);
}

.nest-hero-slider__arrows {
    display: flex;
    justify-content: space-between;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 3;
}

.nest-hero-slider__arrow {
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e8ebf0;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    color: #253d4e;
    cursor: pointer;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    margin: 0 10px;
    pointer-events: auto;
    transition: background-color 0.2s ease, transform 0.2s ease;
    width: 42px;
}

.nest-hero-slider__arrow:hover {
    background: #fff;
    transform: scale(1.05);
}

.nest-hero-slider .slick-dots {
    bottom: 14px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    left: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 0;
    text-align: center;
    width: 100%;
    z-index: 5;
}

.nest-hero-slider .slick-dots li {
    display: inline-block;
    height: 10px;
    margin: 0;
    padding: 0;
    position: relative;
    width: 10px;
}

.nest-hero-slider .slick-dots li button {
    background: rgba(255, 255, 255, 0.55);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    color: transparent !important;
    cursor: pointer;
    display: block;
    font-size: 0 !important;
    height: 10px;
    line-height: 0 !important;
    padding: 0;
    text-indent: -9999px;
    width: 10px;
}

.nest-hero-slider .slick-dots li button:before {
    content: none !important;
    display: none !important;
}

.nest-hero-slider .slick-dots li.slick-active button {
    background: var(--color-brand, #fd6f50);
    width: 22px;
}

@media (max-width: 767px) {
    .nest-hero-slider-section {
        margin-top: 6px;
    }

    .nest-hero-slider__media {
        aspect-ratio: 768 / 960;
    }

    .nest-hero-slider__overlay {
        bottom: 12px;
        left: 12px;
        max-width: 78%;
    }

    .nest-hero-slider__btn {
        padding: 9px 18px;
    }

    .nest-hero-slider__arrow {
        height: 36px;
        margin: 0 6px;
        width: 36px;
    }

    .nest-hero-slider .slick-dots {
        bottom: 10px;
    }
}
