.form-wrapper {
    display: flex;
    gap: 80px;
    margin-top: 24px;
}

.form-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

input[type="radio"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 500;
    background: var(--gray);
    padding: 16px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid var(--gray);
    transition: all 0.2s ease-in-out;
}

.label_err {
    border-color: var(--red) !important;
}

.label:hover {
    border-color: var(--black);
}

.checkmark {
    position: relative;
    border-radius: 9999px;
    border: 1px solid var(--gray-dark);
    background-color: white;
    width: 16px;
    height: 16px;
}

.checkmark:after {
    content: "";
    display: none;
    border-radius: 9999px;
    width: 8px;
    height: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--red);
}

.labels-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.label input:checked ~ .checkmark:after {
    display: block;
}

.label input:checked ~ .checkmark {
    border-color: var(--red);
}

.input {
    width: 100%;
    padding: 12px 20px;
    background: var(--gray);
    border-radius: 12px;
    border: 1px solid var(--gray);
    transition: all 0.2s ease;
    line-height: 24px;
    height: 48px;
    font-size: 16px;
}
.input::placeholder {
    color: var(--gray-dark);
}
.input:hover:not(:disabled),
input:focus {
    border-color: var(--black);
    outline: none;
}
.text-red {
    color: var(--red);
}

.textarea {
    padding: 12px 20px;
    background: var(--gray);
    border-radius: 8px;
    border: 1px solid var(--gray);
    transition: all 0.2s ease;
    resize: none;
    font-size: 16px;
}
.textarea::placeholder {
    color: var(--gray-dark);
}
.textarea:hover:not(:disabled),
.textarea:focus {
    border-color: var(--black);
    outline: none;
}

.ness {
    color: var(--gray-dark);
    font-weight: 500;
}

/* Cart */
.cart-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.cart-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cart-info_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-info_qty {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-dark);
}

.warning {
    background: var(--red-light);
    padding: 12px 24px;
    border-radius: 6px;
}

.img {
    border-radius: 8px;
    width: 143px;
    height: 92px;
    object-fit: cover;
    background: var(--gray);
}

.cart-products {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.cart-product_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-product {
    display: flex;
    gap: 20px;
}

.cart-product_name {
    font-size: 16px;
    font-weight: 500;
    max-width: 345px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-info_bottom {
    display: flex;
    justify-content: space-between;
    background: var(--gray);
    padding: 16px;
    border-radius: 12px;
}

/* Empty Cart */
.empty-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.empty-img {
    width: 459px;
    transform: scaleX(-1);
}

.empty-content {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 32px;
}

@media (max-width: 1439px) {
    .form-wrapper {
        flex-direction: column;
        gap: 40px;
        margin-top: 16px;
    }

    .form-content {
        gap: 20px;
    }

    .form {
        gap: 8px;
    }

    .label {
        font-size: 14px;
        font-weight: 500;
        padding: 12px 20px;
    }

    .labels-wrapper {
        gap: 8px;
    }

    /* Cart */
    .warning {
        padding: 8px 20px;
    }

    .cart-info_qty {
        font-size: 14px;
        font-weight: 500;
    }

    .cart-products {
        gap: 16px;
    }

    .cart-product_name {
        font-size: 14px;
        font-weight: 500;
        overflow: visible;
        white-space: normal;
        text-overflow: clip;
    }

    .cart-info_bottom {
        flex-direction: column;
        gap: 16px;
    }

    /* Empty Cart */
    .empty-wrapper {
        flex-direction: column;
    }
}
