/* Шрифты */
@font-face {
  font-family: 'SF-Pro-Display';
  src: url("../fonts/SF-Pro-Display-Regular.otf");
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: 'SF-Pro-Display';
  src: url("../fonts/SF-Pro-Display-Medium.otf");
  font-style: normal;
  font-weight: 500;
}
@font-face {
  font-family: 'SF-Pro-Display';
  src: url("../fonts/SF-Pro-Display-Semibold.otf");
  font-style: normal;
  font-weight: 600;
}
@font-face {
  font-family: 'SF-Pro-Display';
  src: url("../fonts/SF-Pro-Display-Bold.otf");
  font-style: normal;
  font-weight: 700;
}
@font-face {
  font-family: 'SF-Pro-Display';
  src: url("../fonts/SF-Pro-Display-Black.otf");
  font-style: normal;
  font-weight: 800;
}

:root {
    --bs-primary: #2C4834; /* Новый основной цвет */
    --bs-secondary: #FFB200; /* Новый второстепенный цвет */
    --bs-success: #365840;
    --bs-danger: #dc3545;
}

html, body {
    font-family: 'SF-Pro-Display', sans-serif;
    height: 100%;
    background-color: #F9F9F9 !important;   
    /* background-image: url(/static/img/Background.jpg); */
    background-size: cover;
    background-repeat: no-repeat;
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    padding-top: 30px;
}

body::-webkit-scrollbar {
	display: none;
}

a {
    color: #fff;   
    text-decoration: none; 
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
}

button:focus {
    outline: none !important;
    box-shadow: none !important;
}




/* Navbar */

nav {
  background: linear-gradient(135deg, #365840, #192B1E);
  color: #fff !important;
  font-weight: 500;
  font-size: 15px;
  position: fixed;
  backdrop-filter: blur(20px);
  min-height: 68px;
}
nav ul li a,
.account button {
  color: rgba(255, 255, 255, 0.7) !important;
  transition: color 0.3s ease-in-out;
}
nav ul li a:hover,
.account button:hover {
  color: rgba(255, 255, 255, 1) !important;
}
nav .form-control {
  width: 100%;
  background-color: #f3f3f3;
  border: none;
  transition: all 0.3s;
}
nav .form-control::placeholder {
  color: rgba(0, 0, 0, 0.4);
}
nav .form-control:focus {
    box-shadow: none;
    border: none;
}
nav .form-control::-webkit-search-cancel-button {
    display: none;
}
.search-button {
  font-size: 20px;
  border: none;
  background: none;
  color: #fff;
  padding: 4px 12px;
}
.search-container {
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  align-items: center;
  background-color: #fff;
  transform: translateY(-100%);
  transition: all 0.2s ease;
  z-index: 1000;
}
.search-container input.form-control:focus {
  background-color: #f3f3f3;
  box-shadow: none !important;
  border-color: inherit !important;
}
.search-container.show {
    transform: translateY(0);
    opacity: 1;
}
.navbar-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
#map {
    width: 100%; /* или фиксированное значение, например 600px */
    height: 400px !important; /* зафиксируй высоту */
}
.nav-logo {
  height: 36px;
}
.header-menu {
  background-color: #FFB200;
}
.header-menu .btn-close {
    filter: invert(1); /* Превращает в белый */
}
.dropdown-menu {
  display: block;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  visibility: hidden;
  right: 0 !important;
  left: auto !important;
}
.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* Navbar */
.nav-menu-container {
  padding: 10px 0;
  top: 67px !important;
  /* background-color: #A55EEA; */
  background-color: rgba(249, 249, 249, 0.9);
  backdrop-filter: blur(20px);
}
.nav-item {
  padding: 8px 24px !important;
  transition: all 0.2s;
  background-color: inherit;
}
.nav-item a {
  color: #000;
}
.nav-item.active {
  background-color: #FFB200;
}
.nav-item.active a {
  color: #fff;
}

/* Переключатели */
.switch-item {
  border-radius: 10px;
  font-weight: 700;
  height: 40px;
}

.switch-item img {
  height: 24px;
}

.switch-item.active {
    background-color: #FFB200;
    color: white;
}

.dropdown-toggle {
    background-color: #FFB200 !important; /* Красный фон */
    color: #fff !important;
    font-weight: bold;
    border-radius: 8px;
    padding: 10px 20px;
    border: none;
    margin-top: 80px;
}
.dropdown-menu {
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
}
.dropdown-item {
    padding: 12px 16px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
}
.dropdown-item:hover {
    background-color: #f8f9fa;
}
.dropdown-item img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}



/* Кнопка "Вернуться наверх" */
.scroll-top-btn {
    position: fixed;
    bottom: 40px;
    left: 40px;
    background: #F9B40E;
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0px 0px 6px rgba(255, 166, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1001;
  }

  .scroll-top-btn i {
    font-size: 20px;
  }

  .scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .scroll-top-btn:hover {
    background: #FFB200;
    box-shadow: 0px 0px 12px rgba(255, 166, 0, 0.6);
}

/* Widget */
.floating-widget {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 10px;
  z-index: 1022;
}

.cart-widget-button {
  width: 75px;
  height: 75px;
  background: #FFB200;
  color: #fff;
  border-radius: 50%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s;
  z-index: 1022;
}

.cart-widget-button span {
  font-size: 12px;
}

.floating-button {
    width: 60px;
    height: 60px;
    background: #FFB200;
    border-radius: 50%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s;
    z-index: 1000;
}

.floating-button:hover {
  background: #FFB200;
  box-shadow: 0 0px 12px rgba(0, 168, 202, 0.5);
}

.floating-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none; /* Отключает клики по скрытым элементам */
}

.floating-menu a i {
    color: #FFB200;
    transition: 0.2s ease-in;
}

.floating-menu a:hover i {
    color: #FFB200;
}

.floating-item {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-size: 22px;
    transition: transform 0.3s, opacity 0.3s ease-in-out;
    margin-right: 5px;
    opacity: 0;
    transform: translateY(20px); /* Начальное положение ниже */
}

.floating-item:hover {
    transform: scale(1.1);
}

/* Анимация появления */
.floating-widget.active .floating-menu {
    pointer-events: auto;
}

.floating-widget.active .floating-item {
    opacity: 1;
    transform: translateY(0);
}

/* Добавляем задержку для плавного появления */
.floating-widget.active .floating-item:nth-child(1) {
    transition-delay: 0.3s;
}
.floating-widget.active .floating-item:nth-child(2) {
    transition-delay: 0.2s;
}
.floating-widget.active .floating-item:nth-child(3) {
    transition-delay: 0.1s;
}

.floating-button i {
    transition: transform 0.3s ease, opacity 0.3s ease;
    color: #fff;
}

/* Анимация при смене иконки */
.floating-widget.active .floating-button i {
    transform: rotate(180deg);
}


/* Авторизация */
.btn-login {
  color: #fff;
  background-color: #FFB200;
  font-weight: 800;
  border: none;
  padding: 16px;
}
.btn-login:disabled {
  background-color: #ccc !important;
  color: #888 !important;
  opacity: 0.6;
}

/* Dish Card */
.dish-card {
  height: 100%;
  overflow: hidden;
  transition: transform 0.2s ease-in-out;
}
.dish-card:hover {
  transform: scale(1.03);
}
.dish-card .ratio {
  max-height: 200px;
}
.dish-price {
  color: #000;
}
.dish-card .btn-go-cart {
  color: #fff;
  background-color: #FFB200;
  padding: 2px 24px;
  transition: opacity 0.2s ease-in-out, visibility 0.3s ease-in-out;
}
.badge-container {
    top: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    max-width: 90%;
    z-index: 10;
}
.badge {
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    color: white;
}
.badge-primary {
    background-color: #A55EEA;
}
.badge-secondary {
    background-color: #D32F2F;
}
/* Dynamic Data */
.dynamic-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4em;
}
.dynamic-title-1 { -webkit-line-clamp: 1; max-height: 1.4em; }
.dynamic-title-2 { -webkit-line-clamp: 2; max-height: 2.8em; }
.dynamic-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4em;
}
.dynamic-description-2 { -webkit-line-clamp: 2; max-height: 2.8em; }
.dynamic-description-1 { -webkit-line-clamp: 1; max-height: 1.4em; }


/* Преимущества */



/* Footer */
footer {
  background: linear-gradient(135deg, #365840, #192B1E);
}
.social-links a i::before {
  transition: all 0.2s ;
}
.social-links a:hover i::before {
  color: #F9B40E;
}

/* Cart */
.btn-booking {
  color: #fff;
  background-color: #FFB200;
  font-weight: 800;
  border: none;
  padding: 16px;
}
.btn-booking:disabled {
  background-color: #ccc !important;
  color: #888 !important;
  opacity: 0.6;
}



/* Модальное окно */
#productModal .modal-body {
    max-height: 80vh; /* Устанавливает ограничение по высоте */
    overflow-y: auto; /* Добавляет вертикальный скролл */
}
.aspect-ratio {
    position: sticky;
    width: 100%;
    padding-top: 100%; /* 1:1 соотношение */
    top: 0; /* Фиксирует изображение сверху */
    z-index: 10; /* Убедись, что оно не перекрывается */
    background: white; /* Чтобы фон оставался */
}
.aspect-ratio img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполняет контейнер без искажений */
}
.btn-go-cart {
  background-color: #FFB200;
  color: #fff;
  font-weight: 700;
}
.like-btn {
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}
.like-btn i {
  margin-top: 4px;
  font-size: 20px;
  color: #555;
  transition: color 0.3s ease;
}
.like-btn:hover {
    background-color: #f5f5f5;
    border-color: rgba(0, 0, 0, 0.3);
}
.like-btn.liked {
    background-color: #D32F2F;
    border-color: #D32F2F;
}
.like-btn.liked i {
    color: white;
    font-weight: bold;
}
@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
.like-btn.liked i {
    animation: pop 0.3s ease-in-out;
}

.fly-to-cart {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
    z-index: 1000;
    pointer-events: none;
    will-change: transform, opacity;
}


/* Преимущества */
.card-custom {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  text-align: left;
}
.icon-circle img {
    width: 64px;
    height: 64px;
}
.card-custom-content p {
  font-size: 12px;
}

/* Cart Item */
.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}
.cart-item-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.cart-item-title {
    font-size: 16px;
    font-weight: bold;
}
.cart-item-modifier {
    color: gray;
    font-size: 14px;
    margin-left: 5px;
}
.cart-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-item-price {
  font-size: 16px;
  font-weight: bold;
}
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}
.quantity-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: #f3f3f3;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
}
.quantity {
  font-size: 16px;
  font-weight: bold;
}

/* Карусель */
.carousel-indicators button {
    width: 8px !important;  /* Размер кружка */
    height: 8px !important; /* Размер кружка */
    border-radius: 50%; /* Делаем круглым */
    background-color: rgba(255, 255, 255, 0.5); /* Полупрозрачный белый */
    border: none; /* Убираем границы */
    margin: 0 5px; /* Расстояние между кружками */
    transition: background-color 0.3s ease;
}
.carousel-indicators .active {
    background-color: white; /* Активный индикатор делаем ярким */
    width: 8px;
    height: 8px;
}
.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    transition: background 0.3s;
    transform: translateY(-50%);
    margin: 16px;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
    width: 20px;
    height: 20px;
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(255, 255, 255, 0.7);
}


/* Popular */
.popular-categories .card {
  height: 80px !important;
}


/* Оформление заказа */
.booking-modal label {
  font-weight: 800;
}

.modal-title {
  font-size: 24px;
}

.modal-body .form-control {
  background-color: #f3f3f3;
  border: none !important;
}

.modal-content {
  border-radius: 20px !important;
  padding: 20px;
}

.modal-body button,
.modal-footer button {
  font-weight: 700;
}

#deliveryTabs {
    display: flex;
    background: #f5f5f5;
    border-radius: 10px;
    width: fit-content;
}

#deliveryTabs .nav-item {
    flex: 1;
    padding: 6px !important;
}

#deliveryTabs .nav-link {
    border: none;
    color: black;
    padding: 10px 20px;
    border-radius: 8px;
    transition: 0.2s ease-in-out;
    font-weight: 700;
}

#deliveryTabs .nav-link.active {
    background: #FFB200;
    color: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.order-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.order-item-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.order-item-info h6 {
  font-weight: 700;
}

.map-container {
    width: 100%;
    height: 300px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
}

.next-btn {
  background-color: #FFB200;
  color: #fff;
  padding: 8px 24px;
}


/* Gift Widget */
.gift-widget-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #F9B40E;
    border-radius: 10px 0 0 10px;
    padding: 12px 16px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    z-index: 1021;
}
.gift-widget-btn:hover {
  background: #eaa400;
}

.gift-widget-btn i {
  font-size: 20px;
  color: #fff;
}

/* Скрытый виджет */
.gift-widget {
    position: fixed;
    right: -300px;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    background: white;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px 0 0 10px;
    padding: 16px;
    transition: right 0.3s ease-in-out;
    z-index: 1022;
}

.gift-widget.show {
    right: 0;
}
/* Модальное окно подарков */
#giftModal .modal-content {
  height: auto !important;
  max-height: none;
}

#giftModal .gift-card-wrapper {
  perspective: 1000px;
  position: relative;
  min-height: 380px;
}

#giftModal .gift-card {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  min-height: 360px;
}

#giftModal .flipped .gift-card {
  transform: rotateY(180deg);
}

#giftModal .card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#giftModal .card-front {
  background: #fff;
  z-index: 2;
  padding: 16px;
  text-align: center;
}

#giftModal .card-front img {
  width: 100%;
  height: 160px;
  margin-bottom: 12px;
}

#giftModal .card-front .btn {
  margin-top: 12px;
  background-color: #FFB200;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
}
#giftModal .card-front .btn:hover {
  background-color: #FFB200;
}

#giftModal .card-back {
  background: #F9B40E;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}
#giftModal .card-back img {
  max-width: 150px;
  max-height: 150px;
}
#giftModal .card-back .btn {
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 20px;
  border: none;
  margin-top: auto;
}
#giftModal .card-back .btn:hover {
  color: #000;
  background-color: #f3f3f3;
}

/* Обёртка поверх всего */
    #preloader {
        position: fixed;
        top: 0; left: 0;
        width: 100vw;
        height: 100vh;
        background-color: white; /* фон прелоадера */
        z-index: 9999;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: opacity 0.5s ease;
    }

    #preloader.hidden {
        opacity: 0;
        pointer-events: none;
    }

    .preloader-inner {
        text-align: center;
    }

    .logo {
        max-width: 120px;
        margin-bottom: 20px;
    }

    .dots {
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .dot {
        width: 12px;
        height: 12px;
        background-color: #FFB200;
        border-radius: 50%;
        animation: bounce 1.4s infinite;
    }

    .dot:nth-child(2) {
        animation-delay: 0.2s;
    }

    .dot:nth-child(3) {
        animation-delay: 0.4s;
    }

    @keyframes bounce {
        0%, 80%, 100% {
            transform: translateY(0);
        }
        40% {
            transform: translateY(-15px);
        }
    }

.promo-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  right: 20px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  color: #000;
  padding: 16px;
  width: 40%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 1050;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}
.promo-banner.hidden {
  opacity: 0;
}
.promo-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.promo-image {
  border-radius: 10px;
}
.promo-title {
  font-size: 14px;
}
.promo-description {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.8);
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #000;
  line-height: 1;
}

.progress {
    height: 40px;
    background-color: #bababa;
    border-radius: 5px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    background-color: #F9B40E;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-text {
    position: absolute;
    width: 100%;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    color: #fff;
    z-index: 10; /* Поверх прогресс-бара */
    white-space: nowrap;
}



/* Profile */
.edit-profile-link {
  color: #FFB200;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s;
}
.edit-profile-link:hover {
  text-decoration: underline;
}
.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

/*  */
.sticky-top {
    position: sticky !important;
    top: 0;
    z-index: 1020;
}



.btn-save-profile {
  background-color: #FFB200;
  color: #fff;
  padding: 8px 24px;
}


/* Media запросы */
@media (max-width: 992px) {
  /* .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  } */
  .dropdown-toggle {
    margin-top: 60px;
  }
  nav {
    background: linear-gradient(135deg, #365840, #192B1E);
  }
  /* .nav-menu-container {
      position: sticky;
      width: 100%;
      background-color: #f9f9f9;
      z-index: 1000;
      padding: 6px 12px;
  } */
  /* .nav-item {
    padding: 8px 12px !important;
  } */
  nav ul li a,
  .account button {
    color: rgba(255, 255, 255, 1) !important;
  }
}

@media (max-width: 768px) {
  .dish-card .btn-go-cart {
    padding: 2px 10px;
    opacity: 1;
    visibility: visible;
  }
  .dish-card:hover {
    transform: scale(1);
  }
}

@media (max-width: 576px) {
  html, body {
    scroll-padding-top: 125px;
  }
  .floating-widget {
    right: 20px;
    bottom: 30px;
  }
  .scroll-top-btn {
    left: 20px;
    bottom: 30px;
  }
  footer {
    padding-bottom: 80px;
  }
}

.likes-container {
    position: absolute;
    top: 150px;
    right: 10px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: bold;
    color: #D32F2F;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);

    /* Изначально скрываем */
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}


.likes-container i {
    font-size: 16px;
    color: #D32F2F;
}

/* Анимация при наведении */
.dish-card:hover .likes-container {
    opacity: 1;
    transform: translateY(0);
}

.likes-container-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: bold;
    color: #D32F2F;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.likes-container-modal i {
    z-index: 1000;
    font-size: 18px;
    color: #D32F2F;
    transition: transform 0.2s ease, color 0.2s ease;
}

.likes-container-modal.liked i {
    z-index: 1000;
    color: #ff0000;
    transform: scale(1.2);
}

.gift-card {
        position: relative;
        width: 100%;
        height: 250px;
        transform-style: preserve-3d;
        transition: transform 0.6s;
    }

    .gift-card.flipped {
        transform: rotateY(180deg);
    }

    .gift-card .card-front, .gift-card .card-back {
        position: absolute;
        width: 100%;
        height: 100%;
        backface-visibility: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        border: 1px solid #ddd;
        border-radius: 10px;
        background: white;
        padding: 15px;
    }

    .gift-card .card-back {
        transform: rotateY(180deg);
        background: #FFB200;
        color: white;
    }

    .language-btn {
  display: flex;
  gap: 4px;
  font-weight: 400;
  align-items: center;
  justify-content: center;
}
.language-btn i::before {
  font-size: 12px;
  transition: transform 0.2s ease;
}
.language-btn[aria-expanded="true"] i::before {
  transform: rotate(180deg);
}
.change-language .dropdown-menu {
  position: absolute;
  display: block;
  top: 100%;
  left: auto;
  right: 0;
  padding: 0;
  width: max-content;
  font-weight: 700;
  min-width: auto !important;
  transform: translateY(10px);
  transition: all 0.3s ease;
  opacity: 0;
}
.change-language .dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
}
.change-language .dropdown-item {
  display: flex;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 600;
  color: #333 !important;
  align-items: center;
}


/* Dropdown - Мобильное меню */
.navbar-toggler .dropdown-menu {
  display: block;
  right: 0 !important;
  left: auto !important;
  font-weight: 700;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
}
.navbar-toggler .dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.dropdown-item:hover {
  border-radius: 8px;
  background: #f3f3f3;
  color: inherit !important;
}
.responsive-banner {
    position: relative;
    width: 100%;
    padding-top: 32.68%;
    overflow: hidden;
    border-radius: 12px;
}
.responsive-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.check-btn {
  background-color: transparent;
  border: none;
}
.circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
}
.circle.applied {
  background-color: #c1d832;
  border-color: #c1d832;
}
.promo-text {
  font-weight: 700;
  font-size: 24px;
}
.applied-info {
  margin-top: 10px;
}

/* стили оверлея и анимации */
.confirmation-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1055;
  display: none;           /* по умолчанию скрыт */
  align-items: center;     /* чтобы .confirmation-box по центру по вертикали */
  justify-content: center; /* по центру по горизонтали */
}

.confirmation-box {
  background: white;
  padding: 36px;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0,0,0,0.2);
  max-width: 400px;
}

.checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto;
}
.checkmark svg {
  width: 100%;
  height: 100%;
}
.checkmark-circle {
  stroke: #4CAF50;
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  /* без анимации пока скрыт */
}
.checkmark-check {
  stroke: #4CAF50;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  /* без анимации пока скрыт */
}

/* ключевые кадры анимации обводки */
@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

/* эти классы будут добавляться динамически после того, как оверлей показан */
.animate-circle {
  animation: stroke 0.6s ease forwards;
}
.animate-check {
  animation: stroke 0.4s ease forwards 0.6s;
}

#suggestions    { position:absolute; z-index:1000; top:100%; left:0; right:0;
                  max-height:220px; overflow-y:auto; background:#fff;
                  border:1px solid #ced4da; border-top:none; display:none; }
#suggestions.open          { display:block; }
.suggest-item              { padding:.5rem .75rem; cursor:pointer; }
.suggest-item:hover        { background:#f2f2f2; }