/* MEBELART INSTALLMENT CARD V3 */

.ram-installment-card-v3 {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100%;
    padding: 12px 13px !important;
    background: #fff !important;
    border: 1px solid #dedede !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color .2s ease;
}

.ram-installment-card-v3:hover {
    border-color: #f92d1f !important;
}

/* Существующая иконка */
.ram-installment-card-v3 > svg {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px;
}

/* Текстовый блок */
.ram-installment-card-v3 .ram-installment-preview-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.35 !important;
}

/* Заголовок */
.ram-installment-card-v3 .ram-installment-card-title {
    color: #303030;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px;
}

/* Сумма */
.ram-installment-card-v3 .ram-installment-preview-copy u {
    display: block;
    color: #f92d1f !important;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
}

.ram-installment-card-v3 #installmentPrice {
    color: #f92d1f !important;
    font-size: inherit;
    font-weight: 700;
    margin-left: 0 !important;
}

/* Слово "от" */
.ram-installment-card-v3 .ram-installment-from {
    color: #777;
    font-size: 14px;
    font-weight: 400;
    margin-right: 4px;
}

/* Срок */
.ram-installment-card-v3 .ram-installment-preview-months {
    color: #888 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    margin-top: 3px !important;
}

/* Стрелка справа */
.ram-installment-card-v3::after {
    content: "";
    display: block;
    width: 9px;
    height: 9px;
    border-top: 2px solid #888;
    border-right: 2px solid #888;
    transform: rotate(45deg);
    flex: 0 0 9px;
    margin-left: auto;
    margin-right: 3px;
}

.ram-installment-card-v3:hover::after {
    border-color: #f92d1f;
}

@media (max-width: 575px) {
    .ram-installment-card-v3 {
        padding: 10px !important;
        gap: 9px !important;
    }

    .ram-installment-card-v3 .ram-installment-preview-copy u {
        font-size: 15px;
    }
}
