@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//rockside.ua/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.3.8") format("woff2");
	font-display:block;
}

:root {
	--wd-text-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Poppins", 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%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", 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(153,19,22);
	--wd-alternative-color: rgb(123,131,136);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(153,19,22);
	--btn-accented-bgcolor-hover: rgb(127,0,0);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(221,79,79);
	--notices-warning-color: #fff;
	--wd-link-color: rgb(51,51,51);
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left 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(238,240,242);
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--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-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 5px;
}

@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. SINGLE POST: УБИРАЕМ КАТЕГОРИЮ, АВТОРА И МЕТА
   ================================================================ */
.single-post .wd-post-cat,
.single-post .post-categories,
.single-post .meta-categories,
.single-post .meta-author,
.single-post .post-author,
.single-post .wd-post-author,
.single-post .post-meta,
.single-post .entry-meta,
.single-post .wd-post-reply,
.single-post a.wd-replies-count,
.single-post span.wd-replies-count {
    display: none !important;
}

/* ================================================================
   2. WOOCOMMERCE: ЦЕНЫ И КНОПКИ
   ================================================================ */
/* Цвет цены в каталоге и карточке товара */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price .amount,
.woocommerce ul.products li.product .price bdi,
.wd-products .price,
.wd-products .price .amount,
.wd-products .price bdi,
.single-product .summary .price,
.single-product .summary .price .amount,
.single-product .summary .price bdi,
.single-product .price,
.single-product .price .amount,
.single-product .price bdi,
.price ins,
.price ins .amount,
.price ins bdi {
    color: #3a3a3a !important;
}

/* Акционная цена (перечеркнутая) */
.price del,
.price del .amount,
.price del bdi {
    color: #777 !important;
}

/* Карусель товаров: кнопка "Додати у кошик" */
.wd-carousel .wd-add-btn-replace a.button,
.wd-carousel .wd-add-btn-replace a.add_to_cart_button,
.wd-carousel .wd-add-btn-replace a.button.loading,
.wd-carousel .wd-add-btn-replace a.button.added,
.wd-carousel .wd-add-btn-replace a.add_to_cart_button.loading,
.wd-carousel .wd-add-btn-replace a.add_to_cart_button.added {
    background-color: #8b0000 !important;
    border-color: #8b0000 !important;
    color: #fff !important;
}

.wd-carousel .wd-add-btn-replace a.button:hover,
.wd-carousel .wd-add-btn-replace a.add_to_cart_button:hover {
    background-color: #6f0000 !important;
    border-color: #6f0000 !important;
    color: #fff !important;
}

/* ================================================================
   3. ТАБЛИЦА ПАРКЛЕТОВ (Финальная версия)
   ================================================================ */
.parklet-table {
    width: 100%;
    font-size: 13px;
    line-height: 1.4;
    border-collapse: collapse;
    margin-top: 12px;
}
.parklet-table th {
    font-size: 12px;
    font-weight: 600;
    background: #f5f5f5;
    padding: 7px 9px;
    text-align: left;
}
.parklet-table td {
    padding: 7px 9px;
    vertical-align: top;
}
.parklet-table th,
.parklet-table td {
    border: 1px solid #e5e5e5;
}
.parklet-table tr:nth-child(even) {
    background: #fafafa;
}
/* Запрет переносов для числовых колонок */
.parklet-table th:nth-child(2), .parklet-table td:nth-child(2),
.parklet-table th:nth-child(3), .parklet-table td:nth-child(3),
.parklet-table th:nth-child(4), .parklet-table td:nth-child(4) {
    white-space: nowrap;
}
/* Мобилка: горизонтальный скролл */
@media (max-width: 767px) {
    .single-product .woocommerce-product-details__short-description table.parklet-table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
}

/* ================================================================
   4. ЛОГИКА СКРЫТИЯ/ПОКАЗА РЕГИОНАЛЬНЫХ КАТЕГОРИЙ (Киев/Львов)
   ================================================================ */
/* "Вся продукція" — стилизация меню */
.wd-dropdown-cats em.all-products,
.mobile-nav .wd-dropdown-cats em.all-products,
.wd-nav-mobile em.all-products {
    font-weight: 300 !important;
    font-style: italic !important;
    opacity: 0.8;
}

/* 4.1 Скрываем всё региональное по умолчанию (для Харькова) */
li.cat-item-316, 
li.menu-item-316,
.category-316,
.wd-nav-product-cat .cat-item-316,
li:has(a[href*="trotuarna-plytka-kyiv"]),
li:has(a[href*="pokrokova-plytka-lviv"]) {
    display: none !important;
}

/* 4.2 Показываем Киев, если есть класс .is-region-kyiv */
.is-region-kyiv li.cat-item-316, 
.is-region-kyiv li.menu-item-316,
.is-region-kyiv .category-316,
.is-region-kyiv .wd-nav-product-cat .cat-item-316 {
    display: inline-block !important; 
}
.is-region-kyiv li:has(a[href*="trotuarna-plytka-kyiv"]) {
    display: block !important;
}

/* 4.3 Показываем Львов, если есть класс .is-region-lviv */
.is-region-lviv li:has(a[href*="pokrokova-plytka-lviv"]) {
    display: block !important;
}

/* ================================================================
   5. ПЕРЕКЛЮЧАТЕЛЬ РЕГИОНОВ В ШАПКЕ
   ================================================================ */
.wd-header-region-select {
    position: relative;
    display: inline-flex !important;
    align-items: center !important;
    height: 100%;
    cursor: pointer;
    padding: 0 10px;
    margin: 0;
    vertical-align: middle;
    top: 5px; 
}
.wd-header-region-select .region-label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}
.wd-header-region-select img.region-icon {
    width: 16px !important;
    height: 16px !important;
    margin-right: 6px !important;
    display: block !important;
    transform: translateY(-3px) !important; 
}
.wd-header-region-select .current-region-name {
    font-family: var(--wd-header-el-font-family);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #830000;
    line-height: 1 !important;
    display: inline-block !important;
    transform: translateY(0px) !important; 
}
.wd-header-region-select .region-label:after, 
.wd-header-region-select .current-region-name:after, 
.wd-header-region-select .region-label:before { 
    display: none !important; 
    content: none !important; 
}

/* Выпадающее окно свитчера */
.wd-header-region-select .wd-dropdown {
    position: absolute;
    top: 100%;
    right: 0; 
    left: auto;
    transform: none;
    min-width: 150px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
    z-index: 500;
    margin-top: 5px;
}
.wd-header-region-select:hover .wd-dropdown {
    opacity: 1;
    visibility: visible;
}
.wd-header-region-select .wd-nav-dropdown {
    padding: 10px 0 !important; 
    list-style: none !important;
    margin: 0 !important;
    width: 100%;
}
.wd-header-region-select .wd-nav-dropdown li {
    width: 100%;
    display: block;
}
.wd-header-region-select .wd-nav-dropdown li a {
    padding: 12px 20px !important; 
    display: block !important;     
    width: 100% !important;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    text-align: left;              
    transition: background 0.2s, color 0.2s;
}
.wd-header-region-select .wd-nav-dropdown li a:hover {
    background-color: #f9f9f9 !important;
    color: #830000 !important;
}

/* ================================================================
   6. ТЕЛЕФОНЫ И TOP-BAR
   ================================================================ */
.header-phones,
.header-phones * {
    font-family: inherit; 
    font-size: 14px;       
    font-weight: 400;     
    letter-spacing: 0;
    color: #fcfcfc;        
}

/* Принудительно делаем текст и ссылки в топ-баре белыми для всех устройств */
.whb-top-bar, 
.whb-top-bar a[href^="tel:"], 
.whb-top-bar .city-label,
.whb-top-bar .phone-spacer {
    color: #ffffff !important;
}
.whb-top-bar a[href^="tel:"] {
    font-weight: 600;
    transition: color 0.2s;
}
.whb-top-bar a[href^="tel:"]:hover {
    color: #ffffff !important;
    opacity: 0.7;
}
.city-label {
    margin-right: 15px; 
    font-weight: 400;   
    opacity: 0.9;
}
.phone-spacer {
    display: inline-block;
    width: 25px; 
}

/* ================================================================
   7. СЕТКА: ПОДКАТЕГОРИИ (6 В РЯД) И ТОВАРЫ (С НОВОЙ СТРОКИ)
   ================================================================ */
   
/* Применяем сетку на 6 колонок ко всем спискам товаров внутри страниц категорий */
.tax-product_cat .products {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
}

/* ПОДКАТЕГОРИИ: 1 колонка (6 в ряд) */
.tax-product_cat .products > .product-category {
    grid-column: span 1 !important;
    width: 100% !important;
    max-width: none !important;
}

/* ТОВАРЫ: 2 колонки (3 в ряд) */
.tax-product_cat .products > .type-product {
    grid-column: span 2 !important;
    width: 100% !important;
    max-width: none !important;
}

/* ПЕРВЫЙ ТОВАР ПОСЛЕ КАТЕГОРИЙ: Начинаем строго с 1-й линии и занимаем 2 колонки */
.tax-product_cat .products > .product-category + .type-product {
    grid-column: 1 / span 2 !important;
}

/* Уменьшаем шрифты заголовков подкатегорий */
.tax-product_cat .products > .product-category .wd-entities-title,
.tax-product_cat .products > .product-category .woocommerce-loop-category__title {
    font-size: 13px !important;
    line-height: 1.2 !important;
    margin-top: 8px !important;
}

/* МОБИЛЬНАЯ ВЕРСИЯ */
@media (max-width: 768px) {
    .tax-product_cat .products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .tax-product_cat .products > .product-category,
    .tax-product_cat .products > .type-product {
        grid-column: span 1 !important;
    }
    /* Сбрасываем правило первого товара для мобильных, чтобы сетка не ломалась */
    .tax-product_cat .products > .product-category + .type-product {
        grid-column: 1 / span 1 !important; 
    }
}