html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;

  }
  
  *,
  *::before,
  *::after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
    padding: 0;
    margin: 0;
  }
  body {

  }


h1,
h2,
h3,
h4,
h5,
h6,
p {
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
  padding: 0;
  margin: 0;
}
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

@font-face {
  font-family: 'Podkova';
  src: url('https://fonts.gstatic.com/s/podkova/v16/K2FxfZ1EmftJSV9VQpXb1lo9vC3nZWtHni0lww.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/podkova/v16/K2FxfZ1EmftJSV9VQpXb1lo9vC3nZWtHni0lwA.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fira Sans';
  src: url('https://fonts.gstatic.com/s/firasans/v17/va9B4kDNxMZdWfMOD5VnMK7eSxf6Xl7Gl3LX.woff2') format('woff2'),
       url('https://fonts.gstatic.com/s/firasans/v17/va9B4kDNxMZdWfMOD5VnMK7eSxf6Xl7Gl3LQ.woff') format('woff');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}
body {
  font-family: 'Podkova';
  background-color: #FFF7ED;
  color: #333;
  overflow-x: hidden;
 font-weight: 400; /* или обычный вес */}
/* Прелоадер */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #FFF7ED;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

#preloader img {
  max-width: 390px;
  max-height: 500px;
  animation: pulse 1.5s infinite;
}

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

/* Шапка */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: rgba(255, 247, 237, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 100;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo img {
  height: 75px;
}

/* Бургер меню */
.burger {
  width: 30px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 101;
  margin-left: auto;
}

.burger-line {
  width: 100%;
  height: 2px;
  background-color: #333;
  transition: all 0.3s ease;
}

.burger.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.burger.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}
.main{
  display: flex
  ;
      flex-direction: column;
      justify-content: center;
      margin: 0 auto;
      align-items: center;
      margin-top: 22px;
}
.main img{
  height: 100%;
  width: 354px;
}
/* Основное меню */
.menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: #FFF7ED;
  background-image: url('/img/Emblema_5kv.png');
  background-size: 300px 455px;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 40px;
  transition: right 0.5s ease;
  z-index: 99;
}

.menu.active {
  right: 0;
}

.menu-btn {
  width: 272px;
  height: 56px;
  padding: 15px 0;
  margin: 10px 0;
  background-color: #E17C42;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
}

.menu-btn:hover {
  background-color: #fff;
  color: #E17C42;
  transform: scale(1.05);
}

/* Контент страницы меню */
.food-content {
  margin-top: 80px;
  padding: 20px;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
/* Back button styles */
.back-button-container {
  margin-bottom: 0px;
 
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #E17C42;

  text-decoration: none;
  transition: transform 0.3s ease;
 font-family: 'Fira Sans', sans-serif;
font-weight: bold;}


.back-button:hover {
  transform: translateX(-5px);
  color: #E17C42;
  text-decoration: none;
}

.back-button:active {
  color: #E17C42;
  text-decoration: none;
}
.back-button svg {
  transition: transform 0.3s ease;
}

.back-button:hover svg {
  transform: translateX(-3px);
}
/* Табы */
.food-tabs {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.food-tab {
  flex: 1;
  padding: 5px 0;
  text-align: center;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 100px;
  border-bottom: 3px solid transparent;
  font-size: 15px;
line-height: 32px;
}


.food-tab.active {
  color: #000000;
  border-bottom: 3px solid #E17C42;
}

/* Список блюд */
.food-list {
  display: none;
}

.food-list.active {
  display: block;
}

.food-item {
  display: flex;
  margin-bottom: 30px;
  padding-bottom: 20px;
  /* border-bottom: 1px solid #eee; */
}
.food-emblema{
      display: flex;
    justify-content: center;
    align-items: center;
    width: 185px;
    margin: 0 auto;
    height: 174px;
    padding-top: 40px;
}
.food-item:last-child {
  border-bottom: none;
}

.food-image {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  object-fit: cover;
  margin-right: 20px;
}

.food-details {
  flex: 1;
  margin-left: 12px;
}

.food-name {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 4px;
line-height: 18px;
}

.food-weight {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
 font-family: 'Fira Sans', sans-serif;	
}

.food-ingredients {
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
  line-height: 1.4;
 font-family: 'Fira Sans', sans-serif;}

.food-price {
  font-size: 18px;
  font-weight: bold;
  color: #E17C42;
}
/* Обновленные стили для Lightbox */
/* Lightbox Override */
.lightbox .lb-image {
  max-width: 90vw !important;
  max-height: 90vh !important;
  border-radius: 4px !important;
}

.lb-outerContainer {
  background: transparent !important;
  border-radius: 4px !important;
}

.lb-dataContainer {
  background: rgba(0, 0, 0, 0.7) !important;
  border-radius: 0 0 4px 4px !important;
}

.lb-nav a.lb-prev, 
.lb-nav a.lb-next {
  opacity: 1 !important;
  width: 50% !important;
}

.lb-close {
  opacity: 1 !important;
  right: 10px !important;
  top: 10px !important;
}
.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  max-height: none;
  border-radius: 3px;
  border: 0px solid #fff !important;
}
.lb-number{
  display: none !important;
}
/* Кнопка "Наверх" */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 2px;
 
  display: flex;
  align-items: center;
  justify-content: center;
 
  z-index: 99;
  transition: all 0.3s ease;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
 
}

.scroll-to-top:hover svg path {
  stroke: #FFF7ED;
}
.drinks-container {
  display: grid;
  grid-template-columns: repeat(2, 151px);
  row-gap: 16px;
  column-gap: 19px;
  width: fit-content;
  margin: 0;
  margin-top: 22px;
  margin-left: auto;
  margin-right: auto;
    padding-bottom: 40px;
}

.btn {
  width: 151px;
  height: 80px;
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  font-size: 16px;
  text-shadow: 1px 1px 2px black;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  transition: transform 0.2s;
  padding: 5px;
  word-break: break-word;
}

.btn:hover {
  transform: scale(1.05);
}
/* Стиль для двойной кнопки */
.double-btn {
  grid-column: span 2;
  width: calc(151px * 2 + 19px); /* Ширина двух кнопок + промежуток */
  height: 80px;
}/* Запасные фоны если изображения не загрузились */
.name_pivo{
  margin-top: 15px;
}
.name-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0px;
  margin-bottom: 5px;
margin-top: 30px;}

.name-title {
  font-size: 20px;
  font-weight: bold;
  color: #E17C42;
line-height: 22px;
width: 80%;}

.volume {
  font-size: 12px;
  color: #E17C42;
  font-family: 'Fira Sans', sans-serif;
}

.beer-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
 font-size: 14px;
 font-family: 'Fira Sans';
 padding-bottom: 0px;
}

.beer-name {
 width: 70%;    
line-height: 14px; font-family: 'Fira Sans', sans-serif;	}

.beer-price {
  color: #000000;
  font-weight: bold;
 font-family: 'Fira Sans', sans-serif;	}
/* Адаптивность */
@media (max-width: 768px) {
  #preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
   height: 100vh;
    background-color: #FFF7ED;
    display: flex
;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
    align-items: center;
    justify-content: center;
}
  .food-item {
      flex-direction: row;
  }

  .food-image {
      width: 150px;
      height: 136px;
      margin-right: 0;
      margin-bottom: 15px;
  }

  .food-tabs {
      justify-content: flex-start;
  }
  .food-tab {
      min-width: 33%;
  }
  /* .lightbox .lb-image {
    max-width: 100vw !important;
    max-height: 100vh !important;
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .lightbox .lb-outerContainer {
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
  }

  .lightbox .lb-container {
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
    position: fixed;
    top: 0;
    left: 0;
  }

  .lb-nav {
    display: block !important;
  }

  .lb-nav a.lb-prev, 
  .lb-nav a.lb-next {
    opacity: 0.7 !important;
    width: 50% !important;
    height: 100% !important;
    top: 0 !important;
    bottom: 0 !important;
    background: transparent !important;
  }

  .lb-nav a.lb-prev {
    left: 0 !important;
  }

  .lb-nav a.lb-next {
    right: 0 !important;
  }

  .lb-close {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    width: 40px !important;
    height: 40px !important;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>') no-repeat center center !important;
    background-size: 24px 24px !important;
    opacity: 1 !important;
    z-index: 1000;
  }

  .lightboxOverlay {
    background-color: rgba(0, 0, 0, 0.9) !important;
  }

  .lb-dataContainer {
    display: none !important;
  } */
}

@media (max-width: 480px) {
  .food-image {
    height: 136px;
    width: 150px;
  }
}

/* Добавьте эти стили в ваш CSS файл */
.lb-close {
  position: fixed !important;
  top: 0px !important;
  right: -6px !important;
  width: 40px !important;
  height: 40px !important;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>') no-repeat center center !important;
  background-size: 24px 24px !important;
  opacity: 1 !important;
  z-index: 9999 !important; /* Увеличиваем z-index */
  display: block !important;
}

.lb-close:hover {
  opacity: 0.8 !important;
}

/* Для мобильных устройств можно сделать крестик больше */
@media (max-width: 768px) {
  .lightbox .lb-image {
    max-width: 100vw !important;
    max-height: 100vh !important;
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
  }

  .lightbox .lb-image::before {
    content: '';
    position: absolute;
    top: 0%;
    left: 5%;
    width: 90%;
    height: 90%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .lightbox .lb-image::before i {
    font-size: 30px;
    color: #fff;
    cursor: pointer;
  }

  .lightbox .lb-image::before i:hover {
    opacity: 0.8;
  }

  .lightbox .lb-image::before i:active {
    opacity: 0.6;
  }
  .lightbox{
    top: 0px !important;
    left: 0px;
  }
}

.lightbox .lb-image {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
  padding: 0;
}

.lightbox .lb-outerContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

.lightbox .lb-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
}

.lb-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/* Add this to your CSS */
.food-content {
    overflow: hidden;
    touch-action: pan-y; /* Enable vertical scroll but prevent horizontal scroll */
}

.food-list {
    transition: transform 1.5s ease;
}

/* For mobile devices */
@media (max-width: 768px) {
    .food-content {
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }
}

