.elementor-kit-8249{--e-global-color-primary:#1C1C1C;--e-global-color-secondary:#7C6F60;--e-global-color-text:#2F2F2F;--e-global-color-accent:#D4AF37;--e-global-typography-primary-font-family:"Montserrat";--e-global-typography-primary-font-size:48px;--e-global-typography-primary-font-weight:700;--e-global-typography-primary-line-height:55px;--e-global-typography-secondary-font-family:"Montserrat";--e-global-typography-secondary-font-size:28px;--e-global-typography-secondary-font-weight:600;--e-global-typography-secondary-line-height:35px;--e-global-typography-secondary-word-spacing:0px;--e-global-typography-text-font-family:"Montserrat";--e-global-typography-text-font-size:16px;--e-global-typography-text-font-weight:400;--e-global-typography-text-line-height:19px;--e-global-typography-accent-font-family:"Montserrat";--e-global-typography-accent-font-size:16px;--e-global-typography-accent-font-weight:500;--e-global-typography-accent-letter-spacing:1px;color:var( --e-global-color-primary );font-family:"Montserrat", Sans-serif;font-size:3px;font-weight:400;line-height:25px;letter-spacing:0.3px;}.elementor-kit-8249 button:hover,.elementor-kit-8249 button:focus,.elementor-kit-8249 input[type="button"]:hover,.elementor-kit-8249 input[type="button"]:focus,.elementor-kit-8249 input[type="submit"]:hover,.elementor-kit-8249 input[type="submit"]:focus,.elementor-kit-8249 .elementor-button:hover,.elementor-kit-8249 .elementor-button:focus{background-color:var( --e-global-color-primary );color:#D4AF37;border-style:solid;border-width:1px 1px 1px 1px;border-radius:18px 18px 18px 18px;}.elementor-kit-8249 e-page-transition{background-color:#FFBC7D;}.elementor-kit-8249 a{color:#333333;font-family:"Montserrat", Sans-serif;font-size:16px;font-weight:500;line-height:1px;letter-spacing:0px;word-spacing:4px;}.elementor-kit-8249 a:hover{color:#C9A36B;font-size:16px;font-weight:500;text-decoration:underline;}.elementor-kit-8249 h1{color:var( --e-global-color-primary );font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );line-height:var( --e-global-typography-secondary-line-height );word-spacing:var( --e-global-typography-secondary-word-spacing );}.elementor-kit-8249 h2{color:var( --e-global-color-primary );font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );line-height:var( --e-global-typography-secondary-line-height );word-spacing:var( --e-global-typography-secondary-word-spacing );}.elementor-kit-8249 h3{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );}.elementor-kit-8249 h4{color:#444444;font-family:"Montserrat", Sans-serif;font-size:22px;font-weight:600;line-height:30px;}.elementor-kit-8249 h5{color:#555555;font-family:"Montserrat", Sans-serif;font-size:18px;font-weight:500;line-height:25px;}.elementor-kit-8249 h6{color:#666666;font-family:"Montserrat", Sans-serif;font-size:16px;font-weight:500;line-height:24px;letter-spacing:0.5px;}.elementor-kit-8249 button,.elementor-kit-8249 input[type="button"],.elementor-kit-8249 input[type="submit"],.elementor-kit-8249 .elementor-button{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-size:var( --e-global-typography-accent-font-size );font-weight:var( --e-global-typography-accent-font-weight );letter-spacing:var( --e-global-typography-accent-letter-spacing );border-style:solid;border-width:1px 1px 1px 1px;border-radius:18px 18px 18px 18px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1340px;}.e-con{--container-max-width:1340px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-kit-8249{font-size:15px;line-height:24px;}.elementor-kit-8249 h1{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );word-spacing:var( --e-global-typography-secondary-word-spacing );}.elementor-kit-8249 h2{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );word-spacing:var( --e-global-typography-secondary-word-spacing );}.elementor-kit-8249 h3{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-kit-8249 h4{font-size:20px;line-height:27px;}.elementor-kit-8249 h5{font-size:16px;line-height:22px;}.elementor-kit-8249 h6{font-size:15px;line-height:22.5px;letter-spacing:0.5px;}.elementor-kit-8249 button,.elementor-kit-8249 input[type="button"],.elementor-kit-8249 input[type="submit"],.elementor-kit-8249 .elementor-button{font-size:var( --e-global-typography-accent-font-size );letter-spacing:var( --e-global-typography-accent-letter-spacing );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-8249{--e-global-typography-primary-font-size:48px;--e-global-typography-primary-line-height:55em;--e-global-typography-secondary-font-size:28px;font-size:14px;line-height:22.4px;}.elementor-kit-8249 a{font-size:14px;letter-spacing:0.2px;}.elementor-kit-8249 a:hover{font-size:14px;letter-spacing:0.2px;}.elementor-kit-8249 h1{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );word-spacing:var( --e-global-typography-secondary-word-spacing );}.elementor-kit-8249 h2{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );word-spacing:var( --e-global-typography-secondary-word-spacing );}.elementor-kit-8249 h3{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-kit-8249 h4{font-size:18px;line-height:24px;}.elementor-kit-8249 h5{font-size:15px;line-height:21px;}.elementor-kit-8249 h6{font-size:14px;line-height:21px;letter-spacing:0.5px;}.elementor-kit-8249 button,.elementor-kit-8249 input[type="button"],.elementor-kit-8249 input[type="submit"],.elementor-kit-8249 .elementor-button{font-size:var( --e-global-typography-accent-font-size );letter-spacing:var( --e-global-typography-accent-letter-spacing );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* === Универсальный фикс карточек товара (Astra + Woo + Elementor) === */

/* Карточка — колонка: контент тянется, кнопка прижимается вниз */
.ast-woocommerce-container .woocommerce ul.products li.product,
.elementor-widget-woocommerce-products .woocommerce ul.products li.product,
.elementor-widget-woocommerce-archive-products .woocommerce ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  overflow: visible !important;
}

/* Обёртка контента в карточке */
.ast-woocommerce-container .woocommerce ul.products li.product .astra-shop-summary-wrap,
.ast-woocommerce-container .woocommerce ul.products li.product .woocommerce-loop-product__link,
.elementor-widget-woocommerce-products .woocommerce ul.products li.product .astra-shop-summary-wrap,
.elementor-widget-woocommerce-products .woocommerce ul.products li.product .woocommerce-loop-product__link,
.elementor-widget-woocommerce-archive-products .woocommerce ul.products li.product .astra-shop-summary-wrap,
.elementor-widget-woocommerce-archive-products .woocommerce ul.products li.product .woocommerce-loop-product__link {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}

/* Заголовок: 2 строки на десктопе, 3 на мобиле; никаких «распилов» слов по буквам */
.ast-woocommerce-container .woocommerce ul.products li.product .woocommerce-loop-product__title,
.elementor-widget-woocommerce-products .woocommerce ul.products li.product .woocommerce-loop-product__title,
.elementor-widget-woocommerce-archive-products .woocommerce ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-break: normal !important;         /* запрещаем ломать слова по буквам */
  overflow-wrap: anywhere !important;     /* переносим ТОЛЬКО длинные токены */
  hyphens: auto !important;
  line-height: 1.3 !important;
  margin-bottom: .5rem !important;
  min-height: calc(1em * 1.3 * 2) !important;
}

/* Цена/рейтинг — компактно */
.ast-woocommerce-container .woocommerce ul.products li.product .price,
.ast-woocommerce-container .woocommerce ul.products li.product .star-rating,
.ast-woocommerce-container .woocommerce ul.products li.product .ast-woo-product-category {
  margin-bottom: .5rem !important;
}

/* Кнопки: всегда на всю ширину, без обрезания текста */
.ast-woocommerce-container .woocommerce ul.products li.product .button,
.ast-woocommerce-container .woocommerce ul.products li.product .add_to_cart_button,
.ast-woocommerce-container .woocommerce ul.products li.product .added_to_cart,
.elementor-widget-woocommerce-products .woocommerce ul.products li.product .button,
.elementor-widget-woocommerce-products .woocommerce ul.products li.product .add_to_cart_button,
.elementor-widget-woocommerce-products .woocommerce ul.products li.product .added_to_cart,
.elementor-widget-woocommerce-archive-products .woocommerce ul.products li.product .button,
.elementor-widget-woocommerce-archive-products .woocommerce ul.products li.product .add_to_cart_button,
.elementor-widget-woocommerce-archive-products .woocommerce ul.products li.product .added_to_cart {
  margin-top: auto !important;           
  width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: .65rem .9rem !important;
  box-sizing: border-box !important;
}

/* На случай жёстких ограничений высоты из темы/виджета — снимаем */
.ast-woocommerce-container .woocommerce ul.products li.product .ast-woo-shop-product-description,
.ast-woocommerce-container .woocommerce ul.products li.product .ast-woo-shop-product-title-wrap,
.elementor-widget-woocommerce-products .woocommerce ul.products li.product .ast-woo-shop-product-description,
.elementor-widget-woocommerce-products .woocommerce ul.products li.product .ast-woo-shop-product-title-wrap,
.elementor-widget-woocommerce-archive-products .woocommerce ul.products li.product .ast-woo-shop-product-description,
.elementor-widget-woocommerce-archive-products .woocommerce ul.products li.product .ast-woo-shop-product-title-wrap {
  max-height: none !important;
  overflow: visible !important;
}

/* Мобильные корректировки */
@media (max-width: 767.98px) {
  .ast-woocommerce-container .woocommerce ul/products li.product .woocommerce-loop-product__title,
  .elementor-widget-woocommerce-products .woocommerce ul/products li.product .woocommerce-loop-product__title,
  .elementor-widget-woocommerce-archive-products .woocommerce ul.products li.product .woocommerce-loop-product__title {
    -webkit-line-clamp: 3 !important;
    min-height: calc(1em * 1.3 * 3) !important;
    font-size: .95rem !important;
  }
}
<script>
document.addEventListener('DOMContentLoaded',function(){
  document.querySelectorAll('.woocommerce ul.products li.product .woocommerce-loop-product__title')
    .forEach(function(h){ if(h.textContent.trim().length>120){ h.title=h.textContent.trim(); }});
});
</script>
/* Карточка – колонка: контент тянется, кнопка снизу */
.woocommerce ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  overflow: visible !important;
}

/* Обёртка контента в карточке */
.woocommerce ul.products li.product .astra-shop-summary-wrap,
.woocommerce ul.products li.product .woocommerce-loop-product__link {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}

/* Заголовок: максимум 2 строки на десктопе, аккуратные переносы */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  hyphens: auto !important;
  line-height: 1.3 !important;
  margin-bottom: .5rem !important;
  min-height: calc(1em * 1.3 * 2) !important;
}

/* Кнопка: полная ширина, без обрезания текста */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .added_to_cart {
  margin-top: auto !important;
  width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: .65rem .9rem !important;
  box-sizing: border-box !important;
}

/* На мобильных – 3 строки в заголовке */
@media (max-width: 767.98px) {
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    -webkit-line-clamp: 3 !important;
    min-height: calc(1em * 1.3 * 3) !important;
    font-size: 0.95rem !important;
  }
}/* End custom CSS */