/* Category products widget */
.elementor .e-con:has(.elementor-widget-mihanjs_category_products) {
    padding: 0;
    gap: 0;
    width: 100%;
    max-width: 100%;
}

.elementor .e-con.e-con-boxed:has(.elementor-widget-mihanjs_category_products) > .e-con-inner {
    width: 100%;
    max-width: 100%;
    padding: 0;
    gap: 0;
}

.elementor-widget-mihanjs_category_products,
.elementor-widget-mihanjs_category_products > .elementor-widget-container {
    width: 100%;
    max-width: 100%;
}

.elementor .mihanjs_category-showcase img,
.mihanjs_category-showcase img {
    max-width: none;
    height: auto;
}

.mihanjs_category-showcase .mihanjs_btn-categoryproduct {
    background: var(--secondry-500);
    padding: 8px 24px 8px 13px;
    box-shadow: inset 0 0 8px var(--white-50);
    border-radius: 50px;
    cursor: pointer;
}

.mihanjs_category-showcase .mihanjs_btn-categoryproduct a {
    display: flex;
    align-items: center;
    color: var(--white-50);
    gap: 16px;
    text-decoration: none;
}

.mihanjs_category-showcase .mihanjs_btn-categoryproduct a i {
    background: var(--white-50);
    color: var(--secondry-500);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 50px;
}

.mihanjs_category-showcase .mihanjs_btn-categoryproduct:hover {
    background: var(--primary-500);
}

.mihanjs_category-showcase .mihanjs_btn-categoryproduct:hover i {
    color: var(--primary-500);
}

.mihanjs_category-showcase .mihanjs_title-category-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mihanjs_category-showcase .mihanjs_info-category-head {
    display: flex;
    align-items: center;
    width: 676px;
}

.mihanjs_category-showcase .mihanjs_title-subtitle-category {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 250px;
}

.mihanjs_category-showcase .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_category-showcase .mihanjs_main-title-category .mihanjs_dash {
    border: 2px solid var(--primary-500);
    width: 20px;
    border-radius: 50px;
}

.mihanjs_category-showcase .mihanjs_english-title {
    font-size: 16px;
    color: var(--primary-100);
    letter-spacing: 0.5px;
}

.mihanjs_category-showcase .mihanjs_highlight {
    color: var(--secondry-500);
}

.mihanjs_category-showcase .mihanjs_divider {
    width: 1px;
    height: 50px;
    background-color: var(--primary-100);
    margin: 0 40px;
    transform: rotate(15deg);
    flex-shrink: 0;
}

.mihanjs_category-showcase .mihanjs_left-section {
    flex: 1;
    text-align: right;
}

.mihanjs_category-showcase .mihanjs_left-section p {
    margin: 0;
    font-size: 16px;
    color: var(--primary-400);
    line-height: 1.8;
    font-weight: 500;
}

.mihanjs_category-showcase .mihanjs_category-products {
    display: flex;
    align-items: stretch;
    gap: 18px;
    margin-top: 40px;
}

.mihanjs_category-showcase .mihanjs_category-item {
    position: relative;
    width: 210px;
    height: 430px;
    background: var(--white-50);
    border: 1px solid var(--primary-50);
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
}

.mihanjs_category-showcase .mihanjs_category-link-mobile {
    display: none;
}

.mihanjs_category-showcase .mihanjs_category-item::before {
    content: "";
    position: absolute;
    border-right: 1px solid var(--primary-100);
    height: 140px;
    right: 101px;
    left: 0;
    top: 58px;
}

.mihanjs_category-showcase .mihanjs_category-item::after {
    content: "";
    position: absolute;
    background: var(--primary-100);
    width: 10px;
    height: 10px;
    right: 97px;
    left: 0;
    top: 197px;
    border-radius: 50px;
}

.mihanjs_category-showcase .mihanjs_category-item.active {
    flex: 2.15 1 0;
    border-color: var(--primary-500);
}

.mihanjs_category-showcase .mihanjs_category-item.active::before,
.mihanjs_category-showcase .mihanjs_category-item.active::after {
    opacity: 0;
    visibility: hidden;
}

.mihanjs_category-showcase .mihanjs_category-collapsed {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 28px 0 32px;
    opacity: 1;
}

.mihanjs_category-showcase .mihanjs_category-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-500);
}

.mihanjs_category-showcase .mihanjs_category-collapsed h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-500);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
}

.mihanjs_category-showcase .mihanjs_category-expanded {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 24px 24px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mihanjs_category-showcase .mihanjs_category-item.active .mihanjs_category-collapsed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mihanjs_category-showcase .mihanjs_category-item.active .mihanjs_category-expanded {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mihanjs_category-showcase .mihanjs_category-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.mihanjs_category-showcase .mihanjs_category-head-text h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-500);
}

.mihanjs_category-showcase .mihanjs_category-count {
    display: flex;
    align-items: center;
    gap: 3px;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-500);
}

.mihanjs_category-showcase span.mihanjs_highlight-category {
    color: var(--secondry-500);
}

.mihanjs_category-showcase .mihanjs_category-count::before {
    content: "";
    width: 22px;
    border: 3px solid var(--primary-500);
    border-radius: 50px;
    margin-inline-end: 8px;
}

.mihanjs_category-showcase .mihanjs_category-link,
.mihanjs_category-showcase .mihanjs_category-link-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--secondry-500);
    color: var(--white-50);
    border-radius: 50px;
    text-decoration: none;
    flex-shrink: 0;
    box-shadow: inset 0 0 8px var(--white-50);
}

.mihanjs_category-showcase .mihanjs_category-link-mobile {
    display: none;
}

.mihanjs_category-showcase .mihanjs_category-link i,
.mihanjs_category-showcase .mihanjs_category-link-mobile i {
    font-size: 18px;
    transform: rotate(45deg);
}

.mihanjs_category-showcase .mihanjs_category-link:hover,
.mihanjs_category-showcase .mihanjs_category-link-mobile:hover {
    background: var(--primary-500);
}

.mihanjs_category-showcase .mihanjs_category-visual {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.mihanjs_category-showcase .mihanjs_category-blob {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: 100%;
    max-width: 360px;
    height: 62%;
    background: var(--secondry-500);
    border-radius: 160px 160px 28px 28px;
    box-shadow: inset 0 0 10px var(--white-50);
    overflow: hidden;
}

.elementor .mihanjs_category-showcase .mihanjs_category-blob img.mihsnjs_vector-blob-category-1,
.mihanjs_category-showcase .mihanjs_category-blob img.mihsnjs_vector-blob-category-1 {
    position: absolute;
    width: 130px;
    height: 130px;
    top: 65px;
    right: 18px;
}

.elementor .mihanjs_category-showcase .mihanjs_category-blob img.mihsnjs_vector-blob-category-2,
.mihanjs_category-showcase .mihanjs_category-blob img.mihsnjs_vector-blob-category-2 {
    position: absolute;
    left: 16px;
    top: 50px;
    width: 127px;
    height: 127px;
}

.elementor .mihanjs_category-showcase .mihanjs_category-visual > img,
.mihanjs_category-showcase .mihanjs_category-visual > img {
    position: relative;
    z-index: 2;
    width: 78%;
    max-width: 78%;
    max-height: 86%;
    object-fit: contain;
    margin-bottom: 10px;
}

.mihanjs_category-showcase .mihanjs_vector-category-active {
    position: relative;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mihanjs_category-showcase .mihanjs_category-item.active .mihanjs_vector-category-active {
    opacity: 1;
    visibility: visible;
}

.elementor .mihanjs_category-showcase .mihanjs_vector-category-active img,
.mihanjs_category-showcase .mihanjs_vector-category-active img {
    position: absolute;
    left: 0;
    top: 65px;
    width: auto;
    height: auto;
}

.mihanjs_category-showcase .mihanjs_category-empty {
    margin: 24px 0 0;
    color: var(--primary-400);
}

@media screen and (max-width: 1024px) {
    .mihanjs_category-showcase {
        overflow-x: clip;
    }

    .mihanjs_category-showcase .mihanjs_category-products {
        flex-direction: column;
    }

    .mihanjs_category-showcase .mihanjs_category-item {
        width: 100%;
        height: 100%;
        overflow: visible;
        position: relative;
        padding: 16px;
        flex-shrink: 1;
    }

    .mihanjs_category-showcase .mihanjs_category-link-mobile {
        display: flex;
        position: absolute;
        left: 16px;
        top: 16px;
    }

    .mihanjs_category-showcase .mihanjs_category-link {
        display: none;
    }

    .mihanjs_category-showcase .mihanjs_category-blob {
        width: 100%;
        max-width: 460px;
        height: 100%;
    }

    .mihanjs_category-showcase .mihanjs_category-collapsed h3 {
        writing-mode: unset;
        transform: unset;
    }

    .mihanjs_category-showcase .mihanjs_category-collapsed {
        align-items: flex-start;
    }

    .mihanjs_category-showcase .mihanjs_category-item::after {
        right: 145px;
        left: 0;
        top: 54px;
    }

    .mihanjs_category-showcase .mihanjs_category-item::before {
        border-right: unset;
        border-top: 1px solid var(--primary-100);
        width: 10%;
        height: 0;
        right: 60px;
        left: 0;
        top: 58px;
    }

    .mihanjs_category-showcase .mihanjs_category-item.active {
        flex: unset;
        height: 392px;
        overflow: hidden;
    }

    .mihanjs_category-showcase .mihanjs_category-blob img.mihsnjs_vector-blob-category-1 {
        top: 150px;
    }

    .mihanjs_category-showcase .mihanjs_category-blob img.mihsnjs_vector-blob-category-2 {
        top: 125px;
    }

    .mihanjs_category-showcase .mihanjs_category-blob {
        border-radius: 200px 200px 28px 28px;
    }

    .mihanjs_category-showcase .mihanjs_vector-category-active img {
        left: -16px;
    }
}

@media screen and (max-width: 768px) {
    .mihanjs_category-showcase {
        display: flex;
        flex-direction: column;
    }

    .mihanjs_category-showcase > .mihanjs_title-category-more {
        display: contents;
    }

    .mihanjs_category-showcase .mihanjs_info-category-head {
        order: 1;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .mihanjs_category-showcase .mihanjs_category-products {
        order: 2;
    }

    .mihanjs_category-showcase .mihanjs_btn-categoryproduct {
        order: 3;
        width: 100%;
        margin-top: 12px;
        box-sizing: border-box;
    }

    .mihanjs_category-showcase .mihanjs_btn-categoryproduct a {
        width: 100%;
        justify-content: space-between;
    }

    .mihanjs_category-showcase .mihanjs_divider {
        display: none;
    }
}

@media screen and (max-width: 425px) {
    .mihanjs_category-showcase .mihanjs_main-title-category {
        font-size: 20px;
        font-weight: 700;
    }

    .mihanjs_category-showcase .mihanjs_category-collapsed h3 {
        font-size: 20px;
        font-weight: 600;
    }

    .mihanjs_category-showcase .mihanjs_category-item::before {
        width: 23%;
    }

    .mihanjs_category-showcase .mihanjs_category-blob {
        height: 80%;
    }

    .mihanjs_category-showcase .mihanjs_category-blob img.mihsnjs_vector-blob-category-2 {
        top: 80px;
    }

    .mihanjs_category-showcase .mihanjs_category-blob img.mihsnjs_vector-blob-category-1 {
        top: 95px;
    }
}
