/* Product-card internals.
 *
 * Split out of category-filters.css, which only loads on shop / product taxonomy /
 * product search. The spec block is printed by nv_render_loop_config(), hooked to
 * `woocommerce_after_shop_loop_item_title` with no page scoping, so it also renders
 * in the homepage [ux_products] and [lmkt_brand_products] loops and in related
 * products on a single product - 89 blocks on the front page alone, all unstyled.
 *
 * Deliberately not scoped to `body.woocommerce`: the front page is a plain page and
 * carries no such class, so that prefix would have kept every rule inert even once
 * the file loaded. Nothing else in the theme, Flatsome or WooCommerce targets these
 * class names, so the single-class specificity is enough.
 */

.cdt-product__config {
    position: relative;
    width: auto;
    margin: auto -10px 10px;
    padding: 9px 10px 0;
    border-top: 1px solid gainsboro;
}

.cdt-product__config__param span {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0 0 6px;
    color: #6c757d;
    font-size: 12px;
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cdt-product__config__param img {
    margin-right: 2px;
    object-fit: contain;
    vertical-align: -3px;
}

/* Reserves the line height so cards with fewer specs keep the same height. */
.cdt-product__config-placeholder {
    visibility: hidden;
}

@media (max-width: 849px) {
    .cdt-product__config {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
}
