#icono-whatsapp {
  position: fixed;
  bottom: 10%;
  right: .5%;
  z-index: 9999;
  cursor: pointer;
  width: 70px;
}

.flex-container {
  display: flex;
  flex-flow: row nowrap;
  background-color: white;
  padding-bottom: 0px;
  margin-bottom: 0px;
  margin-top: 10px;
  justify-content: center;
  z-index: 99999999;
}

.flex-container div>a {
  color: #8C8B8B;
  margin: 20px;
  margin-bottom: 5px;
  text-align: center;
  font-size: clamp(13px, 1.3vw, 20px);
}

.flex-container div>hr {
  display: none !important;
}

.items {
  width: 200px;
}

#globalV2 {
  display: none;
  position: absolute;
  height: auto;
  background: white;
  z-index: 9999;
  top: 167px;
  left: 5%;
  padding-left: 5%;
  padding-bottom: 1%;
  border: 1px solid #c5c5c5;
  box-shadow: 0px 0px 7px 1px rgba(0, 0, 0, 0.35);
}

/* Estilo para Subcategorías Principales (Gris oscuro, negrita, tamaño grande) */
#globalV2 ul li a.pixelSubCategorias {
  cursor: pointer;
  color: #555555;
  font-weight: bold;
  font-size: 1.5rem;
  /* <-- Tamaño aumentado (antes 1.3rem) */
  text-decoration: none;
  list-style: none;
  background-color: white;
}

/* Estilo para los Items/Productos (Gris claro, normal, tamaño mediano) */
#globalV2 ul.subCategoria ul.productos li a.pixelProducto {
  cursor: pointer;
  color: #888888;
  font-weight: normal;
  font-size: 1.4rem;
  /* <-- Tamaño aumentado (antes 1.2rem) */
  text-decoration: none;
  list-style: none;
  background-color: white;
  display: block;
  line-height: 1.3;
  padding: 0;

}

/*=============================================
TOP
==============================================*/

#top ul {
  padding-top: 8px;
}

#top ul li {
  display: inline;
  line-height: 30px;
  margin: 0px 5px;
  color: white;
}

.social ul li a i {
  font-size: 18px;
  margin: 0 1px;
}

.registro ul {
  text-align: right;
  font-size: 12px;
}

.menuBarraSuperior ul li a i {
  font-size: 1.3rem;
  margin: 0 1px;
  text-decoration: none;
}

.menuBarraSuperior ul li a {
  font-size: 1.3rem;
  margin: 0 1px;
  text-decoration: none;
}

/*=============================================
HEADER
==============================================*/

#icon {
  position: absolute;
  display: none !important;
  bottom: .7rem;
  right: 4.1rem;
  top: 0.4rem;
  user-select: none;
  cursor: pointer;
  z-index: 99999999999;
}

#icon i {
  font-size: 1vw;
  color: #344488;
}

input.input {
  min-width: 100px;
  padding-right: 50px;
}

input.input:focus {
  border-color: #344488;
  box-shadow: 0px 0px 7px 1px rgba(0, 67, 211, 0.63);
}

#botonBuscador {
  border-radius: 20px;
  border: none;
}

#botonBuscador:hover {
  background-color: transparent !important;
}

header #buscador {
  margin: 20px 0;
}

header #buscador input {
  padding: 19px;
  border-radius: 10px;
}

header #buscador button {
  padding: 9px;
  border: 1px solid silver;
  border-radius: 0;
}

header {
  background-color: white;
}

.derecha {
  float: right;
}

.izquierda {
  float: left;
}

#ultimaColumna {
  padding-top: 15px;
}

#miCuenta {
  color: #303030;
}

#carritoCompras {
  color: #303030;
}

.enlacesDesactivados {
  pointer-events: none;
  cursor: not-allowed !important;
  opacity: 0.5;
  color: silver;
}

.logo-img {
  padding-top: 5%;
  width: 100%;
  max-width: 140px;
  height: auto;
}

header div h4.tituloCategoria {
  cursor: default;
  color: black;
  font-size: 1.6rem;
}

header div ul.subCategoria li ul li.productoSubCategoriaCategoria a {
  cursor: pointer;
  color: yellow;
  padding-left: 20px;
  font-weight: bold;
}

a.pixelCategorias {
  cursor: pointer;
}


#globalV2 ul.subCategoria {
  padding-top: 15px;
  background-color: white;
}

#globalV2 ul {
  background-color: white;
}

.backColorCabezote a {
  color: silver;
}

.backColorCabezote hr {
  color: white;
}

.backColorCabezote a:hover {
  color: white;
  font-weight: bold;
}

.backColorCabezote {
  background-color: #ef2142;
}

/*=====================================
SUGERENCIAS BUSCADOR (AUTOCOMPLETE)
=====================================*/

#buscador {
  position: relative;
}

#resultadosBuscador {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  z-index: 999999999;
  border: 1px solid #eee;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: none;
  max-height: 400px;
  overflow-y: auto;
}

.itemSugerencia {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border-bottom: 1px solid #f9f9f9;
  text-decoration: none !important;
  transition: background 0.2s;
}

.itemSugerencia:hover {
  background: #f5f5f5;
}

.itemSugerencia:last-child {
  border-bottom: none;
}

.imgSugerencia {
  width: 45px;
  height: 45px;
  object-fit: contain;
  margin-right: 12px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #f0f0f0;
}

.infoSugerencia {
  flex: 1;
}

.tituloSugerencia {
  display: block;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0px;
}

.descripcionSugerencia {
  display: block;
  color: #666;
  margin-top: 2px;
  line-height: 1.2;
}

.verMasSugerencia {
  display: block;
  text-align: center;
  padding: 10px;
  background: #fafafa;
  color: #888;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.verMasSugerencia:hover {
  color: #333;
  background: #eee;
}


/*=============================================
ESCRITORIO GRANDE (LG — desde 1200px)
==============================================*/

@media (min-width:1200px) {

  header #logotipo img {
    padding: 20px 60px;
    padding-left: 0px;
  }

  header #carrito {
    padding-left: 100px;
  }

  #globalV2 {
    top: 172px !important;
  }

}

/*=============================================
ESCRITORIO MEDIANO / TABLET HORIZONTAL (MD — 992px a 1199px)
==============================================*/

@media (max-width:1199px) and (min-width:992px) {

  header #logotipo img {
    padding: 25px 60px;
    padding-left: 0px;
  }

  header #carrito {
    padding-left: 70px;
  }

  #globalV2 {
    top: 163px !important;
  }

}

/*=============================================
TABLET VERTICAL / PC PEQUEÑO (SM — 768px a 991px)
==============================================*/

@media (max-width:991px) and (min-width:768px) {

  #icono-whatsapp {
    display: none;
  }

  header #logotipo img {
    padding: 30px 0px;
  }

  header #carrito {
    padding-left: 55px;
  }

  header #carrito p {
    display: none;
  }

  header #buscador input {
    padding-right: 15px;
  }

  #globalV2 {
    top: 182px !important;
  }

}

/*=============================================
MÓVIL (XS — hasta 767px)
==============================================*/

@media (max-width:767px) {

  /*-- TOP --*/

  #icono-whatsapp {
    display: none;
  }

  #top {
    display: none;
  }

  #top ul {
    text-align: center;
  }

  #top #registro {
    border-top: 1px solid #222;
  }

  /*-- HEADER --*/

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

  header #logotipo img {
    padding: 5px;
    padding-left: 5px;
    padding-top: 20px;
    width: 130px;
    order: 1;
  }

  header #buscador {
    order: 2;
    margin-bottom: 15px;
  }

  header #carrito {
    margin: 0px;
    order: 3;
  }

  header #buscador input {
    padding-right: 15px;
  }

  #ultimaColumna {
    display: none;
  }

  /*-- MENÚ DE CATEGORÍAS: Carrusel Horizontal Nativo --*/

  #categorias1 {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* inercia iOS legacy */
    -ms-overflow-style: none;
    /* ocultar scrollbar IE/Edge */
    scrollbar-width: none;
    /* ocultar scrollbar Firefox */
    padding: 0 10px;
    /* Gradiente visual que indica que hay más ítems → */
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
    margin-top: 0px;
    padding-top: 0px;
  }

  /* Ocultar scrollbar Chrome/Safari */
  #categorias1::-webkit-scrollbar {
    display: none;
  }

  /* Evitar que los ítems se compriman */
  #categorias1>div,
  #categorias1>.items {
    flex: 0 0 auto;
  }

  /* Ajuste de fuente y área táctil mínima (44px Apple HIG / 48px Google Material) */
  .flex-container div>a {
    font-size: 16px;
    margin: 8px 10px;
    padding: 8px 4px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #globalV2 {
    top: 250px !important;
  }



}