/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/

/* ширина лого в шапке */
.mcb-section .mcb-wrap .mcb-item-4c7278dbb {
    width: 58px;
}

/* скрыть рейтинг в каталоге */
ul.products li.product .wc-rating-with-text {
display: none !important;
}

/*вся строка*/
h2.wb_cptb_title {
    width: 100%;
}

/* документация */
.wb_cptb_content a::before {
content: url('/wp-content/uploads/document-small.png');
padding-right: 10px;
}

.single-product .elementor-icon-box-icon {
  padding: 2px 7px 0 0;
}


.single-product .product_meta .sku_wrapper {
	display:none;
}

/* скрыть отзывы 
.fake-tabs > ul li[data-tab="reviews"] {
    display: none;
}*/

/* скрыть кол-во отзывов в товаре */
.woocommerce .product .entry-summary .woocommerce-product-rating .woocommerce-review-link {
    display: none !important;
}

/* скрыть кол-во отзывов в табе */
.fake-tabs > ul li[data-tab="reviews"] .number {
    display: none;
}

/* Скрываем текст и автора САМОГО ПЕРВОГО отзыва во вкладке */
.commentlist li:first-child .comment-text {
    display: none !important;
}
/* Убираем лишние отступы, чтобы пустой блок не занимал место */
.commentlist li:first-child {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

/* не отображать нет отзывов 
p.woocommerce-noreviews {
	    display: none;
}
*/



/* одиночные товары по центру категория 
.term-112 .woocommerce .products ul, .woocommerce ul.products {
    display: flex;
    justify-content: center;
	margin-top: 15px;
}
*/


/* скрыть количество в категориях */
.woocommerce-loop-category__title mark.count {
    display: none;
}

/* скрыть бренд */
.woocommerce .product .product_meta .posted_in {
	display:none;
}

/* фон списка портфолио */
.portfolio_group:not(.list) .portfolio-item .portfolio-item-fw-bg {
    background: #fff !important;
}

.home .clients_ul.clients_image_default .client_wrapper {
    background-color: #fff !important;
}

/* меню */

.mfn-header-menu .mfn-menu-li.current-menu-item > .mfn-menu-link {
    color: #7E2D00;
}

.mfn-header-menu .mfn-menu-li > .mfn-menu-link {
    color: #515151;
}

.mcb-section .mcb-wrap .title {
    color: #333333 !important;
}


.mfn-header-menu .mfn-menu-li.current-menu-item > .mfn-menu-link:hover {
    color: #9A3400;
}
.mcb-section .mcb-wrap .mfn-icon-box:hover .desc-wrapper {
    color: #9A3400 !important;
}

.elementor-page-1380 h2 {
	font-size: 32px;
    line-height: 32px;
}


/* ЗАКАЗ ЗВОНКА */
/* Цвет текста и границы при успешной отправке */
.wpcf7-response-output {
    border-radius: 5px;
    text-align: center;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
	border: 2px solid red !important;	
}
.wpcf7 form.sent .wpcf7-response-output {
    border: 2px solid #2e7d32 !important; /* Зеленая рамка */
    background-color: #e8f5e9 !important; /* Светло-зеленый фон */
}
/* скрыть спинер */
.wpcf7-spinner {
    display: none !important;
}


/* портфолио, оборудование*/
.single-portfolio .woocommerce.columns-1 ul.products li.product {
    background-color: #fff !important;
    padding: 10px 0 !important;
}
.single-portfolio .woocommerce.columns-1 ul.products li.product h4 {
    text-align: left;
}
.elementor-divider {
	color: #4c4d52;
}
.elementor-widget-divider:not(.elementor-widget-divider--view-line_text):not(.elementor-widget-divider--view-line_icon) .elementor-divider-separator {
	border-block-start: var(--divider-border-width) var(--divider-border-style) #8b8b8b;
}

/* цвет списка BeBuilder */
.column_column ul, .column_column ol, .the_content_wrapper:not(.is-elementor) ul, .the_content_wrapper:not(.is-elementor) ol {
    color: #333333 !important;
}




.contact-tiles-fixed {
    display: flex !important;
    width: 100% !important;
    margin: 10px 0 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
}

.tile-link-fixed {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 2px !important;
    text-decoration: none !important;
    border-right: 1px solid #e2e8f0 !important;
    transition: all 0.2s ease !important;
    min-width: 0 !important;
}

.tile-link-fixed:last-child {
    border-right: none !important;
}

/* Настройки иконок */
.t-svg {
    width: 20px !important;
    height: 20px !important;
    margin-bottom: 5px !important;
}

/* Настройки текста */
.t-txt {
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    white-space: nowrap !important;
}

/* Цвета для профессионального вида */
.t-phone { color: #2ecc71 !important; }
.t-wa { color: #25D366 !important; }
.t-call { color: #3498db !important; }

/* Эффект при наведении */
.tile-link-fixed:hover {
    background-color: #f8fafc !important;
    filter: brightness(0.98);
}

/* Исправление для мобильных версий */
@media (max-width: 480px) {
    .t-txt { font-size: 9px !important; }
    .t-svg { width: 18px !important; height: 18px !important; }
}



/* главная страница */
.home h4, .home h4 a, .home h4 a:hover {
    font-size: 18px;
    line-height: 24px;
}
.home .woocommerce ul.products:not(.list) li.product.has-background-color .desc {
    padding-left: 10px;
    padding-right: 10px;
}


/* слеш в крошках */
.icon-right-open:before {
    content: '/';
}
#Subheader ul.breadcrumbs li span {
    margin: 0 5px ;
	opacity: .8;
}

.mfn-header-menu {
	font-size: 18px;
 }


.home .elementor-widget-image-box .elementor-image-box-title a {
	font-size: 20px !important;
    line-height: 24px !important;
	font-weight: 700 !important;
}


.home #Content {
    padding-top: 0px !important;
}

/* УБРАТЬ ГЛАВНАЯ В КРОШКАХ */
.breadcrumbs li:first-child {
    display: none !important;
}
/* УБРАТЬ КРОШКИ С ВЫБРАНЫХ СТРАНИЦ */
.page-id-75 .breadcrumbs, .page-id-219 .breadcrumbs, .page-id-1380 .breadcrumbs, .page-id-1387 .breadcrumbs, .post-type-archive-product .breadcrumbs {
	display: none !important;
}


/* НАЗВАНИЕ ТОВАРА / КАТЕГОРИИ В КАТАЛОГЕ*/
h4.mfn-woo-product-title {
	font-size: 20px !important;
    line-height: 26px !important;
}
.woocommerce ul.products li.product .woocommerce-loop-category__title {
    font-size: 20px;
    line-height: 26px;
	font-weight: 500;
	letter-spacing: normal;
}

/* цвет полоски снизу главное меню */
.mfn-menu-animation-toggle-line-top > .mfn-menu-li > .mfn-menu-link:before, .mfn-menu-animation-toggle-line-bottom > .mfn-menu-li > .mfn-menu-link:before {
    background-color: #7E2D00 !important;
}

/* активная страница главное меню */
.mfn-menu-animation-toggle-line-top > .mfn-menu-li.current-menu-item > .mfn-menu-link:before, .mfn-menu-animation-toggle-line-bottom > .mfn-menu-li.current-menu-item > .mfn-menu-link:before {
    background-color: #9a3400 !important;
}

/* текст в counter по центру */
.elementor-widget-counter {
	text-align:center !important;
}

/* меню по левому краю*/
.mfn-footer-menu li {
    text-align: left;
}

.logo-desc {
	font-size: 14px;
}

/* цвет бургера */
.mcb-section .mcb-wrap .mcb-item-39acfa454 .icon-wrapper i {
    color: #380202;
}


/* цена на странице товара */
.zher-loop-price{border:1px solid #dcdcdc; border-radius:8px; padding:15px 16px; margin:0 0 24px; background-color: #ffffff;}
.zher-loop-price-title{font-size:22px;font-weight:800;line-height:1.2;color:#1a1a1a;margin:0}
.zher-loop-price-note{font-size:13px;font-weight:400;line-height:1.5;color:#4c4d52;margin:5px 0 0}


.woocommerce-product-rating {display: none !important;}

@media (max-width: 1110px) {
	#menu-glavnoe-menyu-2 {
		display: none;

	}
}

/*
@media screen and (min-width: 768px) and (max-width: 1200px) {
 не отображать текст описания лого 
.logo-desc {
    display: none;
}
}


@media screen and (min-width: 768px) and (max-width: 1110px) {
 section.mcb-section-6f9f49c46 {
    padding-right: 1%;
    padding-left: 1%;
}
.mfn-header-menu > .mfn-menu-li > .mfn-menu-link {
    padding: 6px 6px;
}

}

*/


/* заголовок таб товара */
h2.wb_cptb_title {
    font-size: 24px;
    text-align: center;
    margin-top: 14px;
}


.tab-docs .wb_cptb_content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tab-docs .wb_cptb_content ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fafafa;
}

.tab-docs .wb_cptb_content ul li::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 22px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 22'%3E%3Cpath d='M2 0h9l7 7v15H2V0z' fill='%23eee' stroke='%23ccc' stroke-width='1'/%3E%3Cpath d='M11 0l7 7h-7V0z' fill='%23ccc'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.tab-docs .wb_cptb_content ul a {
    font-size: 14px;
    color: #222;
    text-decoration: none;
}

.tab-docs .wb_cptb_content ul a:hover {
    color: #2a7ae2;
}

/* если один товар то по центру */
.products li.product:only-child {
    width: 300px !important;
    float: none !important;
    margin: 15px auto 0 auto !important;
}




/* кнопки в каталоге */
.woocommerce ul.products .zher-buttons {
    gap: 6px;
}





/* На совсем маленьких экранах убираем текст, оставляем только иконки */
@media (max-width: 350px) {
    .p-text { display: none; }
    .p-action { padding: 12px 0; }
}



@media (max-width: 600px) {
    .zher-buttons {
        flex-direction: column;
    }
}



/***********************************************************************************************************************************/
@media only screen and (max-width: 767px) {
	
/* НАЗВАНИЕ ТОВАРА / КАТЕГОРИИ В КАТАЛОГЕ*/
h4.mfn-woo-product-title {
	font-size: 16px !important;
    line-height: 18px !important;
}	

.woocommerce ul.products li.product .woocommerce-loop-category__title {
    font-size: 18px;
    line-height: 20px;
    font-weight: 600;
}

.woocommerce ul.products:not(.list) li.product.has-background-color .desc {
    padding-left: 6px;
    padding-right: 6px;
}	
	
	
.elementor-210 .elementor-element.elementor-element-e40d0cf > .elementor-element-populated {
    padding: 0px;
	}
	
	
	
.elementor-element-populated {
    padding: 8px 8px !important;
}
	

.content_wrapper .section_wrapper, .container, .four.columns .widget-area {
    padding-left: 10px !important;
    padding-right: 10px !important;
    }
	

  table th, table td {
	padding: 4px 2px !important;
    font-size: 14px;
}	
	
	.home .the_content_wrapper ul {
		    margin: 0 0;
	}

	/* показать крошки на мобильных */
	#Subheader ul.breadcrumbs {
      display: inherit !important;
	  font-size: 14px !important;
    }
	
	/* скрыть крошки в корне каталога */
	.post-type-archive-product #Subheader ul.breadcrumbs {
      display: none !important;
    }
	

}



/* Форма popup */
.wpcf7-form {
    padding: 10px 20px 20px;
}

/* Отступы между полями */
.wpcf7-form .wpcf7-form-control-wrap {
    margin-bottom: 12px;
}

/* Кнопка отправить */
.wpcf7-submit {
    display: block !important;
    width: 100% !important;
    margin-top: 15px;
}
/* Крестик закрытия */
.pum-close {
    font-size: 24px !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
}
.wpcf7-submit {
    width: 100% !important;
}
/* успешная отправка сообщения */
.wpcf7 form.sent .wpcf7-response-output {
    color: #006300;
}
.wpcf7 form.invalid .wpcf7-response-output {
    color: #e10000;
}
div#lbl {
	color: #1c1c1c;
    text-align: center;
	font-style: italic;
}
.zher-buttons button:hover, .zher-buttons button:hover input[type="button"]:hover, .zher-buttons button:hover input[type="reset"]:hover, .zher-buttons button:hover .button:hover, .zher-buttons button:hover .widget a.button:hover, .zher-buttons button:hover .wp-block-button__link:hover {
	color:#fff;
	}

/* кнопки в каталоге */
.woocommerce ul.products .zher-buttons {
    gap: 6px;
}
.woocommerce ul.products .zher-btn {
    padding: 10px 6px;
    font-size: 11px;
    letter-spacing: 0;
}


.zher-buttons {
    display: flex;
    gap: 12px;
    margin: 16px 0;
}
.zher-btn {
    flex: 1;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.zher-btn-consult {
    background: #1C4C8A;
    color: #ffffff;
}
.zher-btn-consult:hover {
    background: #163a6b;
    box-shadow: 0 6px 16px rgba(28,76,138,0.4);
    transform: translateY(-2px);
}
.zher-btn-price {
    background: #FF6B00;
    color: #ffffff;
}
.zher-btn-price:hover {
    background: #e05e00;
    box-shadow: 0 6px 16px rgba(255,107,0,0.4);
    transform: translateY(-2px);
}


/* правильное отображение товаров вставленных шортокодом */
.woocommerce ul.products {
    list-style: none;
    margin: 0;
    padding: 0;
    clear: both;
}
.woocommerce ul.products:after {
    content: "";
    display: block;
    clear: both;
}
.woocommerce ul.products li.product {
    float: left;
    position: relative;
    list-style: none;
}

/* отображение кнопок обратной связи макс 1240*/
.zher-buttons {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.zher-buttons ul.products .zher-buttons,
ul.products .zher-buttons {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

/* убрать кнопки обратной связи со страниц клиентов */
.single-portfolio ul.products .zher-buttons { display: none; }