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

:root {
	--wd-text-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--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(113,148,48);
	--wd-alternative-color: rgb(212,107,42);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(113,148,48);
	--btn-accented-bgcolor-hover: rgb(113,148,48);
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(113,148,48);
	--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: #111111;
	background-image: url(https://pangardin.com.ua/wp-content/uploads/2021/07/promo-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--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(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
: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(10,10,10);
	background-image: none;
}
.page .wd-page-content {
	background-color: rgb(248,248,248);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: rgb(248,248,248);
	background-image: none;
}
.product-labels .product-label.onsale {
	background-color: rgb(255,255,255);
	color: rgb(113,148,48);
}
.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: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 0px;
}

@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);
}
}


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

у
.pg-label{
  font-size: 11.5px;
  line-height: 1.25;
  color: rgba(0,0,0,.6);
}

/* Hover только desktop */
@media (hover:hover){
  .pg-item:hover img{
    opacity: 1;
  }
  .pg-item:hover .pg-label{
    color: rgba(0,0,0,.75);
  }
}

/* Mobile */
@media (max-width: 520px){
  .pg-icons{
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px;
    margin-bottom: 16px;
  }
  .pg-item img{
    width: 42px;
    height: 42px;
  }
}

/* === Secondary CTA: Быстрый заказ === */
.single-product form.cart .awooc-custom-order-button,
.single-product form.cart button[class*="awooc-custom-order"]{
  background: #f3f3f3 !important;
  color: #333 !important;
  border: 1px solid #dcdcdc !important;
  box-shadow: none !important;

  font-size: 13px !important;
  font-weight: 600 !important;
  height: 46px !important;
  line-height: 46px !important;
}

.single-product form.cart .awooc-custom-order-button:hover,
.single-product form.cart button[class*="awooc-custom-order"]:hover{
  background: rgb(113,148,48) !important;
  border-color: rgb(113,148,48) !important;
  color: #fff !important;
}

/* =========================================================
   Technical premium: Собственное производство (4 карточки)
   В одной системе с secondary CTA
   ========================================================= */

.pg-feature{
  margin: 20px 0 26px;
  padding: 14px 0 18px;
  background: transparent;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

/* Заголовок */
.pg-feature-top{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin-bottom: 14px;
}

.pg-badge{
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(0,0,0,.75);
}

/* Сетка иконок */
.pg-icons{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  margin-bottom: 14px;
}

/* === КАРТОЧКИ === */
.pg-item{
  background: #f3f3f3;          /* тот же серый, что у "Быстрый заказ" */
  border-radius: 10px;
  padding: 10px 6px;
  text-align:center;
}

/* Иконки */
.pg-item img{
  width: 38px;
  height: 38px;
  display:block;
  margin: 0 auto 6px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .9;
}

/* Подписи */
.pg-label{
  font-size: 11.5px;
  line-height: 1.25;
  color: #555;
}

/* Hover — ТИХИЙ (не кнопка!) */
@media (hover:hover){
  .pg-item:hover{
    background: #ededed;
  }
}

/* Mobile */
@media (max-width: 520px){
  .pg-icons{
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px;
  }
  .pg-item img{
    width: 40px;
    height: 40px;
  }
}
.pg-feature{
  border-bottom: none !important;
}

/* Приводим radio/checkbox к брендовому зелёному */
input[type="radio"],
input[type="checkbox"]{
  accent-color: rgb(113,148,48);
}

/* =========================================================
   TECHNICAL PREMIUM — СОБСТВЕННОЕ ПРОИЗВОДСТВО
   Desktop: 4 карточки
   Mobile: горизонтальный свайп
   ========================================================= */

/* ===== Общий блок ===== */
.pg-feature{
  margin: 18px 0 22px;
  padding: 0;
  background: transparent;
  border: none;
}

.pg-feature-top{
  margin-bottom: 14px;
}

.pg-badge{
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(0,0,0,.75);
}

/* ===== DESKTOP (по умолчанию) ===== */
.pg-icons{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}

.pg-item{
  background: #f3f3f3;            /* как secondary CTA */
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
}

.pg-item img{
  width: 38px;
  height: 38px;
  margin: 0 auto 6px;
  display: block;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .9;
}

.pg-label{
  font-size: 11.5px;
  line-height: 1.25;
  color: #555;
}

/* Hover — тихий */
@media (hover:hover){
  .pg-item:hover{
    background: #ededed;
  }
}

/* =========================================================
   PG FEATURE — Desktop cards / Mobile spec list
   ========================================================= */

/* базовый блок */
.pg-feature{
  margin: 18px 0 22px;
  padding: 0;
  background: transparent;
  border: none;
}

.pg-feature-top{
  margin-bottom: 14px;
}

.pg-badge{
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(0,0,0,.75);
}

/* ===== Desktop (по умолчанию) ===== */
.pg-icons{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}

.pg-item{
  background: #f3f3f3;
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
}

.pg-item img{
  width: 38px;
  height: 38px;
  margin: 0 auto 6px;
  display: block;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .9;
}

.pg-label{
  font-size: 11.5px;
  line-height: 1.25;
  color: #555;
}

/* тихий hover */
@media (hover:hover){
  .pg-item:hover{ background:#ededed; }
}

@media (max-width: 520px){

  .pg-icons{
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .pg-item{
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;

    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .pg-feature .pg-icons .pg-item > img{
    width: 28px !important;
    height: 28px !important;
    opacity: .7 !important;
  }
}



  .pg-label{
    font-size: 13px !important;
    color: rgba(0,0,0,.7) !important;
  }



.pg-feature{
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding-bottom: 18px;
}

.pg-icons{
  border-bottom: none !important;
}

@media (max-width: 520px){
  .pg-icons{
    gap: 6px !important;
  }

  .pg-item{
    gap: 8px !important;
  }
}


.pg-badge{
  font-size: 11px !important;
  letter-spacing: .08em !important;
  color: rgba(0,0,0,.5) !important;
}
@media (max-width: 520px){

  .pg-icons{
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px 16px !important;
  }

  .pg-item{
    background: none !important;
    border-radius: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }


  .pg-label{
    font-size: 12.5px !important;
    line-height: 1.3 !important;
    color: rgba(0,0,0,.7) !important;
  }
}
@media (max-width: 520px){
  .pg-label{
    font-size: 13.5px !important;
    line-height: 1.35 !important;
  }

  .pg-badge{
    font-size: 12px !important;
    letter-spacing: .06em !important;
  }
}



/* ===============================
   ДЕСКТОП
   =============================== */

/* На десктопе текст в чипе скрыт */
.tm-extra-product-options .tc-sew-chip strong,
.tm-extra-product-options .tc-sew-chip .subline {
  display: none;
}


/* ===============================
   МОБИЛА
   =============================== */
@media (max-width: 768px) {

  /* ----- Header ----- */
  .tm-extra-product-options .cpf-type-header {
    margin-bottom: 8px;
  }

  /* 👉 ТОЛЬКО нужная картинка */
  .tm-extra-product-options img.alignleft.wp-image-27887 {
    width: 60px !important;
    height: auto !important;
    opacity: 0.9;
    filter: none;
    border-radius: 6px;
    box-shadow: 0 6px 16px rgba(122,160,49,0.28);
    transition:
      transform .25s ease,
      box-shadow .25s ease,
      opacity .25s ease;
  }

  /* Tap / hover */
  .tm-extra-product-options img.alignleft.wp-image-27887:hover,
  .tm-extra-product-options img.alignleft.wp-image-27887:active {
    transform: scale(1.05);
    box-shadow: 0 8px 22px rgba(122,160,49,0.38);
    opacity: 1;
  }


  /* ----- Sew chip ----- */
  .tm-extra-product-options .tc-sew-chip {
    position: relative;
    margin: 6px 0 10px;
    padding: 12px 12px 12px 56px;
    background: #f6f7f8;
    border: 1px solid #e7e9ec;
    border-radius: 12px;
  }

  .tm-extra-product-options .tc-sew-chip img {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px !important;
    height: auto !important;
    opacity: .55;
    filter: grayscale(100%);
  }

  /* Текст в чипе показываем */
  .tm-extra-product-options .tc-sew-chip strong,
  .tm-extra-product-options .tc-sew-chip .subline {
    display: block;
  }

  .tm-extra-product-options .tc-sew-chip strong {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
    margin-bottom: 2px;
  }

  .tm-extra-product-options .tc-sew-chip .subline {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.2;
  }
}
/* DESKTOP: прячем текст рядом с 222.png в header-блоке */
@media (min-width: 769px){
  .tm-extra-product-options .cpf-type-header img[src*="222.png"] ~ strong,
  .tm-extra-product-options .cpf-type-header img[src*="222.png"] ~ .subline{
    display: none !important;
  }
}

@media (max-width: 768px) {
  .tm-extra-product-options .tc-sew-chip strong,
  .tm-extra-product-options .tc-sew-chip .subline {
    display: block;
  }
}

/* =========================
   TABLET FIX (769–1024px)
   ========================= */
@media (min-width: 769px) and (max-width: 1024px){

  /* лучше в колонку на планшете — всегда ровно */
  .single-product form.cart{
    flex-direction: column !important;
  }

  .single-product form.cart .single_add_to_cart_button,
  .single-product form.cart .wd-buy-now-btn,
  .single-product form.cart .awooc-custom-order-button,
  .single-product form.cart button[class*="awooc-custom-order"]{
    width: 100% !important;
    flex: 0 0 auto !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    white-space: nowrap !important; /* чтобы не ломало строку */
    padding: 0 16px !important;     /* убираем твой 50px */
    box-sizing: border-box !important;
  }
}



/* УБИРАЕМ tc-totals-form ИЗ FLEX-ПОТОКА */
.single-product form.cart .tc-totals-form{
  display: none !important;
}



/* ===== БЛОК: строка заголовка ===== */
.measure-head{
  display: flex;
  align-items: baseline;
  gap: 6px;
  width: 100%;
  margin-bottom: 6px;
}

/* ===== БЛОК: подсказка справа ===== */
.measure-help{
  margin-left: auto;        /* уводим в конец строки */
  font-size: 12px;
  color: #7a7a7a;
  cursor: pointer;          /* рука */
  white-space: nowrap;
  text-decoration: none;    /* без подчёркиваний */
}

/* hover мягкий, без подчёркиваний */
.measure-help:hover{ color:#555; }

/* ===== MOBILE: ближе и компактнее ===== */
@media (max-width: 480px){
  .measure-head{
    gap: 4px;               /* меньше расстояния между стрелкой/текстом */
  }
  .measure-help{
    font-size: 11px;        /* компактнее */
    margin-left: 8px;       /* НЕ auto: чтобы не уезжало далеко вправо */
  }
}


/* ===== убирает белый фон попап ===== */
.wd-popup {
    background-color: transparent !important;
}


/* ===== прячим иконку сайз гид ===== */
.wd-sizeguide-btn {
    display: none !important;
}

/* ===== стили надписи собственное производство ===== */
.prod-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;              /* чуть больше воздуха */
  font-size:14px;
  color:#2b2b2b;        /* темнее текст */
  line-height:1.2;
}

.prod-badge__icon{
  width:18px;
  height:18px;
  flex:0 0 18px;        /* исправил: было 20, а размер 18 */
  display:block;
}

.prod-badge__text{
  white-space:nowrap;
}
.prod-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  color: rgba(0,0,0,.55);   /* 👈 сероватый, как остальной UI */
  line-height:1.2;
}
.prod-badge{
  margin-top: -16px;   /* ↑ поднимаем вверх */
}



@media (min-width: 1025px) {
	.home .category-grid-item:hover .category-image {
    transform: none;
}

/* Chrome, Edge, Safari, Opera */
::-webkit-scrollbar-thumb {
    background-color: rgb(113,148,48);
    border-radius: 10px;
}

/* Firefox */
html {
    scrollbar-color: rgb(113,148,48) transparent; /* ползунок | фон */
}

.color-secondary.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-10442.item-level-0.menu-simple-dropdown.wd-event-hover > a {
    color: #D46B2A !important;
}
}

@media (min-width: 577px) and (max-width: 767px) {
	

}

@media (max-width: 576px) {
	.offcanvas-sidebar-mobile .shop-content-area:not(.col-lg-12).wd-builder-off .wd-shop-tools .woocommerce-result-count{
	display: none;
}

.shop-table-with-img td.product-thumbnail img {
  min-width: 85px !important;
  max-width: 85px !important;
}


/*
TM Extra Product Options — popup fix

Задача:
Скрыть "технические" popup-секции TM Extra Product Options
(попапы выбора ткани / тесьмы / фурнитуры),
которые выводятся в потоке страницы товара и создают пустое место.

Важно:
– НЕЛЬЗЯ использовать display:none → попап перестанет работать
– Секции должны остаться в DOM для JS-инициализации TM
– Контент внутри открытого попапа трогать нельзя

Решение:
– Убираем исходные popup-секции из визуального потока страницы
– Используем absolute + вынос за экран
– Применяем только к прямым детям формы TM, чтобы не ломать попап
*/

/* контейнер формы TM — опора для absolute */
li[id^="tc-epo-form-"]{
  position: relative !important;
}

/* popup-секции: ткани / тесьмы / фурнитуры */
li[id^="tc-epo-form-"] > .section_popup{
  position: absolute !important;
  left: -9999px !important;
  top: 0 !important;

  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;

  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

}

