﻿
  .btn-agotado {
    display: inline-block;
    background-color: #c70000; /* rojo */
    color: #fff; /* blanco */
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.3s;
  }

  .btn-agotado:hover {
    background-color: #a00000; /* rojo más oscuro al pasar el mouse */
  }

  .icono-carrito {
    margin-right: 8px;
  }


.page-title {
  font-size: 1.2rem !important;  /* fuerza que este tamaño se aplique */
  color: #005daa !important;     /* fuerza que el color se mantenga */
  text-align: center;
  font-weight: bold;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .page-title {
    font-size: 1.4rem !important;
  }
}

.iconos-contenedor {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 941px;
  margin: 40px auto 20px auto;
  gap: 20px;
  flex-wrap: wrap;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #ccc;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
}

.icono-item {
  flex: 1 1 20%;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 0.9em;
  color: #333;
}

.icono-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
}

.icono-item a {
  text-decoration: none;   /* quita el subrayado */
  color: #0066cc;          /* usa el color heredado del contenedor */
  display: block;          /* para que toda el área sea clicable */
  text-align: center;
}

.icono-item a:hover {
  color: #0066cc;          /* cambia el color al pasar el mouse (opcional) */
}

.icono-item p {
  font-weight: bold; /* Aplica negrita al texto dentro del elemento <p> de cada ícono */
}

.producto-contenedor {
  width: 941px;                
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 15px;
  background: #fafafa; /* Fondo del contenedor */
}

.producto-imagen-precio,
.producto-descripcion {
  flex: 1 1 45%;
  box-sizing: border-box;
  padding: 10px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff; /* Fondo cajas internas */
}

.producto-imagen-precio img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin-bottom: 15px;
}

.precio {
  font-size: 1.5em;
  color: #0066cc;
  font-weight: bold;
  margin-bottom: 15px;
}

.btn-comprar {
  background-color: #0066cc;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.3s ease;
  text-decoration: none;
  justify-content: center;
  width: 180px;
}

.btn-comprar:hover {
  background-color: #004a99;
}

.btn-comprar .icono-carrito {
  font-size: 1.3em;
}

/* En el contenedor descripción: alinear texto a la izquierda y que la tabla ocupe 100% */
.producto-descripcion {
  align-items: flex-start;
  text-align: left;
}

.producto-descripcion table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 9pt;
  margin-top: 10px;
}

.producto-descripcion table td,
.producto-descripcion table th {
  border: 1px solid #ccc;
  padding: 6px 8px;
  vertical-align: top;
}

.producto-descripcion table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.producto-descripcion table strong {
  font-weight: bold;
}

@media (max-width: 960px) {
  .producto-contenedor {
    width: 100%;
    flex-direction: column;
    padding: 10px;
  }

  .producto-imagen-precio,
  .producto-descripcion {
    flex: 1 1 100%;
    align-items: center;
    text-align: center;
    padding: 5px 0;
  }

  .producto-descripcion {
    text-align: center;
  }

  .producto-descripcion table {
    font-size: 8pt;
  }
}



/* CSS BOTON ENTREGA GRATIS */


.entrega-gratis-container {
  display: flex;
  flex-direction: column;  /* pone el texto debajo */
  justify-content: center; /* centra verticalmente */
  align-items: center;     /* centra horizontalmente */
  margin-top: 20px;
  width: 100%;             /* que el contenedor ocupe todo el ancho */
}

.entrega-gratis-img {
  max-width: 150px;
  height: auto;
  display: block;
}

.entrega-gratis-texto {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #007bff;
  text-align: center;
  width: 100%;
}
.style1 {
  color: red;       /* texto rojo */
  font-weight: bold; /* opcional, que destaque más */
}
#productos-12V {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 941px;
  margin: 0 auto;
}

#productos-12V .producto-contenedor {
  flex: 1 1 calc(33.333% - 20px); /* 3 columnas en escritorio */
  box-sizing: border-box;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 8px;
  display: flex;
  flex-direction: row; /* imagen y descripción lado a lado */
  gap: 10px;
}

#productos-12V .producto-imagen-precio {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#productos-12V .producto-imagen-precio img {
  max-width: 250px;
  max-height: 250px;
  width: auto;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

#productos-12V .producto-descripcion {
  flex: 1 1 auto;
}

#productos-12V .precio {
  margin-bottom: 10px;
  font-weight: bold;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  #productos-12V .producto-contenedor {
    flex-direction: column; /* ahora imagen encima de descripción */
  }

  #productos-12V .producto-imagen-precio img {
    max-width: 100%;
    height: auto;
  }
}









  