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

@font-face {
    font-family: 'Classica One';
    src: url('/wp-content/themes/betheme-child/fonts/ClassicaOne.woff2') format('woff2'),
        url('/wp-content/themes/betheme-child/fonts/ClassicaOne.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

html body {
	font-size: 17px;
	line-height: 28px;
}
html a,
.column_column ul, .column_column ol, .the_content_wrapper:not(.is-elementor) ul, .the_content_wrapper:not(.is-elementor) ol,
.themecolor, .opening_hours .opening_hours_wrapper li span, .fancy_heading_icon .icon_top, .fancy_heading_arrows .icon-right-dir, .fancy_heading_arrows .icon-left-dir, .fancy_heading_line .title, .button-love a.mfn-love, .format-link .post-title .icon-link, .pager-single > span, .pager-single a:hover, .widget_meta ul, .widget_pages ul, .widget_rss ul, .widget_mfn_recent_comments ul li:after, .widget_archive ul, .widget_recent_comments ul li:after, .widget_nav_menu ul, .woocommerce ul.products li.product .price, .shop_slider .shop_slider_ul .item_wrapper .price, .woocommerce-page ul.products li.product .price, .widget_price_filter .price_label .from, .widget_price_filter .price_label .to, .woocommerce ul.product_list_widget li .quantity .amount, .woocommerce .product div.entry-summary .price, .woocommerce .product .woocommerce-variation-price .price, .woocommerce .star-rating span, #Error_404 .error_pic i, .style-simple #Filters .filters_wrapper ul li a:hover, .style-simple #Filters .filters_wrapper ul li.current-cat a, .style-simple .quick_fact .title, .mfn-cart-holder .mfn-ch-content .mfn-ch-product .woocommerce-Price-amount, .woocommerce .comment-form-rating p.stars a:before, .wishlist .wishlist-row .price, .search-results .search-item .post-product-price, .progress_icons.transparent .progress_icon.themebg {
	color: #2e3331;
}
html a:hover {
	color: black;
}
html .mfn-megamenu-menu li.current-menu-item > a {
	color: black;
}
html .image_frame span.onsale, 
html .woocommerce span.onsale, 
html .shop_slider .shop_slider_ul .item_wrapper span.onsale {
    background-color: #2e3331;
}

.mcb-section .mcb-wrap .mcb-item-pcgrcrn8b .mfn-icon-box .icon-wrapper .header-cart-count, .mcb-section .mcb-wrap .mcb-item-pcgrcrn8b .mfn-icon-box .icon-wrapper .header-wishlist-count
{
	background-color: #d7d7d7;
}

img.sl-pl-brand {
	/*filter: grayscale(1);*/
	max-width: 150px;
}

html .mfn-builder-content.mfn-megamenu-tmpl-builder.container {
    -webkit-box-shadow: 0px 5px 5px -5px rgba(34, 60, 80, 0.6);
	-moz-box-shadow: 0px 5px 5px -5px rgba(34, 60, 80, 0.6);
	box-shadow: 0px 5px 5px -5px rgba(34, 60, 80, 0.6);
}
html .mfn-megamenu-menu li > a {
    color: #2f3331;    
}
html .mfn-megamenu-menu a .menu-label {
	text-decoration: none;
}
html .mcb-section .mcb-wrap .mcb-item-8tbcc07xm .mfn-header-menu > li.mfn-menu-li:hover > a.mfn-menu-link {
    color: black;
    text-decoration: underline;
}
html .mfn-megamenu-menu li > a:before {
    content: "•";
    margin-right: 5px;
	font-weight: 300;
}
html .mfn-megamenu-menu li > a:hover span {
    text-decoration: underline;
}

.handwritten,
.handwritten h2 {
	font-family: "Classica One" !important;
    text-transform: none !important;
    font-weight: normal !important;
	line-height: 2em !important;
}

html section.mcb-section-hed9kn1z {
	box-shadow: none;
}
html #Subheader {
	background: white;
}
.oliorosti-button,
html button.single_add_to_cart_button.button.alt,
html a.button.product_type_simple,
html p.buy-on-lamoda a,
.wpcf7 input[type="submit"] {
    border: 1px dashed black;
    border-radius: 100px;
    display: inline-block;
    padding: 16px 32px !important;
    color: black;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 15px !important;
    font-weight: 300;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
	font-family: inherit;
    background: inherit;
	width: auto !important;
}
html a.button.product_type_simple:hover,
html button.single_add_to_cart_button.button.alt:hover,
.oliorosti-button:hover,
p.buy-on-lamoda a:hover,
.wpcf7 input[type="submit"]:hover {
    background: black !important;
    text-decoration: none;
    color: white;
}
p.buy-on-lamoda {
    margin-top: 40px;
}

html .woocommerce ul.products li.product.outofstock .product-loop-thumb .image_wrapper img {
	opacity: 1;	
}


html .if-modern-overlay .image_frame .image_wrapper .image_links {
	display: none;
}

/* HEADER */
html .mfn-header-menu {
	font-size: 15px;
	font-weight:300;
	letter-spacing: 1px;
	
}
html form.form-searchform *,
html .mfn-header-link, html .header-cart-total,
html .mfn-header-menu-burger {
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0;
}
html header a.button.button_theme.button_size_1 {
    font-size: 15px !important;
    font-weight: 300 !important;
    letter-spacing: 3px !important;
}
html header a.button.button_theme.button_size_1:hover {
	background: black !important;
	color:	white;
}
html a.mfn-menu-link:hover {
    color: black !important;
    text-decoration: underline !important;
}

/* * Скрываем стандартную плашку "Продано" для товаров,
 * которые отсутствуют на складе, но доступны на Lamoda.
*/
.woocommerce .is-on-lamoda span.soldout {
    display: none !important;
}

.mfn-product-gallery-grid .mfn-product-gg-img[data-index="0"] {
    grid-column: span 2;
}



html .mcb-section .mcb-wrap .mcb-item-rznrg1k .breadcrumbs li:hover a {
    color: inherit;
}
	
html .mcb-section .mcb-wrap .mcb-item-rznrg1k .breadcrumbs li:hover a:hover {
    color: #97D5EE;
}

/**
 * Скрытие последнего элемента хлебных крошек на странице товара с помощью CSS.
 */
.single-product .breadcrumbs li:last-child,
.single-product .breadcrumbs li:nth-last-child(2) > span.mfn-breadcrumbs-separator:last-child {
	display: none;
}


.remove-margin-bottom .mcb-column-inner {
    margin-bottom: 0;
}

html .mfn-footer-menu {
    font-weight: 300;
    letter-spacing: 0px;
}
html .mfn-footer-menu li a {    
    text-decoration: none;
	letter-spacing: 1px;
}
html .mfn-footer li a:not(.button,.icon_bar,.mfn-btn,.mfn-option-btn):hover,
html .mfn-footer-menu li a:hover {
	text-decoration: underline;
	color: black;
}

html .woocommerce #Content .mcb-section .mcb-wrap .quantity input.qty {
    background: #FFFFFF;
    border: none;
    box-shadow: none;
	font-family: 'Oswald';
    color: inherit;
}
.woocommerce-product-details__description.source-builder h2,
.woocommerce-product-details__description.source-builder h3{
    font-weight: 400;
    line-height: 2em;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mfn-sidemenu-tmpl .columns-1 ul.products li.product .mfn-li-product-row-image, 
.mfn-sidemenu-tmpl  ul.products.columns-1 li.product .mfn-li-product-row-image {
	width: 100%;
}
.mfn-sidemenu-tmpl .columns-1 ul.products li.product .mfn-li-product-row-image, .mfn-sidemenu-tmpl  ul.products.columns-1 li.product .mfn-li-product-row-image{
    width: 100%;
}

.mfn-sidemenu-tmpl .columns-1 ul.products li.product .desc, 
.mfn-sidemenu-tmpl  ul.products.columns-1 li.product .desc {
	width: 100%;
    padding: 0;
	margin-top: 20px;
	margin-bottom: 20px;
}

.mfn-sidemenu-tmpl .show-button {
	margin-top: 10px;
}    
.mfn-sidemenu-tmpl  ul.products.columns-1.grid.mfn-equal-heights.mfn-equal-height-el-price {
    list-style: none;
    margin-left: 0;
    text-align: center;
}
.mfn-sidemenu-tmpl ul.products.columns-1.grid.mfn-equal-heights.mfn-equal-height-el-price > li {
    margin-bottom: 40px;
}
.mfn-sidemenu-tmpl span.soldout {
    display: none;
}

/* смартфоны в вертикальном положении */
@media only screen and (max-width: 479px) {
    /* Используем класс .handwritten или уточняем селектор, чтобы не сломать другие H2 */
    h2.handwritten, 
    .handwritten h2 {
        font-size: 29px !important;  /* Увеличили для читаемости */  
		line-height: 1.4em !important;
    }
	body, .mfn-menu-item-megamenu {
		font-size: 16px !important;
        line-height: 26px !important;
	}
}



/* Правило для смартфонов (ширина экрана до 767px) */
@media only screen and (max-width: 767px) {
    .oliorosti-button,
    html button.single_add_to_cart_button.button.alt,
    html a.button.product_type_simple,
    html p.buy-on-lamoda a {
        letter-spacing: 3px !important;
    }

	/* === ПЕРЕВОРОТ КОЛОНОК НА МОБИЛЬНОМ (КАРТИНКА НАВЕРХ) === */
    /* Включаем Flexbox и делаем реверс колонки */
    .mobile-reverse-flex .mcb-wrap-inner {
        display: flex !important;
        flex-direction: column-reverse !important;
    }

    /* Добавляем отступ снизу для картинки, чтобы она не прилипала к тексту */
    .mobile-reverse-flex .column_image {
        margin-bottom: 30px !important;
        margin-top: 0 !important;
    }
    
    /* Убираем лишние отступы у текста, если они были */
    .mobile-reverse-flex .column_column {
        margin-bottom: 0 !important;
    }
}

@media only screen and (max-width: 959px) {

    /* 1. Глобальный сброс и выравнивание */
    .mfn-header-classic-mobile-menu,
    .mfn-header-classic-mobile-menu ul,
    .mfn-header-classic-mobile-menu li {
        text-align: left !important;
        width: 100% !important;
        margin: 0 !important;
    }

    /* 2. Настройка контейнера ссылки */
    .mfn-header-classic-mobile-menu a.mfn-menu-link {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important; /* Всё влево */
        width: 100% !important;
        padding-top: 15px !important;   
        padding-bottom: 15px !important;
        border-bottom: 1px solid #eaeaea !important;
        position: relative !important;
        text-decoration: none !important; /* Базовое отключение */
    }

    /* 3. ПРИНУДИТЕЛЬНОЕ ВЫРАВНИВАНИЕ ТЕКСТА */
    .mfn-header-classic-mobile-menu span.menu-label {
        text-align: left !important;
        flex-grow: 1;
        display: block !important;
        line-height: 1.2 !important;
    }

    /* 4. Настройка стрелок (аккуратные справа) */
    .mfn-header-classic-mobile-menu span.menu-sub,
    .mfn-header-classic-mobile-menu span.menu-subicon, 
    .mfn-header-classic-mobile-menu span.menu-sub-subicon {
        margin-left: auto !important;
        padding-left: 10px !important;
        width: auto !important;
        color: #000 !important; 
        font-size: 14px !important;
    }

    /* 5. УБИРАЕМ ПОДЧЕРКИВАНИЕ АКТИВНЫХ ПУНКТОВ (NEW!) */
    /* Это решит проблему с подчеркнутым словом "Ремни" */
    .mfn-header-classic-mobile-menu li.current-menu-item > a span.menu-label,
    .mfn-header-classic-mobile-menu li.current-menu-ancestor > a span.menu-label,
    .mfn-header-classic-mobile-menu li.current_page_item > a span.menu-label {
        text-decoration: none !important;
        border-bottom: none !important;
    }
    /* Если хочется выделить активный пункт жирным, а не чертой: */
    .mfn-header-classic-mobile-menu li.current-menu-item > a span.menu-label {
         font-weight: 900 !important; 
    }

    /* === УРОВНИ ВЛОЖЕННОСТИ === */

    /* УРОВЕНЬ 1: Главные */
    .mfn-header-classic-mobile-menu > div > ul > li > a.mfn-menu-link {
        background-color: #ffffff !important;
        padding-left: 20px !important;
    }
    .mfn-header-classic-mobile-menu > div > ul > li > a .menu-label {
        font-size: 18px !important;
        font-weight: 800 !important; 
        text-transform: uppercase !important; 
        color: #000 !important;
    }

    /* УРОВЕНЬ 2: Категории */
    .mfn-header-classic-mobile-menu .sub-menu > li > a.mfn-menu-link {
        background-color: #f4f4f4 !important; 
        padding-left: 30px !important; 
    }
    .mfn-header-classic-mobile-menu .sub-menu > li > a .menu-label {
        font-size: 16px !important;
        font-weight: 700 !important; 
        color: #222 !important;
        text-transform: none !important;
    }

    /* УРОВЕНЬ 3: Товары */
    .mfn-header-classic-mobile-menu .sub-menu .sub-menu > li > a.mfn-menu-link {
        background-color: #ffffff !important; 
        padding-left: 45px !important; 
        border-bottom: 1px solid #f9f9f9 !important; 
    }
    .mfn-header-classic-mobile-menu .sub-menu .sub-menu > li > a .menu-label {
        font-size: 15px !important;
        font-weight: 400 !important; 
        color: #555 !important; 
    }
    
    /* Скрываем лишние картинки */
    .mfn-header-classic-mobile-menu img { display: none !important; }

    /* === ЗАМЕНА СТРЕЛОК НА ГАЛОЧКИ === */
    .mfn-header-classic-mobile-menu .menu-sub i,
    .mfn-header-classic-mobile-menu .menu-subicon i, 
    .mfn-header-classic-mobile-menu .menu-sub-subicon i {
        display: none !important;
    }

    .mfn-header-classic-mobile-menu .menu-sub::after,
    .mfn-header-classic-mobile-menu .menu-subicon::after, 
    .mfn-header-classic-mobile-menu .menu-sub-subicon::after {
        content: ""; 
        display: inline-block;
        width: 8px;      
        height: 8px;
        border-right: 1.5px solid #333; 
        border-bottom: 1.5px solid #333; 
        transform: rotate(45deg); 
        margin-right: 20px; 
        margin-bottom: 3px; 
        transition: transform 0.3s ease; 
    }

    .mfn-header-classic-mobile-menu li.hover > a .menu-subicon::after,
    .mfn-header-classic-mobile-menu li.hover > a .menu-sub-subicon::after {
        transform: rotate(225deg) !important; 
        margin-bottom: -2px;
    }
    
    /* УБИРАЕМ ТЕНИ */
    .mfn-header-classic-mobile-menu ul,
    .mfn-header-classic-mobile-menu .sub-menu {
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
    }

    /* ДОБАВЛЯЕМ ВОЗДУХ МЕЖДУ РАЗДЕЛАМИ */
    .mfn-header-classic-mobile-menu > div > ul > li {
        margin-bottom: 20px !important; 
    }
    
    .mfn-header-classic-mobile-menu > div > ul > li > a.mfn-menu-link {
        border-bottom: none !important;
    }
	
	/* === УБИРАЕМ ПОДЧЕРКИВАНИЕ ПРИ КЛИКЕ/ФОКУСЕ === */
    
    .mfn-header-classic-mobile-menu a.mfn-menu-link,
    .mfn-header-classic-mobile-menu a.mfn-menu-link:hover,
    .mfn-header-classic-mobile-menu a.mfn-menu-link:focus,
    .mfn-header-classic-mobile-menu a.mfn-menu-link:active,
    .mfn-header-classic-mobile-menu li.mfn-li-hover > a.mfn-menu-link,
    .mfn-header-classic-mobile-menu li.hover > a.mfn-menu-link {
        text-decoration: none !important;
        outline: none !important; /* Убирает синюю рамку обводки на Android */
        box-shadow: none !important;
    }

    /* Для текста внутри ссылки тоже */
    .mfn-header-classic-mobile-menu a.mfn-menu-link span.menu-label {
        text-decoration: none !important;
        border-bottom: none !important;
    }
}