/* =========================
   RESET Y BASE
========================= */
* {
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =========================
   CONTENEDOR PRINCIPAL
========================= */
#main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  font-family: Roboto, sans-serif;
  color: #565656;
  line-height: 25px;
  background-color: #fff;
}

/* =========================
   HEADER (CORREGIDO)
========================= */
#header,
#logosuperior {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

#header img {
  width: 100%;
  height: auto;
  display: block;
}

.header-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.menu {
  width: 100%;
  display: flex;
  align-items: center;
  background-color: #3e3e3e;
  color: #fff;
  font-size: 1.2rem;
}

.virtuemart_search {
  display: none;
}

.buscador {
  width: 100%;
  display: flex;
  align-items: center;
  background: #fff;
  height: 50px;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* =========================
   CONTENIDO
========================= */
#content {
  width: 100%;
  padding: 20px;
}

/* =========================
   GALERÍA (SIEMPRE 2 COLUMNAS)
========================= */
.imagenes-galeria {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
}

.imagenes-galeria a {
  display: block;
}

.imagenes-galeria img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* =========================
   FOOTER
========================= */
#contacto {
  width: 100%;
  text-align: center;
}

#footer {
  width: 100%;
  padding: 20px;
  text-align: center;
  background: #000;
  color: #fff;
}
/* =========================
   WHATSAPP
========================= */
#whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  z-index: 1000;
}

/* =========================
   MEDIA TABLET
========================= */
@media (max-width: 768px) {

  #content {
    padding: 10px;
  }

  .header-container {
    flex-direction: column;
  }

  .imagenes-galeria {
    gap: 10px;
  }
}

/* =========================
   MEDIA MÓVIL
========================= */
@media (max-width: 480px) {

  #content {
    padding: 5px;
  }

  .imagenes-galeria {
    grid-template-columns: repeat(2, 1fr);
  }

  #whatsapp {
    width: 35px;
    height: 35px;
    bottom: 15px;
    right: 15px;
  }
}
