@charset "UTF-8";

* {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-weight: 400;
  background-color: #000;
  font-size: 16px;
}

section {
  overflow: hidden;
}

main {
  min-height: 80vh;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  width: 100%;
}

h1 {
  font-family: "Playfair Display", Helvetica, Arial, sans-serif;
  font-size: clamp(1.875rem, 1.071rem + 3.57vw, 3.75rem);
  font-weight: 700;
}

.header {
  height: 82px;
}

/* Общие стили для кнопок */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(1rem, 0.893rem + 0.48vw, 1.25rem);
  font-weight: 600;
  padding: 18px 30px;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: 0.5s ease;
  background-color: transparent;
  outline: none;
  border: none;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Кнопка с фоном */
.btn-primary {
  background-color: #c02d2d;
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background-color: #a62828;
}

/* Кнопка без заливки */
.btn-outline {
  background-color: transparent;
  color: #c02d2d;
  border: 2px solid #c02d2d;
}

.btn-outline:hover {
  background-color: rgba(192, 45, 45, 0.1);
  color: #a62828;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header__row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0px;
}

.icon {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.icon-large {
  width: 48px;
  height: 48px;
}

.header__nav {
  max-width: 510px;
  width: 100%;
}

.header__nav-list {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

/* Общие стили */
.header__nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

/* Общие стили стрелки */
.header__nav-arrow {
  color: #fff;
  margin-left: 5px;
  font-size: 11px;
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Поворот стрелки вправо при наведении */
.header__nav-item--has-children:hover>.header__nav-arrow {
  transform: rotate(-90deg);
}

/* Поворот стрелки вправо при активном подменю */
.header__nav-item--has-children.active>.header__nav-link .header__nav-arrow {
  transform: rotate(90deg);
}

.gallery-block__title {
  text-align: center;
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -25px;
  background-color: rgba(0, 0, 0, 0.9);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  min-width: 200px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

@media (max-width: 1024px) {

  /* Делаем подменю всегда открытым */
  .header__nav-item--has-children .sub-menu {
    display: none;
  }

  /* Поворачиваем стрелку вправо на мобилке */
  .header__nav-arrow {
    transform: rotate(90deg);
  }

}

/* Стили пунктов подменю */
.sub-menu .header__nav-item {
  display: block;
  padding: 10px;
}

.sub-menu .header__nav-link {
  display: block;
  padding: 10px 15px;
  color: #edddc0;
  text-decoration: none;
  white-space: nowrap;
}

.sub-menu .header__nav-link:hover {
  color: #fff;
}

/* Показываем подменю при наведении (десктоп) */
@media (hover: hover) {
  .header__nav-item:hover>.sub-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }
}

/* Мобильная версия (клик) */
.header__nav-item.active>.sub-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.header__nav-item a {
  font-size: 18px;
  font-weight: 300;
  color: #edddc0;
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.header__nav-item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: width 0.5s;
}

.header__nav-item a:hover {
  color: #fff;
}

.header__nav-item a:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo-img {
  max-width: 180px;
}

.header__phone,
.header__phone--active {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 300;
  color: #fff;
  text-decoration: none;
}

.header__phone::after,
.header__phone--active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: width 0.5s;
}

.header__phone:hover,
.header__phone--active:hover {
  color: #fff;
}

.header__phone:hover::after,
.header__phone--active:hover::after {
  width: 100%;
}

.hero {
  position: relative;
}

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

.hero__bg {
.cards__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.content-block__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.content-block__item img,
.card__image,
.content-block__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

@media (min-width: 992px) {
  .cards__list {
    grid-template-columns: repeat(4, 1fr);
  }
  .content-block__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
  height: 60vh;
  min-height: -moz-fit-content;
  min-height: fit-content;
  background-color: #1E1E1E;
}

.hero__bg-img {
  position: absolute;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  min-height: -webkit-fill-available;
  height: 55vh;
  filter: brightness(0.95);
}

.hero__column {
  z-index: 1;
  position: relative;
}

.hero-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
}

.hero__slider {
  min-height: 350px;
}

.hero__slider-img {
  overflow: hidden;
  -o-object-fit: cover;
  object-fit: cover;
  height: 30vh;
  min-height: 350px;
  -o-object-position: center;
  object-position: center;
  filter: brightness(0.9);
}

.hero__slider-slide {
  position: relative;
  overflow: hidden;
}

.hero__slider-img {
  width: 100%;
  object-fit: cover;
  transform: translateY(0);
  transition: transform 0.1s linear;
  border-radius: 16px;
}

.hero-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 18px;
  color: #fff;
  background-color: #444;
  height: 300px;
  border-radius: 10px;
}

.hero__slider-button {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: transparent;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 2;
}

.hero__slider-button::after {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
}

.hero__slider-button--prev {
  left: 10px;
}

.hero__slider-button--next {
  right: 10px;
}

.hero__slider-pagination {
  position: absolute;
  margin-bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.hero__slider-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #fff;
  opacity: 0.5;
  border-radius: 50%;
  transition: opacity 0.3s;
}

.hero__slider-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background-color: #fff;
}

.hero__title {
	max-width: 700px;
  font-size: 60px;
  color: #fff;
  font-family: "Playfair Display", Helvetica, Arial, sans-serif;
  text-align: center;
  margin: 0;
}

.hero__text {
  font-size: clamp(1rem, 0.839rem + 0.71vw, 1.375rem);
  color: #fff;
  text-align: center;
  letter-spacing: 0.8px;
}

.hero__text span {
  display: block;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 10px;
}

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

.hero__btn, .content-block__link {
  max-width: 305px;
  width: 100%;
  background-color: #d2b08c;
  color: #000 !important;
}

.hero__btn:hover, .content-block__link:hover {
  background-color: rgb(129, 112, 103);
}

.hero__link {
  display: block;
  max-width: 250px;
  border: 1px solid #d2b08c;
  color: #d2b08c;
}

.hero__link:hover {
  background-color: #d2b08c;
  color: #fff;
}

.about {
  padding: 50px 0px;
  background-color: #fff;
}

.about__title {
  font-family: "Playfair Display", Helvetica, Arial, sans-serif;
  font-size: clamp(1.5rem, 1.339rem + 0.71vw, 1.875rem);
  margin-top: 10px;
}

.about__desc {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.about__desc p {
  margin: 0px;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about__content {
  display: flex;
  flex-direction: column;
}

.about__content>svg {
  width: 32px;
}





.about__gallery .about__img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.about__gallery img:nth-child(1) {
  grid-column: 1;
  /* Первый элемент в первой колонке */
  grid-row: 1;
  /* Первый элемент в первой строке */
}

.about__gallery img:nth-child(2) {
  grid-column: 2;
  /* Второй элемент во второй колонке */
  grid-row: 1/3;
  /* Занимает две строки */
  -o-object-position: right;
  object-position: right;
}

.about__gallery img:nth-child(3) {
  grid-column: 1;
  /* Третий элемент в первой колонке */
  grid-row: 2;
  /* Второй элемент в первой колонке */
}

.about__link {
  position: relative;
  background-color: #d2b08c;
  font-size: 14px;
  color: #000;
  margin-top: auto;
  padding: 10px 20px;
  max-width: -moz-fit-content;
  max-width: fit-content;
}

.about__link:hover {
  background-color: #b29477;
}

.about__link::before {
  content: "";
  background-image: url(../icons/icon-link-book.svg);
  width: 25px;
  height: 25px;
  background-size: contain;
  margin-right: 10px;
}

.booking {
  position: relative;
  padding: 50px 0px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.advantages::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/18592206_1920_q70.jpg");
  /* Путь к вашему изображению */
  background-size: cover;
  background-position: 100% 74.82%;
  transform: translateZ(0) scale(1.1);
  /* Для параллакс-эффекта */
  z-index: -1;
  will-change: transform;
  /* Оптимизация */
  filter: brightness(0.5);
}

.booking__cotainer {
  margin-bottom: 50px;
}

.booking__title {
  font-size: clamp(1.875rem, 1.607rem + 1.19vw, 2.5rem);
  font-family: "Playfair Display", Helvetica, Arial, sans-serif;
  margin-bottom: 20px;
}

.booking__description {
  font-size: clamp(1.25rem, 1.143rem + 0.48vw, 1.5rem);
  font-family: "Playfair Display", Helvetica, Arial, sans-serif;
  margin-bottom: 30px;
}

.booking__form {
  display: flex;
  justify-content: space-between;
  align-items: end;
  max-width: 937px;
  gap: 20px;
  margin: 0 auto;
}

.booking__field {
  text-align: left;
}

.booking__label {
  font-size: 14px;
  margin-bottom: 5px;
}

.booking__input {
  width: 100%;
  height: 50px;
  padding: 10px;
  font-size: 14px;
  border: none;
  border-radius: 5px;
}

.booking__button {
  padding: 14px 20px;
  font-weight: 600;
  font-size: clamp(1rem, 0.893rem + 0.48vw, 1.25rem);
  color: #000;
  background-color: #d2b08c;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  max-width: 270px;
  width: 100%;
}

.booking__button:hover {
  background-color: #b29477;
}

.booking__description {
  display: inline-block;
  perspective: 1000px;
  /* Для 3D-эффекта */
  text-align: center;
}

.booking__description .word {
  display: inline-block;
  white-space: nowrap;
}

.booking__description .letter {
  display: inline-block;
  transform-origin: center;
  /* Центр вращения */
  transform-style: preserve-3d;
  /* Включить 3D */
  opacity: 0;
  /* Скрываем буквы до анимации */
}

.delivery {
  padding: 50px 0;
  background-color: #fff;
}

.delivery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.delivery__column--slider {
  max-width: 550px;
  width: 100%;
}

.delivery__slider-img {
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

.delivery__slider-pagination {
  position: absolute;
  margin-bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.delivery__slider-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #5f5f5f;
  opacity: 0.5;
  border-radius: 50%;
  transition: opacity 0.3s;
}

.delivery__slider-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background-color: #000;
}

.delivery__slider-button {
  background-color: #000;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  transition: all 0.3s;
}

.delivery__slider-button:hover {
  transform: scale(1.1);
}

.delivery__slider-button::after {
  font-size: 16px;
  color: #fff;
  font-weight: 400;
}

.delivery__title {
  position: relative;
  font-family: "Playfair Display", Helvetica, Arial, sans-serif;
  font-size: clamp(1.875rem, 1.607rem + 1.19vw, 2.5rem);
  font-weight: 400;
  margin: 0;
  max-width: -moz-fit-content;
  max-width: fit-content;
  padding-bottom: 20px;
}

.delivery__title::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #d2b08c;
  bottom: 0;
  left: 0;
  border-radius: 5px;
}

.delivery__column--content {
  display: flex;
  flex-direction: column;
}

.delivery__desc p {
  font-weight: 300;
  line-height: 25px;
}

.delivery__phone {
  margin-bottom: 20px;
}

.delivery__phone a {
  color: #000;
  font-size: 18px;
  font-weight: 600;
}

.delivery__actions {
  display: flex;
  margin-top: auto;
  flex-wrap: wrap;
  gap: 20px;
}

.delivery__actions a {
  font-size: 16px;
  text-transform: uppercase;
}

.delivery__link {
  background-color: #d2b08c;
  color: #000;
}

.delivery__link:hover {
  background-color: #b29477;
}

.delivery__link--yandex {
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
}

.delivery__link--yandex:hover {
  background-color: #000;
  color: #fff;
}

/* Основные стили для универсальной секции */
.content-block {
  padding: 50px 0;
}

.content-block__title, .cards__title {
  position: relative;
  font-family: "Playfair Display", Helvetica, Arial, sans-serif;
  font-size: clamp(1.875rem, 1.607rem + 1.19vw, 2.5rem);
  font-weight: 400;
  margin: 0 auto;
  margin-bottom: 50px;
  max-width: -moz-fit-content;
  max-width: fit-content;
  padding-bottom: 20px;
  color: #fff;
}

.content-block__title::after, .cards__title::after {
  content: "";
  position: absolute;
  width: 80%;
  height: 3px;
  background-color: #d2b08c;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
}

.content-block__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0;
  list-style-type: none;
}

.gallery-block__grid {
  grid-template-columns: repeat(4, 1fr);
}

@media screen and (max-width: 1024px) {
  .gallery-block__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .content-block__grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-block__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-block__grid {
    display: flex;
    flex-direction: column;
  }
}

.content-block__item {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .content-block__item:nth-child(1) {
    grid-column: 1/2;
    grid-row: 1/2;
  }

  .content-block__item:nth-child(2) {
    grid-column: 2/3;
    grid-row: 1/2;
  }

  .content-block__item:nth-child(3) {
    grid-column: 1/3;
    grid-row: 2/3;
  }

  .gallery-block__item:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

}

@media screen and (max-width: 550px) {
  .gallery-block__grid {
    grid-template-columns: 1fr;
    column-gap: 0px;
  }
}

@media screen and (max-width: 768px) {
  .content-block__item {
    grid-column: 1/2;
  }

  .gallery-block__item {
    grid-column: auto;
  }
}

.content-block__link {
  display: block;
  width: 100%;
  color: #000;
  height: 100%;
  margin: 50px auto;  
}

.content-block__image {
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  width: 100%;
  height: 100%;
  display: block;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.content-block__image:hover,
.content-block__image:focus {
  transform: scale(1.05);
  filter: brightness(0.4);
}

.content-block__caption {
  position: absolute;
  bottom: 20px;
  top: 45%;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: clamp(1.5rem, 1.339rem + 0.71vw, 1.875rem);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.7s ease;
  text-transform: uppercase;
  cursor: none;
  pointer-events: none;
}

.content-block__item:hover .content-block__caption,
.content-block__item:focus .content-block__caption {
  opacity: 1;
  visibility: visible;
}



@media screen and (max-width: 768px) {
  .promo-block__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-block__item,
  .content-block__item,
  .content-block__caption {
    opacity: 1;
    visibility: visible;
  }

  .content-block__image,
  .content-block__image {
    transform: scale(1.05);
    filter: brightness(0.4);
  }

  .content-block__image.gallery-block__image {
    filter: brightness(1.0);
  }

  .promo-block__image {
    filter: none;
  }

  .promo-block__item .promo-block__caption {
    transform: translateY(-45%);
    opacity: 1;
  }

  .content-block__caption {
    text-transform: uppercase;
    font-size: 15px;
    line-height: 1.2rem;
  }
}

.promo-block__item {
  position: relative;
  overflow: hidden;
}

.promo-block__caption {
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  margin-top: 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  text-transform: capitalize;
}

.promo-block__caption strong {
  display: block;
  font-size: 24px;
  font-weight: 600;
}

.promo-block__item:hover .promo-block__caption {
  transform: translateY(-45%);
  opacity: 1;
}

.contacts {
  padding: 50px 0;
}

.contacts__title {
  position: relative;
  font-family: "Playfair Display", Helvetica, Arial, sans-serif;
  font-size: clamp(1.875rem, 1.607rem + 1.19vw, 2.5rem);
  font-weight: 400;
  margin: 0 auto;
  margin-bottom: 10px;
  max-width: -moz-fit-content;
  max-width: fit-content;
  padding-bottom: 20px;
  color: #fff;
}

.contacts__title::after {
  content: "";
  position: absolute;
  width: 80%;
  height: 3px;
  background-color: #d2b08c;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
}

.contacts__working-hours {
  color: #fff;
  font-size: 20px;
  text-align: center;
}

.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .contacts__grid {
    grid-template-columns: 1fr;
  }
}

.contacts__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.contacts__info p {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #fff;
}

.contacts__info p a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.contacts__info p a:hover {
  color: #d2b08c;
}

.contacts__info .contacts__socials {
  display: flex;
  gap: 20px;
  margin-top: 46px;
}

.contacts__info .contacts__socials .contacts__social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border: 3px solid #fff;
  border-radius: 50%;
  transition: all 0.7s ease;
  background: transparent;
}

.contacts__info .contacts__socials .contacts__social-link svg {
  width: 30px;
  height: 30px;
  fill: #fff;
  transition: fill 0.7s ease;
}

.contacts__info .contacts__socials .contacts__social-link:hover {
  border-color: transparent;
  background: linear-gradient(45deg, #37AEE2, #1E96C8);
}


.contacts__info .contacts__socials .contacts__social-link.whatsapp:hover {
  background: linear-gradient(45deg, #25D366, #128C7E);
}

.contacts__info .contacts__socials .contacts__social-link.whatsapp:hover svg {
  fill: #ffffff;
}

.contacts__info .contacts__socials .contacts__social-link.vk:hover {
  background: linear-gradient(45deg, #45668E, #2A4D6B);
}

.contacts__info .contacts__socials .contacts__social-link.vk:hover svg {
  fill: #ffffff;
}

.contacts__info .contacts__title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
}

.contacts__info .contacts__working-hours,
.contacts__info .contacts__address,
.contacts__info .contacts__phone,
.contacts__info .contacts__email {
  margin-bottom: 15px;
  font-size: 16px;
}

.contacts__map {
  width: 100%;
  height: 100%;
}

.contacts__map .contacts__map-title {
  font-size: clamp(1.5rem, 1.339rem + 0.71vw, 1.875rem);
  color: #fff;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
}

.contacts__map .contacts__map-container {
  width: 100%;
  height: 400px;
}

.contacts__map .contacts__map-container iframe {
  width: 100%;
  height: 100%;
}

.contacts .contacts__address svg,
.contacts .contacts__phone svg,
.contacts .contacts__email svg {
  stroke: #d2b08c;
  width: 40px;
  height: 40px;
  fill: #d2b08c;
  transition: fill 0.3s ease;
}

.contacts .contacts__address:hover svg,
.contacts .contacts__phone:hover svg,
.contacts .contacts__email:hover svg {
  stroke: #fff;
  fill: #fff;
  transition: fill 0.3s ease;
}

.contacts .contacts__address strong,
.contacts .contacts__phone strong,
.contacts .contacts__email strong {
  color: #333;
}

.contacts .contacts__address:hover strong,
.contacts .contacts__phone:hover strong,
.contacts .contacts__email:hover strong {
  color: #E4405F;
}

.banquet-hero__container {
  display: grid;
  grid-template-columns: 3fr 2fr;
  height: 100%;
  gap: 20px;
}

@media screen and (max-width: 768px) {
  .banquet-hero__container {
    padding: 30px 20px;
    gap: 5px;
    grid-template-columns: 1fr;
  }

  .banquet-hero__container .banquet-hero__title {
    font-size: 30px;
  }
}

.banquet-hero__bg {
  min-height: 750px;
}

@media screen and (max-width: 768px) {
  .banquet-hero__bg {
    min-height: 750px;
    height: auto;
  }
}

.banquet-hero__title {
  font-size: clamp(1.875rem, 1.607rem + 1.19vw, 2.5rem);
}

.banquet-hero__column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.banquet-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 450px;
  width: 100%;
  border-radius: 6px;
  padding: 40px 40px 20px 40px;
  background-color: #fff;
}

@media screen and (max-width: 1024px) {
  .banquet-form {
    padding: 30px 20px;
    gap: 5px;
  }

  .banquet-form .banquet-form__title {
    margin-bottom: 10px;
    font-size: 24px;
  }
}

.banquet-form__group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}

.banquet-form__title {
  margin-top: 0px;
  text-align: center;
}

.banquet-form__input {
  height: 50px;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #999999;
  width: 100%;
}

.banquet-form__input:focus,
.banquet-form__input:focus-visible {
  border: 1px solid #ffffff;
}

.footer {
  padding: 50px 0;
  margin-top: 50px;
}

.footer__info {
  color: #fff;
}

.footer__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.footer__info>p {
  margin: 0px;
}

.footer__info {
  display: grid;
  gap: 5px;
  justify-self: center;
}

@media screen and (max-width: 768px) {
  .footer__row {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer__info {
    justify-self: self-start;
  }

  .footer__menu {
    justify-self: self-start;
  }
}

@media screen and (max-width: 600px) {
  .footer__row {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 30px;
  }

  .footer__menu {
    align-items: center;
  }

  .footer__info {
    justify-self: center;
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
    .promo-block__grid {
        display: flex;
        flex-direction: column;
    }
}

.footer__logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  max-width: 185px;
}

.footer__menu {
  display: flex;
  flex-direction: column;
  justify-self: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
}

.footer__menu a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__menu a:hover {
  color: #d2b08c;
  /* Цвет при наведении */
}

.footer__contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-self: end;
  max-width: 200px;
}

@media screen and (max-width: 768px) {
  .footer__contact-info {
    justify-self: start;
    grid-column: 2/3;
    grid-row: 2/3;
  }
}

@media screen and (max-width: 600px) {
  .footer__contact-info {
    justify-self: auto;
    grid-column: auto;
    grid-row: auto;
    text-align: center;
  }
}

.footer__contact-info .footer__address,
.footer__contact-info .footer__phone {
  font-size: 16px;
  color: #fff;
}

.footer__contact-info .footer__address strong,
.footer__contact-info .footer__phone strong {
  color: #fff;
}

.footer__contact-info svg {
  margin-right: 10px;
  fill: #d2b08c;
}

.footer__address a {
  text-decoration: none;
  color: #fff;
}

.banquet-form__slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 3rem;
}

.banquet-form__slider {
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 6px;
  background: #000;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.banquet-form__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: #000;
  border-radius: 50%;
  cursor: pointer;
}

.banquet-form__slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #000;
  border-radius: 50%;
  cursor: pointer;
}

.banquet-form__bubble {
  background: #000;
  color: #fff;
  padding: 4px 12px;
  position: absolute;
  border-radius: 4px;
  top: 45px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: bold;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.banquet-form__bubble::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: #000;
  top: -3px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.banquet-form__btn {
  background-color: #000;
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
  width: 100%;
}

.banquet-form__btn:hover {
  background-color: #333;
}

.banquet-form__title {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.banquet-form__group__label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: bold;
}

.banquet-form__group__input {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
}

.banquet-form__group__input:focus {
  border-color: #000;
}

.advantages {
  padding: 50px 0;
  padding: 50px 0;
}

.advantages__title {
  position: relative;
  font-family: "Playfair Display", Helvetica, Arial, sans-serif;
  font-size: clamp(1.875rem, 1.607rem + 1.19vw, 2.5rem);
  font-weight: 400;
  margin: 0 auto;
  margin-bottom: 20px;
  max-width: -moz-fit-content;
  max-width: fit-content;
  padding-bottom: 20px;
  color: #fff;
}

.advantages__title::after {
  content: "";
  position: absolute;
  width: 80%;
  height: 3px;
  background-color: #d2b08c;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
}

.advantages__desc {
  color: #fff;
  font-size: clamp(1.25rem, 1.143rem + 0.48vw, 1.5rem);
  text-align: center;
  margin-top: 0;
  margin-bottom: 50px;
}

.advantages__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.advantages__icon {
  width: 85px;
}

@media screen and (max-width: 1024px) {
  .advantages__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 500px) {
  .advantages__list {
    grid-template-columns: 1fr;
  }
}

.advantages__item {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
  filter: drop-shadow(2px 4px 6px black);
}

@media screen and (max-width: 1024px) {
  .advantages__item {
    gap: 10px;
    max-width: 250px;
    justify-self: center;
  }
}

.advantages__item-title {
  color: #d2b08c;
  margin: 0;
  text-align: center;
}

.advantages__item-icon {
  max-width: 50px;
}

.advantages__item-desc {
  color: #fff;
  margin: 0;
  text-align: center;
  line-height: 1.4em;
}

.restaurant {
  padding: 50px 0;
  background-color: #f9f9f9;
}

.restaurant__container {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 20px;
}

@media screen and (max-width: 768px) {
  .restaurant__container {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-self: center;
  }
}

.restaurant__column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.restaurant__column--text {
  max-width: 570px;
}

@media screen and (max-width: 768px) {
  .restaurant__column--text {
    max-width: none;
    margin-top: 10px;
  }
}

.restaurant__column--text .restaurant__title {
  position: relative;
  font-family: "Playfair Display", Helvetica, Arial, sans-serif;
  font-size: clamp(1.5rem, 1.339rem + 0.71vw, 1.875rem);
  font-weight: 600;
  margin: 0 auto;
  margin-bottom: 20px;
  max-width: -moz-fit-content;
  max-width: fit-content;
  padding-bottom: 20px;
  color: #000000;
}

.restaurant__column--text .restaurant__title::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #d2b08c;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
}

@media screen and (max-width: 768px) {
  .restaurant__column--text .restaurant__title {
    text-align: center;
  }
}

.restaurant__column .restaurant__desc-list {
  list-style-type: disc;
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 25px;
}

.restaurant__column .restaurant__description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #555;
}

.restaurant__column .restaurant__actions {
  display: flex;
  gap: 20px;
  margin-top: auto;
}

@media screen and (max-width: 1024px) {
  .restaurant__column .restaurant__actions {
    flex-direction: column;
    gap: 20px;
  }
}

.restaurant__column .restaurant__actions .restaurant__button {
  padding: 14px 22px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  gap: 10px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.8s ease;
}

.restaurant__column .restaurant__actions .restaurant__button--primary {
  color: #d2b08c;
  border: 1px solid #d2b08c;
}

.restaurant__column .restaurant__actions .restaurant__button--primary svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
  transition: fill 0.3s, transform 0.3s;
}

.restaurant__column .restaurant__actions .restaurant__button--primary svg:hover {
  fill: #ff6347;
  transform: scale(1.1);
}

.restaurant__column .restaurant__actions .restaurant__button--primary:hover {
  background-color: #d2b08c;
  color: #fff;
}

.restaurant__column .restaurant__actions .restaurant__button--secondary {
  color: #000;
  border: 1px solid #000;
}

.restaurant__column .restaurant__actions .restaurant__button--secondary svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
  transition: fill 0.3s, transform 0.3s;
}

.restaurant__column .restaurant__actions .restaurant__button--secondary svg:hover {
  fill: #ff6347;
  transform: scale(1.1);
}

.restaurant__column .restaurant__actions .restaurant__button--secondary:hover {
  background-color: #000;
  color: #fff;
}

.restaurant--image {
  display: flex;
}

.restaurant--image .restaurant__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.interiors {
  padding: 50px 0;
  background-color: #fff;
}

.interiors__title {
  position: relative;
  font-family: "Playfair Display", Helvetica, Arial, sans-serif;
  font-size: clamp(1.875rem, 1.607rem + 1.19vw, 2.5rem);
  font-weight: 400;
  margin: 0 auto 20px;
  max-width: -moz-fit-content;
  max-width: fit-content;
  padding-bottom: 20px;
}

.interiors__title::after {
  content: "";
  position: absolute;
  width: 80%;
  height: 3px;
  background-color: #d2b08c;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
}

.interiors__desc {
  text-align: center;
  font-size: clamp(1.25rem, 1.143rem + 0.48vw, 1.5rem);
}

.interiors__link {
  display: block;
  border: 2px solid #d2b08c;
  color: #d2b08c;
  font-size: 16px;
  margin: 20px auto;
  max-width: -moz-fit-content;
  max-width: fit-content;
}

@media screen and (max-width: 768px) {
  .interiors__link {
    font-size: 16px;
    line-height: 22px;
    text-transform: lowercase;
    padding: 10px 10px;
  }
}

.interiors__link:hover {
  background-color: #d2b08c;
  color: #fff;
}

.interiors__slide {
  height: 230px;
  overflow: hidden;
}

.interiors__slide-img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  transition: transform 0.8s, filter 0.8s;
  cursor: pointer;
}

.interiors__slide-img:hover {
  filter: brightness(1.2);
  transform: scale(1.1);
}

.interiors__slider {
  margin: 40px 0px;
}

.interiors__button {
  background-color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  transition: all 0.3s;
}

.interiors__button::after {
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

.interiors .swiper-pagination-bullet-active {
  opacity: 1;
  background-color: #fff;
}

.interiors .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
}

/* Стили для лайтбокса */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.lightbox.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  background-color: #000;
}

.lightbox__content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 7;
}

.lightbox__spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top: 5px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
}

.lightbox__slider .swiper-slide {
  margin: auto;
}

.lightbox__image {
  -o-object-fit: contain;
  object-fit: contain;
  height: 70vh;
  max-width: 1160px;
  margin: 0 auto;
  display: block;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.lightbox__image.loaded {
  transform: scale(1);
  opacity: 1;
}

.lightbox__pagination {
  color: #fff;
}

.lightbox__button {
  background-color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  transition: all 0.3s;
}

@media screen and (max-width: 768px) {
  .lightbox__button {
    width: 40px;
    height: 40px;
  }
}

.lightbox__button::after {
  font-size: clamp(1.5rem, 1.339rem + 0.71vw, 1.875rem);
  font-weight: 600;
  color: #000;
}

@media screen and (max-width: 768px) {
  .lightbox__button::after {
    font-size: 16px;
  }
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.page {
  margin: 0 auto;
}

.page__title {
  font-size: clamp(1.875rem, 1.071rem + 3.57vw, 3.75rem);
  color: #d2b08c;
  font-weight: 500;
  font-family: "Playfair Display", Helvetica, Arial, sans-serif;
  margin-top: 0px;
}

.page__header {
  text-align: center;
  margin-bottom: 40px;
}

.page__header__title {
  font-size: clamp(1.875rem, 1.071rem + 3.57vw, 3.75rem);
  font-weight: bold;
}

.page__header .page__desc {
  font-size: 16px;
  color: #ffffff;
  margin: 50px 0px;
}

.page__content .tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  /* Для Firefox: узкий скроллбар с коричневым элементом и прозрачным фоном */
  scrollbar-width: thin;
  scrollbar-color: #ffecc8 transparent;
  gap: 10px;
  padding: 20px 0;
  white-space: nowrap;
  scroll-behavior: smooth;
  margin: 30px 0px;
}

/* Стили для WebKit-браузеров */
.page__content .tabs::-webkit-scrollbar {
  height: 2px;
  /* Высота горизонтального скроллбара — 2px */
  border-radius: 15px;
}

.page__content .tabs::-webkit-scrollbar-track {
  background: transparent;
  /* Убираем белый фон трека */
  border-radius: 15px;
}

.page__content .tabs {
  cursor: default;
  /* Обычный курсор по умолчанию */
}

.page__content .tabs .tab-link {
  cursor: grab;
  /* Курсор "рука" только на названиях */
}

.page__content .tabs.active .tab-link {
  cursor: grabbing;
  /* Курсор "зажатая рука" при перемещении */
}

.page__content .tabs::-webkit-scrollbar-thumb {
  background: #ffecc8;
  /* Коричневый скроллбар */
  border-radius: 15px;
}

/* Стили для кнопок табов */
.page__content .tabs .tab-link {
  flex-shrink: 0;
  border: none;
  background-color: transparent;
  padding: 10px 15px;
  font-size: 14px;
  cursor: pointer;
  text-transform: uppercase;
  color: #d2b08c;
  transition: background-color 0.8s ease, color 0.7s ease, border-bottom 0.8s ease;
}


@media screen and (max-width: 768px) {
  .page__content .tabs {
    gap: 20px;
  }
}

.page__content .tabs .tab-link {
  border: none;
  background-color: transparent;
  padding-bottom: 5px;
  margin: 0 10px;
  font-size: 14px;
  cursor: pointer;
  text-transform: uppercase;
  color: #d2b08c;
  transition: background-color 0.8s ease, color 0.7s ease, border-bottom 0.8s ease;
}

.page__content .tabs .tab-link:hover {
  color: #fff;
  border-bottom: 1px solid #ffecc8;
}

.page__content .tabs .tab-link.active {
  color: #ffecc8;
  border-bottom: 1px solid #ffecc8;
}

.page__content .tab-content {
  display: none;
}

.page__content .tab-content.active {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  justify-items: center;
}

.tab-content-container {
  position: relative;
}

@media screen and (max-width: 1024px) {
  .page__content .tab-content.active {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .page__content .tab-content.active {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 550px) {
  .page__content .tab-content.active {
    grid-template-columns: repeat(1, 1fr);
  }
}

.page__content .tab-content .dish-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.page__content .tab-content .dish-item img {
  max-width: 240px;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
}

@media screen and (max-width: 420px) {
  .page__content .tab-content .dish-item img {
    max-width: none;
  }
}

.page__content .tab-content .dish-item .dish-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.page__content .tab-content .dish-item .dish-info h3 {
  font-size: clamp(1.25rem, 1.143rem + 0.48vw, 1.5rem);
  font-weight: bold;
  margin-bottom: 0px;
  color: #fff;
  text-align: center;
}

/* Стили для самого селекта */
.dish-variation {
  background-color: #000;
  /* Черный фон */
  color: #fff;
  /* Белый текст */
  border: 1px solid #ccc;
  padding: 8px;
  border-radius: 4px;
  font-size: 16px;
  appearance: none;
  /* Убираем стандартное оформление браузера (опционально) */
}

/* Стили для опций внутри селекта */
.dish-variation option {
  background-color: #000;
  /* Черный фон */
  color: #fff;
  /* Белый текст */
}

.page__content .tab-content .dish-item .dish-info p {
  font-size: 14px;
  margin: 0px;
  color: #fff;
  text-align: center;
  margin-top: auto;
}

.page__content .tab-content .dish-item .dish-info .price {
  font-size: 16px;
  font-weight: bold;
}

.dish-description {
  font-style: italic;
  letter-spacing: 1.2px;
  padding: 10px 0px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

.page__content .tab-content .dish-item .dish-info .add-to-cart {
  position: relative;
  background-color: #fff;
  color: #000;
  width: 110px;
  height: 40px;
  padding: 10px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  margin-top: auto;
  border-radius: 20px;
  transform: scale(1);
  transition: background-color 0.8s ease, transform 0.8s ease;
  display: inline-block;
  overflow: hidden;
}

.page__content .tab-content .dish-item .dish-info .add-to-cart:hover {
  background-color: #d2b08c;
  color: #fff;

}

.page__content .tab-content .dish-item .dish-info .add-to-cart .button-text {
  display: inline;
}

.page__content .tab-content .dish-item .dish-info .add-to-cart .checkmark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5em;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.page__content .tab-content .dish-item .dish-info .add-to-cart.added .checkmark {
  display: block;
  opacity: 1;
}

.page__content .tab-content .dish-item .dish-info .add-to-cart.added .button-text {
  display: none;
}

/* Стили для адаптива */
@media screen and (max-width: 1024px) {
  .header__burger {
    position: relative;
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
  }

  .header__burger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
  }

  .header__burger-line--first,
  .header__burger-line--second,
  .header__burger-line--third {
    position: absolute;
    left: 0;
  }

  .header__burger-line--first {
    top: 0;
  }

  .header__burger-line--second {
    top: 50%;
    transform: translateY(-50%);
  }

  .header__burger-line--third {
    bottom: 0;
  }

  .header__burger.active .header__burger-line--first {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }

  .header__burger.active .header__burger-line--second {
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
  }

  .header__burger.active .header__burger-line--third {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
  }

  .header__nav {
    position: fixed;
    top: 65px;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: #000000e6;
    transition: right 0.3s ease;
    z-index: 10;
    display: flex;
    flex-direction: column;
    padding: 20px;
  }

  .header__nav.active {
    right: 0;
  }

  .header__nav.active>.header__nav-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 40px auto;
    text-align: center;
  }

  .header__nav__phone.active {
    display: inline-flex;
  }

  .about__gallery {
    grid-template-columns: 1fr;
  }

  .about__gallery img:nth-child(2) {
    grid-column: 1;
    grid-row: 3/3;
    -o-object-position: right;
    object-position: right;
  }

  .about__link {
    margin-top: 0;
  }

  .delivery__grid {
    grid-template-columns: 100%;
  }

  .delivery__column--slider {
    max-width: -moz-max-content;
    max-width: max-content;
    justify-self: center;
  }

  .delivery__actions {
    justify-content: center;
    gap: 20px;
  }
}

@media screen and (max-width: 768px) {
  .header__logo {
    max-width: 130px;
  }

  .hero__slider {
    border-radius: 30px;
    min-height: 275px;
  }

  .hero__slider-img {
    -o-object-position: center;
    object-position: center;
    min-height: 280px;
  }



  .hero__title {
    font-size: clamp(1.563rem, 0.625rem + 4.17vw, 3.75rem);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__link {
    display: block;
    max-width: 305px;
    border: 1px solid #d2b08c;
    color: #d2b08c;
    width: 100%;
  }

  .header__nav-item a {
    font-size: 20px;
  }

  .header {
    height: 84px;
  }

}

@media screen and (max-width: 600px) {
  .booking__form {
    flex-direction: column;
    align-items: center;
  }

  .booking__field,
  .booking__button {
    width: 100%;
    max-width: 400px;
  }

  .delivery__actions a {
    width: 100%;
  }
}

@media screen and (max-width: 500px) {
  .header__phone {
    display: none;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__link {
    margin: 0 auto;
  }

  .about__gallery {
    grid-template-columns: 1fr 1fr;
  }

  .about__gallery img:nth-child(2) {
    grid-column: 2;
    grid-row: 1/3;
  }
}

.spinner {
  display: none;
  width: 50px;
  height: 50px;
  border: 5px solid #fff;
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

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

@media screen and (max-width: 500px) {
  .hero__slider-img {
    height: 35vh;
    min-height: 180px;
  }

  .hero__bg {
    height: 90vh;
  }

  .banquet-hero__bg {
    height: auto;
  }

  .hero__slider {
    border-radius: 30px;
    min-height: 220px;
    margin-bottom: 30px;
  }

}

#customModal label {
  text-align: start;
}

.modal {
  display: none;
  /* Скрыто по умолчанию */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 4;
}

.modal.active {
  display: flex;
  /* Показываем модальное окно */
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 100%;
  position: relative;
}

.modal-content .booking__form {
  flex-direction: column;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.success-message {
  display: none;
  font-size: 18px;
}

.form-container {
  width: 100%;
  max-width: 400px;
}

.form-group {
  margin-bottom: 15px;
}

.form-label {
  font-weight: 500;
  font-size: 13px;
  display: block;
  margin-bottom: 3px;
}

.form-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box;
}

.delivery-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

.delivery-option {
  flex: 1;
  padding: 10px;
  padding-right: 50px;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  background: #fff;
  transition: background 0.3s, border-color 0.3s;
}

.delivery-option small {
  font-size: 12px;
  color: #727272;
}

.delivery-option.selected {
  color: #000;
  border: 2px solid #000;
}

.delivery-option.selected>.delivery-option-title {
  font-weight: bold;
  color: #000;
}

#delivery-details {
  display: none;
  margin-top: 10px;
}

.form-button,
.link-archive-products {
  width: 100%;
  padding: 12px;
  background: #ccb398;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  text-decoration: none;
}

.form-button:hover,
.link-archive-products:hover {
  background: #000;
  color: #ffffff;
}

.cart-button {
  position: relative;
  background: transparent;
  border: none;
  outline: none;
  transition: all 0.3s;
  background-color: transparent;
  outline: none;
  border: none;
  z-index: 11;
  padding: 0;
}

.cart-icon {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.cart-icon svg {
  width: 30px;
  height: 30px;
}

.cart-icon:hover {
  transform: scale(1.07);
}

.cart-modal .cart-modal-content .cart-empty {
  font-size: 14px;
  color: #333;
  justify-content: center;
  z-index: 11;
}

@media screen and (max-width: 450px) {
  .cart-modal {
    left: 50%;
    transform: translate(-70%, 0%);
  }
}

.cart-modal .cart-modal-content .cart-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cart-modal .cart-modal-content .cart-items li {
  font-size: 14px;
  color: #333;
  margin-bottom: 5px;
}

.cart-modal {
  position: absolute;
  top: 200px;
  opacity: 0;
  right: 0;
  width: 300px;
  background-color: #fff;
  box-shadow: 0 2px 2px rgb(0 0 0 / 21%);
  ;
  z-index: 1000;
  overflow-y: auto;
  transition: all 0.3s;
  pointer-events: none;

  border-radius: 6px;
}

.cart-button:hover .cart-modal,
.cart-button:focus .cart-modal,
.cart-modal:hover {
  top: 50px;
  opacity: 1;
  pointer-events: all;
}



.cart-modal-content {
  padding: 20px;
}

.cart-modal-content ul>li {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr;
}

.cart-modal-content li span {
  display: block;
}

.cart-full-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.11);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

.cart-full-modal.active {
  display: flex;
}

.cart-full-modal-content {
  background-color: #fff;
  padding: 20px;
  width: 100%;
  max-width: 800px;
  margin: auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  position: relative;
  border-radius: 10px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

div#cart-empty {
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.close-cart-full-modal {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
}

.cart-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cart-items li {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  justify-self: end;
  max-width: 400px;
  width: 100%;
}

.remove-from-cart {
  background: none;
  border: none;
  color: red;
  cursor: pointer;
}

.cart-count {
  font-size: 14px;
  margin-left: 6px;
  position: absolute;
  bottom: -6px;
  left: 8px;
  background-color: #fff;
  padding: 2px 7px;
  border-radius: 100%;
  color: #000;
  font-weight: bold;
}

.view-cart-button {
  background-color: #d2b08c;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  margin-top: 10px;
}

.cart-total {
  font-weight: bold;
  margin-top: 10px;
}

.add-to-cart-grid {
  display: grid;
  gap: 5px;
  grid-template-columns: 1fr 1fr;
}

.item-quantity {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0px 0px 4px 0px #bdbdbd;
  border-radius: 6px;
  padding: 3px 3px;
  max-width: 90px;
}

.quantity-input {
  -moz-appearance: textfield;
  width: 40px;
  border: none;
  text-align: center;
}

.increase-quantity,
.decrease-quantity {
  border: none;
  background-color: transparent;
  color: #686868;
  font-size: 20px;
  cursor: pointer;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-item-grid {
  display: grid;
  grid-template-columns: 90px 1fr;
}

.cart-item-img {
  width: 80px;
  border-radius: 100%;
  overflow: hidden;
  height: 75px;
}

.cart-item-img img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.item-price {
  font-size: 13px;
  color: #000000ab;
  font-weight: 200;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
}

.item-price-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-item-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.item-total-price-all {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 5px;
  letter-spacing: 1.2px;
}

.cart-full-modal-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: 100%;
}

.selected-dishes-list .cart-item-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#cart-delivery-fee {
  color: red;
}

#cart-discount {
  color: green;
}

#cart-total-with-discount {
  color: indianred;
  font-weight: 600;
}

.title-succses-messege {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 600;
  color: #bb9d7d;
}

.selected-dishes-list .cart-item-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 0.5fr 2fr;
}

.selected-dishes-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.selected-dishes-list .item-price-block {
  gap: 10px;
  max-width: 110px;
  width: 100%;
}

@media screen and (max-width: 620px) {
  .cart-full-modal-content-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cart-full-modal {
    margin-top: 30px;
  }

  .form-container {
    max-width: none;
  }

  .cart-full-modal.active {
    overflow-y: scroll;
  }

  .cart-items li {
    max-width: none;
  }
}


@media screen and (max-width: 620px) {
  .selected-dishes-list .cart-item-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
  }
}

.header__fixed {
  background-color: #000;
  transition: all;
}

.header__fixed.active {
  position: fixed;
  width: 100%;
  z-index: 10;
  background-color: #000000e6;
}

.page-404__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  justify-content: center;
}

.page-404__container {
  display: flex;
}

.page-404__title {
  color: #b29477;
}

.page-404__desc {
  color: #fff;
}

.page-404__button {
  display: block;
  background-color: #b29477;
  color: #fff;
  width: fit-content;
}

.gallery__desc {
  color: #fff;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Максимум 4 колонки в ряду */
  gap: 10px;
  padding: 10px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  /* Закругленные края */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  /* Легкая тень */
  transition: transform 0.3s ease-in-out;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.1);
  filter: brightness(0.7);

}
.gallery__title {
  text-align: center;
  color: #b29477;
}

/* Для маленьких экранов меняем количество колонок */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    /* На экранах меньше 1024px — 3 колонки */
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    /* На экранах меньше 768px — 2 колонки */
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    /* На экранах меньше 480px — 1 колонка */
  }
}

.cf-media-gallery__item--placeholder {
  background-color: #f0f0f0;
  border: 2px dashed #ccc;
  height: 150px;
  /* Можно задать высоту, соответствующую превью */
}

.cards {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 150px 0px 150px;
  overflow: clip;
}

.card {
  position: sticky;
  height: 600px;
  width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;   
  text-align: center;
  cursor: pointer;
  top: calc(var(--index) * 20px);
      transition: opacity 0.7s 
ease, transform 0.7s 
ease;
}


.footer__credits {
  margin-top: 40px;
  padding: 40px 0px;
  color: #fff;
  text-align: center;
  font-size: 16px;
  border-top: 1px solid #444;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer__copyright {
  font-size: 14px;
  color: #ccc;
}

.footer__policy {
  font-size: 14px;
}

.footer__policy-link {
  color: #d2b08c;
  text-decoration: none;
  transition: all 0.7s ease;
}

.footer__policy-link:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__developer {
  font-size: 14px;
}

.footer__credits a {
  color: #d2b08c;
  text-decoration: none;
  transition: all 0.7s ease;
}

.footer__credits a:hover { 
  color: #fff;
}

@media (min-width: 768px) {
  .footer__credits {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }
  
  .footer__copyright,
  .footer__policy,
  .footer__developer {
    position: relative;
  }
  
  .footer__copyright::after,
  .footer__policy::after {
    content: '|';
    position: absolute;
    right: -16px;
    color: #666;
  }
}

/* ===================================
   404 Page Styles
   =================================== */
.page-404 {
  min-height: calc(100vh - 82px - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.page-404::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(192, 45, 45, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-404__container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-404__content {
  text-align: center;
  max-width: 700px;
  padding: 0 20px;
}

.page-404__number {
  font-family: "Playfair Display", serif;
  font-size: clamp(5rem, 10vw, 10rem);
  font-weight: 700;
  color: #c02d2d;
  line-height: 1;
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(192, 45, 45, 0.3);
  animation: pulse404 2s ease-in-out infinite;
}

@keyframes pulse404 {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.page-404__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-404__desc {
  font-family: "Roboto", sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-404__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.page-404__button {
  min-width: 180px;
  padding: 15px 35px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.page-404__button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(192, 45, 45, 0.3);
}

.page-404__decoration {
  position: relative;
  width: 100%;
  max-width: 200px;
  opacity: 0.5;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.page-404__icon {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(192, 45, 45, 0.3));
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .page-404 {
    padding: 40px 0;
  }

  .page-404__number {
    font-size: 6rem;
  }

  .page-404__title {
    font-size: 2rem;
  }

  .page-404__desc {
    font-size: 1rem;
  }

  .page-404__buttons {
    flex-direction: column;
    width: 100%;
  }

  .page-404__button {
    width: 100%;
    max-width: 300px;
  }

  .page-404__decoration {
    max-width: 150px;
  }
}

@media (max-width: 480px) {
  .page-404__number {
    font-size: 4.5rem;
  }

  .page-404__title {
    font-size: 1.75rem;
  }

  .page-404__button {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

/* ===================================
   Contact Form Styles
   =================================== */
.contact-form {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  font-family: "Roboto", sans-serif;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
  font-size: 15px;
  font-family: "Roboto", sans-serif;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  background-color: #fff;
  border-color: #c02d2d;
  box-shadow: 0 0 0 3px rgba(192, 45, 45, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #999;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 30px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover:not(:disabled) {
  background-color: #222;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #666;
}

.form-response {
  margin: 15px 0;
  animation: slideDown 0.3s ease;
}

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

.form-message {
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
}

.form-message.success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.form-message.error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

/* Modal form specific styles */
.modal-form__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}

.modal-form__description {
  color: #666;
  font-size: 14px;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Responsive styles */
@media (max-width: 768px) {
  .form-input,
  .form-textarea {
    padding: 10px 14px;
    font-size: 14px;
  }

  .form-submit {
    padding: 12px 25px;
    font-size: 15px;
  }

  .modal-form__title {
    font-size: 1.5rem;
  }
}

/* Make embedded maps responsive inside contacts map container */
.contacts__map-container {
  width: 100%;
  height: 400px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
}

.contacts__map-container iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 300px;
  border: 0;
  display: block;
}

/* ymaps generated nodes sometimes include fixed-width inline styles (565px) — override them when inside our container */
.contacts__map-container [class*="ymaps-"] {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
}

/* fallback: if the embed uses <div id="map"> with inline width/height */
.contacts__map-container > div,
.contacts__map-container > #map {
  width: 100% !important;
  height: 100% !important;
}

@media (max-width: 768px) {
  .contacts__map-container {
    height: 300px;
  }
}
