
/* EPICBARGAINS247 HOMEPAGE SECTION REDESIGN V1 */

/* ========================================
   SMART LIVING PROMOTIONAL BANNER
======================================== */

.epic-smart-promo {
    width: 100%;
    padding: 28px 16px;
    box-sizing: border-box;
}

.epic-smart-promo-inner {
    position: relative;
    display: grid;
    grid-template-columns: 48% 52%;
    align-items: center;
    min-height: 390px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 6%;
    overflow: hidden;
    border-radius: 16px;
    background:
        radial-gradient(
            ellipse at 80% 65%,
            rgba(42, 87, 116, .45),
            transparent 52%
        ),
        linear-gradient(
            120deg,
            #10151e 0%,
            #192433 55%,
            #10141c 100%
        );
    box-sizing: border-box;
}

.epic-smart-content {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.epic-smart-eyebrow {
    display: block;
    margin-bottom: 18px;
    color: #ffd34d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.epic-smart-content h2 {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(32px, 3.5vw, 58px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.epic-smart-content h2 span {
    display: block;
    color: #ffd34d;
}

.epic-smart-content p {
    max-width: 430px;
    margin: 0 0 28px;
    color: #d0d7df;
    font-size: 16px;
    line-height: 1.6;
}

.epic-smart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 22px;
    border-radius: 40px;
    background: #ffd34d;
    color: #151515 !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease;
}

.epic-smart-button:hover {
    transform: translateY(-2px);
}

.epic-smart-visual {
    position: relative;
    height: 320px;
    min-width: 0;
}

.epic-smart-glow {
    position: absolute;
    width: 80%;
    height: 90%;
    top: 5%;
    left: 10%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(67, 127, 165, .3),
        transparent 70%
    );
}

.epic-smart-product {
    position: absolute;
    max-width: none;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 18px rgba(0,0,0,.35));
}

.epic-smart-product-one {
    width: 48%;
    left: 3%;
    bottom: 5%;
    z-index: 2;
}

.epic-smart-product-two {
    width: 55%;
    left: 27%;
    bottom: 2%;
    z-index: 3;
}

.epic-smart-product-three {
    width: 43%;
    right: 0;
    bottom: 8%;
    z-index: 2;
}

/* ========================================
   DARK BRAND LOGO SLIDER
======================================== */

.rts-brands-section1.brand-bg3 {
    background: linear-gradient(
        120deg,
        #17191f 0%,
        #232730 50%,
        #17191f 100%
    ) !important;

    background-image: none !important;
    padding-top: 28px !important;
    padding-bottom: 28px !important;
    min-height: 0 !important;
}

.rts-brands-section1.brand-bg3 .swiper {
    background: transparent !important;
}

.rts-brands-section1.brand-bg3 .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rts-brands-section1.brand-bg3 .brand-front {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rts-brands-section1.brand-bg3 .brand-front img {
    max-height: 85px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 991px) {
    .epic-smart-promo-inner {
        min-height: 330px;
        padding: 30px 5%;
    }

    .epic-smart-visual {
        height: 260px;
    }

    .epic-smart-content h2 {
        font-size: clamp(28px, 4vw, 42px);
    }
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 575px) {
    .epic-smart-promo {
        padding: 16px;
    }

    .epic-smart-promo-inner {
        grid-template-columns: 55% 45%;
        min-height: 230px;
        padding: 20px 14px;
        border-radius: 12px;
    }

    .epic-smart-eyebrow {
        font-size: 8px;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }

    .epic-smart-content h2 {
        font-size: clamp(19px, 5.1vw, 26px);
        line-height: 1.12;
        letter-spacing: -.5px;
        margin-bottom: 12px;
    }

    .epic-smart-content p {
        font-size: 10px;
        line-height: 1.45;
        margin-bottom: 15px;
    }

    .epic-smart-button {
        padding: 10px 12px;
        gap: 5px;
        font-size: 9px;
        line-height: 1.2;
    }

    .epic-smart-visual {
        height: 190px;
    }

    .epic-smart-product-one {
        width: 65%;
        left: -5%;
        bottom: 10%;
    }

    .epic-smart-product-two {
        width: 75%;
        left: 15%;
        bottom: 5%;
    }

    .epic-smart-product-three {
        width: 55%;
        right: -10%;
        bottom: 18%;
    }

    .rts-brands-section1.brand-bg3 {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .rts-brands-section1.brand-bg3 .brand-front img {
        max-width: 120px;
        max-height: 65px;
    }
}


/* EPIC BRAND DARK BACKGROUND V2 */

/* Force the brand section and its inner wrappers to use dark backgrounds */
.rts-brands-section1.brand-bg3,
.rts-brands-section1.brand-bg3 .container,
.rts-brands-section1.brand-bg3 .brands-section-inner,
.rts-brands-section1.brand-bg3 .slider-div,
.rts-brands-section1.brand-bg3 .swiper,
.rts-brands-section1.brand-bg3 .swiper-wrapper,
.rts-brands-section1.brand-bg3 .swiper-slide {
    background: #17191f !important;
    background-image: none !important;
}

/* Keep the section compact */
.rts-brands-section1.brand-bg3 {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    min-height: 0 !important;
    height: auto !important;
}

/* Center the existing logos */
.rts-brands-section1.brand-bg3 .swiper-slide,
.rts-brands-section1.brand-bg3 .brand-front {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Preserve logo transparency and original colours */
.rts-brands-section1.brand-bg3 img {
    opacity: 1 !important;
    filter: none !important;
    max-height: 85px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* Mobile adjustments */
@media (max-width: 575px) {
    .rts-brands-section1.brand-bg3 {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .rts-brands-section1.brand-bg3 img {
        max-height: 60px !important;
        max-width: 120px !important;
    }
}


/* EPIC PREMIUM BRANDS SECTION V3 */

.rts-brands-section1.brand-bg3 {
    min-height: 340px !important;
    height: auto !important;
    padding: 55px 0 55px !important;
    background: #17191f !important;
    background-image: none !important;
    box-sizing: border-box !important;
}

.rts-brands-section1.brand-bg3 .epic-brands-heading {
    width: 100%;
    text-align: center;
    margin: 0 auto 45px;
    padding: 0 20px;
    box-sizing: border-box;
}

.rts-brands-section1.brand-bg3 .epic-brands-heading h2 {
    margin: 0;
    color: #ffffff !important;
    font-size: clamp(25px, 2.5vw, 40px);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -.5px;
}

.rts-brands-section1.brand-bg3 .epic-brands-heading h2 span {
    color: #ffd34d !important;
}

.rts-brands-section1.brand-bg3 .slider-div {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.rts-brands-section1.brand-bg3 .swiper-slide {
    min-height: 105px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.rts-brands-section1.brand-bg3 .brand-front img {
    max-height: 95px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* Mobile */
@media (max-width: 575px) {
    .rts-brands-section1.brand-bg3 {
        min-height: 250px !important;
        padding: 38px 0 35px !important;
    }

    .rts-brands-section1.brand-bg3 .epic-brands-heading {
        margin-bottom: 28px;
        padding: 0 18px;
    }

    .rts-brands-section1.brand-bg3 .epic-brands-heading h2 {
        font-size: 20px;
        line-height: 1.4;
    }

    .rts-brands-section1.brand-bg3 .epic-brands-heading h2 span {
        display: block;
    }

    .rts-brands-section1.brand-bg3 .swiper-slide {
        min-height: 75px;
    }

    .rts-brands-section1.brand-bg3 .brand-front img {
        max-height: 65px !important;
        max-width: 120px !important;
    }
}


/* EPIC BRANDS REFINEMENT V4 */

.rts-brands-section1.brand-bg3 {
    position: relative;
    min-height: 280px !important;
    height: auto !important;
    padding: 40px 0 38px !important;
    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 15% 20%,
            rgba(45, 89, 145, .38),
            transparent 45%
        ),
        radial-gradient(
            ellipse at 85% 80%,
            rgba(40, 70, 110, .32),
            transparent 45%
        ),
        linear-gradient(
            115deg,
            #10151e 0%,
            #1c293b 50%,
            #10151e 100%
        ) !important;

    background-image:
        radial-gradient(
            ellipse at 15% 20%,
            rgba(45, 89, 145, .38),
            transparent 45%
        ),
        radial-gradient(
            ellipse at 85% 80%,
            rgba(40, 70, 110, .32),
            transparent 45%
        ),
        linear-gradient(
            115deg,
            #10151e,
            #1c293b,
            #10151e
        ) !important;
}

.rts-brands-section1.brand-bg3 .container,
.rts-brands-section1.brand-bg3 .slider-div,
.rts-brands-section1.brand-bg3 .swiper,
.rts-brands-section1.brand-bg3 .swiper-wrapper,
.rts-brands-section1.brand-bg3 .swiper-slide {
    background: transparent !important;
    background-image: none !important;
}

.rts-brands-section1.brand-bg3 .epic-brands-heading {
    position: relative;
    z-index: 2;
    margin: 0 auto 28px !important;
    padding: 0 18px;
    text-align: center;
}

.rts-brands-section1.brand-bg3 .epic-brands-heading h2 {
    font-size: clamp(25px, 2.3vw, 36px) !important;
    line-height: 1.3;
}

.rts-brands-section1.brand-bg3 .slider-div {
    padding: 5px 0 !important;
}

.rts-brands-section1.brand-bg3 .swiper-slide {
    min-height: 95px !important;
}

.rts-brands-section1.brand-bg3 .brand-front img {
    max-height: 85px !important;
    max-width: 180px !important;
    width: auto !important;
    object-fit: contain;
}

/* MOBILE */

@media (max-width: 575px) {

    .rts-brands-section1.brand-bg3 {
        min-height: 190px !important;
        padding: 26px 0 24px !important;
    }

    .rts-brands-section1.brand-bg3 .epic-brands-heading {
        margin-bottom: 18px !important;
    }

    .rts-brands-section1.brand-bg3 .epic-brands-heading h2 {
        font-size: 18px !important;
        line-height: 1.35;
    }

    .rts-brands-section1.brand-bg3 .swiper-slide {
        min-height: 65px !important;
    }

    .rts-brands-section1.brand-bg3 .brand-front img {
        max-height: 55px !important;
        max-width: 135px !important;
    }
}
