:root {
  --green-900: #07391d;
  --green-800: #145127;
  --green-700: #236d30;
  --green-600: #2f7d42;
  --green-100: #edf7e9;
  --cream: #fffdf4;
  --cream-2: #fbf7e8;
  --paper: #fffaf0;
  --ink-brown: #4d321e;
  --gold: #b98534;
  --orange: #f39a08;
  --orange-2: #fff2d7;
  --text: #112416;
  --muted: #667064;
  --line: #e8dfca;
  --white: #fff;
  --shadow: 0 18px 44px rgba(41, 61, 31, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(105, 74, 40, .025) 1px, transparent 1px),
    linear-gradient(180deg, #fffdf6 0, var(--cream) 360px, #fbf7ea 100%);
  background-size: 42px 42px, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(1360px, calc(100% - 72px)); margin: 0 auto; }
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--green-900);
  color: #fff;
  font-weight: 950;
  box-shadow: var(--shadow);
}
.skip-link:focus { transform: translateY(0); }

.topbar { display: none; }
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 246, .9);
  border-bottom: 1px solid rgba(78, 92, 54, .13);
  backdrop-filter: blur(18px);
}
.nav {
  min-height: 76px;
  display: grid;
  grid-template-columns: 238px 1fr auto;
  align-items: center;
  gap: 26px;
}
.brand img { width: 216px; height: auto; }
.brand-lockup { display: inline-grid; gap: 2px; align-items: start; }
.brand-lockup small {
  width: max-content;
  margin-left: 44px;
  margin-top: -3px;
  padding: 2px 7px;
  border: 1px solid rgba(45, 106, 42, .18);
  border-radius: 999px;
  background: #f3faed;
  color: var(--green-700);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: 0;
}
.brand-fallback { color: var(--green-900); font-size: 27px; font-weight: 950; }
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 14px;
  font-weight: 850;
  color: #101912;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--green-700); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.icon-btn {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  font-size: 30px;
  line-height: 1;
  font-weight: 400;
}
.btn {
  min-height: 42px;
  border: 1px solid var(--green-700);
  border-radius: 7px;
  padding: 10px 17px;
  background: var(--green-700);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn.primary { color: #fff; background: var(--green-700); border-color: var(--green-700); }
.btn.warn { color: #fff; background: var(--green-700); border-color: var(--green-700); }
.btn.sun { background: var(--green-700); border-color: var(--green-700); color: white; }
.btn:hover { background: var(--green-800); border-color: var(--green-800); }
.btn:focus-visible { outline: 3px solid rgba(35, 109, 48, .24); outline-offset: 2px; }
.btn.small { min-height: 34px; padding: 7px 10px; font-size: 13px; }
.btn.wide { width: 100%; }

h1, h2, h3 { margin: 0; color: var(--green-900); line-height: 1.06; letter-spacing: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 800; }
h1 { font-size: clamp(38px, 4.4vw, 58px); max-width: 760px; }
h2 { font-size: clamp(26px, 3vw, 36px); }
h3 { font-size: 18px; font-weight: 900; }
.muted { color: var(--muted); }

.hero {
  position: relative;
  min-height: 430px;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(255, 253, 246, .98) 0%, rgba(255, 253, 246, .88) 36%, rgba(255, 253, 246, .18) 69%),
    linear-gradient(180deg, rgba(255,255,255,0) 72%, var(--cream) 100%),
    url("img/hero-harvest.png") center right/cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(92, 72, 45, .22), transparent);
}
.hero .wrap {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(560px, 780px) minmax(280px, 420px);
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 56px 0 30px;
}
.hero-copy h1 {
  color: #063518;
  text-wrap: balance;
}
.hero-copy p {
  max-width: 600px;
  margin: 22px 0 24px;
  font-size: 16px;
  font-weight: 650;
  color: #283529;
}
.hero-search {
  width: min(690px, 100%);
  min-height: 66px;
  display: grid;
  grid-template-columns: 44px 1fr minmax(150px, 190px) 170px;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(54, 79, 44, .13);
  border-radius: 18px;
  padding: 7px;
  box-shadow: 0 24px 54px rgba(33, 51, 27, .16);
}
.hero-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  font-weight: 700;
}
.hero-search select {
  width: 100%;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--green-900);
  font-weight: 850;
  outline: 0;
  padding: 0 10px;
}
.search-mark {
  display: grid;
  place-items: center;
  color: #142017;
  font-size: 32px;
}
.hero-search .btn { border-radius: 16px; min-height: 52px; font-size: 16px; }
.quick-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.quick-filters a {
  min-width: 92px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(78, 92, 54, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 8px 22px rgba(46, 50, 22, .06);
  font-weight: 900;
}
.hero-sign {
  position: relative;
  justify-self: end;
  align-self: center;
  display: grid;
  gap: 0;
  width: min(380px, 100%);
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(255, 248, 232, .88)),
    radial-gradient(circle at 90% 12%, rgba(185, 133, 52, .16), transparent 38%);
  border: 1px solid rgba(122, 93, 49, .23);
  border-radius: 6px;
  color: var(--ink-brown);
  padding: 28px 30px 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 3vw, 48px);
  font-style: italic;
  font-weight: 900;
  line-height: .96;
  text-align: left;
  letter-spacing: 0;
  text-shadow: none;
  box-shadow: 0 28px 70px rgba(45, 52, 29, .18), inset 0 0 0 6px rgba(255,255,255,.42);
}
.hero-sign::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 133, 52, .72), transparent);
}
.hero-sign::after {
  content: "MyZbieramy.pl";
  position: absolute;
  right: 26px;
  bottom: 18px;
  color: rgba(7, 57, 29, .55);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-sign span {
  display: block;
  white-space: nowrap;
}
.hero-sign span:nth-child(2) {
  color: var(--green-800);
  padding-left: .42em;
}
.hero-sign span:nth-child(3) {
  padding-left: .08em;
}
.hero-sign span:nth-child(3)::after {
  content: "";
  display: inline-block;
  width: .34em;
  height: .34em;
  margin-left: .2em;
  border-radius: 60% 0 60% 45%;
  background: var(--green-700);
  transform: rotate(-28deg) translateY(-.08em);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset;
}

.home-band { padding: 20px 0; }
.category-band { padding-top: 24px; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-tile {
  min-height: 232px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 10px 26px rgba(32, 58, 28, .07);
}
.category-tile img {
  width: 100%;
  height: 118px;
  object-fit: cover;
}
.tile-icon {
  width: 42px;
  height: 42px;
  margin: -21px auto 8px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: var(--green-700);
  border: 1px solid #e3eadb;
  box-shadow: 0 8px 18px rgba(38, 72, 35, .12);
  font-size: 19px;
}
.category-tile strong {
  display: block;
  padding: 0 12px;
  color: var(--green-900);
  font-size: 20px;
  line-height: 1.08;
}
.category-tile small {
  display: block;
  padding: 8px 16px 14px;
  color: #516154;
  font-weight: 650;
}

.section-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 6px 0 18px;
}
.section-line h2::before {
  content: "❧";
  margin-right: 10px;
  color: var(--green-700);
  font-family: Georgia, serif;
}
.section-line a {
  color: var(--green-800);
  font-weight: 900;
  font-size: 14px;
}
.section-line a::after { content: "›"; padding-left: 10px; }
.section-line.compact { margin-bottom: 10px; }

.deals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.deal-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(33, 59, 31, .08);
}
.deal-media {
  position: relative;
  display: block;
  height: 166px;
  overflow: hidden;
}
.deal-media-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.deal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.deal-ribbon {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  border-radius: 6px;
  color: white;
  background: var(--green-700);
  font-size: 12px;
  font-weight: 950;
}
.heart {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: rgba(15, 34, 19, .52);
  font-size: 21px;
}
.favorite-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.favorite-control form { margin: 0; }
.favorite-control-card,
.favorite-control-detail {
  position: absolute;
  z-index: 4;
}
.favorite-control-card { top: 10px; right: 10px; }
.favorite-control-detail { top: 16px; right: 16px; }
.favorite-control-side { width: 100%; }
.favorite-control-inline { display: inline-flex; width: auto; margin: 8px 0 12px; }
.favorite-surface { position: relative; }
.guide-card.favorite-surface,
.forum-thread.favorite-surface,
.search-section .favorite-surface.card { padding-right: 68px; }
.favorite-toggle {
  appearance: none;
  border: 1px solid rgba(24, 58, 35, .2);
  background: rgba(255, 255, 255, .95);
  color: #294533;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow: 0 3px 12px rgba(21, 44, 28, .14);
  cursor: pointer;
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.favorite-toggle-card,
.favorite-toggle-detail {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
}
.favorite-toggle-detail {
  width: 48px;
  height: 48px;
  box-shadow: 0 5px 18px rgba(21, 44, 28, .2);
}
.favorite-toggle-side {
  min-height: 42px;
  border-radius: 7px;
  padding: 9px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}
.favorite-toggle-side { width: 100%; }
.favorite-toggle-inline {
  min-height: 40px;
  border-radius: 7px;
  padding: 8px 13px;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
}
.favorite-heart-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill .18s ease, transform .18s ease;
}
.favorite-toggle:hover {
  border-color: #78977e;
  background: #fff;
  color: #173e23;
  box-shadow: 0 5px 18px rgba(21, 44, 28, .2);
}
.favorite-toggle-card:hover,
.favorite-toggle-detail:hover { transform: translateY(-1px); }
.favorite-toggle:focus-visible {
  outline: 3px solid rgba(35, 109, 48, .28);
  outline-offset: 2px;
}
.favorite-toggle.is-favorite {
  border-color: #f0b4b4;
  background: #fff;
  color: #d42626;
}
.favorite-toggle.is-favorite .favorite-heart-icon { fill: currentColor; }
.favorite-toggle.is-favorite:hover {
  border-color: #dc7878;
  background: #fff7f7;
  color: #b91f1f;
}
.favorite-toggle.is-loading { opacity: .62; cursor: wait; }
.favorite-toggle.is-loading .favorite-heart-icon { animation: favorite-heart-pulse .7s ease-in-out infinite alternate; }
@keyframes favorite-heart-pulse { to { transform: scale(.82); } }
.favorite-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  max-width: min(360px, calc(100vw - 32px));
  border: 1px solid #c9d8ca;
  border-radius: 9px;
  padding: 11px 14px;
  background: #fff;
  color: #173e23;
  box-shadow: 0 12px 32px rgba(21, 44, 28, .18);
  font-size: 14px;
  font-weight: 750;
}
.dashboard-favorite-item { display: contents; }
.favorite-material-card { align-content: start; }
.favorite-material-card > .badge { justify-self: start; }
.favorite-material-card h3 { margin: 4px 0 0; }
.favorite-material-card .card-actions { margin-top: auto; }
.favorite-material-media {
  display: block;
  margin: -14px -16px 10px;
  height: 170px;
  overflow: hidden;
  background: var(--green-100);
}
.favorite-material-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .favorite-control-card { top: 8px; right: 8px; }
  .favorite-control-detail { top: 12px; right: 12px; }
  .favorite-toggle-card { width: 40px; height: 40px; }
  .favorite-toggle-detail { width: 44px; height: 44px; }
  .favorite-toast { right: 16px; bottom: 16px; }
}
.card-body { padding: 14px 16px 16px; }
.deal-card h3 { color: #101912; min-height: 42px; }
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  margin: 7px 0;
}
.meta.compact { justify-content: space-between; }
.rating {
  color: #56605a;
  font-size: 13px;
  font-weight: 750;
}
.rating span { color: var(--orange); }
.deal-tags {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.deal-tags span,
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 6px 9px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 12px;
  font-weight: 900;
}
.deal-tags span:first-child { background: #e8f4df; }
.product-band {
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(244,251,245,.72));
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(39, 81, 48, .07);
  overflow: hidden;
  display: grid;
}
.product-media {
  position: relative;
  min-height: 230px;
  display: block;
  background: #f4fbf5;
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}
.product-card:hover .product-media img { transform: scale(1.035); }
.product-media span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(16, 63, 31, .9);
  color: white;
  font-size: 12px;
  font-weight: 950;
}
.product-card h3 { min-height: 50px; }
.product-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 12px 0 8px;
}
.product-price strong {
  color: var(--green-900);
  font-size: 24px;
  font-weight: 950;
}
.product-price span {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 800;
}
.product-detail-hero .detail-photo {
  background: linear-gradient(135deg, #edf8ef, #fff6df);
}
.badge.hot { background: var(--orange-2); color: #8a5400; }
.badge.gray { background: #eef0e9; color: #555f58; }
.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  background: #eef0e9;
  color: #4f5c52;
  font-size: 12px;
  font-weight: 950;
}
.status-pill.published,
.status-pill.active,
.status-pill.admin { background: #e5f5df; color: var(--green-800); }
.status-pill.pending,
.status-pill.new,
.status-pill.moderator { background: var(--orange-2); color: #8a5400; }
.status-pill.hidden,
.status-pill.rejected,
.status-pill.suspended { background: #ffe9e5; color: #9a321e; }

.split-band .wrap,
.info-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 26px;
  align-items: start;
}
.panel-list,
.mini-map-panel,
.season-panel,
.guides-panel {
  min-height: 100%;
}
.shop-row {
  display: grid;
  grid-template-columns: 76px 1fr auto 42px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  border-bottom: 0;
}
.shop-row:first-of-type { border-radius: 10px 10px 0 0; }
.shop-row img,
.guide-row img,
.forum-card img {
  width: 76px;
  height: 54px;
  border-radius: 6px;
  object-fit: cover;
}
.shop-row strong,
.guide-row strong,
.forum-card strong {
  display: grid;
  gap: 4px;
  font-size: 15px;
}
.shop-row small,
.guide-row small,
.forum-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}
.shop-row span {
  border-radius: 6px;
  background: var(--green-100);
  color: var(--green-800);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
}
.shop-row em { color: var(--muted); font-style: normal; font-size: 12px; }
.panel-more {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 0 0 10px 10px;
  background: rgba(255,255,255,.78);
  color: var(--green-800);
  font-weight: 950;
}
.panel-more::after { content: "›"; padding-left: 10px; }

.map-shell { display: grid; grid-template-columns: 1.3fr .7fr; gap: 16px; }
.map,
.home-map {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(30deg, rgba(255,255,255,.55), rgba(255,255,255,.15)),
    url("https://tile.openstreetmap.org/11/1136/696.png") center/cover,
    #e9f0df;
}
.home-map { min-height: 296px; }
.home-map[data-home-map] {
  min-height: 320px;
  isolation: isolate;
  background: #edf3ec;
}
.home-map[data-home-map]::before { content: none; }
.home-map[data-home-map] .maplibregl-canvas { cursor: pointer; }
.home-map[data-home-map] .maplibregl-canvas:active { cursor: grabbing; }
.home-map-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 10px;
}
.home-map-filter {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}
.home-map-filter select {
  width: 100%;
  min-height: 40px;
  padding: 7px 34px 7px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background-color: #fff;
  color: var(--green-900);
  font: inherit;
  font-size: 13px;
}
.home-map-filter select:focus-visible {
  outline: 3px solid rgba(47, 133, 72, .16);
  border-color: var(--green-700);
}
.home-map-count {
  min-width: 104px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 7px 10px;
  border-radius: 9px;
  background: var(--green-050);
  color: var(--green-800);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}
.home-map-count.is-empty { color: var(--muted); background: #f3f5f2; }
.home-map-preview {
  position: relative;
  display: block;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #edf3ec;
  color: var(--green-900);
}
.home-map-preview img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .2s ease;
}
.home-map-preview-copy {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: grid;
  gap: 2px;
  padding: 10px 13px;
  border: 1px solid rgba(35, 62, 43, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 22px rgba(21, 55, 31, .12);
}
.home-map-preview-copy strong { font-size: 14px; }
.home-map-preview-copy small { color: var(--muted); font-size: 11px; }
.home-map-preview:hover img { transform: scale(1.015); }
.home-map-preview:focus-visible { outline: 3px solid rgba(47, 133, 72, .2); outline-offset: 3px; }
.map-page-title { font-size: 44px; }
.full-map-panel { display: grid; gap: 14px; }
.full-map-toolbar { grid-template-columns: minmax(190px, 280px) minmax(190px, 280px) auto; justify-content: start; }
.full-map-shell { grid-template-columns: minmax(0, 1.65fr) minmax(280px, .65fr); gap: 20px; }
.full-map-visual { min-width: 0; }
.full-map[data-home-map] { min-height: 620px; }
.map-results-panel { min-width: 0; }
.map-results-head {
  display: grid;
  gap: 3px;
  padding: 4px 14px 14px;
  border-bottom: 1px solid var(--line);
}
.map-results-head strong { color: var(--green-900); font-size: 16px; }
.map-results-head span { color: var(--muted); font-size: 12px; }
.full-map-panel .map-list { max-height: 570px; }
.map-results-empty { margin: 0; padding: 22px 0; color: var(--muted); font-size: 13px; }
.maplibregl-marker.is-active svg { filter: drop-shadow(0 0 5px rgba(21, 55, 31, .55)); }
.section-line .section-title-link {
  display: inline-flex;
  align-items: center;
  color: inherit;
  font-size: inherit;
  text-decoration: none;
}
.section-line .section-title-link:hover,
.section-line .section-title-link:focus-visible {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.home-map[data-home-map] .maplibregl-ctrl-group {
  overflow: hidden;
  border: 1px solid rgba(35, 62, 43, .16);
  border-radius: 10px;
  box-shadow: 0 5px 16px rgba(21, 55, 31, .12);
}
.home-map[data-home-map] .maplibregl-ctrl button { width: 34px; height: 34px; }
.home-map[data-home-map] .maplibregl-ctrl-attrib {
  color: #4f5e52;
  font-size: 10px;
}
.home-map-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-content: center;
  gap: 6px;
  padding: 28px;
  color: var(--green-900);
  text-align: center;
}
.home-map-fallback a { color: var(--green-700); font-weight: 850; }
.home-map.is-ready .home-map-fallback { display: none; }
.home-map.is-unavailable .maplibregl-map { display: none; }
.home-map-popup {
  min-width: 190px;
  display: grid;
  gap: 5px;
  color: var(--green-900);
}
.home-map-popup strong { padding-right: 20px; font-size: 14px; line-height: 1.3; }
.home-map-popup span { color: var(--muted); font-size: 11px; line-height: 1.4; }
.home-map-popup a { margin-top: 3px; color: var(--green-700); font-size: 12px; font-weight: 850; }
.home-map[data-home-map] .maplibregl-popup-content {
  border: 1px solid rgba(35, 62, 43, .12);
  border-radius: 12px;
  padding: 13px 14px;
  box-shadow: 0 12px 30px rgba(21, 55, 31, .16);
}
.home-map[data-home-map] .maplibregl-popup-close-button {
  width: 28px;
  height: 28px;
  color: var(--green-900);
  font-size: 19px;
}
.map::before,
.home-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 31%, rgba(65, 120, 74, .12) 31% 32%, transparent 32%),
    linear-gradient(20deg, transparent 0 48%, rgba(65, 120, 74, .18) 48% 49%, transparent 49%);
  pointer-events: none;
}
.map-city {
  position: absolute;
  inset: 43% auto auto 43%;
  color: #5c503d;
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 800;
}
.map-pin {
  position: absolute;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-45deg);
  background: #3c8f54;
  color: white;
  border: 3px solid white;
  box-shadow: 0 8px 18px rgba(33, 55, 28, .18);
}
.map-pin span { transform: rotate(45deg); font-size: 12px; font-weight: 950; }
.map-pin:nth-of-type(3n) { background: #327dff; }
.map-pin:nth-of-type(3n + 1) { background: #f47f1f; }
.map-pin:nth-of-type(4n) { background: #9565d5; }
.map-pin.is-active { scale: 1.12; }
.map-list { display: grid; gap: 10px; max-height: 520px; overflow: auto; }
.map-row { display: grid; gap: 3px; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.map-row.is-active { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(47,125,66,.12); }
.map-legend {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  min-height: 54px;
  padding: 10px 14px;
  margin-top: -1px;
  border: 1px solid var(--line);
  border-radius: 0 0 10px 10px;
  background: white;
  font-size: 12px;
  font-weight: 900;
}
.map-legend span::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  background: var(--green-700);
}
.map-legend span:nth-child(3)::before,
.map-legend span:nth-child(5)::before { background: var(--orange); }
.map-legend span:nth-child(4)::before { background: #9565d5; }
.home-map-legend span::before { background: var(--map-type-color, var(--green-700)); }

.season-card,
.guides-panel {
  background: rgba(255,255,255,.65);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 10px 26px rgba(32, 58, 28, .06);
}
.season-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.season-card h3 { grid-column: 1 / -1; font-family: Georgia, serif; font-size: 26px; color: var(--green-900); }
.season-card div {
  min-height: 158px;
  border: 1px solid #e6dfc9;
  border-radius: 9px;
  padding: 12px;
  background:
    linear-gradient(rgba(255,255,255,.82), rgba(255,255,255,.82)),
    url("https://images.unsplash.com/photo-1498557850523-fd3d118b962e?auto=format&fit=crop&w=500&q=70") bottom right/110px auto no-repeat;
}
.season-card div:nth-of-type(2) { background-image: linear-gradient(rgba(255,255,255,.82), rgba(255,255,255,.82)), url("https://images.unsplash.com/photo-1416879595882-3373a0480b5b?auto=format&fit=crop&w=500&q=70"); }
.season-card div:nth-of-type(3) { background-image: linear-gradient(rgba(255,255,255,.82), rgba(255,255,255,.82)), url("https://images.unsplash.com/photo-1461354464878-ad92f492a5a0?auto=format&fit=crop&w=500&q=70"); }
.season-card strong { color: var(--green-700); font-size: 18px; }
.season-card p { font-size: 13px; font-weight: 700; }
.season-card .panel-more { grid-column: 1 / -1; border-radius: 9px; min-height: 38px; }
.guide-columns {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 12px;
}
.guide-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.faq-list {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  overflow: hidden;
}
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer;
  padding: 14px;
  font-weight: 900;
}
.faq-list p { margin: 0; padding: 0 14px 14px; color: var(--muted); }

.forum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.forum-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 96px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  box-shadow: 0 10px 24px rgba(32, 58, 28, .06);
}
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f3e4cc;
  color: #8b5523;
  font-weight: 950;
}
.forum-card img { width: 92px; height: 62px; }
.forum-card.has-photo { grid-template-columns: 46px minmax(0, 1fr) 92px; }
.forum-card strong { overflow-wrap: anywhere; }
.forum-photos, .forum-photo-edit { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.forum-photos a { flex: 0 1 240px; max-width: 100%; }
.forum-photos img { display: block; width: 100%; height: auto; max-height: 260px; object-fit: contain; border-radius: 10px; }
.forum-photo-edit label { display: grid; gap: 8px; max-width: 160px; }
.forum-photo-edit img { width: 160px; max-width: 100%; height: 110px; object-fit: contain; border-radius: 8px; }
.forum-photo-edit input[type="checkbox"] { width: auto; }
.forum-photo-field { margin-block: 16px; min-width: 0; }
.forum-photo-field input[type="file"] { width: 100%; max-width: 100%; }
.cta-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 24px;
  padding: 24px 84px;
  border-radius: 10px;
  background: linear-gradient(90deg, #eef8e6, #f8f4dc 50%, #edf6e6);
}
.cta-card {
  min-height: 82px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  border-radius: 10px;
  padding: 14px 22px;
  color: white;
}
.cta-card.green,
.cta-card.orange,
.cta-card.soft { background: var(--green-700); }
.cta-card span { font-size: 42px; line-height: 1; }
.cta-card strong { display: grid; font-size: 22px; }
.cta-card small { color: rgba(255,255,255,.9); font-size: 13px; }

.section { padding: 48px 0; }
.section.alt { background: #f4fbf5; border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 22px; }
.section-head p { max-width: 640px; color: var(--muted); margin: 8px 0 0; }
.grid { display: grid; gap: 16px; }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(39, 81, 48, .07);
  overflow: hidden;
}
.category-card { min-height: 148px; display: grid; align-content: space-between; }
.category-card .icon { font-size: 28px; }
.item-media { height: 170px; background: var(--green-100); display: grid; place-items: center; font-size: 46px; }
.price { font-size: 22px; font-weight: 950; color: var(--green-800); }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.layout { display: grid; grid-template-columns: 292px minmax(0, 1fr); gap: 28px; align-items: start; }
.layout > * { min-width: 0; }
.sidebar {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 112px);
  overflow: auto;
  scrollbar-width: thin;
}
.list-stack { display: grid; gap: 14px; }
.owner-box,
.recommend-box {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfff8;
}
.owner-box strong,
.recommend-box strong { color: var(--green-900); }
.owner-box span { font-weight: 950; }
.owner-box small,
.recommend-box > span { color: var(--muted); font-size: 13px; font-weight: 750; }
.link-button {
  border: 0;
  background: transparent;
  color: var(--green-800);
  font: inherit;
  font-weight: 950;
  padding: 0;
  cursor: pointer;
}
.recommend-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.recommend-actions .btn[name="vote"],
.inline-actions .btn[name="vote"] {
  border-radius: 999px;
}
.recommend-actions .btn[name="vote"]::before,
.inline-actions .btn[name="vote"]::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}
.recommend-actions .btn[name="vote"][value="1"]::before,
.inline-actions .btn[name="vote"][value="1"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h4v11Zm2 0h6.4a3 3 0 0 0 2.92-2.31l1.36-5.8A3 3 0 0 0 18.76 9H15l.62-3.1A3.23 3.23 0 0 0 12.45 2a1 1 0 0 0-.9.55L8.6 8.46A4 4 0 0 0 8.18 10H11v11Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h4v11Zm2 0h6.4a3 3 0 0 0 2.92-2.31l1.36-5.8A3 3 0 0 0 18.76 9H15l.62-3.1A3.23 3.23 0 0 0 12.45 2a1 1 0 0 0-.9.55L8.6 8.46A4 4 0 0 0 8.18 10H11v11Z'/%3E%3C/svg%3E");
}
.recommend-actions .btn[name="vote"][value="-1"]::before,
.inline-actions .btn[name="vote"][value="-1"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 3H5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h4V3Zm2 0h6.4a3 3 0 0 1 2.92 2.31l1.36 5.8A3 3 0 0 1 18.76 15H15l.62 3.1A3.23 3.23 0 0 1 12.45 22a1 1 0 0 1-.9-.55L8.6 15.54A4 4 0 0 1 8.18 14H11V3Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 3H5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h4V3Zm2 0h6.4a3 3 0 0 1 2.92 2.31l1.36 5.8A3 3 0 0 1 18.76 15H15l.62 3.1A3.23 3.23 0 0 1 12.45 22a1 1 0 0 1-.9-.55L8.6 15.54A4 4 0 0 1 8.18 14H11V3Z'/%3E%3C/svg%3E");
}
.recommend-actions .btn[name="vote"][value="-1"]:not(.warn),
.inline-actions .btn[name="vote"][value="-1"]:not(.warn) {
  color: #fff;
  background: var(--green-700);
  border-color: var(--green-700);
}
.recommend-box select,
.recommend-box input {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  background: white;
}
.side-facts,
.detail-facts,
.dashboard-summary {
  display: grid;
  gap: 10px;
}
.side-facts { margin: 14px 0; }
.side-facts span,
.detail-facts span,
.summary-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfff8;
  padding: 10px 12px;
}
.side-facts strong,
.detail-facts strong,
.summary-card strong {
  display: block;
  color: var(--green-900);
  font-weight: 950;
}
.detail-stack { display: grid; gap: 18px; }
.detail-hero {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) 1.2fr;
  align-items: stretch;
}
.detail-hero .item-media { height: auto; min-height: 320px; font-size: clamp(30px, 4vw, 52px); }
.detail-photo { position: relative; overflow: hidden; padding: 0; background: var(--green-100); }
.detail-photo img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.detail-photo > span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  border-radius: 6px;
  padding: 7px 10px;
  background: rgba(7, 57, 29, .88);
  color: white;
  font-size: 12px;
  font-weight: 950;
}
.detail-kicker { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.detail-lead { color: var(--muted); font-size: 17px; font-weight: 750; }
.detail-facts {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
}
.detail-facts span { color: var(--muted); font-size: 13px; }
.detail-facts strong { font-size: 16px; margin-bottom: 4px; }
.info-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.info-checklist span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fbfff8;
  color: var(--muted);
}
.info-checklist strong { display: block; color: var(--green-900); }
.activity-list { display: grid; gap: 10px; margin-top: 12px; }
.activity-row {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fbfff8;
}
.activity-row strong { color: var(--green-900); }
.activity-row small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.activity-row span { color: var(--text); }
.report-flag {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  color: #73806e;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  opacity: .78;
}
.report-flag:hover {
  color: #8d3a19;
  opacity: 1;
}
.report-flag span {
  color: #9b6a3d;
  font-size: 14px;
}
.mini-actions .report-flag {
  color: rgba(255,255,255,.82);
}
.mini-actions .report-flag span {
  color: #f4d9a5;
}
.report-inline {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.listing-report-bar {
  min-height: 48px;
  padding: 12px 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid #dfe5e0;
  color: #768078;
  font-size: 12px;
}
.listing-report-bar .report-flag {
  margin: 0;
  color: #b4232c;
  font-size: 13px;
  opacity: 1;
}
.listing-report-bar .report-flag:hover {
  color: #8f1821;
}
.listing-report-bar .report-flag .ui-icon {
  width: 16px;
  height: 16px;
  filter: invert(20%) sepia(75%) saturate(2784%) hue-rotate(340deg) brightness(86%) contrast(90%);
}
.report-form {
  max-width: 760px;
  margin: 0 auto;
}
.report-preview {
  margin: 14px 0;
  padding: 14px 16px;
  border-left: 3px solid var(--green-700);
  border-radius: 8px;
  background: #f8fbf1;
  color: var(--text);
}
.report-reasons {
  margin: 18px 0;
  padding: 0;
  display: grid;
  border: 0;
}
.report-reasons legend {
  margin-bottom: 10px;
  color: var(--green-950);
  font-size: 17px;
  font-weight: 900;
}
.report-reasons label {
  min-height: 58px;
  padding: 11px 12px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.report-reasons label:last-child {
  border-bottom: 1px solid var(--line);
}
.report-reasons label:hover {
  background: #f6f9f5;
}
.report-reasons input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--green-700);
}
.report-reasons span,
.report-reasons strong,
.report-reasons small {
  display: block;
}
.report-reasons strong {
  color: var(--green-950);
  font-size: 14px;
}
.report-reasons small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}
.comment-form { display: grid; gap: 10px; margin-bottom: 12px; }
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  resize: vertical;
}
.record-share {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.share-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.share-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(79, 91, 59, .14);
  border-radius: 999px;
  padding: 6px 12px 6px 7px;
  background: rgba(255,255,255,.86);
  color: var(--green-900);
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(42, 67, 38, .07);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.share-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(35, 109, 48, .22);
  box-shadow: 0 14px 30px rgba(42, 67, 38, .11);
}
.share-btn span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  border-radius: 50%;
  color: white;
  background: var(--green-700);
}
.share-btn span::before {
  content: "";
  width: 17px;
  height: 17px;
  background: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}
.share-btn.facebook span { background: #1877f2; }
.share-btn.facebook span::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.1 8.2H13V6.8c0-.6.4-.8.8-.8h1.3V3.8L13.3 3.8c-2.1 0-3.2 1.3-3.2 3.4v1H8v2.5h2.1V21H13V10.7h1.8l.3-2.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.1 8.2H13V6.8c0-.6.4-.8.8-.8h1.3V3.8L13.3 3.8c-2.1 0-3.2 1.3-3.2 3.4v1H8v2.5h2.1V21H13V10.7h1.8l.3-2.5Z'/%3E%3C/svg%3E");
}
.share-btn.x span { background: #111; }
.share-btn.x span::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m4 4 6.9 8.6L4.4 20H7l5.1-5.8 4.7 5.8H20l-7.2-9L19 4h-2.6l-4.8 5.4L7.2 4H4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m4 4 6.9 8.6L4.4 20H7l5.1-5.8 4.7 5.8H20l-7.2-9L19 4h-2.6l-4.8 5.4L7.2 4H4Z'/%3E%3C/svg%3E");
}
.share-btn.whatsapp span { background: #25d366; }
.share-btn.whatsapp span::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3a8.8 8.8 0 0 0-7.5 13.4L3.4 21l4.7-1.2A8.8 8.8 0 1 0 12 3Zm4.8 12.6c-.2.6-1.2 1.1-1.7 1.2-.5.1-1.1.1-1.8-.1-3-.9-5-3.4-5.2-3.6-.1-.2-1.2-1.6-1.2-3s.8-2.1 1.1-2.4c.2-.2.5-.3.8-.3h.6c.2 0 .4 0 .6.5l.8 1.9c.1.2.1.4 0 .6l-.5.7c-.2.2-.3.4-.1.7.2.4.8 1.3 1.7 2 .9.8 1.7 1 2.1 1.2.3.1.5.1.7-.1l.9-1.1c.2-.3.5-.2.8-.1l1.8.9c.3.1.5.2.6.4.1.1.1.5 0 .7Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3a8.8 8.8 0 0 0-7.5 13.4L3.4 21l4.7-1.2A8.8 8.8 0 1 0 12 3Zm4.8 12.6c-.2.6-1.2 1.1-1.7 1.2-.5.1-1.1.1-1.8-.1-3-.9-5-3.4-5.2-3.6-.1-.2-1.2-1.6-1.2-3s.8-2.1 1.1-2.4c.2-.2.5-.3.8-.3h.6c.2 0 .4 0 .6.5l.8 1.9c.1.2.1.4 0 .6l-.5.7c-.2.2-.3.4-.1.7.2.4.8 1.3 1.7 2 .9.8 1.7 1 2.1 1.2.3.1.5.1.7-.1l.9-1.1c.2-.3.5-.2.8-.1l1.8.9c.3.1.5.2.6.4.1.1.1.5 0 .7Z'/%3E%3C/svg%3E");
}
.share-btn.telegram span { background: #229ed9; }
.share-btn.telegram span::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 4.4 17.9 20c-.2.9-.8 1.1-1.6.7l-4.5-3.3-2.2 2.1c-.2.2-.4.4-.9.4l.3-4.7 8.6-7.8c.4-.3-.1-.5-.6-.2L6.4 13.9 1.8 12.5c-1-.3-1-.9.2-1.4L19.9 4.2c.8-.3 1.5.2 1.1.2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 4.4 17.9 20c-.2.9-.8 1.1-1.6.7l-4.5-3.3-2.2 2.1c-.2.2-.4.4-.9.4l.3-4.7 8.6-7.8c.4-.3-.1-.5-.6-.2L6.4 13.9 1.8 12.5c-1-.3-1-.9.2-1.4L19.9 4.2c.8-.3 1.5.2 1.1.2Z'/%3E%3C/svg%3E");
}
.share-btn.linkedin span { background: #0a66c2; }
.share-btn.linkedin span::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.7 8.8H3.9V20h2.8V8.8ZM5.3 4a1.6 1.6 0 1 0 0 3.2A1.6 1.6 0 0 0 5.3 4Zm14.8 9.9c0-3-1.6-4.4-3.7-4.4-1.7 0-2.5.9-2.9 1.6V8.8h-2.8V20h2.8v-6.2c0-1.7.9-2.6 2.2-2.6 1.2 0 1.7.8 1.7 2.5V20h2.8v-6.1Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.7 8.8H3.9V20h2.8V8.8ZM5.3 4a1.6 1.6 0 1 0 0 3.2A1.6 1.6 0 0 0 5.3 4Zm14.8 9.9c0-3-1.6-4.4-3.7-4.4-1.7 0-2.5.9-2.9 1.6V8.8h-2.8V20h2.8v-6.2c0-1.7.9-2.6 2.2-2.6 1.2 0 1.7.8 1.7 2.5V20h2.8v-6.1Z'/%3E%3C/svg%3E");
}
.share-btn.email span { background: #7a6040; }
.share-btn.email span::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2Zm0 2v.4l8 4.6 8-4.6V8H4Zm16 8v-5.4l-8 4.6-8-4.6V16h16Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2Zm0 2v.4l8 4.6 8-4.6V8H4Zm16 8v-5.4l-8 4.6-8-4.6V16h16Z'/%3E%3C/svg%3E");
}
.share-btn.copy span { background: var(--green-700); }
.share-btn.copy span::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 7a3 3 0 0 1 3-3h6a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3h-1v1a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3v-6a3 3 0 0 1 3-3h1V7Zm3-1a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-6Zm-3 4H7a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-1h-3a3 3 0 0 1-3-3v-3Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 7a3 3 0 0 1 3-3h6a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3h-1v1a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3v-6a3 3 0 0 1 3-3h1V7Zm3-1a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-6Zm-3 4H7a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-1h-3a3 3 0 0 1-3-3v-3Z'/%3E%3C/svg%3E");
}
.card-kicker { margin-bottom: 8px; }
.deal-excerpt {
  color: var(--muted);
  min-height: 40px;
  font-size: 13px;
  line-height: 1.45;
}
.sub-tabs { margin: -6px 0 16px; }
.guide-search {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
}
.field-hint {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.search-count { margin: 0 0 14px; }
.forum-sections { display: grid; gap: 18px; }
.forum-section { display: grid; gap: 16px; }
.forum-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}
.forum-section-head h2 {
  font-size: clamp(24px, 2.5vw, 34px);
}
.forum-section-head p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.topic-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-cloud a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: #fbfff8;
  color: var(--green-900);
  font-size: 13px;
  font-weight: 850;
}
.forum-thread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 16px;
  align-items: center;
  border: 1px solid transparent;
  border-top-color: var(--line);
  padding: 14px 10px;
}
.forum-thread:hover {
  border-color: rgba(45, 106, 42, .18);
  border-radius: 8px;
  background: #fbfff8;
}
.forum-thread h3 { margin-top: 6px; }
.forum-thread-meta {
  display: grid;
  justify-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: #fffdf4;
  color: var(--muted);
  text-align: center;
}
.forum-thread-meta strong {
  color: var(--green-800);
  font-size: 24px;
  line-height: 1;
}
.forum-thread-meta span,
.forum-thread-meta small {
  font-size: 11px;
  font-weight: 850;
}
.like-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfff8;
}
.like-panel strong {
  display: block;
  color: var(--green-900);
  font-size: 20px;
}
.like-panel span {
  color: var(--muted);
  font-weight: 750;
}
.vote-card {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid rgba(45, 106, 42, .16);
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fff2, #fffaf0);
}
.vote-graphic {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-700);
  color: white;
  box-shadow: 0 10px 24px rgba(45, 106, 42, .22);
}
.vote-graphic span { font-size: 22px; line-height: 1; }
.vote-graphic small { font-size: 11px; font-weight: 950; margin-top: -10px; }
.vote-copy { display: grid; gap: 2px; }
.vote-copy strong { color: var(--green-900); font-size: 16px; }
.vote-copy span { color: var(--muted); font-size: 13px; font-weight: 800; }
.vote-like,
.vote-dislike {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: white;
  color: var(--green-900);
  font-weight: 950;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.vote-like::before,
.vote-dislike::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  background: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}
.vote-like::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h4v11Zm2 0h6.4a3 3 0 0 0 2.92-2.31l1.36-5.8A3 3 0 0 0 18.76 9H15l.62-3.1A3.23 3.23 0 0 0 12.45 2a1 1 0 0 0-.9.55L8.6 8.46A4 4 0 0 0 8.18 10H11v11Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h4v11Zm2 0h6.4a3 3 0 0 0 2.92-2.31l1.36-5.8A3 3 0 0 0 18.76 9H15l.62-3.1A3.23 3.23 0 0 0 12.45 2a1 1 0 0 0-.9.55L8.6 8.46A4 4 0 0 0 8.18 10H11v11Z'/%3E%3C/svg%3E");
}
.vote-dislike::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 3H5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h4V3Zm2 0h6.4a3 3 0 0 1 2.92 2.31l1.36 5.8A3 3 0 0 1 18.76 15H15l.62 3.1A3.23 3.23 0 0 1 12.45 22a1 1 0 0 1-.9-.55L8.6 15.54A4 4 0 0 1 8.18 14H11V3Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 3H5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h4V3Zm2 0h6.4a3 3 0 0 1 2.92 2.31l1.36 5.8A3 3 0 0 1 18.76 15H15l.62 3.1A3.23 3.23 0 0 1 12.45 22a1 1 0 0 1-.9-.55L8.6 15.54A4 4 0 0 1 8.18 14H11V3Z'/%3E%3C/svg%3E");
}
.vote-like {
  background: var(--green-700);
  border-color: var(--green-700);
  color: white;
}
.vote-dislike {
  color: #fff;
  background: var(--green-700);
  border-color: var(--green-700);
}
.vote-like:hover,
.vote-dislike:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(37, 77, 36, .14);
}
.vote-like.is-active,
.vote-dislike.is-active {
  box-shadow: 0 0 0 3px rgba(45, 106, 42, .18);
}
.search-sections { display: grid; gap: 28px; }
.search-section { display: grid; gap: 14px; }
.btn.is-active {
  box-shadow: 0 0 0 3px rgba(45, 106, 42, .18);
}
.dashboard-summary {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 14px;
}
.summary-card span { color: var(--muted); font-size: 13px; font-weight: 850; }
.summary-card strong { font-size: 32px; line-height: 1; margin: 4px 0; }
.summary-card small { color: var(--muted); font-weight: 700; }
.action-note { margin-bottom: 16px; }
.compact-head { align-items: center; margin-bottom: 16px; }
.mini-site-card {
  position: relative;
  display: grid;
  gap: 10px;
  background:
    linear-gradient(135deg, rgba(45, 106, 42, .06), rgba(239, 163, 0, .08)),
    #fff;
}
.mini-domain {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--green-900);
  background: #f4fbf5;
  border: 1px solid #dcebdc;
  font-weight: 950;
  overflow-wrap: anywhere;
}
.mini-site-body {
  background: var(--paper);
}
.mini-site-page {
  min-height: 100vh;
}
.mini-hero {
  min-height: 72vh;
  display: grid;
  align-items: center;
  background-position: center;
  background-size: cover;
  color: white;
}
.mini-hero-inner {
  display: grid;
  gap: 18px;
  max-width: 860px;
  padding-block: 72px;
}
.mini-powered {
  width: fit-content;
  color: #14351f;
  background: rgba(255,255,255,.9);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 950;
}
.mini-hero .badge {
  width: fit-content;
  background: rgba(255,255,255,.16);
  color: white;
  border-color: rgba(255,255,255,.32);
}
.mini-hero h1 {
  color: white;
  max-width: 820px;
  font-size: clamp(44px, 7vw, 92px);
}
.mini-hero p {
  max-width: 700px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 750;
}
.mini-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.mini-actions .btn.primary {
  background: var(--site-accent, var(--green-700));
}
.mini-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}
.mini-contact {
  gap: 10px;
}
.mini-contact a,
.mini-contact span {
  color: var(--green-900);
  font-weight: 900;
  overflow-wrap: anywhere;
}
.field { display: grid; gap: 6px; }
.field label { color: var(--muted); font-size: 13px; font-weight: 900; }
.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: white;
  color: var(--text);
}
.notice { border: 1px solid #f2dc8d; background: #fff8d8; border-radius: 8px; padding: 12px 14px; }
.form-card { max-width: 920px; margin: 0 auto; }
.form-intro { max-width: 720px; margin: 8px 0 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-section {
  display: grid;
  gap: 3px;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f4fbf5;
  border: 1px solid #dcebdc;
}
.form-section strong { color: var(--green-900); }
.form-section span { color: var(--muted); font-size: 13px; font-weight: 700; }
.type-section[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.field-label { color: var(--muted); font-size: 13px; font-weight: 900; }
.listing-category-note {
  border-color: #cfe3cd;
  background: #f3faf2;
  color: var(--green-900);
  font-weight: 700;
}
.photo-upload-zone {
  min-height: 128px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 22px;
  border: 1.5px dashed #91b88f;
  border-radius: 8px;
  background: #f7fbf6;
  color: var(--green-900) !important;
  text-align: center;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.photo-upload-zone:hover { border-color: var(--green-700); background: #eff8ed; }
.photo-upload-zone .ui-icon { width: 28px; height: 28px; }
.photo-upload-zone strong { font-size: 16px; }
.photo-upload-zone span { color: var(--muted); font-size: 13px; }
.site-color-control {
  display: grid;
  grid-template-columns: 56px minmax(140px, 220px) 1fr;
  gap: 10px;
  align-items: center;
}
.site-color-picker {
  width: 56px;
  height: 44px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.site-color-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.site-color-swatch {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  outline: 1px solid var(--line);
  background: var(--swatch-color);
  cursor: pointer;
}
.site-color-swatch:hover,
.site-color-swatch.is-active { outline: 3px solid var(--green-900); outline-offset: 2px; }
.site-photo-preview,
.site-current-photo {
  max-width: 520px;
  margin: 12px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.site-photo-preview img,
.site-current-photo img { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.site-photo-preview figcaption,
.site-current-photo figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
}
.site-photo-preview figure { margin: 0; }
.listing-photo-preview,
.listing-photo-manager {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.listing-photo-preview figure,
.listing-photo-existing,
.listing-main-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.listing-photo-preview img,
.listing-photo-existing img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.listing-photo-preview figcaption,
.listing-photo-existing span {
  display: block;
  padding: 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.listing-photo-existing span { cursor: pointer; }
.listing-main-photo { max-width: 300px; }
.listing-main-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.listing-main-photo .check { padding: 10px; }
.replace-main-photo { margin-top: 4px; }
@media (max-width: 680px) {
  .listing-photo-preview,
  .listing-photo-manager { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-color-control { grid-template-columns: 50px 1fr; }
  .site-color-swatches { grid-column: 1 / -1; }
  .site-current-photo figcaption { align-items: flex-start; flex-direction: column; }
}
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: white; }
table { width: 100%; border-collapse: collapse; min-width: 780px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f4fbf5; color: #45614c; font-size: 13px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tab { border: 1px solid var(--line); background: white; border-radius: 8px; padding: 9px 12px; font-weight: 900; cursor: pointer; }
.tab.is-active { background: var(--green-700); color: white; border-color: var(--green-700); }
.admin-command-center {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid #dcebdc;
  border-radius: 10px;
  background: linear-gradient(135deg, #f6fff2, #fffaf0);
}
.admin-command-center h2 { margin-top: 8px; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.admin-row {
  display: grid;
  grid-template-columns: 1fr 170px auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.admin-row:last-child { border-bottom: 0; }
.admin-row strong { display: grid; gap: 3px; min-width: 0; }
.admin-row small { color: var(--muted); font-weight: 700; }
.admin-list-tools {
  display: grid;
  grid-template-columns: minmax(230px, 1.7fr) repeat(3, minmax(150px, .8fr)) auto auto;
  gap: 12px;
  align-items: end;
  margin: 4px 0 18px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
}
.admin-tool-field {
  min-width: 0;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.admin-tool-field input,
.admin-tool-field select {
  width: 100%;
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--green-900);
  font: inherit;
  font-size: 13px;
}
.admin-tool-field input:focus-visible,
.admin-tool-field select:focus-visible {
  outline: 3px solid rgba(47, 133, 72, .16);
  border-color: var(--green-700);
}
.admin-tool-reset { min-height: 42px; }
.admin-list-count {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  color: var(--green-800);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}
.admin-list-empty {
  margin: 0 0 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.admin-preview-link {
  color: var(--green-800);
  text-decoration: underline;
  text-decoration-color: rgba(47, 133, 72, .28);
  text-underline-offset: 3px;
}
.admin-preview-link:hover,
.admin-preview-link:focus-visible { color: var(--green-700); text-decoration-color: currentColor; }
.admin-user-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1.7fr) repeat(3, minmax(150px, .8fr)) auto auto;
  gap: 12px;
  align-items: end;
}
.report-admin-list {
  display: grid;
  gap: 14px;
}
.report-admin-card {
  gap: 12px;
}
.report-admin-card h3 {
  margin-top: 8px;
  margin-bottom: 4px;
}
.admin-row select,
.inline-actions select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: white;
  color: var(--text);
  min-height: 38px;
}
.inline-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.empty { padding: 34px; text-align: center; border: 1px dashed #bdd2c2; border-radius: 8px; background: #fbfffb; }
.home-empty-state {
  grid-column: 1 / -1;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.home-empty-state > .ui-icon { width: 28px; height: 28px; color: var(--green-700); }
.home-empty-state strong { font-family: var(--font-display); font-size: 22px; color: var(--green-950); }
.home-empty-state p { max-width: 600px; margin: 0 0 4px; color: var(--muted); }
.flash { margin: 16px auto 0; width: min(1180px, calc(100% - 32px)); padding: 12px 14px; border-radius: 8px; background: #dcf6df; border: 1px solid #bfe8c5; font-weight: 800; }
.errors { margin: 16px auto; color: #8d1d15; background: #ffe9e5; border: 1px solid #f4beb6; border-radius: 8px; padding: 12px 14px; }

.footer {
  margin-top: 26px;
  padding: 18px 0 28px;
  background: transparent;
  color: var(--text);
}
.footer-panel {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 22px;
}
.footer-links,
.footer-brand {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.76);
  padding: 24px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.footer a { display: block; margin: 6px 0; color: #29352c; font-size: 13px; font-weight: 650; }
.footer strong { color: var(--green-900); }
.footer-brand img { width: 190px; margin: 0 auto 14px; }
.footer-brand { text-align: center; }
.socials { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.socials span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #1877f2;
  font-size: 12px;
  font-weight: 900;
}
.socials span:nth-child(2) { background: #dd2a7b; }
.socials span:nth-child(3) { background: #e62117; }
.footer-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-top: 18px;
  color: #4f5f53;
  font-size: 13px;
}
.admin-section-heading { margin-bottom: 14px; }
.admin-section-heading .inline-actions { justify-content: flex-end; }
.admin-content-table table { min-width: 1040px; }
.admin-content-table td:first-child { min-width: 270px; }
.admin-preview-link { color: var(--green-900); text-decoration: none; }
.admin-preview-link:hover { color: var(--green-700); text-decoration: underline; }
.admin-record-id {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}
.admin-record-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 350px;
}
.admin-record-actions form { display: inline-flex; margin: 0; }
.admin-record-actions .btn { min-height: 34px; padding: 6px 10px; }
.admin-suspend {
  border-color: #d6a14e;
  background: #fff8e9;
  color: #82520d;
}
.admin-suspend:hover { background: #ffefca; }
.form-admin-return {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.footer-benefits span { display: grid; gap: 3px; }

@media (max-width: 1120px) {
  .nav { grid-template-columns: 210px 1fr; }
  .nav-actions { grid-column: 2; justify-self: end; }
  .nav-links { order: 3; grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; padding-bottom: 10px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .deals-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-panel, .split-band .wrap, .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 24px, 1280px); }
  .nav { display: flex; flex-wrap: wrap; min-height: 68px; gap: 12px; padding: 12px 0; }
  .brand img { width: 174px; }
  .brand-lockup small { margin-left: 34px; }
  .nav-links { width: 100%; justify-content: flex-start; gap: 16px; font-size: 13px; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-actions { margin-left: auto; gap: 10px; }
  .hero { background-position: 63% center; }
  .hero .wrap { grid-template-columns: 1fr; min-height: 560px; align-items: end; padding-top: 34px; }
  .hero-copy { align-self: center; }
  .hero-copy p { font-size: 15px; max-width: 92%; }
  .hero-search { grid-template-columns: 36px 1fr; border-radius: 14px; }
  .hero-search select { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding: 10px 2px 2px; }
  .hero-search .btn { grid-column: 1 / -1; width: 100%; border-radius: 12px; }
  .quick-filters a { min-width: auto; flex: 1 1 120px; }
  .hero-sign { justify-self: start; margin: 0 0 16px; font-size: 20px; padding: 14px 18px; }
  .category-grid, .deals-grid, .product-grid, .forum-grid, .cta-strip, .footer-links, .footer-benefits, .grid.cols-4, .grid.cols-3, .grid.cols-2, .form-grid, .mini-content { grid-template-columns: 1fr; }
  .detail-hero, .detail-facts, .dashboard-summary, .admin-command-center { grid-template-columns: 1fr; }
  .detail-hero .item-media { min-height: 210px; }
  .detail-photo img { min-height: 240px; }
  .info-checklist { grid-template-columns: 1fr; }
  .admin-actions { justify-content: stretch; }
  .admin-actions .btn { width: 100%; }
  .admin-row { grid-template-columns: 1fr; }
  .admin-list-tools,
  .admin-user-filters { grid-template-columns: 1fr; }
  .admin-list-count { min-height: 24px; }
  .admin-tool-reset { width: 100%; }
  .admin-section-heading { align-items: stretch; }
  .admin-section-heading .inline-actions { width: 100%; justify-content: stretch; }
  .admin-section-heading .inline-actions .btn { flex: 1 1 150px; }
  .admin-record-actions { min-width: 310px; }
  .form-admin-return { align-items: flex-start; flex-direction: column-reverse; }
  .admin-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  .admin-stats-grid .card-body { padding: 14px; }
  .admin-stats-grid h2 { font-size: 26px; }
  [data-tabs] > .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 7px;
    scrollbar-width: thin;
  }
  [data-tabs] > .tabs .tab { flex: 0 0 auto; }
  .cta-strip { padding: 18px; gap: 14px; }
  .shop-row { grid-template-columns: 62px 1fr; }
  .shop-row span, .shop-row em { justify-self: start; }
  .guide-columns, .layout, .map-shell { grid-template-columns: 1fr; }
  .detail-stack { order: 1; }
  .vote-card { grid-template-columns: auto 1fr; }
  .vote-like, .vote-dislike { width: 100%; }
  .mini-hero { min-height: 640px; }
  .mini-hero-inner { padding-block: 54px; }
  .sidebar { order: 2; position: static; }
  .forum-section-head { display: grid; }
  .forum-section-head .btn { width: 100%; }
  .forum-thread { grid-template-columns: 1fr; }
  .forum-thread-meta { justify-items: start; text-align: left; }
  .season-card { grid-template-columns: 1fr; }
  .home-map, .map { min-height: 360px; }
  .home-map-toolbar { grid-template-columns: 1fr 1fr; }
  .full-map-toolbar { grid-template-columns: 1fr; }
  .full-map-toolbar .home-map-count { grid-column: 1; }
  .home-map-count { grid-column: 1 / -1; justify-self: start; min-height: 34px; }
  .map-page-title { font-size: 36px; }
  .full-map-shell { grid-template-columns: 1fr; }
  .full-map[data-home-map] { min-height: 520px; }
  .full-map-panel .map-list { max-height: none; }
  .footer-panel { gap: 14px; }
  h1 { font-size: 38px; }
}

/* Szablon 2: nowoczesny, bardziej minimalistyczny. */
.template-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 5px 4px 10px;
  border: 1px solid rgba(45, 106, 42, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
}
.template-switch label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.template-switch select {
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  padding: 0 30px 0 11px;
  background: var(--green-900);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  outline: 0;
}
.template-switch a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.template-switch a.is-active {
  background: var(--green-900);
  color: white;
}

body.template-modern {
  --green-900: #102a1b;
  --green-800: #173c27;
  --green-700: #2f7d42;
  --green-600: #4d9460;
  --green-100: #eef7ef;
  --cream: #fafaf5;
  --cream-2: #f5f4ed;
  --paper: #ffffff;
  --ink-brown: #473426;
  --gold: #a37735;
  --orange: #e68a00;
  --orange-2: #fff5e2;
  --text: #172018;
  --muted: #66706a;
  --line: #e5e9df;
  --shadow: 0 14px 36px rgba(19, 44, 29, .07);
  background: linear-gradient(180deg, #fbfbf6 0, #f7f7f0 52%, #fbfbf6 100%);
  font-size: 15px;
}

body.template-modern .wrap {
  width: min(1240px, calc(100% - 56px));
}

body.template-modern .header {
  background: rgba(251, 251, 246, .82);
  border-bottom-color: rgba(16, 42, 27, .08);
  box-shadow: 0 1px 0 rgba(16, 42, 27, .03);
}

body.template-modern .nav {
  min-height: 72px;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 18px;
}

body.template-modern .brand img {
  width: 192px;
}

body.template-modern .brand-lockup small {
  border: 0;
  background: transparent;
  color: #7b8279;
  margin-left: 42px;
  padding: 0;
  font-weight: 850;
}

body.template-modern .nav-links {
  justify-content: flex-start;
  gap: 6px;
  font-size: 13px;
  font-weight: 820;
}

body.template-modern .nav-links a {
  border-radius: 999px;
  padding: 9px 10px;
  color: #2f3a32;
}

body.template-modern .nav-links a:hover {
  background: rgba(47, 125, 66, .08);
  color: var(--green-800);
}

body.template-modern .nav-actions {
  gap: 10px;
}

body.template-modern .icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(16, 42, 27, .1);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  font-size: 21px;
}

body.template-modern .btn {
  border-radius: 999px;
  border-color: rgba(16, 42, 27, .12);
  box-shadow: none;
}

body.template-modern .btn.primary {
  background: var(--green-700);
  border-color: var(--green-700);
}

body.template-modern h1,
body.template-modern h2 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 880;
  letter-spacing: 0;
}

body.template-modern h1 {
  max-width: 720px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: .98;
}

body.template-modern h2 {
  font-size: clamp(25px, 2.6vw, 34px);
}

body.template-modern .hero {
  min-height: 560px;
  background:
    linear-gradient(90deg, rgba(251,251,246,.98) 0%, rgba(251,251,246,.84) 38%, rgba(251,251,246,.25) 68%),
    linear-gradient(180deg, transparent 76%, #fbfbf6 100%),
    url("img/hero-harvest.png") center right/cover no-repeat;
}

body.template-modern .hero::after {
  display: none;
}

body.template-modern .hero .wrap {
  min-height: 560px;
  grid-template-columns: minmax(0, 760px) 280px;
  gap: 32px;
  padding: 74px 0 38px;
}

body.template-modern .hero-copy p {
  max-width: 620px;
  color: #3d4940;
  font-size: 17px;
  font-weight: 620;
  line-height: 1.65;
}

body.template-modern .hero-search {
  border-radius: 999px;
  border-color: rgba(16, 42, 27, .08);
  box-shadow: 0 24px 70px rgba(29, 61, 38, .14);
}

body.template-modern .hero-search .btn {
  border-radius: 999px;
}

body.template-modern .quick-filters {
  gap: 8px;
}

body.template-modern .quick-filters a {
  min-height: 38px;
  min-width: auto;
  border-color: rgba(16, 42, 27, .1);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  box-shadow: none;
  color: #28362d;
  font-size: 13px;
}

body.template-modern .hero-sign {
  width: min(280px, 100%);
  justify-self: end;
  border: 0;
  border-left: 3px solid rgba(47, 125, 66, .42);
  border-radius: 0;
  background: rgba(255,255,255,.62);
  box-shadow: none;
  backdrop-filter: blur(12px);
  color: #34281f;
  padding: 22px 0 22px 24px;
  font-size: clamp(28px, 2.6vw, 40px);
}

body.template-modern .hero-sign::before,
body.template-modern .hero-sign::after {
  display: none;
}

body.template-modern .home-band,
body.template-modern .category-band,
body.template-modern .section {
  padding: 34px 0;
}

body.template-modern .section.alt,
body.template-modern .product-band {
  background: transparent;
  border-block: 0;
}

body.template-modern .category-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

body.template-modern .category-tile {
  min-height: 174px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
}

body.template-modern .category-tile:hover {
  background: rgba(255,255,255,.58);
}

body.template-modern .category-tile img {
  height: 82px;
  border-radius: 18px;
}

body.template-modern .tile-icon {
  width: 34px;
  height: 34px;
  margin-top: -17px;
  border: 0;
  box-shadow: none;
}

body.template-modern .category-tile strong {
  font-size: 15px;
  line-height: 1.16;
}

body.template-modern .category-tile small {
  padding: 6px 8px 0;
  font-size: 12px;
  line-height: 1.35;
}

body.template-modern .section-line {
  margin: 2px 0 16px;
}

body.template-modern .section-line h2::before {
  display: none;
}

body.template-modern .section-line a {
  border-bottom: 1px solid rgba(47, 125, 66, .26);
  color: var(--green-800);
}

body.template-modern .deals-grid,
body.template-modern .product-grid {
  gap: 16px;
}

body.template-modern .deal-card,
body.template-modern .product-card,
body.template-modern .card {
  border-color: rgba(16, 42, 27, .08);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(19, 44, 29, .055);
}

body.template-modern .deal-card {
  overflow: hidden;
}

body.template-modern .deal-media {
  height: 178px;
}

body.template-modern .deal-ribbon,
body.template-modern .badge,
body.template-modern .deal-tags span,
body.template-modern .status-pill {
  border-radius: 999px;
}

body.template-modern .card-body {
  padding: 16px 18px 18px;
}

body.template-modern .split-band .wrap,
body.template-modern .info-grid {
  gap: 40px;
}

body.template-modern .shop-row {
  border-width: 0 0 1px;
  background: transparent;
  padding: 12px 2px;
}

body.template-modern .shop-row:first-of-type {
  border-radius: 0;
}

body.template-modern .shop-row img,
body.template-modern .guide-row img,
body.template-modern .forum-card img {
  border-radius: 14px;
}

body.template-modern .shop-row span {
  border-radius: 999px;
  background: rgba(47, 125, 66, .08);
}

body.template-modern .panel-more {
  border: 0;
  border-radius: 999px;
  background: transparent;
}

body.template-modern .home-map,
body.template-modern .map {
  border: 0;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(16, 42, 27, .07);
}

body.template-modern .map-legend {
  margin-top: 10px;
  border: 0;
  border-radius: 16px;
  background: rgba(255,255,255,.7);
}

body.template-modern .season-card,
body.template-modern .guides-panel {
  border: 0;
  border-radius: 24px;
  background: rgba(255,255,255,.54);
  box-shadow: none;
}

body.template-modern .season-card div {
  border: 0;
  border-radius: 18px;
  background-color: rgba(255,255,255,.72);
}

body.template-modern .faq-list {
  border: 0;
  border-radius: 18px;
  background: rgba(255,255,255,.7);
}

body.template-modern .forum-grid {
  gap: 12px;
}

body.template-modern .forum-card {
  border: 0;
  border-radius: 18px;
  background: rgba(255,255,255,.66);
  box-shadow: none;
}

body.template-modern .cta-strip {
  gap: 10px;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255,255,255,.66);
}

body.template-modern .cta-card {
  border-radius: 18px;
  background: transparent;
  color: var(--green-900);
}

body.template-modern .cta-card.green,
body.template-modern .cta-card.orange,
body.template-modern .cta-card.soft {
  background: transparent;
}

body.template-modern .cta-card span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #173c27;
  color: white;
}

body.template-modern .cta-card small {
  color: var(--muted);
}

body.template-modern .layout {
  grid-template-columns: 280px minmax(0, 1fr);
}

body.template-modern .sidebar {
  border: 0;
  border-radius: 22px;
  background: rgba(255,255,255,.58);
  box-shadow: none;
}

body.template-modern .detail-hero {
  border: 0;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: none;
}

body.template-modern .detail-facts {
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

body.template-modern .like-panel,
body.template-modern .vote-card,
body.template-modern .admin-command-center,
body.template-modern .form-section,
body.template-modern .notice,
body.template-modern .empty,
body.template-modern .flash,
body.template-modern .errors {
  border-radius: 18px;
  box-shadow: none;
}

body.template-modern .table-wrap {
  border-color: rgba(16, 42, 27, .08);
  border-radius: 18px;
}

body.template-modern .tabs {
  gap: 6px;
}

body.template-modern .tab {
  border-radius: 999px;
}

body.template-modern .footer {
  margin-top: 44px;
  border-top: 1px solid rgba(16, 42, 27, .08);
}

body.template-modern .footer-panel {
  grid-template-columns: 1fr;
}

body.template-modern .footer-links,
body.template-modern .footer-brand {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 18px 0;
}

body.template-modern .footer-brand {
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(16, 42, 27, .08);
}

body.template-modern .footer-brand img {
  margin: 0;
}

@media (max-width: 1120px) {
  body.template-modern .nav {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  body.template-modern .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 760px) {
  body.template-modern .wrap {
    width: min(100% - 24px, 1240px);
  }

  body.template-modern .nav {
    display: flex;
  }

  body.template-modern .template-switch {
    order: 4;
    width: 100%;
  }

  body.template-modern .template-switch select {
    flex: 1;
  }

  body.template-modern .template-switch a {
    flex: 1;
  }

  body.template-modern .hero {
    min-height: 620px;
    background-position: 66% center;
  }

  body.template-modern .hero .wrap {
    min-height: 620px;
    grid-template-columns: 1fr;
    padding-top: 38px;
  }

  body.template-modern .hero-search {
    border-radius: 18px;
  }

  body.template-modern .hero-sign {
    justify-self: start;
    width: auto;
    font-size: 24px;
    background: rgba(255,255,255,.74);
  }

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

  body.template-modern .category-tile {
    min-height: 154px;
  }

  body.template-modern .footer-brand {
    display: grid;
  }
}

/* Szablon 2.1: bardziej produktowy UX i spokojniejsza hierarchia. */
body.template-modern {
  --surface: rgba(255, 255, 255, .72);
  --surface-strong: rgba(255, 255, 255, .92);
  --hairline: rgba(17, 36, 22, .085);
}

body.template-modern .header {
  top: 10px;
  width: min(1280px, calc(100% - 28px));
  margin: 0 auto;
  border: 1px solid var(--hairline);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(17, 36, 22, .08);
}

body.template-modern .nav {
  min-height: 64px;
  padding: 0 12px;
}

body.template-modern .nav-links {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}

body.template-modern .nav-links::-webkit-scrollbar {
  display: none;
}

body.template-modern .nav-links a {
  flex: 0 0 auto;
}

body.template-modern .template-switch {
  background: #eef4eb;
  border-color: transparent;
}

body.template-modern .template-switch select {
  background: #173c27;
}

body.template-modern .template-switch a {
  min-height: 28px;
  padding-inline: 9px;
  font-size: 11px;
}

body.template-modern .hero {
  margin-top: -10px;
  min-height: 610px;
  background:
    radial-gradient(circle at 18% 28%, rgba(255,255,255,.82), transparent 30%),
    linear-gradient(90deg, rgba(250,250,245,.98) 0%, rgba(250,250,245,.82) 43%, rgba(250,250,245,.18) 73%),
    linear-gradient(180deg, transparent 74%, #fbfbf6 100%),
    url("img/hero-harvest.png") center right/cover no-repeat;
}

body.template-modern .hero .wrap {
  min-height: 610px;
  padding-top: 104px;
}

body.template-modern .hero-copy::before {
  content: "Mapa lokalnych plonów i ogrodu";
  width: fit-content;
  display: inline-flex;
  margin-bottom: 16px;
  border: 1px solid rgba(47, 125, 66, .16);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255,255,255,.66);
  color: var(--green-800);
  font-size: 12px;
  font-weight: 920;
}

body.template-modern .hero-search {
  grid-template-columns: 38px minmax(0, 1fr) 170px 148px;
  max-width: 720px;
  min-height: 60px;
  padding: 5px;
}

body.template-modern .search-mark {
  font-size: 24px;
}

body.template-modern .hero-search input,
body.template-modern .hero-search select {
  font-size: 14px;
}

body.template-modern .quick-filters a:first-child,
body.template-modern .quick-filters a:nth-child(3) {
  background: #173c27;
  color: white;
}

body.template-modern .category-band {
  margin-top: -34px;
}

body.template-modern .category-grid {
  border: 1px solid var(--hairline);
  border-radius: 28px;
  padding: 12px;
  background: var(--surface);
  box-shadow: 0 22px 60px rgba(17, 36, 22, .08);
  backdrop-filter: blur(16px);
}

body.template-modern .category-tile {
  padding: 6px;
}

body.template-modern .category-tile img {
  filter: saturate(.94) contrast(.98);
}

body.template-modern .deals-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.template-modern .deal-card,
body.template-modern .product-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.template-modern .deal-card:hover,
body.template-modern .product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 125, 66, .18);
  box-shadow: 0 20px 46px rgba(17, 36, 22, .1);
}

body.template-modern .deal-card h3,
body.template-modern .product-card h3 {
  min-height: 0;
  font-size: 17px;
  line-height: 1.2;
}

body.template-modern .deal-tags {
  gap: 6px;
}

body.template-modern .deal-tags span,
body.template-modern .badge {
  padding: 5px 8px;
  font-size: 11px;
}

body.template-modern .split-band .wrap {
  grid-template-columns: .74fr 1.26fr;
}

body.template-modern .panel-list,
body.template-modern .mini-map-panel,
body.template-modern .season-panel,
body.template-modern .guides-panel {
  padding: 0;
}

body.template-modern .home-map {
  min-height: 342px;
}

body.template-modern .layout {
  grid-template-columns: minmax(0, 1fr) 352px;
  gap: 32px;
}

body.template-modern .detail-stack {
  grid-column: 1;
  grid-row: 1;
  gap: 16px;
}

body.template-modern .sidebar {
  grid-column: 2;
  grid-row: 1;
  top: 92px;
  padding: 14px;
  background: var(--surface-strong);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(18px);
}

body.template-modern .sidebar .btn.primary.wide,
body.template-modern .sidebar > .btn.wide,
body.template-modern .sidebar form .btn.wide {
  min-height: 48px;
  font-size: 15px;
}

body.template-modern .sidebar .btn.primary.wide {
  box-shadow: 0 16px 34px rgba(23, 60, 39, .18);
}

body.template-modern .side-facts {
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: #fbfcf7;
}

body.template-modern .side-facts span {
  border: 0;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  background: transparent;
}

body.template-modern .side-facts span:last-child {
  border-bottom: 0;
}

body.template-modern .owner-box,
body.template-modern .recommend-box {
  margin: 10px 0;
  border-color: var(--hairline);
  border-radius: 18px;
  background: #fbfcf7;
}

body.template-modern .detail-hero {
  grid-template-columns: minmax(280px, .95fr) minmax(0, 1.05fr);
  min-height: 430px;
  background: var(--surface-strong);
}

body.template-modern .detail-photo img {
  min-height: 430px;
}

body.template-modern .detail-photo > span {
  left: 18px;
  bottom: 18px;
  border-radius: 999px;
  background: rgba(16, 42, 27, .74);
  backdrop-filter: blur(10px);
}

body.template-modern .detail-hero .card-body {
  display: grid;
  align-content: center;
  padding: clamp(22px, 3vw, 36px);
}

body.template-modern .detail-kicker {
  margin-bottom: 16px;
}

body.template-modern .detail-lead {
  max-width: 580px;
  line-height: 1.55;
}

body.template-modern .detail-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  border-block: 1px solid var(--hairline);
}

body.template-modern .detail-facts span {
  border: 0;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  padding: 14px 4px;
}

body.template-modern .detail-facts span:nth-child(2n) {
  border-right: 0;
  padding-left: 18px;
}

body.template-modern .detail-facts span:nth-last-child(-n + 2) {
  border-bottom: 0;
}

body.template-modern .detail-facts strong {
  font-size: 18px;
}

body.template-modern .vote-card {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(47, 125, 66, .14);
  border-radius: 22px;
  background: linear-gradient(135deg, #f3fbef, #fffdf6);
}

body.template-modern .vote-like,
body.template-modern .vote-dislike {
  min-height: 46px;
}

body.template-modern .vote-like {
  grid-column: 1 / 3;
}

body.template-modern .vote-dislike {
  grid-column: 1 / 3;
}

body.template-modern .info-checklist {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.template-modern .info-checklist span,
body.template-modern .activity-row {
  border-color: var(--hairline);
  border-radius: 16px;
  background: #fbfcf7;
}

body.template-modern .share-grid,
body.template-modern .share-buttons {
  gap: 8px;
}

body.template-modern .forum-section,
body.template-modern .search-section,
body.template-modern .card.card-body {
  border-color: var(--hairline);
  border-radius: 22px;
}

body.template-modern .form-card,
body.template-modern .report-form {
  border-radius: 28px;
}

body.template-modern .field input,
body.template-modern .field select,
body.template-modern .field textarea,
body.template-modern .recommend-box select,
body.template-modern .recommend-box input {
  border-color: var(--hairline);
  border-radius: 14px;
  min-height: 44px;
}

@media (max-width: 1120px) {
  body.template-modern .header {
    top: 0;
    width: 100%;
    border-radius: 0;
    border-inline: 0;
  }

  body.template-modern .layout,
  body.template-modern .split-band .wrap {
    grid-template-columns: 1fr;
  }

  body.template-modern .sidebar,
  body.template-modern .detail-stack {
    grid-column: auto;
    grid-row: auto;
  }

  body.template-modern .sidebar {
    order: 2;
    position: static;
    max-height: none;
  }

  body.template-modern .detail-stack {
    order: 1;
  }

  body.template-modern .deals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.template-modern .hero {
    margin-top: 0;
  }

  body.template-modern .hero .wrap {
    padding-top: 86px;
  }

  body.template-modern .hero-search {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  body.template-modern .category-band {
    margin-top: -22px;
  }

  body.template-modern .category-grid {
    border-radius: 22px;
    padding: 8px;
  }

  body.template-modern .deals-grid,
  body.template-modern .info-checklist {
    grid-template-columns: 1fr;
  }

  body.template-modern .detail-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body.template-modern .detail-photo img {
    min-height: 280px;
  }

  body.template-modern .detail-facts {
    grid-template-columns: 1fr;
  }

  body.template-modern .detail-facts span,
  body.template-modern .detail-facts span:nth-child(2n) {
    border-right: 0;
    padding-left: 0;
  }

  body.template-modern .detail-facts span:nth-last-child(2) {
    border-bottom: 1px solid var(--hairline);
  }
}

/* Template 3: minimal product style. */
body.template-minimal {
  --green-900: #102319;
  --green-800: #173626;
  --green-700: #2f7d42;
  --green-600: #4b8b5b;
  --green-100: #f3f7f1;
  --cream: #ffffff;
  --cream-2: #f7f8f4;
  --paper: #ffffff;
  --ink-brown: #2d241d;
  --gold: #9c7a42;
  --orange: #d98200;
  --orange-2: #fff7e8;
  --text: #151b17;
  --muted: #6a716b;
  --line: #e6e9e3;
  --white: #fff;
  --shadow: none;
  background: #fff;
  color: #151b17;
  font-size: 15px;
  line-height: 1.55;
}

body.template-minimal .wrap {
  width: min(1180px, calc(100% - 48px));
}

body.template-minimal .header {
  position: sticky;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid #ecefeb;
  box-shadow: none;
}

body.template-minimal .nav {
  min-height: 68px;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  gap: 18px;
}

body.template-minimal .brand img {
  width: 178px;
}

body.template-minimal .brand-lockup small {
  margin-left: 39px;
  border: 0;
  background: transparent;
  color: #8a918a;
  padding: 0;
}

body.template-minimal .nav-links {
  justify-content: flex-start;
  gap: 3px;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 13px;
  font-weight: 760;
}

body.template-minimal .nav-links::-webkit-scrollbar {
  display: none;
}

body.template-minimal .nav-links a {
  flex: 0 0 auto;
  padding: 8px 9px;
  border-radius: 999px;
  color: #333c35;
}

body.template-minimal .nav-links a:hover {
  background: #f4f6f2;
  color: #102319;
}

body.template-minimal .nav-actions {
  gap: 8px;
}

body.template-minimal .template-switch {
  border: 1px solid #e5e8e2;
  background: #f7f8f4;
}

body.template-minimal .template-switch label {
  color: #5d675f;
}

body.template-minimal .template-switch select {
  background: #151b17;
}

body.template-minimal .template-switch a {
  min-height: 28px;
  padding: 0 9px;
  font-size: 11px;
  color: #6a716b;
}

body.template-minimal .template-switch a.is-active {
  background: #151b17;
  color: white;
}

body.template-minimal .icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #e5e8e2;
  background: #fff;
  font-size: 20px;
}

body.template-minimal .btn {
  border-radius: 999px;
  border-color: var(--green-700);
  background: var(--green-700);
  color: #fff;
  box-shadow: none;
}

body.template-minimal .btn.primary {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
}

body.template-minimal .btn.warn {
  background: var(--green-700);
  border-color: var(--green-700);
}

body.template-minimal h1,
body.template-minimal h2,
body.template-minimal h3 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  color: #151b17;
}

body.template-minimal h1 {
  max-width: 820px;
  font-size: clamp(44px, 6.6vw, 88px);
  line-height: .94;
  font-weight: 900;
}

body.template-minimal h2 {
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1;
  font-weight: 860;
}

body.template-minimal h3 {
  font-size: 17px;
  line-height: 1.2;
}

body.template-minimal .hero {
  min-height: 620px;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.94) 48%, rgba(255,255,255,.36) 100%),
    url("img/hero-harvest.png") center right/contain no-repeat;
}

body.template-minimal .hero::after {
  display: none;
}

body.template-minimal .hero .wrap {
  min-height: 620px;
  grid-template-columns: minmax(0, 820px) minmax(180px, 280px);
  gap: 28px;
  padding: 86px 0 42px;
}

body.template-minimal .hero-copy::before {
  content: "MyZbieramy.pl";
  display: block;
  margin-bottom: 18px;
  color: #73806e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body.template-minimal .hero-copy p {
  max-width: 650px;
  margin: 24px 0 26px;
  color: #4f5b53;
  font-size: 18px;
  font-weight: 560;
  line-height: 1.72;
}

body.template-minimal .hero-search {
  width: min(760px, 100%);
  min-height: 62px;
  grid-template-columns: 38px minmax(0, 1fr) 172px 142px;
  border: 1px solid #dde4da;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(21, 27, 23, .08);
}

body.template-minimal .search-mark {
  color: #151b17;
  font-size: 23px;
}

body.template-minimal .hero-search input,
body.template-minimal .hero-search select {
  font-size: 14px;
}

body.template-minimal .hero-search select {
  border-left-color: #e6e9e3;
}

body.template-minimal .hero-search .btn {
  min-height: 50px;
  border-radius: 14px;
}

body.template-minimal .quick-filters {
  gap: 8px;
}

body.template-minimal .quick-filters a {
  min-height: 36px;
  min-width: auto;
  border: 1px solid #e6e9e3;
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
  color: #303a33;
  padding: 0 13px;
  font-size: 13px;
}

body.template-minimal .quick-filters a:first-child {
  background: #151b17;
  color: #fff;
  border-color: #151b17;
}

body.template-minimal .hero-sign {
  align-self: end;
  width: 230px;
  border: 0;
  border-top: 1px solid #dfe4dc;
  border-bottom: 1px solid #dfe4dc;
  border-radius: 0;
  background: rgba(255,255,255,.78);
  box-shadow: none;
  padding: 22px 0;
  color: #151b17;
  font-size: clamp(26px, 2.7vw, 38px);
  line-height: 1.02;
}

body.template-minimal .hero-sign::before,
body.template-minimal .hero-sign::after {
  display: none;
}

body.template-minimal .hero-sign span:nth-child(2),
body.template-minimal .hero-sign span:nth-child(3) {
  padding-left: 0;
  color: #151b17;
}

body.template-minimal .home-band,
body.template-minimal .category-band,
body.template-minimal .section {
  padding: 38px 0;
}

body.template-minimal .category-band {
  padding-top: 16px;
}

body.template-minimal .category-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid #e6e9e3;
  border-left: 1px solid #e6e9e3;
}

body.template-minimal .category-tile {
  min-height: 188px;
  border: 0;
  border-right: 1px solid #e6e9e3;
  border-bottom: 1px solid #e6e9e3;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  text-align: left;
  padding: 16px;
}

body.template-minimal .category-tile:hover {
  background: #f8faf6;
}

body.template-minimal .category-tile img {
  height: 82px;
  border-radius: 12px;
  filter: saturate(.86);
}

body.template-minimal .tile-icon {
  width: auto;
  height: auto;
  margin: 13px 0 7px;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #2f7d42;
  font-size: 14px;
}

body.template-minimal .category-tile strong {
  padding: 0;
  font-size: 18px;
}

body.template-minimal .category-tile small {
  padding: 6px 0 0;
  color: #6a716b;
}

body.template-minimal .section-line {
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e6e9e3;
}

body.template-minimal .section-line h2::before,
body.template-minimal .section-line a::after {
  display: none;
}

body.template-minimal .section-line a {
  color: #151b17;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.template-minimal .deals-grid,
body.template-minimal .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #e6e9e3;
}

body.template-minimal .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.template-minimal .deal-card,
body.template-minimal .product-card,
body.template-minimal .card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

body.template-minimal .deal-media {
  height: 178px;
}

body.template-minimal .deal-card h3,
body.template-minimal .product-card h3 {
  min-height: 0;
  color: #151b17;
}

body.template-minimal .deal-ribbon,
body.template-minimal .badge,
body.template-minimal .status-pill,
body.template-minimal .deal-tags span {
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 11px;
}

body.template-minimal .heart {
  background: rgba(21, 27, 23, .54);
}

body.template-minimal .card-body {
  padding: 16px;
}

body.template-minimal .split-band .wrap,
body.template-minimal .info-grid {
  grid-template-columns: .8fr 1.2fr;
  gap: 46px;
}

body.template-minimal .shop-row {
  border: 0;
  border-bottom: 1px solid #e6e9e3;
  background: transparent;
  padding: 12px 0;
}

body.template-minimal .shop-row:first-of-type {
  border-radius: 0;
}

body.template-minimal .shop-row img,
body.template-minimal .guide-row img,
body.template-minimal .forum-card img {
  border-radius: 10px;
}

body.template-minimal .shop-row span {
  border-radius: 999px;
  background: #f1f6ee;
}

body.template-minimal .panel-more {
  border: 0;
  border-radius: 0;
  background: transparent;
  justify-content: flex-start;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.template-minimal .home-map,
body.template-minimal .map {
  border: 1px solid #e6e9e3;
  border-radius: 0;
}

body.template-minimal .map-legend {
  border: 1px solid #e6e9e3;
  border-top: 0;
  border-radius: 0;
}

body.template-minimal .season-card,
body.template-minimal .guides-panel {
  border: 1px solid #e6e9e3;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

body.template-minimal .season-card div {
  border-radius: 0;
  border-color: #e6e9e3;
}

body.template-minimal .faq-list,
body.template-minimal .table-wrap {
  border-color: #e6e9e3;
  border-radius: 0;
}

body.template-minimal .forum-card {
  border: 1px solid #e6e9e3;
  border-radius: 0;
  box-shadow: none;
}

body.template-minimal .cta-strip {
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  padding: 0;
  border: 1px solid #e6e9e3;
  border-radius: 0;
  background: #e6e9e3;
}

body.template-minimal .cta-card,
body.template-minimal .cta-card.green,
body.template-minimal .cta-card.orange,
body.template-minimal .cta-card.soft {
  min-height: 112px;
  border-radius: 0;
  background: #fff;
  color: #151b17;
}

body.template-minimal .cta-card span {
  color: #2f7d42;
}

body.template-minimal .cta-card small {
  color: #6a716b;
}

body.template-minimal .layout {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 42px;
}

body.template-minimal .detail-stack {
  grid-column: 1;
  grid-row: 1;
  gap: 18px;
}

body.template-minimal .sidebar {
  grid-column: 2;
  grid-row: 1;
  top: 88px;
  border: 1px solid #e6e9e3;
  border-radius: 0;
  box-shadow: none;
  padding: 16px;
}

body.template-minimal .owner-box,
body.template-minimal .recommend-box,
body.template-minimal .side-facts span,
body.template-minimal .detail-facts span,
body.template-minimal .info-checklist span,
body.template-minimal .activity-row,
body.template-minimal .summary-card {
  border-color: #e6e9e3;
  border-radius: 0;
  background: #fff;
}

body.template-minimal .owner-box,
body.template-minimal .recommend-box {
  padding: 14px 0;
  border-width: 1px 0 0;
}

body.template-minimal .detail-hero {
  grid-template-columns: 1fr;
  border: 0;
  background: transparent;
}

body.template-minimal .detail-photo {
  border: 1px solid #e6e9e3;
}

body.template-minimal .detail-photo img {
  min-height: 420px;
  max-height: 520px;
}

body.template-minimal .detail-photo > span {
  border-radius: 999px;
}

body.template-minimal .detail-hero .card-body {
  padding: 28px 0 0;
}

body.template-minimal .detail-kicker {
  margin-bottom: 16px;
}

body.template-minimal .detail-lead {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.7;
}

body.template-minimal .detail-facts {
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 26px;
  border-top: 1px solid #e6e9e3;
  border-left: 1px solid #e6e9e3;
}

body.template-minimal .detail-facts span {
  border: 0;
  border-right: 1px solid #e6e9e3;
  border-bottom: 1px solid #e6e9e3;
  padding: 14px;
}

body.template-minimal .vote-card {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  border: 1px solid #dfe4dc;
  border-radius: 0;
  background: #fbfcf9;
  padding: 14px;
}

body.template-minimal .vote-graphic {
  background: #151b17;
  box-shadow: none;
}

body.template-minimal .vote-like {
  background: #151b17;
  border-color: #151b17;
}

body.template-minimal .vote-dislike {
  background: #fff;
}

body.template-minimal .info-checklist {
  grid-template-columns: repeat(2, 1fr);
}

body.template-minimal .card.card-body {
  border-top: 1px solid #e6e9e3;
  padding: 24px 0;
}

body.template-minimal .notice,
body.template-minimal .empty,
body.template-minimal .flash,
body.template-minimal .errors,
body.template-minimal .form-section,
body.template-minimal .admin-command-center {
  border-radius: 0;
  box-shadow: none;
}

body.template-minimal .field input,
body.template-minimal .field select,
body.template-minimal .field textarea,
body.template-minimal .recommend-box select,
body.template-minimal .recommend-box input {
  border-radius: 0;
  border-color: #dfe4dc;
}

body.template-minimal .tabs {
  border-bottom: 1px solid #e6e9e3;
}

body.template-minimal .tab {
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.template-minimal .tab.is-active {
  background: #151b17;
}

body.template-minimal .footer {
  margin-top: 56px;
  border-top: 1px solid #e6e9e3;
}

body.template-minimal .footer-panel {
  grid-template-columns: 1fr;
}

body.template-minimal .footer-links,
body.template-minimal .footer-brand {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding-inline: 0;
}

body.template-minimal .footer-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e6e9e3;
  text-align: left;
}

body.template-minimal .footer-brand img {
  margin: 0;
}

@media (max-width: 1120px) {
  body.template-minimal .nav {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  body.template-minimal .nav-actions {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  body.template-minimal .layout,
  body.template-minimal .split-band .wrap,
  body.template-minimal .info-grid {
    grid-template-columns: 1fr;
  }

  body.template-minimal .sidebar,
  body.template-minimal .detail-stack {
    grid-column: auto;
    grid-row: auto;
  }

  body.template-minimal .sidebar {
    order: 2;
    position: static;
    max-height: none;
  }

  body.template-minimal .deals-grid,
  body.template-minimal .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  body.template-minimal .wrap {
    width: min(100% - 24px, 1180px);
  }

  body.template-minimal .nav {
    display: flex;
    gap: 10px;
  }

  body.template-minimal .template-switch {
    order: 4;
    width: 100%;
  }

  body.template-minimal .template-switch select {
    flex: 1;
  }

  body.template-minimal .template-switch a {
    flex: 1;
  }

  body.template-minimal .hero {
    min-height: 640px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.78)),
      url("img/hero-harvest.png") center bottom/130% auto no-repeat;
  }

  body.template-minimal .hero .wrap {
    min-height: 640px;
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  body.template-minimal .hero-search {
    grid-template-columns: 34px minmax(0, 1fr);
    border-radius: 14px;
  }

  body.template-minimal .hero-search select,
  body.template-minimal .hero-search .btn {
    grid-column: 1 / -1;
  }

  body.template-minimal .hero-search select {
    border-left: 0;
    border-top: 1px solid #e6e9e3;
    padding-top: 10px;
  }

  body.template-minimal .hero-sign {
    width: auto;
    font-size: 24px;
  }

  body.template-minimal .category-grid,
  body.template-minimal .deals-grid,
  body.template-minimal .product-grid,
  body.template-minimal .forum-grid,
  body.template-minimal .cta-strip,
  body.template-minimal .detail-facts,
  body.template-minimal .info-checklist {
    grid-template-columns: 1fr;
  }

  body.template-minimal .detail-photo img {
    min-height: 280px;
  }

  body.template-minimal .vote-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  body.template-minimal .vote-like,
  body.template-minimal .vote-dislike {
    grid-column: 1 / -1;
    width: 100%;
  }

  body.template-minimal .footer-brand {
    display: grid;
  }
}

/* Minimal polish: fresher color accents without adding visual clutter. */
body.template-minimal {
  --leaf: #22a447;
  --leaf-soft: #eefaf1;
  --berry: #5b4fd8;
  --berry-soft: #f1efff;
  --sun: #f2a900;
  --sun-soft: #fff7df;
  background:
    radial-gradient(circle at 8% 14%, rgba(34, 164, 71, .09), transparent 28%),
    radial-gradient(circle at 86% 10%, rgba(91, 79, 216, .08), transparent 24%),
    #fff;
}

body.template-minimal .brand-lockup small {
  color: var(--leaf);
}

body.template-minimal .hero {
  background:
    radial-gradient(circle at 62% 23%, rgba(91, 79, 216, .12), transparent 18%),
    radial-gradient(circle at 83% 64%, rgba(242, 169, 0, .16), transparent 22%),
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.94) 48%, rgba(255,255,255,.36) 100%),
    url("img/hero-harvest.png") center right/contain no-repeat;
}

body.template-minimal .hero-copy::before {
  color: var(--leaf);
}

body.template-minimal .hero-copy h1 {
  max-width: 900px;
}

body.template-minimal .hero-copy h1::after {
  content: "";
  display: block;
  width: 92px;
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--leaf), var(--berry), var(--sun));
}

body.template-minimal .hero-copy p {
  color: #46544b;
}

body.template-minimal .hero-search {
  border-color: rgba(34, 164, 71, .22);
  box-shadow: 0 20px 54px rgba(34, 164, 71, .10);
}

body.template-minimal .hero-search .btn,
body.template-minimal .btn.primary,
body.template-minimal .quick-filters a:first-child,
body.template-minimal .template-switch a.is-active,
body.template-minimal .template-switch select,
body.template-minimal .vote-like,
body.template-minimal .vote-graphic,
body.template-minimal .tab.is-active {
  background: var(--green-700);
  border-color: var(--green-700);
}

body.template-minimal .quick-filters a:nth-child(2) {
  border-color: rgba(91, 79, 216, .22);
  color: var(--berry);
  background: var(--berry-soft);
}

body.template-minimal .quick-filters a:nth-child(3) {
  border-color: rgba(34, 164, 71, .24);
  color: #16642d;
  background: var(--leaf-soft);
}

body.template-minimal .quick-filters a:nth-child(4) {
  border-color: rgba(242, 169, 0, .3);
  color: #8a5b00;
  background: var(--sun-soft);
}

body.template-minimal .hero-sign {
  border-top-color: rgba(34, 164, 71, .35);
  border-bottom-color: rgba(91, 79, 216, .26);
}

body.template-minimal .hero-sign span:first-child {
  color: var(--leaf);
}

body.template-minimal .hero-sign span:nth-child(2) {
  color: var(--berry);
}

body.template-minimal .hero-sign span:nth-child(3) {
  color: #9a6700;
}

body.template-minimal .category-tile:nth-child(3n + 1) .tile-icon,
body.template-minimal .deal-tags span:first-child,
body.template-minimal .badge {
  color: var(--leaf);
  background: var(--leaf-soft);
}

body.template-minimal .category-tile:nth-child(3n + 2) .tile-icon,
body.template-minimal .badge.hot {
  color: var(--berry);
  background: var(--berry-soft);
}

body.template-minimal .category-tile:nth-child(3n) .tile-icon {
  color: #9a6700;
  background: var(--sun-soft);
}

body.template-minimal .category-tile:hover {
  background: linear-gradient(180deg, #fff, #f8fbf6);
}

body.template-minimal .deal-ribbon {
  background: rgba(16, 35, 25, .92);
}

body.template-minimal .status-pill.pending,
body.template-minimal .status-pill.new,
body.template-minimal .status-pill.moderator {
  background: var(--sun-soft);
  color: #8a5b00;
}

body.template-minimal .status-pill.published,
body.template-minimal .status-pill.active,
body.template-minimal .status-pill.admin {
  background: var(--leaf-soft);
  color: #16642d;
}

body.template-minimal .section-line h2 {
  position: relative;
}

body.template-minimal .section-line h2::after {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-left: 10px;
  border-radius: 999px;
  background: var(--sun);
  vertical-align: middle;
}

body.template-minimal .map-pin:nth-of-type(3n) {
  background: var(--berry);
}

body.template-minimal .map-pin:nth-of-type(3n + 1) {
  background: var(--sun);
}

body.template-minimal .map-pin {
  background: var(--leaf);
}

body.template-minimal .cta-card:nth-child(1) span {
  color: var(--leaf);
}

body.template-minimal .cta-card:nth-child(2) span {
  color: var(--sun);
}

body.template-minimal .cta-card:nth-child(3) span {
  color: var(--berry);
}

body.template-minimal .sidebar {
  border-top: 4px solid var(--leaf);
}

body.template-minimal .detail-facts strong,
body.template-minimal .price,
body.template-minimal .panel-more {
  color: #16642d;
}

body.template-minimal .vote-card {
  border-color: rgba(34, 164, 71, .2);
  background: linear-gradient(135deg, var(--leaf-soft), #fff 58%, var(--sun-soft));
}

@media (max-width: 760px) {
  body.template-minimal .hero {
    background:
      linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.78)),
      radial-gradient(circle at 12% 15%, rgba(34, 164, 71, .13), transparent 30%),
      radial-gradient(circle at 86% 26%, rgba(91, 79, 216, .11), transparent 24%),
      url("img/hero-harvest.png") center bottom/130% auto no-repeat;
  }
}

/* Minimal hero motto refinement. */
body.template-minimal .hero-sign {
  align-self: center;
  justify-self: end;
  width: min(260px, 100%);
  display: grid;
  gap: 10px;
  border: 0;
  border-left: 1px solid rgba(21, 27, 23, .14);
  background: rgba(255, 255, 255, .74);
  padding: 18px 0 18px 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-style: normal;
  text-align: left;
  box-shadow: none;
  backdrop-filter: blur(10px);
}

body.template-minimal .hero-sign::before {
  content: "Rytm sezonu";
  display: block;
  position: static;
  height: auto;
  background: transparent;
  color: #7a827a;
  font-family: inherit;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
}

body.template-minimal .hero-sign::after {
  content: "";
  display: block;
  position: static;
  width: 54px;
  height: 3px;
  margin-top: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--leaf), var(--berry), var(--sun));
}

body.template-minimal .hero-sign span {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #151b17;
  font-family: inherit;
  font-size: clamp(25px, 2.3vw, 34px);
  font-style: normal;
  font-weight: 880;
  letter-spacing: 0;
  line-height: .95;
  white-space: nowrap;
}

body.template-minimal .hero-sign span::before {
  min-width: 24px;
  color: #9aa29a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

body.template-minimal .hero-sign span:nth-child(1)::before { content: "01"; }
body.template-minimal .hero-sign span:nth-child(2)::before { content: "02"; }
body.template-minimal .hero-sign span:nth-child(3)::before { content: "03"; }

body.template-minimal .hero-sign span:nth-child(1) { color: var(--leaf); }
body.template-minimal .hero-sign span:nth-child(2) { color: #151b17; }
body.template-minimal .hero-sign span:nth-child(3) { color: var(--berry); }

@media (max-width: 760px) {
  body.template-minimal .hero-sign {
    justify-self: start;
    width: min(280px, 100%);
    margin-bottom: 18px;
    padding: 15px 0 15px 18px;
  }

  body.template-minimal .hero-sign span {
    font-size: 24px;
  }
}
/* Template 4: marketplace - prosty, przejrzysty układ inspirowany UX marketplace. */
body.template-marketplace {
  --green-900: #1d2b20;
  --green-800: #24452c;
  --green-700: #2f7d42;
  --market-green: #70a030;
  --market-green-dark: #4f7f22;
  --market-purple: #904090;
  --market-purple-bright: #a04090;
  --market-orange: #70a030;
  --market-orange-dark: #4f7f22;
  --market-orange-soft: #f2f8ea;
  --market-purple-soft: #f8eef8;
  --market-line: #e7e7e7;
  --market-bg: #f5f5f5;
  --market-text: #222222;
  --market-muted: #666666;
  background: var(--market-bg);
  color: var(--market-text);
  font-family: Arial, "Segoe UI", system-ui, sans-serif;
}

body.template-marketplace .wrap {
  width: min(1240px, calc(100% - 36px));
}

body.template-marketplace .header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--market-line);
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}

body.template-marketplace .nav {
  min-height: 76px;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 14px;
}

body.template-marketplace .brand img {
  width: 172px;
}

body.template-marketplace .brand-lockup small {
  margin-left: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a8a8a;
  font-size: 10px;
  letter-spacing: .05em;
}

body.template-marketplace .nav-links {
  justify-content: flex-start;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 13px;
  font-weight: 700;
}

body.template-marketplace .nav-links::-webkit-scrollbar { display: none; }

body.template-marketplace .nav-links a {
  flex: 0 0 auto;
  padding: 8px 9px;
  border-radius: 0;
  color: #333;
  white-space: nowrap;
}

body.template-marketplace .nav-links a:hover {
  color: var(--market-purple);
  background: var(--market-orange-soft);
}

body.template-marketplace .nav-actions {
  gap: 8px;
}

body.template-marketplace .template-switch {
  border: 1px solid var(--market-line);
  border-radius: 4px;
  background: #fff;
  padding: 4px 5px 4px 8px;
}

body.template-marketplace .template-switch label {
  color: var(--market-muted);
  font-size: 11px;
  font-weight: 700;
}

body.template-marketplace .template-switch select {
  min-height: 30px;
  border-radius: 3px;
  background: #2d2d2d;
  color: #fff;
}

body.template-marketplace .icon-btn,
body.template-marketplace .btn {
  border-radius: 4px;
  border-color: var(--green-700);
  background: var(--green-700);
  color: #fff;
  box-shadow: none;
}

body.template-marketplace .btn.primary,
body.template-marketplace .quick-filters a:first-child {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
}

body.template-marketplace .btn.primary:hover {
  background: var(--green-800);
  border-color: var(--green-800);
}

body.template-marketplace h1,
body.template-marketplace h2,
body.template-marketplace h3 {
  font-family: Arial, "Segoe UI", system-ui, sans-serif;
  color: #222;
  letter-spacing: 0;
}

body.template-marketplace .hero {
  min-height: auto;
  background: #fff;
  border-bottom: 1px solid var(--market-line);
}

body.template-marketplace .hero::after,
body.template-marketplace .hero-sign {
  display: none;
}

body.template-marketplace .hero .wrap {
  min-height: auto;
  display: block;
  padding: 28px 0 22px;
}

body.template-marketplace .hero-copy::before {
  content: "Marketplace lokalnych zbiorów i miejsc";
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

body.template-marketplace .hero-copy h1 {
  max-width: 900px;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.02;
  font-weight: 800;
}

body.template-marketplace .hero-copy p {
  max-width: 820px;
  margin: 10px 0 18px;
  color: var(--market-muted);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
}

body.template-marketplace .hero-search {
  width: min(940px, 100%);
  min-height: 58px;
  grid-template-columns: 42px minmax(0, 1fr) 190px 142px;
  gap: 0;
  border: 2px solid var(--market-green);
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
  padding: 0;
}

body.template-marketplace .search-mark {
  color: var(--market-purple);
  font-size: 23px;
}

body.template-marketplace .hero-search input,
body.template-marketplace .hero-search select {
  height: 100%;
  border: 0;
  border-left: 1px solid var(--market-line);
  border-radius: 0;
  background: #fff;
  font-size: 15px;
}

body.template-marketplace .hero-search input {
  border-left: 0;
}

body.template-marketplace .hero-search .btn {
  min-height: 54px;
  border: 0;
  border-radius: 0;
  font-weight: 800;
}

body.template-marketplace .quick-filters {
  margin-top: 12px;
  gap: 8px;
}

body.template-marketplace .quick-filters a {
  min-width: auto;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--market-line);
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 700;
}

body.template-marketplace .home-band,
body.template-marketplace .category-band,
body.template-marketplace .section {
  padding: 24px 0;
}

body.template-marketplace .category-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--market-line);
  border-bottom: 0;
  background: #fff;
}

body.template-marketplace .category-tile {
  min-height: 118px;
  padding: 16px 14px;
  border: 0;
  border-right: 1px solid var(--market-line);
  border-bottom: 1px solid var(--market-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  text-align: left;
}

body.template-marketplace .category-tile img {
  display: none;
}

body.template-marketplace .tile-icon {
  display: none;
}

body.template-marketplace .category-tile strong {
  min-height: auto;
  padding: 0;
  font-size: 16px;
  line-height: 1.15;
}

body.template-marketplace .category-tile small {
  padding: 5px 0 0;
  color: var(--market-muted);
  font-size: 12px;
  line-height: 1.35;
}

body.template-marketplace .section-line {
  margin-bottom: 12px;
  padding: 0;
  border: 0;
}

body.template-marketplace .section-line h2 {
  font-size: 26px;
  font-weight: 800;
}

body.template-marketplace .section-line h2::before,
body.template-marketplace .section-line h2::after,
body.template-marketplace .section-line a::after {
  display: none;
}

body.template-marketplace .section-line a,
body.template-marketplace .panel-more {
  color: var(--market-purple);
  font-size: 13px;
  font-weight: 800;
}

body.template-marketplace .deals-grid,
body.template-marketplace .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body.template-marketplace .deal-card,
body.template-marketplace .product-card,
body.template-marketplace .card,
body.template-marketplace .guides-panel,
body.template-marketplace .season-card,
body.template-marketplace .table-wrap,
body.template-marketplace .faq-list {
  border: 1px solid var(--market-line);
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
}

body.template-marketplace .deal-card:hover,
body.template-marketplace .product-card:hover,
body.template-marketplace .category-tile:hover {
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  transform: none;
}

body.template-marketplace .deal-media {
  height: 138px;
  background: #f8f8f8;
}

body.template-marketplace .deal-media img,
body.template-marketplace .product-media img {
  filter: saturate(.95);
}

body.template-marketplace .card-body {
  padding: 12px 13px 14px;
}

body.template-marketplace .deal-card h3,
body.template-marketplace .product-card h3 {
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.23;
}

body.template-marketplace .price {
  color: var(--market-purple);
  font-size: 20px;
  font-weight: 900;
}

body.template-marketplace .deal-ribbon,
body.template-marketplace .badge,
body.template-marketplace .status-pill,
body.template-marketplace .deal-tags span {
  border-radius: 3px;
  background: #f1f1f1;
  color: #444;
  font-size: 11px;
  box-shadow: none;
}

body.template-marketplace .deal-ribbon,
body.template-marketplace .badge.hot,
body.template-marketplace .deal-tags span:first-child {
  background: var(--market-orange-soft);
  color: var(--market-purple);
}

body.template-marketplace .heart {
  border-radius: 50%;
  background: #fff;
  border-color: var(--market-line);
  color: #555;
}

body.template-marketplace .split-band .wrap,
body.template-marketplace .info-grid {
  gap: 16px;
}

body.template-marketplace .shop-row,
body.template-marketplace .forum-card,
body.template-marketplace .guide-row,
body.template-marketplace .activity-row {
  border-radius: 4px;
  border-color: var(--market-line);
  background: #fff;
  box-shadow: none;
}

body.template-marketplace .shop-row img,
body.template-marketplace .guide-row img,
body.template-marketplace .forum-card img {
  border-radius: 4px;
}

body.template-marketplace .home-map,
body.template-marketplace .map {
  border-radius: 4px;
  border: 1px solid var(--market-line);
  box-shadow: none;
}

body.template-marketplace .map-pin {
  background: var(--market-green);
}

/* Compact content path inspired by marketplace detail pages. */
.content-trail-shell {
  border-top: 1px solid #edf1ee;
  border-bottom: 1px solid #e3e8e4;
  background: #f5f7f6;
}

.content-trail-inner {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.content-trail-back {
  min-height: 30px;
  padding-right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  border-right: 1px solid #d8dfda;
  color: var(--green-950);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.content-trail-back span {
  margin-top: -2px;
  color: var(--green-700);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.content-trail-back:hover,
.content-trail a:hover {
  color: var(--green-700);
  text-decoration: underline;
}

.content-trail {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  color: #657168;
  font-size: 12px;
  font-weight: 650;
  scrollbar-width: none;
  white-space: nowrap;
}

.content-trail::-webkit-scrollbar {
  display: none;
}

.content-trail a {
  color: #56645b;
  text-decoration: underline;
  text-decoration-color: #aeb9b1;
  text-underline-offset: 3px;
}

.content-trail-separator {
  color: #8c9890;
  font-size: 17px;
  line-height: 1;
}

.content-trail-current {
  max-width: 360px;
  overflow: hidden;
  color: #39463d;
  text-overflow: ellipsis;
}

@media (max-width: 760px) {
  .content-trail-inner {
    min-height: 48px;
    gap: 13px;
  }

  .content-trail-back {
    min-height: 26px;
    padding-right: 13px;
  }

  .content-trail {
    gap: 6px;
    font-size: 11px;
  }

  .content-trail-current {
    max-width: 180px;
  }
}

/* Static information pages */
.static-page-hero {
  padding: 34px 0 58px;
  background: #f3f7ee;
  border-bottom: 1px solid #dce6d5;
}

.static-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 48px;
  color: #697566;
  font-size: 13px;
  font-weight: 750;
}

.static-breadcrumb a {
  color: var(--green-700);
}

.static-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  color: #884185;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.static-eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: #9fca62;
}

.static-page-hero h1 {
  max-width: 980px;
  font-size: clamp(42px, 5vw, 68px);
  text-wrap: balance;
}

.static-page-hero p {
  max-width: 810px;
  margin: 22px 0 0;
  color: #52604f;
  font-size: 18px;
  line-height: 1.65;
}

.static-page-body {
  padding: 58px 0 76px;
  background: #fff;
}

.static-page-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 900px);
  justify-content: space-between;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}

.static-page-sidebar {
  position: sticky;
  top: 104px;
  padding-top: 4px;
}

.static-page-sidebar > strong {
  display: block;
  margin-bottom: 14px;
  color: var(--green-900);
  font-size: 13px;
}

.static-page-sidebar nav {
  display: grid;
  border-top: 1px solid #dfe7db;
}

.static-page-sidebar a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px solid #dfe7db;
  color: #566453;
  font-size: 13px;
  font-weight: 800;
}

.static-page-sidebar a span {
  color: #98a293;
  transition: transform .18s ease;
}

.static-page-sidebar a:hover,
.static-page-sidebar a[aria-current="page"] {
  color: var(--green-700);
}

.static-page-sidebar a:hover span {
  transform: translateX(3px);
}

.static-page-content {
  min-width: 0;
  color: #344036;
}

.static-page-content a:not(.btn) {
  color: var(--green-700);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(35, 109, 48, .28);
  text-underline-offset: 3px;
}

.static-section {
  padding: 0 0 42px;
  margin-bottom: 42px;
  border-bottom: 1px solid #e2e9df;
}

.static-section h2,
.contact-primary h2,
.social-contact h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.2vw, 40px);
}

.static-section h3 {
  margin-bottom: 8px;
}

.static-section p,
.legal-section p,
.legal-section li,
.contact-heading p,
.contact-topics p {
  font-size: 16px;
  line-height: 1.72;
}

.static-section p,
.legal-section p {
  margin: 0 0 16px;
}

.static-intro-section {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 28px;
}

.static-section-number {
  color: #8b4386;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  line-height: 1;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 48px;
  border-block: 1px solid #dfe7db;
}

.about-facts div {
  min-width: 0;
  padding: 22px;
  border-right: 1px solid #dfe7db;
}

.about-facts div:last-child {
  border-right: 0;
}

.about-facts strong {
  display: block;
  color: var(--green-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
}

.about-facts span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.value-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 30px;
  border-block: 1px solid #dfe7db;
}

.value-list > div {
  padding: 24px;
  border-right: 1px solid #dfe7db;
}

.value-list > div:last-child {
  border-right: 0;
}

.value-list > div > span,
.farmer-options > div > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid #d1e1c5;
  border-radius: 50%;
  background: #f2f8ec;
}

.value-list .ui-icon,
.farmer-options .ui-icon {
  width: 20px;
  height: 20px;
}

.value-list strong {
  display: block;
  color: var(--green-900);
  font-size: 16px;
}

.value-list p,
.farmer-options p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.static-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 46px;
  padding: 28px 30px;
  border-radius: 8px;
  background: var(--green-900);
  color: #fff;
}

.static-cta-band span {
  color: #b9d88c;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.static-cta-band h2 {
  max-width: 540px;
  margin-top: 5px;
  color: #fff;
  font-size: 25px;
}

.static-cta-actions {
  display: flex;
  gap: 10px;
}

.static-secondary-btn {
  border-color: rgba(255,255,255,.45);
  background: transparent;
}

.farmer-steps {
  list-style: none;
  padding: 0 0 0 19px;
  margin: 0 0 48px;
  border-left: 2px solid #dbe8d2;
}

.farmer-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 0 0 34px 30px;
}

.farmer-steps li:last-child {
  padding-bottom: 0;
}

.farmer-steps li > span {
  position: absolute;
  left: -21px;
  top: -2px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid #a8ca78;
  border-radius: 50%;
  background: #fff;
  color: var(--green-800);
  font-weight: 950;
}

.farmer-steps li > div {
  grid-column: 2;
}

.farmer-steps h3 {
  margin-bottom: 7px;
  color: var(--green-900);
  font-size: 19px;
}

.farmer-steps p {
  margin: 0;
  color: #566354;
  line-height: 1.65;
}

.farmer-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
  border-top: 1px solid #dfe7db;
}

.farmer-options > div {
  padding: 26px 26px 26px 0;
  border-bottom: 1px solid #dfe7db;
}

.farmer-options > div:nth-child(odd) {
  padding-right: 30px;
  border-right: 1px solid #dfe7db;
}

.farmer-options > div:nth-child(even) {
  padding-left: 30px;
}

.static-note {
  margin: 34px 0;
  padding: 22px 24px;
  border-left: 4px solid #9b4b92;
  background: #f8f2f8;
}

.static-note strong {
  display: block;
  margin-bottom: 6px;
  color: #653062;
}

.static-note p {
  margin: 0;
  color: #554753;
  line-height: 1.65;
}

.document-update {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
}

.legal-toc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin-bottom: 44px;
  padding: 24px;
  border: 1px solid #dfe7db;
  border-radius: 8px;
  background: #f7faf4;
}

.legal-toc > strong {
  grid-column: 1 / -1;
  margin-bottom: 10px;
  color: var(--green-900);
}

.legal-toc a {
  padding: 7px 0;
  border-bottom: 1px solid #e4ebdf;
  font-size: 13px;
}

.legal-section {
  scroll-margin-top: 110px;
  padding: 0 0 35px;
  margin-bottom: 35px;
  border-bottom: 1px solid #e2e9df;
}

.legal-section h2 {
  margin-bottom: 18px;
  font-size: clamp(25px, 3vw, 34px);
}

.legal-section ol,
.legal-section ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding-left: 24px;
}

.download-list {
  display: grid;
  margin-top: 30px;
  border-top: 1px solid #dfe7db;
}

.download-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid #dfe7db;
}

.download-number {
  color: #8c4387;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.download-item h3 {
  font-size: 18px;
}

.download-item p {
  margin: 7px 0 6px;
  color: #5c685b;
  font-size: 14px;
  line-height: 1.55;
}

.download-item small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.contact-primary {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 54px;
  padding-bottom: 46px;
  margin-bottom: 44px;
  border-bottom: 1px solid #e2e9df;
}

.contact-heading > span,
.social-contact > div > span {
  display: block;
  margin-bottom: 9px;
  color: #8b4386;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-heading p {
  margin: 0;
  color: var(--muted);
}

.contact-methods {
  display: grid;
  border-top: 1px solid #dfe7db;
}

.contact-methods a {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  column-gap: 14px;
  padding: 18px 2px;
  border-bottom: 1px solid #dfe7db;
  text-decoration: none !important;
}

.contact-methods a > span {
  grid-row: 1 / 3;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #d3e1c9;
  border-radius: 50%;
  background: #f1f7ec;
}

.contact-methods small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-methods strong {
  color: var(--green-900);
}

.contact-form-shell {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  gap: 38px;
  margin: 38px 0 46px;
  padding: 34px;
  border: 1px solid #dbe7d4;
  border-radius: 8px;
  background: #f4f8ef;
}

.contact-form-intro > span {
  display: block;
  margin-bottom: 9px;
  color: #8b4386;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-form-intro h2 {
  margin: 0 0 13px;
  color: var(--green-900);
  font-size: 29px;
  line-height: 1.15;
}

.contact-form-intro > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-security-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #d5e2ce;
  color: #52624f;
  font-size: 12px;
  line-height: 1.5;
}

.contact-security-note > .ui-icon {
  width: 21px;
  height: 21px;
  margin-top: 1px;
}

.contact-security-note strong {
  display: block;
  color: var(--green-900);
  font-size: 13px;
}

.contact-form-panel {
  position: relative;
  min-width: 0;
  padding: 27px;
  border: 1px solid #d9e3d3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(38, 74, 35, .07);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

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

.contact-form-grid textarea {
  resize: vertical;
}

.contact-captcha {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(120px, .8fr);
  align-items: end;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid #d8e5d0;
  border-left: 4px solid var(--green-700);
  border-radius: 7px;
  background: #f8fbf5;
}

.contact-captcha > div:first-child > span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-captcha > div:first-child > strong {
  display: block;
  margin-top: 3px;
  color: var(--green-900);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 25px;
  letter-spacing: 0;
}

.contact-captcha .field {
  margin: 0;
}

.contact-captcha input {
  max-width: 150px;
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #52624f;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}

.contact-consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--green-700);
}

.contact-form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-submit {
  width: 100%;
  min-height: 49px;
  justify-content: center;
  margin-top: 20px;
}

.contact-topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 46px;
  border-block: 1px solid #dfe7db;
}

.contact-topics > div {
  padding: 25px;
  border-right: 1px solid #dfe7db;
}

.contact-topics > div:last-child {
  border-right: 0;
}

.contact-topics strong {
  color: var(--green-900);
}

.contact-topics p {
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.contact-topics a {
  font-size: 13px;
}

.social-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 30px;
  border-radius: 8px;
  background: #f4f8ef;
}

.social-contact h2 {
  margin: 0;
  font-size: 25px;
}

.social-contact > div:last-child {
  display: flex;
  gap: 10px;
}

.social-contact a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid #cadbc0;
  border-radius: 7px;
  background: #fff;
  text-decoration: none !important;
}

.auth-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #dfe7db;
  color: var(--muted);
  font-size: 14px;
}

.auth-links a {
  color: var(--green-800);
}

.auth-form-card > h1 {
  margin-bottom: 22px;
}

.auth-form-card .errors a {
  color: inherit;
  font-weight: 850;
}

.auth-captcha {
  margin-top: 2px;
}

.auth-confirmation {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 17px;
  align-items: start;
  margin: 4px 0 24px;
  padding: 22px;
  border: 1px solid #cfe0c7;
  border-radius: 8px;
  background: #f4f9f0;
}

.auth-confirmation > .ui-icon {
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px #d5e4ce;
}

.auth-confirmation h1,
.auth-confirmation h2 {
  margin: 0 0 7px;
  color: var(--green-900);
  font-size: 27px;
  line-height: 1.15;
}

.auth-confirmation p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .static-page-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 42px;
  }

  .value-list,
  .contact-topics {
    grid-template-columns: 1fr;
  }

  .value-list > div,
  .contact-topics > div {
    border-right: 0;
    border-bottom: 1px solid #dfe7db;
  }

  .value-list > div:last-child,
  .contact-topics > div:last-child {
    border-bottom: 0;
  }

  .contact-primary {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-form-shell {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 760px) {
  .static-page-hero {
    padding: 22px 0 42px;
  }

  .static-breadcrumb {
    margin-bottom: 32px;
  }

  .static-page-hero h1 {
    font-size: 39px;
  }

  .static-page-hero p {
    font-size: 15px;
  }

  .static-page-body {
    padding: 36px 0 50px;
  }

  .static-page-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .static-page-sidebar {
    position: static;
  }

  .static-page-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .static-page-sidebar a:nth-child(odd) {
    padding-right: 14px;
  }

  .static-page-sidebar a:nth-child(even) {
    padding-left: 14px;
    border-left: 1px solid #dfe7db;
  }

  .static-intro-section {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .static-section-number {
    font-size: 34px;
  }

  .about-facts,
  .farmer-options,
  .legal-toc {
    grid-template-columns: 1fr;
  }

  .about-facts div {
    border-right: 0;
    border-bottom: 1px solid #dfe7db;
  }

  .about-facts div:last-child {
    border-bottom: 0;
  }

  .farmer-options > div,
  .farmer-options > div:nth-child(odd),
  .farmer-options > div:nth-child(even) {
    padding: 23px 0;
    border-right: 0;
  }

  .farmer-steps {
    margin-left: 2px;
  }

  .farmer-steps li {
    grid-template-columns: 1fr;
    padding-left: 28px;
  }

  .farmer-steps li > div {
    grid-column: 1;
  }

  .static-cta-band,
  .social-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .static-cta-actions,
  .social-contact > div:last-child {
    width: 100%;
    flex-direction: column;
  }

  .static-cta-actions .btn,
  .social-contact a {
    width: 100%;
  }

  .download-item {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .download-item .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .contact-form-shell {
    margin: 30px 0 38px;
    padding: 22px 16px;
  }

  .contact-form-panel {
    padding: 20px 16px;
  }

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

  .contact-captcha input {
    max-width: none;
  }

  .auth-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-confirmation {
    grid-template-columns: 1fr;
  }
}

/* 404 */
.not-found-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 70px;
  background: #f4f8ef;
  border-bottom: 1px solid #dce7d4;
}

.not-found-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 48px;
  color: #65715f;
  font-size: 13px;
  font-weight: 750;
}

.not-found-breadcrumb a {
  color: var(--green-700);
}

.not-found-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.not-found-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, .85fr) minmax(520px, 1.15fr);
  align-items: center;
  gap: clamp(50px, 7vw, 112px);
}

.not-found-code {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(128px, 15vw, 220px);
  font-weight: 800;
  line-height: .75;
  letter-spacing: 0;
  white-space: nowrap;
}

.not-found-zero {
  width: .72em;
  height: .72em;
  display: inline-grid;
  place-items: center;
  margin: 0 .02em;
  border: .09em solid #a4c56f;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 .055em #edf4e4;
}

.not-found-zero .ui-icon {
  width: .3em;
  height: .3em;
  color: var(--green-700);
}

.not-found-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.not-found-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: #a4c56f;
}

.not-found-content h1 {
  max-width: 620px;
  font-size: clamp(42px, 5vw, 66px);
  text-wrap: balance;
}

.not-found-content > p {
  max-width: 650px;
  margin: 20px 0 25px;
  color: #53604f;
  font-size: 17px;
  line-height: 1.65;
}

.not-found-search {
  max-width: 760px;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) 190px auto;
  align-items: stretch;
  min-height: 58px;
  border: 1px solid #cbd9c2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(34, 75, 37, .08);
  overflow: hidden;
}

.not-found-query {
  min-width: 0;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
}

.not-found-search-icon {
  display: grid;
  place-items: center;
  color: var(--green-700);
}

.not-found-search-icon .ui-icon,
.not-found-search .btn .ui-icon,
.not-found-actions .ui-icon,
.not-found-map-link .ui-icon {
  width: 19px;
  height: 19px;
}

.not-found-search input,
.not-found-search select {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.not-found-search input {
  width: 100%;
  padding: 0 12px 0 0;
}

.not-found-search select {
  padding: 0 38px 0 16px;
  border-left: 1px solid #e1e8dc;
}

.not-found-search:focus-within {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(35, 109, 48, .12), 0 14px 34px rgba(34, 75, 37, .08);
}

.not-found-search .btn {
  min-width: 112px;
  border-radius: 0;
  border-block: 0;
  border-right: 0;
}

.not-found-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
}

.not-found-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-800);
  font-weight: 900;
}

.not-found-map-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.not-found-directions {
  padding: 54px 0 68px;
  background: #fff;
}

.not-found-directions-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.not-found-directions-heading span {
  display: block;
  margin-bottom: 6px;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.not-found-directions-heading h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.not-found-directions-heading p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.not-found-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid #dfe7d9;
  border-bottom: 1px solid #dfe7d9;
}

.not-found-links a {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 12px;
  align-content: center;
  min-height: 120px;
  padding: 22px 24px;
  border-right: 1px solid #dfe7d9;
  transition: background-color .18s ease, color .18s ease;
}

.not-found-links a:nth-child(5n) {
  border-right: 0;
}

.not-found-links a:nth-child(-n+5) {
  border-bottom: 1px solid #dfe7d9;
}

.not-found-links a:hover {
  background: #f6f9f2;
}

.not-found-links a > span {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #d4e2c9;
  border-radius: 50%;
  background: #f0f7e9;
  color: var(--green-700);
}

.not-found-links .ui-icon {
  width: 20px;
  height: 20px;
}

.not-found-links strong {
  align-self: end;
  color: var(--green-900);
  font-size: 16px;
}

.not-found-links small {
  align-self: start;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .not-found-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .not-found-code {
    justify-content: flex-start;
    font-size: clamp(120px, 28vw, 190px);
  }

  .not-found-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .not-found-links a,
  .not-found-links a:nth-child(-n+5) {
    border-right: 1px solid #dfe7d9;
    border-bottom: 1px solid #dfe7d9;
  }

  .not-found-links a:nth-child(2n) { border-right: 0; }
  .not-found-links a:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 760px) {
  .not-found-hero {
    padding: 22px 0 48px;
  }

  .not-found-breadcrumb {
    margin-bottom: 32px;
  }

  .not-found-layout {
    gap: 30px;
  }

  .not-found-code {
    justify-content: center;
    font-size: clamp(106px, 32vw, 152px);
  }

  .not-found-content h1 {
    font-size: 40px;
  }

  .not-found-content > p {
    font-size: 15px;
  }

  .not-found-search {
    grid-template-columns: 1fr;
  }

  .not-found-query {
    min-height: 54px;
  }

  .not-found-search select {
    min-height: 50px;
    border-top: 1px solid #e1e8dc;
    border-left: 0;
    padding-left: 16px;
  }

  .not-found-search .btn {
    min-height: 50px;
    border: 0;
  }

  .not-found-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .not-found-directions {
    padding: 40px 0 48px;
  }

  .not-found-directions-heading {
    display: block;
  }

  .not-found-directions-heading p {
    margin-top: 12px;
    text-align: left;
  }

  .not-found-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .not-found-links a {
    min-height: 112px;
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 10px;
    padding: 16px 10px;
  }

  .not-found-links a > span { width: 36px; height: 36px; }
}

/* Shared icon sizing for the lightweight Lucide set. */
.ui-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 auto;
}

.icon-btn .ui-icon { width: 21px; height: 21px; }
.heart .ui-icon { width: 17px; height: 17px; }
.rating .ui-icon { width: 14px; height: 14px; }
.rating > span { display: inline-flex; vertical-align: -2px; }
.report-icon .ui-icon { width: 13px; height: 13px; }
.btn.primary .ui-icon { filter: brightness(0) invert(1); }
.m2-filter-toggle { display: none; }

/* Template 5: Marketplace 2 — airy, modern marketplace UX. */
body.template-marketplace2 {
  --green-900: #17321f;
  --green-800: #235f35;
  --green-700: #2f7d42;
  --green-600: #3b8c4f;
  --green-100: #edf6ef;
  --m2-bg: #f6f8f6;
  --m2-surface: #ffffff;
  --m2-surface-soft: #f1f6f2;
  --m2-line: #e0e8e1;
  --m2-text: #193021;
  --m2-muted: #66756a;
  --m2-purple: #8a3f8e;
  --m2-radius: 16px;
  --m2-shadow: 0 12px 34px rgba(22, 58, 32, .07);
  color: var(--m2-text);
  background: var(--m2-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

body.template-marketplace2 .wrap {
  width: min(1240px, calc(100% - 48px));
}

body.template-marketplace2 h1,
body.template-marketplace2 h2,
body.template-marketplace2 h3 {
  color: var(--m2-text);
  font-family: inherit;
  letter-spacing: -.025em;
}

body.template-marketplace2 h1 {
  max-width: 880px;
  font-size: clamp(38px, 4.4vw, 56px);
  line-height: 1.03;
  font-weight: 780;
}

body.template-marketplace2 h2 {
  font-size: clamp(25px, 2.8vw, 34px);
  line-height: 1.1;
  font-weight: 760;
}

body.template-marketplace2 h3 {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 760;
}

body.template-marketplace2 .muted { color: var(--m2-muted); }

body.template-marketplace2 .header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--m2-line);
  box-shadow: 0 4px 18px rgba(28, 62, 38, .04);
  backdrop-filter: blur(16px);
}

body.template-marketplace2 .nav {
  min-height: 76px;
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr) auto;
  gap: 22px;
}

body.template-marketplace2 .brand img { width: 176px; }

body.template-marketplace2 .brand-lockup small {
  margin: -2px 0 0 39px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--m2-muted);
  font-size: 9px;
  letter-spacing: .06em;
}

body.template-marketplace2 .nav-links {
  justify-content: flex-start;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
}

body.template-marketplace2 .nav-links > a,
body.template-marketplace2 .m2-more > summary {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 10px;
  padding: 9px 11px;
  color: #34483a;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease;
}

body.template-marketplace2 .nav-links > a:hover,
body.template-marketplace2 .m2-more > summary:hover,
body.template-marketplace2 .m2-more[open] > summary {
  color: var(--green-800);
  background: var(--m2-surface-soft);
}

body.template-marketplace2 .m2-more {
  position: relative;
}

body.template-marketplace2 .m2-more summary {
  list-style: none;
}

body.template-marketplace2 .m2-more summary::-webkit-details-marker { display: none; }
body.template-marketplace2 .m2-more summary .ui-icon { width: 14px; height: 14px; }
body.template-marketplace2 .m2-more[open] summary .ui-icon { transform: rotate(180deg); }

body.template-marketplace2 .m2-more-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 236px;
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--m2-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(22, 58, 32, .16);
}

body.template-marketplace2 .m2-more-menu a {
  padding: 10px 11px;
  border-radius: 9px;
  color: #34483a;
  font-size: 14px;
  font-weight: 650;
}

body.template-marketplace2 .m2-more-menu a:hover {
  color: var(--green-800);
  background: var(--m2-surface-soft);
}

body.template-marketplace2 .nav-actions { gap: 8px; }

body.template-marketplace2 .template-switch {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px 4px 10px;
  border: 1px solid var(--m2-line);
  border-radius: 11px;
  background: #fff;
}

body.template-marketplace2 .template-switch label {
  color: var(--m2-muted);
  font-size: 11px;
  font-weight: 750;
}

body.template-marketplace2 .template-switch select {
  min-height: 30px;
  padding: 0 28px 0 8px;
  border: 0;
  border-radius: 8px;
  background: var(--m2-surface-soft);
  color: var(--m2-text);
  font-size: 12px;
  font-weight: 750;
}

body.template-marketplace2 .icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--m2-line);
  border-radius: 11px;
  background: #fff;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

body.template-marketplace2 .icon-btn:hover {
  border-color: #b9cbbb;
  background: var(--m2-surface-soft);
  transform: translateY(-1px);
}

body.template-marketplace2 a:focus-visible,
body.template-marketplace2 button:focus-visible,
body.template-marketplace2 summary:focus-visible,
body.template-marketplace2 input:focus-visible,
body.template-marketplace2 select:focus-visible,
body.template-marketplace2 textarea:focus-visible {
  outline: 3px solid rgba(47, 125, 66, .24);
  outline-offset: 3px;
}

body.template-marketplace2 .btn {
  min-height: 44px;
  border: 1px solid var(--green-700);
  border-radius: 11px;
  background: var(--green-700);
  color: #fff;
  box-shadow: none;
  font-weight: 750;
}

body.template-marketplace2 .btn:hover,
body.template-marketplace2 .btn.primary:hover {
  border-color: var(--green-800);
  background: var(--green-800);
  color: #fff;
  transform: translateY(-1px);
}

body.template-marketplace2 .btn .ui-icon { filter: brightness(0) invert(1); }

body.template-marketplace2 .hero {
  position: relative;
  isolation: isolate;
  min-height: auto;
  border-bottom: 1px solid var(--m2-line);
  background: #dfe9df url("img/hero-local-seasonal-v2.webp") center 56% / cover no-repeat;
}

body.template-marketplace2 .hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(244, 248, 244, .74);
  pointer-events: none;
}

body.template-marketplace2 .hero::after,
body.template-marketplace2 .hero-sign { display: none; }

body.template-marketplace2 .hero .wrap {
  position: relative;
  z-index: 1;
  min-height: auto;
  display: block;
  padding: 46px 0 38px;
}

body.template-marketplace2 .hero-copy::before {
  content: "Lokalnie · sezonowo · bliżej Ciebie";
  display: inline-flex;
  margin-bottom: 13px;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.template-marketplace2 .hero-copy h1 { text-wrap: balance; }

body.template-marketplace2 .hero-copy p {
  max-width: 720px;
  margin: 16px 0 24px;
  color: var(--m2-muted);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 500;
}

body.template-marketplace2 .hero-search {
  width: min(920px, 100%);
  min-height: 62px;
  grid-template-columns: 46px minmax(0, 1fr) 190px 150px;
  gap: 0;
  padding: 5px;
  border: 1px solid #cad8cc;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(28, 62, 38, .08);
}

body.template-marketplace2 .search-mark {
  color: var(--green-700);
  font-size: 22px;
}

body.template-marketplace2 .hero-search input,
body.template-marketplace2 .hero-search select {
  height: 50px;
  border: 0;
  border-left: 1px solid var(--m2-line);
  border-radius: 0;
  background: #fff;
  color: var(--m2-text);
}

body.template-marketplace2 .hero-search input { border-left: 0; }
body.template-marketplace2 .hero-search .btn { min-height: 50px; }

body.template-marketplace2 .quick-filters {
  margin-top: 14px;
  gap: 8px;
}

body.template-marketplace2 .quick-filters a {
  min-height: 34px;
  min-width: auto;
  padding: 6px 12px;
  border: 1px solid var(--m2-line);
  border-radius: 999px;
  background: #fff;
  color: #44564a;
  font-size: 13px;
  font-weight: 700;
}

body.template-marketplace2 .quick-filters a:first-child {
  border-color: var(--green-700);
  background: var(--green-700);
  color: #fff;
}

body.template-marketplace2 .home-band,
body.template-marketplace2 .category-band,
body.template-marketplace2 .section { padding: 34px 0; }

body.template-marketplace2 .product-band,
body.template-marketplace2 .info-band { background: #f1f6f2; }

body.template-marketplace2 .category-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

body.template-marketplace2 .category-tile {
  min-height: 164px;
  display: grid;
  align-content: start;
  padding: 20px;
  border: 1px solid var(--m2-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: none;
  text-align: left;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body.template-marketplace2 .category-tile:hover {
  border-color: #bccdbf;
  box-shadow: var(--m2-shadow);
  transform: translateY(-2px);
}

body.template-marketplace2 .category-tile > img { display: none; }

body.template-marketplace2 .tile-icon {
  width: 42px;
  height: 42px;
  margin: 0 0 16px;
  border: 0;
  border-radius: 12px;
  background: var(--m2-surface-soft);
  box-shadow: none;
}

body.template-marketplace2 .tile-icon .ui-icon {
  width: 21px;
  height: 21px;
  display: block;
}

body.template-marketplace2 .category-tile strong {
  min-height: 0;
  padding: 0;
  color: var(--m2-text);
  font-size: 17px;
  line-height: 1.2;
}

body.template-marketplace2 .category-tile small {
  padding: 7px 0 0;
  color: var(--m2-muted);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}

body.template-marketplace2 .section-line {
  margin: 2px 0 18px;
}

body.template-marketplace2 .section-line h2::before,
body.template-marketplace2 .section-line h2::after { display: none; }

body.template-marketplace2 .section-line a,
body.template-marketplace2 .panel-more {
  color: var(--green-800);
  font-size: 14px;
  font-weight: 750;
}

body.template-marketplace2 .section-line a::after { content: "→"; padding-left: 8px; }

body.template-marketplace2 .deals-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body.template-marketplace2 .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.template-marketplace2 .deal-card,
body.template-marketplace2 .product-card,
body.template-marketplace2 .card,
body.template-marketplace2 .guides-panel,
body.template-marketplace2 .season-card,
body.template-marketplace2 .table-wrap,
body.template-marketplace2 .faq-list {
  border: 1px solid var(--m2-line);
  border-radius: var(--m2-radius);
  background: #fff;
  box-shadow: 0 5px 18px rgba(22, 58, 32, .045);
}

body.template-marketplace2 .deal-card,
body.template-marketplace2 .product-card {
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body.template-marketplace2 .deal-card:hover,
body.template-marketplace2 .product-card:hover {
  border-color: #bdcebf;
  box-shadow: var(--m2-shadow);
  transform: translateY(-2px);
}

body.template-marketplace2 .deal-media { height: 176px; }
body.template-marketplace2 .deal-media img,
body.template-marketplace2 .product-media img { filter: saturate(.9); }

body.template-marketplace2 .card-body { padding: 17px 18px 18px; }

body.template-marketplace2 .deal-card h3,
body.template-marketplace2 .product-card h3 {
  min-height: 44px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 760;
}

body.template-marketplace2 .deal-ribbon,
body.template-marketplace2 .badge,
body.template-marketplace2 .status-pill,
body.template-marketplace2 .deal-tags span {
  border-radius: 999px;
  background: var(--m2-surface-soft);
  color: var(--green-800);
  font-size: 11px;
  box-shadow: none;
}

body.template-marketplace2 .deal-ribbon,
body.template-marketplace2 .badge.hot,
body.template-marketplace2 .deal-tags span:first-child {
  background: #f5edf6;
  color: var(--m2-purple);
}

body.template-marketplace2 .heart {
  border: 1px solid rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .92);
  color: var(--m2-text);
}

body.template-marketplace2 .price {
  color: var(--green-800);
  font-size: 21px;
}

body.template-marketplace2 .shop-row,
body.template-marketplace2 .forum-card,
body.template-marketplace2 .guide-row,
body.template-marketplace2 .activity-row {
  border-color: var(--m2-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: none;
}

body.template-marketplace2 .home-map,
body.template-marketplace2 .map {
  border: 1px solid var(--m2-line);
  border-radius: var(--m2-radius);
  box-shadow: none;
}

body.template-marketplace2 .map-pin { background: var(--green-700); }

body.template-marketplace2 .cta-strip {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.template-marketplace2 .cta-card,
body.template-marketplace2 .cta-card.green,
body.template-marketplace2 .cta-card.orange,
body.template-marketplace2 .cta-card.soft {
  min-height: 104px;
  grid-template-columns: 48px 1fr;
  border: 1px solid var(--m2-line);
  border-radius: var(--m2-radius);
  background: #fff;
  color: var(--m2-text);
  box-shadow: none;
}

body.template-marketplace2 .cta-card span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--m2-surface-soft);
}

body.template-marketplace2 .cta-card span .ui-icon { width: 21px; height: 21px; }
body.template-marketplace2 .cta-card small { color: var(--m2-muted); }

body.template-marketplace2 .section-head {
  margin-bottom: 24px;
  padding: 2px 0;
  border: 0;
  background: transparent;
  align-items: center;
}

body.template-marketplace2 .section-head h1 {
  max-width: 820px;
  font-size: clamp(34px, 4vw, 48px) !important;
}

body.template-marketplace2 .layout {
  grid-template-columns: 276px minmax(0, 1fr);
  gap: 28px;
}

body.template-marketplace2 .sidebar {
  top: 96px;
  padding: 20px;
  border: 1px solid var(--m2-line);
  border-radius: var(--m2-radius);
  background: #fff;
  box-shadow: none;
}

body.template-marketplace2 .sidebar h3 { margin-bottom: 16px; }

body.template-marketplace2 .field label {
  color: #415248;
  font-size: 12px;
  font-weight: 760;
}

body.template-marketplace2 .field input,
body.template-marketplace2 .field select,
body.template-marketplace2 .field textarea,
body.template-marketplace2 .recommend-box input,
body.template-marketplace2 .recommend-box select,
body.template-marketplace2 .recommend-box textarea {
  min-height: 44px;
  border-color: #d8e2da;
  border-radius: 10px;
  background: #fff;
}

body.template-marketplace2 .layout:has(> .detail-stack) {
  grid-template-columns: minmax(0, 1fr) 332px;
}

body.template-marketplace2 .layout:has(> .detail-stack) > .detail-stack {
  grid-column: 1;
  grid-row: 1;
}

body.template-marketplace2 .layout:has(> .detail-stack) > .sidebar {
  grid-column: 2;
  grid-row: 1;
}

body.template-marketplace2 .detail-hero {
  grid-template-columns: minmax(320px, .92fr) 1.08fr;
  overflow: hidden;
}

body.template-marketplace2 .detail-photo img { border-radius: 0; }

body.template-marketplace2 .detail-hero .card-body { padding: 28px; }

body.template-marketplace2 .detail-hero h1 {
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.04;
}

body.template-marketplace2 .detail-lead {
  color: var(--m2-muted);
  font-size: 16px;
  font-weight: 560;
}

body.template-marketplace2 .detail-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding-block: 8px;
  border-block: 1px solid var(--m2-line);
}

body.template-marketplace2 .info-checklist span,
body.template-marketplace2 .summary-card {
  border-color: var(--m2-line);
  border-radius: 12px;
  background: #f8faf8;
  box-shadow: none;
}

body.template-marketplace2 .detail-facts span {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 8px 14px;
}

body.template-marketplace2 .detail-facts span:nth-child(even) {
  border-left: 1px solid var(--m2-line);
}

body.template-marketplace2 .side-facts {
  gap: 0;
  margin: 14px 0 0;
  border-top: 1px solid var(--m2-line);
}

body.template-marketplace2 .side-facts span {
  display: grid;
  grid-template-columns: minmax(88px, auto) 1fr;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid var(--m2-line);
  border-radius: 0;
  padding: 10px 0;
  background: transparent;
  color: var(--m2-text);
}

body.template-marketplace2 .side-facts strong {
  color: var(--m2-muted);
  font-size: 12px;
  font-weight: 680;
}

body.template-marketplace2 .owner-box,
body.template-marketplace2 .recommend-box {
  gap: 7px;
  margin: 0;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid var(--m2-line);
  border-radius: 0;
  background: transparent;
}

body.template-marketplace2 .side-action-group {
  display: grid;
  gap: 9px;
  padding: 16px 0;
  border-bottom: 1px solid var(--m2-line);
}

body.template-marketplace2 .side-action-group form { margin: 0; }

body.template-marketplace2 .side-map,
body.template-marketplace2 .side-favorite,
body.template-marketplace2 .side-soft-action {
  border-color: #bfd0c2;
  background: #fff;
  color: var(--green-800);
}

body.template-marketplace2 .side-map:hover,
body.template-marketplace2 .side-favorite:hover,
body.template-marketplace2 .side-soft-action:hover {
  border-color: var(--green-700);
  background: var(--m2-surface-soft);
  color: var(--green-800);
}

body.template-marketplace2 .side-map .ui-icon,
body.template-marketplace2 .side-favorite .ui-icon,
body.template-marketplace2 .side-soft-action .ui-icon {
  filter: none;
}

body.template-marketplace2 .vote-card {
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  margin-top: 16px;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid var(--m2-line);
  border-radius: 0;
  background: transparent;
}

body.template-marketplace2 .vote-graphic { display: none; }

body.template-marketplace2 .vote-copy strong { font-size: 14px; }
body.template-marketplace2 .vote-copy span { font-size: 12px; font-weight: 650; }

body.template-marketplace2 .vote-like,
body.template-marketplace2 .vote-dislike {
  min-height: 38px;
  border-color: #bfd0c2;
  border-radius: 10px;
  padding: 0 11px;
  background: #fff;
  color: var(--green-800);
  font-size: 13px;
  font-weight: 740;
  box-shadow: none;
}

body.template-marketplace2 .vote-dislike { color: #59665c; }

body.template-marketplace2 .vote-like::before,
body.template-marketplace2 .vote-dislike::before { display: none; }

body.template-marketplace2 .vote-like .ui-icon,
body.template-marketplace2 .vote-dislike .ui-icon {
  width: 17px;
  height: 17px;
}

body.template-marketplace2 .vote-like:hover,
body.template-marketplace2 .vote-dislike:hover {
  border-color: var(--green-700);
  background: var(--m2-surface-soft);
  box-shadow: none;
  transform: none;
}

body.template-marketplace2 .vote-like.is-active {
  border-color: var(--green-700);
  background: var(--green-700);
  color: #fff;
}

body.template-marketplace2 .vote-like.is-active .ui-icon { filter: brightness(0) invert(1); }

body.template-marketplace2 .vote-dislike.is-active {
  border-color: #91a096;
  background: #eef2ef;
  color: #34463a;
}

body.template-marketplace2 .info-panel { padding-block: 24px; }

body.template-marketplace2 .section-lite-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 8px;
}

body.template-marketplace2 .section-lite-heading h2 { margin: 0; }

body.template-marketplace2 .section-lite-heading p {
  max-width: 390px;
  margin: 0;
  color: var(--m2-muted);
  font-size: 13px;
}

body.template-marketplace2 .listing-info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
  margin: 0;
}

body.template-marketplace2 .listing-info-list > div {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 11px;
  padding: 15px 0;
  border-bottom: 1px solid var(--m2-line);
}

body.template-marketplace2 .listing-info-list .ui-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  opacity: .72;
}

body.template-marketplace2 .listing-info-list dt {
  color: var(--m2-muted);
  font-size: 12px;
  font-weight: 690;
}

body.template-marketplace2 .listing-info-list dd {
  margin: 2px 0 0;
  color: var(--m2-text);
  font-size: 15px;
  font-weight: 680;
}

body.template-marketplace2 .share-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding-block: 16px;
  overflow: visible;
}

body.template-marketplace2 .share-panel-heading {
  display: flex;
  align-items: center;
  gap: 11px;
}

body.template-marketplace2 .share-panel-heading > .ui-icon {
  width: 20px;
  height: 20px;
}

body.template-marketplace2 .share-panel-heading h2 {
  margin: 0;
  font-size: 18px;
}

body.template-marketplace2 .share-panel-heading p {
  margin: 2px 0 0;
  color: var(--m2-muted);
  font-size: 12px;
}

body.template-marketplace2 .share-grid-primary {
  flex-wrap: nowrap;
  align-items: center;
  gap: 7px;
}

body.template-marketplace2 .share-panel .share-btn {
  min-height: 38px;
  gap: 7px;
  border-color: var(--m2-line);
  border-radius: 10px;
  padding: 5px 9px 5px 5px;
  background: #fff;
  color: var(--m2-text);
  font-size: 12px;
  font-weight: 690;
  box-shadow: none;
}

body.template-marketplace2 .share-panel .share-btn:hover {
  border-color: #bfd0c2;
  background: var(--m2-surface-soft);
  box-shadow: none;
  transform: none;
}

body.template-marketplace2 .share-panel .share-btn span {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
}

body.template-marketplace2 .share-panel .share-btn span::before {
  width: 15px;
  height: 15px;
}

body.template-marketplace2 .share-more { position: relative; }

body.template-marketplace2 .share-more > summary {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  border: 1px solid var(--m2-line);
  border-radius: 10px;
  padding: 7px 10px;
  background: #fff;
  color: var(--m2-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

body.template-marketplace2 .share-more > summary::-webkit-details-marker { display: none; }
body.template-marketplace2 .share-more > summary .ui-icon { width: 14px; height: 14px; }
body.template-marketplace2 .share-more[open] > summary .ui-icon { transform: rotate(180deg); }

body.template-marketplace2 .share-grid-more {
  position: absolute;
  z-index: 12;
  top: calc(100% + 8px);
  right: 0;
  width: 310px;
  padding: 10px;
  border: 1px solid var(--m2-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--m2-shadow);
}

body.template-marketplace2 .community-vote-sidebar { display: none; }

body.template-marketplace2 .footer {
  border-top: 1px solid var(--m2-line);
  background: #fff;
}

body.template-marketplace2 .footer-panel,
body.template-marketplace2 .footer-benefits {
  border-color: var(--m2-line);
  border-radius: var(--m2-radius);
  box-shadow: none;
}

@media (max-width: 1120px) {
  body.template-marketplace2 .hero {
    background-position: 54% center;
  }

  body.template-marketplace2 .hero::before {
    background: rgba(244, 248, 244, .8);
  }

  body.template-marketplace2 .nav {
    grid-template-columns: 180px minmax(0, 1fr);
    padding: 12px 0;
  }

  body.template-marketplace2 .nav-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  body.template-marketplace2 .category-grid,
  body.template-marketplace2 .deals-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.template-marketplace2 .detail-hero { grid-template-columns: 1fr; }
  body.template-marketplace2 .detail-photo img { max-height: 430px; }
}

@media (max-width: 820px) {
  body.template-marketplace2 .wrap {
    width: min(100% - 28px, 1240px);
  }

  body.template-marketplace2 .header { position: relative; }

  body.template-marketplace2 .nav {
    grid-template-columns: 1fr auto;
    position: relative;
    gap: 10px;
    padding: 12px 0 10px;
  }

  body.template-marketplace2 .brand img { width: 164px; }

  body.template-marketplace2 .nav-links {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 2px;
    padding: 3px 0 1px;
    overflow: visible;
    flex-wrap: wrap;
    scrollbar-width: none;
  }

  body.template-marketplace2 .nav-links::-webkit-scrollbar { display: none; }

  body.template-marketplace2 .nav-links > a {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 7px 10px;
  }

  body.template-marketplace2 .m2-more { flex: 0 0 auto; position: static; }
  body.template-marketplace2 .m2-more-menu {
    top: 100%;
    right: auto;
    left: 0;
    width: min(360px, 100%);
    max-height: min(65vh, 480px);
    overflow-y: auto;
    z-index: 60;
  }

  body.template-marketplace2 .nav-actions {
    grid-column: auto;
    order: 2;
    justify-content: flex-end;
    gap: 6px;
  }

  body.template-marketplace2 .template-switch label { display: none; }
  body.template-marketplace2 .template-switch { padding-left: 5px; }
  body.template-marketplace2 .template-switch select { max-width: 118px; }
  body.template-marketplace2 .icon-btn { width: 38px; height: 38px; }
  body.template-marketplace2 .nav-actions .icon-btn:nth-of-type(3) { display: none; }

  body.template-marketplace2 .hero .wrap { padding: 32px 0 28px; }
  body.template-marketplace2 .hero-copy h1 { font-size: clamp(35px, 10vw, 46px); }

  body.template-marketplace2 .hero-search {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 5px;
  }

  body.template-marketplace2 .hero-search select,
  body.template-marketplace2 .hero-search .btn {
    grid-column: 1 / -1;
    border-top: 1px solid var(--m2-line);
    border-left: 0;
  }

  body.template-marketplace2 .category-grid,
  body.template-marketplace2 .deals-grid,
  body.template-marketplace2 .product-grid,
  body.template-marketplace2 .cta-strip,
  body.template-marketplace2 .layout,
  body.template-marketplace2 .layout:has(> .detail-stack) {
    grid-template-columns: 1fr;
  }

  body.template-marketplace2 .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  body.template-marketplace2 .m2-filter-toggle {
    min-height: 48px;
    display: flex;
    grid-column: 1;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 16px;
    border: 1px solid var(--m2-line);
    border-radius: 12px;
    background: #fff;
    color: var(--m2-text);
    font-weight: 760;
    cursor: pointer;
    order: 0;
  }

  body.template-marketplace2 .m2-filter-toggle .ui-icon { width: 20px; height: 20px; }
  body.template-marketplace2 .m2-filter-toggle span { margin-right: auto; }

  body.template-marketplace2 #listing-filters { display: none; order: 1; }
  body.template-marketplace2 #listing-filters.is-open {
    display: block;
    max-height: none;
    overflow: visible;
  }

  body.template-marketplace2 .layout:has(> #listing-filters) > div { order: 2; }

  body.template-marketplace2 .layout:has(> .detail-stack) > .detail-stack {
    grid-column: 1;
    grid-row: 1;
  }

  body.template-marketplace2 .layout:has(> .detail-stack) > .sidebar {
    display: block;
    grid-column: 1;
    grid-row: 2;
    max-height: none;
  }

  body.template-marketplace2 .sidebar { position: static; }
  body.template-marketplace2 .section-head { display: grid; align-items: start; }
  body.template-marketplace2 .section-head .btn { width: 100%; }
  body.template-marketplace2 .detail-facts,
  body.template-marketplace2 .info-checklist { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  body.template-marketplace2 .wrap { width: min(100% - 24px, 1240px); }

  body.template-marketplace2 .brand img { width: 150px; }
  body.template-marketplace2 .brand-lockup small { margin-left: 34px; }
  body.template-marketplace2 .template-switch select { max-width: 104px; font-size: 11px; }
  body.template-marketplace2 .nav-actions .icon-btn:nth-of-type(2) { display: none; }

  body.template-marketplace2 .nav-links > a:nth-child(3),
  body.template-marketplace2 .nav-links > a:nth-child(4) { display: none; }

  body.template-marketplace2 .hero-copy::before { font-size: 10px; }
  body.template-marketplace2 .hero-copy h1 { font-size: 36px; }
  body.template-marketplace2 .hero-copy p { font-size: 15px; }
  body.template-marketplace2 .quick-filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 3px; }
  body.template-marketplace2 .quick-filters a { flex: 0 0 auto; }

  body.template-marketplace2 .home-band,
  body.template-marketplace2 .category-band,
  body.template-marketplace2 .section { padding: 26px 0; }

  body.template-marketplace2 .category-tile { min-height: 148px; padding: 16px; }
  body.template-marketplace2 .tile-icon { margin-bottom: 12px; }
  body.template-marketplace2 .category-tile strong { font-size: 15px; }
  body.template-marketplace2 .category-tile small { font-size: 12px; }

  body.template-marketplace2 .detail-hero .card-body { padding: 20px; }
  body.template-marketplace2 .detail-hero h1 { font-size: 34px; }
  body.template-marketplace2 .detail-facts,
  body.template-marketplace2 .info-checklist,
  body.template-marketplace2 .listing-info-list { grid-template-columns: 1fr; }
  body.template-marketplace2 .detail-facts span:nth-child(even) { border-left: 0; }
  body.template-marketplace2 .detail-facts span + span { border-top: 1px solid var(--m2-line); }
  body.template-marketplace2 .vote-card { grid-template-columns: 1fr 1fr; }
  body.template-marketplace2 .vote-copy { grid-column: 1 / -1; }
  body.template-marketplace2 .share-panel { grid-template-columns: 1fr; gap: 12px; }
  body.template-marketplace2 .share-grid-primary { flex-wrap: wrap; }
  body.template-marketplace2 .share-grid-more {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
  }
  body.template-marketplace2 .section-lite-heading { display: block; }
  body.template-marketplace2 .section-lite-heading p { margin-top: 5px; }
}

/* Marketplace 2: global clean-content pass. Cards stay for real marketplace
   entities; text, metadata and navigation use separators instead of boxes. */
body.template-marketplace2 .category-tile {
  min-height: 108px;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 14px;
  row-gap: 4px;
  border: 0;
  border-top: 1px solid var(--m2-line);
  border-radius: 0;
  padding: 14px 12px;
  background: transparent;
}

body.template-marketplace2 .category-tile .tile-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  margin: 0;
}

body.template-marketplace2 .category-tile strong,
body.template-marketplace2 .category-tile small { grid-column: 2; }

body.template-marketplace2 .category-tile strong { align-self: end; }

body.template-marketplace2 .category-tile small {
  align-self: start;
  padding: 0;
}

body.template-marketplace2 .category-tile:hover {
  border-color: var(--m2-line);
  background: rgba(255, 255, 255, .52);
  box-shadow: none;
  transform: none;
}

body.template-marketplace2 .cta-card,
body.template-marketplace2 .cta-card.green,
body.template-marketplace2 .cta-card.orange,
body.template-marketplace2 .cta-card.soft {
  border: 0;
  border-top: 1px solid var(--m2-line);
  border-radius: 0;
  padding-inline: 8px;
  background: transparent;
}

body.template-marketplace2 .forum-card,
body.template-marketplace2 .guide-row {
  border: 0;
  border-bottom: 1px solid var(--m2-line);
  border-radius: 0;
  background: transparent;
}

body.template-marketplace2 .faq-list {
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.template-marketplace2 .faq-list details { border-color: var(--m2-line); }

body.template-marketplace2 .detail-stack { gap: 0; }

body.template-marketplace2 .detail-stack > .card:not(.detail-hero) {
  border: 0;
  border-top: 1px solid var(--m2-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

body.template-marketplace2 .detail-stack > .card.card-body:not(.detail-hero) {
  padding: 26px 0;
}

body.template-marketplace2 .info-checklist {
  gap: 0;
  column-gap: 30px;
  border-top: 1px solid var(--m2-line);
}

body.template-marketplace2 .info-checklist span {
  border: 0;
  border-bottom: 1px solid var(--m2-line);
  border-radius: 0;
  padding: 14px 0;
  background: transparent;
}

body.template-marketplace2 .feature-list,
body.template-marketplace2 .product-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
  margin: 12px 0 0;
  padding: 0;
  border-top: 1px solid var(--m2-line);
  list-style: none;
}

body.template-marketplace2 .feature-list li,
body.template-marketplace2 .product-specs > div {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--m2-line);
}

body.template-marketplace2 .feature-list .ui-icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  opacity: .72;
}

body.template-marketplace2 .feature-list span { font-weight: 700; }

body.template-marketplace2 .product-specs > div {
  grid-template-columns: minmax(120px, .45fr) 1fr;
}

body.template-marketplace2 .product-specs dt {
  color: var(--m2-muted);
  font-size: 12px;
  font-weight: 700;
}

body.template-marketplace2 .product-specs dd {
  margin: 0;
  color: var(--m2-text);
  font-weight: 650;
}

body.template-marketplace2 .market-card {
  padding: 28px 0;
  border: 0;
  border-top: 1px solid var(--m2-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.template-marketplace2 .market-card .section-line { margin-bottom: 12px; }

body.template-marketplace2 .market-card .section-line .btn,
body.template-marketplace2 .market-card .section-line .btn:hover {
  color: #fff;
}

body.template-marketplace2 .guide-search {
  padding: 18px 0;
  border: 0;
  border-block: 1px solid var(--m2-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.template-marketplace2 .guides-list {
  display: grid;
  margin-top: 8px;
  border-top: 1px solid var(--m2-line);
}

body.template-marketplace2 .guide-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid var(--m2-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.template-marketplace2 .guide-card-media,
body.template-marketplace2 .search-guide-media {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: var(--m2-soft);
  aspect-ratio: 4 / 3;
}

body.template-marketplace2 .guide-card-media img,
body.template-marketplace2 .search-guide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.template-marketplace2 .guide-card-copy {
  display: grid;
  min-width: 0;
  gap: 10px;
}

body.template-marketplace2 .guide-card h3,
body.template-marketplace2 .guide-card p { margin: 0; }

body.template-marketplace2 .guide-card h3 {
  font-size: 23px;
  line-height: 1.2;
}

body.template-marketplace2 .guide-card-meta,
body.template-marketplace2 .guide-byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--m2-muted);
  font-size: 13px;
}

body.template-marketplace2 .guide-card .badge { justify-self: start; }

body.template-marketplace2 .guide-article {
  padding-inline: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.template-marketplace2 .guide-article-header {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}

body.template-marketplace2 .guide-article-header h1 {
  max-width: 820px;
  margin: 0;
  font-size: 48px;
  line-height: 1.08;
}

body.template-marketplace2 .guide-lead {
  max-width: 760px;
  margin: 0;
  color: var(--m2-muted);
  font-size: 19px;
  line-height: 1.55;
}

body.template-marketplace2 .guide-hero-media {
  overflow: hidden;
  margin: 0 0 34px;
  border-radius: 8px;
  background: var(--m2-soft);
  aspect-ratio: 16 / 9;
}

body.template-marketplace2 .guide-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.template-marketplace2 .guide-rich-content {
  color: var(--m2-text);
  font-size: 17px;
  line-height: 1.75;
}

body.template-marketplace2 .guide-rich-content h2,
body.template-marketplace2 .guide-rich-content h3,
body.template-marketplace2 .guide-rich-content h4 {
  margin: 38px 0 14px;
  line-height: 1.2;
}

body.template-marketplace2 .guide-rich-content h2 { font-size: 30px; }
body.template-marketplace2 .guide-rich-content h3 { font-size: 24px; }
body.template-marketplace2 .guide-rich-content p,
body.template-marketplace2 .guide-rich-content ul,
body.template-marketplace2 .guide-rich-content ol,
body.template-marketplace2 .guide-rich-content blockquote { margin: 0 0 20px; }
body.template-marketplace2 .guide-rich-content li + li { margin-top: 7px; }

body.template-marketplace2 .guide-rich-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 26px auto;
  border-radius: 8px;
}

body.template-marketplace2 .guide-rich-content blockquote {
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--green-700);
  color: var(--m2-muted);
}

body.template-marketplace2 .search-guide-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

body.template-marketplace2 .guide-share {
  margin-top: 26px;
  padding: 18px 0 0;
  border-top: 1px solid var(--m2-line);
}

body.template-marketplace2 .forum-sections { gap: 0; }

body.template-marketplace2 .forum-section {
  padding: 28px 0;
  border: 0;
  border-top: 1px solid var(--m2-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.template-marketplace2 .forum-thread { padding-inline: 0; }

body.template-marketplace2 .forum-thread:hover {
  border-color: transparent;
  border-top-color: var(--m2-line);
  border-radius: 0;
  background: rgba(255, 255, 255, .48);
}

body.template-marketplace2 .forum-thread-meta {
  justify-items: end;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  text-align: right;
}

body.template-marketplace2 .forum-thread-meta strong { font-size: 21px; }

body.template-marketplace2 .forum-section-head .btn,
body.template-marketplace2 .question-sidebar .btn {
  border-color: #bfd0c2;
  background: transparent;
  color: var(--green-800);
}

body.template-marketplace2 .forum-section-head .btn:hover,
body.template-marketplace2 .question-sidebar .btn:hover {
  border-color: var(--green-700);
  background: var(--m2-surface-soft);
  color: var(--green-800);
}

body.template-marketplace2 .map-list {
  gap: 0;
  padding: 0 14px;
  border-block: 1px solid var(--m2-line);
  background: rgba(255, 255, 255, .48);
}

body.template-marketplace2 .map-row {
  border: 0;
  border-bottom: 1px solid var(--m2-line);
  border-radius: 0;
  padding: 14px 0;
  background: transparent;
}

body.template-marketplace2 .map-row.is-active {
  border-color: var(--green-700);
  padding-left: 12px;
  background: var(--m2-surface-soft);
  box-shadow: inset 3px 0 var(--green-700);
}

body.template-marketplace2 .filter-sidebar {
  padding: 0 20px 0 0;
  border: 0;
  border-right: 1px solid var(--m2-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.template-marketplace2 .filter-sidebar .btn:not(.primary) {
  border-color: #bfd0c2;
  background: transparent;
  color: var(--green-800);
}

body.template-marketplace2 .filter-sidebar .notice {
  margin-top: 18px;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid var(--m2-line);
  border-radius: 0;
  background: transparent;
}

body.template-marketplace2 .search-section .card:not(.deal-card):not(.product-card) {
  border: 0;
  border-bottom: 1px solid var(--m2-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.template-marketplace2 .question-sidebar {
  padding: 0 24px 0 0;
  border: 0;
  border-right: 1px solid var(--m2-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.template-marketplace2 .question-content { gap: 0; }

body.template-marketplace2 .question-content > .card {
  padding: 24px 0;
  border: 0;
  border-top: 1px solid var(--m2-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

body.template-marketplace2 .question-content > .question-card { border-top: 0; padding-top: 0; }
body.template-marketplace2 .question-content > h2 { margin: 24px 0 8px; }

body.template-marketplace2 .answer-form {
  margin-top: 16px;
  border-top-color: var(--m2-line);
}

body.template-marketplace2 .footer-links,
body.template-marketplace2 .footer-brand {
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.template-marketplace2 .footer-brand {
  padding-left: 30px;
  border-left: 1px solid var(--m2-line);
}

@media (max-width: 820px) {
  body.template-marketplace2 .filter-sidebar,
  body.template-marketplace2 .question-sidebar {
    padding: 0 0 20px;
    border-right: 0;
    border-bottom: 1px solid var(--m2-line);
  }

  body.template-marketplace2 .guide-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.template-marketplace2 .guide-card-media { max-width: 320px; }
  body.template-marketplace2 .guide-article-header h1 { font-size: 36px; }
  body.template-marketplace2 .guide-lead { font-size: 17px; }

  body.template-marketplace2 .footer-brand {
    padding: 22px 0 0;
    border-left: 0;
    border-top: 1px solid var(--m2-line);
  }
}

@media (max-width: 520px) {
  body.template-marketplace2 .category-tile {
    min-height: 104px;
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 10px;
    padding-inline: 6px;
  }
  body.template-marketplace2 .category-tile .tile-icon { width: 38px; height: 38px; }
  body.template-marketplace2 .feature-list,
  body.template-marketplace2 .product-specs { grid-template-columns: 1fr; }
  body.template-marketplace2 .share-panel { padding-block: 18px; }
}

body.template-marketplace .map-legend {
  border-radius: 4px;
  border-color: var(--market-line);
  background: #fff;
}

body.template-marketplace .cta-strip {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border: 1px solid var(--market-line);
  border-radius: 4px;
  background: #fff;
  padding: 12px;
}

body.template-marketplace .cta-card,
body.template-marketplace .cta-card.green,
body.template-marketplace .cta-card.orange,
body.template-marketplace .cta-card.soft {
  min-height: 86px;
  border-radius: 4px;
  background: #fff;
  color: #222;
  border: 1px solid var(--market-line);
  box-shadow: none;
}

body.template-marketplace .cta-card span {
  color: var(--market-purple);
}

body.template-marketplace .cta-card small {
  color: var(--market-muted);
}

body.template-marketplace .footer {
  background: #fff;
  border-top: 1px solid var(--market-line);
}

body.template-marketplace .footer-panel,
body.template-marketplace .footer-benefits {
  border-radius: 4px;
  box-shadow: none;
}

body.template-marketplace .layout {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
}

body.template-marketplace .sidebar {
  top: 92px;
  border: 1px solid var(--market-line);
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
}

body.template-marketplace .field input,
body.template-marketplace .field select,
body.template-marketplace .field textarea {
  border-radius: 4px;
  border-color: #d8d8d8;
}

body.template-marketplace .section-head {
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid var(--market-line);
  border-radius: 4px;
  background: #fff;
  align-items: center;
}

body.template-marketplace .section-head h1 {
  font-size: clamp(30px, 3vw, 42px) !important;
}

body.template-marketplace .detail-hero,
body.template-marketplace .owner-box,
body.template-marketplace .recommend-box,
body.template-marketplace .side-facts span,
body.template-marketplace .detail-facts span,
body.template-marketplace .info-checklist span,
body.template-marketplace .summary-card {
  border-radius: 4px;
  border-color: var(--market-line);
  background: #fff;
  box-shadow: none;
}

body.template-marketplace .detail-photo img {
  border-radius: 4px;
}

@media (max-width: 1100px) {
  body.template-marketplace .nav {
    grid-template-columns: 180px 1fr;
  }

  body.template-marketplace .nav-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  body.template-marketplace .category-grid,
  body.template-marketplace .deals-grid,
  body.template-marketplace .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.template-marketplace .wrap {
    width: min(100% - 24px, 1240px);
  }

  body.template-marketplace .nav {
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: auto;
    padding: 12px 0;
  }

  body.template-marketplace .nav-links {
    grid-column: 1 / -1;
    order: 3;
    padding-bottom: 4px;
  }

  body.template-marketplace .nav-actions {
    grid-column: 1 / -1;
    order: 2;
    flex-wrap: wrap;
  }

  body.template-marketplace .hero .wrap {
    padding: 22px 0 18px;
  }

  body.template-marketplace .hero-copy h1 {
    font-size: 34px;
  }

  body.template-marketplace .hero-search {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  body.template-marketplace .hero-search select,
  body.template-marketplace .hero-search .btn {
    grid-column: 1 / -1;
    min-height: 44px;
    border-top: 1px solid var(--market-line);
  }

  body.template-marketplace .category-grid,
  body.template-marketplace .deals-grid,
  body.template-marketplace .product-grid,
  body.template-marketplace .cta-strip,
  body.template-marketplace .layout {
    grid-template-columns: 1fr;
  }

  body.template-marketplace .deal-media {
    height: 164px;
  }

  body.template-marketplace .sidebar {
    position: static;
  }

  body.template-marketplace .section-head {
    display: grid;
  }
}
/* Marketplace logo palette final overrides. */
body.template-marketplace {
  --market-green: #70a030;
  --market-green-dark: #4f7f22;
  --market-purple: #904090;
  --market-purple-bright: #a04090;
  --market-orange: #70a030;
  --market-orange-dark: #4f7f22;
  --market-orange-soft: #f2f8ea;
  --market-purple-soft: #f8eef8;
}

body.template-marketplace .btn.primary,
body.template-marketplace .quick-filters a:first-child {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
}

body.template-marketplace .btn.primary:hover {
  background: var(--green-800);
  border-color: var(--green-800);
}

body.template-marketplace .hero-search {
  border-color: var(--market-green);
}

body.template-marketplace .search-mark,
body.template-marketplace .section-line a,
body.template-marketplace .panel-more,
body.template-marketplace .price,
body.template-marketplace .cta-card span {
  color: var(--market-purple);
}

body.template-marketplace .nav-links a:hover {
  color: var(--market-purple);
  background: var(--market-purple-soft);
}

body.template-marketplace .deal-ribbon,
body.template-marketplace .badge.hot,
body.template-marketplace .deal-tags span:first-child {
  background: linear-gradient(135deg, var(--market-orange-soft), var(--market-purple-soft));
  color: var(--market-purple);
}

body.template-marketplace .map-pin {
  background: var(--market-green);
}

/* Keep dark static-page calls to action legible in every selectable theme. */
body .static-cta-band h2 {
  color: #fff;
}

body .static-cta-band .static-secondary-btn {
  border-color: rgba(255,255,255,.45);
  background: transparent;
  color: #fff;
}

/* Locality picker: manual city, regional drill-down and distance radius. */
.location-aware-search,
body.template-marketplace2 .location-aware-search,
body.template-marketplace .location-aware-search {
  width: min(1040px, 100%);
  grid-template-columns: 44px minmax(180px, 1fr) minmax(310px, 390px) 150px;
  overflow: visible;
}

.location-picker {
  position: relative;
  min-width: 0;
  color: var(--ink);
}

.hero:has(.location-picker.is-open) {
  z-index: 40;
  overflow: visible;
}

.location-picker.is-open {
  z-index: 200;
}

.location-picker-control {
  min-height: 54px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto auto;
  gap: 7px;
  align-items: center;
  padding-left: 13px;
  border-left: 1px solid var(--line);
  background: #fff;
}

.location-picker-control > .ui-icon {
  width: 19px;
  height: 19px;
  color: var(--green-700);
}

.hero-search .location-picker-control > input,
body.template-marketplace2 .hero-search .location-picker-control > input,
body.template-marketplace .hero-search .location-picker-control > input,
.location-picker-control > input {
  width: 100%;
  height: 52px;
  min-height: 52px;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--green-950);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
}

.location-picker-control > input::placeholder {
  color: var(--green-950);
  opacity: 1;
}

.location-picker-control:focus-within {
  box-shadow: inset 0 0 0 2px var(--green-700);
}

.location-input-clear,
.location-picker-toggle {
  width: 32px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #344338;
  cursor: pointer;
}

.location-input-clear {
  font-size: 24px;
  line-height: 1;
}

.location-input-clear:hover,
.location-picker-toggle:hover {
  background: #f1f5ed;
}

.location-picker-toggle .ui-icon {
  width: 17px;
  height: 17px;
  transition: transform .18s ease;
}

.location-picker.is-open .location-picker-toggle .ui-icon {
  transform: rotate(180deg);
}

.location-picker-trigger {
  width: 100%;
  min-height: 54px;
  padding: 7px 13px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 18px;
  gap: 9px;
  align-items: center;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.location-picker-trigger:hover,
.location-picker-trigger:focus-visible {
  background: #f6faf2;
}

.location-picker-trigger .ui-icon {
  width: 19px;
  height: 19px;
  color: var(--green-700);
}

.location-picker-trigger > span {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.location-picker-trigger small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.location-picker-trigger strong {
  overflow: hidden;
  color: var(--green-950);
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-picker-panel[hidden] {
  display: none !important;
}

[data-location-suggestion-view][hidden],
[data-location-browse-view][hidden] {
  display: none !important;
}

.location-picker.is-popover .location-picker-panel {
  position: absolute;
  z-index: 120;
  top: calc(100% + 12px);
  right: 0;
  width: min(440px, calc(100vw - 32px));
  padding: 8px;
  border: 1px solid #dce4d7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(26, 52, 27, .18);
}

.location-picker.is-popover .location-suggestion-view {
  padding: 0;
}

.location-picker-heading {
  margin-bottom: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.location-picker-heading strong {
  color: var(--green-950);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
}

.location-picker-heading button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f1f5ed;
  color: var(--ink);
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
}

.location-all-country {
  width: 100%;
  padding: 12px 10px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.location-all-country:hover,
.location-all-country:focus-visible {
  background: #f2f7ee;
}

.location-all-country .ui-icon {
  width: 20px;
  height: 20px;
  color: var(--green-700);
}

.location-all-country > span {
  display: grid;
  gap: 2px;
}

.location-all-country strong {
  color: var(--green-950);
  font-size: 14px;
}

.location-all-country small {
  color: var(--muted);
  font-size: 11px;
}

.location-suggestion-list {
  max-height: 340px;
  margin: 0 -9px;
  overflow-y: auto;
}

.location-suggestion {
  width: 100%;
  padding: 12px 10px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  border: 0;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.location-suggestion:hover,
.location-suggestion.is-active {
  background: #f1f7ed;
}

.location-suggestion-pin {
  color: var(--green-700);
  font-size: 20px;
}

.location-suggestion > span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.location-suggestion strong {
  overflow: hidden;
  color: var(--green-950);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-suggestion small {
  color: var(--muted);
  font-size: 11px;
}

.location-suggestion-status {
  margin: 13px 2px 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.location-radius-quick[hidden] {
  display: none !important;
}

.location-radius-quick {
  min-width: 108px;
  min-height: 36px;
  padding: 0 0 0 10px;
  display: flex;
  gap: 4px;
  align-items: center;
  border: 0;
  border-left: 1px solid #d6e0d1;
  background: transparent;
  color: #566157;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.location-radius-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-search .location-radius-quick select,
body.template-marketplace2 .hero-search .location-radius-quick select,
body.template-marketplace .hero-search .location-radius-quick select,
.location-radius-quick select {
  width: auto;
  min-width: 98px;
  height: 36px;
  min-height: 36px;
  padding: 0 25px 0 7px;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  color: var(--green-950);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.hero-search .location-picker-panel .field,
.location-picker-panel .field {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.hero-search .location-picker-panel label,
.location-picker-panel label {
  color: #344338;
  font-size: 12px;
  font-weight: 750;
}

.hero-search .location-picker-panel input,
.hero-search .location-picker-panel select,
.location-picker-panel input,
.location-picker-panel select,
body.template-marketplace2 .hero-search .location-picker-panel input,
body.template-marketplace2 .hero-search .location-picker-panel select,
body.template-marketplace .hero-search .location-picker-panel input,
body.template-marketplace .hero-search .location-picker-panel select {
  width: 100%;
  height: 46px;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #cad5c5;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

.location-picker-panel input:focus,
.location-picker-panel select:focus {
  outline: 3px solid rgba(112, 160, 48, .18);
  border-color: var(--green-700);
}

.location-picker-panel select:disabled {
  background: #f4f5f2;
  color: #899188;
}

.location-picker-divider {
  margin: 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
}

.location-picker-divider::before,
.location-picker-divider::after {
  height: 1px;
  flex: 1;
  background: #e4e9e0;
  content: '';
}

.location-picker-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.location-picker-panel > .field:last-of-type {
  margin-top: 13px;
}

.location-picker-actions {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.location-picker-actions .btn {
  min-height: 42px;
  border-radius: 5px;
}

.location-attribution,
.location-data-credit {
  margin-top: 12px;
  display: block;
  color: #707a70;
  font-size: 10px;
  line-height: 1.35;
}

.location-attribution a,
.location-data-credit a {
  display: inline;
  color: var(--green-800);
  font-size: inherit;
  font-weight: 700;
}

.location-picker.is-inline .location-picker-panel {
  display: grid;
  gap: 0;
}

.location-picker.is-inline .location-picker-heading {
  display: none;
}

.location-picker.is-inline .location-picker-grid {
  grid-template-columns: 1fr;
}

.location-picker.is-inline .location-attribution {
  margin-bottom: 4px;
}

.location-notice {
  margin-bottom: 16px;
}

@media (max-width: 760px) {
  .location-aware-search,
  body.template-marketplace2 .location-aware-search,
  body.template-marketplace .location-aware-search,
  body.template-minimal .location-aware-search,
  body.template-modern .location-aware-search {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .location-aware-search > .location-picker {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .location-picker-trigger {
    min-height: 50px;
    border-left: 0;
  }

  .location-picker-control {
    min-height: 50px;
    border-left: 0;
  }

  .location-radius-quick {
    min-width: 96px;
    min-height: 36px;
    padding-left: 7px;
  }

  .location-radius-quick select {
    min-width: 88px;
    padding-left: 4px;
  }

  .location-aware-search > .btn,
  body.template-marketplace2 .location-aware-search > .btn,
  body.template-marketplace .location-aware-search > .btn {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 48px;
    border-top: 1px solid var(--line);
  }

  .location-picker.is-popover .location-picker-panel {
    position: static;
    width: 100%;
    padding: 18px 14px;
    border: 0;
    border-top: 1px solid #dce4d7;
    border-radius: 0;
    box-shadow: none;
  }

  .location-picker-grid {
    grid-template-columns: 1fr;
  }
}
/* Functional audit: stable, readable messages and result navigation. */
.message-item { margin-top: 16px; min-width: 0; }
.message-item h3, .message-body { overflow-wrap: anywhere; }
.message-item details { margin-top: 16px; }
.message-item summary { cursor: pointer; padding: 8px 0; font-weight: 600; }
.message-item .form-grid { margin-top: 12px; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
@media (max-width: 720px) { .messages-grid { grid-template-columns: minmax(0, 1fr); } }
