.restaurant-options {
    display: grid;
    gap: 14px;
    width: 100%;
    flex: 1 0 100%;
    margin: 14px 0;
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .86);
}

.restaurant-options__head {
    display: grid;
    gap: 4px;
}

.restaurant-options__head h2 {
    margin: 0;
    color: #111827;
    font-size: 1rem;
    line-height: 1.2;
}

.restaurant-options__head p,
.restaurant-options__help {
    margin: 0;
    color: #64748b;
    font-size: .88rem;
    line-height: 1.45;
}

.restaurant-options__group {
    display: grid;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.restaurant-options__group legend {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin: 0 0 8px;
    padding: 0;
    color: #111827;
    font-weight: 800;
}

.restaurant-options__group legend em {
    flex: 0 0 auto;
    color: #64748b;
    font-size: .78rem;
    font-style: normal;
    font-weight: 700;
}

.restaurant-options__choices {
    display: grid;
    gap: 8px;
}

.restaurant-options__choice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 8px;
    color: #111827;
    background: #fff;
    cursor: pointer;
}

.restaurant-options__choice input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.restaurant-options__choice span {
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 700;
}

.restaurant-options__choice strong {
    color: #0f766e;
    font-size: .88rem;
    white-space: nowrap;
}

.restaurant-options__total {
    justify-self: start;
    padding: 8px 10px;
    border-radius: 8px;
    color: #0f172a;
    font-size: .9rem;
    font-weight: 800;
    background: #f1f5f9;
}

.cart-options-list,
.order-options-list,
.success-options-list {
    display: grid;
    gap: 3px;
    margin: 6px 0 0;
    padding: 0;
    color: #64748b;
    font-size: .86rem;
    line-height: 1.35;
    list-style: none;
}

.cart-options-list li,
.order-options-list li,
.success-options-list li {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .restaurant-options {
        padding: 14px;
    }

    .restaurant-options__choice {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .restaurant-options__choice strong {
        grid-column: 2;
        justify-self: start;
    }
}
