/* Category product list widget */
.elementor .e-con:has(.elementor-widget-mihanjs_list_category_products) {
    padding: 0;
    gap: 0;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.elementor .e-con.e-con-boxed:has(.elementor-widget-mihanjs_list_category_products) > .e-con-inner {
    width: 100%;
    max-width: 100%;
    padding: 0;
    gap: 0;
    overflow: visible;
}

.elementor-widget-mihanjs_list_category_products,
.elementor-widget-mihanjs_list_category_products > .elementor-widget-container {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.mihanjs_list-category-products {
    --mihanjs-cpl-cols: 3;
    --mihanjs-cpl-gap: 40px;
    line-height: normal;
}

.mihanjs_list-category-products *,
.mihanjs_list-category-products *::before,
.mihanjs_list-category-products *::after {
    box-sizing: border-box;
}

.mihanjs_list-category-products .mihanjs_vector-category-bg-1,
.mihanjs_list-category-products .mihanjs_vector-category-bg-2 {
    display: none;
}

.mihanjs_list-category-products .mihanjs_section-categoryproduct-list {
    position: relative;
    height: 724px;
}

.mihanjs_list-category-products .mihanjs_bg-categoryproduct-list-curve {
    --r: 130px;
    --s: 72px;
    --a: 45deg;
    --p: 50%;
    height: 382px;
    width: 100%;
    aspect-ratio: 3 / 2;
    background: var(--primary-500);
    border-radius: 50px;
    overflow: hidden;
    --_m: calc(100% - var(--r)), #000 calc(100% - 1px), #0000;
    --_d: (var(--s) + var(--r)) * cos(var(--a));
    -webkit-mask:
        radial-gradient(var(--r) at calc(var(--p) + var(--_d)) var(--_m)),
        radial-gradient(var(--r) at calc(var(--p) - var(--_d)) var(--_m)),
        radial-gradient(var(--s) at var(--p) calc(100% + sin(var(--a)) * var(--s)), #0000 100%, #000 calc(100% + 1px)) 0 calc(var(--r) * (sin(var(--a)) - 1)) no-repeat,
        linear-gradient(90deg, #000 calc(var(--p) - var(--_d)), #0000 0 calc(var(--p) + var(--_d)), #000 0);
    mask:
        radial-gradient(var(--r) at calc(var(--p) + var(--_d)) var(--_m)),
        radial-gradient(var(--r) at calc(var(--p) - var(--_d)) var(--_m)),
        radial-gradient(var(--s) at var(--p) calc(100% + sin(var(--a)) * var(--s)), #0000 100%, #000 calc(100% + 1px)) 0 calc(var(--r) * (sin(var(--a)) - 1)) no-repeat,
        linear-gradient(90deg, #000 calc(var(--p) - var(--_d)), #0000 0 calc(var(--p) + var(--_d)), #000 0);
    box-shadow: inset 0 0 15px var(--white-50);
    display: flex;
    justify-content: center;
    padding-top: 35px;
    transform: rotate(180deg);
}

.elementor .mihanjs_list-category-products img.mihanjs_vector-categoryproduct-list-curve,
.mihanjs_list-category-products img.mihanjs_vector-categoryproduct-list-curve {
    top: 2%;
    position: absolute;
    left: 50%;
    transform: translateX(-51%);
    width: min(523px, 42%);
    height: auto;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    pointer-events: none;
}

.elementor .mihanjs_list-category-products img.mihanjs_arrow-top-baner,
.mihanjs_list-category-products img.mihanjs_arrow-top-baner {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    width: auto;
    height: auto;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    animation: mihanjs_cpl_arrow_bounce 1.6s ease-in-out infinite;
}

@keyframes mihanjs_cpl_arrow_bounce {
    0%,
    100% {
        transform: translateX(-50%) rotate(180deg) translateY(0);
    }

    50% {
        transform: translateX(-50%) rotate(180deg) translateY(10px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mihanjs_list-category-products img.mihanjs_arrow-top-baner,
    .mihanjs_list-category-products.mihanjs_no-arrow-bounce img.mihanjs_arrow-top-baner {
        animation: none;
    }
}

.mihanjs_list-category-products.mihanjs_no-arrow-bounce img.mihanjs_arrow-top-baner {
    animation: none;
}

.mihanjs_list-category-products .mihanjs_head-categoryproduct-list {
    position: absolute;
    top: 10%;
    right: 2%;
    left: 2%;
    width: auto;
}

.mihanjs_list-category-products .mihanjs_title-head-categoryproduct-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mihanjs_list-category-products .mihanjs_title-category-head {
    display: flex;
    gap: 6px;
    align-items: center;
}

.mihanjs_list-category-products .mihanjs_title-category-head .mihanjs_dash {
    border: 2px solid var(--primary-50);
    width: 20px;
    border-radius: 50px;
    height: 0;
}

.mihanjs_list-category-products .mihanjs_title-category-head .mihanjs_cpl-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-50);
}

.mihanjs_list-category-products .mihanjs_categoryproduct-arrow-more {
    display: flex;
    align-items: center;
    gap: 24px;
}

.mihanjs_list-category-products .mohanjs_arrow-categoryproduct-list {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mihanjs_list-category-products .mihanjs_arrow-categoryproduct-right,
.mihanjs_list-category-products .mihanjs_arrow-categoryproduct-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;
    margin: 0;
    font: inherit;
    line-height: normal;
}

.elementor .mihanjs_list-category-products .mihanjs_arrow-categoryproduct-right img,
.elementor .mihanjs_list-category-products .mihanjs_arrow-categoryproduct-left img,
.mihanjs_list-category-products .mihanjs_arrow-categoryproduct-right img,
.mihanjs_list-category-products .mihanjs_arrow-categoryproduct-left img {
    width: 26px;
    height: 14px;
    max-width: none;
    object-fit: contain;
}

.mihanjs_list-category-products span.mihanjs_line-categoryproduct {
    border-right: 1px solid var(--primary-100);
    height: 32px;
}

.mihanjs_list-category-products .mihanjs_btn-more-categoryproduct {
    border: 1px solid var(--white-50);
    padding: 8px 24px 8px 13px;
    border-radius: 50px;
    cursor: pointer;
}

.mihanjs_list-category-products .mihanjs_btn-more-categoryproduct a {
    display: flex;
    align-items: center;
    color: var(--white-50);
    gap: 16px;
    text-decoration: none;
}

.mihanjs_list-category-products .mihanjs_btn-more-categoryproduct a i {
    background: var(--white-50);
    color: var(--primary-500);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-style: normal;
    border-radius: 50px;
}

.mihanjs_list-category-products .mihanjs_btn-more-categoryproduct:hover {
    background: var(--white-50);
}

.mihanjs_list-category-products .mihanjs_btn-more-categoryproduct:hover a {
    color: var(--primary-500);
}

.mihanjs_list-category-products .mihanjs_btn-more-categoryproduct:hover a i {
    background: var(--primary-500);
    color: var(--white-50);
}

.mihanjs_list-category-products .mihanjs_categoryproduct-list-item {
    width: 100%;
    min-height: 462px;
    height: auto;
    background: var(--gray-50);
    border: 1px solid var(--primary-50);
    border-radius: 40px;
    padding: 32px;
    margin-top: 42px;
    position: relative;
    overflow: hidden;
    display: flex;
    gap: var(--mihanjs-cpl-gap);
    align-items: stretch;
    container-type: inline-size;
}

.mihanjs_list-category-products .mihanjs_categoryproduct-list-item.mihanjs_is-draggable {
    cursor: auto;
    user-select: text;
    -webkit-user-select: text;
    touch-action: pan-y;
}

.mihanjs_list-category-products .mihanjs_categoryproduct-list-item.mihanjs_is-draggable h3,
.mihanjs_list-category-products .mihanjs_categoryproduct-list-item.mihanjs_is-draggable p,
.mihanjs_list-category-products .mihanjs_categoryproduct-list-item.mihanjs_is-draggable .mihanjs_highlight-categoryproduct,
.mihanjs_list-category-products .mihanjs_categoryproduct-list-item.mihanjs_is-draggable .mihanjs_cpl-title {
    cursor: text;
    user-select: text;
    -webkit-user-select: text;
}

.mihanjs_list-category-products .mihanjs_categoryproduct-list-item.is-dragging,
.mihanjs_list-category-products .mihanjs_categoryproduct-list-item.is-dragging * {
    cursor: grabbing;
    user-select: none;
    -webkit-user-select: none;
}

.mihanjs_list-category-products .mihanjs_categoryproduct-list-track {
    display: flex;
    gap: var(--mihanjs-cpl-gap);
    flex: 1;
    min-width: 0;
    align-items: stretch;
}

.elementor .mihanjs_list-category-products img.mihanjs_vector-top-categoryproduct-list-item,
.mihanjs_list-category-products img.mihanjs_vector-top-categoryproduct-list-item {
    position: absolute;
    top: -40px;
    right: 220px;
    transform: rotate(90deg);
    width: auto;
    height: auto;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    pointer-events: none;
}

.elementor .mihanjs_list-category-products img.mihanjs_vector-bottom-categoryproduct-list-item,
.mihanjs_list-category-products img.mihanjs_vector-bottom-categoryproduct-list-item {
    position: absolute;
    left: 177px;
    bottom: -40px;
    transform: rotate(-90deg);
    width: auto;
    height: auto;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    pointer-events: none;
}

.mihanjs_list-category-products .mihanjs_categoryproduct-list-item-content {
    flex: 0 0 calc((100cqi - ((var(--mihanjs-cpl-cols) - 1) * var(--mihanjs-cpl-gap))) / var(--mihanjs-cpl-cols));
    min-width: 0;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
    z-index: 1;
    position: relative;
}

.mihanjs_list-category-products .mihanjs_categoryproduct-list-track .mihanjs_categoryproduct-list-item-content::after {
    content: "";
    position: absolute;
    left: calc(var(--mihanjs-cpl-gap) / -2);
    top: 16px;
    bottom: 16px;
    border-left: 1px solid var(--primary-50);
}

.mihanjs_list-category-products .mihanjs_categoryproduct-list-track .mihanjs_categoryproduct-list-item-content:nth-child(n + 3)::after {
    content: none;
}

.mihanjs_list-category-products .mihanjs_categoryproduct-list-item-content-title {
    display: flex;
    justify-content: space-between;
}

.mihanjs_list-category-products .mihanjs_categoryproduct-item-content-title-text h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-900);
}

.mihanjs_list-category-products .mihanjs_categoryproduct-item-content-title-text p {
    margin: 1em 0;
    font-size: 16px;
    color: var(--primary-200);
    display: flex;
    align-items: center;
}

.mihanjs_list-category-products span.mihanjs_dot-categoryproduct-list {
    border: 2px solid var(--secondry-500);
    width: 20px;
    border-radius: 50px;
    height: 0;
    margin-inline-end: 6px;
}

.mihanjs_list-category-products span.mihanjs_highlight-categoryproduct {
    color: var(--primary-500);
    font-weight: 600;
}

.mihanjs_list-category-products .mihanjs_categoryproduct-list-item-content-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: var(--primary-50);
    border-radius: 50px;
    position: relative;
    flex-shrink: 0;
}

.mihanjs_list-category-products .mihanjs_categoryproduct-list-item-content-img::before {
    content: "";
    position: absolute;
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary-100);
    border-radius: 50px;
}

.elementor .mihanjs_list-category-products .mihanjs_categoryproduct-list-item-content-img img,
.mihanjs_list-category-products .mihanjs_categoryproduct-list-item-content-img img {
    width: 41px;
    height: 46px;
    max-width: none;
    object-fit: contain;
    z-index: 1;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.mihanjs_list-category-products .mihanjs_categoryproduct-list-items-product {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.mihanjs_list-category-products .mihanjs_categoryproduct-list-item-product {
    width: 100%;
    height: 116px;
    border: 1px solid var(--primary-50);
    border-radius: 16px;
    display: flex;
    padding: 8px 13px;
    position: relative;
    cursor: pointer;
    min-width: 0;
    text-decoration: none;
    color: inherit;
    background: transparent;
}

.mihanjs_list-category-products .mihanjs_categoryproduct-list-item-product span {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-500);
    z-index: 1;
}

.mihanjs_list-category-products .mihanjs_categoryproduct-list-item-product::before {
    content: "";
    position: absolute;
    width: 64%;
    height: 85px;
    background: var(--gray-100);
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    border-radius: 0 0 50px 50px;
}

.elementor .mihanjs_list-category-products .mihanjs_categoryproduct-list-item-product img,
.mihanjs_list-category-products .mihanjs_categoryproduct-list-item-product img {
    width: 68px;
    height: 83px;
    max-width: none;
    object-fit: contain;
    position: absolute;
    right: 0;
    left: 0;
    top: 15px;
    margin: 0 auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.mihanjs_list-category-products .mihanjs_categoryproduct-list-item-product:hover {
    border-color: var(--primary-500);
}

.mihanjs_list-category-products .mihanjs_categoryproduct-list-item-content > a.mihanjs_cpl-card-btn {
    padding: 6px 24px 6px 6px;
    border: 1px solid var(--secondry-500);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--secondry-500);
    background: var(--white-50);
}

.mihanjs_list-category-products .mihanjs_categoryproduct-list-item-content > a.mihanjs_cpl-card-btn i {
    width: 56px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondry-500);
    color: var(--white-50);
    border-radius: 50px;
    font-size: 20px;
    font-style: normal;
}

.mihanjs_list-category-products .mihanjs_categoryproduct-list-item-content > a.mihanjs_cpl-card-btn:hover {
    border-color: var(--primary-500);
    color: var(--primary-500);
}

.mihanjs_list-category-products .mihanjs_categoryproduct-list-item-content > a.mihanjs_cpl-card-btn:hover i {
    background: var(--primary-500);
}

.mihanjs_list-category-products .mihanjs_cpl-empty {
    margin: 0;
    color: var(--primary-500);
}

@media screen and (max-width: 1024px) {
    .mihanjs_list-category-products {
        --mihanjs-cpl-cols: 1;
    }

    .mihanjs_list-category-products img.mihanjs_vector-categoryproduct-list-curve,
    .mihanjs_list-category-products img.mihanjs_vector-top-categoryproduct-list-item,
    .mihanjs_list-category-products img.mihanjs_vector-bottom-categoryproduct-list-item {
        display: none;
    }

    .mihanjs_list-category-products .mihanjs_categoryproduct-list-item-content {
        flex: 0 0 100cqi;
        width: 100cqi;
    }

    .mihanjs_list-category-products .mihanjs_categoryproduct-list-track .mihanjs_categoryproduct-list-item-content::after {
        content: none;
    }

    .mihanjs_list-category-products .mihanjs_bg-categoryproduct-list-curve {
        height: 680px;
        position: relative;
    }

    .mihanjs_list-category-products .mihanjs_vector-category-bg-1 {
        display: block;
        position: absolute;
        top: -10px;
        left: -27px;
        width: 117px;
        height: 117px;
        max-width: none;
        margin: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        pointer-events: none;
        transform: none;
    }

    .mihanjs_list-category-products .mihanjs_vector-category-bg-2 {
        display: block;
        position: absolute;
        bottom: 18%;
        right: -30px;
        width: 117px;
        height: 117px;
        max-width: none;
        margin: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        pointer-events: none;
        transform: none;
    }
}

@media screen and (max-width: 768px) {
    .mihanjs_list-category-products .mihanjs_btn-more-categoryproduct,
    .mihanjs_list-category-products span.mihanjs_line-categoryproduct {
        display: none;
    }

    .mihanjs_list-category-products .mihanjs_title-category-head {
        flex-direction: column;
        order: 1;
    }

    .mihanjs_list-category-products .mihanjs_head-categoryproduct-list {
        display: flex;
        flex-direction: column;
    }

    .mihanjs_list-category-products .mihanjs_title-head-categoryproduct-list,
    .mihanjs_list-category-products .mihanjs_categoryproduct-arrow-more {
        display: contents;
    }

    .mihanjs_list-category-products .mihanjs_categoryproduct-list-item {
        order: 2;
    }

    .mihanjs_list-category-products .mohanjs_arrow-categoryproduct-list {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 12px;
    }

    .mihanjs_list-category-products .mihanjs_bg-categoryproduct-list-curve {
        height: 735px;
    }

    .mihanjs_list-category-products .mihanjs_vector-category-bg-1 {
        top: 42px;
    }
}

@media screen and (max-width: 320px) {
    .mihanjs_list-category-products .mihanjs_bg-categoryproduct-list-curve {
        --r: 105px;
        --s: 42px;
        --a: 47deg;
        height: 784px;
    }
}
