:root {
  --primary-color: #1E3454;
  --secondary-color: #FCFCFC;
  --accent-color: #4A90E2;
  --font-family: 'Poppins', sans-serif;
}

/* ================= RESET GLOBAL ================= */
html, body {
  width: 100%;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background: #000;
  color: #FCFCFC;
}

/* ================= CONTAINER ================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= HEADER ================= */
.main-header {
  background: #000;
  padding: 0.4rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0,0,0,.6);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img {
  height: 72px;        /* ⬅️ más grande y claro */
  width: auto;
  display: block;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.main-nav a {
  color: #FCFCFC;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--accent-color);
}

/* ================= HERO 3D ================= */
.hero-3d {
  height: calc(100vh - 70px);
  background: #000;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 50px;
  width: 100%;
}

.hero-text {
  max-width: 520px;
}

.hero-text h1 {
  font-size: 3.2rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 2rem;
}

.cta-button {
  background: linear-gradient(135deg, var(--accent-color), #357ABD);
  color: #fff;
  padding: 14px 34px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
}

/* ================= VISOR 3D ================= */
.moto-3d-viewer {
  max-width: 500px;
  width: 100%;
  margin-left: auto;
  cursor: grab;
  overflow: hidden;
}

.moto-3d-viewer img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  pointer-events: none;
}

/* ================= SECCIÓN MOTOS ================= */
.moto-showcase {
  background: #FCFCFC;
  padding: 120px 0;
  color: #000;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
}

.showcase-header {
  text-align: center;
  margin-bottom: 60px;
}

.showcase-header h2 {
  font-size: 2.6rem;
  margin-bottom: 15px;
}

.showcase-header p {
  color: #555;
  font-size: 1.05rem;
}

.moto-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.moto-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.moto-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0,0,0,.15);
}

.moto-card img {
  max-height: 220px;
  width: 100%;
  object-fit: contain;
  margin-bottom: 20px;
}


/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .moto-3d-viewer {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .hero-3d {
    height: auto;
    padding: 120px 0 80px;
  }
}
/* ================= CARRITO HEADER ================= */

.cart-icon {
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FCFCFC;
  transition: transform 0.2s ease, color 0.2s ease;
}

.cart-icon:hover {
  color: var(--accent-color);
  transform: scale(1.08);
}

/* SVG del carrito */
.cart-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

/* CONTADOR DEL CARRITO */
.cart-count {
  position: absolute;
  top: 0px;
  right: 0px;
  background: var(--accent-color);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
}
.moto-3d-viewer img {
  width: 100%;
  user-select: none;
}
.hero-title {
  line-height: 1.1;
}

.title-main {
  display: block;              /* 👈 mantiene la frase junta */
  font-size: 3.4rem;
  font-weight: 600;
  margin-bottom: 14px;
  white-space: normal;         /* 👈 evita que se rompa */
}

.title-accent {
  display: block;
  font-size: 3.6rem;
  font-weight: 700;
  color: #DAFF00;
  letter-spacing: 1px;
}
/* BOTÓN VERDE - VER MODELOS */
.cta-green {
  background: #DAFF00;
  color: #000;
  box-shadow: 0 15px 30px rgba(218, 255, 0, 0.4);
}

.cta-green:hover {
  background: #c9f000;
  transform: translateY(-3px);
}
/* ================= QUIÉNES SOMOS CON VIDEO ================= */

.about-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr; /* 🔥 el video domina */
  gap: 90px;
  align-items: center;
}


/* VIDEO YOUTUBE */
.about-media {
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0,0,0,0.65);
  width: 100%;
  max-width: 820px;   /* 🔥 MÁS GRANDE */
}

.about-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXTO */
.about-content h2 {
  font-size: 3rem;
  line-height: 1.1;
  margin: 20px 0 30px;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.9;
  opacity: 0.9;
  text-align: justify;          /* 👈 justificado */
  text-justify: inter-word;     /* 👈 mejor espaciado */
}
/* ESPACIO ENTRE CATEGORÍAS Y QUIÉNES SOMOS */
.about-section {
  margin-top: 120px;   /* ajusta si quieres más o menos */
}

.about-content p + p {
  margin-top: 18px;
}

.about-highlight {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.about-highlight span {
  width: 4px;
  background: #DAFF00;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-media {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.55);
    transform: scale(1);
    margin: 0 auto;
  }
}
/* VIDEO RESPONSIVE */


.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 68%; /* 👈 MÁS ALTO = MÁS IMPACTO */
}
.about-title {
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.25;
}

/* PRIMER TEXTO */
.about-title .title-white {
  color: #FCFCFC;
  font-size: 2rem;      /* 👈 tamaño principal */
  font-weight: 700;
  display: block;
}

/* SEGUNDO TEXTO */
.about-title .title-green {
  color: #DAFF00;       /* 👈 verde */
  font-size: 1.4rem;   /* 👈 MÁS PEQUEÑO */
  font-weight: 600;
  display: block;
  margin-top: 6px;
  text-align: justify;
  text-justify: inter-word;
}
@media (max-width: 600px) {
  .about-title .title-white {
    font-size: 1.7rem;
  }

  .about-title .title-green {
    font-size: 1.2rem;
    text-align: left;
  }
}
/* BOTÓN HAMBURGUESA */
.menu-toggle {
  display: none;          /* 👈 oculto por defecto (desktop) */
  background: none;
  border: none;
  color: #FCFCFC;
  font-size: 1.8rem;
  cursor: pointer;
}

/* SOLO MÓVIL */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;       /* 👈 aparece solo en móvil */
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #000;
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav a {
    padding: 16px 20px;
    display: block;
  }
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

.moto-3d-viewer {
  max-width: 500px;
  width: 100%;
  margin-left: auto;
  cursor: grab;
  overflow: hidden;

  /* 🔥 CLAVE PARA MÓVIL */
  touch-action: none;
}

}
/* === FIX VIDEO YOUTUBE EN MÓVIL === */
@media (max-width: 900px) {

  .about-media {
    max-width: 100%;        /* 👈 ocupa todo el ancho */
    width: 100%;
    transform: none;        /* 👈 evita que se encoja */
  }

  .video-wrapper {
    padding-top: 75%;       /* 👈 más alto = se ve grande */
  }
}
/* ================= SOCIAL FLOAT (ICONOS REALES) ================= */
.social-float {
  position: fixed;
  bottom: 26px;
  right: 0;                 /* pegado a la pared derecha */
  display: flex;
  flex-direction: column;
  gap: 22px;                /* separación entre iconos */
  z-index: 9999;
}

/* ITEM GENERAL */
.social-item {
  display: flex;
  align-items: center;
  flex-direction: row-reverse; /* icono a la derecha */
  gap: 10px;
  padding-right: 18px;
  text-decoration: none;
  color: #FCFCFC;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.95;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-item:hover {
  transform: translateX(-8px);
  opacity: 1;
}

/* IMÁGENES (ICONOS REALES) */
.social-item img {
  width: 44px;              /* tamaño profesional */
  height: 44px;
  object-fit: contain;
  display: block;
}

/* TEXTO SOLO WHATSAPP */
/* ===== NUBESITA WHATSAPP ===== */
.wp-pro span {
  background: #25D366;
  color: #fff;
  font-size: 0.75rem;      /* letra pequeña */
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 16px;
  white-space: nowrap;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  position: relative;
}

/* Pico de la nube */
.wp-pro span::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #25D366;
}

/* FACEBOOK ICONO */
.fb-pro img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
/* ================= RESPONSIVE ================= */

/* Tablets y móviles */
@media (max-width: 768px) {
  .wp-pro span {
    font-size: 0.7rem;     /* aún más discreta */
    padding: 5px 8px;
  }
}

/* Móviles pequeños */
@media (max-width: 600px) {
  .wp-pro span {
    display: none;        /* 👈 se oculta la nube */
  }
}
/* ================= FOOTER ================= */
.footer-real {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 120px;
  color: #FCFCFC;
}

/* CONTENEDOR */
.footer-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 20px 12px;
  display: grid;
  grid-template-columns: 120px 1fr 1fr; /* logo | info | mapa */
  gap: 32px;
  align-items: center;
}

/* ===== LOGO IZQUIERDA (SOLO) ===== */
.footer-info {
  display: flex;
  align-items: flex-start;
}

.footer-logo {
  height: 52px;
  display: block;
}

/* ===== INFO CENTRO ===== */
.footer-data {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  opacity: 0.85;
}

.footer-address {
  line-height: 1.6;
}

.footer-mail,
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #FCFCFC;
  font-size: 0.85rem;
}

.footer-mail img {
  width: 18px;
  height: 18px;
}

/* ===== MAPA DERECHA ===== */
.footer-map iframe {
  width: 100%;
  height: 90px;
  border: none;
  border-radius: 8px;
}

/* ===== BARRA INFERIOR ===== */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.7rem;
  opacity: 0.6;
  padding: 8px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }

  .footer-info {
    justify-content: center;
  }

  .footer-map iframe {
    height: 100px;
  }
}
/* ================= CATEGORÍAS – ESTILO PREMIUM ================= */
/* ================= SECCIÓN CATEGORÍAS ================= */

.section-title {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 50px;
  font-weight: 700;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 34px;
}





/* Hover elevación */
.category-card:hover {
  transform: translateY(-14px) scale(1.03);
  box-shadow: 0 45px 90px rgba(0,0,0,.6);
}

/* IMAGEN COMPLETA */
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;              /* 👈 imagen completa */
  background: #000;
  transition: transform .6s ease, filter .6s ease;
}

/* Zoom suave de imagen */
.category-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* OVERLAY */


/* TEXTO */
.category-overlay h3 {
  color: #FCFCFC;
  font-size: 1.35rem;
  font-weight: 600;
  transform: translateY(10px);
  transition: transform .5s ease;
}

/* TEXTO SUBE AL HOVER */
.category-card:hover .category-overlay h3 {
  transform: translateY(0);
}

/* ✨ EFECTO CHEVERE: glow verde */


.category-card:hover::after {
  box-shadow: inset 0 0 0 2px rgba(218,255,0,0.55);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .category-card {
    height: 300px;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* ================= RESPONSIVE ================= */

/* Tablets */
@media (max-width: 1100px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-card {
    height: 360px;
  }
}

/* Móviles */
@media (max-width: 600px) {
  .section-title {
    font-size: 2.1rem;
    margin-bottom: 50px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    height: 300px;
  }
}
.about-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-label {
  display: block;       /* necesario para centrar */
  text-align: center;   /* 👈 centrado */
  font-size: 0.85rem;   /* tamaño pequeño elegante */
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #DAFF00;       /* verde de marca (opcional) */
  margin-bottom: 12px;
}
.cta-button,
.cta-green {
  text-decoration: none;   /* 👈 quita el subrayado */
}
/* LOGO HOVER EFECTO */
.logo img {
  transition: transform 0.35s ease;
}

.logo:hover img {
  transform: scale(1.15); /* 👈 aumento más visible */
}
.footer-address,
.footer-mail,
.footer-phone {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: #FCFCFC;
  text-decoration: none;
  opacity: 0.9;
  margin-bottom: 10px;
}

.footer-address img,
.footer-mail img,
.footer-phone img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-top: 2px;
}
.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-address-city {
  display: block;
  margin-top: 4px;
  opacity: 0.85;
  font-size: 0.82rem;
}
/* ================= MODELOS PAGE ================= */

.models-hero {
  text-align: center;
  margin-bottom: 80px;
}

.models-hero .section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.models-hero .section-subtitle {
  font-size: 1.1rem;
  opacity: 0.75;
  max-width: 600px;
  margin: 0 auto;
}

/* ================= GRID ================= */

.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding-bottom: 120px;
}

/* ================= CARD ================= */

.model-card {
  background: #0c0c0c;
  border-radius: 26px;
  padding: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.45);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.model-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(218,255,0,0.12),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.model-card:hover::before {
  opacity: 1;
}

.model-card:hover {
  transform: translateY(-14px) scale(1.02);
  box-shadow: 0 45px 90px rgba(0,0,0,0.75);
}

/* ================= IMAGEN ================= */

.model-card img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  margin-bottom: 25px;
  transition: transform 0.4s ease;
}

.model-card:hover img {
  transform: scale(1.08);
}

/* ================= TITULO ================= */

.model-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 18px;
}

/* ================= SPECS ================= */

.model-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.model-specs li {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ================= BOTONES ================= */

.model-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-details {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #FCFCFC;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-details:hover {
  background: rgba(255,255,255,0.08);
  border-color: #DAFF00;
  color: #DAFF00;
}

.btn-cart {
  background: #DAFF00;
  color: #000;
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(218,255,0,0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-cart:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(218,255,0,0.6);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .models-hero .section-title {
    font-size: 2.2rem;
  }

  .model-card {
    padding: 22px;
  }
}
/* ===== INDICADOR GIRO 3D ===== */
.hint-3d {
  position: absolute;
  top: 14px;                 /* 👈 AHORA ARRIBA */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: #DAFF00;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  pointer-events: none;
  z-index: 5;
  opacity: 0.9;
  animation: hintPulse 2s infinite;
}


/* Animación suave */
@keyframes hintPulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

.youtube-video {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}

.youtube-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.video-sound-toggle {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(0,0,0,0.65);
  color: #DAFF00;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 5;
}

.video-sound-toggle:hover {
  transform: scale(1.1);
  background: rgba(0,0,0,0.8);
}
/* === FIX BOTÓN SONIDO YOUTUBE EN MÓVIL === */
.youtube-video iframe {
  pointer-events: none;   /* 🔥 el iframe no captura el toque */
}

.video-sound-toggle {
  pointer-events: auto;   /* 🔥 el botón SÍ recibe el toque */
  cursor: pointer;
}
.moto-3d-viewer.active .hint-3d {
  display: none;
}
/* === DESACTIVAR EFECTOS PESADOS EN MÓVIL === */
@media (max-width: 900px) {
  .hint-3d {
    display: none;
  }

  .moto-3d-viewer {
    cursor: default;
    touch-action: auto;
  }
}
/* ================= ADMIN PANEL ================= */

.admin-container {
  max-width: 900px;
  margin: 140px auto 80px;
  padding: 0 20px;
  color: #FCFCFC;
}

/* TÍTULOS */
.admin-container h1 {
  font-size: 2.4rem;
  margin-bottom: 30px;
  text-align: center;
}

.admin-container h2 {
  font-size: 1.4rem;
  margin: 40px 0 20px;
  color: #DAFF00;
}

/* ===== LOGIN ===== */
#loginSection {
  max-width: 420px;
  margin: 0 auto;
  background: #0c0c0c;
  padding: 36px;
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

/* ===== PANEL ===== */
#panelSection {
  background: #0c0c0c;
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.65);
}

/* ===== INPUTS ===== */
.admin-container input,
.admin-container textarea {
  width: 100%;
  background: #000;
  border: 1px solid rgba(255,255,255,0.2);
  color: #FCFCFC;
  padding: 14px 16px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.95rem;
  margin-bottom: 16px;
  outline: none;
  transition: border-color 0.3s ease;
}

.admin-container textarea {
  resize: vertical;
  min-height: 90px;
}

.admin-container input:focus,
.admin-container textarea:focus {
  border-color: #DAFF00;
}

/* ===== BOTONES ===== */
.admin-container button {
  background: #DAFF00;
  color: #000;
  border: none;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(218,255,0,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.admin-container button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(218,255,0,0.6);
}

/* ===== LISTADO PRODUCTOS ===== */
#productsList {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* CARD PRODUCTO */
.admin-product {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000;
  border-radius: 18px;
  padding: 16px 20px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
}

.admin-product strong {
  font-size: 0.95rem;
  font-weight: 500;
}

/* BOTÓN ELIMINAR */
.admin-product .delete {
  background: transparent;
  color: #ff4d4d;
  border: 1px solid rgba(255,77,77,0.4);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  cursor: pointer;
  box-shadow: none;
}

.admin-product .delete:hover {
  background: rgba(255,77,77,0.15);
}
/* ================= MODELOS – PRECIO Y PROMO ================= */

.model-card .model-price {
  margin: 12px 0 16px;
  font-size: 1.15rem;
}

.model-card .model-price strong {
  color: #DAFF00 !important;
  font-weight: 700;
}

.model-card .old-price {
  text-decoration: line-through;
  color: rgba(255,255,255,0.55) !important;
  margin-right: 8px;
  font-size: 0.9rem;
}
/* ================= HEADER ADMIN ================= */
.admin-header {
  display: flex;
  justify-content: space-between; /* 🔥 derecha */
  align-items: center;
  margin-bottom: 40px;
}

/* BOTÓN CERRAR SESIÓN */
.admin-logout {
  border-radius: 50px;
  padding: 10px 22px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* ROJO */
.admin-logout.danger {
  background: #ff3b3b;
  color: #fff;
  box-shadow: 0 12px 30px rgba(255, 59, 59, 0.45);
}

.admin-logout.danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(255, 59, 59, 0.6);
}

/* ================= ADMIN TABS ================= */

.admin-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.admin-tab {
  background: #ffffff;
  color: #000;
  border: 2px solid #ddd;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
}

/* BOTÓN ACTIVO */
.admin-tab.active {
  background: #1db954; /* verde */
  color: #fff;
  border-color: #1db954;
}

/* HOVER */
.admin-tab:hover {
  border-color: #1db954;
}

/* ================= TÍTULO DE SECCIÓN ================= */

.admin-section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  margin: 20px 0 30px;
  color: #1db954;
  letter-spacing: 2px;
  text-transform: uppercase;
}
#descripcion {
  min-height: 120px;
  resize: vertical;
}
/* ================= BUSCADOR USUARIO ================= */

.user-search {
  width: 100%;
  max-width: 520px;
  display: block;
  margin: 30px auto 10px;
  padding: 14px 18px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;

  border-radius: 30px;
  border: 1.5px solid #e0e0e0;
  outline: none;

  background-color: #ffffff;
  color: #222;

  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* Placeholder */
.user-search::placeholder {
  color: #9e9e9e;
  font-weight: 400;
}

/* Hover */
.user-search:hover {
  border-color: #1db954;
}

/* Focus */
.user-search:focus {
  border-color: #1db954;
  box-shadow: 0 0 0 4px rgba(29, 185, 84, 0.15);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .user-search {
    max-width: 100%;
    margin: 20px 0;
    border-radius: 14px;
  }
}

/* ================= ACCESORIOS (FIX DEFINITIVO) ================= */

#accessoriesGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding-bottom: 120px;
}

.accessory-card {
  background: #0c0c0c;
  border-radius: 26px;
  padding: 28px;
  text-align: center;

  display: flex;
  flex-direction: column;

  box-shadow: 0 25px 60px rgba(0,0,0,0.45);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.accessory-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.7);
}

.accessory-card img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  margin-bottom: 20px;
}

.accessory-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.accessory-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: #DAFF00;
  margin-bottom: 12px;
}

.accessory-desc {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 20px;
}

.accessory-card .btn-cart {
  margin-top: auto;
}
/* ================= HOVER VERDE OVALADO (PREMIUM) ================= */

.category-card,
.model-card {
  position: relative;
}

/* Marco ovalado invisible */
.category-card::after,
.model-card::after {
  content: "";
  position: absolute;
  inset: -6px;                     /* 🔥 hace el borde más “suave” */
  border-radius: 32px;             /* 🔥 ovalado elegante */
  border: 2px solid rgba(218, 255, 0, 0);
  transition: 
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  pointer-events: none;
}

/* Hover */
.category-card:hover::after,
.model-card:hover::after {
  border-color: #DAFF00;
  box-shadow:
}
/* ================= BLOG ================= */

.blog-content {
  max-width: 900px;
  margin: 0 auto;
}

.blog-post {
  margin-bottom: 80px;
}

.blog-post h2 {
  font-size: 1.9rem;
  margin-bottom: 20px;
  color: #DAFF00;
}

.blog-post h3 {
  margin-top: 20px;
  font-size: 1.2rem;
}

.blog-post p {
  line-height: 1.8;
  opacity: 0.9;
}

.blog-post ul {
  margin: 20px 0;
  padding-left: 20px;
}

.blog-post li {
  margin-bottom: 10px;
}
/* ================= BLOG ================= */

.blog-content {
  max-width: 1000px;
  margin: 0 auto;
}

/* POST */
.blog-post {
  background: #0c0c0c;
  border-radius: 28px;
  padding: 40px;
  margin-bottom: 80px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.65);
}

/* TÍTULOS */
.blog-post h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #DAFF00;
  margin-bottom: 24px;
}

.blog-post h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 28px 0 14px;
  color: #FCFCFC;
}

/* TEXTO */
.blog-post p {
  font-size: 1.05rem;
  line-height: 1.9;
  opacity: 0.9;
  margin-bottom: 18px;
  text-align: justify;
}

/* LISTAS */
.blog-post ul {
  margin: 20px 0 25px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-post ul li {
  font-size: 0.95rem;
  opacity: 0.9;
  position: relative;
  padding-left: 18px;
}

.blog-post ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #DAFF00;
  font-size: 0.9rem;
}

/* ================= IMÁGENES BLOG ================= */

.blog-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 30px 0 35px;
}

.blog-images img {
  width: 100%;
  height: 220px;

  /* 🔥 CLAVE */
  object-fit: contain;        /* 👈 muestra la imagen COMPLETA */
  background: #000;           /* relleno elegante */
  padding: 12px;              /* aire interno */

  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.6);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}


/* HOVER PREMIUM */
.blog-images img:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 30px 70px rgba(0,0,0,0.85);
}

/* ================= SEPARADOR VISUAL ================= */

.blog-post + .blog-post {
  position: relative;
}

.blog-post + .blog-post::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: #DAFF00;
  border-radius: 6px;
  opacity: 0.7;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .blog-images {
    grid-template-columns: 1fr;
  }

  .blog-images img {
    height: 260px;
  }

  .blog-post {
    padding: 28px;
  }

  .blog-post h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 600px) {
  .blog-post {
    padding: 24px;
  }

  .blog-post p {
    font-size: 1rem;
  }
}
.main-nav a.active {
  color: #DAFF00;
  font-weight: 600;
}
.youtube-channel-btn {
  position: absolute;
  bottom: 18px;
  left: 18px;

  background: rgba(255, 0, 0, 0.9);
  color: #fff;
  padding: 10px 16px;
  border-radius: 22px;

  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;

  display: flex;
  align-items: center;
  gap: 6px;

  box-shadow: 0 8px 20px rgba(255,0,0,0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  z-index: 6;
}

.youtube-channel-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255,0,0,0.6);
}


/* ================= TABS ADMIN ================= */
.admin-tab {
  padding: 10px 18px;
  border: none;
  cursor: pointer;
  background: #eee;
  font-weight: 600;
}

.admin-tab.active {
  background: #000;
  color: #fff;
}

/* 🔥 ACCESORIOS EN VERDE */
.admin-tab.accessories.active {
  background: #1fa34a;
  color: #fff;
}

/* EVENTOS (si luego quieres otro color) */
.admin-tab.events.active {
  background: #0066cc;
  color: #fff;
}
.btn-cart {
  cursor: pointer;
}
/* ================= PROMOCIONES ================= */

.promotions-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #0b0b0b 0%, #111 100%);
}

.promotions-section .section-title {
  text-align: center;
}

.promotions-section .section-subtitle {
  text-align: center;
  color: #b5b5b5;
  margin-top: 10px;
  margin-bottom: 50px;
}

/* SLIDER */
.promo-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.65);
}

/* ITEM */
.promo-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.promo-item.active {
  opacity: 1;
  position: relative;
}

.promo-item img {
  width: 100%;
  height: 420px;

  /* 🔥 CLAVE */
  object-fit: contain;   /* muestra la imagen COMPLETA */
  background: #000;      /* relleno elegante */
  padding: 20px;         /* aire interno */

  display: block;
}

/* TEXTO */
.promo-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
}

.promo-content h3 {
  font-size: 1.6rem;
  color: #DAFF00;
  margin-bottom: 8px;
}

.promo-content p {
  font-size: 1rem;
  opacity: 0.9;
}

/* MOBILE */
@media (max-width: 768px) {
  .promo-item img {
    height: 300px;
  }
}
/* ================= TECNOLOGÍAS / GALERÍA ================= */

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.product-gallery img {
  width: 100%;
  border-radius: 20px;
}

/* ZOOM */
.zoom-container {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  --x: 50%;
  --y: 50%;
}

.zoom-image {
  transition: transform 0.25s ease;
}

.zoom-container:hover .zoom-image {
  transform: scale(1.8);
  transform-origin: var(--x) var(--y);
  cursor: zoom-in;
}

/* MINIATURAS */
.thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.thumbs img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.thumbs img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .zoom-container:hover .zoom-image {
    transform: none;
  }
}
/* ================= TECNOLOGÍAS – BLOQUES PREMIUM ================= */

#productSpecs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 30px;
}

/* CARD */
.tech-card {
  background: #0c0c0c;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.tech-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 80px rgba(0,0,0,0.85);
}

/* TÍTULO */
.tech-card h4 {
  font-size: 1.05rem;
  color: #DAFF00;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

/* LISTA */
.tech-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tech-card li {
  font-size: 0.9rem;
  opacity: 0.9;
  padding-left: 16px;
  margin-bottom: 8px;
  position: relative;
}

.tech-card li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #DAFF00;
  font-size: 0.75rem;
}
/* ================= TECNOLOGÍA ================= */

.tech-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

/* GALERÍA */
.tech-main-image {
  border-radius: 26px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,.7);
}

.tech-main-image img {
  width: 100%;
  height: 460px;
  object-fit: contain;
  transition: transform .4s ease;
}

/* ZOOM SUAVE */
.tech-main-image:hover img {
  transform: scale(1.08);
}

/* MINIATURAS */
.tech-thumbs {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.tech-thumbs img {
  width: 90px;
  height: 70px;
  object-fit: contain;
  background: #000;
  border-radius: 14px;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: all .3s ease;
}

.tech-thumbs img.active,
.tech-thumbs img:hover {
  opacity: 1;
  border-color: #DAFF00;
}

/* INFO */
.tech-info h1 {
  font-size: 2.1rem;
  margin-bottom: 25px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .tech-main-image img {
    height: 320px;
  }
}
/* ================= FIX CLICK BOTONES MODELOS ================= */

.model-card::before,
.model-card::after {
  pointer-events: none;
}

.model-actions {
  position: relative;
  z-index: 10;
}
/* ================= CHECKOUT ================= */

.checkout-section {
  max-width: 700px;
}

.checkout-card {
  background: #0c0c0c;
  padding: 28px;
  border-radius: 24px;
  margin-bottom: 30px;
  box-shadow: 0 25px 60px rgba(0,0,0,.5);
}

.checkout-card h3 {
  margin-bottom: 18px;
  color: #DAFF00;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.checkout-total {
  margin-top: 20px;
  font-size: 1.2rem;
}

.checkout-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.checkout-actions .whatsapp {
  background: #25D366;
  color: #000;
}

.checkout-actions .pagar {
  border: 1px solid rgba(255,255,255,.3);
}
