/* Quiet paper surface for a task that needs readable specifications and a clear next step. */
body.proporia-refined:is(.woocommerce-cart,.woocommerce-checkout){color-scheme:light;--linia:#ced3d0;--linia-ui:#7c8688;--focus:#172023}
.proporia-refined:is(.woocommerce-cart,.woocommerce-checkout) .content-area{max-width:1360px;padding-top:46px;padding-bottom:88px}
.proporia-refined:is(.woocommerce-cart,.woocommerce-checkout) .entry-content>h1{font-size:clamp(38px,4vw,56px);letter-spacing:-.035em;margin-bottom:16px}
.proporia-purchase-path{display:flex;flex-wrap:wrap;align-items:center;gap:14px;color:var(--fg-2);font-size:14px;margin:0 0 32px;grid-column:1/-1}
.proporia-purchase-path a{text-decoration:none}
.proporia-purchase-path [aria-current]{color:var(--fg);font-weight:600}
.woocommerce-cart .proporia-kasa>.woocommerce:has(.woocommerce-cart-form){display:grid;grid-template-columns:minmax(0,1.55fr) minmax(330px,1fr);gap:0 48px;align-items:start}
.woocommerce-cart .proporia-kasa>.woocommerce>:is(.woocommerce-notices-wrapper,.woocommerce-message,.woocommerce-error,.woocommerce-info){grid-column:1/-1}
.woocommerce-cart .woocommerce .woocommerce-cart-form{min-width:0;margin:0}
.woocommerce-cart .woocommerce table.cart{display:block;margin:0}
.woocommerce-cart .woocommerce table.cart thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.woocommerce-cart .woocommerce table.cart tbody{display:block}
.woocommerce-cart .woocommerce table.cart tr.cart_item{display:grid;grid-template-columns:126px minmax(0,1fr) 84px 104px;gap:12px 16px;padding:24px 0;border-block-start:1px solid var(--linia);position:relative}
.woocommerce-cart .woocommerce table.cart tr.cart_item td{display:block;float:none;width:auto;padding:0;border:0;text-align:left!important;background:none}
.woocommerce-cart .woocommerce table.cart tr.cart_item td::before{display:none}
.woocommerce-cart .woocommerce table.cart .product-thumbnail{grid-column:1;grid-row:1/3}
.woocommerce-cart .woocommerce table.cart .product-thumbnail a{width:100%}
.woocommerce-cart .woocommerce table.cart .product-thumbnail :is(img,picture){display:block;width:100%;height:auto}
.woocommerce-cart .woocommerce table.cart .product-thumbnail img{aspect-ratio:1;object-fit:cover}
.woocommerce-cart .woocommerce table.cart tr.cart_item td.product-name{grid-column:2/5;grid-row:1;padding-right:36px;display:flex;flex-direction:column;align-items:start;gap:10px}
.woocommerce-cart .woocommerce table.cart td.product-name>a:first-child{font-size:22px;font-weight:500;letter-spacing:-.02em;line-height:1.25;order:0}
.woocommerce-cart .woocommerce table.cart .product-name dl.variation{order:1;margin:0;font-size:14px;line-height:1.6;color:var(--fg-2)}
.woocommerce-cart .woocommerce table.cart .product-name dl.variation dd{padding:0;margin:0}
.woocommerce-cart .woocommerce table.cart .product-name .proporia-edit-link{order:2;margin:0;min-height:32px;display:inline-flex;align-items:center;font-size:14px;text-underline-offset:4px}
.woocommerce-cart .woocommerce table.cart .product-name .proporia-cart-delivery{order:3;font-size:13px;line-height:1.5;margin:0}
.woocommerce-cart .woocommerce table.cart .product-remove{position:absolute;top:14px;right:-8px}
.woocommerce-cart .woocommerce a.remove{width:44px;height:44px;font-size:24px;background:none;border:0;color:var(--fg-2)!important}
.woocommerce-cart .woocommerce a.remove:hover{background:var(--bg-2);color:var(--fg)!important}
.woocommerce-cart .woocommerce table.cart .product-price{grid-column:2;grid-row:2;align-self:end;font-size:15px;color:var(--fg-2)}
.woocommerce-cart .woocommerce table.cart td.product-price::before{content:"Cena za szt."!important;display:block!important;font-size:12px;margin-bottom:8px;float:none}
.woocommerce-cart .woocommerce table.cart .product-quantity{grid-column:3;grid-row:2;align-self:end}
.woocommerce-cart .woocommerce table.cart td.product-quantity::before{content:"Ilość"!important;display:block!important;font-size:12px;color:var(--fg-2);margin-bottom:6px;float:none}
.woocommerce-cart .woocommerce table.cart .product-subtotal{grid-column:4;grid-row:2;align-self:end;font-size:20px;font-weight:500;text-align:right!important;padding-bottom:10px}
.woocommerce-cart .woocommerce .quantity .qty{width:76px;height:44px;min-height:44px;padding:6px;background:#fff;font-size:16px;border-color:var(--linia-ui);text-align:center}
.woocommerce-cart .woocommerce table.cart td.actions{padding:20px 0;border-top:1px solid var(--linia);display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.woocommerce-cart .woocommerce .actions .button{min-height:44px;padding:0 18px;background:transparent;color:var(--fg);border:1px solid var(--linia-ui);font-size:14px;float:none}
.woocommerce-cart .woocommerce .actions .button:disabled{opacity:.6;cursor:default}
.woocommerce-cart .woocommerce a.checkout-button[aria-disabled="true"]{opacity:.65;cursor:wait}
.proporia-cart-status{font-size:13px;color:var(--fg-2)}
.woocommerce-cart .woocommerce .cart-collaterals{display:block;margin:0;position:sticky;top:102px;min-width:0}
.woocommerce-cart .woocommerce .cart-collaterals .cart_totals{width:100%;border:0;padding:28px;background:var(--bg-2)}
.woocommerce-cart .woocommerce .cart_totals h2{font-size:25px;letter-spacing:-.02em;margin-bottom:18px}
.woocommerce-cart .woocommerce .cart_totals table{margin:0}
.woocommerce-cart .woocommerce .cart_totals :is(td,th){padding:13px 0;font-size:15px}
.woocommerce-cart .woocommerce .cart_totals th{width:40%}
.woocommerce-cart .woocommerce .cart_totals td{text-align:right!important}
.woocommerce-cart .woocommerce .cart_totals .woocommerce-shipping-destination{display:none}
.woocommerce-cart .woocommerce .cart_totals td::before{display:none!important}
.woocommerce-cart .woocommerce .cart_totals .order-total :is(td,th){font-size:28px!important;padding-block:22px!important}
.woocommerce-cart .woocommerce .cart_totals .proporia-cart-note td{text-align:left!important;font-size:13px}
.woocommerce-cart .woocommerce .wc-proceed-to-checkout{padding:0}
.proporia-commerce-help{font-size:13px!important;line-height:1.7;color:var(--fg-2);margin:20px 0 0!important}
.proporia-commerce-help a{font-size:14px;color:var(--fg);text-decoration:underline;text-underline-offset:4px}
.woocommerce-cart .woocommerce:has(.cart-empty){padding:48px 0 72px;max-width:720px}
.woocommerce-cart .woocommerce .cart-empty{font:450 clamp(25px,3vw,38px)/1.2 var(--sans);letter-spacing:-.025em;background:none;border:0;padding:0;margin-bottom:20px;color:var(--fg)}
.woocommerce-cart .woocommerce .cart-empty::before{display:none}
.proporia-empty-note{font-size:18px;color:var(--fg-2);max-width:46ch;margin-bottom:32px}
.woocommerce-checkout .woocommerce form.checkout{grid-template-columns:minmax(0,1.1fr) minmax(330px,1fr);column-gap:64px}
.woocommerce-checkout .woocommerce #customer_details{grid-row:1/span 4}
.woocommerce-checkout .woocommerce #order_review{padding:28px}
.woocommerce-checkout .woocommerce :is(#order_review_heading,.woocommerce-billing-fields>h3){font-size:25px;letter-spacing:-.02em;margin-bottom:22px}
.woocommerce-checkout .woocommerce #order_review_heading{grid-row:1}
.woocommerce-checkout .woocommerce .proporia-checkout-back{grid-row:2;margin:0 0 18px;font-size:14px}
.woocommerce-checkout .woocommerce #order_review{grid-row:3}
.woocommerce-checkout .woocommerce form .form-row label{font-size:14px;line-height:1.5;margin-bottom:7px}
.woocommerce-checkout .woocommerce form .form-row{padding:0;margin-bottom:20px}
.woocommerce-checkout .woocommerce form .form-row :is(input.input-text,textarea,select){border-color:var(--linia-ui);background:#fafbf9;font-size:16px}
.woocommerce-checkout .woocommerce table.shop_table .cart_item td{padding:20px 0}
.woocommerce-checkout .woocommerce table.shop_table .product-total{width:90px;text-align:right;white-space:nowrap}
.woocommerce-checkout .woocommerce table.shop_table .product-name{padding-right:16px}
.proporia-review-photo{display:block;float:left;width:72px;margin:0 14px 10px 0}
.proporia-review-photo :is(picture,img){display:block;width:100%;height:auto}
.proporia-review-photo img{aspect-ratio:1;object-fit:cover}
.proporia-review-name{font-size:16px;line-height:1.4;font-weight:500}
.woocommerce-checkout .woocommerce td.product-name dl.variation{display:block;clear:both;margin:12px 0 0;font-size:13px;color:var(--fg-2);line-height:1.6}
.woocommerce-checkout .woocommerce .product-quantity{font-size:13px;white-space:nowrap}
.woocommerce-checkout .woocommerce #payment{background:none}
.woocommerce-checkout .woocommerce #place_order{width:100%;margin:0}
.proporia-refined:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce :is(.woocommerce-message,.woocommerce-info,.woocommerce-error):not(.cart-empty){border:1px solid #7c8688;border-left-width:1px;background:#e5e8e4;color:#172023;font-size:15px}
.proporia-refined:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce .woocommerce-error{border-color:#9e3826;background:#faeeea}
@media(max-width:1100px){.woocommerce-cart .proporia-kasa>.woocommerce:has(.woocommerce-cart-form){column-gap:28px;grid-template-columns:minmax(0,1fr) minmax(300px,.8fr)}.woocommerce-cart .woocommerce table.cart tr.cart_item{grid-template-columns:90px minmax(0,1fr) 76px 92px;gap:12px}.woocommerce-cart .woocommerce .cart-collaterals .cart_totals{padding:22px}.woocommerce-checkout .woocommerce form.checkout{column-gap:32px}}
@media(max-width:900px){.woocommerce-cart .proporia-kasa>.woocommerce:has(.woocommerce-cart-form){display:block}.woocommerce-cart .woocommerce .cart-collaterals{position:static;margin-top:28px}.woocommerce-checkout .woocommerce form.checkout{display:flex;flex-direction:column}.woocommerce-checkout .woocommerce #order_review_heading{order:1;margin-top:28px}.woocommerce-checkout .woocommerce .proporia-checkout-back{order:2}.woocommerce-checkout .woocommerce #order_review{order:3}.woocommerce-checkout .woocommerce #order_review{padding:24px}}
@media(max-width:600px){.proporia-refined:is(.woocommerce-cart,.woocommerce-checkout) .content-area{padding-top:28px;padding-bottom:56px}.proporia-purchase-path{margin-bottom:24px;font-size:13px}.woocommerce-cart .woocommerce table.cart tr.cart_item{grid-template-columns:76px minmax(0,1fr) 84px;gap:14px 12px;padding:20px 0}.woocommerce-cart .woocommerce table.cart .product-thumbnail{grid-row:1;grid-column:1}.woocommerce-cart .woocommerce table.cart tr.cart_item td.product-name{grid-column:2/4;padding-right:20px;gap:8px}.woocommerce-cart .woocommerce table.cart td.product-name>a:first-child{font-size:19px}.woocommerce-cart .woocommerce table.cart .product-name dl.variation{font-size:13px}.woocommerce-cart .woocommerce table.cart .product-price{grid-column:1;grid-row:2;font-size:13px}.woocommerce-cart .woocommerce table.cart .product-quantity{grid-column:2;grid-row:2;justify-self:start}.woocommerce-cart .woocommerce table.cart .product-subtotal{grid-column:3;grid-row:2;font-size:20px}.woocommerce-cart .woocommerce .actions .button{width:auto!important;margin:0}.woocommerce-cart .woocommerce .cart-collaterals .cart_totals{padding:22px}.woocommerce-cart .woocommerce .cart_totals table.shop_table_responsive tr{display:table-row}.woocommerce-cart .woocommerce .cart_totals table.shop_table_responsive :is(th,td){display:table-cell}.woocommerce-cart .woocommerce .cart_totals table.shop_table_responsive th{font-size:14px}.woocommerce-cart .woocommerce .cart_totals table.shop_table_responsive tr:nth-child(2n) td{background:none}.woocommerce-cart .woocommerce:has(.cart-empty){padding-top:20px}.proporia-empty-note{font-size:16px}.woocommerce-checkout .woocommerce #order_review{padding:20px}.woocommerce-checkout .woocommerce .form-row-first,.woocommerce-checkout .woocommerce .form-row-last{width:100%;float:none}.proporia-review-photo{width:62px}.woocommerce-checkout .woocommerce table.shop_table .product-total{width:78px;font-size:14px}}

/* Checkout refinement: aligned address fields, stable totals and a readable inline legal panel. */
.woocommerce-checkout .woocommerce :is(.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px}
.woocommerce-checkout .woocommerce :is(.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper)>.form-row{grid-column:1/-1;width:100%;max-width:none;float:none;margin-inline:0;min-width:0}
.woocommerce-checkout .woocommerce :is(.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper)>.form-row-first,.woocommerce-checkout .woocommerce :is(.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper)>.form-row-last{grid-column:auto}
.woocommerce-checkout .woocommerce .woocommerce-input-wrapper{display:block;width:100%}
.woocommerce-checkout .woocommerce .form-row :is(input.input-text,select,textarea){width:100%;box-sizing:border-box;caret-color:var(--fg)}
.proporia-city-source{display:block;margin-top:6px;font-size:11px;line-height:1.5;color:var(--fg-2)}
.proporia-city-source[hidden],.woocommerce-checkout .woocommerce tr[hidden]{display:none!important}
.proporia-city-source a{color:inherit;text-underline-offset:3px}
/* The live region sits in the box padding, so an idle status leaves no empty band above the order. */
.woocommerce-checkout .woocommerce #order_review{position:relative}
.proporia-checkout-status{position:absolute;top:4px;left:20px;right:20px;margin:0;font-size:13px;line-height:1.5;color:var(--fg-2)}
.woocommerce-checkout #order_review[aria-busy="true"] .blockUI.blockOverlay{opacity:0!important;background:transparent!important}
.woocommerce-checkout #order_review[aria-busy="true"] .blockUI.blockOverlay::before{display:none!important}
.woocommerce-checkout .woocommerce .woocommerce-terms-and-conditions{max-height:360px!important;padding:20px!important;border:1px solid var(--linia-ui);background:var(--surface);color:var(--fg);font-size:14px;line-height:1.7;overscroll-behavior:contain;scrollbar-color:var(--linia-ui) var(--surface);scrollbar-width:thin}
.woocommerce-checkout .woocommerce .woocommerce-terms-and-conditions[hidden]{display:none!important}
.woocommerce-checkout .woocommerce .woocommerce-terms-and-conditions :is(p,li){font-size:14px;color:var(--fg);max-width:70ch}
.woocommerce-checkout .woocommerce .woocommerce-terms-and-conditions :is(h2,h3){font-size:20px;margin:24px 0 12px}
.woocommerce-checkout .woocommerce button.proporia-close-terms{display:block;min-height:44px;margin:0 0 16px auto;padding:8px 0;border:0;border-radius:0;background:transparent;color:var(--fg);font:500 14px/1.4 var(--sans);text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.woocommerce-checkout .woocommerce .proporia-return-link{font-size:13px;line-height:1.6;margin:18px 0}
/* The delivery note is the last summary row: its 18px bottom padding added to the table margin left an empty band above the link. */
.woocommerce-checkout .woocommerce #order_review tr.proporia-cart-note td{padding-bottom:0!important}
.woocommerce-checkout .woocommerce :is(.proporia-close-terms,.woocommerce-terms-and-conditions-link):focus-visible{outline:2px solid var(--focus);outline-offset:4px}
/* Order review: 'anywhere' plus a 10ch minimum on the 26px total let the table squeeze the name to single letters at 375px.
   Words now wrap whole, prices stay on one line; on phones the amount column is a fixed 7.5rem instead. */
.woocommerce-checkout .woocommerce #order_review td.product-name{overflow-wrap:break-word}
.woocommerce-checkout .woocommerce #order_review .amount{white-space:nowrap}
@media(max-width:600px){.woocommerce-checkout.proporia-commerce .woocommerce #order_review tfoot tr:not(.woocommerce-shipping-totals) td{min-width:0}.woocommerce-checkout .woocommerce #order_review th.product-total{min-width:7.5rem}.woocommerce-checkout .woocommerce #order_review td.product-name{padding-right:12px}.woocommerce-checkout .woocommerce .proporia-review-photo{width:48px;margin:0 12px 6px 0}.proporia-checkout-status{left:16px;right:16px}.woocommerce-checkout .woocommerce :is(.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper){grid-template-columns:minmax(0,1fr);column-gap:0}.woocommerce-checkout .woocommerce :is(.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper)>.form-row-first,.woocommerce-checkout .woocommerce :is(.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper)>.form-row-last{grid-column:1/-1}}

/* R2 (10.11): amounts never split ("1 / 348,78 zł"); the thousands separator option itself is unchanged. */
body:is(.woocommerce-cart,.woocommerce-checkout) .woocommerce .woocommerce-Price-amount{white-space:nowrap}
/* Payment description as plain text under the method, not Woo's speech bubble. */
.woocommerce-checkout .woocommerce #payment div.payment_box{background:none;padding:0;margin:4px 0 0 0;color:var(--fg-2);font-size:14px;line-height:1.55}
.woocommerce-checkout .woocommerce #payment div.payment_box::before{display:none}
.woocommerce-checkout .woocommerce #payment div.payment_box p{margin:0}
/* One sentence above the form instead of the repeated per-field list; field texts stay under the fields. */
.woocommerce-checkout .woocommerce .woocommerce-error li[hidden]{display:none!important}
/* Page after the order: the totals no longer share the narrow product-total column, so amounts and labels stay whole. */
.woocommerce-order-received .woocommerce table.shop_table.order_details{display:block;border:0}
.woocommerce-order-received .woocommerce table.order_details :is(thead,tbody,tfoot){display:block}
.woocommerce-order-received .woocommerce table.order_details tr{display:flex;justify-content:space-between;align-items:baseline;gap:0 24px;border-top:1px solid var(--linia)}
.woocommerce-order-received .woocommerce table.order_details thead tr{border-top:0}
.woocommerce-order-received .woocommerce table.order_details :is(th,td){display:block;border:0;padding:14px 0}
.woocommerce-order-received .woocommerce table.order_details :is(th.product-name,td.product-name){flex:1 1 auto;min-width:0}
.woocommerce-order-received .woocommerce table.order_details :is(th.product-total,td.product-total){flex:0 0 auto;text-align:right;white-space:nowrap}
.woocommerce-order-received .woocommerce table.order_details tfoot th{flex:0 0 auto;max-width:45%}
.woocommerce-order-received .woocommerce table.order_details tfoot td{flex:0 1 auto;min-width:0;text-align:right;overflow-wrap:break-word}
.proporia-order-item{margin-top:8px;font-size:14px;line-height:1.55;color:var(--fg-2)}
.proporia-order-item p{margin:0 0 4px;max-width:62ch}
.proporia-next-steps{margin:0 0 var(--sekcja-s,48px);padding:18px 20px;border-left:2px solid var(--linia-ui)}
.proporia-next-steps h2{font:500 var(--t-h3,22px)/1.3 var(--sans);margin:0 0 8px}
.proporia-next-steps p{margin:0;max-width:62ch}
.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-columns--addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-column{float:none;width:auto;max-width:none;margin:0}
.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-columns--addresses::before,.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-columns--addresses::after{display:none}
@media(max-width:600px){.woocommerce-order-received .woocommerce .woocommerce-customer-details .woocommerce-columns--addresses{grid-template-columns:minmax(0,1fr);gap:28px}.woocommerce-order-received .woocommerce table.order_details tfoot th{max-width:50%}}
/* Desktop: the error sentence opens the left column above the fields, not under the order button on the right. */
@media(min-width:901px){.woocommerce-checkout .woocommerce form.checkout>.woocommerce-NoticeGroup-checkout{grid-column:1;grid-row:1;margin-bottom:20px}.woocommerce-checkout .woocommerce form.checkout:has(>.woocommerce-NoticeGroup-checkout) #customer_details{grid-row:2/span 4}
/* The right column moves down with the fields as one block; in row 1 the error height would separate the heading from the summary. */
.woocommerce-checkout .woocommerce form.checkout:has(>.woocommerce-NoticeGroup-checkout) #order_review_heading{grid-row:2}.woocommerce-checkout .woocommerce form.checkout:has(>.woocommerce-NoticeGroup-checkout) .proporia-checkout-back{grid-row:3}.woocommerce-checkout .woocommerce form.checkout:has(>.woocommerce-NoticeGroup-checkout) #order_review{grid-row:4}}
