@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//vsestroymat.online/wp-content/themes/woodmart/fonts/woodmart-font-2-400.woff2?v=8.2.2") format("woff2");
	font-display:swap;
}

:root {
	--wd-cat-brd-radius: 50%;
	--wd-text-font: "Albert Sans", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 15px;
	--wd-title-font: "Urbanist", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Urbanist", 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: "Albert Sans", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Urbanist", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Urbanist", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 15px;
	--wd-brd-radius: 20px;
	--wd-primary-color: rgb(239,142,7);
	--wd-alternative-color: rgb(115,84,239);
	--wd-link-color: rgb(0,122,255);
	--wd-link-color-hover: rgb(0,63,255);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(247,149,12);
	--btn-accented-bgcolor-hover: rgb(226,94,0);
	--btn-transform: capitalize;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--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-popup-width: 800px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(3,23,38);
	--wd-bordered-bg:rgb(3,23,38);
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: rgb(43,38,37);
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(34,34,40);
	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: 15px;
	text-transform: none;
}
html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
	font-weight: 700;
	font-size: 30px;
	text-transform: capitalize;
}
html .wd-nav-mobile > li > a, html .wd-nav-mobile .wd-sub-menu li a {
	text-transform: none;
}
.page .wd-page-content {
	background-color: rgba(33,29,27,0.91);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: rgb(107,106,102);
	background-image: none;
}
.single-product .wd-page-content {
	background-color: rgb(99,99,99);
	background-image: none;
}
.woodmart-archive-blog .wd-page-content {
	background-color: rgb(0,8,48);
	background-image: none;
}
.single-post .wd-page-content {
	background-color: rgb(3,8,33);
	background-image: none;
}
.woodmart-archive-portfolio .wd-page-content {
	background-color: rgb(11,1,38);
	background-image: none;
}
.single-portfolio .wd-page-content {
	background-color: rgb(0,0,33);
	background-image: none;
}
html .wd-buy-now-btn {
	color: rgb(0,0,0);
	background: rgb(249,219,223);
}
html .wd-buy-now-btn:hover {
	color: rgb(225,74,92);
	background: rgb(237,208,211);
}
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: rgb(119,119,119);
	--wd-form-placeholder-color: rgb(119,119,119);
	--wd-form-bg: rgb(255,255,255);
}
.product-labels .product-label.onsale {
	background-color: rgb(249,0,0);
}
.product-labels .product-label.featured {
	background-color: rgb(225,74,92);
}
.product-labels .product-label.out-of-stock {
	background-color: rgb(13,6,37);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery.thumbs-position-left {
	--wd-thumbs-width: 150px;
}

@media (max-width: 1024px) {
	html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
		font-size: 24px;
	}

}

@media (max-width: 768.98px) {
	html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
		font-size: 22px;
	}

}
:root{
--wd-container-w: 1660px;
--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: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--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);
}

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


/* ФИНАЛЬНЫЙ CSS для WoodMart: узкий сайт, читаемый текст, тёмная палитра */
body {
  background-color: #222228 !important; /* Тёмный серо-синий фон */
  color: #d0d0d0 !important; /* Светло-серый текст */
  font-family: 'Roboto', Arial, sans-serif !important;
  font-size: 12px !important; /* Уменьшенный базовый текст */
  line-height: 1.4 !important;
}

/* Уменьшаем ширину всего сайта */
.website-wrapper,
.whb-wrap-all,
.main-page-wrapper {
  max-width: 1400px !important; /* Уже чем было */
  margin: 0 auto !important;
  background-color: #2a2a30 !important; /* Немного светлее body */
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8) !important;
}

/* Шапка */
.whb-header .whb-main-header {
  background-color: #2a2a30 !important;
  border-bottom: 2px solid #ff5722 !important; /* Тёмно-оранжевый акцент */
  padding: 12px 0 !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
}

/* Уменьшаем размеры текста в шапке */
.whb-header .whb-general-font {
  font-size: 11px !important;
  color: #b0b0b0 !important;
}

/* Основной контейнер */
.main-page-wrapper {
  padding: 15px !important;
  background-color: #2a2a30 !important;
}

/* Сетка товаров — компактнее */
.wd-products-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 18px !important;
  margin: 15px 0 !important;
  align-items: start !important;
}

/* Карточка товара — под новую палитру */
.product-grid-item {
  background-color: #333338 !important; /* Темнее контейнера */
  border: 1px solid #44444a !important;
  border-radius: 5px !important;
  padding: 12px !important;
  min-height: 360px !important;
  max-height: 380px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
}

.product-grid-item:hover {
  border-color: #ff5722 !important;
  box-shadow: 0 5px 15px rgba(255, 87, 34, 0.2) !important;
}

/* Изображение */
.product-grid-item .attachment-woocommerce_thumbnail {
  height: 150px !important;
  width: 100% !important;
  object-fit: contain !important;
  background-color: #3a3a4000 !important;
  border: 1px solid #3a3a4000 !important;
  border-radius: 3px !important;
  padding: 4px !important;
  margin-bottom: 8px !important;
  flex-shrink: 0 !important;
}

/* Заголовок — уменьшенный */
.product-grid-item .wd-entities-title {
  font-size: 13px !important; /* Меньше */
  color: #ffffff !important;
  font-weight: 500 !important; /* Легче */
  line-height: 1.3 !important;
  margin: 6px 0 !important;
  height: 34px !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  text-overflow: ellipsis !important;
  flex-shrink: 0 !important;
}

/* Цена — уменьшенная, под палитру */
.product-grid-item .price {
  color: #ff7043 !important; /* Мягкий оранжевый */
  font-size: 16px !important; /* Уменьшили */
  font-weight: bold !important;
  margin: 8px 0 !important;
  text-shadow: 0 1px 3px rgba(255, 112, 67, 0.4) !important;
  background-color: rgba(0, 0, 0, 0.2) !important;
  padding: 5px 8px !important;
  border-radius: 3px !important;
  display: inline-block !important;
}

/* Кнопка — под палитру */
.product-grid-item .wd-button,
.product-grid-item .button {
  background-color: #ff5722 !important; /* Тёмно-оранжевый */
  border: none !important;
  color: #fff !important;
  padding: 8px 12px !important; /* Компактнее */
  font-size: 11px !important; /* Меньше */
  font-weight: bold !important;
  text-transform: uppercase !important;
  border-radius: 3px !important;
  width: 100% !important;
  margin-top: 8px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 6px rgba(255, 87, 34, 0.4) !important;
  flex-shrink: 0 !important;
}

.product-grid-item .wd-button:hover {
  background-color: #ff8a65 !important; /* Светлее при наведении */
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(255, 87, 34, 0.6) !important;
}

/* Уменьшаем размеры тегов и мета-информации */
.product-grid-item .wd-product-cats,
.product-grid-item .wd-product-brands-links {
  font-size: 10px !important;
  color: #888 !important;
  margin-bottom: 5px !important;
}

/* Футер — под новую палитру */
.whb-footer {
  background-color: #2a2a30 !important;
  border-top: 2px solid #ff5722 !important;
  padding: 20px 0 !important;
  max-width: 1000px !important;
  margin: 20px auto 0 !important;
  color: #aaa !important;
  font-size: 11px !important; /* Меньше */
}

/* Уменьшаем заголовки на странице */
.entry-title,
.wd-page-title {
  font-size: 18px !important;
  color: #ffffff !important;
  margin-bottom: 15px !important;
}

/* Адаптив */
@media (max-width: 768px) {
  .website-wrapper {
    max-width: 95% !important;
  }
  
  .wd-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 15px !important;
  }
  
  .product-grid-item {
    min-height: 340px !important;
    max-height: 360px !important;
    padding: 10px !important;
  }
  
  .product-grid-item .attachment-woocommerce_thumbnail {
    height: 130px !important;
  }
  
  .product-grid-item .wd-entities-title {
    font-size: 12px !important;
  }
  
  .product-grid-item .price {
    font-size: 15px !important;
  }
}

@media (max-width: 480px) {
  .wd-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
  }
  
  .product-grid-item {
    min-height: 320px !important;
  }
  
  .product-grid-item .attachment-woocommerce_thumbnail {
    height: 110px !important;
  }
}

/* ВЫНОСИМ КНОПКУ КОРЗИНЫ ЗА ПРЕДЕЛЫ КАРТОЧКИ ТОВАРА */
@media (max-width: 768px) {
  /* Полностью переделываем структуру карточки */
  .product-grid-item {
    min-height: 300px !important; /* Уменьшаем высоту без кнопки */
    padding-bottom: 0 !important; /* Убираем отступ для кнопки */
    margin-bottom: 50px !important; /* Место для кнопки снизу */
    position: relative !important;
  }
  
  /* Кнопка ВНЕ карточки — абсолютное позиционирование под ней */
  .product-grid-item .wd-button,
  .product-grid-item .button,
  .product-grid-item .add_to_cart_button,
  .product-grid-item .wrap-price-add-to-cart,
  .product-grid-item .wd-add-btn,
  .product-grid-item .wd-product-add-btn,
  .product-grid-item .wd-product-footer,
  .product-grid-item .product-footer {
    position: absolute !important;
    top: 100% !important; /* Позиционируем ПОД карточкой */
    left: 10px !important;
    right: 10px !important;
    margin-top: 10px !important;
    z-index: 100 !important;
    background-color: #38383F !important;
    border: 1px solid #44444a !important;
    border-radius: 4px !important;
    padding: 10px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  }
  
  /* Сама кнопка внутри контейнера */
  .product-grid-item .wd-button,
  .product-grid-item .button,
  .product-grid-item .add_to_cart_button {
    width: 100% !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    font-size: 11px !important;
  }
  
  /* Убираем стандартные отступы у контейнеров кнопки */
  .product-grid-item .wrap-price-add-to-cart,
  .product-grid-item .wd-add-btn {
    padding: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
  }
  
  /* Убираем кнопку из обычного потока карточки */
  .product-grid-item > .wd-button,
  .product-grid-item > .button,
  .product-grid-item > .add_to_cart_button {
    display: none !important;
  }
  
  /* Корректируем высоту контента карточки */
  .product-grid-item .wd-entities-title,
  .product-grid-item .price,
  .product-grid-item .attachment-woocommerce_thumbnail {
    margin-bottom: 8px !important;
  }
  
  /* Изображение товара */
  .product-grid-item .attachment-woocommerce_thumbnail {
    height: 140px !important;
    margin-bottom: 10px !important;
  }
}

/* Для очень маленьких экранов (до 480px) */
@media (max-width: 480px) {
  .product-grid-item {
    min-height: 280px !important;
    margin-bottom: 45px !important;
  }
  
  .product-grid-item .wd-button,
  .product-grid-item .button,
  .product-grid-item .add_to_cart_button {
    padding: 6px 10px !important;
    font-size: 10px !important;
  }
  
  .product-grid-item .attachment-woocommerce_thumbnail {
    height: 120px !important;
  }
  
  /* Контейнер кнопки */
  .product-grid-item .wd-product-footer,
  .product-grid-item .product-footer {
    left: 8px !important;
    right: 8px !important;
    padding: 8px !important;
  }
}

/* АЛЬТЕРНАТИВНЫЙ ВАРИАНТ: кнопка в отдельном блоке после карточки */
@media (max-width: 768px) {
  /* Создаём отдельный блок для кнопки после карточки */
  .product-grid-item::after {
    content: '' !important;
    display: block !important;
    height: 50px !important;
    width: 100% !important;
  }
  
  /* Перемещаем кнопку в этот блок */
  .product-grid-item .wd-button,
  .product-grid-item .button,
  .product-grid-item .add_to_cart_button {
    position: absolute !important;
    bottom: -40px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 20px) !important;
    max-width: 300px !important;
    z-index: 100 !important;
  }
}

/* ЕЩЁ ОДИН ВАРИАНТ: кнопка как отдельный элемент сетки */
@media (max-width: 768px) {
  .wd-products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px 15px !important;
  }
  
  /* Каждая карточка + кнопка как отдельный блок */
  .product-grid-item {
    grid-row: span 1 !important;
  }
  
  /* Создаём отдельный элемент для кнопки */
  .product-grid-item + .product-grid-item-button {
    display: none !important;
  }
  
  /* Переносим кнопку в отдельный элемент */
  .product-grid-item .wd-button,
  .product-grid-item .button {
    position: static !important;
    margin-top: 15px !important;
    width: 100% !important;
  }
}

/* ФИНАЛЬНЫЙ ФИКС: если ничего не помогает, просто скрываем стандартную кнопку и создаём новую */
@media (max-width: 768px) {
  /* Скрываем оригинальную кнопку */
  .product-grid-item .wd-button,
  .product-grid-item .button,
  .product-grid-item .add_to_cart_button {
    display: none !important;
  }
  
  /* Создаём новую кнопку ВНЕ карточки через JS */
  .product-grid-item {
    position: relative !important;
  }
  
  .product-grid-item::after {
    content: 'В корзину' !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    bottom: -45px !important;
    left: 10px !important;
    right: 10px !important;
    height: 40px !important;
    background-color: #ff5722 !important;
    color: white !important;
    font-size: 11px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    z-index: 100 !important;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3) !important;
    transition: all 0.3s ease !important;
  }
  
  .product-grid-item::after:hover {
    background-color: #ff8a65 !important;
    transform: translateY(-2px) !important;
  }
}
