/* Product shortcodes used outside Sections: [itx_product_category_list] (term grids) and [itx_product_brand]. Loaded on every page. */

/* --- Product Category Applications / Features & Benefits lists --- */

/* Both lists side by side. auto-fit sizes columns to the container rather
   than the viewport, so the lists also stack inside narrow term-grid cards. */
.itx-product-category-lists {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: 1.5rem 2rem;
}

.itx-product-category-list__heading {
    margin: 0 0 0.75rem;
}

.itx-product-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.itx-product-category-list__item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.itx-product-category-list__item:last-child {
    margin-bottom: 0;
}

.itx-product-category-list__icon {
    color: var(--color-content-primary, #e60012);
    font-size: 0.75em;
    line-height: 1.8;
}

/* --- Product Brand [itx_product_brand] --- */

.itx-product-brand {
    display: grid;
    gap: 1.5rem;
}

.itx-product-brand__item {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.itx-product-brand__logo {
    flex: 0 0 auto;
    max-width: 200px;
}

.itx-product-brand__logo-image {
    display: block;
    max-width: 200px !important;
    height: auto;
}

.itx-product-brand__description {
    flex: 1 1 0;
    min-width: 0;
}

.itx-product-brand__description > :first-child {
    margin-top: 0;
}

.itx-product-brand__description > :last-child {
    margin-bottom: 0;
}
