.grilla_detalle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 3% 5%;
}

.grilla_detalle > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.imagen_principal {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  background-color: white;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.grilla_imagenes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  max-width: 500px;
  width: 100%;
}

.grilla_imagenes img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.grilla_imagenes img:hover {
  transform: scale(1.05);
  border-color: #181ca0;
}

.miniatura{
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.miniatura.active {
  border-color: #181ca0;
  box-shadow: 0 0 8px rgba(24, 28, 160, 0.5);
}

.grilla_detalle h1 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 15px;
}

.grilla_detalle p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.caracteristicas_producto {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.caracteristicas_producto li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #444;
  display: flex;
  align-items: center;
}

.caracteristicas_producto li i {
  color: #181ca0;
  margin-right: 10px;
}

.grup_button {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.grup_button a {
  background-color: #181ca0;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.grup_button a:hover {
  background-color: #0f1580;
}









/* Contenedor principal */
.seccion_especificaciones {
  padding: 4% 6%;
  border-radius: 12px;
}

/* Título */
.titulo_especificaciones {
  font-size: 2rem;
  font-weight: 700;
  color: #181ca0;
  text-align: center;
  margin-bottom: 10px;
}

/* Párrafo introductorio */
.intro_especificaciones {
  font-size: 1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #444;
  line-height: 1.6;
}

/* Botón encabezado (colapsable) */
.tab-especificaciones-header {
  background-color: #043399;
  color: #fff;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.3s ease;
}

.tab-especificaciones-header:hover {
  background-color: #0f1580;
}

/* Ícono dentro del botón */
.icono-toggle {
  margin-left: 10px;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

/* Rotación del ícono cuando se expande */
.icono-rotado {
  transform: rotate(180deg);
}

/* Contenido colapsable (tabla) */
.detalle_especificaciones {
  margin-top: 15px;
  display: none; /* Oculto por defecto */
  animation: fadeIn 0.3s ease-in-out;
}

/* Animación de entrada */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilos de la tabla */
.tabla_especificaciones {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  min-width: 700px;
}

.tabla_especificaciones th,
.tabla_especificaciones td {
  padding: 14px 18px;
  font-size: 0.95rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e5e7eb;
}

.tabla_especificaciones th {
  background-color: #f1f4f9;
  color: #333;
  width: 25%;
  font-weight: 600;
}

.tabla_especificaciones tr:nth-child(even) td {
  background-color: #f9f9f9;
}







.card_slide {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  text-align: center;
  transition: transform 0.3s ease;
}

.card_slide:hover {
  transform: translateY(-5px);
}

.card_slide img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 15px;
}

.card_slide h1 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #181ca0;
}

.card_slide p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.card_slide a {
  display: inline-block;
  background-color: #181ca0;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.card_slide a:hover {
  background-color: #0f1580;
}


.card_slide {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  text-align: center;
  transition: transform 0.3s ease;
}

.card_slide:hover {
  transform: translateY(-5px);
}

.card_slide img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 15px;
}

.card_slide h1 {
  font-size: 1.1rem;
  color: #181ca0;
  margin-bottom: 10px;
}

.card_slide p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.card_slide a {
  background-color: #181ca0;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.card_slide a:hover {
  background-color: #0f1580;
}

/* Flechas de Swiper */
.swiper-button-prev,
.swiper-button-next {
  color: #181ca0;
  font-weight: bold;
  transition: opacity 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  opacity: 0.7;
}



.contenedor_slider{
    padding-top: 3%;
    padding-bottom: 3%;
}


.contenedor_slider > .titulo {
  font-size: 2rem;
  color: #181ca0;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* Párrafo descriptivo debajo del título */
.contenedor_slider > .parrafo {
  font-size: 1.05rem;
  color: #444;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
}




@media (max-width: 768px) {
  .grilla_detalle {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .grup_button {
    justify-content: center;
  }

  .grilla_imagenes {
    justify-content: center;
  }

  .caracteristicas_producto {
    text-align: left;
    display: inline-block;
  }




  .tabla_especificaciones {
    min-width: 100%;
  }

  .tabla_especificaciones th,
  .tabla_especificaciones td {
    display: block;
    width: 100%;
  }

  .tabla_especificaciones tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    border-bottom: 2px solid #ccc;
  }

  .intro_especificaciones {
    text-align: justify;
  }

  .tab-especificaciones-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

 .card_slide img {
    max-height: 160px;
  }

  .contenedor_slider > .titulo {
   font-size: 1.5rem;
    padding: 0 15px;
}

/* Párrafo descriptivo debajo del título */
.contenedor_slider > .parrafo {
  font-size: 1rem;
    padding: 0 20px;
}


}
