/* Estilos del menú flotante */
.floating-menu {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 99;
    padding: 10px 0;
    height: 65px;
    border: solid 1px #f7f7f7;
}

.floating-menu__container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    max-width: 100%;
    margin: 0 auto;
}

.floating-menu__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 12px;
    padding: 5px;
    position: relative;
    background: none;
    border: none;
}
.floating-menu__item:hover {
    color: var(--primary-color);
    transition: .3s;
}
.floating-menu__item i {
    font-size: 20px;
    margin-bottom: 5px;
}

.floating-menu__cart {
    position: relative;
    display: inline-block;
}

.floating-menu__cart .cart-items {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}
.floating-search-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    z-index: 1002;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.floating-search-container.hide {
    display: none;
}

.floating-search-container .floating-search-group {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    position: relative;
    z-index: 1003;
}

.floating-search-container .floating-search-input {
    background: white;
    position: relative;
    z-index: 1003;
    border: solid 1px #ced4da;
    border-radius: 0px;
}

.floating-search-container .floating-search-button {
    background: white;
    border: 1px solid #ced4da;
    border-left: none;
    color: #666;
    z-index: 1003;
}

.floating-search-container .floating-search-close {
    width: 32px;
    height: 32px;
    padding: 0;
    margin-left: 0.5rem;
    z-index: 1003;
}

/* Ocultar objetos y ajuste al footer */
@media (max-width: 992px) {
    .floating-menu {
        display: block;
    }
   .bs-grid-header,
   .bs-grid-header-sm,
   .bs-grid-header-md,
   .bs-grid-header-lg,
   .bs-grid-header-xl {
       grid-template-columns: 1fr auto 1fr;
   }
   .navbar-toggler {
       display: none;
   }

   .bs-grid-header__search,
   .bs-grid-header__cart {
       display: none;
   }

   .bs-grid-header__logo {
       grid-column: 2;
   }
    a.btn.btn-link i.fas.fa-user-alt {
        display: none;
    }
    .bs-copyright {
        padding-bottom: calc(65px + 1rem) !important;
    }

    .bs-header.position-relative[data-info="sticky"] {
        position: static !important;
    }
    .bs-sticky-header {
        box-shadow: none;
    }
    img[data-bs="header.logo"] {
        width: auto !important;
        height: auto !important;
        transition: none !important;
    }
    .bs-header-navbar {
        position: static !important;
    }
    .bs-main {
        margin-top: 0 !important;
        --sticky-margin-top: 0 !important;
    }
    
}
