/* Isolate the tasting-set rows from the theme's generic table/span typography. */
body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) {
    --cgts-cart-font: var(--cg-body, system-ui, -apple-system, "Segoe UI", sans-serif);
}
body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) > td {
    padding: 24px !important;
    vertical-align: top;
}
body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) .wc-block-cart-item__product {
    text-align: left;
    min-width: 0;
}
body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) .wc-block-cart-item__wrap {
    align-items: stretch;
    gap: 10px;
    text-align: left;
    font: 16px/1.5 var(--cgts-cart-font);
    letter-spacing: normal;
}
body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) .wc-block-components-product-name {
    width: auto;
    margin: 0;
    font: 600 18px/1.4 var(--cgts-cart-font);
    text-align: left;
    overflow-wrap: anywhere;
}
body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) .wc-block-components-product-metadata {
    gap: 12px;
    margin: 0;
    font: 14px/1.5 var(--cgts-cart-font);
    text-align: left;
}
body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) .wc-block-components-product-metadata :is(p, span, .wc-block-components-product-metadata__description) {
    font: inherit;
    letter-spacing: normal;
    text-align: left;
}
body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) .wc-block-components-product-metadata__description p {
    padding: 0;
    margin: 0;
}
body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) .wc-block-components-product-details {
    display: grid;
    gap: 6px;
    font: inherit;
    text-align: left;
}
body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) .wc-block-components-product-details > span {
    display: grid;
    grid-template-columns: 4.5em minmax(0, 1fr);
    gap: 8px;
    align-items: baseline;
}
body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) .wc-block-components-product-details__name {
    white-space: nowrap;
    font-weight: 600;
}
body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) .wc-block-components-product-details__value {
    min-width: 0;
    overflow-wrap: anywhere;
}
body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) .wc-block-components-product-details > span > [aria-hidden="true"] {
    display: none;
}
body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) :is(.wc-block-cart-item__prices, .wc-block-cart-item__total) {
    font: 500 18px/1.5 var(--cgts-cart-font);
    font-variant-numeric: lining-nums tabular-nums;
    white-space: nowrap;
}
body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) :is(.wc-block-cart-item__prices, .wc-block-cart-item__total) :is(span, bdi) {
    font: inherit;
    font-variant-numeric: inherit;
    white-space: nowrap;
}
body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) .wc-block-cart-item__total {
    display: table-cell;
    text-align: right;
}
body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) .wc-block-cart-item__quantity {
    align-self: flex-start;
    margin-top: 4px;
}
@media (max-width: 782px) {
    body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) {
        grid-template-columns: 80px minmax(0, 1fr);
        grid-template-rows: auto auto;
        gap: 16px;
        padding: 20px 0;
    }
    body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) > td {
        width: 100% !important;
        min-width: 0;
        padding: 0 !important;
    }
    body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) .wc-block-cart-item__image {
        grid-area: 1 / 1;
    }
    body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) .wc-block-cart-item__image a {
        display: block;
        width: 100%;
    }
    body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) .wc-block-cart-item__image img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain;
    }
    body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) .wc-block-cart-item__product {
        grid-area: 2 / 1 / auto / -1;
    }
    body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) .wc-block-cart-item__total {
        grid-area: 1 / 2;
        display: flex;
        justify-content: flex-end;
        align-self: center;
    }
    body.woocommerce-cart .wc-block-cart-items__row:has(img[src*="tert-three-bars-transparent"]) .wc-block-components-product-name {
        font-size: 17px;
    }
}
