/*******************************************
 *** Файл стилей STYLE.CSS
 *** Собственность компании WEBBERRIES
 *** https://webberries.ru (C) 2005-2022
 *** Для вопросов: webberries@yandex.ru
 *** Дата обновления: 11.05.2022
 *** Версия файла: V4.00 
 *******************************************/

/*------------------------------------------------------------------------------
 ******************* ВСПОМОГАТЕЛЬНЫЕ СТИЛИ *************************************
-------------------------------------------------------------------------------*/

/*
Для изменения свойств элементов - раскомментировать и поменять со стандартных на нужные:
*/
/*------------------------------------------------------------------------------
		a.blue:link {color: #006699; text-decoration: underline; }
		a.blue:visited {color: #006699; text-decoration: underline; }
		a.blue:active {color: #006699; text-decoration: underline; }
		a.blue:hover {color: #009999; text-decoration: none; }

		body {
			background: #f5f5f5;
		}

		
		html, body, h1, h2, h3, h4, h5, h6, div, span, input, textarea, table, td, th, nav, section, nav, header, select, footer, button {
		  font-family: 'Montserrat', sans-serif;
		}




		///////////// Checkbox & Radio

		.checkbox:after {
			border-left: 4px solid #535353 !important;
			border-bottom: 4px solid #535353 !important;
		}

		.radio:after {
			background-color: #535353 !important;
		}

		.radio:before, .checkbox:before {
			border: 1px solid #dddddd !important;
			background-color: #dddddd !important;
		}

		<input type="checkbox" id="cb1" checked> <label class="checkbox" for="cb1">Флажок 1</label>
		<input type="radio" name="rb" id="rb1" checked> <label class="radio" for="rb1">Переключатель 1</label>




		///////////// Кнопки

		input[type=submit], button, .btn {
			background: #232323 !important;
		}

		input[type=submit]:hover, button:hover, .btn:hover {
			background: #363636 !important;
		}
		
-------------------------------------------------------------------------------*/

/*@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap');*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Forum&display=swap');

html, body, h1, h2, h3, h4, h5, h6, div, span, input, textarea, table, td, th, nav, section, nav, header, select, footer, button {
  font-family: 'Open Sans', serif;
  letter-spacing: 0px;
  color: #283238;
}

body {
	background: #fefefe;
}

header, section, nav, footer {
	padding: 0;
}

/*------------------------------------------------------------------------------
 ******************* SETTINGS **************************************************
-------------------------------------------------------------------------------*/


:root {
	--color-main: #283238;
}

.root {
	color: var(--color-main);
}

.def-btn {
	display: inline-block;
	background: #e53935;
	color:#fff;
	padding: 0 50px;
	height: 50px;
	line-height: 50px;
	font-size: 1em;
	font-weight: 400;
	border: 0;
	border-radius: 4px;
	cursor: pointer;
	transition: 0.1s;
	text-align: center;
	&:hover {
		background: #a00a00;
		transition: 0.2s;
	}
}

.def-btn {
	border: 1px solid #806651;
	background: #755C48;
	color: #fff;
	height: 50px;
	line-height: 48px;
	border-radius: 1000px;
	padding: 0 32px;
	box-shadow: inset 0px 0px 15px rgba(0,0,0,0.5);
	&:hover {
		background: #654f3e;
	}
}

div.padding-body {
	height: 80px;
}


nav {
	height: 80px;
	position: fixed;
	inherits: 0 0 auto 0;
	background: rgba(0, 0, 0, .0);
	z-index: 1000;
	transition: 0.2s;
}

nav.inside {
	background: rgba(0, 0, 0, 1.0);
}

nav.scroll,
nav.inside.scroll {
	background: rgba(0, 0, 0, .5);
	backdrop-filter: blur(10px);
	transition: 0.5s;
}


nav .logo  {
	position: relative;
	width: 200px;
	height: 54px;
	background: url(/sys/images/main/estua-new.png) left center / contain no-repeat;
}

nav .logo a,
nav .menu-btn a {
	position: absolute;
	inset: 0;
	display: inline-block;
}

nav .menu-btn,
nav .phone {
	color: #fff;
	position: relative;
	overflow: hidden;
}

nav .phone {
	font-size: 1.8em;
	font-family: 'Forum', serif;
	letter-spacing: 3px;
}

nav .menu-btn {
	height: 30px;
	line-height: 30px;
	padding: 0 20px;
	background: transparent;
	border-radius: 1000px;
	transition: 0.1s;
	cursor: pointer;
}

nav .menu-btn:hover {
	background: rgba(255, 255, 255, .15);
	transition: 0.2s;
}


header {
	background: transparent;
	overflow: hidden;
	position: relative;
}

header .con {
	z-index: 3;
	padding: 220px 0 80px 0;
	text-align: center;
}

header:before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .5);
	z-index: 2;
	backdrop-filter: blur(0);
	transition: 0.5s;
}

header.scroll:before {
	background: rgba(0, 0, 0, .7);
	backdrop-filter: blur(10px);
	transition: 0.5s;
}

header .owl-carousel  {
	position: absolute;
	inset: 0;
	z-index: 1;
}

header .owl-carousel div {
	height: 100%;
}



header .con h1 {
	font-family: 'Forum', serif;
	font-size: 4em;
	color: #fff;
	font-weight: 400;
	text-align: center;
	margin-bottom: 50px;
	letter-spacing: 3px;
}

header .con img {
	width: 70%;
	display: block;
	margin: 75px auto 0 auto;
	opacity: 1;
	background-origin: ;
}

header .con p {
	font-size: 1.4em;
	color: #fff;
	margin-bottom: 50px;
}



.yakor {
	position: absolute;
	top: -80px;
}

section {
	position: relative;
	padding: 50px 0;
}

h2 {
	font-family: 'Forum', serif;
	font-size: 3em;
	color: #283238;
	font-weight: 400;
	text-align: center;
	margin-bottom: 50px;
	letter-spacing: 3px;
}


section.catalog-main {

}

section.catalog-main .items .item {
	width: calc(33.333% - 20px);
	margin-bottom: 75px;
	position: relative;
}

section.catalog-main .items:after{
  content: '';
  flex: 0 1 calc(33.333% - 20px);
}

section.catalog-main .items .item .image {
	padding-top: 100%;
	overflow: hidden;
	position: relative;
}

section.catalog-main .items .item .image a {
	position: absolute;
	inset: 0;
	display: inline-block;
}

section.catalog-main .items .item .image .overlay {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: 0.2s;
}

section.catalog-main .items .item:hover .image .overlay {
	opacity: 1;
	transition: 0.5s;
}

section.catalog-main .items .item .name {
	padding: 15px 0 0 0;
	font-size: 1.4em;
}

section.catalog-main .items .item .price {
	padding: 10px 0 15px 0;
	font-size: 1.6em;
	font-weight: 600;
}

section.catalog-main .items .item .price span {
	display: inline-block;
	margin-left: 25px;
	color: #ccc;
	text-decoration: line-through;
}

section.catalog-main .items .item .btn-container > div {
	width: calc(50% - 15px);
	height: 50px;
	line-height: 48px;
	text-align: center;
	padding: 0;
	cursor: pointer;
	transition: 0.2s;
}

section.catalog-main .items .item .btn-container > div:nth-child(1) {
	width: calc(50% - 8px);
}

section.catalog-main .items .item .btn-container > div:nth-child(2) {
	width: calc(50% - 8px);
}

section.catalog-main .items .item .btn-container .btn-more {
	border: 1px solid #ccc;
	border-radius: 1000px;
	line-height: 48px;
}

section.catalog-main .items .item .btn-container .btn-more:hover {
	/*background: #806651;
	color: #fff;*/
	border: 1px solid #806651;
}


.btn-more {
	position: relative;
}

.btn-more a {
	display: inline-block;
	position: absolute;
	inset: 0;
}




section.catalog-sub {
	padding: 0 0 25px 0;
}

section.catalog-sub .items .item {
	width: calc(50% - 25px);
	position: relative;
	overflow: hidden;
	background: black;
	cursor: pointer;
}

section.catalog-sub .items .item:before {
	content: "";
	float: left;
	padding-top: 80%;
}

section.catalog-sub .items .item .overlay {
	position: absolute;
	inset: 0;
	transition: 0.2s;
}

section.catalog-sub .items .item:hover .overlay {
	transition: 0.5s;
	inset: -20px;
	opacity: 0.7;
}

section.catalog-sub .items .item .text {
	background: rgba(255, 255, 255, .5);
	position: absolute;
	bottom: 15px;
	left: 15px;
	right: 15px;
	padding: 15px;
	font-family: 'Forum', serif;
	font-size: 2em;
	color: #283238;
	font-weight: 400;
	text-align: center;
	backdrop-filter: blur(5px);
	transition: 0.1s;
}

section.catalog-sub .items .item:hover .text {
	background: rgba(255, 255, 255, 1.0);
	transition: 0.2s;
}


section.catalog-sub .items .item a {
	position: absolute;
	display: inline-block;
	inset: 0;
	z-index: 2;
}


section.about {
	padding: 50px 0 75px 0;
}

section.about .con p {
	line-height: 2;
	margin-bottom: 25px;
}

section.about .con p:last-child {
	margin-bottom: 0;
}



div.popup,
.viewbox-container {
	backdrop-filter: blur(10px);
	background: rgba(0, 0, 0, .70);
}


section.socials {
	padding: 25px 0;
	background: #111;
}

section.socials .con > div {
	width: calc(33.3333% - 20px);
}

section.socials .con > div:nth-child(1),
section.socials .con > div:nth-child(2) {
	font-size: 1.0em;
	height: 80px;
	justify-content: flex-start;
}

section.socials .con > div:nth-child(1) i,
section.socials .con > div:nth-child(2) i {
	font-size: 3.5em;
	color: #fff;
	display: block;
	position: relative;
	top: 0px;
	margin-right: 10px;
}

section.socials .con > div:nth-child(2) {
	justify-content: center;
}

section.socials .con > div:nth-child(1) span:nth-child(2),
section.socials .con > div:nth-child(2) span:nth-child(2)  {
	font-size: 1.5em;
	color: #fff;
	display: block;
	margin-right: 10px;
}

section.socials .con > div:nth-child(1) span:nth-child(3) {
	color: #777;
}

section.socials .con > div:nth-child(3) {
	justify-content: flex-end;
}

section.socials .con > div:nth-child(3) img {
	display: block;
	width: 48px;
	height: 48px;
	margin-left: 10px;
	filter: grayscale(100%);
	transition: 0.1s;
	cursor: pointer;
}

section.socials .con > div:nth-child(3) img:hover {
	transition: 0.2s;
	filter: grayscale(0%);
	transform: scale(1.05);
}





footer {
	background: #1a1a1a;
	padding: 25px 0;
}

footer .con {
	text-align: center;
	color: #777;
}






section.catalog-inside {
	padding: 25px 0 50px 0;
}

section.catalog-inside .breadcrumbs {
	margin-bottom: 50px;
	font-size: 1em;
	color: #777;
}

section.catalog-inside h1 {
	font-family: 'Forum', serif;
	font-size: 4em;
	font-weight: 400;
	text-align: left;
	margin-bottom: 50px;
	letter-spacing: 3px;
}


section.catalog-inside .items > div:nth-child(1) {
	width: 500px;
}

section.catalog-inside .items > div:nth-child(2) {
	width: calc(100% - 600px);
}


section.catalog-inside .items .image-main {
	width: 100%;
	margin-bottom: 15px;
	overflow: hidden;
	position: relative;
	transition: 0.1s;
}

section.catalog-inside .items > div:nth-child(1) .image-container:after {
  content: "";
  width: calc(33.333% - 10px);
}

section.catalog-inside .items .image-sub {
	width: calc(33.333% - 10px);
	margin-bottom: 15px;
	overflow: hidden;
	position: relative;
	transition: 0.1s;
}

section.catalog-inside .items .image-main:before,
section.catalog-inside .items .image-sub:before {
	content: "";
	float: left;
	padding-top: 65%;
}

section.catalog-inside .items .image-sub a,
section.catalog-inside .items .image-main a {
	display: inline-block;
	position: absolute;
	inset: 0;
}

section.catalog-inside .items .image-sub:hover,
section.catalog-inside .items .image-main:hover {
	transition: 0.2s;
	transform: scale(1.05);
	cursor: pointer;
}

section.catalog-inside ul {
	padding-left: 0;
	margin-left: 0;
}

section.catalog-inside ul > li {
	line-height: 2;
	margin-bottom: 15px;
	list-style-type: none;
}

section.catalog-inside ul > li:last-child {
	margin-bottom: 0;
}

section.catalog-inside .items > div:nth-child(2) h2 {
	text-align: left;
	margin-bottom: 15px;
	font-size: 2em;
	margin-top: 50px;
}

section.catalog-inside .items > div:nth-child(2) h2.first {
	margin-top: 0;
}

section.catalog-inside .items > div:nth-child(1) .price-container {
	margin-top: 50px;
}

section.catalog-inside .items > div:nth-child(1) .price-container .price > div {
	font-size: 2em;
	font-weight: 600;
}

section.catalog-inside .items > div:nth-child(1) .price-container .price > div:nth-child(2) {
	text-decoration: line-through;
	color: #ccc;
	margin-left: 25px;
}

section.catalog-inside .items > div:nth-child(1) .buy-btn {
	margin-top: 25px;
	padding: 0 50px;
	height: 62px;
	line-height: 60px;
	font-size: 1.25em;
}

section.catalog-inside .items > div:nth-child(1) .about-info {
	margin-top: 50px;
	line-height: 1;
}

section.catalog-inside .items > div:nth-child(1) .about-info a {
	display: inline-block;
	margin-right: 15px;
	margin-bottom: 15px;

}

section.catalog-inside .btn-go {
	margin-top: 25px;
	margin-bottom: 50px;
}




section.catalog-inside .gallery img {
  max-width: 100%;
  display: block;
}

section.catalog-inside .gallery figure {
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  margin-bottom: 25px;
  break-inside: avoid;
  transition: 0.2s;
  cursor: pointer;
}

section.catalog-inside .gallery figure:hover {
	transform: scale(1.03);
}

section.catalog-inside .gallery figure > img {
  grid-row: 1 / -1;
  grid-column: 1;
}

section.catalog-inside .gallery {
  column-count: 4;
  column-gap: 25px;
}


section.catalog-inside .text p {
	margin-bottom: 15px;
}

section.catalog-inside .text p:last-child {
	margin-bottom: 0;
}



.hamburger,
.logo-mobile,
.hamburger-close,
.mobile-menu-overlay {
	display: none;
}