:root {
  --navy: #12304a;
  --navy-dark: #0b2235;
  --teal: #087f8c;
  --teal-light: #e6f5f5;
  --bg: #f5f8fa;
  --white: #fff;
  --text: #18303d;
  --muted: #61727d;
  --border: #d9e3e8;
  --danger: #a93232;
  --success: #176b48;
  --shadow: 0 12px 35px rgba(18, 48, 74, .09);
  --radius: 18px;
  --max: 1180px;
}

.rental-customer-fields { display: contents; margin: 0; padding: 0; border: 0; }
#rentalForm [hidden] { display: none; }
.availability-panel { display: grid; padding: 2px 0; gap: 4px; font-size: .8rem; line-height: 1.45; color: var(--muted); }
.availability-panel p { margin: 0; color: inherit; }
.availability-panel [data-state="available"] { color: var(--success); }
.availability-panel [data-state="error"] { color: var(--danger); }
.availability-panel [data-state="unavailable"], .availability-panel [data-state="limited"] { color: var(--danger); }
.availability-panel [data-state="unconfirmed"] { color: #805200; }
.availability-heading { display: flex; align-items: baseline; gap: 8px; font-size: 1rem; line-height: 1.45; }
.availability-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 19px; width: 19px; height: 19px; border-radius: 50%; background: var(--danger); color: white; font-size: .8rem; font-weight: 800; }
[data-state="unconfirmed"] .availability-icon { background: #805200; }
.availability-detail { display: block; margin-top: 6px; font-size: .9rem; line-height: 1.5; color: var(--text); }
.availability-actions { display: flex; flex-wrap: wrap; gap: 0 18px; }
.availability-panel .availability-actions .text-button { min-height: 44px; font-size: .85rem; text-decoration-line: underline; }
.availability-panel .availability-detail .availability-inquiry-link { display: inline; padding: 0; color: var(--teal); font-weight: 700; text-decoration-line: underline; }
button:disabled { cursor: not-allowed; opacity: .6; }
.form-status { overflow-wrap: anywhere; }
.admin-page { padding-top: 32px; padding-bottom: 64px; }
.cancellation-page { max-width: 640px; padding: 32px 16px 48px; margin: 0 auto; }
.cancellation-brand { display: block; width: fit-content; margin: 0 auto 24px; }
.cancellation-brand img { display: block; max-width: 100%; height: auto; mix-blend-mode: multiply; }
.cancellation-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(20px, 5vw, 36px); box-shadow: var(--shadow); }
.cancellation-card [hidden] { display: none; }
.cancellation-eyebrow { color: var(--teal); font-size: .75rem; letter-spacing: .1em; font-weight: 700; }
.cancellation-card h1 { color: var(--navy); font-size: clamp(1.5rem, 5vw, 1.85rem); line-height: 1.3; margin: 0 0 16px; }
.cancellation-card h2 { font-size: 1.1rem; margin: 24px 0 12px; }
.cancellation-reference { font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
.cancellation-facts { margin: 0 0 24px; padding: 16px; background: var(--bg); border-radius: 10px; }
.cancellation-facts div { margin-bottom: 10px; }
.cancellation-facts div:last-child { margin-bottom: 0; }
.cancellation-facts dt { color: var(--muted); font-size: .8rem; }
.cancellation-facts dd { margin: 0; font-weight: 650; }
#cancellationForm .button { margin-top: 20px; width: 100%; }
.cancellation-back { display: block; margin-top: 24px; color: var(--teal); text-decoration-line: underline; }
.cancellation-help { background: transparent; padding: 0; text-align: center; margin-top: 24px; font-size: .85rem; color: var(--muted); }
.cancellation-help p { margin: 0 0 12px; color: inherit; }
.cancellation-help a { text-decoration-line: underline; }
.cancellation-success { color: var(--success); }
.cancellation-error { color: var(--danger); }
.admin-login { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.admin-login input { min-height: 44px; max-width: 100%; }
.admin-toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.admin-tabs .button { flex: 1 1 180px; transition: none; }
.admin-tabs [aria-selected="true"] { box-shadow: inset 0 -3px 0 rgba(0,0,0,.2); }
.signed-documents { margin-top: 24px; padding: 16px 0 0; border-top: 1px solid var(--border); }
.signed-document { margin-bottom: 16px; }
.signed-upload { margin-top: 16px; max-width: 640px; }
.signed-upload input { max-width: 100%; min-width: 0; }
.contract-print-frame { position: fixed; width: 1px; height: 1px; bottom: 0; right: 0; border: 0; }
.inventory-list, .admin-rentals { display: grid; gap: 12px; margin: 20px 0 36px; }
.inventory-row { display: grid; grid-template-columns: minmax(200px, 2fr) 130px 130px minmax(140px, 1fr) auto; gap: 12px; align-items: center; background: white; padding: 18px; border: 1px solid var(--border); border-radius: 12px; }
.inventory-row h3 { font-size: 1rem; margin: 0; }
.inventory-row label { font-size: .85rem; }
.inventory-row input[type="number"] { display: block; width: 100%; padding: 8px; border: 1px solid var(--border); border-radius: 6px; }
.inventory-feedback { grid-column: 1 / -1; margin: 0; }
.inventory-feedback:empty { display: none; }
.admin-rental { background: white; padding: 20px; border: 1px solid var(--border); border-radius: 12px; overflow-wrap: anywhere; }
.admin-rental h3 { margin-top: 0; }
.admin-rental.rental-compact { padding: 0; }
.rental-compact > details { padding: 0; border: 0; background: transparent; }
.rental-summary { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.15fr) minmax(0, 1.5fr) minmax(115px, .8fr) auto; gap: 16px; align-items: center; padding: 18px 20px; cursor: pointer; list-style: none; border-radius: 12px; }
.rental-summary::-webkit-details-marker { display: none; }
.rental-summary:hover { background: var(--teal-light); }
.rental-summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.rental-summary-field { display: grid; gap: 4px; min-width: 0; line-height: 1.4; }
.rental-summary-label { font-size: .75rem; font-weight: 500; color: var(--muted); }
.rental-summary-field strong { font-size: .9rem; font-weight: 650; }
.rental-summary-product strong { color: var(--navy); }
.rental-contract-status { display: inline-block; width: fit-content; padding: 4px 10px; border-radius: 20px; font-size: .8rem; font-weight: 700; color: #1c5279; background: #e8f2fa; }
.rental-contract-status[data-state="signed"] { color: #176b48; background: #e4f5ed; }
.rental-contract-status[data-state="cancelled"] { color: #a93232; background: #fce8e8; }
.rental-contract-status[data-state="returned"] { color: #465967; background: #eef1f4; }
.rental-expand-label { display: flex; align-items: center; gap: 10px; color: var(--teal); font-size: .8rem; font-weight: 700; }
.rental-expand-label::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.rental-compact details[open] > .rental-summary .rental-expand-label::after { transform: rotate(225deg); }
.rental-details { border-top: 1px solid var(--border); padding: 20px; }
.rental-details > p:first-child { margin-top: 0; }
@media(max-width: 900px) {
  .rental-summary { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 14px; }
  .rental-summary-product { grid-column: 1 / 3; }
  .rental-expand-label { grid-column: 3; grid-row: 1; }
  .rental-summary-dates { grid-column: 1 / 3; grid-row: 3; }
  .rental-summary-state { grid-column: 2 / 4; }
}
@media(max-width: 480px) { .rental-summary { padding: 16px; } .rental-details { padding: 16px; } }
@media(max-width: 900px) { .inventory-row { grid-template-columns: 1fr 1fr; } .inventory-row h3 { grid-column: 1 / -1; } }
@media(max-width: 480px) { .inventory-row { grid-template-columns: 1fr; } .admin-login { align-items: stretch; flex-direction: column; } }

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Ciągła linia pod tekstem, również przy literach z dolnymi wydłużeniami. */
a, button, summary {
  text-decoration-skip-ink: none;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.button {
  cursor: pointer;
}

:focus-visible {
  outline: 4px solid rgba(8, 127, 140, .35);
  outline-offset: 3px;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: var(--navy-dark);
  color: #eaf5f7;
  font-size: .9rem;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
}

.topbar-phone { color: inherit; font-weight: 700; white-space: nowrap; }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.header > .container {
  /* Logo i białe tło belki przenikają jednakowo; nagłówek rozmywa tło. */
  opacity: .96;
}

.header > .container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: white;
  pointer-events: none;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  max-width: 100%;
}

.brand-logo {
  display: block;
  width: 250px;
  max-width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.brand--footer {
  width: 300px;
  overflow: hidden;
  border-radius: 12px;
  background: white;
}

.brand--footer .brand-logo {
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: .95rem;
}

.nav-links a:hover {
  color: var(--teal);
}

.menu-button {
  display: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 11px;
  color: var(--navy);
  background: white;
  font-size: 1.2rem;
}

.hero {
  color: white;
  background:
    radial-gradient(circle at 90% 0%, rgba(46, 194, 190, .3), transparent 28rem),
    linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 82px 0 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 55px;
  align-items: center;
}

.eyebrow {
  color: var(--teal);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #83e2df;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -.035em;
}

h1 {
  max-width: 760px;
  margin: 13px 0 20px;
  color: white;
  font-size: clamp(2.25rem, 5vw, 4.7rem);
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

h3 {
  margin: 0 0 9px;
  font-size: 1.2rem;
}

.hero p {
  max-width: 680px;
  margin: 0 0 28px;
  color: #dbeaf0;
  font-size: 1.12rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 18px;
  font-weight: 750;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: var(--teal);
  box-shadow: 0 8px 18px rgba(8, 127, 140, .2);
}

.button-primary:hover {
  background: #066e79;
}

.button-secondary {
  color: var(--navy);
  background: white;
  border-color: var(--border);
}

.button-outline {
  color: var(--teal);
  background: transparent;
  border-color: var(--teal);
}

.hero .button-outline {
  color: white;
  border-color: rgba(255,255,255,.55);
}

.hero-card {
  padding: 25px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  background: rgba(255,255,255,.1);
  box-shadow: var(--shadow);
}

.hero-card strong {
  display: block;
  margin-bottom: 13px;
  font-size: 1.15rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 21px;
  color: #e0f1f3;
}

section {
  padding: 78px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}

.section-heading p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.category-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: center;
  gap: 16px;
  min-height: 160px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
}

.category-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.category-copy {
  min-width: 0;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  font-size: .93rem;
}

.process {
  background: white;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-step {
  position: relative;
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.step-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: white;
  background: var(--teal);
  font-weight: 800;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: .93rem;
}

.catalog-section {
  background: var(--bg);
}

.catalog-tools {
  display: grid;
  grid-template-columns: 1.5fr .65fr .65fr;
  gap: 12px;
  margin-bottom: 26px;
}

label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-weight: 700;
  font-size: .92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 13px 14px;
  color: var(--text);
  background: white;
}

textarea {
  min-height: 125px;
  resize: vertical;
}

.filter-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .9rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 19px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 7px 24px rgba(18,48,74,.05);
}

.product-card[hidden] { display: none; }

.product-image {
  display: grid;
  place-items: center;
  min-height: 155px;
  padding: 20px;
  color: #5d8d99;
  background:
    linear-gradient(135deg, rgba(8,127,140,.12), rgba(18,48,74,.04)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.5) 0 10px, transparent 10px 20px);
  text-align: center;
}

.product-image span {
  display: block;
  max-width: 230px;
  font-weight: 800;
}

.product-card > .product-image { height: 145px; min-height: 145px; padding: 10px; }
.product-image-button { width: 100%; border: 0; font: inherit; cursor: pointer; }
.product-image-button:focus-visible { outline-offset: -4px; }
.product-image--photo { padding: 12px; background: white; border-bottom: 1px solid var(--border); }
.product-image--photo img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.product-gallery { margin-bottom: 24px; }
.gallery-figure { margin: 0; }
.gallery-stage {
  display: grid;
  place-items: center;
  height: clamp(190px, 45vw, 340px);
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
}
.gallery-stage img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.gallery-figure figcaption { margin-top: 8px; color: var(--muted); font-size: .82rem; text-align: center; }
.gallery-thumbnails { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.gallery-thumbnail {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 4px;
  border: 2px solid var(--border);
  border-radius: 9px;
  background: white;
  cursor: pointer;
}
.gallery-thumbnail img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.gallery-thumbnail:hover, .gallery-thumbnail[aria-pressed="true"] { border-color: var(--teal); }
.gallery-thumbnail:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.product-category {
  margin-bottom: 8px;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.product-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.4;
}

.product-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}

.product-price { margin-top: auto; }
.card-price { padding: 9px 12px; border: 1px solid #cde5e7; border-radius: 10px; background: var(--teal-light); }
.card-price-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: .85rem; }
.card-price-heading strong { color: var(--teal); font-size: 1.25rem; line-height: 1.3; }
.card-price-period { display: block; margin-top: 2px; color: var(--muted); font-size: .78rem; }
.card-price-note { margin: 6px 0 10px; color: var(--muted); font-size: .75rem; line-height: 1.4; }
.rental-tariff { margin: 0; font-size: .9rem; }
.rental-tariff > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.rental-tariff dt { flex: 1; }
.rental-tariff dd { margin: 0; font-weight: 700; white-space: nowrap; }
.hygiene-note { font-size: .9rem; line-height: 1.55; color: var(--navy); }
.rental-total { margin: 20px 0; }
.order-breakdown { padding-left: 20px; font-size: .9rem; line-height: 1.6; overflow-wrap: anywhere; }
.pump-accessories { margin-top: 16px; padding: 16px; background: var(--teal-light); border: 1px solid var(--border); border-radius: 12px; overflow-wrap: anywhere; }
.pump-accessories h3 { margin: 0 0 12px; }
.pump-accessories label { display: block; margin-bottom: 6px; }
.pump-accessories select, .pump-accessories input { width: 100%; min-height: 44px; padding: 8px; background: white; border: 1px solid var(--border); border-radius: 8px; }
.pump-accessories select { margin-bottom: 12px; }
.pump-accessories ul { padding-left: 20px; font-size: .9rem; }
.pump-accessories .checkbox-row { display: flex; align-items: center; gap: 8px; }
.pump-accessories input[type="checkbox"], .pump-accessories input[type="radio"] { width: 18px; min-height: 18px; flex-shrink: 0; }
.accessory-row { display: grid; grid-template-columns: minmax(0, 1fr) 76px auto; gap: 8px; align-items: end; margin-top: 16px; }
.accessory-row select { margin: 0; }
.accessory-remove { min-height: 44px; }
.accessory-row .accessory-unit-price { grid-column: 1 / -1; margin: 0; }
.minimum-choice { border: 0; padding: 0; background: none; color: var(--teal); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.minimum-choice:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 2px; }
.pump-sides { display: flex; gap: 8px; margin-top: 16px; }
.pump-sides label { flex: 1; display: flex; align-items: center; gap: 6px; padding: 10px 8px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; background: white; }
.pump-sides label:has(:checked) { border-color: var(--teal); color: var(--teal); font-weight: 700; }
#accessoryQuoteStatus[data-error="true"] { color: var(--danger); font-weight: 700; }
.kit-schematic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kit-part { min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 8px 4px; border: 1px solid var(--border); border-radius: 10px; background: #f6f7f8; text-align: center; color: var(--muted); }
.kit-part img { width: 100%; height: 66px; object-fit: contain; filter: grayscale(1); opacity: .35; mix-blend-mode: multiply; }
.kit-part strong { font-size: .85rem; }
.kit-part span { font-size: .75rem; }
.kit-part[data-ready="true"] { color: var(--teal); background: var(--teal-light); border-color: var(--teal); }
.kit-part[data-ready="true"] img { filter: none; opacity: 1; }
.accessory-modal { padding: 0; border: 0; border-radius: 16px; color: var(--text); width: min(760px, calc(100vw - 24px)); max-width: none; height: min(900px, 94dvh); max-height: 94dvh; margin: 3dvh auto; background: white; box-shadow: 0 20px 80px #05192855; }
.accessory-modal[open] { display: flex; flex-direction: column; overflow: hidden; }
.accessory-modal::backdrop { background: #051928b8; }
.accessory-modal-head { flex: 0 0 auto; padding: 12px 18px; border-bottom: 1px solid var(--border); background: white; }
.accessory-modal-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.accessory-modal-title h3 { margin: 0; font-size: 1.2rem; }
.accessory-modal-body { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 18px; }
.accessory-modal-footer { flex-shrink: 0; padding: 10px 18px; border-top: 1px solid var(--border); background: white; }
.accessory-modal-footer p { margin: 0 0 8px; font-size: .85rem; }
.accessory-modal-footer #kitPrice { font-weight: 700; min-height: 1lh; }
/* This dialog has its own scrolling body, outside the rental form's sticky header. */
.modal .accessory-modal :is(input, select, textarea, [tabindex]) { scroll-margin-top: 12px; }
.accessory-modal-footer .button { width: 100%; }
.accessory-modal .accessory-row { grid-template-columns: 54px minmax(0, 1fr) 70px auto; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.accessory-picture { grid-column: 1; grid-row: 1 / 3; width: 54px; height: 70px; object-fit: contain; }
.accessory-modal .accessory-row .accessory-unit-price { grid-column: 2 / -1; }
@media (max-width: 480px) {
  .accessory-modal-head, .accessory-modal-body, .accessory-modal-footer { padding-left: 12px; padding-right: 12px; }
  .accessory-modal-footer #kitPrice { min-height: 2lh; }
  .accessory-modal-footer #kitRequirementsStatus { min-height: 2lh; }
  .accessory-modal .kit-part img { height: 48px; }
  .accessory-modal .accessory-row { grid-template-columns: 42px minmax(0, 1fr) 60px; }
  .accessory-modal .accessory-picture { width: 42px; }
  .accessory-modal .accessory-type { grid-column: 2; }
  .accessory-modal .accessory-count { grid-column: 3; }
  .accessory-modal .accessory-remove { grid-column: 3; grid-row: 2; }
  .accessory-modal .accessory-row .accessory-unit-price { grid-column: 2; grid-row: 2; }
}
@media (max-height: 550px) {
  .accessory-modal-head { padding-top: 6px; padding-bottom: 6px; }
  .accessory-modal .kit-part img { height: 28px; }
  .accessory-modal .kit-part { padding: 3px; }
  .accessory-modal-footer { padding-top: 6px; padding-bottom: 6px; }
}
@media (max-width: 480px) {
  .accessory-row { grid-template-columns: minmax(0, 1fr) 70px; }
  .accessory-remove { grid-column: 2; grid-row: 2; min-height: 32px; justify-self: end; }
  .accessory-row .accessory-unit-price { grid-column: 1; grid-row: 2; }
}
.rental-total-label { display: block; font-size: .9rem; color: var(--muted); }
.rental-total-amount { display: block; margin-top: 4px; font-size: 1.4rem; font-weight: 700; line-height: 1.2; color: var(--teal); overflow-wrap: anywhere; }
.rental-total-note { margin: 8px 0; font-size: .85rem; color: var(--muted); }
.product-footer {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  align-items: center;
  gap: 8px;
}
.product-footer .button { min-height: 44px; padding: 8px 10px; font-size: .85rem; }
.product-footer .text-button { min-height: 44px; padding: 8px 4px; font-size: .82rem; }

.price-placeholder {
  color: var(--navy);
  font-size: .9rem;
  font-weight: 800;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mini-product {
  padding: 19px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
}

.mini-product p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.info-box {
  padding: 28px;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.info-box p,
.info-box li {
  color: var(--muted);
}

.info-box ul {
  padding-left: 21px;
}

.about-content { display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 48px; }
.about-social { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; border-left: 1px solid var(--border); }
.about-social__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid var(--border); border-radius: 50%; background: var(--white); color: var(--teal); }
.about-social__icon svg { display: block; }
.about-social__icon:hover { background: var(--teal-light); border-color: var(--teal); }
.about-social__icon:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
@media (max-width: 640px) {
  .about-content { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .about-social { flex-direction: row; justify-content: flex-start; gap: 12px; padding-top: 20px; border-left: 0; border-top: 1px solid var(--border); }
}
.contact-section .info-grid { align-items: stretch; }
.office-map { min-width: 0; display: grid; grid-template-rows: auto minmax(170px, 1fr); gap: 12px; }
.office-map .eyebrow { margin: 0; line-height: 1.6; }
.office-map__preview { position: relative; border-radius: 14px; background: #e8efea; }
.office-map__link { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: inherit; }
.office-map__link img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.office-map__link:hover img { transform: scale(1.025); }
.office-map__link:focus-visible { outline: 3px solid #83e2df; outline-offset: 4px; }
.office-map__hint { position: absolute; top: 10px; right: 10px; padding: 4px 9px; border-radius: 6px; background: white; color: var(--navy); font-size: .75rem; box-shadow: 0 2px 8px #12304a18; }
.office-map__credit { position: absolute; bottom: 3px; right: 5px; padding: 0 4px; background: #fffffff2; color: #354851; font-size: .65rem; text-decoration-line: underline; }
@media (prefers-reduced-motion: reduce) { .office-map__link img { transition: none; } .office-map__link:hover img { transform: none; } }


.faq-list {
  display: grid;
  gap: 11px;
}

details {
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 17px 19px;
  background: white;
}

summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 800;
}

details p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  color: white;
  background: var(--navy);
}

.contact-section h2,
.contact-section h3 {
  color: white;
}

.contact-section p,
.contact-section li {
  color: #d8e8ed;
}

.contact-section .button-outline {
  color: white;
  border-color: rgba(255,255,255,.6);
}

footer {
  padding: 34px 0 85px;
  color: #d4e3e8;
  background: var(--navy-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
}

footer h3 {
  color: white;
  font-size: 1rem;
}

footer p,
footer li {
  color: #b9cbd2;
  font-size: .9rem;
}

footer ul {
  margin: 0;
  padding-left: 18px;
}

.demo-alert {
  margin: 24px 0 0;
  border: 1px solid #d9c88c;
  border-radius: 12px;
  padding: 13px 15px;
  color: #655318;
  background: #fff9d9;
  font-size: .9rem;
}

.analytics-consent {
  position: fixed;
  z-index: 40;
  inset: auto 0 0;
  width: 100%;
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid #b9cad4;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(18, 48, 74, .12);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px 24px;
  max-height: min(70dvh, 520px);
  overflow-y: auto;
}
.analytics-consent p { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--text); }
.analytics-consent a { color: var(--teal); text-decoration-line: underline; }
.analytics-consent__more { border: 0; padding: 0; margin: 2px 0 0; }
.analytics-consent__more summary { cursor: pointer; width: fit-content; padding: 4px 0; font-size: .85rem; color: var(--teal); text-decoration-line: underline; }
.analytics-consent__expanded { margin-top: 8px; max-height: 38dvh; overflow-y: auto; padding: 0 10px 4px 0; }
.analytics-consent__expanded p, .analytics-consent__details { font-size: .84rem; line-height: 1.5; }
.analytics-consent__details { margin: 8px 0; padding-left: 20px; }
.analytics-consent__details li + li { margin-top: 5px; }
.analytics-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.analytics-consent__actions .button { min-height: 44px; padding: 8px 16px; white-space: nowrap; box-shadow: none; font-size: .9rem; }
body:has(> #analyticsConsent:not([hidden])) { padding-bottom: var(--consent-height, 200px); }
body:has(#analyticsConsent:not([hidden])) .mobile-actions { display: none; }
@media (max-width: 700px) {
  .analytics-consent { grid-template-columns: 1fr; padding-inline: 16px; gap: 6px; }
  .analytics-consent__actions .button { width: 100%; }
}

.empty-state {
  grid-column: 1 / -1;
  padding: 35px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  background: white;
  text-align: center;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(5, 25, 40, .68);
}

.modal.is-open {
  display: flex;
}

.modal-dialog {
  position: relative;
  overflow: auto;
  max-height: min(850px, calc(100vh - 36px));
  width: min(760px, 100%);
  border-radius: 20px;
  background: white;
  box-shadow: 0 20px 80px rgba(0,0,0,.25);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 25px 27px 12px;
}

.modal-body {
  padding: 0 27px 27px;
}

.close-button {
  align-self: start;
  border: 0;
  border-radius: 9px;
  padding: 4px 10px;
  color: var(--navy);
  background: var(--bg);
  font-size: 1.4rem;
}

.detail-list {
  margin: 20px 0;
  padding-left: 21px;
}

.detail-list li {
  margin-bottom: 6px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.error {
  min-height: 18px;
  margin-top: 4px;
  color: var(--danger);
  font-size: .8rem;
}

.form-status {
  margin-top: 15px;
  border-radius: 11px;
  padding: 12px 14px;
  font-size: .9rem;
}

.form-status.success {
  color: var(--success);
  background: #e4f5ed;
}

.form-status.error {
  color: var(--danger);
  background: #fce8e8;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 10px 0;
  color: var(--muted);
  font-size: .88rem;
}

.checkbox-row input {
  width: auto;
  margin-top: 5px;
}

.mobile-actions {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  background: white;
  border-top: 1px solid var(--border);
  box-shadow: 0 -5px 20px rgba(0,0,0,.08);
}

.mobile-actions .button {
  min-height: 45px;
}

@media (max-width: 950px) {
  .hero-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: 62px;
  }

  .topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .topbar-inner span:last-child {
    display: none;
  }

  .nav {
    min-height: 64px;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: white;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .hero {
    padding: 57px 0 58px;
  }

  section {
    padding: 58px 0;
  }

  .category-grid,
  .product-grid,
  .featured-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .catalog-tools {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading .button {
    margin-top: 15px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field.full {
    grid-column: auto;
  }

  .mobile-actions {
    display: grid;
  }
}


/* Oznakowanie: oryginalne pliki, białe tło i zachowane proporcje.
   Różne szerokości wyrównują wielkość widocznych znaków, nie płócien PNG. */
html { scroll-padding-top: 144px; }
[hidden] { display: none !important; }
.funding-strip { padding: 0; background: white; border-bottom: 1px solid var(--border); }
.funding-strip-inner { padding: 6px 0 12px; text-align: center; }
.funding-logos {
  display: grid;
  grid-template-columns: minmax(0, 15fr) minmax(0, 8fr) minmax(0, 24fr);
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 700px;
  margin-inline: auto;
}
.funding-logos picture { display: block; min-width: 0; }
.funding-lgd { display: block; width: 100%; max-width: 100px; justify-self: center; }
.funding-logo { display: block; width: 100%; height: auto; object-fit: contain; }
.funding-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--teal);
  border-radius: 11px;
  color: var(--teal);
  background: white;
  font-size: .9rem;
  font-weight: 750;
}
.funding-link:hover { color: white; background: var(--teal); }
.funding-section { background: white; }
.funding-section .info-box { border: 1px solid var(--border); }
.funding-brand-grid {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.project-details {
  display: grid;
  grid-template-columns: minmax(210px, .55fr) 1fr;
  gap: 12px 24px;
  margin: 24px 0 0;
}
.project-details dt { color: var(--navy); font-weight: 800; }
.project-details dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.operator-note { margin-top: 14px; color: var(--muted); font-size: .9rem; }
.contact-section .info-box { color: var(--text); }
.contact-section .info-box h3 { color: var(--navy); }
.contact-section .info-box p { color: var(--muted); }
.contact-section .eyebrow { color: #83e2df; }
.contact-section .info-box a, #o-nas .info-box a {
  color: var(--teal); text-decoration-line: underline;
}
.contact-section .info-box p { overflow-wrap: anywhere; }
.contact-section .button-outline { gap: 6px; }
.topbar-inner { align-items: center; }
.topbar-inner > span:last-child { text-align: right; }

/* Dodatkowy link w menu wymaga wcześniejszego przejścia na przycisk menu. */
@media (max-width: 1180px) {
  .nav { min-height: 96px; }
  .header .nav:has(.nav-links.is-open) { opacity: 1; }
  .nav .brand-logo { width: 194px; }
  .menu-button { display: block; }
  .nav-links {
    position: absolute; top: 100%; right: 16px; left: 16px;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100dvh - 112px); overflow-y: auto;
    padding: 8px; border: 1px solid var(--border); border-radius: 14px;
    background: white; box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 112px; }
  .funding-strip-inner { padding: 6px 0 10px; }
  .funding-logos { grid-template-columns: minmax(0, 100fr) minmax(0, 76fr) minmax(0, 135fr); justify-items: center; gap: 6px; }
  .funding-logos .funding-ps { width: min(100px, 100%); }
  .funding-logos .funding-ue { width: min(135px, 100%); }
  .funding-lgd { max-width: 76px; }
  .funding-link { width: 100%; margin-top: 6px; }
  .funding-section .info-box { padding: 22px 18px; }
  .project-details { grid-template-columns: 1fr; gap: 4px; }
  .project-details dd { margin-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.honeypot { position: absolute; left: -9999px; }
.preview-banner { background: #e6f5f5; color: #12304a; text-align: center; padding: 8px 16px; font-size: .875rem; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 10000; background: #fff; padding: 12px; }
.skip-link:focus { top: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Spójny proces: Zapytaj / Wynajmij. */
[hidden] { display: none !important; }
section { padding: 42px 0; }
.hero { padding: 42px 0; }
.hero h1 { font-size: clamp(2rem, 3.8vw, 3.5rem); }
.hero-card p { font-size: 1rem; margin: 12px 0 0; }
.catalog-tools { grid-template-columns: 2fr 1fr auto; align-items: end; }
.catalog-more { display: flex; margin: 26px auto 0; }
.text-button { border: 0; background: transparent; color: var(--teal); font: inherit; text-decoration-line: underline; padding: 8px 0; cursor: pointer; }
.topbar .text-button { color: white; }
.request-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.request-option { border: 1px solid var(--border); border-radius: 12px; padding: 14px; background: white; text-align: left; color: var(--text); }
.request-option strong, .request-option span { display: block; }
.request-option span { font-size: .87rem; margin-top: 4px; }
.request-option[aria-pressed="true"] { border: 2px solid var(--teal); padding: 13px; background: var(--teal-light); }
.form-section { min-width: 0; border: 1px solid var(--border); border-radius: 12px; padding: 18px; margin: 24px 0; }
.form-section legend { color: var(--navy); font-weight: 750; padding: 0 6px; }
.payment-method-icons { display: inline-flex; align-items: center; gap: 8px; flex: none; color: var(--text); }
.payment-method-icons img { display: block; width: 38px; height: 18px; object-fit: contain; }
.payment-method-icons svg { flex: none; }
.payment-choice { position: relative; min-width: 0; }
.payment-choice-trigger, .payment-choice-option { display: flex; align-items: center; gap: 8px; width: 100%; padding: 13px 12px; color: var(--text); background: #fff; font: inherit; font-weight: 400; text-align: left; }
.payment-choice-trigger { min-height: 50px; border: 1px solid var(--border); border-radius: 13px; cursor: pointer; }
.payment-choice-trigger::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-left: auto; flex: none; }
.payment-choice-trigger[aria-expanded="true"]::after { transform: rotate(225deg); }
.payment-choice-trigger:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.payment-choice-options { position: absolute; z-index: 5; top: calc(100% + 4px); left: 0; width: 100%; padding: 4px; border: 1px solid var(--border); border-radius: 13px; background: #fff; box-shadow: 0 8px 24px #18303d26; }
.payment-choice-option { min-height: 44px; border-radius: 9px; cursor: pointer; }
.payment-choice-option:hover, .payment-choice-option.is-active { background: #e7f5f5; }
.payment-choice-option[aria-selected="true"] { color: var(--teal); }
.form-field, .form-field input, .form-field select { min-width: 0; max-width: 100%; }
.form-field > input, .form-field > select, .form-field > textarea { display: block; width: 100%; }
[aria-invalid="true"] { border-color: var(--danger); }
.modal-header { position: sticky; top: 0; z-index: 2; background: white; border-radius: 20px 20px 0 0; }
.modal-dialog { max-height: calc(100dvh - 36px); }
.privacy-page { max-width: 900px; padding-top: 36px; padding-bottom: 60px; }
.privacy-page h1 { color: var(--navy); font-size: 2.5rem; }
.privacy-page h2 { font-size: 1.45rem; }
.privacy-page section { padding: 20px 0; }
.privacy-page a { color: var(--teal); text-decoration-line: underline; }
.privacy-page p { overflow-wrap: anywhere; }
.admin-filters { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin: 20px 0; }
@media (max-width: 700px) {
  section { padding: 30px 0; }
  .hero { padding: 28px 0; }
  .hero-card { display: none; }
  .catalog-tools, .admin-filters { grid-template-columns: 1fr; }
  .modal { padding: 8px; }
  .modal-dialog { max-height: calc(100dvh - 16px); }
  .modal-header { padding: 16px; }
  .modal-body { padding: 0 16px 20px; }
  .modal-header h2 { font-size: 1.45rem; }
  .form-section { padding: 12px; }
  .request-option { padding: 10px; }
  .request-option[aria-pressed="true"] { padding: 9px; }
  .request-option span { font-size: .8rem; }
}

.product-image--illustration { flex-direction: column; gap: 6px; padding: 12px; }
.product-image--illustration img { width: 110px; height: 110px; object-fit: contain; }
.product-image--illustration span { font-size: .75rem; font-weight: 500; }
.product-card > .product-image--illustration { gap: 4px; }
.product-card > .product-image--illustration img { width: 82px; height: 82px; }
.product-card > .product-image--illustration span { max-width: none; font-size: .68rem; line-height: 1.3; }
.checkbox-row input { width: 18px; min-width: 18px; height: 18px; flex: 0 0 18px; }
.availability-panel .text-button { width: fit-content; text-align: left; margin: 0; padding: 3px 0; font-size: inherit; font-weight: 500; }
.modal input, .modal select, .modal textarea, .modal [tabindex] { scroll-margin-top: 100px; }
#formStatus p { margin: 10px 0; }
#newRental, #copyConfirmation { margin: 12px 8px 0 0; }

.admin-page h1 { color: var(--navy); font-size: clamp(1.8rem, 4vw, 2.8rem); }

/* Krótsza droga od katalogu do zgłoszenia. */
.funding-strip-inner { padding: 6px 0; }
.funding-strip .funding-logos { max-width: 620px; }
.funding-link { min-height: 28px; border: 0; border-radius: 0; padding: 4px 8px; font-size: .8rem; font-weight: 500; text-decoration-line: underline; }
.funding-link:hover { color: var(--navy); background: transparent; }
.catalog-tools:has(#clearFilters[hidden]) { grid-template-columns: 2fr 1fr; }
#clearFilters { min-height: 36px; padding: 6px 10px; }
.product-overview { padding: 4px 0 8px; }
.product-specification { padding: 14px 0; border: 0; border-radius: 0; }
.product-specification summary { cursor: pointer; color: var(--navy); font-weight: 700; padding: 4px 0; }
.product-actions { position: sticky; bottom: 0; z-index: 3; background: white; border-top: 1px solid var(--border); padding: 12px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-actions .actions { flex-wrap: nowrap; margin: 0; gap: 8px; }
.product-action-price .card-price-note { display: none; }
.product-action-price .card-price { border: 0; padding: 0; margin: 0; background: transparent; }
.product-action-price .card-price-heading { display: block; font-size: .8rem; }
.product-action-price .card-price-heading strong { display: block; font-size: 1.3rem; }
.product-action-price .card-price-period { font-size: .75rem; }
#productModal .modal-body { padding-bottom: 0; }
.rental-progress { list-style: none; padding: 0; margin: 16px 0; display: flex; gap: 6px; counter-reset: none; }
.rental-progress li { flex: 1; min-width: 0; }
.rental-progress button { width: 100%; height: 100%; padding: 8px 4px; border: 0; border-bottom: 3px solid var(--border); background: transparent; color: var(--muted); font: inherit; font-size: .82rem; text-align: left; cursor: pointer; }
.rental-progress button:hover { color: var(--teal); }
.rental-progress button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.rental-progress [aria-current="step"] { color: var(--teal); border-color: var(--teal); font-weight: 750; }
.rental-navigation { display: flex; justify-content: space-between; gap: 10px; position: sticky; bottom: 0; background: white; padding: 12px 0; border-top: 1px solid var(--border); z-index: 3; }
.rental-navigation .button-primary { margin-left: auto; }
.form-section legend:focus { outline-offset: 4px; }
#selectedRentalProduct { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#selectedRentalProduct strong { color: var(--navy); }
#changeRentalProduct { flex-shrink: 0; font-size: .85rem; }
.rental-base-price .card-price { margin: 0; }
.customer-summary { white-space: pre-line; overflow-wrap: anywhere; padding: 12px; background: var(--bg); border-radius: 8px; }
.inquiry-extra summary { color: var(--teal); cursor: pointer; padding: 8px 0; }
.inquiry-extra .form-grid { margin-top: 10px; }
.process-compact { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: process; }
.process-compact li { counter-increment: process; position: relative; padding-left: 38px; }
.process-compact li::before { content: counter(process); position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-light); color: var(--teal); font-weight: 750; }
.process-compact strong, .process-compact span { display: block; }
.process-compact span { margin-top: 4px; color: var(--muted); font-size: .9rem; }
body.modal-open .mobile-actions { display: none; }
@media (min-width: 701px) and (max-width: 950px) {
  .hero-card { display: none; }
  .funding-strip .funding-logos { max-width: 540px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 88px; }
  .topbar { display: none; }
  .header .nav { min-height: 72px; }
  .nav .brand-logo { width: 156px; }
  .funding-strip-inner { padding: 4px 0; }
  .funding-link { width: auto; margin-top: 0; }
  .funding-strip .funding-logos .funding-logo { max-height: 100px; width: auto; max-width: 100%; margin-inline: auto; }
  .hero { padding: 20px 0; }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.3rem); }
  .catalog-tools, .catalog-tools:has(#clearFilters[hidden]) { grid-template-columns: 1fr; gap: 10px; }
  #clearFilters { justify-self: start; border: 0; text-decoration-line: underline; }
  .product-card > .product-image { height: 140px; min-height: 0; }
  .product-card .product-body { padding: 16px; }
  .product-card .product-description { margin: 8px 0; }
  .product-card .product-title { font-size: 1.15rem; }
  .product-actions { flex-wrap: wrap; gap: 6px; padding: 8px 0; }
  .product-action-price { width: 100%; }
  .product-action-price .card-price-heading, .product-action-price .card-price-heading strong { display: inline; font-size: 1rem; }
  .product-action-price .card-price-period { display: inline; margin-left: 4px; }
  .product-actions .actions { width: 100%; }
  .product-actions .actions .button { flex: 1; padding: 10px; }
  .form-section { margin: 16px 0; }
  #rentalForm > .form-help { font-size: .85rem; margin: 8px 0; }
  .rental-base-price .card-price { padding: 8px 10px; }
  .rental-base-price .card-price-heading { font-size: .85rem; }
  .rental-base-price .card-price-heading strong { font-size: 1.15rem; }
  .rental-base-price .card-price-note { margin: 4px 0; font-size: .75rem; }
  .rental-navigation .button { padding: 10px 12px; }
  .process-compact { grid-template-columns: 1fr; gap: 14px; }
  .mobile-actions { padding-bottom: max(8px, env(safe-area-inset-bottom)); }
}

/* Responsive formats share the existing image layout, including gallery grid sizing. */
.responsive-picture { display: contents; }
