.mm-doctor-cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0;
}

.mm-doctor-card-col {
    flex: 1 1 100%;
    max-width: 100%;
    direction: rtl;
    box-sizing: border-box;
}

@media (min-width: 576px) {
    .mm-doctor-card-col {
        flex: 0 0 calc(50% - .5rem);
        max-width: calc(50% - .5rem);
    }
}

@media (min-width: 992px) {
    .mm-doctor-card-col {
        flex: 0 0 calc(33.333% - .67rem);
        max-width: calc(33.333% - .67rem);
    }
}

@media (min-width: 1200px) {
    .mm-doctor-card-col {
        flex: 0 0 calc(25% - .75rem);
        max-width: calc(25% - .75rem);
    }
}

.mm-doctor-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.mm-doctor-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    background: #FFC107;
    color: #212529;
    border-radius: 10px;
    padding: 6px 10px;
    font-weight: 600;
    font-size: .78rem;
}

.mm-doctor-card__image-wrap {
    padding: 1.25rem 1.25rem .75rem;
    text-align: center;
}

.mm-doctor-card__image {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto;
    display: block;
}

.mm-doctor-card__body {
    padding: 0 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: .55rem;
}

.mm-doctor-card__name {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #111827;
    text-align: center;
    min-height: 2.5rem;
    line-height: 1.4;
}

.mm-doctor-card__specialty {
    margin: -.25rem 0 .35rem;
    color: #3c50ae;
    font-size: .88rem;
    text-align: center;
    min-height: 1.25rem;
}

.mm-doctor-card__meta {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.mm-doctor-card__slot,
.mm-doctor-card__price,
.mm-doctor-card__chip {
    border-radius: 999px;
    padding: .5rem .85rem;
    font-size: .78rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    background: #fff;
}

.mm-doctor-card__slot {
    border: 1px solid #3b82f6;
    color: #2563eb;
}

.mm-doctor-card__price,
.mm-doctor-card__chip {
    border: 1px solid #d1d5db;
    color: #4b5563;
}

.mm-doctor-card__slot span,
.mm-doctor-card__price span,
.mm-doctor-card__chip span {
    color: inherit;
}

.mm-doctor-card__slot strong,
.mm-doctor-card__price strong,
.mm-doctor-card__chip strong {
    font-weight: 800;
    color: #111827;
}

.mm-doctor-card__btn {
    margin-top: auto;
    display: block;
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: #22c55e;
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    padding: .75rem 1rem;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
}

.mm-doctor-card__btn:hover,
.mm-doctor-card__btn:focus {
    background: #16a34a;
    color: #fff;
    text-decoration: none;
}

.mm-doctor-card__btn:disabled,
.mm-doctor-card__btn.is-disabled {
    opacity: .65;
    cursor: not-allowed;
}

.mm-doctor-card--placeholder {
    border-style: dashed;
    background: #fafafa;
}

.mm-doctor-card--placeholder .mm-doctor-card__name,
.mm-doctor-card--placeholder .mm-doctor-card__specialty {
    color: #6b7280;
}
