/*
Theme Name: metall-krovati
Description: Тема для сайта metall-krovati.com
Author: webology.ru
Version: 1 (08.2024)
*/
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,700;1,700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body{font-family: "Roboto", sans-serif;font-size:16px;line-height:1.172;font-weight:300;color:#000}
p,li,a{font-size:20px;}
div:not(.term-description) h1{font-size: 30px;font-weight: 400;color:#000}
div:not(.term-description)h2{font-size: 64px;font-weight: 600;color:#505050}
div:not(.term-description)h3{font-size: 48px;font-weight: 600;color:#505050}
div:not(.term-description)h4{font-size: 40px;font-weight: 600;color:#505050}
div:not(.term-description) h1:after{content:'';display:block;width:131px;height:14px;background-color:#457C9D;margin-bottom: 3rem;margin-top: 2rem;}
a{color:#1F5DA0;text-decoration:none;line-height:1.172}
a:hover{color:#000}
.btn{font-size:22px;line-height:1.7;padding:0.45rem 1.3rem;border-radius:9px;color:#222222B2;background-color:#E7E7E7;border-color:#E7E7E7}
.btn:hover,.btn:focus-visible,.btn:active{color:#222222B2;border-color:#222222B2;background-color:#fff;}
.btn-primary{color:#fff;background-color:#457C9D;border-color:#457C9D} 
.btn-primary:hover,.btn-primary:focus-visible,.btn-primary:active{color:#fff;background-color:#457C9D;border-color:#457C9D;box-shadow:0 0 0.5rem #457C9D}
.btn-secondary{color:#fff;background-color:#E77777;border-color:#E77777}
.btn-secondary:hover,.btn-secondary:focus-visible,.btn-secondary:active{color:#fff;background-color:#E77777;border-color:#E77777;box-shadow:0 0 0.5rem #E77777}
.btn-lg{padding:1.5rem 3.8rem;}
.text-bg{padding:1rem 1.3rem;border-radius:9px;color:#000;background-color:#E7E7E7;border-color:#E7E7E7;font-weight:400;font-size:20px}
img{max-width:100%;height:auto}
iframe{max-width:100%}
p.danger{background:url('images/icon-danger.png') no-repeat 0 0;font-size:1.5rem;font-weight:400;position:relative;padding-left:5.5rem;padding-bottom:1rem;}
p.danger:after{content:'';display:block;width:274px;height:4px;background-color:#E77777;position:absolute;left:0;bottom:0;}
p.check{background:url('images/icon-check.png') no-repeat 0 3px;padding-left:2rem;}

.wpcf7-form h2{color:#457C9D;font-size:24px;font-weight:500;}
.wpcf7-spinner{position:absolute}
.form-control{padding: 1rem;}
::-webkit-input-placeholder {color:#9A9A9A;}
:-moz-placeholder {color:#9A9A9A;opacity:1;}
::-moz-placeholder {color:#9A9A9A;opacity:1;}
:-ms-input-placeholder {color:#9A9A9A;}
::-ms-input-placeholder {color:#9A9A9A;}
::placeholder {color:#9A9A9A;}

/*header*/
.header-title{font-family: "Lato", sans-serif;font-size:64px;font-weight:700;line-height:1.2;color:#E77777}
.header-links a{display:block;font-size:16px;font-weight:400;color:#595959}
.header-links a:hover{color:#6EA3C2}
.header-links a:first-child{font-weight:600}
.catalog-link{padding:0.8rem 2.4rem;font-size:22px;line-height:1.5;height:60px;}

/*поиск*/
.is-search-form.is-form-style label{background:url('images/icon-search.png') no-repeat 27px 50%}
.is-search-form.is-form-style input.is-search-input{font-size:22px !important;border-radius:9px;padding:0.8rem 2.4rem 0.8rem 4rem;font-size:22px;height:60px;background:none}

/*меню*/
#header .menu{padding:0;margin:0;list-style:none;display:flex;flex-direction:row;gap: 1rem 4rem;flex-wrap:wrap}
#header .menu .menu-item{}
#header .menu .menu-item a{color:#595959;font-size:22px;text-decoration:none;font-weight:400}
#header .menu .menu-item a:hover,header .menu .menu-item.current-menu-item:not(.menu-item-home) a{color:#6EA3C2}
#footer .menu{padding:0;margin:0;list-style:none;display:flex;flex-direction:row;gap:1rem 4rem;flex-wrap:wrap}
#footer .menu .menu-item{}
#footer .menu .menu-item a{color:#595959;font-size:22px;text-decoration:none;font-weight:400}
#footer .menu .menu-item a:hover,#footer .menu .menu-item.current-menu-item:not(.menu-item-home) a{color:#6EA3C2}

/*баннеры*/
.slick-slide{height:auto}
.slick-slide img{margin:0 auto}
.slick-prev,.slick-next{width:80px;height:80px;border-radius:50%;background-color:#fff;z-index:1}
.slick-prev:hover,.slick-next:hover,.slick-prev:focus,.slick-next:focus{background-color:#BDB9B9}
.slick-prev{left:1rem;}
.slick-next{right:1rem}
.slick-prev::before,.slick-next::before{content:url('images/icon-arrow.png')}
.slick-prev::before{transform: rotate(180deg);display: block;}

/*#footer*/
#footer,#footer p,#footer li{font-size:22px;line-height:1.172;font-weight:300}
#footer .formlink{font-size:24px;line-height:1.172;border-bottom:1px dashed #fff;text-decoration:none;color:#fff;padding: 0.25rem 0;margin: 1.4rem;display: inline-block;}
#footer .formlink:hover{border-bottom:1px solid}
.copyright{font-weight:100;font-size:16px}


.content{color:#262626;margin-bottom:5rem}
.content h3,.content h4{margin-top:3rem}
.content h2:after{content:'';display:block;width:131px;height:14px;background-color:#E77777;margin-bottom: 3rem;margin-top: 2rem;}
.content h4:after{content:'';display:block;width:131px;height:14px;background-color:#457C9D;margin-bottom: 3rem;margin-top: 2rem;}
.content ul,.content ol{}
.content li{color:#000;margin-bottom:1rem}

.choice-item{height:474px;border-radius:9px;background:no-repeat 50% 100%;background-size:cover;padding:1.5rem}
.choice-title{font-size: 26px;font-weight: 600;margin-bottom:1.25rem}
.choice-subtitle{font-size: 14px;font-weight: 600;color:#fff;display: inline-block;padding: 0.6rem;background-color:#E77777;border-radius:4px}

.dommebel-item{display:flex;align-items: flex-end;justify-content: center;height:648px;border-radius:9px;background:no-repeat 50% 100%;background-size:cover;padding:3rem;font-size: 48px;font-weight: 700;}
.dommebel-item span{}

#reviews-slider .slick-list{margin:0 -0.75rem}
.review-item{background-color:#F4F4F4;border-radius:5px;padding:2rem 1.5rem;margin:0 0.75rem}
.review-title{font-size: 20px;font-weight: 400;margin-bottom:0.5rem}
.review-content{font-size: 13px;font-weight: 300;}

.post-item{background-color:#F6F6F6;border-radius:5px;padding:2.5rem 1.5rem}
.post-item p{font-size: 24px;font-weight: 300;}
.post-item a{font-size: 24px;font-weight: 100;color:#000;border-bottom: 1px solid } 
.post-item a:hover{border-bottom: 1px solid transparent}
.post-item img{border-radius:5px;margin-bottom:1rem}

/*woo*/
.product-add-desc{font-weight:300}
.product-add-desc b{font-weight:500}
.product-add-desc a{color:#457C9D}
.woocommerce-variation-add-to-cart,.woocommerce-variation.single_variation{display:inline-block}
.woocommerce .quantity .qty{width:130px;text-align:center;border:1px solid #AFAFAF;border-radius:5px;padding:3px;font-size:20px;vertical-align:middle;}
.woocommerce .quantity .plus,.woocommerce .quantity .minus{border:1px solid #AFAFAF;border-radius:50%;background-color:#fff;width:27px;height:27px;font-size:32px;line-height:0;font-weight:300;padding:0;vertical-align:middle;}
.woocommerce div.product form.cart div.quantity{float:unset;margin: 0 0.5rem;display:inline-block;}
.woocommerce div.product form.cart .button{float:unset}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.disabled,.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled,:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt{background-color:#457C9D;font-size:20px;padding:0.8rem 4rem}
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt:hover{background-color:#457C9D}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price del {font-size:20px;font-weight:300;color:#555}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price ins,.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price {font-size:48px;font-weight:500;color:#555;text-decoration:none}
.truemisha-sale-badge,.woocommerce span.onsale{background:#E77777;color:#fff;border-radius:100px;padding: 0.2rem 2rem;display:inline-block}
.woocommerce-product-gallery .flex-viewport{border:1px solid #C5C5C5;border-radius:10px}
.woocommerce div.product .woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1){clear: none !important;}
.woocommerce div.product .woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(5n+1){clear: left;}
.woocommerce div.product div.images .flex-control-thumbs{margin:1rem -2px;}
.woocommerce div.product div.images .flex-control-thumbs li{width:20%;display:inline-block;padding:2px;float:unset}
.woocommerce div.product div.images .flex-control-thumbs li img{border-radius:5px;border:1px solid #fff;}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active, .woocommerce div.product div.images .flex-control-thumbs li img:hover {border:1px solid #C5C5C5;}
.woocommerce nav.woocommerce-pagination ul,.woocommerce nav.woocommerce-pagination ul li{border:none}
.woocommerce nav.woocommerce-pagination ul li a,.pagination a.page-numbers{background-color:#E6E6E6;color:#444444;border-radius:50%;width:47px;height:44px;font-size:1.5rem;line-height:0.85;margin:0.5rem}
.woocommerce nav.woocommerce-pagination ul li a:focus, .pagination a.page-numbers:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .pagination a.page-numbers:hover, .woocommerce nav.woocommerce-pagination ul li span.current,.pagination span.page-numbers{background-color:#457C9D;color:#fff;border-radius:50%;width:47px;height:44px;font-size:1.5rem;line-height:0.85;margin:0.5rem;}
.pagination .nav-links>*{padding: .5em;display: inline-block;}
.woocommerce-archive-add-description,.woocommerce-archive-add-description *{font-size:1.5rem}
.woocommerce-archive-features{font-size:1.25rem;font-weight:400;color:#000}
.woocommerce-pagination{margin-top:2rem;margin-bottom:3rem;}
.nav-links{margin:2rem auto 3rem;text-align:center}
.woocommerce .products .product{background-color:#F2F2F2;border-radius:15px;padding:8px;height:100%;display:flex;flex-direction:column;} 
.woocommerce .products img, .woocommerce-page .products img{margin-bottom:1rem;max-height:300px;width:max-content;margin-left:auto;margin-right:auto;}
.woocommerce .woocommerce-loop-product__title{font-size:14px;font-weight:400;margin-bottom:1rem;margin-top:auto;}
.woocommerce div.product .product_title{font-size:32px;margin-bottom:1rem;color:#000}
.woocommerce div.product .product_title:after{content:none}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt,.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover{background-color:#457C9D;font-size:20px;padding:0.8rem 4rem} 
.woocommerce .products .product .price{display:block}
.woocommerce .products .product .price del {font-size:14px;font-weight:200;color:#000}
.woocommerce .products .product .price ins,.woocommerce .products .product .price{font-size:20px;font-weight:600;color:#000;text-decoration:none}
.woocommerce .products .truemisha-sale-badge, .woocommerce .products .onsale{font-size:14px;padding:0.25rem 1.75rem;}
.woocommerce .products .onsale{min-height:0;line-height:2}
.woocommerce .products .product a.woocommerce-loop-product__link{display:flex;flex-grow:1;flex-direction:column;}
.woocommerce .products .product a.button{margin:1rem 0.5rem 1rem;display:block;text-align:center;color:#fff;background-color:#457C9D;border-color:#457C9D;padding:0.6rem;border-radius:9px;}
.woocommerce .products .product a.button:hover{color:#fff;background-color:#E77777;border-color:#E77777}
.related.products h2{margin-bottom:3rem}
.woocommerce .products .product.product-category{background-color:transparent;border:1px solid transparent;}
.woocommerce .products .product.product-category:hover{border:1px solid #4D4D4D80}
.product-category a{}
.product-category img{width:150px;height:150px}
.product-category .woocommerce-loop-category__title{font-size:19px;font-weight:400;text-align:center;color:#000}
.product-category:hover .woocommerce-loop-category__title{color:inherit}
.product-category .woocommerce-loop-category__title mark{display:none}
.pswp{height:100vh}
.wc-block-components-button.wp-element-button.wc-block-cart__submit-button,.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button{font-size:22px;line-height:1.7;padding:0.45rem 1.3rem;border-radius:9px;color:#fff;background-color:#457C9D;border-color:#457C9D}
.wc-block-components-button.wp-element-button.wc-block-cart__submit-button:hover,.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button:hover{color:#fff;background-color:#E77777;border-color:#E77777}
.woocommerce div.product div.images img{width:auto;margin: 0 auto;}
.woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering{float:none}

/*sidebar*/
.sidebar-title{font-size:32px;font-weight:500;color:#595959;margin-bottom:1rem}
.sidebar-subtitle{font-size:30px;font-weight:400;color:#fff;background-color:#E77777;border-radius:9px;padding:9px 11px;margin-left:-11px}
.sidebar-menu{padding-left:0;list-style:none}
.sidebar-menu .menu-item{padding-left:0;list-style:none;}
.sidebar-menu>.menu-item{border-bottom:1px solid #595959}
.sidebar-menu .menu-item a{display:block;color:#595959;padding:0.5rem 0;font-weight:400}
.sidebar-menu .menu-item a:hover,.sidebar-menu .menu-item.current-menu-item>a{font-weight:500}
.sidebar-menu>.menu-item>a{padding:1.5rem 0;font-size:1.5rem;}
.sidebar-menu .menu-item-has-children>a{width:calc(100% - 30px);display:inline-block}
.sidebar-menu a[data-bs-toggle=collapse]{width: 30px;height:30px;padding:0;position:relative;}
.sidebar-menu a[data-bs-toggle=collapse]:before,.sidebar-menu a[data-bs-toggle=collapse]:after{content:'|';position:absolute;font-size: 1rem;transition: 0.25s;}
.sidebar-menu a[data-bs-toggle=collapse][aria-expanded=false]:before{transform: rotate(-45deg);left:8px;}
.sidebar-menu a[data-bs-toggle=collapse][aria-expanded=true]:before{transform: rotate(45deg);left:9px;}
.sidebar-menu a[data-bs-toggle=collapse][aria-expanded=false]:after{transform: rotate(45deg);right:8px;}
.sidebar-menu a[data-bs-toggle=collapse][aria-expanded=true]:after{transform: rotate(-45deg);right:9px;}

.page-title{text-transform:uppercase}
.page-title:after{margin-bottom:3rem;margin-top:1rem;}
.term-description{margin-bottom:3rem}

/*breadcrumbs*/
#breadcrumbs a{font-size:1rem}

@media (max-width: 1399.98px) {
	.header-title {font-size: 2.4rem;}
}
@media (max-width: 1199.98px) {
	.header-title {font-size: 2.4rem;}
	.sidebar-menu>.menu-item a {font-size: 1rem;}
	.sidebar-menu>.menu-item>a {font-size: 1.1rem;}
}
@media (max-width: 991.98px) {
	.header-title {font-size: 1.8rem;}
}
@media (max-width: 575.98px) {
	body{font-size:12px;}
	p,li,a{font-size:12px;}
	.btn{font-size:12px}
	.content h2:after,.content h4:after{height:6px;margin-bottom:1.5rem;margin-top:0.5rem;}
	.header-title{font-size:15px}
	.content{margin-bottom:3rem}
	#header .menu{row-gap:0.5rem;column-gap:1rem;}
	#header .menu .menu-item a{font-size:13px}
	.is-search-form.is-form-style label{background-size:18px;background-position-x:14px;}
	.is-search-form.is-form-style input.is-search-input{font-size:15px !important;height:auto;padding:0.8rem 2.4rem;}
	.slick-prev,.slick-next{width:32px;height:32px;bottom:0;top:unset}
	.slick-prev{right:4rem;left:unset}
	.slick-next{right:1rem;}
	.slick-prev::before,.slick-next::before{content:url(images/icon-arrow-mini.png);}
	.product-category .woocommerce-loop-category__title{font-size:12px}
	.woocommerce .products .product{}
	.woocommerce .product-category img{width:auto;height:auto;margin-bottom:0}
	.woocommerce-archive-features{font-size:1rem;}
	.woocommerce span.onsale{left:0.5rem;top:0.5rem}
	.woocommerce .products .truemisha-sale-badge, .woocommerce .products .onsale{font-size:12px;padding:0.2rem;}
	.woocommerce div.product .product_title{font-size:1.5rem}
	.woocommerce .woocommerce-loop-product__title{margin-bottom:0.5rem}
	.woocommerce .products .product .price del{font-size:12px;}
	.woocommerce .products .product .price ins,.woocommerce .products .product .price{font-size:18px;}
	.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price del{font-size:1rem}
	.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price ins{font-size:2rem}
	.woocommerce .products .product a.button{margin:0.5rem}
	.woocommerce .quantity .qty{width:5rem}
	.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt{font-size:12px;padding:0.8rem 1.6rem;}
	.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover{font-size:12px;padding:0.8rem 1.6rem;}
	.choice-item{padding:0.75rem;height:280px}
	.choice-title{font-size:12px;margin-bottom:1rem}
	.choice-subtitle{font-size:12px;padding:0.2rem;}
	.dommebel-item{font-size:24px;padding:2rem;height:420px;}
	.review-title,.review-content{font-size:12px;}
	.post-item{padding:1rem 0.5rem;}
	.post-item p,.post-item a{font-size:12px;}
	#footer, #footer p, #footer li{font-size:12px;}
	#footer .formlink{font-size:12px;margin:0;}
	#footer .menu{gap: 0.5rem 1rem;}
	#footer .menu .menu-item a{font-size:12px;}
	.copyright{font-size:12px}
	#breadcrumbs a{font-size:12px}
	.term-description{margin-bottom:2rem;}
	
	div:not(.term-description) h1{font-size:1.5rem}
	div:not(.term-description) h1:after{height:6px;margin-bottom:1.5rem;margin-top:0.5rem;}
}
.mm-menu{width:80vw;}