/* ===== Modern Farm Theme ===== */
:root{
  --bg: #f6f3ea;         /* clean warm */
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #5b665a;

  --brand: #2f6b3f;       /* modern green */
  --brand-2: #1a5e35;
  --accent: #ccb491;      /* warm gold */
  --border: rgba(15, 23, 42, 0.10);

  --radius: 16px;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
}

.search-section,
.filters-sidebar,
.results-bar,
.listing-page,
.empty-state{
  border-radius: 16px;
  border: 1px solid var(--border);
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-color: #fff;
  border: 1px solid #d9e2d9;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.2;

  background-image:
    linear-gradient(45deg, transparent 50%, #6b8f71 50%),
    linear-gradient(135deg, #6b8f71 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 4px),
    calc(100% - 12px) calc(50% - 4px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

select:focus {
  outline: none;
  border-color: #6b8f71;
  box-shadow: 0 0 0 2px rgba(107, 143, 113, 0.15);
}

optgroup {
  font-weight: 600;
  color: #355f3b;
}
option {
  font-weight: 400;
}

a{ color: var(--brand); }
a:hover{ color: var(--brand-2); }

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.panel{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}


/* ============================
   PAGE LAYOUT (fix footer gap)
   ============================ */
.page-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-content {
  flex: 1 0 auto;
  padding-top: 16px;
}

/* Layout container */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px;
}

.site-footer {
  flex-shrink: 0;
}

/* ============================
   HEADER / FOOTER
   ============================ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1102;
  background: rgba(246, 247, 244, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}



.brand-mark{
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 20px;
}

.site-brand {
  text-decoration: none;

}

.site-brand img {
  height: 90px;
  width: auto;
  display: block;
}

.brand-dot{
  color: var(--accent);
  font-weight: 900;
  font-size: 22px;
  margin: 0 2px;
}

.brand-name{
  /*color: var(--brand);*/
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 19px;
}

.brand-tag{
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}


/* top nav */
.top-nav{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.top-nav a{
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 12px;
}

.top-nav a:hover{
  background: rgba(31, 111, 63, 0.08);
  color: var(--brand-2);
}

.top-nav .nav-cta{
  background: var(--brand);
  color: #fff;
  border: 1px solid rgba(0,0,0,0.06);
}

.top-nav .nav-cta:hover{
  background: var(--brand-2);
  color: #fff;
}

/* Footer */
.site-footer{
  margin-top: 28px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);
}

.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  flex-wrap: wrap;
}

.footer-brand{
  font-weight: 900;
  letter-spacing: -0.01em;
}

.footer-right a{
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.footer-right a:hover{
  color: var(--brand-2);
}

.footer-sep{
  margin: 0 10px;
  color: var(--muted);
}

.footer-left {
  display: grid;
  gap: 4px;
}

.muted {
  color: rgba(0,0,0,0.65);
  font-size: 13px;
}

.footer-right {
  display: flex;
  gap: 12px;
}



/* ============================
   BREADCRUMBS
   ============================ */
.breadcrumbs {
  color: var(--muted);
  margin-bottom: 5px;
}

.breadcrumbs a {
  text-decoration: none;
  color: rgba(0,0,0,0.72);
}

.breadcrumbs a:hover {
  color: rgba(0,0,0,0.92);
  text-decoration: underline;
}

.crumb-sep {
  color: rgba(0,0,0,0.45);
  font-weight: 900;
}

.crumb-current {
  color: rgba(0,0,0,0.92);
  font-weight: 900;
}


/* Links */
/* a { color: inherit; } */
/* a:hover { text-decoration: none; } */

/* Headings */
h1 { font-weight: 900; }
p  { line-height: 1.5; }
h1, h2, h3 { margin: 0; }
.results-title { font-size: 22px; font-weight: 800; }

/* ============================
   HOME (index.html)
   ============================ */
.search-section {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
}

.search-section h1 {
  font-size: 26px;
  font-weight: 850;
  letter-spacing: 0.2px;
}

.subtitle {
  margin-top: 8px;
  color: rgba(0,0,0,0.72);
  line-height: 1.35;
}

/* ============================
   FORMS
   ============================ */
.search-form, .filters-form {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.form-group label {
  display: flex;
  font-size: 13px;
  font-weight: 750;
  margin-bottom: 6px;
  color: rgba(0,0,0,0.75);
}

.form-group input{
  width: 100%;
  border: 1px solid rgba(0,0,0,0.18);
  background: #fff;
  border-radius: 10px;
  padding: 10px 10px;
  font-size: 14px;
  outline: none;
}

.form-group select{
  width: 100%;
  /* αφήνουμε το global select να κάνει το “modern” look */
  font-size: 14px; /* προαιρετικό */
}

.form-group input:focus{
  border-color: rgba(0,0,0,0.45);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
}

.form-group textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px 14px;
  border: 1px solid #d7dde3;
  border-radius: 10px;
  font: inherit;
  box-sizing: border-box;
  resize: vertical;
  background: #fff;
}

.form-group textarea:focus {
  outline: none;
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}

.range-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.full-width { width: 100%; }

/* Buttons */
.search-button{
  background: var(--brand);
  color: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 800;
}

.search-button:hover{ background: var(--brand-2); }


/* Index page form: make it 2-row layout on desktop */
@media (min-width: 860px) {
  .search-form {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
  }
  .search-form .form-group:nth-child(1) { grid-column: span 3; }
  .search-form .form-group:nth-child(2) { grid-column: span 3; }
  .search-form .form-group:nth-child(3) { grid-column: span 3; }
  .search-form .form-group:nth-child(4) { grid-column: span 3; }
  .search-form .form-group:nth-child(5) { grid-column: span 4; }
  .search-form .form-group.full-width { grid-column: 1 / -1; }
}

.reset-button {
  width: 100%;
  background: transparent;
  border: 1px dashed rgba(0,0,0,0.25);
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  color: rgba(0,0,0,0.7);
}

.reset-button.hidden {
  display: none;
}

.reset-button:hover {
  background: rgba(0,0,0,0.04);
  color: rgba(0,0,0,0.9);
}

/* ============================
   LISTINGS PAGE LAYOUT
   ============================ */
.listings-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 16px;
  align-items: start;
}

/* Sidebar */
.filters-sidebar {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
  position: sticky;
  top: 12px;
}

.filters-title {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 10px;
}

/* Make sidebar form compact*/
.filters-form .form-group {
  margin: 0;
  padding: 0;
}

.active-filters {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(0,0,0,0.65);
}

/* Results area */
.results-area {
  min-width: 0;
}

.results-bar {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

#resultsCount {
  margin-top: 4px;
  color: rgba(0,0,0,0.7);
  font-size: 13px;
}

.sort {
  font-size: 13px;
  font-weight: 750;
  color: rgba(0,0,0,0.7);
}

.sort select {
  margin-left: 6px;
  border-radius: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(0,0,0,0.18);
  background: #fff;
}

/* ============================
   LISTING GRID + CARDS
   ============================ */
.listing-row-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.listing-row-card:hover {
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.listing-row-link {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 220px;
  gap: 18px;
  padding: 16px;
  color: inherit;
  text-decoration: none;
}

.listing-row-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: #f3f4f6;
}

.listing-row-main {
  min-width: 0;
}

.listing-row-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.listing-row-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.listing-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e8f1ea;
  color: #2f5d35;
  font-size: 12px;
  font-weight: 700;
}

.listing-chip.chip-light {
  background: #f3f4f6;
  color: #444;
}

.listing-row-date {
  font-size: 13px;
  color: #666;
}

.listing-row-title {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.15;
  color: #111;
}

.listing-row-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  font-size: 15px;
  color: #333;
}

.listing-row-desc {
  margin: 0;
  color: #555;
  line-height: 1.55;
}

.listing-row-side {
  border-left: 1px solid #ececec;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}

.listing-row-price {
  font-size: 28px;
  font-weight: 800;
  color: #1c1c1c;
}

.listing-row-seller {
  font-size: 14px;
  color: #666;
}

.listing-row-cta {
  margin-top: 8px;
  background: #1f6f3d;
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .listing-row-link {
    grid-template-columns: 1fr;
  }

  .listing-row-image img {
    height: 220px;
  }

  .listing-row-side {
    border-left: 0;
    border-top: 1px solid #ececec;
    padding-left: 0;
    padding-top: 14px;
  }
}

@media (max-width: 1100px) {
  .listings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .listings-layout { grid-template-columns: 1fr; }
  .filters-sidebar { position: static; }
  .listings-grid { grid-template-columns: 1fr; }
}

/* Cards */
.listing-card{
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.06);
  transition: transform .12s ease, box-shadow .12s ease;
}

.listing-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.10);
}

.listing-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.listing-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.listing-body {
  padding: 12px 12px 14px;
}

.listing-title {
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.2;
}

.listing-meta {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: rgba(0,0,0,0.78);
}

.listing-meta strong {
  color: rgba(0,0,0,0.9);
}

.listing-seller {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 13px;
  color: rgba(0,0,0,0.78);
}

/* ============================
   SINGLE LISTING PAGE
   ============================ */
.back-link {
  display: inline-block;
  margin: 12px 0 14px;
  font-size: 14px;
  color: rgba(0,0,0,0.75);
}

.listing-page {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
}

.listing-top {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 16px;
  align-items: start;
}

.listing-gallery img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  border: 1px solid rgba(0,0,0,0.08);
}

.listing-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 12px;
}


.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(47, 107, 63, 0.10); /* brand tint */
  border: 1px solid rgba(47, 107, 63, 0.18);
  color: #1f5a33;
  font-size: 13px;
  font-weight: 700;
}

.badge-muted{
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.10);
  color: rgba(15, 23, 42, 0.70);
}

.listing-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 14px;
}

.fact {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 10px;
  background: #f8fafc;
}

.fact span {
  display: block;
  font-size: 12px;
  color: rgba(0,0,0,0.65);
  font-weight: 750;
}

.fact strong {
  display: block;
  margin-top: 5px;
  font-size: 15px;
  font-weight: 950;
}

.seller-box {
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

.seller-title {
  font-weight: 950;
  margin-bottom: 6px;
}

.seller-name {
  font-weight: 850;
  margin-bottom: 10px;
}

.seller-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 900;
  font-size: 14px;
  border: 1px solid rgba(0,0,0,0.14);
}

.btn.primary {
  background: #1f2937;
  color: #fff;
  border-color: rgba(0,0,0,0.18);
}

.btn.secondary {
  background: #fff;
  color: #111;
}

.btn:hover { filter: brightness(0.97); }

.seller-note {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(0,0,0,0.7);
  line-height: 1.35;
}

.listing-details {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.listing-details h2 {
  font-size: 16px;
  font-weight: 950;
  margin-bottom: 8px;
}

.listing-details p {
  margin: 0;
  color: rgba(0,0,0,0.78);
  line-height: 1.5;
}

.listing-error {
  background: #fff2f2;
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #7f1d1d;
  padding: 10px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.pagination-bar {
  margin: 14px 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.page-btn {
  border: 1px solid rgba(0,0,0,0.14);
  background: #fff;
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 900;
  cursor: pointer;
}

.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.page-info {
  font-size: 13px;
  font-weight: 800;
  color: rgba(0,0,0,0.7);
}

.page-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-num {
  border: 1px solid rgba(0,0,0,0.14);
  background: #fff;
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 900;
  cursor: pointer;
  min-width: 40px;
  text-align: center;
}

.page-num:hover {
  filter: brightness(0.97);
}

.page-num.active {
  background: #1f2937;
  color: #fff;
  border-color: rgba(0,0,0,0.18);
  cursor: default;
}

.page-ellipsis {
  padding: 0 6px;
  font-weight: 900;
  color: rgba(0,0,0,0.55);
}

/* Flag icon button */
.icon-flag-btn {
  border: 1px solid #eee;
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  line-height: 1;
  font-size: 16px;
}

.icon-flag-btn:hover {
  background: #fafafa;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 9999;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.20);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-x {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  padding: 6px 10px;
  border-radius: 10px;
}

.modal-x:hover {
  background: #f2f2f2;
}




/* ============================
   EMPTY STATE
   ============================ */
.empty-state {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
}

.empty-title {
  font-size: 16px;
  font-weight: 950;
  margin-bottom: 6px;
}

.empty-text {
  margin: 0 0 10px;
  color: rgba(0,0,0,0.72);
  line-height: 1.4;
}

.empty-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.empty-btn {
  border: 1px solid rgba(0,0,0,0.14);
  background: #fff;
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 900;
  cursor: pointer;
}

.empty-btn.primary {
  background: #1f2937;
  color: #fff;
  border-color: rgba(0,0,0,0.18);
}

.empty-btn:hover { filter: brightness(0.97); }

.empty-hints {
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(0,0,0,0.72);
}

.empty-hints li { margin: 6px 0; }

/* ============================
  Submit UI
   ============================ */
.field-error{
  margin-top:6px;
  font-size:13px;
  color:crimson;
  min-height:16px; /* keeps layout stable */
}

.input-error{
  border:1px solid crimson !important;
  box-shadow:0 0 0 2px rgba(220,20,60,0.12);
}

.chip{
  border:1px solid #d7dde3;
  background:#fff;
  padding:6px 10px;
  border-radius:999px;
  cursor:pointer;
  font-size:13px;
}
.chip:hover{ background:#f6f8fa; }



/* =========================
   Crop searchable dropdown
   ========================= */

.crop-select {
  position: relative;
}

.crop-select-toggle {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d7dde3;
  border-radius: 10px;
  background: #fff;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 15px;
  box-sizing: border-box;
}

.crop-select-toggle:hover {
  background: #fafafa;
}

.crop-select-arrow {
  color: #666;
  font-size: 14px;
}

.crop-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #d7dde3;
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
  z-index: 50;
  display: none;
  overflow: hidden;
}

.crop-select.open .crop-select-menu {
  display: block;
}

.crop-select-search-wrap {
  padding: 10px;
  border-bottom: 1px solid #eef1f4;
  background: #fff;
}

.crop-select-search {
  width: 100%;
  min-height: 40px;
  border: 1px solid #d7dde3;
  border-radius: 8px;
  padding: 0 12px;
  box-sizing: border-box;
  font-size: 14px;
}

.crop-select-options {
  max-height: 280px;
  overflow-y: auto;
}

.crop-select-group {
  padding: 8px 12px 4px;
  font-size: 12px;
  font-weight: 700;
  color: #667085;
  background: #fafafa;
  border-top: 1px solid #f1f3f5;
}

.crop-select-group:first-child {
  border-top: 0;
}

.crop-select-option {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
  transition: background 120ms ease;
}

.crop-select-option:hover {
  background: #f5f7f9;
}

.crop-select-empty {
  padding: 12px;
  color: #777;
  font-size: 14px;
}

@media (max-width: 980px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .listing-top { grid-template-columns: 1fr; }
  .listing-gallery img { height: 240px; }
  .listing-facts { grid-template-columns: 1fr; }
}

/* ============================
   SINGLE LISTING PAGE UPGRADE
   ============================ */

.listing-page {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.listing-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 420px;
  gap: 24px;
  align-items: start;
}

.listing-gallery,
.listing-summary,
.listing-description-box,
.listing-trust-box {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
}

.listing-gallery {
  padding: 16px;
}

.listing-gallery img,
.listing-gallery #listingImage {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  border: 1px solid rgba(0,0,0,0.08);
  background: #f3f4f6;
}

.listing-summary {
  padding: 22px;
  position: sticky;
  top: 16px;
}

#listingTitle {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.1;
  color: #111;
  font-weight: 900;
}

.listing-badges {
  margin: 10px 0 16px;
}

.badge {
  padding: 8px 12px;
}

.listing-facts {
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 18px 0 20px;
}

.fact {
  border-radius: 14px;
  padding: 14px;
}

.fact span {
  margin-bottom: 6px;
}

.fact strong {
  font-size: 20px;
}

.seller-box {
  border-radius: 16px;
  padding: 16px;
  margin-top: 20px;
}

.btn {
  border-radius: 12px;
  padding: 11px 14px;
}

.listing-details {
  display: none;
}

/* Νέο κάτω section */
.listing-lower {
  display: inline-block;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
}

.listing-description-box,
.listing-trust-box {
  padding: 22px;
  margin-bottom: 12px;
}

.listing-description-box h2,
.listing-trust-box h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 900;
}

#listingDescriptionFull {
  color: rgba(0,0,0,0.78);
  line-height: 1.7;
  white-space: pre-line;
}

.trust-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(0,0,0,0.78);
  line-height: 1.7;
}

.safety-link-box {
  margin-top: 18px;
  display: inline-block;
  text-decoration: none;
  font-weight: 800;
  color: var(--brand);
}

.safety-link-box:hover {
  color: var(--brand-2);
}

#listingThumbs {
  margin-top: 14px !important;
}

#listingThumbs img {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

#listingThumbs img:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

/* μικρό polish στο listings page */
.results-area .listing-row-card:last-child {
  margin-bottom: 0;
}

.listing-row-card {
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.08);
}

.listing-row-link:hover .listing-row-title {
  color: var(--brand-2);
}

.listing-row-price {
  color: var(--brand-2);
}

@media (max-width: 1100px) {
  .listing-top,
  .listing-lower {
    grid-template-columns: 1fr;
  }

  .listing-summary {
    position: static;
  }
}

@media (max-width: 760px) {
  .listing-row-title {
    font-size: 20px;
  }

  .listing-row-meta {
    font-size: 14px;
    gap: 10px;
  }

  .listing-row-desc {
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .listing-gallery img,
  .listing-gallery #listingImage {
    height: 280px;
  }

  #listingTitle {
    font-size: 28px;
  }
}

/* ============================
   HARVEST BOX
   ============================ */

.harvest-box {
  margin: 18px 0 0;
  padding: 18px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #fbfdf8 0%, #f3f8ee 100%);
  border: 1px solid rgba(47, 107, 63, 0.16);
  box-shadow:
    0 10px 22px rgba(31, 90, 51, 0.05),
    inset 0 1px 0 rgba(255,255,255,0.75);
}

.harvest-box-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.harvest-box-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(180deg, #e9f5e6 0%, #dfeedd 100%);
  border: 1px solid rgba(47, 107, 63, 0.12);
  font-size: 22px;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.harvest-box-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(0,0,0,0.52);
  margin-bottom: 5px;
}

.harvest-box-value {
  font-size: 18px;
  line-height: 1.15;
  font-weight: 950;
  color: #1f5a33;
  letter-spacing: -0.02em;
}

.harvest-box-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(47, 107, 63, 0.10);
  font-size: 13px;
  line-height: 1.55;
  color: rgba(0,0,0,0.66);
}

/* μικρό visual lift όταν υπάρχει το box δίπλα στα facts */
.listing-summary .harvest-box + .seller-box {
  margin-top: 18px;
}

/* πιο “δεμένο” look στο summary */
.listing-summary .harvest-box .harvest-box-value {
  word-break: break-word;
}

@media (max-width: 900px) {
  .harvest-box {
    padding: 16px;
    border-radius: 16px;
  }

  .harvest-box-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 20px;
    border-radius: 12px;
  }

  .harvest-box-value {
    font-size: 22px;
  }

  .harvest-box-note {
    font-size: 12px;
  }
}
/* =========================
   Listings crop multi-select
   ========================= */

.crop-multi-select {
  position: relative;
}

.crop-multi-toggle {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d7dde3;
  border-radius: 10px;
  background: #fff;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 15px;
  box-sizing: border-box;
}

.crop-multi-toggle:hover {
  background: #fafafa;
}

.crop-multi-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.12);
  padding: 10px;
}

.crop-multi-menu[hidden] {
  display: none;
}

.crop-multi-search-wrap {
  margin-bottom: 10px;
}

.crop-multi-search {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  outline: none;
}

.crop-multi-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.crop-multi-options {
  max-height: 300px;
  overflow: auto;
  display: grid;
  gap: 6px;
  padding-right: 2px;
}

.crop-multi-group {
  padding-top: 4px;
}

.crop-multi-group-label {
  font-size: 12px;
  font-weight: 900;
  color: rgba(0,0,0,0.55);
  padding: 6px 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.crop-multi-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.crop-multi-option input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 2px solid #cbd5e1;
  border-radius: 6px;
  display: inline-block;
  position: relative;
  cursor: pointer;
}

.crop-multi-option-text {
  display: block;
  line-height: 1.3;
}

.crop-multi-option:hover {
  background: rgba(0,0,0,0.04);
}


.crop-multi-option input:checked {
  background: var(--brand);
  border-color: var(--brand);
}

.crop-multi-option input:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .container {
    padding: 12px;
  }

  .page-content {
    padding-top: 12px;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 0;
  }

 

  .top-nav {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }

  .top-nav a {
    padding: 10px 12px;
    font-size: 14px;
  }

  .top-nav .nav-cta {
    width: 100%;
    text-align: center;
  }

  .search-section {
    padding: 16px;
    border-radius: 18px;
  }

  .search-section h1 {
    font-size: 22px;
    line-height: 1.2;
  }

  .subtitle {
    font-size: 15px;
  }

  .range-group {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .form-group input,
  .form-group select,
  .search-button {
    min-height: 46px;
  }

  .search-button {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-right {
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-sep {
    display: none;
  }
}

@media (max-width: 768px) {
  .top-nav a:not(.nav-cta) {
    flex: 0 1 auto;
  }

  .top-nav .nav-cta {
    flex: 1 0 100%;
  }
}


/* =========================
   MOBILE HEADER (car.gr style)
   ========================= */
.burger,
.mobile-cta {
  display: none;
}

/* MOBILE */
@media (max-width: 768px) {
	
	.site-brand{
		margin:auto;
	}

  .header-inner {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    padding: 10px 0;
  }

  /* hide desktop nav */
  .top-nav {
    display: none;
  }

  /* burger */
  .burger {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border: none;
    background: transparent;
    cursor: pointer;
  }

  /* logo center */
  .center-brand {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .brand-tag {
    display: none; /* κόβουμε το extra text */
  }

  /* right + button */
  .mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: #fff;
    border-radius: 10px;
    font-size: 22px;
    height: 36px;
    width: 36px;
    text-decoration: none;
  }

  .mobile-cta:hover {
    background: var(--brand-2);
  }
}


.mobile-menu a {
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  display: block;
  width: 100%;
}

/* mobile menu overlay feel */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: min(300px, 86vw);
  height: 100dvh;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  padding: 14px;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.mobile-menu-title {
  font-size: 16px;
  font-weight: 900;
}

.mobile-menu-close {
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 10px;
}

.mobile-menu-close:hover {
  background: rgba(0,0,0,0.05);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  padding: 12px 10px;
  border-radius: 12px;
}

.mobile-menu-links a:hover {
  background: rgba(31, 111, 63, 0.08);
  color: var(--brand-2);
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-menu-backdrop.open {
  opacity: 0.2;
  pointer-events: auto;
}

.site-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-width: 0;
}

.site-brand img {
  display: block;
  height: 84px;
  width: auto;
}

#mobileMenuClose {
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 10px;
}

#mobileMenuClose:hover {
  background: rgba(0,0,0,0.05);
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-menu-backdrop.open {
  opacity: 0.3;
  pointer-events: auto;
}

.mobile-menu {
  z-index: 1103;
}

.mobile-menu-backdrop {
  z-index: 1100;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.mobile-menu-links a {
  display: block;
  padding: 14px 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  background: rgba(0,0,0,0.02);
  transition: all 0.15s ease;
}

.mobile-menu-links a:hover {
  background: rgba(31, 111, 63, 0.08);
  color: var(--brand-2);
}

.mobile-filters-btn {
  display: none;
}

.filters-mobile-head {
  display: none;
}

.filters-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1200;
}

.filters-sheet-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .mobile-filters-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  }

  .filters-sidebar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: 100%;
    max-height: 85dvh;
    margin: 0;
    border-radius: 20px 20px 0 0;
    padding: 14px 14px 18px;
    overflow-y: auto;
    z-index: 1201;
    transform: translateY(105%);
    transition: transform 0.28s ease;
    box-shadow: 0 -12px 30px rgba(0,0,0,0.18);
  }

  .filters-sidebar.is-open {
    transform: translateY(0);
  }

  .filters-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    position: sticky;
    top: -14px;
    background: #fff;
    z-index: 2;
    padding-top: 2px;
  }

  .filters-close-btn {
    border: 0;
    background: transparent;
	  
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 10px;
  }

  .filters-close-btn:hover {
    background: rgba(0,0,0,0.05);
  }

  .filters-title {
    margin-bottom: 8px;
  }

  .results-bar {
    flex-wrap: wrap;
    align-items: stretch;
  }

  .results-bar .sort {
    width: 100%;
  }

  .results-bar .sort select {
    width: 100%;
    margin-left: 0;
    margin-top: 6px;
  }
}
.home-cta {
  text-align: center;
  padding: 28px 16px;
  margin-top: 16px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
}

.home-cta h2 {
  font-size: 20px;
  margin-bottom: 6px;
}

.home-cta p {
  color: #555;
  margin-bottom: 14px;
}

.cta-primary {
  display: inline-block;
  background: #1f6f3f;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}

.cta-sub {
  margin-top: 8px;
  font-size: 13px;
  color: #777;
}
.why-block {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #333;
  font-weight: 600;
}

.homepage-hero-visual {
  position: relative;
  min-height: 420px;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 18px;
  background:
    linear-gradient(rgba(12, 22, 14, 0.30), rgba(12, 22, 14, 0.34)),
    url("/images/ktima.png") center/cover no-repeat;
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

.homepage-hero-overlay {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
}

.homepage-hero-content {
  max-width: 760px;
  text-align: center;
  color: #fff;
}

.hero-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(4px);
}

.homepage-hero-content h1 {
  margin-top: 14px;
  margin-bottom: 10px;
  font-size: 42px;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.03em;
}

.homepage-hero-content p {
  margin: 0;
  font-size: 18px;
  color: rgba(255,255,255,0.92);
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-btn-primary,
.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
}

.hero-btn-primary {
  background: var(--brand);
  color: #fff;
}

.hero-btn-primary:hover {
  background: var(--brand-2);
  color: #fff;
}

.hero-btn-secondary {
  background: rgba(255,255,255,0.95);
  color: #111;
}

.hero-btn-secondary:hover {
  background: #fff;
  color: #111;
}

@media (max-width: 768px) {
  .homepage-hero-visual,
  .homepage-hero-overlay {
    min-height: 340px;
  }

  .homepage-hero-content h1 {
    font-size: 30px;
  }

  .homepage-hero-content p {
    font-size: 16px;
  }
}

/* =========================
   HOMEPAGE LISTINGS SLIDER
   ========================= */

.home-listings-slider {
  margin: 26px 0 10px;
}

.home-slider-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding: 10px;
}

.home-slider-head h2 {
  font-size: 24px;
  margin-bottom: 4px;
}

.home-slider-head p {
  margin: 0;
  color: rgba(0,0,0,0.68);
}

.home-slider-controls {
  display: flex;
  gap: 8px;
}

.slider-arrow {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  background: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0,0,0,0.04);
}

.slider-arrow:hover {
  background: #fafafa;
}

.home-slider-viewport {
  overflow: hidden;
}

.home-slider-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.home-slider-track::-webkit-scrollbar {
  display: none;
}

.home-slider-card {
  flex: 0 0 320px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,0.05);
}

.home-slider-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.home-slider-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  background: #f3f4f6;
}

.home-slider-body {
  padding: 14px;
}

.home-slider-top {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.home-slider-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef4ef;
  color: #275735;
  font-size: 12px;
  font-weight: 700;
}

.home-slider-chip.light {
  background: #f3f4f6;
  color: #444;
}

.home-slider-title {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 10px;
}

.home-slider-meta {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: rgba(0,0,0,0.75);
}

.home-slider-price {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 900;
  color: var(--brand-2);
}

.home-slider-empty {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 20px;
  color: rgba(0,0,0,0.68);
}

@media (max-width: 768px) {
  .home-slider-head {
    align-items: center;
  }

  .home-slider-head h2 {
    font-size: 21px;
  }

  .home-slider-card {
    flex-basis: 86vw;
  }

  .slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .home-listings-slider {
    display: none;
  }
}

