/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

body,
html {
	scroll-behavior: smooth;
}

/* Outline фикс */
a:focus,
.oceanwp-mobile-menu-icon a:focus,
#mobile-dropdown ul li a:focus,
#mobile-dropdown ul li a .dropdown-toggle:focus,
#mobile-fullscreen ul li a:focus,
#mobile-fullscreen ul li .dropdown-toggle:focus,
#respond #wp-comment-cookies-consent:focus,
.sidr-class-dropdown-menu li a:focus,
.sidr-class-fs-dropdown-menu li a:focus,
.sidr-class-dropdown-toggle:focus,
.sidr-class-mobile-searchform button:focus,
#site-header.full_screen-header .menu-bar .ham:before,
#site-header.full_screen-header .menu-bar .ham:after,
#site-header.full_screen-header .fs-dropdown-menu li a:focus,
#site-header.full_screen-header .fs-dropdown-menu li>a .nav-arrow:focus,
#site-header.medium-header #medium-searchform button:focus,
#site-header.vertical-header #site-logo a:focus,
#site-header.vertical-header #site-navigation-wrap .dropdown-menu li>a:focus,
#site-header.vertical-header #site-navigation-wrap .dropdown-menu li>a .dropdown-toggle:focus,
#site-header.vertical-header #vertical-searchform form label:focus,
#site-header.vertical-header #vertical-searchform form button:focus,
.single-post:not(.elementor-page) .entry-content a:not(.wp-block-button__link):not(.wp-block-file__button):focus:not(.wp-block-button__link):not(.wp-block-file__button),
.page:not(.elementor-page):not(.woocommerce-page) .entry a:not(.wp-block-button__link):not(.wp-block-file__button):focus:not(.wp-block-button__link):not(.wp-block-file__button) {
	outline: none !important;
}

.text-nowrap {
	white-space: nowrap !important;
}

/* WooCommerce мини-корзина */
.widget_shopping_cart ul.cart_list li .owp-grid-wrap .owp-grid .h3 {
	font-size: 14px;
	font-weight: normal;
	margin: 0;
}

.widget_shopping_cart ul.cart_list li .owp-grid-wrap .owp-grid .h3>a {
	display: inline-block;
}

div.h2,
h2.wp-block-heading {
	color: #00173c;
	font-family: Jost;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 700;
}

/* Текст в шапке */
#site-header-inner {
	display: flex;
}

#site-navigation-wrap,
.oceanwp-mobile-menu-icon.mobile-right {
	margin-left: auto;
}

.after-header-content {
	max-width: 450px;
	line-height: 20px;
	float: left !important;
	padding: 0px 15px 0px 15px;
}

.after-header-content .after-header-content-inner {
	font-size: 14px;
	line-height: normal;
}

#menu-main-menu {
	display: flex;
}

#site-navigation-wrap .dropdown-menu>li>a {
	white-space: nowrap;
}

@media(max-width: 1120px) {
	.after-header-content {
		width: 190px !important;
	}
}

@media(max-width: 1040px) {
	.after-header-content {
		display: none !important;
	}
}

@media(max-width: 959px) {
	.after-header-content {
		display: block !important;
		width: 250px !important;
		padding: 0px 15px 0px 15px;
	}

	.after-header-content .after-header-content-inner {
		height: 60px !important;
	}

	body.default-breakpoint .oceanwp-mobile-menu-icon {
		display: flex;
	}

	body.default-breakpoint .oceanwp-mobile-menu-icon a.wcmenucart {
		white-space: nowrap;
	}
}

@media(max-width: 520px) {
	.after-header-content {
		display: none !important;
	}
}

/* Меню */
.dropdown-menu ul li a.menu-link {
	text-transform: none !important;
}

/* Мобильное меню */
#mobile-dropdown {
	background: #fff !important;
}

#mobile-dropdown ul li,
#mobile-dropdown ul li ul {
	border-color: #d9d9d980 !important;
}

/* /contacts/ */
.contact_form1_send {
	margin-top: 7px !important;
	background-color: #fd4b38 !important;
	height: auto !important;
	transition: all 100ms !important;
	width: 100% !important;
	box-sizing: border-box;
}

.contact_form1_send:hover,
.contact_form1_send:active {
	background-color: #09426a !important;
}

/* Запись в Блоге */
.single-post.content-max-width .thumbnail,
.single-post.content-max-width .wp-block-cover-text.alignwide,
.single-post.content-max-width .wp-block-image.alignwide,
.single-post.content-max-width .wp-block-gallery.alignwide,
.single-post.content-max-width .wp-block-text-columns.alignwide,
.single-post.content-max-width .entry-share,
.single-post.content-max-width nav.post-navigation,
.single-post.content-max-width #author-bio,
.single-post.content-max-width #related-posts {
	max-width: 1300px;
}

.theme-heading {
	font-size: 15px !important;
	line-height: normal !important;
}

.theme-heading.related-posts-title {
	font-size: 15px !important;
	line-height: normal !important;
}

.comment-reply-title {
	font-size: 28px !important;
	line-height: normal !important;
}

/* Комментарий */
#respond .comment-form-author,
#respond .comment-form-email,
#respond .comment-form-url {
	width: 50% !important;
}

#respond .comment-form-email {
	padding: 0px 0px 0px 10px !important;
}

/* Похожие товары */
.woocommerce .related.products h2 {
	font-size: 28px !important;
	line-height: normal !important;
}

/* Калькулятор */
#calc_thickness,
#calc_count,
#calc_height {
	width: 100%;
	box-sizing: border-box;
	padding: 20px 30px 20px 30px;
	height: auto;
	color: #00173c;
	background-color: #fcfcfc;
	border: 1px solid #777777;
	margin-bottom: 15px;
}

/* Подчеркнутая пунктиром ссылка */
.pod {
	text-decoration: underline;
	text-decoration-style: dashed;
	text-decoration-thickness: from-font;
}

/* Продукт */
form.cart .quantity .minus,
form.cart .quantity .plus,
.single_variation_wrap .quantity .minus,
.single_variation_wrap .quantity .plus {
	width: 48px;
	min-height: 48px;
	line-height: 46px;
}

form.cart .quantity .qty,
.single_variation_wrap .quantity .qty {
	width: 48px;
	min-height: 48px;
}

#review_form #respond p.comment-form-cookies-consent label {
	display: inline !important;
}

.woocommerce div.product .summary .added_to_cart {
	display: inline-block;
	margin: 10px 0px 10px 5px !important;
}

.woocommerce div.product .woocommerce-tabs .panel h2:first-child {
	font-size: 28px !important;
	line-height: normal !important;
	font-weight: bold !important;
}

.qty-pallet-label {
	margin-bottom: 10px;
	clear: both;
}

.single_variation {
	margin-bottom: 0px !important;
}

/* Оплата заказа и /checkout/ */
.woocommerce-checkout #payment ul.payment_methods {
	display: none !important;
}

/* Скрыты методы оплаты */
tr.cart-subtotal {
	display: none !important;
}

/* Скрыта Подытог перед расчетом доставки */
tr.woocommerce-shipping-totals.shipping {
	display: none !important;
}

/* Скрыта доставка */
.woocommerce #order_review table.shop_table tfoot th+td {
	background: #f7f7f7;
}

/* Цвет Итого в /checkout/ */
h2.woocommerce-order-details__title,
h2.woocommerce-column__title {
	font-size: 28px !important;
	line-height: normal !important;
	font-weight: bold !important;
}

.woocommerce td.product-name dl.variation dt {
	display: inline-block;
}

.woocommerce td.product-name dl.variation dd {
	display: inline-block;
}

.woocommerce td.product-name dl.variation dd p {
	margin: 0px 5px 5px 0px !important;
}

/* /checkout/order-received/ */
ul.order_details li strong {
	display: inline-block !important;
}

.woocommerce .order_details tr.order_item ul.wc-item-meta strong.wc-item-meta-label {
	display: inline-block;
	margin-right: 5px;
}

.woocommerce .order_details tr.order_item ul.wc-item-meta strong.wc-item-meta-label+p {
	display: inline-block;
}

li.woocommerce-order-overview__payment-method.method {
	display: none !important;
}

/* Скрыт Способ оплаты */
.woocommerce table.shop_table tfoot tr:nth-child(-n+2),
.woocommerce table.shop_table tfoot tr:nth-child(n+4) {
	display: none !important;
}

/* Скрыта Подытог, Доставка, Способ оплаты */
.woocommerce .shop_table.order_details tfoot th+td {
	background-color: #f7f7f7;
}

/* Мультикнопка (код в футере) */
#stick {
	display: block !important;
	right: 20px;
	bottom: 100px;
	position: fixed;
	width: 30px;
	height: 30px;
	z-index: 100;
	color: #fff;
	border-radius: 50%;
	background: #fd4b38;
	padding: 10px;
	box-sizing: content-box;
}

#stick svg {
	fill: #fff;
}

#stick:hover {
	background: #09426a;
}

/* Футер */
#footer-bottom-inner {
	border-top: none !important;
}

@media(max-width: 1024px) {

	.page-header .page-header-title,
	.page-header.background-image-page-header .page-header-title {
		font-size: 50px !important;
	}
}

@media(max-width: 767px) {

	.page-header .page-header-title,
	.page-header.background-image-page-header .page-header-title {
		font-size: 40px !important;
	}
}

@media(max-width: 960px) {
	#footer-widgets .footer-box.col-1:first-child:last-child {
		width: 100% !important;
	}
}

@media(max-width: 959px) {

	/* Лого на мобильном */
	#site-header #site-logo #site-logo-inner a img,
	#site-header.center-header #site-navigation-wrap .middle-site-logo a img {
		max-height: 40px !important;
		width: 240px !important;
	}
}

@media(max-width: 500px) {

	.page-header .page-header-title,
	.page-header.background-image-page-header .page-header-title {
		hyphens: auto;
	}
}

.logo_mebelsan {
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding-left: 15px;
}

.logo_mebelsan img {
	width: 190px;
}

@media(max-width: 1100px) {
	.logo_mebelsan {
		display: none;
	}
}

.main_white_txt,
.main_white_txt .elementor-heading-title,
.main_white_txt .elementor-icon-box-title {
	text-shadow: 0 0 10px #000, 0 0 5px #000, 0 0 3px #000 !important;
}

.calc_btn_pallet {
	padding: 5px 10px;
	box-shadow: 0 0 1px 1px #000;
	border-radius: 0.4em;
	transition: transform all 0.4s;
}

.calc_btn_pallet:hover {
	box-shadow: 0 0 1px 1px #000;
	background-color: #eee;
}

.elementor-element p,
.elementor-element ul li {
	font-size: 1.1em;
}

/* Стандартная вспомогательная таблица */
.tab_prod_header {
	font-size: 1.3em;
	font-weight: 900;
}

.tab_prod_container {
	display: flex;
	flex-wrap: wrap;
}

.tab_prod_container .tab_prod_info tr th {
	font-size: 0.9em;
	font-weight: 600;
	border-bottom: 1px solid #999;
}

@media(max-width: 500px) {
	.tab_prod_header {
		font-size: 1em;
	}

	.tab_prod_container .tab_prod_info tr th {
		font-size: 0.7em;
		line-height: 1.5;
	}

	.tab_prod_container .tab_prod_info tr td {
		font-size: 0.9em;
	}
}

/* /Стандартная вспомогательная таблица */

@media(max-width: 500px) {
	.woocommerce div.product .summary .product_title {
		font-size: 2em;
		line-height: 1.0;
	}

}

@media(max-width: 767px) {
	#footer-widgets .footer-widgets-inner .footer-box {
		width: 100% !important;
	}

	#footer-widgets .footer-widgets-inner .contacts {
		text-align: center;
	}

	#footer-widgets .footer-widgets-inner .contacts .footer_email {
		padding-right: 40px;
	}

}


.custom-logo {
	width: 240px !important;
	max-height: fit-content !important;
}

.banner_head_block {
	border-radius: 15px;
	background-color: #09426a !important;
}
.banner_btn_block {
	border-radius: 50px;
	background-color: #f05523 !important;
	transition: all 0.5s ease-in-out !important;
	cursor: pointer;
}
.banner_btn_block:hover {
	background-color: #ff3e00 !important;
	color: #eee !important;
}

.preim_txt .elementor-icon-box-title span {
	font-size: 0.8em;
}
.work_card .elementor-icon svg {
	width: 100px;
	height: 100px;
}

/* footer */
#footer-widgets { 
	background-color: #FFF !important;
}
.footer_block {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: start;
	flex-wrap: wrap;
	color: #000;
}
#footer-widgets .footer_block h4 { color: #f05523; }
#footer-widgets .footer_block a { color: #000; }
#footer-widgets .footer_block a:hover { color: #666; }
.footer_block .footer_column_1 { width: 24%; padding-right: 15px; }
.footer_block .footer_column_2 { width: 56%; padding-right: 15px; }
.footer_block .footer_column_3 { width: 20%; }

.footer_block .footer_column_1 .footer_logo {
	padding-bottom: 10px;
}

.footer_block .footer_column_2 { 
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: start;
	gap: 20px;
}

.footer_block .footer_column_3 .footer_right_soc,
.footer_block .footer_column_3 .footer_right_badges {
	display: flex;
	flex-direction: row;
	justify-content: start;
	align-items: center;
	gap: 15px;
	padding-bottom: 15px;
}
.footer_block .footer_column_3 .footer_right_soc a .fab {
	color: #f05523;
	font-size: 1.4em;
	transition: all 0.5s ease-in-out
}
.footer_block .footer_column_3 .footer_right_soc a:hover .fab {
	color: #09426a;
	transform: scale(1.2);
}

@media(max-width: 767px) {
	.footer_block {
		flex-direction: column;
		justify-content: start;
	}
	.footer_block .footer_column_1,
	.footer_block .footer_column_2,
	.footer_block .footer_column_3 { width: 100%; }
	.footer_block .footer_column_1 { padding-right: 0px; }
	.footer_block .footer_column_2 { padding-right: 0px; }
}

.copyrights {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}
/* /footer */

