.mmcc-carousel,
.mmcc-carousel * {
    box-sizing: border-box;
}

.mmcc-carousel {
    --mmcc-gap: 24px;
    position: relative;
    width: 100%;
    direction: rtl;
    padding: 0 54px;
    font-family: yekanbakh, YekanBakh, IRANSans, Vazirmatn, Tahoma, Arial, sans-serif;
}

.mmcc-carousel-viewport {
    width: 100%;
    overflow: hidden;
    direction: ltr;
}

.mmcc-carousel-track {
    display: flex;
    gap: var(--mmcc-gap);
    will-change: transform;
    transform: translate3d(0, 0, 0);
    transition-property: transform;
    transition-timing-function: cubic-bezier(.22, .61, .36, 1);
}

.mmcc-carousel-slide {
    flex: 0 0 auto;
    min-width: 0;
}

.mmcc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 260px;
    padding: 28px 24px;
    direction: rtl;
    text-align: center;
    background-color: #fff;
    color: #1e1e1e;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 22px;
    text-decoration: none !important;
    overflow: hidden;
    isolation: isolate;
    transition: background-color .28s ease, color .28s ease, border-color .28s ease, box-shadow .28s ease, transform .28s ease;
}

.mmcc-card:hover,
.mmcc-card:focus {
    text-decoration: none !important;
    outline: none;
    transform: translateY(-4px);
}

.mmcc-card:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.mmcc-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #623190;
    line-height: 0;
    transition: color .28s ease, transform .28s ease, opacity .28s ease;
}

.mmcc-card:hover .mmcc-card-icon {
    transform: scale(1.05);
}

.mmcc-card-top-icon,
.mmcc-card-top-icon svg {
    width: 58px;
    height: 58px;
}

.mmcc-card-top-icon {
    margin-bottom: 18px;
}

.mmcc-card-bottom-icon,
.mmcc-card-bottom-icon svg {
    width: 32px;
    height: 32px;
}

.mmcc-card-bottom-icon {
    margin-top: 22px;
}

.mmcc-card-icon i,
.mmcc-card-icon svg {
    display: block;
    line-height: 1;
}

.mmcc-card-icon svg {
    fill: currentColor;
}

.mmcc-card-title {
    margin: 0 0 10px;
    padding: 0;
    color: #1e1e1e;
    font-family: inherit;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.45;
    transition: color .28s ease;
}

.mmcc-card-description {
    width: 100%;
    margin: 0;
    padding: 0;
    color: #606060;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 2;
    transition: color .28s ease;
}

.mmcc-carousel-button {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #1e1e1e;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease, transform .25s ease;
}

.mmcc-carousel-button:hover,
.mmcc-carousel-button:focus {
    color: #fff;
    background-color: #623190;
    border-color: transparent;
    outline: none;
    transform: translateY(-50%) scale(1.04);
}

.mmcc-carousel-button:disabled {
    cursor: not-allowed;
    opacity: .38;
    transform: translateY(-50%);
}

.mmcc-carousel-button svg {
    width: 22px;
    height: 22px;
}

.mmcc-carousel-button-prev {
    left: 0;
}

.mmcc-carousel-button-next {
    right: 0;
}

.mmcc-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin-top: 22px;
    direction: ltr;
}

.mmcc-carousel-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    padding: 0;
    background-color: #d7d7d7;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    opacity: 1;
    transition: width .25s ease, background-color .25s ease, opacity .25s ease;
}

.mmcc-carousel-dot.is-active {
    width: 24px;
    background-color: #623190;
}

.mmcc-carousel.is-dragging .mmcc-carousel-track {
    transition-duration: 0ms !important;
}

@media (max-width: 1024px) {
    .mmcc-carousel {
        --mmcc-gap: 18px;
        padding: 0 48px;
    }
}

@media (max-width: 767px) {
    .mmcc-carousel {
        --mmcc-gap: 14px;
        padding: 0 0 54px;
    }

    .mmcc-carousel-button {
        top: auto;
        bottom: 0;
        width: 40px;
        height: 40px;
        transform: none;
    }

    .mmcc-carousel-button:hover,
    .mmcc-carousel-button:focus,
    .mmcc-carousel-button:disabled {
        transform: none;
    }

    .mmcc-carousel-button-prev {
        left: calc(50% - 48px);
    }

    .mmcc-carousel-button-next {
        right: calc(50% - 48px);
    }

    .mmcc-carousel-dots {
        margin-top: 16px;
    }

    .mmcc-card {
        min-height: 230px;
        padding: 24px 20px;
    }

    .mmcc-card-title {
        font-size: 18px;
    }

    .mmcc-card-description {
        font-size: 13px;
    }
}
