/* Compact product-page layout, shared by every product page (2026-11-25).
   Load after product-detail.css. Page-only styles (EX comparison, EPV lists,
   PCX modules) stay in their pages. */

/* Desktop: tighten the hero so the section below shows without scrolling */
@media (min-width: 1025px) {
    .product-hero { padding: 24px 0 48px; }
    .product-info { padding-top: 0; }
    .product-category-badge { margin-bottom: 10px; }
    .product-info h1 { margin-bottom: 4px; }
    .product-subtitle { font-size: 1.02rem; margin-bottom: 12px; }
    .product-description { font-size: 1rem; line-height: 1.55; margin-bottom: 16px; }
    .quick-specs { padding: 16px 20px; margin-bottom: 18px; }
    .quick-specs-title { margin-bottom: 10px; }
    .quick-specs-grid { gap: 8px 16px; }
    .product-actions { margin-bottom: 16px; }
    .resource-link { padding: 11px 18px; }
}

/* Section under the hero */
.pd-sum { padding: 36px 0 52px; background: var(--bg-light); border-top: 0; }
.pd-sum .section-header { max-width: none; margin-bottom: 14px; }
.pd-sum .section-header h2 { font-size: 1.9rem; margin-bottom: 6px; }
.pd-sum .section-header p { max-width: none; font-size: 14.5px; }
@media (min-width: 1025px) { .pd-sum { padding-top: 24px; } }

.pd-panel { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 22px 24px; }
.pd-panel h3 { margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-medium); }
.pd-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 28px; }
.pd-feats-3 { grid-template-columns: repeat(3, 1fr); }
.pd-feat { display: flex; gap: 12px; min-width: 0; }
.pd-feat > i { flex: 0 0 auto; width: 38px; height: 38px; font-size: 16px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--bg-light); color: var(--accent); }
.pd-feat h4 { margin: 0 0 3px; font-size: 15px; color: var(--text-dark); }
.pd-feat p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-medium); }
@media (max-width: 1024px) { .pd-feats-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .pd-sum { padding: 34px 0 40px; }
    .pd-sum .section-header h2 { font-size: 1.45rem; }
    .pd-panel { padding: 18px; }
    .pd-feats, .pd-feats-3 { grid-template-columns: 1fr; gap: 14px; }
}
[data-theme="dark"] .pd-sum { background: #0f172a; }
[data-theme="dark"] .pd-sum .section-header h2 { color: #f1f5f9; }
[data-theme="dark"] .pd-sum .section-header p { color: #cbd5e1; }
[data-theme="dark"] .pd-panel { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .pd-panel h3 { color: #94a3b8; }
[data-theme="dark"] .pd-feat h4 { color: #f1f5f9; }
[data-theme="dark"] .pd-feat p { color: #cbd5e1; }
[data-theme="dark"] .pd-feat > i { background: #334155; color: #93c5fd; }
