@charset "UTF-8";
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: none;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.header__container {
  position: relative;
}

.header__cart-btn.button-app {
  flex-direction: row-reverse;
  gap: 10px;
  padding: 0 15px;
  height: 44px;
  min-width: 324px;
  color: var(--secondary-color);
}

.header__cart-btn.button-app svg path {
  stroke: var(--secondary-color);
}

@media (max-width: 767.98px) {
  .header_rest {
    background: transparent;
    position: sticky;
    top: 0;
  }
  .header_rest .header__action-item {
    border-radius: 32px;
    background: var(--body-color);
  }
  .header_rest .header__menu-icon {
    border-radius: 32px;
    background: var(--body-color);
  }
}

.header_small {
  box-shadow: 0px 6px 20px rgba(160, 147, 143, 0.14);
}

.header_small .header__row {
  padding: 9px 0;
  align-items: center;
}

@media (max-width: 767.98px) {
  .header_small .header__row {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
  }
}

.header_small .header__right {
  justify-content: flex-end;
  width: 0;
}

@media (max-width: 767.98px) {
  .header_policy {
    display: none;
  }
}

.header--hidden {
  transform: translateY(-100%);
  transition: transform 0.2s ease-in-out;
}

.header--fixed {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
}

.header__row {
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-width: 0;
}

.header__row.menu_mobile {
  position: fixed;
  max-height: 65px;
  padding: 0 12px;
  margin: 0 -15px;
  width: 100%;
  background-color: var(--body-color);
  border-bottom: 1px solid #DDDFE4;
}

.header__row.menu_mobile.no_border_bottom {
  border-bottom: none;
}

.header__row.no_border_bottom.order_page {
  margin: 0 auto;
  padding: 9px 8px;
}

.header__left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 768px) {
  .header__left {
    gap: 4px;
  }
}

.header__address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  line-height: 24px;
}

.header__address img {
  max-width: 56px;
  flex-shrink: 0;
}

.header__title {
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  text-align: center;
  color: var(--primary);
  width: 100%;
  padding: 0 100px;
  margin-left: 40px;
}

@media (max-width: 768px) {
  .header__title {
    margin-left: 0;
    padding: 0;
    font-weight: 500;
    text-align: start;
    font-size: 20px;
  }
}

.header__menu-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__menu-icon svg path,
.header__menu-icon svg circle,
.header__menu-icon svg rect, .header__back-btn svg path,
.header__back-btn svg circle,
.header__back-btn svg rect, .header__close-btn svg path,
.header__close-btn svg circle,
.header__close-btn svg rect, .header__action-btn svg path,
.header__action-btn svg circle,
.header__action-btn svg rect, .header__action-item .header__lang svg path,
.header__action-item .header__lang svg circle,
.header__action-item .header__lang svg rect {
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
}

@media (hover: hover) {
  .header__menu-icon:hover svg path,
.header__menu-icon:hover svg circle,
.header__menu-icon:hover svg rect, .header__back-btn:hover svg path,
.header__back-btn:hover svg circle,
.header__back-btn:hover svg rect, .header__close-btn:hover svg path,
.header__close-btn:hover svg circle,
.header__close-btn:hover svg rect, .header__action-btn:hover svg path,
.header__action-btn:hover svg circle,
.header__action-btn:hover svg rect, .header__action-item .header__lang:hover svg path,
.header__action-item .header__lang:hover svg circle,
.header__action-item .header__lang:hover svg rect {
    stroke: var(--orange) !important;
  }
}

.header__right {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
  flex: 0 0 auto;
}

.header__action-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__action-item svg {
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
}

.header__action-item--phone svg path,
.header__action-item--phone svg circle,
.header__action-item--phone svg rect {
  fill: none !important;
}

@media (hover: hover) {
  .header__action-item--phone:hover svg path,
.header__action-item--phone:hover svg circle,
.header__action-item--phone:hover svg rect {
    fill: none !important;
    stroke: var(--orange);
  }
}

.header__lang {
  width: 44px;
  height: 44px;
  padding: 10px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
  cursor: pointer;
  font-weight: 500;
}

@media (hover: hover) {
  .header__lang:hover {
    color: var(--orange);
  }
}

@media (max-width: 767.98px) {
  .header__lang {
    font-weight: 600;
  }
}

.header__action-btn {
  width: 44px;
  height: 44px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (hover: hover) {
  .header__action-btn:hover svg {
    stroke: var(--primary);
  }
}

.header__action-btn svg path {
  stroke: var(--primary);
}

.header__close-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__close-btn:hover svg path {
  stroke: var(--orange);
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
}

@media (max-width: 768px) {
  .header__close-btn svg {
    width: 20px;
    height: 20px;
  }
}

.header__back-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__back-btn:hover svg path {
  stroke: var(--orange);
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
}

.header__logo {
  border-radius: 50%;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .header__logo {
    width: 36px;
    height: 36px;
  }
}

.header__logo_block {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .header__logo_block {
    width: 36px;
    height: 36px;
  }
}

.header__background {
  background-color: var(--body-color);
  box-shadow: 0 12px 20px rgba(160, 147, 143, 0.14);
  border-radius: 0;
}

@media (max-width: 768px) {
  .header__background {
    background-color: var(--body-color);
    border-bottom: 1px solid var(--modal-border);
    border-radius: 0;
  }
}

.header__background_mobile_rest {
  background-color: var(--body-color);
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  backdrop-filter: blur(20px);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.header-lang {
  position: absolute;
  top: 45px;
  right: 0;
  background: var(--ancor-back);
  border: 1px solid var(--ancor-back-border);
  border-radius: 8px;
  padding: 8px 16px;
  z-index: 999;
  width: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  line-height: 24px;
}

.header-lang.lang-enter-active, .header-lang.lang-leave-active {
  transition: opacity 0.3s, transform 0.3s;
}

.header-lang.lang-enter-from, .header-lang.lang-leave-to {
  opacity: 0;
  transform: translateY(-10px);
}

.header-lang li:not(:last-child) {
  border-bottom: 1px solid var(--ancor-back-border);
}

.header-lang li:first-child .header-lang__link {
  padding-top: 0;
}

.header-lang li:last-child .header-lang__link {
  padding-bottom: 0;
}

.header-lang__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
}

@media (hover: hover) {
  .header-lang__link:hover {
    color: var(--orange);
  }
}

.header-lang__link.active {
  font-weight: 600;
  color: var(--orange);
}

.header-lang__link .vti__flag {
  width: 20px;
  height: 15px;
  margin-right: 4px;
}

.header-lang__link .vti__flag.gb {
  height: 10px !important;
}

.animate-btn-enter-active, .animate-btn-leave-active {
  transition: all 0.2s ease-in-out;
}

.animate-btn-leave-from {
  opacity: 0;
}

.animate-btn-leave-to {
  transform: translateX(100px);
}

.animate-btn-enter-from {
  transform: translateX(-20px);
}

.animate-btn-enter-from, .animate-btn-leave-to {
  position: absolute;
  visibility: hidden;
}

.header-slide-enter-active, .header-slide-leave-active {
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.header-slide-enter-from, .header-slide-leave-to {
  transform: translateY(-12px);
  opacity: 0;
}

.mobile-tabs-fixed {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--body-color);
  border-bottom: 1px solid #DDDFE4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: slideDown 0.3s ease-out;
  padding: 0 9px;
}

.mobile-tabs-fixed .mobile-tabs {
  position: static;
  background: var(--body-color);
  border-radius: 0;
  margin: 0;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

body {
  padding-top: 0;
  transition: padding-top 0.3s ease;
}

body.has-fixed-tabs {
  padding-top: 60px;
}

.header .mobile-tabs {
  background: transparent;
  border-bottom: none;
  margin: 0;
  padding-top: 10px;
}

.head__address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 768px) {
  .head__address {
    margin-left: 0;
  }
}

.header__row.no_border_bottom.order_page {
  margin: 0 auto;
  padding: 16px 8px;
}

.aside.menu-enter-active, .aside.menu-leave-active {
  transition: all 0.4s ease;
}

.aside.menu-enter-active .aside__wrap, .aside.menu-leave-active .aside__wrap {
  transition: all 0.3s ease;
}

.aside.menu-enter-active .aside__overlay, .aside.menu-leave-active .aside__overlay {
  transition: all 0.4s ease;
}

.aside.menu-enter-from .aside__wrap, .aside.menu-leave-to .aside__wrap {
  transform: translateX(-100%);
}

.aside.menu-enter-from .aside__overlay, .aside.menu-leave-to .aside__overlay {
  opacity: 0;
}

.aside {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1015;
  width: 400px;
  height: 100%;
}

@media (max-width: 767.98px) {
  .aside {
    width: 100%;
  }
}

.aside__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 0 16px;
  gap: 12px;
}

.aside__header-left {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.aside__wrap {
  padding: 19px 38px 32px 24px;
  position: relative;
  z-index: 2;
  height: 100%;
  overflow-y: auto;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aside__close {
  top: 32px;
  right: 28px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}

@media (hover: hover) {
  .aside__close:hover svg {
    fill: var(--orange);
  }
}

.aside__close svg {
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
}

.aside__logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: contain;
  max-height: 36px;
  max-width: 110px;
  margin-left: 5px;
}

.aside__company {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  line-height: 24px;
  max-width: calc(100% - 40px);
}

.aside__company:not(:last-child) {
  margin-bottom: 24px;
}

.aside__address {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  line-height: 20px;
  margin-top: 25px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
}

@media (hover: hover) {
  .aside__address:hover {
    color: var(--orange);
  }
}

@media (hover: hover) {
  .aside__address:hover svg {
    stroke: var(--orange);
  }
}

.aside__address svg {
  width: 24px;
  height: 24px;
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
}

.aside__contacts-list {
  font-size: 14px;
  line-height: 20px;
}

.aside__contacts-list a {
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
}

@media (hover: hover) {
  .aside__contacts-list a:hover {
    color: var(--orange);
  }
}

.aside__contacts-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.aside__contacts-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aside__socials-title {
  font-size: 14px;
  line-height: 20px;
}

.aside__socials-title:not(:last-child) {
  margin-bottom: 2px;
}

.aside__socials-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
}

@media (hover: hover) {
  .aside__socials-list a:hover {
    color: var(--orange);
  }
}

@media (hover: hover) {
  .aside__socials-list a:hover svg {
    fill: var(--orange);
  }
}

.aside__socials-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  flex-shrink: 0;
}

.aside__socials-icon svg {
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
}

.aside__politik {
  font-size: 14px;
  line-height: calc(20 / 14);
  margin-top: 16px;
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
  display: inline-block;
}

@media (hover: hover) {
  .aside__politik:hover {
    color: var(--orange);
  }
}

.aside__overlay {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.35);
  width: 100%;
  height: 100%;
  z-index: 1001;
  opacity: 1;
}

@media (max-width: 767.98px) {
  .aside__overlay {
    display: none;
  }
}

.restaurant-open {
  color: var(--modal-card-text-gray);
}

.restaurant-closed {
  color: var(--modal-card-text-gray);
}

.sidebar-address-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

.sidebar-address-head__address {
  display: inline-flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--primary-background-color);
}

.sidebar-address-head__address svg {
  width: 24px;
  height: 24px;
}

.sidebar-address-head__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: flex-start !important;
  gap: 12px;
}

.sidebar-address-head__content {
  display: flex;
  width: 100%;
  gap: 8px;
  justify-content: flex-start;
  display: flex;
  flex-direction: column;
}

.sidebar-address-head__title {
  text-align: start;
  font-size: 12px;
  font-weight: 400;
  color: var(--modal-card-text-gray);
}

.sidebar-address-head__main-title {
  text-align: start;
  font-size: 14px;
  font-weight: 500;
}

.sidebar-address-head__title-block {
  text-align: left;
}

.status-indicator {
  font-size: 0.9em;
  font-weight: normal;
  margin-left: 8px;
}

.schedule-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.schedule-label {
  font-size: 12px;
  color: var(--modal-card-text-gray);
  font-weight: 500;
}

.schedule-time {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

.schedule-time.closed {
  color: #dc3545;
}

.fade-enter-active, .fade-leave-active {
  transition: all 0s;
}

.slide-fade-enter-active, .slide-fade-leave-active {
  transition: transform 0.3s linear;
}

.slide-fade-enter-from, .slide-fade-leave-to {
  transform: translateX(-100%);
}

.contact-data {
  border-radius: 8px;
  font-size: 14px;
}

.contact-data h2 {
  margin-bottom: 15px;
  font-size: 20px;
}

.contact-data p {
  margin-bottom: 10px;
  line-height: 1.5;
  font-weight: 500;
  margin-left: 5px;
}

.contact-data strong {
  font-weight: bold;
}

.contact_field {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: var(--ancor-back);
  margin-bottom: 2px;
  padding: 5px 0;
  border-radius: 0;
}

.contact_field:last-child {
  margin-bottom: 0;
}

.contact_field a {
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
}

@media (hover: hover) {
  .contact_field a:hover {
    color: var(--orange);
  }
}

.contact_fields-wrapper {
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 15px;
}

.contact_ico {
  padding: 10px;
}

.contact-link {
  color: var(--primary);
  text-decoration: none;
  display: block;
  padding: 5px 0;
}

.info-block .contact-link {
  padding: 12px 16px;
  display: block;
  width: 100%;
}

.cart-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-space {
  width: 36px;
  height: 36px;
}

.header__aside.aside {
  opacity: 1;
}

.contact-data restaurants-block {
  margin-top: 20px;
  border-radius: 8px;
  font-size: 14px;
}

.restaurants-mob-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.restaurants-mob-head__address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--primary-background-color);
}

.restaurants-mob-head__address svg {
  width: 24px;
  height: 24px;
}

@keyframes phone_modal_slide-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes phone_modal_fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.phone_modal__wrapper {
  background: var(--body-color);
  height: auto;
  animation: phone_modal_fadeInScale 0.3s ease forwards;
  min-width: 420px;
}

@media (min-width: 769px) {
  .phone_modal__wrapper {
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    background-color: var(--body-color);
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .phone_modal__card_wrapper {
    max-height: inherit;
    margin-top: 140px;
  }
}

@media (max-width: 768px) {
  .phone_modal__content_container {
    position: absolute;
    bottom: 0;
  }
}

@media (max-width: 768px) {
  .phone_modal_scroll {
    max-height: 90vh;
    overflow-y: auto;
  }
}

@media (max-width: 768px) {
  .phone_modal_mobile_content {
    padding: 16px;
    border-radius: 16px 16px 0 0;
    background-color: var(--body-color);
  }
}

.phone_modal_title {
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  margin: 12px 16px 0 16px;
}

.phone_modal_title span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 769px) {
  .phone_modal_title {
    font-size: 22px;
    margin: 0 0 20px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .phone_modal_title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .phone_modal_title {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--modal-border);
    margin: 0 0 16px 0;
  }
}

.phone_modal_content {
  font-size: 18px;
  margin: 12px 16px 0 16px;
  min-width: 400px;
}

@media (min-width: 768px) {
  .phone_modal_content {
    margin: 0;
    min-width: 280px;
  }
}

@media (max-width: 768px) {
  .phone_modal_content {
    margin: 0;
    min-width: 280px;
  }
}

.phone_modal_content_item {
  margin-top: 12px;
}

@media (min-width: 769px) {
  .phone_modal_content_item {
    background-color: var(--ancor-back);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    margin-top: 8px;
    position: relative;
  }
}

@media (min-width: 769px) and (hover: hover) {
  .phone_modal_content_item:hover {
    background-color: var(--primary-background-color);
    box-shadow: 0 4px 12px rgba(255, 148, 25, 0.1);
  }
}

@media (min-width: 769px) {
  .phone_modal_content_item span {
    font-size: 16px;
    color: var(--primary);
  }
}

@media (max-width: 768px) {
  .phone_modal_content_item {
    background-color: var(--ancor-back);
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    margin-top: 8px;
  }
}

@media (min-width: 769px) {
  .phone_modal_content_block {
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .phone_modal_content_block {
    margin-bottom: 20px;
  }
}

.phone_modal_content_block > span {
  display: block;
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .phone_modal_content_block > span {
    font-size: 15px;
  }
}

.phone_modal_close {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: all 0.2s ease-in-out;
}

@media (hover: hover) {
  .phone_modal_close:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: rotate(90deg);
  }
}

.phone_modal_close svg path {
  transition: stroke 0.2s ease;
}

.phone_modal_close svg path:hover {
  stroke: var(--orange);
}

.phone_modal_tel_link {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.phone_modal_call_icon {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  transition: all 0.2s ease;
}

@media (hover: hover) {
  .phone_modal_call_icon:hover {
    opacity: 1;
    transform: scale(1.1);
  }
}

@media (max-width: 768px) {
  .phone_modal_call_icon {
    margin-left: 8px;
  }
}

.modal--visible {
  visibility: visible;
  opacity: 1;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 10;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s ease;
}

@media (max-width: 767.98px) {
  .modal {
    padding: 0;
  }
}

.modal__container.step1 .modal_review_button_step {
  margin-top: 48px;
}

.modal__container.step2 .modal_review_button_step {
  margin-top: 16px;
  margin-bottom: 16px;
}

.modal__container.step3 .modal_review_button_step {
  margin-top: 40px;
}

@media (max-width: 767.98px) {
  .modal.review .modal-card__button, .modal.table_basket .modal-card__button {
    top: 10px;
    right: 16px;
  }
}

.modal.review .modal__wrapper, .modal.table_basket .modal__wrapper {
  justify-content: flex-start;
  transform: translate(-50%, -50%);
  z-index: 1001;
  transition: transform .3s ease-out;
}

@media (max-width: 767.98px) {
  .modal.review .modal__wrapper, .modal.table_basket .modal__wrapper {
    padding: 0;
  }
}

.modal.review .modal__content_container, .modal.table_basket .modal__content_container {
  margin-top: 0;
  height: 100%;
}

.modal.review .modal__content, .modal.table_basket .modal__content {
  border-radius: 0;
  height: 100%;
  margin: 0;
}

@media (max-width: 767.98px) {
  .modal.review .modal__content, .modal.table_basket .modal__content {
    padding-top: 0;
    padding-bottom: 0;
    max-width: 100%;
  }
}

.modal.review .header__left, .modal.table_basket .header__left {
  gap: 8px;
}

.modal.review .header__wrapper, .modal.table_basket .header__wrapper {
  width: 100%;
  box-shadow: 0px 6px 20px 0px rgba(160, 147, 143, 0.14);
  background-color: var(--body-color);
}

.modal.review .header__row, .modal.table_basket .header__row {
  padding: 9px 0;
}

.modal.review .banner__slider, .modal.table_basket .banner__slider {
  margin-top: 24px;
}

.modal__rest_info_logo {
  height: 56px;
  width: 56px;
}

.modal__rest_info_address {
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
}

.modal_product .modal__content {
  max-width: 820px;
  width: auto;
}

.modal_product .modal__content.modal-card_small {
  max-width: 448px;
}

@media (max-width: 767.98px) {
  .modal_product .modal__content {
    width: 100%;
    max-width: 500px;
  }
}

.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1000;
}

.modal__wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 101;
}

@media (max-width: 767.98px) {
  .modal__wrapper {
    padding: 20px 0 0;
    justify-content: flex-end;
  }
}

.modal__content {
  position: relative;
  z-index: 102;
  background: var(--body-color);
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 24px;
  -webkit-transform-style: preserve-3d;
  width: 100%;
  max-height: 100%;
  margin: 30px auto;
  pointer-events: all;
}

@media (max-width: 767.98px) {
  .modal__content {
    border-radius: 24px 24px 0 0;
    max-width: 500px;
    max-height: 100%;
    overflow-y: auto;
    margin-bottom: 0;
  }
}

.modal .modal_review {
  display: flex;
  margin: 0 auto;
  flex-flow: column nowrap;
  align-items: center;
  width: 500px;
}

@media (max-width: 767.98px) {
  .modal .modal_review {
    width: 100%;
    height: 100%;
  }
  .modal .modal_review_content.step1 .modal_review_button_step {
    margin-top: 48px;
  }
  .modal .modal_review_content.step2 .modal_review_button_step {
    margin-top: 16px;
  }
  .modal .modal_review_content.step2 .modal_review_title {
    display: none;
  }
  .modal .modal_review_content.step2 .modal_review_label_left {
    margin-top: 24px;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
  }
  .modal .modal_review_content.step2 .modal_review_text_area {
    margin-top: 8px;
  }
  .modal .modal_review_content.step2 .modal_review_button_add_photos {
    margin-top: 32px;
  }
  .modal .modal_review_content.step2 .file_pond {
    max-height: 27vh;
  }
  .modal .modal_review_content.step3 .modal_review_button_step {
    margin-top: 40px;
  }
  .modal .modal_review_content.step3 .modal_review_title {
    display: none;
  }
  .modal .modal_review_container {
    max-width: 358px;
    margin: auto;
  }
  .modal .modal_review_header {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    padding-top: 16px;
    height: 58px;
    margin: auto;
    width: 100%;
  }
  .modal .modal_review_header_name_rest {
    margin-left: 12px;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
  }
  .modal .modal_review_address {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    margin-top: 12px;
  }
  .modal .modal_review_address_icon {
    height: 16px;
    width: 16px;
  }
  .modal .modal_review_address_text {
    margin-left: 8px;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
  }
}

.modal .modal_review_img_header {
  display: inline-flex;
  position: relative;
  height: 220px;
  z-index: -1;
}

.modal .modal_review_content {
  border-radius: 20px 20px 0px 0px;
  margin: 0 auto;
  padding: 0 15px;
  background-color: white;
}

@media (max-width: 767.98px) {
  .modal .modal_review_content {
    margin-top: -20px;
    position: relative;
    z-index: 2;
  }
}

.modal .modal_review_title {
  margin-top: 24px;
  text-align: center;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
}

@media (max-width: 767.98px) {
  .modal .modal_review_title {
    margin-top: 52px;
  }
}

.modal .modal_review_description {
  margin-top: 16px;
}

@media (max-width: 767.98px) {
  .modal .modal_review_description {
    margin-top: 12px;
  }
}

.modal .modal_review_description, .modal .modal_review_sign_rating, .modal .modal_review_label_left {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.modal .modal_review_rating {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
}

.modal .modal_review_rating_star {
  height: 48px;
  width: 48px;
}

.modal .modal_review_label_left {
  align-self: start;
  margin-top: 16px;
  color: #1D1C1C;
}

.modal .modal_review_sign_rating {
  margin-top: 8px;
  color: #4D4D4D;
}

.modal .modal_review_text_area {
  margin-top: 10px;
  padding: 10px 16px;
  height: 140px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid #DDDFE4;
  resize: none;
}

.modal .modal_review_text_area:focus-visible {
  outline: none;
}

.modal .modal_review_button_step {
  border-radius: 24px;
  width: 100%;
  margin-bottom: 16px;
  background: var(--primary-color);
  box-shadow: 0px 6px 20px 0px rgba(160, 147, 143, 0.16);
}

.modal .modal_review_button_step.noStar {
  background: var(--modal-btn-bg-disabled);
}

.modal .modal_review_button_step:active {
  transform: translate(1px, 1px);
}

.modal .modal_review_button_step_label {
  padding: 12px 0;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 18px;
}

.modal .modal_review_button_add_photos {
  margin-top: 24px;
  border-radius: 24px;
  width: 100%;
  border: 1px solid var(--Color-Primary, var(--primary-color));
  box-shadow: 0px 6px 20px 0px rgba(160, 147, 143, 0.16);
}

.modal .modal_review_button_add_photos:active {
  transform: translate(1px, 1px);
}

.modal .modal_review_button_add_photos_label {
  padding: 12px 0;
  color: var(--primary-color);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 18px;
}

.modal .modal_review_panel_photo {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 52px;
}

.modal .modal_review_panel_photo_label {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.modal .modal_review_panel_photo_button {
  height: 24px;
  width: 24px;
  margin: 14px;
}

.modal .modal_review_input_name, .modal .modal_review_input_phone {
  height: 48px;
  padding: 0 12px;
  border-radius: 20px;
  border: 1px solid #DDDFE4;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  width: 100%;
}

.modal .modal_review_input_name:focus-visible, .modal .modal_review_input_phone:focus-visible {
  outline: none;
}

.modal .modal_review_input_name {
  margin-top: 48px;
}

.modal .modal_review_input_phone {
  margin-top: 16px;
}

.modal .modal_review_checkbox {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.modal .modal_review_checkbox_wrapper {
  width: 100%;
}

.modal .modal_review_checkbox_input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.modal .modal_review_checkbox_checkmark {
  height: 24px;
  width: 24px;
  background-color: white;
  border: 1px solid black;
  transition: background-color 0.25s ease;
  border-radius: 7px;
}

.modal .modal_review_checkbox_checkmark:after {
  content: "";
  position: absolute;
  left: 7px;
  top: 2px;
  width: 10px;
  /* ширина - длина левой линии отметки-галочки */
  height: 17px;
  /* высота - длина правой линии отметки-галочки */
  border: solid #333;
  /* рамка(border) сплошной линией цвета #333 */
  border-width: 0 2px 2px 0;
  /* правая и нижняя рамка(border) по 1px  */
  transform: rotate(45deg);
  /* блок наклонен по часовой стрелке на 45 градусов */
  opacity: 0;
  /* изначально скрыта */
  transition: opacity 0.25s ease;
  /* для плавного появления, скрытия, перемещения отметки*/
}

.modal .modal_review_checkbox_input:checked ~ .modal_review_checkbox_checkmark:after {
  opacity: 1;
}

.modal .modal_review_checkbox_label {
  margin-left: 12px;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.modal .modal_review_text_end {
  margin-top: 24px;
  height: 48px;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.modal .modal_review_picture_end {
  margin-top: 24px;
  height: 72px;
  width: 72px;
}

.modal-enter-active,
.modal-leave-active {
  transition: all 0.3s ease;
}

.modal-enter-active .modal__overlay,
.modal-leave-active .modal__overlay {
  transition: all 0.2s ease;
}

.modal-enter-active .modal__content, .modal-enter-active .modal__content_container,
.modal-leave-active .modal__content,
.modal-leave-active .modal__content_container {
  transition: all 0.3s ease;
}

.modal-enter-from .modal__overlay,
.modal-leave-to .modal__overlay {
  opacity: 0;
}

.modal-enter-from .modal__content, .modal-enter-from .modal__content_container,
.modal-leave-to .modal__content,
.modal-leave-to .modal__content_container {
  opacity: 0;
  transform: translateY(100%);
}

.modal-delivery {
  padding: 12px 16px 18px;
  position: relative;
}

.modal-delivery__head {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--body-color);
  padding: 11px 0;
  justify-content: space-between;
}

@media (max-width: 767.98px) {
  .modal-delivery__head {
    position: sticky;
    top: 0px;
    left: 0;
  }
}

.modal-delivery__title {
  max-width: 90%;
  font-weight: 700;
  font-size: 20px;
  line-height: 26px;
}

@media (hover: hover) {
  .modal-delivery__close:hover svg {
    fill: var(--orange);
  }
}

.modal-delivery__close svg {
  fill: var(--primary);
  width: 24px;
  height: 24px;
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
}

.modal-delivery__list_search {
  max-height: 228px;
  display: grid;
  gap: 8px;
  margin-top: 12px;
  overflow-y: auto;
}

.modal-delivery__list_search .modal-delivery__item {
  padding: 6.5px 0;
}

.modal-delivery__list_search .modal-delivery__item:not(:last-child) {
  border: none;
}

.modal-delivery__item {
  padding: 10.5px 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
  cursor: pointer;
}

@media (hover: hover) {
  .modal-delivery__item:hover {
    color: var(--orange);
  }
}

.modal-delivery__item span {
  font-size: 12px;
  line-height: 16px;
  color: #4D4D4D;
}

.modal-delivery__item:not(:last-child) {
  border-bottom: 1px solid #DDDFE4;
}

.modal-delivery__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.modal-address {
  padding: 32px 16px 24px;
  min-height: 400px;
  position: relative;
}

.modal-address__title {
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  text-align: center;
}

.modal-address__title:not(:last-child) {
  margin-bottom: 24px;
}

.modal-address__close {
  position: absolute;
  top: 0;
  right: 8px;
  padding: 14px;
}

@media (hover: hover) {
  .modal-address__close:hover svg {
    fill: var(--orange);
  }
}

.modal-address__close svg {
  fill: var(--primary);
  -webkit-transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
  -moz-transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
  -ms-transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
  -o-transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
}

@media (min-width: 767.98px) {
  .modal-address__close {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .modal__menu_title {
    position: fixed;
    border-radius: 16px;
    top: 0;
    width: 100%;
    /* margin: 0; */
    text-align: center;
    min-height: 32px;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
    padding-bottom: 0;
    padding-top: 21px;
    background-color: var(--ancor-back);
    color: var(--primary);
  }
  .modal__menu_container {
    padding: 32px 16px;
    height: 85vh;
  }
  .modal__menu_close {
    position: fixed;
    top: 13px;
    right: 22px;
    height: 24px;
    width: 24px;
  }
  .modal__menu_strip {
    position: fixed;
    margin-top: 20px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 4px;
    background-color: white;
    border-radius: 20px;
    z-index: 101;
  }
}

.modal__content_container {
  position: relative;
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
  margin-bottom: 0;
  z-index: 102;
}

@media (min-width: 991.98px) {
  .modal__content_container .modal-card_small {
    max-width: 500px;
  }
}

.small_wrapp .modal__content_container {
  padding: 20px;
  width: auto;
}

.small_wrapper {
  max-width: max-content;
}

.fade-enter-active, .fade-leave-active {
  transition: opacity .3s ease-in-out;
}

.fade-enter-from, .fade-leave-to {
  opacity: 0;
}

.slide-fade-enter-active {
  transition: transform .3s ease-out;
}

.slide-fade-enter-from {
  transform: translate(-50%, -60%);
}

.slide-fade-leave-to {
  transform: translate(-50%, -40%);
}

.modal-desktop-enter-active,
.modal-desktop-leave-active {
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease !important;
}

.modal-desktop-enter-from {
  opacity: 0 !important;
  transform: translate(-50%, -68%) !important;
}

.modal-desktop-leave-to {
  opacity: 0 !important;
  transform: translate(-50%, -30%) !important;
}

/* Backward-compatible desktop modal motion for already built bundles using `slide-fade` */
.modal__wrapper.slide-fade-enter-active,
.modal__wrapper.slide-fade-leave-active {
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease !important;
}

.modal__wrapper.slide-fade-enter-from {
  opacity: 0 !important;
  transform: translate(-50%, -68%) !important;
}

.modal__wrapper.slide-fade-leave-to {
  opacity: 0 !important;
  transform: translate(-50%, -30%) !important;
}

/* Hard override to avoid generic `.slide-fade` horizontal motion on desktop modal */
.modal__wrapper.modal-desktop-enter-active,
.modal__wrapper.modal-desktop-leave-active,
.modal__wrapper.slide-fade-enter-active,
.modal__wrapper.slide-fade-leave-active {
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease !important;
}

.modal__wrapper.modal-desktop-enter-from,
.modal__wrapper.slide-fade-enter-from {
  opacity: 0 !important;
  transform: translate(-50%, -68%) !important;
}

.modal__wrapper.modal-desktop-leave-to,
.modal__wrapper.slide-fade-leave-to {
  opacity: 0 !important;
  transform: translate(-50%, -30%) !important;
}

.modal-open {
  overflow: hidden;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit {
  0% {
    transform: scale(1);
    opacity: 0.08;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.04;
  }
  100% {
    transform: scale(1);
    opacity: 0.08;
  }
}

.modal-content {
  padding: 0;
  max-width: 100%;
}

@media (max-width: 768px) {
  .modal-content {
    padding: 20px 0 0 0;
  }
}

.delivery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 11px 0;
}

.delivery-header h5 {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  transition: all 0.3s ease;
}

.devivery-block {
  display: flex;
  margin-top: 36px;
  gap: 32px;
  height: 460px;
}

.input-side {
  width: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.address-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.maplibregl-ctrl-attrib a {
  display: none !important;
}

.maplibregl-ctrl-attrib-inner {
  display: none !important;
}

.maplibregl-ctrl-bottom-left {
  display: none !important;
}

.maplibregl-ctrl-bottom-right {
  display: none !important;
}

.map-side {
  width: 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map-component {
  height: 100%;
  border-radius: 5.79px;
  transition: height 0.3s ease, opacity 0.3s ease;
}

.map-info {
  text-align: -webkit-left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-desc {
  display: flex;
}

.map-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.mobile-map-block {
  display: none !important;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

@media (max-width: 768px) {
  .mobile-map-block {
    display: flex !important;
  }
}

.mobile-map {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
  min-height: 60vh;
}

.map {
  position: relative;
  width: 100%;
  height: 100%;
}

.mobile-map > .map-preloader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background-color 0.2s ease, backdrop-filter 0.2s ease, opacity 0.2s ease;
}

.mobile-map > .map-preloader--soft {
  background-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(3px);
  pointer-events: none;
}

.spinner {
  width: 34px;
  height: 34px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: var(--orange);
  animation: spin 1s ease-in-out infinite;
  margin-bottom: 0;
}

.loading-text {
  font-size: 14px;
  color: #333;
}

.mobile-info-map {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--ancor-back);
  color: var(--primary);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 16px;
  display: flex;
  flex-direction: column;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  gap: 8px;
}

.mobile-button {
  display: none;
  width: 44px;
  height: 44px;
  position: absolute;
  top: 8px;
  left: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
  padding: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

@media (max-width: 768px) {
  .mobile-button {
    display: block;
  }
}

.mobile-button svg {
  width: 24px;
  height: 24px;
  fill: black;
}

.mapboxgl-popup {
  max-width: 250px;
  font-size: 14px;
  color: #333;
}

.mapboxgl-popup-content {
  text-align: center;
  font-family: Arial, sans-serif;
}

.mapboxgl-popup-tip {
  background-color: #FF5733;
}

.custom-location-marker {
  cursor: pointer;
  will-change: transform;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border-radius: 50%;
  overflow: hidden;
}

.custom-location-marker svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transform: translateZ(0);
  backface-visibility: hidden;
  border-radius: 50%;
}

.orbit-circle {
  animation: orbit 2s ease-in-out infinite;
  transform-origin: center;
  border-radius: 50%;
}

.webgl-warning-div {
  display: none !important;
}

.geo-mobile-flow {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 75vh;
}

.geo-mobile-flow__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.geo-mobile-flow__header-center span {
  font-size: 18px;
  font-weight: 600;
}

.geo-mobile-flow__map-btn {
  width: 100%;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  color: var(--primary-color);
}

.geo-mobile-flow__or {
  text-align: center;
  color: var(--modal-card-text-gray);
  font-size: 16px;
  font-weight: 400;
}

.geo-mobile-flow__input-row {
  display: flex;
  gap: 12px;
  align-items: center;
  transition: border-color 0.2s;
}

.geo-mobile-flow__input-row input {
  background: transparent;
  color: var(--primary);
}

.geo-mobile-flow__input-row-right input {
  width: 79px;
  text-align: right;
}

.geo-mobile-flow__input-row-left {
  width: 100%;
}

.geo-mobile-flow__input-row-left input {
  width: 100%;
}

.geo-mobile-flow__input-row-right, .geo-mobile-flow__input-row-left {
  border: 1px solid var(--ancor-back-border);
  border-radius: 16px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ancor-back);
  gap: 8px;
  transition: border-color 0.2s;
}

.geo-mobile-flow__input-row-right:focus-within, .geo-mobile-flow__input-row-left:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px var(--primary-background-color);
}

.geo-mobile-flow__search-btn {
  width: 100%;
  margin-bottom: 8px;
  background: var(--bg-color);
  border: 1px solid var(--ancor-back-border);
  color: var(--primary-color);
  border-radius: 12px;
  padding: 10px;
  font-weight: 500;
}

.geo-mobile-flow__search-btn:disabled {
  opacity: 0.5;
}

.geo-mobile-flow__input-status-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px;
  border-radius: 16px;
  background: var(--bg-color);
}

.geo-mobile-flow__input-status-block.input-success {
  background: #A0E1621F;
}

.geo-mobile-flow__input-status-block.input-false {
  background: #5D5D5D14;
  text-wrap: nowrap;
}

.geo-mobile-flow__map-link {
  color: var(--primary-color) !important;
  cursor: pointer;
  font-size: 14px;
  margin-left: 8px;
  font-weight: 500 !important;
}

.geo-mobile-flow__success {
  color: #74BF2D;
  margin-bottom: 8px;
  text-align: left;
}

.geo-mobile-flow__error {
  color: var(--primary-color);
  margin-bottom: 8px;
  text-align: left;
}

.geo-mobile-flow__confirm-btn {
  width: 100%;
  background: var(--primary-color);
  color: var(--primary-color);
  border: none;
  border-radius: 30px;
  padding: 20px 12px;
  font-size: 18px;
  font-weight: 600;
  margin-top: 8px;
}

.geo-mobile-flow__confirm-btn:disabled {
  background: #eee;
  color: #aaa;
}

.input-false span,
.input-success span {
  font-size: 14px;
  font-weight: 400;
  color: var(--primary);
}

.search-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
}

.spinner {
  display: inline-block;
  width: 36px;
  height: 36px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  border-top: 3px solid transparent;
  animation: spin 1s linear infinite;
}

.close-btn {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

select {
  border: 1px solid var(--primary);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 16px;
}

.mobile-map-block {
  display: flex;
  flex-direction: column;
  margin-top: 0;
  border-radius: 24px;
  position: relative;
  background: var(--bg-color);
}

.mobile-map-header {
  padding: 16px;
}

.mobile-map {
  flex-grow: 1;
  position: relative;
  min-height: 60vh;
  transition: transform 0.2s ease;
}

.mobile-map .leaflet-pane,
.mobile-map .leaflet-pane {
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.mobile-map--resolving .leaflet-pane,
.mobile-map--resolving .leaflet-pane {
  filter: blur(2px) saturate(0.94);
}

.mobile-map > .map-preloader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  display: flex;
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background-color 0.2s ease, backdrop-filter 0.2s ease, opacity 0.2s ease;
}

.loading-text {
  font-size: 14px;
  color: var(--primary);
}

.mobile-button {
  width: 44px;
  height: 44px;
  position: absolute;
  top: 8px;
  left: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
  padding: 8px;
  border-radius: 50%;
  background-color: var(--bg-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.mobile-button svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
}

.confirm-btn {
  width: 100%;
  background: var(--primary-color);
  border: none;
  border-radius: 30px;
  padding: 20px 12px;
  font-size: 18px;
  font-weight: 600;
  margin-top: 8px;
  transition: background 0.2s;
  opacity: 0.95;
}

.confirm-btn:disabled {
  background: #eee;
  color: #aaa;
  opacity: 0.7;
}

.confirm-btn.active {
  background: var(--primary-color);
  color: var(--secondary-color);
  opacity: 1;
}

.input-success {
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  color: var(--primary);
}

.input-false {
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  color: var(--primary);
}

.address-info {
  font-size: 16px;
  color: var(--primary);
  margin-top: 4px;
  margin-bottom: 4px;
}

.address-info-header span {
  font-size: 12px;
  color: var(--modal-card-text-gray);
}

.address-info-header-text {
  font-size: 16px;
  color: var(--primary);
  font-weight: 500;
  line-height: 24px;
  margin-top: 4px;
}

.address-placeholder {
  color: var(--modal-card-text-gray);
  font-size: 15px;
}

.select-city-root {
  position: relative;
}

.select-city-root.mobile .select-city {
  padding: 16px 12px;
  font-size: 16px;
}

.select-city-root.desktop .select-city {
  padding: 12px 20px;
  font-size: 18px;
}

.select-city {
  background: var(--ancor-back);
  border: 1px solid var(--ancor-back-border);
  border-radius: 16px;
  padding: 16px 12px;
  cursor: pointer;
  font-size: 16px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.select-city__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--ancor-back);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  margin-top: 4px;
  padding: 8px;
  z-index: 10;
  position: absolute;
  width: -webkit-fill-available;
}

.select-city__item {
  padding: 8px;
  background: var(--ancor-back);
  cursor: pointer;
  color: var(--primary);
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.select-city__item.active {
  background: var(--ancor-back);
}

.select-city__item:hover {
  background: var(--ancor-back);
}

.select-city-mobile {
  position: relative;
  margin-bottom: 12px;
}

.select-city-mobile__label {
  font-size: 14px;
  color: var(--modal-card-text-gray);
  margin-bottom: 4px;
}

.select-city-mobile__dropdown {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-color);
  border: 1px solid var(--modal-card-border-gray);
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  font-size: 16px;
}

.select-city-mobile__list {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--ancor-back);
  border: 1px solid var(--modal-card-border-gray);
  border-radius: 8px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.select-city-mobile__item {
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-color);
}

.select-city-mobile__item.active {
  background: var(--bg-color);
  color: var(--primary-color);
  font-weight: 600;
}

.select-city-mobile__item:hover {
  background: var(--bg-color);
}

.top-address-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.address-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  font-size: 16px;
  color: #1D1C1C;
}

.inut-text-block span {
  font-size: 16px;
  line-height: 24px;
  color: var(--modal-card-text-gray);
  font-weight: 400;
}

.address-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.input-block {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  border-radius: 16px;
  padding: 13px 14px;
  cursor: pointer;
  background: var(--ancor-back);
  border: 1px ridge var(--ancor-back-border);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-block:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px var(--primary-background-color);
}

.input-block input {
  background: transparent;
  color: var(--primary);
  width: 100%;
}

.house-input-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 16px;
  padding: 12px 20px;
  cursor: pointer;
  color: var(--primary-background-color);
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  background: transparent;
  border: 1px solid transparent;
  text-wrap: nowrap;
}

.search-button svg path {
  stroke-opacity: 0.32;
}

.search-button.active {
  color: var(--primary-color);
  cursor: pointer;
}

.search-button.active svg path {
  stroke-opacity: 1;
}

.search-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.bottom-block {
  display: flex;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.bottom-btn-1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 500;
  padding: 17px 8px;
  cursor: pointer;
  text-align: center;
  transition: opacity 0.3s ease;
}

.bottom-btn-1.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.bottom-btn-2 {
  background: var(--primary-background-color);
  color: var(--secondary-color);
  font-size: 14px;
  font-weight: 500;
  border-radius: 50px;
  width: 100%;
  padding: 17px 8px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
}

.bottom-btn-2.active {
  background: var(--primary-color);
  cursor: pointer;
}

.input-status-block {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: flex-start;
  font-size: 14px;
  font-weight: 400;
  color: #1D1C1C;
  border-radius: 16px;
  padding: 8px 16px;
}

.input-status-block.accept {
  background: #A0E1621F;
}

.input-status-block.false {
  background: #5D5D5D14;
}

.input-success,
.input-false {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.select-city {
  background: var(--ancor-back);
  border: 1px solid var(--ancor-back-border);
  border-radius: 16px;
  padding: 16px 12px;
  cursor: pointer;
  font-size: 16px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.select-city.disabled {
  pointer-events: none;
  background: var(--ancor-back);
  color: #1D1C1C;
  opacity: 1;
}

.city-dropdown {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--ancor-back);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  margin-top: 4px;
  padding: 8px;
  z-index: 10;
  position: absolute;
  min-width: 380px;
  width: fit-content;
}

.city-item {
  padding: 8px;
  background: var(--ancor-back);
  cursor: pointer;
  transition: background 0.2s;
}

.city-item.active {
  background: var(--ancor-back);
}

.city-item.first {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.city-item.last {
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.city-item:hover {
  background: var(--bg-color);
}

.loader-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-color);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 16px;
}

.loader-spinner {
  display: flex;
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.loader-spinner svg {
  animation: spin 1.5s linear infinite;
}

.loader-text {
  font-size: 14px;
  color: var(--modal-card-text-gray);
  text-align: center;
  margin: 0;
}

.maplibregl-ctrl-geolocate,
.maptiler-ctrl-geolocate {
  display: none !important;
}

.modal-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.geo {
  width: 500px;
  height: 344px;
  background: var(--body-color);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .geo {
    width: 100%;
    height: 100%;
    max-height: 90vh;
    padding: 16px 12px;
  }
}

.loader-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--body-color);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 16px;
}

.loader-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.loader-spinner svg {
  animation: spin 1.5s linear infinite;
}

.loader-text {
  font-size: 14px;
  color: var(--primary);
  text-align: center;
  margin: 0;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.close_btn {
  position: absolute;
  top: 16px;
  right: 16px;
  height: 44px;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.close_btn.mobile-close {
  display: none;
}

@media (max-width: 768px) {
  .close_btn {
    height: 36px;
    width: 36px;
  }
}

.geo-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.geo-modal__block-btn,
.geo-modal__block-text {
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  justify-content: center;
  width: 400px;
  text-wrap: balance;
  text-align: center;
}

@media (max-width: 768px) {
  .geo-modal__block-btn,
.geo-modal__block-text {
    width: 100%;
  }
}

.geo-modal__block-text {
  gap: 24px;
}

.title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

@media (max-width: 768px) {
  .title-container {
    justify-content: space-between;
  }
}

.title-container .mobile-close {
  display: none;
}

@media (max-width: 768px) {
  .title-container .mobile-close {
    display: flex;
  }
}

.title {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--primary) !important;
  line-height: 32px !important;
}

.descriptions {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--modal-card-text-gray);
}

@media (max-width: 768px) {
  .descriptions {
    width: 100%;
    text-align: start;
    font-size: 14px;
  }
}

.geo-modal__block-btn {
  gap: 16px;
}

.btn,
.btn2 {
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 500;
  width: 100%;
  height: 48px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn {
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn--loading {
  opacity: 0.7;
  pointer-events: none;
}

.btn--loading svg {
  animation: pulse 1.5s ease-in-out infinite;
}

.btn:hover {
  background-color: var(--primary-background-color);
}

.btn2 {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.btn2:hover {
  background-color: var(--primary-hover-color);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.geo-modal span {
  font-size: 16px;
  font-weight: 400;
  color: var(--modal-card-text-gray);
  line-height: 24px;
}

.banner {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  position: relative;
}

@media (max-width: 767.98px) {
  .banner {
    padding: 0;
    height: 220px;
    margin-top: -17px;
  }
}

.banner__container {
  margin: 0 auto;
  max-width: 1200px !important;
  padding: 0 20px !important;
}

.banner__slider {
  position: relative;
  width: 100% !important;
}

.banner__image {
  width: 100%;
  background: var(--body-color);
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.banner__image img,
.banner__image picture {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  will-change: transform;
  transition: transform 0.3s ease-out;
  border-radius: 32px;
}

@media (max-width: 767px) {
  .banner__image {
    border-radius: 0 !important;
    min-height: 180px;
  }
  .banner__image img,
.banner__image picture {
    height: 100%;
    display: block;
  }
}

.banner__arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
  padding: 0 15px;
  pointer-events: none;
}

@media (max-width: 767px) {
  .banner__arrows {
    display: none;
  }
}

.banner__arrow {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
  pointer-events: auto;
}

@media (hover: hover) {
  .banner__arrow:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
  }
}

.menu__main-img {
  position: relative;
}

.banner-swiper {
  width: 100%;
  height: 100%;
  --swiper-theme-color: #ffffff;
  --swiper-navigation-size: 24px;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}

.banner-swiper__slide {
  text-align: center;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.swiper-slide-active {
  z-index: 1;
  transition: transform 0.5s ease;
}

.swiper-wrapper {
  transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1) !important;
  will-change: transform;
}

.swiper-slide {
  transition-property: transform, opacity;
  transition-duration: 0.4s;
  transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
}

@media (max-width: 767px) {
  .swiper-slide {
    touch-action: pan-y;
  }
}

.swiper-pagination {
  position: absolute;
  bottom: 15px !important;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

@media (max-width: 767px) {
  .swiper-pagination {
    bottom: 30px !important;
  }
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin: 0;
  border-radius: 50%;
  background-color: var(--primary-background-color) !important;
  opacity: 1;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 4px;
  border: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

@media (max-width: 767px) {
  .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-background-color) !important;
  transform: scale(1.3);
  width: 10px;
  height: 10px;
}

@media (max-width: 767px) {
  .swiper-pagination-bullet-active {
    width: 8px;
    height: 8px;
    animation: pulse 1.5s infinite;
  }
}

.swiper-pagination-bullet-active-prev,
.swiper-pagination-bullet-active-next {
  transform: scale(1.1);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.menu__main-img picture img {
  height: 220px;
  width: 100%;
  object-fit: cover;
  border-radius: 0 !important;
}

.restaurants {
  padding-top: 70px;
  padding-bottom: 48px;
}

@media (max-width: 767.98px) {
  .restaurants {
    padding-bottom: 0;
    padding-top: 10px;
  }
}

.restaurants__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 74px;
  left: 0;
  width: 100%;
  z-index: 2;
}

.restaurants__top::after {
  content: '';
  position: absolute;
  width: 150%;
  top: 0;
  left: -20px;
  height: 100%;
}

.restaurants__top:not(:last-child) {
  margin-bottom: 40px;
}

@media (max-width: 767.98px) {
  .restaurants__top:not(:last-child) {
    margin-bottom: 15px;
  }
}

.restaurants__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  position: relative;
  z-index: 2;
}

@media (max-width: 767.98px) {
  .restaurants__filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0;
    margin-right: -16px;
    padding-right: 16px;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .restaurants__filter::-webkit-scrollbar {
    display: none;
  }
}

.restaurants__filter-btn {
  padding: 12px 16px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
}

@media (hover: hover) {
  .restaurants__filter-btn:hover {
    color: var(--orange);
  }
}

@media (max-width: 767.98px) {
  .restaurants__filter-btn {
    padding: 12px;
  }
}

.restaurants__filter-btn.active {
  font-weight: 700;
  color: var(--primary);
}

.restaurants__sort-btn {
  width: 24px;
  height: 24px;
}

@media (hover: hover) {
  .restaurants__sort-btn:hover svg {
    stroke: var(--orange);
  }
}

.restaurants__sort-btn svg {
  stroke: var(--primary);
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
}

.restaurants__grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 4px;
}

@media (max-width: 991.98px) {
  .restaurants__grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .restaurants__grid-layout {
    gap: 16px;
  }
}

@media (max-width: 650px) {
  .restaurants__grid-layout {
    grid-template-columns: repeat(1, 1fr);
  }
}

.restaurants-card {
  border-radius: 8px;
  gap: 10px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
}

@media (max-width: 650px) {
  .restaurants-card {
    padding-bottom: 18px;
  }
}

@media (hover: hover) {
  .restaurants-card:hover .restaurants-card__image-ibg img {
    transform: scale(1.05);
  }
  .restaurants-card:hover .restaurants-card__image-ibg::after {
    opacity: 1;
  }
}

.restaurants-card .distance {
  position: absolute;
  right: 4%;
  top: 80%;
  background: var(--orange);
  height: 24px;
  color: var(--white);
  z-index: 1;
  bottom: 0;
  border-radius: 16px;
  padding-left: 6px;
  padding-right: 8px;
}

.restaurants-card .distance .km_distance {
  text-align: center;
  margin-top: 7px;
  color: var(--secondary-color);
  font-size: 12px;
}

.restaurants-card__about-ibg {
  position: relative;
  padding-bottom: calc(220 / 378.67 * 100%);
  border-radius: 16px;
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .restaurants-card__about-ibg {
    padding-bottom: calc(160 / 358 * 100%);
  }
}

.restaurants-card__image-ibg {
  position: relative;
  padding-bottom: calc(220 / 378.67 * 100%);
  border-radius: 16px;
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .restaurants-card__image-ibg {
    padding-bottom: calc(160 / 358 * 100%);
  }
}

.restaurants-card__image-ibg::after {
  content: '';
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 16px;
  height: 100%;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
}

.restaurants-card__image-ibg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
}

.restaurants-card__label {
  position: absolute;
  top: 16px;
  left: -16px;
  background: var(--orange);
  border-radius: 4px;
  padding: 2px 16px;
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
  color: var(--white);
}

.restaurants-card__time {
  position: absolute;
  bottom: 20px;
  right: -8.5px;
  background: var(--white);
  border-radius: 32px;
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
  padding: 2px 16px;
}

.restaurants-card__content {
  padding: 0 16px;
  gap: 6px;
  display: flex;
  flex-direction: column;
}

.restaurants-card__content h2 {
  margin: 0;
  font-weight: 700;
  text-wrap: balance;
  text-align: start;
  align-items: flex-start;
  font-size: 16px;
  line-height: calc(32 / 24);
  flex: 1 1 auto;
}

.restaurants-card__content p {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: var(--modal-card-text-gray);
  display: flex;
  align-items: center;
  gap: 4px;
}

.restaurants-card__content p img {
  width: 24px;
  flex-shrink: 0;
}

.restaurants-card__content-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

@media (max-width: 767.98px) {
  .restaurants-card__content h2 {
    line-height: 21px;
    text-wrap: unset;
    overflow-wrap: anywhere;
  }
  .delivery_type {
    flex-shrink: 0;
    margin-top: 2px;
  }
}

.timer {
  display: flex;
  width: 100%;
  justify-content: flex-end;
}

.timer p {
  padding: 5px 0 0 5px;
  position: relative;
  margin-top: -25px;
  background: var(--body-color);
  border-radius: 16px;
  color: var(--text-color);
  font-size: 14px;
  font-weight: 700;
  left: 10px;
}

.restaurants-filter {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: var(--white);
  z-index: 4;
}

.restaurants-filter__head {
  position: sticky;
  top: 0;
  left: 0;
  padding: 9px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}

.restaurants-filter__btn {
  flex-shrink: 0;
  padding: 10px;
}

.restaurants-filter__btn svg {
  fill: currentColor;
}

.restaurants-filter__title {
  flex: 1 1 auto;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  line-height: 26px;
}

.restaurants-filter__list {
  padding: 16px;
  display: grid;
  gap: 4px;
}

.restaurants-filter__item {
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  line-height: 24px;
}

.restaurants-mob-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.restaurants-mob-head__address {
  display: inline-flex;
  align-items: start;
  gap: 16px;
  width: 100%;
  padding: 12px 24px;
  border-radius: 12px;
  background: var(--primary-background-color);
}

.restaurants-mob-head__address svg {
  width: 24px;
  height: 24px;
}

.restaurants-mob-head__address-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: flex-start !important;
  gap: 12px;
}

.restaurants-mob-head__address-content {
  display: flex;
  width: 100%;
  gap: 8px;
  justify-content: flex-start;
  display: flex;
  flex-direction: column;
}

.restaurants-mob-head__address-title {
  text-align: start;
  font-size: 12px;
  font-weight: 400;
  color: var(--modal-card-text-gray);
}

.filter-enter-active,
.filter-leave-active {
  transition: all 0.3s ease;
}

.filter-enter-from,
.filter-leave-to {
  transform: translateX(-100%);
}

.restaurants-desktop {
  padding: 20px 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.restaurants-desktop__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.restaurants-desktop__section {
  width: 100%;
}

.restaurants-desktop__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
  margin-bottom: 20px;
}

.restaurants-desktop__grid--two-columns {
  grid-template-columns: repeat(2, 1fr);
}

.restaurants-desktop__grid--two-columns .restaurants__card .restaurants-card__about-ibg,
.restaurants-desktop__grid--two-columns .restaurants__card .restaurants-card__image-ibg {
  padding-bottom: calc(220 / 584.67 * 100%);
  height: 220px;
}

.restaurants-desktop__head {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: flex-start;
  border-radius: 24px;
  padding: 16px;
  gap: 28px;
  width: 100%;
  background: var(--check_dev);
  margin-top: -10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.restaurants-desktop__head-title {
  font-size: 32px;
  font-weight: 600;
}

.restaurants-desktop__head-desc {
  width: 100%;
  color: var(--modal-card-text-gray);
  font-size: 16px;
  line-height: 24px;
}

@media (max-width: 767.98px) {
  .restaurants-desktop__head-desc {
    font-size: 14px;
    line-height: 18px;
  }
}

.restaurant-card__about-text {
  font-size: 16px;
  line-height: 1.4;
}

.restaurants-card__about-ibg {
  padding-bottom: calc(220 / 378.67 * 100% + 15px);
}

.about-block {
  border-radius: 32px;
  overflow: hidden;
  background: var(--primary-background-color);
  position: relative;
  height: 79%;
}

.about-block--single {
  grid-column: 3;
}

.about-block--double {
  grid-column: 2 / span 2;
}

.about-block--full {
  width: 100%;
  margin-bottom: 28px;
  min-height: 116px;
  height: 116px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--primary-background-color);
}

.about-block--full .about-block__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--primary);
}

.about-block--full .about-block__content {
  position: static;
  display: block;
  height: 100%;
  padding: 16px;
}

.about-block--full .about-block__wrapper {
  display: block;
  height: 48px;
  max-height: 48px;
  overflow: hidden;
  line-height: 24px;
  color: var(--modal-card-text-gray);
  font-size: 16px;
  white-space: normal;
}

.about-block--full .about-block__summary-text,
.about-block--full .about-block__text,
.about-block--full .about-block__text > * {
  display: inline;
  margin: 0;
}

.about-block--full .about-block__text {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.about-block--full .about-block__summary-text {
  display: inline;
}

.about-block--full .about-block__text br {
  display: none;
}

.about-block--full .about-block__link {
  display: inline;
  vertical-align: baseline;
  margin: 0 0 0 8px;
  color: var(--orange);
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
  position: static;
}

.about-block__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-block__wrapper {
  max-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  line-height: 24px;
}

.about-block__title {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--modal-card-text-gray);
}

.about-block__link {
  color: var(--orange);
  text-decoration: none;
  font-weight: 400;
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  margin-top: 16px;
  align-self: flex-end;
}

.out-of-zone-section {
  width: 100%;
  padding-top: 20px;
}

.out-of-zone-title {
  font-size: 24px;
  font-weight: 600;
  color: #5D5D5D;
  margin-bottom: 15px;
  padding-left: 10px;
}

.out-of-zone svg path {
  stroke: #5D5D5D !important;
}

.main_title {
  text-align: start;
  font-size: 14px;
  font-weight: 500;
}

.about_text_place {
  position: absolute;
  padding: 12px 16px;
  display: block;
  line-height: 20px;
  background: var(--primary-background-color);
  width: 100%;
  height: 100%;
}

.about_text_place :deep(p) {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
  padding-right: 80px;
}

.about_text_place.is-expanded :deep(p) {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.about_text_place :deep(br) {
  display: none;
}

.about_text_place .about-block__link {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: auto;
  max-width: calc(100% - 32px);
  text-align: right;
  color: var(--orange);
  text-decoration: none;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
  margin: 0;
}

.about_text_place__text {
  display: -webkit-box;
  max-height: calc(100% - 36px);
  overflow: hidden;
  color: var(--modal-card-text-gray);
  font-size: 14px;
  line-height: 20px;
  word-break: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
}

.delivery_choise__btns {
  display: flex;
  padding: 4px;
  background: var(--check_dev_btn_back);
  border-radius: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-wrap: nowrap;
}

.delivery_choise__btn-wrap {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.delivery_choise__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  width: 100%;
  text-align: center;
  color: var(--modal-card-text-gray);
  font-size: 16px;
  font-weight: 500;
  border-radius: 48px;
  border: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.delivery_choise__btn.active {
  color: var(--primary-color);
  background: var(--check_del_btn_active);
}

.delivery_choise__btn.disabled {
  color: var(--modal-card-text-gray);
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: auto;
}

@media (max-width: 767.98px) {
  .delivery_choise__btn {
    font-size: 14px;
  }
}

.delivery_choise--restaurants .delivery_choise__btn-wrap {
  flex: 1 0 auto;
}

.delivery_choise--restaurants .delivery_choise__btn {
  width: 100%;
}

.delivery_choise__tooltip {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: #111b31;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  z-index: 5;
  box-shadow: 0 10px 24px rgba(17, 27, 49, 0.2);
}

.delivery_choise__tooltip::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #111b31;
  transform: translateX(-50%) rotate(45deg);
}

@media (max-width: 767.98px) {
  .delivery_choise__tooltip {
    left: 0;
    transform: none;
    white-space: normal;
    width: max-content;
    min-width: 180px;
    max-width: calc(100vw - 24px);
    text-align: left;
  }
  .delivery_choise__tooltip::before {
    left: 28px;
    transform: rotate(45deg);
  }
}

.sticky-top {
  top: 80px;
  position: sticky;
  z-index: 2;
  margin: 16px 0;
  opacity: 0.9;
}

@media (max-width: 767px) {
  .out-of-zone-section {
    border-top: 1px solid #e0e0e0;
  }
  .out-of-zone-title {
    font-size: 18px;
    font-weight: 700;
  }
  .about-block {
    height: 73%;
  }
  .about-block--full {
    min-height: 116px;
    height: 116px;
  }
  .about-block--full .about-block__content {
    padding: 16px;
  }
  .about-block--full .about-block__link {
    right: 16px;
  }
}

@media (max-width: 767.98px) {
  .restaurants__head-title {
    padding: 16px 15px;
    margin-top: -26px;
  }
}

@media (max-width: 767.98px) {
  .menu__container {
    border-radius: 20px 20px 0px 0px;
    margin-top: -16px !important;
    position: relative;
    z-index: 2;
    background: var(--body-color);
  }
}

@media (max-width: 767.98px) {
  .menu-info__title {
    font-size: 20px;
    line-height: 26px;
    font-weight: 500;
  }
}

.menu__main-img {
  display: inline-flex;
  position: relative;
  width: 100%;
  margin-top: -17px;
}

@media (max-width: 768px) {
  .menu-info {
    gap: 8px !important;
    padding: 16px 2.5px !important;
    margin-bottom: 0 !important;
  }
}

@use "sass:math";
.seo-block {
  padding: 48px 0;
  z-index: 1;
}

.seo-block *[style*="color"] {
  color: var(--primary) !important;
}

@media (max-width: 767.98px) {
  .seo-block {
    padding: 24px 0;
  }
}

.seo-block * {
  color: inherit !important;
}

.seo-block h2, .seo-block__title {
  font-weight: 500;
  font-size: 20px;
  line-height: 26px;
}

@media (max-width: 767.98px) {
  .seo-block h2, .seo-block__title {
    font-size: 16px;
    line-height: 1.5;
  }
}

.seo-block h2:not(:last-child), .seo-block__title:not(:last-child) {
  margin-bottom: 4px;
}

.seo-block p, .seo-block__text {
  line-height: 1.5;
}

@media (max-width: 767.98px) {
  .seo-block p, .seo-block__text {
    font-size: 14px;
    line-height: 20px;
  }
}

.seo-block span[style*="color"] {
  color: var(--primary) !important;
}

.seo-block__container {
  overflow: hidden;
}

.seo-block__container a {
  color: var(--primary-color) !important;
}

.seo-collapse-enter-active,
.seo-collapse-leave-active {
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.seo-collapse-enter-from,
.seo-collapse-leave-to {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  max-height: 0;
}

.seo-collapse-enter-to,
.seo-collapse-leave-from {
  opacity: 1;
  transform: translateY(0) scale(1);
  max-height: 800px;
}

.description {
  display: block;
}

.footer {
  background: var(--bg-footer);
  color: white;
  padding: 24px 0 32px;
  width: 100%;
  display: flex;
}

@media screen and (max-width: 768px) {
  .footer {
    gap: 20px;
    flex-direction: column-reverse;
    width: 100%;
    bottom: 0;
  }
}

.footer__container {
  display: flex;
  gap: 20px;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer__container :hover {
  color: var(--orange);
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

@media (max-width: 767.98px) {
  .footer__top {
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .footer__column:nth-child(3) {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .footer__column:nth-child(2) .footer__title {
    display: none;
  }
}

.footer__title {
  font-weight: 600;
  line-height: 24px;
}

.footer__title:not(:last-child) {
  margin-bottom: 4px;
}

@media (max-width: 767.98px) {
  .footer__title:not(:last-child) {
    margin-bottom: 4px;
  }
}

.footer__info {
  margin-top: 16px;
  display: grid;
  gap: 6px;
}

.footer__info li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
}

.footer__info li a {
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
}

@media (hover: hover) {
  .footer__info li a:hover {
    color: var(--orange);
  }
}

.footer__info li img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  .footer__info li img {
    display: none;
  }
}

.footer__time {
  margin: 24px 0;
}

@media (max-width: 767.98px) {
  .footer__time {
    margin: 11px 0 0;
  }
}

.footer__time p {
  font-size: 14px;
  line-height: 20px;
}

.footer__time h4 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

.footer__time h4:not(:last-child) {
  margin-bottom: 4px;
}

.footer__copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  line-height: 16px;
}

@media (max-width: 767.98px) {
  .footer__copy {
    margin-top: 32px;
  }
}

.footer__copy:not(:last-child) {
  margin-bottom: 8px;
}

@media (max-width: 767.98px) {
  .footer__copy:not(:last-child) {
    margin-bottom: 32px;
  }
}

.footer__copy img {
  flex-shrink: 0;
  width: 24px;
}

.footer__link {
  display: block;
  text-decoration: none;
  color: var(--black);
}

@media (max-width: 767.98px) {
  .footer__link {
    text-align: center;
  }
}

.footer__socials {
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

@media (max-width: 767.98px) {
  .footer__socials {
    gap: 28px;
  }
}

.footer__socials li a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.5, 0.02, 0.13, 0.5);
  font-size: 14px;
  line-height: 20px;
}

@media (hover: hover) {
  .footer__socials li a:hover {
    color: var(--orange);
  }
}

@media (hover: hover) {
  .footer__socials li a:hover {
    color: var(--orange);
  }
  .footer__socials li a:hover .footer__socials-icon svg {
    fill: var(--orange);
  }
}

@media (max-width: 767.98px) {
  .footer__socials li a span:nth-child(2) {
    display: none;
  }
}

.footer__socials-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  border-radius: 50%;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

@media (hover: hover) {
  .footer__socials-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #f0f0f0;
  }
}

@media (max-width: 767.98px) {
  .footer__socials-icon {
    width: 48px;
    height: 48px;
  }
}

.footer__socials-icon img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
  border-radius: 50%;
}

.footer__map {
  border-radius: 16px;
  overflow: hidden;
}

:root {
  --pwa-bottom-sheet-backdrop-z: 1200;
  --pwa-bottom-sheet-z: 1201;
  --pwa-bottom-sheet-floating-z: 1202;
}

/* Файний ботом модал */
/* ====== Оверлей (fade) ====== */
.fade-enter-active, .fade-leave-active {
  transition: opacity 0.3s ease-in-out;
}

.fade-enter-from, .fade-leave-to {
  opacity: 0;
}

.bottom-sheet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: var(--pwa-bottom-sheet-backdrop-z, 1200);
  display: flex;
  align-items: flex-end;
}

body.bottom-sheet-open,
body.pwa-bottom-sheet-open {
  overscroll-behavior: contain;
}

/* ====== Модалка (bottom-slide) ====== */
/* Стилі для оверлею */
.fade-enter-active, .fade-leave-active {
  transition: opacity 0.3s ease-in-out;
}

.fade-enter-from, .fade-leave-to {
  opacity: 0;
}

.bottom-sheet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: var(--pwa-bottom-sheet-backdrop-z, 1200);
  display: flex;
  align-items: flex-end;
}

/* Модалка */
.bottom-sheet {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-height: 85vh;
  background: var(--body-color);
  border-radius: 16px 16px 0 0;
  z-index: var(--pwa-bottom-sheet-z, 1201);
  transition: transform 0.2s ease-out;
  overflow: visible;
  display: flex;
  flex-direction: column;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

@media (max-width: 768px) {
  .bottom-sheet.product-bottom-sheet {
    max-height: 75vh;
    height: 75vh;
  }
  .bottom-sheet.product-bottom-sheet .modal-card__scroll {
    height: 100%;
    max-height: 100% !important;
    padding-top: 0;
  }
  .bottom-sheet.product-bottom-sheet .modal-card__content {
    margin-top: -16px !important;
  }
}

.menu_strip {
  width: 60px;
  height: 4px;
  border-radius: 4px;
  background: white;
}

.modal-card__scroll .modal-card__content {
  margin-top: 0;
}

.bottom-sheet .modal-card__scroll {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.contant_ico a img {
  width: 24px;
  height: 24px;
}

/* ====== Strip (рухається разом з модалкою) ====== */
.modal__menu_touch_zone {
  position: absolute;
  top: -140px;
  padding-top: 133px;
  padding-bottom: 5px;
  width: 100%;
  height: 30px;
  cursor: grab;
  z-index: var(--pwa-bottom-sheet-floating-z, 1202);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Wrapper around @douxcode/vue-spring-bottom-sheet */
.pwa-bottom-sheet {
  --vsbs-border-radius: 16px;
  --vsbs-max-width: 576px;
  --vsbs-padding-x: 0px;
  --vsbs-background: var(--body-color);
}

html [data-vsbs-backdrop] {
  z-index: var(--pwa-bottom-sheet-backdrop-z, 1200) !important;
}

html [data-vsbs-sheet] {
  z-index: var(--pwa-bottom-sheet-z, 1201) !important;
  overflow: visible;
  background: transparent !important;
  height: auto !important;
  max-height: 85vh;
}

@supports (height: 100dvh) {
  html [data-vsbs-sheet] {
    max-height: 85dvh;
  }
}

[data-vsbs-header] {
  padding: 8px 0 6px;
  background: transparent;
  box-shadow: none;
  border-top: 0;
}

[data-vsbs-header]::before {
  display: none !important;
  content: none !important;
}

.pwa-bottom-sheet__header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

[data-vsbs-header],
.pwa-bottom-sheet__header {
  touch-action: none;
}

/* iOS-native behavior for product sheet:
     keep handle floating above content, but do not reserve layout height for header. */
.pwa-bottom-sheet.product-bottom-sheet [data-vsbs-header] {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  height: 18px;
  padding: 8px 0 0 !important;
  box-shadow: none !important;
  border: 0 !important;
  background: transparent !important;
  z-index: 5;
}

.pwa-bottom-sheet.product-bottom-sheet [data-vsbs-content-wrapper] {
  height: auto;
}

[data-vsbs-content] {
  padding: 0 !important;
  user-select: text;
}

.pwa-bottom-sheet__sheet-content {
  padding: 0 !important;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  overflow: hidden;
  background: var(--body-color);
}

[data-vsbs-scroll] {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge legacy */
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

[data-vsbs-scroll]::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
  /* Chrome/Safari */
}

/* Product card sheet */
.product-bottom-sheet__sheet-content {
  background: var(--body-color) !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Product sheet: single scroll container to avoid first-swipe loss. */
.pwa-bottom-sheet.product-bottom-sheet [data-vsbs-scroll] {
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.pwa-bottom-sheet.product-bottom-sheet .modal-card__scroll {
  height: auto;
  max-height: none !important;
  overflow: visible !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: var(--body-color);
}

.pwa-bottom-sheet.product-bottom-sheet [data-vsbs-content] {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

[data-vsbs-scroll] .product-bottom-sheet__sheet-content {
  background: var(--body-color) !important;
  padding-bottom: var(--product-bottom-offset, 0px);
  flex: 1 1 auto;
}

.pwa-bottom-sheet.category-bottom-sheet .pwa-bottom-sheet__sheet-content {
  background: var(--body-color);
}

.pwa-bottom-sheet.confirm-bottom-sheet [data-vsbs-sheet] {
  height: auto !important;
}

.pwa-bottom-sheet.category-bottom-sheet [data-vsbs-scroll] {
  max-height: calc(100dvh - 16px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.product-bottom-sheet__sheet-header .new-close-btn,
.new-close-btn {
  top: -18px;
  right: 24px;
  z-index: 10020;
}

.sticky-top {
  top: 80px;
  position: sticky;
  z-index: 2;
  margin: 16px 0 !important;
  opacity: .9;
  padding: 0 15px;
}

@keyframes phone_modal_slide-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes phone_modal_fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.phone_modal__wrapper {
  background: var(--body-color);
  height: auto;
  animation: phone_modal_fadeInScale 0.3s ease forwards;
  min-width: 420px;
}

@media (min-width: 769px) {
  .phone_modal__wrapper {
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    background-color: var(--body-color);
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .phone_modal__card_wrapper {
    max-height: inherit;
    margin-top: 140px;
  }
}

@media (max-width: 768px) {
  .phone_modal__content_container {
    position: absolute;
    bottom: 0;
  }
}

@media (max-width: 768px) {
  .phone_modal_scroll {
    max-height: 90vh;
    overflow-y: auto;
  }
}

@media (max-width: 768px) {
  .phone_modal_mobile_content {
    padding: 16px;
    border-radius: 16px 16px 0 0;
    background-color: var(--body-color);
  }
}

.phone_modal_title {
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  margin: 12px 16px 0 16px;
}

.phone_modal_title span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 769px) {
  .phone_modal_title {
    font-size: 22px;
    margin: 0 0 20px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .phone_modal_title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .phone_modal_title {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--modal-border);
    margin: 0 0 16px 0;
  }
}

.phone_modal_content {
  font-size: 18px;
  margin: 12px 16px 0 16px;
  min-width: 400px;
}

@media (min-width: 768px) {
  .phone_modal_content {
    margin: 0;
    min-width: 280px;
  }
}

@media (max-width: 768px) {
  .phone_modal_content {
    margin: 0;
    min-width: 280px;
  }
}

.phone_modal_content_item {
  margin-top: 12px;
}

@media (min-width: 769px) {
  .phone_modal_content_item {
    background-color: var(--ancor-back);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    margin-top: 8px;
    position: relative;
  }
}

@media (min-width: 769px) and (hover: hover) {
  .phone_modal_content_item:hover {
    background-color: var(--primary-background-color);
    box-shadow: 0 4px 12px rgba(255, 148, 25, 0.1);
  }
}

@media (min-width: 769px) {
  .phone_modal_content_item span {
    font-size: 16px;
    color: var(--primary);
  }
}

@media (max-width: 768px) {
  .phone_modal_content_item {
    background-color: var(--ancor-back);
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    margin-top: 8px;
  }
}

@media (min-width: 769px) {
  .phone_modal_content_block {
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .phone_modal_content_block {
    margin-bottom: 20px;
  }
}

.phone_modal_content_block > span {
  display: block;
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .phone_modal_content_block > span {
    font-size: 15px;
  }
}

.phone_modal_close {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: all 0.2s ease-in-out;
}

@media (hover: hover) {
  .phone_modal_close:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: rotate(90deg);
  }
}

.phone_modal_close svg path {
  transition: stroke 0.2s ease;
}

.phone_modal_close svg path:hover {
  stroke: var(--orange);
}

.phone_modal_tel_link {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.phone_modal_call_icon {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  transition: all 0.2s ease;
}

@media (hover: hover) {
  .phone_modal_call_icon:hover {
    opacity: 1;
    transform: scale(1.1);
  }
}

@media (max-width: 768px) {
  .phone_modal_call_icon {
    margin-left: 8px;
  }
}
