/* Cart and classic checkout share the store's existing colours and typography. */
body:is(.woocommerce-cart,.woocommerce-checkout) .dz-page>.wp-block-post-title,
body:is(.woocommerce-cart,.woocommerce-checkout) .dz-page>.wp-block-post-content,
body:is(.woocommerce-cart,.woocommerce-checkout) .dz-page .wp-block-post-content>.woocommerce,
body.woocommerce-cart .dz-page .wp-block-woocommerce-cart{max-width:1100px;width:100%}
body:is(.woocommerce-cart,.woocommerce-checkout) .dz-page>.wp-block-post-title{margin-bottom:24px}
body:is(.woocommerce-cart,.woocommerce-checkout) .dz-header-cart-label small{display:none}
.dz-checkout-header{border-bottom:1px solid #ececec;padding-block:22px}
.dz-checkout-header>.wp-block-group{max-width:1100px;margin-inline:auto;gap:24px}
.dz-checkout-header .dz-original-logo{margin:0}
.dz-checkout-header .dz-checkout-back{margin:0;font-size:14px;font-weight:700}
.dz-checkout-header .dz-checkout-back a{color:#c43d32;text-decoration:none}
.dz-checkout-header .dz-checkout-back a:hover{text-decoration:underline}
body:is(.woocommerce-cart,.woocommerce-checkout) .dz-dispatch-notice{max-width:none;margin:0 0 24px;padding:14px 18px;border:1px solid #e1e9bc;border-radius:9px;background:#f7faeb;color:#3d4625;font-size:14px;line-height:1.5}

/* Keep the product list spacious and the complete total next to it. */
.woocommerce-cart .wc-block-cart{padding:0}
.woocommerce-cart .wc-block-cart__main{min-width:0}
.woocommerce-cart .wc-block-cart__sidebar{min-width:0;background:#fafafa;border:1px solid #e6e6e6;border-radius:12px;padding:24px}
.woocommerce-cart .wc-block-cart .wc-block-cart__totals-title{padding:0 0 18px;font-size:20px;font-weight:700;line-height:1.3;text-transform:none}
.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__row td{padding-block:24px;border-bottom:1px solid #ececec}
.woocommerce-cart .wc-block-cart-item__image img{border-radius:8px;object-fit:contain}
.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name{font-size:16px;font-weight:700;line-height:1.5;text-decoration:none}
.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-metadata{font-size:13px;line-height:1.55;color:#666}
.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-metadata__description{display:none}
.woocommerce-cart .wc-block-cart-item__prices{font-size:14px}
.woocommerce-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper{font-size:16px;font-weight:700;white-space:nowrap}
.woocommerce-cart .wc-block-components-quantity-selector{min-height:42px;border-color:#d6d6d6;border-radius:7px}
.woocommerce-cart .wc-block-components-quantity-selector input{font:inherit}
.woocommerce-cart .wc-block-cart-item__remove-link{margin-top:8px;color:#666;font-size:12px}
.woocommerce-cart .wc-block-components-totals-item{font-size:14px;line-height:1.6}
.woocommerce-cart .wc-block-components-totals-footer-item{padding-block:20px;font-size:19px;font-weight:700}
.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label{max-width:65%;padding-right:16px;font-size:17px;line-height:1.4}
.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{white-space:nowrap;flex-shrink:0}
.woocommerce-cart .wc-block-components-radio-control__label{font-size:14px;line-height:1.5}
.woocommerce-cart .wc-block-cart__submit-container{padding-top:8px}
.woocommerce-cart .wc-block-cart__submit{min-height:60px}
.woocommerce-cart .wc-block-cart__submit-button{width:100%;min-height:52px;background:#f04b3e;color:#fff;border-radius:28px;font-size:15px;font-weight:700;text-decoration:none}
.woocommerce-cart .wc-block-cart__submit-button:hover{background:#d83b30;color:#fff}
.woocommerce-cart .wc-block-components-totals-coupon__button{font-size:13px;text-decoration:underline}

/* Classic checkout is required by the courier's collection-point selector. */
.woocommerce-checkout .woocommerce{font-size:15px;line-height:1.6}
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info{margin-bottom:24px;border-top-color:#8fc4d5;border-radius:8px;background:#f4f9fb}
.woocommerce-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);grid-template-rows:min-content 1fr;column-gap:32px;row-gap:0;align-items:start}
.woocommerce-checkout form.checkout:has(>.woocommerce-NoticeGroup){grid-template-rows:min-content min-content 1fr}
.woocommerce-checkout form.checkout>.woocommerce-NoticeGroup{grid-column:1/-1;grid-row:1}
.woocommerce-checkout form.checkout:has(>.woocommerce-NoticeGroup) #customer_details{grid-row:2/span 2}
.woocommerce-checkout form.checkout:has(>.woocommerce-NoticeGroup) #order_review_heading{grid-row:2}
.woocommerce-checkout form.checkout:has(>.woocommerce-NoticeGroup) #order_review{grid-row:3}
.woocommerce-checkout form.checkout #customer_details{grid-column:1;grid-row:1/span 2;width:100%;min-width:0;padding:28px;border:1px solid #e6e6e6;border-radius:12px;background:#fff}
.woocommerce-checkout form.checkout #customer_details>.col-1,
.woocommerce-checkout form.checkout #customer_details>.col-2{float:none;width:100%;min-width:0}
.woocommerce-checkout form.checkout #customer_details>.col-2{margin-top:26px}
.woocommerce-checkout .woocommerce-billing-fields>h3,
.woocommerce-checkout .woocommerce-additional-fields>h3{margin:0 0 22px;font-size:21px;line-height:1.3}
.woocommerce-checkout #ship-to-different-address{font-size:16px;line-height:1.5;margin:0 0 20px}
.woocommerce-checkout #ship-to-different-address label{display:flex;align-items:center;gap:10px;cursor:pointer}
.woocommerce-checkout .woocommerce form .form-row{padding:0;margin:0 0 18px}
.woocommerce-checkout .woocommerce form .form-row label{font-size:14px;font-weight:500;line-height:1.5;margin-bottom:7px}
.woocommerce-checkout .woocommerce form .form-row input.input-text,
.woocommerce-checkout .woocommerce form .form-row textarea,
.woocommerce-checkout .woocommerce form .form-row select{width:100%;min-height:48px;padding:11px 13px;border:1px solid #ccc;border-radius:7px;background:#fff;color:#252525;font:inherit;line-height:1.5;box-shadow:none}
.woocommerce-checkout .woocommerce form .form-row textarea{min-height:110px;resize:vertical}
.woocommerce-checkout .woocommerce form .form-row input.input-text:focus,
.woocommerce-checkout .woocommerce form .form-row textarea:focus{border-color:#797dda;outline:2px solid #797dda33;outline-offset:1px}
.woocommerce-checkout .select2-container .select2-selection--single{height:48px;border:1px solid #ccc;border-radius:7px}
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered{padding:9px 13px;line-height:28px}
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow{height:46px;right:8px}
.woocommerce-checkout input[type=checkbox],
.woocommerce-checkout input[type=radio]{accent-color:#f04b3e;width:18px;height:18px;vertical-align:middle;flex-shrink:0}
.woocommerce-checkout #order_review_heading{grid-column:2;grid-row:1;margin:0;padding:26px 24px 18px;border:1px solid #e6e6e6;border-bottom:0;border-radius:12px 12px 0 0;background:#fafafa;font-size:21px;line-height:1.3}
.woocommerce-checkout #order_review{grid-column:2;grid-row:2;min-width:0;padding:0 24px 24px;border:1px solid #e6e6e6;border-top:0;border-radius:0 0 12px 12px;background:#fafafa}
.woocommerce-checkout table.woocommerce-checkout-review-order-table{display:block;width:100%;border:0;border-collapse:collapse;margin:0 0 22px;font-size:14px}
.woocommerce-checkout table.woocommerce-checkout-review-order-table>thead,
.woocommerce-checkout table.woocommerce-checkout-review-order-table>tbody,
.woocommerce-checkout table.woocommerce-checkout-review-order-table>tfoot{display:block;width:100%}
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr{display:grid;grid-template-columns:minmax(0,55fr) minmax(0,45fr);width:100%}
.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td{display:block;min-width:0;padding:14px 0;border-top:1px solid #e3e3e3;vertical-align:top;line-height:1.6;text-align:left;overflow-wrap:break-word}
.woocommerce-checkout table.woocommerce-checkout-review-order-table [colspan="2"]{grid-column:1/-1}
.woocommerce-checkout table.woocommerce-checkout-review-order-table thead th{border-top:0;color:#666;font-size:12px;font-weight:500;text-transform:uppercase;padding-top:0}
.woocommerce-checkout table.woocommerce-checkout-review-order-table .product-name{width:auto;padding-right:16px}
.woocommerce-checkout table.woocommerce-checkout-review-order-table .product-total{text-align:right}
.woocommerce-checkout table.woocommerce-checkout-review-order-table .amount{white-space:nowrap}
.woocommerce-checkout table.woocommerce-checkout-review-order-table .cart-subtotal td,
.woocommerce-checkout table.woocommerce-checkout-review-order-table .order-total td{text-align:right}
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals{grid-template-columns:minmax(0,1fr)}
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals>th{padding-bottom:10px}
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals>td{width:100%;padding-top:0;border-top:0}
.woocommerce-checkout .woocommerce ul#shipping_method{margin:0;list-style:none}
.woocommerce-checkout .woocommerce ul#shipping_method li{margin:0 0 12px;line-height:1.5}
.woocommerce-checkout .woocommerce ul#shipping_method li:last-child{margin-bottom:0}
.woocommerce-checkout .woocommerce ul#shipping_method li label{font-size:14px;font-weight:400}
.woocommerce-checkout .woocommerce ul#shipping_method li input{margin:2px 6px 0 0}
.woocommerce-checkout :is(#blpaczka-map,#blpaczka_pudo_container){margin-top:12px;max-width:100%}
.woocommerce-checkout :is(#blpaczka-map,#blpaczka_pudo_container) .blpaczka-point-modal-btn{max-width:100%;min-height:44px;padding:10px 16px;border:1px solid #797dda;border-radius:22px;background:#fff;color:#5559ac;font:inherit;font-size:13px;line-height:1.4;white-space:normal;cursor:pointer}
.woocommerce-checkout :is(#blpaczka-map,#blpaczka_pudo_container) .blpaczka-point-modal-btn:hover{background:#f1f1fc}
.woocommerce-checkout table.woocommerce-checkout-review-order-table .order-total{font-size:19px}
.woocommerce-checkout #payment{border:1px solid #e0e0e0;border-radius:9px;background:#fff}
.woocommerce-checkout #payment ul.payment_methods{padding:18px;border-bottom:1px solid #e5e5e5}
.woocommerce-checkout #payment ul.payment_methods li{line-height:1.6}
.woocommerce-checkout #payment ul.payment_methods li>label{font-size:15px;font-weight:700}
.woocommerce-checkout #payment div.payment_box{padding:14px;margin:14px 0 0;border-radius:6px;background:#f4f4f4;color:#444;font-size:13px;line-height:1.65}
.woocommerce-checkout #payment div.payment_box:before{border-bottom-color:#f4f4f4}
.woocommerce-checkout #payment div.form-row{padding:18px;margin:0}
.woocommerce-checkout #payment .woocommerce-privacy-policy-text,
.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper{font-size:12px;line-height:1.7;color:#555}
.woocommerce-checkout #payment .woocommerce-privacy-policy-text p{margin:0 0 16px}
.woocommerce-checkout #payment .form-row.validate-required{padding:0;margin-bottom:16px}
.woocommerce-checkout #payment .woocommerce-form__label-for-checkbox{font-size:13px;line-height:1.65;font-weight:400}
.woocommerce-checkout #place_order{float:none;width:100%;min-height:52px;margin:10px 0 0;padding:14px 18px;border-radius:28px;background:#f04b3e;color:#fff;font-size:15px;line-height:1.5;font-weight:700}
.woocommerce-checkout #place_order:hover{background:#d83b30}
.woocommerce-checkout .woocommerce-order{max-width:900px;margin-inline:auto}
.woocommerce-checkout .woocommerce-order .woocommerce-notice--success{padding:20px;border:1px solid #e1e9bc;border-radius:9px;background:#f7faeb;color:#3d4625}
.woocommerce-checkout .woocommerce-order ul.order_details{display:flex;flex-wrap:wrap;gap:20px;margin:26px 0;padding:0}
.woocommerce-checkout .woocommerce-order ul.order_details li{float:none;margin:0;padding-right:20px;line-height:1.7}
.woocommerce-checkout .woocommerce-order h2{font-size:23px;line-height:1.4}

@media(min-width:783px){
 .woocommerce-cart .wc-block-cart__submit-container--sticky{display:flex}
}
@media(min-width:960px){
 .woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:32px;align-items:start}
 .woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout>.wc-block-cart__main{width:100%;padding:0}
 .woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout>.wc-block-cart__sidebar{width:100%;margin:0}
}
@media(max-width:959px){
 .woocommerce-checkout form.checkout{display:block}
 .woocommerce-checkout form.checkout #customer_details{padding:24px;margin-bottom:26px}
 .woocommerce-checkout #order_review_heading{padding:24px 22px 18px}
 .woocommerce-checkout #order_review{padding:0 22px 22px}
 .woocommerce-cart .wc-block-cart__sidebar{padding:22px}
}
@media(max-width:600px){
 body:is(.woocommerce-cart,.woocommerce-checkout) .dz-page{padding-top:22px}
 body:is(.woocommerce-cart,.woocommerce-checkout) .dz-dispatch-notice{padding:12px 14px;font-size:13px}
 .woocommerce-cart .wc-block-cart__sidebar{padding:18px 14px}
 .woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name{font-size:14px;line-height:1.45}
 .woocommerce-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper{font-size:14px}
 .woocommerce-checkout form.checkout #customer_details{padding:20px 16px}
 .woocommerce-checkout .woocommerce form .form-row-first,
 .woocommerce-checkout .woocommerce form .form-row-last{float:none;width:100%}
 .woocommerce-checkout #order_review_heading{padding:20px 16px 16px}
 .woocommerce-checkout #order_review{padding:0 16px 16px}
 .woocommerce-checkout #payment ul.payment_methods,
 .woocommerce-checkout #payment div.form-row{padding:14px}
 .woocommerce-checkout table.woocommerce-checkout-review-order-table .product-name{padding-right:12px}
 .dz-checkout-header .dz-original-logo,.dz-checkout-header .dz-original-logo img{width:140px}
 .dz-checkout-header .dz-checkout-back{font-size:12px}
 .woocommerce-checkout .woocommerce form .form-row input.input-text,
 .woocommerce-checkout .woocommerce form .form-row textarea{font-size:16px}
}
