/* =============================================================
   1. FOOTER LAYOUT & STRUCTURE
   ============================================================= */
.site-footer {
    background-color: #1e3063;
    color: #fff;
    padding: 60px 0 0 0;
    border-top: 12px solid #ffcc00;
    font-family: 'Saira Extra Condensed', sans-serif !important;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    max-width: 1400px; 
    margin: 0 auto;
    padding: 0 20px 60px 20px;
}

/* Middle Column - Address and Links */
.footer-middle {
    flex: 0 1 450px; 
    margin-right: 20px;
}

.footer-address p {
    margin: 0 0 5px 0;
    font-weight: 800;
    font-size: 24px;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.2;
}

/* THE "STOP LOOKING STUPID" PHONE LINK FIX */
.footer-address .phone-row a,
.footer-address a[href^="tel"] {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    font-size: 24px !important;
    text-transform: uppercase !important;
    display: inline-block;
    border: none !important;
}

.footer-address .phone-row a:hover {
    color: #ffcc00 !important;
}

/* Footer Navigation Grid */
.footer-nav-split {
    list-style: none;
    padding: 0;
    margin: 25px 0 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(max-content, 1fr)); 
    column-gap: 40px; 
    row-gap: 12px;
}

.footer-nav-split li a {
    text-decoration: none;
    color: #ffffff !important;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-nav-split li a:hover {
    color: #ffcc00 !important;
}

/* =============================================================
   2. LOGOS & BRANDING
   ============================================================= */
/* Intertek Logo - Positioning Logic */
.footer-intertek {
    flex: 0 0 157px;
    margin-left: -111px; 
    position: relative;
    z-index: 5;
    align-self: center; 
}

.intertek-logo {
    width: 157px;
    height: 219px;
    object-fit: contain;
}

.footer-logo {
    max-width: 200px;
    height: auto;
}

/* =============================================================
   3. SHOPIFY FLYOUT BRANDING (NO MORE GREEN)
   ============================================================= */
.shopify-buy__cart-wrapper {
    z-index: 999999 !important;
}

/* The Floating Side Tab */
.shopify-buy__cart-toggle {
    background-color: #1e3063 !important;
    border-radius: 5px 0 0 5px !important;
}

/* The Gold Number Bubble */
.shopify-buy__cart-toggle__count {
    background-color: #ffcc00 !important;
    color: #1e3063 !important;
    font-weight: 900 !important;
}

/* The Checkout Button */
.shopify-buy__btn {
    background-color: #1e3063 !important;
    color: #ffffff !important;
    font-family: 'Saira Extra Condensed', sans-serif !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
}

.shopify-buy__btn:hover {
    background-color: #ffcc00 !important;
    color: #1e3063 !important;
}

/* =============================================================
   4. BOTTOM BAR & MOBILE
   ============================================================= */
.footer-bottom-bar {
    background-color: #0d152b; 
    color: #fff;
    text-align: center;
    padding: 25px 0;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

@media (max-width: 1100px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }
    .footer-intertek {
        margin-left: 0;
    }
    .footer-nav-split {
        grid-template-columns: 1fr;
    }
}