/*
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;}

/* Текст в шапке */
#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: #0c2957 !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; left: 20px; bottom: 20px; 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: #0c2957;}

/* Футер */
#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;}
}
@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;
}