/* ==========================================
   PLANTILLA DE PRODUCTOS INTERNAS (MABO)
   ========================================== */
.product-template-page {
  background-color: #f8fafc;
  padding-bottom: 80px;
}

/* Banner superior */
.product-category-banner {
  background: linear-gradient(135deg, #001a72 0%, #1b3aab 100%);
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.product-category-banner h1 {
  font-size: 36px;
  margin-bottom: 12px;
  font-weight: 500;
}

.product-category-banner p {
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
  line-height: 1.5;
}

/* Contenedor de filas */
.product-models-section {
  padding-top: 60px;
}

/* Filas individuales del producto */
.model-row {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 70px;
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid #eef2f5;
}

/* Truco CSS: Voltea el orden visual solo en ordenadores */
.model-row.row-reverse {
  flex-direction: row-reverse;
}

/* Bloque de imagen */
.model-image {
  flex: 1;
  min-width: 40%;
}

.model-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  display: block;
}

/* Bloque de contenido técnico */
.model-info {
  flex: 1.2;
}

.model-badge {
  display: inline-block;
  background-color: #e0e7ff;
  color: #1b3aab;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.model-info h2 {
  font-size: 26px;
  color: #001a72;
  margin-bottom: 15px;
  font-weight: 500;
}

.model-info p {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 25px;
  text-align: justify;
}

/* Botón de llamada a la acción */
.btn-model-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #1b3aab;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.btn-model-cta:hover {
  background-color: #001a72;
  transform: translateY(-2px);
}

/* --- ADAPTACIÓN ULTRA-RESPONSIVE --- */
@media (max-width: 992px) {
  .model-row,
  .model-row.row-reverse {
    flex-direction: column; /* Pasa todo a vertical en tablets/móviles */
    gap: 25px;
    padding: 20px;
  }

  .model-image {
    width: 100%;
  }

  .model-image img {
    height: 250px; /* Reducimos altura de foto para que no ocupe toda la pantalla del móvil */
  }

  .model-info p {
    text-align: left;
  }
}
