.checkout-page {
    padding: 60px 0 140px 0;
}

.checkout-page_content {
    display: flex;
    position: relative;
}
.checkout-page_title {
    margin-bottom: 50px;
}
.checkout-page_left {
    position: relative;
    width: 50%;
    padding-right: 60px;
    border-left: var(--color-gray-30);
    border-right: 1px solid var(--color-gray-30);
}
.checkout-page_left > .form-group:first-child .form-group_title {
    margin-top: 0;
}

.checkout-page_subtitle {
    display: flex;
    align-items: baseline;
    margin-bottom: 60px;
    gap: 16px;
    flex-wrap: wrap;
}
.checkout-page_subtitle a {
    position: relative;
    display: block;
    padding: 2px 0;
    color: var(--color-black);
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 1.12px;
    text-transform: uppercase;
}
.checkout-page_subtitle a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-black);
}

.checkout-page_right {
    width: 50%;
    padding-left: 60px;
}
.checkout-page_right > .form-group_title:first-child {
    margin-top: 0;
}

.checkout-page .form-group_title {
    margin-top: 44px;
    margin-bottom: 32px;
    font-size: 32px;
    font-weight: 300;
    line-height: 120%;
}
.checkout-page .form-group_title.mt-0 {
    margin-top: 0;
}

.checkout-page .grid .form-group_title {
    margin-bottom: 16px;
}

.checkout-page_btns {
    margin-top: 16px;
}
.checkout-page_btns .btn {
    margin-top: 60px;
}

.checkout-page .form-group {
    /* display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 16px; */
}

.checkout-cart_info a {
    color: var(--color-black-90);
    text-decoration: underline !important;
    font-weight: 500;
}

/* Select 2 */
.select2-container .select2-selection--single {
    height: 50px;
}
.select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid var(--color-gray-60);
    background: var(--color-gray-0) !important;
    outline: none !important;
    color: var(--color-black);
    border-radius: 12px;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    color: var(--color-black);
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    width: 24px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 17.0532L4 9.06069L5.06069 8L12 14.9468L18.9393 8L20 9.06069L12 17.0532Z' fill='%23030303'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    padding: 12px 16px;
    border: 1px solid var(--color-gray-70);
    outline: none !important;
    border-radius: 8px;
}
.select2-dropdown {
    border: 1px solid var(--color-gray-60);
    border-radius: 12px;
}
.select2-results__option {
    margin: 0;
    padding: 14px 6px;
    color: var(--color-black-90);
}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--color-gray-20);
    color: var(--color-black-90);
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    font-size: 16px;
    line-height: 24px;
}
.select2-results__options li:last-child {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.has-error ~ .select2 .select2-selection--single {
    border: 1px solid var(--color-red);
}

.checkout-cart_products .popup-cart_product {
    padding-bottom: 16px;
}

.checkout-cart_total {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--color-black-90);
}

.checkout-page_totals {
    display: flex;
    flex-direction: column;
    margin: 0 0 32px 0;
    gap: 8px;
}
.checkout-totals_item {
    display: flex;
    justify-content: space-between;
}

.checkout-totals_item-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--color-black-90);
}

.qc_warning {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #f59d31;
    background: #f59d3121;
    border-radius: 10px;
}

.qc_loader {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgb(115 122 126 / 14%);
    z-index: 99;
}
.qc_loader:before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    top: 50%;
    left: 50%;
    margin: -20px 0 0 -20px;
    border: 4px solid rgb(105 108 109 / 70%);
    border-top: 4px solid #378428;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 99;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 992px) {
    .checkout-page_content {
        display: flex;
        flex-direction: column;
    }
    .checkout-page_left {
        width: 100%;
        padding-right: 0;
        border-right: none;
    }
    .checkout-page_right {
        width: 100%;
        padding-left: 0;
    }
}

@media (max-width: 768px) {
	.checkout-page {
		padding: 24px 0 100px 0;
	}
	
	.checkout-page_title {
		margin-bottom: 24px;
		font-size: 36px;
		font-weight: 300;
		line-height: 110%;
	}
	.checkout-page_subtitle {
		margin-bottom: 24px;
		gap: 6px;
	}
	
	.checkout-page .form-group_title {
		margin-top: 40px;
		margin-bottom: 24px;
		font-size: 24px;
		font-weight: 300;
		line-height: 120%;
	}
	
	.checkout-page_right {
		margin-top: 40px;
	}
	.checkout-page_btns .btn {
		margin-top: 32px;
	}
	
	.checkout-totals_item {
		align-items: center;
	}
	.checkout-totals_item .subtitle-4 {
		font-size: 14px;
		font-weight: 500;
		line-height: 20px;
	}
	.checkout-totals_item .subtitle-2 {
		font-size: 16px;
		font-weight: 500;
		line-height: 24px;
	}
	.checkout-totals_item-total .subtitle-1 {
		font-size: 24px;
		font-weight: 500;
		line-height: 32px;
	}
	
	.checkout-cart_info .mb-32 {
		margin-bottom: 24px;
		font-size: 12px;
	}
	
	.checkout-page_left {
		order: 1;
	}
	.checkout-page_right {
		margin-top: 0;
		margin-bottom: 40px;
		order: 0;
	}

	.checkout-page_right {
		display: none;
	}
	.checkout-cart {
		display: none;
	}
	.checkout-cart.show {
		display: flex;
	}
}
