/* Newest products widget */
.elementor .e-con:has(.elementor-widget-mihanjs_new_products) {
    padding: 0;
    gap: 0;
    width: 100%;
    max-width: 100%;
}

.elementor .e-con.e-con-boxed:has(.elementor-widget-mihanjs_new_products) > .e-con-inner {
    width: 100%;
    max-width: 100%;
    padding: 0;
    gap: 0;
}

.elementor-widget-mihanjs_new_products,
.elementor-widget-mihanjs_new_products > .elementor-widget-container {
    width: 100%;
    max-width: 100%;
}

.mihanjs_new-products .mihanjs_title-category-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mihanjs_new-products .mihanjs_info-category-head {
    display: flex;
    align-items: center;
    width: 676px;
}

.mihanjs_new-products .mihanjs_title-subtitle-category {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 250px;
}

.mihanjs_new-products .mihanjs_main-title-category {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-500);
    margin: 0 0 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mihanjs_new-products .mihanjs_main-title-category .mihanjs_dash {
    border: 2px solid var(--primary-500);
    width: 20px;
    border-radius: 50px;
}

.mihanjs_new-products .mihanjs_english-title {
    font-size: 16px;
    color: var(--primary-100);
    letter-spacing: 0.5px;
}

.mihanjs_new-products .mihanjs_highlight {
    color: var(--secondry-500);
}

.mihanjs_new-products .mihanjs_divider {
    width: 1px;
    height: 50px;
    background-color: var(--primary-100);
    margin: 0 40px;
    transform: rotate(15deg);
}

.mihanjs_new-products .mihanjs_left-section {
    flex: 1;
    text-align: right;
}

.mihanjs_new-products .mihanjs_left-section p {
    margin: 0;
    font-size: 16px;
    color: var(--primary-400);
    line-height: 1.8;
    font-weight: 500;
}

.mihanjs_new-products .mihanjs_new-product-arrow-more {
    display: flex;
    align-items: center;
    gap: 24px;
}

.mihanjs_new-products .mohanjs_arrow-new-product {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mihanjs_new-products .mihanjs_arrow-new-product-right,
.mihanjs_new-products .mihanjs_arrow-new-product-left {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondry-500);
    width: 64px;
    height: 52px;
    border-radius: 50px;
    cursor: pointer;
    border: 0;
    padding: 0;
}

.mihanjs_new-products .mihanjs_arrow-new-product-right:hover,
.mihanjs_new-products .mihanjs_arrow-new-product-left:hover {
    background: var(--primary-500);
}

.mihanjs_new-products .mihanjs_arrow-new-product-right img,
.mihanjs_new-products .mihanjs_arrow-new-product-left img {
    width: 26px;
    height: 14px;
    max-width: none;
    object-fit: contain;
}

.mihanjs_new-products span.mihanjs_line-new-product {
    border-right: 1px solid var(--primary-100);
    height: 32px;
}

.mihanjs_new-products .mihanjs_btn-more {
    background: var(--white-50);
    padding: 8px 24px 8px 13px;
    box-shadow: inset 0 0 8px var(--white-50);
    border-radius: 50px;
    cursor: pointer;
    border: 1px solid var(--secondry-500);
}

.mihanjs_new-products .mihanjs_btn-more a {
    display: flex;
    align-items: center;
    color: var(--secondry-500);
    gap: 16px;
    text-decoration: none;
}

.mihanjs_new-products .mihanjs_btn-more:hover {
    background: var(--primary-500);
    border-color: var(--primary-500);
}

.mihanjs_new-products .mihanjs_btn-more:hover a {
    color: var(--white-50);
}

.mihanjs_new-products .mihanjs_btn-more a i {
    background: var(--secondry-500);
    color: var(--white-50);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 50px;
}

.mihanjs_new-products .mihanjs_btn-more:hover i {
    background: var(--white-100);
    color: var(--primary-500);
}

.mihanjs_new-products .mihanjs_list-new-product {
    display: flex;
    gap: 40px;
    margin: 40px 0 130px;
    min-width: 0;
    max-width: 100%;
}

.mihanjs_new-products .mihanjs_tabs-new-product {
    flex-shrink: 0;
}

.mihanjs_new-products .mihanjs_tabs-new-product-next {
    display: none;
}

.mihanjs_new-products .mihanjs_tabs-new-product ul {
    margin: 0;
    padding: 0 37px 0 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-right: 3px solid var(--gray-100);
    position: relative;
    width: 245px;
}

.mihanjs_new-products .mihanjs_tabs-new-product ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--primary-500);
    cursor: pointer;
}

.mihanjs_new-products .mihanjs_tabs-new-product ul li img,
.mihanjs_new-products .mihanjs_tabs-new-product ul li svg.mihanjs_icon {
    width: 30px;
    height: 28px;
    max-width: none;
    object-fit: contain;
    flex-shrink: 0;
}

.mihanjs_new-products .mihanjs_tab-icon-hover {
    display: none;
}

.mihanjs_new-products .mihanjs_tabs-new-product ul li a {
    font-size: 16px;
    color: var(--primary-500);
    text-decoration: none;
}

.mihanjs_new-products .mihanjs_tabs-new-product ul li:hover,
.mihanjs_new-products .mihanjs_tabs-new-product ul li.active {
    background: var(--secondry-50);
    border-radius: 50px;
    color: var(--secondry-500);
}

.mihanjs_new-products .mihanjs_tabs-new-product ul li:hover a,
.mihanjs_new-products .mihanjs_tabs-new-product ul li.active a {
    color: var(--secondry-500);
}

.mihanjs_new-products .mihanjs_tabs-new-product ul li:hover:has(.mihanjs_tab-icon-hover) .mihanjs_tab-icon,
.mihanjs_new-products .mihanjs_tabs-new-product ul li.active:has(.mihanjs_tab-icon-hover) .mihanjs_tab-icon.deactive {
    display: none;
}

.mihanjs_new-products .mihanjs_tabs-new-product ul li:hover .mihanjs_tab-icon-hover,
.mihanjs_new-products .mihanjs_tabs-new-product ul li.active .mihanjs_tab-icon-hover.active {
    display: block;
}

.mihanjs_new-products .mihanjs_tabs-new-product ul li.active::before {
    content: "";
    position: absolute;
    right: -3px;
    border: 2px solid var(--secondry-500);
    height: 26px;
    border-radius: 50px;
}

.mihanjs_new-products .mihanjs_list-new-product-items {
    overflow: hidden;
    flex: 1;
    min-width: 0;
    width: auto;
    container-type: inline-size;
    touch-action: pan-y;
}

.mihanjs_new-products .mihanjs_list-new-product-track {
    --mihanjs-new-gap: 20px;
    display: flex;
    gap: var(--mihanjs-new-gap);
    flex-wrap: nowrap;
}

.mihanjs_new-products .mihanjs_list-new-product-item {
    width: calc((100cqi - (var(--mihanjs-new-gap) * 2)) / 3);
    height: 290px;
    background: var(--white-100);
    border: 1px solid var(--gray-100);
    border-radius: 24px;
    padding: 16px;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
    box-sizing: border-box;
}

.mihanjs_new-products .mihanjs_name-product {
    display: flex;
    justify-content: space-between;
}

.mihanjs_new-products .mihanjs_name-product a {
    text-decoration: none;
    width: 86%;
}

.mihanjs_new-products .mihanjs_name-product a h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: var(--primary-500);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mihanjs_new-products .mihanjs_name-product > span {
    font-size: 14px;
    color: var(--primary-500);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.mihanjs_new-products .mihanjs_name-product span img {
    width: 16px;
    height: 14px;
    max-width: none;
    object-fit: contain;
}

.mihanjs_new-products .mihanjs_images-product-info {
    width: stretch;
    height: 136px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    margin-top: 24px;
    position: relative;
    padding: 12px;
    overflow: hidden;
    display: flex;
    justify-content: end;
    align-items: end;
}

.elementor .mihanjs_new-products img.mihanjs_image-product,
.mihanjs_new-products img.mihanjs_image-product {
    width: 106px;
    height: 115px;
    max-width: none;
    margin: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    object-fit: contain;
    position: absolute;
    top: 0;
    right: 20px;
}

.mihanjs_new-products img.mihanjs_vector-new-product,
.mihanjs_new-products img.mihanjs_vector-new-product-hover {
    position: absolute;
    left: 0;
    top: 0;
    max-width: none;
    width: auto;
    height: auto;
}

.mihanjs_new-products img.mihanjs_vector-new-product-hover {
    display: none;
}

.mihanjs_new-products .mihanjs_images-product-info::before {
    content: "";
    position: absolute;
    width: 258px;
    height: 115px;
    background: var(--gray-100);
    border-radius: 0 0 0 57px;
    top: -97px;
    right: -236px;
    transition: all 0.3s ease-in-out;
}

.mihanjs_new-products .mihanjs_heart-new-product {
    display: flex;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.mihanjs_new-products .mihanjs_heart-new-product a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white-50);
    width: 40px;
    height: 40px;
    border-radius: 50px;
    color: var(--primary-500);
    text-decoration: none;
    font-size: 18px;
}

.mihanjs_new-products .mihanjs_heart-new-product a i {
    background: none;
    width: auto;
    height: auto;
    color: inherit;
    font-size: inherit;
    border-radius: 0;
}

.mihanjs_new-products span.mihanjs_line-info-new-product {
    display: block;
    border-bottom: 1px solid var(--primary-50);
    margin: 20px 0;
    position: relative;
}

.mihanjs_new-products span.mihanjs_line-info-new-product::before {
    content: "";
    position: absolute;
    border: 4px solid var(--primary-50);
    left: 0;
    top: -3px;
    border-radius: 50px;
}

.mihanjs_new-products .mihanjs_new-product-item-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 31px;
}

.mihanjs_new-products .mihanjs_new-product-item-price del {
    position: relative;
    color: var(--gray-700);
    text-decoration: none;
}

.mihanjs_new-products .mihanjs_new-product-item-price del::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 1.5px solid currentColor;
    transform: rotate(-12deg);
}

.mihanjs_new-products .mihanjs_new-product-item-price > span {
    color: var(--primary-200);
    font-size: 14px;
}

.mihanjs_new-products .mihanjs_new-product-item-price span ins {
    color: var(--secondry-500);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.mihanjs_new-products .mihanjs_btn-add-to-cart {
    background: var(--secondry-500);
    padding: 8px 24px 8px 8px;
    border-radius: 50px;
    box-shadow: inset 0 0 6px var(--white-50);
}

.mihanjs_new-products .mihanjs_btn-add-to-cart a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--white-50);
}

.mihanjs_new-products .mihanjs_btn-add-to-cart a i {
    background: var(--white-50);
    width: 56px;
    height: 36px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--secondry-500);
    font-size: 20px;
}

.mihanjs_new-products .mihanjs_discount-new-product-tabs {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mihanjs_new-products .mihanjs_discount-new-product-tabs > span {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--error-500);
    color: var(--white-50);
    width: 49px;
    height: 28px;
    border-radius: 50px;
    font-size: 14px;
}

.mihanjs_new-products .mihanjs_list-new-product-item:hover {
    height: 382px;
    background: var(--white-100);
    border-color: var(--primary-500);
}

.mihanjs_new-products .mihanjs_list-new-product-item:hover img.mihanjs_vector-new-product-hover {
    display: block;
}

.mihanjs_new-products .mihanjs_heart-new-product a:hover {
    background: var(--secondry-500);
    color: var(--white-50);
}

.mihanjs_new-products .mihanjs_list-new-product-item:hover .mihanjs_images-product-info::before {
    top: -15px;
    right: -78px;
}

.mihanjs_new-products .mihanjs_btn-add-to-cart:hover {
    background: var(--primary-500);
}

.mihanjs_new-products .mihanjs_btn-add-to-cart:hover a i {
    color: var(--primary-500);
}

.mihanjs_new-products .mihanjs_new-product-empty {
    margin: 0;
    color: var(--primary-500);
}

@media screen and (max-width: 1024px) {
    .mihanjs_new-products.mihanjs_container {
        display: flex;
        flex-direction: column;
    }

    .mihanjs_new-products > .mihanjs_title-category-more {
        display: contents;
    }

    .mihanjs_new-products .mihanjs_info-category-head {
        order: 1;
        width: 100%;
    }

    .mihanjs_new-products .mihanjs_list-new-product {
        order: 2;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }

    .mihanjs_new-products .mihanjs_new-product-arrow-more {
        order: 3;
        width: 100%;
        justify-content: space-between;
        margin: 8px 0 88px;
    }

    .mihanjs_new-products .mihanjs_tabs-new-product {
        display: flex;
        align-items: center;
        gap: 4px;
        width: 100%;
    }

    .mihanjs_new-products .mihanjs_tabs-new-product-viewport {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        cursor: grab;
        user-select: none;
        touch-action: pan-y;
    }

    .mihanjs_new-products .mihanjs_tabs-new-product-viewport.is-dragging {
        cursor: grabbing;
    }

    .mihanjs_new-products .mihanjs_tabs-new-product ul {
        flex-direction: row;
        flex-wrap: nowrap;
        width: max-content;
        border: none;
        padding: 0;
        gap: 8px;
    }

    .mihanjs_new-products .mihanjs_tabs-new-product ul.is-dragging {
        transition: none;
    }

    .mihanjs_new-products .mihanjs_tabs-new-product ul li {
        flex-shrink: 0;
        gap: 8px;
        padding: 10px 16px;
        white-space: nowrap;
    }

    .mihanjs_new-products .mihanjs_tabs-new-product ul li img {
        width: 24px;
        height: 24px;
    }

    .mihanjs_new-products .mihanjs_tabs-new-product ul li a {
        font-size: 14px;
        font-weight: 500;
        color: var(--primary-200);
    }

    .mihanjs_new-products .mihanjs_tabs-new-product ul li.active a,
    .mihanjs_new-products .mihanjs_tabs-new-product ul li:hover a {
        color: var(--secondry-500);
        font-weight: 700;
    }

    .mihanjs_new-products .mihanjs_tabs-new-product ul li.active::before {
        display: none;
    }

    .mihanjs_new-products .mihanjs_tabs-new-product-next {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 28px;
        height: 28px;
        padding: 0;
        border: none;
        background: none;
        color: var(--primary-500);
        font-size: 25px;
        cursor: pointer;
    }

    .mihanjs_new-products .mihanjs_list-new-product-item {
        height: 308px;
    }

    .mihanjs_new-products .mihanjs_list-new-product-item:hover {
        height: 400px;
    }
}

@media screen and (max-width: 768px) {
    .mihanjs_new-products .mihanjs_info-category-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .mihanjs_new-products .mihanjs_divider {
        display: none;
    }

    .mihanjs_new-products .mihanjs_list-new-product-item {
        width: calc((100cqi - var(--mihanjs-new-gap)) / 2);
        height: 290px;
    }

    .mihanjs_new-products .mihanjs_list-new-product-item:hover {
        height: 381px;
    }
}

@media screen and (max-width: 425px) {
    .mihanjs_new-products .mihanjs_main-title-category {
        font-size: 20px;
        font-weight: 700;
    }

    .mihanjs_new-products .mihanjs_list-new-product-items {
        width: 100%;
    }

    .mihanjs_new-products .mihanjs_list-new-product-item {
        width: 100cqi;
        flex: 0 0 100cqi;
    }

    .mihanjs_new-products .mihanjs_btn-more {
        padding: 8px 15px 8px 13px;
    }

    .mihanjs_new-products .mihanjs_btn-more a {
        font-size: 13px;
    }
}

@media screen and (max-width: 375px) {
    .mihanjs_new-products .mihanjs_btn-more a {
        gap: 8px;
        font-size: 12px;
    }
}

@media screen and (max-width: 320px) {
    .mihanjs_new-products .mihanjs_list-new-product-item {
        height: 307px;
    }

    .mihanjs_new-products .mihanjs_list-new-product-item:hover {
        height: 400px;
    }

    .mihanjs_new-products .mihanjs_btn-more {
        padding: 7px 3px;
    }

    .mihanjs_new-products .mohanjs_arrow-new-product {
        gap: 4px;
    }
}
