.kuber-hero-slider {
    width: 100%;
    height: 90vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.kuber-hero-slide {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1; /* added */
}

.kuber-hero-slide__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 2; /* added */
}

.kuber-hero-slide__content {
    position: absolute;
    bottom: 110px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3; /* added */
}


.kuber-hero-slider__pagination .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: rgba(255,255,255,0.7);
    opacity: 1;
    margin: 0 4px !important;
}

.kuber-hero-slider__pagination .swiper-pagination-bullet-active {
    background: #FFFFFF;
}

/* Force show pagination even when Swiper applies swiper-pagination-lock */
.kuber-hero-slider__pagination {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    bottom: 80px !important;
}

/* ============================================================
   HERO SLIDER — CTA BUTTON (Exact Figma Styling)
   Fully responsive + matches your hover state perfectly
============================================================ */

/* DEFAULT STATE */
.kuber-hero-slide__btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    width: 245px;          /* increased from 175px */
    height: 50px;          /* increased from 30px */

    background: #FFFFFF;
    border: 1px solid #bd9869;
    color: #4A1C60;

    font-family: "Merriweather", serif;
    font-weight: 700;
    font-size: 16px;       /* your new size */
    line-height: 1;        /* prevents vertical clipping */
    letter-spacing: 1.03px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;

    transition: all 0.25s ease;
    position: relative;
    z-index: 3;
}

/* HOVER STATE */
.kuber-hero-slide__btn:hover {
    background: #bd9869;
    color: #FFFFFF;
    border-color: #bd9869;
    transform: translateY(-2px);
}


/* ============================================================
   RESPONSIVE SIZING — Matches your design rules
============================================================ */

/* TABLET (1024px and down) */
@media (max-width: 1024px) {
    .kuber-hero-slide__btn {
        width: 200px;       /* slightly smaller */
        height: 42px;
        font-size: 11px;
        line-height: 14px;
    }
}

/* MOBILE (767px and down) */
@media (max-width: 767px) {
    .kuber-hero-slide__btn {
        width: 180px;
        height: 40px;
        font-size: 11px;
        line-height: 14px;
        letter-spacing: 0.8px;
    }
}



@media (max-width: 1024px) {
    .kuber-hero-slider {
        height: 70vh;
        min-height: 480px;
    }

    .kuber-hero-slide__content {
        bottom: 80px;
    }
}

@media (max-width: 767px) {
    .kuber-hero-slider {
        height: 60vh;
        min-height: 420px;
    }

    .kuber-hero-slide__content {
        bottom: 70px;
    }

    .kuber-hero-slide__btn {
        padding: 8px 24px;
        font-size: 11px;
    }

    .kuber-hero-slider__pagination {
        bottom: 40px;
    }
}

/* RESPONSIVE FIX — Swiper dots placement */
@media (max-width: 1024px) {
    .kuber-hero-slider__pagination {
        bottom: 60px !important;  /* tablets */
    }
}

@media (max-width: 767px) {
    .kuber-hero-slider__pagination {
        bottom: 35px !important;  /* phones */
    }
}

@media (max-width: 1024px) {
    .kuber-hero-slide__btn {
        width: 160px;
        height: 32px;
        font-size: 11px;
        line-height: 14px;
        letter-spacing: 0.9px;
    }

    .kuber-hero-slide__content {
        bottom: 90px; /* keeps spacing consistent */
    }
}

@media (max-width: 767px) {
    .kuber-hero-slide__btn {
        width: 145px;
        height: 30px;
        font-size: 10px;
        line-height: 13px;
        letter-spacing: 0.8px;
    }

    .kuber-hero-slide__content {
        bottom: 75px; /* CTA sits a bit higher */
    }
}

/* Hide dots below tablet width */
@media (max-width: 1024px) {
    .kuber-hero-slider__pagination {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
}

/* TABLET */
@media (max-width: 1024px) {
    .kuber-hero-slide__content {
        bottom: 60px;
    }
    .kuber-hero-slider {
        height: 70vh;
        min-height: 480px;
    }
}

/* MOBILE */
@media (max-width: 767px) {
    .kuber-hero-slide__content {
        bottom: 45px;
    }
    .kuber-hero-slider {
        height: 60vh;
        min-height: 380px;
    }
    .kuber-hero-slide__overlay {
        object-fit: cover;
    }
}

/* ============================================================
   CLEAN RESPONSIVE CTA BUTTON (FINAL)
   Desktop: 245×50px (16px text)
   Tablet: 220×48px (14px text)
   Mobile: 190×44px (14px text)
============================================================ */

/* TABLET (1024px ↓) */
@media (max-width: 1024px) {
    .kuber-hero-slide__btn {
        width: 220px;
        height: 48px;
        font-size: 14px;
        line-height: 1;     /* keeps vertical centering perfect */
        padding: 0 24px;    /* extra breathing room */
    }

    .kuber-hero-slide__content {
        bottom: 70px;
    }
}

/* MOBILE (767px ↓) */
@media (max-width: 767px) {
    .kuber-hero-slide__btn {
        width: 190px;
        height: 44px;
        font-size: 14px;
        line-height: 1;
        padding: 0 22px;
    }

    .kuber-hero-slide__content {
        bottom: 55px;
    }
}

/* ============================================
   FIX: Add more padding between button & dots
============================================ */

.kuber-hero-slide__btn {
    margin-bottom: 20px; /* provides consistent breathing room */
}

.kuber-hero-slider__pagination {
    bottom: 55px !important; /* moves dots further down */
}

/* Tablet refinement */
@media (max-width: 1024px) {
    .kuber-hero-slide__btn {
        margin-bottom: 16px;
    }
    .kuber-hero-slider__pagination {
        bottom: 45px !important;
    }
}

/* Mobile refinement */
@media (max-width: 767px) {
    .kuber-hero-slide__btn {
        margin-bottom: 14px;
    }
    .kuber-hero-slider__pagination {
        bottom: 35px !important;
    }
}

/* ============================================================
   FINAL FIX — One-line hero CTA button + padding adjustments
============================================================ */

/* DESKTOP */
.kuber-hero-slide__btn {
    padding-left: 28px !important;
    padding-right: 28px !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    
    height: auto !important;

    white-space: nowrap !important; /* forces single line */
    min-width: max-content !important; /* expands if needed */
}

/* TABLET */
@media (max-width: 1024px) {
    .kuber-hero-slide__btn {
        padding: 16px 26px !important;  /* slightly more than before */
        height: auto !important;

        white-space: nowrap !important;
        min-width: max-content !important;
    }
}

/* MOBILE */
@media (max-width: 767px) {
    .kuber-hero-slide__btn {
        padding: 14px 24px !important; /* small bump for comfort */
        height: auto !important;

        white-space: nowrap !important;
        min-width: max-content !important;
    }
}

/* Reserve space for pagination BEFORE Swiper loads */
.kuber-hero-slider__pagination {
    height: 30px;            /* forces layout BEFORE JS */
    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 1 !important;
    visibility: visible !important;

    pointer-events: none;    /* untouched behaviour */
}

/* Prevent overlay from blocking dots */
.kuber-hero-slide__overlay {
    pointer-events: none !important;
}

/* Ensure content doesn't sit above pagination */
.kuber-hero-slide__content {
    position: relative;
    z-index: 5 !important;
}

/* FIX: Pagination must sit ABOVE everything */
.kuber-hero-slider__pagination {
    position: absolute;
    z-index: 999999 !important;
    pointer-events: auto !important;
    bottom: 55px !important; /* keep your custom spacing */
}

.kuber-hero-slide__btn {
    position: relative !important;
    z-index: 999999 !important;
    pointer-events: auto !important;
}

.kuber-hero-slider.swiper-initializing .swiper-slide {
    opacity: 0; /* hide until Swiper positions slides */
}

.kuber-hero-slider .swiper-slide.swiper-slide-active {
    opacity: 1 !important;
}

/* Make sure CTA stays above overlay */
.kuber-hero-slide__content {
    position: absolute !important;
    bottom: 110px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 5 !important;
    pointer-events: auto !important;
}

/* DESKTOP — move swiper dots upward */
@media (min-width: 1025px) {
    .kuber-hero-slider__pagination {
        bottom: 75px !important;  /* adjust this value as needed */
    }
}
