/* ═══════════════════════════════════════════════════════
   Adore Banner Slider — style.css
═══════════════════════════════════════════════════════ */

/* ── Wrapper ──────────────────────────────────────────── */
.adore-banner-slider-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    font-family: 'Rubik', sans-serif;
}

/* ── Slide base ───────────────────────────────────────── */
.adore-banner-slide {
    position: relative;
    height: 320px;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* ── Gradient overlay ─────────────────────────────────── */
.adore-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* ── Mobile image (hidden desktop, shown mobile via JS) ── */
.adore-mobile-image {
    display: none;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    flex-shrink: 0;
    order: 0;
}

/* ── Content block ────────────────────────────────────── */
.adore-slide-content {
    position: relative;
    z-index: 2;
    width: 45%;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ── Eyebrow label ────────────────────────────────────── */
.adore-slide-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffffff;
    opacity: 0.85;
}

/* ── Heading ──────────────────────────────────────────── */
.adore-slide-heading {
    font-size: clamp(22px, 3.5vw, 38px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
    padding: 0;
}

/* ── Description ──────────────────────────────────────── */
.adore-slide-desc {
    font-size: clamp(12px, 1.2vw, 15px);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 4px 0 0;
    max-width: 380px;
}

/* ── Button ───────────────────────────────────────────── */
.adore-slide-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 12px 28px;
    background: #ffffff;
    color: #E8622A;
    border: 2px solid #E8622A;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
    width: fit-content;
    align-self: flex-start;
}
.adore-slide-btn:hover {
    background: #E8622A;
    color: #ffffff;
    text-decoration: none;
}

/* ── Arrows ───────────────────────────────────────────── */
.adore-btn-prev,
.adore-btn-next {
    position: absolute;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    backdrop-filter: blur(4px);
}
.adore-btn-prev:hover,
.adore-btn-next:hover { background: rgba(255,255,255,0.3); }
.adore-btn-prev svg,
.adore-btn-next svg   { stroke: #ffffff; display: block; flex-shrink: 0; }

/* ── Dots ─────────────────────────────────────────────── */
.adore-banner-slider-wrap .swiper { overflow: visible; }
.adore-pagination {
    position: absolute;
    z-index: 10;
    display: flex !important;
    align-items: center;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: auto !important;
}
.adore-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background: rgba(255,255,255,0.45);
    opacity: 1;
    border-radius: 50%;
    transition: width 0.3s, background 0.25s, border-radius 0.3s;
    margin: 0 4px !important;
    display: inline-block;
}
.adore-pagination .swiper-pagination-bullet-active {
    background: #ffffff;
    width: 20px;
    border-radius: 4px;
}

/* ── Content fade animation ───────────────────────────── */
.adore-banner-slide .adore-slide-content {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
}
.swiper-slide-active .adore-slide-content {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════
   TABLET (769–1024px)
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) and (min-width: 769px) {
    .adore-banner-slide   { background-position: right center !important; }
    .adore-slide-content  { width: 55% !important; padding: 32px 36px !important; }
    .adore-slide-heading  { font-size: clamp(20px, 3vw, 30px); }
    .adore-slide-desc     { font-size: 13px; }
}

/* ═══════════════════════════════════════════════════════
   MOBILE (≤768px) — base structure only
   All colours/images/alignment applied via JS from
   the global "📱 Mobile View" settings panel
═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    .adore-banner-slider-wrap { border-radius: 20px; }

    /* Slide: vertical stack */
    .adore-banner-slide {
        height: auto !important;
        min-height: unset !important;
        flex-direction: column !important;
        align-items: stretch !important;
        overflow: hidden;
    }

    /* Mobile image block: JS sets height, bg-image, position */
    .adore-mobile-image {
        display: block;   /* shown; JS hides if no image */
        width: 100%;
        flex-shrink: 0;
        order: 0;
    }

    /* Content block */
    .adore-slide-content {
        order: 1;
        width: 100% !important;
        padding: 22px 20px 28px !important;
        gap: 8px;
        /* background set by JS from mob_content_bg */
    }

    /* Typography scale */
    .adore-slide-heading { font-size: 22px !important; line-height: 1.22; }
    .adore-slide-desc    { font-size: 13px !important; max-width: 100%; }
    .adore-slide-label   { font-size: 10px; }
    .adore-slide-btn     { font-size: 13px; padding: 11px 24px; margin-top: 12px; }

    /* Arrows & dots positioned by JS */
    .adore-btn-prev,
    .adore-btn-next {
        width: 32px !important;
        height: 32px !important;
        background: rgba(0,0,0,0.25) !important;
        border-color: rgba(255,255,255,0.2) !important;
    }
    .adore-btn-prev svg,
    .adore-btn-next svg { width: 16px !important; height: 16px !important; }

    /* Dots: show below slider on mobile */
    .adore-pagination {
        position: relative !important;
        display: flex !important;
        justify-content: center;
        padding: 10px 0 6px;
        width: 100%;
        bottom: auto !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
    }
}

/* ═══════════════════════════════════════════════════════
   SMALL MOBILE (≤480px)
═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .adore-slide-heading { font-size: 20px !important; }
    .adore-slide-desc    { font-size: 12px !important; }
    .adore-slide-content { padding: 18px 16px 22px !important; }
}

/* ═══════════════════════════════════════════════════════
   EXTRA SMALL (≤375px)
═══════════════════════════════════════════════════════ */
@media (max-width: 375px) {
    .adore-slide-heading { font-size: 18px !important; }
}
