/*
 Theme Name: NicaPress
 Theme URI: https://generatepress.com/
 Description: Tema hijo para personalizaciones
 Author: Roderick Zapata
 Template: generatepress
 Version: 1.0.1
 Text Domain: generatepress-child
*/
/* Fondo moderno y elegante */
/* body {
  background: linear-gradient(135deg, #f5f5f5, #e9ecef, #ffffff);
}
/* Reglas comunes para encabezados */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-block: 1.5rem 0.75rem; /* espaciado vertical coherente */
  font-weight: 700;
  line-height: 1.2; /* encabezados más compactos y legibles */
  letter-spacing: -0.01em;
}

/* Tamaños fluidos con clamp(): mínimo, fluido (vw), máximo */
h1 {
  font-size: clamp(2rem, 1.6rem + 2.5vw, 2.75rem);
}
h2 {
  font-size: clamp(1.75rem, 1.5rem + 2vw, 2rem);
}
h3 {
  font-size: clamp(1.5rem, 1.3rem + 1.5vw, 1.75rem);
}
h4 {
  font-size: clamp(1.25rem, 1.15rem + 1vw, 1.5rem);
}
h5 {
  font-size: clamp(1.125rem, 1.05rem + 0.8vw, 1.25rem);
  font-weight: 600;
}
h6 {
  font-size: clamp(1rem, 0.98rem + 0.6vw, 1.125rem);
  font-weight: 600;
}

/* Separación suave cuando un párrafo sigue a un encabezado */
h1 + p,
h2 + p,
h3 + p,
h4 + p,
h5 + p,
h6 + p {
  margin-top: 0.5rem;
}

/* Párrafos con tipografía fluida */
p {
  font-size: clamp(1rem, 0.98rem + 0.25vw, 1.125rem);
  line-height: 1.6; /* mejora la legibilidad en bloques largos */
  margin-block: 1rem; /* ritmo vertical consistente */
}

/* Contenedor Hero */
.contenedor {
  width: 100%; /* ocupa todo el ancho disponible */
  max-width: 1200px; /* límite fijo que tú definas */
  margin-inline: auto; /* lo centra respecto al viewport */
  box-sizing: border-box;
}

/* Card base */
.card-prod {
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.card-prod:where(:hover, :focus-within) {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* Lista de detalles (solo layout) */
.prod-dl {
  display: grid;
  grid-template-columns: 110px minmax(100px, 1fr);
  row-gap: 0.35rem;
  column-gap: 0.75rem;
  margin: 0.75rem 0 1rem;
}
.prod-dl > div {
  display: contents;
}
.prod-dl dt {
  font-weight: 500;
} /* color se asigna en el editor */
.prod-dl dd {
  margin: 0;
  font-weight: 600;
}

.btn-wa {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #000;
  padding: 15px 22px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: transform 0.2s ease;
}

.btn-wa:hover {
  transform: scale(1.05);
}

.wa-icon {
  width: 22px;
  height: 22px;
}
