.woocommerce-loop-product__title {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

/* Установка максимального количества строк назания на кароточке товара (здесь 2) */

.woocommerce-loop-product__title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 3em;
  /* 2 строки высоты */
  line-height: 1.5em;
  /* Высота строки */
  white-space: normal;
  transition: max-height 0.3s ease;
}

/* Отображение полного названия товара при наведении на его карточку 

li:hover .woocommerce-loop-product__title a {
  display: block;
  white-space: normal;
  overflow: visible;
  max-height: none;
  transition: max-height 0.9s ease;
} */

/* Цвет текста En stock */

.woocommerce div.product .in-stock {
  color: #00c80c;
}

/* Ширина формы регистрации */

#post-3891.entry.content-bg.single-entry.post-3891.page.type-page.status-publish.hentry {
  max-width: 700px;
  margin: 0 auto;
}

/* Кнопка формы регистрации по центру */

.ur-frontend-form .ur-button-container .ur-submit-button {
  margin: 0 auto;
}

/* recaptcha формы регистрации по центру */

.ur-frontend-form #ur-recaptcha-node {
  text-align: center;
}

/* отступы кнопок на странице заказов клиента */

.woocommerce table.my_account_orders .button {
  margin: 3px;
}

/* отключить трансформацию заголовков в фильтрации товаров */

.widget-area .widget-title {
  text-transform: none;
  margin-bottom: 0px;
}

/* Деактивировать взаимодействие с 3D моделью на всех устройствах */

.custom-html {
  position: relative;
  /* Убедитесь, что родительский элемент имеет относительное позиционирование */
}

.overlay {
  position: absolute;
  /* Наложение поверх iframe */
  top: 0;
  left: 0;
  width: 100%;
  /* Ширина равна 100% родительского элемента */
  height: 100%;
  /* Высота равна 100% родительского элемента */
  background-color: transparent;
  /* Полностью прозрачный */
  z-index: 10;
  /* Обеспечивает наложение поверх iframe */
  display: block;
  /* Показываем слой на всех устройствах */
}

/* Ограничение ширины и центрирование контейнера */

#tab-additional_information.woocommerce-Tabs-panel.woocommerce-Tabs-panel--additional_information.panel.entry-content.wc-tab {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

/* Основные стили для таблицы */

.woocommerce table.shop_attributes {
  width: 100%;
  /* Полная ширина для ровных столбцов */
  border-collapse: separate;
  /* Сохранение скруглений */
  border-spacing: 5px 5px;
  /* Задаем отступы между ячейками */
  text-align: left;
  border-top-style: hidden;
}

/* Стили для заголовков (левая колонка) */

.woocommerce table.shop_attributes th {
  background-color: #2f6bf6;
  color: #ffffff;
  border-radius: 10px;
  padding: 7px 10px;
  width: 30%;
  text-align: left;
  border-style: hidden;
  font-weight: normal;
}

/* Стили для значений (правая колонка) */

.woocommerce table.shop_attributes td {
  background-color: #ffffff;
  color: #2f6bf6;
  border: 1px solid #2f6bf6;
  border-radius: 10px;
  padding: 2px 10px;
  /* Отступы внутри ячеек */
  width: 50%;
  /* Делаем ширину равной левому столбцу */
  box-sizing: border-box;
  /* Учитываем отступы */
}

/* Дополнительный стиль для чередования фона */

.woocommerce table.shop_attributes tr:nth-child(even) th,
.woocommerce table.shop_attributes tr:nth-child(even) td {
  background-color: #eaf3ff;
  /* Светлый фон для четных строк */
}

.woocommerce table.shop_attributes tr:nth-child(even) th {
  background-color: #2f6bf6;
}

.woocommerce table.shop_attributes tr:nth-child(even) td {
  background-color: #ffffff;
}

/* Стиль фильтрации товаров */

.wpc-filter-header {
  background-color: #f0f4ff;
  border-radius: 8px;
  border-left-width: 5px;
  border-left-style: solid;
  border-left-color: #2f6bf6;
  padding: 5px;
  margin-bottom: 7px;
  border-right-width: 1px;
  border-right-style: solid;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-top-width: 1px;
  border-top-style: solid;
}

.wpc-filter-header,
.wpc-filter-header * {
  color: #2f6bf6 !important;
  font-size: 18px !important;
}

/* Стиль при наведении */

.wpc-filter-header:hover {
  background-color: #fbfbff;
}

/* флажок открыть-закрыть фильтр (спрятан) */

.wpc-wrap-icons {
  padding: 1px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.wpc-open-icon {
  margin-right: 7px;
  visibility: hidden;
}

/* Стиль фильтрации (v2) товаров 

#preset_4129.yith-wcan-filters.no-title.enhanced {
  background-color: #00000000;
} */

/* ----- add_search_to_mobile_menu_style ----- */

/* Style du champ de recherche */

.search-form {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-bottom: 15px;
  /* max-width: 250px;  Ajustez selon votre menu */
}

/* Conteneur du champ et du bouton */

.search-wrapper {
  position: relative;
  width: 100%;
}

/* Champ de recherche */

.search-wrapper input[type="search"] {
  width: 100%;
  padding: 10px 40px 10px 10px;
  /* Ajout de l'espace pour le bouton */
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
}

/* Bouton de recherche intégré */

.search-wrapper button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
}

.kadence-product-toggle-container.kadence-product-toggle-outer {
  display: none;
}

/* show password icon */

.woocommerce form .show-password-input {
  background-color: transparent;
  padding-top: 0px;
}

/* Mobile menu Account hide */

@media (min-width: 1024px) {
  /* Для экранов шире 1024px */

  #menu-item-3865 {
    display: none !important;
  }
}

/* ----- Product options table style ----- */

.epofw_fields_table tr td label.epofw_td_label {
  margin: 0 0 0 0;
}

div.product form.cart table.epofw_fields_table td {
  padding-left: 0px;
  border: 1px solid rgba(0,0,0,0);
}

div.product form.cart table.epofw_fields_table {
  margin-bottom: 25px;
  margin-top: 1px;
}

/* Заголовок "Offre spéciale 🤩" */

.epofw_td_label {
  font-weight: bold;
  width: 370px;
}

/* Стили чекбоксов */

.epofw_td_value label {
  display: flex;
  align-items: center;
  padding: 7px;
  border: 1px solid #ddd;
  border-radius: 10px;
  cursor: pointer;
  transition: border 0.3s ease;
  /* font-size: 14px; */
  width: 370px;
  margin-bottom: 5px;
}

/* Эффект при наведении */

.epofw_td_value label:hover {
  border-color: #00c80c;
}

/* Стили для чекбоксов */

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 5px;
  accent-color: #00c80c;
  /* Зеленый цвет при выборе */
}

/*table.addon_total_tbl tr td:first-child,table.epofw_fields_table tr td:first-child {
    width:100%!important; 
}
div.product form.cart table#addon_total td {
    text-align-last: left;
} */

#addon_total {
  display: none !important;
}


/* privacy-policy-text ENGLISH TEXT HIDE */
.woocommerce-privacy-policy-text {
  display: none;
}