    .header-wrapper-menu {
      /* position: sticky; */
      position: fixed;
      width: 100%;
      top: 0 ;
      z-index: 1002;
      background-color: #fff;
      transition: top 0.3s ease;
    }

    /* Menú principal */
    .menu-toggle {
      display: none;
      color: #000;
      font-weight: bold;
      padding: 8px;
      cursor: pointer;
      border-radius: 5px;
      margin: 5px;
      position: absolute;
      right: 10px; /* Ajusta la distancia desde el borde derecho */
      top: 5px; /* Ajusta la distancia desde la parte superior */
      z-index: 1003; /* Asegura que esté por encima de otros elementos */
      font-size: 18px;
    }

    .menu-principal {
      background-color: #f4f4f4;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 20px;
      padding: 2px 0;
      border-bottom: 1px solid #ddd;
    }

    .menu-scroll-hint {
      display: none;
      align-items: center;
      justify-content: center;
      gap: 8px;
      /* width: 100%; */
      padding: 6px 12px;
      font-size: 13px;
      color: #555;
      background: #fbfbfb;
      border-bottom: 1px solid #ddd;
    }
    
    .menu-scroll-hint__icon {
      font-size: 16px;
      animation: menu-scroll-hint-pulse 1.6s ease-in-out infinite;
    }

    .menu-scroll-hint__icon:last-child {
      animation-delay: 0.4s;
    }

    .menu-scroll-hint.is-hidden {
      display: none !important;
    }

    @keyframes menu-scroll-hint-pulse {
      0%, 100% {
        opacity: 0.2;
        transform: translateX(0);
      }
      50% {
        opacity: 1;
        transform: translateX(4px);
      }
    }

    .menu-principal a {
      text-decoration: none;
      color: #333;
      font-weight: 500;
      padding: 5px 10px;
    }

    header {
      background: #fff;
      border-bottom: 1px solid #ddd;
      padding: 10px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .logo {
      font-size: 24px;
      font-weight: bold;
      color: #333;
      text-align: left;
      flex: 0 0 auto;
    }

    .search-cart {
      display: flex;
      flex-wrap: nowrap;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      margin: 10px 0;
      position: relative;
    }

    .search-cart form {
      flex: 1 1 280px;
    }

    .search-cart input {
      border: 1px solid #ccc;
      border-radius: 5px;
      width: 250px;
      border-width: 2px !important;
      margin-bottom: 0px !important;

    }

    .icon-label {
      display: flex;
      align-items: center;
      gap: 5px;
      font-size: 14px;
      color: #333;
      background-color: #eee;
      padding: 5px 10px ;
      border-radius: 5px;
    }

    .search-cart a:hover {
      text-decoration: none;
    }

    .search-cart button {
      padding: 8px 12px;
      background: #f6f6f6;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 18px !important;
      margin-bottom: 0px !important;
    }

    .btn-hide {
      background-color: transparent !important;
      border-color: transparent !important;
      padding: 0px !important;
    }

    /* Submenu (mostaza) */
    .submenu-sticky {
      position: sticky;
      top: var(--submenu-offset, 80px);
      z-index: 1001;
      display: flex;
      flex-direction: column;
      width: 100%;
      background-color: #d4a019;
    }
    .submenu-bar {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 25px;
      background-color: #d4a019;
      color: white;
      font-weight: 600;
    }

    .submenu-bar a {
      text-decoration: none;
      color: white;
      transition: 0.3s ease;
      padding: 12px 15px;
      display: flex;          /* flexbox para centrar el texto */
      align-items: center;
    }

    .submenu-bar a:hover {
      background-color: white;
      color: #d4a019;
      border-radius: 5px;
    }

    @media (min-width: 769px) {
      .search-cart {
        margin: 10px;
      }
    }

    @media (max-width: 768px) {
      .menu-toggle {
        display: block;
        margin: 0px;
      }
      .menu-principal {
        display: none;
        flex-direction: column;
        align-items: center;
      }
      .menu-principal.mobile-visible {
        display: flex;
      }
      .logo, .search-cart {
        flex: 1 1 100%;
      }
      .search-cart input {
        width: 180px;
      }
      .search-cart {
        flex-wrap: wrap;
        justify-content: flex-end;
      }
      .logo-main {
        width: 100% !important;
        height: auto;
      }

      .search-cart {
        margin-right: 60px;
      }

      .menu-scroll-hint {
        display: flex;
      }

      .submenu-bar {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 12px;
        padding-right: 32px;
      }

      .submenu-bar::-webkit-scrollbar {
        display: none;
      }

      .submenu-bar .menu-item {
        display: contents;
      }

      .submenu-bar .menu-item > a{
        flex: 0 0 auto;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
      }

      header {
        padding: 0px;
      }

      .submenu-items {
        display: contents !important; 
        position: static !important;
      }

      .submenu-items a {
          display: inline-flex !important;
          align-items: center;
          white-space: nowrap; /* evita que el texto se divida en varias lineas */
      }

      .menu-item:hover .submenu-items {
        display: contents !important;
      }

      .submenu-hint {
        display: flex;
      }
    }

    @media (min-width: 760px) and (max-width: 1200px) {
      .logo-main {
        max-width: 445px !important;
        width: auto;
        margin: 0 auto;
      }

      .logo img {
        max-height: 445px !important;
        width: auto;
      }
    }
    
    @media (min-width: 1024px) {
      .logo-main {
        max-width: 550px !important;
        width: auto;
        margin: 0 auto;
      }

      .logo img {
        max-height: 550px !important;
        width: auto;
      }
    }

    .result {
      position: absolute; /* flota debajo del input */
      top: 100%;           /* justo debajo del input */
      left: 20%;
      width: 75%;
      background: white;
      border: 1px solid #ccc;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      max-height: 200px;
      overflow-y: auto;
      z-index: 1010;
      display: none;
    }

    .menu-item {
      position: relative;
      display: inline-block;
      /* padding: 5px 12px; */
    }
    
    .submenu-items{
      display: none;
      position: fixed; /* en lugar de absolute */
      background: #f5f5f5;
      padding: 20px;
      box-sizing: border-box;
      z-index: 999; /* para que quede encima */
      max-height: 300px;
      overflow-y: auto; 
    }
    
    .v-items {
      width: 20%;
    }

    .h-items {
      left: 0;
      width: 100%; /* ocupa todo el ancho de la ventana */
      column-count: 4;      
      column-gap: 30px;     
    }

    /* Reglas para mostrar los submenús en hover del contenedor */
    .menu-item:hover .submenu-items {
      display: block;
    }

    /* Estilos comunes para los enlaces dentro de ambos submenús */
    .submenu-items a {
      display: block;
      padding: 5px;
      text-decoration: none;
      color: #333;
    }

    .submenu-items a:hover {
      background: white;
    }

    /* agregar left 0 para moviles */
    @media (max-width: 768px) {
      #result {
        left: 0;
        width: 100%;
      }
    }

    .item-result {
      display: flex;
      gap: 10px;
      padding: 8px;
      border-bottom: 1px solid #eee;
      cursor: pointer;
    }
    .item-result:hover {
      background: #f7f7f7;
    }

    .cart-count {
        position: absolute;
    }

    .logo img {
      max-height: 100px; 
      width: auto;       
      height: auto;    
      object-fit: contain; 
    }

    .img-icon {
      width: 1.8em;          /* Tamaño relativo al texto */
      vertical-align: middle;
      object-fit: contain; /* Asegura que no se deforme */
      margin-right: 0.3em; /* Espacio a la derecha del ícono */
    }


    


