/* VectorCAD – koszyk i zamówienie (mu-plugin vectorcad-sklep). Z makiety v12 + pola i bramka WooCommerce. */
/* ---------- Wspólne: kontener, panele, kroki ---------- */
.vcs-wrap { width: min(1358px, 100%); margin-inline: auto; padding-inline: 20px; }
.vcs-sek { padding-block: 75px; }
.vcs-sek--jasna { background: var(--vcs-jasne); }
.vcs-panel { background: #fff; border: 1px solid var(--vcs-linia); border-radius: 10px; padding: 32px; }
.vcs-panel + .vcs-panel { margin-top: 20px; }
.vcs-panel__glowa { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.vcs-panel h2, .vcs-panel h3 { font-family: var(--vcs-exo); font-weight: 700; color: var(--vcs-ciemny); margin: 0; }
.vcs-panel h2 { font-size: 26px; line-height: 1.25; }
.vcs-nr { display: inline-flex; align-items: center; gap: 12px; }
.vcs-nr::before { content: attr(data-nr); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--vcs-ciemny); color: var(--vcs-akcja); font: 700 15px Inter, sans-serif; flex: none; }

.vcs-kroki { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; list-style: none; margin: 28px 0 0; padding: 0; }
.vcs-kroki li { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 18px 6px 7px; border-radius: 100px; border: 1px solid rgba(25, 24, 28, .18); background: rgba(255, 255, 255, .6); color: var(--vcs-tekst-2); font: 500 15px Inter, sans-serif; }
.vcs-kroki li b { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(25, 24, 28, .25); font-weight: 600; font-size: 14px; }
.vcs-kroki li.is-akt { border: 2px solid var(--vcs-ciemny); background: #fff; color: var(--vcs-ciemny); font-weight: 600; }
.vcs-kroki li.is-akt b, .vcs-kroki li.is-ok b { background: var(--vcs-ciemny); color: var(--vcs-akcja); border-color: var(--vcs-ciemny); }
.vcs-kroki li.is-ok a { color: var(--vcs-ciemny); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.vcs-kroki li.is-ok a:hover { text-decoration: underline; }

/* ---------- Koszyk ---------- */
.vcs-koszyk { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; margin-top: 40px; }
.vcs-podsum { position: sticky; top: 160px; }
.vcs-licznik { color: var(--vcs-tekst-2); font-size: 15px; }
.vcs-poz { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto 150px 44px; gap: 20px; align-items: center; padding: 20px 0; border-top: 1px solid var(--vcs-linia); }
.vcs-poz:last-of-type { border-bottom: 1px solid var(--vcs-linia); }
.vcs-poz__img { width: 96px; height: 96px; border-radius: 10px; background: #fff; border: 1px solid var(--vcs-linia); /* uwagi #472, #473 */ display: grid; place-items: center; }
.vcs-poz__img img { width: 78px; height: auto; }
.vcs-poz__n { font-family: var(--vcs-exo); font-weight: 700; font-size: 19px; color: var(--vcs-ciemny); line-height: 1.25; }
.vcs-poz__w { font-size: 14.5px; color: var(--vcs-tekst-2); margin-top: 4px; }
.vcs-poz__zm { font-size: 14px; padding-block: 8px; }
.vcs-poz__k { text-align: right; }
.vcs-poz__k b { display: block; font-size: 18px; color: var(--vcs-ciemny); white-space: nowrap; }
.vcs-poz__k small { display: block; font-size: 12.5px; color: var(--vcs-tekst-2); white-space: nowrap; margin-top: 2px; }
.vcs-poz__x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--vcs-linia); background: #fff; color: var(--vcs-ciemny); font-size: 22px; line-height: 1; cursor: pointer; }
.vcs-poz__x:hover { border-color: var(--vcs-ciemny); }
.vcs-poz__il-et { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--vcs-tekst-2); margin-bottom: 6px; text-align: center; }
.vcs-ilosc { display: inline-flex; align-items: center; height: 44px; padding: 0 2px; border-radius: 100px; border: 2px solid var(--vcs-akcja); overflow: hidden; }
.vcs-ilosc button { width: 42px; height: 40px; border: 0; background: none; font-size: 20px; color: var(--vcs-ciemny); cursor: pointer; }
.vcs-ilosc button:hover { background: rgba(7, 255, 255, .25); }
.vcs-ilosc input { width: 44px; height: 40px; border: 0; text-align: center; font: 600 16px Inter, sans-serif; color: var(--vcs-ciemny); background: none; -moz-appearance: textfield; }
.vcs-ilosc input::-webkit-inner-spin-button, .vcs-ilosc input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.vcs-pusty { text-align: center; padding: 32px 0 8px; }
.vcs-pusty p { font-size: 17px; margin: 0 0 20px; }
.vcs-koszyk__dol { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; }

.vcs-sumy { list-style: none; margin: 0; padding: 0; }
.vcs-sumy li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 15.5px; }
.vcs-sumy li b { color: var(--vcs-ciemny); white-space: nowrap; }
.vcs-sumy__razem { border-top: 1px solid var(--vcs-linia); margin-top: 8px; padding-top: 16px !important; align-items: baseline; }
.vcs-sumy__razem span { font-family: var(--vcs-exo); font-weight: 700; font-size: 19px; color: var(--vcs-ciemny); }
.vcs-sumy__razem b { font-size: 28px; }
.vcs-sumy__brutto { font-size: 12.5px; color: var(--vcs-tekst-2); text-align: right; margin-top: -4px; }
.vcs-kupon { display: flex; gap: 8px; margin: 20px 0 0; }
.vcs-kupon input { flex: 1; min-width: 0; }
.vcs-podsum .bricks-button.vcs-cta { width: 100%; justify-content: center; min-height: 52px; font-size: 16px; margin-top: 20px; }
.vcs-zaufanie { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px dashed var(--vcs-linia); font-size: 14.5px; line-height: 1.5; color: var(--vcs-tekst-2); }
.vcs-zaufanie li { display: flex; gap: 10px; padding: 5px 0; }
.vcs-zaufanie li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(7, 255, 255, .35); color: var(--vcs-ciemny); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.vcs-tpay { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 13px; color: var(--vcs-tekst-2); }

/* ---------- Pola formularza (jak pola stopki: pigułka) ---------- */
.vcs-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.vcs-pole { display: flex; flex-direction: column; gap: 8px; }
.vcs-pole--szer { grid-column: 1 / -1; }
.vcs-pole > label, .vcs-et { font: 600 15px Inter, sans-serif; color: var(--vcs-ciemny); }
.vcs-pole > label i, .vcs-et i { color: var(--vcs-blad); font-style: normal; margin-left: 2px; }
.vcs-in { width: 100%; height: 50px; padding: 0 22px; border-radius: 100px; border: 1px solid #cfd2d8; background: #fff; font: 16px Inter, sans-serif; color: var(--vcs-ciemny); transition: border-color .15s, box-shadow .15s; }
.vcs-in:focus { outline: none; border-color: var(--vcs-niebieski); box-shadow: 0 0 0 3px rgba(0, 24, 255, .15); }
.vcs-in.is-blad { border-color: var(--vcs-blad); }
.vcs-blad { color: var(--vcs-blad); font-size: 13.5px; }
.vcs-in-wrap { position: relative; }
.vcs-in-wrap .vcs-in { padding-right: 160px; }
.vcs-gus { position: absolute; top: 3px; right: 3px; height: 44px; padding: 0 18px; border-radius: 100px; border: 2px solid var(--vcs-ciemny); background: #fff; color: var(--vcs-ciemny); font: 700 14px Inter, sans-serif; cursor: pointer; }
.vcs-gus:hover { background: var(--vcs-ciemny); color: #fff; }
.vcs-pomoc { font-size: 13.5px; color: var(--vcs-tekst-2); }
.vcs-typ { display: grid; gap: 10px; }
.vcs-typ label { display: flex; gap: 14px; align-items: flex-start; padding: 15px 18px; border-radius: 10px; border: 1px solid #cfd2d8; background: #fff; cursor: pointer; font-size: 15.5px; line-height: 1.45; color: var(--vcs-ciemny); }
.vcs-typ label:hover { border-color: var(--vcs-ciemny); }
.vcs-typ label:has(input:checked) { border: 2px solid var(--vcs-ciemny); background: rgba(7, 255, 255, .1); padding: 14px 17px; }
.vcs-typ small { display: block; color: var(--vcs-tekst-2); font-size: 13.5px; margin-top: 2px; }
.vcs-radio, .vcs-check { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border: 2px solid #9a9ca3; background: #fff; display: grid; place-items: center; cursor: pointer; }
.vcs-radio { border-radius: 50%; }
.vcs-radio::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--vcs-ciemny); transform: scale(0); }
.vcs-radio:checked { border-color: var(--vcs-ciemny); }
.vcs-radio:checked::before { transform: scale(1); }
.vcs-check { border-radius: 5px; }
.vcs-check::before { content: ""; width: 11px; height: 6px; border: solid var(--vcs-ciemny); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) scale(0); margin-top: -3px; }
.vcs-check:checked { background: var(--vcs-akcja); border-color: var(--vcs-ciemny); }
.vcs-check:checked::before { transform: rotate(-45deg) scale(1); }
.vcs-radio:focus-visible, .vcs-check:focus-visible { outline: 2px solid var(--vcs-niebieski); outline-offset: 2px; }
.vcs-check.is-blad { border-color: var(--vcs-blad); }
.vcs-zgoda { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--vcs-ciemny); cursor: pointer; padding-block: 4px; }
.vcs-zgoda a { color: var(--vcs-niebieski); }
.vcs-zgoda-info { margin: 6px 0 0 34px; padding: 10px 14px; border-radius: 8px; background: #fff7e0; border: 1px solid #f1d58a; font-size: 13.5px; line-height: 1.5; color: #5a4300; }
.vcs-sep { grid-column: 1 / -1; border: 0; border-top: 1px solid var(--vcs-linia); margin: 6px 0; }
.vcs-firma[hidden] { display: none !important; }
.vcs-zam { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px; align-items: start; margin-top: 40px; }
.vcs-zam__poz { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--vcs-linia); }
.vcs-zam__poz .vcs-poz__img { width: 56px; height: 56px; border-radius: 8px; }
.vcs-zam__poz .vcs-poz__img img { width: 46px; }
.vcs-zam__poz .vcs-poz__n { font-size: 16px; }
.vcs-zam__poz .vcs-poz__w { font-size: 13.5px; }
.vcs-zam__poz b { white-space: nowrap; color: var(--vcs-ciemny); }
.vcs-prywatnosc { font-size: 13.5px; line-height: 1.55; color: var(--vcs-tekst-2); margin: 18px 0 10px; }
.vcs-prywatnosc a { color: var(--vcs-niebieski); }
.vcs-bank { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.vcs-bank label { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 72px; padding: 10px; border-radius: 10px; border: 1px solid #cfd2d8; background: #fff; font-size: 14px; font-weight: 600; color: var(--vcs-ciemny); cursor: pointer; line-height: 1.3; }
.vcs-bank label:hover { border-color: var(--vcs-ciemny); }
.vcs-bank input { position: absolute; opacity: 0; pointer-events: none; }
.vcs-bank label:has(input:checked) { border: 2px solid var(--vcs-ciemny); background: rgba(7, 255, 255, .1); }
.vcs-bank label:has(input:focus-visible) { outline: 2px solid var(--vcs-niebieski); outline-offset: 2px; }
.vcs-platnosc { border: 2px solid var(--vcs-ciemny); border-radius: 10px; }
.vcs-platnosc__g { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--vcs-linia); font-weight: 600; color: var(--vcs-ciemny); }
.vcs-platnosc__g span { display: inline-flex; align-items: center; gap: 12px; }
.vcs-platnosc__b { padding: 16px 18px 18px; }
.vcs-tpay-logo { font: italic 800 20px Inter, sans-serif; color: #1a3a8f; letter-spacing: -.02em; }

@media (max-width: 1100px) {
  .vcs-koszyk, .vcs-zam { grid-template-columns: 1fr; }
  .vcs-podsum { position: static; }
}
@media (max-width: 700px) {
  .vcs-sek { padding-block: 48px; }
  .vcs-panel { padding: 22px 18px; }
  .vcs-panel h2 { font-size: 22px; }
  .vcs-poz { grid-template-columns: 72px minmax(0, 1fr) 44px; gap: 8px 14px; }
  .vcs-poz__img { width: 72px; height: 72px; grid-row: span 2; align-self: start; }
  .vcs-poz__img img { width: 58px; }
  .vcs-poz__il { grid-column: 2; }
  .vcs-poz__il-et { text-align: left; }
  .vcs-poz__k { grid-column: 2 / -1; text-align: left; }
  .vcs-poz__x { grid-column: 3; grid-row: 1; }
  .vcs-form { grid-template-columns: 1fr; }
  .vcs-bank { grid-template-columns: repeat(2, 1fr); }
  .vcs-kroki li { font-size: 14px; padding-right: 14px; }
  .vcs-in-wrap .vcs-in { padding-right: 150px; }
  .vcs-gus { padding: 0 14px; }
}

/* CSS strony daje polom padding 0 12px - radio i checkbox były rozciągnięte (28×22) */
.vcs-radio, .vcs-check, .vcs-przel input {
  box-sizing: border-box !important; padding: 0 !important;
  width: 22px !important; height: 22px !important; min-width: 22px; min-height: 22px; max-width: 22px; max-height: 22px;
  aspect-ratio: 1; line-height: 0; font-size: 0; box-shadow: none;
}
/* Koszyk: stepper i „usuń” - CSS strony wyrównywał treść przycisków do lewej i dodawał wcięcia */
.vcs-ilosc { box-sizing: border-box; height: 44px; padding: 0; gap: 0; }
.vcs-ilosc button, .vcs-ilosc input, .vcs-poz__x {
  box-sizing: border-box !important; margin: 0 !important; padding: 0 !important;
  display: inline-flex; align-items: center; justify-content: center; text-align: center; line-height: 1;
  min-width: 0; min-height: 0; flex: none;
}
.vcs-ilosc button { width: 40px; height: 40px; border-radius: 50%; color: var(--vcs-ciemny); }
.vcs-ilosc button svg, .vcs-poz__x svg { width: 18px; height: 18px; display: block; }
.vcs-ilosc button:disabled { opacity: .35; cursor: default; background: none; }
.vcs-ilosc input { width: 40px; height: 40px; font-size: 16px; }
.vcs-poz__x { width: 44px; height: 44px; border-radius: 50%; color: var(--vcs-tekst-2); }
.vcs-poz__x:hover { color: var(--vcs-ciemny); background: var(--vcs-jasne); }


/* ---------- WooCommerce: koszyk ---------- */
.vcs-koszyk { margin-top: 32px; }
.vcs-koszyk .vcs-poz__k b span { font-size: 12.5px; font-weight: 600; color: var(--vcs-tekst-2); }
.vcs-koszyk .product-remove { display: contents; }
.vcs-poz__x { display: inline-flex; }
.vcs-aktualizuj { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.vcs-koszyk__dol { position: relative; }
.vcs-podsum h2 { margin-bottom: 16px !important; }
.vcs-sumy__kupon a { font-size: 13px; color: var(--vcs-niebieski); margin-left: 6px; }
.vcs-pusty { text-align: center; max-width: 640px; margin: 32px auto 0; }
.vcs-pusty .cart-empty { font-size: 18px; margin: 0 0 20px; }
.vcs-pusty__akt { margin: 8px 0 0; }
.woocommerce-cart-form.processing, .woocommerce-checkout.processing { opacity: .6; }

/* ---------- WooCommerce: zamówienie ---------- */
.vcs-zam { margin-top: 32px; }
.vcs-zam .vcs-podsum { position: sticky; top: 160px; }
.vcs-form .form-row { margin: 0; padding: 0; width: auto; float: none; display: flex; flex-direction: column; gap: 8px; }
.vcs-form .form-row-wide, .vcs-form .vcs-pole--szer, .vcs-form #billing_typ_field { grid-column: 1 / -1; }
.vcs-form .form-row label { font: 600 15px Inter, sans-serif; color: var(--vcs-ciemny); margin: 0; }
.vcs-form .form-row .required { color: var(--vcs-blad); text-decoration: none; border: 0; }
.vcs-form .form-row .optional { font-weight: 400; color: var(--vcs-tekst-2); }
.vcs-form .woocommerce-input-wrapper { display: block; position: relative; }
.vcs-form input.input-text, .vcs-in { box-sizing: border-box; width: 100%; height: 50px; padding: 0 22px; border-radius: 100px; border: 1px solid #cfd2d8; background: #fff; font: 16px Inter, sans-serif; color: var(--vcs-ciemny); }
.vcs-form input.input-text:focus, .vcs-in:focus { outline: none; border-color: var(--vcs-niebieski); box-shadow: 0 0 0 3px rgba(0, 24, 255, .15); }
.vcs-form .woocommerce-invalid input.input-text { border-color: var(--vcs-blad); }
.vcs-form .description { font-size: 13.5px; color: var(--vcs-tekst-2); margin: 0; }
.vcs-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.vcs-form legend.vcs-et { padding: 0; margin-bottom: 8px; }
.vcs-ukryj { display: none !important; }
.vcs-typ label span { flex: 1; }
.vcs-pomoc--mail { margin: 0; font-size: 15px; }
.vcs-konto-pola { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--vcs-linia); }
.vcs-konto-pola .form-row { margin: 0; }
.vcs-zam .vcs-podsum .vcs-panel__glowa { margin-bottom: 8px; }
.vcs-zam__k { text-align: right; white-space: nowrap; }
.vcs-zam__k b { display: block; color: var(--vcs-ciemny); }
.vcs-zam__k small { font-size: 12px; color: var(--vcs-tekst-2); }
.vcs-zam .vcs-sumy { margin-top: 12px; }
.vcs-place { margin: 16px 0 0; padding: 0; }
.vcs-place .woocommerce-privacy-policy-text p { font-size: 13.5px; line-height: 1.55; color: var(--vcs-tekst-2); margin: 0 0 10px; }
.vcs-place .woocommerce-privacy-policy-text a, .vcs-place .woocommerce-terms-and-conditions-checkbox-text a { color: var(--vcs-niebieski); }
.vcs-place .validate-required label.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--vcs-ciemny); cursor: pointer; margin: 0; }
.vcs-place .validate-required .input-checkbox { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--vcs-ciemny); }
.vcs-place .woocommerce-terms-and-conditions { display: none !important; }
.vcs-zgoda-blok { margin-top: 10px; }
.vcs-zgoda-blok .vcs-zgoda-info { margin-left: 34px; }
.vcs-podsum #place_order { width: 100%; justify-content: center; min-height: 52px; font-size: 16px; margin-top: 18px; float: none; }
.vcs-zam .woocommerce-NoticeGroup, .woocommerce-notices-wrapper { grid-column: 1 / -1; }

/* ---------- Płatność: Tpay (kafelki banków jak w zwcad24) ---------- */
.vcs-platnosc-panel .wc_payment_methods { list-style: none; margin: 0; padding: 0; border: 2px solid var(--vcs-ciemny); border-radius: 10px; }
.vcs-platnosc-panel .wc_payment_method > label { display: flex !important; align-items: center; gap: 12px; padding: 16px 18px; margin: 0; font-weight: 600; color: var(--vcs-ciemny); border-bottom: 1px solid var(--vcs-linia); }
.vcs-platnosc-panel .wc_payment_method > label img { height: 18px; width: auto; margin: 0 0 0 auto; }
.vcs-platnosc-panel .wc_payment_method > input { position: absolute; opacity: 0; }
.vcs-platnosc-panel .payment_box { padding: 16px 18px 18px !important; margin: 0 !important; background: none !important; }
.vcs-platnosc-panel .payment_box::before { display: none !important; }
.vcs-platnosc-panel .tpay-pbl-container { max-width: none; padding: 0; background: transparent; }
.vcs-platnosc-panel .tpay-pbl-container > .separator:first-child { display: none; }
.vcs-platnosc-panel .tpay-pbl-container .tpay-pbl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 0; }
.vcs-platnosc-panel .tpay-pbl-container .tpay-pbl label.tpay-item { display: block; width: auto; max-width: none; height: 100%; margin: 0; cursor: pointer; }
.vcs-platnosc-panel .tpay-pbl-container .tpay-pbl label.tpay-item > div { height: 100%; padding: 0; }
.vcs-platnosc-panel .tpay-pbl-container .tpay-pbl label.tpay-item > div > div { position: relative; height: 100%; min-height: 72px; display: grid; place-items: center; padding: 10px; border-radius: 10px; border: 1px solid #cfd2d8; background: #fff; }
.vcs-platnosc-panel .tpay-pbl-container .tpay-pbl label.tpay-item input:checked + div > div, .vcs-platnosc-panel .tpay-pbl-container .tpay-pbl label.tpay-item:has(input:checked) > div > div { border: 2px solid var(--vcs-ciemny); background: rgba(7, 255, 255, .1); }
@media (max-width: 700px) {
  .vcs-platnosc-panel .tpay-pbl-container .tpay-pbl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vcs-form { grid-template-columns: 1fr; }
  .vcs-zam .vcs-podsum { position: static; }
}
@media (max-width: 1100px) { .vcs-zam .vcs-podsum { position: static; } }

/* Strona Koszyk/Zamówienie ma kontener 900 px (szablon strony) – układ jak w makiecie do 1318 px */
.woocommerce .vcs-koszyk, .woocommerce .vcs-zam, .woocommerce .vcs-kroki { box-sizing: border-box; width: min(1318px, calc(100vw - 40px)); margin-left: 50%; transform: translateX(-50%); }
.vcs-form .form-row, .vcs-form .form-row-first, .vcs-form .form-row-last, .vcs-form .form-row-wide { width: auto !important; float: none !important; }
.vcs-form .form-row-first { grid-column: 1; }
.vcs-form .form-row-last { grid-column: 2; }
.vcs-form .form-row .optional { display: none; }
.vcs-form #billing_nip_field .woocommerce-input-wrapper { display: flex; gap: 8px; align-items: center; }
@media (max-width: 700px) { .vcs-form .form-row-first, .vcs-form .form-row-last { grid-column: 1; } }
.vcs-przeglad { width: 100%; min-width: 0; }
.vcs-zam__poz { grid-template-columns: 56px minmax(0, 1fr) auto; }
.vcs-zam .vcs-podsum { min-width: 0; overflow: hidden; }
#billing_typ_field, #billing_address_1_field, .vcs-pomoc--mail { grid-column: 1 / -1 !important; }
#billing_nip_field, #billing_first_name_field, #billing_email_field, #billing_postcode_field { grid-column: 1 !important; }
#billing_company_field, #billing_last_name_field, #billing_phone_field, #billing_city_field { grid-column: 2 !important; }
#billing_nip_field .woocommerce-input-wrapper { flex-wrap: wrap; }
#billing_nip_field .woocommerce-input-wrapper input { flex: 1 1 0; min-width: 0; }
#billing_nip_field .woocommerce-input-wrapper .description { flex: 0 0 100%; order: 3; }
.vcs-place .validate-required .required { display: none; }
@media (max-width: 700px) { #billing_nip_field, #billing_company_field, #billing_first_name_field, #billing_last_name_field, #billing_email_field, #billing_phone_field, #billing_postcode_field, #billing_city_field { grid-column: 1 !important; } }
.vcs-zam #order_review, .vcs-zam #order_review_heading, .vcs-zam #customer_details { width: auto !important; float: none !important; padding: 0; }


/* ---------- 27.10 (2): wyrównanie, obrysy, checkboxy, „Powracający klient?”, kafelki Tpay ---------- */
/* prawa kolumna koszyka równo z lewą (reguła .vcs-panel + .vcs-panel dawała 20 px) */
.vcs-koszyk > .vcs-podsum, .vcs-zam > .vcs-podsum { margin-top: 0; }
/* jedna ramka: panel; bez ramek Woo wokół płatności i podsumowania */
.vcs-zam #payment, .vcs-zam .woocommerce-checkout-payment { border: 0 !important; padding: 0 !important; background: none !important; border-radius: 0; }
.vcs-zam .woocommerce-checkout-review-order-table { border: 0 !important; padding: 0 !important; margin: 0 !important; background: none !important; }
.vcs-zam .vcs-sumy { border: 0; }
/* wszystkie checkboxy zamówienia jak .vcs-check: błękitne tło, czarny znacznik */
.vcs-zam input[type=checkbox] { appearance: none; -webkit-appearance: none; box-sizing: border-box !important; flex: none; width: 22px !important; height: 22px !important; min-width: 22px; padding: 0 !important; margin: 1px 0 0 !important; border: 2px solid #9a9ca3; border-radius: 5px; background: #fff; display: inline-grid; place-items: center; cursor: pointer; font-size: 0; line-height: 0; box-shadow: none; }
.vcs-zam input[type=checkbox]::before { content: ""; width: 11px; height: 6px; border: solid var(--vcs-ciemny); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) scale(0); margin-top: -3px; }
.vcs-zam input[type=checkbox]:checked { background: var(--vcs-akcja); border-color: var(--vcs-ciemny); }
.vcs-zam input[type=checkbox]:checked::before { transform: rotate(-45deg) scale(1); }
.vcs-zam input[type=checkbox]:focus-visible { outline: 2px solid var(--vcs-niebieski); outline-offset: 2px; }
.vcs-zam .woocommerce-invalid input[type=checkbox] { border-color: var(--vcs-blad); }
.vcs-zam input[type=radio].vcs-radio { box-sizing: border-box !important; padding: 0 !important; width: 22px !important; height: 22px !important; min-width: 22px; }
/* „Powracający klient?” – dyskretna linia nad krokami */
.woocommerce-form-login-toggle { width: min(1318px, calc(100vw - 40px)); margin: 0 0 0 50%; transform: translateX(-50%); }
.woocommerce-form-login-toggle .woocommerce-info { display: block; margin: 0; padding: 0; border: 0; background: none; text-align: center; font-size: 14.5px; color: var(--vcs-tekst-2); }
.woocommerce-form-login-toggle .woocommerce-info::before { display: none; }
.woocommerce-form-login-toggle .woocommerce-info a { margin-left: 4px; color: var(--vcs-niebieski); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; float: none; }
form.woocommerce-form-login.login { box-sizing: border-box; max-width: 560px; margin: 16px auto 0 !important; padding: 24px !important; border: 1px solid var(--vcs-linia) !important; border-radius: 10px !important; background: #fff; }
form.woocommerce-form-login .input-text { box-sizing: border-box; width: 100%; height: 50px; padding: 0 22px; border-radius: 100px; border: 1px solid #cfd2d8; }
/* Tpay: kafelki banków z logami (jak dotąd w kasie blokowej / zwcad24) */
.vcs-platnosc-panel .wc_payment_method > label { border-bottom: 0; }
.vcs-platnosc-panel .payment_box > p { margin: 0 0 14px; font-size: 13px; font-weight: 500; color: var(--vcs-tekst-2); }
.vcs-platnosc-panel .tpay-pbl-container .separator { height: 1px; margin: 18px 0 14px; background: var(--vcs-linia); }
.vcs-platnosc-panel .tpay-pbl-container .tpay-pbl label.tpay-item input { position: absolute; opacity: 0; pointer-events: none; }
.vcs-platnosc-panel .tpay-pbl-container .tpay-pbl label.tpay-item > div > div { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; min-height: 0; padding: 14px 10px 12px; border: 1px solid #cfd2d8; border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.vcs-platnosc-panel .tpay-pbl-container .tpay-pbl label.tpay-item:hover > div > div { border-color: #9a9ca3; box-shadow: 0 2px 10px rgba(15, 21, 31, .06); }
.vcs-platnosc-panel .tpay-pbl-container .tpay-pbl label.tpay-item input:checked + div > div { border: 2px solid var(--vcs-ciemny); padding: 13px 9px 11px; background: rgba(7, 255, 255, .12); box-shadow: none; }
.vcs-platnosc-panel .tpay-pbl-container .tpay-pbl label.tpay-item input:checked + div > div::after { content: ""; position: absolute; top: 6px; right: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--vcs-akcja) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319181c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.vcs-platnosc-panel .tpay-pbl-container .tpay-pbl label.tpay-item input:focus-visible + div > div { outline: 2px solid var(--vcs-niebieski); outline-offset: 2px; }
.vcs-platnosc-panel .tpay-pbl .tpay-group-logo-holder { display: flex; align-items: center; justify-content: center; width: 100%; height: 44px; }
.vcs-platnosc-panel .tpay-pbl .tpay-group-logo-holder img { width: auto; max-width: min(100%, 104px); height: auto; max-height: 44px; object-fit: contain; }
.vcs-platnosc-panel .tpay-pbl .tpay-item .name { display: block; min-height: 2.7em; font-size: 12px; line-height: 1.35; color: var(--vcs-tekst-2); text-align: center; overflow-wrap: anywhere; }
.vcs-platnosc-panel .tpay-pbl label.tpay-item input:checked + div > div .name { color: var(--vcs-ciemny); font-weight: 600; }
.vcs-platnosc-panel .tpay-accept-conditions { font-size: 12px; line-height: 1.55; }
.vcs-platnosc-panel .tpay-accept-conditions p { margin: 0 0 4px; }
.vcs-platnosc-panel .tpay-accept-conditions a { color: var(--vcs-niebieski); }
.vcs-platnosc-panel .powered-by-tpay { align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; }
.vcs-platnosc-panel .powered-by-tpay p { margin: 0; }
.vcs-platnosc-panel .powered-by-tpay img { width: auto; height: 13px; }
@media (max-width: 991px) { .vcs-platnosc-panel .tpay-pbl-container .tpay-pbl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 478px) { .vcs-platnosc-panel .tpay-pbl-container .tpay-pbl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
