:root {
  --green: #43b02a;
  --green-dark: #2b8f20;
  --yellow: #ffc900;
  --ink: #141414;
  --muted: #727272;
  --line: #e9ece3;
  --soft: #f7f9f1;
  --cream: #fff7df;
  --surface: #ffffff;
  --shadow: 0 16px 45px rgba(37, 48, 32, 0.14);
  --radius: 8px;
  --container: 1680px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  padding-top: 84px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fbfcf8;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

a,
button,
.deal-card,
.city-card,
.feature-card,
.popular-card,
.stat-item,
.why-grid article {
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

button,
input,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(255, 201, 0, 0.72);
  outline-offset: 3px;
}

.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;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 84px;
  padding: 0 clamp(20px, 5vw, 74px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 224, 214, 0.75);
  backdrop-filter: blur(14px);
  transition:
    min-height 180ms ease,
    padding 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.site-header.is-sticky {
  min-height: 70px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(220, 224, 214, 0.95);
  box-shadow: 0 12px 30px rgba(25, 35, 20, 0.12);
}

.brand {
  font-size: clamp(26px, 2.4vw, 35px);
  font-weight: 900;
  line-height: 1;
  transition: font-size 180ms ease;
}

.site-header.is-sticky .brand {
  font-size: clamp(24px, 2vw, 30px);
}

.brand span {
  color: var(--green);
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 3vw, 44px);
  font-size: 15px;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding: 32px 0 28px;
  transition: padding 180ms ease, color 180ms ease;
}

.site-header.is-sticky .main-nav a {
  padding-top: 25px;
  padding-bottom: 23px;
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 21px;
  height: 4px;
  background: var(--yellow);
  border-radius: 999px;
}

.site-header.is-sticky .main-nav a.active::after,
.site-header.is-sticky .main-nav a:hover::after {
  bottom: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 15px;
}

.icon-btn,
.nav-toggle {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.icon-btn svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  color: var(--green-dark);
  background: #eef7e9;
  transform: translateY(-2px);
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  color: #111;
  background: var(--yellow);
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  font-weight: 950;
  box-shadow: 0 6px 14px rgba(40, 40, 20, 0.18);
}

.login-link {
  padding: 10px 4px;
}

.login-link:hover,
.login-link:focus-visible,
.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--green-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 21px;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(35, 44, 29, 0.08);
}

.btn-green {
  color: #fff;
  background: var(--green);
}

.btn-yellow {
  color: #171717;
  background: var(--yellow);
}

.btn:hover,
.btn:focus-visible,
.search-btn:hover,
.search-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 15px 28px rgba(43, 143, 32, 0.22);
}

.btn-green:hover,
.btn-green:focus-visible {
  background: var(--green-dark);
}

.btn-yellow:hover,
.btn-yellow:focus-visible,
.search-btn:hover,
.search-btn:focus-visible {
  background: #ffdc35;
}

.btn:active,
.search-btn:active,
.icon-btn:active {
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 99px;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: #eef7e9;
  border-color: rgba(67, 176, 42, 0.35);
  transform: translateY(-2px);
}

.mobile-header-actions {
  display: none;
}

.nav-backdrop {
  display: none;
}

.hero {
  position: relative;
  min-height: auto;
  padding: 80px 20px 90px;
  overflow: visible;
  background: #f2e3c7;
  --parallax-y: 0px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -110px 0;
  background-image:
    linear-gradient(180deg, rgba(255, 244, 219, 0.2), rgba(255, 255, 255, 0.08)),
    url("../assets/hero-bg.jpg");
  background-size: cover;
  background-position: center top;
  filter: saturate(0.98);
  transform: translate3d(0, var(--parallax-y), 0) scale(1.08);
  transition: transform 80ms linear;
  will-change: transform;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center 34%, rgba(255, 246, 230, 0.78), rgba(255, 246, 230, 0.32) 30%, rgba(255, 246, 230, 0.02) 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.36));
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  max-width: 720px;
  margin: 0 auto 22px;
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 1.08;
  font-weight: 800;
}

.hero h1 span {
  display: block;
  color: var(--green);
}

.hero h1 span::after {
  content: " Deals";
  color: var(--yellow);
}

.hero p {
  max-width: 620px;
  margin: 0 auto 45px;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
  font-weight: 400;
}

.search-panel {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 220px 170px 1fr 150px;
  gap: 0;
  align-items: center;
  width: min(1120px, calc(100vw - 56px));
  min-height: 90px;
  margin: 0 auto;
  padding: 14px;
  text-align: left;
  background: var(--surface);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: visible;
}

.search-panel label,
.category-dropdown {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 56px;
  padding: 0 26px;
  border-right: 1px solid var(--line);
}

.select-control {
  z-index: 30;
  padding-right: 42px !important;
}

.field-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--green-dark);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.select-control::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--green-dark);
  border-bottom: 2px solid var(--green-dark);
  transform: translateY(-64%) rotate(45deg);
  pointer-events: none;
}

.location-control input,
.query-control input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.category-trigger {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  height: 56px;
  padding: 0 30px 0 6px;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.category-trigger span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 18px;
  z-index: 999;
  width: min(260px, calc(100vw - 56px));
  max-height: 292px;
  overflow-y: auto;
  margin: 0;
  padding: 8px;
  list-style: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid #e2e8d6;
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(31, 40, 26, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.category-dropdown.is-open .category-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.category-menu li {
  padding: 11px 13px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.category-menu li:hover,
.category-menu li:focus,
.category-menu li[aria-selected="true"] {
  color: #fff;
  background: var(--green);
}

.location-control input {
  font-weight: 700;
}

.query-control input {
  color: var(--ink);
}

.category-trigger:focus,
.location-control input:focus,
.query-control input:focus {
  color: var(--green-dark);
}

.search-btn {
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: #111;
  font-weight: 900;
  cursor: pointer;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1120px;
  margin: 28px auto 0;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.trust-strip span {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  justify-content: start;
  gap: 12px;
  min-height: 50px;
  padding: 6px 18px 6px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(3px);
}

.trust-strip svg {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 9px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  border: 2px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
}

.trust-strip em {
  display: block;
  min-width: 0;
  font-style: normal;
  line-height: 1.25;
  text-align: left;
}

.feature-categories {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: min(1680px, calc(100vw - 96px));
  margin: -44px auto 36px;
  padding: 28px 34px;
  background: var(--surface);
  border: 1px solid rgba(220, 224, 214, 0.85);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(55, 66, 49, 0.12);
}

.feature-card {
  display: grid;
  grid-template-columns: 62px minmax(120px, 0.8fr) minmax(120px, 1fr);
  align-items: center;
  gap: 18px;
  min-width: 0;
  min-height: 124px;
  padding: 12px clamp(18px, 2vw, 32px);
  border-right: 1px solid #edf1e8;
}

.feature-card:last-child {
  border-right: 0;
}

.round-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.14), 0 10px 22px rgba(31, 48, 22, 0.12);
}

.round-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.round-icon.green {
  background: linear-gradient(135deg, #43b02a, #2d9c25);
}

.round-icon.yellow {
  background: linear-gradient(135deg, #ffd22b, #f7b900);
  color: #fff;
}

.feature-card h2,
.feature-card p,
.deal-card h3,
.deal-card p,
.city-card h3,
.city-card p,
.why-grid h3,
.why-grid p {
  margin: 0;
}

.feature-card h2 {
  margin-bottom: 8px;
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.1;
}

.feature-card p {
  color: var(--muted);
  font-size: 15px;
}

.feature-card img {
  justify-self: end;
  width: 100%;
  max-height: 92px;
  object-fit: contain;
  transition: transform 180ms ease;
}

.feature-card:hover,
.feature-card:focus-within {
  background: #fbfdf8;
  transform: translateY(-3px);
}

.feature-card:hover img,
.feature-card:focus-within img {
  transform: scale(1.04);
}

.section {
  width: min(var(--container), calc(100vw - 96px));
  margin: 0 auto 36px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-heading.centered {
  justify-content: center;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(25px, 2vw, 32px);
  line-height: 1.2;
}

.section-heading a {
  position: relative;
  color: var(--green-dark);
  font-weight: 900;
}

.section-heading a::after,
.footer-grid a:not(.brand):not(.store-badge)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -3px;
  height: 2px;
  background: currentColor;
  transition: right 180ms ease;
}

.section-heading a:hover::after,
.section-heading a:focus-visible::after,
.footer-grid a:not(.brand):not(.store-badge):hover::after,
.footer-grid a:not(.brand):not(.store-badge):focus-visible::after {
  right: 0;
}

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

.popular-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(135px, 0.72fr) 1fr;
  align-items: center;
  min-height: 160px;
  overflow: hidden;
  padding: 24px 18px 20px 27px;
  background: #f2f6e8;
  border: 1px solid transparent;
  border-radius: 8px;
}

.popular-card.warm {
  background: var(--cream);
}

.popular-card h3 {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.18;
  transition: color 180ms ease;
}

.popular-card a {
  position: relative;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: var(--green-dark);
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 7px 17px rgba(54, 60, 42, 0.12);
  transition:
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.popular-card a::after {
  content: "View";
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  transform: translate(-8px, -50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.popular-card:hover,
.popular-card:focus-within {
  border-color: rgba(67, 176, 42, 0.28);
  box-shadow: 0 18px 34px rgba(43, 143, 32, 0.14);
  transform: translateY(-4px);
}

.popular-card:hover h3,
.popular-card:focus-within h3 {
  color: var(--green-dark);
}

.popular-card:hover a,
.popular-card:focus-within a,
.popular-card a:hover,
.popular-card a:focus-visible {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 24px rgba(43, 143, 32, 0.24);
  transform: translateX(4px);
}

.popular-card:hover a::after,
.popular-card:focus-within a::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.popular-card img {
  justify-self: end;
  max-height: 118px;
  object-fit: contain;
  transition: transform 180ms ease;
}

.popular-card:hover img,
.popular-card:focus-within img {
  transform: scale(1.04);
}

.deal-rail-wrap {
  position: relative;
  padding: 0 64px;
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.deal-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(190px, calc((100% - 100px) / 6), 270px);
  gap: 20px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.deal-rail::-webkit-scrollbar {
  display: none;
}

.deal-card {
  position: relative;
  scroll-snap-align: start;
  min-width: 0;
  min-height: 245px;
  padding: 20px 24px 22px;
  background: var(--surface);
  border: 1px solid #edf0e8;
  border-radius: 8px;
  box-shadow: 0 10px 27px rgba(35, 44, 29, 0.05);
}

.deal-card:hover,
.deal-card:focus-within {
  border-color: rgba(67, 176, 42, 0.28);
  box-shadow: 0 18px 34px rgba(43, 143, 32, 0.13);
  transform: translateY(-4px);
}

.discount {
  position: absolute;
  top: 15px;
  left: 20px;
  z-index: 1;
  min-width: 48px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--yellow);
  font-size: 14px;
  font-weight: 950;
  text-align: center;
}

.discount.green {
  background: #9edc37;
}

.deal-card img {
  width: 100%;
  height: 112px;
  margin: 8px auto 15px;
  object-fit: contain;
  transition: transform 180ms ease;
}

.deal-card:hover img,
.deal-card:focus-within img {
  transform: scale(1.04);
}

.deal-card h3 {
  min-height: 44px;
  font-size: 16px;
  line-height: 1.22;
}

.deal-card p {
  margin-top: 8px;
  color: #999;
  font-size: 16px;
}

.deal-card strong {
  color: var(--green-dark);
  font-size: 18px;
}

.deal-card del {
  margin-left: 10px;
}

.rail-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--green-dark);
  box-shadow: 0 12px 30px rgba(31, 40, 26, 0.16);
  transform: translateY(-50%);
  cursor: pointer;
}

.rail-btn svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rail-btn.prev {
  left: 0;
}

.rail-btn.next {
  right: 0;
}

.rail-btn:hover,
.rail-btn:focus-visible {
  color: #fff;
  background: var(--green);
  box-shadow: 0 15px 28px rgba(43, 143, 32, 0.22);
  transform: translateY(-50%) translateY(-2px);
}

.rail-btn:active {
  transform: translateY(-50%);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: min(1740px, calc(100vw - 62px));
  margin: 48px auto 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #f4f8ec, #edf4e4);
  border-radius: 8px;
  border: 1px solid #e2e8d6;
  box-shadow: 0 14px 34px rgba(43, 64, 31, 0.08);
}

.stat-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  min-height: 124px;
  padding: 24px clamp(22px, 3vw, 56px);
  border-right: 1px solid #dbe3ce;
}

.stat-item:last-child {
  border-right: 0;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.48);
}

.stat-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.62);
  border: 2px solid var(--green);
  border-radius: 50%;
  box-shadow: inset 0 0 0 8px rgba(67, 176, 42, 0.06);
}

.stat-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.stat-number {
  display: block;
  color: var(--green-dark);
  font-size: clamp(32px, 3.3vw, 52px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
  white-space: nowrap;
}

.stat-copy p {
  margin: 12px 0 0;
  color: #101510;
  font-size: clamp(15px, 1.2vw, 20px);
  line-height: 1.2;
  font-weight: 900;
}

.city-cta {
  position: relative;
  width: 100%;
  min-height: auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(60px, 7vw, 92px) 20px;
  margin: 0 0 34px;
  text-align: center;
  background: #f3ddbd;
  --parallax-y: 0px;
  --content-y: 0px;
}

.city-cta::before {
  content: "";
  position: absolute;
  inset: -140px 0;
  background-image:
    linear-gradient(90deg, rgba(255, 241, 214, 0.06), rgba(255, 241, 214, 0.68) 36%, rgba(255, 241, 214, 0.66) 64%, rgba(255, 241, 214, 0.04)),
    url("../assets/city-banner.jpg");
  background-size: cover;
  background-position: center;
  transform: translate3d(0, var(--parallax-y), 0) scale(1.12);
  transition: transform 80ms linear;
  will-change: transform;
}

.city-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.22)),
    radial-gradient(circle at center, rgba(255, 245, 224, 0.28), rgba(255, 245, 224, 0) 54%);
}

.city-cta div {
  position: relative;
  z-index: 1;
  transform: translate3d(0, var(--content-y), 0);
  transition: transform 80ms linear;
  will-change: transform;
}

.city-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.12;
  font-weight: 950;
}

.city-cta p {
  margin: 0 auto 22px;
  max-width: 470px;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.45;
  font-weight: 700;
}

.city-cta .btn {
  box-shadow: 0 14px 30px rgba(43, 143, 32, 0.24);
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.city-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid #edf0e8;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(33, 39, 27, 0.06);
}

.city-card:hover,
.city-card:focus-within {
  border-color: rgba(67, 176, 42, 0.28);
  box-shadow: 0 18px 34px rgba(43, 143, 32, 0.13);
  transform: translateY(-4px);
}

.city-card img {
  width: 100%;
  height: 114px;
  object-fit: cover;
  transition: transform 180ms ease;
}

.city-card:hover img,
.city-card:focus-within img {
  transform: scale(1.05);
}

.city-card div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  padding: 15px 18px 18px;
}

.city-card span {
  grid-row: span 2;
  color: var(--green);
  font-size: 17px;
  line-height: 1.2;
}

.city-card h3 {
  font-size: 15px;
}

.city-card p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.why-section {
  margin-bottom: 28px;
}

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

.why-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  justify-items: center;
  align-items: start;
  min-height: 178px;
  padding: 24px 22px;
  text-align: center;
  background: #fff;
  border: 1px solid #edf0e8;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(33, 39, 27, 0.05);
}

.why-card:hover,
.why-card:focus-within {
  border-color: rgba(67, 176, 42, 0.28);
  box-shadow: 0 18px 34px rgba(43, 143, 32, 0.12);
  transform: translateY(-4px);
}

.why-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  border-radius: 8px;
  color: #fff;
}

.why-icon.green {
  background: var(--green);
}

.why-icon.yellow {
  background: var(--yellow);
  color: #fff;
}

.why-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-grid h3 {
  min-height: 44px;
  font-size: 18px;
  line-height: 1.2;
}

.why-grid p {
  max-width: 250px;
  margin-top: 0px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.newsletter {
  display: grid;
  grid-template-columns: 170px 1fr minmax(390px, 0.85fr);
  align-items: center;
  gap: 28px;
  width: min(1700px, calc(100vw - 96px));
  min-height: 130px;
  margin: 30px auto 0;
  padding: 18px 66px;
  background: #fff5d8;
  border-radius: 8px 8px 0 0;
}

.newsletter img {
  justify-self: center;
  max-height: 102px;
  object-fit: contain;
}

.newsletter h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.newsletter p {
  max-width: 520px;
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.4;
}

.newsletter form {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 62px;
  padding: 8px;
  background: #fff;
  border-radius: 999px;
}

.newsletter input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 24px;
  color: var(--ink);
}

.site-footer {
  background: #f7f9f1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr;
  gap: 50px;
  width: min(1680px, calc(100vw - 96px));
  margin: 0 auto;
  padding: 28px 0 42px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 18px;
}

.footer-grid p {
  max-width: 280px;
  margin: 0 0 22px;
  color: #333;
  font-size: 15px;
  line-height: 1.5;
}

.footer-grid h2 {
  margin: 9px 0 17px;
  font-size: 17px;
}

.footer-grid a:not(.brand):not(.store-badge) {
  display: block;
  position: relative;
 
  margin-bottom: 9px;
  color: #242424;
  font-size: 15px;
}

.footer-grid a:not(.brand):not(.store-badge):hover,
.footer-grid a:not(.brand):not(.store-badge):focus-visible {
  color: var(--green-dark);
}

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

.socials a {
  display: grid !important;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 !important;
  border: 1px solid #bfc7b8;
  border-radius: 50%;
  font-weight: 900;
}

.socials a:hover,
.socials a:focus-visible {
  color: #fff !important;
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-2px);
}

.store-badge {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 10px;
  width: 190px;
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: #111;
  font-size: 12px;
  line-height: 1.08;
}

.store-badge svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.store-badge span {
  display: grid;
  gap: 2px;
}

.store-badge:hover,
.store-badge:focus-visible {
  background: #2b8f20;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(43, 143, 32, 0.2);
}

.store-badge strong {
  display: block;
  font-size: 18px;
}

.copyright {
  padding: 22px;
  color: #fff;
  text-align: center;
  background: var(--green-dark);
}

.search-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: start center;
  padding: clamp(86px, 10vh, 130px) 20px 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.search-popup.is-open {
  opacity: 1;
  pointer-events: auto;
}

.search-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(11, 17, 10, 0.58);
  cursor: pointer;
}

.search-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: clamp(24px, 4vw, 38px);
  background: #fff;
  border: 1px solid #edf0e8;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  transform: translateY(-12px);
  transition: transform 180ms ease;
}

.search-popup.is-open .search-dialog {
  transform: translateY(0);
}

.search-dialog h2 {
  margin: 0 0 20px;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.1;
  text-align: center;
}

.search-close {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: #f2f6e8;
  cursor: pointer;
}

.search-close svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.search-close:hover,
.search-close:focus-visible {
  color: #fff;
  background: var(--green);
}

.popup-search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: #f7f9f1;
  border: 1px solid #e4eadb;
  border-radius: 999px;
}

.popup-search-field {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding-left: 18px;
  color: var(--green-dark);
}

.popup-search-field svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
}

.popup-search-field input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.quick-searches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.quick-searches a {
  padding: 9px 15px;
  color: var(--green-dark);
  background: #eef7e9;
  border: 1px solid rgba(67, 176, 42, 0.22);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.quick-searches a:hover,
.quick-searches a:focus-visible {
  color: #fff;
  background: var(--green);
  transform: translateY(-2px);
}

body.search-open {
  overflow: hidden;
}

body.nav-open {
  overflow: hidden;
}

.scroll-top {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 80;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  box-shadow: 0 16px 34px rgba(43, 143, 32, 0.28);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scroll-top:hover,
.scroll-top:focus-visible {
  background: var(--green-dark);
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .city-cta::before,
  .city-cta div {
    transform: none;
    transition: none;
  }
}

@media (max-width: 1280px) {
  .site-header {
    gap: 18px;
  }

  .main-nav {
    gap: 18px;
  }

  .login-link {
    display: none;
  }

  .feature-categories,
  .popular-grid,
  .stats,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-categories {
    margin-top: -34px;
  }

  .deal-grid,
  .city-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }

  .deal-rail {
    grid-auto-columns: clamp(220px, calc((100% - 40px) / 3), 340px);
  }

  .deal-rail-wrap {
    padding: 0 54px;
  }

  .rail-btn {
    width: 42px;
    height: 42px;
  }

  .rail-btn.prev {
    left: 0;
  }

  .rail-btn.next {
    right: 0;
  }

  .stat-item:nth-child(2) {
    border-right: 0;
  }

  .stat-item:nth-child(-n+2) {
    border-bottom: 1px solid #dbe3ce;
  }

  .newsletter {
    grid-template-columns: 130px 1fr;
  }

  .newsletter form {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  body {
    padding-top: 72px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    justify-content: space-between;
    min-height: 72px;
  }

  .site-header .brand {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-header-actions {
    display: grid;
    grid-template-columns: repeat(3, 42px);
    align-items: center;
    justify-content: end;
    gap: 10px;
    width: 146px;
    flex-shrink: 0;
  }

  .mobile-header-actions .icon-btn {
    display: grid !important;
    visibility: visible;
    opacity: 1;
    width: 42px;
    height: 42px;
    background: #fff;
    border: 1px solid #e3eadb;
    border-radius: 8px;
  }

  .mobile-header-actions .icon-btn svg {
    display: block;
  }

  .mobile-header-actions .cart-count {
    top: -8px;
    right: -8px;
  }

  .site-header.is-sticky {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 120;
    display: flex;
    width: min(84vw, 340px);
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 112px 24px 190px;
    background: #fff;
    box-shadow: 24px 0 54px rgba(24, 36, 18, 0.2);
    transform: translateX(-105%);
    transition: transform 240ms ease;
    overflow-y: auto;
  }

  .site-header.is-sticky .main-nav {
    top: 0;
  }

  .main-nav a {
    padding: 11px 18px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
  }

  .main-nav a.active::after,
  .main-nav a:hover::after {
    display: none;
  }

  .main-nav a.active,
  .main-nav a:hover,
  .main-nav a:focus-visible {
    color: var(--green-dark);
    background: #eef7e9;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .header-actions {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 121;
    display: grid;
    width: min(84vw, 340px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 18px 24px 24px;
    background: #fff;
    border-top: 1px solid #edf1e8;
    box-shadow: 24px 0 54px rgba(24, 36, 18, 0.08);
    transform: translateX(-105%);
    transition: transform 240ms ease;
  }

  .header-actions::before {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    top: 0;
    height: 1px;
    background: #edf1e8;
  }

  .site-header.is-sticky .header-actions {
    top: auto;
  }

  .header-actions.is-open {
    transform: translateX(0);
  }

  .header-actions .icon-btn {
    display: none;
  }

  .header-actions .login-link {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 12px;
    background: #f7f9f1;
    border: 1px solid #e3eadb;
    border-radius: 8px;
    font-weight: 700;
  }

  .header-actions .btn {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
  }

  .header-actions .btn-green {
    grid-column: 1 / 2;
  }

  .header-actions .btn-yellow {
    grid-column: 2 / 3;
  }

  .header-actions .cart-count {
    top: -8px;
    right: calc(50% - 23px);
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: block;
    border: 0;
    background: rgba(12, 20, 10, 0.48);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  .nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  @media (min-width: 641px) {
    .main-nav,
    .header-actions {
      width: min(420px, 82vw);
    }

    .header-actions {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      align-items: center;
    }

    .header-actions .login-link,
    .header-actions .btn-green,
    .header-actions .btn-yellow {
      grid-column: auto;
    }
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
    padding-bottom: 78px;
  }

  .search-panel {
    grid-template-columns: 1fr;
    width: min(620px, calc(100vw - 40px));
    border-radius: 8px;
  }

  .search-panel label,
  .category-dropdown {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .query-control {
    border-bottom: 0 !important;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
    max-width: 590px;
    font-size: 14px;
    gap: 12px;
  }

  .feature-categories,
  .section,
  .newsletter,
  .footer-grid {
    width: min(100% - 40px, 720px);
  }

  .feature-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px;
    gap: 1px;
    background: #edf1e8;
  }

  .feature-card {
    border-right: 0;
    border-bottom: 0;
    background: #fff;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    padding: 18px 14px;
  }

  .feature-card:last-child {
    border-bottom: 0;
  }

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

  .stats,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deal-grid,
  .city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deal-rail {
    grid-auto-columns: clamp(230px, calc((100% - 20px) / 2), 340px);
  }

  .deal-rail-wrap {
    padding: 0 50px;
  }

  .stat-item {
    border-right: 1px solid #dbe3ce;
    border-bottom: 1px solid #dbe3ce;
  }

  .stat-item:nth-child(2n) {
    border-right: 0;
  }

  .stat-item:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .city-cta {
    padding-block: 64px;
  }

  .newsletter {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px;
  }

  .newsletter p {
    margin-inline: auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0 16px;
  }

  .brand {
    font-size: 25px;
  }

  .hero {
    min-height: auto;
    padding-inline: 14px;
    padding-bottom: 66px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    margin-bottom: 28px;
    font-size: 16px;
  }

  .search-panel label,
  .category-dropdown {
    min-height: 52px;
    padding: 0 16px;
  }

  .select-control {
    padding-right: 38px !important;
  }

  .select-control::after {
    right: 16px;
  }

  .category-menu {
    left: 12px;
    width: calc(100% - 24px);
  }

  .search-btn {
    width: 100%;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
  }

  .trust-strip span {
    width: 100%;
    margin-inline: auto;
    grid-template-columns: 34px 1fr;
    gap: 9px;
    min-height: 48px;
    padding: 6px 10px 6px 6px;
    font-size: 12px;
  }

  .trust-strip svg {
    width: 34px;
    height: 34px;
    padding: 8px;
  }

  .feature-categories {
    margin-top: -24px;
    width: min(100% - 24px, 720px);
    padding: 10px;
  }

  .feature-card {
    grid-template-columns: 42px 1fr;
    gap: 10px;
    min-height: auto;
    padding: 14px 10px;
  }

  .feature-card img {
    grid-column: 1 / -1;
    justify-self: center;
    max-height: 70px;
  }

  .round-icon {
    width: 42px;
    height: 42px;
  }

  .round-icon svg {
    width: 22px;
    height: 22px;
  }

  .feature-card h2 {
    font-size: 15px;
  }

  .feature-card p {
    font-size: 12px;
  }

  .section-heading,
  .section-heading.split-mobile {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading.centered {
    align-items: center;
  }

  .popular-card {
    grid-template-columns: 1fr;
    min-height: 172px;
    padding: 16px 12px;
  }

  .popular-card img {
    justify-self: center;
    margin-top: 10px;
    max-height: 82px;
  }

  .popular-card h3 {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .deal-grid,
  .city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deal-rail {
    grid-auto-columns: minmax(230px, 100%);
  }

  .deal-rail-wrap {
    padding: 0 42px;
  }

  .rail-btn {
    width: 36px;
    height: 36px;
  }

  .rail-btn svg {
    width: 20px;
    height: 20px;
  }

  .deal-card {
    min-height: 230px;
  }

  .stats {
    width: min(100% - 28px, 520px);
  }

  .stat-item {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    min-height: 178px;
    padding: 22px 12px;
    text-align: center;
  }

  .stat-icon {
    width: 58px;
    height: 58px;
  }

  .stat-icon svg {
    width: 28px;
    height: 28px;
  }

  .stat-number {
    font-size: 30px;
  }

  .stat-copy p {
    font-size: 13px;
  }

  .why-card {
    min-height: 166px;
    padding: 20px 12px;
  }

  .why-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
  }

  .why-icon svg {
    width: 25px;
    height: 25px;
  }

  .why-grid h3 {
    min-height: 24px;
    font-size: 15px;
  }

  .why-grid p {
    font-size: 12px;
    line-height: 1.4;
  }

  .city-cta {
    min-height: auto;
    padding: 58px 18px;
  }

  .city-cta::before {
    background-image:
      linear-gradient(180deg, rgba(255, 241, 214, 0.82), rgba(255, 241, 214, 0.68)),
      url("../assets/city-banner.jpg");
    background-position: center;
  }

  .city-cta h2 {
    font-size: 30px;
  }

  .newsletter form {
    grid-template-columns: 1fr;
    gap: 10px;
    border-radius: 8px;
  }

  .search-popup {
    place-items: start center;
    padding-top: 82px;
  }

  .popup-search-form {
    grid-template-columns: 1fr;
    border-radius: 8px;
  }

  .popup-search-form .btn {
    width: 100%;
  }

  .newsletter input {
    min-height: 48px;
    text-align: center;
  }

  .newsletter .btn {
    width: 100%;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .footer-grid > div:last-child h2 {
    grid-column: 1 / -1;
  }

  .store-badge {
    width: 100%;
    min-height: 58px;
    margin-bottom: 0;
    padding: 9px 10px;
    grid-template-columns: 24px 1fr;
  }

  .store-badge svg {
    width: 24px;
    height: 24px;
  }

  .store-badge strong {
    font-size: 15px;
  }
}

@media (max-width: 380px) {
  .feature-categories,
  .popular-grid,
  .trust-strip,
  .stats,
  .why-grid,
  .city-grid {
    grid-template-columns: 1fr;
  }
}


/* Auth pages */
.auth-body {
  background: #f4f8ef;
}

body.auth-body .auth-site-header {
  justify-content: space-between;
  gap: 24px;
}

.auth-top-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-top-nav a {
  color: #151515;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 8px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.auth-top-nav a:hover {
  color: #238d1d;
  background: #edf8e9;
  transform: translateY(-1px);
}

.auth-top-nav .auth-top-cta {
  color: #151515;
  background: #ffc400;
  padding: 13px 22px;
}

.auth-top-nav .auth-top-cta:hover {
  color: #151515;
  background: #ffcf25;
}

.auth-page {
  min-height: calc(100vh - 84px);
  display: grid;
  place-items: center;
  padding: clamp(32px, 5vw, 68px) 24px;
  background:
    linear-gradient(120deg, rgba(244, 248, 239, 0.96), rgba(255, 255, 255, 0.84)),
    url("../assets/city-banner.jpg") center / cover fixed;
}

.auth-shell {
  width: min(1160px, 100%);
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 500px);
  background: #fff;
  border: 1px solid rgba(35, 141, 29, 0.13);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(20, 42, 16, 0.14);
}

.auth-shell-register {
  grid-template-columns: minmax(320px, 0.9fr) minmax(380px, 540px);
}

.auth-visual {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  padding: clamp(30px, 5vw, 56px);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(14, 19, 13, 0.08), rgba(14, 19, 13, 0.76)),
    url("../assets/hero-bg.jpg") center / cover;
}

.auth-visual-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.auth-badge,
.auth-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-badge {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 9px 14px;
  backdrop-filter: blur(8px);
}

.auth-visual h1 {
  margin: 18px 0 14px;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.auth-visual p {
  max-width: 460px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
}

.auth-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.auth-proof-grid span {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
}

.auth-proof-grid strong {
  color: #ffc400;
  font-size: 26px;
  line-height: 1;
}

.auth-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 56px);
}

.auth-kicker {
  color: #238d1d;
  background: #edf8e9;
  padding: 8px 13px;
}

.auth-card h2 {
  margin: 18px 0 10px;
  color: #111;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.12;
}

.auth-intro {
  margin: 0 0 28px;
  color: #666;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-form label {
  display: grid;
  gap: 8px;
}

.auth-form label > span {
  color: #222;
  font-size: 14px;
  font-weight: 600;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid #dfe6d9;
  border-radius: 8px;
  background: #fff;
  color: #171717;
  font: inherit;
  font-size: 15px;
  padding: 0 16px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.auth-form textarea {
  min-height: 120px;
  padding-top: 14px;
  resize: vertical;
}

.auth-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #238d1d 50%),
    linear-gradient(135deg, #238d1d 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
  border-color: #35b52d;
  box-shadow: 0 0 0 4px rgba(53, 181, 45, 0.14);
}

.register-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.register-wide {
  grid-column: 1 / -1;
}

.register-form em {
  color: #e33232;
  font-style: normal;
}

.register-form small {
  color: #777;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 400;
}

.register-option-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid #dfe6d9;
  border-radius: 8px;
  background: #fbfcf9;
}

.register-option-group legend {
  padding: 0 7px;
  color: #222;
  font-size: 14px;
  font-weight: 700;
}

.register-radio {
  display: inline-flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 9px !important;
  color: #555;
  cursor: pointer;
}

.register-radio input {
  width: 19px;
  min-height: 19px;
  height: 19px;
  margin: 0;
  padding: 0;
  accent-color: #35b52d;
}

.register-radio span {
  font-size: 15px !important;
  font-weight: 500 !important;
}

.auth-shell-register {
  grid-template-columns: minmax(290px, 0.65fr) minmax(620px, 1.35fr);
}

.auth-shell-register .auth-card {
  justify-content: flex-start;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.auth-check {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 10px !important;
  color: #555;
  font-size: 14px;
  cursor: pointer;
}

.auth-check input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  accent-color: #35b52d;
  padding: 0;
}

.auth-check span {
  font-weight: 500 !important;
}

.auth-terms {
  align-items: flex-start;
  line-height: 1.55;
}

.auth-link {
  color: #238d1d;
  font-weight: 700;
}

.auth-link:hover {
  color: #ffc400;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.auth-submit,
.auth-alt-button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.auth-submit {
  border: 0;
  color: #fff;
  background: #35b52d;
  box-shadow: 0 14px 30px rgba(53, 181, 45, 0.22);
}

.auth-submit:hover,
.auth-alt-button:hover {
  transform: translateY(-2px);
}

.auth-submit:hover {
  background: #238d1d;
  box-shadow: 0 18px 34px rgba(35, 141, 29, 0.28);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  color: #8a8a8a;
  font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #e5e8df;
}

.auth-alt-button {
  color: #151515;
  background: #ffc400;
}

.auth-alt-button:hover {
  color: #151515;
  background: #ffcf25;
  box-shadow: 0 14px 30px rgba(255, 196, 0, 0.22);
}

/* Inner pages */
.inner-body {
  background: #f4f8ef;
}

.inner-page {
  min-height: calc(100vh - 84px);
  padding: clamp(30px, 5vw, 64px) 24px 70px;
  background:
    linear-gradient(180deg, rgba(244, 248, 239, 0.95), #fff 42%),
    url("../assets/city-banner.jpg") top center / 100% auto no-repeat;
}

.inner-hero,
.sell-hero {
  width: min(1180px, 100%);
  margin: 0 auto 28px;
  border-radius: 8px;
}

.compact-hero {
  padding: clamp(26px, 4vw, 46px);
  background: #fff;
  border: 1px solid rgba(35, 141, 29, 0.12);
  box-shadow: 0 18px 50px rgba(20, 42, 16, 0.1);
}

.inner-hero h1,
.sell-hero h1 {
  margin: 16px 0 10px;
  color: #111;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.inner-hero p,
.sell-hero p,
.checkout-summary p {
  max-width: 720px;
  margin: 0;
  color: #646464;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}

.cart-layout,
.checkout-layout,
.sell-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.cart-list,
.checkout-form,
.sell-form {
  display: grid;
  gap: 16px;
}

.cart-item,
.order-summary,
.form-panel,
.seller-tips {
  background: #fff;
  border: 1px solid rgba(35, 141, 29, 0.12);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(20, 42, 16, 0.08);
}

.cart-item {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
}

.cart-item img {
   
  border-radius: 8px;
  background: #f4f8ef;
}

.cart-item h2,
.order-summary h2,
.form-panel h2,
.seller-tips h2 {
  margin: 0;
  color: #141414;
  font-size: 22px;
  line-height: 1.2;
}

.cart-item p {
  margin: 8px 0 14px;
  color: #6b6b6b;
  font-size: 15px;
  font-weight: 400;
}

.cart-item > strong {
  color: #238d1d;
  font-size: 22px;
}

.cart-meta {
  display: inline-grid;
  grid-template-columns: 34px 36px 34px;
  align-items: center;
  overflow: hidden;
  width: fit-content;
  border: 1px solid #dfe6d9;
  border-radius: 8px;
}

.cart-meta button {
  width: 34px;
  height: 34px;
  border: 0;
  color: #238d1d;
  background: #edf8e9;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.cart-meta button:hover {
  color: #fff;
  background: #35b52d;
}

.cart-meta span {
  text-align: center;
  color: #111;
  font-weight: 700;
}

.order-summary,
.seller-tips {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
  padding: 24px;
}

.order-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #666;
  font-size: 15px;
}

.order-summary strong {
  color: #151515;
}

.order-summary .summary-total {
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid #e3e8dc;
  color: #111;
  font-size: 20px;
  font-weight: 800;
}

.order-summary .auth-submit,
.order-summary .auth-alt-button {
  width: 100%;
  text-align: center;
}

.form-panel {
  padding: clamp(22px, 4vw, 30px);
}

.form-panel h2 {
  margin-bottom: 20px;
}

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

.form-grid label {
  display: grid;
  gap: 8px;
}

.form-grid span {
  color: #222;
  font-size: 14px;
  font-weight: 600;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid #dfe6d9;
  border-radius: 8px;
  background: #fff;
  color: #171717;
  font: inherit;
  font-size: 15px;
  padding: 0 16px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-grid textarea {
  min-height: 140px;
  padding-top: 14px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: #35b52d;
  box-shadow: 0 0 0 4px rgba(53, 181, 45, 0.14);
}

.wide-field {
  grid-column: 1 / -1;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.payment-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid #dfe6d9;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.payment-options label:hover {
  border-color: #35b52d;
  background: #f5fbf2;
}

.payment-options input {
  accent-color: #35b52d;
}

.sell-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: end;
  padding: clamp(30px, 5vw, 56px);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(15, 23, 13, 0.88), rgba(15, 23, 13, 0.42)),
    url("../assets/hero-bg.jpg") center / cover;
  box-shadow: 0 18px 50px rgba(20, 42, 16, 0.14);
}

.sell-hero h1,
.sell-hero p {
  color: #fff;
}

.sell-hero p {
  color: rgba(255, 255, 255, 0.86);
}

.sell-hero-stats {
  display: grid;
  gap: 12px;
}

.sell-hero-stats span {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
}

.sell-hero-stats strong {
  color: #ffc400;
  font-size: 28px;
}

.seller-tips ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seller-tips li {
  position: relative;
  padding-left: 26px;
  color: #606060;
  font-size: 15px;
  line-height: 1.55;
}

.seller-tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #35b52d;
  box-shadow: 0 0 0 5px #edf8e9;
}

.detailed-sell-form em,
.field-label em {
  color: #e33232;
  font-style: normal;
}

.form-panel-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e3e8dc;
}

.form-panel-heading h2 {
  margin-bottom: 4px;
}

.form-panel-heading p {
  margin: 0;
  color: #777;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
}

.panel-step {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #35b52d;
  font-size: 17px;
  font-weight: 800;
}

.sell-option-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  min-width: 0;
  min-height: 54px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #dfe6d9;
  border-radius: 8px;
}

.sell-option-group legend {
  padding: 0 5px;
  color: #222;
  font-size: 13px;
  font-weight: 700;
}

.sell-option-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #555;
  cursor: pointer;
}

.sell-option-group input,
.premium-options input {
  accent-color: #35b52d;
}

.field-label {
  display: block;
  margin-bottom: 9px;
  color: #222;
  font-size: 14px;
  font-weight: 600;
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.upload-box {
  min-height: 126px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px !important;
  padding: 16px;
  border: 1px dashed #a9cfa5;
  border-radius: 8px;
  background: #f7fbf5;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.upload-box:hover {
  border-color: #35b52d;
  background: #edf8e9;
  transform: translateY(-2px);
}

.upload-box input {
  width: 100%;
  min-height: auto;
  border: 0;
  padding: 0;
  font-size: 12px;
}

.upload-box strong {
  color: #222;
  font-size: 14px;
}

.upload-box span {
  color: #777;
  font-size: 12px;
  font-weight: 400;
}

.form-grid input[readonly] {
  color: #555;
  background: #f4f7f1;
}

.form-grid .auth-check {
  min-height: 52px;
  display: flex !important;
  align-items: center;
  flex-direction: row;
  gap: 11px !important;
  padding: 13px 15px;
  border: 1px solid #dfe6d9;
  border-radius: 8px;
  background: #f7fbf5;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.form-grid .auth-check:hover {
  border-color: #35b52d;
  background: #edf8e9;
}

.form-grid .auth-check input[type="checkbox"] {
  width: 19px;
  min-width: 19px;
  max-width: 19px;
  min-height: 19px;
  height: 19px;
  margin: 0;
  padding: 0;
  border: 1px solid #aeb9a8;
  border-radius: 4px;
  box-shadow: none;
  accent-color: #35b52d;
  cursor: pointer;
}

.form-grid .auth-check span {
  color: #333;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
}

.premium-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.premium-options label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 14px;
  border: 1px solid #dfe6d9;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.premium-options label:hover {
  border-color: #35b52d;
  background: #f7fbf5;
  transform: translateY(-2px);
}

.premium-options span {
  display: grid;
  gap: 4px;
}

.premium-options strong,
.premium-options b {
  color: #222;
  font-size: 14px;
}

.premium-options small {
  color: #777;
  font-size: 12px;
  font-weight: 400;
}

.premium-options b {
  color: #238d1d;
}

.premium-total {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e3e8dc;
  color: #555;
  text-align: right;
  font-size: 15px;
  font-weight: 700;
}

.premium-total strong {
  color: #238d1d;
  font-size: 20px;
}

.sell-submit {
  width: min(100%, 260px);
}

.seller-tips .auth-kicker {
  margin-bottom: 2px;
}

 

 
@media (max-width: 980px) {
  .inner-page {
    min-height: calc(100vh - 72px);
    padding: 24px 16px 48px;
  }

  .cart-layout,
  .checkout-layout,
  .sell-layout,
  .sell-hero {
    grid-template-columns: 1fr;
  }

  .order-summary,
  .seller-tips {
    position: static;
  }

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

  .cart-item > strong {
    grid-column: 2;
  }

  .payment-options {
    grid-template-columns: 1fr;
  }

  .upload-grid,
  .premium-options {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
}

@media (max-width: 560px) {
  .inner-page {
    padding-inline: 12px;
  }

  .compact-hero,
  .sell-hero {
    padding: 24px 18px;
  }

  .inner-hero h1,
  .sell-hero h1 {
    font-size: 32px;
  }

  .cart-item {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .cart-item img {
    width: 88px;
  }

  .cart-item h2,
  .order-summary h2,
  .form-panel h2,
  .seller-tips h2 {
    font-size: 20px;
  }

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

  .sell-option-group {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-panel-heading {
    align-items: flex-start;
  }

  .sell-submit {
    width: 100%;
  }

  .footer-grid {
    width: min(100% - 32px, 520px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
    padding: 34px 0 26px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-grid h3 {
    font-size: 16px;
  }

  .footer-grid a,
  .footer-grid p {
    font-size: 14px;
  }
}

@media (max-width: 980px) {
  body.auth-body .auth-site-header {
    min-height: 72px;
    padding: 12px 18px;
  }

  .auth-top-nav {
    gap: 6px;
  }

  .auth-top-nav a {
    font-size: 14px;
    padding: 10px 12px;
  }

  .auth-top-nav .auth-top-cta {
    padding-inline: 16px;
  }

  .auth-page {
    min-height: calc(100vh - 72px);
    padding: 24px 16px 36px;
    background-attachment: scroll;
  }

  .auth-shell,
  .auth-shell-register {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    min-height: auto;
    padding: 28px;
  }

  .auth-card {
    padding: 30px 24px;
  }

  .auth-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body.auth-body .auth-site-header .brand {
    font-size: 30px;
  }

  .auth-top-nav {
    width: 100%;
    justify-content: flex-end;
  }

  .auth-top-nav a:first-child {
    display: none;
  }

  .auth-top-nav .auth-top-cta {
    display: none;
  }

  .auth-page {
    padding: 18px 12px 28px;
  }

  .auth-visual {
    padding: 24px;
  }

  .auth-visual h1 {
    font-size: 28px;
  }

  .auth-visual p {
    font-size: 15px;
  }

  .auth-card {
    padding: 26px 18px;
  }

  .auth-card h2 {
    font-size: 28px;
  }

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

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

  .register-wide {
    grid-column: auto;
  }

  .register-option-group {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
/* Homepage modern search */
.home-search-modern {
  position: relative;
  z-index: 30;
  width: min(1460px, calc(100% - 48px));
  margin-inline: auto;
  padding: 18px;
  overflow: visible !important;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(20, 42, 16, 0.16);
}

.modern-search-form {
  display: grid;
  grid-template-columns: minmax(210px, 0.95fr) minmax(220px, 1fr) minmax(300px, 1.45fr) minmax(150px, 0.58fr);
  gap: 14px;
  align-items: center;
}

.modern-search-control,
.location-picker-toggle {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #d9e2d4;
  border-radius: 8px;
  background: #fff;
  color: #333;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.modern-search-control:focus-within,
.location-picker.is-open .location-picker-toggle,
.location-picker-toggle:hover {
  border-color: #35b52d;
  background: #fbfef9;
  box-shadow: 0 0 0 4px rgba(53, 181, 45, 0.11);
}

.modern-search-control > svg:first-child,
.location-picker-toggle > svg:first-child {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  margin-left: 16px;
  fill: none;
  stroke: #229d28;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.location-picker {
  position: relative;
  min-width: 0;
}

.location-picker-toggle {
  padding: 0;
  font: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}

.location-picker-toggle [data-location-label] {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.control-chevron {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-right: 14px;
  fill: none;
  stroke: #229d28;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.location-picker.is-open .control-chevron {
  transform: rotate(180deg);
}

.location-picker-menu {
  position: absolute;
  z-index: 100;
  top: calc(100% + 9px);
  left: 0;
  width: 100%;
  min-width: 230px;
  display: none;
  padding: 9px;
  border: 1px solid #d9e2d4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(20, 42, 16, 0.2);
}

.location-picker.is-open .location-picker-menu {
  display: block;
  animation: searchMenuIn 0.2s ease;
}

.location-picker-menu input {
  width: 100%;
  height: 42px;
  border: 1px solid #d9e2d4;
  border-radius: 6px;
  padding: 0 12px;
  color: #222;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.location-picker-menu input:focus {
  border-color: #35b52d;
  box-shadow: 0 0 0 3px rgba(53, 181, 45, 0.12);
}

.location-picker-list {
  max-height: 220px;
  overflow-y: auto;
  display: grid;
  gap: 3px;
  margin-top: 8px;
}

.location-picker-list button {
  width: 100%;
  min-height: 39px;
  border: 0;
  border-radius: 6px;
  padding: 0 11px;
  color: #333;
  background: transparent;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.location-picker-list button:hover {
  color: #fff;
  background: #35b52d;
}

.select-control select,
.keyword-control input {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #333;
  font: inherit;
  font-size: 15px;
}

.select-control select {
  appearance: none;
  cursor: pointer;
}

.keyword-control input {
  padding-right: 14px;
}

.modern-search-submit {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 8px;
  color: #171717;
  background: #ffc400;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.modern-search-submit:hover {
  background: #ffd02c;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 196, 0, 0.24);
}

.modern-search-submit svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

@keyframes searchMenuIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .home-search-modern {
    width: min(100% - 32px, 760px);
    padding: 14px;
  }

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

@media (max-width: 560px) {
  .home-search-modern {
    width: calc(100% - 24px);
    padding: 12px;
  }

  .modern-search-form {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .modern-search-control,
  .location-picker-toggle,
  .modern-search-submit {
    min-height: 50px;
  }

  .select-control select,
  .keyword-control input {
    min-height: 48px;
  }

  .location-picker-menu {
    min-width: 100%;
  }
}
/* Search location field only */
.location-field-enhanced {
  position: relative !important;
  z-index: 80 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 100% !important;
  align-self: stretch !important;
  flex: 1 1 100% !important;
  overflow: visible !important;
  padding: 0 !important;
}

.location-field-toggle {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 68px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  border: 0;
  padding: 0 20px;
  color: #222;
  background: transparent;
  font: inherit;
  font-size: inherit;
  text-align: left;
  cursor: pointer;
}

.location-field-toggle > svg:first-child {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: #239c28;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.location-field-toggle [data-location-value] {
  display: block !important;
  position: static !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  color: #222 !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  transform: none !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-field-chevron {
  width: 18px;
  height: 18px;
  margin-left: 0;
  justify-self: end;
  grid-column: 3;
  fill: none;
  stroke: #239c28;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.location-field-enhanced.is-open .location-field-chevron {
  transform: rotate(180deg);
}

.location-field-menu {
  position: absolute;
  z-index: 999;
  top: calc(100% + 8px);
  left: 0;
  width: max(100%, 240px);
  display: none;
  padding: 9px;
  border: 1px solid #d9e2d4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(20, 42, 16, 0.2);
}

.location-field-enhanced.is-open .location-field-menu {
  display: block;
}

.location-field-menu input {
  width: 100%;
  height: 42px;
  border: 1px solid #d9e2d4;
  border-radius: 6px;
  padding: 0 12px;
  color: #222;
  background: #fff;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.location-field-menu input:focus {
  border-color: #35b52d;
  box-shadow: 0 0 0 3px rgba(53, 181, 45, 0.12);
}

.location-field-options {
  max-height: 220px;
  overflow-y: auto;
  display: grid;
  gap: 3px;
  margin-top: 8px;
}

.location-field-options button {
  width: 100%;
  min-height: 39px;
  border: 0;
  border-radius: 6px;
  padding: 0 11px;
  color: #333;
  background: transparent;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.location-field-options button:hover {
  color: #fff;
  background: #35b52d;
}

@media (max-width: 560px) {
  .location-field-toggle {
    padding-inline: 15px;
  }

  .location-field-menu {
    width: 100%;
    min-width: 100%;
  }
}
/* Content inner pages */
.content-page {
  min-height: calc(100vh - 84px);
  padding-bottom: 70px;
  background: #fff;
}

.content-hero {
  min-height: 340px;
  display: flex;
  align-items: center;
  padding: 60px max(24px, calc((100% - 1180px) / 2));
  color: #fff;
  background:
    linear-gradient(90deg, rgba(15, 25, 13, 0.88), rgba(15, 25, 13, 0.34)),
    url("../assets/city-banner.jpg") center / cover;
}

.content-hero > div {
  max-width: 760px;
}

.content-hero h1 {
  margin: 18px 0 14px;
  color: #fff;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.04;
}

.content-hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
}

.story-section,
.values-section,
.process-section,
.features-page-section,
.contact-layout {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 64px;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 54px;
  align-items: center;
}

.section-label {
  color: #238d1d;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.story-copy h2,
.section-heading h2,
.contact-details h2 {
  margin: 12px 0 18px;
  color: #111;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

.story-copy p,
.info-grid p,
.process-grid p,
.feature-detail-grid p {
  color: #686868;
  line-height: 1.7;
  font-weight: 400;
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #dfe8da;
  border-radius: 8px;
  overflow: hidden;
  background: #f5faF2;
}

.story-stats article {
  min-height: 145px;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 20px;
  border: 1px solid #dfe8da;
  text-align: center;
}

.story-stats strong {
  color: #238d1d;
  font-size: 30px;
}

.story-stats span {
  color: #333;
  font-size: 14px;
  font-weight: 600;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.info-grid,
.feature-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-grid article,
.feature-detail-grid article,
.process-grid article {
  padding: 26px;
  border: 1px solid #e0e8dc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(20, 42, 16, 0.07);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.info-grid article:hover,
.feature-detail-grid article:hover,
.process-grid article:hover {
  border-color: #35b52d;
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(35, 141, 29, 0.13);
}

.info-grid article > span,
.feature-detail-grid article > span,
.process-grid article > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: #35b52d;
  font-size: 14px;
  font-weight: 800;
}

.info-grid h3,
.feature-detail-grid h3,
.process-grid h3 {
  margin: 0 0 8px;
  color: #151515;
  font-size: 21px;
}

.info-grid p,
.feature-detail-grid p,
.process-grid p {
  margin: 0;
  font-size: 15px;
}

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

.seller-process {
  margin-top: 10px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 22px;
}

.contact-submit {
  width: min(100%, 220px);
}

.contact-details {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 8px;
  background: #f1f8ed;
  border: 1px solid #dce9d6;
}

.contact-details h2 {
  margin-bottom: 4px;
  font-size: 30px;
}

.contact-details article {
  display: grid;
  gap: 5px;
  padding-top: 16px;
  border-top: 1px solid #d8e5d2;
}

.contact-details strong {
  color: #222;
  font-size: 14px;
}

.contact-details a,
.contact-details span {
  color: #606060;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
}

@media (max-width: 980px) {
  .content-page {
    min-height: calc(100vh - 72px);
  }

  .content-hero {
    min-height: 300px;
    padding: 46px 24px;
  }

  .story-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .info-grid,
  .feature-detail-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-details {
    position: static;
  }
}

@media (max-width: 560px) {
  .content-hero {
    min-height: 280px;
    padding: 38px 18px;
  }

  .content-hero h1 {
    font-size: 36px;
  }

  .story-section,
  .values-section,
  .process-section,
  .features-page-section,
  .contact-layout {
    width: calc(100% - 24px);
    padding-top: 42px;
  }

  .story-stats,
  .info-grid,
  .feature-detail-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-stats article {
    min-height: 120px;
    padding: 14px 8px;
  }

  .story-stats strong {
    font-size: 24px;
  }

  .info-grid article,
  .feature-detail-grid article,
  .process-grid article {
    padding: 18px 14px;
  }

  .contact-submit {
    width: 100%;
  }
}
/* Category listing page */
.listing-page {
  min-height: calc(100vh - 84px);
  padding: 42px 24px 72px;
  background: #f5f7f2;
}

.listing-page-heading,
.listing-search-strip,
.listing-layout,
.listing-mobile-actions {
 width: min(1680px, calc(100vw - 96px));
  margin-inline: auto;
}

.listing-page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.listing-page-heading h1 {
  margin: 14px 0 8px;
  color: #111;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
}

.listing-page-heading p {
  margin: 0;
  color: #666;
  font-size: 16px;
  font-weight: 400;
}

.listing-search-strip {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) minmax(200px, 0.8fr) 190px;
  gap: 14px;
  align-items: end;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid #e0e7dc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(20, 42, 16, 0.07);
}

.listing-search-strip label {
  display: grid;
  gap: 7px;
}

.listing-search-strip span {
  color: #333;
  font-size: 13px;
  font-weight: 700;
}

.listing-search-strip input,
.listing-search-strip select,
.price-filter input {
  width: 100%;
  min-height: 50px;
  border: 1px solid #dbe4d7;
  border-radius: 7px;
  padding: 0 14px;
  color: #222;
  background: #fff;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.listing-search-strip input:focus,
.listing-search-strip select:focus,
.price-filter input:focus {
  border-color: #35b52d;
  box-shadow: 0 0 0 3px rgba(53, 181, 45, 0.12);
}

.listing-search-strip > button,
.apply-filter {
  min-height: 50px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: #35b52d;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.listing-search-strip > button:hover,
.apply-filter:hover {
  background: #238d1d;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(35, 141, 29, 0.2);
}

.listing-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.listing-sidebar {
  display: grid;
  gap: 16px;
}

.listing-sidebar-head,
.listing-filter-backdrop,
.listing-mobile-actions {
  display: none;
}

.filter-panel {
  overflow: hidden;
  border: 1px solid #e0e7dc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 42, 16, 0.06);
}

.filter-panel-title {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid #e6ebe3;
  background: #fafcf8;
}

.filter-panel-title h3 {
  margin: 0;
  color: #161616;
  font-size: 17px;
}

.filter-panel-title button {
  border: 0;
  color: #238d1d;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.category-filter-list,
.location-filter-list {
  display: grid;
  padding: 7px;
}

.category-filter-featured {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 12px 10px 5px;
}

.category-filter-featured a {
  position: relative;
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 7px;
  background: #eef3eb;
}

.category-filter-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-filter-featured span {
  position: absolute;
  inset: auto 0 0;
  padding: 18px 5px 6px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-filter-featured a:hover img {
  transform: scale(1.08);
}

.category-filter-list label {
  min-height: 51px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-radius: 7px;
  padding: 7px 10px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.category-filter-list label:hover,
.category-filter-list label.active {
  background: #edf8e9;
}

.category-filter-list input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.filter-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #35b52d;
  font-size: 12px;
  font-weight: 800;
}

.filter-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.filter-icon svg rect {
  fill: none;
}

.category-filter-list label:first-child .filter-icon svg {
  fill: currentColor;
  stroke: none;
}

.category-filter-list label:nth-child(even) .filter-icon {
  background: #ffc400;
  color: #171717;
}

.category-filter-list strong,
.location-filter-list span {
  min-width: 0;
  color: #333;
  font-size: 14px;
  font-weight: 500;
}

.category-filter-list b,
.location-filter-list b {
  color: #7b7b7b;
  font-size: 12px;
}

.location-filter-list {
  padding: 10px 14px;
  gap: 2px;
}

.location-filter-list label {
  min-height: 40px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.location-filter-list input {
  width: 16px;
  height: 16px;
  accent-color: #35b52d;
}

.price-filter {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  padding: 16px 14px 10px;
}

.price-filter span {
  color: #888;
  font-size: 12px;
}

.apply-filter {
  width: calc(100% - 28px);
  margin: 0 14px 14px;
}

.listing-results {
  min-width: 0;
}

.listing-toolbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 12px 18px;
  border: 1px solid #e0e7dc;
  border-radius: 8px;
  background: #fff;
}

.listing-toolbar > div:first-child {
  display: grid;
  gap: 3px;
}

.listing-toolbar span {
  color: #777;
  font-size: 12px;
}

.listing-toolbar strong {
  color: #181818;
  font-size: 18px;
}

.listing-toolbar-actions,
.listing-toolbar-actions label,
.view-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
}

.listing-toolbar-actions select {
  min-height: 40px;
  border: 1px solid #dbe4d7;
  border-radius: 7px;
  padding: 0 32px 0 10px;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 13px;
}

.view-switcher {
  gap: 5px;
}

.view-switcher button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #dbe4d7;
  border-radius: 7px;
  color: #777;
  background: #fff;
  cursor: pointer;
}

.view-switcher button:hover,
.view-switcher button.active {
  border-color: #35b52d;
  color: #fff;
  background: #35b52d;
}

.view-switcher svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.view-switcher button:first-child svg {
  fill: currentColor;
  stroke: none;
}

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

.listing-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e0e7dc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(20, 42, 16, 0.07);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.listing-card:hover {
  border-color: #35b52d;
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(35, 141, 29, 0.13);
}

.listing-card-image {
  position: relative;
  display: block;
  aspect-ratio: 1.75;
  overflow: hidden;
  background: #eef3eb;
}

.listing-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.listing-card:hover .listing-card-image img {
  transform: scale(1.035);
}

.listing-card-image > span {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 7px 10px;
  border-radius: 6px;
  color: #fff;
  background: #35b52d;
  font-size: 11px;
  font-weight: 700;
}

.listing-card-image button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #555;
  background: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.listing-card-image button:hover,
.listing-card-image button.saved {
  color: #fff;
  background: #35b52d;
}

.listing-card-content {
  padding: 18px;
}

.listing-card-meta,
.listing-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.listing-card-meta span,
.listing-card-meta time {
  color: #777;
  font-size: 12px;
  font-weight: 500;
}

.listing-card h2 {
  margin: 11px 0 8px;
  font-size: 19px;
  line-height: 1.3;
}

.listing-card h2 a {
  color: #171717;
}

.listing-card h2 a:hover {
  color: #238d1d;
}

.listing-card p {
  margin: 0 0 16px;
  color: #707070;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400;
}

.listing-card-bottom {
  padding-top: 14px;
  border-top: 1px solid #ebeee8;
}

.listing-card-bottom strong {
  color: #238d1d;
  font-size: 19px;
}

.listing-card-bottom span {
  display: none;
}

.listing-grid.list-view {
  grid-template-columns: 1fr;
}

.listing-grid.list-view .listing-card {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
}

.listing-grid.list-view .listing-card-image {
  height: 100%;
  aspect-ratio: auto;
}

.listing-grid.list-view .listing-card-content {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.listing-sell-banner {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 30px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(20, 25, 18, 0.95), rgba(35, 141, 29, 0.7)),
    url("../assets/city-banner.jpg") center / cover;
}

.listing-sell-banner span {
  color: #ffc400;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.listing-sell-banner h2 {
  margin: 7px 0;
  color: #fff;
  font-size: 29px;
}

.listing-sell-banner p {
  max-width: 620px;
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
}

.listing-sell-banner a {
  flex: 0 0 auto;
  padding: 15px 22px;
  border-radius: 7px;
  color: #151515;
  background: #ffc400;
  font-size: 14px;
  font-weight: 800;
  transition: background 0.25s ease, transform 0.25s ease;
}

.listing-sell-banner a:hover {
  color: #151515;
  background: #ffd02c;
  transform: translateY(-2px);
}

.listing-pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 30px;
}

.listing-pagination a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #dbe4d7;
  border-radius: 7px;
  color: #333;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.listing-pagination a:hover,
.listing-pagination a.active {
  border-color: #35b52d;
  color: #fff;
  background: #35b52d;
}

@media (max-width: 980px) {
  .listing-page {
    min-height: calc(100vh - 72px);
    padding: 28px 16px 56px;
  }

  .listing-layout {
    grid-template-columns: 1fr;
  }

  .listing-mobile-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
  }

  .listing-mobile-actions button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 7px;
    padding: 0 16px;
    color: #fff;
    background: #35b52d;
    font: inherit;
    font-weight: 700;
  }

  .listing-mobile-actions svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
  }

  .listing-mobile-actions span {
    color: #666;
    font-size: 13px;
  }

  .listing-filter-backdrop {
    position: fixed;
    z-index: 150;
    inset: 0;
    display: block;
    pointer-events: none;
    opacity: 0;
    background: rgba(0,0,0,0.42);
    transition: opacity 0.25s ease;
  }

  .listing-sidebar {
    position: fixed;
    z-index: 160;
    top: 0;
    left: 0;
    width: min(360px, 88vw);
    height: 100vh;
    overflow-y: auto;
    align-content: start;
    padding: 16px;
    background: #f5f7f2;
    transform: translateX(-105%);
    transition: transform 0.3s ease;
  }

  .filters-open {
    overflow: hidden;
  }

  .filters-open .listing-sidebar {
    transform: translateX(0);
  }

  .filters-open .listing-filter-backdrop {
    pointer-events: auto;
    opacity: 1;
  }

  .listing-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 2px 8px;
  }

  .listing-sidebar-head h2 {
    margin: 0;
    font-size: 24px;
  }

  .listing-sidebar-head button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 7px;
    background: #fff;
    font-size: 26px;
  }

  .listing-grid,
  .listing-grid:not(.list-view) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-grid.list-view {
    grid-template-columns: 1fr;
  }

  .listing-grid.list-view .listing-card {
    grid-template-columns: 210px minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .listing-page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .listing-search-strip {
    grid-template-columns: 1fr;
  }

  .listing-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .listing-toolbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .listing-grid.list-view .listing-card {
    display: grid;
    grid-template-columns: minmax(130px, 38%) minmax(0, 1fr);
  }

  .listing-grid.list-view .listing-card-image {
    min-height: 150px;
    aspect-ratio: auto;
  }

  .listing-grid.list-view .listing-card p {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
  }

  .listing-grid.list-view .listing-card-bottom span {
    display: inline;
  }

  .listing-sell-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .listing-grid {
    gap: 10px;
  }

  .listing-card-content {
    padding: 12px;
  }

  .listing-card h2 {
    margin-block: 8px 6px;
    font-size: 15px;
  }

  .listing-card p {
    display: none;
  }

  .listing-card-bottom {
    padding-top: 10px;
  }

  .listing-card-bottom strong {
    font-size: 15px;
  }

  .listing-card-bottom span {
    display: none;
  }
}

@media (max-width: 480px) {
  .listing-page {
    padding-inline: 12px;
  }

  .listing-page-heading h1 {
    font-size: 36px;
  }

  .listing-toolbar-actions,
  .listing-toolbar-actions label {
    align-items: flex-start;
    flex-direction: column;
  }

  .listing-toolbar-actions select {
    width: 100%;
  }

  .listing-card-image > span {
    left: 7px;
    top: 7px;
    padding: 5px 7px;
    font-size: 9px;
  }

  .listing-card-image button {
    top: 7px;
    right: 7px;
    width: 31px;
    height: 31px;
    font-size: 16px;
  }

  .listing-card-meta span,
  .listing-card-meta time {
    font-size: 10px;
  }

  .listing-grid.list-view .listing-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .listing-grid.list-view .listing-card-image {
    min-height: 138px;
  }

  .listing-grid.list-view .listing-card-content {
    padding: 10px;
  }

  .listing-grid.list-view .listing-card p,
  .listing-grid.list-view .listing-card-bottom span {
    display: none;
  }
}
/* Category details page */
.detail-page {
  min-height: calc(100vh - 84px);
  padding: 24px 24px 72px;
  background: #f5f7f2;
}

.detail-breadcrumb,
.detail-top-layout,
.detail-content-layout,
.related-listings {
  width: min(1240px, 100%);
  margin-inline: auto;
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #777;
  font-size: 12px;
}

.detail-breadcrumb a {
  color: #238d1d;
}

.detail-breadcrumb strong {
  color: #444;
  font-weight: 600;
}

.detail-top-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.75fr);
  gap: 22px;
  align-items: start;
}

.detail-gallery,
.detail-summary,
.detail-panel,
.detail-safety,
.detail-side-ad,
.related-listing-grid article {
  border: 1px solid #e0e7dc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(20, 42, 16, 0.07);
}

.detail-gallery {
  overflow: hidden;
  padding: 12px;
}

.detail-main-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.65;
  border-radius: 7px;
  background: #eef3eb;
}

.detail-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.detail-featured-badge,
.detail-image-count {
  position: absolute;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.detail-featured-badge {
  left: 14px;
  background: #35b52d;
}

.detail-image-count {
  right: 14px;
  background: rgba(0, 0, 0, 0.58);
}

.detail-save {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #555;
  background: #fff;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.16);
}

.detail-save:hover,
.detail-save.saved {
  color: #fff;
  background: #35b52d;
}

.detail-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.detail-thumbnails button {
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 1.65;
  border: 2px solid transparent;
  border-radius: 7px;
  padding: 0;
  background: #eef3eb;
  cursor: pointer;
}

.detail-thumbnails button:hover,
.detail-thumbnails button.active {
  border-color: #35b52d;
}

.detail-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-summary {
  position: sticky;
  top: 104px;
  padding: 26px;
}

.detail-summary-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.detail-summary-meta span {
  padding: 7px 10px;
  border-radius: 6px;
  color: #238d1d;
  background: #edf8e9;
  font-size: 11px;
  font-weight: 700;
}

.detail-summary-meta time,
.detail-location,
.detail-negotiable {
  color: #777;
  font-size: 12px;
  font-weight: 500;
}

.detail-summary h1 {
  margin: 18px 0 8px;
  color: #111;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
}

.detail-location {
  margin: 0 0 20px;
}

.detail-price {
  display: block;
  color: #238d1d;
  font-size: 32px;
}

.detail-negotiable {
  display: block;
  margin-top: 4px;
}

.detail-actions {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.detail-primary-action,
.detail-secondary-action {
  min-height: 52px;
  border-radius: 7px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.detail-primary-action {
  border: 0;
  color: #fff;
  background: #35b52d;
}

.detail-secondary-action {
  border: 1px solid #35b52d;
  color: #238d1d;
  background: #fff;
}

.detail-primary-action:hover,
.detail-secondary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(35, 141, 29, 0.16);
}

.detail-primary-action:hover {
  background: #238d1d;
}

.detail-secondary-action:hover {
  background: #edf8e9;
}

.detail-seller {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid #e9eee6;
  border-bottom: 1px solid #e9eee6;
}

.seller-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #35b52d;
  font-size: 14px;
  font-weight: 800;
}

.detail-seller span,
.detail-seller p {
  margin: 0;
  color: #777;
  font-size: 11px;
}

.detail-seller h2 {
  margin: 3px 0;
  color: #222;
  font-size: 16px;
}

.detail-seller > strong {
  color: #238d1d;
  font-size: 11px;
}

.detail-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.detail-quick-actions button {
  min-height: 38px;
  border: 1px solid #dfe6da;
  border-radius: 7px;
  color: #555;
  background: #fafcf9;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.detail-quick-actions button:hover {
  border-color: #35b52d;
  color: #238d1d;
}

.detail-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 22px;
  align-items: start;
  margin-top: 22px;
}

.detail-main-content,
.detail-side-content {
  display: grid;
  gap: 18px;
}

.detail-panel {
  padding: 26px;
}

.detail-panel-heading {
  margin-bottom: 22px;
}

.detail-panel-heading h2 {
  margin: 10px 0 0;
  color: #171717;
  font-size: 25px;
}

.detail-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.detail-spec-grid article {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-radius: 7px;
  background: #f5f9f2;
}

.detail-spec-grid span {
  color: #777;
  font-size: 11px;
}

.detail-spec-grid strong {
  color: #222;
  font-size: 13px;
}

.detail-description p {
  margin: 0 0 14px;
  color: #626262;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 400;
}

.detail-map {
  min-height: 180px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background:
    linear-gradient(rgba(35, 141, 29, 0.8), rgba(35, 141, 29, 0.78)),
    url("../assets/city-banner.jpg") center / cover;
  text-align: center;
}

.detail-map span {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.detail-map p {
  margin: 7px 0 0;
  color: rgba(255,255,255,0.84);
  font-size: 13px;
  font-weight: 400;
}

.detail-safety,
.detail-side-ad {
  padding: 22px;
}

.detail-safety h2,
.detail-side-ad h2 {
  margin: 0 0 16px;
  color: #181818;
  font-size: 21px;
}

.detail-safety ul {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.detail-safety li {
  position: relative;
  padding-left: 22px;
  color: #666;
  font-size: 12px;
  line-height: 1.55;
}

.detail-safety li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #35b52d;
  box-shadow: 0 0 0 4px #edf8e9;
}

.detail-safety a {
  color: #238d1d;
  font-size: 12px;
  font-weight: 700;
}

.detail-side-ad {
  color: #fff;
  background:
    linear-gradient(rgba(20,25,18,0.78), rgba(20,25,18,0.78)),
    url("../assets/hero-bg.jpg") center / cover;
}

.detail-side-ad span {
  color: #ffc400;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-side-ad h2 {
  margin: 9px 0 18px;
  color: #fff;
  font-size: 24px;
}

.detail-side-ad a {
  display: inline-flex;
  padding: 12px 16px;
  border-radius: 7px;
  color: #171717;
  background: #ffc400;
  font-size: 12px;
  font-weight: 800;
}

.related-listings {
  padding-top: 54px;
}

.related-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-listing-grid article {
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.related-listing-grid article:hover {
  border-color: #35b52d;
  transform: translateY(-4px);
}

.related-listing-grid article > a {
  display: block;
  aspect-ratio: 1.8;
  overflow: hidden;
  background: #eef3eb;
}

.related-listing-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-listing-grid article > div {
  padding: 16px;
}

.related-listing-grid span {
  color: #238d1d;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.related-listing-grid h3 {
  margin: 7px 0 12px;
  font-size: 17px;
}

.related-listing-grid h3 a {
  color: #171717;
}

.related-listing-grid strong {
  color: #238d1d;
  font-size: 17px;
}

.seller-message-modal {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.seller-message-modal.open {
  pointer-events: auto;
  opacity: 1;
}

.seller-message-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0,0,0,0.52);
}

.seller-message-panel {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  display: grid;
  gap: 15px;
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,0.24);
}

.seller-message-panel > button:first-child {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 7px;
  background: #f1f5ee;
  font-size: 23px;
  cursor: pointer;
}

.seller-message-panel h2 {
  margin: 2px 0 6px;
  font-size: 26px;
}

.seller-message-panel label {
  display: grid;
  gap: 7px;
}

.seller-message-panel label span {
  font-size: 13px;
  font-weight: 600;
}

.seller-message-panel input,
.seller-message-panel textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #dbe4d7;
  border-radius: 7px;
  padding: 0 13px;
  font: inherit;
  outline: none;
}

.seller-message-panel textarea {
  min-height: 105px;
  padding-top: 12px;
  resize: vertical;
}

@media (max-width: 980px) {
  .detail-page {
    min-height: calc(100vh - 72px);
    padding: 18px 16px 56px;
  }

  .detail-top-layout,
  .detail-content-layout {
    grid-template-columns: 1fr;
  }

  .detail-summary {
    position: static;
  }

  .detail-side-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .detail-spec-grid,
  .related-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-side-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .detail-page {
    padding-inline: 12px;
  }

  .detail-gallery {
    padding: 8px;
  }

  .detail-main-image {
    aspect-ratio: 1.35;
  }

  .detail-thumbnails {
    gap: 6px;
  }

  .detail-summary,
  .detail-panel,
  .detail-safety,
  .detail-side-ad {
    padding: 18px;
  }

  .detail-spec-grid,
  .related-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-spec-grid article {
    padding: 11px;
  }

  .related-listing-grid {
    gap: 10px;
  }

  .related-listing-grid article > div {
    padding: 12px;
  }
}
/* Classifieds category directory */
.classifieds-directory {
  min-height: calc(100vh - 84px);
  padding-bottom: 72px;
  background: #f5f7f2;
}

.classifieds-directory-hero {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 48px max(24px, calc((100% - 1180px) / 2));
  color: #fff;
  background:
    linear-gradient(90deg, rgba(15, 25, 13, 0.9), rgba(15, 25, 13, 0.4)),
    url("../assets/city-banner.jpg") center / cover;
}

.classifieds-directory-hero > div {
  max-width: 700px;
}

.classifieds-directory-hero h1 {
  margin: 16px 0 10px;
  color: #fff;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.04;
}

.classifieds-directory-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
}

.classifieds-directory-hero > a {
  flex: 0 0 auto;
  padding: 15px 24px;
  border-radius: 8px;
  color: #151515;
  background: #ffc400;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease;
}

.classifieds-directory-hero > a:hover {
  color: #151515;
  background: #ffd02c;
  transform: translateY(-2px);
}

.classifieds-category-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 52px;
}

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

.classifieds-section-heading h2 {
  margin: 10px 0 0;
  color: #111;
  font-size: clamp(30px, 4vw, 44px);
}

.classifieds-section-heading > strong {
  padding: 9px 12px;
  border-radius: 7px;
  color: #238d1d;
  background: #edf8e9;
  font-size: 12px;
}

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

.classifieds-category-card {
  min-width: 0;
  min-height: 112px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border: 1px solid #e0e7dc;
  border-radius: 8px;
  color: #171717;
  background: #fff;
  box-shadow: 0 12px 32px rgba(20, 42, 16, 0.06);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.classifieds-category-card:hover {
  color: #171717;
  border-color: #35b52d;
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(35, 141, 29, 0.13);
}

.classifieds-category-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #35b52d;
}

.classifieds-category-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fashion-icon,
.jobs-icon,
.business-icon {
  color: #171717;
  background: #ffc400;
}

.hobby-icon {
  background: #2e9fcd;
}

.pets-icon {
  background: #e85b67;
}

.education-icon {
  background: #ef7941;
}

.home-icon {
  background: #6ba84f;
}

.classifieds-category-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.classifieds-category-copy strong {
  overflow: hidden;
  color: #171717;
  font-size: 18px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.classifieds-category-copy small {
  overflow: hidden;
  color: #777;
  font-size: 13px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.classifieds-category-copy b {
  color: #238d1d;
  font-weight: 700;
}

.classifieds-category-arrow {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #238d1d;
  background: #edf8e9;
  font-size: 22px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.classifieds-category-card:hover .classifieds-category-arrow {
  color: #fff;
  background: #35b52d;
  transform: translateX(3px);
}

@media (max-width: 980px) {
  .classifieds-directory {
    min-height: calc(100vh - 72px);
  }

  .classifieds-directory-hero {
    min-height: 250px;
    padding: 40px 24px;
  }
}

@media (max-width: 680px) {
  .classifieds-directory-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 36px 18px;
  }

  .classifieds-directory-hero h1 {
    font-size: 38px;
  }

  .classifieds-category-section {
    width: calc(100% - 24px);
    padding-top: 38px;
  }

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

  .classifieds-category-card {
    min-height: 160px;
    grid-template-columns: 1fr;
    place-items: center;
    gap: 10px;
    padding: 16px 10px;
    text-align: center;
  }

  .classifieds-category-icon {
    width: 54px;
    height: 54px;
  }

  .classifieds-category-copy {
    width: 100%;
  }

  .classifieds-category-copy strong {
    font-size: 14px;
    white-space: normal;
  }

  .classifieds-category-copy small {
    font-size: 11px;
    white-space: normal;
  }

  .classifieds-category-arrow {
    display: none;
  }
}
/* Simple classifieds list */
.simple-classifieds-page {
  min-height: calc(100vh - 84px);
  padding: 46px 24px 70px;
  background: #f4f6f1;
}

.simple-classifieds-panel {
  width: min(820px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #e0e6dc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(20, 42, 16, 0.08);
}

.simple-classifieds-heading {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid #e3e9df;
  background: #fafcf8;
}

.simple-classifieds-heading h1 {
  margin: 10px 0 0;
  color: #171717;
  font-size: 32px;
}

.simple-classifieds-heading > span {
  padding: 8px 11px;
  border-radius: 6px;
  color: #238d1d;
  background: #edf8e9;
  font-size: 12px;
  font-weight: 700;
}

.simple-classifieds-list {
  display: grid;
}

.simple-classifieds-list > a {
  min-height: 82px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 26px;
  border-bottom: 1px solid #e7ebe4;
  color: #222;
  background: #fff;
  transition: color 0.22s ease, background 0.22s ease, padding 0.22s ease;
}

.simple-classifieds-list > a:last-child {
  border-bottom: 0;
}

.simple-classifieds-list > a:hover {
  color: #238d1d;
  background: #f4faf1;
  padding-left: 31px;
}

.simple-category-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #35b52d;
}

.simple-category-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.simple-classifieds-list strong {
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
}

.simple-classifieds-list b {
  color: #777;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 560px) {
  .simple-classifieds-page {
    min-height: calc(100vh - 72px);
    padding: 20px 12px 42px;
  }

  .simple-classifieds-heading {
    min-height: 90px;
    padding: 18px;
  }

  .simple-classifieds-heading h1 {
    font-size: 26px;
  }

  .simple-classifieds-list > a {
    min-height: 70px;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px 15px;
  }

  .simple-classifieds-list > a:hover {
    padding-left: 18px;
  }

  .simple-category-icon {
    width: 42px;
    height: 42px;
  }

  .simple-category-icon svg {
    width: 20px;
    height: 20px;
  }

  .simple-classifieds-list strong {
    font-size: 14px;
  }
}
/* Empty classifieds results layout */
.empty-classifieds-page {
  min-height: calc(100vh - 84px);
  padding: 38px 24px 76px;
  background: #f2f3f1;
}

.empty-classifieds-layout {
  width: min(1300px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.empty-classifieds-sidebar,
.empty-ads-panel {
  border: 1px solid #dfe4dc;
  background: #fff;
}

.empty-classifieds-sidebar {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(20, 42, 16, 0.05);
}

.empty-classifieds-sidebar h1 {
  min-height: 68px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 22px;
  border-bottom: 1px solid #dfe4dc;
  color: #171717;
  background: #fafbf9;
  font-size: 22px;
}

.empty-classifieds-sidebar .simple-classifieds-list > a {
  min-height: 72px;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 12px 18px;
}

.empty-classifieds-sidebar .simple-classifieds-list > a:hover {
  padding-left: 22px;
}

.empty-classifieds-sidebar .simple-category-icon {
  width: 46px;
  height: 46px;
}

.empty-classifieds-sidebar .simple-classifieds-list strong {
  font-size: 14px;
  font-weight: 500;
}

.empty-classifieds-sidebar .simple-classifieds-list b {
  color: #555;
  font-size: 12px;
  font-weight: 500;
}

.empty-classifieds-content {
  min-width: 0;
}

.empty-ads-panel {
  min-height: 230px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(20, 42, 16, 0.05);
}

.empty-ads-toolbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 24px;
  border-bottom: 1px solid #dfe4dc;
  background: #fafbf9;
}

.empty-ads-toolbar h2 {
  margin: 0;
  color: #171717;
  font-size: 22px;
}

.empty-ads-toolbar > div,
.empty-ads-toolbar label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.empty-ads-toolbar label span {
  color: #555;
  font-size: 13px;
  font-weight: 500;
}

.empty-ads-toolbar select {
  width: 20px;
  min-height: 34px;
  border: 0;
  color: transparent;
  background: transparent;
  cursor: pointer;
}

.empty-ads-toolbar button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  color: #888;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.empty-ads-toolbar button:hover,
.empty-ads-toolbar button.active {
  color: #238d1d;
  background: #edf8e9;
}

.empty-ads-toolbar svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.empty-ads-toolbar button:first-of-type svg {
  fill: currentColor;
  stroke: none;
}

.empty-ads-message {
  margin: 34px;
  padding: 20px;
  border: 1px solid #bfe3ee;
  border-radius: 7px;
  color: #25709a;
  background: #dff3fb;
  font-size: 15px;
  font-weight: 400;
}

.empty-classifieds-divider {
  height: 1px;
  margin: 34px 0;
  background: #dfe4dc;
}

.empty-post-banner {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  padding: 32px 36px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(115deg, #2f302f 0%, #2f302f 66%, #fff 66%, #fff 100%);
  box-shadow: 0 10px 30px rgba(20, 42, 16, 0.06);
}

.empty-post-banner h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(24px, 3vw, 32px);
}

.empty-post-banner p {
  margin: 0;
  color: #ffc400;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}

.empty-post-banner a {
  flex: 0 0 auto;
  padding: 15px 20px;
  border-radius: 7px;
  color: #fff;
  background: #35b52d;
  font-size: 14px;
  font-weight: 800;
  transition: background 0.25s ease, transform 0.25s ease;
}

.empty-post-banner a:hover {
  color: #fff;
  background: #238d1d;
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .empty-classifieds-page {
    min-height: calc(100vh - 72px);
    padding: 28px 16px 56px;
  }

  .empty-classifieds-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 18px;
  }

  .empty-post-banner {
    background: #2f302f;
  }
}

@media (max-width: 760px) {
  .empty-classifieds-layout {
    grid-template-columns: 1fr;
  }

  .empty-classifieds-sidebar .simple-classifieds-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .empty-classifieds-sidebar .simple-classifieds-list > a:nth-last-child(2) {
    border-bottom: 0;
  }

  .empty-post-banner {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px;
  }
}

@media (max-width: 480px) {
  .empty-classifieds-page {
    padding-inline: 12px;
  }

  .empty-classifieds-sidebar .simple-classifieds-list {
    grid-template-columns: 1fr;
  }

  .empty-classifieds-sidebar .simple-classifieds-list > a:nth-last-child(2) {
    border-bottom: 1px solid #e7ebe4;
  }

  .empty-ads-toolbar {
    padding: 0 14px;
  }

  .empty-ads-message {
    margin: 18px;
  }
}
/* Classifieds page using category-listing layout */
.classifieds-listing-page .listing-layout {
  grid-template-columns: 310px minmax(0, 1fr);
}

.classifieds-filter-list label {
  min-height: 60px;
}

.classifieds-filter-list strong {
  line-height: 1.35;
}

.classifieds-empty-state {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 34px;
  border: 1px solid #e0e7dc;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 12px 34px rgba(20, 42, 16, 0.06);
}

.classifieds-empty-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  border-radius: 50%;
  color: #238d1d;
  background: #edf8e9;
}

.classifieds-empty-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.classifieds-empty-state h2 {
  margin: 0;
  color: #171717;
  font-size: 23px;
}

.classifieds-empty-state p {
  max-width: 440px;
  margin: 0;
  color: #777;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 400;
}

@media (max-width: 980px) {
  .classifieds-listing-page .listing-layout {
    grid-template-columns: 1fr;
  }
}
/* Listing card item details and contact actions */
.listing-card-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin: 14px 0;
}

.listing-card-details > span {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 9px 10px;
  border-radius: 6px;
  background: #f3f4f5;
}

.listing-card-details small {
  overflow: hidden;
  color: #777;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-card-details strong {
  overflow: hidden;
  color: #292929;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 0;
}

.listing-contact-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.22s ease, background 0.22s ease;
}

.listing-contact-actions a:first-child {
  color: #126ce5;
  background: #eef6ff;
}

.listing-contact-actions a:last-child {
  color: #ed3535;
  background: #fff2f2;
}

.listing-contact-actions a:hover {
  color: inherit;
  transform: translateY(-2px);
}

.listing-contact-actions a:first-child:hover {
  background: #dfeeff;
}

.listing-contact-actions a:last-child:hover {
  background: #ffe3e3;
}

.listing-contact-actions svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.listing-grid.list-view .listing-card-details {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.listing-grid.list-view .listing-contact-actions {
  width: auto;
}

.listing-price-actions {
  display: grid;
  grid-template-columns: minmax(80px, auto) minmax(150px, 1fr);
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #ebeee8;
}

.listing-price-actions .listing-card-bottom {
  padding-top: 0;
  border-top: 0;
}

.listing-price-actions .listing-contact-actions {
  justify-self: end;
  width: min(210px, 100%);
}

@media (max-width: 720px) {
  .listing-card-details {
    gap: 5px;
    margin: 9px 0;
  }

  .listing-card-details > span {
    padding: 7px 4px;
  }

  .listing-card-details small {
    font-size: 7px;
  }

  .listing-card-details strong {
    font-size: 9px;
  }

  .listing-contact-actions {
    gap: 5px;
    margin-top: 0;
  }

  .listing-contact-actions a {
    min-height: 34px;
    gap: 4px;
    font-size: 10px;
  }

  .listing-contact-actions svg {
    width: 14px;
    height: 14px;
  }

  .listing-grid.list-view .listing-card-details {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .listing-price-actions {
    grid-template-columns: minmax(62px, auto) minmax(110px, 1fr);
    gap: 6px;
    padding-top: 9px;
  }
}

@media (max-width: 480px) {
  .listing-card-details {
    gap: 3px;
  }

  .listing-card-details > span {
    padding: 6px 3px;
  }

  .listing-card-details small {
    font-size: 6px;
  }

  .listing-card-details strong {
    font-size: 7px;
  }

  .listing-price-actions {
    grid-template-columns: minmax(48px, auto) minmax(88px, 1fr);
    gap: 4px;
  }

  .listing-price-actions .listing-contact-actions {
    justify-self: end;
    width: 100%;
  }

  .listing-price-actions .listing-card-bottom strong {
    font-size: 11px;
  }

  .listing-price-actions .listing-contact-actions {
    gap: 3px;
  }

  .listing-price-actions .listing-contact-actions a {
    min-height: 29px;
    gap: 2px;
    font-size: 8px;
  }

  .listing-price-actions .listing-contact-actions svg {
    width: 11px;
    height: 11px;
  }
}
/* Classified details page */
.classified-detail-page {
  min-height: calc(100vh - 84px);
  padding: 24px 24px 72px;
  background: #f6f8f3;
}

.classified-detail-breadcrumb,
.classified-detail-title,
.classified-detail-top,
.classified-detail-layout,
.classified-related-section {
  width: min(1240px, 100%);
  margin-inline: auto;
}

.classified-detail-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: #777;
  font-size: 12px;
}

.classified-detail-breadcrumb a {
  color: #238d1d;
  font-weight: 700;
}

.classified-detail-breadcrumb b {
  color: #b0b0b0;
  font-weight: 400;
}

.classified-detail-breadcrumb strong {
  color: #333;
}

.classified-detail-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.classified-detail-title h1 {
  margin: 14px 0 8px;
  color: #111;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.07;
}

.classified-detail-title p {
  margin: 0;
  color: #777;
  font-size: 13px;
  font-weight: 400;
}

.classified-detail-title > div:last-child {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.classified-detail-title small {
  color: #777;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.classified-detail-title > div:last-child strong {
  color: #238d1d;
  font-size: 34px;
}

.classified-detail-title > div:last-child span {
  color: #777;
  font-size: 11px;
}

.classified-detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.7fr);
  gap: 22px;
  align-items: start;
}

.classified-gallery,
.classified-seller-card,
.classified-detail-panel,
.classified-trust-card,
.classified-post-card,
.classified-related-grid article {
  border: 1px solid #e0e7dc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(20, 42, 16, 0.07);
}

.classified-gallery {
  overflow: hidden;
  padding: 12px;
}

.classified-main-photo {
  position: relative;
  height: clamp(500px, 54vw, 680px);
  overflow: hidden;
  border-radius: 7px;
  background: #e8ede5;
}

.classified-main-photo > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: contain;
  transition: opacity 0.24s ease, transform 0.3s ease;
}

.classified-gallery-open {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.classified-gallery-open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.24s ease, transform 0.3s ease;
}

.classified-gallery-open:hover img {
  transform: scale(1.012);
}

.classified-gallery-open img.is-changing {
  opacity: 0;
}

.classified-gallery-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  color: #222;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.classified-gallery-arrow:hover {
  color: #fff;
  background: #35b52d;
  transform: translateY(-50%) scale(1.06);
}

.classified-gallery-arrow svg,
.classified-lightbox-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.classified-gallery-prev {
  left: 16px;
}

.classified-gallery-next {
  right: 16px;
}

.classified-photo-actions {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 8px;
}

.classified-photo-actions button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #dce4d8;
  border-radius: 7px;
  padding: 0 11px;
  color: #333;
  background: rgba(255, 255, 255, 0.95);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.classified-photo-actions button:hover,
.classified-photo-actions button.saved {
  border-color: #35b52d;
  color: #238d1d;
  background: #edf8e9;
}

.classified-photo-actions svg,
.classified-chat-button svg,
.classified-phone-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.classified-photo-count {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 6px;
  color: #fff;
  background: rgba(0, 0, 0, 0.58);
  font-size: 11px;
  font-weight: 700;
}

.classified-thumbnails {
  display: flex;
  gap: 9px;
  margin-top: 10px;
  padding-bottom: 3px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #b9c7b4 transparent;
}

.classified-thumbnails button {
  flex: 0 0 calc((100% - 36px) / 5);
  min-width: 110px;
  overflow: hidden;
  aspect-ratio: 1.4;
  border: 2px solid transparent;
  border-radius: 7px;
  padding: 0;
  background: #edf1eb;
  cursor: pointer;
  scroll-snap-align: center;
}

.classified-thumbnails button:hover,
.classified-thumbnails button.active {
  border-color: #35b52d;
}

.classified-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.classified-seller-card {
  position: sticky;
  top: 104px;
  padding: 24px;
}

.classified-seller-profile {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8ede5;
}

.classified-seller-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #35b52d;
  font-size: 15px;
  font-weight: 800;
}

.classified-seller-profile div > span,
.classified-seller-profile p {
  margin: 0;
  color: #777;
  font-size: 11px;
}

.classified-seller-profile h2 {
  margin: 4px 0;
  color: #171717;
  font-size: 19px;
}

.classified-seller-profile > strong {
  padding: 6px 8px;
  border-radius: 6px;
  color: #238d1d;
  background: #edf8e9;
  font-size: 9px;
  text-transform: uppercase;
}

.classified-seller-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 18px 0;
}

.classified-seller-stats span {
  display: grid;
  gap: 3px;
  padding: 10px 5px;
  border-radius: 7px;
  background: #f4f7f2;
  text-align: center;
}

.classified-seller-stats strong {
  color: #222;
  font-size: 13px;
}

.classified-seller-stats small {
  color: #777;
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
}

.classified-chat-button,
.classified-phone-button {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease;
}

.classified-chat-button {
  border: 0;
  color: #fff;
  background: #35b52d;
}

.classified-phone-button {
  margin-top: 9px;
  border: 1px solid #35b52d;
  color: #238d1d;
  background: #fff;
}

.classified-chat-button:hover,
.classified-phone-button:hover {
  transform: translateY(-2px);
}

.classified-chat-button:hover {
  background: #238d1d;
}

.classified-phone-button:hover {
  background: #edf8e9;
}

.classified-safe-note {
  margin-top: 18px;
  padding: 14px;
  border-radius: 7px;
  background: #fff8df;
}

.classified-safe-note strong {
  color: #574600;
  font-size: 12px;
}

.classified-safe-note p {
  margin: 5px 0 0;
  color: #766727;
  font-size: 10px;
  line-height: 1.55;
  font-weight: 400;
}

.classified-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
  margin-top: 22px;
}

.classified-detail-content,
.classified-detail-aside {
  display: grid;
  gap: 18px;
}

.classified-detail-panel {
  padding: 26px;
}

.classified-panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.classified-panel-heading h2,
.classified-location-panel h2 {
  margin: 9px 0 0;
  color: #171717;
  font-size: 25px;
}

.classified-panel-heading time {
  color: #777;
  font-size: 11px;
}

.classified-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.classified-overview-grid article {
  display: grid;
  gap: 6px;
  padding: 15px;
  border-radius: 7px;
  background: #f3f5f3;
}

.classified-overview-grid small {
  color: #777;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.classified-overview-grid strong {
  color: #222;
  font-size: 13px;
}

.classified-description p {
  margin: 0 0 13px;
  color: #5f5f5f;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 400;
}

.classified-description-extra {
  display: none;
}

.classified-description.expanded .classified-description-extra {
  display: block;
}

.classified-read-more {
  border: 0;
  padding: 0;
  color: #238d1d;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.classified-location-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.7fr);
  gap: 24px;
  align-items: center;
}

.classified-location-panel p {
  margin: 8px 0 0;
  color: #777;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 400;
}

.classified-map-preview {
  min-height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  border-radius: 7px;
  background:
    linear-gradient(rgba(35,141,29,0.72), rgba(35,141,29,0.72)),
    url("../assets/city-banner.jpg") center / cover;
}

.classified-map-preview span {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.classified-map-preview a {
  padding: 9px 13px;
  border-radius: 7px;
  color: #238d1d;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}

.classified-trust-card,
.classified-post-card {
  padding: 22px;
}

.classified-trust-card h2,
.classified-post-card h2 {
  margin: 13px 0 16px;
  color: #171717;
  font-size: 21px;
}

.classified-trust-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.classified-trust-card li {
  position: relative;
  padding-left: 21px;
  color: #666;
  font-size: 11px;
  line-height: 1.55;
}

.classified-trust-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35b52d;
  box-shadow: 0 0 0 4px #edf8e9;
}

.classified-post-card {
  color: #fff;
  background:
    linear-gradient(rgba(20,25,18,0.76), rgba(20,25,18,0.76)),
    url("../assets/hero-bg.jpg") center / cover;
}

.classified-post-card span {
  color: #ffc400;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.classified-post-card h2 {
  color: #fff;
  font-size: 23px;
}

.classified-post-card a {
  display: inline-flex;
  padding: 11px 15px;
  border-radius: 7px;
  color: #171717;
  background: #ffc400;
  font-size: 11px;
  font-weight: 800;
}

.classified-report-button {
  min-height: 46px;
  border: 1px solid #e3dcdc;
  border-radius: 7px;
  color: #a34646;
  background: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.classified-report-button:hover {
  background: #fff2f2;
}

.classified-related-section {
  padding-top: 52px;
}

.classified-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.classified-related-grid article {
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.classified-related-grid article:hover {
  border-color: #35b52d;
  transform: translateY(-4px);
}

.classified-related-grid article > a {
  display: block;
  aspect-ratio: 1.7;
  overflow: hidden;
  background: #edf1eb;
}

.classified-related-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.classified-related-grid article > div {
  padding: 15px;
}

.classified-related-grid span {
  color: #238d1d;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.classified-related-grid h3 {
  margin: 7px 0 11px;
  color: #171717;
  font-size: 16px;
}

.classified-related-grid strong {
  color: #238d1d;
  font-size: 17px;
}

.classified-chat-modal {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.classified-chat-modal.open {
  pointer-events: auto;
  opacity: 1;
}

.lightbox-open {
  overflow: hidden;
}

.classified-lightbox {
  position: fixed;
  z-index: 800;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.classified-lightbox.open {
  pointer-events: auto;
  opacity: 1;
}

.classified-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(9, 12, 8, 0.92);
  backdrop-filter: blur(8px);
}

.classified-lightbox-viewer {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  height: min(86vh, 820px);
  display: grid;
  place-items: center;
}

.classified-lightbox-viewer > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.classified-lightbox-close {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 28px;
  cursor: pointer;
}

.classified-lightbox-close:hover,
.classified-lightbox-arrow:hover {
  background: #35b52d;
}

.classified-lightbox-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transform: translateY(-50%);
}

.classified-lightbox-prev {
  left: 0;
}

.classified-lightbox-next {
  right: 0;
}

.classified-lightbox-count {
  position: absolute;
  bottom: 0;
  left: 50%;
  padding: 8px 12px;
  border-radius: 7px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 700;
  transform: translateX(-50%);
}

.classified-chat-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0,0,0,0.52);
}

.classified-chat-panel {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,0.24);
}

.classified-chat-panel > button:first-child {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 7px;
  background: #f1f5ee;
  font-size: 23px;
  cursor: pointer;
}

.classified-chat-panel h2 {
  margin: 2px 0 5px;
  font-size: 25px;
}

.classified-chat-panel label {
  display: grid;
  gap: 7px;
}

.classified-chat-panel label span {
  font-size: 12px;
  font-weight: 700;
}

.classified-chat-panel input,
.classified-chat-panel textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #dbe4d7;
  border-radius: 7px;
  padding: 0 13px;
  font: inherit;
  outline: none;
}

.classified-chat-panel textarea {
  min-height: 105px;
  padding-top: 12px;
  resize: vertical;
}

@media (max-width: 980px) {
  .classified-detail-page {
    min-height: calc(100vh - 72px);
    padding: 20px 16px 56px;
  }

  .classified-detail-top,
  .classified-detail-layout {
    grid-template-columns: 1fr;
  }

  .classified-seller-card {
    position: static;
  }

  .classified-detail-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .classified-report-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .classified-detail-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .classified-detail-title > div:last-child {
    justify-items: start;
  }

  .classified-main-photo {
    height: clamp(360px, 72vw, 500px);
  }

  .classified-gallery-arrow {
    width: 40px;
    height: 40px;
  }

  .classified-overview-grid,
  .classified-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .classified-location-panel,
  .classified-detail-aside {
    grid-template-columns: 1fr;
  }

  .classified-report-button {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .classified-detail-page {
    padding-inline: 12px;
  }

  .classified-main-photo {
    height: 330px;
  }

  .classified-gallery-arrow {
    width: 36px;
    height: 36px;
  }

  .classified-gallery-prev {
    left: 8px;
  }

  .classified-gallery-next {
    right: 8px;
  }

  .classified-thumbnails button {
    flex-basis: calc((100% - 18px) / 3);
    min-width: 90px;
  }

  .classified-photo-actions {
    top: 8px;
    right: 8px;
  }

  .classified-photo-actions button {
    min-height: 34px;
    padding-inline: 8px;
    font-size: 9px;
  }

  .classified-seller-card,
  .classified-detail-panel,
  .classified-trust-card,
  .classified-post-card {
    padding: 18px;
  }

  .classified-panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .classified-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .classified-related-grid {
    gap: 10px;
  }

  .classified-related-grid article > div {
    padding: 11px;
  }

  .classified-related-grid h3 {
    font-size: 13px;
  }

  .classified-lightbox {
    padding: 12px;
  }

  .classified-lightbox-viewer {
    height: 82vh;
  }

  .classified-lightbox-arrow {
    width: 40px;
    height: 40px;
  }

  .classified-lightbox-prev {
    left: 4px;
  }

  .classified-lightbox-next {
    right: 4px;
  }
}
/* Similar classifieds slider */
.classified-related-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.classified-related-heading .section-heading {
  margin-bottom: 0;
}

.classified-related-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.classified-related-controls button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid #dbe4d7;
  border-radius: 7px;
  color: #238d1d;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(20, 42, 16, 0.07);
  transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.classified-related-controls button:hover {
  color: #fff;
  background: #35b52d;
  transform: translateY(-2px);
}

.classified-related-controls svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.classified-related-grid {
  display: flex;
  grid-template-columns: none;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.classified-related-grid::-webkit-scrollbar {
  display: none;
}

.classified-related-grid article {
  flex: 0 0 calc((100% - 36px) / 3);
  scroll-snap-align: start;
}

@media (max-width: 700px) {
  .classified-related-heading {
    align-items: center;
  }

  .classified-related-controls button {
    width: 40px;
    height: 40px;
  }

  .classified-related-grid article {
    flex-basis: calc((100% - 10px) / 2);
  }
}

@media (max-width: 480px) {
  .classified-related-heading {
    gap: 12px;
  }

  .classified-related-heading .section-heading h2 {
    font-size: 24px;
  }

  .classified-related-controls {
    gap: 5px;
  }

  .classified-related-controls button {
    width: 36px;
    height: 36px;
  }

  .classified-related-grid {
    gap: 10px;
  }
}
/* Property listing page */
.property-page {
  min-height: calc(100vh - 84px);
  padding: 0 24px 72px;
  background: #f8faf6;
}

.property-type-nav,
.property-search-form,
.property-breadcrumb,
.property-heading,
.property-location-tags,
.property-controls,
.property-layout {
  width: min(1240px, 100%);
  margin-inline: auto;
}

.property-type-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow-x: auto;
  padding: 20px 0 16px;
  scrollbar-width: none;
}

.property-type-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 8px 3px;
  color: #333;
  font-size: 13px;
  font-weight: 600;
}

.property-type-nav a:hover,
.property-type-nav a.active {
  color: #238d1d;
}

.property-type-nav a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -16px;
  left: 0;
  height: 3px;
  background: #35b52d;
}

.property-new-badge {
  padding: 4px 7px;
  border-radius: 999px;
  color: #fff;
  background: #e71919;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.property-card h2 a {
  color: inherit;
}

.property-card h2 a:hover {
  color: #238d1d;
}

/* Property detail page */
.property-detail-page {
  min-height: calc(100vh - 84px);
  padding: 24px 24px 72px;
  background: #f8faf6;
}

.property-detail-breadcrumb,
.property-detail-gallery,
.property-detail-layout {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.property-detail-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #777;
  font-size: 11px;
}

.property-detail-breadcrumb a {
  color: #238d1d;
  font-weight: 700;
}

.property-detail-breadcrumb b {
  color: #aaa;
  font-weight: 400;
}

.property-detail-breadcrumb strong {
  color: #333;
}

.property-detail-gallery {
  height: min(520px, 44vw);
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(230px, .85fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 8px;
  overflow: hidden;
  border-radius: 12px;
  background: #e8eee5;
}

.property-detail-photo {
  position: relative;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: #e8eee5;
  cursor: zoom-in;
}

.property-detail-photo-main {
  grid-row: 1 / -1;
}

.property-detail-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.property-detail-photo:hover img {
  transform: scale(1.025);
}

.property-detail-verified,
.property-detail-photo-count {
  position: absolute;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 6px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.property-detail-verified {
  top: 14px;
  left: 14px;
  background: #35b52d;
}

.property-detail-photo-count {
  right: 12px;
  bottom: 12px;
  background: rgba(0,0,0,.62);
}

.property-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: start;
  margin-top: 22px;
}

.property-detail-content,
.property-detail-sidebar {
  display: grid;
  gap: 18px;
}

.property-detail-summary,
.property-detail-section,
.property-agent-card,
.property-enquiry-card,
.property-detail-promo {
  border: 1px solid #e0e7dc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(20,42,16,.06);
}

.property-detail-summary,
.property-detail-section {
  padding: 26px;
}

.property-detail-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.property-detail-price-row > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.property-detail-price-row strong {
  color: #171717;
  font-size: 40px;
}

.property-detail-price-row span {
  color: #777;
  font-size: 14px;
}

.property-detail-actions {
  display: flex;
  gap: 7px;
}

.property-detail-actions button {
  min-height: 38px;
  border: 1px solid #dce5d8;
  border-radius: 7px;
  padding: 0 11px;
  color: #444;
  background: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.property-detail-actions button:hover,
.property-detail-actions button.saved {
  border-color: #35b52d;
  color: #238d1d;
  background: #edf8e9;
}

.property-detail-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 17px;
  padding-top: 17px;
  border-top: 1px solid #e8ede5;
}

.property-detail-specs span {
  color: #333;
  font-size: 16px;
  font-weight: 700;
}

.property-detail-summary > p {
  margin: 16px 0 0;
  color: #777;
  font-size: 14px;
  font-weight: 400;
}

.property-detail-section-heading {
  margin-bottom: 22px;
}

.property-detail-section-heading h1,
.property-detail-section-heading h2 {
  margin: 9px 0 0;
  color: #171717;
  font-size: 25px;
  line-height: 1.25;
}

.property-detail-section-heading.validated h2::after {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-left: 7px;
  border-radius: 50%;
  color: #fff;
  background: #35b52d;
  font-size: 10px;
  vertical-align: middle;
}

.property-detail-info-grid,
.property-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.property-detail-info-grid article,
.property-facts-grid article {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-radius: 7px;
  background: #f4f7f2;
}

.property-detail-info-grid small,
.property-facts-grid span {
  color: #777;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.property-detail-info-grid strong,
.property-facts-grid strong {
  color: #222;
  font-size: 16px;
}

.property-detail-description {
  margin-top: 22px;
}

.property-detail-description p {
  margin: 0 0 12px;
  color: #606060;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
}

.property-detail-description-extra {
  display: none;
}

.property-detail-description.expanded .property-detail-description-extra {
  display: block;
}

.property-detail-read-more {
  border: 0;
  padding: 0;
  color: #238d1d;
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.property-amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.property-amenities-grid article {
  min-height: 98px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border-radius: 7px;
  background: #f4f6f3;
  text-align: center;
}

.property-amenities-grid span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #238d1d;
  background: #e5f5e1;
}

.property-amenities-grid svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.property-amenities-grid strong {
  color: #333;
  font-size: 16px;
}

.property-map-address {
  margin: -12px 0 17px;
  color: #777;
  font-size: 11px;
}

.property-detail-map {
  min-height: 270px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background:
    linear-gradient(rgba(255,255,255,.68), rgba(255,255,255,.68)),
    url("../assets/city-banner.jpg") center / cover;
}

.property-detail-map a {
  padding: 11px 15px;
  border-radius: 999px;
  color: #238d1d;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(20,42,16,.14);
}

.property-detail-sidebar {
  position: sticky;
  top: 104px;
}

.property-agent-card,
.property-enquiry-card,
.property-detail-promo {
  padding: 20px;
}

.property-agent-profile {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.property-agent-profile > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #35b52d;
  font-size: 13px;
  font-weight: 800;
}

.property-agent-profile small {
  color: #777;
  font-size: 9px;
}

.property-agent-profile h2 {
  margin: 3px 0;
  font-size: 16px;
}

.property-agent-profile a {
  color: #238d1d;
  font-size: 9px;
  font-weight: 700;
}

.property-agent-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 17px;
}

.property-agent-actions a {
  min-height: 36px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #238d1d;
  background: #edf8e9;
  font-size: 14px;
  font-weight: 700;
}

.property-agent-actions a:nth-child(2) {
  color: #d84242;
  background: #fff0f0;
}

.property-enquiry-card > span,
.property-detail-promo > span {
  color: #238d1d;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.property-enquiry-card h2,
.property-detail-promo h2 {
  margin: 8px 0 16px;
  font-size: 20px;
}

.property-enquiry-card form {
  display: grid;
  gap: 9px;
}

.property-enquiry-card input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dce5d8;
  border-radius: 7px;
  padding: 0 11px;
  font: inherit;
  font-size: 10px;
  outline: none;
}

.property-enquiry-card button {
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: #35b52d;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.property-detail-promo {
  min-height: 310px;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(15,25,13,.08), rgba(15,25,13,.87)),
    url("../assets/cat-house.jpg") center / cover;
}

.property-detail-promo > span {
  color: #ffc400;
}

.property-detail-promo h2 {
  color: #fff;
  font-size: 23px;
}

.property-detail-promo a {
  width: fit-content;
  padding: 10px 14px;
  border-radius: 7px;
  color: #171717;
  background: #ffc400;
  font-size: 9px;
  font-weight: 800;
}

.property-lightbox {
  position: fixed;
  z-index: 900;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}

.property-lightbox.open {
  pointer-events: auto;
  opacity: 1;
}

.property-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8,12,7,.93);
  backdrop-filter: blur(7px);
}

.property-lightbox-viewer {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  height: min(86vh, 820px);
  display: grid;
  place-items: center;
}

.property-lightbox-viewer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.property-lightbox-close,
.property-lightbox-arrow {
  position: absolute;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.12);
  font-size: 27px;
  cursor: pointer;
}

.property-lightbox-close {
  top: 0;
  right: 0;
}

.property-lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
}

.property-lightbox-arrow.prev { left: 0; }
.property-lightbox-arrow.next { right: 0; }

.property-lightbox-close:hover,
.property-lightbox-arrow:hover {
  background: #35b52d;
}

.property-lightbox-viewer > span {
  position: absolute;
  bottom: 0;
  left: 50%;
  padding: 7px 11px;
  border-radius: 7px;
  color: #fff;
  background: rgba(255,255,255,.14);
  font-size: 10px;
  font-weight: 700;
  transform: translateX(-50%);
}

@media (max-width: 980px) {
  .property-detail-page {
    min-height: calc(100vh - 72px);
    padding: 20px 16px 56px;
  }

  .property-detail-layout {
    grid-template-columns: 1fr;
  }

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

  .property-detail-promo {
    grid-column: 1 / -1;
    min-height: 250px;
  }
}

@media (max-width: 700px) {
  .property-detail-gallery {
    height: 430px;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1.5fr 1fr;
    gap: 6px;
  }

  .property-detail-photo-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .property-detail-gallery .property-detail-photo:nth-child(4) {
    display: none;
  }

  .property-detail-price-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .property-detail-info-grid,
  .property-facts-grid,
  .property-amenities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .property-detail-sidebar {
    grid-template-columns: 1fr;
  }

  .property-detail-promo {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .property-detail-page {
    padding-inline: 12px;
  }

  .property-detail-gallery {
    height: 390px;
  }

  .property-detail-summary,
  .property-detail-section,
  .property-agent-card,
  .property-enquiry-card,
  .property-detail-promo {
    padding: 18px;
  }

  .property-detail-actions {
    width: 100%;
  }

  .property-detail-actions button {
    flex: 1;
  }

  .property-detail-info-grid,
  .property-facts-grid,
  .property-amenities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .property-lightbox {
    padding: 10px;
  }

  .property-lightbox-viewer {
    height: 82vh;
  }

  .property-lightbox-close,
  .property-lightbox-arrow {
    width: 40px;
    height: 40px;
  }
}


.property-search-form {
  position: relative;
  z-index: 40;
  display: grid; margin-top: 45px;
  grid-template-columns: .7fr 1.35fr 1fr 1fr .75fr 1.15fr auto;
  gap: 0;
  overflow: visible;
  border: 1px solid #dfe7db;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(20,42,16,.08);
}

.property-custom-filter {
  position: relative;
  min-width: 0;
  border-right: 1px solid #e5ebe2;
}

.property-filter-trigger {
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  padding: 12px 16px;
  color: #222;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.property-filter-trigger > span {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.property-filter-trigger b {
  color: #333;
  font-size: 11px;
  font-weight: 800;
}

.property-filter-trigger em {
  max-width: 145px;
  overflow: hidden;
  color: #777;
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-filter-trigger i {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-right: 2px solid #222;
  border-bottom: 2px solid #222;
  transform: rotate(45deg) translateY(-3px);
  transition: transform .22s ease;
}

.property-custom-filter.open .property-filter-trigger {
  background: #f7faf5;
}

.property-custom-filter.open .property-filter-trigger i {
  transform: rotate(225deg) translate(-2px, -1px);
}

.property-filter-panel {
  position: absolute;
  z-index: 100;
  top: calc(100% + 8px);
  left: 0;
  width: 425px;
  display: none;
  overflow: hidden;
  border: 1px solid #e0e7dc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 58px rgba(20, 42, 16, .19);
}

.property-custom-filter.open .property-filter-panel {
  display: block;
  animation: propertyPanelIn .2s ease;
}

.property-more-filter .property-filter-panel {
  left: auto;
  right: 0;
}

.property-range-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 20px;
}

.property-search-form .property-range-fields label {
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 0;
  border: 0;
}

.property-range-fields label span {
  color: #777;
  font-size: 11px;
  font-weight: 600;
}

.property-range-fields input,
.property-filter-text {
  width: 100%;
  min-height: 54px;
  border: 1px solid #d6ddd2;
  border-radius: 7px;
  padding: 0 13px;
  color: #222;
  background: #fff;
  font: inherit;
  font-size: 13px;
  outline: none;
}

.property-range-fields input:focus,
.property-filter-text:focus {
  border-color: #35b52d;
  box-shadow: 0 0 0 3px rgba(53,181,45,.12);
}

.property-filter-footer {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 20px;
  border-top: 1px solid #e5ebe2;
  background: #fff;
}

.property-filter-footer button {
  min-width: 0;
  min-height: 48px;
  border: 1px solid #bfc8bb;
  border-radius: 6px;
  color: #555;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.property-filter-footer button:last-child {
  border-color: #35b52d;
  color: #fff;
  background: #35b52d;
}

.property-filter-footer button:last-child:hover {
  background: #238d1d;
}

.property-choice-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 20px;
}

.property-choice-chips button {
  min-width: 44px;
  min-height: 40px;
  border: 1px solid #dce4d8;
  border-radius: 999px;
  padding: 0 15px;
  color: #333;
  background: #fff;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.property-choice-chips button:hover,
.property-choice-chips button.selected {
  border-color: #35b52d;
  color: #238d1d;
  background: #edf8e9;
  font-weight: 700;
}

.more-filter-panel {
  width: 360px;
  max-height: min(680px, calc(100vh - 120px));
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #a8b1a4 transparent;
}

.more-filter-panel section {
  padding: 18px;
  border-bottom: 1px solid #e8ede5;
}

.more-filter-panel section h3 {
  margin: 0 0 12px;
  color: #333;
  font-size: 11px;
}

.more-filter-panel section .property-choice-chips {
  padding: 0;
  gap: 7px;
}

.more-filter-panel section .property-choice-chips button {
  min-height: 30px;
  padding: 0 11px;
 
}

.more-filter-panel .property-range-fields {
  padding: 0;
  gap: 10px;
}

.more-filter-panel .property-range-fields input {
  min-height: 42px;
  font-size: 11px;     border: 1px solid #d6ddd2;
}

.property-filter-text {
  min-height: 42px;
  font-size: 11px;
}

.property-search-form .property-filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: auto;
  padding: 5px 0;
  border: 0;
  color: #555;
  font-size: 10px;
  cursor: pointer;
}

.property-filter-check input {
  width: 16px;
  height: 16px;
  accent-color: #35b52d;
}

.more-filter-panel .property-filter-footer {
  position: sticky;
  bottom: 0;
  z-index: 2;
}

@keyframes propertyPanelIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.property-search-form label {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border-right: 1px solid #e5ebe2;
}

.property-search-form label > span {
  color: #333;
  font-size: 11px;
  font-weight: 800;
}

.property-search-form input,
.property-search-form select {
  width: 100%;
  min-width: 0;
  
  outline: 0; 
  color: #222;
  background: transparent;
  font: inherit;
  font-size: 13px;
}

.property-search-form > button {
  min-width: 105px;
  border: 0;
  color: #fff;
  background: #35b52d;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.property-search-form > button:hover {
  background: #238d1d;
}

.property-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 28px;
  color: #777;
  font-size: 11px;
}

.property-breadcrumb a {
  color: #238d1d;
}

.property-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
}

.property-heading h1 {
  margin: 13px 0 6px;
  color: #111;
  font-size: clamp(30px, 4vw, 48px);
}

.property-heading p {
  margin: 0;
  color: #777;
  font-size: 13px;
  font-weight: 400;
}

.property-heading-actions,
.property-heading-actions label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.property-heading-actions label,
.property-heading-actions button {
  min-height: 42px;
  border: 1px solid #dce5d8;
  border-radius: 7px;
  padding: 0 12px;
  color: #444;
  background: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
}

.property-heading-actions select {
  border: 0;
  color: #222;
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
}

.property-heading-actions button {
  cursor: pointer;
}

.property-heading-actions button.saved {
  border-color: #35b52d;
  color: #238d1d;
  background: #edf8e9;
}

.property-location-tags {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: none;
}

.property-location-tags button {
  flex: 0 0 auto;
  min-height: 36px;
  border: 1px solid #dce5d8;
  border-radius: 999px;
  padding: 0 14px;
  color: #238d1d;
  background: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.property-location-tags span {
  color: #777;
  font-weight: 500;
}

.property-location-tags button:hover {
  border-color: #35b52d;
  background: #edf8e9;
}

.property-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.property-furnishing-tabs {
  display: flex;
  gap: 8px;
}

.property-furnishing-tabs button {
  min-width: 92px;
  min-height: 40px;
  border: 1px solid #dce5d8;
  border-radius: 7px;
  color: #333;
  background: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.property-furnishing-tabs button:hover,
.property-furnishing-tabs button.active {
  border-color: #35b52d;
  color: #238d1d;
  background: #edf8e9;
}

.property-verified-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #333;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.property-verified-toggle input {
  position: absolute;
  opacity: 0;
}

.property-verified-toggle i {
  position: relative;
  width: 38px;
  height: 21px;
  border-radius: 999px;
  background: #cdd4ca;
  transition: background .22s ease;
}

.property-verified-toggle i::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  transition: transform .22s ease;
}

.property-verified-toggle input:checked + i {
  background: #35b52d;
}

.property-verified-toggle input:checked + i::after {
  transform: translateX(17px);
}

.property-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 24px;
  align-items: start;
}

.property-results,
.property-sidebar {
  display: grid;
  gap: 18px;
}

.property-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(270px, 42%) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #e0e7dc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(20,42,16,.07);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.property-card:hover {
  border-color: #35b52d;
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(35,141,29,.12);
}

.property-card-gallery {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  background: #edf2ea;
}

.property-card-gallery > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: opacity .22s ease, transform .3s ease;
}

.property-card:hover .property-card-gallery > img {
  transform: scale(1.025);
}

.property-card-gallery > img.changing {
  opacity: 0;
}

.property-verified-badge,
.property-card-count {
  position: absolute;
  z-index: 2;
  left: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

.property-verified-badge {
  top: 10px;
  background: #35b52d;
}

.property-card-count {
  bottom: 10px;
  background: rgba(0,0,0,.58);
}

.property-favorite {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: #555;
  background: rgba(255,255,255,.94);
  font-size: 18px;
  cursor: pointer;
}

.property-favorite.saved,
.property-favorite:hover {
  color: #fff;
  background: #35b52d;
}

.property-card-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 34px;
  height: 44px;
  border: 0;
  color: #fff;
  background: rgba(0,0,0,.38);
  font-size: 28px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity .22s ease, background .22s ease;
}

.property-card:hover .property-card-arrow {
  opacity: 1;
}

.property-card-arrow:hover {
  background: #35b52d;
}

.property-card-arrow.prev { left: 0; border-radius: 0 7px 7px 0; }
.property-card-arrow.next { right: 0; border-radius: 7px 0 0 7px; }

.property-card-content {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}

.property-price {
  display: flex;
  align-items: center;
  gap: 7px;
}

.property-price strong {
  color: #171717;
  font-size: 24px;
}

.property-price span {
  color: #777;
  font-size: 11px;
}

.property-price b {
  margin-left: auto;
  padding: 5px 7px;
  border-radius: 5px;
  color: #8b6b00;
  background: #fff2bc;
  font-size: 8px;
  text-transform: uppercase;
}

.property-kind {
  margin-top: 10px;
  color: #333;
  font-size: 12px;
  font-weight: 700;
}

.property-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 10px;
}

.property-specs span {
  color: #555;
  font-size: 11px;
  font-weight: 500;
}

.property-card h2 {
  margin: 13px 0 8px;
  color: #222;
  font-size: 16px;
  line-height: 1.4;
}

.property-card-content > p {
  margin: 0;
  color: #777;
  font-size: 11px;
  font-weight: 400;
}

.property-contact {
  display: flex;
  gap: 7px;
  margin-top: 16px;
}

.property-contact a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0 12px;
  color: #238d1d;
  background: #edf8e9;
  font-size: 10px;
  font-weight: 700;
}

.property-contact a:nth-child(2) {
  color: #d94242;
  background: #fff1f1;
}

.property-contact a:nth-child(3) {
  color: #178f28;
  background: #e7f8e8;
}

.property-contact a:hover {
  transform: translateY(-2px);
}

.property-post-card,
.property-side-list,
.property-side-promo,
.property-value-banner {
  border-radius: 8px;
}

.property-post-card {
  padding: 22px;
  color: #fff;
  background: #176f5b;
}

.property-post-card span {
  color: #d9ffb8;
  font-size: 11px;
  font-weight: 800;
}

.property-post-card h2 {
  margin: 8px 0 18px;
  color: #fff;
  font-size: 18px;
  line-height: 1.4;
}

.property-post-card a {
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #176f5b;
  background: #d9ffcf;
  font-size: 11px;
  font-weight: 800;
}

.property-side-list {
  overflow: hidden;
  border: 1px solid #e0e7dc;
  background: #fff;
}

.property-side-list h2 {
  margin: 0;
  padding: 14px 16px;
  background: #f1f4ef;
  font-size: 15px;
}

.property-side-list a {
  display: block;
  padding: 8px 16px;
  color: #666;
  font-size: 14px;
}

.property-side-list a:hover {
  color: #238d1d;
  transform: translateX(3px);
}

.property-side-promo {
  min-height: 360px;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(15,25,13,.1), rgba(15,25,13,.88)),
    url("../assets/cat-house.jpg") center / cover;
}

.property-side-promo span {
  color: #ffc400;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.property-side-promo h2 {
  margin: 8px 0;
  color: #fff;
  font-size: 24px;
}

.property-side-promo p {
  color: rgba(255,255,255,.82);
  font-size: 11px;
  line-height: 1.6;
  font-weight: 400;
}

.property-side-promo a {
  width: fit-content;
  padding: 10px 14px;
  border-radius: 7px;
  color: #171717;
  background: #ffc400;
  font-size: 10px;
  font-weight: 800;
}

.property-value-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
  border: 1px solid #e0e7dc;
  background: #fff;
}

.property-value-banner span {
  color: #238d1d;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.property-value-banner h2 {
  margin: 7px 0;
  font-size: 20px;
}

.property-value-banner p {
  margin: 0;
  color: #777;
  font-size: 11px;
  font-weight: 400;
}

.property-value-banner a {
  flex: 0 0 auto;
  padding: 12px 16px;
  border-radius: 7px;
  color: #fff;
  background: #35b52d;
  font-size: 10px;
  font-weight: 800;
}

.property-pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding-top: 20px;
}

.property-pagination button {
  width: 40px;
  height: 40px;
  border: 1px solid #dce5d8;
  border-radius: 7px;
  color: #333;
  background: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.property-pagination button.active,
.property-pagination button:hover:not(:disabled) {
  border-color: #35b52d;
  color: #fff;
  background: #35b52d;
}

@media (max-width: 1100px) {
  .property-search-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .property-search-form > button {
    min-height: 54px;
  }

  .property-filter-panel {
    width: min(425px, 88vw);
  }

  .property-layout {
    grid-template-columns: 1fr;
  }

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

  .property-side-promo {
    min-height: 260px;
  }
}

@media (max-width: 760px) {
  .property-page {
    min-height: calc(100vh - 72px);
    padding-inline: 12px;
  }

  .property-search-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .property-more-filter .property-filter-panel {
    right: auto;
    left: 0;
  }

  .property-heading,
  .property-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .property-heading-actions {
    width: 100%;
  }

  .property-heading-actions label,
  .property-heading-actions button {
    flex: 1;
  }

  .property-card {
    grid-template-columns: 1fr;
  }

  .property-card-gallery {
    min-height: 270px;
  }

  .property-card-arrow {
    opacity: 1;
  }

  .property-sidebar {
    grid-template-columns: 1fr;
  }

  .property-value-banner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .property-search-form {
    grid-template-columns: 1fr;
  }

  .property-custom-filter,
  .property-search-form label {
    border-right: 0;
    border-bottom: 1px solid #e5ebe2;
  }

  .property-filter-panel,
  .more-filter-panel {
    position: fixed;
    z-index: 500;
    top: auto;
    right: 8px !important;
    bottom: 8px;
    left: 8px !important;
    width: auto;
    max-height: 78vh;
  }

  .property-filter-footer {
    grid-template-columns: 82px minmax(0, 1fr);
    padding: 13px;
  }

  .property-furnishing-tabs {
    width: 100%;
  }

  .property-furnishing-tabs button {
    min-width: 0;
    flex: 1;
  }

  .property-card-gallery {
    min-height: 230px;
  }

  .property-card-content {
    padding: 16px;
  }

  .property-price strong {
    font-size: 21px;
  }

  .property-contact a {
    flex: 1;
    padding-inline: 7px;
  }
}
