/*
 * Blotto Auto Gift 2.1.43
 * Mobile inventory-card correction.
 * Presentation only: removes duplicate accents and inherited cell heights.
 */

@media (max-width: 767px) {
    /*
     * The mobile row owns the single semantic accent.
     * Clear the desktop first-cell accent to avoid a second nested line.
     */
    body.blotto-commerce-ui form.woocommerce-cart-form
        table.shop_table > tbody > tr.woocommerce-cart-form__cart-item > td:first-child,
    body.blotto-commerce-ui #order_review
        table.woocommerce-checkout-review-order-table > tbody > tr.cart_item > td:first-child {
        border-left: 0 !important;
    }

    /*
     * Desktop cells are 126px high. Mobile rows are CSS Grid cards, so every
     * grid area must return to content height or the card gains empty space.
     */
    body.blotto-commerce-ui form.woocommerce-cart-form
        table.shop_table > tbody > tr.woocommerce-cart-form__cart-item > td,
    body.blotto-commerce-ui form.woocommerce-cart-form
        table.shop_table > tbody > tr.blotto-free-gift-row > td {
        height: auto !important;
        min-height: 0 !important;
    }

    body.blotto-commerce-ui form.woocommerce-cart-form
        table.shop_table > tbody > tr.woocommerce-cart-form__cart-item,
    body.blotto-commerce-ui form.woocommerce-cart-form
        table.shop_table > tbody > tr.blotto-free-gift-row {
        align-items: center;
    }
}
