:root {
	--wd-text-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: var(--wd-text-font);
	--wd-widget-title-font: "Cabin", 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;
	--wd-header-el-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(244,165,28);
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(9,33,67);
	--btn-accented-bgcolor-hover: rgb(48,86,147);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(255,255,255);
	background-image: url(https://starceram.ru/wp-content/uploads/2021/09/retail-popup-bg.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(9,33,67);
	background-image: none;
}
html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
	font-size: 16px;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 35px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--btn-accented-box-shadow-active: none;
--btn-accented-bottom: 0px;
--wd-brd-radius: 0px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: #0a0a0a;
}

/* 1. Отключаем стандартную иконку и фоны Woodmart, так как у вашего SVG свой градиент */
.social-linkedin {
    --wd-social-icon: ""; 
    --wd-social-brand-color: transparent !important; 
}

/* 2. Убираем лишние рамки и заливки, если в настройках выбран стиль "кнопка" */
.wd-social-icons .social-linkedin {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.social-linkedin .wd-icon::before {
    content: "";
    display: block;
  width: 30px;
    font-size: 0;
    height: 30px; 
    background-image: url('/wp-content/uploads/2026/09/max.svg'); 
    
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}



.wd-single-title .product_title{margin-top:2rem}
.collection-products-grid-wrapper .product-element-top{position:relative} 
span.out-of-stock-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #bb0a0a;
    color: #fff;
    padding: 2px 8px;
    font-size: 10px;
    text-transform: uppercase;
    z-index: 10;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image {
    text-align:center;
    max-height: 55rem; 
}
.woocommerce-product-gallery .wd-carousel-item img{width:auto !important}

  .wd-product-thumb { 
        max-height: 40rem;
    }

.wd-product:not(.wd-hover-small) :is(.wd-product-img-link,.wd-product-img-hover) :is(picture,img) {
    max-height: 20rem;
    object-fit: contain; 
}

div.menu-header {
    --sub-menu-color: #333;
    --sub-menu-color-hover: var(--wd-primary-color);
    text-transform: uppercase;
    font-weight: 600; 
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
    color: var(--sub-menu-color);
    font-size: 14px;
    line-height: 1.3;
    text-decoration: none;
}

/* Стили для списков фильтрации в выпадающем Мега-меню */
.custom-mega-menu-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 2 !important;
}

/* Отступы и размер шрифта элементов списка */
.custom-mega-menu-item {
    margin-bottom: 4px;
    font-size: 13px;
}

/* Стилизация ссылок */
.custom-mega-menu-link {
    color: #666;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease; /* Плавный переход цвета */
}

/* Эффект наведения на пункт меню (цвет изменится на темный, под стиль темы) */
.custom-mega-menu-link:hover {
    color: #111;
}

/* Статичные свойства маленького цветного кружочка */
.custom-mega-menu-color {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    vertical-align: middle;
    box-shadow: inset 0 0 1px rgba(0,0,0,0.2);
}

/* Тонкая рамка вокруг белого кружочка, чтобы он не сливался с белым фоном меню */
.custom-mega-menu-color.has-white-border {
    border: 1px solid #ddd;
}

p.woocommerce-result-count {
    display: none;
}

/* Выравнивание флага и названия страны по центру строки */
.country-term-wrapper {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}

/* Настройки размера и отступов для иконки флага */
.country-flag-icon {
    width: 20px;
    height: auto;
    vertical-align: middle;
    display: inline-block;
}

.custom-loop-brand-flag {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.custom-brand-name{color: #888;}
.custom-loop-blocks{width: 100%;
    font-size: 13px;
    color: #333;}
.custom-loop-blocks b{color:#888;font-weight:normal;}
.custom-loop-sizes  {
   margin-top: 8px; display: flex; align-items: center; flex-wrap: wrap;gap: 0 5px;
}

.custom-loop-colors {
    flex-wrap: wrap;
    gap: 0 5px;
    margin: 0;
	 margin-top: 8px; 
    display: flex;
}
.loop-color-circle{display: inline-block; width: 14px; height: 14px; border-radius: 50%;box-shadow: inset 0 0 1px rgba(0,0,0,0.2);}

.catalog-view-switcher-wrapper{display: flex; justify-content: center; margin-bottom: 25px; width: 100%;}
.catalog-view-switcher{display: inline-flex; border: 1px solid #e0e0e0; border-radius: 4px; overflow: hidden; background: #fcfcfc;}
button.view-switch-btn{border: none;
				color: #111; 
                padding: 10px 24px; 
                font-size: 14px; 
                font-weight: 500; 
                cursor: pointer;
                outline: none;
                border-right: 1px solid #e0e0e0; 
}
button.view-switch-btn.active{background:#fff;box-shadow:inset 0 0 0 1px #111}


a.category-nav-link img.wd-nav-img {
    filter: invert(100%) brightness(200%);
}

.wd-logo img{padding-bottom:0px;}

price {
    color: rgb(0 0 0); 
}
form.cart {
   
    gap: 10px;
    justify-content: center;
    background: #f6f6f6;
    border-radius: 24px;
    padding: 2rem 10rem;
    margin-top: 3rem;
} 

#price_calculator { 
    margin-bottom: 0;
}

#price_calculator td { 
    padding: 7px 12px;
}
#price_calculator td label{ 
    color: #767676;
}

#price_calculator input { 
    border-radius: 0;
    border-width: 1px; 
    padding: 0 5px;
}

#price_calculator .amount { 
    font-size: 24px;
color: rgb(0 0 0);
}
.price,.price .amount,.wc-measurement-price-calculator-price{	color: rgb(0 0 0);}
div.quantity input[type=button] { 
    border: 1px solid var(--wd-form-brd-color); 
	border-radius: 0;
}

div.quantity input[type=number] {
    width: 5rem;
    border-radius: 0;
    border-width: 1px; 
}

.single_add_to_cart_button{width: 50%;
    border-radius: 0;background-color: rgb(9 33 67);}
.single_add_to_cart_button:hover{background-color:#305693}
.wpc-posts-found {
    display: none;
}

.whb-column>.info-box-wrapper {
    padding-inline: 5px !important;
}

.box-icon-align-top .box-icon-wrapper {
    margin-bottom: -10px !important;
}

.b-contact-info__phone {
    display: flex;
    flex-direction: column;
}

.b-contact-info__phone a {
    font-size: 16px;
    font-weight: bold;
}

span.b-contact-info__work_time {
    text-align: right;
    color: gray;
}

 .b-contact-info__address {
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

/* ==========================================================================
   ФИЛЬТРЫ И ХАРАКТЕРИСТИКИ КОЛЛЕКЦИИ  
   ========================================================================== */
.woocommerce-product-details__short-description {
    font-size: 16px;
}
/* Мета-характеристики в сайдбаре */
.collection-meta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    /* Включаем сетку */
    display: grid;
    grid-template-columns: 140px 1fr; /* Левая колонка 140px, правая занимает остаток */
    row-gap: 12px; /* Расстояние между строками */
    column-gap: 16px; /* Расстояние между колонками */
    font-size: 15px;
    line-height: 1.4;
}

.collection-meta-list li {
    display: contents; /* Заставляет span'ы напрямую подчиняться grid'у */
}

.meta-label {
    color: #888888;
}

.meta-value {
    color: #111111;
    font-weight: 500;
}

/* Контейнер построчных фильтров */
.collection-dynamic-filters {
    margin-bottom: 30px;
	 margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.collection-dynamic-filters .filter-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.collection-dynamic-filters .filter-label {
    font-weight: normal !important;
    color: #777;
    min-width: 95px;
    font-size: 14px;
}
.collection-dynamic-filters .filter-btn {
    background: none !important;
    border: 1px solid #e1e1e1 !important;
    padding: 6px 14px !important;
    font-size: 13px !important;
    font-weight: normal !important;
    color: #333 !important;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.2s ease;
	min-height: unset;
}
.collection-dynamic-filters .filter-btn:hover {
    border-color: #999 !important;
}
.collection-dynamic-filters .filter-btn.active-filter {
    background-color: var(--btn-accented-bgcolor) !important;
    border-color:var(--btn-accented-bgcolor) !important;
    color: #fff !important;
}


/* ==========================================================================
   ПРИНУДИТЕЛЬНАЯ СЕТКА ТОВАРОВ В РЯД (СОВМЕСТИМОСТЬ С WOODMART)
   ========================================================================== */

/* Заставляем контейнер выстроиться в флекс-ряд */
.collection-products-grid-wrapper .products {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-right: -10px !important;
    margin-left: -10px !important;
}

/* Задаем ширину колонок для разных экранов */
.collection-products-grid-wrapper .product-grid-item {
    flex: 0 0 25% !important;        /* 4 колонки на десктопе */
    max-width: 25% !important;
    padding: 10px !important;
    box-sizing: border-box !important;
}

@media (max-width: 1024px) {
    .collection-products-grid-wrapper .product-grid-item {
        flex: 0 0 33.333% !important;  /* 3 колонки на планшетах */
        max-width: 33.333% !important;
    }
}

@media (max-width: 767px) {
    .collection-products-grid-wrapper .product-grid-item {
        flex: 0 0 50% !important;      /* 2 колонки на мобильных */
        max-width: 50% !important;
    }
	
	body.single-product .elementor .e-flexbox-base,.collection-products-grid-wrapper .card-attributes-list li{flex-direction: column;}
 
	.collection-dynamic-filters .filter-label{width:100%}
	.collection-products-grid-wrapper .product-wrapper{padding:10px;}
	 
}


/* ==========================================================================
   КРАСИВАЯ КАРТОЧКА ПЛИТКИ И ЕЁ ХАРАКТЕРИСТИКИ
   ========================================================================== */

/* Основной контейнер карточки товара */
.collection-products-grid-wrapper .product-wrapper {
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    padding: 15px;
    background: #fff;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 0 10px rgba(0,0,0,0.03);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.collection-products-grid-wrapper .product-wrapper:hover {
    border-color: #b1b1b1;
    box-shadow: 0 0 15px rgba(0,0,0,0.08);
}

/* Верхняя часть карточки (Картинка, Заголовок) */
.collection-products-grid-wrapper .product-element-top {
    margin-bottom: 12px;
}
.collection-products-grid-wrapper .product-image-link {
    display: block;
    margin-bottom: 15px;
}
.collection-products-grid-wrapper .product-image-link img {
    max-height: 180px;
    object-fit: contain;
    margin: 0 auto;
}
.collection-products-grid-wrapper .wd-entities-title {
    font-size: 15px;
    font-weight: normal;
    margin: 0 0 15px 0;
    line-height: 1.4;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.collection-products-grid-wrapper .wd-entities-title a {
    color: #333 !important;
    text-decoration: none;
    transition: color 0.2s;
}
.collection-products-grid-wrapper .wd-entities-title a:hover {
    color: var(--wd-primary-color, #333) !important;
}

/* ХАРАКТЕРИСТИКИ ВНУТРИ КАРТОЧКИ (КАК У КОНКУРЕНТА) */
.collection-products-grid-wrapper .card-attributes-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 15px 0 !important;
    text-align: left !important;
    border-top: 1px dashed #e1e1e1;
    border-bottom: 1px dashed #e1e1e1;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
.collection-products-grid-wrapper .card-attributes-list li {
    font-size: 13px !important;
    line-height: 1.6 !important;
    margin-bottom: 4px !important;
    display: flex;
    color: #555;
}
.collection-products-grid-wrapper .card-attributes-list .attr-label {
    color: #888;
    margin-right: 6px;
    min-width: 95px; /* Фиксированная ширина названий для идеального выравнивания в столбик */
}
.collection-products-grid-wrapper .card-attributes-list .attr-val {
    color: #333;
}

/* Нижняя часть карточки (Цена, Кнопка купить) */
.collection-products-grid-wrapper .product-element-bottom {
    margin-top: auto;
}
.collection-products-grid-wrapper .price {
    font-size: 16px;
    font-weight: bold;
    color: var(--wd-primary-color, #333);
    margin-bottom: 12px;
}

/* Кнопка "Купить" (сброс стилей и наведение) */
.collection-products-grid-wrapper .add_to_cart_button {
    display: inline-block !important;
    background-color: var(--btn-accented-bgcolor) !important;
    color: #fff !important;
    padding: 8px 18px !important;
    border-radius: 3px !important;
    font-size: 13px !important;
    font-weight: normal !important;
    text-decoration: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    transition: background-color 0.2s ease !important;
	line-height:25px;
}
.collection-products-grid-wrapper .add_to_cart_button:hover {
    background-color: var(--btn-accented-bgcolor-hover) !important;
}

/* ==========================================================================
   АЛФАВИТНОЕ МЕГА-МЕНЮ БРЕНДОВ (БЕЗ ФЛАГОВ)
   ========================================================================== */

.brands-alphabet-menu {
    width: 100%;
    background: #fff;
    padding: 20px 25px;
    box-sizing: border-box;
    font-family: inherit;
}

/* 1. Верхняя панель букв */
.brands-alphabet-nav {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ebebeb;
    flex-wrap: wrap;
}

.brands-alphabet-nav .alphabet-letters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
}

.brands-alphabet-menu .alphabet-btn {
    background: none;
    border: none;
    padding: 3px 6px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.2s ease;
    line-height: 1;
}

.brands-alphabet-menu .alphabet-btn:hover {
    color: var(--wd-primary-color, #0073aa);
}

.brands-alphabet-menu .alphabet-btn.active {
    background-color: var(--wd-primary-color, #0073aa);
    color: #fff !important;
}

/* Кнопка "Показать все" */
.brands-alphabet-menu .btn-show-all {
    font-size: 13px;
    padding: 5px 12px;
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.brands-alphabet-menu .btn-show-all.active {
    background: var(--wd-primary-color, #0073aa);
    border-color: var(--wd-primary-color, #0073aa);
    color: #fff;
}

/* 2. Контейнер брендов (Десктоп) */
.brands-alphabet-content {
 display: flex;
    flex-wrap: wrap !important;
    align-content: flex-start !important;
    gap: 25px 20px !important;
    max-height: 480px !important;       /* Высота выпадающего окна */
    overflow-y: auto !important;        /* Включаем вертикальный скролл */
    overflow-x: hidden !important;      /* НАМЕРТВО УБИРАЕМ ГОРИЗОНТАЛЬНЫЙ СКРОЛЛ */
    width: 100% !important;
    box-sizing: border-box !important;
    padding-right: 12px !important;
}

/* Кастомный тонкий скроллбар */
.brands-alphabet-content::-webkit-scrollbar {
    width: 5px;
}
.brands-alphabet-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.brands-alphabet-content::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Группа одной буквы */
.brand-letter-group {
    flex: 0 0 calc(16.666% - 17px) !important; /* 6 колонок в ряд */
    min-width: 130px;
    box-sizing: border-box !important;
    margin-bottom: 10px !important;
}

/* Крупная серая буква во главе списка */
.brand-group-letter {
    font-size: 26px;
    font-weight: 300;
    color: #b0b0b0;
    margin-bottom: 10px;
    line-height: 1;
}

/* Список брендов под буквой */
.brand-group-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.brand-item {
    margin-bottom: 6px;
}

.brand-link {
    font-size: 13px;
    color: #333 !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
    display: inline-block;
    line-height: 1.4;
}

.brand-link:hover {
    color: var(--wd-primary-color, #0073aa) !important;
}@media (min-width: 1025px) {
	   .whb-top-bar-inner { 
        max-height: unset;
        padding: 30px 0;
    }

.wd-shop-tools { 
    width: 100%;
    justify-content: flex-end;
}

.mobile-only-item { display: none !important; }
}

@media (min-width: 768px) and (max-width: 1024px) {
	   .brands-alphabet-content {
        column-count: 3;
    }

.brand-letter-group {
        flex: 0 0 calc(33.333% - 14px) !important;
    }
}

@media (min-width: 577px) and (max-width: 767px) {
	form.cart { 
    padding: 2rem; 
}
}

@media (max-width: 576px) {
	

form.cart { 
    padding: 2rem; 
}

span.wpc-icon-html-wrapper {
    margin-right: 0;
}

span.wpc-filters-button-text {
    display: none;
}

 .brands-alphabet-menu {
        padding: 15px 10px;
    }

    .brands-alphabet-nav {
        flex-direction: column;
			flex-direction: column-reverse;
        align-items: flex-start;
        gap: 12px;
    }

    .brands-alphabet-nav .alphabet-letters-list {
        gap: 6px 10px;
			margin-left: -30px; 
        margin-right: -25px;
    }

    /* На мобильном контент колонок раскрывается вниз в 1 колонку */
    .brands-alphabet-content {
        column-count: 1;
        max-height: none;
        overflow-y: visible;
        display: none; /* Скрыт по умолчанию на мобилках! */
    }

    .brands-alphabet-content {
        display: none;
    }
    /* Раскрывается, когда нажата буква или "Показать все" */
    .brands-alphabet-content.is-opened {
        display: flex;
    }

    .brand-letter-group {
        margin-bottom: 20px;
        border-bottom: 1px dashed #eee;
        padding-bottom: 15px;
    }

.brands-alphabet-menu .btn-show-all {
    width: 100%;
}
}

