/**
 * Стили блоков описания товара (product content)
 * Без inline-стилей в HTML — только классы .pc-*
 */

.pc {
    --pc-blue: #0055a4;
    --pc-blue-dark: #003366;
    --pc-blue-mid: #2c52a1;
    --pc-green: #27ae60;
    --pc-green-dark: #2e7d32;
    --pc-green-brand: #00924f;
    --pc-red: #d32f2f;
    --pc-text: #2d3748;
    --pc-muted: #4a5568;
    --pc-soft: #718096;
    --pc-border: #e2e8f0;
    --pc-bg: #f8fafc;
    --pc-radius: 12px;
    --pc-radius-sm: 8px;
    color: var(--pc-text);
    /* Как у .content в теме */
    font-size: 19px;
    line-height: 1.6;
}

.pc *,
.pc *::before,
.pc *::after {
    box-sizing: border-box;
}

/* ---- Titles: размеры как у .content h2/h3 в исходнике ---- */
.content .pc h2.pc-title,
.pc h2.pc-title {
    margin: 30px 0 20px;
    padding-bottom: 10px;
    color: var(--pc-blue);
    border-bottom: 2px solid #eee;
    font-size: 2.5rem; /* исходные секции были h3 */
    font-weight: 700;
    line-height: 1.25;
}

.content .pc h2.pc-title--lg,
.pc h2.pc-title--lg {
    margin-top: 30px;
    margin-bottom: 25px;
    font-size: 3rem; /* исходный «О товаре» был h2 */
}

.content .pc h2.pc-title--danger,
.pc h2.pc-title--danger {
    color: var(--pc-red);
    border-bottom-color: #f8d7da;
}

.content .pc h2.pc-title--muted,
.pc h2.pc-title--muted {
    color: var(--pc-muted);
    border-bottom-color: var(--pc-border);
}

.content .pc h2.pc-title--faq,
.pc h2.pc-title--faq {
    margin-top: 40px;
    margin-bottom: 25px;
}

.content .pc h3,
.pc h3 {
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

.content .pc h4,
.pc h4 {
    font-size: 0.9em;
    line-height: 1.35;
    font-weight: 700;
}

.pc-title {
    margin: 30px 0 20px;
    padding-bottom: 10px;
    color: var(--pc-blue);
    border-bottom: 2px solid #eee;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.25;
}

.pc-title--lg {
    margin-bottom: 25px;
    font-size: 3rem;
}

.pc-title--danger {
    color: var(--pc-red);
    border-bottom-color: #f8d7da;
}

.pc-title--muted {
    color: var(--pc-muted);
    border-bottom-color: var(--pc-border);
}

.pc-title--faq {
    margin-top: 40px;
    margin-bottom: 25px;
}

.pc-subtitle {
    margin: 0 0 20px;
    color: var(--pc-text);
    font-size: 0.9em;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pc-subtitle--blue {
    color: #004085;
    font-size: 1.1em;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---- Panels / cards ---- */
.pc-panel {
    background: var(--pc-bg);
    border: 1px solid var(--pc-border);
    border-radius: var(--pc-radius);
    padding: 25px;
    margin-bottom: 1.5rem;
}

.pc-panel--white {
    background: #fff;
    border-color: #e3e8ed;
    border-radius: var(--pc-radius-sm);
    padding: 20px;
}

.pc-panel--soft {
    background: #f9f9f9;
    border: 0;
    border-radius: var(--pc-radius-sm);
    padding: 20px;
    color: #333;
}

.pc-panel--blue {
    background: #f0f7ff;
    border-color: #d1e3f5;
}

.pc-panel--warn {
    background: #fffaf0;
    border-color: #feebc8;
    color: #744210;
    font-size: 0.93em;
}

.pc-panel--danger {
    background: #fff5f5;
    border-color: #feb2b2;
}

.pc-lead {
    font-size: 1.1em;
    color: #1a202c;
    margin: 0 0 20px;
}

.pc-note {
    margin: 20px 0 0;
    font-size: 0.95em;
    color: var(--pc-soft);
    font-style: italic;
}

.pc-note--sm {
    font-size: 0.85em;
    color: #666;
}

/* ---- Callouts ---- */
.pc-callout {
    background: #fff;
    padding: 15px;
    border-radius: var(--pc-radius-sm);
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--pc-blue);
}

.pc-callout p {
    margin: 0;
    color: var(--pc-muted);
}

.pc-callout--green {
    background: #f4f9f4;
    border-left-color: var(--pc-green);
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.pc-callout--green h3,
.pc-callout--green h4 {
    margin: 0 0 15px;
    font-size: 18px;
    color: #2c3e50;
    font-weight: 700;
}

.pc-callout--amber {
    background: #fff9c4;
    border-left: 4px solid #fbc02d;
    border-radius: 4px;
    padding: 10px;
    font-size: 0.9em;
    margin: 0;
}

.pc-callout--store {
    background: #f1f8e9;
    border-left: 4px solid #00c853;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.pc-callout--store strong {
    color: var(--pc-green-dark);
}

.pc-callout--expert {
    margin: 25px 0;
    padding: 20px;
    border: 1px solid #e0e6ed;
    border-left: 5px solid var(--pc-blue-mid);
    background: #f9fbff;
    border-radius: 4px;
}

.pc-callout--expert p {
    margin: 0;
    font-size: 16px;
    color: #374151;
}

.pc-callout--maker {
    margin: 30px 0;
    padding: 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-left: 6px solid var(--pc-blue-mid);
    border-radius: 4px;
}

.pc-callout--maker p {
    margin: 0;
    font-size: 16px;
    color: #374151;
    line-height: 1.6;
}

/* ---- Grids / cards ---- */
.pc-grid {
    display: grid;
    gap: 20px;
}

.pc-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pc-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pc-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pc-grid--auto {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.pc-grid--faq {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.pc-grid--effects {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 6px;
    font-style: italic;
    font-size: 0.87em;
    color: var(--pc-muted);
}

.pc-card {
    background: #fff;
    border: 1px solid var(--pc-border);
    border-radius: 10px;
    padding: 14px 16px;
}

.pc-card--soft {
    background: var(--pc-bg);
    border-radius: 6px;
    padding: 15px;
}

.pc-card--outline {
    border-color: #e0e0e0;
    border-radius: var(--pc-radius-sm);
    padding: 15px;
}

.pc-card--center {
    text-align: center;
    border-color: #e3e8ed;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 15px;
}

.pc-card--faq {
    border-color: #e3e8ed;
    border-radius: var(--pc-radius-sm);
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.pc-card--faq-warn {
    background: #fff9c4;
    border-color: #fbc02d;
}

.pc-card--faq-ok {
    background: #e8f5e9;
    border-color: #c8e6c9;
}

.pc-card__icon {
    font-size: 22px;
    margin-bottom: 8px;
    line-height: 1;
}

.pc-card__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.pc-card__head-icon {
    font-size: 20px;
    line-height: 1;
}

.pc-card__title {
    color: var(--pc-blue);
    font-size: 1.05em;
    font-weight: 700;
}

.pc-card__label {
    font-weight: 700;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid #eee;
    font-size: 0.95em;
}

.pc-card__label--danger {
    color: var(--pc-red);
}

.pc-card__label--blue {
    color: var(--pc-blue);
}

.pc-card__name {
    font-weight: 600;
    color: #333;
    font-size: 0.95em;
}

.pc-card__q {
    font-weight: 700;
    color: var(--pc-blue);
    margin: 0 0 10px;
    font-size: 1.05em;
}

.pc-card--faq-warn .pc-card__q {
    color: #856404;
}

.pc-card--faq-ok .pc-card__q {
    color: var(--pc-green-dark);
}

.pc-card__a {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.5;
    color: #444;
}

.pc-card ul {
    margin: 0;
    padding-left: 20px;
    color: var(--pc-muted);
    font-size: 0.95em;
}

.pc-card li {
    margin-bottom: 5px;
}

.pc-card li:last-child {
    margin-bottom: 0;
}

/* ---- Lists ---- */
.pc-list {
    margin: 0 0 20px;
    padding-left: 20px;
}

.pc-list li {
    margin-bottom: 10px;
}

.pc-list--plain {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    font-size: 15px;
    color: #2c3e50;
}

.pc-list--plain li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 28px;
}

.pc-list--plain li:last-child {
    margin-bottom: 0;
}

.pc-list--plain li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--pc-green);
    font-weight: 700;
}

.pc-list--check strong.pc-tag {
    display: inline-block;
    background: var(--pc-green);
    color: #fff;
    padding: 2px 7px;
    border-radius: 3px;
    font-size: 0.8em;
    text-transform: uppercase;
    margin-right: 5px;
}

.pc-list--safe {
    margin: 0;
    padding-left: 20px;
}

.pc-list--safe li {
    margin-bottom: 8px;
}

.pc-list--safe li:last-child {
    margin-bottom: 0;
}

.pc-divider-text {
    border-top: 1px solid #ddd;
    padding-top: 15px;
    margin-top: 15px;
    font-style: italic;
    color: #666;
}

.pc-divider-text p {
    margin: 0 0 10px;
}

.pc-divider-text p:last-child {
    margin-bottom: 0;
}

/* ---- Alert rows ---- */
.pc-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.pc-alert:last-child {
    margin-bottom: 0;
}

.pc-alert--box {
    padding: 12px;
    background: #fff;
    border-radius: 6px;
    border-left: 4px solid #f56565;
}

.pc-alert--soft {
    padding: 10px;
    background: var(--pc-bg);
    border-radius: 6px;
}

.pc-alert__icon {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

.pc-alert p {
    margin: 0;
}

/* ---- Highlights / accent blocks ---- */
.pc-highlight {
    flex: 1;
    min-width: 200px;
    border-left: 3px solid #00c853;
    padding-left: 15px;
}

.pc-highlight--blue {
    border-left-color: #2979ff;
}

.pc-highlight strong {
    display: block;
    font-size: 0.85em;
    color: var(--pc-green-dark);
    margin-bottom: 4px;
}

.pc-highlight--blue strong {
    color: #1565c0;
}

.pc-meta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.pc-meta {
    border-left: 4px solid var(--pc-blue);
    padding-left: 15px;
}

.pc-meta__label {
    margin: 0 0 5px;
    font-weight: 700;
    color: var(--pc-blue);
}

.pc-meta__value {
    margin: 0;
}

.pc-meta a {
    color: var(--pc-blue);
    text-decoration: underline;
}

.pc-inline-tag {
    display: inline-block;
    background: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid var(--pc-border);
    font-size: 0.9em;
    margin-bottom: 14px;
}

.pc-effects {
    background: #fff;
    padding: 14px 16px;
    border-radius: var(--pc-radius-sm);
    border: 1px solid var(--pc-border);
}

.pc-effects__title {
    display: block;
    margin-bottom: 10px;
    color: var(--pc-text);
    font-weight: 700;
    font-size: 0.95em;
}

.pc-effects__item {
    padding-left: 8px;
}

.pc-effects__more {
    margin: 12px 0 0;
    font-size: 0.8em;
    color: var(--pc-soft);
    border-top: 1px solid #edf2f7;
    padding-top: 8px;
}

.pc-accent-text {
    color: var(--pc-red);
    font-weight: 700;
}

/* ---- Bundle / связка ---- */
.pc-bundle {
    background: linear-gradient(135deg, #f0f7ee 0%, #e8f3e5 100%);
    border: 1px solid #c5e0b4;
    border-radius: 16px;
    padding: 20px 24px;
    margin: 24px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.pc-bundle__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.pc-bundle__badge {
    background: #2c6e2f;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 40px;
    letter-spacing: 0.5px;
}

.pc-bundle__label {
    font-size: 13px;
    color: #4a7c2e;
    font-weight: 500;
}

.pc-bundle__text {
    font-size: 17px;
    font-weight: 600;
    color: #1e3a1f;
    margin: 0 0 8px;
    line-height: 1.45;
}

.pc-bundle__bar {
    height: 2px;
    width: 60px;
    background: #c5e0b4;
    margin: 16px 0 14px;
}

.pc-bundle__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #2c6e2f;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    padding: 8px 0;
    border-bottom: 2px dashed #c5e0b4;
    transition: color 0.2s, border-color 0.2s, gap 0.2s;
}

.pc-bundle__link:hover {
    color: #1e4f20;
    border-bottom-color: #2c6e2f;
    gap: 14px;
}

.pc-bundle__foot {
    font-size: 12px;
    color: #7a9b6e;
    margin-top: 16px;
    padding-top: 8px;
    border-top: 1px solid #d9e8d2;
}

/* ---- Logistics CTA box ---- */
.pc-logistics-cta {
    background: #fff;
    border: 1px solid var(--pc-border);
    padding: 15px 20px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pc-logistics-cta p {
    margin: 0;
    font-size: 14px;
    color: var(--pc-muted);
    line-height: 1.4;
}

.pc-btn {
    display: inline-block;
    align-self: flex-start;
    background: var(--pc-green);
    color: #fff !important;
    text-decoration: none !important;
    padding: 10px 20px;
    font-weight: 700;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.2s;
}

.pc-btn:hover {
    background: #219150;
    color: #fff !important;
}

/* ---- TOC ---- */
.pc .product-toc {
    background: var(--pc-bg);
    border: 1px solid var(--pc-border);
    border-radius: var(--pc-radius-sm);
    padding: 14px 16px;
    margin: 20px 0;
    font-size: 0.93em;
}

.pc .product-toc p {
    margin: 0 0 8px;
    font-size: 0.95em;
}

.pc .product-toc ul {
    margin: 0;
    padding-left: 18px;
}

.pc .product-toc li {
    margin-bottom: 4px;
    font-size: 0.95em;
}

.pc .product-toc a {
    color: var(--pc-blue);
    text-decoration: underline;
}

/* ---- Table (with existing .table-scroll) ---- */
.pc .table-scroll-wrap {
    margin: 0 0 1.5rem;
}

.pc-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
    font-size: 14px;
}

.pc-table th,
.pc-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.pc-table thead tr {
    background: #f2f2f2;
}

.pc-table tbody tr:nth-child(even) {
    background: #fafafa;
}

/* ---- Dosage ---- */
.pc-im {
    color: var(--pc-red);
}

/* ---- Indications box ---- */
.pc-indications {
    background: #f0f4f8;
    padding: 20px;
    border-radius: var(--pc-radius-sm);
}

.pc-indications__title {
    display: block;
    margin-bottom: 12px;
    color: var(--pc-blue);
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 0.4px;
    font-weight: 700;
}

.pc-indications p {
    margin: 0 0 10px;
}

.pc-indications p:last-child {
    margin-bottom: 0;
}

.pc-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.pc-links a {
    font-weight: 700;
    color: var(--pc-blue-mid);
    text-decoration: underline;
}

.pc-links a:hover {
    color: var(--pc-blue);
}

/* ---- Wholesale banner ---- */
.pc-wholesale {
    background: linear-gradient(135deg, var(--pc-blue) 0%, var(--pc-blue-dark) 100%);
    color: #fff;
    padding: 22px 24px;
    border-radius: var(--pc-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.pc-wholesale h3 {
    color: #fff;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
}

.pc-wholesale__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.pc-wholesale__label {
    margin: 0;
    font-size: 0.9em;
    opacity: 0.9;
}

.pc-wholesale__value {
    margin: 0;
    font-weight: 700;
    font-size: 1.05em;
    line-height: 1.4;
}

.pc-wholesale__value--lg {
    font-size: 1.2em;
}

.pc-wholesale__text {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.6;
    opacity: 0.95;
}

.pc-section-gap {
    margin-top: 20px;
}

.pc-pack {
    font-size: 0.87em;
    color: #666;
}

.pc-pack p {
    margin: 0 0 10px;
}

.pc-pack p:last-child {
    margin-bottom: 0;
}

.pc-chip-title {
    display: block;
    color: var(--pc-blue);
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 0.93em;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .pc-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .pc {
        font-size: 19px;
    }

    .pc-panel {
        padding: 18px 16px;
    }

    .content .pc h2.pc-title,
    .pc h2.pc-title,
    .pc-title {
        font-size: 1.75rem;
        margin-top: 28px;
    }

    .content .pc h2.pc-title--lg,
    .pc h2.pc-title--lg,
    .pc-title--lg {
        font-size: 2rem;
    }

    .pc-grid--2,
    .pc-grid--3,
    .pc-grid--4,
    .pc-meta-row {
        grid-template-columns: 1fr;
    }

    .pc-bundle__text {
        font-size: 16px;
    }

    .pc-wholesale {
        padding: 20px 16px;
    }

    .pc-card__head {
        align-items: flex-start;
    }
}
