.mm-rpe {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

.mm-rpe *,
.mm-rpe *::before,
.mm-rpe *::after {
    box-sizing: border-box;
}

.mm-rpe__item {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-width: 0;
    padding: 12px;
    border: 1px solid #e8eaed;
    border-radius: 10px;
    background: #fff;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.mm-rpe__item:hover {
    border-color: #d9dde3;
}

.mm-rpe__image {
    display: block;
    width: 78px;
    flex: 0 0 78px;
    line-height: 0;
    text-decoration: none;
}

.mm-rpe__image img {
    display: block;
    width: 100%;
    height: 78px;
    margin: 0;
    border-radius: 8px;
    object-fit: cover;
}

.mm-rpe__content {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
}

.mm-rpe__title {
    display: block;
    margin: 0 0 5px;
    color: #17191c;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.7;
    text-decoration: none;
    transition: color .2s ease;
}

.mm-rpe__price {
    color: #555d66;
    font-size: 13px;
    line-height: 1.7;
}

.mm-rpe__price .price,
.mm-rpe__price .amount {
    color: inherit;
}

.mm-rpe__price del {
    opacity: .65;
}

.mm-rpe__price ins {
    text-decoration: none;
}

.mm-rpe__button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-inline-start: auto;
    padding: 10px 15px;
    border: 1px solid #17191c;
    border-radius: 8px;
    background: #17191c;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.mm-rpe__button:hover,
.mm-rpe__button:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.mm-rpe__button-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}

.mm-rpe__editor-notice {
    padding: 12px 14px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    color: #64748b;
    font-size: 13px;
    line-height: 1.8;
}

@media (max-width: 767px) {
    .mm-rpe__item {
        gap: 10px;
    }

    .mm-rpe__button {
        padding-inline: 11px;
    }
}

@media (max-width: 480px) {
    .mm-rpe__item {
        flex-wrap: wrap;
    }

    .mm-rpe__content {
        flex: 1 1 calc(100% - 90px);
    }

    .mm-rpe__button {
        width: 100%;
        margin-inline-start: 0;
    }
}
