/* Fix the public cart summary without replacing its theme or Elementor layout. */
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper .cart_totals:has(.native-cart-invoice)>h2,
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper .cart_totals:has(.native-cart-invoice) tr.cart-subtotal,
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper .cart_totals:has(.native-cart-invoice) tr.order-total,
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper .cart_totals:has(.native-cart-invoice) .shcart-summary {display:none!important}
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper .cart_totals .native-cart-invoice {display:table-row!important}
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper .cart_totals .native-cart-invoice>td {width:100%!important;padding:0!important;border:0!important;background:transparent!important}
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper .cart_totals .native-cart-invoice>td::before {display:none!important}
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper .native-invoice-row {display:grid!important;grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:14px;width:100%;padding:12px 0;text-align:right;direction:rtl;color:#55575e;font-size:14px;font-weight:600}
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper .native-invoice-row>span {min-width:0;line-height:1.7}
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper .native-invoice-row>strong {justify-self:end;white-space:nowrap;text-align:left;font-size:18px;line-height:1.7}
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper .native-invoice-row .amount {display:inline!important;white-space:nowrap;font-size:inherit!important}
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper .native-invoice-row bdi {display:inline!important;white-space:nowrap}
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper .native-invoice-row .woocommerce-Price-currencySymbol {display:inline!important;font-size:10px!important;font-weight:400;margin-inline-start:3px}
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper .native-invoice-discount .amount {color:#d62828!important}
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper .native-invoice-payable {position:relative;background:#e8f7f8;border-radius:8px;padding:12px;margin-top:14px;color:#087477}
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper .native-invoice-payable .amount {color:#087477!important}
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper .native-invoice-payable::before {content:"";position:absolute;top:-9px;left:0;right:0;border-top:1px solid #e5e2dd}
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper .wc-proceed-to-checkout a.checkout-button {display:flex!important;align-items:center!important;justify-content:center!important;min-height:48px;padding:12px 20px!important;line-height:1.5!important;text-align:center!important;text-indent:0!important}
@media(max-width:767px){
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper .cart_totals table,
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper .cart_totals tbody,
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper .cart_totals .native-cart-invoice,
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper .cart_totals .native-cart-invoice>td {display:block!important;width:100%!important;min-width:0!important;margin:0!important}
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper .native-invoice-row {font-size:12px;gap:12px}
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper .native-invoice-row>strong {font-size:clamp(14px,4vw,16px)}
}
/* Give price and quantity separate rows on the smallest mobile screens. */
@media(max-width:380px){
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper table.shop_table.woocommerce-cart-form__contents tbody.shcart-products-group tr.woocommerce-cart-form__cart-item.cart_item {grid-template-rows:auto auto 36px 9px 38px!important}
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper table.shop_table.woocommerce-cart-form__contents tbody.shcart-products-group tr.woocommerce-cart-form__cart-item.cart_item>td.product-price {grid-area:2/2/3/4!important;justify-self:start;margin-bottom:6px!important}
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper table.shop_table.woocommerce-cart-form__contents tbody.shcart-products-group tr.woocommerce-cart-form__cart-item.cart_item>td.product-quantity {grid-area:3/2/4/4!important}
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper table.shop_table.woocommerce-cart-form__contents tbody.shcart-products-group tr.woocommerce-cart-form__cart-item.cart_item>td.product-thumbnail {grid-area:1/1/4/2!important}
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper table.shop_table.woocommerce-cart-form__contents tbody.shcart-products-group tr.woocommerce-cart-form__cart-item.cart_item::before {grid-area:4/1/5/4!important}
html body.shahkar-cart-repaired.woocommerce-cart.woocommerce-page #main-content .cart-content-wrapper table.shop_table.woocommerce-cart-form__contents tbody.shcart-products-group tr.woocommerce-cart-form__cart-item.cart_item>td.product-remove {grid-area:5/1/6/4!important}
}
