/* ============================= */
/*           RESET              */
/* ============================= */
body {
  margin: 0;
  padding: 0;
  font-family: 'Lato', sans-serif;
  background-color: #fff;
}





/* ============================= */
/*           HEADER             */
/* ============================= */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: #1C6C6C;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.main-container {
  margin-top: 120px; /* o más si lo deseas */
}
.main-container {
  padding-top: 120px;
}

.contenedor-producto-detalle {
  margin-top: 30px; /* por si también quieres separación adicional */
}
.logo img,
  .logo-second img {
    height: 40px;
    max-width: 100px;
  }
  
  .menu-toggle {
    display: block;
    position: absolute;
    right: 40px;
    top: 15px;
  }



.header img,
.logo img {
  height: 30px;
  object-fit: contain;
}

.header.scrolled {
  background-color: #ffffff;
  box-shadow: 0 2px 10px #f8f8f8;
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.menu ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 10px;
  padding: 10px;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.menu ul li a:hover {
  color: #000000;
  border-bottom: 2px solid #0e5052;
}

.header.scrolled .menu ul li a {
  color: #126365;
}

/* ============================= */
/*            NAV               */
/* ============================= */
nav {
  display: flex;
  flex-grow: 1;
  justify-content: center;
}

/* ============================= */
/*           SUBMENÚ            */
/* ============================= */
.submenu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: transparent;
  margin-top: 2px;
}

.submenu:hover .sub-menu {
  display: block;
}

.sub-menu li {
  display: block;
  padding: 5px 0;
}

.sub-menu li a {
  font-size: 16px;
  color: #333;
  text-decoration: none;
}

.sub-menu li a:hover {
  color: #007bff;
}

/* ============================= */
/*         HERO / SLIDER        */
/* ============================= */
.hero {
  position: relative;
  overflow: hidden;
  height: 80vh;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 30px;
}

.hero-carousel,
.hero-slider,
.hero-images {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-images {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-image.active {
  opacity: 1;
  z-index: 2;
}

/* ============================= */
/*         PRODUCTS              */
/* ============================= */
.products {
  margin-top: 100px;
  padding: 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: scale(1.05);
}

.product-card img {
  width: 80px; /* más pequeño */
  height: auto;
  margin-bottom: 10px;
}
.product-card h3 {
  font-size: 14px;
  margin: 5px 0;
}

.product-card p {
  font-size: 12px;
  color: #666;
  margin: 0;
}

.titulo-recuadro {
  background-color: #e2eff7;
  border-left: 8px solid #126365;
  padding: 20px;
  margin: 30px auto;
  max-width: 800px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}






/* ============================= */
/*          SIDEBAR             */
/* ============================= */
.contenedor {
  display: flex;
  justify-content: flex-start;
  max-width: 1500px; /* Aumenté el ancho de 900px a 1200px */
  margin: 100px 0 0 20px;
}

.sidebar {
  width: 250px;
  padding: 20px;
  background-color: #f5f5f5;
}

.sidebar h3 {
  color: #005bac;
}

.buscador {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
}

.categorias {
  list-style: none;
  padding: 0;
}

.categorias li {
  cursor: pointer;
  padding: 8px;
  background-color: #ddd; /* <- Esto sobrescribe el color de clase */
  margin: 5px 0;
  border-radius: 4px;
}


.categorias li:hover {
  background-color: #bbb;
  color: #000;
}

.btn {
  color: white;
  border: none;
  padding: 10px;
  margin-bottom: 5px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.product-card img {
  display: block;
  width: 100%;
  border-bottom: 5px solid transparent; /* Línea base invisible */
  border-radius: 10px 10px 0 0;
}

/* Aplica el color según la clase de la tarjeta */
.product-card.antibioticos img { border-bottom-color: #60a917; }
.product-card.antiinflamatorios img { border-bottom-color: #3e65ff; }
.product-card.externos img { border-bottom-color: #415b76; }
.product-card.internos img { border-bottom-color: #243c4a; }
.product-card.biologicos img { border-bottom-color: #0073b7; }
.product-card.estetica img { border-bottom-color: #01768f; }
.product-card.nutricionales img { border-bottom-color: #f68b1f; }
.product-card.antimicotico img { border-bottom-color: #3a0977; }
.product-card.todos img { border-bottom-color: #888; }


.categorias .btn {
  display: block;
  width: 80%;              /* Más largo horizontalmente */
  margin: 6px auto;        /* Centrado con espacio reducido */
  padding: 6px 12px;       /* Más delgado (menos alto) */
  font-size: 13px;         /* Letra más pequeña */
  border: none;
  border-radius: 6px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Colores por categoría */
.categorias .btn.antibioticos       { background-color: #60a917; }
.categorias .btn.antiinflamatorios  { background-color: #3e65ff; }
.categorias .btn.externos           { background-color: #415b76; }
.categorias .btn.internos           { background-color: #243c4a; }
.categorias .btn.biologicos         { background-color: #0073b7; }
.categorias .btn.estetica           { background-color: #01768f; }
.categorias .btn.nutricionales      { background-color: #f68b1f; }
.categorias .btn.antimicotico       { background-color: #3a0977; }
.categorias .btn.todos              { background-color: #888888; }

/* Efecto hover opcional */
.categorias .btn:hover {
  filter: brightness(1.1);
}


    /* ============================= */
    /*           FOOTER             */
    /* ============================= */
    footer {
      background: #1C6C6C;
      color: #fff;
      text-align: center;
      padding: 0.5em 0;
      margin-top: 30px;
    }

    .footer-lyfsa {
      background-color: #16686A;
      color: white;
      font-family: 'Segoe UI', sans-serif;
    }

    .footer-container {
      padding: 20px 20px 20px;
      max-width: 2000px;
      margin: 0 auto;
      text-align: center;
    }

    .footer-logo img {
      width: 50px;
      margin-bottom: 20px;
    }

    .footer-columns {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 40px;
      margin-bottom: 20px;
    }

    .footer-column {
      flex: 1 1 200px;
      min-width: 200px;
    }

    .footer-column h3 {
      margin-bottom: 10px;
      font-size: 16px;
      font-weight: bold;
    }

    .footer-column p {
      margin: 5px 0;
    }

    .footer-social {
      margin-top: 20px;
    }

    .footer-social a {
      margin: 0 10px;
      display: inline-block;
    }

    .footer-social img {
      width: 20px;
      height: 20px;
    }

    .footer-rights {
      background-color: #0A4B4C;
      padding: 10px 0;
      font-size: 14px;
      text-align: center;
    }

    .footer-lyfsa {
  font-size: 12px;
  background-color: #16686A;
  color: white;
  font-family: 'Segoe UI', sans-serif;
}

.footer-column h3 {
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: bold;
}

.footer-column p {
  font-size: 12px;
  margin: 5px 0;
}

.footer-rights {
  background-color: #0A4B4C;
  padding: 10px 0;
  font-size: 11px;
  text-align: center;
}


body {
      font-family: 'Lato', sans-serif;
      margin: 0;
      padding: 0;
    }
    .advertisement-content h2 {
      color: #126365;
    }
    .advertisement-content p {
      color: white;
    }
    .advertisement-button {
      display: inline-block;
      padding: 12px 30px;
      font-size: 16px;
    }
    @media screen and (max-width: 768px) {
      .about-container, .advertisement-container, .product-types {
        flex-direction: column;
        text-align: center;
      }
      .about-container img, .advertisement-container img {
        width: 100%;
        height: auto;
      }
      .about-content, .advertisement-content {
        padding: 20px;
      }
      .product-card {
        width: 100%;
        margin-bottom: 20px;
      }
      .product-types {
        flex-direction: column;
      }
    }
     /* Botón del menú en esquina superior derecha */
.menu-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  cursor: pointer;
}

.menu-toggle .menu-icon {
  width: 32px;
  height: auto;
}

/* Menú pantalla completa */
.overlay-menu {
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  background-color: #1C6C6C;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.overlay-menu .close-btn {
  position: absolute;
  top: 100px; /* Más abajo que el borde superior */
  right: 30px;
  font-size: 36px;
  color: white;
  cursor: pointer;
}


.overlay-content {
  text-align: center;
  color: white;
}

.overlay-content a {
  display: block;
  margin: 20px 0;
  font-size: 22px;
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.overlay-content a:hover {
  color: #ffcc00;
}

.overlay-logo {
  width: 150px;
  margin-bottom: 30px;
}


/* Oculta menú tradicional en móviles */
@media (max-width: 768px) {
  nav.menu {
    display: none;
  }
}



.logo-container {
  display: flex;
  align-items: center;
  gap: 15px; /* Espacio entre logos */
}

.logo img,
.logo-second img {
  height: 40px;
  width: auto;
}

@media (max-width: 600px) {
  .logo-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo img,
  .logo-second img {
    height: 30px;
  }
}


@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  header.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
  }

  .logo-container {
    display: flex;
    align-items: center;
  }

  .logo img,
  .logo-second img {
    height: 30px;
    width: auto;
  }

  .menu-toggle {
    width: 35px;
    height: 35px;
  }

  .menu-toggle img {
    width: 100%;
    height: auto;
  }

  .contenedor {
    display: flex;
    flex-direction: column;
  }

  /* OCULTAR TEXTO "Tenemos lo que buscas..." */
  .sidebar h2 {
    display: none;
  }

  /* BOTÓN PARA MOSTRAR LA SIDEBAR */
  .sidebar {
    display: none;
    flex-direction: column;
    background-color: #f1f1f1;
    padding: 10px;
    width: 100%;
    z-index: 2;
  }

  .sidebar.mostrar {
    display: flex;
  }

  .sidebar-toggle {
    background-color: #4CAF50;
    color: white;
    padding: 8px 12px;
    text-align: center;
    font-weight: bold;
    border: none;
    cursor: pointer;
    width: 100%;
    margin: 10px 0;
    border-radius: 5px;
  }

  .categorias {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .categorias .btn {
    display: block;
    width: 80%;
    margin: 6px auto;
    padding: 6px 12px;
    font-size: 13px;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  /* PRODUCTOS DE 2 EN 2 */
  .product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    justify-items: center;
    padding: 10px;
  }

  .product-card {
    width: 100%;
    max-width: 160px;
    text-align: center;
    padding: 8px;
  }

  .product-card img {
    width: 100%;
    height: auto;
  }

  /* FOOTER RESPONSIVO Y COMPACTO */
  .footer-lyfsa {
    padding: 15px 10px;
    font-size: 13px;
  }

  .footer-columns {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-logo img {
    width: 80px;
    height: auto;
  }

  .footer-social img {
    width: 20px;
    height: 20px;
    margin: 0 5px;
  }

  .footer-rights {
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
  }
}

/* Por defecto, el toggle NO se muestra */
.sidebar-toggle {
  display: none;
}

/* Solo se muestra en pantallas pequeñas */
@media (max-width: 768px) {
  .sidebar-toggle {
    display: block;
    background-color: #4CAF50;
    color: white;
    padding: 8px 12px;
    text-align: center;
    font-weight: bold;
    border: none;
    cursor: pointer;
    width: 100%;
    margin: 10px 0;
    border-radius: 5px;
  }

  .sidebar {
    display: none;
    flex-direction: column;
    background-color: #f1f1f1;
    padding: 10px;
    width: 100%;
    z-index: 2;
  }

  .sidebar.mostrar {
    display: flex;
  }

  .sidebar h2 {
    display: none;
  }

  .categorias .btn {
    display: block;
    width: 80%;
    margin: 6px auto;
    padding: 6px 12px;
    font-size: 13px;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

 
  /* Header */
  .header {
    padding: 10px 15px;
    height: auto;
    flex-direction: row;
    align-items: center;
    background-color: rgba(82, 147, 196, 0.7);
  }
  .logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .logo img,
  .logo-second img {
    height: 40px;
    max-width: 100px;
  }
  
  .menu-toggle {
    display: block;
    position: absolute;
    right: 25px;
    top: 5px;
  }

}




@media (max-width: 768px) {
  /* Header */
  .header {
    padding: 10px 15px;
    height: auto;
    flex-direction: row;
    align-items: center;
    background-color: rgba(82, 147, 196, 0.7);
  }
  .logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .logo img,
  .logo-second img {
    height: 40px;
    max-width: 100px;
  }
  
  .menu-toggle {
    display: block;
    position: absolute;
    right: 40px;
    top: 15px;
  }

  .contenedor {
    display: flex;
    flex-direction: column;
  }

  /* OCULTAR TEXTO "Tenemos lo que buscas..." */
  .sidebar h2 {
    display: none;
  }

  /* BOTÓN PARA MOSTRAR LA SIDEBAR */
  .sidebar {
    display: none;
    flex-direction: column;
    background-color: #f1f1f1;
    padding: 10px;
    width: 100%;
    z-index: 2;
  }

  .sidebar.mostrar {
    display: flex;
  }

  .sidebar-toggle {
    background-color: #4CAF50;
    color: white;
    padding: 8px 12px;
    text-align: center;
    font-weight: bold;
    border: none;
    cursor: pointer;
    width: 100%;
    margin: 10px 0;
    border-radius: 5px;
  }

  .categorias {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .categorias .btn {
  display: block;
  width: auto;           /* Cambiado de 80% a auto */
  min-width: 70px;      /* Coincide con .sidebar-toggle */
  max-width: 70%;
  margin: 6px auto;      /* Centrado */
  padding: 8px 20px;     /* Más espacioso */
  font-size: 13px;
  border: none;
  border-radius: 6px;
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
}


  /* PRODUCTOS DE 2 EN 2 */
  .product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    justify-items: center;
    padding: 10px;
  }

  .product-card {
    width: 100%;
    max-width: 160px;
    text-align: center;
    padding: 8px;
  }

  .product-card img {
    width: 100%;
    height: auto;
  }

  /* FOOTER RESPONSIVO Y COMPACTO */
  .footer-lyfsa {
    padding: 15px 10px;
    font-size: 13px;
  }

  .footer-columns {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-logo img {
    width: 80px;
    height: auto;
  }

  .footer-social img {
    width: 20px;
    height: 20px;
    margin: 0 5px;
  }

  .footer-rights {
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
  }
}

/* Por defecto, el toggle NO se muestra */
.sidebar-toggle {
  display: none;
}

/* Solo se muestra en pantallas pequeñas */
@media (max-width: 768px) {
  .sidebar-toggle {
  display: block;
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  text-align: center;
  font-weight: bold;
  border: none;
  cursor: pointer;
  width: auto; /* Cambiado de 100% a auto */
  margin: 10px auto; /* Centrado */
  border-radius: 5px;
  font-size: 14px;
  min-width: 150px; /* Le das un tamaño mínimo */
  max-width: 90%;   /* Evitas que se haga demasiado largo */
}


  .sidebar {
    display: none;
    flex-direction: column;
    background-color: #f1f1f1;
    padding: 10px;
    width: 100%;
    z-index: 2;
  }

  .sidebar.mostrar {
    display: flex;
  }

  .sidebar h2 {
    display: none;
  }

  .categorias .btn {
    display: block;
    width: 80%;
    margin: 6px auto;
    padding: 6px 12px;
    font-size: 13px;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
}

.sidebar h3,
.sidebar p {
  display: none;
}

.submenu-items a {
  font-size: 0.85rem;  /* Letra más pequeña */
  margin-right: 8px;   /* Espacio pequeño entre enlaces */
  padding: 2px 4px;    /* Algo de espacio interno para que no estén pegados */
  white-space: nowrap; /* Que no se rompan en varias líneas */
}




@media (max-width: 768px) {
  .product-card {
    width: 45%;
    margin: 0 8px;
    
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px; /* espacio entre tarjetas */
  padding: 1rem;
}

.product-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 48%;
  max-width: 250px;
  text-align: center;
}
  }


}

@media (max-width: 480px) {
  .product-card {
    width: 90%;
    margin: 0 auto;
  }
  
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px; /* espacio entre tarjetas */
  padding: 1rem;
}

.product-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 48%;
  max-width: 250px;
  text-align: center;
}
}



.header {
  padding: 10px 20px; /* antes 10px 20px */
  min-height: 60px;   /* fuerza una altura mínima mayor */
}
.menu-toggle {
  top: 20px;          /* ajusta si el header creció */
  right: 25px;
  width: 45px;        /* más ancho */
  height: 45px;       /* más alto */
}

.menu-toggle .menu-icon {
  width: 100%;
  height: auto;
}
.header {
  padding: 10px 20px;
  min-height: 80px;
}

.logo img,
.logo-second img {
  height: 50px;
  max-width: 120px;
}

.menu-toggle {
  width: 40px;
  height: 40px;
  top: 15px;
  right: 20px;
}


/* Logo principal */
.logo img {
  height: 50px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
}

/* Segundo logo */
.logo-second img {
  height: 80px;
  max-width: 260px;
  width: auto;
  object-fit: contain;
}
.categorias {
  list-style: none;
  padding: 0;
  max-width: 400px;
  margin: 20px auto;
  font-family: 'Segoe UI', sans-serif;
}

.categorias > li {
  margin-bottom: 15px;
}

.btn {
  display: block;
  width: 80%;
  margin: 0 auto 8px;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.btn.antibioticos       { background-color: #60a917; }
.btn.antiinflamatorios  { background-color: #3e65ff; }
.btn.biologicos         { background-color: #0073b7; }
.btn.antimicotico       { background-color: #3a0977; }

.btn:hover {
  filter: brightness(1.1);
}

.categoria-links {
  padding-left: 10%;
}

.categoria-links .btn {
  width: 90%;
  font-size: 13px;
  margin-bottom: 6px;
  padding: 8px 12px;
  border-radius: 5px;
}



.categorias {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 400px;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
}

.categorias > li {
  border-bottom: 1px solid #eee;
}

.btn {
  width: 100%;
  text-align: left;
  padding: 15px 20px;
  background: #1e88e5;
  color: white;
  font-size: 16px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #1565c0;
}

.sublista {
  display: none;
  background: #f9f9f9;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 15px;
}

.sublista li {
  margin: 8px 0;
}

.sublista li a {
  text-decoration: none;
  color: #1e88e5;
  font-size: 15px;
  position: relative;
  transition: color 0.2s ease;
}

.sublista li a::before {
  content: '🔗';
  margin-right: 6px;
}

.sublista li a:hover {
  color: #0d47a1;
  text-decoration: underline;
}


.categorias {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categorias li {
  margin-bottom: 10px;
}

.categorias .btn {
  width: 100%;
  background-color: #2a7ae4;
  color: white;
  padding: 10px 15px;
  text-align: left;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.categorias .btn:hover {
  background-color: #1e5bbf;
}

.categoria-links {
  display: none;
  margin-top: 5px;
  padding-left: 10px;
}

.categoria-links a {
  display: block;
  padding: 5px 10px;
  background-color: #f1f1f1;
  margin-bottom: 5px;
  text-decoration: none;
  border-radius: 4px;
  color: #333;
  transition: background-color 0.2s ease;
}

.categoria-links a:hover {
  background-color: #ddd;
}


.categoria-links a {
  display: block;
  padding: 8px 10px;
  color: #333;
  background-color: #f5f5f5;
  margin: 4px 0;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.categoria-links a:hover {
  background-color: #e0e0e0;
}


.categorias {
      list-style: none;
      padding: 0;
      max-width: 400px;
      margin: 20px auto;
      font-family: 'Segoe UI', sans-serif;
    }

    .categorias > li {
      margin-bottom: 15px;
    }

    .btn {
      display: block;
      width: 80%;
      margin: 0 auto 8px;
      padding: 10px 15px;
      font-size: 14px;
      font-weight: 600;
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      text-align: left;
      transition: background-color 0.3s ease;
      text-decoration: none;
    }

    

    .btn:hover {
      filter: brightness(1.1);
    }

    .categoria-links {
      padding-left: 10%;
    }

    .categoria-links .btn {
      width: 90%;
      font-size: 13px;
      margin-bottom: 6px;
      padding: 8px 12px;
      border-radius: 5px;
    }

    .product-card img {
  width: 180px;         /* Puedes ajustar el tamaño a tu gusto */
  height: 250px;
  object-fit: cover;    /* Recorta y mantiene proporciones sin deformar */
  display: block;
  margin: 0 auto;       /* Centra la imagen si es necesario */
  border-radius: 8px;   /* Opcional: bordes redondeados */
}


.categorias {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 400px;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
}

.categorias > li {
  border-bottom: 1px solid #eee;
}

.btn {
  width: 100%;
  text-align: left;
  padding: 15px 20px;
  background: #1e88e5;
  color: white;
  font-size: 16px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #1565c0;
}

.sublista {
  display: none;
  background: #f9f9f9;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 15px;
}

.sublista li {
  margin: 8px 0;
}

.sublista li a {
  text-decoration: none;
  color: #1e88e5;
  font-size: 15px;
  position: relative;
  transition: color 0.2s ease;
}

.sublista li a::before {
  content: '🔗';
  margin-right: 6px;
}

.sublista li a:hover {
  color: #0d47a1;
  text-decoration: underline;
}


.menu-toggle {
  position: fixed;
  top: 40px;
  right: 25px;
  z-index: 1001;
  cursor: pointer;
}

.menu-toggle .menu-icon {
  width: 28px;
  height: auto;
}

