/* Functional fallback for browsers that fail modern Lucaffè JavaScript. Modern browsers are unchanged. */
html.lcw-legacy-browser,
html.lcw-legacy-browser body {
    overflow-x: hidden;
}

html.lcw-legacy-browser .lhc-reveal,
html.lcw-legacy-browser .lmhh-reveal,
html.lcw-legacy-browser .lcpx-v2-reveal,
html.lcw-legacy-browser .lce-reveal {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

html.lcw-legacy-browser .lgfh-safe-header,
html.lcw-legacy-browser .lmhh-btn-glass,
html.lcw-legacy-browser .lce-fact-card,
html.lcw-legacy-browser .lcpx-v2-card,
html.lcw-legacy-browser .lhx-product,
html.lcw-legacy-browser .lhps-shell {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

html.lcw-legacy-browser .lgfh-safe-header {
    background: rgba(15, 15, 17, .98) !important;
}

html.lcw-legacy-browser img,
html.lcw-legacy-browser video,
html.lcw-legacy-browser svg,
html.lcw-legacy-browser canvas {
    max-width: 100%;
}

html.lcw-legacy-browser .lhps-media,
html.lcw-legacy-browser .lce-choice-visual,
html.lcw-legacy-browser .lcpx-v2-product-media,
html.lcw-legacy-browser .lcm-machine-visual {
    min-height: 260px;
}

html.lcw-legacy-browser .lgfh-safe-mobile[hidden],
html.lcw-legacy-browser .lgfh-safe-search[hidden],
html.lcw-legacy-browser [data-lgfh-safe-language-popover][hidden] {
    display: none !important;
}

html.lcw-legacy-browser .lgfh-safe-mobile.is-open,
html.lcw-legacy-browser .lgfh-safe-search.is-open {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

@supports not (font-size: clamp(1rem, 2vw, 2rem)) {
    .lmhh-home-copy h1 { font-size: 72px; }
    .lhx-values-title { font-size: 68px; }
    .lhps-title { font-size: 64px; }
    .lce-hero h1, .lca-hero h1, .lcm-hero-title { font-size: 64px; }
    @media (max-width: 820px) {
        .lmhh-home-copy h1,
        .lhx-values-title,
        .lhps-title,
        .lce-hero h1,
        .lca-hero h1,
        .lcm-hero-title { font-size: 42px; }
    }
}

@media (prefers-reduced-motion: reduce) {
    html.lcw-legacy-browser *,
    html.lcw-legacy-browser *::before,
    html.lcw-legacy-browser *::after {
        animation: none !important;
        transition-duration: .01ms !important;
    }
}
