/* ОБЩИЕ */

body {
  width: 100%;
  font-family: "Inter", sans-serif;
  color: #21201f;
  font-weight: 500;
  background-color: #ffffff;
  margin: auto;
  overscroll-behavior: contain;
}

p {
  margin: 0;
}

a {
  text-decoration: none;
  color: #21201f;
  line-height: 1;
}

h1 {
  font-size: 40px;
  font-weight: 600;
  text-align: center;
  margin: 0;
  line-height: 1;
}

input,
textarea {
  background: #ffffff40;
  border-radius: 20px;
  height: auto;
  padding: 15px;
  border: 0px solid;
  max-height: 45px;
  max-width: 320px;
  width: 100%;
  font-family: "Inter", sans-serif;
  color: #21201f;
  font-size: 14px;
  outline: none;
  border: solid 1px #00000024;
}

textarea {
  border-radius: 20px;
  width: auto !important;
  overflow-y: auto;
  overflow-x: hidden;
}

input[type="text"],
input[type="tel"],
input[type="number"],
textarea {
  font-weight: 600;
}

input::placeholder,
textarea::placeholder {
  color: #8b8a8a;
  font-weight: 400;
}

textarea:focus {
  border: 1px solid #ffb812;
}

input:focus {
  outline: none;
  box-shadow: none;
}

input.error {
  border: 1px solid #e83939;
  color: #e83939;
}

.input-wrapper input.error {
  border: 1px solid #e83939;
}

input.error::placeholder,
.input-wrapper input.error::placeholder {
  color: #e83939;
}

input[type="date"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.block {
  padding-top: 150px;
  padding-bottom: 80px;
}

.desk-none {
  display: none;
}

.bg-img {
  position: relative;
  min-height: 100vh;
}

.map-img {
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  object-fit: contain;
  z-index: -1;
  pointer-events: none;
}

.content {
  width: 80%;
  margin: 0 auto;
  max-width: 1350px;
}

.title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
  margin-bottom: 100px;
}

.img-wrap-block {
  border-radius: 10px;
}

.date {
  opacity: 0.5;
  font-size: 12px;
  font-weight: 500;
}

/* ХЕДЕР */

header {
  background: transparent;
  position: fixed;
  left: 40px;
  top: 7px;
  right: 40px;
  border-radius: 20px;
  border: 1px solid #5a5a5a1a;
  /* border: 1px solid #bbbbbb; */
  /* width: 100%; */
  z-index: 9999;
  /*box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);*/
  /* background: #FDD569; */
  /* background: linear-gradient(140deg, rgb(255 255 255) 10%, rgb(255 234 181) 100%); */
  margin: 0 auto;
}

.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav {
  gap: 35px;
  display: flex;
  list-style: none;
  font-size: 15px;
  font-weight: 400;
}

.nav a:hover {
  color: #ffb812;
}

.nav.item a.active {
  text-decoration: underline;
  color: #ffb812;
}

.logo {
  max-width: 160px;
}

.contact {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 600;
}

.close-menu {
  display: none;
}

@media (max-width: 1080px) {
  .nav {
    gap: 15px;
  }
}

@media (max-width: 820px) {
  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
  }

  .container {
    padding: 10px 30px;
    justify-content: space-between !important;
  }

  .contact{
    display: flex !important;
  }

  .logo.desk-none {
    max-width: 100px;
  }

  .desk-none {
    display: block;
  }

  .contact-cont.desk-none {
    position: relative;
    right: 0;
    top: 40px;
    bottom: 0;
    width: 100%;
    max-width: -webkit-fill-available;
    box-shadow: 0 0 0;
    border-radius: 20px;
    background: linear-gradient(90deg, rgb(255 239 178) 10%, rgb(213 164 33) 100%);
  }

  .contact-cont.desk-none > div {
    display: flex !important;
  }

  .logo {
    max-width: 65px;
  }

  .burger img {
    width: 25px;
  }

  .social {
    display: flex;
    gap: 5px;
  }

  .social img {
    width: 25px;
  }

  .contact {
    gap: 14px;
    margin-left: 50px;
  }

  .contact a {
    font-size: 16px;
    font-weight: 600;
  }

  .burger {
    display: block;
    padding: 0;
    line-height: 0;
  }

  ul.nav {
    padding: 0;
    gap: 0px;
  }

  .nav {
    font-size: 15px;
    font-weight: 500;
  }

  .nav.item a {
    width: 100%;
    text-align: left;
  }

  nav.menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 20px 20px;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 9999;
    overscroll-behavior: contain;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
  }

  nav.menu.active {
    right: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    height: 100%;
    max-height: 100%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
  }

  nav.menu ul.nav {
    flex-direction: column;
    margin-top: 20px;
    padding-bottom: 20px;
  }

  nav.menu ul.nav li.nav.item {
    padding: 22px 0;
    border-bottom: 1px solid #00000024;
  }

  button.close-menu {
    background: none;
    border: none;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
  }

  button.close-menu img {
    width: 24px;
    height: 24px;
  }

  nav.menu.active .close-menu {
    display: block;
  }
}

@media (max-width: 1197px){
  .contact {
    display: none;
  }

  .container {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 10px 10px;
  }
  .contact {
    margin-left: 0px;
    gap: 10px;
  }

  .contact a {
    font-size: 14px;
    font-weight: 600;
  }

  header {
    left: 10px;
    right: 10px;
  }
}
@media (max-width: 360px) {
  .logo {
    max-width: 55px;
  }

  .contact a {
    font-size: 12px;
  }

  .social img {
    width: 20px;
  }

  .burger img {
    width: 20px;
  }

  .social {
    gap: 3px;
  }
}

/* ФУТЕР */

footer {
  text-align: center;
  padding: 20px;
  background: #21201f;
  color: #ddd;
  font-size: 14px;
}

footer nav {
  margin-bottom: 10px;
}

footer nav a {
  color: #878787;
}

.separator {
  color: #878787;
}

.footer .logo {
  width: 132px;
}

.footer-menu {
  font-size: 14px;
  font-weight: 400;
}

.footer-phone {
  font-size: 20px;
  font-weight: 500;
  gap: 50px;
}

.footer-icon img {
  width: 25px;
}

.footer-mob {
  display: none;
}

@media (max-width: 820px) {
  .footer .logo {
    max-width: 130px;
  }

  .footer-phone {
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
  }

  .footer-phone a {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .footer .logo {
    max-width: 80px;
  }

  .footer-desk {
    display: none;
  }

  footer {
    text-align: center;
    padding: 20px;
    padding-bottom: 60px;
    padding-top: 40px;
    background: #21201f;
    color: #ddd;
  }

  .footer-phone {
    align-items: flex-start;
  }

  .footer-mob {
    position: relative;
    display: flex;
    left: 0;
    transform: translateX(-0);
  }
}

/* ФОРМА */

.map-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

#map {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.form {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 40px;
  width: 350px;
  background: transparent;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  padding: 15px;
  padding-top: 25px;
  border-radius: 20px;
  z-index: 1000;
  max-height: 500px;
  overflow: hidden;
}

ymaps.ymaps-2-1-79-search.ymaps-2-1-79-search_layout_normal.ymaps-2-1-79-searchbox__normal-layout,
ymaps.ymaps-2-1-79-float-button.ymaps-2-1-79-_hidden-text,
ymaps.ymaps-2-1-79-controls__control_toolbar,
ymaps.ymaps-2-1-79-controls__control {
  display: none;
}

.route-inputs {
  display: flex;
  flex-direction: column;
  background: #ffffff40;
  border-radius: 20px;
  overflow: hidden;
  height: auto;
  margin-bottom: 10px;
  padding: 0 35px 0px 15px;
  border: solid 1px #00000024;
}

.input-wrapper {
  display: flex;
  align-items: center;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 10px;
}

.input-wrapper.from .dot {
  background-color: #ee4040;
}

.input-wrapper.to .dot {
  background-color: #06104c;
}

.route-inputs input {
  border: none;
  padding: 15px 0;
  font-size: 13px;
  background: transparent;
}

.route-inputs .divider {
  width: auto;
  background: #00000024;
  height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}

.date-field {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 395px;
  margin-bottom: 10px;
}

.date-field input {
  width: 100%;
  padding: 24px 15px 8px 15px !important;
  font-size: 13px;
  font-weight: 600;
  color: #21201f;
  border-radius: 20px;
  border: 0px solid;
  position: relative;
  z-index: 2;
  border: solid 1px #00000024;
}

.date-floating-text {
  position: absolute;
  left: 15px;
  top: 8px;
  pointer-events: none;
  z-index: 3;
  color: #717171;
  font-weight: 400;
  font-size: 12px;
  background: transparent;
}

.date-field input::-webkit-calendar-picker-indicator {
  width: 20px;
  height: 20px;
  cursor: pointer;
  opacity: 1;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

#carsList {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
  gap: 10px;
}

.car-item {
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 7px;
  height: 70px;
  cursor: pointer;
  background: transparent;
  padding: 10px 15px;
  border-radius: 20px;
  white-space: nowrap;
}

.car-item img {
  width: 60px;
  height: auto;
  object-fit: contain;
}

.car-desc {
  color: #4b4b4a;
  font-size: 13px;
  font-weight: 400;
}

.car-item.active {
  background: #ffffff40;
  border: solid 1px #00000024;
}

#pointA,
#pointB {
  background: transparent;
  white-space: nowrap;
  width: 100% !important;
  overflow-x: auto;
  resize: none;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
  padding: 15px 5px;
}

#pointA:focus,
#pointB:focus {
  outline: none;
  box-shadow: none;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

#sendRequest {
  background-color: #ffb812;
  padding: 15px 77px;
  border-radius: 20px;
  border: 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 400;
  font-family: "Inter";
  line-height: 1;
  cursor: pointer;
  animation: breath 2.0s infinite;
}

.btn-wrapper {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  align-items: center;
}

.suggest {
  position: absolute;
  left: 12%;
  max-width: 290px;
  width: 100%;
  background: #fff;
  border: 1px solid #00000024;
  border-radius: 20px;
  margin-top: 6px;
  z-index: 2000;
  display: none;
  overflow-y: scroll;
  max-height: 300px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#suggestA {
  top: 11%;
}

#suggestB {
  top: 20%;
}

.suggest.show {
  display: block;
}

.suggest-item {
  padding: 10px 15px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid #00000024;
}

.suggest-item:last-child {
  border-bottom: none;
}

.suggest-item:hover {
  background: #f5f5f5;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 24px 20px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.wallet-fields,
.setting-fields {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.btn-wrapper img {
  width: 30px;
}

.wallet-fields.show,
.setting-fields.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.close-overlay {
  align-self: flex-start;
  background: none;
  border: none;
  color: #666;
  font-size: 15px;
  padding: 8px 0;
  margin-bottom: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.close-overlay:hover {
  color: #333;
}

.close-overlay::before {
  content: "←";
  font-size: 18px;
}

.radio {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  margin-bottom: 8px;
  border: 1px solid #dedede;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #f5f5f5;
}

.radio:hover {
  border-color: #0078ff;
  background: #f5f9ff;
}

.radio input {
  margin: 0;
  margin-right: 12px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.radio-custom {
  display: none;
}

.radio span:not(.radio-custom) {
  font-size: 15px;
  color: #333;
}

.radio input:checked + .radio-custom + span {
  font-weight: 500;
  color: #0078ff;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

input[type="radio"] {
  accent-color: #ffb812;
  position: relative;
  width: 22px;
  height: 22px;
  top: -2px;
  margin-right: 10px;
}

.option-title,
.pay-title {
  margin-top: 0px;
}

.comments-wrap {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.comments-wrap input,
.comments-wrap textarea {
  width: 100% !important;
  margin-bottom: 8px;
}

label.radio {
  font-size: 15px;
  font-weight: 400;
}

.loading-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  margin-left: -8px;
  gap: 6px;
  height: 1em;
}

.loading-dots span {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #8b8a8a;
  border-radius: 50%;
  animation: bounce 1s infinite ease-in-out;
}

.loading-dots span:nth-child(1) {
  animation-delay: 0s;
}
.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
    opacity: 0.3;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ПОП-АП ПОСЛЕ ОТПРАВКИ ФОРМЫ */
.thankyou-popup {
  position: fixed;
  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;
  z-index: 99999999;
}

.thankyou-popup.show {
  opacity: 1;
  visibility: visible;
}

.thankyou-content {
  position: relative;
  background: #fff;
  padding: 67px 72px;
  border-radius: 20px;
  text-align: center;
  font-family: "Inter", sans-serif;
  color: #21201f;
}

.thankyou-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 15px;
  height: 15px;
  background: url("../img/close.svg") center/contain no-repeat;
  border: none;
  cursor: pointer;
}

.thankyou-title {
  font-size: 18px;
  margin-bottom: 20px;
}

.thankyou-desc {
  font-size: 16px;
  font-weight: 400;
  margin: auto;
}

#sendRequest:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  animation: none;
}

@media (max-width: 480px) {
  .form {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    width: auto;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.1);
    max-height: 100%;
    transform: translateY(0);
    transition: transform 0.3s ease;
    touch-action: none;
    padding-top: 15px;
    overflow: auto;
    border-top: 1px solid #00000024;
  }

  input[type="radio"] {
    width: 28px;
    height: 28px;
    top: -2px;
  }

  .form::before {
    content: "";
    display: block;
    width: 40px;
    height: 5px;
    background: #0000004d;
    border-radius: 2px;
    margin: 0 auto 10px;
  }

  #dateTrip,
  #phone,
  .comments-wrap input,
  .comments-wrap textarea {
    max-width: -webkit-fill-available;
  }

  .btn-wrapper {
    padding-bottom: 0;
  }

  .btn-wrapper img {
    width: 25px;
  }

  #carsList {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .car-item {
    padding: 10px 15px;
    margin-bottom: 5px;
  }

  .car-item img {
    width: 60px;
  }

  input,
  textarea,
  select {
    font-size: 16px !important;
  }

  input::placeholder,
  textarea::placeholder {
    scale: 0.88;
    transform-origin: left center;
  }

  .date-floating-text {
    font-size: 13.5px;
    color: #8b8a8a;
  }

  input#phone {
    min-height: 23px;
  }

  .close-overlay {
    padding: 7px 10px;
    /* padding-left: 0px; */
    font-size: 14px;
    font-weight: 500;
    position: sticky;
    top: 0;
    left: 0;
    align-self: flex-start;
    margin-bottom: 20px;
    z-index: 10;
    background: #fbfaf9;
    border-radius: 18px;
    align-items: baseline;
    text-align: center;
    /*border: 1px solid #00000024;*/
    /*box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);*/
    backdrop-filter: blur(90px);
  }

  input::-webkit-date-and-time-value {
    text-align: left;
  }

  ymaps.ymaps-2-1-79-map {
    /*top: -70px;*/
    overflow: hidden;
  }

  #sendRequest {
    padding: 15px 77px;
    font-size: 18px;
  }

  .option-title,
  .pay-title {
    margin: 10px 0px;
    font-size: 18px;
  }

  input[type="radio"] {
    transform: scale(0.7);
    -webkit-transform: scale(0.7);
    margin-bottom: 0;
  }

  textarea {
    max-height: 40px;
  }

  #suggestA {
    top: 16.5%;
  }

  #suggestB {
    top: 27.9%;
  }
}

/* ОКНО КОНТАКТОВ НА ГЛАВНОЙ */

.contact-cont {
  max-width: 300px;
  max-height: 175px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  position: absolute;
  bottom: 50px;
  transform: translateY(-50px);
  right: 50px;
  background: transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-wrap {
  padding: 15px 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-desc {
  font-size: 16px;
  font-weight: 400;
}

.phone {
  font-size: 22px;
  font-weight: 500;
  padding: 2px 0px;
}

.main-social-icon img {
  width: 30px;
}

@media (max-width: 820px) {
  .contact-wrap {
    display: none;
  }
}

/* СТРАНИЦА НАПРАВЛЕНИЯ */

.subtitle {
  font-size: 25px;
  font-weight: 400;
  max-width: 475px;
  text-align: center;
}

.card-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 35px;
  column-gap: 90px;
}

.card-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-bottom: 1px solid #21201f;
  padding-bottom: 35px;
}

.card-name {
  font-size: 22px;
  font-weight: 600;
}

.card-subtitle {
  font-size: 14px;
  font-weight: 400;
}

.card-price {
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 820px) {
  .content {
    margin: 30px 30px;
  }
  .card-wrap {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 480px) {
  .content {
    margin: 0px auto;
    width: 100%;
  }
  .card-wrap {
    grid-template-columns: repeat(1, 1fr);
  }

  .cards {
    max-width: 300px;
    margin: 0 auto;
  }

  h1 {
    font-size: 28px;
    line-height: 1.1;
  }

  .subtitle {
    font-size: 20px;
    max-width: 290px;
  }

  .title-wrap {
    gap: 20px;
    max-width: 300px;
    margin: 0 auto;
    margin-bottom: 70px;
  }

  .card-name {
    font-size: 18px;
  }
}

@media (max-width: 320px) {
  .content {
    max-width: 290px;
  }
}

/* СТРАНИЦА ТАРИФЫ */

.prod-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.prod-item {
  border-radius: 20px;
  border: 1px solid #ededed;
  background: #fff;
  padding: 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.prod-img {
  width: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.prod-name {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.card-name-sm {
  font-size: 20px;
  font-weight: 600;
}

.card-tag-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-tag {
  display: flex;
  background: #ffb812;
  border-radius: 20px;
  padding: 15px;
  align-items: center;
  width: max-content;
}

.card-tag-sm {
  padding: 13px 15px;
}

.tag-name {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.tag-icon {
  width: 17px;
  height: 23px;
}

.info-block {
  display: flex;
  align-items: flex-start;
  margin-top: 80px;
  gap: 80px;
  justify-content: space-between;
}

.info-head {
  font-size: 35px;
  font-weight: 600;
  max-width: 490px;
  margin: 0 auto;
}

.info-text {
  font-size: 14px;
  font-weight: 400;
  max-width: 670px;
}

@media (max-width: 820px) {
  .prod-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-block {
    flex-direction: column;
    gap: 40px;
  }

  .info-head {
    max-width: 330px;
    margin: 0 auto;
  }

  .info-text {
    max-width: 330px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .prod-wrap {
    grid-template-columns: repeat(1, 1fr);
  }

  .card-name-sm {
    font-size: 18px;
  }

  .info-head {
    font-size: 30px;
  }
}

/* СТРАНИЦА ОТЗЫВЫ */

.rewiew-block {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
}

.rewiew-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

.rewiew-item{
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 20px;
  transition: all 0.3s
  ease;
  border: 1px solid #ededed;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  max-width: 300px;
  margin: 0 auto;
  gap: 15px;
}

.rewiew-img {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rewiew-name-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rewiew-name {
  font-size: 18px;
  font-weight: 600;
}

.rewiew-text {
  font-size: 14px;
  font-weight: 400;
}

.see-more {
  width: max-content;
  font-size: 16px;
  font-weight: 500;
  font-family: "Inter";
  padding: 15px 30px;
  border-radius: 20px;
  border: 0;
  color: #fff;
  background: #ffb812;
}

@media (max-width: 820px) {
  .rewiew-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .rewiew-wrap {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* СТРАНИЦА НОВОСТИ И БЛОГ */

.news-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-item {
  position: relative;
  background: #fff;
  padding: 20px;
  gap: 15px;
  display: flex;
  flex-direction: column;
  border: 1px solid #ededed;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s
  ease;
  overflow: hidden;
  max-width: 300px;
  margin: 0 auto;
}

.news-item img {
  width: 100%;
  object-fit: cover;
  height: 160px;
  border-radius: 10px;
}

.news-name-wrap {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.news-title {
  font-size: 20px;
  font-weight: 600;
}

.news-subtitle {
  font-size: 14px;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.read {
  color: #fff;
  background: #ffb812;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 25px;
  border-radius: 20px;
}

@media (max-width: 820px) {
  .news-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .news-wrap {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* СТАТЬИ */

.article-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.article-title {
  align-items: flex-start;
  gap: 50px;
  margin-bottom: 0;
}

.back-btn {
  font-size: 14px;
  font-weight: 400;
}

.article-name {
  width: 60%;
  text-align: left;
}

.article-date {
  font-size: 16px;
}

.article-img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 10px;
  object-position: center 75%;
}

.article-text-wrap p,
.article-text-wrap ul {
  font-size: 16px;
  font-weight: 400;
}

.article-text-wrap a {
  text-decoration: underline;
  color: #ffb812;
}

@media (max-width: 820px) {
  .article-name {
    width: 100%;
  }

  .article-img {
    max-height: 160px;
  }
}

@media (max-width: 480px) {
  .article-container {
    gap: 60px;
  }

  .article-title {
    gap: 40px;
  }

  .article-date {
    font-size: 14px;
  }
}

/* СТРАНИЦА КОНТАКТЫ */

.contacts-block {
  align-items: center;
}

.contacts-wrap {
  display: flex;
  gap: 20px;
  margin: 0 auto;
}

.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin: 0px auto;
}

.contacts-item {
  display: flex;
  gap: 15px;
  align-items: center;
  background: #fff;
  padding: 15px;
  border-radius: 20px;
  border: 1px solid #ededed;
  max-width: 300px;
  width: -webkit-fill-available;
  margin: 0 auto;
}

.card-contact-block-title {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  gap: 8px;
}

.mini-block-title {
  font-size: 13px;
  font-weight: 300;
}

.card-contact-link,
.card-contact-info {
  font-size: 16px;
  font-weight: 500;
}

.contacts-social {
  display: flex;
  gap: 5px;
  margin-left: 25px;
}

.contacts-social img {
  width: 35px;
}

.contacts-item:nth-child(3) {
  align-items: flex-start;
}

.contacts-info-block {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #ededed;
  max-width: 1200px;
}

.contacts-info-block p {
  font-size: 14px;
  font-weight: 400;
}

@media (max-width: 820px) {
  .contacts-wrap {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .contacts-item img {
    width: 40px;
  }

  .mini-block-title {
    font-size: 12px;
  }

  .contacts-item img {
    width: 37px;
  }

  .contacts-info-block {
    padding: 20px;
    max-width: 300px;
    margin: 0 auto;
  }

  .contacts-social {
    display: flex;
    gap: 5px;
    margin-left: 10px;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 184, 18, 0.7);
  }
  70% {
    transform: scale(1.02);
    box-shadow: 0 0 0 12px rgba(255, 184, 18, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 184, 18, 0);
  }
}

/*!* Дополнительный hover-эффект для лучшей интерактивности *!*/
/*#sendRequest:hover {*/
/*  animation: none; !* Останавливаем пульсацию при наведении *!*/
/*  background-color: #ffa812; !* Немного темнее при наведении *!*/
/*  transform: scale(1.03);*/
/*  box-shadow: 0 5px 15px rgba(255, 184, 18, 0.4);*/
/*}*/


/* Анимация дыхания с вашим цветом #ffb812 */
@keyframes breath {
  0%, 100% {
    transform: scale(1);
    box-shadow:
            0 4px 8px rgba(255, 184, 18, 0.3),
            0 0 0 0 rgba(255, 184, 18, 0.2);
  }
  50% {
    transform: scale(1.03);
    box-shadow:
            0 8px 20px rgba(255, 184, 18, 0.4),
            0 0 0 6px rgba(255, 184, 18, 0.1);
  }
}

/* Дополнительный hover-эффект */
sendRequest:hover {
  animation: none; /* Останавливаем анимацию при наведении */
  background-color: #ffaa12;
  transform: scale(1.05);
  box-shadow:
          0 10px 25px rgba(255, 184, 18, 0.5),
          0 0 0 3px rgba(255, 255, 255, 0.2);
}

sendRequest:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}


/* Thankyou block v2.0 */

/* Общие стили окна (ваши существующие + дополнения) */
.thankyou-content {
  position: relative;
  background: #0000008c;
  padding: 35px 20px;
  border-radius: 20px;
  text-align: center;
  font-family: "Inter", sans-serif;
  color: #21201F;
  margin: 0px 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-width: 560px;
  box-sizing: border-box;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Кнопка закрытия */
.thankyou-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
  background: url('data:image/svg+xml;utf8,<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L11 11M11 1L1 11" stroke="%23666" stroke-width="2" stroke-linecap="round"/></svg>') no-repeat center;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.thankyou-close:hover {
  background-color: #E8E8E8;
}

/* Иконка успеха */
.thankyou-icon {
  margin-bottom: 24px;
}

/* Заголовок */
.thankyou-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 16px 0;
  color: #e8f7ef;
}

/* Основное описание */
.thankyou-desc {
  font-size: 15px;
  line-height: 1.5;
  color: #d3d3d3;
  margin: 0 0 32px 0;
}
.thankyou-order-id {
  display: inline-block;
  background: #00000040;
  color: #0066CC;
  font-family: monospace;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  margin-left: 5px;
}

/* Блок с фичами */
.thankyou-features {
  background: #00000040;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  margin-bottom: 32px;
}
.thankyou-feature {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
  color: #d3d3d3;
}
.thankyou-feature:last-child {
  margin-bottom: 0;
}
.thankyou-feature-icon {
  font-size: 20px;
  margin-right: 12px;
  flex-shrink: 0;
}
.thankyou-feature-text strong {
  color: #d4bd6e;
}

/* Кнопки действий */
.thankyou-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}
.thankyou-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2AC769;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.thankyou-button:hover {
  background: #24B15D;
  transform: translateY(-2px);
}
.thankyou-button.secondary {
  background: transparent;
  color: #666;
  border: 1.5px solid #E0E0E0;
}
.thankyou-button.secondary:hover {
  border-color: #CCC;
}

/* Нижняя заметка */
.thankyou-note {
  font-size: 12px;
  color: #777;
  line-height: 1.5;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid #c3c3c3;
}
.thankyou-phone {
  display: inline-block;
  color: #0066CC;
  font-weight: 600;
  text-decoration: none;
  margin-left: 5px;
  transition: color 0.2s;
}
.thankyou-phone:hover {
  color: #0052A3;
  text-decoration: underline;
}

/* Очистка инпута */
   /* Обертка для поля ввода и крестика */
 .input-inner-wrapper {
   position: relative;
   width: 100%;
   display: flex;
   align-items: center;
 }

/* Стили для крестика */
.clear-btn {
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background:  url('data:image/svg+xml;utf8,<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L11 11M11 1L1 11" stroke="%23666" stroke-width="2" stroke-linecap="round"/></svg>') no-repeat center;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #666;
  z-index: 10;
  padding: 0;
  margin: 0;
}

/* Обертка для поля телефона */
.phone-input-wrapper {
  width: 100%;
  position: relative;
}

#clearPhone {
  right: 11px;
}

/* Контейнер для поля ввода с крестиком внутри */
.input-field-container {
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
}

/* Поля ввода занимают всю ширину */
.input-field-container input {
  width: 100%;
  flex: 1;
  padding-right: 30px; /* Место для крестика */
  box-sizing: border-box;
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: inherit;
}

/* Крестик теперь внутри .input-field-container */
.input-field-container .clear-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url('data:image/svg+xml;utf8,<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L11 11M11 1L1 11" stroke="%23666" stroke-width="2" stroke-linecap="round"/></svg>') no-repeat center;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #666;
  z-index: 10;
  padding: 0;
  margin: 0;
}

/* Специфичные настройки для существующих классов */
.input-wrapper .input-field-container .clear-btn {
  right: -27px;
}

/* Для телефона специфичное позиционирование */
.phone-input-wrapper .input-field-container .clear-btn {
  right: 11px;
}

.prod-item,
.rewiew-item{
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 20px;
  transition: all 0.3s ease;
  border: 1px solid #ededed;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  max-width: 300px;
  margin: 0 auto;
}

/* Контейнер для изображения */
.img-wrap-block-article {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 280px;
  margin: -40px 0;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 15px;
}

.img-wrap-block {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 15px;
}

.prod-img {
  max-width: 100%;
  max-height: 140px;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.prod-item:hover .prod-img {
  transform: scale(1.05);
}

/* Блок с названием */
.prod-name {
  margin-bottom: 10px;
  flex-grow: 1;
}

.card-name-sm {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
}

.card-subtitle {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
}

/* Блок с тегами */
.card-tag-wrap {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: auto;
  align-items: center;
  justify-content: center;
}

.card-tag {
  display: flex;
  align-items: center;
  background: rgba(0, 120, 255, 0.08);
  border-radius: 20px;
  padding: 12px 16px;
  border: 1px solid rgba(0, 120, 255, 0.1);
}

.card-tag:first-child {
  background: linear-gradient(135deg, rgba(0, 120, 255, 0.1) 0%, rgba(0, 120, 255, 0.05) 100%);
}

.tag-name {
  font-size: 15px;
  font-weight: 600;
  color: #0078ff;
  margin: 0;
  line-height: 1.3;
}

/* Маленький тег с иконкой */
.card-tag-sm {
  background: rgba(40, 167, 69, 0.08);
  border-color: rgba(40, 167, 69, 0.1);
  align-self: flex-start;
}

.card-tag-sm .tag-name {
  color: #28a745;
  font-size: 14px;
  font-weight: 500;
}

.tag-icon {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  opacity: 0.8;
}

/* Адаптивность */
@media (max-width: 768px) {
  .prod-item {
    padding: 15px;
    border-radius: 20px;
  }

  .img-wrap-block {
    height: 150px;
    margin-bottom: 16px;
    padding: 12px;
  }

  .prod-img {
    max-height: 120px;
  }

  .card-name-sm {
    font-size: 20px;
  }

  .card-subtitle {
    font-size: 14px;
  }

  .card-tag {
    padding: 10px 14px;
  }

  .tag-name {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .prod-item {
    padding: 15px;
  }

  .img-wrap-block-article {
    height: 160px;
    margin: -20px 20px;
  }

  .img-wrap-block {
    height: 160px;
  }

  .prod-img {
    max-height: 145px;
  }

  .card-tag-wrap {
    gap: 10px;
  }

  .tag-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
  }
}

header.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*background: rgba(255, 255, 255, 0.5);*/
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  z-index: -1; /* Отправляем фон назад */
}

.form::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.3);
  /*backdrop-filter: blur(10px);*/
  /*-webkit-backdrop-filter: blur(10px);*/
  /*border-radius: 20px;*/
  /*box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);*/
  z-index: -1; /* Отправляем фон назад */
}

.route-inputs::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*background: rgba(255, 255, 255, 0.5);*/
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /*border-radius: 20px;*/
  /*box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);*/
  z-index: -1; /* Отправляем фон назад */
}

/* Контейнер для переключателей */
.toggle-switches {
  margin: 20px 0;
  margin-bottom: 0px;
}

/* Стили для переключателя */
.toggle-switch {
  display: flex;
  align-items: center;
  padding: 13px 16px;
  margin-bottom: 8px;
  border: 1px solid #00000024;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #ffffff40;
  position: relative;
}

.toggle-switch.wallet {
  padding: 10px 16px;
}

/* Скрываем нативный чекбокс */
.toggle-switch input[type="checkbox"] {
  display: none;
}

/* Ползунок (слайдер) */
.toggle-slider {
  position: relative;
  width: 48px;
  height: 25px;
  background: #ccc;
  border-radius: 14px;
  margin-right: 12px;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

/* Круг внутри слайдера */
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Активное состояние */
.toggle-switch input:checked + .toggle-slider {
  background: #ffba18;
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(24px);
}

/* Текст метки */
.toggle-label {
  font-size: 15px;
  font-weight: 400;
  color: #333;
  flex-grow: 1;
}

/* Активное состояние для всей метки */
.toggle-switch input:checked ~ .toggle-label {
  color: #333333;
  font-weight: 500;
}

/* Активное состояние для всего переключателя */
.toggle-switch.active {
  border-color: #ffba18;
  background: #e6f2ff;
}

* {
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

*:focus {
  outline: none !important;
  box-shadow: none !important;
}
/* Кнопка сделать заказа на мобилке не на главной странице */
.order-button {
  display: block;
  position: fixed;
  bottom: 20px;
  right: 40px;
  background: transparent;
  color: white;
  border-radius: 25px;
  padding: 15px 40px 15px 25px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 184, 18, 0.3);
  z-index: 1000;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  animation: breath 2.0s infinite;
}

/* Стрелка всегда видна */
.order-button:after {
  content: '→';
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  font-size: 18px;
}

/* Эффект нажатия */
.order-button:active {
  background: #e6a010;
  transform: scale(0.98);
}

.order-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 200, 50, 0.75) 0%, rgba(255, 179, 0, 0.75) 50%, rgba(230, 150, 0, 0.75) 100%);
  /* background: rgba(255, 255, 255, 0.5); */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgb(255 196 18 / 75%);
  box-shadow: 0px 5px 5px rgb(0 0 0 / 25%);
  z-index: -1;
}

.order-not-footer {
  bottom: auto !important;
  top: calc(100vh - 100px - 60px) !important; /* 100vh - высота футера - отступ */
  position: absolute !important;
}

@media (max-width: 480px) {
  .order-button {
    right: 10px;
    font-size: 14px;
  }
}

/* Описание разделов */

.description-page {
  margin: 0 auto;
  text-align: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: #a9a9a9;
  max-width: 450px;
}

@media (max-width: 768px) {
  .description-page {
    font-size: 15px;
  }
}

/* Только для мобилок */
@media (max-width: 768px) {
  footer {
    text-align: center;
    padding: 20px;
    background: #21201f;
    color: #ddd;
  }
  .separator {
    display: none;
  }

  footer nav {
    display: flex;
    flex-direction: column;
  }

  /* Скрываем символы "|" */
  footer nav br,
  footer nav::after {
    display: none;
  }

  footer nav a {
    display: block;
    text-decoration: none;
    padding: 3px;
  }
}

.article-text-wrap {
  margin: 0 20px;
}