/* Katalog maszyn rolniczych – style. Prosty, czytelny wygląd. */
:root {
  /* Kolor motywu (nazwy zmiennych --green* zostały, ale to teraz niebieski) */
  --green: rgba(28, 81, 242, 0.8); --green-dark: rgba(20, 58, 180, 0.95); --green-light: rgba(28, 81, 242, 0.08);
  --text: #222; --muted: #666; --border: #e5e5e5; --placeholder: #d9d9d9;
  --up: #b3261e; --down: #2f7d21; --radius: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; line-height: 1.5; color: var(--text); background: #f5f5f5; overflow-x: hidden; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
/* Stopka zawsze na dole: treść rośnie, stopka dociśnięta do dołu okna */
#main { flex: 1 0 auto; width: 100%; }
#site-header, #site-footer { flex: 0 0 auto; }
#site-footer { margin-top: auto; }
a { color: var(--green-dark); }
img, svg { max-width: 100%; }
h1 { font-size: 24px; line-height: 1.25; margin: 0 0 16px; font-weight: 600; }
h2 { font-size: 16px; margin: 0 0 8px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.06); margin-bottom: 16px; }
.box-title { font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--green-dark); margin: 0 0 8px; }
.msg { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin: 16px 0; }
.msg-error { border-color: var(--up); color: var(--up); }

/* Przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border: 2px solid var(--green); border-radius: var(--radius); background: var(--green); color: #fff; font: 600 13px 'Montserrat', Arial, sans-serif; text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-outline { background: #fff; color: var(--green-dark); }
.btn-outline:hover { background: var(--green-light); color: var(--green-dark); border-color: var(--green); }
.btn-white { background: #fff; color: var(--green-dark); border-color: #fff; }
.btn-white:hover { background: var(--green-light); border-color: var(--green-light); }
.btn-block { display: flex; width: 100%; }

/* Topbar i header */
.topbar { background: #e9e9e9; font-size: 12px; color: var(--muted); padding: 4px 0; }
.topbar .container { text-align: right; }
.header { background: #fff; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.logo-box { width: 60px; height: 40px; background: var(--placeholder); border-radius: var(--radius); }
.logo-name { color: var(--green); font-weight: 700; font-size: 18px; }
.logo-img { display: block; height: 80px; width: auto; max-width: 300px; object-fit: contain; }
.thumb-arrow:disabled { opacity: .4; cursor: default; }
.thumb-arrow:disabled:hover { border-color: var(--border); color: inherit; }
.search { flex: 1 1 auto; display: flex; max-width: 520px; margin: 0 auto; }
.search input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--border); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); font: inherit; }
.search .btn { border-radius: 0 var(--radius) var(--radius) 0; }
.help { position: relative; flex: 0 0 auto; }
.help-btn { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; font: 500 13px 'Montserrat', Arial, sans-serif; cursor: pointer; }
.help-btn:hover { border-color: var(--green); }
.help-list { position: absolute; right: 0; top: calc(100% + 4px); z-index: 50; min-width: 250px; margin: 0; padding: 8px 0; list-style: none; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.help-list[hidden] { display: none; }
.help-list a { display: block; padding: 8px 14px; text-decoration: none; color: var(--text); }
.help-list a:hover { background: var(--green-light); color: var(--green-dark); }

/* Menu */
.mainnav { background: var(--green); }
.nav-toggle { display: none; }
.nav-list { display: flex; justify-content: center; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.nav-list a { display: block; padding: 13px 22px; color: #fff; text-decoration: none; text-transform: uppercase; font-weight: 600; font-size: 13px; }
.nav-list a:hover { background: var(--green-dark); }
.nav-list a.is-active { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* Układ strony */
.page { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; padding-top: 20px; padding-bottom: 32px; align-items: start; }
.page-main { min-width: 0; }
.sidebar-toggle { display: none; }
.sidebar-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.sidebar-title { margin: 0; padding: 12px 16px; background: var(--green); color: #fff; font-size: 14px; font-weight: 700; }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li + li { border-top: 1px solid var(--border); }
.cat-list a { display: block; padding: 10px 16px; color: var(--text); text-decoration: none; }
.cat-list a:hover { background: var(--green); color: #fff; }
.cat-list a.is-active { font-weight: 700; color: var(--green); }
.cat-list a.is-active:hover { color: #fff; }
.cat-msg { padding: 10px 16px; color: var(--muted); }
.breadcrumbs { font-size: 12px; color: var(--muted); margin: 0 0 12px; padding-top: 4px; }
.breadcrumbs a { color: var(--muted); }
.section-title { font-size: 16px; font-weight: 700; color: var(--green-dark); border-bottom: 2px solid var(--green); padding-bottom: 6px; margin: 24px 0 14px; }

/* Placeholdery zdjęć */
.ph { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; background: var(--placeholder); border-radius: var(--radius); overflow: hidden; }
.ph-label { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font-size: 12px; color: #555; }
.map-ph .ph { height: 300px; aspect-ratio: auto !important; }
.ph.has-img { background: #f0f0f0; }
.ph.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-main .ph.has-img img { object-fit: contain; background: #fff; }
.ph.has-img .ph-label { background: rgba(255,255,255,.85); width: auto; left: 50%; right: auto; transform: translateX(-50%); padding: 2px 10px; border-radius: var(--radius); }

/* Baner */
.banner { position: relative; margin-bottom: 20px; }
.banner:has(.banner-img) { display: flex; justify-content: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.banner-img { display: block; max-width: 100%; max-height: 380px; width: auto; height: auto; object-fit: contain; }
.banner .ph { min-height: 160px; }
.banner-overlay { position: absolute; left: 24px; bottom: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.tag { background: var(--green); color: #fff; font-weight: 700; padding: 6px 14px; font-size: 18px; border-radius: var(--radius); }

/* Siatka kart */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { display: flex; flex-direction: column; gap: 8px; padding: 10px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 1px 3px rgba(0,0,0,.06); text-decoration: none; color: var(--text); }
.card:hover { border-color: var(--green); }
.card-name { font-weight: 500; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.card-price { font-weight: 600; }
.card-versions { align-self: flex-start; font-size: 11px; background: var(--green-light); color: var(--green-dark); padding: 2px 8px; border-radius: var(--radius); }
.skeleton { pointer-events: none; }
.skeleton .ph { aspect-ratio: 4/3; animation: pulse 1.2s ease-in-out infinite; }
.sk-line { height: 14px; background: var(--placeholder); border-radius: var(--radius); animation: pulse 1.2s ease-in-out infinite; }
.sk-line.short { width: 60%; }
@keyframes pulse { 50% { opacity: .45; } }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Lista kategorii: pasek narzędzi, paginacja */
.toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.toolbar[hidden] { display: none; }
.toolbar select { padding: 6px 8px; border: 1px solid var(--border); border-radius: var(--radius); font: inherit; background: #fff; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 20px; }
.pagination a, .pagination span { padding: 6px 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--text); }
.pagination a:hover { border-color: var(--green); }
.pagination .is-current { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }

/* Karta maszyny */
.product-layout { display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); gap: 20px; align-items: start; }
.product-left, .product-info { min-width: 0; }
.product-info { position: sticky; top: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.product-info h1 { font-size: 22px; margin-bottom: 4px; overflow-wrap: anywhere; }
.p-model { color: var(--muted); font-size: 15px; min-height: 1.5em; }
.p-model[hidden] { display: none; }
.p-price { color: var(--green); font-size: 30px; font-weight: 600; margin: 8px 0 16px; }
.p-note { margin: -8px 0 16px; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.p-note[hidden] { display: none; }
.p-cat { margin-top: 16px; font-size: 13px; color: var(--muted); }
.gallery-main .ph { aspect-ratio: 4/3; }
.thumbs-row { display: flex; align-items: center; gap: 6px; margin: 10px 0 16px; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; flex: 1; scrollbar-width: none; scroll-behavior: smooth; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: 0 0 72px; padding: 0; border: 2px solid transparent; border-radius: var(--radius); background: none; cursor: pointer; }
.thumb .ph svg { width: 28px; height: 28px; }
.thumb:hover, .thumb.is-active { border-color: var(--green); }
.thumb-arrow { flex: 0 0 auto; width: 32px; height: 40px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); font-size: 22px; line-height: 1; cursor: pointer; }
.thumb-arrow:hover { border-color: var(--green); color: var(--green); }
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--green); }
.tabs button { padding: 10px 20px; border: 0; background: #e9e9e9; color: var(--text); font: 600 13px 'Montserrat', Arial, sans-serif; cursor: pointer; border-radius: var(--radius) var(--radius) 0 0; }
.tabs button[aria-selected="true"] { background: var(--green); color: #fff; }
.tab-panel { background: #fff; border: 1px solid var(--border); border-top: 0; padding: 16px; overflow-wrap: anywhere; }
.tab-panel[hidden] { display: none; }
.rich img { height: auto; }
.rich table { max-width: 100%; display: block; overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 8px 10px; vertical-align: top; }
.spec-table th { width: 40%; font-weight: 600; }
.spec-table tr:nth-child(odd) { background: #f5f5f5; }

/* Wybór wersji */
.versions-title { font-size: 13px; font-weight: 700; color: var(--green-dark); margin: 0 0 8px; }
#versions { margin-bottom: 16px; }
#versions[hidden] { display: none; }
.versions { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.version-card { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; min-width: 0; align-self: start; }
.version-card:hover { border-color: var(--green); }
.version-card.is-selected { border: 2px solid var(--green); background: var(--green-light); padding: 9px 11px; }
.vc-head { display: flex; align-items: center; gap: 8px; }
.vc-dot { flex: 0 0 16px; width: 16px; height: 16px; border: 2px solid #999; border-radius: 50%; background: #fff; }
.is-selected .vc-dot { border-color: var(--green); background: var(--green); box-shadow: inset 0 0 0 2px #fff; }
.vc-name { font-weight: 600; overflow-wrap: anywhere; }
.vc-badge { font-size: 12px; color: var(--muted); }
.vc-badge.is-current { background: #e9e9e9; align-self: flex-start; padding: 1px 8px; border-radius: var(--radius); }
.vc-badge.is-up { color: var(--up); font-weight: 600; }
.vc-badge.is-down { color: var(--down); font-weight: 600; }
.vc-toggle { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--green-dark); font: 500 12px 'Montserrat', Arial, sans-serif; text-decoration: underline; cursor: pointer; }
.vc-arrow { display: inline-block; transition: transform .2s; }
.is-open .vc-arrow { transform: rotate(180deg); }
.vc-diff { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .2s; }
.is-open .vc-diff { grid-template-rows: 1fr; }
.vc-diff-inner { overflow: hidden; font-size: 12px; color: var(--muted); }
.vc-diff-inner p { margin: 0; padding-top: 2px; }

/* Płynna zmiana oferty */
.offer-swap { transition: opacity .18s ease, transform .18s ease; }
.offer-swap.is-switching { opacity: 0; transform: translateY(4px); }
.contact-btns { display: grid; gap: 8px; }
.call-note { margin: 0; font-size: 12px; text-align: center; color: var(--muted); }

/* Kontakt, O nas */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-bottom: 20px; }
.plain { list-style: none; margin: 0; padding: 0; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 4px; }
.field input, .field textarea { width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: var(--radius); font: inherit; }
.field [aria-invalid="true"] { border-color: var(--up); }
.field-error { color: var(--up); font-size: 12px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.fine { font-size: 12px; color: var(--muted); }
.about h2 { margin-top: 24px; }
.why li { margin-bottom: 8px; }

/* Pływający przycisk kontaktu */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border: 0; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.fab:hover { background: var(--green-dark); }
.fab-panel { position: fixed; right: 20px; bottom: 88px; z-index: 91; width: min(320px, calc(100vw - 40px)); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.fab-panel[hidden] { display: none; }
.fab-panel ul { list-style: none; margin: 0; padding: 0; }
.fab-panel li { padding: 6px 0; border-bottom: 1px solid var(--border); }
.fab-close { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 24px; line-height: 1; cursor: pointer; }
.fab-hours { font-size: 12px; color: var(--muted); margin: 10px 0 0; }

/* Widget social (po prawej, wysuwany) */
.social { position: fixed; right: 0; top: 50%; z-index: 80; display: flex; align-items: stretch; transform: translate(48px, -50%); transition: transform .25s ease; }
.social.is-open, .social:has(:focus-visible) { transform: translate(0, -50%); }
.social-toggle { width: 40px; min-height: 48px; padding: 0; border: 0; border-radius: var(--radius) 0 0 var(--radius); background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.social-toggle:hover { background: var(--green-dark); }
.social-links { display: flex; flex-direction: column; width: 48px; background: #fff; border: 1px solid var(--border); border-right: 0; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.social-link { width: 47px; height: 48px; display: flex; align-items: center; justify-content: center; color: var(--green-dark); }
.social-link + .social-link { border-top: 1px solid var(--border); }
.social-link:hover { background: var(--green); color: #fff; }
@media (hover: hover) { .social:hover { transform: translate(0, -50%); } }
@media (prefers-reduced-motion: reduce) { .social { transition: none; } }

/* Wyśrodkowanie zawartości stron z panelem bbocznym (nagłówki, tytuły sekcji, okruszki zostają po lewej) */
.page { justify-content: center; }
.page-main > h1, .page-main > section > .section-title, .toolbar, .pagination { text-align: center; justify-content: center; }
.page-main > .msg { text-align: center; }
.contact-layout, .map-ph, .about { margin-left: auto; margin-right: auto; }

/* ===== Nagłówek: logo z lewej, wyszukiwarka wyśrodkowana względem menu, „Pomoc i kontakt” do prawej krawędzi ===== */
.container-wide { max-width: none; padding-left: 24px; padding-right: 24px; }
@media (min-width: 992px) {
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 460px) minmax(0, 1fr); gap: 24px; }
  .header-inner .logo { justify-self: start; margin-left: -8px; }
  .header-inner .search { margin: 0; max-width: none; width: 100%; }
  .header-inner .help { justify-self: end; }
}
@media (max-width: 991px) { .container-wide { padding-left: 16px; padding-right: 16px; } }
@media (max-width: 600px) { .logo-img { height: 56px; } }

/* ===== Lekkie ulepszenia wizualne: czytelność, wyraźne ceny i przyciski ===== */
:root { --radius: 6px; }
body { background: #f2f4f1; }
.topbar { background: #1b2b55; color: #e8edfb; padding: 5px 0; }
.header { box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.search input { padding: 11px 14px; border-color: #d3d8e0; }
.search input:focus { border-color: var(--green); outline-offset: 0; }
.help-btn { border: 2px solid var(--green); color: var(--green-dark); font-weight: 600; transition: background .15s; }
.help-btn:hover { background: var(--green-light); }
.mainnav { box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.nav-list a { padding: 15px 26px; letter-spacing: .02em; transition: background .15s; }
.nav-list a.is-active { background: rgba(0,0,0,.16); }
.btn { padding: 11px 20px; box-shadow: 0 1px 2px rgba(0,0,0,.12); transition: background .15s, border-color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.sidebar-title { padding: 14px 16px; letter-spacing: .03em; }
.cat-list a { padding: 11px 16px; transition: background .15s, padding-left .15s; }
.cat-list a:hover { padding-left: 20px; }
.section-title { font-size: 17px; letter-spacing: .02em; }
.card { transition: border-color .15s, box-shadow .15s, transform .15s; }
.card:hover { box-shadow: 0 6px 16px rgba(20, 40, 100, .12); transform: translateY(-2px); }
.card-name { font-weight: 600; min-height: 4.5em; }
.card-price { color: var(--green-dark); font-size: 16px; font-weight: 700; }
.card-versions { font-weight: 600; }
.product-info { border-top: 3px solid var(--green); }
.p-price { font-size: 32px; font-weight: 700; }
.tab-panel, .box, .msg { box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.footer { background: #2b2f36; border-top: 3px solid var(--green); }
@media (prefers-reduced-motion: reduce) { .card, .btn, .cat-list a { transition: none; } .card:hover { transform: none; } }
@media (max-width: 600px) { .p-price { font-size: 26px; } }

/* Panel kategorii: lekko w lewo – szerszy kontener tylko dla układu z panelem bocznym (na dużych ekranach) */
.container.page { max-width: 1480px; padding-left: 24px; padding-right: 24px; }
@media (max-width: 991px) { .container.page { padding-left: 16px; padding-right: 16px; } }

/* Współpraca B2B */
.container.b2b { padding-top: 20px; padding-bottom: 32px; max-width: 960px; }
.b2b-box { padding: 28px; }
.b2b-box h1 { text-align: center; }
.b2b-desc { overflow-wrap: anywhere; line-height: 1.7; }
.b2b-cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.b2b-box .call-note { margin-top: 14px; }

/* Osoba kontaktowa przy numerze telefonu */
.who { display: block; font-size: 12px; color: var(--muted); }

/* Stopka */
.footer { background: #3a3a3a; color: #ddd; margin-top: 16px; }
.footer a { color: #fff; }
.footer h3 { color: #fff; font-size: 14px; text-transform: uppercase; margin: 0 0 10px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 28px; padding-bottom: 20px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-copy { border-top: 1px solid #555; padding: 12px 0; font-size: 12px; color: #aaa; }

/* Responsywność */
@media (max-width: 991px) {
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .search { order: 3; flex: 1 1 100%; max-width: none; }
  .nav-toggle { display: block; width: 100%; padding: 12px 0; background: none; border: 0; color: #fff; font: 600 14px 'Montserrat', Arial, sans-serif; text-align: left; cursor: pointer; }
  .nav-list { display: none; flex-direction: column; }
  .nav-list.is-open { display: flex; }
  .page { grid-template-columns: minmax(0, 1fr); }
  .sidebar-toggle { display: block; width: 100%; padding: 12px 16px; background: var(--green); color: #fff; border: 0; border-radius: var(--radius); font: 600 14px 'Montserrat', Arial, sans-serif; text-align: left; cursor: pointer; }
  .sidebar .sidebar-box { display: none; margin-top: 4px; }
  .sidebar.is-open .sidebar-box { display: block; }
  .sidebar-box .sidebar-title { display: none; }
  .product-layout, .contact-layout, .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .product-info { position: static; }
  .versions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .logo-name { font-size: 15px; }
  .tag { font-size: 14px; }
  .banner-overlay { left: 12px; bottom: 12px; }
  h1 { font-size: 20px; }
  .p-price { font-size: 26px; }
}
@media (max-width: 400px) { .versions { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  .offer-swap, .vc-diff, .vc-arrow { transition: none; }
  .skeleton .ph, .sk-line { animation: none; }
  .thumbs { scroll-behavior: auto; }
}

/* ===== Ceny brutto ===== */
.p-price-tax { font-size: .6em; font-weight: 500; color: var(--muted); white-space: nowrap; }
.footer-note { margin: 0 0 8px; color: #bbb; line-height: 1.5; }
.b2b-link { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding: 8px 0; font-size: 14px; font-weight: 600; color: var(--green-dark); text-decoration: none; }
.b2b-link:hover { text-decoration: underline; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ===== Zapytanie ofertowe B2B ===== */
.container.b2b-page { max-width: 1180px; padding-top: 20px; padding-bottom: 32px; }
.b2b-page h1 { text-align: center; }
.b2b-desc { max-width: 820px; margin: 0 auto 20px; text-align: center; line-height: 1.7; overflow-wrap: anywhere; }
.b2b-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.b2b-summary { position: sticky; top: 16px; }
.b2b-sect h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin: 0 0 14px; }
.b2b-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; background: var(--green); color: #fff; font-size: 14px; font-weight: 700; }
.b2b-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.b2b-sect select, .b2b-sect .field select { width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: var(--radius); font: inherit; background: #fff; }
.b2b-sect [aria-invalid="true"] { border-color: var(--up); }
.b2b-group { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.b2b-group legend { font-weight: 600; padding: 0; margin-bottom: 6px; }
.b2b-check { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; cursor: pointer; line-height: 1.4; }
.b2b-check input { width: 20px; height: 20px; flex: 0 0 20px; margin: 0; accent-color: var(--green); }
.b2b-label { display: block; font-weight: 600; margin-bottom: 4px; }
.b2b-combo { position: relative; }
.b2b-combo input { width: 100%; padding: 11px 12px; border: 1px solid #ccc; border-radius: var(--radius); font: inherit; }
.b2b-suggest { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin: 2px 0 0; padding: 0; list-style: none; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 6px 16px rgba(0,0,0,.12); max-height: 340px; overflow-y: auto; }
.b2b-suggest li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; cursor: pointer; }
.b2b-suggest li[aria-selected="true"], .b2b-suggest li:hover { background: var(--green-light); }
.b2b-suggest .b2b-sg-empty { cursor: default; color: var(--muted); }
.b2b-sg-thumb { width: 44px; flex: 0 0 44px; }
.b2b-sg-text { display: flex; flex-direction: column; min-width: 0; }
.b2b-sg-name { font-weight: 600; overflow-wrap: anywhere; }
.b2b-sg-price { font-size: 13px; color: var(--muted); }
.b2b-catalog-msg, .b2b-empty { margin: 12px 0 0; padding: 14px; background: #f4f4f4; border-radius: var(--radius); color: var(--muted); font-size: 14px; }
.b2b-list { list-style: none; margin: 12px 0 0; padding: 0; }
.b2b-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto 110px 120px 36px; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--border); }
.b2b-thumb { width: 56px; }
.b2b-row-name { font-weight: 600; overflow-wrap: anywhere; }
.b2b-row-ver { font-size: 13px; color: var(--muted); }
.b2b-select { margin-top: 4px; width: 100%; max-width: 280px; padding: 6px 8px; border: 1px solid #ccc; border-radius: var(--radius); font: inherit; font-size: 13px; background: #fff; }
.b2b-qty { display: inline-flex; align-items: center; }
.b2b-qty button { width: 34px; height: 36px; border: 1px solid #ccc; background: #fff; font-size: 18px; cursor: pointer; }
.b2b-qty button:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.b2b-qty button:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.b2b-qty input { width: 56px; height: 36px; border: 1px solid #ccc; border-left: 0; border-right: 0; text-align: center; font: inherit; border-radius: 0; }
.b2b-unit { font-size: 13px; color: var(--muted); text-align: right; }
.b2b-line { font-weight: 700; text-align: right; color: var(--green-dark); }
.b2b-del { width: 36px; height: 36px; border: 0; background: none; font-size: 18px; color: var(--muted); cursor: pointer; border-radius: var(--radius); }
.b2b-del:hover { background: #f3d9d7; color: var(--up); }
.b2b-sum-count { margin: 0 0 10px; color: var(--muted); }
.b2b-sum-label { font-size: 13px; color: var(--muted); }
.b2b-sum-total { font-size: 26px; font-weight: 700; color: var(--green-dark); line-height: 1.2; overflow-wrap: anywhere; }
.b2b-sum-net { font-size: 13px; color: var(--muted); min-height: 1.3em; }
.b2b-sum-unpriced { margin: 6px 0; font-size: 13px; font-weight: 600; }
.b2b-send { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 10px; }
.b2b-status { margin: 8px 0; padding: 10px; background: var(--green-light); border-radius: var(--radius); font-size: 13px; }
.b2b-copy { margin: 8px 0; }
.b2b-copy textarea { width: 100%; margin-top: 6px; font: inherit; font-size: 12px; }
.b2b-clear { display: block; margin: 10px auto 0; background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }
@media (max-width: 991px) {
  .b2b-grid { grid-template-columns: minmax(0, 1fr); }
  .b2b-summary { position: static; }
}
@media (max-width: 640px) {
  .b2b-cols { grid-template-columns: minmax(0, 1fr); }
  .b2b-row { grid-template-columns: 48px minmax(0, 1fr) 36px; grid-template-areas: 'th main del' 'qty qty line'; }
  .b2b-thumb { grid-area: th; width: 48px; }
  .b2b-row-main { grid-area: main; }
  .b2b-del { grid-area: del; }
  .b2b-qty { grid-area: qty; }
  .b2b-unit { display: none; }
  .b2b-line { grid-area: line; }
}

/* ===== Opis na stronie B2B ===== */
.b2b-intro { display: flex; gap: 16px; align-items: flex-start; max-width: 960px; margin: 0 auto 24px; padding: 22px 26px; background: #fff; border: 1px solid var(--border); border-left: 5px solid var(--green); border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.b2b-intro-icon { flex: 0 0 44px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--green-light); color: var(--green-dark); }
.b2b-intro-icon svg { width: 24px; height: 24px; }
.b2b-intro .b2b-desc { flex: 1 1 auto; min-width: 0; max-width: none; margin: 0; text-align: left; font-size: 16px; line-height: 1.75; color: var(--text); }
.b2b-desc > :first-child { margin-top: 0; }
.b2b-desc > :last-child { margin-bottom: 0; }
.b2b-desc p { margin: 0 0 12px; }
.b2b-desc h2, .b2b-desc h3 { margin: 20px 0 8px; font-size: 18px; line-height: 1.3; color: var(--green-dark); }
.b2b-desc h3 { font-size: 16px; }
.b2b-desc strong { font-weight: 600; }
.b2b-desc a { color: var(--green-dark); font-weight: 600; }
.b2b-desc ul { list-style: none; margin: 0 0 12px; padding: 0; }
.b2b-desc ul li { position: relative; padding: 4px 0 4px 28px; }
.b2b-desc ul li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 14px; height: 8px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg) scale(.85); }
.b2b-desc ol { margin: 0 0 12px; padding-left: 24px; }
.b2b-desc ol li { padding: 3px 0 3px 4px; }
.b2b-desc ol li::marker { color: var(--green-dark); font-weight: 700; }
.b2b-desc blockquote { margin: 12px 0; padding: 10px 16px; background: var(--green-light); border-radius: 4px; color: var(--text); }
@media (max-width: 640px) {
  .b2b-intro { padding: 16px; gap: 12px; border-left-width: 4px; }
  .b2b-intro-icon { display: none; }
}
