:root { --primary: #1a202c; --accent: #0066cc; --danger: #e63946; --bg: #f8fafc; --card: #ffffff; --border: #e2e8f0; --amazon: #ff9900; --autodoc: #2d3748; --oscaro: #27ae60; }
body { font-family: 'Segoe UI', system-ui, sans-serif; background: var(--bg); color: #2d3748; margin: 0; padding: 20px; line-height: 1.6; }
.container { max-width: 950px; margin: 0 auto; background: var(--card); padding: 40px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid var(--border); }
.header-diag { border-bottom: 2px solid var(--border); padding-bottom: 20px; margin-bottom: 25px; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px; }
.header-info { flex: 1; }
.pre-title { font-size: 0.9em; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; display: block; }
h1 { margin: 0 0 15px 0; color: var(--primary); font-size: 1.9em; line-height: 1.2; }
.meta-tags { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.9em; margin-bottom: 15px; }
.tag { background: #edf2f7; padding: 4px 10px; border-radius: 6px; font-weight: 600; color: #4a5568; }
.tag-dtc { background: var(--danger); color: white; }
.publish-date { font-size: 0.85em; color: #64748b; display: flex; align-items: center; gap: 5px; }
h2 { color: var(--accent); border-left: 4px solid var(--accent); padding-left: 10px; margin-top: 30px; font-size: 1.3em; }
.hv-alert { background: #fff3cd; border-left: 6px solid #ffc107; color: #856404; padding: 15px 20px; margin-bottom: 20px; border-radius: 4px; font-weight: 500; font-size: 1.05em; display: flex; align-items: center; gap: 10px; }
.mhev-alert { background: #e0f2fe; border-left: 6px solid #38bdf8; color: #0284c7; padding: 15px 20px; margin-bottom: 20px; border-radius: 4px; font-weight: 500; }
.legal-disclaimer { background: #fef2f2; border: 1px solid #f87171; border-left: 5px solid #dc2626; padding: 15px; margin-bottom: 25px; border-radius: 4px; font-size: 0.85em; color: #7f1d1d; line-height: 1.6; }
.legal-disclaimer-title { color: #991b1b; display: block; margin-bottom: 8px; font-size: 1.1em; font-weight: bold; }
.tsb-box { background: #fff5f5; border-left: 4px solid var(--danger); padding: 18px 20px; border-radius: 0 8px 8px 0; margin: 20px 0; }
table { width: 100%; border-collapse: collapse; margin: 20px 0; display: block; overflow-x: auto; }
td, th { word-wrap: break-word; overflow-wrap: break-word; white-space: normal; }
th, td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
th { background: #edf2f7; font-weight: bold; color: var(--primary); }
ul, ol { padding-left: 20px; }
li { margin-bottom: 8px; }
.btn-regresar { display: inline-block; background: var(--primary); color: white; padding: 10px 18px; border-radius: 6px; text-decoration: none; font-weight: bold; box-shadow: 0 2px 4px rgba(0,0,0,0.1); transition: 0.2s; }
.btn-regresar:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.15); }
.pieza-bloque { background: #f8f9fa; border-left: 4px solid var(--accent); padding: 15px; margin-bottom: 15px; border-radius: 4px; }
.pieza-bloque p { margin: 0 0 10px 0; font-weight: 500; color: #333; }
.botones-afiliados { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.btn-afiliado { padding: 10px 15px; border-radius: 4px; text-decoration: none; font-weight: bold; box-shadow: 0 2px 4px rgba(0,0,0,0.1); transition: 0.2s; display: inline-flex; align-items: center; gap: 5px; font-size: 0.95em; }
.btn-afiliado:hover { transform: translateY(-2px); }
.btn-amazon { background: var(--amazon); color: #000; }
.btn-autodoc { background: var(--autodoc); color: #fff; }
.btn-oscaro { background: var(--oscaro); color: #fff; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 15px; }
.related-card { background: #f1f5f9; border: 1px solid var(--border); padding: 10px; text-align: center; border-radius: 6px; text-decoration: none; color: var(--primary); font-weight: bold; transition: 0.2s; }
.related-card:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
