@font-face {
  font-family: 'TildaSans';
  font-style: normal;
  font-weight: 250 1000;
  src: url('../fonts/TildaSans/TildaSans-VF.woff2') format('woff2-variations'),
       url('../fonts/TildaSans/TildaSans-VF.woff') format('woff-variations');     
}
@font-face {
  font-family: 'TildaSans';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/TildaSans/TildaSans-Light.eot');
  src: url('../fonts/TildaSans/TildaSans-Light.eot?#iefix') format('embedded-opentype'),
       url('../fonts/TildaSans/TildaSans-VF.woff2') format('woff2-variations'),
       url('../fonts/TildaSans/TildaSans-VF.woff') format('woff-variations'),
       url('../fonts/TildaSans/TildaSans-Light.woff2') format('woff2'),
       url('../fonts/TildaSans/TildaSans-Light.woff') format('woff');
}
@font-face {
  font-family: 'TildaSans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/TildaSans/TildaSans-Regular.eot');
  src: url('../fonts/TildaSans/TildaSans-Regular.eot?#iefix') format('embedded-opentype'),
       url('../fonts/TildaSans/TildaSans-VF.woff2') format('woff2-variations'),
       url('../fonts/TildaSans/TildaSans-VF.woff') format('woff-variations'),  
       url('../fonts/TildaSans/TildaSans-Regular.woff2') format('woff2'),
       url('../fonts/TildaSans/TildaSans-Regular.woff') format('woff');
}
@font-face {
  font-family: 'TildaSans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/TildaSans/TildaSans-Medium.eot');
  src: url('../fonts/TildaSans/TildaSans-Medium.eot?#iefix') format('embedded-opentype'),
       url('../fonts/TildaSans/TildaSans-VF.woff2') format('woff2-variations'),
       url('../fonts/TildaSans/TildaSans-VF.woff') format('woff-variations'),  
       url('../fonts/TildaSans/TildaSans-Medium.woff2') format('woff2'),
       url('../fonts/TildaSans/TildaSans-Medium.woff') format('woff');
}
@font-face {
  font-family: 'TildaSans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/TildaSans/TildaSans-Semibold.eot');
  src: url('../fonts/TildaSans/TildaSans-Semibold.eot?#iefix') format('embedded-opentype'),
       url('../fonts/TildaSans/TildaSans-VF.woff2') format('woff2-variations'),
       url('../fonts/TildaSans/TildaSans-VF.woff') format('woff-variations'),  
       url('../fonts/TildaSans/TildaSans-Semibold.woff2') format('woff2'),
       url('../fonts/TildaSans/TildaSans-Semibold.woff') format('woff');
}
@font-face {
  font-family: 'TildaSans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/TildaSans/TildaSans-Bold.eot');
  src: url('../fonts/TildaSans/TildaSans-Bold.eot?#iefix') format('embedded-opentype'),
       url('../fonts/TildaSans/TildaSans-VF.woff2') format('woff2-variations'),
       url('../fonts/TildaSans/TildaSans-VF.woff') format('woff-variations'),  
       url('../fonts/TildaSans/TildaSans-Bold.woff2') format('woff2'),
       url('../fonts/TildaSans/TildaSans-Bold.woff') format('woff');
}
@font-face {
  font-family: 'TildaSans';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/TildaSans/TildaSans-Extrabold.eot');
  src: url('../fonts/TildaSans/TildaSans-Extrabold.eot?#iefix') format('embedded-opentype'),
       url('../fonts/TildaSans/TildaSans-VF.woff2') format('woff2-variations'),
       url('../fonts/TildaSans/TildaSans-VF.woff') format('woff-variations'),  
       url('../fonts/TildaSans/TildaSans-Extrabold.woff2') format('woff2'),
       url('../fonts/TildaSans/TildaSans-Extrabold.woff') format('woff');
}
@font-face {
  font-family: 'TildaSans';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/TildaSans/TildaSans-Black.eot');
  src: url('../fonts/TildaSans/TildaSans-Black.eot?#iefix') format('embedded-opentype'),
       url('../fonts/TildaSans/TildaSans-VF.woff2') format('woff2-variations'),
       url('../fonts/TildaSans/TildaSans-VF.woff') format('woff-variations'),  
       url('../fonts/TildaSans/TildaSans-Black.woff2') format('woff2'),
       url('../fonts/TildaSans/TildaSans-Black.woff') format('woff');
}
/*================================================================================================*/
.btn-ordercart {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #5bb75b;
	border-color: #5bb75b;
}
.btn-ordercart:hover, .btn-ordercart:active{
	background-color: #35A035;
	color:#fff;
}
.error_input {
	border:1px solid red !important;
	box-shadow: 0 1px 1px rgba(255, 0, 0, 0.075) inset !important;
	
}
.error_input:-moz-placeholder{color:red !important;}
.error_input::-moz-placeholder{color:red !important;opacity:1}
.error_input:-ms-input-placeholder{color:red !important;}
.error_input::-webkit-input-placeholder{color:red !important;}
#fastorder .modal-dialog {
	margin: 65px auto;
	max-width: 560px;
	min-height: 300px;
}
#fastorder .modal-content {
	border: none;
	border-radius: 0;
}
#popup-quickorder {
	background: #fff none repeat scroll 0 0;
	margin: 65px auto;
	max-width: 560px;
	min-height: 300px;
	position: relative;
	width: 100%;
	font-family: 'TildaSans',Arial,sans-serif;
	font-size: 16px;
	color: #000;
	padding: 40px;
}
#popup-quickorder .row {
    margin-right: 0;
    margin-left: 0;
}
#popup-quickorder .form-group {
    margin-bottom: 20px;
}
#fastorder_data .table > :not(caption) > * > * {
	padding: 0;
}
#fastorder_data tbody, 
#fastorder_data td, 
#fastorder_data tfoot, 
#fastorder_data th, 
#fastorder_data thead, 
#fastorder_data tr {
	border: none;
}
#fastorder_data .table-bordered thead tr {
	/* border-top: 2px solid #dee2e6; */
}
#fastorder_data .table-bordered tbody tr:last-child {
    border-bottom: 1px solid #0003;
}
#quick_checkout_cart td.image {
	width: 70px;
	height: 100px;
	padding: 0;
}
#quick_checkout_cart td.name {
	padding: 15px 0 15px 20px;
	width: 185px;
	text-align: left;
}
#quick_checkout_cart td.name a {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.55;
	color: #000;
}
#quick_checkout_cart td.image img {
    width: 70px;
    height: 70px;
    border-radius: 7px;
    background-color: #eee;
    padding: 1px;
}
#quick_checkout_cart td.quantity-buttons {
    width: 80px;
    padding-top: 13px;
    padding-right: 20px;
    padding-bottom: 16px;
    padding-left: 10px;
    vertical-align: middle;
    color: #000;
    white-space: nowrap;
    
}
#quick_checkout_cart td.price {
	width: 80px;
	font-size: 16px;
	padding: 15px 0;
}
#quick_checkout_cart td.quantity {
	width: 100px;
}
#quick_checkout_cart td.remove {
	width: 20px;
	padding: 15px 0 15px 15px;
}
#popup-quickorder .price-new {
  color: red;
  font-size: 14px;
}
#popup-quickorder .price-old {
  color: #333;
  font-size: 12px;
  text-decoration:line-through;
}
#popup-quickorder .popup-heading {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	padding: 0 0 30px 0;
	border-bottom: 1px solid #0003;
}
#popup-quickorder .popup-footer {
  background-color: #f2f6f9;
  border-top: 1px solid #dfe4eb;
  display: inline-block;
  height: 100%;
  padding: 17px 25px;
  position: relative;
  vertical-align: bottom;
  width: 100%;
}
#popup-quickorder .popup-footer #quickorder_btn {
	text-align:center;
}
#popup-quickorder .mfp-close {
	color: #000;
	background: #fff;
	border: 0 none;
	cursor: pointer !important;
	height: 40px;
	outline: medium none;
	position: absolute;
	right: 0;
	top: 0;
	width: 45px;
	z-index: 2;
}

#popup-quickorder .price-quantity-quickorder .price_fast{
	font-size:16px;
	font-weight:500;
	background:#f1f1f1;
	border:1px solid #d9d9d9;
	padding:5px;
	margin-top:3px;
	margin-bottom:3px;
	display:inline-block;
	vertical-align: middle;
}
#popup-quickorder .price-quantity-quickorder .special_fast {
	font-size:16px;
	font-weight:500;
	background:#f1f1f1;
	border:1px solid #d9d9d9;
	padding:5px;
	margin-top:3px;
	margin-bottom:3px;
	display:inline-block;
	vertical-align: middle;
}
#popup-quickorder .price-quantity-quickorder .price-old{
	font-size:16px;
	font-weight:500;
    text-decoration: line-through;
	vertical-align: middle;
	display:inline-block;
}
#popup-quickorder .price-quantity-quickorder .price-new{
	font-size:16px;
	font-weight:500;
	color: #f00;
	vertical-align: middle;
	display:inline-block;
}
#popup-quickorder .price-quantity-quickorder .quantity_quickorder {
	display: flex;
	margin-left: 0px;
}
#popup-quickorder .quantity_quickorder > input {
	border: none;
	text-align: center;
	height: 16px !important;
	padding: 0;
}
#popup-quickorder #decrease_quickorder {
	background: transparent;
	background-image: url('/catalog/view/theme/default/image/svg/arrows_circle_minus.svg');
	background-size: 100%;
	background-repeat: no-repeat;
	width: 16px;
    height: 16px;
    opacity: .4;
}
#popup-quickorder .qty_fastorder {
	font-size: 16px;
	font-weight: 300;
	line-height: 16px;
	color: #000;
}
#popup-quickorder #increase_quickorder {
	background: transparent;
	background-image: url('/catalog/view/theme/default/image/svg/arrows_circle_plus.svg');
	background-size: 100%;
	background-repeat: no-repeat;
	width: 16px;
    height: 16px;
    opacity: .4;
}
#popup-quickorder #remove_quickorder {
    background: transparent;
    background-image: url('/catalog/view/theme/default/image/svg/arrows_circle_remove.svg');
    width: 20px;
    height: 20px;
    background-size: 100%;
    background-repeat: no-repeat;
    border: none;
    padding: 0;
    opacity: .4;
}
#popup-quickorder #decrease_quickorder:hover,
#popup-quickorder #increase_quickorder:hover,
#popup-quickorder #remove_quickorder:hover {
    opacity: 1;
}
#popup-quickorder .minus_quantity {
  border-right: 0 none !important;
  width: 20px;
}
#popup-quickorder .plus_quantity {
  border-left: 0 none !important;
  width: 20px;
}
#popup-quickorder .quantity_quickorder > input:hover {
	background:#fff;
}

#popup-quickorder .sections_block_rquaired .fa {
	color:#fc5c3c !important;
}
#popup-quickorder .sections_block .fa {
	color:#67ca67 !important;
}
#popup-quickorder .sections_block , .sections_block_rquaired{
  overflow: hidden;
  position: relative;
}
#popup-quickorder .icon-append-1 {  
  font-size: 15px !important;
}
#popup-quickorder label {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.55;
	padding-bottom: 5px;
}
#popup-quickorder .sections_block_rquaired label::after {
	content: "*";
	color: red;
	margin-left: 5px;
}
#popup-quickorder .form-control {
	border-radius: 0;
	border: 1px solid #000;
	height: 56px;
	padding: 16px 20px;
	font-size: 16px;
	line-height: 1.33;
	color: #000;
}
#popup-quickorder #error_name {
  background: #fff none repeat scroll 0 0;
  color: #fc5c3c;
  left: 23px;
  line-height: 29px;
  padding: 0 25px 0 0;
  position: absolute;
  top: 2px;
  z-index: 999;
}
#popup-quickorder #error_phone {
  background: #fff none repeat scroll 0 0;
  color: #fc5c3c;
  left: 23px;
  line-height: 29px;
  padding: 0 25px 0 0;
  position: absolute;
  top: 2px;
  z-index: 999;
}
#popup-quickorder #error_email {
  background: #fff none repeat scroll 0 0;
  color: #fc5c3c;
  left: 23px;
  line-height: 29px;
  padding: 0 25px 0 0;
  position: absolute;
  top: 2px;
  z-index: 999;
}
#popup-quickorder #error_comment_buyer {
  background: #fff none repeat scroll 0 0;
  color: #fc5c3c;
  left: 23px;
  line-height: 29px;
  padding: 0 25px 0 0;
  position: absolute;
  top: 2px;
  z-index: 999;
}
.loading_quick_order .fa {
  font-size: 50px;
  left: 45%;
  position: absolute;
  top: 35%;
  z-index: 9999;
}
.btn-quickorder {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #1EA7D8;
}
.btn-quickorder:hover, .btn-quickorder:focus{
	background-color: #2198C5;
	color: #ffffff;
}

.right_quick {
	position:absolute;
	right:-300px;
	color:#fff;
	width:270px;
	margin-top:-15px;
}
.block_right_quick {
	padding: 15px 0px;
    border-bottom: 1px solid;
}
.block_right_quick:last-child {
	border:none;
}
#quickorder_btn {
	width: 100%;
	margin-top: -10px;
}
#quickorder_btn button {
    display: flex;
    align-items: center;
    justify-content: center;
	width: 100%;
	margin: 0;
	border-radius: 0;
	border: none;
    background: linear-gradient(86deg, #778873, #A1BC98);
	color: #fff;
	text-shadow: none;
	height: 60px;
	-webkit-appearance: none;
	font-family: 'TildaSans',Arial,sans-serif;
	font-size: 19px;
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
}
#popup-quickorder .container-checkbox {
  display: block;
  position: relative;
  padding-top: 3px;
  padding-bottom: 1px;
  padding-left: 30px;
  cursor: pointer;
  font-size: 11px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#popup-quickorder .container-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
#popup-quickorder .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
}
#popup-quickorder .container-checkbox:hover input ~ .checkmark {
  background-color: #ccc;
}
#popup-quickorder .container-checkbox input:checked ~ .checkmark {
  background-color: #202020;
}
#popup-quickorder .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
#popup-quickorder .container-checkbox input:checked ~ .checkmark:after {
  display: block;
}
#popup-quickorder .container-checkbox .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.mfp-quickorder #popup-quickorder {
    display: flex;
    flex-direction: column;
	max-width: 70%;
    margin: auto;
}
.mfp-quickorder #popup-quickorder .popup-heading {
    flex: 0 0 auto;
    background: #fff;
    position: relative;
    z-index: 10;
}
.mfp-quickorder #popup-quickorder > .text-center,
.mfp-quickorder #popup-quickorder > .check-buttons {
    flex: 0 0 auto;
    background: #fff;
    position: relative;
    z-index: 10;
    padding: 10px 10px;
}
.mfp-quickorder #popup-quickorder .mfp-close {
    z-index: 20;
}
.del_pay-block,
.retutn_block {
    color: #888;
}
.del_pay-block img {
	width: 20px;
}

@media (max-width: 767px) {
    .mfp-wrap.mfp-quickorder {
        overflow: hidden !important;
    }
    .mfp-quickorder .mfp-content {
        vertical-align: bottom !important;
    }
    .mfp-quickorder #popup-quickorder {
    	max-height: calc(100vh - 70px);
    	/* Вместо 100vh используем fill-available для iOS */
        max-height: 100vh; /* fallback */
        max-height: -webkit-fill-available;
        max-height: stretch;
	    max-width: 98%;
	    overflow: hidden;
    }
    .table-fast {
    	display: none;
    }
    #fastorder .modal-dialog {
    	width: 96%;
    }
    #popup-quickorder {
    	padding: 20px;
    }
    .mfp-quickorder #popup-quickorder .popup-heading {
        flex: 0 0 auto;
        background: #fff;
        position: relative;
        z-index: 10;
    }
    .mfp-quickorder #popup-quickorder .popup-center {
        flex: 1 1 auto;
        overflow-y: auto;
        overflow-x: hidden;
        min-height: 0;/* критично для корректной работы flex */
        padding-left: 10px;
        padding-right: 10px;
        /* Предотвращаем "просачивание" скролла за пределы .popup-center 
       когда он доходит до верха/низа списка товаров */
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch; /* нативная плавность на iOS */
    }
    #popup-quickorder .popup-heading {
    	font-size: 20px;
    	padding-bottom: 12px;
    	margin-top: -10px;
    }
    #quick_checkout_cart {
    	overflow: auto;
    }
    #popup-quickorder .cart_fast1 {
    	position: relative;
    	display: flex;
    	flex-wrap: wrap;
    	margin: 35px 0;
    }
    #popup-quickorder .img_fast {
    	height: 70px;
    	width: 70px;
    }
    #popup-quickorder .img_fast img {
        border-radius: 7px;
        background-color: #eee;
        padding: 1px;   
    }
    #popup-quickorder .name_fast {
    	width: 228px;
    	padding-bottom: 10px;
    	padding-right: 30px;
    	padding-left: 20px;
    	text-align: left;
    }
    #popup-quickorder .name_fast a {
    	font-weight: 600;
    	font-size: 16px;
    	color: #000;
    }
    #popup-quickorder .close_fast {
    	position: absolute;
    	top: 2px;
    	right: 8px;
    	width: 20px;
    }
    #popup-quickorder .close_fast a {
    	display: block;
    	background: transparent;
    	background-image: url('/catalog/view/theme/default/image/svg/arrows_circle_remove.svg');
    	width: 20px;
    	height: 20px;
    	background-size: 100%;
    	background-repeat: no-repeat;
    	border: none;
    	padding: 0;
    	opacity: .4;
    }
    #popup-quickorder .quantity-buttons_groups {
    	display: flex;
    	align-items: center;
    	gap: 20px;
    	padding-left: 90px;
    }
    #popup-quickorder .text-end {
    	padding-top: 30px;
    	border-top: 1px solid #0003;
    	white-space: nowrap;
    }
    #popup-quickorder .text-end strong {
    	font-weight: 600;
    }
    .quickorder_btn-wrap {
    	border-top: 1px solid #0003;
    }
	#quickorder_btn {
    	width: 100%;
    	margin: 0 auto;
    }
	#quickorder_btn button {
	    width: 100%;
	}
	.mfp-quickorder #popup-quickorder > .check-buttons {
    	padding: 0 15px;
    }
}

@media (min-width: 768px) {
    #fastorder_data .table-bordered tbody > tr {
    	display: flex;
    	align-items: center;
    	justify-content: space-between;
    }
    #quick_checkout_cart td.image {
    	width: 10%;
    	display: flex;
    	align-items: center;
    	justify-content: center;
    }
    #quick_checkout_cart td.name {
    	display: flex;
    	align-items: center;
    	justify-content: space-between;
    	width: 60%;
    	padding-right: 20px;
    }
    #quick_checkout_cart td.name a {
        display: block;
        width: 50% !important;
    	padding-right: 20px;
    }
    .mfp-quickorder #popup-quickorder {
    	max-height: max-content !important;
    }
    #popup-quickorder .options {
    	width: 50% !important;
    	min-width: auto !important;
    }
    #popup-quickorder .options label {
    	padding-top: 0 !important;
    }
    #popup-quickorder .options .form-group {
    	margin-bottom: 0;
    }
    #quick_checkout_cart td.quantity-buttons {
    	width: max-content;
    	padding: 12px;
    }
    #quick_checkout_cart td.price {
    	width: max-content;
    	padding: 12px;
    }
    #quick_checkout_cart td.remove {
    	width: max-content;
    	padding: 12px;
    	display: flex;
    	align-items: center;
    	justify-content: center;
    }
    #quickorder_btn button {
    	width: 80%;
    	margin: auto;
    }
    #popup-quickorder .container-checkbox {
    	padding-top: 0;
    	padding-bottom: 0;
    	font-size: 16px;
    	color: #888;
    }
    #popup-quickorder .checkmark {
    	margin: auto;
    	bottom: 0;
    }
    #popup-quickorder .inputs {
    	width: 78%;
    	margin: auto;
    }
    #popup-quickorder .form-group {
    	display: flex;
    	align-items: center;
    	justify-content: center;
    	gap: 16px;
    }
    #popup-quickorder label {
    	padding-bottom: 0;
    	min-width: 98px;
    }
}