@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html, body{ 
  	margin:0 auto; padding:0; 
	font-style: normal;
	font-optical-sizing: auto;
	font-family: "Montserrat", Arial, sans-serif;
	background:url(images/bg.jpg);
	background-repeat: repeat;
	color: rgb(48,48,48);
}

.body-flex{
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

:root{
	--radius:20px;
	--gray6: #F2F2F2;
	--gray5: #E0E0E0;
    --gray4: #BDBDBD;
	--gray3: #828282;
    --gray2: #4F4F4F;
	--gray1: #333333;
	--braun: #520000;
	--braun1:#603314;
	--border:rgb(119,119,119);
}

* {box-sizing:border-box;}


input, button, textarea, select, option{
	outline: none;
	font-family: inherit;
}

.button[disabled], .button[disabled]:hover,
.btn[disabled], .btn[disabled]:hover,
button[disabled], button[disabled]:hover{
  	background-color:#a9a9a9!important;
}

a{outline: none;}
p, ul, ol, li{font-size:16px; line-height: 150%;}

h1, h2, h3, h4, strong{
	font-weight: 700;
	margin: 0;
}
h1{font-size:32px;}
h2{font-size:28px;}
h3{font-size:24px; }
h4{font-size:20px;}


button, .btn, .button{
	border-radius: 30px;
	padding: 0px 40px;
	cursor: pointer;
	outline: none;
	border: none;
	font-weight: 600;
	display: flex;
	text-align: center;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	gap: 8px;
}

.btn-s{
	height: 45px;
	font-size: 14px;
	padding: 0px 30px;
}

.btn-m{
	height: 56px;
	font-size: 16px;
}

.btn-l{
	height: 60px;
	font-size: 18px;
}

.more-button{
	border-bottom: 1px solid var(--braun1);
	color: var(--braun1);
	text-decoration: none;
	padding-bottom: 3px;
}

.comment-button{
	background-color: var(--braun1);
	color: #fff;
}

header, nav, main, footer{ 
	width:100%;
  	text-align:center; 
}

section{ 
	width: 100%;
  	margin:0 auto; 
  	padding: 0 15px;
  	display: flex; 
	justify-content: space-between;
	max-width: 1360px;
}

header section{
	align-items: center;
	gap: 0px 30px;
	padding-top:15px;
	padding-bottom: 15px;
}

main{ 
  	padding:40px 0px 0px 0;
  	overflow: hidden;
  	flex: 1;
}

footer{  
  	margin-top: 40px;
}

.header-bottom{
	background-color: #fff;
}

.logo-all{
	display: flex;
	align-items: center;
	gap: 30px;
}

.logo-korzinaopt-all img{
	object-fit: contain;
	max-width: 120px;
	width: 100% 
}

.header-user-all{
	display: flex;
	align-items: center;
	gap: 15px;
}

.header-call{
	align-items: center;
	gap: 8px;
	display: flex;
	font-size: 13px;
    font-weight: 600;
    color: var(--braun);
    text-decoration: none;
    border-right: 1px solid var(--gray4);
	padding-right: 15px;
}

.header-call img, .header-favourites img, .basket img{
	object-fit: contain;
	width: 14px; height: 14px;
}

#mobile-menu-all .basket img{
	width: 18px; height: 18px;
	position: relative;
	top: 2px;
}

.header-favourites{
	position: relative;
	display: flex;
    align-items: center;
    justify-content: center;
}

.basket{
	display: flex;
	align-items: center;
	gap: 5px;
}

.basket-name{
	text-decoration: none;
	border-radius: 50%;
	width:16px; height:16px; 
	text-align: center;
	font-weight: 700;
    font-size: 10px;
	display: flex;
	align-items: center;
	color: #fff;
	justify-content: center;
	background-color: var(--braun);
}

#mobile-menu-all .basket-name{
	width:22px; height:22px; 
	font-size: 12px;
}

.logo img{
	object-fit: contain;
	max-width: 100px;
	width: auto; height: auto;
}

.search-link{
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 50px;
	border-radius: 30px;
	border: 1px solid var(--gray5);
	padding: 0 10px 0 20px;
	font-size: 14px;
	gap: 20px;
	text-decoration: none;
	color: var(--gray3);
	flex: 1 1 auto;
	min-width: 200px;
}

.search-img{
	background: var(--braun1);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px; height: 34px;
	min-width: 34px;
	border-radius: 50%;
	padding: 0;
}

.search-img img{
	object-fit: contain;
	width: 16px; height: 16px;
	filter: invert(100%);
}

.header-contact-all, .header-contact{
	display: flex;
	gap: 15px;
	text-align: left;
}

.header-contact img{
	object-fit: contain;
	width: 32px; height: 32px;
	max-width: 32px;
	max-height: 32px;
}

.header-contact-text-all{
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-start;
}

.header-contact-name{
	font-weight: 700;
    font-size: 16px;
    color:rgba(0, 0, 0, 1)
}

.header-contact-text{
	display: flex;
	flex-direction: column;
	gap: 3px;
	align-items: flex-start;
	font-size: 13px;
}

.header-contact-text span{
	height: 16px;
  	overflow: hidden;
}

.content{
	text-align:left; 
	width: 100%;
}


/*Heading*/

.heading-screen{
	background-image:url(images/fon-zagolovka.jpg);
	background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    height: 190px;
}

.heading-section{
	height: 100%;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	gap: 10px;
	justify-content: center;
}

.heading-name{
	color: #fff;
	margin: 0;
}

.main-left{
	display: flex;
	flex-direction: column;
	gap: 40px;
	align-items: flex-start;
}

.main-catalog section{
	display: grid;
	grid-template-columns: 20% 77%;
}

.section-content{
	flex-direction: column;
	align-items: flex-start;
	padding: 0;
}


/* Футер */

footer{
	display: flex;
	flex-direction: column;
	gap: 30px;
	align-items: flex-start;
	background-color: #f7f7f7;
	padding-top: 40px;
}

.footer-top-section, .contact-top-section{
	display: grid;
	justify-content: space-between;
	width: 100%;
	gap: 30px 0;
}

.footer-top-section{
	grid-template-columns: 26% 15% 15% 15% 15%;
	border-bottom: 1px solid var(--gray5);
	padding-bottom: 40px;
}

.contact-top-section{
	grid-template-columns: 24% 24% 18% 28%;
	margin-top: 40px;
}

.footer-block, .footer-logo-all, .footer-social-all{
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: flex-start;
	text-align: left;
}

.footer-logo-all{
	gap: 10px;
	width: 140px;
	min-width: 140px;
}

.footer-logo, .footer-logo1{
	width: 100%; height: 100%;
	object-fit: contain;
	filter: brightness(100%) contrast(94%) saturate(100%) blur(0px) hue-rotate(0deg);
}

.footer-logo-desc{
	font-size: 14px;
    font-weight: bold;
    color: var(--braun1);
    text-align: left;
    line-height: 150%;
    max-width: 80%;
}

.footer-social-all{
	gap: 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--gray1);
}

.footer-social{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.footer-social img{
	width: 30px; height: 30px;
	object-fit: contain;
}

.footer-rekviz-all{
	font-size: 13px;
	color: var(--braun1);
	line-height: 150%;
}

.footer-block h2{
	color: var(--braun1);
	font-size: 20px;
	margin: 0;
}

.footer-menu-all span{
	font-weight: 600;
	color: #000;
}

.footer-block ul{
	list-style: none;
	margin: 0; padding: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
	text-align: left;
	margin-top: 15px;
}

.footer-block ul li, .footer-block ul li a{
	font-size: 14px;
	text-decoration: none;
	color: #000;
	line-height: 170%;
	transition: 0.2s;
}

.footer-block ul li:hover, .footer-block ul li a:hover{
	color: var(--braun1);
}

.footer-obrsv-section{
	display: grid;
	grid-template-columns: repeat(2, 48%);
	align-items: center;
	border-bottom: 1px solid var(--gray5);
	padding-bottom: 40px;
	padding-top: 20px;
	gap: 20px 0;
}

.footer-obrsv-text-all{
	display: flex;
	align-items: center;
	gap: 30px;
	text-align: left;
}

.footer-cookie-section{
    justify-content: flex-start;
    gap: 10px 20px;
    flex-wrap: wrap;
    text-align: left;
}

.footer-cookie-section a{
    text-decoration: none;
    color: #000;
    font-size: 14px;
}

.footer-bottom-section{
	padding: 20px 0;
	background: #000;
	color: #fff;
	width: 100%;
	max-width: 1920px;
}

.footer-bottom-section > div{
	max-width: 1380px;
	display: flex;
	justify-content: flex-start;
	margin: auto;
	width: 100%;
	font-size: 14px;
	padding: 0 15px;
}

.footer-bottom-section > div a{
	color: var(--braun);
	text-decoration: none;
	transition: 0.3s;
}

.footer-bottom-section > div a:hover{
	color: #fff;
}


/* Blog page */

.blog-section{
	flex-direction: column;
	gap: 30px 0;
}

.blog{
	display: flex;
	gap: 30px;
	border: 1px solid var(--gray5);
	padding: 20px;
	border-radius: var(--radius);
	transition: 0.3s;
}

.blog:hover{
	border: 1px solid var(--gray4);
}

.blog-img{
}

.blog-img img{
	 width:200px; height:200px; 
	object-fit: cover;
	border-radius: var(--radius);
	overflow: hidden;
}

.blog-name-all{
	text-align: left;
	display: flex;
	flex-direction: column;
	gap: 5px;
	justify-content: flex-start;
} 

.blog-name{
	text-decoration: none;
	font-size: 20px;
	font-weight: 600;
}

.blog-date{
	font-size: 12px;
	color: var(--gray3);
}

.blog-more{
	width: 140px;
	padding: 10px;
	font-size: 14px;
	text-align: center;
	border-radius: var(--radius);
	display: flex;
	justify-content: center;
	background-color: var(--gray6);
	text-decoration: none;
}

/*Страница Контакты*/

.map{
	width: 100%;
}

/* Модальное окно */

.modalDialog, .modalDialog-search {
	position:fixed; 
	top:0; right:0; bottom:0; left:0; 
	background: rgba(0,0,0,0.8); 
	z-index: 99; 
	-webkit-transition: opacity 400ms ease-in; 
	-moz-transition: opacity 400ms ease-in; 
	transition: opacity 400ms ease-in; 
	display:none; 
	pointer-events:none;
	transition: 0.2s;
}

.modalDialog-search{
	background: rgba(255,255,255,0.95); 
	align-items: center;
	justify-content: center;
}

.modalDialog:target, .modalDialog-search:target { 
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: auto; 

} 

.modalDialog > form {
	position: relative; 
	margin: 10% auto; 
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.search-form{
	margin: auto;
	width: 80%;
	display: flex;
	align-items: center;
}

.search-form input{
	margin: auto;
	width: 100%;
	height: 65px;
	border-radius: 30px 0 0 30px;
	border: 1px solid var(--gray5);
	padding: 10px 20px;
	font-size: 16px;
}

.search-form button{
	background: var(--braun1);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 65px; height: 65px;
	border-radius: 0px 30px 30px 0;
	padding: 0;
}

.search-form button img{
	object-fit: contain;
	width: 26px; height: 26px;
	filter: invert(100%);
}

@-webkit-keyframes fadeInDown {
    0% {
	    opacity: 0;
	    -webkit-transform: translate3d(0, -100%, 0);
	    transform: translate3d(0, -100%, 0);
    }
    100% {
	    opacity: 1;
	    -webkit-transform: none;
	    transform: none;
    }
}

.close, .close-search { 
	position: absolute; 
	right: 20px; top: 10px;  
	text-align: center; 
	font-weight: 300; 
	color: #000;
	text-decoration: none;
} 

.close-search{
	top: 0;  
	font-size: 62px;
}

.close{
	font-size: 34px;
}


/* Gallery (Галерея) */

.gallery-section{
	background: #F7F7F7;
	padding: 60px;
    max-width: 1350px;
    border-radius: var(--radius);
    width: 100%;
    margin:20px auto; 
    flex-direction: column;
    align-items: flex-start;
    gap: 40px 0;
    width: 100%;
}

.album-all, .gallery-all{
	display:grid;
    grid-template-columns: repeat(4, 24%);
    gap: 15px 0;
    justify-content: space-between;
    width: 100%;
}

.gallery-title-all{
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	text-align: left;
	gap: 15px;
}

.gallery-title h4{
	font-size: 26px;
	margin: 0;
	font-weight: 700;
}

.gallery-desc{
	font-size: 16px;
}

.album, .gallery, .album a{
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.album a{
	text-decoration: none;
	color: rgb(48,48,48);
}

.gallery-img,
.album-img{
	overflow: hidden;
	height: 220px;
	border-radius: 5px;
}

.album-img img, .gallery img{
	width: 100%; height: 100%;
    object-fit: cover;
    transition: 0.3s;
    border-radius: 5px;
}

.album-img img:hover,
.gallery img:hover {
    transform: scale(1.02);
    filter: brightness(80%);
}

.album-name{
	font-weight: 600;
	font-size: 16px;
	text-align: center;

}

/* Всплывающее окно - уведомление */

.dobavlen{ 
	position:fixed; 
	top:0; left:0; right: 0; bottom: 0;
	width:100%; height:100%; 
	z-index:99; 
	margin: auto;
	background-color: rgba(0, 0, 0, 0.7);
	transition: 0.3s;
}

.dobavlentext{
	position:absolute; 
	top:0; left:0; right: 0; bottom: 0;
	margin: auto;
	width:300px; height: 100px;
	padding: 0 20px; 
	text-align: center; 
	background-color: #fff; color: var(--braun1);
	font-weight: 600;
	display: flex;
	align-items: center;
	border-radius: var(--radius);
	justify-content: center;
	transition: 0.3s;
}

/* Кнопка вверх и кнопка заказа звонка */

.scrollup, .call{
    width:55px; height:55px;
    position:fixed;
    opacity: 1;
    bottom:20px; right:20px;
    display:none;
    z-index: 99;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.17);
    border-radius: 50%;
    transition: 0.3s;
}

.call{
	bottom:80px; 
}

.scrollup:hover, .call:hover{
    opacity: 0.8;
}

.scrollup img, .call img{
	width:55px; height:55px;
	object-fit: contain;
}

/* Корзина Кружок */

.korzina{
	width:55px; height:55px; 
	position: fixed;
	bottom:90px; right: 20px;
	z-index: 99;
	border-radius: 50%;
	opacity: 1;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.17);
	background: #fff;
}

.korzina img{
	width:100%; height:100%; 
	object-fit: contain;
}

.korzina-name{
	background: var(--braun1);
	width:22px; height:22px; 
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	top:-4px; right: -4px;
	font-size: 13px;
	border-radius: 50%;
	text-align: center;
	font-weight: 600;
	color: #fff;
}

.korzina:hover .korzina-name{
	filter: brightness(120%);
}

/*Notification*/

#info-notification{
    display: none;
    justify-content: space-between;
    align-items: center;
    position: relative;
    top: 0; left: 0; right: 0;
    width: 100%;
    padding:20px;
    background:var(--braun1);
    color: #fff;
}

#info-notification.show{
    display: block; 
}

#info-notification section{
	gap: 10px 20px;
}

#info-notification p, #cookie-notification p a{
    margin: 0;
    font-size: 14px;
    text-align: left;
    color: #fff;
}

.info-notification-close{
	background: none;
	border: none;
	padding: 0;
}

.info-notification-close img{
	object-fit: contain;
	width: 20px; height: 20px;
	filter: brightness(500%);
}

/*Cookie*/

#cookie-notification{
    display: none;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    gap: 15px 30px;
    bottom: 2%;
    left: 2%; right: 2%;
    width: 96%;
    padding: 20px;
    background:#fff;
    z-index: 1000;
    color: #000;
    border-radius: 10px;
}

 #cookie-notification.show{
    display: flex; 
}

.btn-cookie-all{
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-cookie-accept, .btn-agreement{
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    min-width: 100px;
}

.btn-cookie-accept{
	border: 1px solid transparent;
	background: var(--braun1);
	color: #fff;
}

.btn-agreement{
    border: 1px solid var(--braun1);
    color: var(--braun1);
}

#cookie-notification p{
    margin: 0;
    font-size: 13px;
    text-align: left;
}

#cookie-notification p a{
    color: var(--braun1);
}


@media only screen and (max-width: 1100px){

	header, .menucat{
		display: none;
	}

	main{
		padding-top: 30px;
	}

	section{
	 	width: 100%;
	}

	.dobavlentext{width:80%; left: 50%; top: 50%; margin-left: -40%;}

	.modalDialog > form{
		margin-top: 25%;
	}

	#info-notification{
		top: 65px;
	}

	#cookie-notification{
        flex-direction: column;
        align-items: flex-start;
    }

    #cookie-notification p{
        font-size: 12px;
    }

    .footer-top-section{
    	grid-template-columns: repeat(3, 31%);
    	align-items: flex-start;
    	gap: 30px 0;
    }

    .contact-top-section  .footer-block:nth-child(2){
    	grid-column: span 2;
    	flex-direction: row;
    	flex-wrap: wrap;
    	gap: 30px;
    }

    .footer-block h2{
    	width: 100%;
    }

    .footer-bottom-section > div{
    	justify-content: center;
    }

    .heading-screen{
    	margin-top: 70px;
    	height: 100px;
    }

    .section-content p{
    	font-size: 15px;
    }

    .main-catalog section{
    	grid-template-columns: 100%;
    }

    .gallery-img, .album-img{
    	height: 150px;
    }

    .contact-top-section{
    	grid-template-columns: 31% 31% 31%;
    }

    .contact-top-section .footer-block:nth-child(2){
    	grid-column: span 1;
    }

    .contact-top-section .footer-block:nth-child(4){
    	grid-column: span 3;
    }

}

@media only screen and (max-width: 999px){

	.korzina{
		display: none;
	}

	.album-all, .gallery-all{
		grid-template-columns: repeat(3, 31%);
	}

	.footer-obrsv-section{
		grid-template-columns: 100%;
	}

	p, ul, ol, li{
		font-size: 14px;
	}

	h1{font-size:28px;}
	h2{font-size:24px;}
	h3{font-size:20px; }
	h4{font-size:16px}

	.scrollup, .call, .scrollup img, .call img{
		width: 45px; height: 45px;
	}

}

@media only screen and (max-width: 699px){

	.gallery-section{
		padding: 40px;
	}

	.album-all, .gallery-all{
		grid-template-columns: repeat(2, 48%);
	}

	.contact-top-section{
		grid-template-columns:100%;
	}

	.contact-top-section  .footer-block:nth-child(4){
		grid-column: span 1;
	}

	.footer-top-section{
		grid-template-columns: repeat(2, 48%);
	}

	.footer-logo-all{
		min-width: 110px;
		width: 110px;
	}

	.footer-bottom-section > div{
		display: block;
		font-size: 12px;
	}

	.gallery-desc{
		font-size: 14px;
	}

}

@media only screen and (max-width: 499px){

	h1{font-size: 24px;}
	h2{font-size: 20px;}
	h3{font-size: 18px;}
	h4{font-size: 16px;}

	.scrollup, .call{
	    bottom:10px; right:10px;
	}

	.call{
		bottom:60px; 
	}

	.btn-cookie-all{
	   flex-wrap: wrap;
	}

	.gallery-img, .album-img{
		height: 120px;
	}

	.gallery-title h4{
		font-size: 20px;
	}

	.footer-logo-desc, .footer-cookie-section a{
		font-size: 12px;
	}

	.footer-block h2{
		font-size: 18px;
	}

	.gallery-section{
		padding: 20px;
	}

}

@media only screen and (max-width: 399px){


	.blog-img img{
		width: 100%; height: 100%;
	}

	.gallery-img, .album-img{
		height: 100px;
	}

	.footer-top-section{
		grid-template-columns: 100%;
	}

}

@media only screen and (max-width: 359px){


}