/* ==============================> CABECERA */

header .elementor-sticky--active {
    box-shadow: 0 0 10px 1px #8181813b;
}

div:where(.elementor-location-header) {
    margin-bottom: 0px;
}

header .elementor-widget-off-canvas .e-off-canvas__content {
    overflow: visible;
}

header .wd-nav.wd-style-bg>li:is(:hover, .wd-opened, .current-menu-item)>a:before {
    opacity: 1 !important;
}

/* Cabecera - Categorías */

#menu-cabecera-categorias {
    flex-wrap: nowrap !important;
    align-items: center !important;
}

#menu-cabecera-categorias span {
    text-align: center !important;
}

#menu-cabecera-categorias li,
#menu-cabecera-categorias a {
    height: -webkit-fill-available !important;
}

#menu-cabecera-categorias li>a:before {
    background-color: transparent !important;
}

/* Cabecera - Megamenu Marcas */

.mm-marcas-wrapper {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.mm-marca-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #F8F9FB;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.25s ease;
}

.mm-marca-item:hover {
    background: #ffffff;
    border-color: var(--e-global-color-primary);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
}

.mm-marca-nombre {
    font-size: 14px;
}

.mm-marca-flecha {
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.25s ease;
    font-size: 16px;
    color: var(--e-global-color-primary);
}

.mm-marca-item:hover .mm-marca-flecha {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1024px) {
    .mm-marcas-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .mm-marcas-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .mm-marcas-wrapper {
        grid-template-columns: 1fr;
    }
}