/* ===== DOM365: глобальные стили для описаний товаров ===== */

/* Общий контейнер описания */
.product-full-description-dom365 {
  width: 100%;
  font-family: Arial, sans-serif;
  color: #333;
}

/* Заголовок товара */
.product-full-description-dom365 .product-title-dom365 {
  text-align: center;
  margin: 0 0 8px 0 !important;
}
.product-full-description-dom365 .product-title-dom365 strong {
  color: #293358;
  font-size: 22px;
}

/* Ряд с бейджами фич */
.feature-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 15px;
  width: 100%;
}
.feature-badge-dom365 {
  background-color: #293358;
  color: #fff;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 0.9rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: box-shadow 0.3s ease-in-out;
}
.feature-badge-dom365:hover {
  box-shadow: 0 5px 10px rgba(0,0,0,0.4);
}

/* Ряд с текстом и медиа */
.text-and-media-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  width: 100%;
}
.text-and-media-row .col-grow {
  flex-grow: 1;
  margin-right: 20px;
  width: 100%;
}

/* Блоки описания */
.description-item-dom365 {
  margin-bottom: 15px;
  border-radius: 15px;
  padding: 2px 10px 10px;
  transition: box-shadow 0.3s ease;
}
.description-item-dom365:hover {
  box-shadow: 0 0 20px rgba(173, 216, 230, 0.8);
}
.description-title-dom365 {
  margin: 0 0 5px 0;
  color: #293358;
  font-size: 22px;
  padding-top: 2px;
}
.description-text-dom365 {
  width: 100%;
  margin: 0;
  color: #333;
}

/* Таблицы характеристик */
.characteristics-container-dom365 {
  border: 1px solid #ddd;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 0;
  width: 100%;
  box-shadow: 0 0 40px rgba(0,0,0,0.1);
}
.characteristics-table-dom365 {
  width: 100%;
  border-collapse: collapse;
}
.characteristics-table-dom365 th,
.characteristics-table-dom365 td {
  padding: 8px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}
.characteristics-table-dom365 tbody tr:hover {
  background-color: #e0f7fa;
}

/* Шапка секций таблицы */
.characteristics-table-dom365 tr.section-head td {
  background-color: #39AFBC;
  font-weight: bold;
  text-align: left;
  color: #fff;
}

/* Картинки в описании */
.img-inner-dom365 {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
}
.img-inner-dom365 > div {
  width: 100%;
}
.img-inner-dom365 img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Примечания */
.attention-text-dom365,
p.attention-note {
  font-size: 0.8em;
  color: #888;
  font-style: italic;
  margin: 15px 0;
}

/* Мобильная адаптация */
@media (max-width: 767px) {
  .product-full-description-dom365 .product-title-dom365 strong {
    font-size: 20px;
  }
  .description-title-dom365 {
    font-size: 20px;
  }
  .text-and-media-row {
    flex-direction: column;
  }
  .text-and-media-row .col-grow {
    margin-right: 0;
  }
}

/* === Центровка главного заголовка в описании товара === */
.product-full-description-dom365 .product-title-center,
.product-description-dom365 .product-title-center,
.product-full-description-dom365 .description-item-dom365 .product-title-center {
  text-align: center !important;
}

/* Подстраховка: если забыли класс, центрируем самый первый h3 в блоке */
.product-full-description-dom365 > .product-description-dom365 > h3:first-of-type {
  text-align: center;
}

