/* 1.2.3: scoped compatibility with Elementor cart and Woodmart checkout. */
:root{--ocx-placeholder:#6b7280}
body:is(.woocommerce-cart,.woocommerce-checkout) :is(input,textarea)::placeholder{color:var(--ocx-placeholder)!important;opacity:1!important}
body.woocommerce-checkout form.checkout :is(.select2-selection__placeholder,select.ocx-select-empty),body.woocommerce-checkout form.checkout .select2.ocx-select-empty .select2-selection__rendered{color:var(--ocx-placeholder)!important;opacity:1!important}
body.woocommerce-checkout form.checkout select option{color:var(--ocx-ink)}
body.woocommerce-checkout form.checkout textarea#order_comments{height:144px!important;min-height:144px!important;max-height:none!important;padding:12px 14px!important;line-height:1.9!important;resize:vertical;box-sizing:border-box}
/* The accessible native select must stay clipped behind the Select2 widget. */
body.woocommerce-checkout form.checkout select.select2-hidden-accessible{width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important}
body.woocommerce-checkout form.checkout .select2-selection--single{display:flex!important;align-items:center;min-height:48px!important;height:auto!important;padding:8px 12px!important}
body.woocommerce-checkout form.checkout .select2-selection__rendered{min-width:0;max-width:100%;padding-inline-start:0!important;padding-inline-end:24px!important;line-height:1.8!important;text-align:right;white-space:normal!important;overflow-wrap:anywhere}
body.woocommerce-checkout form.checkout .select2-selection__arrow{top:50%!important;transform:translateY(-50%)}
body.woocommerce-checkout .rb-checkout-coupon{width:100%;min-width:0}
body.woocommerce-checkout .rb-checkout-coupon .rb-checkout-coupon__fields{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;gap:8px!important;min-width:0}
body.woocommerce-checkout .rb-checkout-coupon .rb-checkout-coupon__input{width:100%!important;min-width:0!important;height:48px!important;min-height:48px!important;max-height:48px!important;padding:10px 12px!important;border:1px solid var(--ocx-line)!important;border-radius:10px!important;font-size:16px!important;color:var(--ocx-ink)!important;background:#fff!important;box-sizing:border-box}
body.woocommerce-checkout .rb-checkout-coupon .rb-checkout-coupon__button{width:auto!important;height:auto!important;min-height:48px!important;margin:0!important;padding:10px 14px!important;border:0!important;border-radius:10px!important;background:var(--ocx-ink)!important;color:#fff!important;line-height:1.6!important;white-space:normal!important}
body:is(.woocommerce-cart,.woocommerce-checkout) :is(.product-subtotal,.cart_totals,#order_review) .amount{color:var(--ocx-ink)!important;font-variant-numeric:tabular-nums;letter-spacing:0}
body:is(.woocommerce-cart,.woocommerce-checkout) :is(.product-subtotal,.cart_totals,#order_review) .amount bdi{display:inline-block;direction:rtl;unicode-bidi:isolate;text-align:inherit}
body.woocommerce-cart .elementor-widget-woocommerce-cart .cart_totals table.shop_table :is(th,td){float:none!important;vertical-align:middle!important}
body.woocommerce-cart .elementor-widget-woocommerce-cart .cart_totals table.shop_table th{display:table-cell!important;text-align:start!important}
body.woocommerce-cart .elementor-widget-woocommerce-cart .cart_totals table.shop_table td{text-align:end!important}
body.woocommerce-cart .elementor-widget-woocommerce-cart .cart_totals table.shop_table td::before{display:none!important;content:none!important}
body.woocommerce-cart .woocommerce-cart-form td.product-name> a,body.woocommerce-cart .woocommerce-cart-form .variation,body .cart-widget-side .wd-entities-title,body.woocommerce-checkout .cart-product-label{direction:rtl!important;text-align:right!important;unicode-bidi:isolate;word-break:normal!important;overflow-wrap:anywhere}
body .ocx-latin{direction:ltr!important;unicode-bidi:isolate;word-break:normal;overflow-wrap:anywhere}
body .ocx-stepper{height:46px!important}
body .ocx-stepper :is(.minus,.plus){flex-basis:44px!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important}
body .ocx-stepper input.qty{height:44px!important;min-height:44px!important}
body.woocommerce-cart .woocommerce-cart-form .product-subtotal .woocommerce-Price-currencySymbol{display:inline!important;font-size:11px!important;font-weight:400!important}
body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item .product-subtotal .woocommerce-Price-currencySymbol{color:var(--ocx-ink)!important}
@media(max-width:1024px){
 body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item{grid-template-columns:76px 42px minmax(0,1fr)!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.wd-cart-action-row{padding:0!important;height:auto!important;min-height:0!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.wd-cart-action-row::before,body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions::before{display:none!important;content:none!important}
 body.woocommerce-cart .elementor-widget-woocommerce-cart .cart_totals table.shop_table tr{display:grid!important;grid-template-columns:minmax(0,1fr) max-content!important;align-items:baseline!important;gap:8px 12px!important;min-width:0;direction:rtl}
 body.woocommerce-cart .elementor-widget-woocommerce-cart .cart_totals table.shop_table tr>:is(th,td){display:block!important;width:auto!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important}
 body.woocommerce-cart .elementor-widget-woocommerce-cart .cart_totals table.shop_table tr>th{grid-column:1;text-align:right!important}
 body.woocommerce-cart .elementor-widget-woocommerce-cart .cart_totals table.shop_table tr>td{grid-column:2;text-align:left!important}
 body.woocommerce-cart .elementor-widget-woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals{grid-template-columns:minmax(0,1fr)!important}
 body.woocommerce-cart .elementor-widget-woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals>td{grid-column:1;text-align:right!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item>.product-subtotal{display:flex!important;align-items:flex-end!important;text-align:left!important;gap:2px!important;font-size:13px!important;line-height:1.8}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item>.product-subtotal::before{align-self:flex-end}
 body.woocommerce-cart .woocommerce-cart-form .product-name .variation{margin-top:6px!important;font-size:11px!important;line-height:1.8;text-align:right}
 body.woocommerce-cart .elementor-widget-woocommerce-cart .woocommerce-cart-form .e-shop-table{padding-bottom:12px!important}
 body.woocommerce-checkout .checkout-order-review{padding:14px!important;border-radius:14px;min-width:0}
 body.woocommerce-checkout #order_review .wd-table-wrapper{width:100%!important;min-width:0!important;margin:0!important;padding:0!important;overflow:visible!important;box-sizing:border-box}
 body.woocommerce-checkout .woocommerce-checkout-review-order-table:has(.wd-checkout-prod)>tfoot>tr{display:grid!important;grid-template-columns:minmax(0,1fr) max-content!important;align-items:baseline;gap:8px 12px}
 body.woocommerce-checkout .woocommerce-checkout-review-order-table:has(.wd-checkout-prod)>tfoot>tr>th{text-align:right!important}
 body.woocommerce-checkout .woocommerce-checkout-review-order-table:has(.wd-checkout-prod)>tfoot>tr>td{text-align:left!important}
 body.woocommerce-checkout .woocommerce-checkout-review-order-table:has(.wd-checkout-prod)>tfoot>tr:is(.rb-checkout-coupon-row,.woocommerce-shipping-totals){grid-template-columns:minmax(0,1fr)!important}
 body.woocommerce-checkout .woocommerce-checkout-review-order-table .wd-checkout-prod{grid-template-columns:60px minmax(0,1fr)!important;gap:10px!important}
 body.woocommerce-checkout .wd-checkout-prod .wd-checkout-prod-total{text-align:right!important;color:var(--ocx-ink)!important}
 body:is(.woocommerce-cart,.woocommerce-checkout).ocx-form-editing :is(.wd-toolbar,.ocx-bar){display:none!important}
}
@media(max-width:360px){
 body.woocommerce-cart .woocommerce-cart-form .product-subtotal .woocommerce-Price-currencySymbol{display:block!important}
 body.woocommerce-checkout .rb-checkout-coupon .rb-checkout-coupon__fields{grid-template-columns:minmax(0,1fr)!important}
 body.woocommerce-checkout .rb-checkout-coupon .rb-checkout-coupon__button{width:100%!important}
 body.woocommerce-cart .elementor-widget-woocommerce-cart .cart_totals .order-total :is(th,td){font-size:15px!important}
}
