/* Revision 40: basket cards and readable checkout totals on small screens. */
@media(max-width:767px){
.rm-shop .rm-cart-table,.rm-shop .rm-order-summary{overflow:visible}
.rm-shop .rm-cart-table table,.rm-shop .rm-order-summary table{min-width:0;width:100%;margin:0}
.rm-shop .rm-cart-table{border:0;border-radius:0}
.rm-shop .rm-cart-table table,.rm-shop .rm-cart-table thead,.rm-shop .rm-cart-table tbody{display:block}
.rm-shop .rm-cart-table thead tr{display:flex;justify-content:flex-end}
.rm-shop .rm-cart-table thead th{display:none}
.rm-shop .rm-cart-table thead th:last-child{display:block;border:0;background:transparent;padding:0 0 12px}
.rm-shop .rm-cart-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 16px;border:1px solid var(--rm-line);border-radius:12px;margin-bottom:16px;padding:16px;background:#fff}
.rm-shop .rm-cart-table tbody td{display:block;min-width:0;border:0;padding:12px 0;text-align:left!important;font-size:16px}
.rm-shop .rm-cart-table tbody td:first-child{grid-column:1/-1;padding-top:0;border-bottom:1px solid var(--rm-line)}
.rm-shop .rm-cart-table td[data-label]:before{content:attr(data-label);display:block;font-size:12px;line-height:1.4;font-weight:400;color:var(--rm-muted);margin-bottom:8px}
.rm-shop .rm-cart-table tbody td:last-child{align-self:end;text-align:right!important}
.rm-shop .rm-cart-table .product-item{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;min-width:0}
.rm-shop .rm-cart-table .product-thumb{display:block;width:72px;max-width:72px;padding:8px;margin:0;align-self:start}
.rm-shop .rm-cart-table .product-thumb img{width:100%;height:66px}
.rm-shop .rm-cart-table .product-info{display:block;width:auto;min-width:0;padding:0}
.rm-shop .rm-cart-table .product-title{font-size:16px;line-height:1.4;overflow-wrap:anywhere}
.rm-shop .rm-cart-table .product-info span{font-size:12px;overflow-wrap:anywhere}
.rm-shop .rm-cart-table .count-input{width:88px;max-width:100%;margin:0}
.rm-shop .rm-cart-table .qty{width:88px;height:44px;font-size:16px}
.rm-shop .rm-cart-table .remove-from-cart{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid var(--rm-line);border-radius:6px}
.rm-shop .rm-order-summary table{table-layout:fixed}
.rm-shop .rm-order-summary th,.rm-shop .rm-order-summary td{padding:14px 10px;font-size:14px;white-space:normal;overflow-wrap:anywhere}
.rm-shop .rm-order-summary th:first-child,.rm-shop .rm-order-summary td:first-child{width:64%;text-align:left}
.rm-shop .rm-order-summary th:last-child,.rm-shop .rm-order-summary td:last-child{width:36%;text-align:right!important}
.rm-shop .rm-order-summary .product-quantity{display:inline-block;white-space:nowrap}
.rm-shop .shopping-cart-footer .column{width:100%;min-width:0}
.rm-shop .shopping-cart-footer .btn{max-width:100%;white-space:normal;height:auto;min-height:44px;line-height:1.4;padding-top:12px;padding-bottom:12px}
}
