/* Loaded as its own file so sites that strip ?ver= from asset URLs never serve a stale copy of these rules. */
/* Cart items v2: every product is a grid card (image | details | remove) in RTL and LTR, at every width. */
body.uh-commerce-cart table.shop_table.cart thead{display:none!important}
body.uh-commerce-cart table.shop_table.cart,body.uh-commerce-cart table.shop_table.cart tbody{display:block!important;width:100%!important;border:0!important}
body.uh-commerce-cart table.shop_table.cart tbody tr{display:block;width:100%;box-sizing:border-box}
body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item{position:relative;display:grid!important;grid-template-columns:76px minmax(0,1fr) auto auto auto 34px;grid-template-areas:"thumb name price qty subtotal remove";align-items:center;gap:8px 16px;margin:0 0 12px!important;padding:14px!important;border:1px solid var(--uh-cart-line)!important;border-radius:16px!important;background:var(--uh-cart-soft)!important;box-shadow:none!important}
body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item td{position:static!important;display:block!important;float:none!important;width:auto!important;min-width:0;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;text-align:start!important}
body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item td:before{content:none!important;display:none!important}
body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item td.product-thumbnail{grid-area:thumb}
body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item td.product-thumbnail a{display:block}
body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item td.product-thumbnail img{display:block;width:76px!important;height:76px!important;max-width:100%!important;border-radius:13px;object-fit:cover;background:#fff}
body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item td.product-thumbnail img{min-width:0!important;min-height:0!important;margin:0!important}
body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item td.product-remove a.remove:before,body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item td.product-remove a.remove:after{content:none!important;display:none!important}
body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item td.product-name{grid-area:name;overflow-wrap:anywhere;line-height:1.8}
body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item td.product-price{grid-area:price;white-space:nowrap;color:var(--uh-cart-muted);font-size:13px;font-weight:700}
body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item td.product-quantity{grid-area:qty}
body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item td.product-quantity .quantity{display:inline-flex!important;width:auto!important;margin:0!important;float:none!important}
body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item td.product-subtotal{grid-area:subtotal;white-space:nowrap;font-size:15px;font-weight:850;color:var(--uh-primary)}
body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item td.product-remove{grid-area:remove;justify-self:end}
@media(max-width:760px){body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item{grid-template-columns:68px minmax(0,1fr) auto 34px;grid-template-areas:"thumb name name remove" "thumb price price price" "qty qty subtotal subtotal";gap:6px 12px;padding:12px!important}body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item:before{content:"";grid-area:3/1/4/-1;align-self:start;border-top:1px dashed var(--uh-cart-line);pointer-events:none}body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item td.product-thumbnail img{width:68px!important;height:68px!important}body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item td.product-thumbnail,body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item td.product-remove{align-self:start}body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item td.product-name{font-size:14px}body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item td.product-price:before{content:attr(data-title) ": "!important;display:inline!important;float:none!important;margin:0!important;font-weight:600;font-size:12px}body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item td.product-quantity,body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item td.product-subtotal{padding-top:10px!important}body.uh-commerce-cart table.shop_table.cart tbody tr.cart_item td.product-subtotal{justify-self:end}}
