.button-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.button-loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 10px;
  margin-top: -10px;
  border: 2px solid #ccc;
  border-top-color: #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.row .iblock2 label {
	white-space: nowrap;
	position: absolute;
	left: 12px;
	transition: all 0.3s ease;
	background: #fff;
	padding: 0 4px;
	top: -2px;
	font-size: 13px;
	transform: translateY(0);

}
.tab .row .iblock2:not(:last-child) {
    margin-right: 5px;
}
.tab .row .iblock2.select2-div {
    width: auto;
}
.tab .row .iblock2.phone-input-container {
	bottom: 25px;
}
.country-phone-select {
    width: 250px;
}

/* Стили для флага в выпадающем списке и селекте */
.select2-container--default .select2-results__option [class^="flag-icon-"],
.select2-container--default .select2-selection--single [class^="flag-icon-"] {
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}
.select2-container{
	margin: 5px 0;
}
.select2-container--default .select2-results__option .country-text,
.select2-container--default .select2-selection--single .country-text {
    vertical-align: middle;
}

/* Отступы для dropdown */
.select2-dropdown {
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Стиль выбранного элемента */
.select2-container--default .select2-selection--single {
	
    height: 50px;
    border: 1px solid #c7e2f7;
    border-radius: 4px;
	display: flex;
    flex-direction: row;
    align-items: center;
	justify-content: center;
}

.select2-country-icon img {
	    max-width: 100%;
		padding: 0 5px 0 0;
}
.select2-country-icon {
    display: flex;
    flex-direction: row;
    align-items: center;
}
	
.basket{
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: flex-start;
}
.basket-pay.basket-table{position: sticky;flex: 1;top: 52px;}
.basket-pay .row-new .info_pay_new{color:red}
.basket-pay .basket-pay-load{display:none;}
.basket-pay-info .basket-body .iblock1{
display: flex;
flex-direction: row;
justify-content: space-between;
}
.basket .row .iblock2 input, .basket .row .iblock2 select{
	height: 50px;
    padding: 5px 15px 5px 15px;
}
.basket .row .iblock2 label~select{
    padding: 15px 15px 5px 15px;
}
.basket .tab .row-new input:not(:placeholder-shown):not(.button):not([type=checkbox]):not([type=radio]) {
	height: 50px;
	padding: 15px 15px 5px 15px;	
}

#legalFields {margin-left: 10px;}
.basket-head .edit{display:none;opacity:0;transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out; color: #006e7b;font-size: 14px;}
.tab-pane:not(.active):hover .basket-head .edit{display:block;opacity:1;}
.basket-pay-load{flex: 3;border: none;}
.basket-pay-load .row-new .tab.tab-pane > .tab-body{display:none;opacity: 0;}
.basket-pay-load .row-new .tab.tab-pane.active > .tab-body{display: block;opacity: 1;}
.basket-pay-load .row-new .tab.tab-pane .basket-head{cursor: pointer;} 
.basket-pay-load .row-new .tab.tab-pane.active .basket-head, .basket-pay-load .row-new .tab.tab-pane.active~.tab-pane .basket-head {cursor: auto;}
.basket-pay-load .iblock2 div.error{color: #ff0000;font-weight: bold;}
.basket-pay-load .iblock2 div.warn{font-weight: bold;min-height:25px;}
.basket-table .button_pay{display:flex;align-items:center;padding: 10px 35px;font-size: 120%;background-color:#33b3b8;color:#FFF;margin:5px 0;justify-content: center;border-radius: 5px;}
.basket-table-refresh{flex: 3;}
.basket-table:first-child{margin-right: 15px;}
.basket-table .basket-head{font-size:130%;font-weight:700;padding:10px 0;display:flex;justify-content:space-between}
.basket-table .tab .row-new .basket-head p{color: #343434;}
.basket-table .basket-head .edit_block{font-size:90%;display:none}
.basket-table .basket-head .h1{font-size:200%}
.basket-table .basket-head .h1 .arr{font-weight:bold;font-size:140%;color:#278c90}
.basket-table .basket-head .center{text-align:center;color:#fff}
.basket-table .panel{text-align:center;padding:10px;width:100%;margin-bottom:10px}
.basket-table .back{padding-left:10px;color:#000;text-decoration:underline}
.basket-table .row .img img{max-width:100%;border-radius:15px}
.basket-table .row .name{flex:5;-webkit-box-flex:5;-webkit-flex:5;-ms-flex:5}
.basket-table .row .name b{padding-right:0.33em;background:white}
.basket-table .row .name div{margin-top:5px}
.basket-table .row .name div{color:#8b8b8b}
.basket-table .row .name a{font-size:120%;font-family:'Open Sans Italic',sans-serif}
.basket-table .row .amount,.basket-table .row .amount_no{display:flex;flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;align-content:center;align-items:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center}
.basket-table .row .amount .amount_block{display:flex;flex-direction:row;align-items:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center}
.basket-table .row .amount .delete-div a{transition:all 0.2s ease-in-out;font-size:90%;color:#8b8b8b;border-bottom:1px dashed;opacity:0}
.basket-table .edit_profile .row-new a{transition:all 0.2s ease-in-out;color:#8b8b8b;border-bottom:1px dashed}
.basket-table .edit_profile .row-new a:hover{color:#242424}
.basket-table .row:hover .amount .delete-div a{font-size:90%;color:#8b8b8b;border-bottom:1px dashed;opacity:1}
.basket-table .row:hover .amount .delete-div a:hover{color:#242424}
.basket-table .row .amount *{font-size:130%}
.basket-table .row .number-total{display:inline-block;width:100px;padding:15px 4px 0 0}
.basket-table .row .pricer{display:inline-block;width:9%;padding:15px 4px 0 0;font-weight:bold;overflow:hidden;text-align:center}
.basket-table .row .price-total,.basket-table .row .weight-total,.basket-table .row .price-total_all{font-size:120%;font-weight:bold;text-align:center;white-space:nowrap;padding-left:0.33em;background:white}
.basket-table .row .amount_price{display:flex;flex-direction:row;flex:1;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;justify-content:space-between;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;min-width:190px}
.basket-table .row .img_name{display:flex;flex-direction:row;flex:3;-webkit-box-flex:3;-webkit-flex:3;-ms-flex:3;justify-content:space-between;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify}
.basket-table .row.caption{display:none}
.basket-table .row.caption div{padding:4px 4px 0 0}
.basket-table .row.result .amount{font-weight:bold}
.basket-table .row.result .currency,.basket-table .row.product .currency,.basket-table .row.discount .currency{padding:2px 3px}
.basket-table, .basket-pay-load .row-new .tab{color:#343434;position:relative;border-radius:15px;border:1px solid #c7e2f7;padding:13px 10px 13px 13px;margin-bottom:15px;display: flex;flex-direction: column;}
.basket-table.basket-pay-load{border:none;}
.basket-table .row a.button-pay-next {background-color: #33b3b8;color: #FFF;border-radius: 5px;padding: 15px 55px;display: block;font-size: 120%;font-weight: normal;}
.basket-table a:hover{text-decoration:none} 
.basket-table .row{color:#000;display:flex;flex-direction:row}
.basket-table .row.vert{flex-direction:column}
.basket-table .row.result{align-items:center;overflow:hidden}
.basket-table .row.result:before{float:left;width:0;white-space:nowrap;content:". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . "}
.basket-table .row .Ucenen{padding:5px 5px 5px 5px}
.basket-table .row a{color:#000}
.basket-table .row .img{margin-right:16px;width:64px;position: relative;}
.basket-table .row .context{padding:10px 0}
.basket-table .row .amount-value{border:none;padding:0;margin:0}
.basket-table .row-new .radio{white-space:pre-line;background-color:#fff;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;width:100%;margin:2px 0;padding:9px;text-align:left;border:none;display:none}
.basket-table .row-new .radio_sel{background-color:rgb(65 161 165 / 18%);display:block}
.opros-table .row-new select,.opros-table .row-new input,.opros-table .row-new textarea{width:100%;padding:9px}

/*RADIO*/
.radio-option {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    border-bottom: 1px solid #EAECF3;
    padding: 20px 15px;
    cursor: pointer;
    transition: background-color .3s ease-in-out;
}
.radio-option > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 80%;
    align-items: flex-start;
}
.radio-option input:disabled ~ div > span {
	color: #6e6e6e;
}
.radio-option:hover {
    background-color: #f5f5f5;	
}
.radio-group{
	width: 100%;
}
.radio-option  input {
    display: block;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 1px solid #EAECF3;
    background: #fff;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    margin: 0 1rem 0 0;
    position: relative;
    transition: border-color 0.25s, background 0.25s;
}
.radio-option  input:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: #fff;
    margin: -0.4rem 0 0 -0.4rem;
    opacity: 0;
}
.basket .wrap .index {
	width:200px;
}

@media (max-width:960px){	
	.basket-head .edit {display: block;opacity: 1;}
	.basket .wrap {
	flex-direction: column;
	}
	.basket .wrap .index {
	width:100%;
}
	.basket {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: nowrap;
    align-items: stretch;	
	}
	.basket-pay.basket-table {
	position: relative;
    top: 0;
	}

}
@media (max-width:768px){
.basket-table .row .amount .delete-div a{opacity:1;font-size:100%;color:#242424}

}
@media (max-width:480px){
}