/* postventa.css - estilos comunes para Postventa, Garantía, Recambios, Asistencia */
/* Scoped por clase para no tocar el resto del sitio */
.postventa-page{max-width:1100px;margin:0 auto;padding:10px 0}
.postventa-hero{
  background:#f7f7f7;
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  padding:22px;
  margin-bottom:18px;
}
.postventa-hero h1{margin:0 0 10px 0;font-size:28px;line-height:1.15}
.postventa-hero p{margin:8px 0;line-height:1.55}
.postventa-badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 10px;border-radius:999px;
  background:#fff;border:1px solid rgba(0,0,0,.10);
  font-size:14px;margin-top:10px
}

.postventa-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin:16px 0 18px 0;
}
@media (max-width: 980px){
  .postventa-grid{grid-template-columns:1fr}
}

.postventa-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.10);
  border-radius:14px;
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:10px;
  box-shadow:0 4px 14px rgba(0,0,0,.05);
}
.postventa-card h2{margin:0;font-size:18px}
.postventa-card p{margin:0;line-height:1.55}
.postventa-list{margin:6px 0 0 0;padding-left:18px;line-height:1.6}
.postventa-list li{margin:4px 0}

.postventa-actions{margin-top:auto;display:flex;gap:10px;flex-wrap:wrap}
.postventa-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 14px;border-radius:10px;
  text-decoration:none;font-weight:600;
  border:1px solid rgba(0,0,0,.12);
  background:#3b0a0a; color:#fff;
  transition:transform .05s ease, opacity .15s ease;
  min-height:40px;
}
.postventa-btn:hover{opacity:.92}
.postventa-btn:active{transform:translateY(1px)}
.postventa-btn.secondary{
  background:#fff;color:#3b0a0a;
  border:1px solid rgba(59,10,10,.25);
}

.postventa-block{
  background:#fff;
  border:1px solid rgba(0,0,0,.10);
  border-radius:14px;
  padding:18px;
  margin-top:14px;
}
.postventa-block h2{margin:0 0 8px 0;font-size:18px}
.postventa-small{font-size:14px;opacity:.9}
.postventa-quick{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.postventa-pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:9px 12px;border-radius:999px;
  background:#fff;border:1px solid rgba(0,0,0,.10);
  text-decoration:none;color:inherit;font-weight:600;
}
.postventa-pill:hover{border-color:rgba(59,10,10,.35)}

/* Extras usados en Garantía */
.postventa-note{
  background:#fff7f7;
  border:1px solid rgba(59,10,10,.18);
  border-radius:12px;
  padding:12px 14px;
  margin-top:12px;
  line-height:1.55;
}
.postventa-kpi{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}
@media (max-width: 980px){
  .postventa-kpi{grid-template-columns:1fr}
}
.postventa-kpi .k{
  background:#fff;
  border:1px solid rgba(0,0,0,.10);
  border-radius:12px;
  padding:12px 14px;
}
.postventa-kpi .k strong{display:block;margin-bottom:4px}
.postventa-grid.postventa-grid-2{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
@media (max-width: 980px){
  .postventa-grid.postventa-grid-2{grid-template-columns:1fr}
}
/* Modo ancho (para páginas con aside, como Garantía) */
.postventa-page.postventa-wide{
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
/* ===== Ajustes finos (Garantía) ===== */
.postventa-hero{padding:18px}
.postventa-hero h1{font-size:26px}
.postventa-hero p{max-width:1000px}

/* Badge más compacto */
.postventa-badge{
  padding:7px 10px;
  font-size:14px;
}

/* Pills más pequeñas y con mejor wrapping */
.postventa-quick{gap:8px}
.postventa-pill{
  padding:8px 10px;
  font-size:14px;
  white-space:nowrap;
}

/* Botones: igualar altura y evitar que se “estiren” raro */
.postventa-actions .postventa-btn{min-height:42px}

/* Tarjetas: un poco más de separación y títulos más fuertes */
.postventa-card{gap:12px}
.postventa-card h2{font-size:19px}
.postventa-card ul{margin-top:0}

/* Listas más limpias */
.postventa-list{padding-left:18px}
.postventa-list li{margin:6px 0}

/* Nota rosa: un pelín más “pro” */
.postventa-note{
  background:#fff5f5;
  border-color:rgba(59,10,10,.14);
}

/* En móvil: que el hero no quede gigante */
@media (max-width: 980px){
  .postventa-hero{padding:16px}
  .postventa-hero h1{font-size:24px}
}
/* Pills como tabs suaves */
.postventa-pill{
  background:rgba(255,255,255,.85);
}
.postventa-pill:hover{
  background:#fff;
}
.postventa-mininav{
  margin:10px 0 0 0;
  font-size:14px;
  opacity:.9;
}
.postventa-mininav a{
  color:inherit;
  text-decoration:underline;
  text-decoration-color:rgba(59,10,10,.35);
  text-underline-offset:2px;
}
.postventa-mininav a:hover{
  text-decoration-color:rgba(59,10,10,.75);
}
.postventa-grid.postventa-grid-3{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
@media (max-width: 980px){
  .postventa-grid.postventa-grid-3{grid-template-columns:1fr}
}
.postventa-hero{padding:16px}
/* CTA principal (ligeramente más pequeño) */
.postventa-btn.cta-primary{
  padding:8px 12px;
  font-size:14.5px;
  min-height:38px;
}

