/*
 * Computer header main menu styles.
 * Extracted from module/computer/layout/headerMenu.phtml during audit Step 6a.
 *
 * PHP-interpolated brand colours migrated to tokens:
 *   navbarTextColor → var(--lb-navbar-text)
 *   firstColor → var(--lb-brand)
 */

#headerMenu{
    width: 100%;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/*
 * Top-level category nav items (Consumíveis, Impressoras, Scanners…).
 * Production: 1.36rem → 13.6px (BS3 html=10px). Hardcoded for dev.
 */
#headerMenu .menuEl{
    font-size: 13.6px;
    font-weight: 500;
    color: var(--lb-navbar-text);
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#headerMenu .menuEl:hover{
    text-decoration: underline;
}

.menuElDetails{
    width: 1320px;
    position: absolute;
    top: 52px;
    left: 0;
    z-index: 400;
    background: #FFF;
    padding: 20px 30px;
    font-weight: 400;
    border-bottom: 10px var(--lb-brand) solid;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 60px 40px -7px;
    cursor: default;
}

/*
 * Submenu links (Adaptadores, Cabos HDMI, etc.). Without this rule BS4
 * defaults to a=#007bff which clashes with the brand-coloured header bar
 * above it. Standard mega-menu pattern: dark text by default, brand on
 * hover — same affordance Amazon/FNAC/MediaMarkt use.
 */
.menuElDetails a{
    color: var(--lb-text);
}

.menuElDetails a:hover{
    color: var(--lb-brand);
    text-decoration: none;
}

.menuElDetailsPeripherals{
    padding: 0 !important;
}

.menuElDetailsComputers{
    padding: 0 !important;
    left: 0;
    right: 0;
}

#headerBrandsContainer img:hover{
    opacity: 0.7;
}

#headerBrandsContainer h4{
    font-size: 13.6px;
    line-height: 20px;
    font-weight: 700;
    color: #333 !important;
}
