/* T-033: карточки тарифов (components/pricing-card.blade.php). Фирменный цвет #7166F0 — только акцент. */
.mk-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 28px 28px 24px;
    background: #fff;
    border: 1px solid #eceafe;
    border-radius: 16px;
    box-shadow: 0 14px 40px -22px rgba(80, 68, 200, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.mk-plan:hover {
    transform: translateY(-4px);
    border-color: #d9d5fc;
    box-shadow: 0 26px 50px -26px rgba(80, 68, 200, 0.38);
}
.mk-plan--featured {
    padding: 27px 27px 23px; /* рамка 2px вместо 1px — без сдвига содержимого */
    border: 2px solid #7166f0;
    background: linear-gradient(180deg, #f7f6ff 0, #fff 150px);
}

.mk-plan__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 28px; /* одинаковая высота с меткой «Популярный» и без — списки начинаются на одной линии */
    margin-bottom: 18px;
}
.mk-plan__name {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #1c1a33;
}
.mk-plan__badge {
    padding: 0 10px;
    line-height: 26px;
    border-radius: 6px;
    background: #7166f0;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.mk-plan__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}
.mk-plan__amount {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    color: #1c1a33;
}
.mk-plan__currency {
    font-size: 16px;
    font-weight: 500;
    color: #6b6880;
}
.mk-plan__period {
    margin: 6px 0 0;
    font-size: 14px;
    color: #8a879c;
}

.mk-plan__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 22px 0 26px;
    padding: 22px 0 0;
    border-top: 1px solid #efedfb;
    list-style: none;
}
.mk-plan__feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.45;
    color: #34324a;
}
.mk-plan__icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border-radius: 50%;
    background: #eeecfe;
    color: #7166f0;
    font-size: 10px;
}
.mk-plan__feature--off {
    color: #a3a1b3;
}
.mk-plan__feature--off .mk-plan__icon {
    background: #f2f2f5;
    color: #b5b3c4;
}

.mk-plan a.mk-plan__cta {
    display: block;
    margin-top: auto;
    padding: 13px 20px;
    border: 1.5px solid #7166f0;
    border-radius: 10px;
    background: #fff;
    color: #7166f0;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}
.mk-plan a.mk-plan__cta:hover {
    background: #7166f0;
    color: #fff;
}
.mk-plan a.mk-plan__cta:active {
    transform: translateY(1px);
}
.mk-plan a.mk-plan__cta:focus-visible {
    outline: 3px solid rgba(113, 102, 240, 0.35);
    outline-offset: 2px;
}
.mk-plan--featured a.mk-plan__cta {
    background: #7166f0;
    color: #fff;
}
.mk-plan--featured a.mk-plan__cta:hover {
    border-color: #5b50e0;
    background: #5b50e0;
}

@media only screen and (max-width: 767px) {
    .mk-plan {
        padding: 22px;
    }
    .mk-plan__amount {
        font-size: 30px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .mk-plan,
    .mk-plan a.mk-plan__cta {
        transition: none;
    }
    .mk-plan:hover {
        transform: none;
    }
}
