@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//lentyribbony.ru/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=7.3.1") format("woff2");
}

.wd-popup.wd-promo-popup{
	background-color:#111111;
	background-image: url(https://lentyribbony.ru/wp-content/uploads/2021/07/promo-popup.jpg);
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center center;
}

.page-title-default{
	background-color:rgb(158,158,158);
	background-image: none;
	background-size:cover;
	background-position:center center;
}

.footer-container{
	background-color:#ffffff;
	background-image: none;
}

:root{
--wd-text-font:"Open Sans", Arial, Helvetica, sans-serif;
--wd-text-font-weight:400;
--wd-text-color:rgb(98,84,88);
--wd-text-font-size:14px;
}
:root{
--wd-title-font:"Open Sans", Arial, Helvetica, sans-serif;
--wd-title-font-weight:600;
--wd-title-color:#242424;
}
:root{
--wd-entities-title-font:"Open Sans", Arial, Helvetica, sans-serif;
--wd-entities-title-font-weight:500;
--wd-entities-title-color:#333333;
--wd-entities-title-color-hover:rgb(51 51 51 / 65%);
}
:root{
--wd-alternative-font:"Lato", Arial, Helvetica, sans-serif;
}
:root{
--wd-widget-title-font:"Open Sans", Arial, Helvetica, sans-serif;
--wd-widget-title-font-weight:600;
--wd-widget-title-transform:uppercase;
--wd-widget-title-color:#333;
--wd-widget-title-font-size:16px;
}
:root{
--wd-header-el-font:"Open Sans", Arial, Helvetica, sans-serif;
--wd-header-el-font-weight:700;
--wd-header-el-transform:uppercase;
--wd-header-el-font-size:13px;
}
html .product-image-summary-wrap .product_title, html .wd-single-title .product_title{
	font-weight: 600;
}

:root{
--wd-primary-color:rgb(144,62,82);
}
:root{
--wd-alternative-color:rgb(231,201,197);
}
:root{
--wd-link-color:rgb(50,41,43);
--wd-link-color-hover:rgb(144,62,82);
}
.page .main-page-wrapper{
	background-color:rgb(249,243,239);
	background-image: none;
}

:root{
--btn-default-bgcolor:#FFFDFB;
}
:root{
--btn-default-bgcolor-hover:rgb(240,222,218);
}
:root{
--btn-accented-bgcolor:#BC913F;
}
:root{
--btn-accented-bgcolor-hover:#9B742B;
}
:root{
--notices-success-bg:rgb(184,155,63);
}
:root{
--notices-success-color:#fff;
}
:root{
--notices-warning-bg:#E0B252;
}
:root{
--notices-warning-color:#fff;
}

	:root{
					
			
							--wd-form-brd-radius: 0px;
					
					--wd-form-brd-width: 2px;
		
					--btn-default-color: #333;
		
					--btn-default-color-hover: #333;
		
					--btn-accented-color: #fff;
		
					--btn-accented-color-hover: #fff;
		
					
			
							--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;
			
					
							
					--wd-brd-radius: 0px;
		
			}

	
	
			:root{
			--wd-container-w: 1222px;
		}
	
			@media (min-width: 1222px) {
			[data-vc-full-width]:not([data-vc-stretch-content]),
			:is(.vc_section, .vc_row).wd-section-stretch {
				padding-left: calc((100vw - 1222px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
				padding-right: calc((100vw - 1222px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
			}
		}
	
			div.wd-popup.popup-quick-view {
			max-width: 920px;
		}
	
	
	
	
			.woodmart-woocommerce-layered-nav .wd-scroll-content {
			max-height: 223px;
		}
	
	
@font-face {
	font-family: "Gawaa italic";
	src: url("//lentyribbony.ru/wp-content/uploads/2023/09/gawaa-italic.woff2") format("woff2"), 
url("//lentyribbony.ru/wp-content/uploads/2023/09/gawaa-italic.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "Gawaa regular";
	src: url("//lentyribbony.ru/wp-content/uploads/2023/09/gawaa-regular.woff2") format("woff2"), 
url("//lentyribbony.ru/wp-content/uploads/2023/09/gawaa-regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

/*
 * Ленты и Риббоны — WoodMart / WooCommerce, редизайн v3.
 * Составлено по HTML главной страницы (page-id-57) от 16.11.2026.
 * Полностью заменяет предыдущий Global custom CSS v2 (НЕ добавлять вторым экземпляром).
 * Перед установкой удалить старое голубое правило .whb-top-bar из
 * Внешний вид > Настроить > Дополнительные стили, иначе оно перекроет фон!
 * WPBakery: стили действуют на существующие строки по реальным классам.
 * Revolution Slider: изображения/цвет внутри JPEG этим CSS не изменяются.
 */

/* 1. Палитра */
:root {
  --lr-wine: #903e52;
  --lr-wine-dark: #742f43;
  --lr-blush: #e7c9c5;
  --lr-cream: #f9f3ef;
  --lr-card: #fffdfb;
  --lr-ink: #32292b;
  --lr-gold: #bc913f;
  --lr-border: #eadad5;
  --lr-shadow: 0 8px 28px rgba(91, 48, 56, .08);
  --wd-primary-color: #903e52;
}

/* 2. Сохраняем необходимые старые правила */
.product-labels { display: none; }
.mini-pay-logo img { max-width: 90px !important; height: auto !important; }
.mini-pay-logo .wd-info-box-icon,
.mini-pay-logo .info-box-icon { max-width: 90px !important; margin: 0 auto !important; }

/* Важно: не скрывать уведомления WooCommerce, Contact Form 7 и ошибки корзины. */

/* 3. Фоны и заголовки */
body .main-page-wrapper { background-color: var(--lr-cream); }
body .main-page-wrapper :is(h1, h2, h3, h4) { color: var(--lr-ink); }

/* 4. Header Builder: актуальная разметка .whb-top-bar и .whb-header-bottom */
.whb-top-bar {
  background-color: var(--lr-wine) !important;
  color: #fff !important;
}
.whb-top-bar :is(a, span, .wd-tools-text, .wd-tools-icon) { color: #fff !important; }
.whb-general-header { background-color: #fffaf7 !important; }
.whb-header-bottom {
  background-color: #fff7f3 !important;
  border-bottom: 1px solid var(--lr-border);
}
.whb-header .wd-search-form,
.whb-header .searchform { border-radius: 999px !important; }
.whb-header .wd-search-form input[type="text"],
.whb-header .searchform input[type="text"],
.whb-header .searchform input[type="search"] {
  border-radius: 999px !important;
  background-color: #fff !important;
}
.whb-header .wd-nav-main > li > a:hover,
.whb-header .wd-nav-main > li.current-menu-item > a,
.whb-header .wd-nav-main > li.current_page_item > a { color: var(--lr-wine) !important; }

/* Кнопка «Просмотр категорий». */
.whb-header-bottom .wd-header-cats .menu-opener {
  background-color: var(--lr-wine) !important;
  color: #fff !important;
  border-radius: 16px 16px 0 0 !important;
}

/* 5. Вертикальное меню: прозрачная подложка, карточка вокруг пунктов */
.main-page-wrapper .wd-dropdown-menu.wd-design-vertical,
.main-page-wrapper .vertical-navigation .navigation-wrapper {
  background-color: transparent !important;
  box-shadow: none !important;
}
.main-page-wrapper .vertical-navigation { background-color: transparent !important; }
.main-page-wrapper .vertical-navigation .wd-nav-vertical,
.whb-header .wd-dropdown-cats .wd-nav-vertical {
  background-color: var(--lr-card) !important;
  border: 1px solid var(--lr-border);
  border-radius: 0 0 18px 18px !important;
  box-shadow: var(--lr-shadow);
  overflow: hidden;
}
.wd-event-hover:hover>.wd-dropdown{
	border-radius: 0 0 18px 18px !important;
}
.wd-nav-vertical > li > a { transition: background-color .2s ease, color .2s ease; }
.wd-nav-vertical > li > a:hover {
  background-color: #f9efee;
  color: var(--lr-wine) !important;
}


/* 6. Заголовки обычных страниц и категорий */

/* Общая карточка заголовка */
body.page:not(.home) .page-title,
body.tax-product_cat .page-title {
    width: calc(100% - 32px);
    max-width: 1240px;
    height: auto !important;
    min-height: 100px;

    margin: 20px auto 24px !important;
    padding: 22px 20px !important;

    background: #fffaf7 !important;
    border: 1px solid #eadad5;
    border-radius: 20px !important;

    box-shadow: 0 8px 28px rgba(91,48,56,.06);
    box-sizing: border-box;
}

/* Типографика заголовка */
body.page:not(.home) .page-title h1,
body.tax-product_cat .page-title h1,
body.page:not(.home) .page-title .title,
body.tax-product_cat .page-title .title {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(24px, 2.5vw, 32px) !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    color: #903e52 !important;

    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
}

/* Хлебные крошки */
body.page:not(.home) .breadcrumbs,
body.tax-product_cat .breadcrumbs {
    font-size: 12px;
    color: #9b817e;
}

body.page:not(.home) .breadcrumbs a:hover,
body.tax-product_cat .breadcrumbs a:hover {
    color: #903e52 !important;
}

/* Мобильная версия */
@media (max-width: 767px) {
    body.page:not(.home) .page-title,
    body.tax-product_cat .page-title {
        width: calc(100% - 24px);
        min-height: 76px;
        margin: 12px auto 16px !important;
        padding: 16px 12px !important;
        border-radius: 16px !important;
    }

    body.page:not(.home) .page-title h1,
    body.tax-product_cat .page-title h1,
    body.page:not(.home) .page-title .title,
    body.tax-product_cat .page-title .title {
        font-size: 23px !important;
        line-height: 1.3 !important;
    }
}


/* 7. Формы и кнопки. Цвет Accent задаём в штатных настройках WoodMart! */
body .main-page-wrapper input[type="text"],
body .main-page-wrapper input[type="email"],
body .main-page-wrapper input[type="tel"],
body .main-page-wrapper input[type="search"],
body .main-page-wrapper select,
body .main-page-wrapper textarea { border-radius: 12px; }
body .main-page-wrapper :is(.btn, .button, button[type="submit"]) { border-radius: 999px; }
body .main-page-wrapper :is(.single_add_to_cart_button, .checkout-button),
body .main-page-wrapper .wd-add-btn > a { border-radius: 999px !important; }

/* 8. ГЛАВНАЯ: селекторы взяты из фактического HTML WPBakery.
   Соответствующие WPBakery-строки уже существуют; Extra class name не требуется.
 */
body.home .vc_row.vc_custom_1626791074420 {
  background-color: var(--lr-cream) !important;
  padding-top: 28px;
  padding-bottom: 30px;
  margin-bottom: 22px !important; /* Вместо 80px у старого WPBakery-стиля */
}
body.home .vc_row.vc_custom_1626855721512 {
  background: var(--lr-cream) !important;
  background-image: none !important; /* Убираем старое wood-o-background.svg */
  padding-top: 18px;
  padding-bottom: 35px !important;
  margin-bottom: 0 !important;
}
body.home .vc_row.vc_custom_1626791074420 .title-wrapper,
body.home .vc_row.vc_custom_1626855721512 .title-wrapper { text-align: center; }
body.home .vc_row.vc_custom_1626791074420 .woodmart-title-container,
body.home .vc_row.vc_custom_1626855721512 .woodmart-title-container {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2.1vw, 30px) !important;
  font-weight: 600;
  color: var(--lr-wine-dark) !important;
}

/* Категории: карточка находится внутри bootstrap-колонки .category-grid-item. */
body.home .vc_custom_1626791074420 .products.categories-style-default {
  justify-content: center;
}
body.home .vc_custom_1626791074420 .category-grid-item > .wrapp-category {
  background-color: var(--lr-card);
  border: 1px solid var(--lr-border);
  border-radius: 22px !important;
  overflow: hidden;
  box-shadow: var(--lr-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
body.home .vc_custom_1626791074420 .category-grid-item > .wrapp-category:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(91, 48, 56, .13);
}

/* Важно: текущий .wd-products-tabs пуст (в нём нет вкладок/товаров).
   Этот CSS не подменяет его содержимое; настройте элемент в WPBakery. */

/* 9. Каталог товаров: карточки и цены */
body .wd-products .wd-product,
body .products .product-grid-item {
  background-color: var(--lr-card);
  border: 1px solid var(--lr-border);
  border-radius: 20px;
  padding: 14px;
  transition: box-shadow .25s ease, transform .25s ease;
}
body .wd-products .wd-product:hover,
body .products .product-grid-item:hover {
  box-shadow: var(--lr-shadow);
  transform: translateY(-2px);
}
body .wd-products .product-image-link img,
body .products .product-image-link img { border-radius: 12px; }
body .wd-products :is(.price, .woocommerce-Price-amount),
body .products :is(.price, .woocommerce-Price-amount),
.single-product .summary .price { color: var(--lr-wine) !important; }

/* 10. Карточка товара */
.single-product .woocommerce-product-gallery img { border-radius: 18px; }
.single-product .summary .product_title { color: var(--lr-ink); }
.single-product .woocommerce-tabs .tabs li.active a { color: var(--lr-wine); }

/* 11. Мобильная адаптация (дополнительный CSS для мобильных в WoodMart сохраняем) */
@media (max-width: 1024px) {
  .whb-general-header { background-color: #fffaf7 !important; }
  .wd-bottom-actions {
    background-color: #fffaf7;
    border-top: 1px solid var(--lr-border);
  }
}
@media (max-width: 767px) {
  body.home .vc_row.vc_custom_1626791074420 {
    padding-top: 16px;
    padding-bottom: 18px;
    margin-bottom: 12px !important;
  }
  body.home .vc_row.vc_custom_1626855721512 { padding-bottom: 20px !important; }
  body.home .vc_custom_1626791074420 .category-grid-item > .wrapp-category {
    border-radius: 16px !important;
  }
  body .wd-products .wd-product,
  body .products .product-grid-item {
    border-radius: 16px;
    padding: 10px;
  }
  .page-title-default,
  .page-title.title-size-small { border-radius: 10px; }
}



/* ==========================================
   ПОПУЛЯРНЫЕ ТОВАРЫ — ЕДИНАЯ СЕТКА
   ========================================== */

/* Сетка из 4 товаров */
body.home .vc_custom_1626855721512
:is(.wd-products, ul.products) {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    align-items: stretch;
    max-width: 1240px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Одинаковые карточки */
body.home .vc_custom_1626855721512
:is(.wd-product, .product-grid-item, li.product) {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    height: 100%;
    margin: 0 !important;
    float: none !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    border-radius: 20px !important;
}

/* Единые пропорции фотографий */
body.home .vc_custom_1626855721512
.product-image-link img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 14px;
}

/* Название товара */
body.home .vc_custom_1626855721512
:is(.wd-entities-title, .woocommerce-loop-product__title) {
    font-size: 14px;
    line-height: 1.4;
    min-height: 2.8em;
    text-align: center;
}

/* Нижняя часть карточки */
body.home .vc_custom_1626855721512
.product-element-bottom {
    display: flex;
    flex: 1;
    flex-direction: column;
}

/* Цена ближе к нижней части */
body.home .vc_custom_1626855721512
.price {
    margin-top: auto !important;
    padding-top: 10px;
    font-weight: 600;
    text-align: center;
}

/* Планшеты */
@media (max-width: 1024px) {
    body.home .vc_custom_1626855721512
    :is(.wd-products, ul.products) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Телефоны */
@media (max-width: 767px) {
    body.home .vc_custom_1626855721512
    :is(.wd-products, ul.products) {
        gap: 12px !important;
    }

    body.home .vc_custom_1626855721512
    :is(.wd-product, .product-grid-item, li.product) {
        padding: 10px !important;
        border-radius: 16px !important;
    }

    body.home .vc_custom_1626855721512
    :is(.wd-entities-title, .woocommerce-loop-product__title) {
        font-size: 12px;
    }
}


/* ==========================================
   ПОПУЛЯРНЫЕ ТОВАРЫ — ИСПРАВЛЕНИЕ HOVER
   ========================================== */

/* Сохраняем скругления карточки */
body.home .vc_custom_1626855721512
.product-grid-item {
    border-radius: 20px !important;
}

/* Внутренняя обёртка WoodMart */
body.home .vc_custom_1626855721512
.product-grid-item .product-wrapper {
    border-radius: 20px !important;
    background-color: #fffdfb !important;
}

/* Убираем квадратную подложку при наведении */
body.home .vc_custom_1626855721512
.product-grid-item .content-product-imagin {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 20px !important;
}

/* Карточка больше не сдвигается вверх */
body.home .vc_custom_1626855721512
.product-grid-item:hover {
    transform: none !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 28px rgba(91,48,56,.12);
}

/* Мобильные скругления */
@media (max-width: 767px) {
    body.home .vc_custom_1626855721512
    .product-grid-item,
    body.home .vc_custom_1626855721512
    .product-grid-item .product-wrapper {
        border-radius: 16px !important;
    }
}



/* Два слайдера: компьютер и телефон */

/* На компьютере и планшете скрываем мобильный */
@media (min-width: 768px) {
    body.home .main-slider-mobile {
        display: none !important;
    }
}

/* На телефоне скрываем десктопный */
@media (max-width: 767px) {
    body.home .main-slider {
        display: none !important;
    }
}


/* Выравнивание стрелки в заголовках категорий */
body.tax-product_cat .wd-back-btn.wd-style-icon {
    translate: 0 5px;
}

.copyrights-wrapper{
	display: none!important;
}

.main-footer .wpb_content_element, .main-footer .footer-column{
	margin-bottom: 0;
}

.main-footer .footer-sidebar{
	padding-bottom: 0;
}

.footer-column > p{
	display: none!important;
}

/* Скрываем сообщение во всех категориях товаров */
body.tax-product_cat .woocommerce-no-products-found {
    display: none !important;
}@media (max-width: 576px) {
	.page-title.title-size-small, 
.page-title-default {  
	display: flex !important; 
	align-items: center !important; 
	justify-content: center !important; 
	height: auto !important;
	min-height: 55px !important;
}
.page-title h1,
.page-title .entry-title { 
	margin: 0 !important; 
	padding: 0 !important;
	line-height: 1.2 !important; 
}


@media (max-width: 767px) {
  body.home .lr-featured-categories .categories-grid,
  body.home .lr-featured-categories .products {
      grid-template-columns: 1fr !important;
  }
}
}

