/* Commerce Flow v0.0.14 — Woodmart Child / VIPShop cart. Strictly scoped. */
.commerce-flow-cart{
  --cfc-ink:#182e47;--cfc-gold:#c4a06a;--cfc-cream:#f7f3eb;--cfc-line:#e9e3d9;--cfc-muted:#627186;
  direction:rtl!important;text-align:right!important;position:relative;z-index:1;
  width:min(1440px,calc(100vw - 48px));max-width:none!important;margin:24px auto 56px;padding:0 8px;
  color:var(--cfc-ink);font-family:"lists-font","body-font",Tahoma,sans-serif!important;font-size:13px;line-height:1.9;
}
.commerce-flow-cart,.commerce-flow-cart *,.commerce-flow-cart *::before,.commerce-flow-cart *::after{box-sizing:border-box}
.commerce-flow-cart :is(div,p,span,a,small,em,table,td,th,dt,dd,output,label){font-family:"lists-font","body-font",Tahoma,sans-serif!important;letter-spacing:normal!important}
.commerce-flow-cart :is(h1,h2,h3,h4,button,strong,b){font-family:"body-font","lists-font",Tahoma,sans-serif!important;letter-spacing:normal!important}
.commerce-flow-cart h1{font-family:"header-font","body-font",Tahoma,sans-serif!important}
.commerce-flow-cart :is(button,input,textarea,select){direction:rtl}
.commerce-flow-cart :is(button,a,input,textarea,select):focus-visible{outline:2px solid var(--cfc-gold)!important;outline-offset:2px}
.commerce-flow-cart .cfc-topline{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 22px;direction:rtl}
.commerce-flow-cart .cfc-topline h1{margin:0 0 4px!important;font-size:clamp(23px,2.4vw,31px)!important;line-height:1.6;color:var(--cfc-ink)!important;letter-spacing:normal!important}
.commerce-flow-cart .cfc-topline p{margin:0!important;color:var(--cfc-muted);font-size:13px;line-height:1.8}
.commerce-flow-cart :is(.cfc-continue-shopping,.cfc-back-shop){display:inline-flex;align-items:center;gap:7px;white-space:nowrap;border:1px solid var(--cfc-line);border-radius:10px;background:#fff;color:var(--cfc-ink)!important;text-decoration:none!important;padding:9px 14px;font-size:12px}
.commerce-flow-cart :is(.cfc-continue-shopping,.cfc-back-shop):hover{border-color:var(--cfc-gold);background:#fcf8f1}
/* Desktop: products on the right, totals on the left. */
.commerce-flow-cart .cfc-layout{display:grid!important;direction:rtl!important;grid-template-columns:minmax(0,1fr) minmax(300px,360px)!important;grid-template-areas:"products totals"!important;gap:22px;align-items:start;width:100%}
.commerce-flow-cart .cfc-products{grid-area:products;min-width:0}
.commerce-flow-cart .cfc-totals{grid-area:totals;min-width:0}
.commerce-flow-cart :is(.cfc-products,.cfc-totals){border:1px solid var(--cfc-line);border-radius:16px;background:#fff;box-shadow:0 5px 20px rgba(24,46,71,.045);overflow:hidden}
.commerce-flow-cart .cfc-products-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;direction:rtl;background:var(--cfc-cream);border-bottom:1px solid var(--cfc-line)}
.commerce-flow-cart .cfc-products-title h2{margin:0!important;font-size:17px!important;line-height:1.6!important;color:var(--cfc-ink)!important}
.commerce-flow-cart .cfc-badge{background:#fff;border:1px solid #e8d7be;border-radius:25px;padding:3px 12px;color:#8b6b43;font-size:12px}
.commerce-flow-cart form.woocommerce-cart-form{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;direction:rtl!important}
.commerce-flow-cart table.woocommerce-cart-form__contents{display:block!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;border-collapse:collapse!important;box-shadow:none!important;background:transparent!important}
.commerce-flow-cart table.woocommerce-cart-form__contents>tbody{display:block!important;width:100%!important}
.commerce-flow-cart .cfc-accessible-head{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important}
.commerce-flow-cart table.woocommerce-cart-form__contents>tbody>tr.cfc-item{
  position:relative;display:grid!important;direction:rtl!important;
  grid-template-columns:94px minmax(0,1fr) max-content!important;
  grid-template-rows:auto auto auto!important;gap:7px 16px;
  align-items:start;min-width:0;padding:19px 20px!important;margin:0!important;border:0!important;border-bottom:1px solid var(--cfc-line)!important;background:#fff!important;
}
.commerce-flow-cart table.woocommerce-cart-form__contents>tbody>tr.cfc-item>td{display:block!important;min-width:0!important;width:auto!important;max-width:none!important;border:0!important;padding:0!important;margin:0!important;float:none!important;background:transparent!important;text-align:right!important}
.commerce-flow-cart .woocommerce-cart-form__contents td::before{display:none!important;content:none!important}
.commerce-flow-cart .cfc-item>.product-thumbnail{grid-column:1;grid-row:1/4;align-self:start}
.commerce-flow-cart .cfc-item>.product-thumbnail a{display:block;width:94px}
.commerce-flow-cart .cfc-item>.product-thumbnail img{display:block!important;width:94px!important;height:106px!important;object-fit:cover!important;border-radius:11px!important;border:1px solid #eee8df!important;margin:0!important}
.commerce-flow-cart .cfc-item>.product-name{grid-column:2;grid-row:1}
.commerce-flow-cart .cfc-item>.product-name h3{font-family:"body-font",Tahoma,sans-serif!important;color:var(--cfc-ink)!important;line-height:1.75!important;margin:0 0 3px!important;overflow-wrap:anywhere}
.commerce-flow-cart .cfc-item>.product-name h3 a{color:inherit!important;text-decoration:none!important}
.commerce-flow-cart .cfc-item>.product-name h3 a:hover{color:#9b7546!important}
.commerce-flow-cart .cfc-product-meta{font-size:12px;color:var(--cfc-muted);line-height:1.8;overflow-wrap:anywhere}
.commerce-flow-cart .cfc-product-meta :is(dl.variation,dd,dt,p){margin:0!important;padding:0!important;float:none!important;line-height:1.8!important}
.commerce-flow-cart .cfc-product-meta dt,.commerce-flow-cart .cfc-product-meta dd{display:inline!important;margin-left:4px!important}
.commerce-flow-cart .cfc-product-meta dd::after{content:"";display:block}
.commerce-flow-cart .cfc-associated-hint{display:inline-flex;font-size:11px;background:#f8f0e2;color:#80633d;border-radius:7px;padding:2px 8px;margin:5px 0}
.commerce-flow-cart .cfc-item>.product-price{grid-column:2;grid-row:2;font-size:12px;color:var(--cfc-muted)}
.commerce-flow-cart .cfc-item>.product-quantity{grid-column:2;grid-row:3;align-self:start}
.commerce-flow-cart .cfc-item>.product-subtotal{grid-column:3;grid-row:1/4;justify-self:end;align-self:center;color:var(--cfc-ink);text-align:left!important;font-size:15px}
/* Currency after amount in markup => visually to the amount's left in RTL. */
.commerce-flow-cart .woocommerce-Price-amount{display:inline-block!important;direction:rtl!important;unicode-bidi:isolate;white-space:nowrap!important}
.commerce-flow-cart .woocommerce-Price-amount bdi{display:inline-flex!important;flex-direction:row!important;direction:rtl!important;unicode-bidi:isolate;align-items:baseline;gap:.24em;white-space:nowrap!important}
.commerce-flow-cart .woocommerce-Price-currencySymbol{display:inline-block!important;white-space:nowrap!important}
.commerce-flow-cart .cfc-quantity-set{flex-direction:row!important;direction:rtl!important;min-height:41px;border:1px solid #e5dfd6;background:#fff;border-radius:11px;overflow:hidden}
.commerce-flow-cart .cfc-quantity-set .quantity{display:inline-flex!important;width:auto!important;min-width:0!important;align-items:center!important;direction:rtl!important;float:none!important;border:0!important;margin:0!important;padding:0!important;box-shadow:none!important;background:transparent!important}
.commerce-flow-cart .cfc-quantity-set .quantity :is(.plus,.minus,.qty-plus,.qty-minus){display:none!important}
.commerce-flow-cart .cfc-quantity-set input.qty{width:47px!important;min-width:47px!important;max-width:47px!important;height:40px!important;padding:0 4px!important;border:0!important;border-radius:0!important;margin:0!important;background:#fff!important;color:var(--cfc-ink)!important;text-align:center!important;box-shadow:none!important;appearance:textfield;-moz-appearance:textfield;font-size:14px!important}
.commerce-flow-cart .cfc-quantity-set input.qty::-webkit-inner-spin-button,.commerce-flow-cart .cfc-quantity-set input.qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.commerce-flow-cart .cfc-qty-action{display:grid!important;place-items:center!important;flex:none;width:37px!important;min-width:37px!important;height:40px!important;line-height:1!important;border:0!important;border-radius:0!important;padding:0!important;background:var(--cfc-cream)!important;color:var(--cfc-ink)!important;font:20px/1 Arial,sans-serif!important;cursor:pointer!important;box-shadow:none!important;touch-action:manipulation}
.commerce-flow-cart .cfc-qty-action:hover{background:#e9dcc7!important}
.commerce-flow-cart .cfc-quantity-set.is-associated{min-width:48px;justify-content:center;background:#fff;border:0!important}
.commerce-flow-cart .cfc-linked-quantity{display:inline-flex!important;justify-content:center;align-items:center;width:47px;min-width:47px;min-height:40px;padding:0 4px;background:var(--cfc-cream)!important;border:1px solid #e5dfd6;border-radius:10px;font-family:"body-font",Tahoma,sans-serif!important;font-size:14px!important;color:var(--cfc-ink)!important;text-align:center!important}
.commerce-flow-cart .cfc-quantity-set.is-fixed{background:#f8f4eb;min-width:60px;justify-content:center}
.commerce-flow-cart .cfc-item>.product-remove{position:absolute!important;top:12px;right:12px!important;left:auto!important;z-index:2}
.commerce-flow-cart .cfc-item>.product-remove a.remove{display:grid!important;place-items:center!important;width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;margin:0!important;padding:0!important;border:1px solid #efdada!important;border-radius:9px!important;background:#fff!important;color:#ac6065!important;font:23px/1 Arial,sans-serif!important;text-decoration:none!important}
.commerce-flow-cart .cfc-item>.product-remove a.remove::before,.commerce-flow-cart .cfc-item>.product-remove a.remove::after{display:none!important;content:none!important}
.commerce-flow-cart .cfc-cart-actions-row{display:block!important}
.commerce-flow-cart .cfc-cart-actions-row>td.actions{display:block!important;width:100%!important;padding:14px 20px!important;border:0!important;background:transparent!important}
.commerce-flow-cart .cfc-cart-actions{display:flex!important;flex-wrap:wrap;align-items:center;direction:rtl;gap:10px}
.commerce-flow-cart .cfc-save-area{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.commerce-flow-cart .cfc-unsaved{margin:0!important;color:#8c692f;font-size:12px}
.commerce-flow-cart .cfc-unsaved.is-error{color:#ae4646}
.commerce-flow-cart .cfc-unsaved[hidden]{display:none!important}
.commerce-flow-cart button.cfc-update-cart{display:inline-flex!important;align-items:center;justify-content:center;min-height:40px!important;background:#63768b!important;color:#fff!important;border:0!important;border-radius:10px!important;padding:8px 15px!important;margin:0!important;font-size:12px!important;box-shadow:none!important}
.commerce-flow-cart.is-ajax-ready:not(.is-ajax-error) button.cfc-update-cart{display:none!important}
.commerce-flow-cart.is-saving button[data-cfc-delta]{opacity:.45;pointer-events:none}
.commerce-flow-cart .cfc-totals{padding:20px 19px}
.commerce-flow-cart .cfc-totals .cart-collaterals,.commerce-flow-cart .cfc-totals :is(.cart_totals,.cross-sells){float:none!important;display:block!important;width:100%!important;max-width:none!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.commerce-flow-cart .cfc-totals h2{margin:0 0 17px!important;color:var(--cfc-ink)!important;font-size:18px!important;line-height:1.75!important}
.commerce-flow-cart .cfc-totals .shop_table{display:block!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;border-collapse:collapse!important;box-shadow:none!important;background:transparent!important}
.commerce-flow-cart .cfc-totals .shop_table tbody{display:block!important;width:100%!important}
.commerce-flow-cart .cfc-totals .shop_table tr{display:grid!important;align-items:center;gap:12px;width:100%!important;direction:rtl!important;border:0!important;border-bottom:1px solid var(--cfc-line)!important;background:transparent!important}
.commerce-flow-cart .cfc-totals .shop_table :is(th,td){display:block!important;float:none!important;width:auto!important;max-width:100%!important;margin:0!important;padding:14px 0!important;border:0!important;background:transparent!important;font-size:13px!important;line-height:1.8!important}
.commerce-flow-cart .cfc-totals .shop_table th{grid-column:1;text-align:right!important;font-weight:400!important;color:var(--cfc-muted)!important}
.commerce-flow-cart .cfc-totals .shop_table td{grid-column:2;text-align:left!important;color:var(--cfc-ink)!important;white-space:nowrap}
.commerce-flow-cart .cfc-totals .shop_table td::before{display:none!important;content:none!important}
.commerce-flow-cart .cfc-totals .shop_table .order-total{border-bottom:0!important}
.commerce-flow-cart .cfc-totals .shop_table .order-total :is(th,td){font-size:17px!important;color:var(--cfc-ink)!important}
.commerce-flow-cart .cfc-totals .shop_table .order-total td{font-family:"body-font",Tahoma,sans-serif!important}
.commerce-flow-cart .cfc-totals .wc-proceed-to-checkout{margin:12px 0 0!important;padding:0!important}
.commerce-flow-cart a.cfc-checkout-link{display:flex!important;align-items:center;justify-content:center;gap:8px;width:100%!important;min-height:50px!important;padding:11px 15px!important;margin:0!important;background:var(--cfc-ink)!important;color:#fff!important;text-decoration:none!important;border-radius:11px!important;border:0!important;font-family:"body-font",Tahoma,sans-serif!important;font-size:13px!important;box-shadow:none!important}
.commerce-flow-cart a.cfc-checkout-link:hover{background:#29425e!important}
.commerce-flow-cart .cart_totals :is(tr.woocommerce-shipping-totals,tr.shipping,.woocommerce-shipping-calculator,.shipping-calculator-form,.shipping-calculator-button){display:none!important}
/* Native notice and undo links: prominent and legible. */
.commerce-flow-cart :is(.woocommerce-message,.woocommerce-error,.woocommerce-info){position:relative;display:flex!important;align-items:center;gap:10px;flex-wrap:wrap;direction:rtl!important;border:1px solid #e8e1d4!important;border-radius:11px!important;padding:13px 15px!important;margin:0 0 13px!important;min-height:54px;background:#fdfbf6!important;color:var(--cfc-ink)!important;font-size:13px!important;line-height:1.8!important}
.commerce-flow-cart .woocommerce-message :is(a.restore-item,a.wc-forward),.commerce-flow-cart .woocommerce-error a{display:inline-flex!important;align-items:center;justify-content:center;border:1px solid var(--cfc-gold)!important;border-radius:8px!important;background:#fff!important;color:#76552f!important;padding:5px 12px!important;font-size:12px!important;text-decoration:none!important;float:none!important;margin:0 7px!important}
.commerce-flow-cart .woocommerce-message::before{right:10px!important;left:auto!important}
@media(max-width:840px){
 .commerce-flow-cart{margin:0 0 40px!important}
 .commerce-flow-cart .cfc-layout{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"products" "totals"!important;gap:14px!important}
}
@media(max-width:620px){
 .commerce-flow-cart .cfc-topline{align-items:flex-start;flex-direction:column;gap:11px;margin-bottom:16px}
 .commerce-flow-cart .cfc-topline h1{font-size:24px!important}
 .commerce-flow-cart .cfc-products-title{padding:13px 15px}
 .commerce-flow-cart table.woocommerce-cart-form__contents>tbody>tr.cfc-item{column-gap:12px!important;row-gap:4px!important}
 .commerce-flow-cart .cfc-item>.product-thumbnail{grid-column:1;grid-row:1/3}
 .commerce-flow-cart .cfc-item>.product-thumbnail :is(a,img){width:72px!important}
 .commerce-flow-cart .cfc-item>.product-thumbnail img{height:78px!important}
 .commerce-flow-cart .cfc-item>.product-name{grid-column:2;grid-row:1}
 .commerce-flow-cart .cfc-item>.product-price{grid-column:2;grid-row:2}
 .commerce-flow-cart .cfc-item>.product-quantity{grid-column:2;grid-row:3;align-self:start}
 .commerce-flow-cart .cfc-item>.product-subtotal{grid-column:2;grid-row:4;justify-self:start;text-align:right!important;align-self:start}
 .commerce-flow-cart .cfc-item>.product-name h3{font-size:13px!important}
 .commerce-flow-cart .cfc-cart-actions-row>td.actions{padding:13px!important}
 .commerce-flow-cart .cfc-cart-actions{align-items:center}
 .commerce-flow-cart .cfc-save-area{margin-inline-start:auto}
 .commerce-flow-cart .cfc-totals{padding:17px 15px}
 .commerce-flow-cart .cfc-totals .shop_table tr{grid-template-columns:minmax(0,1fr) max-content!important}
}
@media(max-width:355px){
 .commerce-flow-cart .cfc-qty-action{width:30px!important;min-width:30px!important}
 .commerce-flow-cart .cfc-quantity-set input.qty{width:38px!important;min-width:38px!important;max-width:38px!important}
 .commerce-flow-cart .cfc-totals .shop_table .order-total :is(th,td){font-size:14px!important}
}
@media(prefers-reduced-motion:reduce){.commerce-flow-cart *{transition:none!important;animation:none!important}}


/* 0.0.14 — full-width, RTL and readable recovery; scoped to Commerce Flow only. */
body.commerce-flow-cart-page .wd-content-area:has(.commerce-flow-cart),
body.commerce-flow-cart-page .entry-content:has(.commerce-flow-cart),
body.commerce-flow-cart-page .elementor-widget-container:has(.commerce-flow-cart),
body.commerce-flow-cart-page .elementor-widget-shortcode:has(.commerce-flow-cart){
  width:100%!important;max-width:none!important;min-width:0!important;overflow:visible!important;
}
body.commerce-flow-cart-page .elementor-column:has(.commerce-flow-cart){min-width:0!important;max-width:none!important;flex:1 1 100%!important}
.commerce-flow-cart :is(input:not([type=button]),select,textarea){font-family:"lists-font","body-font",Tahoma,sans-serif!important}
.commerce-flow-cart .cfc-item>.product-remove a.remove{line-height:1!important}
.commerce-flow-cart .cfc-totals .shop_table tr{grid-template-columns:minmax(0,1fr) minmax(0,max-content)!important}
.commerce-flow-cart .cfc-totals .shop_table tr>th{grid-column:1;justify-self:stretch!important;text-align:right!important;min-width:0}
.commerce-flow-cart .cfc-totals .shop_table tr>td{grid-column:2;justify-self:end!important;text-align:left!important;min-width:0!important}
.commerce-flow-cart .cfc-totals .woocommerce-Price-amount bdi,
.commerce-flow-cart .cfc-item .woocommerce-Price-amount bdi{direction:rtl!important;display:inline-flex!important;flex-direction:row!important;gap:.25em!important;white-space:nowrap}
.commerce-flow-cart .cfc-item>.product-subtotal{font-family:"body-font",Tahoma,sans-serif!important;white-space:nowrap}
.commerce-flow-cart .cfc-item>.product-price{white-space:nowrap}
.commerce-flow-cart .cfc-unsaved.is-error{padding:8px 12px;background:#fff0eb;border:1px solid #f2cfbf;border-radius:10px}
.commerce-flow-cart .cfc-item>.product-name h3{font-size:14px!important}
.commerce-flow-cart .cfc-products-title h2,.commerce-flow-cart .cfc-totals h2{font-family:"body-font",Tahoma,sans-serif!important}
/* Woo messages printed immediately above the shortcode by third-party hooks. */
body.commerce-flow-cart-page .woocommerce-message a.restore-item,
body.commerce-flow-cart-page .woocommerce-notices-wrapper .woocommerce-message a.restore-item{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  float:none!important;padding:8px 15px!important;border:1px solid #c4a06a!important;
  background:#fff!important;border-radius:9px!important;color:#182e47!important;
  text-decoration:none!important;font-family:"body-font",Tahoma,sans-serif!important;
  margin-inline:10px!important;white-space:nowrap;
}
body.commerce-flow-cart-page .woocommerce-message{direction:rtl!important;text-align:right!important;line-height:2!important}
@media(max-width:840px){
 .commerce-flow-cart{width:calc(100vw - 24px)!important;padding:0 4px!important}
}
@media(max-width:620px){
 .commerce-flow-cart .cfc-item>.product-remove{top:9px!important;right:12px!important;left:auto!important}
 .commerce-flow-cart table.woocommerce-cart-form__contents>tbody>tr.cfc-item{padding-top:50px!important}
 .commerce-flow-cart .cfc-item>.product-name h3{max-width:100%;overflow-wrap:anywhere}
 .commerce-flow-cart .cfc-totals .shop_table tr>td{white-space:normal!important;overflow-wrap:anywhere}
 .commerce-flow-cart .cfc-cart-actions{gap:9px}
}
/* Safe fallback before JS hydration: preserve usability without horizontal overflow.
   When JS initializes, .is-ajax-ready enables viewport centering. */
.commerce-flow-cart:not(.is-ajax-ready){width:100%!important;max-width:100%!important;margin-inline:0!important;padding-inline:8px!important}

/* Commerce Flow v0.0.24 — cart typography, notice, and unified readable prices.
   The legacy Elementor/page markup can inject <code dir="ltr"> around shortcode output.
   Neutralize that markup only in this cart; do not touch genuine store code blocks.
   Currency and calculations remain native WooCommerce. */
.commerce-flow-cart {
  --cfc-price: #17645f;
}
.commerce-flow-cart code {
  font-family: "lists-font", "body-font", Tahoma, sans-serif !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  direction: rtl !important;
  unicode-bidi: normal !important;
  white-space: normal !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  color: inherit !important;
}
/* Avoid an accidental code node becoming the only child of the cart grid. */
.commerce-flow-cart :is(.cfc-layout,.cfc-topline,.woocommerce-notices-wrapper) > code {
  display: contents !important;
}
.commerce-flow-cart .cfc-topline h1,
.commerce-flow-cart .cfc-topline h1 code {
  font-family: "body-font", "lists-font", Tahoma, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  direction: rtl !important;
  text-align: right !important;
  white-space: normal !important;
}
.commerce-flow-cart .cfc-topline p,
.commerce-flow-cart .cfc-topline p code,
.commerce-flow-cart .cfc-topline .cfc-continue-shopping {
  font-family: "lists-font", "body-font", Tahoma, sans-serif !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  direction: rtl !important;
  text-align: right !important;
  white-space: normal !important;
}
/* Product unit and line totals, subtotal, discounts, shipping and final total. */
.commerce-flow-cart .cfc-item > :is(.product-price,.product-subtotal),
.commerce-flow-cart .cfc-item > :is(.product-price,.product-subtotal) :is(.woocommerce-Price-amount,.woocommerce-Price-amount bdi,.woocommerce-Price-currencySymbol),
.commerce-flow-cart .cfc-totals .shop_table td,
.commerce-flow-cart .cfc-totals .shop_table td :is(.woocommerce-Price-amount,.woocommerce-Price-amount bdi,.woocommerce-Price-currencySymbol),
.commerce-flow-cart .cfc-totals .shop_table .order-total td :is(strong,bdi,span) {
  color: var(--cfc-price) !important;
}
.commerce-flow-cart .cfc-totals .shop_table .order-total td,
.commerce-flow-cart .cfc-totals .shop_table .order-total td .woocommerce-Price-amount {
  font-family: "body-font", "lists-font", Tahoma, sans-serif !important;
  font-weight: 700 !important;
}
/* Consistent WooCommerce customer-support notice, matching Checkout's VIP palette.
   Keep the actual WooCommerce message and clickable tel: link intact. */
.commerce-flow-cart .woocommerce-notices-wrapper .woocommerce-info {
  position: relative !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  width: 100% !important;
  min-height: 56px !important;
  margin: 0 0 16px !important;
  padding: 12px 16px !important;
  direction: rtl !important;
  text-align: right !important;
  background: #fdfbf6 !important;
  border: 1px solid #e8e1d4 !important;
  border-radius: 11px !important;
  box-shadow: none !important;
  color: #182e47 !important;
  font-family: "lists-font", "body-font", Tahoma, sans-serif !important;
  font-size: 13px !important;
  line-height: 2 !important;
}
.commerce-flow-cart .woocommerce-notices-wrapper .woocommerce-info::before {
  content: "ⓘ" !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  float: none !important;
  display: inline-flex !important;
  flex: 0 0 24px !important;
  width: 24px !important;
  height: 24px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  background: #fff !important;
  border: 1px solid #e4d4bd !important;
  border-radius: 50% !important;
  color: #9b7546 !important;
  font: 16px/1 Arial, sans-serif !important;
}
.commerce-flow-cart .woocommerce-notices-wrapper .woocommerce-info::after {
  content: none !important;
  display: none !important;
}
.commerce-flow-cart .woocommerce-notices-wrapper .woocommerce-info a[href^="tel:"] {
  color: #17645f !important;
  font-family: "body-font", "lists-font", Tahoma, sans-serif !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  direction: ltr;
  unicode-bidi: isolate;
}
@media (max-width: 620px) {
  .commerce-flow-cart .woocommerce-notices-wrapper .woocommerce-info {
    padding: 11px 12px !important;
    font-size: 12px !important;
  }
}


/* 0.0.25: exactly the same shared contact markup and palette as Checkout.
 * A static WooCommerce telephone notice is omitted only inside the custom Cart;
 * all other notices and undo links remain native and visible. */
.commerce-flow-cart > .cf-helpbar {
  display:flex!important; align-items:center; direction:rtl!important;
  width:100%; min-width:0; margin:0 0 16px!important;
  border:1px solid #e8e1d4!important; border-radius:11px!important;
  background:#fcfaf6!important; box-shadow:none!important;
  overflow:hidden;
}
.commerce-flow-cart > .cf-helpbar > .cf-support-compact {
  display:flex!important; align-items:center; justify-content:flex-start;
  gap:6px 9px; flex-wrap:wrap; width:100%; min-width:0; min-height:50px;
  margin:0!important; padding:10px 15px!important; border:0!important;
  background:transparent!important; color:#536273!important;
  font-family:"lists-font",Tahoma,sans-serif!important; font-size:12px!important;
  line-height:1.95!important; direction:rtl!important; text-align:right!important;
}
.commerce-flow-cart > .cf-helpbar .cf-support-icon { width:17px!important; height:17px!important;
  color:#9b7546!important;
}
.commerce-flow-cart > .cf-helpbar .cf-support-phone {
  display:inline-block!important; font-family:"body-font","lists-font",Tahoma,sans-serif!important;
  font-size:12px!important; font-weight:700!important; color:#17645f!important;
  text-decoration:underline!important; text-decoration-color:currentColor!important;
  text-decoration-thickness:1px!important; text-underline-offset:3px!important;
  direction:ltr!important; unicode-bidi:isolate!important;
}
@media(max-width:760px) {
  .commerce-flow-cart > .cf-helpbar > .cf-support-compact { padding:10px 12px!important; }
}


/* Commerce Flow 0.0.26 – UI only, strictly within custom Cart. */
/* The same contact component renders both pages. Align its phone pictogram
   with the actual text baseline, even with tall Persian fonts on mobile. */
.commerce-flow-cart > .cf-helpbar .cf-support-icon {
  display:block!important;
  position:relative!important;
  top:2px!important;
  align-self:center!important;
  margin:0!important;
  flex:0 0 17px!important;
  vertical-align:middle!important;
}
/* Associated product relationship: match parent/child badges visually,
   while the exact Woo/ThemeComplete cart keys and quantities are untouched. */
.commerce-flow-cart .cfc-item-link-note {
  display:inline-flex!important;
  align-items:flex-start!important;
  gap:6px!important;
  max-width:100%!important;
  margin:6px 0 4px!important;
  padding:6px 9px!important;
  border-radius:9px!important;
  border:1px solid #dbece8!important;
  background:#f3faf7!important;
  color:#17645f!important;
  line-height:1.7!important;
  font-family:"lists-font","body-font",Tahoma,sans-serif!important;
  text-align:right!important;
}
.commerce-flow-cart .cfc-item-link-note svg {
  flex:0 0 15px!important;
  margin-top:3px!important;
  color:#17645f!important;
}
.commerce-flow-cart .cfc-item-link-note > span {
  display:flex!important;
  min-width:0!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:3px!important;
}
.commerce-flow-cart .cfc-item-link-note .cfc-associated-hint {
  display:inline!important;
  width:auto!important;
  font-family:"body-font",Tahoma,sans-serif!important;
  color:#17645f!important;
  background:transparent!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  font-size:11px!important;
}
.commerce-flow-cart .cfc-item-link-note .cfc-associated-relation {
  display:block!important;
  color:#485e6d!important;
  line-height:1.65!important;
  font-family:"lists-font",Tahoma,sans-serif!important;
  font-size:11px!important;
  overflow-wrap:anywhere!important;
}
.commerce-flow-cart table.woocommerce-cart-form__contents>tbody>tr.cfc-associated-item {
  background:#f8fbf9!important;
  box-shadow:inset -3px 0 0 #17645f!important;
}
.commerce-flow-cart .cfc-cart-actions {justify-content:flex-end!important}
/* Standard screen-reader hiding: keep accessible label text in the DOM, but
   prevent theme-level CSS overrides from printing it next to quantity inputs. */
.commerce-flow-cart .screen-reader-text {
  position:absolute!important;width:1px!important;height:1px!important;
  margin:-1px!important;padding:0!important;overflow:hidden!important;
  clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;
}
/* The manual submit stays in the DOM for non-JS/error recovery. Avoid an empty
   footer after the automatic-update controller is ready. */
.commerce-flow-cart.is-ajax-ready:not(.is-ajax-error):not(.is-saving)
 .cfc-cart-actions-row>td.actions {padding:0!important;min-height:0!important;}
/* Top 'ادامه خرید' is the only shop-return action. Bottom row remains
   for native WooCommerce form hooks, nonce and manual-update fallback. */
@media (max-width:620px) {
  /* Every product has an accessible three-column header (remove / title / thumbnail),
     followed by center-aligned price, quantity and line total. No overlays. */
  .commerce-flow-cart table.woocommerce-cart-form__contents>tbody>tr.cfc-item {
    display:grid!important;
    direction:rtl!important;
    grid-template-columns:40px minmax(0,1fr) 76px!important;
    grid-template-rows:auto auto auto auto!important;
    align-items:center!important;
    justify-items:stretch!important;
    gap:7px 8px!important;
    padding:14px 12px 16px!important;
    min-width:0!important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents>tbody>tr.cfc-item>td {
    position:static!important;
    min-width:0!important;
    align-self:center!important;
    text-align:center!important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents>tbody>tr.cfc-item>td.product-remove {
    grid-column:1!important;grid-row:1!important;
    justify-self:center!important;
    align-self:start!important;
    padding-top:10px!important;
    left:auto!important;right:auto!important;top:auto!important;
    z-index:1!important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents>tbody>tr.cfc-item>td.product-remove a.remove {
    width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;
    margin:0!important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents>tbody>tr.cfc-item>td.product-name {
    grid-column:2!important;grid-row:1!important;
    align-self:center!important;
    padding:0 3px!important;
    text-align:center!important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents>tbody>tr.cfc-item>td.product-name :is(h3,h3 a,.tc-associated-table-product-name,.tm-cart-edit-options,.cfc-product-meta) {
    text-align:center!important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents>tbody>tr.cfc-item>td.product-name h3 {
    margin:0 0 2px!important;
    font-size:13px!important;
    line-height:1.85!important;
    overflow-wrap:anywhere!important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents>tbody>tr.cfc-item>td.product-thumbnail {
    grid-column:3!important;grid-row:1!important;
    justify-self:center!important;
    align-self:center!important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents>tbody>tr.cfc-item>td.product-thumbnail :is(a,img) {
    display:block!important;
    width:72px!important;
    height:auto!important;
    margin:0 auto!important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents>tbody>tr.cfc-item>td.product-thumbnail img {
    height:76px!important;object-fit:cover!important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents>tbody>tr.cfc-item>td.product-price,
  .commerce-flow-cart table.woocommerce-cart-form__contents>tbody>tr.cfc-item>td.product-quantity,
  .commerce-flow-cart table.woocommerce-cart-form__contents>tbody>tr.cfc-item>td.product-subtotal {
    grid-column:1 / -1!important;
    justify-self:center!important;
    align-self:center!important;
    text-align:center!important;
    margin:0!important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents>tbody>tr.cfc-item>td.product-price{grid-row:2!important}
  .commerce-flow-cart table.woocommerce-cart-form__contents>tbody>tr.cfc-item>td.product-quantity{grid-row:3!important}
  .commerce-flow-cart table.woocommerce-cart-form__contents>tbody>tr.cfc-item>td.product-subtotal {
    grid-row:4!important;
    font-size:15px!important;
  }
  .commerce-flow-cart .cfc-quantity-set {
    margin:0 auto!important;
    vertical-align:middle!important;
  }
  .commerce-flow-cart .cfc-quantity-set.is-associated {
    display:flex!important;
    justify-content:center!important;
    min-width:52px!important;
    border:0!important;
  }
  .commerce-flow-cart .cfc-linked-quantity {
    width:52px!important;min-width:52px!important;
    height:40px!important;min-height:40px!important;
    margin:0!important;
    text-align:center!important;
    border:1px solid #d2e6e0!important;
    background:#f4faf8!important;
    color:#17645f!important;
  }
  .commerce-flow-cart .cfc-item-link-note {
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    margin:7px auto 4px!important;
    width:fit-content!important;
    max-width:100%!important;
    padding:6px 8px!important;
    text-align:center!important;
  }
  .commerce-flow-cart .cfc-item-link-note > span {align-items:center!important;text-align:center!important;}
  .commerce-flow-cart .cfc-item-link-note .cfc-associated-relation{text-align:center!important;}
  .commerce-flow-cart .cfc-item-link-note svg {margin-top:0!important;}
  .commerce-flow-cart .cfc-item>.product-subtotal :is(.woocommerce-Price-amount,.woocommerce-Price-amount bdi) {
    color:#17645f!important;
  }
}

/* Commerce Flow 0.0.33 — compact remove control and stable WooCommerce undo notice.
 * Keep a 40px touch target while reducing the visible remove button to 32px.
 * The native WooCommerce success icon is returned to document flow so it cannot
 * overlap the Persian notice text. Scoped only to the custom Commerce Flow Cart.
 */
@media (max-width: 620px) {

  .commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-remove {
    padding: 8px 0 0 !important;
  }

  /* The anchor remains 40x40 for comfortable touch; only its visible frame is 32x32. */
  .commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-remove a.remove {
    display: grid !important;
    place-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 9px !important;
    color: #ac6065 !important;
    line-height: 1 !important;
    overflow: visible !important;
  }

  /* Give the thumbnail four extra pixels without changing its familiar crop mode. */

  .commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-thumbnail :is(a, img) {
    display: block !important;
    width: 76px !important;
    max-width: 76px !important;
    margin-inline: auto !important;
  }
}

/* WooCommerce's default .woocommerce-message::before is often absolutely
   positioned by themes. Make it a real RTL flex item before the message text. */
.commerce-flow-cart .woocommerce-notices-wrapper .woocommerce-message,
body.commerce-flow-cart-page .woocommerce-notices-wrapper .woocommerce-message {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px 10px !important;
  direction: rtl !important;
  text-align: right !important;
  unicode-bidi: plaintext !important;
  white-space: normal !important;
}

.commerce-flow-cart .woocommerce-notices-wrapper .woocommerce-message::before,
body.commerce-flow-cart-page .woocommerce-notices-wrapper .woocommerce-message::before {
  content: "✓" !important;
  position: static !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  float: none !important;
  display: inline-flex !important;
  flex: 0 0 22px !important;
  width: 22px !important;
  min-width: 22px !important;
  height: 22px !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  order: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #d2e6e0 !important;
  border-radius: 50% !important;
  background: #edf6f3 !important;
  color: #17645f !important;
  font: 14px/1 Arial, sans-serif !important;
  box-sizing: border-box !important;
}

.commerce-flow-cart .woocommerce-notices-wrapper .woocommerce-message a.restore-item,
body.commerce-flow-cart-page .woocommerce-notices-wrapper .woocommerce-message a.restore-item {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  margin: 0 !important;
  white-space: nowrap !important;
}



/* Commerce Flow 1.0.19 — final RTL cart row balance.
 * Keep the product image at the visual start (right) and place the destructive
 * remove action on the opposite edge (left). Product details stay centered
 * between them. Use the existing WooCommerce thumbnail and contain it fully.
 * The last product row relies on the outer card border, avoiding a doubled
 * bottom rule. CSS-only: no markup, calculation, AJAX or cart behavior changes.
 */
.commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item {
  direction: ltr !important;
  grid-template-columns: 40px minmax(145px, 19%) minmax(220px, 1fr) 88px !important;
  grid-template-rows: auto auto auto !important;
  align-items: center !important;
  justify-items: stretch !important;
  column-gap: 14px !important;
  row-gap: 5px !important;
  min-width: 0 !important;
  padding: 16px 16px !important;
  border-bottom: 1px solid var(--cfc-line) !important;
}
.commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td {
  position: static !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  border: 0 !important;
  background: transparent !important;
  align-self: center !important;
}
.commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-remove {
  grid-column: 1 !important;
  grid-row: 1 / 4 !important;
  justify-self: center !important;
  align-self: start !important;
  z-index: 1 !important;
}
.commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-remove a.remove {
  display: grid !important;
  place-items: center !important;
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #efdada !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: #ac6065 !important;
  font: 20px/1 Arial, sans-serif !important;
  text-decoration: none !important;
}
.commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-thumbnail {
  grid-column: 4 !important;
  grid-row: 1 / 4 !important;
  justify-self: center !important;
  align-self: center !important;
  direction: rtl !important;
}
.commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-thumbnail a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 88px !important;
  height: 88px !important;
  max-width: 88px !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  border: 1px solid #eee8df !important;
  border-radius: 11px !important;
  background: #fff !important;
}
.commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-thumbnail img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
}
.commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-name {
  grid-column: 3 !important;
  grid-row: 1 !important;
  justify-self: stretch !important;
  text-align: center !important;
  direction: rtl !important;
}
.commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-name h3 {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  text-align: center !important;
  overflow-wrap: anywhere !important;
}
.commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-name :is(h3 a, .cfc-product-meta, .tc-associated-table-product-name, .tm-cart-edit-options) {
  text-align: center !important;
}
.commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-price {
  grid-column: 3 !important;
  grid-row: 2 !important;
  justify-self: stretch !important;
  text-align: center !important;
  direction: rtl !important;
  white-space: nowrap !important;
  font-size: 12px !important;
}
.commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-quantity {
  grid-column: 3 !important;
  grid-row: 3 !important;
  justify-self: center !important;
  text-align: center !important;
  direction: rtl !important;
}
.commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-subtotal {
  grid-column: 2 !important;
  grid-row: 1 / 4 !important;
  justify-self: center !important;
  align-self: center !important;
  text-align: center !important;
  direction: rtl !important;
  white-space: nowrap !important;
  font-size: 15px !important;
}
.commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item:not(:has(~ tr.cfc-item)) {
  border-bottom: 0 !important;
}
.commerce-flow-cart .cfc-quantity-set {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
  vertical-align: middle !important;
}

@media (max-width: 840px) and (min-width: 621px) {
  .commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item {
    grid-template-columns: 38px minmax(120px, 19%) minmax(165px, 1fr) 78px !important;
    column-gap: 10px !important;
    padding: 14px 12px !important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-thumbnail a {
    width: 78px !important;
    height: 78px !important;
    max-width: 78px !important;
  }
}

@media (max-width: 620px) {
  .commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item {
    direction: ltr !important;
    grid-template-rows: auto auto auto auto !important;
    column-gap: 9px !important;
    row-gap: 5px !important;
    padding: 13px 10px 15px !important;
    align-items: center !important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-remove {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 40px !important;
    min-width: 40px !important;
    justify-self: center !important;
    align-self: start !important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-remove a.remove {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    border: 0 !important;
    background: transparent !important;
    font-size: 0 !important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-remove a.remove > span {
    display: grid !important;
    place-items: center !important;
    width: 32px !important;
    height: 32px !important;
    border: 1px solid #efdada !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #ac6065 !important;
    font: 18px/1 Arial, sans-serif !important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-name {
    grid-column: 2 !important;
    grid-row: 1 !important;
    text-align: center !important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-price {
    grid-column: 2 !important;
    grid-row: 2 !important;
    text-align: center !important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-quantity {
    grid-column: 2 !important;
    grid-row: 3 !important;
    justify-self: center !important;
    text-align: center !important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-subtotal {
    grid-column: 2 !important;
    grid-row: 4 !important;
    justify-self: center !important;
    text-align: center !important;
    font-size: 14px !important;
  }
}
@media (max-width: 355px) {
  .commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item {
    padding-inline: 8px !important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-remove {
    width: 36px !important;
    min-width: 36px !important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-remove a.remove {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-thumbnail a {
    width: 66px !important;
    height: 66px !important;
    max-width: 66px !important;
  }
}


/* Commerce Flow 1.0.20 — mobile image sizing, stable save status and RTL actions.
 * CSS-only presentation changes; native cart/AJAX behavior remains untouched.
 */
@media (max-width: 620px) {
  .commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item {
    grid-template-columns: 40px minmax(0, 1fr) 104px !important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-thumbnail {
    width: 104px !important;
    grid-column: 3 !important;
    grid-row: 1 / 5 !important;
    justify-self: center !important;
    align-self: center !important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-thumbnail a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100px !important;
    height: 100px !important;
    max-width: 100px !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    border: 1px solid #eee8df !important;
    border-radius: 11px !important;
    background: #fff !important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-thumbnail img {
    display: block !important;
    width: 100px !important;
    height: 100px !important;
    max-width: 100px !important;
    max-height: 100px !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
  }

  /* In RTL column layout, flex-end is the visual left side. */
  .commerce-flow-cart .cfc-topline > .cfc-continue-shopping {
    align-self: flex-end !important;
    margin-inline-start: auto !important;
    margin-inline-end: 0 !important;
  }
}

@media (max-width: 355px) {
  .commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item {
    grid-template-columns: 36px minmax(0, 1fr) 104px !important;
    column-gap: 6px !important;
  }
  .commerce-flow-cart table.woocommerce-cart-form__contents > tbody > tr.cfc-item > td.product-thumbnail {
    width: 104px !important;
  }
}

/* Keep the AJAX status row at one compact, constant height.
 * Previously it collapsed while queued, then expanded when fetch() began.
 */
.commerce-flow-cart.is-ajax-ready:not(.is-ajax-error)
  .cfc-cart-actions-row > td.actions {
  display: block !important;
  box-sizing: border-box !important;
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  padding: 2px 12px !important;
  overflow: hidden !important;
}
.commerce-flow-cart.is-ajax-ready:not(.is-ajax-error)
  .cfc-cart-actions-row .cfc-save-area {
  display: flex !important;
  align-items: center !important;
  min-height: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.commerce-flow-cart.is-ajax-ready:not(.is-ajax-error)
  .cfc-cart-actions-row .cfc-unsaved:not([hidden]) {
  display: block !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  line-height: 22px !important;
  font-size: 11px !important;
}

/* 1.1.5 — currency stays visually to the LEFT of its amount on this page,
 * regardless of WooCommerce's configured prefix/suffix currency position.
 * Both bdi-wrapped WooCommerce prices and direct-children fee prices work.
 * Numbers, fees, separators and WooCommerce settings are not modified. */
.commerce-flow-cart .woocommerce-Price-amount,
.commerce-flow-cart .woocommerce-Price-amount > bdi {
  display: inline-flex !important;
  direction: rtl !important;
  flex-direction: row !important;
  align-items: baseline !important;
  gap: .22em !important;
  white-space: nowrap !important;
  unicode-bidi: isolate;
}
.commerce-flow-cart .woocommerce-Price-amount > .woocommerce-Price-currencySymbol,
.commerce-flow-cart .woocommerce-Price-amount > bdi > .woocommerce-Price-currencySymbol {
  order: 1 !important;
  display: inline-block !important;
  flex: none !important;
  white-space: nowrap !important;
}
