/* Hitako – wygląd aplikacji na telefonie.
   Ładowany tylko do 860 px (atrybut media w <link>). Projekt: canvas „Hitako – projekt aplikacji mobilnej”.
   Zasady: tło #F1F1EE, wszystko leży na białych powierzchniach (nagłówek z zaokrąglonym dołem, karty 22 px),
   akcje #008524, ikony w kołach #E3F7E9, mało elementów i dużo oddechu. */

:root {
  --app-bg: #F1F1EE;
  --app-card: #FFFFFF;
  --app-act: #008524;
  --app-act-hover: #006B1D;
  --app-act-ink: #00661C;
  --app-soft: #E3F7E9;
  --app-hair: #EFEEE9;
  --app-muted: #5C6168;
  --app-ring: #D4D2CC;
  --app-dark: #0E2F1A;
  --app-shadow: 0 6px 24px rgba(17, 17, 17, .05);
  --app-shadow-up: 0 -4px 20px rgba(17, 17, 17, .07);
}

/* ---------- Podstawa ---------- */
/* Tło dokumentu białe jak górny pasek: Safari na iPhonie bierze z niego kolor paska stanu i przewijania „z gumką” */
html { -webkit-text-size-adjust: 100%; background: var(--app-card); }
/* Bez „gumowego” odbicia strony: na iPhonie przeciągało ono w górę i w dół także dolny pasek */
html, body { overscroll-behavior-y: none; }
/* Safari 26 na iOS barwi pasek stanu kolorem tła body (background-color), gdy u góry nie ma przyklejonego elementu.
   Kolor tła jest więc biały jak górny pasek, a szare tło strony daje obraz (gradient) w tym samym miejscu. */
body { background-color: var(--app-card); background-image: linear-gradient(var(--app-bg), var(--app-bg)); min-height: 100vh; min-height: 100dvh; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
body.has-booking-bar { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
body.sheet-open { overflow: hidden; }
a, button, input, select, label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
input, select, textarea { font-size: 16px; }
.wrap { padding: 0 20px; }
.crumbs { display: none; }
main [id] { scroll-margin-top: 84px; }
.sr-mobile, .hero h1, .hero-lead, .cat-title, .page-head h1 {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.btn { min-height: 50px; border: 0; border-radius: 14px; }
.btn-primary { background: var(--app-act); color: #FFFFFF; }
.btn-primary:hover { background: var(--app-act-hover); color: #FFFFFF; }
.btn-outline { background: var(--app-card); color: var(--ink); border: 0; }
.btn-outline:hover { background: var(--app-card); color: var(--ink); }
.btn-soft { background: var(--app-bg); color: var(--ink); }
.btn .icon { width: 18px; height: 18px; }

/* ---------- Górny pasek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  padding-top: env(safe-area-inset-top);
  background: var(--app-card); border: 0; border-radius: 0 0 24px 24px; box-shadow: var(--app-shadow);
}
.site-header .wrap {
  position: relative; min-height: 64px; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.main-nav { display: none; }
.logo { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-decoration: none; min-width: 0; }
.logo img { height: 21px; width: auto; }
.logo-tag {
  display: block; max-width: 100%;
  font-size: 11px; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em;
  color: var(--app-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.header-call {
  flex: none; width: 44px; height: 44px; min-height: 44px; padding: 0; gap: 0; font-size: 0;
  border: 0; border-radius: 50%; background: var(--app-bg); color: var(--ink);
}
.header-call:hover, .header-call:active { background: var(--app-hair); color: var(--ink); }
.header-call svg { width: 19px; height: 19px; }
.header-back { display: none; }
.has-back .logo { display: none; }
.has-back .header-back {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--app-bg); color: var(--ink); text-decoration: none;
}
.has-back .header-back:active { background: var(--app-hair); }
.header-back svg { width: 22px; height: 22px; }
.appbar-title {
  display: block; position: absolute; left: 76px; right: 76px; pointer-events: none;
  text-align: center; font-size: 17px; font-weight: 700; line-height: 64px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Strony, gdzie biała część ciągnie się dalej (nagłówek bez zaokrąglenia) */
.page-home .site-header,
body.has-booking-bar .site-header,
body:has(.cat-page) .site-header,
body:has(.page-head) .site-header,
body:has(.done) .site-header { border-radius: 0; box-shadow: none; }
.page-home .site-header { position: relative; }

/* ---------- Dolny pasek ---------- */
.tabbar {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  /* Pasek przyklejony do dołu ekranu, z tłem do samej krawędzi */
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: var(--app-card);
  border: 0; border-top: 1px solid #EFEEE9; border-radius: 22px 22px 0 0; box-shadow: none;
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 52px; text-decoration: none; font-size: 11.5px; font-weight: 600; color: var(--app-muted);
}
.tabbar a svg {
  width: 56px; height: 30px; padding: 4px 17px; box-sizing: border-box; border-radius: 999px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.tabbar [aria-current="page"] { color: var(--app-act-ink); }
.tabbar [aria-current="page"] svg { background: var(--app-soft); }
.tabbar [aria-expanded="true"] { color: var(--ink); }
body.has-booking-bar .tabbar { display: none; }

/* ---------- Arkusze od dołu ---------- */
.sheet-backdrop {
  display: block; position: fixed; inset: 0; z-index: 70; background: rgba(17, 17, 17, .45);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s;
}
.sheet-backdrop.is-open { opacity: 1; visibility: visible; }
.sheet, .filter-panel {
  display: flex; flex-direction: column; gap: 14px;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  max-height: 86vh; overflow-y: auto; overscroll-behavior: contain;
  padding: 8px 20px calc(20px + env(safe-area-inset-bottom));
  background: var(--app-card); border-radius: 28px 28px 0 0; box-shadow: 0 -8px 30px rgba(17, 17, 17, .18);
  transform: translateY(100%); visibility: hidden;
  transition: transform .26s cubic-bezier(.2, .8, .2, 1), visibility .26s;
}
.sheet.is-open, .filter-panel.is-open { transform: none; visibility: visible; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; position: relative; }
.sheet-head::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 40px; height: 5px; margin-left: -20px;
  border-radius: 999px; background: var(--app-ring);
}
.sheet-head strong { font-family: var(--display); font-size: 21px; letter-spacing: -0.01em; }
.sheet-close {
  flex: none; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: var(--app-bg); color: var(--ink); cursor: pointer;
}
.sheet-close svg { width: 20px; height: 20px; fill: currentColor; }
.sheet-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 4px; }
.sheet-actions .btn { min-height: 52px; }
.sheet-actions .btn-outline { background: var(--app-bg); }

/* Menu */
.menu-sheet { background: var(--app-bg); }
.menu-sheet .sheet-close { background: var(--app-card); }
.menu-list { display: flex; flex-direction: column; padding: 0 16px; background: var(--app-card); border-radius: 22px; }
.menu-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px;
  font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--app-hair);
}
.menu-list a:last-child { border-bottom: 0; }
.menu-list a[aria-current="page"] { color: var(--app-act-ink); }
.menu-list svg { width: 22px; height: 22px; fill: #9A9EA4; flex: none; }
.menu-sheet .btn { min-height: 52px; }
.menu-hours { font-size: 13px; color: var(--app-muted); text-align: center; }

/* Lista opcji (kategoria, sortowanie) */
.opt-sheet { gap: 4px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
.opt-list { margin: 6px 0 0; padding: 0; list-style: none; }
.opt-list li { border-bottom: 1px solid var(--app-hair); }
.opt-list li:last-child { border-bottom: 0; }
.opt {
  width: 100%; min-height: 52px; padding: 0; display: flex; align-items: center; gap: 8px;
  border: 0; background: none; cursor: pointer; text-align: left;
  font: inherit; font-size: 15.5px; font-weight: 500; color: var(--ink);
}
.opt.is-sub { padding-left: 16px; font-size: 14.5px; color: var(--muted); }
.opt-label { flex: 1; min-width: 0; padding: 8px 0; line-height: 1.3; }
.opt-count { font-size: 14px; font-weight: 400; color: var(--app-muted); white-space: nowrap; }
.opt-check {
  flex: none; width: 24px; height: 24px; box-sizing: border-box; border-radius: 50%;
  border: 2px solid var(--app-ring); display: flex; align-items: center; justify-content: center; color: #FFFFFF;
}
.opt-check svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; visibility: hidden; }
.opt-list [aria-selected="true"] .opt { font-weight: 700; color: var(--ink); }
.opt-list [aria-selected="true"] .opt-check { background: var(--app-act); border-color: var(--app-act); }
.opt-list [aria-selected="true"] .opt-check svg { visibility: visible; }

/* ---------- Start ---------- */
.hero { padding: 18px 0 22px; background: var(--app-card); border-radius: 0 0 28px 28px; box-shadow: var(--app-shadow); }
.page-home .site-header .wrap { min-height: 68px; padding-top: 6px; padding-bottom: 6px; }
.hero-grid { display: block; }
.hero-photo { display: none; }
.hero-copy { display: flex; flex-direction: column; align-items: stretch; gap: 18px; text-align: left; }
.hero-meta,
.hero-meta.has-status { display: none !important; }
.quick-cats {
  order: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px; margin: 0;
}
.search { order: 2; width: 100%; margin: 0; }
.search .btn { display: none; }
.search input {
  min-height: 52px; padding: 0 16px 0 46px; border: 0; border-radius: 16px; background-color: var(--app-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C6168' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 16px center; background-size: 19px;
}
.search input:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; }
.suggest-list { border: 0; border-radius: 16px; box-shadow: 0 12px 32px rgba(17, 17, 17, .18); }
.quick-cats a {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.qc-ico {
  width: 60px; height: 60px; border-radius: 50%; background: var(--app-soft); color: var(--app-act-ink);
  display: flex; align-items: center; justify-content: center;
}
.qc-ico svg { width: 25px; height: 25px; stroke-width: 1.8; }
.quick-cats .is-all .qc-ico { background: var(--app-bg); color: var(--ink); }

/* Sezon: jedna karta-baner */
.season { padding: 20px 0 0; background: none; }
.season::before, .season::after { display: none; }
.season .section-head, .season .tool-grid.carousel { display: none; }
.season-banner {
  display: flex; position: relative; overflow: hidden; height: 128px;
  border-radius: 22px; background: var(--app-dark); color: #FFFFFF; text-decoration: none;
}
.season-banner:hover { color: #FFFFFF; }
.season-banner::before {
  content: ""; position: absolute; right: -30px; top: -30px; width: 180px; height: 180px;
  border-radius: 50%; background: #174A2A;
}
.sb-text { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 12px 0 22px; }
.sb-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8FE3A6; }
.sb-title { font-family: var(--display); font-size: 20px; line-height: 1.15; font-weight: 700; }
.sb-price { font-size: 14px; color: #CFE5D6; }
.sb-img {
  position: relative; flex: none; align-self: center; margin-right: 18px;
  width: 96px; height: 96px; border-radius: 50%; background: #FFFFFF; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.sb-img img { width: 72px; height: 72px; object-fit: contain; }

/* Sekcje */
.section, .section.section-flow { padding: 28px 0 0; }
.section-sand { background: none; }
#kategorie { display: none; }
.section-head { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section h2, .visit h2 { font-size: 19px; letter-spacing: -0.01em; }
.section-title p { display: none; }
.section-actions { gap: 0; }
.carousel-nav { display: none; }
.link-arrow { font-size: 14px; font-weight: 700; color: var(--app-act); text-decoration: none; white-space: nowrap; }

/* Karty produktów w poziomych listach */
.tool-grid.carousel {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 -20px; padding: 0 20px 4px; scroll-padding: 0 20px;
}
.tool-grid.carousel::-webkit-scrollbar { display: none; }
.tool-grid.carousel .tool-card { flex: 0 0 168px; scroll-snap-align: start; }
.tool-card { padding: 8px 8px 14px; border: 0; border-radius: 22px; background: var(--app-card); overflow: hidden; }
.tool-card:hover { border: 0; }
.tool-card-img { height: 132px; border: 0; background: #FFFFFF; }
.tool-card-img img { max-width: 86%; max-height: 86%; }
.tool-card-body { padding: 8px 6px 0; gap: 4px; }
.tool-card-name {
  font-size: 14.5px; font-weight: 600; line-height: 1.3; min-height: 2.6em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tool-card .prices { margin: 0; gap: 0; font-size: 13px; color: var(--app-muted); }
.tool-card .prices span:not(:last-child) { display: none; }
.tool-card .prices strong { font-family: var(--body); font-size: 16px; color: var(--ink); }

/* Zasady: jedna karta z wierszami */
.rules { display: block; margin: 0; padding: 0 16px; list-style: none; background: var(--app-card); border-radius: 22px; }
.rule {
  display: flex; flex-direction: row; align-items: center; gap: 14px; min-height: 64px; padding: 10px 0;
  background: none; border-radius: 0; border-bottom: 1px solid var(--app-hair);
}
.rule:last-child { border-bottom: 0; }
.rule .icon-box { width: 40px; height: 40px; border-radius: 50%; background: var(--app-soft); color: var(--app-act-ink); }
.rule .icon-box svg { width: 20px; height: 20px; }
.rule-text { gap: 1px; }
.rule-text strong { font-size: 15px; font-weight: 600; }
.rule-text span { font-size: 13px; color: var(--app-muted); }

/* Opinie */
#opinie { padding-top: 28px; }
.reviews-title h2 { margin: 0; }
.reviews-score { font-size: 13px; gap: 4px 8px; }
.reviews-score strong { font-family: var(--body); font-size: 16px; }
.stars svg { width: 14px; height: 14px; }
.reviews-rail.carousel {
  display: flex; align-items: stretch; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 -20px; padding: 0 20px 4px; scroll-padding: 0 20px;
}
.reviews-rail.carousel::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 240px; scroll-snap-align: start;
  padding: 12px 12px 10px; border: 0; border-radius: 18px; background: var(--app-card);
}
.review-card p {
  font-size: 13.5px; line-height: 1.35; height: calc(1.35em * 3); -webkit-line-clamp: 3;
}
.review-card footer { font-size: 12.5px; }

/* Odwiedź nas */
.visit { display: block; padding: 28px 0 0; }
.visit h2 { margin-bottom: 12px; }
.visit-card { background: var(--app-card); border-radius: 22px; overflow: hidden; }
.visit-card img { width: 100%; height: 118px; object-fit: cover; }
.visit-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; }
.visit-body strong { font-size: 15.5px; }
.visit-body span { font-size: 13px; color: var(--app-muted); }
.open-status {
  display: inline-flex; align-items: center; gap: 6px; margin: 0;
  font-size: 13px; font-weight: 500; color: var(--app-muted);
}
.open-status.has-status {
  color: var(--muted);
}
.open-status.has-status::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #00A72C; flex: none;
}
.open-status.is-closed::before { background: #B3261E; }
.visit-actions { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.visit-actions .btn { min-height: 46px; font-size: 15px; gap: 8px; }

/* Stopka */
.site-footer { background: none; border: 0; }
.footer-grid { display: none; }
.footer-bottom { border: 0; text-align: center; padding: 24px 0 12px; font-size: 12.5px; color: var(--app-muted); }

/* ---------- Sprzęt (lista) ---------- */
.cat-page { padding-top: 0; padding-bottom: 24px; }
.filters {
  margin: 0 -20px; padding: 4px 20px 18px; gap: 12px;
  background: var(--app-card); border-radius: 0 0 28px 28px; box-shadow: var(--app-shadow);
}
.filter-search { box-shadow: none; }
.filter-search .btn { display: none; }
.fs-field { gap: 10px; padding: 0 14px; border: 0; border-radius: 16px; background: var(--app-bg); }
.fs-field:focus-within { border: 0; outline: 2px solid var(--ink); }
.fs-field .icon { width: 19px; height: 19px; fill: var(--app-muted); }
.fs-field input { min-height: 50px; }
.cat-chips { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 10px; }
.m-select {
  min-width: 0; height: 54px; padding: 0 12px 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border: 0; border-radius: 14px; background: var(--app-bg); cursor: pointer; text-align: left;
  font: inherit; color: var(--ink);
}
.m-select-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.m-select-label { font-size: 11.5px; font-weight: 500; color: var(--app-muted); }
.m-select-value { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-select svg { flex: none; width: 18px; height: 18px; stroke-width: 2.2; }
.m-select.is-set { background: var(--app-soft); }
.m-select.is-set .m-select-label { color: var(--app-act-ink); }

/* Arkusz z ceną (kategoria i sortowanie są na górze) */
.filter-panel .filters-title, .filter-panel .filter-row > label.ff { display: none; }
.filter-panel .filter-row { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.filter-panel .ff-price { width: 100%; margin: 0; padding: 0; border: 0; min-width: 0; }
.filter-panel .ff-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ff { font-size: 14px; font-weight: 600; color: var(--ink); }
.ff-pair { gap: 10px; }
.select select { min-height: 52px; border: 0; border-radius: 14px; background: var(--app-bg); font-size: 16px; color: var(--ink); }
.select select.is-set { border: 0; background: var(--app-soft); }

.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 10px; font-size: 13px; }
#results-count { font-weight: 500; color: var(--app-muted); }
#freset { display: none; }
.filters-open {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px;
  border: 0; border-radius: 999px; background: var(--app-card); cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 700; color: var(--ink);
}
.filters-open svg { width: 17px; height: 17px; fill: currentColor; }
.filters-open.is-set { background: var(--ink); color: #FFFFFF; }

.tool-list { display: block; padding: 0 14px; background: var(--app-card); border-radius: 22px; overflow: hidden; }
.tool-list > li[hidden] { display: none; }
.tool-row {
  display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 10px 0; margin-bottom: -1px;
  border: 0; border-bottom: 1px solid var(--app-hair); border-radius: 0; background: none; color: var(--ink);
}
.tool-row:hover { border-color: var(--app-hair); }
.tool-row::after {
  content: ""; flex: none; width: 8px; height: 8px; margin-right: 6px;
  border-top: 2px solid #9A9EA4; border-right: 2px solid #9A9EA4; transform: rotate(45deg);
}
.tool-row-img { width: 62px; height: 62px; border: 1px solid var(--app-hair); border-radius: 14px; background: #FFFFFF; }
.tool-row-img .promo-badge { top: -6px; left: -6px; height: 20px; padding: 0 7px; font-size: 10px; }
.tool-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; flex-wrap: nowrap; gap: 3px; }
.tool-row-cat, .tool-row-meta { display: none; }
.tool-row-main { width: 100%; min-width: 0; }
.tool-row-name {
  font-family: var(--body); font-size: 15px; font-weight: 600; letter-spacing: 0; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tool-row .prices { min-width: 0; margin: 0; flex-direction: row; align-items: baseline; gap: 0; font-size: 13px; color: var(--app-muted); }
.tool-row .prices span:last-child { order: -1; }
.tool-row .prices span:not(:last-child)::before { content: "·"; margin: 0 6px; }
.tool-row .prices strong { font-family: var(--body); font-size: 14.5px; letter-spacing: 0; color: var(--ink); }
.load-more { width: 100%; margin-top: 14px; }
.empty { border: 0; border-radius: 22px; background: var(--app-card); }

/* ---------- Karta produktu ---------- */
.product { padding-top: 0; padding-bottom: 24px; }
.product-layout { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.product-main { display: contents; }
.product-photo {
  order: 1; height: 280px; margin: 0 -20px; padding: 8px 20px 24px;
  border: 0; border-radius: 0 0 28px 28px; background: var(--app-card); box-shadow: var(--app-shadow);
}
.product-photo img { max-width: 86%; max-height: 100%; }
.booking {
  order: 2; position: static; flex: none; max-height: none; overflow: visible;
  margin-top: 8px; padding: 0; border: 0; gap: 14px;
}
.product-details { order: 3; }
.info-cards { order: 4; }
.booking-head { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.booking-cat { font-size: 13px; font-weight: 600; color: var(--app-act-ink); }
.booking-head h1 { margin: 0; font-size: 25px; line-height: 1.1; }
.price-box { display: none; }
.wizard-steps li { font-size: 11.5px; }
.wizard-steps li::before { background: var(--app-ring); }
.wstep { gap: 10px; }
.wstep-title { font-size: 15px; }
.seg { gap: 10px; }
.seg button {
  min-height: 76px; padding: 0 16px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
  border: 2px solid transparent; border-radius: 18px; background: var(--app-card);
  font-size: 13px; font-weight: 500; color: var(--app-muted); text-align: left;
}
.seg button:hover { border-color: transparent; }
.seg button[aria-pressed="true"] { background: var(--app-card); border-color: var(--ink); color: var(--app-muted); }
.seg button:disabled { opacity: .55; cursor: not-allowed; }
.seg-price { display: block; font-size: 15px; font-weight: 500; color: var(--ink); }
.seg-price strong { font-size: 20px; font-weight: 700; }
.stepper { height: 64px; padding: 0 10px 0 16px; gap: 6px; border: 0; border-radius: 18px; background: var(--app-card); }
.stepper::before { content: "Czas wynajmu"; flex: 1; font-size: 15px; font-weight: 600; }
.stepper button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--app-bg); font-size: 22px; line-height: 1; }
.stepper button:hover { background: var(--app-hair); }
.stepper #inc { background: var(--ink); color: #FFFFFF; }
.stepper output { min-width: 76px; text-align: center; font-family: var(--body); font-size: 16px; }
.calc { display: none; }
.deposit-note { gap: 12px; padding: 0 4px; background: none; }
.deposit-note svg { fill: var(--app-act-ink); }
.when { gap: 10px; }
.when label { font-size: 12.5px; font-weight: 500; color: var(--app-muted); }
.when input { min-height: 52px; padding: 0 12px; border: 0; border-radius: 14px; background: var(--app-card); font-size: 16px; }
.pick { border: 2px solid transparent; border-radius: 18px; background: var(--app-card); }
.pick:hover { border-color: transparent; }
.pick[aria-pressed="true"] { background: var(--app-card); border-color: var(--ink); }
.pick[aria-pressed="true"] .dot { border-color: var(--app-act); }
.field { font-size: 13px; }
.field input { min-height: 52px; border: 0; border-radius: 14px; background: var(--app-card); font-size: 16px; }
.mini-summary { background: var(--app-card); border-radius: 18px; }
.wizard-nav #next { display: none; }
.wizard-nav:has(#prev[hidden]) { display: none; }
.wizard-nav #prev { flex: 1; }

.product-details { display: flex; flex-direction: column; gap: 10px; }
.product-details h2, .info-card h2, .similar h2 { margin: 12px 0 0; font-size: 18px; line-height: 1.2; letter-spacing: -0.01em; }
.specs {
  margin: 0; padding: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  border: 0; border-radius: 22px; background: var(--app-card);
}
.specs div { flex-direction: column; gap: 2px; padding: 10px 12px; border: 0; border-radius: 14px; background: var(--app-bg); }
.specs dt { font-size: 12.5px; font-weight: 500; letter-spacing: 0; color: var(--app-muted); }
.specs dd { text-align: left; font-family: var(--body); font-size: 15px; font-weight: 700; letter-spacing: 0; overflow-wrap: anywhere; }
.product-desc { margin-top: 12px; padding: 16px; gap: 10px; border-radius: 22px; background: var(--app-card); }
.product-desc h2 { margin: 0; }
.product-desc-text {
  font-size: 14.5px; line-height: 1.5; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.product-desc-text.is-full { display: block; }
.desc-more { display: inline-block; align-self: flex-start; padding: 2px 0; font-size: 14px; text-decoration: none; color: var(--app-act); }
.desc-more[hidden] { display: none; }
.info-cards { display: flex; flex-direction: column; gap: 12px; }
.info-card, .info-card-sand, .info-card-outline { padding: 16px; border: 0; border-radius: 22px; background: var(--app-card); }
.info-card[hidden] { display: none; }
.info-card h2 { margin: 0 0 8px; }
.checklist { gap: 0; }
.checklist li { min-height: 40px; align-items: center; gap: 12px; font-size: 14.5px; line-height: 1.35; padding: 6px 0; border-bottom: 1px solid var(--app-hair); }
.checklist li:last-child { border-bottom: 0; }
.checklist svg, .info-card-outline .checklist svg {
  width: 26px; height: 26px; margin: 0; padding: 5px; box-sizing: border-box;
  border-radius: 50%; background: var(--app-soft); fill: var(--app-act-ink);
}
.similar { margin-top: 10px; padding-top: 0; gap: 12px; border: 0; }
.similar-grid {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 -20px; padding: 0 20px 4px; scroll-padding: 0 20px;
}
.similar-grid::-webkit-scrollbar { display: none; }
.similar-card { flex: 0 0 78%; scroll-snap-align: start; gap: 12px; padding: 10px; border: 0; border-radius: 20px; background: var(--app-card); }
.similar-card .thumb { width: 64px; height: 64px; border: 1px solid var(--app-hair); border-radius: 12px; }
.similar-card .body > strong { font-size: 14.5px; font-weight: 600; }
.similar-card .prices { gap: 0 10px; font-size: 12.5px; }
.similar-card .prices strong { font-family: var(--body); font-size: 14px; }

.booking-bar {
  display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  align-items: center; gap: 16px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: var(--app-card);
  border: 0; border-top: 1px solid #EFEEE9; border-radius: 22px 22px 0 0; box-shadow: none;
}
.booking-bar .total { display: flex; flex-direction: column; line-height: 1.2; }
.booking-bar .total span { font-size: 13px; color: var(--app-muted); }
.booking-bar .total strong { font-family: var(--display); font-size: 22px; font-variant-numeric: tabular-nums; }
.booking-bar .btn { flex: 1; max-width: 230px; margin-left: auto; min-height: 54px; border-radius: 16px; font-size: 16px; }

/* ---------- Rezerwacja wysłana ---------- */
.done { max-width: none; padding: 0 20px 24px; gap: 14px; }
.done-head {
  margin: 0 -20px; padding: 18px 20px 26px;
  background: var(--app-card); border-radius: 0 0 28px 28px; box-shadow: var(--app-shadow);
}
.done-check { width: 52px; height: 52px; margin: 12px 0 8px; background: var(--app-act); box-shadow: 0 0 0 12px var(--app-soft); }
.done-check svg { width: 28px; height: 28px; }
.done h1 { margin-top: 8px; font-size: 25px; }
.done-head p { font-size: 15px; }
.receipt { padding: 4px 16px; border: 0; border-radius: 22px; background: var(--app-card); }
.receipt > div { border-bottom: 1px solid var(--app-hair); }
.receipt .with-img img { border: 1px solid var(--app-hair); border-radius: 12px; }
.done h2 { font-size: 15px; }
.bring { margin-top: 10px; padding: 6px 16px; background: var(--app-card); border-radius: 22px; }
.bring li { min-height: 44px; align-items: center; padding: 6px 0; font-size: 14.5px; border-bottom: 1px solid var(--app-hair); }
.bring li:last-child { border-bottom: 0; }
.done-actions { gap: 10px; }
.done-actions .btn { min-height: 54px; border-radius: 16px; }
.done-actions .btn-primary { background: var(--ink); }
.done-actions .btn-primary:hover { background: #000000; }

/* ---------- Kontakt i podstrony ---------- */
.page-main { padding-top: 0; padding-bottom: 24px; }
.page-head {
  max-width: none; margin: 0 -20px 16px; padding: 4px 20px 20px;
  background: var(--app-card); border-radius: 0 0 28px 28px; box-shadow: var(--app-shadow);
}
.page-head p { font-size: 14px; line-height: 1.45; color: var(--app-muted); }
.contact-cards { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.contact-card { gap: 12px; padding: 16px; border: 0; border-radius: 22px; background: var(--app-card); }
.contact-photo { width: calc(100% + 32px); height: 128px; margin: -16px -16px 2px; }
.contact-card h2 { font-size: 16px; }
.contact-addr { font-size: 14.5px; font-weight: 500; color: var(--app-muted); }
.contact-list { gap: 0; }
.contact-list li { min-height: 44px; align-items: center; font-size: 14.5px; border-bottom: 1px solid var(--app-hair); }
.contact-list li:last-child { border-bottom: 0; }
.contact-card .btn { align-self: stretch; min-height: 46px; background: var(--app-bg); }
.bank-box { padding: 16px; border-radius: 22px; background: var(--app-card); }
.bank-iban { font-size: 17px; overflow-wrap: anywhere; }
.info-grid, .shop-grid { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.info-block, .shop-card { padding: 16px; border: 0; border-radius: 22px; background: var(--app-card); }
.stats-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stats-list div { background: var(--app-card); border-radius: 16px; }
.page-cta { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; border-radius: 22px; background: var(--app-card); }
.page-cta-actions, .page-cta-actions .btn { width: 100%; }
.page-sub { margin: 24px 0 8px; font-size: 19px; }
.prose { max-width: none; padding: 2px 18px 18px; border-radius: 22px; background: var(--app-card); }
.prose h2 { font-size: 18px; }

@media (prefers-reduced-motion: reduce) {
  .sheet, .filter-panel, .sheet-backdrop { transition: none; }
}

/* ---------- Lista rezerwacji ---------- */
.header-cart { display: none; }
.cart-pill {
  display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 39;
  height: 60px; padding: 0 8px 0 10px; align-items: center; gap: 12px;
  border-radius: 20px; background: var(--ink); color: #FFFFFF; text-decoration: none;
  box-shadow: 0 10px 28px rgba(17, 17, 17, .28);
}
.cart-pill:hover { color: #FFFFFF; }
.cart-pill[hidden], body.has-booking-bar .cart-pill { display: none; }
.cart-pill-ico { position: relative; flex: none; width: 42px; height: 42px; border-radius: 14px; background: #2A2A2A; display: flex; align-items: center; justify-content: center; }
.cart-pill-ico .icon { width: 20px; height: 20px; }
.cart-pill-count {
  position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; box-sizing: border-box;
  border-radius: 999px; background: #00A72C; color: #FFFFFF; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.cart-pill-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.cart-pill-text strong { font-size: 15px; }
.cart-pill-meta { font-size: 13px; color: #C9C6BD; }
.cart-pill-go { height: 44px; padding: 0 14px; border-radius: 14px; background: var(--app-act); font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.cart-pill-go .icon { width: 15px; height: 15px; }
body.has-cart-pill { padding-bottom: calc(166px + env(safe-area-inset-bottom)); }
body.has-cart-pill.has-booking-bar { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }

/* Arkusz „Dodano do rezerwacji” */
.added-pop.is-open { z-index: 80; top: auto; right: 0; width: auto; max-width: none; padding: 8px 20px calc(20px + env(safe-area-inset-bottom)); border: 0; border-radius: 28px 28px 0 0; }
.added-pop { gap: 14px; }
.added-pop .sheet-head { padding-top: 16px; gap: 12px; }
.added-pop .sheet-head strong { flex: 1; font-family: var(--display); font-size: 20px; }
.added-pop .sheet-close { width: 40px; height: 40px; background: var(--app-bg); }
.added-check { width: 36px; height: 36px; background: var(--app-act); box-shadow: 0 0 0 5px var(--app-soft); margin-left: 4px; }
.added-check svg { width: 18px; height: 18px; }
.added-list { padding: 0 12px; border: 0; border-radius: 18px; background: var(--app-bg); max-height: 38vh; }
.added-list li { border-bottom: 1px solid var(--app-hair); }
.added-list li:last-child { border-bottom: 0; }
.added-list li.is-new { margin: 0; padding: 10px 0; background: none; }
.added-list li.is-new .added-name strong { color: var(--app-act-ink); }
.added-list img { width: 48px; height: 48px; padding: 4px; box-sizing: border-box; border-radius: 12px; background: #FFFFFF; }
.added-actions { display: flex; flex-direction: column-reverse; gap: 10px; }
.added-actions .btn { min-height: 54px; border-radius: 16px; font-size: 16px; }

/* Strona „Twoja rezerwacja” */
.cart-page { padding-bottom: 24px; }
.cart-empty { max-width: none; margin-top: 4px; padding: 22px 18px; border: 0; border-radius: 22px; background: var(--app-card); align-items: stretch; text-align: center; }
.cart-layout { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 22px; }
.cart-main { flex: none; gap: 22px; }
.cart-sec { gap: 10px; }
.cart-sec h2 { font-family: var(--body); font-size: 15px; font-weight: 700; letter-spacing: 0; }
.cart-more { font-size: 14px; color: var(--app-act); }
.cart-list { gap: 0; padding: 0 14px; background: var(--app-card); border-radius: 22px; }
.cart-item {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "img body body" "img qty end";
  gap: 8px 12px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--app-hair); border-radius: 0;
}
.cart-item:last-child { border-bottom: 0; }
.ci-img { grid-area: img; align-self: start; width: 56px; height: 56px; border: 1px solid var(--app-hair); border-radius: 12px; }
.ci-body { grid-area: body; }
.ci-cat { display: none; }
.ci-name { font-family: var(--body); font-size: 15px; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.ci-rate { font-size: 12.5px; color: var(--app-muted); }
.ci-qty { grid-area: qty; justify-self: start; gap: 4px; padding: 3px; border: 0; border-radius: 999px; background: var(--app-bg); }
.ci-qty button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--app-card); font-size: 16px; }
.ci-qty .ci-inc { background: var(--ink); color: #FFFFFF; }
.ci-qty output { min-width: 76px; font-family: var(--body); font-size: 14px; font-weight: 600; }
.ci-end { grid-area: end; width: auto; flex-direction: row; align-items: center; gap: 10px; }
.ci-total { font-family: var(--body); font-size: 16px; }
.ci-remove { font-size: 12.5px; }
.day-pick { max-width: none; gap: 6px; }
.day-btn { min-height: 66px; border: 0; border-radius: 16px; background: var(--app-card); }
.day-btn strong { font-family: var(--body); font-size: 18px; }
.day-btn[aria-checked="true"] { background: var(--app-act); }
.time-pick { max-width: none; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.time-btn { min-height: 40px; border: 0; border-radius: 12px; background: var(--app-card); font-size: 13.5px; }
.cart-sec .picks { gap: 10px; }
.cart-sec .pick { min-height: 72px; padding: 10px 14px; }
.cart-sec .pick .dot { display: none; }
.cart-sec .pick-text strong { font-size: 15px; }
.cart-sec .pick-text span { font-size: 12.5px; }
.cart-fields { grid-template-columns: 1fr; gap: 10px; }
.cart-sum { position: static; flex: none; padding: 16px; border: 0; border-radius: 22px; background: var(--app-card); gap: 10px; }
.cart-sum h2 { font-family: var(--body); font-size: 15px; font-weight: 700; }
.cart-sum-list div { border-bottom: 1px solid var(--app-hair); }
.cart-sum-list .is-total dd { font-size: 22px; }
.cart-submit { display: none; }
.cart-note { font-size: 12.5px; }
.receipt .with-img .ri-total { font-size: 15px; }

/* ---------- Informacja o cookies (nad dolnym paskiem) ---------- */
.cookie-note {
  left: 12px; right: 12px; margin: 0; width: auto; max-width: none; bottom: calc(80px + env(safe-area-inset-bottom));
  padding: 10px 10px 10px 12px; gap: 12px; border: 0; border-radius: 20px; box-shadow: 0 10px 30px rgba(17, 17, 17, .16);
}
.cookie-note p { flex: 1; min-width: 0; }
.cookie-ok { margin-left: 0; height: 42px; border-radius: 14px; }
body.has-cart-pill .cookie-note { bottom: calc(150px + env(safe-area-inset-bottom)); }
body.has-booking-bar .cookie-note { bottom: calc(92px + env(safe-area-inset-bottom)); }

/* ---------- Okno „Prototyp strony” ---------- */
.proto { padding: 20px; }
.proto-card { padding: 28px 22px 22px; border: 0; border-radius: 28px; }
.proto-card h2 { font-size: 25px; }
.proto-card p { color: var(--app-muted); }
.proto-card .btn { min-height: 54px; border-radius: 16px; }

/* Opinie: bez pustego pasa przed „Odwiedź nas” */
#opinie { padding-bottom: 4px; }

/* ---------- Strony błędów (404, 403, 500) ---------- */
.err { max-width: none; padding: 16px 20px 24px; gap: 22px; }
.err-card { padding: 36px 22px 22px; border: 0; border-radius: 28px; }
.err-code { top: -10px; font-size: 128px; color: var(--app-soft); }
.err-ico { width: 56px; height: 56px; margin-top: 26px; background: var(--app-act); }
.err-ico svg { width: 26px; height: 26px; }
.err h1 { margin: 18px 0 6px; font-size: 25px; }
.err-card > p { font-size: 15px; color: var(--app-muted); }
.err-search { margin-top: 20px; }
.err-actions { flex-direction: column; align-items: stretch; width: 100%; margin-top: 20px; }
.err-actions .btn { min-height: 54px; border-radius: 16px; }
.err-actions .btn-primary { background: var(--ink); }
.err-more h2 { font-size: 17px; }
.err-cats a { min-height: 40px; border: 0; background: var(--app-card); font-size: 14px; }
.err-search { order: 0; }
.err-actions .btn-outline { background: var(--app-bg); border: 0; }
