        /* Estilos generales */
        * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        }
        
        body {
        font-family: Arial, sans-serif;
        }
        /* Estilos del header */
        header {
            background-color: #ffffff;
            color: #000000;
            top: 0;
            width: 100%;
            z-index: 1000;
            transition: top 0.3s;
        }

        .go {
            position: relative;
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 900px;
            margin: 0 auto;
            padding: 30px 10px 15px 10px; 
        }

        .logo {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }

        .logo img {
            max-height: 40px; 
        }
        
        @media (max-width: 768px) {
        .logo img {
            max-height: 30px; 
        }
        }

        .icon {
            display: flex;
            align-items: center;
        }

        .icon img {
            margin-left: 20px;
        }

        .icon-left-pc img {
            height: 24px; 
        }

        .icon-right img {
            height: 28px; 
        }

        .nav-links {
            display: flex;
            justify-content: center;
            background-color: #ffffff;
            padding: 10px;
            position: relative;
            margin-top: 10px;
        }

        .nav-links a {
            color: #000000;
            text-decoration: none;
            margin: 0 15px;
        }

        .nav-links a:hover {
            text-decoration: underline;
        }

        .hidden + .nav-links {
            display: none;
        }

        .numerito {
            position: absolute;
            bottom: 0;
            right: 0;
            background-color: #000000;
            color: #ffffff;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 12px;
            font-weight: bold;
            display: none; 
        }
        

        @media (max-width: 768px) {
            .icon-left-pc {
                display: none;
            }
            .icon-left-mobile {
                position: fixed; 
                z-index: 1001; 
                top: 20px;
                left: 20px;
                transition: transform 0.3s;
            }
            
            .icon-left-mobile.active {
                transform: translateX(-100%);
            }


            .icon-left-mobile,
            .icon-right {
                display: flex;
                position: static;
                align-items: center;
            }

            /*  .container {
                padding: 30px 10px 15px 10px; /* Ajuste de padding para mayor separación 
            }*/

            .icon-left-mobile img {
                height: 20px;
                margin-left: 0;
            }

            .mobile-search {
                height: 27px;
            }

            .icon-right img {
                height: 20px; 
                margin-left: 15px; 
            }

            .mobile-menu {
                position: fixed;
                width: 80%;
                max-width: 500px;
                height: 100%;
                top: 0;
                left: -100%;
                background-color: #ffffff;
                color: #fff;
                z-index: 999;
                transition: left 0.3s;
                padding-top: 130px;
            }

            .mobile-menu nav a {
                display: block;
                padding: 15px 20px;
                color: #000000;
                text-decoration: none;
            }

            .mobile-menu nav a:hover {
                background-color: #ece9e9;
            }

            .nav-links {
                display: none;
            }

            #menu-overlay {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(0, 0, 0, 0.5);
                display: none;
                z-index: 998;
            }
        }

        @media (min-width: 769px) {
            .icon-left-mobile,
            .mobile-menu,
            #menu-overlay {
                display: none;
            }

            .icon-left-pc {
                display: flex;
            }

            .icon-right {
                display: flex;
            }

            .nav-links {
                display: flex;
            }

            /* Ocultar lupa en PC al lado de la bolsa */
            .mobile-search {
                display: none;
            }
        }

        /* Transición del header con scroll */
        .hidden {
            top: -100px;
        }
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 1000;
}

.search-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    display: none;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 50px; 
}

.search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0px 0px 5px 20px;
    width: 100%;
}

#search-input {
    width: 100%; 
    padding: 20px 50px 20px 20px; 
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}
.input-wrapper {
    position: relative;
    width: 500px; 
}
#search-results {
    width: 500px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    display: none; 
    z-index: 1002;
    max-height: 400px;
    overflow-y: auto;
    box-sizing: border-box; 
}
#search-btn {
    position: absolute;
    right: 10px; 
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.close-search {
    font-size: 24px;
    cursor: pointer;
    margin-left: 10px; 
    display: inline-block;
}



.search-results {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 300px; 
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    display: none;
    z-index: 1002;
    max-height: 400px;
    overflow-y: auto;
}

.search-results .result-item {
    display: flex;
    align-items: center;
    padding: 10px;
}

.search-results .result-item:hover {
    background-color: #f5f5f5;
    cursor: pointer;
}

.search-results .result-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 10px; 
}

.search-results .result-item a {
    text-decoration: none; 
    color: black;
    flex: 1;
}

.search-results .result-item a:hover {
    text-decoration: underline;
}

.search-results .result-item p {
    margin: 0;
}

.search-results .result-item .title {
    margin-right: 10px; 
}

.search-results .result-item .price {
    margin-left: 0; 
    font-size: 12px; 
    color: gray;
}

.search-results .result-item .price del {
    text-decoration: line-through;
    text-align: center;
}
.search-icon{
    cursor: pointer;
}
@media (max-width: 768px) {
    .search-header {
        padding: 40px 9px 10px 10px;
        height: calc(22vh - 20px);
    }

    .input-wrapper {
        width: 100%;
    }

    #search-results {
        width: 100%;
    }
    .search-container {
        padding: 0;
    }
    .close-search {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .input-wrapper {
        width: 100%;
    }

    #search-results {
        width: 100%;
    }
    .search-container {
        padding: 0;
    }

    #search-input {
        font-size: 14px;
        padding: 15px 45px 15px 15px;
    }

    .search-results .result-item img {
        width: 40px;
        height: 40px;
    }

    .search-results .result-item a {
        font-size: 14px;
    }

    .search-results .result-item .price {
        font-size: 10px;
    }
}
