/* Acro mobile optimizations: floating quote button support */
.floating-quote-btn {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 10000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #15305b;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 13px 20px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 10px 28px rgba(21, 48, 91, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.floating-quote-btn::after { content: '\2192'; font-size: 18px; line-height: 1; transition: transform 0.2s ease; }
.floating-quote-btn:hover,
.floating-quote-btn:focus { background: #20437f; color: #ffffff !important; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(21, 48, 91, 0.34); }
.floating-quote-btn:hover::after,
.floating-quote-btn:focus::after { transform: translateX(3px); }
.floating-quote-text-mobile { display: none; }
@media only screen and (max-width: 767px) {
    .floating-quote-btn { right: 14px; bottom: 82px; padding: 11px 15px; font-size: 14px; box-shadow: 0 8px 22px rgba(21, 48, 91, 0.30); }
    .floating-quote-text-full { display: none; }
    .floating-quote-text-mobile { display: inline; }
}

/* ==========================================================
Acro Final Navigation, Product Tabs + Floating Quote CTA v1.7
Purpose:
- Contact Us matches normal top navigation links
- Product tabs stay left-aligned, readable, and accessible while scrolling
- Desktop/tablet tabs float below header
- Mobile tabs stay at bottom so they do not cover the logo/header
- Adds a site-wide Request a Quote / Get a Quote floating CTA
========================================================== */

/* Contact Us matches Home / Projects / Client Info */
.main-menu .nav-menu-wrapper > ul > li > a.nav-link,
.main-menu ul li a.nav-link {
    color: #027fb4;
    font-weight: 400;
}

.main-menu .nav-menu-wrapper > ul > li > a.nav-link:hover,
.main-menu .nav-menu-wrapper > ul > li > a.nav-link:focus,
.main-menu ul li a.nav-link:hover,
.main-menu ul li a.nav-link:focus {
    color: var(--accent-color);
}

/* Product tabs: readable white pills, left aligned */
.product-series-tabs-wrap {
    position: fixed !important;
    top: 92px;
    left: 0;
    right: 0;
    z-index: 9998;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    pointer-events: none;
}

.product-series-tabs-wrap .container {
    display: flex;
    justify-content: flex-start;
}

.product-series-tabs {
    width: fit-content;
    max-width: calc(100vw - 32px);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 12px;
    margin: 0;
    pointer-events: auto;
}

.product-series-tabs a,
.product-series-tabs a:link,
.product-series-tabs a:visited,
.product-series-tabs a span,
.product-series-tabs a * {
    color: #15305b !important;
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-text-fill-color: #15305b !important;
}

.product-series-tabs a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #ffffff !important;
    border: 1px solid #d9e3ee !important;
    text-decoration: none !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    text-shadow: none !important;
    min-width: auto !important;
    height: auto !important;
}

.product-series-tabs a::before,
.product-series-tabs a::after {
    display: none !important;
    content: none !important;
}

.product-series-tabs a:hover,
.product-series-tabs a:focus {
    background: #15305b !important;
    border-color: #15305b !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    transform: translateY(-1px);
}

.product-series-tabs a:hover *,
.product-series-tabs a:focus * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.series-anchor {
    scroll-margin-top: 170px;
}

/* Site-wide floating Request Quote CTA */
.floating-quote-btn {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 10000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #15305b;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 13px 20px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 10px 28px rgba(21, 48, 91, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.floating-quote-btn::after {
    content: '\2192';
    font-size: 18px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.floating-quote-btn:hover,
.floating-quote-btn:focus {
    background: #20437f;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(21, 48, 91, 0.34);
}

.floating-quote-btn:hover::after,
.floating-quote-btn:focus::after {
    transform: translateX(3px);
}

.floating-quote-text-mobile {
    display: none;
}

@media only screen and (max-width: 767px) {
    /* Move tabs away from logo/header on phones */
    .product-series-tabs-wrap {
        top: auto !important;
        bottom: 12px;
        left: 0;
        right: 0;
        padding: 0 8px env(safe-area-inset-bottom);
        z-index: 9998;
    }

    .product-series-tabs-wrap .container {
        justify-content: flex-start;
        max-width: 100%;
    }

    .product-series-tabs {
        width: auto;
        max-width: calc(100vw - 24px);
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 10px 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .product-series-tabs::-webkit-scrollbar {
        display: none;
    }

    .product-series-tabs a {
        padding: 9px 13px !important;
        font-size: 13px !important;
        flex: 0 0 auto;
        box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
    }

    body:has(.product-series-tabs-wrap) {
        padding-bottom: 76px;
    }

    .series-anchor {
        scroll-margin-top: 105px;
    }

    .floating-quote-btn {
        right: 14px;
        bottom: 82px;
        padding: 11px 15px;
        font-size: 14px;
        box-shadow: 0 8px 22px rgba(21, 48, 91, 0.30);
    }

    .floating-quote-text-full {
        display: none;
    }

    .floating-quote-text-mobile {
        display: inline;
    }
}

/* Final mobile tab placement: normal row below logo/header, above product title */
@media only screen and (max-width: 767px) {
    .product-series-tabs-wrap {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        z-index: 10 !important;
        width: 100% !important;
        padding: 10px 0 8px !important;
        margin: 0 0 18px 0 !important;
        background: #ffffff !important;
        border-bottom: 1px solid #eef2f6 !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.035) !important;
        pointer-events: auto !important;
    }

    .product-series-tabs-wrap .container {
        display: flex !important;
        justify-content: flex-start !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .product-series-tabs {
        width: auto !important;
        max-width: 100% !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        padding: 0 0 4px 0 !important;
        margin: 0 !important;
        gap: 10px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        pointer-events: auto !important;
    }

    .product-series-tabs::-webkit-scrollbar {
        display: none;
    }

    .product-series-tabs a,
    .product-series-tabs a:link,
    .product-series-tabs a:visited,
    .product-series-tabs a span,
    .product-series-tabs a * {
        color: #15305b !important;
        -webkit-text-fill-color: #15305b !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .product-series-tabs a {
        background: #ffffff !important;
        border: 1px solid #d9e3ee !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
        padding: 9px 13px !important;
        font-size: 13px !important;
        flex: 0 0 auto !important;
    }

    .product-series-tabs a:hover,
    .product-series-tabs a:focus {
        background: #15305b !important;
        border-color: #15305b !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }

    .product-series-tabs a:hover *,
    .product-series-tabs a:focus * {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }

    .floating-quote-btn {
        bottom: 18px !important;
        right: 14px !important;
    }

    body:has(.product-series-tabs-wrap) {
        padding-top: 0 !important;
        padding-bottom: 78px !important;
    }

    .series-anchor {
        scroll-margin-top: 95px !important;
    }
}
