/* Presentación en mayúsculas: no modifica datos, enlaces, claves ni CSV. */
body, body * { text-transform: uppercase !important; }
input[type=email], input[type=url], input[type=password], input[name=slug],
input[name=imagen_url], input[name=sku], code, pre, [data-case-original],
a[href^="mailto:"], a[href^="http"] [data-case-original] { text-transform: none !important; }
input::placeholder, textarea::placeholder { text-transform: uppercase; }
/* Evitar que los controles ensanchen toda la página en pantallas pequeñas. */
.hc-price-table input, [data-costos-medidas] input { max-width:100%; }
.hc-related{max-width:1100px;margin:42px auto 28px;padding:0 16px;color:#1a1a1a}
.hc-related-header{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.hc-related-header h2{font-size:clamp(20px,3vw,28px);margin:0}
.hc-related-controls{display:flex;gap:8px}
.hc-related-controls button{border:1px solid #ccd2cc;border-radius:8px;background:#fff;color:#254535;padding:8px 12px;cursor:pointer}
.hc-related-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x proximity;padding:3px 2px 16px}
.hc-related-card{flex:0 0 calc((100% - 48px)/4);min-width:0;border:1px solid #e2e6e2;border-radius:12px;padding:14px;background:#fff;color:inherit;text-decoration:none;display:flex;flex-direction:column;gap:10px}
.hc-related-card img{height:180px;width:100%;object-fit:contain;background:#fff}
.hc-related-card h3{font-size:15px;margin:0;line-height:1.45}
.hc-related-card strong{margin-top:auto;color:#254535}
.hc-related-card span{font-size:13px;text-decoration:underline}
.hc-related-card:focus-visible,.hc-related-controls button:focus-visible{outline:3px solid #227640;outline-offset:3px}
.hc-link-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}
.hc-link-list{max-height:540px;overflow:auto;border:1px solid #ddd;border-radius:10px}
.hc-link-item{display:flex;gap:12px;align-items:center;padding:12px;border-bottom:1px solid #eee}
.hc-link-item img{width:48px;height:64px;object-fit:contain}
.hc-link-item label{flex:1;cursor:pointer}.hc-link-item small{display:block;color:#58645b}
.hc-link-order{display:flex;align-items:center;gap:6px}.hc-link-order input{width:65px}
[hidden]{display:none !important}
@media(max-width:800px){.hc-related-card{flex-basis:calc((100% - 16px)/2)}.hc-link-grid{grid-template-columns:1fr}}
@media(max-width:480px){.hc-related-card{flex-basis:78%}.hc-related-card img{height:160px}}
@media(prefers-reduced-motion:reduce){.hc-related-track{scroll-behavior:auto}}
@media print{.hc-related{display:none}}
