
/* Shared ZIL Shades header styling */

/* Main logo */
.header .logo__image {
    width: 190px !important;
    height: auto !important;
    max-height: 70px !important;
    object-fit: contain !important;
}

/* Product mega-menu hover */
@media (min-width: 901px) and (hover: hover) {
    .nav__item:hover .mega {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    /* Keep the menu open while moving the pointer into the mega-menu */
    .nav__item#navProducts::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -35px;
        height: 35px;
        z-index: 999;
    }
}

/* Support click-open and keyboard-controlled menu states */
.nav__item.open .mega,
.nav__item[aria-expanded="true"] .mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Active navigation item */
.nav__link--current {
    border-bottom-color: var(--gold);
}

/* Floating WhatsApp contact, shared by pages with the site footer. */
.whatsapp-float {
    position: fixed;
    right: calc(20px + env(safe-area-inset-right));
    bottom: calc(20px + env(safe-area-inset-bottom));
    z-index: 80;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #128c4a;
    color: #fff;
    box-shadow: 0 4px 16px rgb(0 0 0 / 22%);
}
.whatsapp-float:hover {
    background: #0d713c;
    color: #fff;
}
.whatsapp-float:focus-visible {
    outline: 2px solid #0b332c;
    outline-offset: 3px;
}
@media (max-width: 900px) {
    .whatsapp-float {
        right: calc(16px + env(safe-area-inset-right));
        bottom: calc(84px + env(safe-area-inset-bottom));
    }
}
body.navopen .whatsapp-float {
    visibility: hidden;
}

/* The Products link and disclosure share one visual navigation item. */
.nav-products-control {
    display: inline-flex;
    align-items: stretch;
    border-bottom: 2px solid transparent;
}
.nav-products-control:hover,
.nav-products-control:focus-within,
#navProducts.open .nav-products-control,
.nav-products-control:has([aria-current="page"]) {
    border-bottom-color: var(--gold);
}
.nav-products-link {
    display: inline-flex;
    align-items: center;
    padding-block: 10px;
    font-family: var(--font-display);
    font-size: var(--t-label);
    font-weight: 500;
    letter-spacing: .14em;
    line-height: 1.25;
    text-transform: uppercase;
}
.nav-products-control .nav-products-toggle {
    border-bottom: 0;
    padding-inline: 7px;
}
.mega__col h4 a:hover,
.mega__col h4 a:focus-visible {
    text-decoration: underline;
    text-underline-offset: .2em;
}

/* Products dropdown photos */
.mega__thumb {
    width: 100%;
    height: auto;
}
