html:has(.eh-purchase) { scroll-behavior:auto; }
body:has(.eh-purchase) :is(.entry-header, .elementor-location-header, #masthead) { display:none; }
.eh-purchase { --blue:#0075A8; --sky:#00AEEF; --leaf:#73BF44; --ink:#203438; --edge:#d6e0e2; box-sizing:border-box; max-width:76rem; margin:auto; padding:0 clamp(12px,3vw,42px) 5rem; color:var(--ink); }
.eh-purchase *, .eh-purchase *::before { box-sizing:border-box; }
.eh-purchase [hidden], .eh-purchase .eh-sticky { display:none !important; }
.eh-purchase a { color:var(--blue); text-underline-offset:.16em; }
.eh-purchase :focus-visible { outline:3px solid var(--blue); outline-offset:3px; }
.eh-mast { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.2rem 0; border-bottom:1px solid var(--edge); }
.eh-mast img { width:clamp(90px,14vw,150px); height:auto; }
.eh-mast .eh-brand { font-size:1.25rem; font-weight:700; }
.eh-mast ol { display:flex; flex-wrap:wrap; gap:.3em .85em; margin:0; padding:0; list-style:none; font-size:.85rem; }
.eh-mast [aria-current] { color:var(--blue); text-decoration:underline; font-weight:700; }
.eh-back { display:inline-block; padding:.75rem 0; }
.eh-purchase h1 { margin:1.25rem 0; font-size:clamp(1.7rem,3vw,2.4rem); line-height:1.15; }
.eh-buyer { border:0; margin:0 0 1rem; padding:0; }
.eh-buyer legend { font-weight:600; }
.eh-buyer label, .eh-purchase .woocommerce-shipping-methods label { display:inline-flex; align-items:center; min-height:44px; margin-right:1rem; cursor:pointer; }
.eh-buyer input, .eh-purchase input[type=radio], .eh-purchase input[type=checkbox] { accent-color:var(--blue); }
.eh-purchase .woocommerce:has(> .woocommerce-cart-form) { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(19rem,1fr); align-items:start; gap:1rem 1.5rem; }
.eh-purchase .woocommerce > * { min-width:0; }
.eh-purchase .woocommerce > .woocommerce-notices-wrapper, .eh-purchase .woocommerce > .woocommerce-message { grid-column:1/-1; }
.eh-purchase .woocommerce-cart-form { grid-column:1; }
.eh-purchase .cart-collaterals { grid-column:2; }
.eh-purchase .woocommerce:has(> .woocommerce-cart-form)::before, .eh-purchase .woocommerce:has(> .woocommerce-cart-form)::after, .eh-purchase form.checkout::before, .eh-purchase form.checkout::after { display:none; }
.eh-purchase .cart_totals, .eh-purchase .cart-collaterals, .eh-purchase #customer_details, .eh-purchase #order_review, .eh-purchase #order_review_heading { width:100% !important; float:none !important; }
.eh-purchase .cart_totals { padding:clamp(14px,2vw,24px); background:#f4f8f8; border:1px solid var(--edge); border-radius:10px; }
.eh-purchase .cart_totals h2 { font-size:1.2rem; }
.eh-purchase form.checkout { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(19rem,1fr); grid-template-areas:'buyer buyer' 'data title' 'data review'; align-items:start; gap:0 1.5rem; }
.eh-purchase form.checkout > .eh-buyer { grid-area:buyer; }
.eh-purchase #customer_details { grid-area:data; }
.eh-purchase #customer_details > :is(.col-1,.col-2) { width:100%; float:none; }
.eh-purchase #order_review_heading { grid-area:title; }
.eh-purchase #order_review { grid-area:review; }
.eh-purchase #order_review .product-name { overflow-wrap:anywhere; }
.eh-order-image { float:left; margin:0 .55rem .25rem 0; }
.eh-order-image img { width:42px; height:42px; object-fit:contain; }
.eh-purchase.eh-business :is(#billing_firma_field,#billing_nip_field) .optional, .eh-purchase:not(.eh-business) .eh-required { display:none; }
.eh-purchase .eh-finance td { text-align:left; font-size:.9rem; }
.eh-finance-panel { border-inline-start:3px solid #73BF44; padding-inline-start:.7rem; text-align:left; }
.eh-finance-panel :is(strong,span,small) { display:block; }
.eh-term { display:block; margin:.1rem 0 .45rem; line-height:1.4; }
.eh-purchase .wc-proceed-to-checkout .checkout-button, .eh-purchase #place_order, .eh-sticky .eh-action { background:var(--blue); color:white; padding:.8rem 1rem; border-radius:6px; font-weight:600; }
.eh-purchase .product-remove a.remove { display:inline-grid; place-items:center; min-width:44px; min-height:44px; }
.eh-purchase .product-remove a.eh-remove-text { width:auto; height:auto; border:0; border-radius:0; padding:0 .25rem; font-size:.82rem; text-decoration:underline; color:var(--blue) !important; background:transparent; }
.eh-remove-text::before, .eh-remove-text::after { display:none !important; }
.eh-line-discount { display:block; white-space:normal; font-weight:650; color:#2b5b39; }
.eh-purchase #payment { scroll-margin-block:1rem; }
.eh-purchase .woocommerce-cart-form .coupon { display:flex; flex-wrap:wrap; gap:.5rem; }
.eh-purchase .woocommerce-cart-form .coupon :is(input,button) { min-height:44px; }
.eh-purchase .woocommerce-shipping-methods li { padding:.2rem 0; }
.eh-purchase .woocommerce-shipping-methods label { display:inline; margin:0; }
.eh-purchase.eh-native-delivery .eh-delivery-method-time { display:none; }
.eh-purchase .woocommerce-cart-form .coupon button { background:#f4f8f8; color:var(--blue); border:1px solid var(--blue); }
.eh-purchase .woocommerce-cart-form.processing a.remove { opacity:.45; cursor:progress; }
.eh-updating-shipping .cart_totals.processing .wc-proceed-to-checkout { position:relative; z-index:1020; }
.eh-updating-shipping .cart_totals.processing .checkout-button { cursor:progress; }
.eh-shipping-status:not(:empty) { margin:0 0 .65rem; line-height:1.45; }
.eh-purchase .shop_table .product-total .amount { white-space:nowrap; }
@media(min-width:801px) {
    .eh-purchase .woocommerce-cart-form thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
    .eh-purchase .woocommerce-cart-form .shop_table, .eh-purchase .woocommerce-cart-form tbody { display:block; width:100%; border:0; }
    .eh-purchase .woocommerce-cart-form .cart_item { display:grid; grid-template-columns:74px minmax(0,1fr) auto; grid-template-areas:'photo name total' 'photo quantity remove'; gap:.35rem .75rem; align-items:center; padding:1rem 0; border-bottom:1px solid var(--edge); }
    .eh-purchase .woocommerce-cart-form .cart_item td { border:0; padding:0; min-width:0; width:auto; }
    .eh-purchase .woocommerce-cart-form .product-thumbnail { grid-area:photo; }
    .eh-purchase .woocommerce-cart-form .product-thumbnail img { width:74px; }
    .eh-purchase .woocommerce-cart-form .product-name { grid-area:name; }
    .eh-purchase .woocommerce-cart-form .product-quantity { grid-area:quantity; }
    .eh-purchase .woocommerce-cart-form .product-subtotal { grid-area:total; white-space:nowrap; text-align:right; }
    .eh-purchase .woocommerce-cart-form .product-remove { grid-area:remove; justify-self:end; }
    .eh-purchase .woocommerce-cart-form .product-price { display:none; }
}
@media(max-width:800px) {
    .eh-purchase form.checkout, .eh-purchase .woocommerce:has(> .woocommerce-cart-form) { display:block; }
    .eh-mast { gap:.4rem; }
    .eh-mast ol { gap:.15rem .4rem; font-size:clamp(.65rem,2.6vw,.8rem); }
    .eh-purchase .shop_table_responsive .woocommerce-shipping-totals td::before { display:block; float:none; text-align:left; margin-bottom:.55rem; }
    .eh-purchase .shop_table_responsive .woocommerce-shipping-totals td, .eh-purchase .woocommerce-shipping-methods { text-align:left !important; }
    .eh-purchase .woocommerce-shipping-methods li { display:grid; grid-template-columns:1.3rem 1fr; align-items:baseline; gap:.25rem; }
    .eh-purchase .woocommerce-shipping-methods label { grid-column:2; min-height:44px; align-content:center; }
    .eh-purchase .woocommerce-shipping-methods li > .eh-term { grid-column:2; }
    .eh-purchase .woocommerce-shipping-methods li > :not(input,label,.eh-term) { grid-column:1/-1; }
    .eh-purchase .woocommerce-cart-form .cart_item { display:grid; grid-template-columns:52px minmax(0,1fr) auto; align-items:center; gap:4px 8px; padding:.6rem 0; border-bottom:1px solid var(--edge); }
    .eh-purchase .woocommerce-cart-form .cart_item td { padding:.2rem; width:auto; min-width:0; border:0; text-align:left !important; }
    .eh-purchase .woocommerce-cart-form .cart_item td::before { display:none; }
    .eh-purchase .woocommerce-cart-form .product-thumbnail { display:block !important; grid-row:1/3; grid-column:1; }
    .eh-purchase .product-thumbnail img { width:48px; }
    .eh-purchase .product-name { grid-row:1; grid-column:2; }
    .eh-purchase .product-quantity { grid-row:2; grid-column:2; }
    .eh-purchase .product-subtotal { grid-row:1; grid-column:3; white-space:nowrap; }
    .eh-purchase .product-remove { grid-row:2; grid-column:3; justify-self:end; position:static !important; }
    .eh-purchase .woocommerce-cart-form .product-price { display:none; }
    .eh-purchase .eh-sticky:not([hidden]) { display:flex !important; position:fixed; z-index:20; inset:auto 0 0; align-items:center; justify-content:space-between; gap:.4rem; padding:.5rem max(.7rem,env(safe-area-inset-right)) max(.5rem,env(safe-area-inset-bottom)) max(.7rem,env(safe-area-inset-left)); background:white; border-top:1px solid var(--edge); }
    .eh-sticky small,.eh-sticky strong { display:block; }
    .eh-sticky a { text-align:center; text-decoration:none; }
    .eh-purchase .woocommerce-cart-form .cart_item > td { width:auto !important; max-width:none; }
    .eh-purchase .woocommerce-cart-form .cart_item .product-name { grid-column:2 / -1; }
    .eh-purchase .woocommerce-cart-form .cart_item .product-subtotal { grid-column:3; grid-row:2; justify-self:end; }
    .eh-purchase .woocommerce-cart-form .cart_item .product-remove { grid-row:3; }
    .eh-purchase .cart_totals .shop_table_responsive tr > td { width:100% !important; }
    .eh-purchase .cart_totals .shop_table_responsive :is(.cart-subtotal,.order-total) td {
        display:flex; align-items:baseline; justify-content:space-between; gap:.75rem;
    }
    .eh-purchase .cart_totals .amount { white-space:nowrap; }
    .eh-purchase ul.woocommerce-shipping-methods li {
        grid-template-columns:18px minmax(0,1fr); align-items:start; column-gap:.5rem;
        padding-inline:0 !important; text-indent:0 !important;
    }
    .eh-purchase ul.woocommerce-shipping-methods li input.shipping_method {
        grid-column:1; grid-row:1; width:16px; height:16px; margin:.25rem 0 0 !important;
    }
    .eh-purchase ul.woocommerce-shipping-methods li :is(label,.eh-term) {
        text-indent:0; text-align:left !important; margin-inline:0;
    }
    .eh-purchase ul.woocommerce-shipping-methods li label { min-height:0; padding-block:.1rem .25rem; }
    body:has(.eh-sticky:not([hidden])) :is(.cky-btn-revisit-wrapper,#ast-scroll-top) {
        bottom:calc(4.5rem + env(safe-area-inset-bottom)) !important;
    }
}
@media(max-width:600px) {
    /* Astra zapewnia zewnętrzny odstęp. Podsumowanie wykorzystuje pozostałą szerokość. */
    .ast-container .eh-purchase { padding-inline:0; }
    .woocommerce-checkout .eh-purchase form.checkout :is(#order_review,#order_review_heading) {
        padding-inline:14px !important;
    }
}
/* Cena zajmuje tyle miejsca, ile wymaga kwota. Reszta wiersza należy do nazwy i wariantu. */
.eh-purchase #order_review .woocommerce-checkout-review-order-table { table-layout:fixed; width:100%; }
.eh-purchase #order_review .shop_table :is(thead,tbody) tr {
        display:flex; align-items:start; gap:10px;
}
.eh-purchase #order_review .shop_table tr::before, .eh-purchase #order_review .shop_table tr::after { display:none; }
.eh-purchase #order_review .shop_table :is(thead,tbody) :is(.product-name,.product-total) {
        display:block !important; min-width:0; width:auto !important; padding:8px 0;
}
.eh-purchase #order_review .product-name { flex:1 1 0; }
.eh-purchase #order_review .product-total { flex:0 0 auto; text-align:end; }
.eh-purchase #order_review .ast-product-image { display:inline; }
.eh-purchase #order_review .eh-order-image { float:none; display:inline; margin:0; }
.eh-purchase #order_review .eh-order-image img { width:28px; height:28px; vertical-align:middle; margin-inline:3px; }
.eh-purchase #order_review .woocommerce-shipping-totals { display:block; }
.eh-purchase #order_review .woocommerce-shipping-totals :is(th,td),
.eh-purchase #order_review .eh-finance td { display:block; width:100% !important; padding:6px 0; }
.eh-purchase #order_review :is(.cart-subtotal,.order-total) :is(th,td) { width:auto !important; padding:10px 0; }
.eh-purchase #order_review :is(.cart-subtotal,.order-total) { justify-content:space-between; gap:8px; }
.eh-purchase #place_order, .eh-purchase .wc-proceed-to-checkout .checkout-button, .eh-sticky .eh-action { min-height:46px; }
.eh-purchase form.checkout { grid-template-rows:auto min-content 1fr; }
.eh-purchase #order_review_heading { margin-bottom:0 !important; border-radius:10px 10px 0 0; }
.eh-purchase #order_review { margin-top:0 !important; border-radius:0 0 10px 10px; }
.eh-purchase[data-step="cart"] :is(.woocommerce-shipping-calculator,.woocommerce-shipping-destination) { display:none !important; }
.eh-purchase .cart_totals > .eh-finance-panel { margin:.75rem 0; }
.eh-purchase #order_review .eh-finance .eh-finance-panel { text-align:left; }
.eh-purchase .cart_totals:has(.eh-finance-panel a[href*="/symulator/"]) :is(button.eraty-evaluate-button,.wc-proceed-to-checkout a:has(img[src*="eraty" i])) { display:none !important; }
.eh-mini-cart { --dialog-blue:#0075A8; color:#203438; background:#fff; border:1px solid #d6e0e2; padding:1.35rem; box-shadow:0 12px 48px #18374238; }
.eh-mini-actions a { display:block; min-height:44px; text-align:center; margin-top:.55rem; padding:.55rem .8rem; }
.eh-mini-actions .eh-mini-primary { width:100%; border:0; border-radius:6px; background:var(--dialog-blue); color:white; font-weight:650; }
.eh-mini-cart::backdrop { background:#18374266; }
.eh-dialog-close { display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; border-radius:50%; font:25px/1 Arial,sans-serif; color:#203438; background:#eef4f4; }
.eh-mini-cart-ready .elementor-menu-cart__container { display:none !important; }
.eh-mini-cart { inset:0 0 0 auto; margin:0 0 0 auto; width:min(440px,100%); max-width:none; max-height:100dvh; height:100dvh; overflow:auto; }
.eh-mini-header, .eh-mini-total { display:flex; align-items:center; justify-content:space-between; gap:.65rem; }
.eh-mini-header h2 { margin:0; font-size:1.5rem; }
.eh-mini-products { list-style:none; margin:1rem 0; padding:0; }
.eh-mini-products li { display:grid; grid-template-columns:58px minmax(0,1fr) auto; align-items:center; gap:.7rem; padding:.65rem 0; border-bottom:1px solid #d6e0e2; }
.eh-mini-products img { width:58px; max-height:65px; object-fit:contain; }
.eh-mini-products li strong { display:block; line-height:1.25; overflow-wrap:anywhere; }
.eh-mini-products li > span { white-space:nowrap; }
.eh-mini-total { font-weight:650; margin-bottom:.2rem; }
.eh-mini-actions { margin-top:1rem; }
.eh-mini-finance { margin-top:.8rem; }
@media(max-width:600px) {
    .eh-mini-products li { grid-template-columns:46px minmax(0,1fr); }
    .eh-mini-products li > span { grid-column:2; }
}
@media(min-width:801px) and (max-width:999px) {
    .eh-purchase form.checkout { display:block; }
}
@media(max-width:800px) {
    .eh-purchase #payment .form-row:has(input:is(#terms,#privacy_policy)) { margin:0; padding:0; }
    .eh-purchase #payment label:has(input:is(#terms,#privacy_policy)) {
        display:block; position:relative; min-height:44px; margin:0; padding:10px 0 8px 27px; line-height:1.5;
    }
    .eh-purchase #payment label input:is(#terms,#privacy_policy) {
        position:absolute; inset-inline-start:1px; top:12px; margin:0; width:17px; height:17px;
    }
}

.eh-premium-control { margin-bottom:.75rem; }
.eh-offer-reopen { margin-inline-start:.75rem; }
.eh-offer-status:not(:empty) { margin-top:.5rem; }
.eh-offer, .eh-mini-cart { --dialog-blue:#0075A8; color:#203438; background:#fff; border:1px solid #d6e0e2; padding:1.35rem; box-shadow:0 12px 48px #18374238; }
.eh-offer { width:min(440px,calc(100% - 28px)); max-width:none; border-radius:.8rem; border-top:4px solid #73BF44; }
.eh-offer h2 { font-size:clamp(1.48rem,5vw,1.9rem); margin:0 2.3rem .6rem 0; line-height:1.18; }
.eh-offer p { margin:.6rem 0; }
.eh-offer-lowest small { display:block; line-height:1.4; margin:.45rem 0; }
.eh-offer :is(.eh-offer-claim,.eh-offer-leave), .eh-mini-actions a { display:block; min-height:44px; text-align:center; margin-top:.55rem; padding:.55rem .8rem; }
.eh-offer .eh-offer-claim, .eh-mini-actions .eh-mini-primary { width:100%; border:0; border-radius:6px; background:var(--dialog-blue); color:white; font-weight:650; }
.eh-offer .eh-offer-leave { width:100%; border:0; background:transparent; color:var(--dialog-blue); text-decoration:underline; }
.eh-offer .eh-offer-leave[hidden] { display:none; }
.eh-offer::backdrop, .eh-mini-cart::backdrop { background:#18374266; }
.eh-offer .eh-dialog-close { position:absolute; inset:.65rem .65rem auto auto; }
@media(max-width:600px) { .eh-offer { margin:auto auto .6rem; } }
