/* =========================
    BANNER
========================= */

.ecommerce-slider {
    width: 100%;
    overflow: hidden;
}

.promo-slide {
    min-height: 480px;
    background: #fff;
}

.promo-content {
    height: 100%;
    min-height: 480px;
    position: relative;
}

/* =========================
    MAIN PRODUCT AREA
========================= */

.main-promo {
    position: relative;
    min-height: 548px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #f7f7f7;
}

.main-promo-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.main-promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, .96) 0%,
            rgba(255, 255, 255, .84) 35%,
            rgba(255, 255, 255, .05) 75%);
}

.main-promo-text {
    position: relative;
    z-index: 2;
    width: 52%;
    padding: 50px;
}

.small-heading {
    color: var(--text-muted);
    font-size: clamp(18px, 2vw, 28px);
    line-height: 1.2;
    margin-bottom: 8px;
}

.main-title {
    color: var(--primary);
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 20px;
}

.price-label {
    color: var(--text-muted);
    font-size: 20px;
    margin-right: 8px;
}

.price {
    color: #111;
    font-size: 38px;
    font-weight: 700;
}

.shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    padding: 13px 36px;
    min-width: 165px;
    border: 0;
    border-radius: 30px;
    background: #bdbdbd;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: .25s ease;
}

.shop-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* =========================
    RIGHT PROMOS
========================= */

.side-promos {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.side-promo {
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.phone-promo {
    min-height: 240px;
}

.side-promo-content {
    position: relative;
    z-index: 2;
    padding: 35px;
    height: 100%;
}

.sale-promo {
    background: linear-gradient(135deg, #08a0dc, #0787c3);
    color: #fff;
    min-height: 308px;
}

.side-label {
    color: #888;
    font-size: 20px;
    margin-bottom: 3px;
}

.side-title {
    color: var(--primary);
    font-size: 34px;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 10px;
}

.side-price {
    color: #222;
    font-size: 32px;
    font-weight: 700;
}

.phone-image {
    position: absolute;
    right: 4%;
    bottom: 0;
    width: 42%;
    max-width: 180px;
    height: 90%;
    object-fit: contain;
    z-index: 1;
}

.sale-promo::before {
    content: "SALE  SALE  SALE  SALE  SALE";
    position: absolute;
    inset: 0;
    color: rgba(255, 255, 255, .07);
    font-size: 50px;
    line-height: 1.5;
    font-weight: 700;
    transform: rotate(-15deg);
    word-spacing: 25px;
}

.sale-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 45px 25px;
}

.sale-title {
    font-size: 36px;
    margin-bottom: 12px;
}

.sale-title strong {
    color: #000;
}

.sale-description {
    font-size: 20px;
    line-height: 1.4;
    color: rgba(255, 255, 255, .75);
    max-width: 430px;
    margin: 0 auto 25px;
}

.sale-btn {
    display: inline-block;
    background: #087eb4;
    color: #fff;
    padding: 14px 40px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: .25s ease;
}

.sale-btn:hover {
    background: #fff;
    color: #087eb4;
}

/* =========================
           CAROUSEL CONTROLS
        ========================= */

.carousel-control-prev,
.carousel-control-next {
    width: 45px;
    height: 45px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, .35);
    border-radius: 50%;
    opacity: 0;
    margin: 0 15px;
    transition: .25s ease;
}

.ecommerce-slider:hover .carousel-control-prev,
.ecommerce-slider:hover .carousel-control-next {
    opacity: 1;
}

.carousel-indicators {
    margin-bottom: 12px;
}

.carousel-indicators button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
}

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

@media (max-width: 991.98px) {

    .promo-slide,
    .promo-content {
        min-height: auto;
    }

    .main-promo {
        min-height: 430px;
    }

    .main-promo-text {
        width: 65%;
        padding: 35px;
    }

    .side-promo {
        min-height: 230px;
    }

    .side-title {
        font-size: 28px;
    }
}

@media (max-width: 767.98px) {

    .main-promo {
        min-height: 420px;
    }

    .main-promo-bg {
        object-position: 65% center;
    }

    .main-promo-overlay {
        background: linear-gradient(90deg,
                rgba(255, 255, 255, .97) 0%,
                rgba(255, 255, 255, .88) 55%,
                rgba(255, 255, 255, .15) 100%);
    }

    .main-promo-text {
        width: 75%;
        padding: 30px 25px;
    }

    .small-heading {
        font-size: 17px;
    }

    .main-title {
        font-size: 34px;
    }

    .price {
        font-size: 30px;
    }

    .price-label {
        font-size: 17px;
    }

    .shop-btn {
        padding: 11px 28px;
        margin-top: 18px;
    }

    .side-promos {
        flex-direction: row;
    }

    .side-promo {
        width: 50%;
        min-height: 240px;
    }

    .side-promo-content {
        padding: 25px 18px;
    }

    .side-label {
        font-size: 16px;
    }

    .side-title {
        font-size: 24px;
    }

    .side-price {
        font-size: 25px;
    }

    .phone-image {
        opacity: .45;
        width: 50%;
    }

    .sale-content {
        padding: 30px 15px;
    }

    .sale-title {
        font-size: 26px;
    }

    .sale-description {
        font-size: 15px;
    }

    .sale-btn {
        padding: 11px 25px;
    }
}

@media (max-width: 480px) {

    .main-promo {
        min-height: 390px;
    }

    .main-promo-text {
        width: 90%;
        padding: 25px 20px;
    }

    .main-title {
        font-size: 30px;
    }

    .side-promos {
        flex-direction: column;
    }

    .side-promo {
        width: 100%;
        min-height: 220px;
    }

    .phone-image {
        opacity: .35;
    }
}