.header-top {
      background: #fff;
      padding: 10px 0;
      border-bottom: 1px solid #eee;
    }
    .logo img {
      height: 50px;
    }
    .search-bar {
      background: #e5e5e5;
      padding: 8px 0;
    }
    .search-input {
      border-radius: 8px;
    }
    .icon-btn {
      display: flex;
      align-items: center;
      font-size: 14px;
      color: #555;
      cursor: pointer;
    }
    .icon-btn i {
      font-size: 18px;
      margin-right: 5px;
    }

    /* Carrusel de marcas */
    /*.brand-carousel {
    }*/
    .brand-carousel .container {
      background: #e5e5e5;
      padding: 20px 0;
    }
    .brand-carousel img { 
      max-height: 50px;
      object-fit: contain;
      filter: grayscale(100%);
      transition: 0.3s;
    }
    .brand-carousel img:hover {
      filter: grayscale(0%);
      transform: scale(1.05);
    }

    /* Carrusel de banners */
    .banner-carousel img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }

    /* Desktop (tu valor actual) */
    .carousel-control-prev {
      left: 100px !important;
    }
    .carousel-control-next {
      right: 100px !important;
    }

    .battery-search {
      background: #f8f9fa; /* fondo gris claro */
      border-top: 2px solid #7ac142; /* verde NSK */
      border-bottom: 2px solid #7ac142;
      padding: 20px 0;
    }
    .battery-search h4 {
      color: #333;
    }
    .battery-search .form-select {
      border-radius: 6px;
    }

    .battery-features {
      background: #fff;
      border-top: 1px solid #ccc;
      border-bottom: 1px solid #ccc;
    }

    .battery-features span {
      font-size: 1.2rem;
    }

    .btn-distribuidor {
      background: #7ac142;
      padding: 15px 25px;
      border: none;
      border-radius: 0;
      font-size: 1.2rem;
      text-align: center;
      width: 100%;
      max-width: 700px;
      clip-path: polygon(0 0, 95% 0, 100% 50%, 95% 100%, 0 100%);
      transition: background 0.3s ease;
    }

    .btn-distribuidor:hover {
      background: #5fa32f;
    }


    .btn-distribuidor:hover {
      background: #5fa32f;
    }

    .btn-distribuidor-full {
      background: #7ac142;
      padding: 20px 40px;
      font-size: 1.3rem;
      clip-path: polygon(0 0, 95% 0, 100% 50%, 95% 100%, 0 100%);
      min-width: 90%; /* ancho flexible dentro del container */
    }

    .btn-distribuidor-full span {
      text-align: center;
    }

    .btn-distribuidor-full a {
      font-size: 1.1rem;
      transition: color 0.3s ease;
    }

    .btn-distribuidor-full a:hover {
      color: #ddd;
    }

    /* --- Título Principal --- */
    /* Contenedor de cada categoría */
    .categoria-box {
      height: 350px;
      overflow: hidden;
    }

    .border-categoria{
      border-color: #8bc53f !important;
    }

    .titulo-categoria {
      font-size: 2.5rem;
      font-weight: 700;
      margin: 0;
    }

    .titulo-categoria-gel {
      color: #8bc53f;
    }

    .subrayado {
      display: block;
      height: 3px;
      width: auto;
      background: #333;
      margin-top: 5px;
    }

    .subrayado.verde {
      background: #8bc53f;
    }

    .video-card {
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.3s;
}

.play-btn:hover {
  background: #8bc53f;
}

.play-btn i {
  font-size: 2rem;
  color: #000;
}

.footer h6 {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.footer a:hover {
  color: #8bc53f !important;
}


.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl{
  padding-right: 0px;
  padding-left: 0px;
}

.offcanvas-header {
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

.list-group-item {
  cursor: pointer;
  border: none;
  border-bottom: 1px solid #eee;
}

.list-group-item:hover {
  background-color: #f1f1f1;
}

.bg-verde{
  background-color: #7ac142;
}

/* --- Menú lateral con subniveles --- */
.menu-principal {
  padding: 0;
}

.menu-item {
  font-weight: 600;
  transition: background 0.2s ease;
}

.menu-item:hover {
  background-color: #f0f8eb;
  color: #7ac142;
}

.submenu {
  background-color: #f9f9f9;
  padding-left: 15px;
  border-left: 3px solid #7ac142;
  transition: all 0.3s ease;
}

.submenu .list-group-item {
  font-size: 14px;
  color: #444;
}

.submenu .list-group-item:hover {
  background-color: #eef7e6;
  color: #7ac142;
}

/* --- HEADER NSK --- */
.header-nsk {
  background: #fff;
  border-bottom: 2px solid #8bc53f;
}

.header-nsk .logo img {
  height: 50px;
}

.header-nsk .slogan span {
  color: #222;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.header-nsk .contacto a {
  color: #2e7d32;
  font-weight: 600;
  transition: color 0.3s;
}

.header-nsk .contacto a:hover {
  color: #6cc04a;
}

/* --- HEADER NSK alineado --- */
.header-nsk {
  background: #fff;
  border-bottom: 2px solid #8bc53f;
}

.header-nsk .logo img {
  height: 55px;
}

.header-nsk .slogan {
  color: #222;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.header-nsk .contacto a {
  color: #2e7d32;
  font-weight: 600;
  transition: color 0.3s ease;
}

.header-nsk .contacto a:hover {
  color: #6cc04a;
}

/* --- Menú principal --- */
.menu-nsk {
  border-top: 1px solid #8bc53f;
  border-bottom: 2px solid #8bc53f;
  width: auto;
}

.menu-nsk .nav-link {
  color: #555;
  font-weight: 600;
  text-transform: uppercase;
  padding: 8px 15px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.menu-nsk .nav-link:hover {
  background-color: #8bc53f;
  color: #fff;
}

.menu-nsk .nav-link.active {
  background-color: #8bc53f;
  color: #fff !important;
}


/* --- Lista de marcas estilo NSK --- */
.lista-marcas {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  text-transform: uppercase;
  font-weight: 700;
  font-style: italic;
}

/* Fila base */
.lista-marcas li {
  position: relative;
  display: flex;
  justify-content: flex-start; /* alineación natural a la izquierda */
  align-items: center;
  padding: 14px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 2px solid #fff;
}

/* Zebra: gris y blanco alternado */
.lista-marcas li:nth-child(odd) {
  background: #fff;
}
.lista-marcas li:nth-child(even) {
  background: #f5f5f5;
}

/* Texto de la marca */
.lista-marcas li span {
  flex: 1;
  text-align: left;
  color: #111;
  position: relative;
  transition: all 0.3s ease;
  margin-left: 10%; /* separa un poco del borde izquierdo */
}

/* Efecto hover */
.lista-marcas li:hover span {
  color: #8bc53f;
}

/* Subrayado verde a la izquierda */
.lista-marcas li span::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: #8bc53f;
  transition: width 0.3s ease;
}

.lista-marcas li:hover span::after {
  width: 40%; /* ajusta el largo del subrayado */
}

/* "VER MÁS →" más cerca del texto */
.ver-mas {
  text-align: left;
  display: none;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  font-style: normal;
  transition: all 0.2s ease;
  margin-left: 15px; /* más cerca del nombre */
}

.lista-marcas li:hover .ver-mas {
  display: inline-block;
  color: #111;
}

.ver-mas:hover {
  color: #8bc53f;
}

.ver-mas i {
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.ver-mas:hover i {
  transform: translateX(3px);
}



/* --- Botón tipo banda completa (ancho total) --- */
.btn-catalogo-full {
  background-color: #7ac142; /* verde NSK */
  display: block;
  width: 90%;
  padding: 14px 0;
  font-size: 1rem;
  /*clip-path: polygon(0 0, 98% 0, 100% 100%, 0 100%);*/
  clip-path: polygon(0 0, 100% 0, 99% 0%, 96% 100%, 0 100%);
  text-align: center;
  transition: all 0.3s ease;
}

.btn-catalogo-full:hover {
  background-color: #5fa32f;
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-catalogo-full i {
  font-size: 1rem;
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.btn-catalogo-full:hover i {
  transform: translateX(4px);
}

/*Productos*/
/* --- Contenedor general blanco con sombra + resplandor suave --- */
.box-catalogo {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  /* sombra principal + resplandor NSK más visible */
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.15),   /* sombra gris más profunda */
    0 0 25px rgba(122, 193, 66, 0.25); /* resplandor verde más notorio */
  margin: 40px auto;
  max-width: 1200px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* --- Banner NSK con imagen --- */
.banner-nsk {
  background: url('../img/banner/categorias/banner.jpg') center center / cover no-repeat;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); /* sombra inferior más notoria */
}

.banner-nsk::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.banner-nsk .container {
  position: relative;
  z-index: 2;
}

.banner-nsk .banner-text {
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.6;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* --- Fondo gris interno --- */
.bg-light {
  background-color: #fff !important;
}

/* Línea verde bajo el título */
.linea-verde {
  width: 60px;
  height: 3px;
  background-color: #7ac142;
}

/* --- Tarjeta NSK --- */
.card-nsk {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.card-nsk:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

/* Imagen */
.card-nsk .img-wrapper {
  background: #f7f7f7;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-nsk img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* --- Cinta verde NSK (superior más larga que inferior) --- */
.cinta-verde {
  background-color: #7ac142;
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 7px 0;
  text-align: center;
  position: relative;
  /* Nueva forma más corta y precisa */
  clip-path: polygon(0 0, 100% 0, 99% 0%, 96% 100%, 0 100%);
}

.cinta-verde span {
  color: #000;
  font-weight: 700;
  letter-spacing: 0.5px;
}
/* --- Info debajo --- */
.card-nsk .info {
  background: #fff;
  line-height: 1.4;
}

.card-nsk .medidas {
  font-size: 0.9rem;
  color: #222;
}

.card-nsk .aplicaciones {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #555;
}

/*producto detalle*/

.detalle-cinta {
  background-color: #000;         /* fondo negro */
  color: #7ac142;                /* verde NSK */
  font-weight: 700;
  font-size: 1.4rem;
  display: flex;
  justify-content: space-between; /* modelo izquierda / código derecha */
  align-items: center;
  padding: 10px 25px;
  clip-path: polygon(0 0, 100% 0, 97% 100%, 0 100%); /* diagonal derecha */
  letter-spacing: 0.5px;
}

.detalle-cinta .modelo {
  color: #7ac142;
  font-weight: 700;
}

.detalle-cinta .codigo {
  color: #7ac142;
  font-weight: 600;
  font-size: 1.3rem;
}


.carousel-inner img {
  max-height: 550px;
  object-fit: contain;
}

.thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.thumb:hover {
  transform: scale(1.05);
  border: 2px solid #7ac142 !important;
}


/*distribuidores*/
.mapa-nsk {
  background-color: #fff;
}

#map {
  width: 100%;
  height: 500px;
  border-radius: 6px;
  overflow: hidden;
}

.mapa-nsk h4 {
  color: #222;
  font-weight: 700;
}

.mapa-nsk select,
.mapa-nsk input {
  border: 2px solid #7ac142;
  border-radius: 6px;
  padding: 8px 10px;
}

.mapa-nsk select:focus,
.mapa-nsk input:focus {
  outline: none;
  border-color: #5ea22f;
  box-shadow: 0 0 0 0.15rem rgba(122, 193, 66, 0.25);
}



/* ============================================
   BANNER NSK CON CAPAS PNG + ANIMACIÓN
============================================ */

.banner-nsk-layers {
  position: relative;
  width: 100%;
  height: 280px; /* desktop */
  overflow: hidden;
}

/* Fondo */
.banner-nsk-layers .nsk-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Batería (izquierda) */
.banner-nsk-layers .nsk-bateria {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 280px;
  z-index: 2;
  opacity: 0;
  animation: nskSlideUp 1s ease forwards .2s;
}

/* Slogan (centro) */
.banner-nsk-layers .nsk-slogan {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  height: 280px;
  z-index: 2;
  opacity: 0;
  animation: nskFadeIn 1s ease forwards .6s;
}

/* Moto (derecha) */
.banner-nsk-layers .nsk-moto {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 280px;
  z-index: 2;
  opacity: 0;
  animation: nskSlideDown 1s ease forwards .9s;
}

/* Animations */
@keyframes nskFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes nskSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes nskSlideDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================
     RESPONSIVE
============================ */

/* Tablet horizontal / laptop pequeño */
@media (max-width: 1200px) {
  .banner-nsk-layers { height: 240px; }

  .banner-nsk-layers .nsk-bateria { height: 240px; }
  .banner-nsk-layers .nsk-slogan  { height: 240px; top: 0; }
  .banner-nsk-layers .nsk-moto    { height: 240px; }
}

/* Tablet */
@media (max-width: 992px) {
  .banner-nsk-layers { height: 180px; }

  .banner-nsk-layers .nsk-bateria { height: 180px; left: 0; }
  .banner-nsk-layers .nsk-slogan  { height: 180px; top: 0; }
  .banner-nsk-layers .nsk-moto    { height: 180px; right: 0; }

  .carousel-control-prev {
    left: 40px !important;
  }
  .carousel-control-next {
    right: 40px !important;
  }

  .brand-carousel img { 
    max-height: 30px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: 0.3s;
    margin-right: 15px !important;
  }
  .swiper-slide {
    margin-right: 15px !important;
  }
  .pd-10{
    padding-left: 10px !important; 
    padding-right: 10px !important; 
  }
}
@media (max-width: 768px) {

  .banner-nsk-layers { height: 150px; }

  .banner-nsk-layers .nsk-bateria { height: 150px; left: 0; }
  .banner-nsk-layers .nsk-slogan  { height: 150px; top: 0; }
  .banner-nsk-layers .nsk-moto    { height: 150px; right: 0; }

  carousel-control-prev {
    left: 25px !important;
  }
  .carousel-control-next {
    right: 25px !important;
  }

  .brand-carousel img { 
    max-height: 30px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: 0.3s;
    margin-right: 15px !important;
  }
  .swiper-slide {
    margin-right: 15px !important;
  }
  .pd-10{
    padding-left: 10px !important; 
    padding-right: 10px !important; 
  }
}

/* Móvil */
@media (max-width: 576px) {

  .banner-nsk-layers { height: 130px; }

  .banner-nsk-layers .nsk-bateria { height: 130px; left: 0; }
  .banner-nsk-layers .nsk-slogan  { height: 130px; top: 0; }
  .banner-nsk-layers .nsk-moto    { height: 130px; right: 0; }

  .carousel-control-prev {
    left: 10px !important;
  }
  .carousel-control-next {
    right: 10px !important;
  }
  .brand-carousel img { 
    max-height: 30px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: 0.3s;
    margin-right: 15px !important;
  }
  .swiper-slide {
    margin-right: 15px !important;
  }
  .pd-10{
    padding-left: 10px !important; 
    padding-right: 10px !important; 
  }
}

/* Móvil pequeño */
@media (max-width: 420px) {
  .banner-nsk-layers { height: 110px; }

  .banner-nsk-layers .nsk-bateria { height: 110px; }
  .banner-nsk-layers .nsk-slogan  { height: 110px; }
  .banner-nsk-layers .nsk-moto    { height: 110px; }
}

