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

.home #main .page-header {
    display: none !important;
}

#site-header #site-logo #site-logo-inner img.custom-logo,
#site-header.center-header #site-navigation-wrap .middle-site-logo img.custom-logo {
    max-height: none;
    max-width: 240px;
    width: 100%;
}

#main .page-header .page-header-title,
#main .page-header.background-image-page-header .page-header-title {
    font-size: clamp(32px, 5vw + 1.5rem, 70px) !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: #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;
}

.woocommerce ul.products li.product a.button {
    padding: 12px 16px;
}

.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: 80px;
    position: fixed;
    width: 30px;
    height: 30px;
    z-index: 100;
    color: #fff;
    border-radius: 50%;
    background: #f5985e;
    padding: 10px;
    box-sizing: content-box;
}

#stick:hover.omw-open-modal {
    background: #2345d5;
}

#stick svg {
    fill: #fff;
}

/* Футер #footer */
.contacts > .contacts-element a {
    display: inline-flex;
    align-items: center;
    padding-block: 7px;
}

.contacts > .contacts-element a > i.fa {
    font-size: 24px;
    margin-right: 15px;
}

#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 img,
    #site-header.center-header #site-navigation-wrap .middle-site-logo img {
        max-height: 26px !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;
    }
}

@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;
    }
}

#site-navigation-wrap .dropdown-menu > .current-menu-item > .replaced-menu-link {
    color: #fa3025;
}

#site-navigation-wrap .dropdown-menu > li > .replaced-menu-link {
    display: block;
    font-family: Jost;
    font-size: 16px;
    font-weight: 600;
    padding-inline: 15px;
    text-transform: uppercase;
    line-height: 111px;
    letter-spacing: 0.6px;
}

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

#site-navigation-wrap .dropdown-menu > li > .replaced-menu-link .nav-arrow {
    padding-left: 6px;
    line-height: 1;
}

.dropdown-menu ul li .menu-link {
    display: block;
    position: relative;
    float: none;
    font-weight: 400;
    padding: 12px 15px;
    font-family: Jost;
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: 0.6px;
    text-transform: none !important;
}

.dropdown-menu ul > .current-menu-item > .menu-link {
    background-color: #f3f3f3;
}

#mobile-dropdown ul li .replaced-menu-link {
    display: block;
    position: relative;
    padding: 12px 40px;
    text-align: left;
}

@media only screen and (max-width: 959px) {
    #mobile-dropdown ul li > .sub-menu {
        padding-left: 20px;
    }

    #mobile-dropdown ul li .replaced-menu-link {
        display: block;
        position: relative;
        padding: 12px 40px;
        text-align: left;
    }

    #mobile-dropdown ul li .replaced-menu-link:focus {
        outline: 1px dashed #e3e3e3;
    }

    #mobile-dropdown ul li .replaced-menu-link i,
    #mobile-dropdown ul li .replaced-menu-link img {
        margin-right: 10px;
    }

    #mobile-dropdown ul li .replaced-menu-link i.after {
        margin-right: 0;
        margin-left: 10px;
    }

    #mobile-dropdown ul li .replaced-menu-link .dropdown-toggle {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 60px;
        cursor: pointer;
        color: #555;
        padding-right: 40px;
        text-align: center;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        -ms-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }

    #mobile-dropdown ul li .replaced-menu-link .dropdown-toggle:focus {
        outline: 1px dashed rgba(0, 0, 0, 0.4);
    }

    #mobile-dropdown ul li .replaced-menu-link .dropdown-toggle:before {
        content: '+';
        font-size: 20px;
        position: absolute;
        top: 50%;
        left: 50%;
        line-height: 30px;
        margin-top: -15px;
        margin-left: -15px;
    }

    #mobile-dropdown ul li.active > .replaced-menu-link > .dropdown-toggle:before {
        content: '-';
    }
}

a.header-btn-callback {
    display: flex;
    padding: 10px 14px;
    border-radius: 4px;
    background: #f5985e;
    text-transform: uppercase;
    font-size: 14px;
    color: #fff;
    width: max-content;
    align-items: center;
    max-height: 42px;
    margin-block: auto;
}

a:hover.header-btn-callback {
    background-color: #2345d5;
    color: #fff;
}

.header-btn-callback-mob {
    display: none;
    width: 36px;
    height: 36px;
    justify-content: center;
    align-items: center;
    margin-block: auto;
    padding-left: 15px;
}

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

@media (max-width: 1060px) {
    a.header-btn-callback {
        display: none;
    }
    a.header-btn-callback-mob {
        display: block;
    }
}

/* форма, цвет кнопки */
button#wpforms-submit-1052 {
    background: #2345d5 !important;
}

button:hover#wpforms-submit-1052 {
    background: #f5985e !important;
}

.hidden-part-phone {
  display: none;
}
.visible-part-phone {
  display: inline;
}
.visible-part-phone:before {
  content: '...';
}
.show-full-phone-toggle {
  display: inline;
  cursor: pointer;
  opacity: 0.5;
}
.show-full-phone-toggle.is-hidden {
  display: none;
}
.hidden-part-phone.is-visible {
  display: inline;
}
.visible-part-phone.is-hidden:before {
  content: ''!important;
}