@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//shtory.mediakit.by/wp-content/themes/woodmart/fonts/woodmart-font-2-400.woff2?v=7.5.0") format("woff2");
}

:root {
	--wd-cat-brd-radius: 50%;
	--wd-text-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(0,0,0);
	--wd-text-font-size: 16px;
	--wd-title-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 500;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 700;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 700;
	--wd-widget-title-transform: capitalize;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 14px;
	--wd-brd-radius: 16px;
	--wd-primary-color: rgb(66,133,244);
	--wd-alternative-color: rgb(47,114,222);
	--wd-link-color: rgb(0,0,0);
	--wd-link-color-hover: rgb(11,72,174);
	--btn-default-font-family: "Roboto", Arial, Helvetica, sans-serif;
	--btn-default-transform: none;
	--btn-default-bgcolor: rgb(66,133,244);
	--btn-default-bgcolor-hover: rgb(16,26,54);
	--btn-default-color: rgb(255,255,255);
	--btn-default-color-hover: rgb(255,255,255);
	--btn-accented-transform: none;
	--btn-accented-bgcolor: rgb(66,133,244);
	--btn-accented-bgcolor-hover: rgb(16,26,54);
	--btn-accented-color: rgb(255,255,255);
	--btn-accented-color-hover: rgb(255,255,255);
	--btn-font-family: "Roboto", Arial, Helvetica, sans-serif;
	--btn-transform: none;
	--btn-color: rgb(255,255,255);
	--btn-font-size: 16px;
	--btn-bgcolor: rgb(66,133,244);
	--btn-color-hover: rgb(255,255,255);
	--btn-bgcolor-hover: rgb(16,26,54);
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
:is(.shop-content-area.wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.shop-content-area.wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg .wd-product {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 223px;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(245,154,87);
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 480px;
}
.page-title-default {
	background-image: none;
	background-size: cover;
	background-position: center top;
}
.footer-container {
	background-color: rgb(11,72,174);
	background-image: none;
}
html .wd-nav-mobile > li > a {
	text-transform: capitalize;
}
.whb-top-bar .wd-nav.wd-nav-secondary > li > a {
	font-family: "Work Sans", Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-size: 13px;
	text-transform: inherit;
}
html .post.wd-post .post-title {
	font-size: 18px;
}
.page .main-page-wrapper {
	background-color: rgb(255,255,255);
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-shop:not(.single-product) .main-page-wrapper {
	background-color: rgb(255,255,255);
	background-image: none;
	background-repeat: repeat;
}
.woodmart-archive-blog .main-page-wrapper {
	background-color: rgb(255,255,255);
	background-image: none;
	background-repeat: repeat;
}
.single-post .main-page-wrapper {
	background-color: rgb(255,255,255);
	background-image: none;
	background-repeat: repeat;
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgba(0,0,0,0.6);
	--wd-form-placeholder-color: rgb(119,119,119)7;
	--wd-form-bg: rgb(255,255,255);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 20px;
}

@media (max-width: 1024px) {
	.woocommerce-product-gallery {
		--wd-gallery-gap: 20px;
	}

}

@media (max-width: 768.98px) {
	.woocommerce-product-gallery {
		--wd-gallery-gap: 10px;
	}

}
:root{
--wd-container-w: 1300px;
--wd-form-brd-radius: 35px;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
}

@media (min-width: 1300px) {
[data-vc-full-width]:not([data-vc-stretch-content]),
:is(.vc_section, .vc_row).wd-section-stretch {
padding-left: calc((100vw - 1300px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
padding-right: calc((100vw - 1300px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
}
}


.wd-custom-rounding {
	border-radius: 200px !important;
}

.info-box-title {
	margin-top: 3px !important;
}

.wd-entry-meta {
  display: none !important;
}

.btn {
	font-size: 16px;
	font-weight: 400;
}

.hovered-social-icons {
	display: none !important;
}

.wd-nav.wd-style-bg>li>a:before {
	background-color: #cec9ff;
	--nav-color-hover: #101A36 !important;
}

.wd-nav.wd-style-bg {
	--nav-color-hover: #101A36 !important;
	
}

.nav-link-text {
	font-size: 16px !important;
  font-weight: 400 !important;
}

.wd-nav-main>li>a, 
.wd-nav-secondary>li>a,
div.product-category .wd-entities-title, 
.wd-nav-product-cat>li>a, 
.nav-link-text {
	text-transform: none !important;
}


.hidden-fields-container {
display: none;
}

.btn.btn-style-bordered {
    border-width: 1px;
}

/* --- стили хлебных крошек --- */

/* 1. Скрываем заголовок H1 и настраиваем отступы */
.page-title .entry-title,
.page-title .title {
    display: none !important;
}

.page-title-default {
    padding: 30px 0 10px 0 !important;
    background-color: transparent !important;
    min-height: auto !important;
    text-align: left !important;
}

/* 2. ХИТРОСТЬ: Обнуляем шрифт контейнера, чтобы исчезла голая стрелка » */
.website-wrapper .breadcrumbs {
    font-size: 0 !important; /* Текст "»" станет невидимым */
    line-height: 0 !important;
}

/* 3. ВОЗВРАЩАЕМ шрифт ссылке (Главная) */
.website-wrapper .breadcrumbs a {
    font-size: 14px !important; /* Возвращаем нормальный размер */
    line-height: 1.4 !important;
    color: #4285F4 !important;
    text-transform: none !important;
    font-weight: 400 !important;
    display: inline-block; /* Важно для отступов */
}

/* 4. ВОЗВРАЩАЕМ шрифт текущей странице (Редкий диагноз) */
.website-wrapper .breadcrumbs .current,
.website-wrapper .breadcrumbs span.last {
    font-size: 14px !important; /* Возвращаем нормальный размер */
    line-height: 1.4 !important;
    color: #8E8E93 !important;
    text-transform: none !important;
    font-weight: 400 !important;
    display: inline-block;
}

/* 5. ДОБАВЛЯЕМ СЛЭШ (/) */
.website-wrapper .breadcrumbs a::after {
    content: "/" !important;
    font-size: 14px !important; /* Размер слэша */
    color: #8E8E93 !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
    display: inline-block;
}

/* --- Стили для формы .custom-subscribe-form --- */

/* 1. Базовые настройки */
.custom-subscribe-form .wpcf7-form {
    max-width: 100%;
}

/* 2. Поле электронной почты */
.custom-subscribe-form input[type="email"] {
    background-color: transparent !important;
    border: 1px solid #ffffff !important;
    border-radius: 4px !important;
    color: #ffffff !important;
    font-size: 16px !important; /* Размер шрифта 16px */
    padding-top: 12px;
    padding-bottom: 12px;
}

.custom-subscribe-form input[type="email"]::placeholder {
    color: #ffffff;
    opacity: 1;
    font-size: 16px; 
}

/* 3. Кнопка "Подписаться" */
.custom-subscribe-form input[type="submit"] {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 4px !important;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: none;
    font-weight: 600;
    font-size: 16px !important; /* Размер шрифта 16px */
}

.custom-subscribe-form input[type="submit"]:hover,
.custom-subscribe-form input[type="submit"]:active,
.custom-subscribe-form input[type="submit"]:focus {
    background-color: #2F72DE !important;
    color: #ffffff !important;
}

/* 4. Текст согласия */
.custom-subscribe-form .wpcf7-acceptance .wpcf7-list-item-label,
.custom-subscribe-form .wpcf7-acceptance a {
    color: #ffffff !important;
    font-size: 14px !important;
    line-height: 1.3;
}

.custom-subscribe-form .wpcf7-acceptance a {
    text-decoration: underline;
    opacity: 0.9;
}

.custom-subscribe-form .wpcf7-acceptance input[type="checkbox"] {
    margin-right: 8px;
    position: relative;
    top: 2px;
}

/* --- ЛОГИКА СЕТКИ (LAYOUT) --- */

/* MOBILE (по умолчанию) */
.custom-subscribe-form .wpcf7-form p {
    margin-bottom: 15px;
}

/* DESKTOP (только если экран шире 768px) */
@media (min-width: 768px) {
    .custom-subscribe-form .wpcf7-form {
        display: grid;
        /* Левая колонка (1fr) и правая под кнопку (180px) */
        grid-template-columns: 1fr 180px; 
        column-gap: 20px;
        row-gap: 10px;
        align-items: start;
    }

    /* !!! ВАЖНО: Скрываем теги <br> и пустые элементы, которые ломают сетку !!! */
    .custom-subscribe-form .wpcf7-form > br,
    .custom-subscribe-form .wpcf7-form > p:empty {
        display: none !important;
    }

    /* Игнорируем лишние обертки ссылок вокруг кнопок */
    .custom-subscribe-form .wpcf7-form > a {
        display: contents;
    }

    /* 1. Поле Email - СТРОГО 1-я колонка, 1-й ряд */
    .custom-subscribe-form .wpcf7-form p:has(input[type="email"]),
    /* Запасной вариант селектора, если браузер старый */
    .custom-subscribe-form .wpcf7-form > p:first-of-type {
        grid-column: 1 / 2 !important;
        grid-row: 1 / 2 !important;
        margin: 0;
        width: 100%;
    }

    /* 2. Кнопка - СТРОГО 2-я колонка, 1-й ряд */
    .custom-subscribe-form .wpcf7-form p:has(input[type="submit"]),
    .custom-subscribe-form .wpcf7-form > p:last-of-type,
    .custom-subscribe-form .wpcf7-form a p {
        grid-column: 2 / 3 !important;
        grid-row: 1 / 2 !important;
        margin: 0;
        width: 100%;
    }

    /* 3. Согласие - СТРОГО 1-я колонка, 2-й ряд */
    .custom-subscribe-form .wpcf7-form p:has(.wpcf7-acceptance),
    /* Запасной вариант: второй по счету параграф */
    .custom-subscribe-form .wpcf7-form > p:nth-of-type(2) {
        grid-column: 1 / 2 !important; /* Только в первой колонке */
        grid-row: 2 / 3 !important;    /* Во втором ряду */
        margin: 0;
        margin-top: 5px;
    }
    
    /* Выравнивание высоты полей */
    .custom-subscribe-form input[type="email"],
    .custom-subscribe-form input[type="submit"] {
        height: 50px;
        box-sizing: border-box;
    }
}

.my-inline-buttons .wd-button-wrapper {
    display: inline-block;
    margin-right: 15px; /* Расстояние между кнопками */
    margin-bottom: 10px; /* Отступ снизу на случай переноса строк */
    vertical-align: middle;
}

/* Убираем отступ у последней кнопки */
.my-inline-buttons .wd-button-wrapper:last-child {
    margin-right: 0;
}

.wd-info-box .info-box-icon img {
    border-radius: 15px;
}

/* Делаем колонку флекс-контейнером и центрируем содержимое */
.col-flex-center .vc_column-inner {
    display: flex !important;
    flex-direction: column;
    justify-content: center; /* Центр по вертикали */
    align-items: center; /* Центр по горизонтали */
}

/* ======================================================= */
/* === ПОЛНЫЙ КОД ДЛЯ НОВОСТЕЙ  === */
/* ======================================================= */

/* 1. Настройка карточки: скругление и база */
.custom-news-cards .blog-design-mask .article-inner {
    border-radius: 20px;
    overflow: hidden;
    position: relative; /* Чтобы элементы внутри позиционировались от краев */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    background-color: #152532; /* Цвет фона на случай, если картинка не загрузится */
}

/* 2. ВАШ НОВЫЙ ГРАДИЕНТ (ЗАТЕМНЕНИЕ) */
/* Создаем псевдо-элемент поверх картинки */
.custom-news-cards .blog-design-mask .article-inner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* ВАШИ ЦВЕТА ИЗ МАКЕТА: */
    /* 0.01% - Прозрачный синий (#183B56 с прозрачностью 0) */
    /* 45.38% - Полупрозрачный синий (#163146 с прозрачностью ~45%) */
    /* 100% - Сплошной темно-синий (#152532) */
    background: linear-gradient(180deg, 
        rgba(24, 59, 86, 0) 0.01%, 
        rgba(22, 49, 70, 0.65) 45.38%, 
        #152532 100%
    );
    
    z-index: 1; /* Лежит поверх картинки */
    pointer-events: none; /* Пропускает клики */
}

/* Скрываем стандартное затемнение темы, оно нам не нужно */
.custom-news-cards .blog-design-mask .post-image-mask {
    display: none !important;
}

/* 3. КОНТЕЙНЕР ТЕКСТА */
.custom-news-cards .blog-design-mask .article-body-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2; /* Текст лежит ПОВЕРХ вашего градиента */
    
    /* Фиксируем текст на месте (без анимации) */
    transform: translateY(0) !important;
    opacity: 1 !important;
    padding: 0 25px 30px 25px !important; /* Отступы: Слева/Справа/Снизу */
    box-sizing: border-box !important;
    text-align: left !important; /* Выравнивание влево */
}

/* 4. ЗАГОЛОВОК */
.custom-news-cards .blog-design-mask .post-title {
    margin-bottom: 12px;
    padding: 0;
}

.custom-news-cards .blog-design-mask .post-title a {
    color: #ffffff !important;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}

/* 5. ТЕКСТ АНОНСА (Описание) */
.custom-news-cards .blog-design-mask .entry-content {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-bottom: 0 !important;
    text-align: left !important;
    
    color: rgba(255, 255, 255, 0.85) !important; /* Белый с легкой прозрачностью */
    font-size: 14px;
    line-height: 1.5;
    
    /* Ограничиваем количество строк (до 5-6) */
    display: -webkit-box !important;
    -webkit-line-clamp: 6; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 6. ОФОРМЛЕНИЕ ДАТЫ (Зеленая плашка) */
.custom-news-cards .wd-post-date {
    background-color: #ffffff !important;
    color: #2F72DE !important;
    z-index: 3; /* Поверх всего */
    
    /* Размеры */
    width: auto !important;
    min-width: unset !important;
    height: auto !important;
    min-height: 30px !important;
    padding: 6px 14px !important;
    border-radius: 50px !important;
    
    /* Позиция */
    top: 20px !important;
    left: 20px !important;
    right: auto !important;
    
    /* Выравнивание в строку */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px; /* Отступ между числом и месяцем */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Стиль текста внутри даты */
.custom-news-cards .wd-post-date span {
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    color: inherit;
    text-transform: none !important;
}

/* УБИРАЕМ ТОЧКУ (Как просили) */
.custom-news-cards .post-date-day::after {
    content: none !important;
    display: none !important;
}

/* 7. Скрываем лишние элементы */
.custom-news-cards .read-more-section,
.custom-news-cards .meta-categories-wrapp, 
.custom-news-cards .post-meta {
    display: none !important;
}

/* Эффект увеличения картинки при наведении */
.custom-news-cards .blog-design-mask .article-inner:hover .post-img-wrapp img {
    transform: scale(1.1);
    transition: transform 0.6s ease;
}


.attachment-175x62 {
   border-radius: 0px !important;
}

.logo-footer {
   border-radius: 0px !important;
}

.wpcf7-submit {
	border-radius: 35px;
}


/* --- ОСНОВНЫЕ СТИЛИ (ДЕСКТОП) --- */

/* Контейнер футера */
.messengers-footer {
    width: 100%;
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 0;
    justify-content: space-between;
    background-color: rgb(11, 72, 174);
}

/* Сброс отступов колонок */
.messengers-footer .col-md-3,
.messengers-footer .col-md-4,
.messengers-footer .btn-viber, 
.messengers-footer .btn-telegram, 
.messengers-footer .btn-instagram, 
.messengers-footer .btn-tel,
.messengers-footer .mobile-meny {
    padding: 0 !important;
    width: 100%; 
    flex: 1; 
}

/* Ссылка-кнопка (Десктоп: иконка слева) */
.footer-bar-link {
    display: flex;
    flex-direction: row; /* В ряд: Иконка -> Текст */
    align-items: center;
    justify-content: center;
    background-color: rgb(11, 72, 174);
    color: white !important;
    text-decoration: none !important;
    height: 100%;
    min-height: 60px;
    padding: 0;
    transition: background-color 0.3s ease;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.messengers-footer > div:last-child .footer-bar-link {
    border-right: none;
}

.footer-bar-link:hover {
    background-color: rgb(66, 133, 244);
}

/* Иконка (Десктоп: отступ справа) */
.footer-bar-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-right: 10px; /* Отступ до текста */
    margin-bottom: 0;
}

/* Текст */
.footer-bar-text {
    margin: 0;
    padding: 0;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
}

/* Логика текста: По умолчанию показываем длинный */
.text-desktop { display: block; }
.text-mobile { display: none; }


/* --- МОБИЛЬНАЯ ВЕРСИЯ (< 768px) --- */
@media (max-width: 768px) {
    
    /* 1. Меням направление на вертикальное */
    .footer-bar-link {
        flex-direction: column; /* Иконка сверху, текст снизу */
        padding: 5px 0; /* Немного воздуха сверху и снизу */
    }

    /* 2. Настраиваем отступы иконки */
    .footer-bar-icon {
        margin-right: 0; /* Убираем отступ справа */
        margin-bottom: 4px; /* Добавляем отступ снизу до текста */
        width: 24px; /* Чуть меньше иконки */
        height: 24px;
    }

    /* 3. Уменьшаем шрифт */
    .footer-bar-text {
        font-size: 11px;
    }

    /* 4. Переключаем текст на короткий */
    .text-desktop { display: none; }
    .text-mobile { display: block; }
}

/* Поднимаем виджет GTranslate выше */
div.gt_switcher_wrapper {
    bottom: 90px !important;
}

/* Настройки только для мобильных экранов GTranslate (до 768px) */
@media (max-width: 768px) {
    
    div.gt_switcher_wrapper {
        bottom: 80px !important; 
        right: 15px !important;  
        width: auto !important;
    }

    select.gt_selector {
        width: 60px !important;      /* Компактная ширина */
        height: 35px !important;
        font-size: 13px !important;  /* Размер шрифта */
        font-weight: 600 !important; /* Сделаем чуть жирнее для читаемости */
        text-transform: uppercase;
        
        /* Отключаем автоматическое центрирование */
        text-align: left !important; 
        text-align-last: left !important;
        
        /* Вручную толкаем текст на середину */
        /* При ширине 60px, отступ 12px поставит текст RU визуально по центру */
        padding-left: 12px !important; 
        
        /* Убираем правый отступ, чтобы не мешал стрелке */
        padding-right: 0 !important; 
    }
}

/* Настройка таблицы только для блоков с классом mobile-table-fix */
@media (max-width: 768px) {
    
    /* 1. Делаем контейнер прокручиваемым */
    .mobile-table-fix .overflow-x-auto {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important; /* Включаем горизонтальный скролл */
        -webkit-overflow-scrolling: touch; /* Плавность прокрутки на iPhone */
        padding-bottom: 10px;
    }

    /* 2. Задаем таблице минимальную ширину */
    .mobile-table-fix table {
        min-width: 500px !important;
        width: 100% !important;
        table-layout: fixed !important;
    }

    /* 3. Внутри ячеек */
    .mobile-table-fix table th, 
    .mobile-table-fix table td {
        white-space: normal !important; /* Разрешаем перенос слов внутри ячейки */
        vertical-align: middle !important; /* Центрируем текст по вертикали */
        padding: 10px 5px !important;
        font-size: 16px !important;
    }
}@media (min-width: 1025px) {
	.mobvers {
	display: none !important;
}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.pkvers {
	display: none !important;
}
}

@media (min-width: 577px) and (max-width: 767px) {
	.pkvers {
	display: none !important;
}
}

@media (max-width: 576px) {
	.pkvers {
	display: none !important;
}
}

