/* Featured category image cards */
.elementor .e-con:has(.elementor-widget-mihanjs_product_category_images) {
    padding: 0;
    gap: 0;
    width: 100%;
    max-width: 100%;
}

.elementor .e-con.e-con-boxed:has(.elementor-widget-mihanjs_product_category_images) > .e-con-inner {
    width: 100%;
    max-width: 100%;
    padding: 0;
    gap: 0;
}

.elementor-widget-mihanjs_product_category_images,
.elementor-widget-mihanjs_product_category_images > .elementor-widget-container {
    width: 100%;
    max-width: 100%;
}

.mihanjs_category-images .mihanjs_show-category-product {
    display: flex;
    gap: 20px;
    min-width: 0;
    max-width: 100%;
}

.mihanjs_category-images .mihanjs_category-inner-curve {
    display: block;
    width: 100%;
    position: relative;
}

.mihanjs_category-images .mihanjs_category-inner-curve::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--mihanjs-curve-from, rgba(11, 37, 69, 1)) -8%, var(--mihanjs-curve-to, rgba(11, 37, 69, 0.06)) 28%);
    pointer-events: none;
    border-radius: 32px;
    z-index: 1;
}

.mihanjs_category-images .mihanjs_category-inner-curve-item {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
}

.elementor .mihanjs_category-images .mihanjs_category-inner-curve img,
.mihanjs_category-images .mihanjs_category-inner-curve img,
.mihanjs_category-images .mihanjs_category-image-placeholder {
    width: 100%;
    height: 296px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 32px;
    display: block;
    border: none;
    box-shadow: none;
}

.mihanjs_category-images .mihanjs_category-image-placeholder {
    background: var(--gray-100, #ebf0f7);
}

.mihanjs_category-images .mihanjs_rounded-categody-item {
    --r: 25px;
    line-height: 1.8;
    padding-inline: .5em;
    border-inline: var(--r) solid #0000;
    border-radius: calc(2 * var(--r)) calc(2 * var(--r)) 0 0 / var(--r);
    mask: radial-gradient(var(--r) at var(--r) 0, #0000 98%, #000 101%) calc(-1 * var(--r)) 100% / 100% var(--r) repeat-x, conic-gradient(#000 0 0) padding-box;
    -webkit-mask: radial-gradient(var(--r) at var(--r) 0, #0000 98%, #000 101%) calc(-1 * var(--r)) 100% / 100% var(--r) repeat-x, conic-gradient(#000 0 0) padding-box;
    background: var(--white-50) border-box;
    width: min(249px, calc(100% - 32px));
    height: 45px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.mihanjs_category-images .mihanjs_rounded-categody-item a {
    display: flex;
    align-items: center;
    font-size: 14px;
    gap: 8px;
    text-decoration: none;
    color: var(--primary-500);
    font-weight: 600;
}

.mihanjs_category-images .mihanjs_rounded-categody-item a i {
    background: var(--secondry-500);
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    color: var(--white-50);
    transform: rotate(45deg);
    font-size: 18px;
}

.mihanjs_category-images .mihanjs_rounded-categody-item a:hover i {
    background: var(--primary-500);
}

.mihanjs_category-images .mihanjs_info-inner-curve-category {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #ffffffd1;
    width: 211px;
    height: 104px;
    border-radius: 20px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
}

.mihanjs_category-images .mihanjs_info-inner-curve-category h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mihanjs_category-images .mihanjs_info-inner-curve-category p {
    margin: 0;
    color: var(--primary-500);
    font-size: 16px;
    font-weight: 500;
}

.mihanjs_category-images .mihanjs_info-inner-curve-category p span {
    color: var(--secondry-500);
}

@media screen and (max-width: 1024px) {
    .mihanjs_category-images .mihanjs_show-category-product {
        flex-direction: column;
    }

    .mihanjs_category-images .mihanjs_show-category-product > .mihanjs_category-inner-curve-item {
        width: 100%;
        flex: none;
    }
}

@media screen and (max-width: 425px) {
    .mihanjs_category-images .mihanjs_info-inner-curve-category h2 {
        font-size: 20px;
    }
}
