/* CSS2 (INFORME LEGAL, PRIVACIDAD Y COOKIES)*/


/* INFORME*/
.informe-legal-container {
   background-color: white;
  padding: 20px; /* Opcional: añade espacio alrededor del texto */
  border-radius: 8px; /* Opcional: bordes redondeados para mejor diseño */
  text-align: center;
}

.legal-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  justify-items: center;
}

.legal-card {
  background-color: #f2f2f2;
  border-radius: 12px;
  padding: 2rem 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 300px;
}

.legal-card img {
  width: 220px;
  margin-bottom: 1rem;
}

.legal-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #0b3d0b;
}

.legal-card a {
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  color: #195734;
  transition: color 0.2s ease;
}

.legal-card a:hover {
  color: #0d3d25;
}

.legal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}






/* añadir a css2 */
/* Aviso Legal - Estilo Profesional */
.aviso-legal-section {
  background-color: #f4f4f6;
  padding: 2.5rem 8rem;
}



/* Título principal */
.aviso-title {
  font-family: 'Lato', sans-serif;
  font-size: 2.7rem;
  text-align: center;
  color: #111;
  margin-bottom: 2rem;
  position: relative;
}

.aviso-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #333;
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Subtítulos */
.aviso-legal-wrapper h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  color: #222;
  font-weight: bold;
  border-left: 5px solid #222;
  padding-left: 0.8rem;
}

/* Sub-subtítulos */
.aviso-legal-wrapper h3,
.aviso-legal-wrapper h4 {
  font-size: 1.2rem;
  margin-top: 2rem;
  font-weight: 600;
  color: #333;
}

/* Párrafos */
.aviso-legal-wrapper p {
  margin: 1rem 0;
  font-weight: 400;
}

/* Listas */
.aviso-legal-wrapper ul {
  padding-left: 1.5rem;
  margin: 1rem 0;
  list-style-type: disc;
}

.aviso-legal-wrapper li {
  margin-bottom: 0.5rem;
}

/* Negritas */
.aviso-legal-wrapper strong {
  font-weight: 700;
  color: #000;
}

.aviso-bloque {
  margin-bottom: 3rem; /* separa visualmente cada sección */
  padding-bottom: 2rem;
  border-bottom: 1px solid #ddd; /* línea sutil si quieres aún más separación */
}















/* filtro búsqueda */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 30px 20px;
  background-color: #f2f2f2;
}

.filters button {
  background-color: transparent;
  border: 1.5px solid #195734;
  color: #195734;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.7px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(3px);
}

.filters button:hover {
  background-color: #195734;
  color: white;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.filters button.active {
  background-color: #195734;
  color: white;
  border-color: #003366;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
  .filters {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .filters button {
    width: 90%;
    max-width: 300px;
    text-align: center;
    font-size: 14px;
    padding: 12px 20px;
  }
}





.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 35px;
  padding: 80px;
  max-width: 1800px;
  margin: auto;
}

.product {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: transform 0.25s ease;
}

.product:hover {
  transform: scale(1.025);
}

.product img {
  width: 100%;
  height: 275px;
  object-fit: cover;
}

.product-info {
  padding: 15px 20px;
}

.product-info h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #034f09;
}

.product-info p {
  margin: 0;
  font-size: 14px;
  color: #646363;
}


/*PRODUCTOS*/

.product-link {
  text-decoration: none;      /* Quita el subrayado */
  color: inherit;             /* Usa el mismo color del texto original */
  font-weight: normal;        /* Peso normal por defecto */
}

.product-link:hover {
  font-weight: bold;          /* Negrita al pasar el ratón */
}

/* Solo para móvil */
@media (max-width: 768px) {
  nav#mainMenu {
    display: none;
  }

  .hamburger-btn {
    display: block;
  }

  header {
    position: relative;
  }
}








/* Paginación básica: puedes ajustar estilos sin tocar la estructura */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 20px 0;
  user-select: none;
}

.page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #005c08;
  border-radius: 8px;
  background: #046401;
  cursor: pointer;
  line-height: 34px;
  text-align: center;
  transition: background .2s, border-color .2s; 
}

.page-btn:hover { background: #f3f4f6; }
.page-btn.active, .page-btn[aria-current="page"] {
  background: #0d4b01;
  border-color: #ffffff;
  color: #fff;
}
.page-btn[disabled] {
  opacity: .5;
  cursor: not-allowed;
  background: #036600;
}














  