/* SMART Drobne (1.39.0): zwarta kasa - trzy kolumny (Dane | Płatność | Zamówienie), zwarty Tpay. Tylko wygląd. */

/* ---------- Tpay: zwarte (każda szerokość) ---------- */
body.sd-checkout #payment .payment_box.payment_method_transferuj>p{display:none}
body.sd-checkout #payment .payment_method_transferuj .payment_box{padding:10px 0 0 !important;background:none !important;border:0 !important}
body.sd-checkout #payment .tpay-header-wrapper{display:none !important}
body.sd-checkout #payment .tpay-insidebg{background:none !important;box-shadow:none !important;border:0 !important;padding:0 !important;margin:0 0 10px !important}
body.sd-checkout #payment .tpay-panel-inside-content{padding:0 !important}

/* kod BLIK: jedna karta z logo i polem obok siebie */
body.sd-checkout #payment #main-payment .tpay-channel-form-wrapper{display:grid;grid-template-columns:64px minmax(0,1fr);gap:6px 12px;align-items:center;padding:12px 14px;border:1px solid #dbe8cf;border-radius:14px;background:#fff}
body.sd-checkout #payment #main-payment .tpay-channel-form-wrapper>p{grid-column:1 / -1;margin:0;color:#587063;font-size:12.5px;line-height:1.45;text-align:left}
body.sd-checkout #payment #main-payment .tpay-channel-form-wrapper>p+p{display:none}
body.sd-checkout #payment #main-payment .tpay-channel-form-wrapper>center{display:block;margin:0;text-align:left;height:auto !important}
body.sd-checkout #payment #main-payment .tpay-channel-form-wrapper>center img{display:block;width:60px !important;height:auto !important;max-height:none !important;border-radius:8px}
body.sd-checkout #payment #main-payment .tpay-row{margin:0 !important}
body.sd-checkout #payment #main-payment .tpay-row center{display:block;text-align:left}
body.sd-checkout #payment #main-payment .tpay-input-wrapper{max-width:none !important;width:100% !important;margin:0 !important}
body.sd-checkout #payment #main-payment .tpay-input-label{margin:0 0 3px;color:#294b38;font-size:12px;font-weight:600;text-align:left}
body.sd-checkout #payment #main-payment input.tpay-blik-input{box-sizing:border-box;width:100%;min-height:42px;padding:8px 12px;border:1px solid #cdddcf;border-radius:10px;background:#fff;color:#173d28;font-size:16px;letter-spacing:.35em;text-align:left}

/* banki: małe kafelki, po wyborze zostaje tylko wybrany + "Zmień" */
body.sd-checkout #payment #bank-selection-form{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(82px,1fr));gap:8px;margin:0 !important}
body.sd-checkout #payment #bank-selection-form .tpay-group-holder{width:auto !important;height:50px !important;min-height:0;margin:0 !important;padding:0 !important;border:1.5px solid #e2eadb !important;border-radius:10px !important;box-shadow:none !important;display:flex !important;align-items:center;justify-content:center;cursor:pointer;background:#fff;transition:border-color .15s,box-shadow .15s}
body.sd-checkout #payment #bank-selection-form .tpay-group-holder:hover{border-color:#86ad6d !important}
body.sd-checkout #payment #bank-selection-form .tpay-group-holder.tpay-active{border-color:#17683c !important;box-shadow:0 0 0 3px #d9f26b88 !important}
body.sd-checkout #payment #bank-selection-form .tpay-group-logo-holder{display:flex !important;align-items:center;justify-content:center;width:100% !important;height:100% !important;padding:0 6px !important}
body.sd-checkout #payment #bank-selection-form .tpay-group-logo{max-width:100% !important;max-height:30px !important;width:auto !important;height:auto !important}
body.sd-checkout #payment #bank-selection-form:has(.tpay-active) .tpay-group-holder:not(.tpay-active){display:none !important}
body.sd-checkout #payment #bank-selection-form:has(.tpay-active){grid-template-columns:100px;align-items:center}
body.sd-checkout #payment .sd-zmien-bank{display:none;padding:6px 0;background:none !important;border:0 !important;box-shadow:none !important;color:#0f723c !important;font-size:13px;font-weight:700;text-align:left;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
body.sd-checkout #payment #bank-selection-form:has(.tpay-active)+.sd-zmien-bank{display:inline-block;margin-top:6px}
body.sd-checkout #payment .sd-banki-info{margin:0 0 8px;color:#587063;font-size:12.5px;line-height:1.4}
body.sd-checkout #payment *:has(>#bank-selection-form .tpay-active)>.sd-banki-info{display:none}

/* zgoda Tpay: mniejszy tekst */
body.sd-checkout #payment .payment_method_transferuj .tpay-row{margin:0 !important}
body.sd-checkout #payment .payment_method_transferuj .tpay-amPmCheckbox{padding:0 !important}
body.sd-checkout #payment .payment_method_transferuj .tpay-info-label{font-size:11.5px !important;line-height:1.45 !important;color:#587063 !important}

/* metody płatności: ciaśniejsze karty */
body.sd-checkout #payment ul.payment_methods>li{padding:12px 14px !important;margin:0 0 10px !important}
body.sd-checkout #payment ul.payment_methods>li>label{margin:0 !important}

/* pod przyciskiem: zgody ciaśniej */
body.sd-checkout #payment .form-row.place-order{padding:0 !important;margin:0 !important}
body.sd-checkout #payment .woocommerce-privacy-policy-text,body.sd-checkout #payment .woocommerce-terms-and-conditions-wrapper{font-size:12px;line-height:1.5}
body.sd-checkout #payment .woocommerce-privacy-policy-text p{margin:0 0 8px;font-size:12px;line-height:1.5}
body.sd-checkout #payment #place_order{margin-top:12px !important}

/* ---------- formularz danych: zagęszczony ---------- */
body.sd-checkout #customer_details .woocommerce-billing-fields__field-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;grid-auto-flow:row}
body.sd-checkout #customer_details .woocommerce-billing-fields__field-wrapper>p:empty{display:none}
body.sd-checkout #customer_details .woocommerce-billing-fields__field-wrapper>.form-row{grid-column:1 / -1;float:none !important;width:auto !important;margin:0 0 12px !important;padding:0 !important}
body.sd-checkout #customer_details .woocommerce-billing-fields__field-wrapper>#billing_first_name_field,
body.sd-checkout #customer_details .woocommerce-billing-fields__field-wrapper>#billing_last_name_field,
body.sd-checkout #customer_details .woocommerce-billing-fields__field-wrapper>#billing_postcode_field,
body.sd-checkout #customer_details .woocommerce-billing-fields__field-wrapper>#billing_city_field{grid-column:auto}
/* komunikat pod imieniem i nazwiskiem: własne wypełnienie (reguła wyżej zeruje je wszystkim wierszom formularza) */
body.sd-checkout #customer_details .woocommerce-billing-fields__field-wrapper>.form-row.sd-typ-note{margin:0 0 14px !important;padding:11px 14px 11px 16px !important;background:#f3f9df;border:1px solid #d3e7ad;border-left:4px solid #6fa51f;border-radius:10px;color:#46604f;font-size:12.5px;line-height:1.5;box-sizing:border-box}
body.sd-checkout #customer_details .woocommerce-billing-fields__field-wrapper>#billing_first_name_field{order:10}
body.sd-checkout #customer_details .woocommerce-billing-fields__field-wrapper>#billing_last_name_field{order:11}
body.sd-checkout #customer_details .woocommerce-billing-fields__field-wrapper>.sd-typ-note{order:12}
body.sd-checkout #customer_details .woocommerce-billing-fields__field-wrapper>#billing_tax_no_field{order:20}
body.sd-checkout #customer_details .woocommerce-billing-fields__field-wrapper>#billing_company_field{order:21}
body.sd-checkout #customer_details .woocommerce-billing-fields__field-wrapper>#billing_country_field{order:30}
body.sd-checkout #customer_details .woocommerce-billing-fields__field-wrapper>#billing_address_1_field{order:40}
body.sd-checkout #customer_details .woocommerce-billing-fields__field-wrapper>.sd-adres2-toggle{order:41}
body.sd-checkout #customer_details .woocommerce-billing-fields__field-wrapper>#billing_address_2_field{order:42}
body.sd-checkout #customer_details .woocommerce-billing-fields__field-wrapper>#billing_postcode_field{order:50}
body.sd-checkout #customer_details .woocommerce-billing-fields__field-wrapper>#billing_city_field{order:51}
body.sd-checkout #customer_details .woocommerce-billing-fields__field-wrapper>#billing_email_field{order:60}
body.sd-checkout #customer_details .woocommerce-billing-fields__field-wrapper>#billing_state_field{order:55;grid-column:1 / -1}
body.sd-checkout #customer_details h3{margin:0 0 14px !important;padding-bottom:12px;font-size:20px}
body.sd-checkout #customer_details .form-row label{margin-bottom:5px !important}
body.sd-checkout #customer_details input.input-text,body.sd-checkout #customer_details select{min-height:42px !important;padding:9px 12px !important}
body.sd-checkout #customer_details .select2-container .select2-selection--single{height:42px !important}
body.sd-checkout #customer_details .select2-container .select2-selection--single .select2-selection__rendered{line-height:40px !important}
body.sd-checkout #customer_details .select2-container .select2-selection--single .select2-selection__arrow{height:40px !important}

/* ---------- dwa kroki: 1 Dane | 2 Płatność; po prawej stale Zamówienie + główny przycisk ---------- */
/* pasek kroków (kółka, linia, fajka przy zakończonym kroku, można wrócić) */
body.sd-checkout .sd-kroki{grid-column:1 / -1;display:flex;align-items:flex-start;justify-content:center;gap:0;margin:2px auto 10px;padding:0;max-width:520px;width:100%}
body.sd-checkout .sd-krok-pozycja{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:96px;color:#7a8d81;font-size:13.5px;font-weight:600;line-height:1.2;text-align:center}
body.sd-checkout .sd-krok-num{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:34px;height:34px;border:2px solid #cdddcf;border-radius:50%;background:#fff;color:#7a8d81;font-size:14px;font-weight:700;transition:background-color .25s,border-color .25s,color .25s,box-shadow .25s}
body.sd-checkout .sd-krok-linia{position:relative;flex:1 1 auto;min-width:60px;height:2px;margin:17px -6px 0;border-radius:2px;background:#cdddcf;overflow:hidden}
body.sd-checkout .sd-krok-linia::after{content:"";position:absolute;inset:0;transform:scaleX(0);transform-origin:left;background:#0f723c;transition:transform .45s cubic-bezier(.2,.8,.2,1)}
body.sd-checkout.sd-krok-1 .sd-krok-pozycja[data-krok="1"],body.sd-checkout.sd-krok-2 .sd-krok-pozycja[data-krok="2"]{color:#103923}
body.sd-checkout.sd-krok-1 .sd-krok-pozycja[data-krok="1"] .sd-krok-num,body.sd-checkout.sd-krok-2 .sd-krok-pozycja[data-krok="2"] .sd-krok-num{border-color:#0f723c;background:#0f723c;color:#fff;box-shadow:0 0 0 5px #d9f26b66}
body.sd-checkout.sd-krok-2 .sd-krok-pozycja[data-krok="1"] .sd-krok-num{border-color:#0f723c;background:#17683c;color:#17683c;font-size:0}
body.sd-checkout.sd-krok-2 .sd-krok-pozycja[data-krok="1"] .sd-krok-num::after{content:"\2713";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:16px;font-weight:700}
body.sd-checkout.sd-krok-2 .sd-krok-linia::after{transform:scaleX(1)}
body.sd-checkout.sd-krok-2 .sd-krok-pozycja[data-krok="1"]{cursor:pointer;color:#0f723c}
body.sd-checkout.sd-krok-2 .sd-krok-pozycja[data-krok="1"]:hover .sd-krok-lbl{text-decoration:underline;text-underline-offset:3px}
body.sd-checkout.sd-krok-1 .sd-krok-pozycja[data-krok="2"]{cursor:pointer}

/* przyciski kroków (jak "Złóż zamówienie": limonkowa pigułka) */
body.sd-checkout .sd-dalej{box-sizing:border-box;display:block;width:100%;min-height:50px;margin:16px 0 0;padding:13px 20px;border:0;border-radius:999px;background:#d9f26b;color:#103923;box-shadow:0 8px 20px -12px #647c28;font-family:inherit;font-size:14px;font-weight:700;line-height:1.4;text-transform:none;letter-spacing:0;cursor:pointer;transition:background-color .15s,transform .15s}
body.sd-checkout .sd-dalej:hover{background:#cbea55}
body.sd-checkout .sd-dalej:active{transform:translateY(1px)}
body.sd-checkout .sd-dalej:focus-visible{outline:3px solid #287a46;outline-offset:3px}
body.sd-checkout .sd-dalej-blad{display:none;margin:12px 0 0;padding:10px 14px;border:1px solid #f0c7bb;border-left:4px solid #c4452f;border-radius:12px;background:#fdf1ed;color:#7a2a1c;font-size:13px;line-height:1.5}
body.sd-checkout .sd-dalej-blad.is-on{display:block}
body.sd-checkout .sd-cta-uwaga{margin:10px 2px 0;color:#617267;font-size:12px;line-height:1.5;text-align:center}
body.sd-checkout .sd-wstecz{display:inline-flex;align-items:center;gap:6px;margin:0 0 10px;padding:4px 0;background:none !important;border:0 !important;box-shadow:none !important;color:#0f723c !important;font-size:13.5px;font-weight:700;cursor:pointer}
body.sd-checkout .sd-wstecz:hover{text-decoration:underline;text-underline-offset:3px}
body.sd-checkout li.sd-krok2-glowa{list-style:none;margin:0 0 14px;padding:0 0 4px}
body.sd-checkout .sd-podsumowanie-danych{margin:0 0 4px;padding:11px 14px;border:1px solid #dbe8cf;border-radius:12px;background:#f7faf3;color:#294b38;font-size:13px;line-height:1.55}
body.sd-checkout .sd-podsumowanie-danych b{color:#103923}
body.sd-checkout .sd-tytul-kroku{margin:0 0 14px;padding:0 0 12px;border-bottom:1px solid #e3ebe2;color:#103923;font-size:20px;font-weight:700;line-height:1.3}

/* krok 1: tylko dane; krok 2: tylko płatność */
body.sd-checkout.sd-krok-1 #payment>ul.wc_payment_methods,
body.sd-checkout.sd-krok-1 #payment>.form-row.place-order{display:none !important}
body.sd-checkout.sd-krok-2 #customer_details,
body.sd-checkout.sd-krok-2 .sd-cta1{display:none !important}
body.sd-checkout .sd-cta1{display:none}
@keyframes sdKrokWejscie{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
body.sd-checkout.sd-krok-1.sd-ruch #customer_details,body.sd-checkout.sd-krok-2.sd-ruch #payment>ul.wc_payment_methods,body.sd-checkout.sd-krok-2.sd-ruch #payment>.form-row.place-order{animation:sdKrokWejscie .32s cubic-bezier(.2,.8,.2,1) both}
@media (prefers-reduced-motion:reduce){body.sd-checkout.sd-ruch #customer_details,body.sd-checkout.sd-ruch #payment>ul.wc_payment_methods,body.sd-checkout.sd-ruch #payment>.form-row.place-order{animation:none !important}body.sd-checkout .sd-krok-num,body.sd-checkout .sd-krok-linia::after{transition:none}}

/* telefon: przycisk "Dalej" pod danymi, bez prawej kolumny */
@media (max-width:1199px){
body.sd-checkout .sd-krok-pozycja{min-width:74px}
body.sd-checkout form.checkout>.sd-cta1{display:none !important}
}
@media (min-width:1200px){
body.sd-checkout .sd-dalej-mobile{display:none}
body.sd-checkout form.checkout{max-width:1180px !important;grid-template-columns:minmax(0,1.28fr) minmax(0,.72fr) !important;grid-template-rows:auto auto auto auto auto 1fr !important;gap:0 26px !important;align-items:start}
body.sd-checkout form.checkout>.woocommerce-NoticeGroup{grid-column:1 / -1;grid-row:1;margin:0 0 12px}
body.sd-checkout form.checkout>.sd-kroki{grid-row:2;margin-bottom:32px}
body.sd-checkout form.checkout>#customer_details{grid-column:1 !important;grid-row:3 / span 4 !important;padding:22px 24px !important}
/* "Zamówienie" jako górna część karty podsumowania (nagłówek + produkt, suma, kupon, do zapłaty w jednym prostokącie) */
body.sd-checkout form.checkout>#order_review_heading{grid-column:2 !important;grid-row:3 !important;display:block !important;width:100% !important;max-width:none !important;justify-self:stretch;float:none !important;align-self:stretch;box-sizing:border-box;margin:0 !important;padding:18px 20px 8px !important;background:#fff;border:1px solid #dbe6dc !important;border-bottom:0 !important;border-radius:20px 20px 0 0;box-shadow:0 12px 36px -28px #123b2455;font-size:19px;line-height:1.3;text-align:left}
body.sd-checkout form.checkout>#order_review_heading::after,body.sd-checkout form.checkout>#order_review_heading::before{display:none !important}
body.sd-checkout form.checkout>#order_review{display:contents !important}
body.sd-checkout form.checkout #order_review>table.shop_table{grid-column:2;grid-row:4;margin:0 !important;padding:0 14px 6px !important;background:#fff !important;border:1px solid #dbe6dc !important;border-top:0 !important;border-radius:0 0 20px 20px !important;box-shadow:0 12px 36px -28px #123b2455}
body.sd-checkout form.checkout #order_review>#payment{display:contents !important}
body.sd-checkout form.checkout #payment>ul.wc_payment_methods{grid-column:1;grid-row:3 / span 4;margin:0 !important;padding:22px 24px !important;list-style:none;background:#fff;border:1px solid #dbe6dc;border-radius:24px;box-shadow:0 12px 36px -28px #123b2455}
body.sd-checkout form.checkout #payment>.form-row.place-order{grid-column:2;grid-row:5;margin:12px 0 0 !important;padding:14px 16px 18px !important;background:#fff;border:1px solid #dbe6dc;border-radius:20px;box-shadow:0 12px 36px -28px #123b2455}
body.sd-checkout.sd-krok-1 form.checkout>.sd-cta1{display:block;grid-column:2;grid-row:5;margin:12px 0 0;padding:14px 16px 16px;background:#fff;border:1px solid #dbe6dc;border-radius:20px;box-shadow:0 12px 36px -28px #123b2455}
body.sd-checkout.sd-krok-1 form.checkout>.sd-cta1 .sd-dalej{margin-top:0}
body.sd-checkout #order_review table.shop_table th,body.sd-checkout #order_review table.shop_table td{padding:11px 8px !important}
}

/* dopracowanie: bez zagnieżdżonych ramek i nakładającej się etykiety pola BLIK */
body.sd-checkout #payment ul.payment_methods>li.wc_payment_method{background:#fff !important;border:1px solid #e3ebe2 !important;border-radius:16px !important}
body.sd-checkout #payment ul.payment_methods>li.wc_payment_method:has(>input:checked){border-color:#86ad6d !important;background:#fbfdf8 !important}
body.sd-checkout #payment ul.payment_methods>li.wc_payment_method>.payment_box{margin:0 !important}
body.sd-checkout #payment .payment_method_transferuj .payment_box>*:first-child{margin-top:0 !important}
body.sd-checkout #payment #main-payment .tpay-input-label{position:static !important;display:block;transform:none !important;background:none !important;padding:0 !important;line-height:1.3}
body.sd-checkout #payment #main-payment .tpay-input-blik-code{margin:0 !important;padding:0 !important}
body.sd-checkout #payment .payment_method_transferuj .tpay-insidebg:first-of-type{margin-top:0 !important}

/* ---------- logowanie w karcie z danymi ---------- */
/* stary pas "Jesteś już klientem?" i oryginalny formularz logowania chowają się (formularz zostaje w DOM: wysyła pola z karty przez atrybut form) */
body.sd-logowanie-w-karcie .woocommerce-form-login-toggle,
body.sd-logowanie-w-karcie form.woocommerce-form-login{display:none !important}
body.sd-checkout .sd-logowanie{margin:0 0 16px}
body.sd-checkout button.sd-logowanie-link{display:flex;align-items:center;gap:6px;box-sizing:border-box;width:100%;margin:0;padding:11px 14px;background:#f7faf3 !important;border:1px solid #dbe8cf !important;border-radius:12px;box-shadow:none !important;color:#294b38 !important;font-family:inherit;font-size:13.5px;font-weight:500;line-height:1.4;text-align:left;text-transform:none;letter-spacing:0;cursor:pointer;transition:background-color .15s,border-color .15s}
body.sd-checkout button.sd-logowanie-link:hover{background:#f1f7e8 !important;border-color:#c9dcb4 !important}
body.sd-checkout button.sd-logowanie-link:focus-visible{outline:2px solid #0f723c;outline-offset:3px}
body.sd-checkout .sd-logowanie-link b{color:#0f723c;font-weight:700;text-decoration:underline;text-underline-offset:3px}
body.sd-checkout button.sd-logowanie-link::after{content:"";flex:none;width:8px;height:8px;margin:0 4px 3px auto;border-right:2px solid #0f723c;border-bottom:2px solid #0f723c;transform:rotate(45deg);transition:transform .2s ease}
body.sd-checkout button.sd-logowanie-link[aria-expanded="true"]::after{margin-bottom:-3px;transform:rotate(-135deg)}
body.sd-checkout .sd-logowanie-panel{margin:10px 0 0;padding:16px 16px 14px;background:#fbfdf8;border:1px solid #e3ecd9;border-radius:12px}
body.sd-checkout .sd-logowanie-panel[hidden]{display:none}
body.sd-checkout .sd-logowanie-pola{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px}
body.sd-checkout .sd-logowanie-pole label{display:block;margin:0 0 5px;color:#294b38;font-size:12.5px;font-weight:500;line-height:1.5;text-transform:none}
body.sd-checkout .sd-logowanie-pole input.input-text{box-sizing:border-box;width:100%;max-width:100%;min-height:42px;margin:0;padding:9px 12px;border:1px solid #cdddcf;border-radius:10px;background:#fff;color:#173d28;font-size:15px;line-height:1.5;box-shadow:none}
body.sd-checkout .sd-logowanie-pole input.input-text:focus{border-color:#287a46;outline:3px solid #d9f26b66;outline-offset:1px}
body.sd-checkout .sd-logowanie-pole input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #fff inset !important;-webkit-text-fill-color:#173d28 !important}
body.sd-checkout .sd-logowanie-akcje{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin:12px 0 0}
body.sd-checkout .sd-logowanie-zapamietaj{display:inline-flex;align-items:center;gap:8px;margin:0;color:#294b38;font-size:13px;font-weight:500;cursor:pointer}
body.sd-checkout .sd-logowanie-zapamietaj input{accent-color:#17683c;width:18px;height:18px;margin:0}
body.sd-checkout .sd-logowanie-zapomniane{color:#0f723c;font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:2px}
body.sd-checkout button.sd-logowanie-ok{box-sizing:border-box;margin:0 0 0 auto;min-height:40px;padding:9px 26px;border:0;border-radius:999px;background:#d9f26b;color:#103923;box-shadow:0 8px 20px -12px #647c28;font-family:inherit;font-size:13px;font-weight:700;line-height:1.4;letter-spacing:0;text-transform:none;cursor:pointer;transition:background-color .15s}
body.sd-checkout button.sd-logowanie-ok:hover{background:#cbea55}
body.sd-checkout button.sd-logowanie-ok:focus-visible{outline:3px solid #287a46;outline-offset:3px}
@media (max-width:600px){
body.sd-checkout .sd-logowanie-pola{grid-template-columns:1fr}
body.sd-checkout button.sd-logowanie-ok{width:100%;margin:0}
}

/* ---------- telefon i tablet pionowo (poniżej 900 px): zwinięte "Zamówienie" na samej górze ---------- */
body.sd-checkout .sd-sum-bar{display:none}
@media (max-width:1199px){
body.sd-checkout form.checkout{display:grid !important;grid-template-columns:minmax(0,1fr) !important;grid-template-rows:none !important;gap:12px !important;align-items:start}
body.sd-checkout form.checkout>.woocommerce-NoticeGroup{order:0;margin:0}
body.sd-checkout form.checkout{max-width:760px !important;margin-left:auto !important;margin-right:auto !important}
body.sd-checkout form.checkout>#customer_details,body.sd-checkout form.checkout>#order_review_heading,body.sd-checkout form.checkout #order_review>table.shop_table,body.sd-checkout form.checkout #payment>ul.wc_payment_methods,body.sd-checkout form.checkout #payment>.form-row.place-order{grid-column:1 !important;grid-row:auto !important}
body.sd-checkout form.checkout>.sd-kroki{order:1;margin:0 auto 2px}
body.sd-checkout form.checkout>.sd-sum-bar{order:2}
body.sd-checkout form.checkout>#order_review_heading{display:none !important}
body.sd-checkout form.checkout>#order_review{display:contents !important}
body.sd-checkout form.checkout #order_review>table.shop_table{order:3;margin:0 !important;padding:4px 12px !important;background:#fff !important;border:1px solid #dbe6dc !important;border-radius:16px !important}
body.sd-checkout:not(.sd-sum-otwarte) form.checkout #order_review>table.shop_table{display:none}
body.sd-checkout form.checkout>#customer_details{order:4}
body.sd-checkout form.checkout #order_review>#payment{display:contents !important}
body.sd-checkout form.checkout #payment>ul.wc_payment_methods{order:5;margin:0 !important;padding:18px 16px !important;list-style:none;background:#fff;border:1px solid #dbe6dc;border-radius:20px}
body.sd-checkout form.checkout #payment>.form-row.place-order{order:6;margin:0 !important;padding:14px 16px 18px !important;background:#fff;border:1px solid #dbe6dc;border-radius:20px}
body.sd-checkout form.checkout>.sd-cta1{display:none !important}
/* pasek: nazwa po lewej, kwota po prawej, strzałka */
body.sd-checkout button.sd-sum-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;width:100%;margin:0;padding:13px 16px;background:#fff !important;border:1px solid #dbe6dc !important;border-radius:16px;box-shadow:0 8px 24px -22px #123b2477 !important;color:#103923 !important;font-family:inherit;font-size:14.5px;font-weight:700;line-height:1.3;text-align:left;text-transform:none;letter-spacing:0;cursor:pointer}
body.sd-checkout button.sd-sum-bar:focus-visible{outline:2px solid #0f723c;outline-offset:3px}
body.sd-checkout .sd-sum-lbl{display:inline-flex;align-items:center;gap:9px}
body.sd-checkout .sd-sum-lbl::after{content:"";flex:none;width:8px;height:8px;margin:0 0 3px 2px;border-right:2px solid #0f723c;border-bottom:2px solid #0f723c;transform:rotate(45deg);transition:transform .2s ease}
body.sd-checkout.sd-sum-otwarte .sd-sum-lbl::after{margin-bottom:-3px;transform:rotate(-135deg)}
body.sd-checkout .sd-sum-suma{color:#0f723c;font-size:16px;font-weight:750;white-space:nowrap}
}

/* zgoda Tpay: większy odstęp między wierszami; informacja o administratorze w osobnym bloku pod etykietą */
body.sd-checkout #payment .payment_method_transferuj .tpay-info-label{font-size:12px !important;line-height:1.7 !important;color:#4a6556 !important}
body.sd-checkout #payment .payment_method_transferuj .tpay-info-label a,body.sd-checkout #payment .sd-tpay-rodo a{font-weight:600}
body.sd-checkout #payment .sd-tpay-rodo{display:block;margin:6px 0 0;padding:0 0 0 30px;color:#587063;font-size:12px;line-height:1.7}
body.sd-checkout #payment .payment_method_transferuj .tpay-amPmCheckbox{padding:4px 0 2px !important}

/* krok 2: nagłówek "Płatność" z danymi bez własnej ramki (to <li> w liście metod, dostawał styl karty metody płatności) */
body.sd-checkout #payment ul.payment_methods>li.sd-krok2-glowa{margin:0 0 14px !important;padding:0 0 4px !important;background:none !important;border:0 !important;border-radius:0 !important;box-shadow:none !important}
/* telefon: więcej kafelków banków w rzędzie (krótsza sekcja płatności) */
@media (max-width:599px){
body.sd-checkout #payment #bank-selection-form{grid-template-columns:repeat(auto-fill,minmax(72px,1fr))}
}

/* komputer (od 1200 px): prawa kolumna (Zamówienie + przycisk) przyklejona podczas przewijania; klasę sd-przyklej i zmienne --sd-mt/--sd-mc ustawia skrypt */
@media (min-width:1200px){
body.sd-checkout.sd-przyklej form.checkout>#order_review_heading,
body.sd-checkout.sd-przyklej form.checkout #order_review>table.shop_table,
body.sd-checkout.sd-przyklej.sd-krok-1 form.checkout>.sd-cta1,
body.sd-checkout.sd-przyklej.sd-krok-2 form.checkout #payment>.form-row.place-order{grid-row:3 / -1 !important;align-self:start;position:sticky;top:92px;z-index:3}
body.sd-checkout.sd-przyklej form.checkout #order_review>table.shop_table{margin-top:var(--sd-mt,55px) !important;margin-bottom:var(--sd-bt,0px) !important;top:calc(92px + var(--sd-mt,55px))}
body.sd-checkout.sd-przyklej form.checkout>#order_review_heading{margin-bottom:var(--sd-bh,0px) !important}
body.sd-checkout.sd-przyklej.sd-krok-1 form.checkout>.sd-cta1{top:calc(92px + var(--sd-mc,480px))}
body.sd-checkout.sd-przyklej.sd-krok-1 form.checkout>.sd-cta1,
body.sd-checkout.sd-przyklej.sd-krok-2 form.checkout #payment>.form-row.place-order{margin-top:var(--sd-mc,480px) !important;top:calc(92px + var(--sd-mc,480px))}
}

/* zgody przy przycisku i zgoda Tpay: mniejszy, lekki i wyjustowany tekst; większy odstęp pod akapitem "Twoje dane osobowe..." */
body.sd-checkout #payment .place-order .woocommerce-privacy-policy-text p{margin:0 0 16px !important;font-size:11.5px !important;line-height:1.65 !important;text-align:justify;hyphens:auto}
body.sd-checkout #payment .place-order .woocommerce-terms-and-conditions-wrapper .form-row,
body.sd-checkout #payment .place-order .form-row.sd-zgoda-cyfrowa{margin:0 0 12px !important}
body.sd-checkout #payment .place-order label.woocommerce-form__label-for-checkbox{margin-bottom:0 !important;font-size:11.5px !important;font-weight:400 !important;line-height:1.6 !important;color:#294b38 !important;text-align:justify;hyphens:auto}
body.sd-checkout #payment .place-order label.woocommerce-form__label-for-checkbox *{font-size:inherit !important;font-weight:inherit !important;line-height:inherit !important}
body.sd-checkout #payment .place-order label.woocommerce-form__label-for-checkbox a{font-weight:600 !important}
body.sd-checkout #payment .payment_method_transferuj .tpay-info-label{font-size:11.5px !important;font-weight:400 !important;text-align:justify;hyphens:auto}
body.sd-checkout #payment .sd-tpay-rodo{font-size:11.5px;text-align:justify;hyphens:auto}

/* ===== SmartMCP (snippety Code Snippets nr 6-8): własne zgody i style przycisku wpasowane w kasę w krokach (1.42.1) =====
   Snippet ustawia przyciskowi i karcie style z !important (także inline display:block, przez co karta z przyciskiem była widoczna już w kroku 1).
   Selektory z dwoma :not(#...) mają wyższą wagę niż reguły snippetu. Treść przycisku ("ZAMÓWIENIE Z OBOWIĄZKIEM ZAPŁATY") zostaje. */
html body.sd-checkout:not(#sd):not(#sd2) form.checkout #payment>.form-row.place-order{width:auto !important;clear:none !important;margin:12px 0 0 !important}
@media (max-width:1199px){html body.sd-checkout:not(#sd):not(#sd2) form.checkout #payment>.form-row.place-order{margin:0 !important}}
html body.sd-checkout:not(#sd):not(#sd2).sd-przyklej.sd-krok-2 form.checkout #payment>.form-row.place-order{margin-top:var(--sd-mc,480px) !important;margin-bottom:0 !important}
html body.sd-checkout:not(#sd):not(#sd2).sd-krok-1 form.checkout #payment>.form-row.place-order{position:absolute !important;width:1px !important;height:1px !important;margin:0 !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip-path:inset(50%) !important;pointer-events:none !important}
html body.sd-checkout:not(#sd):not(#sd2) #payment #place_order{min-height:52px !important;margin:14px 0 0 !important;padding:14px 18px !important;border:0 !important;border-radius:999px !important;background:#d9f26b !important;color:#103923 !important;box-shadow:0 8px 20px -12px #647c28 !important;font-size:13px !important;font-weight:800 !important;line-height:1.35 !important;letter-spacing:.02em !important}
html body.sd-checkout:not(#sd):not(#sd2) #payment #place_order:hover{background:#cbea55 !important}
html body.sd-checkout:not(#sd):not(#sd2) #itstudio-smartmcp-consents{margin:0 0 12px !important;padding:12px 14px !important;border:1px solid #dbe8cf !important;border-radius:14px !important;background:#f6faf0 !important;color:#294b38 !important;font-size:12.5px !important;line-height:1.5 !important}
html body.sd-checkout:not(#sd):not(#sd2) #itstudio-smartmcp-consents .form-row{margin:0 0 8px !important;padding:0 !important}
html body.sd-checkout:not(#sd):not(#sd2) #itstudio-smartmcp-consents .form-row:last-child{margin-bottom:0 !important}
html body.sd-checkout:not(#sd):not(#sd2) #itstudio-smartmcp-consents label{display:flex !important;align-items:flex-start;gap:10px !important;margin:0 !important;font-size:12.5px !important;font-weight:400 !important;line-height:1.5 !important;color:#294b38 !important;text-align:left}
html body.sd-checkout:not(#sd):not(#sd2) #itstudio-smartmcp-consents input[type=checkbox]{flex:0 0 auto;width:17px;height:17px;margin:2px 0 0 !important;accent-color:#17683c}
html body.sd-checkout:not(#sd):not(#sd2) #itstudio-smartmcp-consents a{color:#0f723c !important;font-weight:600;text-decoration:underline;text-underline-offset:2px}
html body.sd-checkout:not(#sd):not(#sd2) #itstudio-smartmcp-consents abbr.required{color:#b33b36;text-decoration:none;border:0}

/* ===== 1.42.2: wszystkie zgody w karcie z przyciskiem jako jednakowe wiersze (regulamin sklepu, zgoda na treść cyfrową, zgody SmartMCP) ===== */
html body.sd-checkout:not(#sd):not(#sd2) #payment .place-order #itstudio-smartmcp-consents{margin:0 !important;padding:0 !important;border:0 !important;background:none !important}
html body.sd-checkout:not(#sd):not(#sd2) #payment .place-order .woocommerce-terms-and-conditions-wrapper{margin:0 !important;padding:0 !important}
html body.sd-checkout:not(#sd):not(#sd2) #payment .place-order .woocommerce-privacy-policy-text p{margin:0 0 10px !important;font-size:11.5px !important;line-height:1.5 !important;color:#587063 !important}
html body.sd-checkout:not(#sd):not(#sd2) #payment .place-order p.form-row.validate-required,html body.sd-checkout:not(#sd):not(#sd2) #payment .place-order p.sd-zgoda-cyfrowa{display:block !important;box-sizing:border-box;width:100% !important;margin:0 0 8px !important;padding:10px 12px !important;border:1px solid #dbe8cf !important;border-radius:12px !important;background:#f6faf0 !important;float:none !important}
html body.sd-checkout:not(#sd):not(#sd2) #payment .place-order p.form-row.validate-required label,html body.sd-checkout:not(#sd):not(#sd2) #payment .place-order p.sd-zgoda-cyfrowa label{display:flex !important;align-items:flex-start;gap:10px !important;margin:0 !important;font-size:12.5px !important;font-weight:400 !important;line-height:1.5 !important;color:#294b38 !important;text-align:left !important;cursor:pointer}
html body.sd-checkout:not(#sd):not(#sd2) #payment .place-order p.form-row.validate-required input[type=checkbox],html body.sd-checkout:not(#sd):not(#sd2) #payment .place-order p.sd-zgoda-cyfrowa input[type=checkbox]{flex:0 0 auto;width:17px !important;height:17px !important;margin:2px 0 0 !important;accent-color:#17683c}
html body.sd-checkout:not(#sd):not(#sd2) #payment .place-order p.form-row.validate-required a,html body.sd-checkout:not(#sd):not(#sd2) #payment .place-order p.sd-zgoda-cyfrowa a{color:#0f723c !important;font-weight:600;text-decoration:underline;text-underline-offset:2px}
html body.sd-checkout:not(#sd):not(#sd2) #payment .place-order p.form-row.validate-required abbr.required,html body.sd-checkout:not(#sd):not(#sd2) #payment .place-order p.sd-zgoda-cyfrowa abbr.required{color:#b33b36;text-decoration:none;border:0}
html body.sd-checkout:not(#sd):not(#sd2) #payment .place-order p.form-row.woocommerce-invalid{border-color:#e7b3ae !important;background:#fdf3f2 !important}

/* 1.42.7: na telefonie i małym tablecie awatar (Smart Mini Avatar, #sma-widget) w koszyku i płatności zasłaniał kwoty, zgody i przyciski - tutaj go chowamy (na komputerze i innych stronach zostaje) */
@media (max-width:768px){html body:not(#sd) #sma-widget{display:none !important}}
