:root {
  --green: #236b3a;
  --green-dark: #174c29;
  --leaf: #65a765;
  --earth: #7a5a34;
  --amber: #d99b32;
  --bg: #f6f7f2;
  --panel: #ffffff;
  --text: #1f2a24;
  --muted: #647067;
  --border: #dce4d8;
  --box-border: #8fbd86;
  --danger: #a5352f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.site-header {
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 28px;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 14px rgba(20, 40, 25, 0.18);
}

.header-main-row {
  display: contents;
}

.header-brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.local-weather {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 1 auto;
  min-height: 34px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.weather-place,
.weather-temp,
.weather-clock {
  font-weight: 700;
}

.weather-summary {
  color: rgba(255, 255, 255, 0.78);
}

.weather-icon {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.weather-icon-sun {
  border-radius: 50%;
  background: #f5c542;
  box-shadow: 0 0 0 4px rgba(245, 197, 66, 0.24);
}

.weather-icon-cloud::before,
.weather-icon-rain::before,
.weather-icon-snow::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 1px;
  bottom: 5px;
  height: 9px;
  border-radius: 999px;
  background: #edf2f4;
}

.weather-icon-cloud::after,
.weather-icon-rain::after,
.weather-icon-snow::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #edf2f4;
  box-shadow: -5px 4px 0 -1px #edf2f4, 5px 4px 0 -1px #edf2f4;
}

.weather-icon-rain {
  border-bottom: 2px solid #7cc7ff;
}

.weather-icon-snow {
  border-bottom: 2px dotted #ffffff;
}

.logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  flex: 0 1 auto;
}

.main-nav a,
.nav-user {
  color: #fff;
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 6px;
  font-weight: 700;
}

.main-nav a:hover {
  background: var(--green-dark);
}

.nav-user {
  background: rgba(255, 255, 255, 0.14);
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

.page.narrow {
  max-width: 620px;
}

.hero {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 34px;
  align-items: center;
  background: linear-gradient(135deg, #174c29 0%, #236b3a 55%, #7a5a34 100%);
  color: #fff;
  padding: 56px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.hero-copy {
  max-width: 680px;
}

.hero-logo-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 20px 48px rgba(7, 24, 11, 0.24);
}

.hero-logo-panel img {
  display: block;
  width: 100%;
  height: auto;
}

.serbia-origin-badge {
  position: absolute;
  right: 28px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: min(360px, calc(100% - 48px));
  padding: 11px 15px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.98);
  color: #1f2a24;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  transform: rotate(-5deg);
  box-shadow: 0 20px 42px rgba(7, 24, 11, 0.32);
  z-index: 3;
}

.serbia-flag {
  position: relative;
  width: 108px;
  height: 63px;
  flex: 0 0 108px;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(20, 24, 28, 0.42);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  background: #fff;
}

.serbia-flag img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eyebrow {
  color: #f1d27f;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.08;
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button,
button,
.contact-link,
.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button.primary,
button {
  background: var(--amber);
  color: #1e2119;
}

.button.secondary {
  background: #fff;
  color: var(--green-dark);
}

.page-heading {
  max-width: 820px;
  margin-bottom: 24px;
}

.page-heading h1 {
  color: var(--green-dark);
  font-size: 34px;
  margin-bottom: 8px;
}

.page-heading p {
  color: var(--muted);
}

.panel-form,
.search-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 6px 20px rgba(28, 52, 33, 0.08);
}

.form-grid,
.search-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--green-dark);
  font-weight: 700;
}

.field-hint {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.offer-extra-fields {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #c8dfc0;
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfdf8 0%, #f2f8ef 100%);
  box-shadow: inset 0 1px 0 #fff;
}

.offer-extra-fields[hidden] {
  display: none;
}

.offer-extra-fields h2 {
  margin: 0;
  color: var(--green-dark);
  font-size: 20px;
}

.choice-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px;
  border: 1px solid #bfcabd;
  border-radius: 6px;
  background: #fff;
}

.choice-list legend {
  padding: 0 5px;
  color: var(--green-dark);
  font-weight: 700;
}

.choice-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
}

.choice-list input {
  width: auto;
}

.pricing-note {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 14px 16px;
  background: #fff8e8;
  border: 1px solid #e6c77b;
  border-radius: 8px;
  color: #4b3a16;
}

.pricing-note strong {
  color: var(--green-dark);
}

.coordinate-field {
  display: none;
}

.location-actions {
  display: grid;
  align-content: end;
  gap: 7px;
}

.location-actions button {
  width: 100%;
}

.product-link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

.product-link img {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: #fff;
}

.subtype-box li a.product-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 7px 10px;
}

.subtype-box li a.product-link img {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #bfcabd;
  border-radius: 6px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

textarea {
  resize: vertical;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
}

.check-row input {
  width: auto;
}

.alert {
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 13px 16px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #e7f4e6;
  color: var(--green-dark);
}

.alert.error {
  background: #fde8e4;
  color: var(--danger);
  border-color: #f0b5ad;
}

.category-grid,
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.category-box,
.offer-card,
.offers-table {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(28, 52, 33, 0.07);
}

.offer-card {
  position: relative;
}

.demo-badge {
  z-index: 2;
  padding: 6px 9px;
  border-radius: 6px;
  background: #fff;
  color: var(--green-dark);
  border: 1px solid rgba(35, 107, 58, 0.22);
  box-shadow: 0 8px 18px rgba(28, 52, 33, 0.14);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.offer-card .demo-badge,
.offer-detail-media .demo-badge {
  position: absolute;
  top: 12px;
  right: 12px;
}

.category-box {
  min-height: 180px;
}

.category-box h2,
.offers-table h2,
.result-header h2 {
  color: var(--green-dark);
}

.fruit-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 18px 0 30px;
}

.fruit-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--green-dark);
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(28, 52, 33, 0.06);
}

.fruit-icon {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.fruit-icon::before,
.fruit-icon::after,
.category-icon::before,
.category-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.apple {
  background: #c83e38;
  border-radius: 46% 46% 52% 52%;
  box-shadow: inset -6px -7px 0 rgba(90, 0, 0, 0.16);
}

.apple::before,
.pear::before,
.plum::before,
.peach::before {
  width: 12px;
  height: 7px;
  background: #4f8a34;
  border-radius: 80% 0;
  right: 5px;
  top: -4px;
  transform: rotate(-22deg);
}

.pear {
  background: #d6c447;
  border-radius: 52% 48% 48% 48%;
  transform: rotate(-8deg);
  box-shadow: inset -6px -7px 0 rgba(118, 103, 0, 0.14);
}

.pear::after {
  width: 22px;
  height: 25px;
  background: #d6c447;
  border-radius: 50%;
  left: 5px;
  bottom: -1px;
  box-shadow: inset -5px -6px 0 rgba(118, 103, 0, 0.12);
}

.plum {
  background: #63378a;
  border-radius: 50%;
  box-shadow: inset -7px -7px 0 rgba(24, 6, 54, 0.2);
}

.peach {
  background: #ee9a56;
  border-radius: 50%;
  box-shadow: inset -7px -7px 0 rgba(118, 58, 0, 0.15);
}

.peach::after {
  width: 2px;
  height: 28px;
  background: rgba(118, 58, 0, 0.28);
  left: 16px;
  top: 3px;
  border-radius: 3px;
}

.cherry::before,
.cherry::after {
  width: 18px;
  height: 18px;
  background: #b92331;
  border-radius: 50%;
  bottom: 0;
  box-shadow: inset -4px -4px 0 rgba(72, 0, 5, 0.16);
}

.cherry::before {
  left: 1px;
}

.cherry::after {
  right: 1px;
}

.cherry {
  border-top: 3px solid #47782f;
  border-radius: 50% 50% 0 0;
}

.raspberry {
  display: grid;
  grid-template-columns: repeat(3, 10px);
  grid-template-rows: repeat(3, 10px);
  gap: 1px;
  align-content: center;
}

.raspberry::before {
  inset: 0;
  background:
    radial-gradient(circle at 5px 7px, #bd2758 0 5px, transparent 6px),
    radial-gradient(circle at 17px 6px, #d63269 0 5px, transparent 6px),
    radial-gradient(circle at 28px 7px, #bd2758 0 5px, transparent 6px),
    radial-gradient(circle at 10px 17px, #d63269 0 5px, transparent 6px),
    radial-gradient(circle at 23px 17px, #bd2758 0 5px, transparent 6px),
    radial-gradient(circle at 16px 28px, #d63269 0 6px, transparent 7px);
}

.blueberry {
  background:
    radial-gradient(circle at 10px 12px, #4660aa 0 8px, transparent 9px),
    radial-gradient(circle at 23px 11px, #2d458f 0 8px, transparent 9px),
    radial-gradient(circle at 17px 24px, #3654a4 0 10px, transparent 11px);
}

.blueberry::before {
  width: 6px;
  height: 6px;
  left: 8px;
  top: 9px;
  background: #1e2f68;
  border-radius: 50%;
  box-shadow: 13px -1px 0 #1e2f68, 8px 13px 0 #1e2f68;
}

.category-icon {
  position: relative;
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: #edf5ea;
}

.fruit-bowl::before {
  width: 20px;
  height: 20px;
  left: 9px;
  top: 14px;
  background: #c83e38;
  border-radius: 50%;
  box-shadow: 16px 2px 0 #d6c447, 8px 16px 0 #63378a;
}

.vegetable::before {
  width: 34px;
  height: 18px;
  left: 10px;
  top: 21px;
  background: #df6f3a;
  border-radius: 18px;
}

.vegetable::after {
  width: 20px;
  height: 14px;
  left: 9px;
  top: 10px;
  background: #4f8a34;
  border-radius: 80% 0;
  transform: rotate(-18deg);
}

.grain::before {
  width: 4px;
  height: 36px;
  left: 25px;
  top: 10px;
  background: #8e6c26;
}

.grain::after {
  width: 11px;
  height: 11px;
  left: 15px;
  top: 13px;
  background: #d99b32;
  border-radius: 80% 0;
  box-shadow: 14px 7px 0 #d99b32, 0 15px 0 #d99b32, 14px 22px 0 #d99b32;
}

.farm::before {
  width: 34px;
  height: 24px;
  left: 10px;
  top: 22px;
  background: #fff;
  border: 2px solid #236b3a;
  border-radius: 6px;
}

.farm::after {
  width: 24px;
  height: 24px;
  left: 15px;
  top: 10px;
  background: #d99b32;
  transform: rotate(45deg);
  border-radius: 3px;
}

.jar::before {
  width: 24px;
  height: 34px;
  left: 15px;
  top: 12px;
  background: #f3b24f;
  border: 2px solid #7a5a34;
  border-radius: 6px 6px 10px 10px;
}

.jar::after {
  width: 18px;
  height: 6px;
  left: 18px;
  top: 8px;
  background: #7a5a34;
  border-radius: 4px;
}

.package::before {
  width: 32px;
  height: 28px;
  left: 11px;
  top: 16px;
  background: #c99a5a;
  border: 2px solid #7a5a34;
  border-radius: 4px;
}

.package::after {
  width: 2px;
  height: 28px;
  left: 26px;
  top: 16px;
  background: #7a5a34;
}

.section-title {
  margin-bottom: 16px;
}

.section-title h2 {
  color: var(--green-dark);
  margin-bottom: 6px;
}

.product-board {
  margin: 28px 0;
}

.catalog-section {
  margin: 30px 0;
}

.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.catalog-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdf8 100%);
  border: 1px solid var(--box-border);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 10px 26px rgba(28, 52, 33, 0.09);
}

.catalog-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--green) 0%, var(--amber) 100%);
}

.catalog-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.catalog-card-head .category-icon {
  margin-bottom: 0;
  flex: 0 0 54px;
  border: 1px solid var(--box-border);
  box-shadow: inset 0 0 0 1px #fff, 0 6px 14px rgba(35, 107, 58, 0.09);
}

.catalog-card-head h3 {
  color: var(--green-dark);
  margin: 0;
}

.subtype-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.subtype-box {
  min-height: 165px;
  background: #f8fbf5;
  border: 1px solid var(--box-border);
  border-radius: 8px;
  padding: 14px;
  box-shadow: inset 0 1px 0 #fff;
}

.subtype-box h4 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--earth);
  font-size: 15px;
}

.subtype-box h4::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px #fff4d7;
}

.subtype-box ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.subtype-box li {
  background: #fff;
  border: 1px solid var(--box-border);
  border-radius: 7px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(28, 52, 33, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.subtype-box li:hover {
  border-color: var(--green);
  box-shadow: 0 7px 16px rgba(28, 52, 33, 0.1);
  transform: translateY(-1px);
}

.subtype-box li a {
  display: block;
  padding: 7px 10px;
  text-decoration: none;
  border-radius: 7px;
}

.subtype-box li a:hover {
  background: #e7f4e4;
  color: var(--green-dark);
}

.subtype-box li a:focus-visible {
  outline: 3px solid rgba(217, 155, 50, 0.35);
  outline-offset: 2px;
}

.demo-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 18px;
  align-items: center;
  margin: 28px 0;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(28, 52, 33, 0.07);
}

.demo-panel h2 {
  color: var(--green-dark);
  margin-bottom: 8px;
}

.demo-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.demo-login {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.qr-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: center;
  margin: 28px 0 0;
  padding: 24px;
  background: var(--green-dark);
  color: #fff;
  border-radius: 8px;
}

.qr-panel h2 {
  margin-bottom: 8px;
}

.qr-panel .eyebrow {
  color: #f1d27f;
}

.qr-panel .button.secondary {
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.qr-card {
  justify-self: end;
  background: #fff;
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 18px 40px rgba(7, 24, 11, 0.24);
}

.qr-card img {
  display: block;
  width: 260px;
  aspect-ratio: 1;
}

.product-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.product-group {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(28, 52, 33, 0.07);
}

.product-group h3 {
  color: var(--green-dark);
  margin-bottom: 14px;
}

.product-list {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-list li {
  display: grid;
  grid-template-columns: 34px minmax(90px, 1fr);
  grid-template-areas:
    "icon name"
    "icon qty";
  gap: 1px 10px;
  align-items: center;
  min-height: 52px;
  padding: 8px;
  background: #f8faf5;
  border: 1px solid #e4ebdf;
  border-radius: 8px;
}

.product-list strong {
  grid-area: name;
  color: var(--text);
}

.product-list em {
  grid-area: qty;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}

.mini-icon {
  grid-area: icon;
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.mini-icon::before,
.mini-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.mini-icon.apple {
  background: #c83e38;
  border-radius: 46% 46% 52% 52%;
}

.mini-icon.pear {
  background: #d6c447;
  border-radius: 52% 48% 48% 48%;
}

.mini-icon.plum {
  background: #63378a;
  border-radius: 50%;
}

.mini-icon.raspberry {
  background:
    radial-gradient(circle at 7px 8px, #bd2758 0 5px, transparent 6px),
    radial-gradient(circle at 18px 8px, #d63269 0 5px, transparent 6px),
    radial-gradient(circle at 12px 18px, #bd2758 0 5px, transparent 6px),
    radial-gradient(circle at 22px 19px, #d63269 0 5px, transparent 6px);
}

.mini-icon.carrot {
  background: #df6f3a;
  border-radius: 18px;
  transform: rotate(-12deg);
}

.mini-icon.carrot::before {
  width: 17px;
  height: 12px;
  left: -2px;
  top: -6px;
  background: #4f8a34;
  border-radius: 80% 0;
  transform: rotate(-20deg);
}

.mini-icon.tomato {
  background: #c83e38;
  border-radius: 50%;
}

.mini-icon.tomato::before {
  width: 14px;
  height: 8px;
  left: 8px;
  top: -2px;
  background: #4f8a34;
  clip-path: polygon(50% 0, 65% 40%, 100% 20%, 76% 62%, 96% 100%, 50% 75%, 4% 100%, 24% 62%, 0 20%, 35% 40%);
}

.mini-icon.cabbage {
  background: #9dcf7b;
  border-radius: 50%;
  box-shadow: inset -7px -5px 0 rgba(35, 107, 58, 0.18);
}

.mini-icon.cabbage::before {
  width: 20px;
  height: 20px;
  left: 5px;
  top: 5px;
  border: 2px solid rgba(35, 107, 58, 0.45);
  border-radius: 50%;
}

.mini-icon.pepper-red,
.mini-icon.pepper-green {
  background: #b92331;
  border-radius: 45% 45% 55% 55%;
}

.mini-icon.pepper-green {
  background: #3d8d3b;
}

.mini-icon.pepper-red::before,
.mini-icon.pepper-green::before {
  width: 10px;
  height: 8px;
  left: 10px;
  top: -5px;
  background: #47782f;
  border-radius: 8px 8px 0 0;
}

.mini-icon.grape-white,
.mini-icon.grape-black {
  background:
    radial-gradient(circle at 8px 8px, #d6c447 0 5px, transparent 6px),
    radial-gradient(circle at 18px 8px, #cab83e 0 5px, transparent 6px),
    radial-gradient(circle at 13px 17px, #d6c447 0 6px, transparent 7px),
    radial-gradient(circle at 22px 18px, #cab83e 0 5px, transparent 6px),
    radial-gradient(circle at 16px 26px, #d6c447 0 5px, transparent 6px);
}

.mini-icon.potato {
  background: #b98a56;
  border-radius: 48% 52% 44% 56%;
  box-shadow: inset -6px -5px 0 rgba(90, 57, 21, 0.16);
}

.mini-icon.potato::before {
  width: 3px;
  height: 3px;
  left: 8px;
  top: 10px;
  background: #6d4811;
  border-radius: 50%;
  box-shadow: 9px 6px 0 #6d4811, 14px -1px 0 #6d4811;
}

.mini-icon.cucumber {
  background: #3d8d3b;
  border-radius: 16px;
  transform: rotate(-18deg);
  box-shadow: inset -6px -5px 0 rgba(17, 79, 30, 0.18);
}

.mini-icon.cucumber::before {
  width: 18px;
  height: 2px;
  left: 6px;
  top: 14px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 3px;
}

.mini-icon.onion {
  background: #d9b17b;
  border-radius: 50% 50% 45% 45%;
}

.mini-icon.onion::before,
.mini-icon.garlic::before {
  width: 14px;
  height: 8px;
  left: 8px;
  top: -5px;
  background: #4f8a34;
  border-radius: 80% 0;
}

.mini-icon.garlic {
  background: #f1eadc;
  border: 2px solid #d7c5a6;
  border-radius: 48% 52% 45% 55%;
}

.mini-icon.lettuce,
.mini-icon.spinach,
.mini-icon.leek,
.mini-icon.broccoli,
.mini-icon.kale,
.mini-icon.parsley {
  background: #65a765;
  border-radius: 46% 54% 48% 52%;
  box-shadow: inset -6px -5px 0 rgba(35, 107, 58, 0.18);
}

.mini-icon.lettuce::before,
.mini-icon.spinach::before,
.mini-icon.kale::before {
  width: 20px;
  height: 20px;
  left: 5px;
  top: 5px;
  border: 2px solid rgba(35, 107, 58, 0.4);
  border-radius: 50%;
}

.mini-icon.leek {
  background: linear-gradient(90deg, #f1eadc 0 45%, #4f8a34 46% 100%);
  border-radius: 16px;
  transform: rotate(-15deg);
}

.mini-icon.beet {
  background: #8e224a;
  border-radius: 50% 50% 48% 48%;
  box-shadow: inset -5px -5px 0 rgba(72, 0, 35, 0.2);
}

.mini-icon.beet::before {
  width: 14px;
  height: 9px;
  left: 8px;
  top: -6px;
  background: #4f8a34;
  border-radius: 80% 0;
}

.mini-icon.zucchini {
  background: #4f8a34;
  border-radius: 18px;
  transform: rotate(-18deg);
  box-shadow: inset -6px -5px 0 rgba(17, 79, 30, 0.18);
}

.mini-icon.pumpkin {
  background: #d9822f;
  border-radius: 50%;
  box-shadow: inset -7px -5px 0 rgba(118, 58, 0, 0.18);
}

.mini-icon.watermelon {
  background: #2f8b42;
  border-radius: 50%;
  border: 3px solid #1f6f32;
}

.mini-icon.watermelon::before {
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #d8403d;
  border-radius: 50%;
}

.mini-icon.melon {
  background: #d6c447;
  border-radius: 50%;
  box-shadow: inset -6px -5px 0 rgba(118, 103, 0, 0.14);
}

.mini-icon.cauliflower {
  background:
    radial-gradient(circle at 8px 12px, #f1eadc 0 7px, transparent 8px),
    radial-gradient(circle at 18px 9px, #fff7e8 0 7px, transparent 8px),
    radial-gradient(circle at 18px 21px, #f1eadc 0 8px, transparent 9px);
}

.mini-icon.broccoli {
  background:
    radial-gradient(circle at 8px 11px, #3d8d3b 0 7px, transparent 8px),
    radial-gradient(circle at 19px 10px, #236b3a 0 7px, transparent 8px),
    radial-gradient(circle at 16px 21px, #4f8a34 0 7px, transparent 8px);
}

.mini-icon.celery,
.mini-icon.parsnip {
  background: #f1eadc;
  border-radius: 16px;
  transform: rotate(-14deg);
}

.mini-icon.celery::before,
.mini-icon.parsnip::before {
  width: 13px;
  height: 9px;
  left: 8px;
  top: -6px;
  background: #4f8a34;
  border-radius: 80% 0;
}

.mini-icon.parsley {
  background:
    radial-gradient(circle at 8px 10px, #4f8a34 0 6px, transparent 7px),
    radial-gradient(circle at 18px 10px, #65a765 0 6px, transparent 7px),
    radial-gradient(circle at 13px 20px, #4f8a34 0 7px, transparent 8px);
}

.mini-icon.eggplant {
  background: #5a2b78;
  border-radius: 55% 45% 50% 50%;
  transform: rotate(-18deg);
}

.mini-icon.eggplant::before {
  width: 12px;
  height: 8px;
  left: 10px;
  top: -5px;
  background: #4f8a34;
  border-radius: 8px 8px 0 0;
}

.mini-icon.walnut,
.mini-icon.hazelnut,
.mini-icon.almond {
  background: #8b5f32;
  border-radius: 48% 52% 46% 54%;
  box-shadow: inset -5px -5px 0 rgba(72, 43, 12, 0.22);
}

.mini-icon.walnut::before {
  width: 2px;
  height: 24px;
  left: 14px;
  top: 3px;
  background: rgba(72, 43, 12, 0.38);
  border-radius: 4px;
}

.mini-icon.hazelnut {
  background: #a8753b;
}

.mini-icon.almond {
  background: #c79a62;
  border-radius: 60% 40% 60% 40%;
  transform: rotate(-25deg);
}

.mini-icon.bean,
.mini-icon.pea,
.mini-icon.green-bean,
.mini-icon.lentil,
.mini-icon.soy {
  background:
    radial-gradient(circle at 8px 11px, #ece3cc 0 6px, transparent 7px),
    radial-gradient(circle at 20px 9px, #d8c29b 0 6px, transparent 7px),
    radial-gradient(circle at 16px 22px, #ece3cc 0 6px, transparent 7px);
}

.mini-icon.pea {
  background:
    radial-gradient(circle at 8px 15px, #65a765 0 5px, transparent 6px),
    radial-gradient(circle at 17px 15px, #4f8a34 0 5px, transparent 6px),
    radial-gradient(circle at 25px 15px, #65a765 0 5px, transparent 6px);
}

.mini-icon.green-bean {
  background: #3d8d3b;
  border-radius: 18px;
  transform: rotate(-20deg);
}

.mini-icon.green-bean::before {
  width: 21px;
  height: 4px;
  left: 5px;
  top: 13px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 5px;
}

.mini-icon.lentil {
  background:
    radial-gradient(circle at 8px 12px, #b07d42 0 5px, transparent 6px),
    radial-gradient(circle at 19px 10px, #a06f39 0 5px, transparent 6px),
    radial-gradient(circle at 16px 22px, #b07d42 0 5px, transparent 6px);
}

.mini-icon.grain-mini {
  background: #e1b04f;
  border-radius: 8px;
}

.mini-icon.grain-mini::before {
  width: 3px;
  height: 24px;
  left: 14px;
  top: 4px;
  background: #8e6c26;
}

.mini-icon.grain-mini::after {
  width: 8px;
  height: 8px;
  left: 7px;
  top: 6px;
  background: #d99b32;
  border-radius: 80% 0;
  box-shadow: 9px 5px 0 #d99b32, 0 12px 0 #d99b32, 9px 17px 0 #d99b32;
}

.mini-icon.corn {
  background: #d99b32;
  border-radius: 45% 45% 50% 50%;
}

.mini-icon.corn::before {
  width: 8px;
  height: 26px;
  left: 3px;
  top: 2px;
  background: #4f8a34;
  border-radius: 80% 0 0 80%;
  transform: rotate(-14deg);
}

.mini-icon.sunflower {
  background:
    radial-gradient(circle at 15px 15px, #6d4811 0 6px, transparent 7px),
    radial-gradient(circle at 15px 5px, #d99b32 0 5px, transparent 6px),
    radial-gradient(circle at 25px 15px, #d99b32 0 5px, transparent 6px),
    radial-gradient(circle at 15px 25px, #d99b32 0 5px, transparent 6px),
    radial-gradient(circle at 5px 15px, #d99b32 0 5px, transparent 6px);
}

.mini-icon.grape-black {
  background:
    radial-gradient(circle at 8px 8px, #4b286d 0 5px, transparent 6px),
    radial-gradient(circle at 18px 8px, #63378a 0 5px, transparent 6px),
    radial-gradient(circle at 13px 17px, #4b286d 0 6px, transparent 7px),
    radial-gradient(circle at 22px 18px, #63378a 0 5px, transparent 6px),
    radial-gradient(circle at 16px 26px, #4b286d 0 5px, transparent 6px);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-dark);
  background: #fff2d6;
}

.status-badge.approved {
  color: #155724;
  background: #d4edda;
}

.status-badge.pending {
  color: #6d4811;
  background: #fff2d6;
}

.status-badge.rejected {
  color: var(--danger);
  background: #fde8e4;
}

.admin-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(74px, 1fr));
  gap: 6px;
}

.small-button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 13px;
}

.small-button.approve {
  background: var(--green);
  color: #fff;
}

.small-button.reject {
  background: var(--danger);
  color: #fff;
}

.mini-icon.egg {
  background: #f4ead7;
  border: 2px solid #d7c5a6;
  border-radius: 50% 50% 46% 46%;
}

.mini-icon.milk {
  background: #ffffff;
  border: 2px solid #74a7cf;
  border-radius: 5px;
}

.mini-icon.milk::before {
  width: 16px;
  height: 6px;
  left: 5px;
  top: -5px;
  background: #74a7cf;
  border-radius: 3px;
}

.mini-icon.cheese {
  background: #f2c84b;
  clip-path: polygon(10% 18%, 95% 50%, 10% 86%);
}

.mini-icon.meat {
  background: #8f2c28;
  border-radius: 48% 52% 40% 60%;
}

.mini-icon.livestock {
  background: #ffffff;
  border: 2px solid #236b3a;
  border-radius: 9px;
}

.mini-icon.livestock::before {
  width: 9px;
  height: 9px;
  left: 4px;
  top: 5px;
  background: #236b3a;
  border-radius: 50%;
  box-shadow: 12px 0 0 #236b3a;
}

.mini-icon.livestock::after {
  width: 18px;
  height: 4px;
  left: 5px;
  bottom: 5px;
  background: #236b3a;
  border-radius: 4px;
}

.mini-icon.honey,
.mini-icon.jam,
.mini-icon.ajvar,
.mini-icon.cream {
  background: #f3b24f;
  border: 2px solid #7a5a34;
  border-radius: 6px 6px 10px 10px;
}

.mini-icon.honey::before,
.mini-icon.jam::before,
.mini-icon.ajvar::before,
.mini-icon.cream::before {
  width: 18px;
  height: 5px;
  left: 4px;
  top: -5px;
  background: #7a5a34;
  border-radius: 4px;
}

.mini-icon.cream {
  background: #f8e9c0;
}

.mini-icon.jam {
  background: #9e2540;
}

.mini-icon.ajvar {
  background: #bd4b2f;
}

.mini-icon.wine,
.mini-icon.rakija {
  background: #5f1730;
  border-radius: 5px 5px 9px 9px;
  width: 18px;
  margin-left: 6px;
}

.mini-icon.wine::before,
.mini-icon.rakija::before {
  width: 9px;
  height: 10px;
  left: 4px;
  top: -8px;
  background: #5f1730;
  border-radius: 3px 3px 0 0;
}

.mini-icon.rakija {
  background: #d99b32;
}

.mini-icon.rakija::before {
  background: #d99b32;
}

.offer-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.offer-image,
.offer-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8faf5;
}

.offer-image {
  display: block;
  object-fit: cover;
}

.offer-image-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
}

.offer-thumb {
  display: block;
  width: 72px;
  height: 54px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #f8faf5;
}

.offer-card-head span,
.offer-card-head strong {
  font-size: 13px;
  color: var(--green-dark);
  background: #e6f2e3;
  padding: 5px 8px;
  border-radius: 6px;
}

.offer-card-head strong {
  background: #fff2d6;
  color: #6d4811;
}

.offer-card-head .donor-badge,
.donor-badge {
  background: #e9f6df;
  color: #1f6b3a;
  border: 1px solid #b8dba7;
}

.donor-inline {
  display: inline-flex;
  margin-top: 4px;
  padding: 4px 7px;
  border: 1px solid #b8dba7;
  border-radius: 6px;
  background: #e9f6df;
  color: #1f6b3a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.offer-public-id {
  color: var(--earth);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.small-link {
  color: var(--green-dark);
  font-weight: 700;
}

.payment-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 6px 20px rgba(28, 52, 33, 0.08);
}

.payment-instructions {
  margin: 16px 0;
  padding: 14px;
  border: 1px solid #d9e8d2;
  border-radius: 8px;
  background: #f6faf3;
}

.payment-instructions h3 {
  margin-bottom: 6px;
  color: var(--green-dark);
}

.payment-instructions p:last-child {
  margin-bottom: 0;
}

#google-pay-button {
  min-height: 44px;
  margin: 16px 0;
}

.producer,
.muted {
  color: var(--muted);
}

.empty-state {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(28, 52, 33, 0.07);
}

.empty-state h2 {
  color: var(--green-dark);
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--muted);
}

dl {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  font-weight: 700;
}

.contact-link,
.map-link {
  background: var(--green);
  color: #fff;
  width: 100%;
}

.map-link {
  background: var(--earth);
}

.card-actions,
.map-tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.comments-box,
.buyer-inquiry {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

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

.contact-note {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(28, 52, 33, 0.07);
}

.contact-note h2 {
  color: var(--green-dark);
  font-size: 22px;
  margin-bottom: 8px;
}

.contact-note p {
  color: var(--muted);
}

.comments-box h4,
.buyer-inquiry h4 {
  margin: 0 0 10px;
  color: var(--green-dark);
}

.buyer-inquiry form {
  display: grid;
  gap: 10px;
}

.buyer-inquiry button {
  width: 100%;
}

.comment-item {
  background: #f8faf5;
  border: 1px solid #e4ebdf;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 8px;
}

.comment-item p {
  margin: 5px 0 0;
}

.comment-form {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.comment-form button {
  width: 100%;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.admin-stats article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 4px 16px rgba(28, 52, 33, 0.07);
}

.admin-stats strong {
  display: block;
  color: var(--green-dark);
  font-size: 32px;
}

.admin-stats span {
  color: var(--muted);
  font-weight: 700;
}

.map-tools {
  margin: 14px 0;
}

.map-tools button {
  background: var(--green);
  color: #fff;
}

.result-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin: 28px 0 12px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

th {
  background: #ecf3e9;
  color: var(--green-dark);
}

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

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: var(--amber);
  color: #1e2119;
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 10px 26px rgba(23, 76, 41, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

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

.back-to-top:hover {
  background: #f1b64d;
}

.back-to-top:focus-visible {
  outline: 3px solid rgba(35, 107, 58, 0.35);
  outline-offset: 3px;
}

.footer-credit {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.footer-credit a {
  color: #f1d27f;
  font-weight: 700;
  text-decoration: none;
}

.footer-credit a:hover {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 18px;
    position: static;
  }

  .header-main-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
  }

  .header-brand-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex: 0 0 44px;
  }

  .local-weather {
    max-width: 100%;
    flex-wrap: wrap;
    white-space: normal;
  }

  .main-nav {
    display: none;
    justify-content: flex-start;
    width: 100%;
    gap: 6px;
    padding-top: 6px;
  }

  .site-header.nav-open .main-nav {
    display: flex;
  }

  .main-nav a,
  .nav-user {
    flex: 1 1 140px;
    padding: 8px 10px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.08);
  }

  .hero {
    min-height: 360px;
    grid-template-columns: 1fr;
    padding: 30px 22px 96px;
  }

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

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

  .hero-logo-panel {
    max-width: 260px;
  }

  .serbia-origin-badge {
    right: 18px;
    bottom: 22px;
    width: calc(100% - 36px);
    transform: rotate(-3deg);
  }

  .result-header {
    display: block;
  }

  .demo-panel {
    grid-template-columns: 1fr;
  }

  .qr-panel {
    grid-template-columns: 1fr;
    padding: 20px;
  }

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

  .qr-card {
    justify-self: start;
  }

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

  .subtype-box {
    min-height: auto;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    min-height: 44px;
    font-size: 24px;
  }
}

@media (max-width: 520px) {
  .page {
    padding: 20px 12px 40px;
  }

  .brand {
    font-size: 18px;
  }

  .logo {
    width: 48px;
    height: 48px;
  }

  .hero {
    padding: 24px 16px 106px;
    gap: 22px;
  }

  .local-weather {
    font-size: 12px;
  }

  .weather-summary {
    display: none;
  }

  .serbia-origin-badge {
    align-items: center;
    gap: 8px;
    font-size: 11px;
    padding: 8px 10px;
  }

  .serbia-flag {
    width: 88px;
    height: 51px;
    flex-basis: 88px;
  }

  .serbia-flag img {
    width: 100%;
    height: 100%;
  }

  .hero h1,
  .page-heading h1 {
    font-size: 27px;
  }

  .actions,
  .demo-links,
  .card-actions,
  .map-tools {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button,
  button,
  .contact-link,
  .map-link {
    width: 100%;
  }

  .catalog-card,
  .panel-form,
  .search-panel,
  .offers-table,
  .offer-card,
  .demo-panel,
  .qr-panel {
    padding: 16px;
  }

  .catalog-card-head {
    align-items: flex-start;
  }

  .subtype-box ul {
    display: grid;
    grid-template-columns: 1fr;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  th,
  td {
    padding: 9px;
    font-size: 14px;
  }

  .qr-card {
    width: 100%;
  }

  .qr-card img {
    width: 100%;
    max-width: 260px;
  }
}

/* Professional redesign layer */
:root {
  --bg: #f4f6f1;
  --panel: #ffffff;
  --green: #1f6b3a;
  --green-dark: #123f27;
  --leaf: #5e9f63;
  --earth: #6f5730;
  --amber: #dda12a;
  --text: #1a241e;
  --muted: #647067;
  --border: #d9e2d4;
  --soft: #eef5ea;
}

body {
  background:
    linear-gradient(180deg, #f8faf5 0, var(--bg) 360px),
    var(--bg);
}

.site-header {
  align-items: center;
  padding: 12px clamp(16px, 3vw, 34px);
  background: rgba(18, 63, 39, 0.96);
  backdrop-filter: blur(10px);
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 7px;
}

.brand {
  font-size: 21px;
}

.main-nav a,
.nav-user {
  border-radius: 6px;
  font-size: 14px;
}

.main-nav a[href="market.php"] {
  background: rgba(255, 255, 255, 0.16);
}

.page {
  max-width: 1240px;
}

.hero {
  min-height: 560px;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.72fr);
  align-items: stretch;
  padding: clamp(28px, 5vw, 58px);
  background:
    linear-gradient(135deg, rgba(18, 63, 39, 0.98) 0%, rgba(31, 107, 58, 0.96) 58%, rgba(111, 87, 48, 0.96) 100%),
    url("../images/products/paradajz.webp") center/cover;
  box-shadow: 0 22px 60px rgba(18, 63, 39, 0.2);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
}

.hero p {
  max-width: 690px;
}

.hero .actions {
  gap: 10px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 10px;
  max-width: 720px;
  margin-top: 26px;
}

.hero-stats div {
  display: grid;
  gap: 3px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: #fff;
  font-size: 15px;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.25;
}

.hero-market-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  align-self: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  box-shadow: 0 24px 50px rgba(7, 24, 11, 0.26);
}

.hero-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--green-dark);
}

.hero-panel-head span {
  color: var(--muted);
  font-weight: 700;
}

.hero-product-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-product-strip a {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f9fbf7;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.hero-product-strip a img {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px;
  border-radius: 7px;
  object-fit: cover;
}

.hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 10px;
  align-items: end;
}

.hero-search label {
  color: var(--green-dark);
}

.hero-search button {
  min-height: 45px;
}

.serbia-origin-badge {
  bottom: 18px;
  right: 22px;
  width: min(520px, calc(100% - 44px));
}

.page-heading {
  max-width: 920px;
}

.page-heading h1 {
  font-size: clamp(30px, 4vw, 44px);
}

.search-panel {
  grid-template-columns: 1.15fr 0.8fr 0.55fr 1fr;
  align-items: end;
  padding: 18px;
  border-color: #cddbc7;
  box-shadow: 0 14px 34px rgba(28, 52, 33, 0.08);
}

.search-panel > button[type="submit"] {
  background: var(--green);
  color: #fff;
}

.quick-filter-row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 2px;
}

.quick-filter-row a {
  padding: 7px 10px;
  border: 1px solid #cbdcc4;
  border-radius: 6px;
  background: #f8fbf6;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.quick-filter-row a:hover {
  background: #e9f4e4;
}

.result-header {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.offer-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.offer-card {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto auto;
  padding: 0;
  overflow: hidden;
  border-color: #cfdbc9;
  box-shadow: 0 16px 36px rgba(28, 52, 33, 0.09);
}

.offer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(28, 52, 33, 0.13);
}

.offer-image {
  aspect-ratio: 16 / 10;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.offer-card-head,
.offer-card h3,
.offer-public-id,
.producer,
.offer-card dl,
.offer-description,
.card-actions,
.buyer-inquiry,
.comments-box {
  margin-left: 18px;
  margin-right: 18px;
}

.offer-card-head {
  margin-top: 16px;
}

.offer-card h3 {
  margin-bottom: 4px;
  color: var(--green-dark);
  font-size: 24px;
}

.offer-card h3 a {
  color: inherit;
  text-decoration: none;
}

.offer-card h3 a:hover {
  text-decoration: underline;
}

.producer {
  margin-bottom: 0;
  font-weight: 800;
}

.offer-card dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.offer-card dl div {
  grid-template-columns: 1fr;
  gap: 2px;
  min-height: 58px;
  padding: 9px;
  border: 1px solid #e1eadc;
  border-radius: 7px;
  background: #f8fbf6;
}

.offer-card dt {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.offer-description {
  padding: 12px;
  border-left: 3px solid var(--amber);
  border-radius: 6px;
  background: #fffaf0;
  color: #44381d;
}

.card-actions {
  margin-top: 4px;
}

.offer-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin: 14px 18px 18px;
  padding: 12px;
  border-top: 1px solid var(--border);
  border-radius: 7px;
  background: #f8fbf6;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.offer-card-foot .small-link {
  white-space: nowrap;
}

.buyer-inquiry {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #d7e5d1;
  border-radius: 8px;
  background: #f7fbf4;
}

.comments-box {
  margin-bottom: 18px;
}

.demo-panel,
.qr-panel,
.catalog-card,
.offers-table,
.payment-panel,
.contact-note,
.empty-state {
  box-shadow: 0 14px 34px rgba(28, 52, 33, 0.08);
}

.panel-form,
.payment-panel,
.contact-note {
  border-color: #cfdbc9;
  box-shadow: 0 16px 36px rgba(28, 52, 33, 0.08);
}

.panel-form {
  display: grid;
  gap: 16px;
}

input,
select,
textarea {
  border-color: #b9c8b3;
  min-height: 44px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(221, 161, 42, 0.28);
  border-color: var(--green);
}

.offer-extra-fields {
  border-color: #c8dbc1;
}

.offers-table {
  border-color: #cfdbc9;
  overflow: hidden;
}

.table-wrap {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

table {
  font-size: 14px;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #edf5e9;
  font-size: 12px;
  text-transform: uppercase;
}

td {
  vertical-align: top;
}

tbody tr:hover {
  background: #fbfdf8;
}

.admin-stats article {
  border-color: #cfdbc9;
  box-shadow: 0 12px 28px rgba(28, 52, 33, 0.08);
}

.status-badge {
  text-transform: uppercase;
}

.small-button {
  border-radius: 6px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 700;
}

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

.breadcrumb span::before {
  content: "/";
  margin-right: 8px;
  color: var(--muted);
}

.offer-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 22px;
}

.offer-detail-media,
.offer-detail-main,
.offer-detail-grid > section {
  background: #fff;
  border: 1px solid #cfdbc9;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(28, 52, 33, 0.08);
}

.offer-detail-media {
  position: relative;
  overflow: hidden;
}

.offer-detail-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.offer-detail-main {
  padding: 22px;
}

.offer-detail-main h1 {
  margin-bottom: 4px;
  color: var(--green-dark);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.03;
}

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

.detail-facts div {
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 10px;
  border: 1px solid #e1eadc;
  border-radius: 7px;
  background: #f8fbf6;
}

.detail-description {
  margin: 14px 0;
}

.offer-detail-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
}

.offer-detail-grid > section {
  margin: 0;
  padding: 18px;
}

.offer-detail-grid h2 {
  margin-bottom: 12px;
  color: var(--green-dark);
}

.compact-inquiry {
  padding: 12px;
}

.compact-inquiry .small-link {
  display: inline-flex;
  margin-top: 4px;
}

.page-heading + .panel-form,
.page-heading + .admin-stats {
  margin-top: 8px;
}

.pricing-note {
  border-color: #e2c36a;
  box-shadow: 0 8px 22px rgba(111, 87, 48, 0.08);
}

.offer-extra-fields h2 {
  display: flex;
  align-items: center;
  gap: 9px;
}

.offer-extra-fields h2::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px #fff2d2;
}

.choice-list {
  align-self: stretch;
}

.offers-table {
  margin-top: 24px;
}

.offers-table h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.offers-table h2::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--border);
}

.offer-thumb {
  width: 86px;
  height: 62px;
}

.admin-stats {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.admin-stats article {
  display: grid;
  gap: 4px;
}

.admin-actions {
  grid-template-columns: 1fr;
}

.admin-actions form,
.admin-actions button {
  width: 100%;
}

.status-badge.pending::before,
.status-badge.approved::before,
.status-badge.rejected::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
}

@media (max-width: 760px) {
  .table-wrap {
    border-radius: 6px;
  }

  .offers-table h2 {
    align-items: flex-start;
  }

  .offers-table h2::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero,
  .search-panel,
  .offer-detail,
  .offer-detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-market-panel {
    align-self: stretch;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: auto;
    padding-bottom: 112px;
  }

  .hero-search,
  .offer-card dl,
  .detail-facts {
    grid-template-columns: 1fr;
  }

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

  .hero-product-strip a {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 60px;
    font-size: 13px;
  }

  .hero-product-strip a img {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
  }

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

.main-nav .donation-link {
  background: var(--amber);
  color: #1e2119;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.payment-method-card {
  display: grid;
  gap: 4px;
  min-height: 84px;
  padding: 16px;
  border: 1px solid #cfdbc9;
  border-radius: 8px;
  background: #f8fbf6;
  color: var(--green-dark);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(28, 52, 33, 0.07);
}

.payment-method-card strong {
  font-size: 22px;
}

.payment-method-card span {
  color: var(--muted);
  font-weight: 700;
}

.payment-method-card:hover {
  border-color: var(--green);
  background: #edf6e9;
}

.footer-actions {
  margin: 0 0 8px;
}

.footer-donation-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 6px;
  background: var(--amber);
  color: #1e2119;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 520px) {
  .payment-methods {
    grid-template-columns: 1fr;
  }
}

/* AgroloopTrade redesign layer, May 2026 */
:root {
  --ink: #17211b;
  --paper: #fbfaf5;
  --surface: #ffffff;
  --surface-soft: #f4f7ef;
  --line: #d6ddcf;
  --field: #fffefa;
  --market-green: #1e6a45;
  --market-green-dark: #123f2c;
  --clay: #b55f3d;
  --wheat: #e4b852;
  --sky: #d7ecf2;
}

body {
  background:
    linear-gradient(180deg, #fbfaf5 0%, #f3f6ee 48%, #f8f6ef 100%);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
}

.site-header {
  min-height: 78px;
  padding: 10px clamp(14px, 3vw, 34px);
  background: rgba(251, 250, 245, 0.94);
  color: var(--ink);
  border-bottom: 1px solid rgba(18, 63, 44, 0.13);
  box-shadow: 0 12px 30px rgba(18, 37, 24, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  color: var(--market-green-dark);
  font-size: 21px;
  letter-spacing: 0;
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 7px;
  border: 1px solid rgba(18, 63, 44, 0.12);
  box-shadow: 0 8px 18px rgba(18, 63, 44, 0.1);
}

.local-weather {
  background: #eef5ea;
  border-color: #d8e5d2;
  color: #274432;
}

.weather-summary {
  color: #617269;
}

.main-nav {
  gap: 4px;
}

.main-nav a,
.nav-user {
  min-height: 38px;
  padding: 9px 10px;
  color: #26352d;
  border-radius: 6px;
}

.main-nav a:hover {
  background: #e8f0e3;
  color: var(--market-green-dark);
}

.main-nav .donation-link,
.footer-donation-link {
  background: var(--clay);
  color: #fff;
  box-shadow: 0 8px 18px rgba(181, 95, 61, 0.22);
}

.page {
  width: min(100% - 32px, 1240px);
  max-width: none;
  padding: 26px 0 60px;
}

.hero {
  min-height: 560px;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.86fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
  padding: clamp(28px, 5vw, 68px);
  color: #fff;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(14, 36, 24, 0.9) 0%, rgba(18, 63, 44, 0.78) 47%, rgba(18, 63, 44, 0.4) 100%),
    url("../images/products/paradajz.webp") center / cover no-repeat;
  box-shadow: 0 22px 54px rgba(19, 48, 31, 0.18);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(15, 30, 20, 0.36));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  max-width: 740px;
}

.eyebrow {
  color: var(--wheat);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 18px;
}

.hero p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
}

.actions {
  margin-top: 28px;
}

.button,
button,
.contact-link,
.map-link {
  border-radius: 7px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button:hover,
button:hover,
.contact-link:hover,
.map-link:hover {
  transform: translateY(-1px);
}

.button.primary,
button {
  background: var(--wheat);
  color: #221b0d;
  box-shadow: 0 10px 22px rgba(228, 184, 82, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.96);
  color: var(--market-green-dark);
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.hero-stats div {
  min-height: 90px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(8px);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  margin-bottom: 5px;
  color: #fff;
  font-size: 18px;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.hero-market-panel {
  position: relative;
  z-index: 1;
  align-self: center;
  min-height: 480px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.hero-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.hero-panel-head span {
  color: #69756d;
  font-weight: 800;
}

.hero-panel-head strong {
  color: var(--clay);
}

.hero-product-strip {
  gap: 12px;
}

.hero-product-strip a {
  border-color: #dfe7d8;
  background: #fff;
  color: var(--market-green-dark);
  text-decoration: none;
  box-shadow: 0 10px 18px rgba(18, 63, 44, 0.07);
}

.hero-product-strip a:hover {
  border-color: #abc5a2;
  background: #f5faf2;
}

.hero-search {
  padding: 14px;
  border-radius: 8px;
  background: #f4f7ef;
  border: 1px solid #dce6d5;
}

.hero-search label,
label {
  color: var(--market-green-dark);
}

input,
select,
textarea {
  border-color: #cdd7c7;
  border-radius: 7px;
  background: var(--field);
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(228, 184, 82, 0.28);
  border-color: var(--market-green);
}

.serbia-origin-badge {
  z-index: 2;
  right: clamp(18px, 4vw, 44px);
  bottom: clamp(18px, 4vw, 36px);
  width: auto;
  max-width: min(430px, calc(100% - 40px));
  background: rgba(255, 255, 255, 0.95);
  color: var(--market-green-dark);
  transform: none;
}

.workflow-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--line);
}

.workflow-strip a {
  display: grid;
  gap: 7px;
  min-height: 124px;
  padding: 22px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.workflow-strip a:hover {
  background: #f6f8f1;
}

.workflow-strip strong {
  color: var(--market-green-dark);
  font-size: 19px;
}

.workflow-strip span {
  color: #657268;
}

.section-title {
  max-width: 840px;
  margin: 0 0 18px;
}

.section-title h2,
.page-heading h1,
.demo-panel h2,
.qr-panel h2,
.payment-panel h2 {
  color: var(--market-green-dark);
}

.catalog-grid {
  gap: 16px;
}

.catalog-card {
  padding: 0;
  overflow: hidden;
  border-color: var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(18, 63, 44, 0.07);
}

.catalog-card::before {
  display: none;
}

.catalog-card-head {
  margin: 0;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #f8f7ef 0%, #eef6ea 100%);
}

.catalog-card-head h3 {
  color: var(--market-green-dark);
  font-size: 22px;
}

.subtype-grid {
  padding: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.subtype-box {
  min-height: 0;
  padding: 14px;
  border-color: #dfe7d8;
  background: #fbfcf8;
}

.subtype-box ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}

.subtype-box li {
  border-color: #dfe7d8;
  border-radius: 7px;
  box-shadow: none;
}

.subtype-box li:hover {
  border-color: #9fbd95;
}

.subtype-box li a.product-link {
  min-height: 58px;
  padding: 8px;
}

.product-link img,
.subtype-box li a.product-link img {
  border-radius: 6px;
}

.demo-panel,
.qr-panel,
.payment-panel,
.panel-form,
.search-panel,
.offer-card,
.offers-table {
  border-color: var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(18, 63, 44, 0.07);
}

.demo-panel {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.86)),
    url("../images/products/med.webp") center / cover no-repeat;
}

.qr-panel {
  background:
    linear-gradient(90deg, rgba(18, 63, 44, 0.96), rgba(30, 106, 69, 0.82)),
    url("../images/products/gajbice.webp") center / cover no-repeat;
}

footer {
  background: #14261c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .site-header {
    position: static;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-market-panel {
    min-height: 0;
  }

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

@media (max-width: 760px) {
  .site-header {
    background: #fbfaf5;
  }

  .menu-toggle {
    color: var(--market-green-dark);
    border-color: #d2ddcc;
    background: #eef5ea;
  }

  .main-nav {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
  }

  .hero {
    padding: 26px 18px 110px;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .subtype-grid {
    grid-template-columns: 1fr;
    padding: 12px;
  }
}

@media (max-width: 520px) {
  .page {
    width: min(100% - 20px, 1240px);
    padding-top: 14px;
  }

  .hero-product-strip {
    grid-template-columns: 1fr;
  }

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

.workflow-strip a {
    min-height: 0;
    padding: 18px;
  }
}

.seller-trust {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 5px 8px;
  margin: 10px 0 12px;
  padding: 10px 12px;
  border: 1px solid #dce6d5;
  border-radius: 8px;
  background: #fffdf5;
  color: var(--market-green-dark);
}

.seller-trust .seller-stars {
  color: #d99b32;
  font-size: 17px;
  letter-spacing: 0;
  white-space: nowrap;
}

.seller-trust strong {
  color: #2d352f;
}

.seller-trust span:not(.seller-stars) {
  min-width: 0;
  color: #496153;
  font-weight: 800;
}

.seller-trust small {
  grid-column: 1 / -1;
  color: #68776d;
  font-weight: 700;
}

.seller-trust-large {
  max-width: 620px;
  margin: 12px 0 18px;
  background: #f8fbf5;
}

.trust-fields {
  margin-top: 16px;
}

@media (max-width: 520px) {
  .seller-trust {
    grid-template-columns: 1fr;
  }

  .seller-trust small {
    grid-column: auto;
  }
}

/* Meadow visual boost */
:root {
  --market-green: #238447;
  --market-green-dark: #0f4f2d;
  --meadow: #7fbd45;
  --meadow-light: #dff2c9;
  --leaf-deep: #145c35;
  --field: #fbfff7;
  --line: #c7d9bd;
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(127, 189, 69, 0.24), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(35, 132, 71, 0.16), transparent 30%),
    linear-gradient(180deg, #f5faee 0%, #eaf4df 46%, #f7f8ef 100%);
}

.site-header {
  background: rgba(246, 251, 239, 0.95);
  border-bottom-color: rgba(35, 132, 71, 0.2);
  box-shadow: 0 12px 30px rgba(18, 84, 45, 0.12);
}

.brand,
.section-title h2,
.page-heading h1,
.catalog-card-head h3,
.demo-panel h2,
.payment-panel h2 {
  color: var(--leaf-deep);
}

.local-weather,
.menu-toggle {
  background: #e7f5dd;
  border-color: #cbe1bf;
}

.main-nav a:hover {
  background: #e0efd5;
  color: var(--leaf-deep);
}

.main-nav .donation-link,
.footer-donation-link {
  background: linear-gradient(180deg, #c86f47 0%, #aa4f31 100%);
}

.hero {
  background:
    linear-gradient(90deg, rgba(8, 45, 27, 0.94) 0%, rgba(19, 92, 51, 0.82) 45%, rgba(90, 135, 57, 0.42) 100%),
    url("../images/products/livadski-med.webp") center / cover no-repeat;
  box-shadow: 0 24px 62px rgba(16, 82, 43, 0.24);
}

.hero-market-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 251, 237, 0.97));
  box-shadow: 0 30px 70px rgba(11, 63, 32, 0.3);
}

.hero-panel-head strong {
  color: var(--market-green);
}

.hero-stats div {
  background: rgba(220, 242, 202, 0.16);
  border-color: rgba(221, 246, 196, 0.28);
}

.button.primary,
button {
  background: linear-gradient(180deg, #f2cd62 0%, #dfaa32 100%);
  box-shadow: 0 10px 22px rgba(228, 184, 82, 0.28);
}

.button.secondary {
  background: #fbfff7;
  border-color: #dcebcf;
}

.hero-search {
  background: #eaf6df;
  border-color: #cfe3c2;
}

input,
select,
textarea {
  background: #fbfff7;
  border-color: #c7d9bd;
}

input:focus,
select:focus,
textarea:focus {
  outline-color: rgba(127, 189, 69, 0.3);
  border-color: var(--market-green);
}

.workflow-strip {
  border-color: #bcd3af;
  background: #bcd3af;
}

.workflow-strip a {
  background: linear-gradient(180deg, #ffffff 0%, #f0f8e9 100%);
}

.workflow-strip a:hover {
  background: #e7f4dc;
}

.catalog-card {
  border-color: #c7d9bd;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 244, 0.98));
  box-shadow: 0 14px 32px rgba(18, 84, 45, 0.11);
}

.catalog-card-head {
  background: linear-gradient(90deg, #e3f4d6 0%, #f3f9e9 58%, #fff7df 100%);
}

.catalog-card-head .category-icon,
.category-icon {
  background: #e4f4d7;
  border-color: #a9cb98;
}

.subtype-box {
  border-color: #cfe1c5;
  background: #f5faef;
}

.subtype-box li {
  border-color: #d5e5cc;
}

.subtype-box li:hover {
  border-color: #7fb967;
  background: #eef8e8;
}

.demo-panel {
  background:
    linear-gradient(90deg, rgba(247, 253, 240, 0.96), rgba(229, 244, 216, 0.9)),
    url("../images/products/med.webp") center / cover no-repeat;
}

.qr-panel {
  background:
    linear-gradient(90deg, rgba(14, 78, 44, 0.98), rgba(51, 128, 64, 0.86)),
    url("../images/products/gajbice.webp") center / cover no-repeat;
}

.offer-card,
.offers-table,
.panel-form,
.search-panel,
.payment-panel,
.seller-trust {
  border-color: #c7d9bd;
  box-shadow: 0 14px 30px rgba(18, 84, 45, 0.1);
}

.seller-trust {
  background: linear-gradient(180deg, #fffdf5 0%, #f0f8e8 100%);
}

footer {
  background: #102f20;
}
