.ezr-repeater {
    width: 100%;
}

.ezr-head,
.ezr-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(150px, .72fr) 42px;
    gap: 10px;
    align-items: center;
}

.ezr-head {
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 600;
}

.ezr-row {
    margin-bottom: 10px;
}

.ezr-cell {
    min-width: 0;
    margin: 0;
}

.ezr-row input,
.ezr-row select {
    width: 100%;
    min-width: 0;
}

.ezr-mobile-label {
    display: none;
}

.ezr-remove-cell {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ezr-remove {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #d7d7d7;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.ezr-remove:hover,
.ezr-remove:focus-visible {
    border-color: currentColor;
}

.ezr-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.ezr-add {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.ezr-add:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.ezr-plus {
    font-size: 20px;
    line-height: 1;
}

.ezr-counter {
    font-size: 12px;
    opacity: .7;
}

@media (max-width: 767px) {
    .ezr-head {
        display: none;
    }

    .ezr-row {
        grid-template-columns: 1fr 42px;
        gap: 8px 10px;
        padding: 12px;
        border: 1px solid rgba(0,0,0,.12);
        border-radius: 6px;
    }

    .ezr-cell {
        grid-column: 1;
    }

    .ezr-remove-cell {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
    }

    .ezr-mobile-label {
        display: block;
        margin: 0 0 4px;
        font-size: 12px;
        font-weight: 600;
    }
}
