body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #ffffff;
  color: #333;
}

header {
  background-color: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
}

.nav .logo img {
  height: 50px;
  object-fit: contain;
}

.menu {
  list-style: none;
  display: flex;
  gap: 25px;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: #FF6900;
}

.hero {
  background: linear-gradient(rgba(255,105,0,0.7), rgba(255,105,0,0.7)), url('https://i01.appmifile.com/webfile/globalimg/products/mijia-scooter/mi-electric-scooter.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 120px 20px;
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 15px;
}

.section {
  padding: 60px 10%;
  text-align: center;
}

.section.alt {
  background-color: #f8f8f8;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.card h3 {
  color: #FF6900;
}

.list {
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

details {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  margin: 10px auto;
  max-width: 600px;
  border: 1px solid #ddd;
}

details summary {
  cursor: pointer;
  font-weight: 600;
  color: #FF6900;
}

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 55px;
  height: 55px;
  background-color: #FF6900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.whatsapp:hover {
  transform: scale(1.1);
}

.whatsapp img {
  width: 30px;
  height: 30px;
}

/* Centro SOLO la lista de reparaciones */
.list { text-align: center; }

/* WhatsApp mejoras: vibración + notificación + ayuda */
.vibrar { animation: vibrarAnim 2.2s infinite ease-in-out; }
@keyframes vibrarAnim {
  0%,50%,100% { transform: translate(0,0); }
  10% { transform: translate(-2px, 2px); }
  20% { transform: translate(2px, -2px); }
  30% { transform: translate(-2px, -2px); }
  40% { transform: translate(2px, 2px); }
}
.whatsapp-notify {
  position: absolute;
  top: 4px; right: 4px;
  width: 14px; height: 14px;
  background: red; border-radius: 50%;
  border: 2px solid #fff;
}
.whatsapp-help {
  position: absolute; right: 70px; bottom: 10px;
  background: #FF6900; color: #fff;
  padding: 6px 12px; border-radius: 8px;
  font-size: .85em; font-weight: 600;
  opacity: 0; transition: opacity .4s, transform .4s;
  transform: translateX(10px);
}
.whatsapp:hover .whatsapp-help { opacity: 1; transform: translateX(0); }
@media (max-width:768px){ .whatsapp-help{ opacity:1 !important; } }


/* === Responsive Menu Like KuKirin === */
.menu-toggle {
  display: none;
  font-size: 1.8em;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    padding: 10px 0;
    text-align: center;
    z-index: 1000;
  }
  .menu.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .menu li {
    margin: 12px 0;
  }
}


/* ARREGLO DEFINITIVO DEL MENÚ EN MÓVIL (COMO KUKIRIN) */
@media (max-width: 768px) {

  .nav {
    padding: 10px 20px !important;
  }

  .nav .logo img {
    height: 38px !important;
  }

  .menu {
    display: none !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 65px;
    left: 0;
    width: 100%;
    background: #fff;
    text-align: center;
    padding: 15px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    z-index: 9999;
  }

  .menu.active {
    display: flex !important;
  }

  .menu-toggle {
    display: block !important;
    font-size: 32px;
    cursor: pointer;
    margin-left: auto;
  }

  .menu li {
    margin: 12px 0;
  }
}

.hero-img { width: 100%; display: block; }
#repuestos h2, #productos h2 { text-align: center; margin: 40px 0 20px; }
.repuestos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; padding: 0 20px; }
.repuestos-grid img { width: 100%; border-radius: 8px; }

/* Hero repuestos image */
.repuestos-hero{width:100%;display:block;border-radius:8px;margin:20px 0;}

/* === Swiper base sizing (asegura que se vea siempre) === */
.swiper { width: 90%; max-width: 1200px; margin: 0 auto; }
.swiper-slide { text-align: center; }
.swiper-slide img { width: 100%; border-radius: 12px; object-fit: cover; display: block; }
.swiper-slide p { margin-top: 10px; font-weight: 600; color: #333; }

/* Tamaño reducido y centrado para carruseles */
.repuestos-swiper .swiper-slide img,
.productos-swiper .swiper-slide img {
  width: 230px;
  height: auto;
  display: block;
  margin: 0 auto;
}
