/* UpMed cart & checkout design. Loaded only when the setting is on (or in preview). Scoped to body.uph-cc. Styling only. */
body.uph-cc{--b:#0274be;--bd:#01548c;--bt:#e8f3fb;--ink:#17212c;--mut:#5d6874;--line:#dde4eb;--mist:#f3f6f9;--ok:#1b7f47;--okt:#e8f6ee;--sale:#b4232c;
  --body:"Instrument Sans","Helvetica Neue",Helvetica,Arial,sans-serif;--disp:"Literata",Georgia,"Times New Roman",serif}
.uph-cc #content.site-content{background:#fff}
.uph-cc .entry-content .woocommerce{font-family:var(--body);color:var(--ink);font-size:15px}
.uph-cc .entry-content .woocommerce a{text-decoration:none}
.uph-cc .ast-article-single{padding-top:8px!important;background:#fff!important}
.uph-cc #primary{margin-top:8px!important}
.uph-cc-step2 .woocommerce-shipping-fields:not(:has(#ship-to-different-address-checkbox:checked)){padding-bottom:0!important}

/* progress + heading */
.uph-cc-head{grid-column:1/-1}
.uph-steps{display:flex;justify-content:center;list-style:none;margin:6px 0 4px!important;padding:12px 0 0!important}
.uph-steps li{display:flex;align-items:center;font-size:14px;font-weight:600;color:var(--mut);margin:0!important}
.uph-steps li a{display:flex;align-items:center;color:inherit}
.uph-steps li+li::before{content:"";width:64px;height:2px;background:var(--line);margin:0 12px}
.uph-steps i{font-style:normal;width:28px;height:28px;border-radius:50%;border:2px solid var(--line);display:grid;place-items:center;font-size:13px;margin-right:8px;background:#fff}
.uph-steps .on{color:var(--ink)}
.uph-steps .on i{background:var(--b);border-color:var(--b);color:#fff}
.uph-steps .done{color:var(--ok)}
.uph-steps .done i{background:var(--ok);border-color:var(--ok);color:#fff}
.uph-steps .on::before,.uph-steps .done::before{background:var(--b)}
.uph-cc .uph-cc-title{font-family:var(--disp)!important;font-weight:700!important;font-size:clamp(26px,2.6vw,34px)!important;line-height:1.15;margin:18px 0 4px!important;color:var(--ink)}

/* shared bits */
.uph-cc .woocommerce .button,.uph-cc .woocommerce button.button{border-radius:9px!important;font-family:var(--body);font-weight:700}
.uph-cc .woocommerce input.input-text,.uph-cc .woocommerce select:not(.select2-hidden-accessible),.uph-cc .woocommerce textarea{border:1px solid #c5ccd3!important;border-radius:9px!important;padding:11px 12px!important;background:#fff!important;font-size:15px;box-shadow:none}
.uph-cc .woocommerce input.input-text:focus,.uph-cc .woocommerce select:focus,.uph-cc .woocommerce textarea:focus{border-color:var(--b)!important;outline:2px solid rgba(2,116,190,.18);outline-offset:0}
.uph-cc .woocommerce .select2-container .select2-selection--single{height:auto!important;min-height:46px;border:1px solid #c5ccd3!important;border-radius:9px!important;padding:11px 36px 11px 12px!important;display:flex;align-items:center}
.uph-cc .woocommerce .select2-container .select2-selection__arrow{top:8px!important}
.uph-cc .woocommerce-message,.uph-cc .woocommerce-info,.uph-cc .woocommerce-error{border-radius:10px;font-size:14px}
.uph-cc-mini{display:grid;gap:8px;font-size:12.5px;color:var(--mut);margin-top:12px}
.uph-cc-mini div{display:flex;gap:8px;align-items:center}
.uph-cc-mini svg{width:16px;height:16px;fill:currentColor;color:var(--b);flex:none}

/* ---------- CART ---------- */
.uph-cc-step1 .entry-content .woocommerce{display:grid;grid-template-columns:minmax(0,1fr) 380px;column-gap:28px;align-items:start}
.uph-cc-step1 .entry-content .woocommerce>*{grid-column:1/-1;min-width:0}
.uph-cc-step1 .entry-content .woocommerce>.woocommerce-cart-form{grid-column:1;margin-top:16px}
.uph-cc-step1 .entry-content .woocommerce>.cart-collaterals{grid-column:2;margin-top:16px;width:auto!important;position:sticky;top:20px}
.uph-cc .woocommerce-cart-form{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}
.uph-cc table.shop_table.cart{border:0!important;margin:0!important;display:block;width:100%;border-radius:0!important}
.uph-cc table.shop_table.cart thead{display:none}
.uph-cc table.shop_table.cart tbody{display:block}
.uph-cc table.shop_table.cart tr.cart_item{display:grid!important;grid-template-columns:76px minmax(0,1fr) auto auto 32px;grid-template-areas:"img name qty sub rm" "img price qty sub rm";column-gap:16px;align-items:center;padding:16px 18px;border-top:1px solid var(--line);background:#fff!important}
.uph-cc table.shop_table.cart tr.cart_item:first-child{border-top:0}
.uph-cc table.shop_table.cart tr.cart_item td{display:block!important;border:0!important;padding:0!important;background:none!important;text-align:left!important;width:auto!important}
.uph-cc table.shop_table.cart tr.cart_item td::before{display:none!important}
.uph-cc table.shop_table.cart td.product-thumbnail{grid-area:img;display:block!important}
.uph-cc table.shop_table.cart td.product-thumbnail img{width:76px!important;height:76px!important;max-width:none;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:#fff}
.uph-cc table.shop_table.cart td.product-name{grid-area:name;align-self:end;font-weight:600;font-size:15px;line-height:1.35}
.uph-cc table.shop_table.cart td.product-name a{color:var(--ink)}
.uph-cc table.shop_table.cart td.product-name a:hover{color:var(--b)}
.uph-cc table.shop_table.cart td.product-name dl.variation{font-size:13px;color:var(--mut);margin:2px 0 0}
.uph-cc table.shop_table.cart td.product-price{grid-area:price;align-self:start;font-size:13px;color:var(--mut);margin-top:2px}
.uph-cc table.shop_table.cart td.product-price::after{content:" each"}
.uph-cc table.shop_table.cart td.product-quantity{grid-area:qty}
.uph-cc table.shop_table.cart td.product-subtotal{grid-area:sub;font-weight:700;font-variant-numeric:tabular-nums;min-width:90px;text-align:right!important}
.uph-cc table.shop_table.cart td.product-remove{grid-area:rm}
.uph-cc table.shop_table.cart td.product-remove a.remove{width:30px!important;height:30px!important;border-radius:50%!important;border:1px solid var(--line)!important;display:grid!important;place-items:center;color:var(--mut)!important;background:#fff!important;font-size:18px;line-height:1}
.uph-cc table.shop_table.cart td.product-remove a.remove:hover{border-color:var(--sale)!important;color:var(--sale)!important}
.uph-cc table.shop_table.cart td.product-remove a.remove svg{width:12px;height:12px}
.uph-cc .woocommerce .quantity{display:inline-flex!important;border:1.5px solid var(--line);border-radius:10px;overflow:hidden;margin:0!important;float:none!important}
.uph-cc .woocommerce .quantity .qty{border:0!important;border-radius:0!important;width:46px!important;text-align:center;font-weight:700;padding:8px 2px!important;outline:0}
.uph-cc .woocommerce .quantity .ast-qty-placeholder{display:grid!important;place-items:center;width:34px;background:var(--mist);color:var(--ink)!important;font-size:17px;text-decoration:none!important;border-radius:0!important;border:0!important}
.uph-cc table.shop_table.cart tr:not(.cart_item){display:block;background:var(--mist)!important;border-top:1px solid var(--line)}
.uph-cc table.shop_table.cart td.actions{display:flex!important;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center;padding:14px 18px!important;border:0!important;background:none!important;text-align:left!important}
.uph-cc table.shop_table.cart td.actions::before{display:none!important}
.uph-cc table.shop_table.cart td.actions .coupon{display:flex!important;gap:8px;flex-wrap:nowrap;float:none!important;margin:0!important;padding:0!important;border:0!important}
.uph-cc table.shop_table.cart td.actions .coupon .input-text{width:200px!important;float:none!important;margin:0!important;padding:9px 12px!important}
.uph-cc table.shop_table.cart td.actions .button{float:none!important;margin:0!important;padding:10px 16px!important;font-size:14px!important;background:#fff!important;color:var(--b)!important;border:1.5px solid var(--b)!important;width:auto!important}
.uph-cc table.shop_table.cart td.actions .button[name="update_cart"]{color:var(--ink)!important;border-color:var(--line)!important}
.uph-cc table.shop_table.cart td.actions .button[name="update_cart"]:disabled{opacity:.55}

/* totals (cart summary) */
.uph-cc .cart-collaterals .cross-sells{display:none}
.uph-cc .cart-collaterals .cart_totals{width:100%!important;float:none!important;border:1px solid var(--line);border-radius:14px;background:#fff;padding:0!important;overflow:hidden}
.uph-cc .cart_totals>h2{font-family:var(--body)!important;font-size:0!important;margin:0!important;padding:16px 18px;border-bottom:1px solid var(--line);background:#fff!important}
.uph-cc .cart_totals>h2::after{content:"Order summary";font-size:16px;font-weight:700;color:var(--ink)}
.uph-cc .cart_totals table.shop_table{border:0!important;margin:0!important;border-radius:0!important;width:100%}
.uph-cc .cart_totals table.shop_table,.uph-cc .cart_totals table.shop_table tbody{display:block}
.uph-cc .cart_totals table.shop_table tr{display:flex!important;justify-content:space-between;gap:14px;padding:11px 18px;border-top:1px solid var(--line);background:none!important}
.uph-cc .cart_totals table.shop_table tr:first-child{border-top:0}
.uph-cc .cart_totals table.shop_table th,.uph-cc .cart_totals table.shop_table td{display:block!important;border:0!important;padding:0!important;background:none!important;font-size:14.5px;width:auto!important}
.uph-cc .cart_totals table.shop_table th{font-weight:400;color:var(--ink);flex:none}
.uph-cc .cart_totals table.shop_table td{text-align:right!important;font-variant-numeric:tabular-nums}
.uph-cc .cart_totals table.shop_table td::before{display:none!important}
.uph-cc .cart_totals tr.order-total{border-top:2px solid var(--ink)!important;padding:13px 18px!important}
.uph-cc .cart_totals tr.order-total th,.uph-cc .cart_totals tr.order-total td{font-size:19px!important;font-weight:700!important}
.uph-cc .woocommerce-shipping-methods{margin:0!important;padding:0!important;list-style:none}
.uph-cc .woocommerce-shipping-methods li{margin:0 0 4px!important;text-align:right}
.uph-cc .woocommerce-shipping-methods li label{font-weight:600}
.uph-cc .woocommerce-shipping-destination,.uph-cc .shipping-calculator-button{font-size:12.5px;color:var(--mut);margin:2px 0 0!important}
.uph-cc .shipping-calculator-button{color:var(--b)!important;display:inline-block}
.uph-cc .shipping-calculator-form{text-align:left;margin-top:8px}
.uph-cc .wc-proceed-to-checkout{padding:4px 18px 18px!important}
.uph-cc .wc-proceed-to-checkout .checkout-button{display:block!important;width:100%;text-align:center;background:var(--b)!important;color:#fff!important;font-size:16px!important;padding:15px!important;margin:0!important;border-radius:10px!important}
.uph-cc .wc-proceed-to-checkout .checkout-button:hover{background:var(--bd)!important}

/* ---------- CHECKOUT ---------- */
.uph-cc-step2 .woocommerce-form-login-toggle .woocommerce-info,.uph-cc-step2 .woocommerce-form-coupon-toggle .woocommerce-info{background:var(--mist)!important;border:1px solid var(--line)!important;border-radius:10px;color:var(--mut);padding:11px 16px!important;margin:12px 0 0!important;font-size:14px}
.uph-cc-step2 .woocommerce-form-login-toggle .woocommerce-info::before,.uph-cc-step2 .woocommerce-form-coupon-toggle .woocommerce-info::before{display:none}
.uph-cc-step2 .woocommerce-form-login-toggle a,.uph-cc-step2 .woocommerce-form-coupon-toggle a{color:var(--b);font-weight:600}
.uph-cc-step2 form.checkout_coupon,.uph-cc-step2 form.woocommerce-form-login{border:1px solid var(--line)!important;border-radius:12px!important;margin:10px 0 0!important}
.uph-cc-step2 form.checkout{display:grid!important;grid-template-columns:minmax(0,1fr) 400px;column-gap:28px;align-items:start;margin-top:18px}
.uph-cc-step2 form.checkout>*{grid-column:1/-1;min-width:0}
.uph-cc-step2 form.checkout>wc-order-attribution-inputs{display:none}
.uph-cc-step2 form.checkout>#customer_details{grid-column:1;grid-row:2;width:auto!important;float:none!important;margin:0!important;padding:0!important;display:grid;gap:16px}
.uph-cc-step2 form.checkout>#order_review_heading{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden;clip:rect(0 0 0 0);margin:0!important;padding:0!important;border:0!important}
.uph-cc-step2 form.checkout>#order_review{grid-column:2;grid-row:2;width:auto!important;float:none!important;margin:0!important;padding:0!important;border:1px solid var(--line);border-radius:14px;background:#fff}
.uph-cc-step2 form.checkout>#order_review::before{content:"Your order";display:block;padding:14px 18px;border-bottom:1px solid var(--line);font-size:16px;font-weight:700;color:var(--ink)}
.uph-cc-step2 form.checkout>.woocommerce-NoticeGroup{grid-row:1;margin-bottom:14px}
.uph-cc-step2 #customer_details::before,.uph-cc-step2 #customer_details::after{display:none!important}
.uph-cc-step2 #customer_details>.col-1,.uph-cc-step2 #customer_details>.col-2{width:auto!important;float:none!important;margin:0!important;padding:0!important;display:grid;gap:16px;min-width:0}
.uph-cc-step2 #customer_details>.col-2:not(:has(.form-row,h3,p,div)){display:none}
.uph-cc-step2 #customer_details wc-order-attribution-inputs{display:none}

/* cards */
.uph-cc-step2 .woocommerce-billing-fields,.uph-cc-step2 .woocommerce-shipping-fields,.uph-cc-step2 .woocommerce-additional-fields,.uph-cc-step2 .woocommerce-account-fields{border:1px solid var(--line);border-radius:14px;background:#fff;padding:0 18px 16px!important;margin:0!important}
.uph-cc-step2 .woocommerce-account-fields:not(:has(input)){display:none}
.uph-cc-step2 .woocommerce-account-fields{padding:14px 18px!important}
.uph-cc-step2 .woocommerce-account-fields p.form-row{margin:0!important;padding:0!important}
.uph-cc-step2 #customer_details h3{font-family:var(--body)!important;font-size:16px!important;font-weight:700!important;margin:0 -18px 14px!important;padding:14px 18px!important;border-bottom:1px solid var(--line);color:var(--ink)}
.uph-cc-step2 #customer_details .woocommerce-billing-fields>h3{font-size:0!important}
.uph-cc-step2 #customer_details .woocommerce-billing-fields>h3::after{content:"Contact & delivery details";font-size:16px;display:block;line-height:1.4}
.uph-cc-step2 #ship-to-different-address{border-bottom:0!important;margin-bottom:0!important}
.uph-cc-step2 .woocommerce-shipping-fields:has(#ship-to-different-address-checkbox:checked) #ship-to-different-address{border-bottom:1px solid var(--line)!important;margin-bottom:14px!important}
.uph-cc-step2 .woocommerce-shipping-fields:not(:has(#ship-to-different-address)){padding-top:14px!important}
.uph-cc-step2 #customer_details h3 label{display:flex;gap:8px;align-items:center;font-size:15px;font-weight:700;margin:0;cursor:pointer}
.uph-cc-step2 #customer_details input[type=checkbox]{width:17px;height:17px;accent-color:var(--b);margin:0}
.uph-cc-step2 .woocommerce-account-fields label{display:flex!important;gap:8px;align-items:center;font-weight:600;cursor:pointer}

/* field grid: phone and email first ("Contact"), then the address */
.uph-cc-step2 .woocommerce-billing-fields__field-wrapper,.uph-cc-step2 .woocommerce-shipping-fields__field-wrapper,.uph-cc-step2 .woocommerce-additional-fields__field-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px}
.uph-cc-step2 .woocommerce-billing-fields__field-wrapper::before,.uph-cc-step2 .woocommerce-billing-fields__field-wrapper::after,.uph-cc-step2 .woocommerce-shipping-fields__field-wrapper::before,.uph-cc-step2 .woocommerce-shipping-fields__field-wrapper::after{display:none}
.uph-cc-step2 #customer_details .form-row{grid-column:1/-1;width:auto!important;float:none!important;margin:0!important;padding:0!important;min-width:0}
.uph-cc-step2 #customer_details .form-row-first,.uph-cc-step2 #customer_details .form-row-last,
.uph-cc-step2 #customer_details #billing_city_field,.uph-cc-step2 #customer_details #billing_state_field,.uph-cc-step2 #customer_details #billing_postcode_field,
.uph-cc-step2 #customer_details #shipping_city_field,.uph-cc-step2 #customer_details #shipping_state_field,.uph-cc-step2 #customer_details #shipping_postcode_field{grid-column:auto}
.uph-cc-step2 #billing_phone_field{order:-3}
.uph-cc-step2 #billing_email_field{order:-2}
.uph-cc-step2 .woocommerce-billing-fields__field-wrapper:has(#billing_phone_field,#billing_email_field)::before{content:"Delivery address";display:block;order:-1;grid-column:1/-1;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--mut);border-top:1px solid var(--line);padding-top:14px;margin-top:4px}
.uph-cc-step2 #customer_details .form-row label{font-size:13px;font-weight:600;color:var(--ink);margin-bottom:5px;display:block;line-height:1.3}
.uph-cc-step2 #customer_details .form-row label.checkbox,.uph-cc-step2 #customer_details .form-row label.woocommerce-form__label-for-checkbox{display:flex;gap:8px;align-items:center}
.uph-cc-step2 #customer_details .form-row .required{color:var(--sale);text-decoration:none;border:0}
.uph-cc-step2 #customer_details .woocommerce-input-wrapper{display:block}
.uph-cc-step2 #customer_details .form-row .input-text,.uph-cc-step2 #customer_details .form-row select:not(.select2-hidden-accessible){width:100%!important}
.uph-cc-step2 #customer_details .form-row.woocommerce-invalid .input-text,.uph-cc-step2 #customer_details .form-row.woocommerce-invalid .select2-selection{border-color:var(--sale)!important}

/* order review */
.uph-cc-step2 #order_review table.shop_table{border:0!important;margin:0!important;border-radius:0!important;display:block;width:100%}
.uph-cc-step2 #order_review table.shop_table thead{display:none}
.uph-cc-step2 #order_review table.shop_table tbody,.uph-cc-step2 #order_review table.shop_table tfoot{display:block}
.uph-cc-step2 #order_review table.shop_table tr{display:flex!important;justify-content:space-between;gap:14px;padding:10px 18px;border-top:1px solid var(--line);background:none!important}
.uph-cc-step2 #order_review table.shop_table tbody tr:first-child{border-top:0;padding-top:14px}
.uph-cc-step2 #order_review table.shop_table th,.uph-cc-step2 #order_review table.shop_table td{display:block;border:0!important;padding:0!important;background:none!important;font-size:14.5px;width:auto!important}
.uph-cc-step2 #order_review table.shop_table th{font-weight:400;flex:none}
.uph-cc-step2 #order_review table.shop_table td:last-child{text-align:right;font-variant-numeric:tabular-nums}
.uph-cc-step2 #order_review tr.cart_item td.product-name{font-size:14px;font-weight:600;line-height:1.35;display:flex;gap:6px;align-items:baseline}
.uph-cc-step2 #order_review tr.cart_item td.product-name .product-quantity{font-weight:600;color:var(--mut);white-space:nowrap}
.uph-cc-step2 #order_review tr.cart_item td.product-total{font-weight:600}
.uph-cc-step2 #order_review tr.order-total{border-top:2px solid var(--ink)!important;padding:13px 18px!important}
.uph-cc-step2 #order_review tr.order-total th,.uph-cc-step2 #order_review tr.order-total td{font-size:19px!important;font-weight:700!important}
.uph-cc-step2 #order_review #upmed-tax-wrapper{padding:0 18px;margin:8px 0 6px!important}
.uph-cc-step2 #payment{background:none!important;border-radius:0!important;padding:0!important}
.uph-cc-step2 #payment ul.payment_methods{border:0!important;padding:4px 18px 14px!important;margin:0!important;display:grid;gap:8px;list-style:none}
.uph-cc-step2 #payment ul.payment_methods li{border:1.5px solid var(--line);border-radius:10px;padding:12px!important;margin:0!important;background:#fff;line-height:1.4}
.uph-cc-step2 #payment ul.payment_methods li:has(input:checked){border-color:var(--b);background:var(--bt)}
.uph-cc-step2 #payment ul.payment_methods li>input{width:17px;height:17px;accent-color:var(--b);margin:0 8px 0 0!important;vertical-align:-3px}
.uph-cc-step2 #payment ul.payment_methods li>label{font-weight:600;font-size:14.5px;cursor:pointer;display:inline!important;margin:0}
.uph-cc-step2 #payment ul.payment_methods li>label img{max-height:22px;width:auto;vertical-align:middle;margin-left:6px;float:none}
.uph-cc-step2 #payment div.payment_box{background:none!important;padding:6px 0 0 25px!important;margin:0!important;font-size:13px;color:var(--mut)}
.uph-cc-step2 #payment div.payment_box::before{display:none!important}
.uph-cc-step2 #payment div.payment_box p{margin:0 0 6px}
.uph-cc-step2 #payment .place-order{padding:0 18px 18px!important;margin:0!important}
.uph-cc-step2 #payment .woocommerce-privacy-policy-text{font-size:12.5px;color:var(--mut);line-height:1.5}
.uph-cc-step2 #payment .woocommerce-privacy-policy-text a{color:var(--b)}
.uph-cc-step2 #payment #upmed-delivery-info-wrapper{border-radius:10px!important;margin-bottom:14px!important}
.uph-cc-step2 #payment #place_order{display:block!important;width:100%!important;float:none!important;background:var(--b)!important;color:#fff!important;font-size:17px!important;padding:16px!important;border-radius:10px!important;margin:0!important}
.uph-cc-step2 #payment #place_order:hover{background:var(--bd)!important}
.uph-cc-step2 #payment .ast-back-to-cart{text-align:center;margin-top:10px;float:none!important;font-size:13.5px}
.uph-cc-step2 #payment .ast-back-to-cart a{color:var(--mut)}

/* mobile action bar (added by cart-checkout.js) */
.uph-cc-bar{display:none}

/* tablet */
@media (max-width:1060px){
  .uph-cc-step1 .entry-content .woocommerce,.uph-cc-step2 form.checkout{grid-template-columns:minmax(0,1fr)}
  .uph-cc-step1 .entry-content .woocommerce>.cart-collaterals{grid-column:1;position:static}
  .uph-cc-step2 form.checkout>#customer_details{grid-column:1;grid-row:auto}
  .uph-cc-step2 form.checkout>#order_review{grid-column:1;grid-row:auto;margin-top:18px!important}
}
/* phone */
@media (max-width:700px){
  .uph-cc .ast-container{padding-left:16px;padding-right:16px}
  .uph-steps li{font-size:13px}
  .uph-steps li+li::before{width:28px;margin:0 8px}
  .uph-steps i{width:26px;height:26px;margin-right:6px}
  .uph-cc .uph-cc-title{margin-top:14px!important}
  .uph-cc table.shop_table.cart tr.cart_item{grid-template-columns:64px minmax(0,1fr) auto;grid-template-areas:"img name rm" "img price price" "img qty sub";column-gap:12px;row-gap:6px;padding:14px}
  .uph-cc table.shop_table.cart td.product-thumbnail img{width:64px!important;height:64px!important}
  .uph-cc table.shop_table.cart td.product-name{font-size:14px}
  .uph-cc table.shop_table.cart td.product-subtotal{align-self:center;min-width:0}
  .uph-cc table.shop_table.cart td.actions{padding:12px 14px!important}
  .uph-cc table.shop_table.cart td.actions .coupon{width:100%}
  .uph-cc table.shop_table.cart td.actions .coupon .input-text{flex:1;width:auto!important;min-width:0}
  .uph-cc table.shop_table.cart td.actions .button[name="update_cart"]{width:100%!important}
  .uph-cc-step2 .woocommerce-billing-fields__field-wrapper,.uph-cc-step2 .woocommerce-shipping-fields__field-wrapper{grid-template-columns:1fr}
  .uph-cc-step2 #billing_state_field,.uph-cc-step2 #shipping_state_field{grid-column:1/-1}
  .uph-cc-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:999;gap:12px;align-items:center;justify-content:space-between;background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 18px rgba(23,33,44,.08);padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));font-family:var(--body);transition:transform .2s}
  .uph-cc-bar[hidden]{display:flex;transform:translateY(110%)}
  .uph-cc-bar span{font-size:13px;color:var(--mut);line-height:1.2}
  .uph-cc-bar b{display:block;font-size:18px;color:var(--ink);font-variant-numeric:tabular-nums}
  .uph-cc-bar a{background:var(--b);color:#fff!important;border-radius:10px;padding:13px 22px;font-weight:700;font-size:15px;text-decoration:none!important;white-space:nowrap}
  body.uph-cc{padding-bottom:76px}
  body.uph-cc .joinchat{bottom:84px!important}
}
@media (prefers-reduced-motion:reduce){.uph-cc-bar{transition:none}}

/* Checkout labels: always shown above the field (replaces the theme's labels-inside-the-box style) */
body.uph-cc-step2 .woocommerce form .form-row label:not(.checkbox):not(.radio):not(.woocommerce-form__label-for-checkbox){position:static!important;opacity:1!important;pointer-events:auto;font-size:13.5px!important;font-weight:600!important;color:var(--ink)!important;padding:0!important;margin:0 0 6px!important;line-height:1.35!important;white-space:normal;overflow:visible;max-width:none;transform:none!important;display:block!important}
body.uph-cc-step2 .woocommerce form .form-row input.input-text,body.uph-cc-step2 .woocommerce form .form-row textarea,body.uph-cc-step2 .woocommerce form .form-row select:not(.select2-hidden-accessible),
body.uph-cc-step2 .woocommerce form .form-row.ast-animate-input input.input-text,body.uph-cc-step2 .woocommerce form .form-row.ast-animate-input textarea{padding:12px 14px!important;min-height:46px;line-height:1.4}
body.uph-cc-step2 .woocommerce form .form-row .select2-container--default .select2-selection--single,body.uph-cc-step2 .woocommerce form .form-row.ast-animate-input .select2-container--default .select2-selection--single{padding:11px 36px 11px 14px!important;height:auto!important;min-height:46px}
body.uph-cc-step2 .woocommerce form .form-row .select2-selection__rendered{line-height:1.4!important;padding:0!important}
body.uph-cc-step2 .woocommerce form .form-row .select2-selection__arrow{top:50%!important;transform:translateY(-50%);right:8px!important}
body.uph-cc-step2 #customer_details .form-row .woocommerce-input-wrapper+*:not(.woocommerce-input-wrapper),body.uph-cc-step2 #customer_details .form-row .description{margin-top:6px;display:block}
body.uph-cc-step2 .woocommerce form .form-row ::placeholder{color:#9aa4ae;opacity:1}
body.uph-cc-step2 .woocommerce-billing-fields__field-wrapper,body.uph-cc-step2 .woocommerce-shipping-fields__field-wrapper,body.uph-cc-step2 .woocommerce-additional-fields__field-wrapper{gap:16px 16px!important}
