.submit__btn--wide {
    width: 401px;
    padding: 18px 121px;
    text-wrap: nowrap;
}
.modal {
    position: fixed;
    inset-block-start: 0;
    inset-block-end: 0;
    width: calc(100% - 6px - 2em);
    max-width: 842px;
    user-select: text;
    visibility: hidden;
    overflow: auto;
    display: block;
    box-shadow: 0 0 100vmax #00000038;
    opacity: 0;
    transition: all .3s;
    padding: 54px;
}

.modal[open] {
    opacity: 1;
    visibility: visible;
}

.modal::backdrop {
    background: #000;
    opacity: 32%;
}

.modal-content .modal-section:nth-child(5) {
    margin-bottom: 64px;
}

.close {
    position: absolute;
    top: 12px;
    right: 22px;
    font-size: 24px;
    cursor: pointer;
}

.modal-section {
    margin-bottom: 74px;
}

.modal-section__title {
    margin-bottom: 44px;
    font-family: Lato;
    font-size: 28px;
    font-weight: 700;
    line-height: 33.6px;
    letter-spacing: 0.02em;
    text-align: left;
    color: rgba(37, 37, 37, 1);
}

.model-section__inputs {
    display: flex;
}

.modal-section label {
    font-family: Lato;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.02em;
    text-align: left;
    color: rgba(37, 37, 37, 1);
    display: flex;
    align-items: center;
}

.modal-section:nth-of-type(1) .model-section__inputs label:nth-of-type(2),
.modal-section:nth-of-type(2) .model-section__inputs label:nth-of-type(2) {
    position: absolute;
    left: 256px;
}

.modal-section label input[type="radio"] {
    margin: 5px 12px 5px 0;
    width: 24px;
    height: 24px;
    appearance: none;
    border: 2px solid rgba(45, 170, 66, 0.15);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    outline: none;
}

.modal-section label input[type="radio"]:checked {
    background-color: rgba(45, 170, 66, 1);
    border: 2px solid rgba(45, 170, 66, 1);
    background-clip: content-box;
}

.modal-section label input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: rgba(45, 170, 66, 1);
    border-radius: 50%;
}

.custom-lens {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.storage-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-lens label {
    font-family: Lato;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.02em;
    text-align: left;
    color: rgba(37, 37, 37, 1);
    display: flex;
    align-items: center;
}

.custom-lens input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    cursor: pointer;
}

.quantity-selector {
    display: flex;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    font-family: Lato;
    font-size: 28px;
    font-weight: 700;
    line-height: 33.6px;
    letter-spacing: 0.02em;
    text-align: left;
    color: rgba(37, 37, 37, 1);
    background: rgba(226, 234, 227, 0.2);
    border-radius: 50%;
    border: 1px solid rgba(45, 170, 66, 0.15);
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.quantity-btn:hover {
    background-color: rgba(226, 234, 227, 0.4);
    border: 1px solid rgba(45, 170, 66, 0.5);
}

#camera-quantity, #motion-quantity {
    margin-left: 16px;
    margin-right: 16px;
    font-family: Lato;
    font-size: 28px;
    font-weight: 700;
    line-height: 33.6px;
    letter-spacing: 0.02em;
    text-align: left;
    color: rgba(37, 37, 37, 1);
}

.price {
    font-family: Lato;
    font-size: 28px;
    font-weight: 800;
    line-height: 33.6px;
    letter-spacing: 0.02em;
    text-align: left;
    color: rgba(45, 170, 66, 0.64);
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.submit__btn {
    font-family: Lato;
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 0.02em;
    text-align: left;
    color: rgba(37, 37, 37, 1);
}

.total-price-text {
    font-family: Lato;
    font-size: 40px;
    font-weight: 800;
    line-height: 48px;
    letter-spacing: 0.02em;
    text-align: left;
    color: rgba(45, 170, 66, 1);
}