/* UCC Design System v1.0.1 — header, nav, mobile menu, footer. Classes are added by ucc-design-system.js, so this never depends on theme class names. */

/* Slim sticky black header */
.ucc-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    background: #000 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 10px 20px !important;
    box-sizing: border-box !important;
}
body.admin-bar .ucc-header {
    top: 32px !important;
}
@media (max-width: 782px) {
    body.admin-bar .ucc-header {
        top: 46px !important;
    }
}

/* Logo size lock in header and footer (the logo file is a tall banner; never let it render large) */
.ucc-header img {
    max-height: 56px !important;
    width: auto !important;
    max-width: 220px !important;
    height: auto !important;
}
@media (max-width: 700px) {
    .ucc-header img {
        max-height: 44px !important;
        max-width: 170px !important;
    }
}

/* Main nav: horizontal, white links */
.ucc-main-nav ul {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: wrap !important;
}
.ucc-main-nav a {
    color: #fff !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 6px 2px !important;
    border-bottom: 3px solid transparent !important;
    white-space: nowrap !important;
}
.ucc-main-nav a:hover {
    color: #d4af37 !important;
}
/* Active page: orange underline */
.ucc-main-nav a.ucc-active {
    border-bottom-color: #d4af37 !important;
    color: #fff !important;
}
/* Member: outline pill. RFQ: orange-outlined pill. */
.ucc-main-nav a.ucc-pill-outline {
    border: 2px solid #fff !important;
    border-radius: 999px !important;
    padding: 6px 16px !important;
}
.ucc-main-nav a.ucc-pill-orange {
    border: 2px solid #d4af37 !important;
    border-radius: 999px !important;
    padding: 6px 16px !important;
    color: #d4af37 !important;
}

/* Mobile Menu pill button (JS inserts it; CSS shows it only on narrow screens) */
.ucc-menu-btn {
    display: none !important;
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.55) !important;
    border-radius: 999px !important;
    padding: 8px 22px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}
@media (max-width: 700px) {
    .ucc-menu-btn {
        display: inline-block !important;
        margin-left: auto !important;
    }
    /* Hide the inline menu list on mobile; the overlay takes over */
    .ucc-main-nav ul {
        display: none !important;
    }
    /* Hide the theme's own hamburger toggle on mobile: only the Menu pill stays.
       The theme toggle may sit inside or beside the header, so cover both. */
    .ucc-header button:not(.ucc-menu-btn) {
        display: none !important;
    }
    button.menu-toggle,
    button[class*="menu-toggle"],
    button[class*="hamburger"],
    .menu-toggle {
        display: none !important;
    }
    .ucc-header {
        flex-wrap: nowrap !important;
    }
}

/* Full-screen dark mobile menu overlay */
.ucc-mobile-menu {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10000 !important;
    background: #0b0b0b !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 18px 22px 30px !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
}
.ucc-mobile-menu-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}
.ucc-mobile-menu-top img {
    max-height: 44px !important;
    width: auto !important;
}
.ucc-mobile-menu-close {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.55) !important;
    border-radius: 999px !important;
    padding: 8px 22px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}
.ucc-mobile-menu-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    margin-top: 30px !important;
}
.ucc-mobile-menu-links a {
    color: #fff !important;
    text-decoration: none !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    padding: 12px 4px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}
.ucc-mobile-menu-links a .ucc-icon {
    font-size: 22px !important;
    flex-shrink: 0 !important;
}
.ucc-mobile-menu-links a.ucc-active {
    color: #d4af37 !important;
}
.ucc-mobile-menu-contact {
    display: block !important;
    margin-top: 28px !important;
    background: #d4af37 !important;
    color: #111 !important;
    text-align: center !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    padding: 16px !important;
    border-radius: 999px !important;
}

/* Dark three-column footer (JS replaces the old footer strip content) */
.ucc-footer {
    background: #000 !important;
    color: #fff !important;
    padding: 44px 20px 26px !important;
    box-sizing: border-box !important;
}
.ucc-footer-inner {
    max-width: 1100px !important;
    margin: 0 auto !important;
}
.ucc-footer-cols {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
}
@media (max-width: 700px) {
    .ucc-footer-cols {
        grid-template-columns: 1fr !important;
    }
}
.ucc-footer h4 {
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    margin: 0 0 12px !important;
}
.ucc-footer p,
.ucc-footer li {
    color: #cbd5e1 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}
.ucc-footer ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.ucc-footer a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
}
.ucc-footer a:hover {
    color: #d4af37 !important;
}
.ucc-footer-brand {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-top: 34px !important;
    padding-top: 22px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    flex-wrap: wrap !important;
}
.ucc-footer-brand img {
    max-height: 56px !important;
    width: auto !important;
}
.ucc-footer-menu {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 18px !important;
    margin-top: 18px !important;
    padding: 0 !important;
    list-style: none !important;
}
.ucc-footer-menu a {
    font-size: 14px !important;
}
.ucc-footer-bottom {
    margin-top: 18px !important;
    color: #94a3b8 !important;
    font-size: 14px !important;
}
