.backend-home-banner {
    position: relative;
    min-height: clamp(500px, 42vw, 690px);
    overflow: hidden;
    background-color: #eaf2ff;
}

.backend-home-banner .slider-text-info {
    position: relative;
    z-index: 3;
    min-height: inherit;
}

/* Product Offer mode follows the original Etro slider composition. */
.slider-content .home-slider .backend-home-banner.product-offer-mode {
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 72% 50%, rgba(126, 164, 226, .10), transparent 30%),
        linear-gradient(115deg, #edf8ff 0%, #e5f3fb 48%, #dce8fb 100%);
}

.slider-content .home-slider .product-offer-mode .slider-text-info {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    min-height: 0;
    transform: translateY(-50%);
}

.slider-content .home-slider .product-offer-mode .slider-text-content {
    width: 41.67%;
    margin-right: auto;
    text-align: left;
}

.slider-content .home-slider .product-offer-mode .sub-title,
.slider-content .home-slider .slider-image .slider-text-info span.sub-title {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(8, 186, 241, 0.12), rgba(101, 76, 240, 0.16));
    border: 1px solid rgba(101, 76, 240, 0.35);
    border-radius: 50px;
    color: #5b41de;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(91, 65, 222, 0.12);
}

.slider-content .home-slider .product-offer-mode h2 {
    margin: 0;
    color: var(--heading-font-color);
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
}

.slider-content .home-slider .product-offer-mode h2 span {
    display: block;
    color: inherit;
    font: inherit;
}

.slider-content .home-slider .product-offer-mode .btn-block {
    position: relative;
    display: inline-flex;
    width: auto;
    min-width: 158px;
    height: 52px;
    align-items: center;
    justify-content: center;
    margin-top: 75px;
    padding: 0 22px;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(105deg, #08baf1 0%, #654cf0 58%, #ed24bd 100%);
    box-shadow: 0 14px 30px rgba(91, 65, 222, .24);
    transition: color .25s ease, background .25s ease, border-color .25s ease,
        box-shadow .25s ease, transform .25s ease;
}

.slider-content .home-slider .product-offer-mode .btn-block .shopnow {
    position: static;
    display: inline-flex;
    align-items: center;
    width: auto;
    transform: none;
    border: 0;
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.slider-content .home-slider .product-offer-mode .btn-block .shopnow::after {
    margin-left: 12px;
    font-family: feather !important;
    font-size: 17px;
    font-weight: 400;
    content: "\e912";
    transition: transform .25s ease;
}

.slider-content .home-slider .product-offer-mode .btn-block:hover {
    color: #fff;
    background: linear-gradient(105deg, #ed24bd 0%, #654cf0 58%, #08baf1 100%);
    box-shadow: 0 18px 36px rgba(91, 65, 222, .28);
    transform: translateY(-3px);
}

.slider-content .home-slider .product-offer-mode .btn-block:hover .shopnow::after {
    transform: translateX(4px);
}

.slider-content .home-slider .product-offer-mode .btn-block:focus-visible {
    outline: 3px solid rgba(102, 76, 240, .28);
    outline-offset: 4px;
}

.backend-offer-shape {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: max(5%, calc((100vw - 1320px) / 2));
    width: min(42vw, 600px);
    aspect-ratio: 1;
    transform: translateY(-50%);
    border: 1px solid rgba(76, 93, 210, .14);
    border-radius: 50%;
    box-shadow: 0 0 0 55px rgba(77, 125, 230, .04), 0 0 0 110px rgba(77, 125, 230, .025);
}

.slider-content .home-slider .product-offer-mode .backend-product-image {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: max(5%, calc((100vw - 1320px) / 2));
    width: 620px;
    height: 620px;
    max-width: 48vw;
    max-height: calc(100% - 30px);
    transform: translateY(-50%);
    object-fit: contain;
    object-position: center;
}

/* Full Banner mode. */
.banner-image-mode {
    background-position: center;
    background-size: cover;
}

.backend-banner-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 6, 15, .62), rgba(4, 6, 15, .14) 55%, transparent);
}

.banner-image-mode .slider-text-info {
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-image-mode .slider-text-content {
    width: min(900px, 90%);
    margin: 0 auto;
    text-align: center;
}

.banner-image-mode .slider-text-content h2,
.banner-image-mode .slider-text-content h2 span {
    color: #fff;
    text-shadow: 0 5px 24px rgba(0, 0, 0, .35);
}

.banner-mode-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 26px;
}

.banner-mode-actions a {
    display: inline-flex;
    min-width: 130px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.banner-shop-button {
    color: #fff !important;
    background: linear-gradient(100deg, #00bfff, #6350f2 58%, #ed24bd);
}

.banner-contact-button {
    border: 2px solid rgba(255, 255, 255, .92);
    color: #fff !important;
    background: rgba(4, 6, 15, .18);
    backdrop-filter: blur(6px);
}

.banner-mode-actions a:hover {
    transform: translateY(-2px);
}

.banner-shop-button:hover,
.banner-contact-button:hover {
    color: #fff !important;
    background: linear-gradient(100deg, #ed24bd, #6037dc 58%, #0577df);
}

@media (max-width: 1499px) {
    .slider-content .home-slider .product-offer-mode h2 {
        font-size: 70px;
    }

    .slider-content .home-slider .product-offer-mode .btn-block {
        margin-top: 59px;
    }
}

@media (max-width: 1199px) {
    .slider-content .home-slider .product-offer-mode h2 {
        font-size: 60px;
    }

    .slider-content .home-slider .product-offer-mode .btn-block {
        margin-top: 40px;
    }

    .slider-content .home-slider .product-offer-mode .backend-product-image {
        width: 500px;
        height: 500px;
    }
}

@media (max-width: 991px) {
    .slider-content .home-slider .product-offer-mode .sub-title {
        margin-bottom: 17px;
    }

    .slider-content .home-slider .product-offer-mode h2 {
        font-size: 40px;
    }

    .slider-content .home-slider .product-offer-mode .btn-block {
        min-width: 145px;
        height: 48px;
        margin-top: 25px;
    }
}

@media (max-width: 767px) {
    .backend-home-banner {
        min-height: 500px;
    }

    .slider-content .home-slider .product-offer-mode .slider-text-info {
        top: 12%;
        transform: none;
    }

    .slider-content .home-slider .product-offer-mode .slider-text-content {
        width: 58%;
    }

    .slider-content .home-slider .product-offer-mode .sub-title,
    .slider-content .home-slider .slider-image .slider-text-info span.sub-title {
        margin-bottom: 12px;
        padding: 5px 14px;
        font-size: 12px;
    }

    .slider-content .home-slider .product-offer-mode h2 {
        font-size: 30px;
    }

    .slider-content .home-slider .product-offer-mode .btn-block {
        min-width: 132px;
        height: 44px;
        margin-top: 20px;
        padding: 0 17px;
    }

    .slider-content .home-slider .product-offer-mode .backend-product-image {
        top: 61%;
        left: 50%;
        right: auto;
        bottom: auto;
        width: 86%;
        height: 225px;
        max-width: 360px;
        max-height: 46%;
        transform: translate(-50%, -50%);
        object-fit: contain;
        object-position: center;
    }

    .backend-offer-shape {
        top: 61%;
        left: 50%;
        right: auto;
        bottom: auto;
        width: min(74vw, 290px);
        transform: translate(-50%, -50%);
    }

    .banner-mode-actions {
        flex-wrap: wrap;
        margin-top: 20px;
    }

    .banner-mode-actions a {
        min-width: 120px;
        min-height: 44px;
        padding: 9px 17px;
    }

    .backend-banner-overlay {
        background: rgba(4, 6, 15, .4);
    }
}

@media (max-width: 479px) {
    .slider-content .home-slider .product-offer-mode h2 {
        font-size: 26px;
    }

    .slider-content .home-slider .product-offer-mode .btn-block .shopnow {
        font-size: 13px;
    }

    .slider-content .home-slider .product-offer-mode .backend-product-image {
        width: 90%;
        max-width: 320px;
        height: 210px;
    }

    .backend-offer-shape {
        width: min(78vw, 260px);
    }
}

/* Keep the Offer Zone CTA rectangular despite the theme's circular btn-block rules. */
.slider-content .home-slider .slider-image.product-offer-mode .slider-text-info a.btn-block {
    display: inline-flex !important;
    width: auto !important;
    min-width: 158px !important;
    height: 52px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 22px !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 12px !important;
    color: #fff !important;
    background: linear-gradient(105deg, #08baf1 0%, #654cf0 58%, #ed24bd 100%) !important;
}

.slider-content .home-slider .slider-image.product-offer-mode .slider-text-info a.btn-block span.shopnow {
    position: static !important;
    display: inline-flex !important;
    width: auto !important;
    align-items: center !important;
    transform: none !important;
    border: 0 !important;
    color: #fff !important;
}

.slider-content .home-slider .slider-image.product-offer-mode .slider-text-info a.btn-block:hover {
    color: #fff !important;
    background: linear-gradient(105deg, #ed24bd 0%, #654cf0 58%, #08baf1 100%) !important;
}

@media (max-width: 991px) {
    .slider-content .home-slider .slider-image.product-offer-mode .slider-text-info a.btn-block {
        min-width: 145px !important;
        height: 48px !important;
    }
}

@media (max-width: 767px) {
    .slider-content .home-slider .slider-image.product-offer-mode .slider-text-info a.btn-block {
        min-width: 132px !important;
        height: 44px !important;
        padding: 0 17px !important;
    }
}

/* Homepage Hero Banner Left & Right Arrow Navigation */
.slider-content .home-slider.owl-carousel .owl-nav {
    position: absolute !important;
    top: 28% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    pointer-events: none !important;
    z-index: 100 !important;
    transform: translateY(-50%) !important;
}

.slider-content .home-slider.owl-carousel .owl-nav button,
.slider-content .home-slider.owl-carousel .owl-nav button.owl-prev,
.slider-content .home-slider.owl-carousel .owl-nav button.owl-next {
    position: absolute !important;
    top: 28% !important;
    transform: translateY(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1.5px solid rgba(8, 186, 241, 0.45) !important;
    border-radius: 50% !important;
    background: rgba(18, 21, 43, 0.65) !important;
    backdrop-filter: blur(8px) !important;
    color: #ffffff !important;
    font-size: 20px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.slider-content .home-slider.owl-carousel .owl-nav button.owl-prev {
    left: 20px !important;
    right: auto !important;
}

.slider-content .home-slider.owl-carousel .owl-nav button.owl-next {
    right: 20px !important;
    left: auto !important;
}

.slider-content .home-slider.owl-carousel .owl-nav button:hover {
    border-color: #654cf0 !important;
    background: linear-gradient(135deg, #08baf1, #654cf0 60%, #ed24bd) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 28px rgba(101, 76, 240, 0.45) !important;
    transform: translateY(-50%) scale(1.08) !important;
}

.slider-content .home-slider.owl-carousel .owl-nav button i,
.slider-content .home-slider.owl-carousel .owl-nav button span {
    color: #ffffff !important;
    font-size: 20px !important;
    line-height: 1 !important;
}

@media (max-width: 767px) {
    .slider-content .home-slider.owl-carousel .owl-nav {
        position: absolute !important;
        top: auto !important;
        bottom: 20px !important;
        left: 20px !important;
        right: auto !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        transform: none !important;
        pointer-events: none !important;
        z-index: 100 !important;
    }

    .slider-content .home-slider.owl-carousel .owl-nav button,
    .slider-content .home-slider.owl-carousel .owl-nav button.owl-prev,
    .slider-content .home-slider.owl-carousel .owl-nav button.owl-next {
        position: static !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        height: 42px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1.5px solid rgba(8, 186, 241, 0.45) !important;
        border-radius: 50% !important;
        background: rgba(18, 21, 43, 0.65) !important;
        backdrop-filter: blur(8px) !important;
        color: #ffffff !important;
        font-size: 16px !important;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        transition: all 0.25s ease !important;
    }

    .slider-content .home-slider.owl-carousel .owl-nav button:hover,
    .slider-content .home-slider.owl-carousel .owl-nav button:active {
        border-color: #654cf0 !important;
        background: linear-gradient(135deg, #08baf1, #654cf0 60%, #ed24bd) !important;
        color: #ffffff !important;
        box-shadow: 0 8px 22px rgba(101, 76, 240, 0.45) !important;
        transform: scale(1.08) !important;
    }

    .slider-content .home-slider.owl-carousel .owl-nav button i,
    .slider-content .home-slider.owl-carousel .owl-nav button span {
        color: #ffffff !important;
        font-size: 16px !important;
        line-height: 1 !important;
    }
}

@media (max-width: 479px) {
    .slider-content .home-slider.owl-carousel .owl-nav {
        bottom: 16px !important;
        left: 16px !important;
        gap: 8px !important;
    }

    .slider-content .home-slider.owl-carousel .owl-nav button,
    .slider-content .home-slider.owl-carousel .owl-nav button.owl-prev,
    .slider-content .home-slider.owl-carousel .owl-nav button.owl-next {
        width: 38px !important;
        height: 38px !important;
        font-size: 15px !important;
    }
}
