 /* ========== RESET ========== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            text-decoration: none;
            scroll-behavior: smooth;
        }

        body {
    font-family: var(--font-BebasNeue), 'Arial', sans-serif;
    font-weight: 400;
    font-style: normal;
}

        .contaienerNavbar{
               margin: auto;
               height:auto;
               padding-bottom:20px;
               background-color:#ffffff;
                position: fixed;
                z-index: 1000;
                display: block;
                width:100%;
                border-bottom:1px solid #D8D8D8;
                font-family: var(--font-BebasNeue), 'Arial', sans-serif;
                font-weight: 400;
                font-style: normal;
        }

        .contaienerNavbar.scrolled{
            padding-bottom:10px;
        }

         .vistaDesktop{
        padding-bottom:20px;
    }

    .vistaDesktop.scrolled{
        padding-bottom:10px;
    }


    .topbarContainer{
        width:100%;
        padding:10px;
        background-color:#0033A1;
    }
    .topbar{
        width:100%;
        max-width:1400px;
        margin:auto;
        display:flex;
        justify-content:space-between;
        align-items:center;
        gap:15px;
    }
    .msjTopbar{
        color:#ffffff;
        font-size:11px;
        font-weight:600;
        font-family: var(--font-Poppins);
        font-weight: 700;

    }
    
      .msjTopbar{
         font-family: var(--font-Poppins), Arial, Helvetica, sans-serif;
    }


    .containerRds{
        display:flex;
        justify-content:center;
        align-items:center;
        gap:10px;
    }

    .containerRds a{
        background-color:#93D500;
        width:30px;
        height:30px;
        border-radius:50%;
        display:flex;
        justify-content:center;
        align-items:center;
        color:#0033A1;
        font-size:18px;
        text-decoration:none;
        transition:all ease .3s;
    }
     .containerRds a:hover{
        background-color:#ffffff;
     }


 .logoSearchBtnWhatsappContainer{
                width:100%;
                border-bottom:1px solid #D8D8D8;
            }
            .logoSearchBtnWhatsapp{
                width:100%;
                max-width:1400px;
                margin: auto;
                display:flex;
                justify-content:space-between;
                align-items:center;
                padding:8px;
            }


            .logoSearchBtnWhatsapp.scrolled {
                 padding:2px;
            }

            .logoDesktop{
                width:120px;
                height:auto;
            }
            .logoDesktop img{
                width:100%;
                height:100%;
            }

            .logoDesktop.scrolled {
                width:100px;
            }

            .searchDesktop{
                width:65%;
            }
            /*.btnWhatsAppDesktop{
                width:17%;
            }*/
            .abtnDesktop{
                text-decoration:none;
            }
            .abtnDesktop button{
                padding:12px 68px;
                border-radius:10px;
                background-color:#0033A1;
                color:#ffffff;
                border:none;
                display:flex;
                justify-content:center;
                gap:8px;
                height:50px;
                font-size:20px;
                font-family: var(--font-BebasNeue);
                font-weight: 400;
                cursor: pointer;
                transition: all ease .3s;
            }

            .abtnDesktop button:hover{
                background-color: var(--color-WhatsApp);
            }



             .abtnDesktop button span{
                color: #64E005;
                font-size:28px;
                margin-top:-4px;
             }
             .abtnDesktop button:hover i{
                transition: all ease .3s;
             }
             .abtnDesktop button:hover i {
                    color: #ffffff;
                }

        /* ========== HEADER ========== */
        .navbar {
            display: flex;
            justify-content:center;
            align-items: center;
            background-color: #ffffff;
            padding: 0 20px;
            top: 0;
        }

        /* ===== LOGO ===== */
        .logo {
            display: none;
            align-items: center;
            gap: 10px;
        }
        .logo img {
            height:55px;
            width: auto;
        }

        /* ===== MENÚ ===== */
        .nav-menu {
            display: flex;
            list-style: none;
            align-items: center;
            background-color: #ffffff;
        }
        .nav-menu > li {
            position: relative;
            list-style: none;
        }
        .nav-menu > li > a {
            display: block;
            padding: 10px 58px;
            color: #404653;
            text-decoration: none;
            font-size: 20px;
            font-weight: 400;
            height: auto;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            cursor: pointer;
            white-space: nowrap;
            transition: background 0.3s;
            border-left:1px solid #D8D8D8;
        }

        .nav-menu > li:first-child > a {
            border-left: none;
            padding-left:0px;
        }

        .nav-menu > li:last-child > a {
            padding-right:0px;
        }

        .nav-menu > li > a:hover {
            color: #0033A1;
        }

        /* ===== DROPDOWN ===== */
        .dropdown-content {
            display: none;
            position: absolute;
            top:45px;
            left: 0;
            background-color: #ffffff;
            min-width: 250px;

                box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
            border-radius: 0 0 4px 4px;
            z-index: 1001;
            border-radius:10px;
        }
        .dropdown-content li {
            list-style: none;
            position: relative;
        }
        .dropdown-content a {
            display: block;
            padding: 12px 18px;
            color: #404653;
            text-decoration: none;
            font-size: 16px;
            border-bottom: 1px solid #F2F2F2;
            transition: background 0.3s;
        }
        .dropdown-content a:last-child {
            border-bottom: none;
        }
        .dropdown-content a:hover {
         background: #f0f4ff;
    color: #0033A1;
        }

        /* ===== SUB-DROPDOWN ===== */
        .sub-dropdown {
            display: none;
            position: absolute;
            top: 0;
            left: 100%;
            background-color: #ffffff;
            min-width: 220px;

                box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
            border-radius:10px;
        }
        .sub-dropdown a {
            padding: 12px 18px;
            border-bottom: 1px solid #F2F2F2;
        }
        .sub-dropdown a:last-child {
            border-bottom: none;
        }

        /* ===== HOVER DESKTOP ===== */
        @media screen and (min-width: 993px) {
            .nav-menu > li:hover > .dropdown-content {
                display: block;
            }
            .dropdown-content li:hover > .sub-dropdown {
                display: block;
            }
        }

        .arrow {
            font-size: 10px;
            margin-left: 4px;
        }
        .sub-arrow {
            font-size: 10px;
            margin-left: 8px;
            float: right;
        }

       /* ===== HAMBURGUESA ===== */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            background: none;
            border: none;
            padding: 5px;
            width:50px;
            padding-left:11px;
            background-color: var(--blue);
            border-radius:5px;
        }
        .hamburger span {
            display: block;
            width: 28px;
            height: 3px;
            background-color: #ffffff;
            margin: 4px 0;
            border-radius: 3px;
            transition: 0.3s;
        }




        /* ===== BOTÓN BUSCADOR ===== */
.search-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    margin-top:-5px;
}
.search-btn span {
    display: block;
    width: 25px;
    height: 25px;
    border: 3px solid #404653;
    border-radius: 50%;
    position: relative;
}
.search-btn span::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: -8px;
    width: 12px;
    height: 3px;
    background: #404653;
    transform: rotate(45deg);
    border-radius: 2px;
}

.flexIcons{
    display:flex;
    justify-content:end;
    align-items:center;
    gap:25px;
}

.spaceNav{
    height: 254px;

}


        /* ===== RESPONSIVE ===== */

        @media screen and (max-width: 1400px) {
            .nav-menu > li > a {
                padding: 10px 55px;
            }
        }

         @media screen and (max-width: 1355px) {
            .nav-menu > li > a {
                padding: 10px 50px;
            }
        }

         @media screen and (max-width: 1286px) {
            .nav-menu > li > a {
                padding: 10px 45px;
            }
        }

         @media screen and (max-width: 1245px) {
            .nav-menu > li > a {
                padding: 10px 40px;
            }
        }

        @media screen and (max-width: 1215px) {
            .nav-menu > li > a {
                padding: 10px 35px;
            }
        }


        @media screen and (max-width: 1110px) {
            .nav-menu > li > a {
                padding: 10px 32px;
            }
        }

         @media screen and (max-width: 1075px) {
            .nav-menu > li > a {
                padding: 10px 27px;
            }
        }

          @media screen and (max-width: 1015px) {
            .nav-menu > li > a {
                padding: 10px 25px;
            }
        }


          @media screen and (max-width:1408px) {
                 .abtnDesktop button{
                    padding:12px 62px;
                }
            }


             @media screen and (max-width:1276px) {
                 .abtnDesktop button{
                    padding:12px 45px;
                }
            }

                @media screen and (max-width:1140px) {
                 .abtnDesktop button{
                    padding:12px 40px;
                }

                    .searchDesktop{
                    width:60%;
                }

            }

                @media screen and (max-width:1059px) {
                 .abtnDesktop button{
                    padding:12px 35px;
                }
            }







        /* ===== RESPONSIVE ===== */
        @media screen and (max-width: 992px) {
            .hamburger {
                display: flex;
            }

             .vistaDesktop{
            display:none;
        }

            .contaienerNavbar{
                padding:0px;
            }

            .contaienerNavbar.scrolled{
                padding:0px;
            }

             .navbar {
                 height: 70px;
                 justify-content:space-between;
             }

            .nav-menu {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 70px;
                left: 0;
                width: 100%;
                background-color: #ffffff;
                padding: 10px 0;
                max-height: calc(100vh - 70px);
                overflow-y: auto;
            }
            .nav-menu.active {
                display: flex;
            }
            .nav-menu > li {
                width: 100%;
            }
            .nav-menu > li > a {
                height: auto;
                line-height: 1.5;
                padding: 14px 24px;
                border-bottom: 1px solid #F2F2F2;
                white-space: normal;
                border-left:none;
            }

            .controlpleft{
                margin-left:-10px !important;
            }

            .nav-menu > li:first-child > a{
                padding-left: 14px;
            }

            /* Dropdown en móvil */
            .dropdown-content {
                position: static;
                display: none;
                background-color: #E8E8E8;
                box-shadow: none;
                border-radius: 0;
                width: 100%;
                min-width: unset;
            }
            .dropdown-content a {
                padding: 12px 20px;
            }

            .sub-dropdown {
                position: static;
                display: none;
                background-color: #eeeeee;
                box-shadow: none;
                border-radius: 0;
                width: 100%;
                min-width: unset;
                left: 0;
            }
            .sub-dropdown a {
                padding: 12px 35px;
            }

            .nav-menu > li.open > .dropdown-content {
                display: block;
            }
            .dropdown-content li.open > .sub-dropdown {
                display: block;
            }

              .search-btn {
                    display: flex;
                }


            .arrow {
                float: right;
                font-size:20px;
            }
            .sub-arrow {
                float: right;
            }

            .logo{

            display: flex;
            }

            /**/
            .spaceNav{
                height: 71px;
            }
        }

        @media screen and (max-width: 390px) {
         .logo img {
                height:45px;
            }
        }

         @media screen and (max-width: 370px) {
            .flexIcons{
                gap:30px;
            }
        }

        @media screen and (max-width: 345px) {
            .flexIcons{
                gap:25px;
            }
        }

        /* ===== HAMBURGUESA ANIMACIÓN ===== */
         .hamburger.active{
            padding-top:10px;
            background-color: #0033A1;
         }


        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
            background-color: #ffffff;
        }
        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }
        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(10px, -10px);
            background-color: #ffffff;
        }

        /* ===== CONTENIDO ===== */
        .hero {
            padding: 80px 20px;
            max-width: 1200px;
            margin: 0 auto;
            text-align: center;
        }
        .hero h1 {
            font-size: 36px;
            color: #0a2942;
            margin-bottom: 20px;
        }
        .hero p {
            font-size: 18px;
            color: #555;
            max-width: 700px;
            margin: 0 auto;
        }



        /* BUSCADOR */
         /* ===== OVERLAY BUSCADOR ===== */
.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 25, 25, 0.404);
    z-index: 9999;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 20px;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.search-overlay.active {
    display: flex;
}

.search-container {
    width: 100%;
    max-width: 1000px;
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    animation: slideDown 0.3s ease;
}

/* Botón cerrar */
.search-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    color: #404653;
    cursor: pointer;
    transition: transform 0.3s, color 0.3s;
    padding: 5px;
}

.search-close:hover {
    transform: rotate(90deg);
    color: #0033A1;
}

/* Título */
.search-title {
    color: #404653;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 20px;
}
/* Input wrapper */
.search-input-wrapper {
    position: relative;
    overflow: hidden;
}

.search-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    background-color: #93D500;
    height:50px;
    width: 60px;
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    font-size: 20px;
    padding-top:14px;
    /*padding-left:20px;*/
    right: 0; /* Cambiado de left a right */
    pointer-events: none; /* Para que no interfiera con el input */

    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
}

#searchInput {
    width: 100%;
    padding: 18px 70px 18px 20px; /* Aumentado padding-right para el ícono */
    font-size: 18px;
    border: 1px solid #D8D8D8;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #ffffff;
    color: #404653;
    font-family: "Popins", sans-serif;
    letter-spacing: 0.5px;
    height:50px;
}

#searchInput:focus {
    background: #ffffff;
    border:1px solid #999999;
}

#searchInput::placeholder {
    color: #A0A0A0;
    font-size: 16px;
    font-family: "Popins", sans-serif;
}

#searchInputDesktop {
    width: 100%;
    padding: 18px 70px 18px 20px; /* Aumentado padding-right para el ícono */
    font-size: 18px;
    border: 1px solid #D8D8D8;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #ffffff;
    color: #404653;
    font-family: "Popins", sans-serif;
    letter-spacing: 0.5px;
    height:50px;
}

#searchInputDesktop:focus {
    background: #ffffff;
    border:1px solid #999999;
}

#searchInputDesktop::placeholder {
    color: #A0A0A0;
    font-size: 16px;
    font-family: "Popins", sans-serif;
}


/* Resultados */
.search-results {
    margin-top: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    padding: 14px 20px;
    border-bottom: 1px solid #F2F2F2;
    color: #404653;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    border-radius: 8px;
    font-size: 17px;
}

.search-result-item:hover {
    background: #f0f4ff;
    color: #0033A1;
}

.search-result-item:last-child {
    border-bottom: none;
}

/* Mensaje sin resultados */
.search-no-results {
    padding: 30px 20px;
    text-align: center;
    color: #A0A0A0;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.search-no-results i {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
    color: #D8D8D8;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media screen and (max-width: 768px) {
    .search-overlay {
        padding: 20px 10px;
    }

    .search-container {
        padding: 20px;
        border-radius: 12px;
    }

    .search-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    #searchInput {
        font-size: 16px;
        padding: 15px 45px 15px 20px;
    }

    .search-input-wrapper {
    position: relative;
    margin-bottom: 10px;

    }
    .search-icon {
        font-size: 18px;
        padding-top:17px;
    }

    .search-close {
        font-size: 28px;
        top: 10px;
        right: 10px;
    }

    .search-result-item {
        font-size: 15px;
        padding: 12px 16px;
    }
}


/* ===== RESULTADOS CON IMAGEN ===== */
.search-result-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid #F2F2F2;
    color: #404653;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    border-radius: 8px;
}

.search-result-item:hover {
    background: #f0f4ff;
}

.search-result-image {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-size: 15px;
    font-weight: 500;
    color: #1a1a2e;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.search-result-type {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-result-type.producto {
    background: #e3f2fd;
    color: #1565c0;
}

.search-result-type.servicio {
    background: #e8f5e9;
    color: #2e7d32;
}

.search-result-type.categoría {
    background: #fff3e0;
    color: #e65100;
}

.search-result-marca,
.search-result-category {
    font-size: 12px;
    color: #999;
}

.search-result-marca::before {
    margin-right: 4px;
}

.search-result-category::before {
    margin-right: 4px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .search-result-item {
        padding: 10px 12px;
        gap: 12px;
    }

    .search-result-image {
        width: 44px;
        height: 44px;
    }

    .search-result-name {
        font-size: 14px;
    }
}




/* ===== TOPBAR CON DESVANECIMIENTO RÁPIDO ===== */
.topbarContainer {
    width: 100%;
    padding: 10px;
    background-color: #0033A1;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
    opacity: 1;
    max-height: 200px;
    overflow: hidden;
}

.topbarContainer.hidden {
    opacity: 0;
    max-height: 0;
    padding: 0 10px;
    pointer-events: none;
}
