/* .cart-collaterals .shop_table tbody {
    display: flex;
    flex-direction: column;
}
.cart-collaterals .shop_table .product-tax-line {
    order: -1;
} */
.drs-product {
    order: 99;
}
.drs-product.hidden {
    display: none;
}
.drs-product .wc-block-components-quantity-selector {
    width: fit-content;
}
.drs-product .wc-block-components-quantity-selector:after {
    display: none;
}
.drs-product .wc-block-components-quantity-selector input {
    text-align: left !important;
    box-shadow: none !important;
    padding: 0 !important;
}
table.wc-block-cart-items {
    display: flex;
    flex-direction: column;
}
table.wc-block-cart-items>thead,
table.wc-block-cart-items>tfoot,
table.wc-block-cart-items>tbody {
    display: flex;
    flex-direction: column;
}
table.wc-block-cart-items>*>tr {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1px;
}
table.wc-block-cart-items>*>tr>*:nth-child(1),
table.wc-block-cart-items>*>tr>*:nth-child(3) {
    width: 100px;
}
table.wc-block-cart-items>*>tr>*:nth-child(2) {
    flex-grow: 1;
}
table.wc-block-cart-items>tbody td {
    margin: 0 !important;
}
.wc-block-components-order-summary .wc-block-components-order-summary__content {
    display: flex !important;
    flex-direction: column;
}
.wc-block-components-order-summary .wc-block-components-order-summary__content .drs-product {
    order: 99;
}
/* Legacy checkout */
#order_review table,
#order_review tbody {
    display: flex;
    flex-direction: column;
}
#order_review table>*>tr {
    display: flex;
}
#order_review table>*>tr>*:nth-child(n+2) {
    flex-grow: 1;
    min-width: fit-content;
}
#order_review table>*>tr>*:nth-child(1) {
    flex-basis: 518px;
}
.woocommerce-page div.woocommerce .shop_table .woocommerce-shipping-totals {
    flex-wrap: wrap;
}
.woocommerce-page div.woocommerce .shop_table .woocommerce-shipping-totals td {
    padding-left: 0;
    padding-top: 0;
}
/* A DRS dij tetel a penztaron is tetelesen latszik.
   Csak "total" pozicioban rejtjuk el, ott ugyanis a vegosszeg blokkban jelenik meg. */
.drs-cart-position-total #order_review tbody .drs-product {
    display: none;
}
.drs-cart-position-total .wp-block-woocommerce-checkout .drs-product,
.drs-cart-position-total .wc-block-checkout .drs-product {
    display: none !important;
}
/* Legacy cart */
.woocommerce-cart-form table,
.woocommerce-cart-form tbody {
    display: flex;
    flex-direction: column;
}
.woocommerce-cart-form table>*>tr {
    display: flex;
}
.woocommerce-cart-form table>*>tr>*:nth-child(n+2) {
    flex: 1;
}
.woocommerce-cart-form table>*>tr>*:nth-child(2) {
    flex: 0.5;
}
.woocommerce-cart-form table>*>tr>*:nth-child(1) {
    width: 5em;
}
.woocommerce-cart-form table>*>tr>*:nth-child(2) {
    min-width: 32px;
}
.woocommerce-cart-form tbody tr:last-child {
    order: 100;
}
.woocommerce-cart-form tbody tr:last-child td {
    flex-grow: 1;
}
.woocommerce-cart-form tbody tr:last-child>* {
    width: auto;
}
@media screen and (max-width: 768px) {
    .woocommerce-cart-form .drs-product .product-remove {
        display: none;
    }
    .woocommerce-cart-form table>*>tr>*:nth-child(1) {
        width: 100%;
    }
}
/* A DRS dij tetelnek nincs termekkepe, ne latszodjon a placeholder */
.drs-product .product-thumbnail img,
.drs-product .wc-block-cart-item__image {
    display: none;
}
/* DRS info per cart item */
.drs-cart-item-info {
    display: block;
    color: #666;
    font-size: 0.9em;
    margin-top: 4px;
    font-weight: normal;
    font-style: italic;
}
.cart_item .drs-cart-item-info {
    opacity: 0.8;
}
/* Block Cart specific */
.wp-block-woocommerce-cart .drs-cart-item-info {
    margin-top: 8px;
}