/**
 * Home Featured Brands — eFormax compact strip
 * Brand: #00332B · #004236 · #F7D15E · #E6F4F9 · #F0F8FB
 */

.hfb-section {
    --hfb-primary: #00332b;
    --hfb-primary-mid: #004236;
    --hfb-accent: #f7d15e;
    --hfb-bg: #e6f4f9;
    --hfb-surface: #f0f8fb;
    --hfb-muted: #4a6b65;
    --hfb-white: #ffffff;
    padding: 1rem 0;
    background: linear-gradient(180deg, var(--hfb-surface) 0%, var(--hfb-white) 100%);
    border-bottom: 1px solid rgba(0, 51, 43, 0.06);
}

.hfb-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    align-items: center;
}

.hfb-shell__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    max-width: 100%;
    position: relative;
    z-index: 2;
}

.hfb-shell__accent {
    width: 3px;
    height: 0.9rem;
    border-radius: 2px;
    background: var(--hfb-accent);
    flex-shrink: 0;
}

.hfb-shell__text {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--hfb-primary-mid);
    line-height: 1.2;
}

.hfb-shell__logos {
    position: relative;
    z-index: 1;
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.hfb-shell__logos .hfb-swiper {
    width: 100%;
    overflow: hidden;
    margin: 0;
}

.hfb-shell__logos .swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hfb-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.5rem;
    padding: 0.35rem 0.4rem;
    text-decoration: none !important;
}

.hfb-logo img {
    display: block;
    max-width: 100%;
    max-height: 1.75rem;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.58;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.hfb-logo:hover img,
.hfb-logo:focus-visible img {
    filter: grayscale(0);
    opacity: 1;
}

@media (min-width: 768px) {
    .hfb-section {
        padding: 0.85rem 0;
    }

    .hfb-shell {
        grid-template-columns: 7.75rem minmax(0, 1fr);
        gap: 1rem 1.5rem;
        align-items: center;
    }

    .hfb-shell__label {
        padding-right: 1rem;
        border-right: 1px solid rgba(0, 51, 43, 0.1);
        align-self: stretch;
        min-height: 2.5rem;
    }

    .hfb-logo {
        min-height: 2.35rem;
    }

    .hfb-logo img {
        max-height: 1.9rem;
    }
}

@media (min-width: 1200px) {
    .hfb-shell {
        grid-template-columns: 8.25rem minmax(0, 1fr);
    }

    .hfb-logo img {
        max-height: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hfb-section {
        padding: 0.85rem 0 0.95rem;
    }

    .hfb-logo {
        min-height: 2.25rem;
    }

    .hfb-logo img {
        max-height: 1.55rem;
    }
}
