

/*Список продуктов_____________________________*/
.formFlag{
  position: absolute;
  bottom: 0;
  width: 100%;
  height: auto;
  z-index: 999999999999999999;
}


.add_product{
  width: max-content;
  display: inline-block;
  width: 860px;
}
.formFlagIn{
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}
#add_prod_form {
  z-index: 9;
  position: absolute;
  bottom: 0;
  box-shadow: 0 0 20px var(--color-laste-text);
  border-radius: 40px 40px 0 0;
  background-color: var(--color-bg);
  overflow: hidden;
  width: inherit;
}
#add_rest_form{
  z-index: 10; 
  position: absolute;
  bottom: 0;
  box-shadow: 0 0 20px var(--color-laste-text);
  border-radius: 40px 40px 0 0;
  background-color: var(--color-bg);
  overflow: hidden;
  width: inherit;
}
#search_form{
  position: absolute;
  bottom: 0;
  box-shadow: 0 0 20px var(--color-laste-text);
  border-radius: 40px 40px 0 0;
  background-color: var(--color-bg);
  overflow: hidden;
  width: inherit;
}



.add_product_inside{
  overflow-y: scroll;
  padding: 20px 20px 90px 20px;
  box-sizing: border-box;
  height: 70dvh;
}
.add_product_inside.rest{
  height: 33dvh;
}
.add_product_inside.search{
  height: 13dvh;
  padding: 20px;
}
.add_product_inside::-webkit-scrollbar{width: 2px;}
.add_product_inside::-webkit-scrollbar-thumb{
  background: var(--color-last-text);
  border-radius: 15px;
}
.add_product_inside::-webkit-scrollbar-track{
  background: var(--color-lastest-text);
  width: 2px;
  display: none;
}
.add_product_inside::-webkit-scrollbar-track-piece:end {
    background: transparent;
    margin-bottom: 0px;
}
.add_product_inside::-webkit-scrollbar-track-piece:start {
    background: transparent;
    margin-top: 40px;
}

.title_add_prod{
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  box-sizing: border-box;
  margin-bottom: 20px;
}
.title_add_product{
  height: 40px;
  width: auto;
  font-size: clamp(20px,2dvw,24px);
}
.close_add_product{
  height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  cursor: pointer;

  &:hover path{
    stroke: var(--color-main-text);
  }
}



.add_category_hide{
  cursor: pointer;
  font-size: 12px;
  padding: 16px;
  width: auto;
  border-radius: 26px;
  text-align: center;
  color: var(--color-second-text);
  border: 2px solid var(--color-lastest-text);

  &:hover {
    color: var(--color-main);
    background-color: var(--color-second);
  }
}

.wrap_categories{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 20px;
}
.category_wrap{
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 250px;
}



.lin_select{
  width: 10px;
  height: 2px;
  background-color: var(--color-second-text);
  border-radius: 10px;
  transform-origin: 50% 50%;
}
.line_select_1{
  transform: rotate(45deg);
  margin-right: -2px;
}
.line_select_2{
  transform: rotate(-45deg);
  margin-left: -2px;
}

.radio_wrap{
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  height: auto;
}
#add_prod_form_in{
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.select_radio_btn{
  position: absolute;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 100px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  align-self: center;
  cursor: pointer;
  margin-right: 10px;
  z-index: 99;
  animation-duration: 0.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode:both;
  animation-name: rotateSelect;
}
@keyframes rotateSelect{
  0% {
    rotate: 180deg;
  }
  100% {
    rotate: 0deg;
  }
}
.select_radio_btn.animate{
  animation-duration: 0.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode:both;
  animation-name: rotateSel;
}
@keyframes rotateSel{
  0% {
    rotate: 0deg;
  }
  100% {
    rotate: 180deg;
  }
}

.hide_select{
  display: none;
}

.lbl_category{
  position: absolute;
  top: 1.2em;
  left: 24px;
  font-size: 0.94em;
  color: var(--color-second-text);
  padding: 0 0px;
  border-radius: 10px;
  z-index: 1;
}
.lbl_category.temp{
  position: relative;
  top: 0;
  left: 0;
}
.inp_category{
  box-sizing: border-box;
  display: block;
  height: 100%;
  width: 100%;
  border: 1px solid var(--color-last-text);
  border-radius: 100px;
  background-color: rgba(245, 255, 255, 0);
  color: var(--color-main-text);
  outline-color: var(--color-main);
  padding-left: 20px;
  padding-right: 40px;
  font-family: var(--font-main);
  font-weight: normal;
  font-size: 14px;
  caret-color: var(--color-main-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  &:hover{
    border: 1px solid var(--color-second-text);
  }
  &:focus{
    outline: none;
    border: 2px solid var(--color-main);
  }

  &:focus .add_radio_wrap{
    outline: none;
    border: 2px solid var(--color-main);
  }
}
.inp_category.temp{
  border-radius: 18px;
  border: 1px solid var(--color-last-text);
  display: flex;
  align-items: center;

  &:hover{
    border: 1px solid var(--color-second-text);
  }
}


.inp_category.animate_signal{
  -webkit-animation: fdf 1s ease;
  -moz-animation: fdf 1s ease-in-out;
  animation: fdf 1s ease-in-out;
}
@-webkit-keyframes fdf {
  0% {
    border: 1px solid var(--color-second-text);
    box-shadow: 0px 0px 0px var(--color-main);
  }
  50% {
    border: 1px solid var(--color-main);
    box-shadow: 0px 0px 2px var(--color-main);
  }
  100% {
    border: 1px solid var(--color-second-text);
    box-shadow: 0px 0px 0px var(--color-main);
  }
}


.select_list{
  position: absolute;
  top: 110%;
  width: 100%;
  max-height: 140px;
  background-color: red;
  z-index: 99999999999999999999999999999999999999999999999999 !important;
  border-radius: 26px;
  border: 1px solid var(--color-second-text);
  background-color: var(--color-bg);
  overflow-y: scroll;
}
.select_list.temp{
  width: 140px;
  margin-left: 10px;
  border-radius: 18px;
}
.select_list::-webkit-scrollbar{width: 1px;}
.select_list::-webkit-scrollbar-thumb{
  background: var(--color-second-text);
  border-radius: 15px;
}
.select_list::-webkit-scrollbar-track{
  background: var(--color-main);
  width: 1px;
  display: none;
}
.select_list::-webkit-scrollbar-track-piece:end {
    background: transparent;
    margin-bottom: 26px;
}
.select_list::-webkit-scrollbar-track-piece:start {
    background: transparent;
    margin-top: 26px;
}

.select_choice{
  position: relative;
  width: 100%;
  height: 50px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;

  &:hover {
    background-color: var(--color-second);
    cursor: pointer;
  }
}
.select_choice_text{
  position: absolute;
  top: 1.2em;
  left: 24px;
  font-size: 0.85em;
  color: var(--color-second-text);
  padding: 0 0px;
  border-radius: 10px;
  z-index: -1;
}
.select_choice_checked{
  background-color: var(--color-second);
}
.select_choice.checked{
  background-color: var(--color-second);
}

.close_select_btn{
  position: absolute;
  right: 0;
  display: flex;
  justify-content: center;
  align-self: center;
  height: 34px;
  width: 34px;
  border-radius: 100px;

  &:hover {
    background-color: var(--color-last-text);
  }
}
.close_inp_btn{
  position: absolute;
  right: 50px;
  display: flex;
  justify-content: center;
  align-self: center;
  height: 34px;
  width: 34px;
  border-radius: 100px;
  cursor: pointer;
  z-index: 1;
}
.close_inp_btn:hover ._lin_{
  background-color: var(--color-main-text);
}
.inp_close_1{
  transform: rotate(-135deg) translate(-18px, -6px);
}
.inp_close_2{
  transform: rotate(-45deg) translate(-5px, 17px);
}
.add_radio_btn{
  position: absolute;
  top: 1px;
  right: 1px;
  width: 36px;
  height: 36px;
  border-radius: 100px;
  background-color: var(--color-bg);
  border: 1px solid var(--color-second-text);
  display: flex;
  justify-content: center;
  align-self: center;
  cursor: pointer;
  margin-right: 10px;
  z-index: 9999999999999999999999999999;

  &:hover {
    background-color: var(--color-second);
    border: 1px solid var(--color-main);
    z-index: 9999999999999999999999999999;
  }
}

.line_close_1{
  transform: rotate(-135deg) translate(-18px, -6px);
}
.line_close_2{
  transform: rotate(-45deg) translate(-18px, 6px);
}
._lin_{
  height: 1px;
  width: 20px;
  border-radius: 10px;
  background-color: var(--color-second-text);
  z-index: 9999999999999999999999999999999999999999999999999;
}
._line_1_1{
  transform: rotate(-90deg) translate(-18px, 9px);
}
._line_2_2{
  transform: rotate(0deg) translate(9px, 17px);
}

.add_radio_wrap{
  display: flex;
  flex-direction: row;
  position: relative;
  width: 100%;
}
.add_radio_input{
  position: relative;
  height: 50px;
  width: 100%;
  cursor: pointer;
  z-index: 1;

}
.add_radio_input.temp{
  height: 50px;
  width: 140px;
  margin-left: 10px;
  border-radius: 20px;
}
.inp_add:-webkit-autofill,
.inp_add:-webkit-autofill:hover, 
.inp_add:-webkit-autofill:focus
.inp_add:-webkit-autofill {
  -webkit-text-fill-color: var(--color-main-text)!important;
  -webkit-box-shadow: 0 0 0px 100px var(--color-lastest-text) inset!important;
}
.inp_add{
  box-sizing: border-box;
  display: block;
  margin-bottom: 20px;
  height: 40px;
  width: 100%;
  border-radius: 100px;
  border: 1px solid var(--color-second-text);
  background-color: rgb(169, 169, 199, 0);
  color: var(--color-main-text);
  padding-left: 20px;
  padding-right: 72px;
  font-family: var(--font-main);
  font-weight: normal;
  font-size: 14px;
  caret-color: var(--color-main-text);
  

  &:focus{
    outline: none;
    border: 1px solid var(--color-main);
  }
  &:focus.success{
    outline: none;
    border: 1px solid var(--color-success);
  }
  &:focus.error{
    outline: none;
    border: 1px solid var(--color-alert);
  }
  &:not(:placeholder-shown) + .lbl_add {
    scale: 0.8;
    translate: -12.3% -1.6em;
    padding: 2px 6px;
    background: var(--color-lastest-text);
    color: var(--color-second-text);
    z-index: 1;
  }
  &:focus:not(:placeholder-shown) + .lbl_add {
    scale: 0.8;
    translate: -12.3% -1.6em;
    padding: 2px 6px;
    background: var(--color-lastest-text);
    color: var(--color-main);
    z-index: 1;
  }
  &:focus:not(:placeholder-shown) + .lbl_add.success {
    color: var(--color-success);
  }
  &:focus:not(:placeholder-shown) + .lbl_add.error {
    color: var(--color-alert);
  }

  &:focus .add_radio_wrap{
    outline: none;
    border: 2px solid var(--color-main);
  }
}


.lbl_add{
  position: absolute;
  top: 0.8em;
  left: 24px;
  font-size: 0.85em;
  color: var(--color-second-text);
  transition-duration: 0.2s;
  padding: 0 0px;
  border-radius: 10px;
  z-index: -1;
}


.icon_temp_inp{
  position: absolute;
  top: 0;
  right: 2px;
  height: 100%;
  width: 50px;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.inp_select{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.inp_select{
  width: 100%;
}
.inp_wrap{
  position: relative;
  width: 100%;
}

#temp_select{
  width: auto;
  margin-left: 10px;
  background-color: var(--color-last-text);
  padding: 0 10px;
}

.inp_error{
  position: relative;
  height: 0;
  background-color: var(--color-bg);
  color: var(--color-alert);
  padding-left: 10px;
  font-size: 12px;
  top: -9px;
  font-weight: bold;
  z-index: 2;
}
.error_span{
  background: var(--color-bg);
  padding: 0 6px;
  border-radius: 10px;
}
.open_add_product_btn{
  z-index: 9999;
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 70px;
  height: 70px;
  border-radius: 100px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  transition: 0.3s;
  background-color: var(--color-second);
  transform: translateY(20%);
  opacity: 0;

  &:hover{
    background-color: var(--color-second);
    scale: 1.2;

  }  

  &:hover ._lin{
    background-color: var(--color-main);
  }  

}
.centerLines{
  position: relative;
}
.open_add_product_btn.open {
  border: 4px solid var(--color-second-text);
  &:hover{
    background-color: var(--color-last-text);
  }  
}

._lin{
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 10px;
  background-color: var(--color-main);
  transition: 0.5s;
  transform: translate(-50%, -50%);
  z-index: 9999999999999999999999999999999999999999999999999;
}
#_1line{
  height: 3px;
  width: 30px;
  
}
#_2line{
  height: 30px;
  width: 3px;
}
@media (min-width: 760px) and (max-width: 1200px){

  
}
@media (max-width: 760px){
  .margTop{
    margin-top: 0 !important;
  }
}


.prod_placeholder_wrap{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70vh;
  width: 100%;
}
.prod_placeholder_wrap.employ{
  height: 45vh;
  margin-bottom: 80px;
}
.prod_placeholder{
  display: flex;
  flex-direction: column;
}
.prod_placeholder_img{
  width: 350px;
  height: 300px;
}
.prod_placeholder_img.employ{
  height: 200px;
}
.margTop{
  margin-top: 40px;
}
.prod_placeholder_img svg{
  width: 100%;
  height: 100%;
}
.prod_placeholder_img rect{
  stroke: var(--color-main-text);
}
.prod_placeholder_text{
  position: relative;
  transform: translateX(-50%);
  left: 50%;
  display: inline-block;
  text-align: center;
  width: 250px;
  height: auto;
  font-size: clamp(13px,2dvw,14px);
  color: var(--color-second-text);
}


.categoriesWrapper{
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  height: 60px;
  overflow-x: hidden;
  position: sticky;
  top: 90px;
  z-index: 7;
  padding-bottom: 4px;
  padding-top: 10px;
}
.categoriesWrap.active{
  animation: ee 0.3s ease-in-out forwards;
}
@keyframes ee {
  0%{
    transform: translateY(0px);
  }
  100%{
    transform: translateY(-80px);
  }
}
.categoriesWrap.nonActive{
  animation: ee3 0.3s ease-in-out forwards;
}
@keyframes ee3 {
  0%{
    transform: translateY(-80px);
  }
  100%{
    transform: translateY(0px);
  }
}




.new_category{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-right: 16px;
  height: 100%;
  font-size: 20px;
  padding: 0 20px;
  border-radius: 100px;
  box-shadow: inset 0 0 0 2px var(--color-laste-text);
  color: var(--color-second-text);

  &:hover {
    color: var(--color-main-text);
    background-color: var(--color-laste-text);
    cursor: pointer;
  }
}
.new_category.active{
  color: var(--color-main);
  background-color: var(--color-second);
  box-shadow: inset 0 0 0 2px var(--color-main);
  cursor: pointer;
  font-weight: 300;
}




.all_product_wrap{
  position: relative;
}
.product_wrap{
  min-width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
}
.new_product_wrap{
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap:  30px;
  row-gap:  30px;
  box-sizing: border-box;
}
.new_sub_category{
  height: 40px;
  font-size: 20px;
  font-weight: bold;
  padding-bottom: 10px;
  width: auto;
  position: relative;
  margin-top: 24px;
  display: inline-block;
}
.new_prod_btn{
  display: inline-block;
  margin-left: 20px;
  height: 40px;
  color: var(--color-last-text);
  cursor: pointer;

  &:hover{
    color: var(--color-main);
  }
}


.new_category_flag{
  display: none;
}
.new_product{
  position: relative;
  height: 240px;
  width: 240px;
  border-radius: 30px;
  background-color: var(--color-lastest-text);
  cursor: pointer;
  transition: 0.2s;

  &:hover{
    background-color: var(--color-second);
    scale: 1.02;
    box-shadow: 0 0 20px var(--color-second);
    color: var(--color-main);
  }
  &:hover .tempWrap{
    background-color: var(--color-second);
    color: var(--color-main);
  }


}
.new_prod_name{
  padding: 20px;
}
.tempWrap{
  background-color: var(--color-laste-text);
  border-radius: inherit;
  padding: 20px;
  position: absolute;
  bottom: 0px;
  width: calc(100% - 40px);
  display: flex;
  flex-direction: column;
  color: var(--color-last-text);
}
.maxColdTempId{
  order: 2;
}
.coldTempId{
  order: 3;
}
.normTempId{
  order: 4;
}
.tempTitle{
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 300;
  order: 1;
}
.tempContainer{
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin: 6px 0 6px 0;
  font-weight: 300;
}
.expTempWrap{
  position: absolute;
  right: 0px;
  top: 0;
}

.errorForm{
  height: 0;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.buttons_form{
  position: relative;
  height: 0;
  display: flex;
  flex-direction: row;
}







.show{
  display: block;
}



@media (min-width: 760px) and (max-width: 1200px){
  .add_product{
    width: 680px;
  }


}
@media (max-width: 760px){
  .add_product{
    width: 100dvw;
  }
  .add_product_inside{
    padding: 20px 20px 90px 20px;
  }

  .categoriesWrapper{
    height: 50px !important;
    padding-top: 10px;
  }
  .new_category {
    margin-right: 10px;
  }

  .prod_placeholder_img{
    scale: 0.8;
    height: 230px;
    margin-top: -30px;
  }
  .prod_placeholder_wrap.employ{
    height: 30dvh;
    margin-bottom: 130px;
  }
}


@media (max-width: 550px){
  .category_wrap {
    width: 100%;
  }
}




