/* Botones flotantes */
.social-button {
  position: fixed;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 20px;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  cursor: pointer;
  z-index: 1000;
}
.social-button img {
  width: 30px;
  height: 30px;
}
.social-button:hover {
  transform: scale(1.1);
}
.whatsapp {
  background: #25d366;
  right: 20px;
}
.facebook {
  background: #1877f2;
  right: 90px;
}
.tiktok {
  background: #000;
  right: 160px;
}

/* General */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #fff;
  color: #111;
}
h1, h2, h3 {
  margin: 0 0 10px 0;
}
.rojo {
  color: red;
}
.blanco {
  color: white;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: black;
  color: white;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
header.small {
  padding: 5px 20px;
}
header .logo {
  width: 70px;
  height: 70px;
  transition: all 0.3s ease;
}
header.small .logo {
  width: 40px;
  height: 40px;
  order: 2;
  margin-left: auto;
}
header h1 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-left: 10px;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}
header.small h1 {
  opacity: 0.7;
  font-size: 1.3rem;
}

/* Navegación */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 15px;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease;
}
nav ul li a:hover {
  color: red;
}

/* Menú hamburguesa */
#menu-toggle {
  display: none;
}
.menu-icon {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  user-select: none;
}

/* Secciones */
.seccion {
  padding: 100px 20px 50px;
  margin-top: 90px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.seccion.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Productos (carrusel) */
.productos.carrusel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}
.producto {
  flex: 0 0 auto;
  width: 180px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.producto img {
  max-width: 100%;
  border-radius: 6px;
  display: block;
  margin-bottom: 8px;
}
.producto:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 15px rgba(255, 0, 0, 0.4);
}

/* Ubicación botones */
.ubicacion-botones a {
  display: inline-block;
  margin-right: 20px;
  width: 50px;
  height: 50px;
}
.ubicacion-botones img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: black;
    position: fixed;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 10px 0;
    height: calc(100% - 60px);
    overflow-y: auto;
  }
  nav ul li {
    margin: 10px 0;
    text-align: center;
  }
  #menu-toggle:checked + .menu-icon + nav ul {
    display: flex;
  }
  .menu-icon {
    display: block;
  }
  header h1 {
    font-size: 1.4rem;
    margin-left: 0;
  }
  header .logo {
    order: 0;
    width: 50px;
    height: 50px;
  }
  header.small .logo {
    width: 40px;
    height: 40px;
    order: 0;
    margin-left: 0;
  }
}
