/* Meistriukas — šviesus, mobilus, industrinis (plienas / gintaras) */
:root {
  --steel: #1c242c;
  --steel-2: #2a3540;
  --concrete: #eef1f4;
  --dust: #d5dbe3;
  --amber: #d97706;
  --amber-hot: #f59e0b;
  --ink: #12171c;
  --muted: #5c6670;
  --ok: #3d7a4a;
  --err: #a33b2d;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --card: #ffffff;
  --line: rgba(28, 36, 44, 0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --font: "Barlow", sans-serif;
  --display: "Barlow Condensed", sans-serif;
  --shadow: 0 12px 28px rgba(18, 23, 28, 0.08);
  --shadow-soft: 0 4px 14px rgba(18, 23, 28, 0.06);
  --focus-ring: 0 0 0 3px rgba(245, 158, 11, 0.38);
  --tabbar-h: 3.75rem;

  /* Spacing system */
  --gutter: clamp(1.1rem, 3.5vw, 2.25rem);
  --section-gap: clamp(2rem, 4vw, 3.25rem);
  --stack-xs: 0.35rem;
  --stack-sm: 0.65rem;
  --stack: 1rem;
  --stack-md: 1.35rem;
  --stack-lg: 1.85rem;
  --content-max: 1120px;
  --prose-max: 760px;
  --panel-max: 440px;
  --touch: 2.75rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(4.25rem + env(safe-area-inset-top, 0px));
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-x: clip;
}

body.has-app-tabbar {
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
}
body.has-app-tabbar .cookie-bar {
  bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
}

body::before {
  content: none;
}

img, svg, video { max-width: 100%; height: auto; }
.leaflet-container img { max-width: none; height: auto; }

/* Vienodas, aiškus klaviatūros fokusas – ypač svarbu mažame ekrane. */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Vienas centruotas stulpelis — nav, turinys, foot naudoja tą patį .wrap */
.wrap {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}

.main {
  flex: 1 0 auto;
  padding-block: var(--stack-md) var(--section-gap);
}

.main > .h1 {
  margin-bottom: var(--stack-xs);
}
.main > .h1 + .muted {
  margin: 0 0 var(--stack-md);
  line-height: 1.45;
  max-width: 42rem;
}

/* ——— Top nav — šviesus ——— */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(217, 119, 6, 0.35);
}

.top__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--stack-sm);
  min-height: 3.4rem;
  padding-block: 0.35rem;
  position: relative;
}

.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.25rem, 4vw, 1.55rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1.1;
}

.brand--sm { font-size: 1.15rem; color: var(--amber); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.5rem;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.nav-toggle:hover {
  border-color: var(--amber);
  background: rgba(217, 119, 6, 0.06);
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--steel);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 1.1rem;
}

.nav__primary,
.nav__account {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
}

.nav__a {
  color: var(--steel-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius);
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.nav__a:hover {
  color: var(--amber);
  background: rgba(217, 119, 6, 0.08);
}
.nav__a--ghost { opacity: 0.75; }
.nav__logout {
  display: inline;
  margin: 0;
  padding: 0;
}
.nav__logout .nav__a {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}
.nav__user {
  color: var(--amber);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.35rem 0.25rem;
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav__badge {
  display: inline-block;
  min-width: 1.1rem;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: var(--amber);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  vertical-align: middle;
  line-height: 1.3;
}

/* ——— Hero — full-bleed, šviesus ——— */
.hero {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
  min-height: min(72vh, 560px);
  margin-top: 0;
  margin-bottom: var(--section-gap);
  border-radius: 0;
  overflow: hidden;
  background:
    linear-gradient(165deg, #ffffff 0%, #f7f9fb 42%, rgba(217, 119, 6, 0.12) 100%),
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(245, 158, 11, 0.18), transparent 55%);
  box-shadow: none;
  display: grid;
  align-items: center;
  animation: rise 0.7s ease-out both;
  border-bottom: 1px solid var(--line);
}

.hero__veil {
  display: none;
}

.hero__inner {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding: clamp(2rem, 6vw, 3.5rem) var(--gutter);
}

.hero__copy {
  position: relative;
  z-index: 1;
  padding: 0;
  max-width: 36rem;
}

.hero__brand {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--amber);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  margin: 0 0 var(--stack-sm);
  animation: fade 0.8s 0.15s ease both;
}

.hero__h {
  font-family: var(--display);
  font-size: clamp(2.1rem, 6vw, 3.5rem);
  line-height: 0.98;
  color: var(--steel);
  margin: 0 0 var(--stack-sm);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  animation: fade 0.8s 0.25s ease both;
}

.hero__s {
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  line-height: 1.5;
  margin: 0 0 var(--stack-md);
  max-width: 32rem;
  animation: fade 0.8s 0.35s ease both;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--stack-sm);
  margin-bottom: var(--stack-md);
  animation: fade 0.8s 0.45s ease both;
}

.hero__search {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: var(--stack-sm);
  align-items: end;
  max-width: 36rem;
  padding: var(--stack);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  animation: fade 0.8s 0.5s ease both;
}
.hero__search .lbl { margin-bottom: 0.2rem; }
.hero__search .btn { min-height: var(--touch); }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ——— Type ——— */
.h1 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 var(--stack-xs);
}
.h2 {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.6vw, 1.55rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 var(--stack);
}
.lead {
  font-size: clamp(1rem, 2vw, 1.08rem);
  color: var(--muted);
  margin: 0 0 var(--stack-md);
  max-width: 38rem;
  line-height: 1.55;
}
.muted { color: var(--muted); }
.body { line-height: 1.55; }

/* ——— Buttons / links ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.2rem;
  min-height: var(--touch);
  background: var(--amber);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--amber-hot); }
.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn--ghost-light {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--steel);
}
.btn--ghost-light:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(217, 119, 6, 0.06);
}
.btn--sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
  min-height: 2.35rem;
}
.btn--outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--steel);
}
.btn--outline:hover { border-color: var(--amber); color: var(--amber); }
.btn--ghost-dark {
  background: transparent;
  border: 1px solid rgba(28, 36, 44, 0.2);
  color: var(--steel);
}
.btn--ghost-dark:hover { background: rgba(28, 36, 44, 0.05); border-color: var(--amber); }
.btn--block { width: 100%; }

.link {
  color: var(--amber);
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}
.danger { color: var(--err); }

/* ——— Forms / panels / shared surfaces ——— */
.panel,
.panel-block,
.filters,
.profile,
.tile,
.card,
.dash-summary__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.panel {
  max-width: var(--panel-max);
  margin: var(--stack-lg) auto var(--section-gap);
  padding: var(--stack-lg);
  box-shadow: var(--shadow-soft);
}
.panel--wide { max-width: 560px; }
.panel .btn[type="submit"],
.form > .btn:last-child {
  width: 100%;
}

.panel-block {
  padding: var(--stack-md);
  margin-bottom: var(--stack-md);
  box-shadow: var(--shadow-soft);
}

.tile {
  padding: var(--stack-md);
  box-shadow: var(--shadow-soft);
}
.tile strong {
  display: block;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--stack-xs);
  color: var(--steel);
}
.tile .muted { margin: 0; line-height: 1.45; }

.card {
  padding: var(--stack-md);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
@media (hover: hover) {
  .card:hover {
    border-color: rgba(217, 119, 6, 0.35);
    box-shadow: var(--shadow);
  }
}
.card--teaser .card__kat {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}
.card--teaser .card__cta {
  margin-top: var(--stack-sm);
}
.card--teaser .card__cta .btn { width: 100%; }

.form {
  display: grid;
  gap: var(--stack-sm);
  margin-top: var(--stack);
  position: relative;
}
.lbl {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--steel-2);
}
.inp {
  width: 100%;
  padding: 0.7rem 0.8rem;
  min-height: 2.6rem;
  border: 1px solid var(--dust);
  border-radius: var(--radius);
  background: #fff;
  font: inherit;
}
.inp:focus {
  outline: 2px solid rgba(217, 119, 6, 0.35);
  border-color: var(--amber);
}
.inp--area { min-height: 96px; resize: vertical; }
.file-pick {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin: 0.25rem 0 0.85rem;
}
.file-pick__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.file-pick__btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.95rem;
  min-height: 2.4rem;
  border: 1px solid var(--dust);
  border-radius: var(--radius);
  background: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--steel-2);
  cursor: pointer;
  pointer-events: none;
}
.file-pick__btn:hover {
  border-color: var(--amber);
  color: var(--amber);
}
.file-pick__input:focus-visible + .file-pick__btn {
  outline: 2px solid rgba(217, 119, 6, 0.35);
  border-color: var(--amber);
}
.file-pick__name {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  color: #6b7280;
  word-break: break-all;
  pointer-events: none;
}
.chk {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  margin: var(--stack-xs) 0;
}

.filters {
  padding: var(--stack-md);
  margin: 0 0 var(--stack-lg);
}
.filters__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--stack-sm) var(--stack);
  align-items: end;
}
.filters-wrap { margin: 0; }
@media (min-width: 901px) {
  .filters-wrap > summary { display: none; }
  .filters-wrap { border: 0; }
}
.filters__field {
  display: grid;
  gap: var(--stack-xs);
  align-content: end;
  min-width: 0;
}
.filters__field .lbl { margin: 0; }
.filters__field .inp { margin: 0; }
.filters__acts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--stack-sm);
  align-items: center;
  grid-column: 1 / -1;
}
.filters__acts .chk { margin: 0; }
.filters__acts .btn { flex: 0 0 auto; }

.pager-meta {
  margin: 0 0 var(--stack-sm);
}
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--stack-sm);
  margin: var(--stack-lg) 0 var(--stack);
}
.pager__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex: 1;
}
.pager__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0.25rem 0.45rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  color: var(--steel);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.pager__n:hover { border-color: var(--amber); color: var(--amber); }
.pager__n--on {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
}
.pager__dots {
  color: var(--muted);
  padding: 0 0.2rem;
}
.pager__spacer {
  display: inline-block;
  min-width: 7rem;
}

.profile-price {
  margin: 0 0 var(--stack);
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Ramios profilio antraštės — ne hero .h2 */
.profile-label {
  display: block;
  margin: 0 0 0.4rem;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}
.inline-row .profile-label {
  display: inline;
  margin: 0;
  flex: 0 0 auto;
  color: var(--ink);
  font-weight: 600;
}

/* Antraštė + trumpa reikšmė vienoje eilutėje */
.inline-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.4rem 0.65rem;
  margin: 0 0 0.65rem;
  min-width: 0;
}
.inline-row .h2 {
  margin: 0;
  flex: 0 0 auto;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  line-height: 1.3;
}
.inline-row > .muted,
.inline-row > span,
.inline-row > a,
.inline-row > p {
  margin: 0;
  min-width: 0;
  font-size: 0.95rem;
}
.inline-row__val {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.5rem;
  min-width: 0;
}
.inline-row .price-tag {
  font-size: 1rem;
}
.profile-contacts {
  margin: 0 0 var(--stack);
}
.profile__side .inline-row {
  margin-bottom: 0.75rem;
}
.profile__side .profile-label {
  color: var(--ink);
}
.profile__side .inline-row .profile-label {
  color: var(--ink);
}
.profile__side .inline-row .muted {
  color: var(--muted);
}
.profile__side .h2 {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.chk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--stack-xs) var(--stack-sm);
  margin: var(--stack-sm) 0;
}
.form--row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--stack);
  align-items: end;
}
.sched__acts {
  display: flex;
  gap: var(--stack-sm);
  flex-wrap: wrap;
}

/* ——— Grids / tiles / cards ——— */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--stack-md) var(--stack-lg);
  margin-bottom: 0;
}
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 {
  display: grid;
  gap: var(--stack-md);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tile { padding: var(--stack-md); }
.tile strong {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: var(--stack-xs);
  line-height: 1.2;
}
.tile .muted { margin: 0; line-height: 1.45; }

.card {
  padding: var(--stack-md);
  display: flex;
  flex-direction: column;
  gap: var(--stack-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card__top {
  display: flex;
  justify-content: space-between;
  gap: var(--stack-sm);
  align-items: center;
  flex-wrap: wrap;
}
.card__top .heart-form {
  margin-left: auto;
}
.card__kat {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Įsiminti — širdelė */
.heart-form {
  display: inline-flex;
  margin: 0;
  position: relative;
  vertical-align: middle;
}
.heart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  min-height: 2.4rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.heart-btn:hover {
  color: #c0392b;
  border-color: rgba(192, 57, 43, 0.35);
  background: rgba(192, 57, 43, 0.06);
}
.heart-btn--on {
  color: #c0392b;
  border-color: rgba(192, 57, 43, 0.45);
  background: rgba(192, 57, 43, 0.1);
}
.heart-btn--on:hover {
  color: #a93226;
}
.profile__actions .heart-form {
  margin-right: 0.15rem;
}
.profile__actions .heart-btn {
  width: 2.6rem;
  height: 2.6rem;
}
.card__h {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.5vw, 1.35rem);
  line-height: 1.15;
  text-transform: uppercase;
}
.card__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.card__d {
  margin: 0;
  font-size: 0.92rem;
  flex: 1;
  line-height: 1.45;
}
.card__price {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--stack-sm);
  margin-top: auto;
  padding-top: var(--stack-sm);
}
.price-tag {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.12rem 0.28rem;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.price-tag__amount {
  font-size: 1.35rem;
}
.price-tag__cur {
  font-size: 1.05rem;
  color: var(--amber);
}
.price-tag__unit {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}
.price-tag--lg .price-tag__amount { font-size: 1.75rem; }
.price-tag--lg .price-tag__cur { font-size: 1.25rem; }
.price-tag--lg .price-tag__unit { font-size: 0.9rem; }
.price-one {
  margin: 0 0 var(--stack-sm);
}
.deal-box__lbl {
  margin: 0 0 var(--stack-xs);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 2px;
  line-height: 1.3;
}
.badge--vykdomas { background: rgba(217, 119, 6, 0.15); color: var(--amber); }
.badge--aktyvus { background: rgba(61, 122, 74, 0.15); color: var(--ok); }
.badge--laukiama { background: rgba(217, 119, 6, 0.12); color: var(--amber); }
.badge--derasi { background: rgba(217, 119, 6, 0.15); color: var(--amber); }
.badge--uzdarytas,
.badge--atsauktas,
.badge--atmesta { background: rgba(163, 59, 45, 0.12); color: var(--err); }
.badge--atsaukta { background: rgba(42, 53, 64, 0.08); color: var(--muted); }
.price-tag--best {
  color: var(--ok);
}
.price-tag--best .price-tag__amount { font-weight: 700; }
.card__prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
}

/* Kainų aukcionas */
.auction-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--stack-sm);
}
.auction-item {
  display: flex;
  align-items: flex-start;
  gap: var(--stack);
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.auction-item--best {
  border-color: rgba(61, 122, 74, 0.45);
  background: rgba(61, 122, 74, 0.06);
}
.auction-item--mine {
  border-color: rgba(217, 119, 6, 0.45);
  background: rgba(217, 119, 6, 0.05);
}
.auction-item__rank {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50%;
  background: rgba(42, 53, 64, 0.1);
  color: var(--steel);
}
.auction-item--best .auction-item__rank {
  background: rgba(61, 122, 74, 0.2);
  color: var(--ok);
}
.auction-item__main {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.25rem;
}
.auction-item__price { margin-top: 0.15rem; }
.auction-item__acts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--stack-sm);
  align-items: center;
}

/* Derybų eiga — aiški chronologija */
.hist-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.hist-item {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0 var(--stack);
  position: relative;
}
.hist-item__rail {
  position: relative;
  width: 1.1rem;
}
.hist-item__rail::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 1.35rem;
  bottom: -0.15rem;
  width: 2px;
  transform: translateX(-50%);
  background: var(--line);
}
.hist-item:last-child .hist-item__rail::before { display: none; }
.hist-item__rail::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 1.15rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--steel-2);
  border: 2px solid var(--card);
  box-shadow: 0 0 0 1px var(--line);
}
.hist-item--pending .hist-item__rail::after { background: var(--amber); }
.hist-item--priimta .hist-item__rail::after { background: var(--ok); }
.hist-item--atmesta .hist-item__rail::after,
.hist-item--atsaukta .hist-item__rail::after { background: var(--muted); }

.hist-item__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--stack) var(--stack-md);
  margin-bottom: var(--stack);
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}
.hist-item--pending .hist-item__card {
  border-color: rgba(217, 119, 6, 0.4);
  background: rgba(217, 119, 6, 0.05);
}
.hist-item--priimta .hist-item__card {
  border-color: rgba(61, 122, 74, 0.35);
  background: rgba(61, 122, 74, 0.05);
}
.hist-item--mine .hist-item__card {
  border-color: rgba(217, 119, 6, 0.4);
}
.hist-item__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.65rem;
  justify-content: space-between;
}
.hist-item__type {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel-2);
}
.hist-item__who { font-size: 1.02rem; }
.hist-item__price { margin: 0.15rem 0; }
.hist-item__note {
  margin: 0;
  color: var(--muted);
  font-style: italic;
  line-height: 1.4;
}
.hist-item__when {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.hist-item__acts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--stack-sm);
  align-items: center;
  margin-top: var(--stack-sm);
  padding-top: var(--stack-sm);
  border-top: 1px solid var(--line);
}
.btn.danger,
.btn--outline.danger {
  color: var(--err);
  border-color: rgba(163, 59, 45, 0.45);
}
.btn--outline.danger:hover {
  background: rgba(163, 59, 45, 0.08);
  color: var(--err);
}

.card__who {
  display: flex;
  align-items: center;
  gap: var(--stack-sm);
  min-width: 0;
}
.card__who .card__h {
  margin: 0;
  flex: 1;
  min-width: 0;
}

.profile__head {
  display: flex;
  align-items: flex-start;
  gap: var(--stack-md);
  margin-bottom: var(--stack);
}
.profile__head .h1 { margin-top: 0.15rem; }

.avatar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--stack-md);
}
.avatar-row__forms {
  flex: 1;
  min-width: 12rem;
  display: grid;
  gap: var(--stack-sm);
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  background: var(--steel-2);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
  border: 2px solid var(--line);
}
.avatar--sm { width: 2.5rem; height: 2.5rem; font-size: 1rem; }
.avatar--lg { width: 5.5rem; height: 5.5rem; font-size: 1.75rem; }
.avatar--xl { width: 7rem; height: 7rem; font-size: 2.1rem; }
.avatar--ph {
  background: linear-gradient(145deg, var(--steel-2), var(--steel));
  color: var(--amber-hot);
  border-color: rgba(217, 119, 6, 0.35);
}

.badge--priimta { background: rgba(61, 122, 74, 0.15); color: var(--ok); }
.badge--laisvas { background: rgba(61, 122, 74, 0.15); color: var(--ok); }
.badge--uzimtas { background: rgba(163, 59, 45, 0.12); color: var(--err); }
.badge--top {
  background: rgba(217, 119, 6, 0.18);
  color: var(--amber);
  font-weight: 700;
}
.badge--rank {
  background: rgba(42, 53, 64, 0.1);
  color: var(--steel-2);
  font-weight: 700;
}
.card--top {
  box-shadow: inset 3px 0 0 var(--amber);
}

.obj-facts {
  list-style: none;
  margin: var(--stack-sm) 0;
  padding: 0;
  font-size: 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.obj-facts li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--stack-sm);
  margin: 0;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
}
.obj-facts li:last-child { border-bottom: none; }
.obj-facts li > span:first-child {
  color: var(--muted);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.obj-facts li > strong {
  text-align: right;
  font-weight: 600;
  word-break: break-word;
}
.obj-facts__price {
  background: rgba(217, 119, 6, 0.06);
}
.card--obj .js-map-view {
  height: 140px;
  margin: var(--stack-sm) 0;
  border-radius: var(--radius);
}
.card--obj-done { opacity: 0.92; }

/* ——— Narystė / profile ——— */
.naryste-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--stack-sm) var(--stack);
  padding: 0.85rem var(--stack);
  margin: 0 0 var(--stack-md);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.naryste-bar--ok {
  background: rgba(61, 122, 74, 0.08);
  border-color: rgba(61, 122, 74, 0.25);
}
.naryste-bar--warn {
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.3);
}
.naryste-bar--off {
  background: rgba(163, 59, 45, 0.08);
  border-color: rgba(163, 59, 45, 0.25);
}
.naryste-page {
  max-width: 920px;
}
.naryste-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--stack-md);
  margin: var(--stack-md) 0;
  align-items: start;
}
.naryste-card {
  margin-bottom: 0;
}
.naryste-card .h2 {
  margin-bottom: var(--stack-sm);
}
.naryste-actions {
  display: block;
  margin: 0 0 0.75rem;
  position: relative;
}
.naryste-actions:last-child {
  margin-bottom: 0;
}
.naryste-actions .btn {
  width: 100%;
  max-width: 100%;
}
.naryste-admin {
  margin-top: var(--stack-sm);
}
.naryste-admin summary {
  cursor: pointer;
  margin-bottom: 0.5rem;
}
.naryste-back {
  margin-top: var(--stack-md);
}

@media (max-width: 800px) {
  .naryste-grid {
    grid-template-columns: 1fr;
  }
}

.profile {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  margin: var(--stack-md) 0 var(--section-gap);
  overflow: hidden;
}
.profile__main { padding: var(--stack-lg); }
.profile__side {
  padding: var(--stack-lg);
  background: transparent;
  color: var(--ink);
  border-left: 1px solid var(--line);
}
.profile__side .h2 {
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.profile__side .muted { color: var(--muted); }
.profile__cta,
.profile__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--stack-sm);
  margin: var(--stack) 0;
}
.profile__actions-main {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}
.profile__actions-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}
.profile__actions-links .btn {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
  text-align: center;
}
.profile__actions-main .heart-form {
  flex: 0 0 auto;
  margin: 0;
}
.profile__actions-main .btn {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
  text-align: center;
  white-space: normal;
  line-height: 1.25;
}
.profile__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 0.25rem;
  margin: 0.35rem auto 0;
  padding: 0.35rem 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  background: none;
  text-align: center;
}
.profile__back:hover {
  color: var(--amber);
  text-decoration: underline;
}
.profile__reviews {
  grid-column: 1 / -1;
  padding: var(--stack-lg);
  border-top: 1px solid var(--line);
  background: var(--card);
}

.price,
.sched {
  list-style: none;
  margin: 0 0 var(--stack);
  padding: 0;
}
.price li,
.sched li {
  display: flex;
  justify-content: space-between;
  gap: var(--stack-sm);
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.profile__side .price li,
.profile__side .sched li { border-color: var(--line); }
.sched--on { color: var(--ok); font-style: normal; }
.sched--off { color: var(--err); font-style: normal; }

/* Grafikas — įprastas šviesus kalendorius (kaip PC / telefonas) */
.cal {
  margin: 0 0 var(--stack);
  padding: 0.55rem 0.6rem 0.65rem;
  background: #fff;
  border: 1px solid #e2e5e9;
  border-radius: 10px;
  max-width: 22rem;
  color: #1c1c1e;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.cal__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}
.cal__nav form { margin: 0; }
.cal__nav .btn,
.cal__nav-btn {
  min-width: 1.85rem;
  min-height: 1.85rem;
  padding: 0 0.3rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  background: #f2f2f7;
  color: #1c1c1e;
  border: 1px solid #d8dbe0;
  border-radius: 8px;
}
.cal__nav-btn:hover {
  background: #e8e8ed;
  color: #1c1c1e;
  border-color: #c8ccd2;
}
.cal__nav-spacer { width: 1.85rem; }
.cal__title {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 650;
  text-transform: none;
  letter-spacing: 0;
  text-align: center;
  flex: 1;
  color: #1c1c1e;
}
.cal__dow,
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.12rem;
}
.cal__dow {
  margin-bottom: 0.15rem;
}
.cal__dow span {
  text-align: center;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #8e8e93;
  padding: 0.1rem 0;
  font-weight: 600;
}
.cal__cell {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid #eceef1;
  color: #1c1c1e;
  background: #fafafa;
  min-height: 0;
  max-height: 2rem;
}
.cal__cell--empty {
  visibility: hidden;
  border: none;
  background: transparent;
}
.cal__cell--on {
  background: #d8f5e0;
  color: #0b7a2b;
  border-color: #9fd9ae;
}
.cal__cell--off {
  background: #ffe3df;
  color: #b42318;
  border-color: #f0b0a8;
}
.cal__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin-top: 0.55rem;
  font-size: 0.74rem;
  color: #636366;
}
.cal__legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.cal__swatch {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 3px;
  display: inline-block;
}
.cal__swatch--on { background: #34c759; }
.cal__swatch--off { background: #ff3b30; }

/* Profilio šonas — tas pats šviesus kalendorius (tik kompaktiškesnis) */
.profile__side .cal {
  max-width: 17.5rem;
  width: 100%;
  margin-left: 0;
  margin-right: auto;
}
.profile__side .cal__cell {
  max-height: 1.65rem;
  font-size: 0.62rem;
}
.profile__side .cal__nav-btn {
  min-width: 1.65rem;
  min-height: 1.65rem;
  font-size: 0.95rem;
}
.profile__side .cal__nav-spacer { width: 1.65rem; }
.profile__side .cal__legend {
  font-size: 0.7rem;
}

/* PC — kompaktiškas */
@media (min-width: 901px) {
  .cal {
    max-width: 18.5rem;
  }
  .cal__cell {
    aspect-ratio: auto;
    height: 1.7rem;
    max-height: 1.7rem;
  }
  .profile__side .cal {
    max-width: 16.5rem;
  }
  .profile__side .cal__cell {
    height: 1.5rem;
    max-height: 1.5rem;
  }
}

/* Telefonas — šiek tiek didesnis */
@media (max-width: 900px) {
  .cal,
  .profile__side .cal {
    max-width: 100%;
  }
  .cal__cell,
  .profile__side .cal__cell {
    aspect-ratio: 1;
    height: auto;
    max-height: none;
    min-height: 2.15rem;
    font-size: 0.78rem;
  }
  .cal__title,
  .profile__side .cal__title {
    font-size: 0.95rem;
    color: #1c1c1e;
  }
  .cal__dow span {
    font-size: 0.65rem;
  }
  .cal__nav-btn,
  .profile__side .cal__nav-btn {
    min-width: 2.1rem;
    min-height: 2.1rem;
    font-size: 1.1rem;
  }
  .cal__nav-spacer,
  .profile__side .cal__nav-spacer {
    width: 2.1rem;
  }
  .cal__legend,
  .profile__side .cal__legend {
    font-size: 0.8rem;
  }
}

.cal-intervals {
  list-style: none;
  margin: 0 0 var(--stack);
  padding: 0;
  border-top: 1px solid var(--line);
}
.cal-intervals__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.cal-intervals__acts {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.cal-intervals__acts form { margin: 0; }
.sched-form { margin-top: var(--stack-sm); }

.inline { display: inline; margin: 0; }

/* Honeypot — niekada nematomas (ir ne grid ląstelė) */
.hp {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  white-space: nowrap !important;
  z-index: -1 !important;
}
form {
  position: relative;
}

/* ——— Landing strips ——— */
.strip {
  margin: 0 0 var(--section-gap);
  padding: 0;
}
.strip > .h2 { margin-bottom: var(--stack-md); }
.strip--band {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 3.5vw, 2rem);
}
.strip--band .tile,
.strip--alt .tile { background: #fff; }
.strip--text {
  padding: clamp(0.25rem, 1vw, 0.5rem) 0;
}
.strip--text .lead { margin-bottom: var(--stack); }
.strip__acts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--stack-sm);
  margin-top: var(--stack-xs);
  align-items: center;
}
.strip--cta,
.app-cta {
  background: var(--surface);
  color: var(--ink);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  border-radius: var(--radius-lg);
  margin-bottom: var(--stack-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.strip--cta .h2,
.app-cta .h2 {
  color: var(--steel);
  margin-bottom: var(--stack-sm);
}
.strip--cta .muted,
.app-cta .muted {
  color: var(--muted);
  margin: 0 0 var(--stack-md);
  max-width: 36rem;
  line-height: 1.5;
}
.strip--cta .strip__acts,
.app-cta .strip__acts,
.app-cta .app-cta__acts { margin-top: 0; }
.grid + .strip--cta,
.empty + .strip--cta { margin-top: var(--section-gap); }
.card--teaser { min-height: 0; }

.empty {
  padding: var(--stack-lg);
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--dust);
  border-radius: var(--radius);
  margin-bottom: var(--section-gap);
}

.flash {
  width: 100%;
  max-width: var(--content-max);
  margin: var(--stack-sm) auto 0;
  padding: 0.75rem var(--gutter);
  border-radius: var(--radius);
  font-weight: 500;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}
.flash--ok { background: rgba(61, 122, 74, 0.15); color: var(--ok); }
.flash--err { background: rgba(163, 59, 45, 0.12); color: var(--err); }

/* ——— Footer — šviesus ——— */
.foot {
  margin-top: auto;
  padding: 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  background: var(--surface);
}
.foot a {
  color: var(--steel-2);
  text-decoration: none;
  display: block;
  margin: 0.3rem 0;
  line-height: 1.4;
}
.foot a:hover { color: var(--amber); }
.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--stack-lg) var(--stack-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem) 0 var(--stack-md);
}
.foot__h {
  display: block;
  color: var(--steel);
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--stack-sm);
}
.foot__domain {
  color: var(--amber);
  font-weight: 600;
  margin: var(--stack-sm) 0 0;
}
.foot__col .muted {
  margin: var(--stack-sm) 0 0;
  line-height: 1.5;
  max-width: 28rem;
}
.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--stack-sm) var(--stack-md);
  justify-content: space-between;
  padding: var(--stack) 0 var(--stack-lg);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

/* ——— Mobile app tabbar ——— */
.app-tabbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 18px rgba(18, 23, 28, 0.06);
}
.app-tabbar__in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.15rem;
  max-width: var(--content-max);
  margin: 0 auto;
}
.app-tabbar__a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 3.1rem;
  padding: 0.35rem 0.2rem;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: var(--radius);
  position: relative;
}
.app-tabbar__a:hover,
.app-tabbar__a--on {
  color: var(--amber);
  background: rgba(217, 119, 6, 0.08);
}
.app-tabbar__ico {
  font-size: 1.15rem;
  line-height: 1;
  font-family: var(--display);
  font-weight: 700;
}
.app-tabbar__badge {
  position: absolute;
  top: 0.2rem;
  right: calc(50% - 1.4rem);
  min-width: 1rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--amber);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Filtrai — collapsible mobile */
.filters-wrap > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--steel);
  padding: 0.75rem 0;
  min-height: var(--touch);
  display: flex;
  align-items: center;
}
.filters-wrap > summary::-webkit-details-marker { display: none; }
.filters-wrap > summary::after {
  content: "▾";
  margin-left: auto;
  color: var(--amber);
}
.filters-wrap[open] > summary::after { content: "▴"; }

.dash-next {
  display: flex;
  flex-wrap: wrap;
  gap: var(--stack-sm);
  margin-bottom: var(--stack-md);
}
.dash-next .btn { flex: 1 1 auto; }

.panel-acc > summary {
  cursor: pointer;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--steel);
  list-style: none;
  padding: 0.15rem 0;
}
.panel-acc > summary::-webkit-details-marker { display: none; }
.panel-acc[open] { padding-bottom: var(--stack-sm); }

.trust-line {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 var(--stack);
  text-align: center;
}

.panel--auth {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.profile-highlight {
  margin: 0 0 var(--stack);
  padding: 0.35rem 0 0.75rem;
  border-bottom: 1px solid var(--line);
}
.profile-highlight__status { margin: 0.35rem 0 0; }

@media (min-width: 721px) {
  .profile-highlight__status { display: none; }
}

/* ——— Cookie bar ——— */
.cookie-bar {
  position: sticky;
  bottom: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 -4px 18px rgba(18, 23, 28, 0.06);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.cookie-bar--hide {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
.cookie-bar__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--stack-sm);
  padding: 0.9rem 0;
}
.cookie-bar p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 42rem;
}
.cookie-bar .link { color: var(--amber-hot); }

/* ——— Photos / prose / FAQ ——— */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--stack-sm);
  margin: var(--stack-sm) 0 var(--stack);
}
.photo-grid--thumbs {
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 0.45rem;
}
/* Bendras galerijos tinklelis — 200×200 miniatiūros (3 eilėje kai tilps) */
.photo-grid--3 {
  grid-template-columns: repeat(auto-fill, 200px);
  gap: var(--stack-sm);
  justify-content: start;
}
.photo-grid--3 .photo-card {
  width: 200px;
  height: 200px;
  padding: 0;
  flex: 0 0 200px;
}
.photo-grid--3 .photo-card img {
  width: 200px;
  height: 200px;
  aspect-ratio: 1;
  object-fit: cover;
}
.photo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0 0 var(--stack-sm);
}
.photo-card--thumb {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.photo-card--thumb:hover,
.photo-card--thumb:focus-visible {
  border-color: var(--amber);
  outline: none;
  transform: translateY(-1px);
}
.photo-card img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: var(--dust);
}
.photo-grid--thumbs .photo-card img {
  height: 72px;
}
.photo-card p,
.photo-card form {
  padding: 0 var(--stack-sm);
  margin: var(--stack-xs) 0 0;
  font-size: 0.85rem;
}
.photo-card__cap {
  display: block;
  padding: 0.3rem 0.4rem 0.4rem;
  font-size: 0.72rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Lightbox — didesnė nuotrauka + slinkimas */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  padding-top: max(1rem, env(safe-area-inset-top, 0px));
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  background: rgba(18, 23, 28, 0.88);
  overscroll-behavior: contain;
}
.lightbox[hidden] { display: none !important; }
.lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 920px);
  max-height: min(78vh, 720px);
  touch-action: pan-y;
  user-select: none;
}
.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: min(78vh, 720px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  background: #0f1418;
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(28, 36, 44, 0.75);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  border-radius: 999px;
}
.lightbox__close {
  top: max(0.75rem, env(safe-area-inset-top, 0px));
  right: max(0.75rem, env(safe-area-inset-right, 0px));
  width: 2.6rem;
  height: 2.6rem;
  font-size: 1.35rem;
  z-index: 2;
}
.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  width: 2.6rem;
  height: 2.6rem;
  font-size: 1.45rem;
  z-index: 2;
}
.lightbox__prev { left: max(0.5rem, env(safe-area-inset-left, 0px)); }
.lightbox__next { right: max(0.5rem, env(safe-area-inset-right, 0px)); }
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: var(--amber);
  border-color: var(--amber);
}
.lightbox__meta {
  margin-top: 0.75rem;
  text-align: center;
  color: #e8ecef;
  max-width: min(100%, 36rem);
}
.lightbox__cap {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}
.lightbox__n {
  margin: 0;
  font-size: 0.82rem;
  color: #9aa5b0;
}
body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .photo-grid--thumbs {
    grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  }
  .photo-grid--thumbs .photo-card img {
    height: 64px;
  }
  .lightbox__prev,
  .lightbox__next {
    width: 2.4rem;
    height: 2.4rem;
  }
  .lightbox__stage {
    max-height: 70vh;
  }
  .lightbox__img {
    max-height: 70vh;
  }
}

.prose {
  max-width: var(--prose-max);
  margin: var(--stack-lg) auto var(--section-gap);
  padding-inline: 0;
  line-height: 1.55;
}
.prose .h1 { margin-bottom: var(--stack-sm); }
.prose .h2 { margin-top: var(--stack-lg); }
.prose .body,
.prose p { margin: 0 0 var(--stack); }
.prose .list {
  margin: 0 0 var(--stack-md);
  padding-left: 1.35rem;
}
.list {
  padding-left: 1.2rem;
  line-height: 1.6;
}
.faq {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}
.faq__q {
  font-family: var(--display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 var(--stack-xs);
}

/* ——— Deals / PM ——— */
.deal-list { list-style: none; margin: 0; padding: 0; }
.deal-item {
  display: flex;
  justify-content: space-between;
  gap: var(--stack);
  align-items: flex-start;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.deal-item__main {
  display: flex;
  flex-direction: column;
  gap: var(--stack-xs);
  min-width: 0;
  flex: 1;
}
.deal-item__acts { flex-shrink: 0; }
.deal-item--new {
  background: rgba(217, 119, 6, 0.06);
  margin: 0 -0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.deal-title {
  font-weight: 600;
  color: var(--steel);
  text-decoration: none;
}
.deal-title:hover { color: var(--amber); }
.deal-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--stack-md);
  margin: var(--stack) 0;
  display: grid;
  gap: var(--stack-sm);
}

.pm {
  display: grid;
  grid-template-columns: minmax(200px, 260px) 1fr;
  gap: var(--stack);
  min-height: 420px;
  margin-bottom: var(--section-gap);
}
.pm__list,
.pm__thread {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--stack);
  min-width: 0;
}
.pm__item {
  display: block;
  padding: 0.7rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--line);
}
.pm__item span {
  display: block;
  font-size: 0.85rem;
}
.pm__item--on,
.pm__item:hover { background: rgba(217, 119, 6, 0.08); }
.pm__msgs {
  max-height: 360px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: var(--stack-sm);
  margin-bottom: var(--stack);
}
.pm__bubble {
  align-self: flex-start;
  max-width: 85%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.55rem 0.75rem;
}
.pm__bubble--me {
  align-self: flex-end;
  background: rgba(217, 119, 6, 0.12);
  border-color: rgba(217, 119, 6, 0.25);
}
.pm__bubble p { margin: 0 0 0.25rem; }
.js-pm-status {
  margin-left: var(--stack-sm);
  font-size: 0.85rem;
}

/* ——— Reviews / maps ——— */
.stars {
  color: var(--amber);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.stars--lg {
  font-size: 1.8rem;
  margin: 0;
  font-family: var(--display);
}
.rate-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--stack-sm) 0.85rem;
  margin-bottom: var(--stack-sm);
}
.rate-opt {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  cursor: pointer;
}
.review-list {
  list-style: none;
  margin: var(--stack) 0 0;
  padding: 0;
}
.review-item {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.review-item--hi {
  padding: 0.9rem 0.75rem;
  margin: 0 -0.75rem;
  border-radius: var(--radius);
  background: rgba(217, 119, 6, 0.08);
  border-bottom-color: transparent;
  box-shadow: inset 3px 0 0 var(--amber);
}
.review-item__who {
  font-size: 1.02rem;
}
.review-item__when {
  font-size: 0.85rem;
}
.review-top {
  display: flex;
  flex-wrap: wrap;
  gap: var(--stack-sm) var(--stack);
  align-items: center;
  margin-bottom: var(--stack-xs);
}
.reviews { margin-top: var(--stack-lg); }
.reviews__toggle { margin-bottom: 0.5rem; }
.reviews__panel {
  margin-top: 0.65rem;
  padding-top: 0.35rem;
}
.works {
  margin: var(--stack-md) 0 var(--stack);
}
.works-page {
  max-width: var(--content-max);
  margin: 0 auto var(--section-gap);
}
.works-page .profile__back {
  margin-bottom: var(--stack-sm);
}
.works-page__head {
  display: flex;
  align-items: center;
  gap: var(--stack-sm);
  margin-bottom: var(--stack-md);
}
.works-page__head .h1 {
  margin: 0.1rem 0 0.15rem;
  font-size: clamp(1.45rem, 4vw, 1.85rem);
}
.pager--sm {
  margin-top: var(--stack);
}
.pager--sm .pager__spacer {
  min-width: 2.5rem;
}
.pager--sm .pager-meta {
  text-align: center;
  margin-top: 0.35rem;
}

/* ——— Pranešimai ——— */
.notify-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--stack-sm) var(--stack);
  margin-bottom: var(--stack-md);
}
.notify-head .h1 { margin-bottom: 0.15rem; }
.notify-head__sub { margin: 0; max-width: 36rem; }
.notify-empty {
  text-align: center;
  padding: 2rem 1.25rem;
}
.notify-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.notify-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
  padding: 0.95rem 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.notify-card--new {
  border-color: rgba(217, 119, 6, 0.35);
  box-shadow: 0 0 0 1px rgba(217, 119, 6, 0.12), var(--shadow-soft);
}
.notify-card__ico {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(42, 53, 64, 0.08);
  position: relative;
}
.notify-card__ico::after {
  content: "";
  position: absolute;
  inset: 30%;
  border-radius: 2px;
  background: var(--muted);
  opacity: 0.85;
}
.notify-card__ico--amber { background: rgba(217, 119, 6, 0.15); }
.notify-card__ico--amber::after { background: var(--amber); }
.notify-card__ico--ok { background: rgba(61, 122, 74, 0.15); }
.notify-card__ico--ok::after { background: var(--ok); }
.notify-card__ico--err { background: rgba(163, 59, 45, 0.12); }
.notify-card__ico--err::after { background: var(--err); }
.notify-card__ico--star { background: rgba(217, 119, 6, 0.12); }
.notify-card__ico--star::after {
  inset: 28%;
  background: var(--amber-hot);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  border-radius: 0;
}
.notify-card__ico--muted { background: rgba(42, 53, 64, 0.08); }
.notify-card__body { min-width: 0; }
.notify-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  margin-bottom: 0.35rem;
}
.notify-card__type {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.notify-card__new {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  background: var(--amber);
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
}
.notify-card__time {
  margin-left: auto;
  font-size: 0.82rem;
  color: var(--muted);
}
.notify-card__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink);
}
.notify-card__acts {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.15rem;
}
.notify-card__acts form { margin: 0; }

@media (max-width: 640px) {
  .notify-card {
    grid-template-columns: auto 1fr;
    padding: 0.85rem 0.85rem;
  }
  .notify-card__acts {
    grid-column: 1 / -1;
  }
  .notify-card__time {
    margin-left: 0;
    width: 100%;
  }
  .notify-head {
    flex-direction: column;
    align-items: stretch;
  }
  .notify-head .btn { width: 100%; }
}

.js-map,
.js-map-view {
  height: 220px;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #e8eef3;
  z-index: 1;
}
.leaflet-control-layers {
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  font-family: inherit;
}
.meistr-marker-icon {
  background: transparent !important;
  border: 0 !important;
}
.leaflet-marker-icon.meistr-marker-icon {
  filter: drop-shadow(0 2px 3px rgba(28, 36, 44, 0.45));
}
.map-tools {
  display: flex;
  flex-wrap: wrap;
  gap: var(--stack-sm);
  align-items: stretch;
  margin-bottom: var(--stack-sm);
}
.map-tools .inp {
  flex: 1 1 12rem;
  min-width: 0;
}
.map-tools .btn { flex: 0 0 auto; }
.js-map-status {
  font-size: 0.85rem;
  color: var(--muted);
  margin: var(--stack-xs) 0 0;
}

/* ——— Responsive ——— */

/* Pointer devices only: lift / hover chrome (no sticky “hover” on touch) */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
  .card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
  }
}

/* Logged-in nav: collapse before links wrap */
@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex;
    width: var(--touch);
    height: var(--touch);
    min-width: var(--touch);
    min-height: var(--touch);
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0.35rem 0;
    background: rgba(28, 36, 44, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 40;
    max-height: min(70vh, 28rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.is-open { display: flex; }
  .nav__primary,
  .nav__account {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .nav__account {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.2rem;
    padding-top: 0.15rem;
  }
  .nav__a,
  .nav .btn,
  .nav__user {
    display: flex;
    align-items: center;
    min-height: var(--touch);
    padding: 0.75rem 1.1rem;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
    max-width: none;
    border-radius: 0;
    background: transparent;
  }
  .nav .btn {
    width: calc(100% - 1.6rem);
    margin: 0.4rem 0.8rem 0.7rem;
    justify-content: center;
    text-align: center;
    border-radius: var(--radius);
  }
  .nav__user {
    color: var(--amber-hot);
    margin-top: 0;
    border-top: none;
  }
}

/* Tablet / mid — denser, still readable */
@media (max-width: 900px) {
  :root {
    --gutter: clamp(1rem, 4vw, 1.5rem);
    --section-gap: clamp(1.75rem, 4vw, 2.5rem);
    --touch: 2.85rem;
  }

  .grid--3,
  .grid--2 { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; }
  .profile__main,
  .profile__side { padding: var(--stack-md); }
  .profile__side {
    border-left: none;
    border-top: 1px solid var(--line);
  }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: var(--stack-md); }
  .pm {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .pm__list,
  .pm__thread { border-radius: 10px; }
  .pm__msgs { max-height: min(50vh, 320px); }
  .pm__item {
    min-height: var(--touch);
    padding: 0.8rem 0.75rem;
  }
  .deal-item {
    flex-direction: column;
    align-items: stretch;
    gap: var(--stack-sm);
  }
  .naryste-bar { flex-direction: column; align-items: stretch; }
  .naryste-bar .btn { width: 100%; min-height: var(--touch); }
  .filters {
    grid-template-columns: 1fr 1fr;
    border-radius: 10px;
  }
  .filters__acts {
    grid-column: 1 / -1;
    flex-wrap: wrap;
  }
  .filters__acts .btn { min-height: var(--touch); }
  .card {
    border-radius: 10px;
  }
  .card__foot .btn,
  .card__foot .btn--sm {
    min-height: var(--touch);
  }
  .price-tag__amount { font-size: 1.5rem; }
  .price-tag__cur { font-size: 1.12rem; }
  .price-tag--lg .price-tag__amount { font-size: 1.85rem; }
  .obj-facts { border-radius: 10px; }
  .obj-facts li {
    padding: 0.8rem 0.95rem;
    min-height: 2.75rem;
  }
  .hero {
    min-height: min(56vh, 440px);
    margin-bottom: var(--section-gap);
    border-radius: 10px;
  }
  .panel {
    max-width: none;
    margin: var(--stack) 0 var(--stack-lg);
    padding: var(--stack-md);
    border-radius: 10px;
  }
  .panel-block,
  .tile,
  .deal-box,
  .strip--band,
  .strip--cta,
  .app-cta { border-radius: 10px; }
  .strip--cta .strip__acts,
  .app-cta .strip__acts,
  .app-cta .app-cta__acts {
    flex-direction: column;
    align-items: stretch;
  }
  .strip--cta .btn,
  .app-cta .btn { width: 100%; min-height: var(--touch); }
  .form--row { grid-template-columns: 1fr; }
  .form .btn { min-height: var(--touch); }
  .photo-grid:not(.photo-grid--thumbs):not(.photo-grid--3) {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  .photo-grid--3 {
    grid-template-columns: repeat(auto-fill, minmax(140px, 200px));
    justify-content: start;
  }
  .photo-grid--3 .photo-card,
  .photo-grid--3 .photo-card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    aspect-ratio: 1;
  }
  .js-map,
  .js-map-view { height: 200px; border-radius: var(--radius); }
  .card--obj .js-map-view { height: 180px; }
  .h1 { margin-bottom: var(--stack-sm); }
}

/* Phone — native app shell */
@media (max-width: 600px) {
  :root {
    --gutter: 1rem;
    --section-gap: 1.5rem;
    --stack: 0.85rem;
    --stack-md: 1.05rem;
    --touch: 3rem; /* 48px */
  }

  html {
    -webkit-tap-highlight-color: rgba(217, 119, 6, 0.18);
  }

  body {
    min-height: 100dvh;
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }

  /* Sticky chrome — šviesus */
  .top {
    padding-top: env(safe-area-inset-top, 0px);
    background: rgba(255, 255, 255, 0.97);
  }
  .top__in {
    min-height: 3.15rem;
    padding-block: 0.25rem;
  }
  .nav {
    top: calc(100% + 0.35rem);
    max-height: calc(100dvh - 4.5rem - env(safe-area-inset-top, 0px));
    padding-bottom: max(0.35rem, env(safe-area-inset-bottom, 0px));
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav__a,
  .nav .btn,
  .nav__user {
    min-height: var(--touch);
  }
  .nav__badge { margin-left: auto; }

  .app-tabbar { display: block; }

  .hero__search {
    grid-template-columns: 1fr;
  }

  .main {
    padding-block: var(--stack-sm) calc(var(--section-gap) + env(safe-area-inset-bottom, 0px));
  }
  body.has-app-tabbar .main {
    padding-bottom: calc(var(--section-gap) + var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
  }
  body.has-cookie-bar .main {
    padding-bottom: calc(var(--section-gap) + var(--cookie-height, 0px) + env(safe-area-inset-bottom, 0px));
  }
  body.has-app-tabbar.has-cookie-bar .main {
    padding-bottom: calc(var(--section-gap) + var(--tabbar-h) + var(--cookie-height, 0px) + env(safe-area-inset-bottom, 0px));
  }
  .main > .h1 {
    font-size: clamp(1.55rem, 7vw, 1.95rem);
    margin-bottom: 0.25rem;
  }
  .main > .h1 + .muted {
    margin-bottom: var(--stack);
    font-size: 0.95rem;
  }

  /* Touch controls */
  .btn,
  .btn--sm {
    min-height: var(--touch);
    padding-inline: 1.05rem;
    font-size: 0.95rem;
  }
  .inp {
    min-height: var(--touch);
    padding: 0.75rem 0.9rem;
    font-size: 1rem; /* iOS zoom prevent */
    border-radius: 8px;
  }
  .chk {
    min-height: var(--touch);
    padding: 0.2rem 0;
    gap: 0.55rem;
  }
  .chk input {
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
  }

  /* Filters: stacked, not sticky (nesekioja scrollinant) */
  .filters {
    grid-template-columns: 1fr;
    gap: var(--stack-sm);
    padding: 0.9rem 1rem;
    margin: 0 0 var(--stack);
    position: static;
    z-index: auto;
    background: var(--card);
    backdrop-filter: none;
    border-radius: var(--radius-app);
    box-shadow: none;
  }
  .filters__acts {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    margin-top: 0.15rem;
  }
  .filters__acts .chk {
    margin: 0;
    margin-right: 0;
    width: 100%;
  }
  .filters__acts .btn { width: 100%; }

  .foot__grid { grid-template-columns: 1fr; }

  .foot {
    text-align: center;
  }
  .foot__grid {
    gap: var(--stack-lg);
    padding: 1.75rem 0 1.25rem;
    justify-items: center;
  }
  .foot__col {
    width: 100%;
    max-width: 22rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .foot__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 0.5rem;
    max-width: 20rem;
    align-items: stretch;
  }
  .foot__links .foot__h {
    grid-column: 1 / -1;
  }
  .foot__links a {
    width: auto;
  }
  .foot__col .muted {
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
  }
  .foot__h {
    margin-bottom: 0.55rem;
    width: 100%;
    text-align: center;
  }
  .foot a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--touch);
    width: 100%;
    margin: 0;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius);
    text-align: center;
  }
  .foot .brand {
    display: inline-flex;
    justify-content: center;
    width: auto;
    min-height: auto;
    padding: 0.25rem 0;
    margin-bottom: 0.35rem;
  }
  .foot__domain {
    text-align: center;
  }
  .foot__bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.35rem;
    padding-bottom: calc(var(--stack-lg) + env(safe-area-inset-bottom, 0px));
  }

  /* Cards as list rows */
  .grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .card {
    padding: 1rem 1.05rem;
    gap: 0.45rem;
    border-radius: var(--radius-app);
    box-shadow: none;
  }
  .card__top {
    margin-bottom: 0.1rem;
  }
  .card__kat {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
  }
  .card__h {
    font-size: 1.22rem;
    line-height: 1.12;
  }
  .card__meta {
    font-size: 0.88rem;
    line-height: 1.35;
  }
  .card__d {
    font-size: 0.92rem;
    margin-top: 0.15rem;
  }
  .card__price {
    font-size: 1.05rem;
    margin-top: 0.15rem;
  }
  .card__foot {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    margin-top: 0.55rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--line);
  }
  .card__foot .btn,
  .card__foot .btn--sm {
    width: 100%;
    justify-content: center;
  }
  .card__foot .card__meta {
    order: -1;
    font-size: 0.84rem;
  }
  .card .price-tag {
    margin-top: 0.2rem;
  }

  /* Ilgi paslaugų ir kainų pavadinimai neturi išstumti turinio už ekrano. */
  .inline-row,
  .price li,
  .sched li {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .price li > :last-child,
  .sched li > :last-child {
    margin-left: auto;
    text-align: right;
  }

  /* Price tags — large & clear */
  .price-tag {
    gap: 0.1rem 0.3rem;
  }
  .price-tag__amount { font-size: 1.75rem; }
  .price-tag__cur { font-size: 1.25rem; }
  .price-tag__unit { font-size: 0.92rem; }
  .price-tag--lg .price-tag__amount { font-size: 2.15rem; }
  .price-tag--lg .price-tag__cur { font-size: 1.45rem; }
  .price-tag--lg .price-tag__unit { font-size: 0.95rem; }
  .price-one { margin-bottom: var(--stack); }

  /* Objektai facts — consistent row list */
  .obj-facts {
    border-radius: var(--radius-app);
    margin: 0.55rem 0 0.35rem;
  }
  .obj-facts li {
    padding: 0.9rem 1rem;
    min-height: var(--touch);
    gap: 0.75rem;
  }
  .obj-facts li > span:first-child {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }
  .obj-facts__price .price-tag__amount { font-size: 1.55rem; }
  .obj-facts__price .price-tag__cur { font-size: 1.15rem; }

  /* Primary action stacks */
  .cal-intervals__item {
    flex-direction: column;
    align-items: flex-start;
  }
  .cal-intervals__acts {
    width: 100%;
    justify-content: flex-start;
  }
  .sched-form.form--row {
    grid-template-columns: 1fr;
  }

  .profile__cta,
  .profile__actions,
  .sched__acts,
  .deal-item__acts {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .profile__actions-main {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
  }
  .profile__actions-main .heart-form {
    flex: 0 0 auto;
    align-self: center;
    margin: 0;
  }
  .profile__actions-main .heart-btn {
    width: 2.75rem;
    height: 2.75rem;
    min-height: 2.75rem;
  }
  .profile__actions-main .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 2.75rem;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.2;
    font-size: 0.86rem;
    padding: 0.45rem 0.4rem;
  }
  .profile__actions-links {
    gap: 0.4rem;
  }
  .profile__actions-links .btn {
    min-height: 2.5rem;
    font-size: 0.88rem;
  }
  .profile__back {
    align-self: center;
    min-height: 2.5rem;
    padding: 0.45rem 0.75rem;
    font-size: 1rem;
  }
  .profile__reviews {
    padding: var(--stack-md);
  }
  .profile__cta .btn,
  .sched__acts .btn,
  .deal-item__acts .btn,
  .deal-item__acts form,
  .inline {
    width: 100%;
  }
  .profile__cta .btn,
  .deal-item__acts .btn {
    justify-content: center;
  }
  .rate-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.4rem;
  }
  .rate-opt {
    justify-content: center;
    min-height: var(--touch);
    padding: 0.35rem 0.2rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-size: 0.9rem;
  }
  .reveal-panel.panel-block {
    padding: 1rem 0.85rem;
  }
  .reveal-panel .form--row {
    grid-template-columns: 1fr;
  }

  .deal-item {
    flex-direction: column;
    align-items: stretch;
    gap: var(--stack-sm);
    padding: 1rem 0;
  }
  .auction-item {
    flex-wrap: wrap;
    padding: 1rem;
  }
  .auction-item .deal-item__acts {
    width: 100%;
    flex-basis: 100%;
  }
  .hist-item {
    grid-template-columns: 0.9rem 1fr;
    gap: 0 0.75rem;
  }
  .hist-item__card {
    padding: 0.9rem 1rem;
  }
  .hist-item__acts {
    flex-direction: column;
    align-items: stretch;
  }
  .hist-item__acts .btn,
  .hist-item__acts form {
    width: 100%;
  }
  .hist-item__acts .btn {
    justify-content: center;
  }
  .profile__head {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .avatar-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .avatar-row__forms { width: 100%; }
  .deal-box {
    padding: 1rem;
    border-radius: var(--radius-app);
  }

  .hero {
    min-height: min(48vh, 380px);
    border-radius: var(--radius-app);
  }
  .hero__h { font-size: clamp(1.85rem, 9vw, 2.45rem); }
  .hero__s { font-size: 0.98rem; }
  .hero__copy { padding: clamp(1.2rem, 5vw, 1.6rem); }
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__cta .btn {
    flex: 1 1 100%;
    width: 100%;
  }

  .strip__acts {
    flex-direction: column;
    align-items: stretch;
  }
  .strip__acts .btn {
    flex: 1 1 100%;
    width: 100%;
  }
  .strip--band {
    padding: 1.15rem;
    border-radius: var(--radius-app);
  }

  /* Bottom / promo CTA area */
  .strip--cta,
  .app-cta {
    padding: 1.4rem 1.15rem;
    border-radius: var(--radius-app);
    margin-bottom: var(--stack-md);
  }
  .strip--cta .h2,
  .app-cta .h2 {
    font-size: 1.35rem;
    margin-bottom: 0.45rem;
  }
  .strip--cta .muted,
  .app-cta .muted {
    margin-bottom: 1rem;
    font-size: 0.95rem;
  }
  .strip--cta .strip__acts,
  .app-cta .strip__acts,
  .app-cta .app-cta__acts {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }
  .strip--cta .btn,
  .app-cta .btn {
    width: 100%;
    min-height: var(--touch);
  }

  .tile {
    padding: 1.05rem 1rem;
    border-radius: var(--radius-app);
  }

  /* Forms / panels */
  .panel,
  .panel-block {
    border-radius: var(--radius-app);
  }
  .panel {
    padding: 1.15rem;
    margin: var(--stack-sm) 0 var(--stack-md);
    box-shadow: var(--shadow-soft);
  }
  .form {
    gap: 0.75rem;
  }
  .form .btn {
    width: 100%;
    margin-top: 0.25rem;
  }
  .form--row { grid-template-columns: 1fr; }
  .naryste-bar {
    border-radius: var(--radius-app);
    padding: 0.95rem 1rem;
  }
  .naryste-bar .btn { width: 100%; }

  .js-map,
  .js-map-view {
    height: 200px;
    border-radius: var(--radius-app);
  }
  .card--obj .js-map-view { height: 180px; }

  /* PM — chat-like */
  .pm {
    gap: 0.65rem;
  }
  .pm__list,
  .pm__thread {
    padding: 0.75rem;
    border-radius: var(--radius-app);
  }
  .pm__item {
    min-height: var(--touch);
    padding: 0.85rem 0.8rem;
    border-radius: 8px;
  }
  .pm__msgs {
    max-height: min(55vh, 380px);
    -webkit-overflow-scrolling: touch;
    gap: 0.55rem;
    padding: 0.15rem 0;
  }
  .pm__bubble {
    max-width: 92%;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
  }
  .pm__thread .form .btn,
  .pm__thread .btn {
    width: 100%;
  }

  .cookie-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: min(46dvh, 16rem);
    overflow-y: auto;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -8px 24px rgba(18, 23, 28, 0.18);
  }
  .cookie-bar__in {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.85rem 0;
  }
  .cookie-bar__in .btn { width: 100%; }

  .map-tools {
    flex-direction: column;
    align-items: stretch;
  }
  .map-tools .btn { width: 100%; }

  .empty {
    border-radius: var(--radius-app);
    padding: 1.35rem 1rem;
  }
  .photo-card { border-radius: var(--radius-app); }
  .photo-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }
  .photo-grid--3 .photo-card,
  .photo-grid--3 .photo-card img {
    width: 100%;
    max-width: none;
  }
  .similar { padding: var(--stack-md); }
  .grid--similar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .file-preview__img { max-width: 100%; height: auto; aspect-ratio: 1; }
}

/* Desktop: platesnis stulpelis, ramesnis ritmas, suderintas su nav */
@media (min-width: 960px) {
  .main {
    padding-block: var(--stack-lg) var(--section-gap);
  }
  .main > .h1 + .muted {
    margin-bottom: var(--stack-lg);
  }

  .top__in {
    min-height: 4rem;
    gap: var(--stack);
  }

  .filters {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    padding: var(--stack-lg);
    gap: var(--stack) var(--stack-md);
  }

  .form--row {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .chk-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--stack-md) var(--stack-lg);
  }

  .grid--2 { gap: var(--stack-lg); }

  .card {
    padding: var(--stack-md) var(--stack-lg);
  }

  .panel {
    padding: 2rem;
  }

  .panel-block {
    padding: var(--stack-lg);
    margin-bottom: var(--stack-lg);
  }

  .deal-box {
    padding: var(--stack-lg);
    gap: var(--stack);
  }

  .deal-item {
    padding: 1.1rem 0;
    gap: var(--stack-md);
  }

  .auction-list { gap: var(--stack); }
  .auction-item {
    padding: 1rem 1.25rem;
    gap: var(--stack-md);
  }

  .hero {
    min-height: min(62vh, 560px);
    margin-bottom: var(--section-gap);
  }
  .hero__copy {
    padding: 2.5rem 0 2.5rem 0.25rem;
    max-width: 40rem;
  }

  .strip { margin-bottom: var(--section-gap); }
  .lead { max-width: 42rem; }

  .profile {
    grid-template-columns: 1.5fr 1fr;
  }
  .profile__main,
  .profile__side {
    padding: 1.75rem 2rem;
  }

  .pm {
    grid-template-columns: minmax(240px, 300px) 1fr;
    gap: var(--stack-md);
    min-height: 480px;
  }

  .foot__grid {
    padding-block: 2.5rem 1.5rem;
    gap: 2rem 3rem;
  }
}

@media (min-width: 1200px) {
  :root {
    --content-max: 1280px;
    --gutter: clamp(1.75rem, 4vw, 3rem);
    --section-gap: 3.75rem;
  }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem 1.75rem;
  }

  .filters {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .card__h { font-size: 1.4rem; }

  .hero__copy { max-width: 42rem; }

  .profile__main,
  .profile__side {
    padding: 2rem 2.25rem;
  }

  .photo-grid:not(.photo-grid--thumbs):not(.photo-grid--3) {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }

  .nav {
    gap: 1rem 2rem;
  }
  .nav__primary,
  .nav__account {
    gap: 0.25rem 0.85rem;
  }
  .nav__a {
    font-size: 0.95rem;
    padding: 0.45rem 0.65rem;
  }
}

/* Desktop: force open nav layout */
@media (min-width: 1101px) {
  .nav-toggle { display: none !important; }
  .top__in {
    min-height: 4.25rem;
    gap: 1.5rem;
  }
  .nav {
    display: flex !important;
    position: static;
    flex: 1 1 auto;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    gap: 1.25rem 1.75rem;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    max-height: none;
    overflow: visible;
  }
  .nav__primary,
  .nav__account {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    width: auto;
    gap: 0.15rem 0.5rem;
  }
  .nav__account {
    margin-top: 0;
    padding-top: 0;
    padding-left: 1.25rem;
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    gap: 0.15rem 0.55rem;
  }
  .nav__a {
    padding: 0.5rem 0.7rem;
  }
  .nav__user {
    max-width: 8.5rem;
    margin-inline: 0.15rem;
  }
}

@media (min-width: 1280px) {
  .nav {
    gap: 1.5rem 2.25rem;
  }
  .nav__primary {
    gap: 0.25rem 0.7rem;
  }
  .nav__account {
    padding-left: 1.5rem;
    gap: 0.25rem 0.75rem;
  }
  .nav__a {
    font-size: 1rem;
    padding: 0.5rem 0.8rem;
  }
  .nav__user {
    max-width: 11rem;
  }
}

/* Paieškos tipai — greita / detali */
.search-mode {
  margin: 0 0 var(--stack-sm);
}
.search-mode__form {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.25rem;
  background: rgba(28, 36, 44, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.search-mode__btn {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 0.95rem;
  border-radius: 8px;
  cursor: pointer;
  min-height: 2.5rem;
}
.search-mode__btn--on {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(18, 23, 28, 0.1);
}
.search-mode__hint {
  margin: 0 0 var(--stack);
  font-size: 0.92rem;
}
@media (max-width: 600px) {
  .search-mode__form { width: 100%; }
  .search-mode__btn { flex: 1 1 0; text-align: center; }
}


/* ——— UX plėtiniai (2026) ——— */
.badge--verified {
  background: rgba(61, 122, 74, 0.15);
  color: var(--ok);
  border: 1px solid rgba(61, 122, 74, 0.35);
  font-weight: 600;
}
.dash-summary {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 0.55rem;
  margin: 0 0 var(--stack-md);
}
.dash-summary__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.75rem 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
}
.dash-summary__item:hover { border-color: var(--amber); }
.dash-summary__item strong {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}
.dash-summary__item span {
  font-size: 0.78rem;
  color: var(--muted);
}
.cal__cell.js-cal-day,
button.cal__cell {
  cursor: pointer;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.cal__hint { margin: 0.45rem 0 0; font-size: 0.78rem; }
.wizard-step__lbl { margin: 0 0 0.65rem; font-weight: 600; }
.price-note { margin: -0.35rem 0 var(--stack); font-size: 0.85rem; }
.profile-social { margin: 0.25rem 0 0; }
.similar {
  grid-column: 1 / -1;
  padding: var(--stack-lg);
  border-top: 1px solid var(--line);
}
.grid--similar {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--stack-sm);
  margin: var(--stack-sm) 0;
}
.card--mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 0.65rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
}
.card--mini:hover { border-color: var(--amber); }
.file-preview { margin: 0.5rem 0; }
.file-preview__img {
  display: block;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.obj-next {
  width: 100%;
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
}
.profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0.65rem 0 0.25rem;
}
.profile-stats__item {
  display: flex;
  flex-direction: column;
  min-width: 4.5rem;
}
.profile-stats__item strong {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}
.profile-stats__item span {
  font-size: 0.75rem;
  color: var(--muted);
}
.dash-summary__item--static {
  cursor: default;
}
.dash-summary__item--static:hover {
  border-color: var(--line);
}
@media (max-width: 600px) {
  .dash-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dash-summary__item { padding: 0.65rem 0.5rem; }
  .dash-summary__item strong { font-size: 1.05rem; }

  /* Puslapiavimas lieka pasiekiamas ir neperžengia siauro ekrano. */
  .pager { justify-content: center; }
  .pager__spacer { display: none; }
  .pager__pages { flex-basis: 100%; order: -1; }
}
