@font-face {
	font-family: Franklin Gothic Book;
	src: url(fonts/FRABK.woff2) format("woff2");
    font-display: swap;
}

@font-face {
	font-family: Univers-Cn;
	src: url(fonts/Univers-Cn.woff2) format("woff2");
    font-display: swap;
}

@font-face {
	font-family: UniversLTCYR-49LightUltCond;
	src: url(fonts/UniversLTCYR-49LightUltCond.woff2) format("woff2");
    font-display: swap;
}

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: Univers-Cn, sans-serif;
}

html, body{
	overflow-x: hidden; /* Строго убирает горизонтальную прокрутку и лишние отступы справа */
}

.container{
	max-width: 1330px;
	margin: 0 auto;
	z-index: 10;
	padding: 0 100px;
}

#fancybox-outer, #fancybox-wrap{
	z-index: 100000 !important;
}

.upper_button{
	position: fixed;
	background-color: #c13627;
	width: 50px;
	height: 50px;
	border-radius: 25px;
	opacity: 0;
	pointer-events: none;
	bottom: 50vh;
	right: 15px;
	z-index: 1000;
	transition: 0.4s ease-in-out;
}

    .upper_button::before {
      content: "";
      text-align: center;
      position: absolute;
      width: 45px;
      height: 45px;
      left: 7px;
      top: 9px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='45' height='45' viewBox='0 0 25 25'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 17V4M3 10l7-7 7 7'/%3E%3C/g%3E%3C/svg%3E");
    }


/* НАСТРОЙКА ВСПЛЫВАЮЩЕГО МЕНЮ ДЛЯ ТЕЛЕФОНОВ */

#menu__toggle {
  opacity: 0;
  position: relative;
}

#menu__toggle:checked ~ .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked ~ .menu__btn > span::before {
  top: 0;
  transform: rotate(0);
}
#menu__toggle:checked ~ .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle:checked ~ header {
  visibility: visible;
  top: 0;
}

.hamburger-menu{
	position: fixed;
	z-index: 10000;
	width: 0;
	height: 0;
}

.menu__btn {
  display: none;
  align-items: center;
  position: fixed;
  top: 20px;
  left: 20px;

  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 1000;
}

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 4px;

  background-color: #e3dfc5;

  transition-duration: .25s;
}
.menu__btn > span::before {
  content: '';
  top: -8px;
}
.menu__btn > span::after {
  content: '';
  top: 8px;
}


/* MAIN SECTION */

#main{
	width: 100%; 
	height: 95vh;
	background-size: cover;
	position: relative;
	border-bottom: 3px solid #e3dfc5;
}

header{
	background: rgba(40, 19, 9, 0.8);
	border-bottom: 3px solid #e3dfc5;
	overflow: hidden;
	position: fixed;
	width: 100%;
	z-index: 10;
	transition: 0.2s ease-in-out;
	top: 0;
}

.header{
	z-index: 10;
}

.bg_container{
	z-index: -2;
	background: url('../img/bg/page-bg.webp');
	width: 100%; 
	height: 95vh;
	position: absolute;
}

.bg_block{
	opacity: 0;
	position: absolute;
	transition: 0.6s ease-in-out opacity;
	z-index: -1;
}

.is-current{
  	opacity: 1;
}

.logo{
	width: 500px;
	transition: 0.3s ease-in-out;
	z-index: 10;
}

.logo:hover{
	transform: scale(1.02);
}

.header_top{
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
}

.header_top-info{
	display: flex;
	margin-top: 15px;
}

.worktime{
	display: flex;
	margin-right: 30px;
	max-height: 43px;
}

.number{
	display: flex;
    max-height: 43px;
}

.worktime img, .number img{
	width: 43px;
	height: 43px;
	margin-right: 10px;
}

.worktime p{
	color: #fff;
	line-height: 0.6;
	display: flex;
	align-items: left;
	flex-direction: column;
	justify-content: center;
	font-size: 1.5em;
}


.number p{
	color: #fff;
	font-size: 1.8em;

    font-family: Franklin Gothic Book, sans-serif;
    display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;

}


.number p a{
	color: #fff;
	font-family: Franklin Gothic Book, sans-serif;
	text-decoration: none;
	transition: 0.2s ease-in-out;
}

.number p a:hover{
	color: #fffbdb;
    
}

.worktime span{
	font-family: Franklin Gothic Book, sans-serif;
	font-size: 1em;
}

.number span{
	font-family: Franklin Gothic Book, sans-serif;
	font-size: 0.6em;
}

/* ссылки */

.header_bottom{
	margin-top: -15px;
	margin-bottom: 10px;
}

.menu ul{
	display: flex;
	width: 100%;
	justify-content: space-around;
}

.menu ul li a{
	color: #edddac;
	text-decoration: none;
	font-size: 1.8em;
	cursor: pointer;
	transition: 0.2s ease-in-out;
	border-bottom: 2px solid rgb(0, 0, 0, 0);;
}

.menu ul li{
	list-style-type: none;
}

.menu ul li a:hover{
	color: #fffbdb;
	border-bottom: 2px solid #fffbdb;
}

a.active{
	pointer-events: none;
	color: #fffbdb !important;
	border-bottom: 2px solid #fffbdb !important;
}

/* phrases block */

#phrases{
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	z-index: 1;
	position: relative;
}

.phrases_container{
	width: 90%;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 70%;
}

.phrases{
	padding: 20px;
	background: rgb(0, 0, 0, 0.6);
	display: inline-block;
	margin-top: 40px;
    border-radius: 8px;
	
}


.phrases p{
	color: white;
	text-shadow: 1px 1px 2px black;
	font-size: 3em;
	text-align: center;
	font-family: Univers-Cn, sans-serif;
	line-height: 122%;
}

.phrases p:nth-child(2){
	font-size: 1.2em;
	text-align: right;
	margin-top: 10px;
	color: lightgray;
}

/* ========== МЕНЮ (ИСПРАВЛЕНО, РОВНОЕ) ========== */
#menutab{
	background: url('../img/bg/page-bg.webp') no-repeat bottom center;
	background-size: cover;
	width: 100%;
	color: white;
	overflow: hidden;
}

.menutab{
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 50px;
}

.pretext h2{
	color: #fffbdb;
	text-shadow: 1px 1px 2px black;
	font-size: 4em;
	font-weight: 500;
}

.dots{
	display: flex;
	justify-content: center;
	margin-top: 5px;
}

.dots span{
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #fffbdb;
}

.dots span:nth-child(2){
	margin: 0 15px;
}

.drink_box{
	max-width: 1140px;
	width: 100%;
	background: url('../img/bg/menubg.webp') no-repeat top center;
	border-radius: 20px;
	padding: 20px 30px;
	background-size: cover;
	color: #3e251b;
	display: flex;
	flex-direction: column;
	margin-top: 50px;
	margin-bottom: 50px;
}

.drink_box > p{
	color: #3e251b;
	font-size: 1.8em;
	font-weight: 500;
	font-family: Franklin Gothic Book, sans-serif;
	max-width: 487px;
	text-align: center;
	margin: 0 auto;
}

.drink_box > h3{
	color: #3e251b;
	font-family: UniversLTCYR-49LightUltCond, sans-serif;
	font-size: 2.2em;
	font-weight: 600;
	max-width: 487px;
	text-align: center;
	margin: 10px auto 40px;
}

.drink_list {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 40px;
}

.drink_container {
	display: contents;
}

.drink {
	display: flex;
	flex-direction: column;
	border-bottom: 1px dashed rgba(60, 37, 27, 0.25);
	padding: 8px 0;
}

.drink_text {
	display: flex;
	justify-content: space-between;
	background-image: radial-gradient(black 1px, transparent 0px);
	background-size: 8px 8px;
	background-repeat: repeat-x;
	background-position: left bottom;
	padding-bottom: 5px;
}

.drink_text p {
	font-family: Franklin Gothic Book, sans-serif;
	font-weight: 700;
	font-size: 1.5em;
}

.drink_text p span {
	color: #c13627;
	font-family: Franklin Gothic Book, sans-serif;
}

.drink_description {
	padding-left: 15px;
	padding-top: 6px;
}

.drink_description p {
	font-family: Franklin Gothic Book, sans-serif;
	font-weight: 600;
	font-size: 1em;
	line-height: 135%;
}

/* ========== КОНЕЦ МЕНЮ ========== */

#about{
	background: #281309;
	overflow: hidden;
	border-bottom: 3px solid #e3dfc5;
	border-top: 3px solid #e3dfc5;
}

.about{
	display: flex;
	flex-direction: column;
	
	margin: 50px 0;
}

.about > p{
    color: #fffbdb;
    font-size: 1.5em;
    text-align: justify;
    font-family: Franklin Gothic Book, sans-serif;
    margin: 0 0 20px;
}

.about p span{
	font-family: Franklin Gothic Book, sans-serif;
	font-weight: 550;
    color: #c13627;

}

.about .pretext{
	margin-bottom: 30px;
}

/* SHARES */

#shares{
	background: url('../img/bg/page-bg.webp') no-repeat bottom center;
	background-size: cover;
	width: 100%;
	overflow: hidden;
}

.shares{
	display: flex;
	flex-direction: column;
	margin: 50px 0;
}

.pretext h2{
	text-align: center;
}

.shares .pretext{
	margin-bottom: 30px;
}

.shares_block{
	width: 380px;
	height: 280px;
}

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

.shares_block{
	display: flex;
	align-items: flex-end;
}

.shares_block:nth-child(1){
	background: url('../img/shares/birthday.webp') no-repeat bottom center;
}

.shares_block:nth-child(2){
	background: url('../img/shares/gift.webp') no-repeat bottom center;
	margin: 0 5px;
}

.shares_block:nth-child(3){
	background: url('../img/shares/take.webp') no-repeat bottom center;
}

.shares_block-text{
	width: 100%;
	height: 70px;
	background: rgb(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
}

.shares_block-text p{
	color: #fffbdb;
    font-size: 1.2em;
    text-align: center;
    font-family: Franklin Gothic Book, sans-serif;
}

/* ========== ГАЛЕРЕЯ (РАСТЯГИВАЕТСЯ ДО КРАЕВ) ========== */
#gallery{
	background: #281309;
	overflow: hidden;
	border-bottom: 3px solid #e3dfc5;
	border-top: 3px solid #e3dfc5;
}

#gallery .container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 0;
    max-width: none; /* Убираем лимит родительского контейнера */
}

.gallery{
	margin: 50px 0;
}

.gallery .pretext{
	margin-bottom: 30px;
}

.gallery_container > .gallery_block img{
	width: 100%;
	height: 500px;
	object-fit: cover;
}

.gallery_main-block > .gallery_block img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery_main-block > .gallery_block{
	height: 50%;
}

.gallery_container{
	display: flex;
}

.gallery_main-block{
	display: flex;
	flex-direction: column;
}

.gallery_container > .gallery_block:nth-child(1){
	width: 25%;
	height: 500px;
}

.gallery_container > .gallery_main-block:nth-child(2){
	width: 25%;
	height: 500px;
}

.gallery_container > .gallery_block:nth-child(3){
	width: 25%;
	height: 500px;
}

.gallery_container > .gallery_main-block:nth-child(4){
	width: 25%;
	height: 500px;
}

.gallery_block{
	cursor: pointer;
	overflow: hidden;
}

.gallery_block img{
	transition: 0.2s ease-in-out;
}

.gallery_block:hover img{
	transform: scale(1.05);
}
/* ========== КОНЕЦ ГАЛЕРЕИ ========== */

#contacts{
	background: url('../img/bg/page-bg.webp') no-repeat bottom center;
	background-size: cover;
	width: 100%;
	overflow: hidden;
}

.contacts{
	margin: 50px 0;
}

/* ========== КАРТА (РАСТЯГИВАЕТСЯ ДО КРАЕВ) ========== */
.yamap_wrap {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    height: 500px;
    border-top: 10px solid #000;
    border-bottom: 10px solid #000;
}
/* ========== КОНЕЦ КАРТЫ ========== */

#contacts .container{
	max-width: 1920px;
	padding: 0;
}

.contacts_content{
	display: flex;
	max-width: 1330px;
	margin: 50px auto;
	justify-content: space-around;
}

.contacts_content img{
	height: 219px;
	width: 400px;
	object-fit: cover;
	margin: 0 8px;
	border-radius: 20px;
}

.contacts_text{
    display: flex;
	flex-direction: column;
	margin: 0 30px;
}

.contacts_text p:nth-child(3) a{
	color: #edddac;
}

.contacts_img{
	display: flex;
}

.contacts_text h4{
    font-family: Franklin Gothic Book, sans-serif;
	font-size: 28px;
	color: white;
	text-shadow: 1px 1px 2px black;
	font-weight: 500;
	margin-bottom: 10px;
	margin-top: 20px;
}

.contacts_text p{
    font-family: Franklin Gothic Book, sans-serif;
	color: #fff;
	text-shadow: 1px 1px 2px black;
	text-align: left;
	font-size: 1.5em;
	margin-bottom: 10px;
}

.contacts_text p a{
    font-family: Franklin Gothic Book, sans-serif;
	color: #fff;
	text-decoration: none;
	transition: 0.2s ease-in-out;
}

.contacts_text p a:hover{
	color: #fffbdb;
}

.contacts_text p span{
    font-family: Franklin Gothic Book, sans-serif;
	font-weight: 550;
    
}

span.text{
	display: flex;
	justify-content: center;
	margin-bottom: 10px;
}

#contacts .header_top{
	justify-content: space-around;
}

@media (max-width: 1350px){
	.logo {
    	width: 350px;
    	margin-right: 20px;
	}

	#contacts .logo {
    	width: 500px;
    	margin-right: 20px;
    	margin-top: -10px;
	}

	.header_top-info {
    	margin-top: 0px;
	}

	.header_bottom {
    	margin-top: 0;
	}

	.phrases p {
    	font-size: 42px;
	}

	.container{
		padding: 0 50px;
	}

	.contacts_content img {
    	height: 180px;
    	width: 320px;
	}

	.contacts_text h4 {
    	margin-top: 0;
	}
}

@media (max-width: 1023px){
	.logo{
		width: 270px;
		margin-right: 10px;
	}

	.worktime img, .number img {
    width: 35px;
    height: 35px;
	}

	.worktime span, .number span {
		font-size: 1.2em;
	}

	.worktime p, .number p {
    font-size: 1.1em;
  }

	.shares_container{
		flex-wrap: wrap;
	}

	.shares_block:nth-child(2){
		margin: 20px 0;
	}

	.contacts_content{
		flex-wrap: wrap;
	}

	.contacts_text{
		margin-top: 40px;
	}

	.phrases p {
    font-size: 36px;
	}

	.gallery_container{
		flex-wrap: wrap;
	}

	.gallery_container > .gallery_block:nth-child(1), .gallery_container > .gallery_main-block:nth-child(2), .gallery_container > .gallery_block:nth-child(3), .gallery_container > .gallery_main-block:nth-child(4) {
		width: 50%;
	}

	#contacts .header_top{
		flex-direction: column;
		align-items: center;
	}

	#contacts .header_top-info{
		margin-bottom: 35px;
	}

	#contacts .worktime p, #contacts .number p{
		text-align: center;
	}

	#contacts .logo {
    width: 650px;
    margin-right: 0;
  }
}

@media (max-width: 760px){
	.header_top, .header_bottom{
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.number p{
		text-align: left;
	}

	.number{
		margin-bottom: 20px;
	}

	.worktime{
		margin-bottom: 20px;
		margin-right: 50px;
	}

	.menu ul{
		flex-direction: column;
		align-items: center;
	}

	.menu ul li{
		margin-bottom: 5px;
	}

	.header_top-info{
		flex-direction: column;
		align-items: center;
	}

	header{
		top: -100%;
		visibility: hidden;
	}

	.menu__btn, #menu__toggle{
		display: flex
	}

	.phrases p {
    	font-size: 30px;
	}

	.contacts_content img {
	  height: 150px;
	  width: 300px;
	}

	.contacts_img img{
		margin-bottom: 30px
	}

	#contacts .logo {
    width: 550px;
  }

  #contacts .header_top-info {
    flex-direction: row;
  }

  /* МЕНЮ РАСТЯГИВАЕТСЯ ДО КРАЕВ ЭКРАНА НА ТЕЛЕФОНЕ */
  .container {
  	padding: 0;
  }
  .drink_box {
  	border-radius: 0;
  	padding: 20px 15px;
  }
  .drink_list {
  	grid-template-columns: 1fr;
  	gap: 5px;
  }
}

@media (max-width: 700px){
	.gallery_container > .gallery_block:nth-child(1), .gallery_container > .gallery_block:nth-child(3) {
    height: 400px;
  }

  .gallery_container > .gallery_main-block:nth-child(2), .gallery_container > .gallery_main-block:nth-child(4) {
    height: 400px;
  }
}

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

	.gallery_container > .gallery_block:nth-child(1), .gallery_container > .gallery_main-block:nth-child(2), .gallery_container > .gallery_block:nth-child(3), .gallery_container > .gallery_main-block:nth-child(4) {
		width: 100%;
	}

	.gallery_container > .gallery_block:nth-child(1), .gallery_container > .gallery_block:nth-child(3) {
    height: 450px;
  }

	.gallery_container > .gallery_main-block:nth-child(2), .gallery_container > .gallery_main-block:nth-child(4) {
    height: 900px;
  }

  .gallery_main-block > .gallery_block {
    height: 100%;
	}

	.contacts_content img {
	  height: 150px;
	  width: 300px;
	}

	#contacts .logo {
    width: 500px;
  }
}

@media (max-width: 530px){
	.contacts_content img {
	  height: 140px;
	  width: 250px;
	}

	#contacts .logo {
    width: 380px;
  }
}


@media (max-width: 400px){
	.container {
    	padding: 0 5px;
	}

	.logo {
    	width: 275px;
	}

	.phrases p {
    	font-size: 26px;
	}

    .contacts_content img {
	  height: 140px;
	  width: 186px;
	}

	#contacts .logo {
    width: 400px;
  }

  #contacts .header_top-info {
    flex-direction: column;
  }

  #contacts .worktime p, #contacts .number p{
		text-align: left;
	}
}