body:is(.woocommerce-cart,.woocommerce-checkout){--commerce-radius:12px;--commerce-gap:24px}
body:is(.woocommerce-cart,.woocommerce-checkout) .page-wrapper{padding-top:24px;padding-bottom:36px}
body:is(.woocommerce-cart,.woocommerce-checkout) .checkout-page-title .page-title-inner{padding-top:20px;padding-bottom:16px;min-height:0}
body:is(.woocommerce-cart,.woocommerce-checkout) .checkout-breadcrumbs{font-size:17px;line-height:1.4;gap:10px;text-transform:none}
body:is(.woocommerce-cart,.woocommerce-checkout) .checkout-breadcrumbs a{color:var(--text-secondary)}
body:is(.woocommerce-cart,.woocommerce-checkout) .checkout-breadcrumbs a.current{color:var(--brand-navy)}
body:is(.woocommerce-cart,.woocommerce-checkout) :is(h2,h3,th,.product-name a,.amount){color:var(--brand-navy)}
body:is(.woocommerce-cart,.woocommerce-checkout) h3{font-size:20px;text-transform:none;letter-spacing:0}
body:is(.woocommerce-cart,.woocommerce-checkout) .shop_table{border-collapse:collapse;margin-bottom:16px}
body:is(.woocommerce-cart,.woocommerce-checkout) .shop_table :is(td,th){border-color:var(--border-light);padding:12px 8px;font-size:14px;text-transform:none;letter-spacing:0;vertical-align:middle}
body:is(.woocommerce-cart,.woocommerce-checkout) .shop_table th{font-weight:500}
body.woocommerce-cart .row-divided>.col+.col:not(.large-12){border-left:0}
body.woocommerce-cart .cart-wrapper{overflow:visible}
body.woocommerce-cart .product-thumbnail{width:76px;min-width:76px}
body.woocommerce-cart .product-thumbnail img{width:64px;height:64px;object-fit:contain;border-radius:8px}
body.woocommerce-cart .product-name{font-weight:500;line-height:1.45}
body.woocommerce-cart .product-remove{width:32px;padding-left:0}
body.woocommerce-cart a.remove{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid var(--border-light);border-radius:8px;color:var(--text-secondary)!important;font-size:22px;line-height:1;background:white}
body.woocommerce-cart a.remove:hover{border-color:var(--brand-red);color:var(--brand-red)!important;background:var(--bg-soft)}
body.woocommerce-cart .cart-sidebar,body.woocommerce-checkout form.checkout>.row>.col>.col-inner.has-border{padding:22px;border:1px solid var(--border-light);border-radius:var(--commerce-radius);background:var(--bg-soft)}
body.woocommerce-cart .cart_totals>table:first-child th{font-size:20px;padding:0 0 14px;border:0;font-weight:600;text-transform:none!important}
body:is(.woocommerce-cart,.woocommerce-checkout) .order-total :is(th,td){border-top:1px solid var(--border-light);font-size:19px;font-weight:600;padding-top:16px}
body:is(.woocommerce-cart,.woocommerce-checkout) .shipping__table{margin:0}
body:is(.woocommerce-cart,.woocommerce-checkout) .shipping__table td{white-space:normal}
body:is(.woocommerce-cart,.woocommerce-checkout) .shipping__table :is(tbody,tr,th,td){display:block;width:100%;text-align:left!important;padding:3px 0;border:0}
body:is(.woocommerce-cart,.woocommerce-checkout) .shipping__table td:before{display:none!important}
body:is(.woocommerce-cart,.woocommerce-checkout) .shipping__table th{font-weight:600;margin-bottom:4px}
body:is(.woocommerce-cart,.woocommerce-checkout) .shipping__table .woocommerce-shipping-destination{margin:8px 0}
body:is(.woocommerce-cart,.woocommerce-checkout) :is(.shipping__list_label,.woocommerce-shipping-destination){font-size:13px;line-height:1.5}
body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce-shipping-destination{color:var(--text-secondary)}
body.woocommerce-cart .wc-proceed-to-checkout{padding:0}
body:is(.woocommerce-cart,.woocommerce-checkout) :is(.checkout-button,#place_order){background:var(--brand-red)!important;border-color:var(--brand-red)!important;color:#fff!important;width:100%;min-height:50px;height:auto;padding:12px 16px;font-size:16px;font-weight:600;text-transform:none;border-radius:8px;margin:0}
body:is(.woocommerce-cart,.woocommerce-checkout) :is(.checkout-button,#place_order):hover{background:var(--brand-red-hover)!important}
body.woocommerce-cart .actions{padding:18px 0!important}
body.woocommerce-cart .actions .button{margin:0 8px 8px 0;padding:8px 12px;font-size:13px}
body.woocommerce-cart .continue-shopping{display:inline-block;float:none}
body.woocommerce-cart .actions button[name=update_cart]{float:none}
.mlcommerce-coupon{margin-top:16px;border-top:1px solid var(--border-light);padding-top:14px}
.mlcommerce-coupon summary{cursor:pointer;font-size:14px;color:var(--brand-navy);font-weight:500;min-height:44px;display:flex;align-items:center;justify-content:space-between;list-style:none}
.mlcommerce-coupon summary::-webkit-details-marker{display:none}.mlcommerce-coupon summary:after{content:'+'}.mlcommerce-coupon[open] summary:after{content:'−'}
.mlcommerce-coupon .coupon{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:8px}
.mlcommerce-coupon .coupon :is(input,button){margin:0!important;min-width:0;width:100%}
.mlcommerce-coupon .coupon button{padding:8px 10px!important;font-size:13px!important;background:transparent!important;color:var(--brand-navy)!important;border:1px solid var(--brand-navy)!important}
body:is(.woocommerce-cart,.woocommerce-checkout) :is(input.input-text,select,textarea,.select2-selection--single,.zen-ui-select__value){font-size:16px!important;min-height:46px;border:1px solid var(--border-light);border-radius:8px;background:#fff;color:var(--brand-navy);box-shadow:none;padding:10px 12px;line-height:1.4;max-width:100%}
body:is(.woocommerce-cart,.woocommerce-checkout) textarea{min-height:92px}
body:is(.woocommerce-cart,.woocommerce-checkout) :is(input.input-text,select,textarea):focus{border-color:var(--brand-navy)!important;box-shadow:0 0 0 2px rgba(16,35,63,.1)!important;outline:none}
body:is(.woocommerce-cart,.woocommerce-checkout) div.ux-quantity{height:44px;flex-shrink:0}
body:is(.woocommerce-cart,.woocommerce-checkout) div.ux-quantity input{height:42px!important;min-height:42px!important;font-size:16px!important}
body.woocommerce-checkout .woocommerce-billing-fields,body.woocommerce-checkout .woocommerce-shipping-fields,body.woocommerce-checkout .woocommerce-additional-fields{padding:20px;border:1px solid var(--border-light);border-radius:var(--commerce-radius);margin-bottom:16px;background:white}
body.woocommerce-checkout .woocommerce-shipping-fields:empty{display:none}
body.woocommerce-checkout #ship-to-different-address{margin:0;font-size:15px}
body.woocommerce-checkout .shipping_address{padding-top:18px}
body.woocommerce-checkout .form-row{margin-bottom:10px;padding:0;min-width:0;scroll-margin-top:100px}
body.woocommerce-checkout .form-row label{font-size:14px;font-weight:500;margin-bottom:6px;color:var(--brand-navy);line-height:1.45}
body.woocommerce-checkout .form-row .optional,body.woocommerce-checkout .description{color:var(--text-secondary);font-size:12px}
body.woocommerce-checkout .form-row :is(input,select,textarea){margin-bottom:0}
body.woocommerce-checkout .select2-container{max-width:100%;width:100%!important}
body.woocommerce-checkout .select2-selection--single{height:46px;padding:0}
body.woocommerce-checkout .select2-selection__rendered{line-height:44px!important;padding-left:12px!important}
body.woocommerce-checkout .select2-selection__arrow{height:44px!important}
body.woocommerce-checkout .wcus-checkout-fields{margin-top:20px;padding:18px;background:var(--bg-soft);border:1px solid var(--border-light);border-radius:10px}
body.woocommerce-checkout .wcus-checkout-fields h3{font-size:18px;margin-top:0}
body.woocommerce-checkout .zen-ui-select__value{padding-right:32px}
body.woocommerce-checkout .zen-ui-select input{font-size:16px!important;min-height:44px}
body.woocommerce-checkout .zen-ui-select{max-width:100%;min-width:0}
body.woocommerce-checkout .checkout-sidebar{overflow:visible}
body.woocommerce-checkout .woocommerce-checkout-review-order-table{table-layout:fixed;width:100%}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name{width:68%;overflow-wrap:anywhere}
body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total{width:32%;text-align:right}
body.woocommerce-checkout .woocommerce-checkout-review-order-table thead{display:none}
.mlcommerce-thumb{width:48px!important;height:48px!important;object-fit:contain;float:left;margin:0 10px 4px 0;border-radius:6px;background:white}
body.woocommerce-checkout #payment{background:transparent;border-radius:0}
body.woocommerce-checkout #payment ul.payment_methods{padding:0;border:0}
body.woocommerce-checkout #payment li.wc_payment_method{border:1px solid var(--border-light);border-radius:8px;background:white;margin:0 0 10px;padding:12px!important;line-height:1.45}
body.woocommerce-checkout #payment li.wc_payment_method:has(>input:checked){border-color:var(--brand-navy);box-shadow:inset 3px 0 var(--brand-navy)}
body.woocommerce-checkout #payment li.wc_payment_method>label{font-size:14px;font-weight:500;cursor:pointer;color:var(--brand-navy)}
body.woocommerce-checkout input[type=radio],body.woocommerce-checkout input[type=checkbox]{accent-color:var(--brand-red)}
body.woocommerce-checkout #payment .payment_box{padding:8px 0 0;margin:0;background:transparent;color:var(--text-secondary);font-size:13px;line-height:1.5}
body.woocommerce-checkout #payment .payment_box:before{display:none}
body.woocommerce-checkout #payment .payment_box p{margin-bottom:0}
body.woocommerce-checkout #payment .place-order{padding:10px 0 0;margin:0}
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper{font-size:13px;line-height:1.5}
body.woocommerce-checkout .woocommerce-privacy-policy-text{font-size:12px;line-height:1.5;color:var(--text-secondary);margin-top:12px}
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info{background:var(--bg-soft);border:1px solid var(--border-light);border-radius:8px;padding:10px 14px;font-size:14px;margin-bottom:16px;color:var(--brand-navy)}
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info:before{display:none}
body.woocommerce-checkout form.checkout_coupon{border:1px solid var(--border-light);border-radius:8px;padding:16px;margin:0 0 20px}
.mlcommerce-error{display:block;min-height:34px;margin-top:3px;font-size:12px;line-height:1.4;color:var(--brand-red)}
body.woocommerce-checkout .form-row:has(>.mlcommerce-error)>.checkout-inline-error-message{display:none}
body.woocommerce-checkout .woocommerce-invalid :is(input.input-text,select,.select2-selection--single,.zen-ui-select__value){border-color:var(--brand-red)!important}
body.woocommerce-checkout .woocommerce-error{border:1px solid var(--brand-red);border-radius:8px;background:#fff;font-size:14px;padding:12px 16px;color:var(--brand-red)}
body.woocommerce-checkout .woocommerce-error li.mlcommerce-mapped{display:none}
body.woocommerce-checkout .woocommerce-error.mlcommerce-all-mapped{display:none}
body.woocommerce-cart :is(.cart-empty,.mlcommerce-empty){max-width:560px;margin:20px auto 12px;text-align:center;background:var(--bg-soft);border:1px solid var(--border-light);border-radius:12px;padding:32px 20px;font-size:21px;color:var(--brand-navy)}
body.woocommerce-cart :is(.cart-empty,.mlcommerce-empty):before{content:'\e90a';font-family:fl-icons;display:block;position:static;font-size:32px;margin-bottom:12px;color:var(--brand-navy)}
body.woocommerce-cart .return-to-shop{text-align:center;margin:16px 0 40px}
@media(min-width:850px){body.woocommerce-checkout form.checkout>.row>.large-7{flex-basis:58%;max-width:58%}body.woocommerce-checkout form.checkout>.row>.large-5{flex-basis:42%;max-width:42%}}
@media(max-width:849px){
 body:is(.woocommerce-cart,.woocommerce-checkout) .page-wrapper{padding-top:12px}
 body:is(.woocommerce-cart,.woocommerce-checkout) .checkout-page-title .page-title-inner{padding:14px 15px}
 body:is(.woocommerce-cart,.woocommerce-checkout) .checkout-breadcrumbs{font-size:18px}
 body.woocommerce-cart .cart-wrapper{overflow:visible}
 body.woocommerce-cart .woocommerce-cart-form__contents,body.woocommerce-cart .woocommerce-cart-form__contents tbody{display:block;width:100%}
 body.woocommerce-cart .woocommerce-cart-form__contents thead{display:none}
 body.woocommerce-cart .woocommerce-cart-form__cart-item{display:grid;grid-template-columns:72px minmax(0,1fr) 36px;gap:8px 10px;padding:14px;border:1px solid var(--border-light);border-radius:12px;margin-bottom:12px;position:relative;background:white}
 body.woocommerce-cart .woocommerce-cart-form__cart-item td{display:block!important;width:auto;min-width:0;padding:0!important;border:0;text-align:left!important}
 body.woocommerce-cart .woocommerce-cart-form__cart-item td:before{display:none!important}
 body.woocommerce-cart .woocommerce-cart-form__cart-item .product-thumbnail{grid-column:1;grid-row:1/3}
 body.woocommerce-cart .product-thumbnail img{width:72px;height:72px}
 body.woocommerce-cart .woocommerce-cart-form__cart-item .product-name{grid-column:2;grid-row:1;font-size:14px;overflow-wrap:anywhere}
 body.woocommerce-cart .woocommerce-cart-form__cart-item .product-remove{grid-column:3;grid-row:1}
 body.woocommerce-cart .woocommerce-cart-form__cart-item .product-price{grid-column:2/4;grid-row:2;font-size:14px}
 body.woocommerce-cart .woocommerce-cart-form__cart-item .product-quantity{grid-column:1/3;grid-row:3;margin-top:4px}
 body.woocommerce-cart .woocommerce-cart-form__cart-item .product-subtotal{grid-column:2/4;grid-row:3;justify-self:end;align-self:center;pointer-events:none;text-align:right!important;font-size:15px}
 body.woocommerce-cart .woocommerce-cart-form__cart-item .product-subtotal:before{content:'Разом';display:block!important;font-size:11px;font-weight:400;color:var(--text-secondary);float:none}
 body.woocommerce-cart .mobile-product-price{display:none!important}
 body.woocommerce-cart .woocommerce-cart-form__contents tr:has(>.actions){display:block}
 body.woocommerce-cart .woocommerce-cart-form__contents .actions{display:flex;flex-wrap:wrap;gap:8px;width:100%;padding:4px 0 20px!important;border:0}
 body.woocommerce-cart .actions .button{margin:0;font-size:12px}
 body.woocommerce-cart .cart-sidebar,body.woocommerce-checkout form.checkout>.row>.col>.col-inner.has-border{padding:16px}
 body.woocommerce-checkout :is(.woocommerce-billing-fields,.woocommerce-shipping-fields,.woocommerce-additional-fields){padding:16px}
 body.woocommerce-checkout .wcus-checkout-fields{padding:14px}
 body.woocommerce-checkout form.checkout>.row>.col{flex-basis:100%;max-width:100%}
 body.woocommerce-checkout #place_order{width:100%;min-height:50px}
 body:is(.woocommerce-cart,.woocommerce-checkout) #medlife-contact-button{position:static!important;margin:12px 15px 16px auto;width:max-content;max-width:calc(100% - 30px)}
 body:is(.woocommerce-cart,.woocommerce-checkout) #medlife-contact-button summary{width:40px;height:40px;min-width:40px;padding:0!important;display:flex;align-items:center;justify-content:center}
 body:is(.woocommerce-cart,.woocommerce-checkout) #medlife-contact-button summary span:last-child{display:none}
 body:is(.woocommerce-cart,.woocommerce-checkout) #medlife-contact-button .medlife-contact-panel{position:fixed;right:15px;bottom:calc(60px + env(safe-area-inset-bottom));max-width:calc(100vw - 30px)}
}

/* Final checkout polish: presentation only, native field names/values retained. */
body.woocommerce-checkout .mlcommerce-country-ua{display:none!important}
body.woocommerce-checkout .wcus-checkout-np-fields{border-color:#C6D1DF;border-left:3px solid var(--brand-navy);background:#F3F6F9}
body.woocommerce-checkout .wcus-checkout-np-fields h3{font-size:19px;color:var(--brand-navy);margin-bottom:14px}
body.woocommerce-checkout .wcus-checkout-np-fields .form-row.mlcommerce-np-field .zen-ui-select__value{border-color:var(--border-light)!important}
body.woocommerce-checkout .wcus-checkout-np-fields .form-row.mlcommerce-np-field.mlcommerce-show-error .zen-ui-select__value{border-color:var(--brand-red)!important}
body.woocommerce-checkout .mlcommerce-np-pending .zen-ui-select__value{opacity:.55;pointer-events:none;background:var(--bg-soft);cursor:not-allowed}
body.woocommerce-checkout .woocommerce-form__label-for-checkbox{display:flex!important;align-items:flex-start;gap:10px;min-height:44px;padding:10px 0;cursor:pointer;line-height:1.5!important}
body.woocommerce-checkout .woocommerce-form__label-for-checkbox input[type=checkbox]{width:20px;height:20px;min-width:20px;margin:1px 0 0!important;flex-shrink:0}
body.woocommerce-checkout #ship-to-different-address label{align-items:center;margin:0;font-size:15px}
body.woocommerce-checkout #ship-to-different-address label:after{content:'+';margin-left:auto;font-size:22px;font-weight:400;color:var(--brand-navy)}
body.woocommerce-checkout #ship-to-different-address label:has(input:checked):after{content:'−'}
body.woocommerce-checkout .woocommerce-shipping-fields{padding-top:8px;padding-bottom:8px}
body.woocommerce-checkout .woocommerce-shipping-fields:has(#ship-to-different-address-checkbox:checked){border-color:#C6D1DF}
body.woocommerce-checkout .woocommerce-additional-fields{border:0;background:transparent;padding:4px 0;margin-bottom:10px}
body.woocommerce-checkout #order_comments_field label{font-weight:400;font-size:13px;color:var(--text-secondary)}
body.woocommerce-checkout #order_comments_field textarea{min-height:76px!important;height:76px;background:var(--bg-soft);font-size:16px}
body.woocommerce-checkout #order_comments_field>.mlcommerce-error:empty{display:none}
@media(min-width:850px){
 body.woocommerce-checkout form.checkout>.row{align-items:stretch}
 body.woocommerce-checkout form.checkout>.row>.large-5>.col-inner{position:sticky;top:calc(var(--mlcommerce-header-height,136px) + 16px);height:auto;max-height:none;overflow:visible}
 body.woocommerce-cart .cart-collaterals .cart-sidebar{position:sticky;top:calc(var(--mlcommerce-header-height,136px) + 16px)}
}

body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox{display:block!important;position:relative;padding-left:30px}
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox input{position:absolute;left:0;top:11px}
/* Compact WayForPay identity, one gateway with methods on the hosted page. */
body.woocommerce-checkout #payment .payment_method_wayforpay>label{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-weight:600}
body.woocommerce-checkout #payment .payment_method_wayforpay>label img{float:none;width:auto;max-width:86px;max-height:22px;object-fit:contain;margin:0 0 0 auto}
body.woocommerce-checkout #payment .payment_method_wayforpay .payment_box{font-size:13px;line-height:1.55;color:var(--text-secondary)}
body.woocommerce-checkout #payment .wc_payment_method:has(>input:checked){border-color:var(--brand-navy)}
body.woocommerce-checkout #payment .payment_method_wayforpay>label{display:inline-flex;width:calc(100% - 42px);vertical-align:middle;margin:0}body.woocommerce-checkout #payment .payment_method_wayforpay>input{vertical-align:middle}
