/* Discount products widget */
.elementor .e-con:has(.elementor-widget-mihanjs_discount_products) {
    padding: 0;
    gap: 0;
    width: 100%;
    max-width: 100%;
}

.elementor .e-con.e-con-boxed:has(.elementor-widget-mihanjs_discount_products) > .e-con-inner {
    width: 100%;
    max-width: 100%;
    padding: 0;
    gap: 0;
}

.elementor-widget-mihanjs_discount_products,
.elementor-widget-mihanjs_discount_products > .elementor-widget-container {
    width: 100%;
    max-width: 100%;
}

.elementor .mihanjs_discount-showcase img,
.mihanjs_discount-showcase img {
    max-width: none;
    border: none;
    box-shadow: none;
}

.mihanjs_discount-showcase .mihanjs_section-discount-product {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 40px;
    padding-top: 80px;
    padding-bottom: 16px;
    margin-bottom: 200px;
    min-width: 0;
    max-width: 100%;
}

.mihanjs_discount-showcase .mihanjs_bg-section-discount-product {
    background: var(--secondry-500);
    border-radius: 56px;
    position: absolute;
    top: 48px;
    right: 0;
    left: 120px;
    bottom: 16px;
    overflow: hidden;
    box-shadow: inset 0 0 15px var(--white-50);
    z-index: 0;
    pointer-events: none;
    height: 354px;
}

.mihanjs_discount-showcase img.mihanjs_vactor-discount-section-1 {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.mihanjs_discount-showcase img.mihanjs_vactor-discount-section-2 {
    position: absolute;
    left: 20px;
    top: -25px;
    -webkit-mask-image: linear-gradient(transparent 0%, #000 22%, #000 78%, transparent 100%);
    mask-image: linear-gradient(transparent 0%, #000 30%, #000 80%, transparent 100%);
}

.mihanjs_discount-showcase img.mihanjs_vactor-discount-section-3 {
    position: absolute;
    width: 154px;
    height: 154px;
    top: 100px;
    right: -92px;
    object-fit: contain;
}

.mihanjs_discount-showcase img.mihanjs_vactor-discount-section-4 {
    position: absolute;
    width: 154px;
    height: 154px;
    object-fit: contain;
    left: 170px;
    bottom: -35px;
}

.mihanjs_discount-showcase i.mihanjs_icon-discount-1,
.mihanjs_discount-showcase i.mihanjs_icon-discount-2,
.mihanjs_discount-showcase i.mihanjs_icon-discount-3,
.mihanjs_discount-showcase i.mihanjs_icon-discount-4,
.mihanjs_discount-showcase i.mihanjs_icon-discount-5 {
    position: absolute;
    color: var(--secondry-400);
    font-size: 35px;
}

.mihanjs_discount-showcase i.mihanjs_icon-discount-1 {
    right: 10%;
    bottom: 2%;
}

.mihanjs_discount-showcase i.mihanjs_icon-discount-2 {
    right: 34%;
    top: 60%;
}

.mihanjs_discount-showcase i.mihanjs_icon-discount-3 {
    right: 45%;
    top: 20%;
}

.mihanjs_discount-showcase i.mihanjs_icon-discount-4 {
    right: 47%;
    bottom: 15%;
}

.mihanjs_discount-showcase i.mihanjs_icon-discount-5 {
    left: 36%;
    top: 52%;
}

.mihanjs_discount-showcase .mihanjs_product-discount {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 254px;
    padding: 12px 56px 8px 0;
    flex-shrink: 0;
}

.mihanjs_discount-showcase .mihanjs_counter-discount-product-info h3 {
    color: var(--white-50);
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 20px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 32px;
}

.mihanjs_discount-showcase .mihanjs_counter-discount-product-info h3 i {
    color: var(--white-50);
    font-size: 30px;
}

.mihanjs_discount-showcase .mihanjs_counter-discount-product {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: nowrap;
}

.mihanjs_discount-showcase .mihanjs_time-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.mihanjs_discount-showcase .mihanjs_numbers-wrapper {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
}

.mihanjs_discount-showcase .mihanjs_number-box {
    background-color: var(--white-50);
    color: var(--secondry-900);
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
}

.mihanjs_discount-showcase .mihanjs_label {
    font-size: 18px;
    color: var(--white-50);
    font-weight: normal;
}

.mihanjs_discount-showcase .mihanjs_more-item-product {
    display: flex;
    gap: 24px;
    align-items: center;
    white-space: nowrap;
}

.mihanjs_discount-showcase .mihanjs_more-item-product a {
    font-size: 16px;
    font-weight: 600;
    color: var(--white-50);
    text-decoration: none;
}

.mihanjs_discount-showcase span.mihanjs_sepratot-more {
    border-left: 1px solid var(--white-50);
    height: 32px;
}

.mihanjs_discount-showcase .mihanjs_more-item-product i.mihanjs_discount-slider-prev,
.mihanjs_discount-showcase .mihanjs_more-item-product i.mihanjs_discount-slider-next {
    width: 46px;
    height: 46px;
    background: var(--white-50);
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    color: var(--secondry-500);
    cursor: pointer;
}

.mihanjs_discount-showcase .mihanjs_more-item-product i.mihanjs_discount-slider-prev:hover,
.mihanjs_discount-showcase .mihanjs_more-item-product i.mihanjs_discount-slider-next:hover {
    background: var(--primary-500);
    color: var(--white-50);
    box-shadow: inset 0 0 10px var(--white-50);
}

.mihanjs_discount-showcase .mihanjs_list-product-discount-items {
    position: relative;
    z-index: 3;
    flex: 1;
    min-width: 0;
    width: auto;
    top: 150px;
    overflow: hidden;
    padding-top: 80px;
    margin-top: -80px;
    container-type: inline-size;
    touch-action: pan-y;
}

.mihanjs_discount-showcase .mihanjs_list-product-discount-track {
    --mihanjs-discount-gap: 20px;
    display: flex;
    gap: var(--mihanjs-discount-gap);
    flex-wrap: nowrap;
}

.mihanjs_discount-showcase .mihanjs_product-item {
    display: flex;
    flex-direction: column;
    background: var(--white-100);
    border: 1px solid var(--gray-100);
    border-radius: 24px;
    width: calc((100cqi - (var(--mihanjs-discount-gap) * 2)) / 3);
    height: 254px;
    padding: 90px 16px 16px 16px;
    justify-content: space-between;
    position: relative;
    flex-shrink: 0;
    gap: 0;
}

.mihanjs_discount-showcase .mihanjs_product-item-image {
    position: absolute;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    width: min(216px, calc(100% - 32px));
    height: 131px;
    border-radius: 16px;
    padding: 10px;
    display: flex;
    justify-content: center;
    top: -75px;
    left: 50%;
    transform: translateX(-50%);
}

.mihanjs_discount-showcase span.mihanjs_discount-product {
    position: absolute;
    left: 10px;
    display: grid;
    place-items: center;
}

.mihanjs_discount-showcase span.mihanjs_discount-product p {
    grid-area: 1 / 1;
    z-index: 2;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    color: var(--white-50);
    font-size: 14px;
    font-weight: 600;
}

.mihanjs_discount-showcase span.mihanjs_discount-product img {
    grid-area: 1 / 1;
    width: 46px;
    height: 46px;
    margin: 0;
    object-fit: contain;
}

.elementor .mihanjs_discount-showcase img.mihanjs_img-product,
.mihanjs_discount-showcase img.mihanjs_img-product {
    width: 114px;
    height: 125px;
    max-width: none;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    object-fit: contain;
    z-index: 1;
    position: absolute;
    bottom: -30px;
}

.mihanjs_discount-showcase img.mohanjs_vector-img-product {
    position: absolute;
    width: 121px;
    object-fit: contain;
    bottom: -1px;
    z-index: 0;
}

.mihanjs_discount-showcase .mihanjs_object-product {
    position: absolute;
    right: 10px;
}

.mihanjs_discount-showcase .mihanjs_object-product span {
    display: block;
    width: 10px;
    height: 10px;
    border: 1px solid var(--white-100);
    border-radius: 50px;
    position: absolute;
}

.mihanjs_discount-showcase .mihanjs_object-product span:nth-child(1) {
    background: var(--success-500);
    z-index: 0;
    top: 0;
}

.mihanjs_discount-showcase .mihanjs_object-product span:nth-child(2) {
    background: var(--secondry-500);
    z-index: 1;
    top: 6px;
}

.mihanjs_discount-showcase .mihanjs_object-product span:nth-child(3) {
    background: #cb30e0;
    z-index: 2;
    top: 12px;
}

.mihanjs_discount-showcase .mihanjs_list-product-discount-items a {
    text-decoration: none;
}

.mihanjs_discount-showcase .mihanjs_product-item h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: var(--primary-500);
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 23px;
}

.mihanjs_discount-showcase .mihanjs_product-item-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mihanjs_discount-showcase .mihanjs_product-item-price del {
    position: relative;
    color: var(--gray-700);
    text-decoration: none;
}

.mihanjs_discount-showcase .mihanjs_product-item-price del::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 1.5px solid currentColor;
    transform: rotate(-12deg);
}

.mihanjs_discount-showcase .mihanjs_product-item-price span {
    color: var(--primary-200);
    font-size: 14px;
}

.mihanjs_discount-showcase .mihanjs_product-item-price span ins {
    color: var(--secondry-500);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.mihanjs_discount-showcase span.mihanjs_line-product {
    border-bottom: 1px solid var(--primary-50);
}

.mihanjs_discount-showcase span.mihanjs_line-product::before {
    content: "";
    position: absolute;
    border: 4px solid var(--primary-50);
    border-radius: 50px;
    left: 16px;
    bottom: 75px;
}

.mihanjs_discount-showcase .mihanjs_btns-product {
    display: flex;
    justify-content: center;
    gap: 12px;
    align-items: center;
}

.mihanjs_discount-showcase .mihanjs_btns-product a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid var(--secondry-500);
    width: 44px;
    height: 44px;
    border-radius: 50px;
    position: relative;
    background: transparent;
}

.mihanjs_discount-showcase .mihanjs_btns-product a i {
    color: var(--secondry-500);
    font-size: 19px;
}

.mihanjs_discount-showcase .mihanjs_btns-product a i.mihanjs_add-icon-cart {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--primary-900);
    color: var(--white-50);
    border: 1px solid var(--white-50);
    border-radius: 50px;
    box-shadow: inset 0 0 3px var(--white-50);
}

.mihanjs_discount-showcase .mihanjs_btns-product a:hover {
    background: var(--secondry-500);
}

.mihanjs_discount-showcase .mihanjs_btns-product a:hover i,
.mihanjs_discount-showcase .mihanjs_btns-product a:hover i.mihanjs_add-icon-cart {
    color: var(--white-50);
}

.mihanjs_discount-showcase .mihanjs_discount-empty {
    margin: 0;
    color: var(--white-50);
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 1024px) {
    .mihanjs_discount-showcase .mihanjs_bg-section-discount-product {
        width: 100%;
        left: 0;
        height: 537px;
    }

    .mihanjs_discount-showcase .mihanjs_section-discount-product {
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
        padding-top: 48px;
    }

    .mihanjs_discount-showcase img.mihanjs_vactor-discount-section-2 {
        left: 17%;
        top: -75px;
        -webkit-mask-image: linear-gradient(transparent 0%, #000 18%, #000 45%, transparent 95%);
        mask-image: linear-gradient(transparent 0%, #000 18%, #000 45%, transparent 95%);
    }

    .mihanjs_discount-showcase img.mihanjs_vactor-discount-section-3 {
        top: 275px;
        right: 19px;
    }

    .mihanjs_discount-showcase .mihanjs_hide-below-1024 {
        display: none;
    }

    .mihanjs_discount-showcase .mihanjs_product-discount {
        padding: 12px 0 8px 0;
        align-items: center;
    }

    .mihanjs_discount-showcase .mihanjs_counter-discount-product-info h3 {
        justify-content: center;
    }

    .mihanjs_discount-showcase .mihanjs_list-product-discount-items {
        width: 100%;
        align-self: stretch;
        flex: none;
        top: 0;
        margin-top: -14px;
        padding: 80px 20px 0 20px;
    }

    .mihanjs_discount-showcase .mihanjs_product-item {
        width: calc((100cqi - var(--mihanjs-discount-gap)) / 2);
    }
}

@media screen and (max-width: 768px) {
    .mihanjs_discount-showcase .mihanjs_product-item {
        width: 100cqi;
    }
}

@media screen and (max-width: 425px) {
    .mihanjs_discount-showcase .mihanjs_counter-discount-product {
        gap: 12px;
    }

    .mihanjs_discount-showcase .mihanjs_bg-section-discount-product {
        height: 510px;
    }

    .mihanjs_discount-showcase img.mihanjs_vactor-discount-section-3 {
        top: 315px;
        right: 10px;
    }
}

@media screen and (max-width: 375px) {
    .mihanjs_discount-showcase .mihanjs_counter-discount-product {
        gap: 5px;
    }
}

@media screen and (max-width: 320px) {
    .mihanjs_discount-showcase .mihanjs_counter-discount-product-info h3 {
        font-size: 16px;
    }

    .mihanjs_discount-showcase .mihanjs_counter-discount-product {
        flex-direction: column;
    }

    .mihanjs_discount-showcase .mihanjs_more-item-product {
        gap: 10px;
    }

    .mihanjs_discount-showcase .mihanjs_more-item-product a {
        font-size: 14px;
        font-weight: 500;
    }

    .mihanjs_discount-showcase .mihanjs_bg-section-discount-product {
        height: 735px;
    }
}
