/* Cabeceras compactas de marcas. Se carga desde main.template.php. */
.ts-brand-header {
    background: #17334b;
    border-bottom: 2px solid var(--brand-accent, #4a9bd3);
}

.ts-brand-header__layout {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
    padding: 18px 0;
}

.ts-brand-header__identity {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.ts-brand-header__logo {
    display: block;
    width: 150px;
    height: auto;
    max-height: 44px;
    object-fit: contain;
    object-position: left center;
    filter: brightness(0) invert(1);
}

.ts-brand-header__identity--symbol .ts-brand-header__logo {
    width: 28px;
    max-height: 30px;
    flex: 0 0 28px;
}

.ts-brand-header .ts-brand-header__logo-caption {
    color: #fff !important;
    font: 600 15px/1.2 Montserrat, Arial, sans-serif;
}

.ts-brand-header .ts-brand-header__wordmark {
    font: 700 22px/1.15 Montserrat, Arial, sans-serif;
    color: #fff !important;
    overflow-wrap: anywhere;
}

.ts-brand-header .ts-brand-header__title {
    margin: 0 0 5px;
    font: 700 24px/1.15 Montserrat, Arial, sans-serif;
    letter-spacing: -.3px;
    color: #fff !important;
    text-transform: none;
}

.ts-brand-header .ts-brand-header__description {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #d0d7de !important;
}

.ts-brand-header .ts-brand-header__cta {
    display: inline-block;
    justify-self: end;
    padding: 8px 14px;
    border-radius: 4px;
    background: #1e73be;
    font: 600 12px Montserrat, Arial, sans-serif;
    color: #fff !important;
    text-decoration: none;
    white-space: nowrap;
}

.ts-brand-header .ts-brand-header__cta:hover {
    background: #185f9e;
}

.ts-brand-header .ts-brand-header__cta:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.ts-brand-header__path {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 0 9px;
    font-size: 10px;
    color: #b8c6d2;
}

.ts-brand-header .ts-brand-header__path a {
    color: #b8c6d2 !important;
}

#bambu-catalogo,
#marca-catalogo {
    scroll-margin-top: 85px;
}

.ts-product-families .ts-family-variant-price,
.ts-product-families .ts-family-variants-title strong,
.ts-product-families .pull-right .btn {
    font-family: Montserrat, Arial, sans-serif;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 767px) {
    .ts-brand-header__layout {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 10px 16px;
        padding: 14px 0;
    }

    .ts-brand-header__logo {
        width: 100px;
    }

    .ts-brand-header__identity {
        gap: 6px;
    }

    .ts-brand-header__identity--symbol .ts-brand-header__logo {
        width: 24px;
        flex-basis: 24px;
    }

    .ts-brand-header .ts-brand-header__logo-caption {
        font-size: 12px;
    }

    .ts-brand-header .ts-brand-header__wordmark {
        font-size: 18px;
    }

    .ts-brand-header .ts-brand-header__title {
        font-size: 21px;
    }

    .ts-brand-header .ts-brand-header__description {
        font-size: 11px;
    }

    .ts-brand-header .ts-brand-header__cta {
        grid-column: 2;
        justify-self: start;
    }
}
