/* ACP cart: keep WooCommerce's totals, permissions and transactional controls. */
body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__main{width:min(620px,100vw)!important;max-width:100vw!important;padding:32px!important;background:var(--acp-bg,#f1f3f5)!important;box-shadow:-12px 0 48px #26353d26!important;display:flex!important;flex-direction:column!important;gap:0!important;overflow-y:auto!important}
body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__close-button{position:absolute!important;right:24px!important;top:26px!important;width:40px!important;height:40px!important;border:1px solid var(--acp-border)!important;border-radius:10px!important;background:#fff!important}
body.acp-site-design .acp-cart-heading{padding:0 52px 24px 0;border-bottom:1px solid var(--acp-border);margin-bottom:24px;flex-shrink:0}
body.acp-site-design .acp-cart-heading>span{font-size:11px;font-weight:600;letter-spacing:.12em;color:var(--acp-muted,#60717d)}
body.acp-site-design .acp-cart-heading h2{font-size:28px;line-height:1.3;margin:8px 0 0;color:var(--acp-text)}
body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__products{padding:0!important;max-height:none!important;flex:1 0 auto!important;overflow:visible!important}
body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product{display:grid!important;grid-template-columns:88px minmax(0,1fr) 28px!important;gap:12px 16px!important;background:#fff!important;padding:20px!important;margin:0 0 14px!important;border:1px solid var(--acp-border)!important;border-radius:12px!important;align-items:start}
body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-image{grid-column:1!important;grid-row:1 / span 2!important}
body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-image img{width:88px!important;height:88px!important;object-fit:contain!important;border-radius:8px}
body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-name{grid-column:2!important;grid-row:1!important;padding:0!important;font-size:15px!important;line-height:1.5!important}
body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-name a{color:var(--acp-text)!important;font-weight:600;text-decoration:none}
body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-price{grid-column:2!important;grid-row:2!important;padding:0!important;color:var(--acp-text)!important;font-size:15px!important}
body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove{grid-column:3!important;grid-row:1!important;position:static!important}
body.acp-site-design .acp-cart-product-info{display:block;font-size:12px;color:var(--acp-muted,#60717d);font-weight:400;margin-top:8px;line-height:1.6}
body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__subtotal{margin-top:10px!important;padding:22px 0!important;border-top:1px solid var(--acp-border)!important;display:flex;justify-content:space-between;font-size:18px!important;gap:16px}
body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons{display:flex!important;flex-direction:column-reverse!important;gap:10px!important;padding:0!important;flex-shrink:0}
body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons a{width:100%!important;min-height:48px!important}
body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__footer-buttons .elementor-button--view-cart{background:#fff!important;color:var(--acp-text)!important;border-color:var(--acp-border)!important}
body.acp-site-design .woocommerce-mini-cart__empty-message{flex:1;display:flex;align-items:center;justify-content:center;text-align:center;padding:24px 0!important}
body.acp-site-design .acp-cart-empty{max-width:390px;margin:auto}
body.acp-site-design .acp-cart-empty .acp-loading{border:0;background:transparent;box-shadow:none;padding:0;margin:0 auto 22px;min-height:0;color:var(--acp-text);--acp-loading-red:var(--acp-brand)}
body.acp-site-design .acp-cart-empty .acp-loading-robot{width:190px;height:160px}
body.acp-site-design .acp-cart-empty h3{font-size:23px;line-height:1.4;margin:0 0 12px}
body.acp-site-design .acp-cart-empty p{font-size:14px;line-height:1.6;margin-bottom:24px}
body.acp-site-design.woocommerce-cart .woocommerce-cart-form{background:#fff;border:1px solid var(--acp-border);border-radius:12px;padding:24px}
body.acp-site-design.woocommerce-cart .cart_totals{border-top:3px solid var(--acp-brand)!important}
@media(min-width:1100px){
 body.acp-site-design.woocommerce-cart .e-cart__container{grid-template-columns:minmax(0,1fr) 360px!important;gap:24px!important}
 body.acp-site-design.woocommerce-cart .woocommerce-cart-form tr.cart_item{grid-template-columns:24px 76px minmax(120px,1fr) 90px 110px;gap:12px}
 body.acp-site-design.woocommerce-cart .cart-collaterals{width:100%!important}
}
@media(max-width:600px){body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__main{padding:24px 18px!important}body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product{grid-template-columns:64px minmax(0,1fr) 24px!important;padding:14px!important;gap:10px!important}body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-image img{width:64px!important;height:64px!important}}

body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-image{display:block!important;width:88px!important;max-width:88px!important}
body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove a{position:relative!important;display:block;width:28px!important;height:28px!important;border:1px solid var(--acp-border)!important;border-radius:8px;color:var(--acp-text)!important;top:auto!important;right:auto!important}
body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove a:before,body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove a:after{position:absolute!important;left:12px!important;top:6px!important;width:1.5px!important;height:14px!important;background:currentColor!important;content:""!important}
body.acp-site-design .elementor-menu-cart__product-remove a:before{transform:rotate(45deg)!important}
body.acp-site-design .elementor-menu-cart__product-remove a:after{transform:rotate(-45deg)!important}
body.acp-site-design .elementor-menu-cart__product-remove .remove_from_cart_button{display:none!important}
body.acp-site-design .acp-cart-product-info .stock{margin:4px 0 0!important;font-size:12px!important;font-weight:400!important}
body.acp-site-design .elementor-menu-cart__product .wgm-info{font-size:12px;line-height:1.5}
@media(max-width:600px){body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-image{width:64px!important;max-width:64px!important}}
body.acp-site-design .elementor-menu-cart__product-remove:before,body.acp-site-design .elementor-menu-cart__product-remove:after{display:none!important;content:none!important}
body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__products{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;padding-right:4px!important}
body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__main{overflow:hidden!important}
body.acp-site-design .acp-cart-tax-note{font-size:12px;line-height:1.6;color:var(--acp-muted,#60717d);margin:-10px 0 18px;flex-shrink:0}

body.acp-site-design .elementor-widget-woocommerce-cart .e-cart-section .woocommerce-cart-form{padding:0;border:0;box-shadow:none}
@media(min-width:1100px){
 body.acp-site-design.woocommerce-cart .woocommerce-cart-form.woocommerce-cart-form tr.cart_item{grid-template-columns:24px 76px minmax(120px,1fr) 132px 132px!important;gap:16px!important}
 body.acp-site-design.woocommerce-cart .woocommerce-cart-form.woocommerce-cart-form tr.cart_item>.product-remove{grid-column:1!important;grid-row:1!important}
 body.acp-site-design.woocommerce-cart .woocommerce-cart-form.woocommerce-cart-form tr.cart_item>.product-thumbnail{grid-column:2!important;grid-row:1!important}
 body.acp-site-design.woocommerce-cart .woocommerce-cart-form.woocommerce-cart-form tr.cart_item>.product-name{grid-column:3!important;grid-row:1!important;text-align:left!important}
 body.acp-site-design.woocommerce-cart .woocommerce-cart-form.woocommerce-cart-form tr.cart_item>.product-quantity{grid-column:4!important;grid-row:1!important}
 body.acp-site-design.woocommerce-cart .woocommerce-cart-form.woocommerce-cart-form tr.cart_item>.product-subtotal{grid-column:5!important;grid-row:1!important}
}
body.acp-site-design.woocommerce-cart .woocommerce-cart-form tr.cart_item>.product-name .acp-cart-product-info,
body.acp-site-design.woocommerce-cart .woocommerce-cart-form tr.cart_item>.product-name .stock{text-align:left!important;float:none!important;width:auto!important;position:static!important}
body.acp-site-design.woocommerce-cart .woocommerce-cart-form tr.cart_item>.product-subtotal{min-width:0!important;text-align:right!important;white-space:normal!important}
body.acp-site-design.woocommerce-cart .woocommerce-cart-form tr.cart_item>.product-subtotal .wgm-info{display:block;line-height:1.5;font-size:12px}
body.acp-site-design.woocommerce-cart .woocommerce-cart-form tr.cart_item>.product-quantity{min-width:0!important;max-width:100%!important}
body.acp-site-design .elementor-menu-cart__product-price .quantity{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;width:auto!important;max-width:none!important;min-width:0!important;float:none!important;height:auto!important;margin:0!important;padding:0!important}
body.acp-site-design .elementor-menu-cart__product-price .quantity .product-quantity{display:inline!important;flex:none!important;width:auto!important;min-width:0!important;padding:0!important;white-space:nowrap!important}
body.acp-site-design .elementor-menu-cart__subtotal:before,body.acp-site-design .elementor-menu-cart__subtotal:after{content:none!important;display:none!important}
body.acp-site-design .elementor-menu-cart__product-remove a.elementor_remove_from_cart_button{display:flex!important;align-items:center;justify-content:center;font-size:22px!important;line-height:1!important;text-decoration:none!important}
body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove a:before,body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove a:after{display:none!important;content:none!important}

body.acp-site-design .elementor-menu-cart__product-remove a.elementor_remove_from_cart_button{opacity:1!important}
body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__subtotal{border-bottom:0!important}
body.acp-site-design .acp-cart-tax-note{margin:0 0 18px!important}

/* Keep the existing theme's thresholds and progress, but remove its tall marker layout. */
body.acp-site-design:is(.woocommerce-cart,.woocommerce-checkout) .free-shipping-bar.mtn-benefit-bar{padding:18px 24px!important;margin:0!important;min-height:0!important}
body.acp-site-design:is(.woocommerce-cart,.woocommerce-checkout) .mtn-benefit-bar .free-shipping-message{margin:0 0 10px!important;line-height:1.5!important}
body.acp-site-design:is(.woocommerce-cart,.woocommerce-checkout) .mtn-benefit-progress-container{height:6px!important;margin:0 0 38px!important;position:relative!important}
body.acp-site-design:is(.woocommerce-cart,.woocommerce-checkout) .mtn-benefit-marker{top:15px!important;height:auto!important;transform:translateX(-100%)!important;width:max-content!important;max-width:180px!important;line-height:1.4!important}
body.acp-site-design:is(.woocommerce-cart,.woocommerce-checkout) .mtn-benefit-marker:before,body.acp-site-design:is(.woocommerce-cart,.woocommerce-checkout) .mtn-benefit-marker:after{display:none!important}
body.acp-site-design:is(.woocommerce-cart,.woocommerce-checkout) .mtn-benefit-marker-inner{position:static!important;display:flex!important;align-items:center!important;gap:8px!important;padding:0!important;border:0!important;background:transparent!important;transform:none!important;width:auto!important;height:auto!important}
body.acp-site-design:is(.woocommerce-cart,.woocommerce-checkout) .mtn-benefit-marker-amount{position:static!important;white-space:nowrap!important;font-size:12px!important;transform:none!important}
body.acp-site-design:is(.woocommerce-cart,.woocommerce-checkout) .progress-icon-img{position:static!important;width:20px!important;height:20px!important;transform:none!important;border:0!important;padding:0!important}
body.acp-site-design .acp-cart-delivery-note{font-size:13px;line-height:1.6;color:var(--acp-muted,#60717d)}
body.acp-site-design .acp-cart-delivery-note strong{display:block;color:var(--acp-text);font-size:14px;margin-bottom:4px}
body.acp-site-design .acp-cart-delivery-note p{margin:0 0 6px!important;font-size:13px!important;line-height:1.6!important}
body.acp-site-design .acp-cart-delivery-note a{font-size:12px}
body.acp-site-design:is(.woocommerce-cart,.woocommerce-checkout) .free-shipping-bar-container.mtn-benefit-bar-container{padding:0!important;min-height:0!important}
body.acp-site-design .acp-cart-delivery-note a{color:var(--acp-brand,#ff003e)!important;text-decoration:underline!important}

/* Let long captions grow rather than clipping inside fixed theme button heights. */
body.acp-site-design .elementor-menu-cart__footer-buttons .elementor-button,
body.acp-site-design .wc-proceed-to-checkout .checkout-button{height:auto!important;min-height:48px!important;white-space:normal!important;overflow:visible!important;text-align:center;flex-shrink:0!important}
body.acp-site-design .elementor-menu-cart__footer-buttons .elementor-button-text{height:auto!important;line-height:1.4!important;white-space:normal!important}
body.acp-site-design.woocommerce-checkout #order_review .product-name,
body.acp-site-design.woocommerce-checkout .woocommerce-checkout-review-order-table td{font-family:'ACP Site Inter',sans-serif!important}

/* A flex child's automatic minimum height pushed checkout below short laptop viewports. */
body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .widget_shopping_cart_content{display:flex!important;flex-direction:column!important;flex:1 1 0!important;min-height:0!important;overflow:hidden!important}
body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__main{height:100vh!important;height:100dvh!important;max-height:100vh!important;max-height:100dvh!important;padding-bottom:max(24px,env(safe-area-inset-bottom))!important;box-sizing:border-box!important}
body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__subtotal{flex-shrink:0!important}
body.acp-site-design .elementor-menu-cart__product-name,body.acp-site-design .elementor-menu-cart__product-name .variation,body.acp-site-design .elementor-menu-cart__product-name .acp-cart-product-info{text-align:left!important}
@media(max-width:600px){
 body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-name{font-size:14px!important}
 body.acp-site-design .acp-cart-heading{padding-bottom:16px;margin-bottom:16px}
 body.acp-site-design .acp-cart-heading h2{font-size:24px}
 body.acp-site-design .elementor .elementor-element.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__subtotal{padding:14px 0!important;font-size:16px!important}
}

/* On narrow carts the 132px quantity control cannot share a 72px grid column with tax text. */
@media(max-width:600px){
 body.acp-site-design.woocommerce-cart .woocommerce-cart-form.woocommerce-cart-form tr.cart_item>.product-name{text-align:left!important}
 body.acp-site-design.woocommerce-cart .woocommerce-cart-form.woocommerce-cart-form tr.cart_item>.product-quantity{grid-column:1 / -1!important;grid-row:2!important;justify-self:start!important;width:132px!important}
 body.acp-site-design.woocommerce-cart .woocommerce-cart-form.woocommerce-cart-form tr.cart_item>.product-subtotal{grid-column:1 / -1!important;grid-row:3!important;width:100%!important;justify-self:stretch!important}
 body.acp-site-design.woocommerce-cart .woocommerce-cart-form tr.cart_item>.product-name .variation,body.acp-site-design.woocommerce-cart .woocommerce-cart-form tr.cart_item>.product-name .variation dd{font-weight:400!important;text-align:left!important}
}

/* Theme masks and decorative backgrounds must not sit behind the remove cross. */
body.acp-site-design :is(.woocommerce-cart-form .product-remove a.remove,.elementor-menu-cart__product-remove a.elementor_remove_from_cart_button){background:transparent!important;background-image:none!important;mask:none!important;-webkit-mask:none!important;box-shadow:none!important;filter:none!important;color:var(--acp-text,#3d4a52)!important;text-shadow:none!important;border:1px solid var(--acp-border,#dce2e5)!important;border-radius:8px!important}
body.acp-site-design .woocommerce-cart-form .product-remove a.remove::before,body.acp-site-design .woocommerce-cart-form .product-remove a.remove::after{content:none!important;display:none!important}
body.acp-site-design :is(.woocommerce-cart-form .product-remove a.remove,.elementor-menu-cart__product-remove a.elementor_remove_from_cart_button):hover{background:#eef1f3!important;color:var(--acp-brand,#ff003e)!important}
/* A consistent reading size within the order review, with quieter secondary notes. */
body.acp-site-design.woocommerce-checkout :is(#order_review,.e-checkout__order_review){font-family:'ACP Site Inter',sans-serif;font-size:14px;line-height:1.55}
body.acp-site-design.woocommerce-checkout .woocommerce-checkout-review-order-table :is(th,td,.product-name,.product-quantity,.amount){font-family:'ACP Site Inter',sans-serif!important;font-size:14px!important;line-height:1.55!important}
body.acp-site-design.woocommerce-checkout .woocommerce-checkout-review-order-table :is(.variation,.variation p,.wgm-info,.wc-gzd-additional-info,small){font-size:12px!important;line-height:1.5!important;font-weight:400!important}
body.acp-site-design.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total :is(th,td,.amount){font-size:18px!important;font-weight:600!important}

body.acp-site-design .acp-cart-availability{display:block!important;margin:6px 0 0!important;font-size:12px!important;font-weight:400!important;line-height:1.55!important;color:var(--acp-muted,#60717d);text-align:left!important}

/* CommerceKit wraps checkout titles in a separately sized 20px element. */
body.acp-site-design.woocommerce-checkout .woocommerce-checkout-review-order-table .cg-checkout-table-product-name{font-family:'ACP Site Inter',sans-serif!important;font-size:14px!important;line-height:1.55!important;font-weight:500!important}
/* Woo/German Market makes the phone row wide; keep its paired email in normal flow too. */
body.acp-site-design.woocommerce-checkout :is(#shipping_phone_field,#shipping_email_field){float:none!important;clear:both!important;width:100%!important;max-width:100%!important;box-sizing:border-box}
body.acp-site-design.woocommerce-checkout :is(#shipping_phone_field,#shipping_email_field)>label{text-align:left!important}

/* A calm empty-cart card, using the same Robi as the rest of the shop. */
body.acp-site-design.woocommerce-cart .cart-empty.woocommerce-info{display:flex;flex-direction:column;align-items:center;gap:12px;background:var(--acp-surface,#fff)!important;color:var(--acp-text)!important;border:1px solid var(--acp-border)!important;border-radius:16px;padding:32px 24px!important;text-align:center;font-family:'ACP Site Apex',sans-serif;font-size:clamp(24px,3vw,32px);line-height:1.3;margin-bottom:20px!important}
body.acp-site-design.woocommerce-cart .cart-empty.woocommerce-info::before{display:none!important;content:none!important}
body.acp-site-design.woocommerce-cart .cart-empty .acp-loading{margin:0;padding:0;min-height:0;border:0;background:transparent;box-shadow:none;color:var(--acp-text);--acp-loading-red:var(--acp-brand)}
body.acp-site-design.woocommerce-cart .cart-empty .acp-loading-robot{width:230px;height:158px;max-width:100%}
body.acp-site-design.woocommerce-cart .cart-empty .acp-cart-empty-help{font-family:'ACP Site Inter',sans-serif;font-size:14px;font-weight:400;color:var(--acp-muted);line-height:1.5}
body.acp-site-design .acp-loading--empty-cart .acp-loading-smile{display:none}
body.acp-site-design .acp-loading--empty-cart .acp-loading-head{transform:rotate(-7deg);transform-origin:72px 58px}
body.acp-site-design .acp-loading--empty-cart .acp-loading-float{animation:none}
@media(max-width:600px){body.acp-site-design.woocommerce-cart .cart-empty.woocommerce-info{padding:24px 16px!important}}

body.acp-site-design .woocommerce-cart-form .quantity.buttons_added{display:flex!important;align-items:center;position:relative!important;width:132px!important;height:46px!important;border:1px solid #89959d!important;border-radius:8px!important;background:#fff!important;overflow:visible}
body.acp-site-design .woocommerce-cart-form .quantity.buttons_added input.qty{position:relative!important;width:44px!important;min-width:0!important;height:44px!important;min-height:44px!important;margin:0 44px!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;text-align:center!important;line-height:44px!important}
body.acp-site-design :is(.woocommerce-cart-form .product-remove a.remove,.elementor-menu-cart__product-remove a.elementor_remove_from_cart_button){display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;padding:0!important;font-family:Arial,sans-serif!important;font-size:20px!important;text-indent:0!important}
