/* Erfan Modern Checkout — modern WooCommerce cart */
.emc-cart-shell,.emc-cart-shell *{box-sizing:border-box}
.emc-cart-shell{width:100%;font-family:inherit;font-size:var(--emcc-base-font);line-height:1.65;color:var(--emcc-text);background:radial-gradient(circle at 8% 6%,color-mix(in srgb,var(--emcc-primary) 8%,transparent),transparent 28rem),radial-gradient(circle at 96% 22%,color-mix(in srgb,var(--emcc-primary) 5%,transparent),transparent 24rem),var(--emcc-bg);isolation:isolate}
.emc-cart-shell a{text-decoration:none!important}.emc-cart-main{width:min(var(--emcc-layout-width),calc(100% - 48px));margin:0 auto;padding:38px 0 56px;position:relative;z-index:1}
.emc-cart-progress{max-width:650px;margin:0 auto 34px;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--emcc-muted);font-size:12px;font-weight:700}.emc-cart-progress>a,.emc-cart-progress>div{display:flex;align-items:center;gap:7px;color:inherit!important;white-space:nowrap}.emc-cart-progress span{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--emcc-border);background:var(--emcc-surface);font-size:11px}.emc-cart-progress .active{color:var(--emcc-primary)}.emc-cart-progress .active span{background:var(--emcc-primary);border-color:var(--emcc-primary);color:#fff;box-shadow:0 8px 20px color-mix(in srgb,var(--emcc-primary) 24%,transparent)}.emc-cart-progress i{height:1px;flex:1;max-width:80px;background:var(--emcc-border)}
.emc-cart-intro{max-width:760px;margin:0 auto 30px;text-align:center}.emc-cart-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--emcc-primary);font-size:12px;font-weight:800;margin-bottom:10px}.emc-cart-eyebrow i{width:7px;height:7px;background:var(--emcc-primary);border-radius:50%;box-shadow:0 0 0 5px color-mix(in srgb,var(--emcc-primary) 10%,transparent)}.emc-cart-intro h1{font:800 clamp(28px,3vw,42px)/1.25 inherit!important;color:var(--emcc-text)!important;margin:0 0 8px!important;letter-spacing:-.03em}.emc-cart-intro p{color:var(--emcc-muted)!important;margin:0!important;font-size:14px!important}
.emc-cart-host .woocommerce{max-width:none!important}.emc-cart-host .woocommerce:before,.emc-cart-host .woocommerce:after,.emc-cart-host .cart-collaterals:before,.emc-cart-host .cart-collaterals:after{display:none!important}
.emc-cart-host .woocommerce-cart-form{width:calc(100% - 390px - var(--emcc-gap))!important;float:right!important;margin:0!important}.emc-cart-host .cart-collaterals{width:390px!important;float:left!important;margin:0!important}.emc-cart-host .cart-collaterals .cart_totals{width:100%!important;float:none!important;background:var(--emcc-surface)!important;border:1px solid var(--emcc-border)!important;border-radius:var(--emcc-card-radius)!important;padding:24px!important;box-shadow:0 14px 45px rgba(15,23,42,.07)!important}
.emc-cart-host table.shop_table.cart{display:block!important;margin:0!important;border:0!important;background:transparent!important;border-collapse:separate!important}.emc-cart-host table.shop_table.cart thead{display:none!important}.emc-cart-host table.shop_table.cart tbody{display:block!important}.emc-cart-host table.shop_table.cart tr.cart_item{display:grid!important;grid-template-columns:82px minmax(0,1.5fr) minmax(90px,.55fr) 128px minmax(95px,.6fr) 34px;grid-template-areas:"thumb name price qty subtotal remove";align-items:center;gap:16px;background:var(--emcc-surface)!important;border:1px solid var(--emcc-border)!important;border-radius:var(--emcc-card-radius)!important;padding:18px!important;margin:0 0 14px!important;box-shadow:0 9px 28px rgba(15,23,42,.04)!important}
.emc-cart-host table.shop_table.cart tr.cart_item td{display:block!important;width:auto!important;border:0!important;padding:0!important;background:transparent!important;color:var(--emcc-text)!important;text-align:inherit!important}.emc-cart-host .product-thumbnail{grid-area:thumb}.emc-cart-host .product-name{grid-area:name}.emc-cart-host .product-price{grid-area:price}.emc-cart-host .product-quantity{grid-area:qty}.emc-cart-host .product-subtotal{grid-area:subtotal}.emc-cart-host .product-remove{grid-area:remove}
.emc-cart-host .product-thumbnail a{display:block!important}.emc-cart-host .product-thumbnail img{width:78px!important;height:78px!important;object-fit:cover!important;border-radius:16px!important;border:1px solid var(--emcc-border)!important;margin:0!important}.emc-cart-host .product-name a{color:var(--emcc-text)!important;font-size:14px!important;font-weight:800!important;line-height:1.75!important}.emc-cart-host .product-name .variation{margin:6px 0 0!important;color:var(--emcc-muted)!important;font-size:10px!important}.emc-cart-host .product-name .variation dt,.emc-cart-host .product-name .variation dd{display:inline!important;float:none!important;margin:0 0 0 5px!important}.emc-cart-host .product-price,.emc-cart-host .product-subtotal{font-weight:800!important;font-size:13px!important}.emc-cart-host .product-price .amount{color:var(--emcc-muted)!important}.emc-cart-host .product-subtotal .amount{color:var(--emcc-text)!important}
.emc-cart-host .product-remove a.remove{width:32px!important;height:32px!important;border-radius:10px!important;border:1px solid var(--emcc-border)!important;background:var(--emcc-surface-alt)!important;color:#e5484d!important;display:grid!important;place-items:center!important;line-height:1!important;font-size:19px!important;font-weight:400!important;transition:.2s!important}.emc-cart-host .product-remove a.remove:hover{border-color:#fecaca!important;background:#fff1f2!important;color:#dc2626!important}
.emc-cart-host .emc-product-title-line{display:block;min-width:0;max-width:100%}.emc-cart-host .product-name a.emc-mobile-remove{display:none!important}
.emc-cart-host .quantity{display:grid!important;grid-template-columns:32px minmax(48px,1fr) 32px!important;align-items:center!important;border:1px solid var(--emcc-input-border)!important;border-radius:var(--emcc-input-radius)!important;background:var(--emcc-input-bg)!important;overflow:hidden!important;min-height:42px!important}.emc-cart-host .quantity .qty{width:100%!important;min-width:0!important;height:40px!important;border:0!important;border-left:1px solid var(--emcc-input-border)!important;border-right:1px solid var(--emcc-input-border)!important;border-radius:0!important;background:transparent!important;color:var(--emcc-text)!important;box-shadow:none!important;text-align:center!important;padding:0 4px!important;-moz-appearance:textfield}.emc-cart-host .quantity .qty::-webkit-outer-spin-button,.emc-cart-host .quantity .qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.emc-qty-btn{width:32px!important;height:40px!important;padding:0!important;border:0!important;background:transparent!important;color:var(--emcc-muted)!important;font-size:18px!important;font-weight:600!important;box-shadow:none!important;border-radius:0!important;cursor:pointer!important}.emc-qty-btn:hover{background:var(--emcc-surface-alt)!important;color:var(--emcc-primary)!important}
.emc-cart-host table.shop_table.cart tr:not(.cart_item){display:block!important}.emc-cart-host td.actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;border:0!important;padding:4px 0 0!important;background:transparent!important}.emc-cart-host td.actions .coupon{display:grid!important;grid-template-columns:minmax(170px,1fr) auto!important;gap:8px!important;float:none!important;max-width:480px!important;flex:1!important}.emc-cart-host td.actions .coupon label{display:none!important}.emc-cart-host input#coupon_code{width:100%!important;min-height:44px!important;margin:0!important;padding:0 14px!important;border:1px solid var(--emcc-input-border)!important;border-radius:var(--emcc-input-radius)!important;background:var(--emcc-input-bg)!important;color:var(--emcc-text)!important;box-shadow:none!important;font-size:12px!important}.emc-cart-host input#coupon_code:focus{border-color:var(--emcc-primary)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--emcc-primary) 12%,transparent)!important;outline:0!important}
.emc-cart-host button.button,.emc-cart-host a.button,.emc-cart-host .checkout-button{min-height:44px!important;border:0!important;border-radius:var(--emcc-button-radius)!important;padding:0 17px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:var(--emcc-primary)!important;color:var(--emcc-button-text)!important;font:800 11px/1 inherit!important;box-shadow:0 8px 18px color-mix(in srgb,var(--emcc-primary) 18%,transparent)!important;transition:.2s!important}.emc-cart-host button.button:hover,.emc-cart-host a.button:hover,.emc-cart-host .checkout-button:hover{background:var(--emcc-primary-hover)!important;color:var(--emcc-button-text)!important;transform:translateY(-1px)!important}.emc-cart-host button[name="update_cart"]{background:var(--emcc-surface)!important;color:var(--emcc-text)!important;border:1px solid var(--emcc-border)!important;box-shadow:none!important}.emc-cart-host button[name="update_cart"]:hover{background:var(--emcc-surface-alt)!important;color:var(--emcc-text)!important}.emc-cart-host button:disabled{opacity:.48!important;cursor:not-allowed!important;transform:none!important}
.emc-cart-host .cart_totals h2{color:var(--emcc-text)!important;font:800 19px/1.5 inherit!important;margin:0 0 17px!important}.emc-cart-host .cart_totals table{margin:0 0 18px!important;border:0!important;border-collapse:collapse!important}.emc-cart-host .cart_totals table tr{border-bottom:1px solid var(--emcc-border)!important}.emc-cart-host .cart_totals table tr:last-child{border-bottom:0!important}.emc-cart-host .cart_totals th,.emc-cart-host .cart_totals td{border:0!important;padding:13px 0!important;background:transparent!important;color:var(--emcc-text)!important;font-size:12px!important}.emc-cart-host .cart_totals th{font-weight:700!important;color:var(--emcc-muted)!important}.emc-cart-host .cart_totals td{text-align:left!important;font-weight:800!important}.rtl .emc-cart-host .cart_totals td{text-align:left!important}.emc-cart-host .cart_totals .order-total th,.emc-cart-host .cart_totals .order-total td{font-size:14px!important;color:var(--emcc-text)!important}.emc-cart-host .wc-proceed-to-checkout{padding:4px 0 0!important;margin:0!important}.emc-cart-host .wc-proceed-to-checkout .checkout-button{width:100%!important;min-height:52px!important;font-size:13px!important;margin:0!important}
.emc-cart-host .woocommerce-message,.emc-cart-host .woocommerce-info,.emc-cart-host .woocommerce-error{border:1px solid var(--emcc-border)!important;border-radius:16px!important;background:var(--emcc-surface)!important;color:var(--emcc-text)!important;padding:14px 18px!important;margin:0 0 18px!important;box-shadow:none!important}.emc-cart-host .woocommerce-message:before,.emc-cart-host .woocommerce-info:before{color:var(--emcc-primary)!important}.emc-cart-host .woocommerce-error:before{color:#ef4444!important}
.emc-cart-host .woocommerce-shipping-methods{margin:0!important;padding:0!important;list-style:none!important}.emc-cart-host .woocommerce-shipping-methods li{margin:7px 0!important;font-size:11px!important;color:var(--emcc-muted)!important}.emc-cart-host .shipping-calculator-button{color:var(--emcc-primary)!important;font-size:11px!important;font-weight:800!important}.emc-cart-host .shipping-calculator-form{padding-top:10px!important}.emc-cart-host .shipping-calculator-form input,.emc-cart-host .shipping-calculator-form select{width:100%!important;min-height:42px!important;border:1px solid var(--emcc-input-border)!important;border-radius:var(--emcc-input-radius)!important;background:var(--emcc-input-bg)!important;color:var(--emcc-text)!important;box-shadow:none!important}
.emc-cart-host .cart-empty.woocommerce-info{text-align:center!important;padding:28px!important}.emc-cart-host .return-to-shop{text-align:center!important}.emc-cart-host .return-to-shop .button{min-width:180px!important}
@media(max-width:1100px){.emc-cart-host .woocommerce-cart-form{width:calc(100% - 340px - var(--emcc-gap))!important}.emc-cart-host .cart-collaterals{width:340px!important}.emc-cart-host table.shop_table.cart tr.cart_item{grid-template-columns:70px minmax(0,1fr) 112px minmax(90px,.55fr) 34px;grid-template-areas:"thumb name qty subtotal remove"}.emc-cart-host .product-price{display:none!important}.emc-cart-host .product-thumbnail img{width:68px!important;height:68px!important}}
@media(max-width:980px){.emc-cart-host .woocommerce-cart-form,.emc-cart-host .cart-collaterals{width:100%!important;float:none!important}.emc-cart-host .cart-collaterals{margin-top:24px!important}.emc-cart-host .cart_totals{position:static!important}}
@media(max-width:680px){.emc-cart-main{width:calc(100% - 24px);padding:28px 0 40px}.emc-cart-progress{gap:6px;margin-bottom:24px}.emc-cart-progress b{display:none}.emc-cart-progress i{max-width:52px}.emc-cart-intro{margin-bottom:22px}.emc-cart-intro h1{font-size:27px!important}.emc-cart-host table.shop_table.cart tr.cart_item{grid-template-columns:72px minmax(0,1fr) 32px;grid-template-areas:"thumb name remove" "thumb qty subtotal";gap:10px 12px;padding:14px;border-radius:max(16px,var(--emcc-card-radius))!important}.emc-cart-host .product-thumbnail img{width:70px!important;height:70px!important}.emc-cart-host .product-subtotal{text-align:left!important}.emc-cart-host td.actions{flex-direction:column!important;align-items:stretch!important}.emc-cart-host td.actions .coupon{max-width:none!important;width:100%!important}.emc-cart-host button[name="update_cart"]{width:100%!important}.emc-cart-host .cart-collaterals .cart_totals{padding:18px!important;border-radius:max(16px,var(--emcc-card-radius))!important}}
@media(max-width:420px){.emc-cart-host td.actions .coupon{grid-template-columns:minmax(0,1fr) auto!important}.emc-cart-host td.actions .coupon button{padding:0 12px!important;font-size:10px!important}.emc-cart-progress span{width:27px;height:27px}}

/* v1.2.2 — mobile cart title/remove + stacked coupon refinement */
.emc-modern-cart-page{overflow-x:hidden}
.emc-cart-shell,.emc-cart-main,.emc-cart-host,.emc-cart-host .woocommerce,.emc-cart-host .woocommerce-cart-form,.emc-cart-host .cart-collaterals{min-width:0;max-width:100%}
.emc-cart-host table.shop_table.cart tr.cart_item>td::before{display:none!important;content:none!important;float:none!important}
.emc-cart-host table.shop_table.cart tr.cart_item .product-name,.emc-cart-host table.shop_table.cart tr.cart_item .product-name a{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:normal!important}
.emc-cart-host .quantity input.qty{display:block!important;visibility:visible!important;opacity:1!important;position:static!important;float:none!important;max-width:none!important;margin:0!important;appearance:textfield!important;-webkit-appearance:none!important}
.emc-cart-host td.actions .coupon>input#coupon_code,.emc-cart-host td.actions .coupon>button[name="apply_coupon"]{float:none!important;margin:0!important;max-width:none!important}

@media(max-width:767px){
  .emc-cart-main{width:calc(100% - 24px)!important;max-width:100%!important;padding:26px 0 38px!important}
  .emc-cart-progress{width:100%;max-width:360px;margin:0 auto 23px!important;gap:6px!important;padding:0 4px}
  .emc-cart-progress>a,.emc-cart-progress>div{min-width:0;justify-content:center}
  .emc-cart-progress b{display:none!important}
  .emc-cart-progress i{min-width:18px;max-width:48px!important}
  .emc-cart-intro{margin:0 auto 20px!important;padding:0 4px}
  .emc-cart-intro h1{font-size:clamp(25px,8vw,30px)!important;line-height:1.35!important;letter-spacing:0!important}
  .emc-cart-intro p{font-size:12px!important;line-height:1.9!important}

  .emc-cart-host .woocommerce-cart-form,.emc-cart-host .cart-collaterals{width:100%!important;max-width:100%!important;float:none!important;margin-inline:0!important}
  .emc-cart-host table.shop_table.cart,.emc-cart-host table.shop_table.cart tbody{width:100%!important;max-width:100%!important}
  .emc-cart-host table.shop_table.cart tr.cart_item{
    width:100%!important;
    grid-template-columns:72px minmax(0,1fr)!important;
    grid-template-areas:"thumb name" "thumb qty" "subtotal subtotal"!important;
    position:relative!important;
    align-items:start!important;
    gap:10px 12px!important;
    padding:14px!important;
    margin:0 0 12px!important;
    border-radius:max(16px,var(--emcc-card-radius))!important;
    overflow:hidden!important;
  }
  .emc-cart-host table.shop_table.cart tr.cart_item>td{min-width:0!important;max-width:100%!important;float:none!important;margin:0!important;position:static!important}
  .emc-cart-host .product-thumbnail{align-self:start!important}
  .emc-cart-host .product-thumbnail img{display:block!important;width:72px!important;height:72px!important;max-width:72px!important;object-fit:cover!important;border-radius:14px!important}
  .emc-cart-host .product-name{padding-inline-end:0!important;align-self:start!important;width:100%!important;max-width:100%!important}
  .emc-cart-host .emc-product-title-line{display:flex!important;align-items:flex-start!important;gap:7px!important;width:100%!important;max-width:100%!important;min-width:0!important}
  .emc-cart-host .emc-product-title-line>a:not(.emc-mobile-remove){display:block!important;flex:1 1 auto!important;width:auto!important;max-width:100%!important;min-width:0!important;font-size:13px!important;line-height:1.75!important;font-weight:800!important;overflow-wrap:anywhere!important}
  .emc-cart-host .product-name .variation{font-size:10px!important;line-height:1.7!important;margin-top:4px!important}
  .emc-cart-host .product-price{display:none!important}
  .emc-cart-host .product-remove{display:none!important}
  .emc-cart-host .product-name a.emc-mobile-remove{display:grid!important;place-items:center!important;flex:0 0 20px!important;width:20px!important;max-width:20px!important;min-width:20px!important;height:20px!important;min-height:20px!important;margin:2px 0 0!important;padding:0!important;border:1px solid var(--emcc-border)!important;border-radius:6px!important;background:var(--emcc-surface-alt)!important;color:#e5484d!important;font-size:13px!important;font-weight:400!important;line-height:1!important;box-shadow:none!important;transition:.2s!important}
  .emc-cart-host .product-name a.emc-mobile-remove:hover{border-color:#fecaca!important;background:#fff1f2!important;color:#dc2626!important}
  .emc-cart-host .product-quantity{display:flex!important;align-items:center!important;justify-content:flex-start!important;min-height:42px!important}
  .emc-cart-host .product-quantity .quantity{width:118px!important;max-width:100%!important;min-width:0!important;grid-template-columns:34px minmax(42px,50px) 34px!important;min-height:42px!important;margin:0!important;float:none!important}
  .emc-cart-host .quantity .qty{height:40px!important;min-height:40px!important;font-size:13px!important;line-height:40px!important;padding:0 2px!important}
  .emc-cart-host .emc-qty-btn{width:34px!important;min-width:34px!important;height:40px!important;min-height:40px!important;font-size:18px!important;margin:0!important}
  .emc-cart-host .product-subtotal{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:14px!important;
    width:100%!important;
    min-width:0!important;
    padding-top:11px!important;
    margin-top:2px!important;
    border-top:1px solid var(--emcc-border)!important;
    text-align:start!important;
    font-size:12px!important;
  }
  .emc-cart-host table.shop_table.cart tr.cart_item .product-subtotal::before{
    display:inline!important;
    content:attr(data-title)!important;
    float:none!important;
    flex:0 0 auto!important;
    color:var(--emcc-muted)!important;
    font-size:10px!important;
    font-weight:700!important;
  }
  .emc-cart-host .product-subtotal .amount{margin-inline-start:auto!important;white-space:nowrap!important;font-size:12px!important}

  .emc-cart-host table.shop_table.cart tr:not(.cart_item){width:100%!important;max-width:100%!important}
  .emc-cart-host td.actions{display:grid!important;grid-template-columns:1fr!important;align-items:stretch!important;justify-content:stretch!important;gap:10px!important;width:100%!important;padding:2px 0 0!important;float:none!important}
  .emc-cart-host td.actions::before{display:none!important;content:none!important}
  .emc-cart-host td.actions .coupon{display:grid!important;grid-template-columns:1fr!important;align-items:stretch!important;gap:8px!important;width:100%!important;max-width:100%!important;float:none!important;margin:0!important}
  .emc-cart-host td.actions .coupon>input#coupon_code{width:100%!important;min-width:0!important;height:46px!important;min-height:46px!important;padding:0 14px!important;font-size:11px!important}
  .emc-cart-host td.actions .coupon>button[name="apply_coupon"]{width:100%!important;min-width:0!important;height:46px!important;min-height:46px!important;padding:0 14px!important;font-size:10.5px!important;white-space:nowrap!important}
  .emc-cart-host td.actions>button[name="update_cart"]{width:100%!important;max-width:100%!important;min-height:46px!important;margin:0!important;float:none!important}

  .emc-cart-host .cart-collaterals{margin-top:20px!important}
  .emc-cart-host .cart-collaterals .cart_totals{width:100%!important;max-width:100%!important;padding:17px!important;border-radius:max(16px,var(--emcc-card-radius))!important;overflow:hidden!important}
  body.emc-modern-cart-page #emc-modern-cart .emc-cart-host .cart-collaterals .cart_totals h2{font-size:20px!important;line-height:1.5!important;font-weight:800!important;letter-spacing:0!important;margin:0 0 14px!important;padding:0!important}
  .emc-cart-host .cart_totals table.shop_table{display:table!important;width:100%!important;table-layout:fixed!important;margin:0 0 16px!important}
  .emc-cart-host .cart_totals table.shop_table tbody{display:table-row-group!important}
  .emc-cart-host .cart_totals table.shop_table tr{display:table-row!important;width:auto!important}
  .emc-cart-host .cart_totals table.shop_table th,.emc-cart-host .cart_totals table.shop_table td{display:table-cell!important;width:50%!important;float:none!important;position:static!important;padding:12px 0!important;vertical-align:top!important;font-size:11px!important;line-height:1.8!important}
  .emc-cart-host .cart_totals table.shop_table th{text-align:start!important;padding-inline-end:8px!important}
  .emc-cart-host .cart_totals table.shop_table td{text-align:end!important;padding-inline-start:8px!important;overflow-wrap:anywhere!important}
  .emc-cart-host .cart_totals table.shop_table td::before{display:none!important;content:none!important;float:none!important}
  .emc-cart-host .cart_totals table.shop_table .order-total th,.emc-cart-host .cart_totals table.shop_table .order-total td{font-size:13px!important}
  .emc-cart-host .cart_totals .woocommerce-shipping-methods{max-width:100%!important}
  .emc-cart-host .cart_totals .woocommerce-shipping-methods li{white-space:normal!important;overflow-wrap:anywhere!important}
  .emc-cart-host .wc-proceed-to-checkout .checkout-button{width:100%!important;min-height:50px!important;font-size:12px!important;white-space:normal!important;text-align:center!important;line-height:1.5!important;padding:10px 14px!important}

  .emc-cart-host .woocommerce-message,.emc-cart-host .woocommerce-info,.emc-cart-host .woocommerce-error{font-size:11px!important;line-height:1.8!important;padding:12px 14px!important;overflow-wrap:anywhere!important}
}

@media(max-width:420px){
  .emc-cart-main{width:calc(100% - 20px)!important}
  .emc-cart-host table.shop_table.cart tr.cart_item{grid-template-columns:66px minmax(0,1fr)!important;gap:9px 10px!important;padding:12px!important}
  .emc-cart-host .product-thumbnail img{width:66px!important;height:66px!important;max-width:66px!important}
  .emc-cart-host .product-name{padding-inline-end:0!important}
  .emc-cart-host .emc-product-title-line>a:not(.emc-mobile-remove){font-size:12px!important}
  .emc-cart-host .emc-product-title-line{gap:6px!important}
  .emc-cart-host .product-name a.emc-mobile-remove{flex-basis:19px!important;width:19px!important;max-width:19px!important;min-width:19px!important;height:19px!important;min-height:19px!important;font-size:12px!important;border-radius:6px!important}
  .emc-cart-host .product-quantity .quantity{width:112px!important;grid-template-columns:32px minmax(42px,48px) 32px!important}
  .emc-cart-host .emc-qty-btn{width:32px!important;min-width:32px!important}
  .emc-cart-host td.actions .coupon{grid-template-columns:1fr!important;gap:7px!important}
  .emc-cart-host td.actions .coupon>button[name="apply_coupon"]{width:100%!important;min-width:0!important;padding:0 12px!important;font-size:10px!important}
  .emc-cart-host .cart-collaterals .cart_totals{padding:15px!important}
}

@media(max-width:340px){
  .emc-cart-host td.actions .coupon{grid-template-columns:1fr!important}
  .emc-cart-host td.actions .coupon>button[name="apply_coupon"]{width:100%!important}
  .emc-cart-host table.shop_table.cart tr.cart_item{grid-template-columns:60px minmax(0,1fr)!important}
  .emc-cart-host .product-thumbnail img{width:60px!important;height:60px!important;max-width:60px!important}
}

/* v1.2.4 — keep only the title-adjacent remove control on mobile */
@media(max-width:767px){
  body.emc-modern-cart-page #emc-modern-cart .emc-cart-host table.shop_table.cart tr.cart_item>td.product-remove,
  body.emc-modern-cart-page #emc-modern-cart .emc-cart-host table.shop_table.cart tr.cart_item>td.product-remove *,
  body.emc-modern-cart-page #emc-modern-cart .emc-cart-host table.shop_table.cart tr.cart_item .product-remove,
  body.emc-modern-cart-page #emc-modern-cart .emc-cart-host table.shop_table.cart tr.cart_item .product-remove a.remove{
    display:none!important;
    visibility:hidden!important;
    width:0!important;
    min-width:0!important;
    max-width:0!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    overflow:hidden!important;
    position:absolute!important;
    pointer-events:none!important;
  }
}

/* v1.3.0 — responsive spacing controls */
@media(min-width:981px){
  .emc-cart-main{padding-top:var(--emcc-space-page-top-d)!important;padding-bottom:var(--emcc-space-page-bottom-d)!important}
  .emc-cart-progress{margin-bottom:var(--emcc-space-progress-bottom-d)!important}
  .emc-cart-eyebrow{margin-bottom:var(--emcc-space-eyebrow-bottom-d)!important}
  .emc-cart-intro h1{margin-bottom:var(--emcc-space-title-bottom-d)!important}
  .emc-cart-intro{margin-bottom:var(--emcc-space-intro-bottom-d)!important}
  .emc-cart-host .woocommerce-cart-form{width:calc(100% - 390px - var(--emcc-space-columns-gap-d))!important}
  .emc-cart-host table.shop_table.cart tr.cart_item{gap:var(--emcc-space-product-grid-gap-d)!important;padding:var(--emcc-space-product-card-padding-d)!important;margin-bottom:var(--emcc-space-product-card-gap-d)!important}
  .emc-cart-host td.actions{gap:var(--emcc-space-actions-gap-d)!important;padding-top:var(--emcc-space-actions-top-d)!important}
  .emc-cart-host td.actions .coupon{gap:var(--emcc-space-coupon-gap-d)!important}
  .emc-cart-host .cart-collaterals{margin-top:0!important}
  .emc-cart-host .cart-collaterals .cart_totals{padding:var(--emcc-space-totals-padding-d)!important}
  .emc-cart-host .cart_totals h2{margin-bottom:var(--emcc-space-totals-title-bottom-d)!important}
  .emc-cart-host .cart_totals table{margin-bottom:var(--emcc-space-totals-table-bottom-d)!important}
  .emc-cart-host .wc-proceed-to-checkout{padding-top:var(--emcc-space-checkout-button-top-d)!important}
}
@media(min-width:981px) and (max-width:1100px){
  .emc-cart-host .woocommerce-cart-form{width:calc(100% - 340px - var(--emcc-space-columns-gap-d))!important}
}
@media(max-width:767px){
  .emc-cart-main{padding-top:var(--emcc-space-page-top-m)!important;padding-bottom:var(--emcc-space-page-bottom-m)!important}
  .emc-cart-progress{margin-bottom:var(--emcc-space-progress-bottom-m)!important}
  .emc-cart-eyebrow{margin-bottom:var(--emcc-space-eyebrow-bottom-m)!important}
  .emc-cart-intro h1{margin-bottom:var(--emcc-space-title-bottom-m)!important}
  .emc-cart-intro{margin-bottom:var(--emcc-space-intro-bottom-m)!important}
  .emc-cart-host table.shop_table.cart tr.cart_item{gap:var(--emcc-space-product-grid-gap-m)!important;padding:var(--emcc-space-product-card-padding-m)!important;margin-bottom:var(--emcc-space-product-card-gap-m)!important}
  .emc-cart-host td.actions{gap:var(--emcc-space-actions-gap-m)!important;padding-top:var(--emcc-space-actions-top-m)!important}
  .emc-cart-host td.actions .coupon{gap:var(--emcc-space-coupon-gap-m)!important}
  .emc-cart-host .cart-collaterals{margin-top:var(--emcc-space-columns-gap-m)!important}
  .emc-cart-host .cart-collaterals .cart_totals{padding:var(--emcc-space-totals-padding-m)!important}
  body.emc-modern-cart-page #emc-modern-cart .emc-cart-host .cart-collaterals .cart_totals h2{margin-bottom:var(--emcc-space-totals-title-bottom-m)!important}
  .emc-cart-host .cart_totals table.shop_table{margin-bottom:var(--emcc-space-totals-table-bottom-m)!important}
  .emc-cart-host .wc-proceed-to-checkout{padding-top:var(--emcc-space-checkout-button-top-m)!important}
}
