/* ===== СТРАНИЦА ПРОДУКТА — СОВРЕМЕННЫЙ ДИЗАЙН ===== */

/* Хлебные крошки */
.pg-breadcrumbs {
    font-size: 14px;
    color: #8a8a8a;
    margin: 24px 0 12px;
    letter-spacing: 0.02em;
}
.pg-breadcrumbs a { color: #8a8a8a; transition: color 0.2s; }
.pg-breadcrumbs a:hover { color: #2c5f2d; }
.pg-breadcrumbs span { margin: 0 8px; color: #c8c8c8; }
.pg-breadcrumbs .current { color: #333; }

/* Заголовок */
.product-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: #1a1a1a;
}

/* Подзаголовок с вердиктом */
.product-lead {
    font-size: 18px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #ececec;
}

/* Карточка-сводка: белая с тонкой линией */
.product-summary-card {
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 4px;
    padding: 28px 32px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
    margin-bottom: 40px;
}

/* Бейдж вердикта — маленькая "пилюля", не круг */
.verdict-badge {
    display: inline-block;
    background: #2c5f2d;
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Калории — крупно, но строго */
.calories-block {
    border-left: 1px solid #ececec;
    padding-left: 32px;
}
.calories-value {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}
.calories-label {
    color: #8a8a8a;
    font-size: 13px;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Бейджи справа */
.pg-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.badge {
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 500;
    background: #f5f5f3;
    color: #555;
    border: 1px solid #ececec;
}
.badge-green { background: #eaf2ea; color: #2c5f2d; border-color: #d5e4d5; }
.badge-orange { background: #f7f1e8; color: #8a5a2b; border-color: #e8d9c3; }

/* Секции */
.product-section {
    margin-bottom: 40px;
    padding-bottom: 0;
    border-bottom: none;
}
.product-section h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    padding-bottom: 8px;
    border-bottom: 2px solid #1a1a1a;
    display: inline-block;
}
.product-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 16px 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Таблица состава — минималистично */
.nutrition-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 4px;
    overflow: hidden;
}
.nutrition-table th,
.nutrition-table td {
    padding: 14px 20px;
    text-align: left;
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid #ececec;
}
.nutrition-table th {
    background: #fafaf8;
    font-weight: 600;
    color: #555;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.nutrition-table tr:last-child td { border-bottom: none; }
.nutrition-table td:last-child {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    color: #1a1a1a;
}

/* Польза — тонкие галочки */
.benefits-list, .harm-list {
    list-style: none;
    padding: 0;
}
.benefits-list li, .harm-list li {
    padding: 10px 0 10px 28px;
    position: relative;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    border-bottom: 1px solid #f5f5f3;
}
.benefits-list li:last-child, .harm-list li:last-child { border-bottom: none; }

.benefits-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 14px;
    width: 14px; height: 8px;
    border-left: 2px solid #2c5f2d;
    border-bottom: 2px solid #2c5f2d;
    transform: rotate(-45deg);
}
.harm-list li::before {
    content: "";
    position: absolute;
    left: 4px; top: 16px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #c85a4a;
}

.text-green, .text-red {
    /* убираем цветные заголовки — они кричащие */
    color: #1a1a1a;
}

/* Мифы — нейтральные карточки с цветной полоской слева */
.myths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}
.myth-card {
    padding: 20px 20px 20px 24px;
    border-radius: 4px;
    background: #fafaf8;
    border: 1px solid #ececec;
    border-left: 3px solid #c85a4a;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}
.myth-card:nth-child(3n+2) { border-left-color: #c99242; }
.myth-card:nth-child(3n)   { border-left-color: #2c5f2d; }

/* Статус-метки в мифах (если начнёшь писать "Вердикт:" в тексте) */
.myth-card strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    color: #8a8a8a;
}

/* Практические советы */
.how-to-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.how-to-block {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 4px;
    padding: 20px;
}
.how-to-block h3 {
    font-size: 15px;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    text-transform: none;
    letter-spacing: 0;
}
.how-to-block p {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.sources-list {
    padding-left: 20px;
    font-size: 14px;
    color: #8a8a8a;
    line-height: 1.7;
}
.sources-list li { margin-bottom: 4px; }

/* Противопоказания */
.product-content p { color: #333; line-height: 1.6; font-size: 16px; }
.product-content p strong { color: #1a1a1a; }

/* ===== МОБИЛЬНАЯ АДАПТАЦИЯ ===== */
@media (max-width: 768px) {
    .product-title { font-size: 28px; }
    .product-summary-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    .calories-block {
        border-left: none;
        border-top: 1px solid #ececec;
        padding-left: 0;
        padding-top: 20px;
    }
    .calories-value { font-size: 34px; }
    .pg-badges { justify-content: flex-start; }
    .myths-grid { grid-template-columns: 1fr; }
    .nutrition-table th, .nutrition-table td { padding: 10px 14px; font-size: 14px; }
}