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

:root {
	--wd-text-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Inter", 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: "Inter", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Inter", 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: "Inter", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-primary-color: #83b735;
	--wd-alternative-color: #fbbc34;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: #83b735;
	--btn-accented-bgcolor-hover: #74a32f;
	--wd-form-brd-width: 2px;
	--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-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.page .wd-page-content {
	background-image: url(http://new.greenwolfshop.ru/wp-content/uploads/2025/11/Component-2.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: inherit;
	background-position: center top;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-image: url(http://new.greenwolfshop.ru/wp-content/uploads/2025/11/Component-2.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: inherit;
	background-position: center top;
}
.single-product .wd-page-content {
	background-image: url(http://new.greenwolfshop.ru/wp-content/uploads/2025/11/Component-2.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: inherit;
	background-position: center top;
}
.woodmart-archive-blog .wd-page-content {
	background-image: url(http://new.greenwolfshop.ru/wp-content/uploads/2025/11/Component-2.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: inherit;
	background-position: center top;
}
.single-post .wd-page-content {
	background-image: url(http://new.greenwolfshop.ru/wp-content/uploads/2025/11/Component-2.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: inherit;
	background-position: center top;
}
.woodmart-archive-portfolio .wd-page-content {
	background-image: url(http://new.greenwolfshop.ru/wp-content/uploads/2025/11/Component-2.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: inherit;
	background-position: center top;
}
.single-portfolio .wd-page-content {
	background-image: url(http://new.greenwolfshop.ru/wp-content/uploads/2025/11/Component-2.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: inherit;
	background-position: center top;
}
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-brd-color: rgb(129,215,66);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 5px;
--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: 12px;
}

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


/*[data-id="pa_cvet_akrila"] .wd-swatch {
    width: 64px; 
    height: 64px;
} */
.post-type-archive .wd-nav-product-cat {display:none;}

.tax-product_cat .wd-nav-product-cat{display:none;}

.wd-cat-content { text-align: left;}
.wd-content-layout {padding-block: 0px;}
.wd-products-element+:is(.term-description,.page-description) {
    background: #fff;
    border-radius: 12px;
    margin-top: 25px;
    padding: 18px;
}

.product_cat-pod-zakaz .single_add_to_cart_button{display:none;}
/* Держим текст + количество в одну строку */
.e-atc-qty-button-holder {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: auto !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
}

/* Контейнер с - input + */
.e-atc-qty-button-holder .quantity {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
}


body .elementor-widget-woocommerce-product-add-to-cart .e-atc-qty-button-holder {
    display: inline-flex !important;
    flex-wrap: nowrap !important;   /* ГЛАВНЫЙ ФИКС */
    align-items: center !important;
    gap: 12px !important;
    width: auto !important;
    white-space: nowrap !important;
}

/* Текст */
/* Текст "Количество (тираж)" — ТОЛЬКО на странице товара (не в корзине) */
.single-product body .elementor-widget-woocommerce-product-add-to-cart .e-atc-qty-button-holder .quantity::before {
    content: "Количество (тираж): ";
    font-size: 16px;
    font-weight: 500;
    margin-right: 0px;
    white-space: nowrap;
    align-content: center;
}
.woocommerce-cart .quantity::before {
  content: none !important;
}





/* Кнопки +/- */
.e-atc-qty-button-holder .quantity .plus,
.e-atc-qty-button-holder .quantity .minus {
    width: 38px !important;
    height: 38px !important;
    background: #27ae60 !important;
    border-radius: 6px !important;
    border: none !important;
    color: #fff !important;
    font-size: 22px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    cursor: pointer !important;
}


/* Поле количества */
.e-atc-qty-button-holder .quantity .qty {
    width: 65px !important;
    height: 38px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-align: center !important;
    background: #fff !important;

    /* Перебиваем Elementor */
    border: 2px solid #27ae60 !important;
    border-radius: 6px !important;
}

.elementor-widget-woocommerce-product-add-to-cart div.quantity input[type="number"].qty {
    border: 2px solid #27ae60 !important;
    border-radius: 6px !important;
    border-left: 2px solid #27ae60 !important;
    border-right: 2px solid #27ae60 !important;
}

/* === Контейнер блока загрузки === */
.gw-design-upload {
    margin: 14px 0 10px !important;
    font-family: inherit;
}

/* === Лейбл, в котором кнопка и название файла === */
.gw-design-upload label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    white-space: nowrap;
}

/* === Скрытый input[type=file] — оставляем скрытым === */
#gw_design_file {
    display: none !important;
}

/* === Кнопка "Загрузить макет" === */
#gw_design_btn {
    background: #0FCB50 !important;
    color: #fff !important;
    padding: 10px 22px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.2s ease;
}

#gw_design_btn:hover {
    background: #27ae60 !important;
}

/* === Текст "Файл не выбран" === */
#gw_design_filename {
    font-size: 14px !important;
    color: #424242 !important;
}

/* === Подпись под блоком — форматы === */
.gw-design-upload > div {
    font-size: 13px !important;
    color: #2c6b4f !important;
    margin-top: 8px !important;
}

#gw_design_btn :is(.btn,.button,button,[type=submit],[type=button])
{   background-color: #0FCB50!important; color:#fff!important; }



/* превращаем <form class="cart"> в flex-контейнер */
form.cart {
    display: flex !important;
    flex-direction: column !important;
}

/* ставим загрузку МАКЕТА ниже */
form.cart .gw-design-upload {
    order: 2 !important;
}

/* ставим КОЛИЧЕСТВО выше */
form.cart .e-atc-qty-button-holder {
    order: 1 !important;
}




/* Контейнер */
.gw-addons-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important; /* расстояние между двумя опциями */
    margin: 14px 0 8px !important;
    flex-wrap: wrap;
}

/* Каждая опция */
.gw-addon {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    cursor: pointer;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 500;
    color: #1f6132;
}

/* Скрываем стандартный чекбокс */
.gw-addon input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    position: absolute;
}

/* Квадрат-кнопка */
.gw-addon input[type="checkbox"] + span::after {
    content: "X";
    width: 38px;
    height: 38px;
    border: 2px solid #27ae60;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    font-size: 20px;
    font-weight: 600;
    color: #999;
    transition: all 0.2s ease-in-out;
}

/* Активное состояние */
.gw-addon input[type="checkbox"]:checked + span::after {
    background: #27ae60;
    color: #fff;
    border-color: #27ae60;
    content: "✓";
}

/* Подсветка цены (+100%, +10₽) */
.gw-addon span span {
    color: #27ae60 !important;
    font-weight: 600 !important;
}



.single-product .elementor-element-4de7661 {
    box-shadow: 0 4px 10px rgba(0,0,0,0.12) !important;
    border-radius: 14px !important;
}


.cat-item-65 a, .cat-item-66 a, .cat-item-21 a, .cat-item-22 a, .cat-item-25 a{font-size: 30px;}
.children a{color: #146740; font-size:14px;}


.wd-cat-content .wd-cat-count.more-products a {
  display: none !important;
}
.custom-category-text {
    font-size: 14px;
    color: #13673F;
}
.elementor-1159 .elementor-element.elementor-element-f89ca0c {margin-bottom: 0px!important;}


/* === FIX количества в корзине (Woo Blocks) === */
.wc-block-components-quantity-selector {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

.wc-block-components-quantity-selector__input {
  width: 48px;
  text-align: center;
  margin: 0;
}

.wc-block-components-quantity-selector__button {
  width: 32px;
  height: 32px;
  padding: 0;
  line-height: 30px;
  font-size: 18px;
}
/* === Подытог в строке товара справа === */
.wc-block-cart-item__total {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
}

.wc-block-cart-item__total-price-and-sale-badge-wrapper {
  display: flex;
  justify-content: flex-end;
}
/* Заголовок ИТОГО */
.wc-block-cart-items__header-total {
  text-align: right;
}
/* === Сайдбар корзины === */
.wc-block-cart__sidebar {
  position: sticky;
  top: 120px;
}

@media (max-width: 768px){

  html, body{
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  /* 1) Ломаем table-верстку, чтобы она не раздувала ширину */
  table.variations.wd-variations-mobile{
    display: block !important;
    width: 100% !important;
    max-width: 100vw !important;
    table-layout: fixed !important;
  }
  table.variations.wd-variations-mobile tbody,
  table.variations.wd-variations-mobile tr,
  table.variations.wd-variations-mobile th,
  table.variations.wd-variations-mobile td{
    display: block !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  /* 2) Ячейка со свотчами — без вылезания */
  table.variations.wd-variations-mobile td.value.with-swatches{
    overflow: hidden !important;
  }

  /* 3) Контейнер свотчей — горизонтальная лента */
  table.variations.wd-variations-mobile td.value.with-swatches > .wd-swatches-product{
    display: flex !important;
    flex-wrap: nowrap !important;

    width: 100% !important;
    max-width: 100% !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain !important;
    touch-action: pan-x !important;

    gap: 12px !important;
    padding: 0 12px 12px 0 !important;

    box-sizing: border-box !important;
  }

  /* 4) Ключ: свотчи НЕ должны сжиматься */
  table.variations.wd-variations-mobile td.value.with-swatches > .wd-swatches-product > .wd-swatch{
    flex: 0 0 84px !important;
    width: 84px !important;
    min-width: 84px !important;
    max-width: 84px !important;
  }

  /* если внутри есть фон/картинка — держим квадрат */
  table.variations.wd-variations-mobile td.value.with-swatches > .wd-swatches-product > .wd-swatch .wd-swatch-bg{
    width: 84px !important;
    height: 84px !important;
  }
}

@media (max-width: 768px){

  /* В Woo responsive таблице заголовок рисуется через td:before (data-title).
     Нам нужно: текст сверху, селектор снизу */
  .woocommerce-cart .shop_table_responsive td.product-quantity{
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  /* Делаем "Количество" (data-title) отдельной строкой */
  .woocommerce-cart .shop_table_responsive td.product-quantity:before{
    display: block !important;
    width: 100% !important;
    position: static !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    content: "Количество" !important; /* можно убрать строку, если хочешь брать из data-title */
    font-weight: 500 !important;
  }

  /* Сам селектор количества — второй строкой */
  .woocommerce-cart .shop_table_responsive td.product-quantity .quantity{
    width: 100% !important;
  }
}

#post-1274{
    padding-bottom: 45px;
}


