/* Echo OS 18.24.1 — theme-independent catalog launch finish line. */
.echo-launch-deferred,
body.echo-catalog-mode a[href$="/cart/"],
body.echo-catalog-mode a[href*="/cart/?"],
body.echo-catalog-mode a[href$="/checkout/"],
body.echo-catalog-mode a[href*="/checkout/?"] {
    display: none !important;
}

@supports selector(li:has(> a)) {
    li:has(> .echo-launch-deferred) {
        display: none !important;
    }
}

.echo-catalog-mode-notice {
    margin: 0 0 24px;
    border-left: 4px solid currentColor;
}

.echo-catalog-request,
a.echo-catalog-request,
button.echo-catalog-request {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45em;
    min-height: 42px;
    text-decoration: none;
    cursor: pointer;
}

.echo-catalog-request-panel {
    margin: 22px 0;
    padding: 18px;
    border: 1px solid rgba(15, 36, 70, .14);
    border-radius: 14px;
    background: rgba(245, 249, 255, .92);
}

.echo-catalog-request-panel p {
    margin: 10px 0 0;
    max-width: 58ch;
    font-size: .92rem;
    line-height: 1.55;
}

body.echo-catalog-mode .single_add_to_cart_button,
body.echo-catalog-mode form.cart button[type="submit"],
body.echo-catalog-mode .widget_shopping_cart,
body.echo-catalog-mode .woocommerce-mini-cart {
    display: none !important;
}

/* Supplier directory created from the live WooCommerce brand taxonomy. */
.echo-brand-directory {
    width: min(1180px, 100%);
    margin: 24px auto 56px;
}

.echo-brand-directory-head {
    margin-bottom: 22px;
}

.echo-brand-directory-head > span {
    display: block;
    margin-bottom: 7px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    opacity: .68;
}

.echo-brand-directory-head h2 {
    margin: 0 0 8px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.echo-brand-directory-head p {
    max-width: 58ch;
    margin: 0;
    opacity: .75;
}

.echo-brand-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.echo-brand-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 94px;
    padding: 18px;
    border: 1px solid rgba(20, 46, 69, .13);
    border-radius: 16px;
    background: rgba(255, 255, 255, .9);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(19, 48, 72, .06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.echo-brand-card:hover,
.echo-brand-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(36, 112, 153, .38);
    box-shadow: 0 14px 30px rgba(19, 48, 72, .11);
}

.echo-brand-card-mark {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 13px;
    background: #142a3d;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
}

.echo-brand-card-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.echo-brand-card-copy strong {
    overflow: hidden;
    font-size: 1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.echo-brand-card-copy small {
    opacity: .66;
}

.echo-brand-card > b {
    font-size: 1.15rem;
    opacity: .5;
}

.echo-brand-directory-empty {
    max-width: 720px;
    margin: 30px auto;
    padding: 24px;
    border: 1px solid rgba(20, 46, 69, .13);
    border-radius: 16px;
    text-align: center;
}

/* Keep the official placeholder proportional inside common Woo galleries. */
.woocommerce-product-gallery img[src*="echo-product-placeholder.svg"],
.woocommerce ul.products img[src*="echo-product-placeholder.svg"],
.echo-product-card img[src*="echo-product-placeholder.svg"] {
    object-fit: cover;
    background: #142a3d;
}

@media (max-width: 900px) {
    .echo-brand-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .echo-brand-directory-grid {
        grid-template-columns: 1fr;
    }

    .echo-brand-card {
        min-height: 82px;
        padding: 14px;
    }
}
