    body {
  background: #000 url('fondo.JPEG') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
  position: relative;
}
    .filtro-oscuro {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.57);
      z-index: 0;
      pointer-events: none;
    }
    header, .container, section, #modalForm {
      position: relative;
      z-index: 1;
    }
    header {
      background: transparent !important;
      padding: 1.2rem 1.2rem 0.8rem 1.2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: none;
      position: sticky;
      top: 0;
      z-index: 10;
    }
    .logo-link {
      display: block;
      outline: none;
      cursor: pointer;
    }
    .logo img {
      height: 100px;
      max-width: 100vw;
      display: block;
      background: transparent !important;
      border: none !important;
      border-radius: 0 !important;
      box-shadow: none !important;
      margin: 0;
      padding: 0;
      transition: none;
    }
    header nav {
      display: flex; gap: 1.3rem;
    }
    header nav a {
      color: #fff;
      text-decoration: none;
      font-weight: 700;
      font-size: 1em;
      letter-spacing: 0.2px;
      
      padding-bottom: 2px;
      cursor: pointer;
      background: transparent;
    }
    header nav a:hover, header nav a:focus {
      color: #000;
      background: #fff;
      border-bottom: 2px solid #fff;
      border-radius: 2px;
      transition: none;
    }
    /* Línea pegada al header */
header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;             /* Ajusta este valor para bajar la línea */
  height: 1.5px;
  background: rgba(255,255,255,.44);
  pointer-events: none;
}
    .container {
      max-width: 650px;
      margin: 2.5rem auto 0 auto;
      padding: 0 1rem;
    }
    .categorias-lista {
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
      justify-content: center;
      margin: 2.4em 0 2em 0;
    }
    .cat-btn {
      background: #111b;
      color: #fff;
      border: 1.5px solid #222d;
      border-radius: 10px;
      font-size: 1.07em;
      font-weight: 700;
      padding: 0.9em 2.1em;
      cursor: pointer;
      box-shadow: 0 2px 10px #0008;
      transition: background .18s, color .17s, box-shadow .15s;
    }
    .cat-btn:hover, .cat-btn.active {
      background: #fff;
      color: #000;
      box-shadow: 0 5px 20px #fff4;
    }
    .productos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}

.producto-card {
  background: #111d;
  border-radius: 13px;
  box-shadow: 0 4px 18px #0004;
  padding: 1em;
  width: 220px;
  flex: 1 1 220px; 
  text-align: center;
  border: 1.5px solid #232323aa;
  color: #fff;
  transition: box-shadow 0.2s, border 0.18s;
  position: relative;
}
    .producto-card h3 {
      font-size: 1.17em;
      margin: 0.4em 0 0.1em 0;
      font-weight: bold;
    }
    .producto-card p {
      font-size: 1em;
      color: #ccc;
      margin: 0 0 0.5em 0;
    }
    /* Icono WhatsApp central abajo */
    .producto-card .whatsapp-link {
      display: inline-block;
      color: #25d366;
      font-size: 2.3em;
      margin-top: 6px;
      transition: color .15s, transform .14s;
    }
    .producto-card .whatsapp-link:hover { color: #fff; transform: scale(1.12);}
    /* GALLERY STYLE */
    .gallery-main-img {
      width: 130px;
      height: 130px;
      object-fit: contain;
      border-radius: 8px;
      background: #222c;
      margin-bottom: 8px;
      margin-top: 8px;
      box-shadow: 0 3px 8px #0008;
      cursor: pointer;
      transition: box-shadow .18s;
    }
    .gallery-thumbs {
      display: flex;
      gap: 6px;
      justify-content: center;
      margin-bottom: 5px;
    }
    .gallery-thumbs img {
      width: 34px;
      height: 34px;
      object-fit: contain;
      border-radius: 6px;
      cursor: pointer;
      opacity: 0.68;
      border: 1.5px solid #222b;
      background: #222c;
      transition: opacity .18s, border .18s;
    }
    .gallery-thumbs img.selected, .gallery-thumbs img:hover {
      opacity: 1;
      border: 2.3px solid #25d366;
      background: #444;
    }
    /* SLIDER/OVERLAY LIGHTBOX */
    .img-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: #000;
  justify-content: center;
  align-items: center;
  animation: fadeIn .22s;
  z-index: 9999;
}
    .img-lightbox.active { display: flex;}
    .lightbox-content {
      position: relative;
      text-align: center;
      max-width: 98vw;
      max-height: 98vh;
    }
    .lightbox-img {
      max-width: 500px;
      max-height: 82vh;
      border-radius: 15px;
      background: #181818;
      box-shadow: 0 6px 70px #000d;
      margin: 0 auto;
      display: block;
      transition: box-shadow .16s;
    }
    .lightbox-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 48px;
      height: 48px;
      background: rgba(40, 55, 50, 0.18);
      border-radius: 50%;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2.2em;
      color: #fff;
      cursor: pointer;
      box-shadow: 0 3px 12px #0008;
      transition: background .15s, color .13s, transform .1s;
      z-index: 1;
      opacity: 0.88;
    }
    .lightbox-arrow:hover { background: rgba(37, 211, 102, 0.28); color: #25d366; transform: scale(1.09);}
    .lightbox-arrow.left  { left: -68px;}
    .lightbox-arrow.right { right: -68px;}
    .lightbox-close {
      position: absolute;
      top: -45px;
      right: 2px;
      font-size: 2.5em;
      background: none;
      border: none;
      color: #fff;
      cursor: pointer;
      opacity: 0.65;
      transition: opacity .17s, color .14s;
    }
    .lightbox-close:hover { opacity: 1; color: #25d366; }
    /* CONTACTO */
    h2.titulo-contacto {
      text-align: center;
      position: relative;
      margin-bottom: 2.3rem;
      font-size: 2rem;
      font-weight: 900;
      letter-spacing: 2px;
      color: #fff;
    }
    h2.titulo-contacto:after {
      content: "";
      display: block;
      width: 50px;
      height: 3px;
      background: #fff;
      margin: 14px auto 0 auto;
      border-radius: 2px;
    }
    #contacto {
      margin-top: 2rem;
      background: transparent !important;
      border-radius: 0;
      padding: 2rem 1rem;
      border: none;
      display: none;
      animation: fadeIn .5s;
      text-align: center;
    }
    .iconos-contacto {
      display: flex;
      justify-content: center;
      gap: 40px;
      margin-top: 18px;
      margin-bottom: 14px;
    }
    .iconos-contacto a {
      color: #fff;
      font-size: 2.1rem;
      transition: color 0.2s, transform 0.2s;
      text-decoration: none;
      display: inline-block;
    }
    .iconos-contacto a:hover,
    .iconos-contacto a:focus {
      color: #25d366;
      transform: scale(1.18);
    }
    .iconos-contacto a.mail:hover,
    .iconos-contacto a.mail:focus {
      color: #3498db;
    }
    /* Modal Formulario */
    #modalForm {
      display: none;
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.82);
      z-index: 9999;
      justify-content: center;
      align-items: center;
      animation: fadeIn .3s;
    }
    #modalForm .form-content {
      background: #111e;
      color: #fff;
      padding: 2.1rem 1.5rem 1.5rem 1.5rem;
      border-radius: 14px;
      max-width: 380px;
      width: 95vw;
      position: relative;
      box-shadow: 0 8px 48px #000c;
      text-align: left;
      margin: 0 auto;
    }
    #modalForm .close {
      position: absolute;
      right: 18px;
      top: 14px;
      font-size: 1.3em;
      color: #fff;
      cursor: pointer;
      background: none;
      border: none;
    }
    #modalForm label {
      display: block;
      margin-bottom: 7px;
      font-weight: 600;
      letter-spacing: 0.5px;
    }
    #modalForm input, #modalForm textarea {
      width: 100%;
      padding: 10px 12px;
      border: none;
      background: #222c;
      color: #fff;
      border-radius: 8px;
      margin-bottom: 15px;
      font-size: 1em;
      font-family: 'Montserrat', Arial, sans-serif;
      resize: none;
    }
    #modalForm textarea { min-height: 80px;}
    #modalForm button[type="submit"] {
      width: 100%;
      padding: 12px 0;
      background: #3498db;
      color: #fff;
      border: none;
      border-radius: 7px;
      font-size: 1.08em;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.2s;
    }
    #modalForm button[type="submit"]:hover {
      background: #217dbb;
    }
    #formEnviado {
      color: #25d366;
      text-align: center;
      font-weight: bold;
      font-size: 1.2em;
      margin-top: 20px;
    }
    @keyframes fadeIn {
      from { opacity: 0;}
      to   { opacity: 1;}
    }
    @media (max-width: 900px) {
      .logo img { height: 70px;}
      #modalForm .form-content { padding: 1.3rem .8rem;}
      .container { max-width: 99vw; }
      .lightbox-arrow.left  { left: -28px;}
      .lightbox-arrow.right { right: -28px;}
    }
    @media (max-width: 600px) {
      .container { padding: 0; }
      header { flex-direction: column; gap: 1.2rem; padding: 1rem; }
      .logo img { height: 48px;}
      h2.titulo-contacto { font-size: 1.3rem;}
      .iconos-contacto { gap: 22px; }
      .productos-grid { gap: 10px; }
      .lightbox-arrow.left  { left: -8px;}
      .lightbox-arrow.right { right: -8px;}
      .lightbox-img { max-width: 94vw;}
    }
 .footer-fijo {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: transparent; /* fondo completamente transparente */
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9em;
    z-index: 100;
  }

  .galeria-ecommerce {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .imagen-principal img {
    max-width: 350px;
    border-radius: 8px;
    box-shadow: 0 4px 12px #0008;
  }

  .miniaturas {
    display: flex;
    gap: 8px;
  }

  .miniaturas img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: border 0.2s, transform 0.2s;
  }

  .miniaturas img:hover {
    border: 2px solid #25d366;
    transform: scale(1.1);
  }