/**
 * Стили для описаний и характеристик товаров (Product Description & Specs)
 * Применяется к виджетам Custom Product Description
 * Версия: 1.2
 */

/* Подключение шрифта Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Контейнер описания */
.custom-product-description-wrapper,
.custom-product-description-content,
.custom-product-specs-wrapper {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

/* Заголовки */
.custom-product-description-content h2,
.custom-product-specs-title,
.custom-product-description-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #1976d2 !important;
    /* Синий как на spabest.ru */
    margin-top: 30px !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #e5e5e5 !important;
}

.custom-product-description-content h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #1976d2 !important;
    margin-top: 25px !important;
    margin-bottom: 15px !important;
}

/* Текст */
.custom-product-description-content p {
    margin-bottom: 18px !important;
}

/* Списки (Харктеристики часто в списках) */
.custom-product-description-content ul,
.custom-product-description-content ol,
.custom-product-specs-list {
    margin: 20px 0 !important;
    padding-left: 25px !important;
    list-style-type: disc !important;
}

.custom-product-description-content li,
.custom-product-specs-item {
    margin-bottom: 10px !important;
    line-height: 1.7 !important;
}

/* Таблицы характеристик */
.custom-product-specs-table,
.custom-product-description-content table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 20px 0 !important;
}

.custom-product-specs-table td,
.custom-product-description-content table td,
.custom-product-specs-table th,
.custom-product-description-content table th {
    padding: 12px !important;
    border-bottom: 1px solid #eee !important;
    text-align: left !important;
}

.custom-product-specs-label {
    font-weight: 600 !important;
    color: #333 !important;
    width: 40% !important;
}

/* Адаптивность */
@media (max-width: 768px) {

    .custom-product-description-content,
    .custom-product-specs-wrapper {
        font-size: 15px !important;
    }

    .custom-product-description-content h2,
    .custom-product-specs-title {
        font-size: 20px !important;
    }
}