/* 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;
}

.ts-catalogue-media {
    position: relative;
}

.product-thumb-info .ts-catalogue-quick-buy {
    inset: 10px 10px auto auto;
}

.product-thumb-info:hover .ts-catalogue-quick-buy,
.product-thumb-info:focus-within .ts-catalogue-quick-buy {
    opacity: 1;
}

.product-thumb-info .ts-catalogue-quick-buy a.addtocart-btn {
    width: 44px;
    height: 44px;
}

@media (hover: none) {
    .product-thumb-info .ts-catalogue-quick-buy {
        opacity: 1;
    }
}

.ts-modern-catalogue {
    margin-top: 2rem;
}

.ts-modern-catalogue .selectable-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}

.ts-modern-catalogue .selectable-categories > a {
    padding: 7px 13px;
    border: 1px solid #d4e1ea;
    border-radius: 7px;
    color: #164f78;
}

.ts-modern-catalogue .selectable-categories > a.active {
    border-color: #abcce5;
    background: #e8f3fb;
    color: #10476d;
}

.ts-modern-catalogue .products .ts-modern-catalogue-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d4e1ea;
    border-radius: 12px;
    box-shadow: 0 4px 14px #1739520d;
}

.ts-modern-catalogue-card .item-image {
    display: block;
    background: #f2f6f9;
}

.ts-modern-catalogue-card .image-hover-wrapper {
    aspect-ratio: 1 / 1;
}

.ts-modern-catalogue-card .image-hover-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ts-catalogue-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
    padding: 14px;
    color: #162c3e;
}

.ts-catalogue-card-body h2 {
    margin: 0;
    font-size: 16px;
    line-height: 1.33;
    font-weight: 700;
}

.ts-catalogue-card-body h2 a {
    color: inherit;
}

.ts-catalogue-card-body p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 0;
    font-size: 13px;
    color: #456071;
}

.ts-catalogue-card-meta,
.ts-catalogue-card-purchase,
.ts-catalogue-card-features {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 9px;
}

.ts-catalogue-card-meta {
    font-size: 12px;
    color: #456071;
}

.ts-catalogue-card-stock,
.ts-catalogue-card-features li {
    padding: 2px 6px;
    border-radius: 4px;
    background: #ecf2f6;
}

.ts-catalogue-card-stock.in-stock { background: #e4f4ec; color: #155d42; }
.ts-catalogue-card-stock.on-order { background: #f9edd9; color: #794912; }

.ts-catalogue-card-features {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
}

.ts-catalogue-card-purchase {
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #d4e1ea;
}

.ts-catalogue-card-price strong,
.ts-catalogue-card-price del {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.ts-catalogue-card-price strong { font-size: 18px; }
.ts-catalogue-card-price del { margin-left: 4px; color: #456071; font-size: 12px; }

.ts-catalogue-card-purchase .btn {
    min-height: 40px;
    white-space: normal;
}

@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;
    }
}
