:root {
  --white: #fff;
  --gray: #f4f4f4;
  --black: #1c1c1c;
  --green: #42a000;
  --lightgreen: #7ad838;
  --btn-color: #000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 16px;
  outline: none;
}

body {
  background-color: var(--gray);
  /*min-height: 100vh;*/
  font-family: Arial, Arial, sans-serif;
}

img {
  vertical-align: center;
}

input {
  outline: none;
}

.flex-row {
  display: flex;
  justify-content: space-between;
}

.title {
  text-transform: uppercase;
  color: var(--black);
  /*line-height: 22.5px;*/
  /*font-family: Arial;*/
  font-weight:600;
}
.title.center {
  text-align: center;
}

.card {
  position: relative;
  border: 1px solid var(--gray);
  border-radius: 5px;
  background-color: var(--white);
  padding: 10px 5px 5px 5px;
  margin-bottom: 5px;
}
.card:last-child {
  margin-bottom: 0;
}

.input {
  border: none;
  border-bottom: 1px solid var(--black);
  margin-bottom: 10px;
  /*font-family: Arial;*/
}

.button {
  position: relative;
  font-family: Arial;
  text-align: center;
  padding: 10px 0;
  width: 175px;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  border: 1px solid var(--green);
}
.button input {
  border: 0;
  width: 100%;
  text-align: center;
  font-family: Arial;
  font-size: 14px;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: transparent;
}
.btn.full{
  background-image: linear-gradient(to bottom, var(--lightgreen), var(--green));
  color: var(--btn-color);
}
.button.full{
  background-image: linear-gradient(to bottom, var(--lightgreen), var(--green));
  color: var(--btn-color);
}
.button.full input {
  color: var(--btn-color);
}
.button.empty {
  background-color: var(--white);
  color: var(--btn-color);
}
.button.empty input::placeholder {
  color: var(--btn-color);
  opacity: 1;
}
.button.big {
  padding: 0;
  height: 40px;
  width: 25px;
  font-size: 20px;
  text-align: center;
  line-height: 40px;
}

.dropdown {
  position: relative;
}
.dropdown img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 5px;
  z-index: 190;
  pointer-events: none;
}

.dropdown select {
  display: none;
}

.select-selected {
  position: relative;
  background-color: var(--white);
  border: 1px solid var(--gray);
  padding: 5px 16px;
  border-radius: 5px;
  z-index: 100;
}

.select-items div,.select-items li {
  border-bottom: 1px solid var(--gray);
  padding: 5px 14px;
  margin: 0 6px;
  list-style:none;
  cursor:pointer;
  text-align: left;
}

.select-items div, .select-selected {
  color: var(--black);
  cursor: pointer;
  user-select: none;
}

/*style items (options):*/
.select-items {
  /* width */
  /* Track */
  /* Handle */
  /* Handle on hover */
  max-height: 400px;
  overflow-y: scroll;
  position: absolute;
  background-color: var(--white);
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 3;
  padding-top: 5px;
  transform: translateY(-5px);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}
.select-items::-webkit-scrollbar {
  width: 10px;
}
.select-items::-webkit-scrollbar-track {
  background: var(--white);
  border-radius: 10px;
}
.select-items::-webkit-scrollbar-thumb {
  background: var(--lightgreen);
  border-radius: 10px;
}
.select-items::-webkit-scrollbar-thumb:hover {
  background: var(--lightgreen);
}

/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}

.radio {
  position: relative;
  padding-left: 17px;
  cursor: pointer;
  /*font-family: Arial;*/
  font-weight: 600;
  font-size: 13px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  line-height: 15px;
  margin: 1px 0px;
  width:110px;
}

/* Hide the browser's default radio button */
.radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 15px;
  width: 15px;
  background-color: var(--white);
  border: 1px solid var(--green);
  border-radius: 5px;
}

/* On mouse-over, add a grey background color */
.radio:hover input ~ .checkmark {
  background-color: var(--gray);
}

/* When the radio button is checked, add a blue background */
.radio input:checked ~ .checkmark {
  background-color: var(--green);
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gray);
}

.slider:before {
  position: absolute;
  content: "";
  height: 25px;
  width: 35px;
  left: 0px;
  top: 0px;
  background-color: white;
  transition: 0.2s;
  background-color: lightgray;
}

input:checked + .slider:before {
  transform: translateX(28px);
  background-color: var(--green);
}

/* Rounded sliders */
.slider.round {
  border-radius: 13px;
  border: 1px solid var(--gray);
}

.slider.round:before {
  border-radius: 15px;
}

.order-page {
  position: absolute;
  top: 5px;
  left: 250px;
  width: 100%;
  max-width: 400px;
  margin: 0px auto;
  padding: 0px;
  background-color: var(--white);
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: rgba(215, 215, 215, 0.01);
  min-height: 700px;
}
.order-page > div {
  position: relative;
  z-index: 5;
  padding: 10px;
}
/*.order-page:before, .order-page:after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  background-color: transparent;
  box-shadow: 0 0 100px 0 var(--green);
  top: -10px;
  left: -100px;
  border-radius: 50%;
  opacity: 0.25;
  z-index: 0;
}*/
.order-page:after {
  width: 470px;
  height: 470px;
  top: 350px;
  left: 50%;
  transform: translateX(-50%);
}

.city-text {
  color: var(--green);
  font-family: Arial;
}

.underlined {
  color: var(--green);
  font-size: 14px;
  font-family: Arial;
  margin-bottom: 4px;
  border-bottom: 1px var(--green) dashed;
}

.un{
	margin-top:-5px;
}

.additional {
  position: relative;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  padding: 5px;
  margin: 5px 0;
  background-color: var(--white);
  cursor: pointer;
  border-radius: 5px; 
}
.additional h1{
  color: var(--green);
}

.phone {
  /*text-align: center;*/
  margin-bottom: 5px;
}
.add-to-price {
	width: 33.3%;
  display: inherit;
  align-items: center;
  position: relative;
}
.summ,.order-summ{
  width: 100%;
  max-width: 75px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 14px;
  background-color: var(--white);
  margin: 0 -5px;
}
.summ span {
  font-family: Arial;
}

.re {
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.add-to-cost {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0px 5px;
}
.add-to-cost .price-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}
.add-to-cost .price-list li {
  font-size: 12px;
  /*font-family: Arial;*/
  cursor: pointer;
}
.add-to-cost .price-list li:nth-child(even) {
  transform: translateY(35px);
}
.add-to-cost .bar {
  width: 100%;
  height: 10px;
  background-color: lightgray;
  border-radius: 5px;
  position: relative;
  margin-bottom: 30px;
  overflow: hidden;
}
.add-to-cost .bar div {
  transition: width 0.2s ease;
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 10px;
  background-image: linear-gradient(to bottom, var(--lightgreen), var(--green));
}

.in-city {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}
.in-city p {
  margin-left: 10px;
  font-family: Arial;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.5);
  flex: 1;
}
.in-city p.green{
  color: var(--green);
}
.add-location {
  font-weight: 700;
  font-size: 14px;
  line-height: 30px;
  cursor: pointer;
}
.location-row {
  margin-bottom: 10px;
  position: relative;
}
.location-row:last-child .circle img {
  display: none;
}
.location-row .input-row img {
  width: 12px;
  height: 12px; 
  position: absolute;
  right: 0px;
  top: 16px;
  transform: translateY(-50%);
  cursor: pointer;
}
.location-row .circle {
  /*margin-left: 20px;*/
  position: relative;
  z-index: 0;
}
.location-row .circle:before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  transform: rotate(45deg);
  width: 100%;
  height: 100%;
  border-top-right-radius: 50%;
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
  background-image: linear-gradient(to right, var(--lightgreen), var(--green));
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.location-row .circle p {
  width: 25px;
  height: 25px;
  line-height: 25px;
  font-size: 12px;
  font-family: Arial;
  color: var(--white);
  text-align: center;
  border-radius: 50%;
  position: relative;
  z-index: 100;
}
.location-row .circle img {
  position: absolute;
  top: -100%;/*top: 50%;*/
  left: 50%;
  height: 40px;
  transform: translateX(-50%);
  z-index:-1;
}

.lone-marker {
  position: absolute;
  top: 9.25px;
  z-index: 1;
}
.lone-marker .circle {
  /*margin-left: 20px;*/
  position: relative;
  z-index: 0;
  top: -15px;
}
.ADDRESSTO{
  margin-bottom: 0px;
  padding-left: 15px;
  padding-left: 15px;
}
.lone-marker .circle:before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  transform: rotate(45deg);
  width: 100%;
  height: 100%;
  border-top-right-radius: 50%;
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
  background-image: linear-gradient(to right, var(--lightgreen), var(--green));
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.lone-marker .circle p {
  width: 25px;
  height: 25px;
  line-height: 25px;
  font-size: 12px;
  font-family: Arial;
  color: var(--white);
  text-align: center;
  border-radius: 50%;
  position: relative;
  z-index: 0;
}
.lone-marker .circle img {
  position: absolute;
  top: 50%;
  /*left: 50%;*/
  left: 25%;
  height: 65px;
  transform: translateX(-50%);
}

.additional_options_menu {
  padding:10px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  /*margin-bottom: 15px;*/
  overflow: hidden;
  background-color:var(--white);
  margin-top:-5px;
}
.additional_options_menu label {
  margin: 5px 10px;
  margin-top: 0;
  width: auto;
}

.additional_options_menu .radio{
  padding: 0px 0px 0px 25px;
}

.clear-all {
  font-size: 12px;
  color: var(--green);
  cursor: pointer;
  font-weight: 700;
  background-color: var(--gray);
  border-radius: 5px;
  padding: 3px;
  text-align: center;
}

.phone-input {
  text-align: left;
  /*font-family: Arial;*/
  font-family: unset;
  border: none;
  border-bottom: 1px solid var(--gray);
  width: 120px;
}

.datepicker--nav-action path {
  fill: none !important;
  stroke: var(--green) !important;
  stroke-width: 2px !important;
}

.datepicker--nav-title {
  font-family: Arial !important;
}

.datepicker--cells {
  font-family: Arial !important;
}

.datepicker--cell-day {
  border-radius: none !important;
  margin: 1px;
  width: 30px;
  height: 20px;
}

.datepicker--cell.-selected- {
  color: var(--white) !important;
  box-shadow: none;
  background-image: linear-gradient(to bottom, var(--lightgreen), var(--green)) !important;
}
.datepicker--cell.-current- {
  /*color: var(--green) !important;*/
  border: none;
  background-color: var(--gray);
}
.order-page{
	background-color: rgba(255, 255, 255, 0.95);
}
@media screen and (max-width: 465px) {
  .cartaa{
	  display:none;
  }
  .order-page{
  	top: 0px;
    left: 0px;
  	background-color: rgba(215, 215, 215, 0.01);
  }
  .button {
    font-size: 12px;
  }
  .button input {
    font-size: 12px;
  }

  #button-spacing {
    width: 5px !important;
  }

  .radio {
    font-size: 12px;
    margin-bottom: 2px;
  }

  .underlined {
    font-size: 10px;
  }

  .title {
    font-size: 13px;
  }
}
@media screen and (max-width: 360px) {
  .button {
    font-size: 12px;
  }
  .button input {
    font-size: 12px;
  }
  .summ{
	  width:100px;
  }
  .custom-select-trigger>span,.lkandbalance{
    font-size: 12px !important;
  }
}
.input-row{
	display: flex;
	flex-direction: column;
	position: relative;
	width: calc(100% - 13px);
  margin-left: auto;
}
.DOMto2{margin-left: auto;}
.DOMot{
  margin-right: 25px;
}
.DOMot,.Padikot,.DOMto2{width: 65px;padding: 0px 2px;}
.card.phone{
  padding: 5px;
}
.card.phone>p{
	margin: 0px 5%;
	text-align: center;
}
.DOMto2,.Padikot{
  margin-top: 5px;
}
.ADDRESSTO {width: 100%;}
@media(max-width: 768px){
  .order-page{
    left: 0px;
  }
}
@media(max-width: 280px){
	.card.phone > p{margin: 0px;}
	.phone-input{width: 40px; }
	.add-location{font-size: 12px;}
}
/*СТИЛИЗАЦИЯ ДАТА И ВРЕМЯ*/
.datepicker--time-current{
	padding: 0 15px;
	text-transform: uppercase;
    color: var(--btn-color);
    /* line-height: 22.5px; */
    font-family: Arial;
    justify-content: center;
}
.timepicker---hour{
	margin-left:10px;
}
.timepicker---hour, .timepicker---min{
	text-align:center;
	color:var(--lightgreen);
	width:25px;
	height:25px;
	text-transform: uppercase;
	font-family: Arial;
	border-radius: 5px;
}
.timepicker---all{
	text-align:center;
	color:var(--lightgreen);
	width:60px;
	height:25px;
	text-transform: uppercase;
	font-family: Arial;
	border-radius: 5px;
}
.datepicker--time-current input[type=text]::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #dedede;
}
.datepicker--time-current input[type=text]::-moz-placeholder { /* Firefox 19+ */
  color: #dedede;
}
.datepicker--time-current input[type=text]:-ms-input-placeholder { /* IE 10+ */
  color: #dedede;
}
.datepicker--time-current input[type=text]:-moz-placeholder { /* Firefox 18- */
  color: #dedede;
}

.input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #999999;
  font-weight: 700;
}
.input::-moz-placeholder { /* Firefox 19+ */
  color: #999999;
  font-weight: 700;
}
.input :-ms-input-placeholder { /* IE 10+ */
  color: #999999;
  font-weight: 700;
}
.input moz-placeholder { /* Firefox 18- */
  color: #999999;
  font-weight: 700;
}
.datepicker--time{
	background-image: linear-gradient(to bottom, var(--lightgreen), var(--green));
}
.grecaptcha-logo,.grecaptcha-badge{
	display:none;
}
.confclose{
  z-index: 3000;
  position: absolute;
  background: #fff;
  padding: 20% 0%;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-align: center;
}
.block-field h3,.confclose h3{ /*Заголовок*/
  font-size: 24px;
  text-align: center;
  margin-bottom: 22px;
}
.lkandbalance{
  font-size: 16px;
  display: flex;
  color: var(--green);
  cursor: pointer;
  -ms-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  display: flex;
  text-align: center;
  flex-direction: column;
  margin:auto 0;
  border: 1px solid var(--green);
  border-radius: 5px;
  padding: 5px;
  transition: all 0.3s ease-in-out;
  position: relative;
  text-align: center;
  width: 48%;
}
.lkblock{
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 2;
  left: 0;
}
.closelkb{
  display: flex;
  position: absolute;
  left: 0px;
  top: 0px;
  color: red;
  cursor: pointer;
  font-weight: bold;
  font-size: 25px;
  padding: 10px;
  margin: -10px -5px;
  z-index: 2;
  width: 45px;
  margin: 0;
}
.tinputinlk{
  position: relative;
  display: flex;
}
.logininlk,.sendmypasswordinlk,.nextstepinlk,.completereg,.confirmleavelk,.disconfirmleavelk,.restorepassbtn,.restorepassbtnsendcode,
.gotochangepass, .changepassinlk, .gotolastorders, .calltaxiinlk, .payinlk,
.exit, .ok, .cancel, .phone-call, .default-btn{
  display: flex;
  text-align: center;
  text-decoration: none;  
  background-color: var(--white);
  color: var(--green);
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  border: 1px solid var(--green);
  cursor:pointer;
  justify-content: center;
  line-height: 40px;
  height: 40px;
  box-sizing: border-box;
}
.logininlk,.sendmypasswordinlk,.nextstepinlk,.completereg,.confirmleavelk,.disconfirmleavelk,.restorepassbtn,.restorepassbtnsendcode,
.gotochangepass, .changepassinlk, .gotolastorders, .calltaxiinlk, .payinlk,
.exit, .ok, .cancelalertbtnno, .cancel, .phone-call
{
  margin: 1em auto;
  width: 170px;
}
.phone-call{
  margin: 0;
  width: 170px;
  max-width: 85%;
  min-width: 135px;
}
.gotochangepass, .gotolastorders, .calltaxiinlk, .payinlk, .changepassinlk{
  width: 45%;
  min-width: 75%;
}
.titleinlk{
  margin: 45px auto 20px;
  text-align: center;
  position: relative;
  display: flex;
  font-weight: bold;
  font-size: 20px;
  flex-direction: column;
}
.iregphone,.ilogphone,.logpass,.phonerestphone,.ilogphone::placeholder,.iregphone::placeholder{
  font-size: 16px;
  font-weight: normal;
}
.ilogphone,.iregphone,.logpass,.phonerestphone {
  width: 120px !important;
  max-width: 100%;
  border-bottom: none;
  margin-bottom: 0px;
}
.icodesmsrest,.ipassrest2{
  border-bottom: none;
  margin-bottom: 0px;
}
.bodyinlk.auth-reg{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.registerinlk .rowinlk,.nextstepconfirm .rowinlk{
  width: fit-content;
  margin: auto;
  border-bottom: 1px solid var(--black);
}
.bodyinlk{
  text-align: left;
  margin: auto 1em;
  display: flex;
  flex-direction: column;
}
.loadinginlk{
  text-align: center;
  margin-top: 50%;
}
.rowinlk{
  display: flex;
  flex-direction: row;
  text-align: center;
  justify-content: center;
}
.inputphonepasslk>input{
  width: 100%;
}
.rowinlk>div:not(.inputphonepasslk){
  width: 100%;
  display: flex;
}
.rowinlk+.rowinlk{
  margin-top: 2.5%;
}
.rowinlk .mini_title{
  width: 65px;
  text-align: left;
}
.LKuser_full_name, .LKuser_phone, .LKbalance{
  width: 150px;
  text-align: left;
}
.lavelk{
  top: 0px;
  right: 20px;
  margin-top: 14px;
  color: red;
  cursor: pointer;
  position: absolute;
}

.CPoldPassword,.CPnewPassword,.CPrepeatPassword{
  float: right;
}
.moneyselectcont{
  text-align: center;
  cursor: pointer;
}
.confclose{
  display: none;
}
/*.confclose{
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  text-align: center;
  display: none;
}
*/
.button_block{
	display: flex;
	flex-direction: row;
	margin: auto;
}
@media(max-width: 375px){
  .moneyselectcont img.moneyselect{
    display: none;
  }
}
img.moneyselect{
  height: 15px;
  width: auto;
  margin: auto 0;
}
.costpayinlk{
	width: 40px;
}
.lastordersinlk .bodyinlk{
  text-align: center;
}
.infotextinlk{
  text-align: center;
}
/* Chrome, Safari, Edge, Opera */
input.costpayinlk::-webkit-outer-spin-button,
input.costpayinlk::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
 
/* Firefox */
input[type=number].costpayinlk {
  -moz-appearance:textfield;
}
.gotolastorders{
  display: none;
}
.primechanie-cont{
  width: calc(100% - 12.5px);
  margin-left: auto;
  margin-bottom: 0px;
}
#primechanie{
  width: 100%;
  max-height: 40px;
  margin-bottom: 0px;
}
textarea{
  resize: none;
  height: 15px;
  min-height: 15px;
  max-height: 45px;
}
.ADDRESS1{
  width: calc(100% - 12.5px);
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 0px;
}
.ADDRESSTO{
  width: 100%;
}
.reddot{
  padding: 0px 3px;
  color: red;
}
.city{
  width: 48%;
}
.city #change_city{
  width: 100%;
  text-align: center;
  padding: 5px 0;
  height: 100%;
}
.form-header{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 10px;
}
.form-header.center{
  justify-content: center;
}

/* Улучшенный стиль select */
.custom-select-trigger {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: transparent;
    border: 1px solid var(--green);
    border-radius: 5px;
    padding: 10px 40px 10px 15px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
}

/* Тень при наведении */
.custom-select-trigger:hover,.lkandbalance:hover,.button:hover {
  transition: 0.5s;
  box-shadow: 0px 0px 5px -1px var(--green);
}

/* Тень при фокусе */
.custom-select-trigger:focus {
  box-shadow: 0px 0px 5px -1px var(--green);
  outline: none;
}

@keyframes borderPulse {
    0% {
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    }
}

/* Добавляем пульсацию границы */
.custom-select-trigger.is-invalid {
    border-color: red;
    animation: borderPulse 3s infinite alternate;
}


/* Обертка для кастомной стрелки */
.custom-select-wrapper {
    position: relative;
    display: inline-block;
}

/* Добавляем стрелку */
/*.additional svg {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 14px;
}*/
.custom-select-wrapper::after,.additional::after {
    content: "▼";
    font-size: 14px;
    color: var(--green);
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: all 0.3s ease-in-out;
}

/* Изменяем цвет стрелки при фокусе */
.custom-select:focus + .custom-select-wrapper::after {
    color: #007bff;
}

/***********************************************************************/
/* Оверлей (затемнение) */
.custom-alert-overlay {
    position: absolute !important;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999 !important;
}

/* Окно алерта */
.custom-alert-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

/* Заголовок */
.custom-alert-title {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Текст */
.custom-alert-message {
    font-size: 14px;
    margin-bottom: 20px;
}

/* Кнопка */
.custom-alert-btn,.btn-ok-add-cost {
    background: var(--green);
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.custom-alert-btn,.btn-ok-add-cost:hover {
    background: var(--green);
}

/* Появление */
.custom-alert-overlay.show {
    opacity: 1;
    visibility: visible;
}

.custom-alert-box.show {
    transform: scale(1);
}


.moneyselectcont {
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px 2.5px;
  border-radius: 5px;
  cursor: pointer;
  background: transparent;
  width: 100px;
  height: 40px;
  justify-content: center;
  text-align: center;
  -webkit-box-shadow: 0px 0px 5px -1px var(--green);
  -moz-box-shadow: 0px 0px 5px -1px var(--green);
  box-shadow: 0px 0px 5px -1px var(--green);
  animation: pulseShadow 1.5s infinite ease-in-out;
  margin: 0px 10px;
}
@keyframes pulseShadow {
  0%, 100% {
    box-shadow: 0px 0px 5px -1px var(--green);
  }
  50% {
    box-shadow: 0px 0px 10px -1px var(--green);
  }
}
/* Скрытый список */
.payment-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 200px;
    background: white;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease-in-out;
    left: -50%;
    bottom: calc(100% + 7px);

    border: 1px solid #dbdbdb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
}

/* Активный список */
.payment-dropdown.open {
    transform: scaleY(1);
}

/* Варианты оплаты */
.payment-option,.custom-options .custom-option{
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    transition: background 0.2s;
    background: var(--gray);
}

.payment-option:hover,.custom-options .custom-option:hover {
    background: #f0f0f0;
}

.payment-option img {
  width: 15px;
  height: auto;
  margin-right: 5px;
}

.payment-option.disabled span,.payment-option.disabled img{
  opacity: 0.3;
}
.payment-dropdown-ptr,.dropdown-ptr{
  position: absolute;
  background: #fff;
  border-top: 1px solid #dbdbdb;
  border-right: 1px solid #dbdbdb;
  width: 10px;
  height: 10px;
  z-index: -1;
  bottom: -5px;
  right: 65px;
  rotate: 135deg;
}
.payment-option.active,.custom-option.active{
  background: #fff;
}
.moneyselecttext{
  text-wrap: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  padding-left: 2px;
  margin: auto;
}
.custom-select-wrapper>label{
  position: absolute;
  text-align: center;
  right: 0;
  left: 0;
  top: 5px;
}
/* Показываем label только когда select пустой */
.custom-select-wrapper select:invalid + label {
    opacity: 1;
    transform: translateY(0);
}

/* Прячем label, когда что-то выбрано */
.custom-select-wrapper select:valid + label {
    opacity: 0;
    transform: translateY(-20px);
}

.custom-select-trigger {
  font-size: 16px;
  display: flex;
  color: var(--green);
  cursor: pointer;
  -ms-user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  display: flex;
  text-align: center;
  border: 1px solid var(--green);
  border-radius: 5px;
  padding: 5px 15px 5px 5px;
  transition: all 0.3s ease-in-out;
  position: relative;
  text-align: left;
  margin:auto 0;
  justify-content: center;
}
  

.custom-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 10;
  opacity: 0;
  transform: translateY(-100px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.custom-options .variants-options{
  max-height: 90vh;
  overflow-y: auto;
}

.custom-options.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  top: 40px;
}
.dropdown-ptr{
  right: 15px;
  rotate: -45deg;
  top: -5px;
}

.custom-option {
  padding: 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.ADDRESS1,.ADDRESSTO{
  background: transparent;
  margin-top: 10px;
}
/* Стилизация плейсхолдера */
.ADDRESS1::placeholder,
.ADDRESSTO::placeholder,
.placeholder-center::placeholder {
    text-align: center; /* Центрируем плейсхолдер */
} 

textarea.ADDRESS1, textarea.ADDRESSTO {
  overflow: hidden; /* Отключаем прокрутку */
  resize: none; /* Запрещаем изменение размера */
}
.time-buttons .button{
  padding: 5px;
  width: 48%;
}
#order-btn{
  font-size: 16px;
}
.input.ADDRESS1,.ADDRESSTO.input,.inputPadik,.inputDom,#primechanie{
  font-size: 12px;
  font-family: inherit;
}
#counter {
    text-align: right;
    font-size: 12px;
    color: gray;
}
