:root {
  --green: #267f1f;
  --green-dark: #124413;
  --green-soft: #ebf3e8;
  --yellow: #f4d51d;
  --orange: #f28c18;
  --ink: #182118;
  --muted: #667064;
  --paper: #f6f7f1;
  --panel: #ffffff;
  --line: rgba(24, 33, 24, 0.12);
  --shadow: 0 24px 60px rgba(18, 34, 19, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
}

body.nav-open,
body.panel-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 10px clamp(10px, 3vw, 34px) auto;
  z-index: 20;
  display: grid;
  overflow: hidden;
  min-height: 58px;
  padding: 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12px);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-height: 22px;
  padding: 0 12px;
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 700;
}

.header-top a {
  color: #fff;
}

.header-top a:hover {
  color: var(--yellow);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  padding: 3px 8px 3px 12px;
}

.brand-logo {
  width: clamp(178px, 17vw, 245px);
  height: auto;
}

h1,
h2,
h3 {
  font-family: "Barlow", Arial, sans-serif;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.main-nav a {
  opacity: 0.86;
}

.main-nav a:hover {
  opacity: 1;
}

.main-nav a.is-current {
  color: var(--orange);
  opacity: 1;
}

.nav-admin,
.filter-button,
.icon-button,
.header-cta {
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.nav-admin,
.header-cta {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: var(--green-dark);
  color: #fff;
}

.header-cta {
  background: var(--orange);
  color: #fff;
}

.header-cta:hover {
  opacity: 1;
  background: var(--green);
}

.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green-dark);
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: 110px clamp(18px, 5vw, 76px) clamp(34px, 7vw, 76px);
}

.hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 24, 10, 0.72) 0%, rgba(8, 24, 10, 0.38) 38%, rgba(8, 24, 10, 0.04) 78%),
    linear-gradient(0deg, rgba(8, 24, 10, 0.58) 0%, rgba(8, 24, 10, 0.02) 58%);
}

.hero-card {
  width: min(640px, 100%);
  padding: clamp(22px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(2.15rem, 4.8vw, 4.1rem);
  line-height: 0.92;
}

h2 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(2rem, 4.6vw, 3.9rem);
  line-height: 0.98;
}

h3 {
  margin: 0;
  font-size: 1.32rem;
}

p {
  line-height: 1.65;
}

.hero-card p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.04rem;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 2px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

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

.button-primary:hover {
  background: var(--green);
}

.button-outline {
  background: transparent;
  border-color: var(--green-dark);
  color: var(--green-dark);
}

.button-muted {
  background: #eef2e8;
  color: var(--green-dark);
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--green-dark);
  color: #fff;
}

.quick-strip div {
  padding: 28px clamp(18px, 4vw, 64px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.quick-strip strong {
  display: block;
  color: var(--yellow);
  font-family: "Barlow", Arial, sans-serif;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1;
}

.quick-strip span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
}

.inventory-section,
.sell-section,
.implements-section,
.contact-section {
  padding: clamp(62px, 8vw, 104px) clamp(18px, 5vw, 76px);
}

.inventory-section-alt {
  background: #fff;
}

.page-main {
  padding-top: 84px;
}

.page-hero {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 76px) clamp(32px, 5vw, 54px);
  background:
    linear-gradient(90deg, rgba(18, 68, 19, 0.92), rgba(18, 68, 19, 0.68)),
    url("assets/hero-trator-real.jpeg") center / cover;
  color: #fff;
}

.page-hero-implements {
  background:
    linear-gradient(90deg, rgba(18, 68, 19, 0.92), rgba(18, 68, 19, 0.68)),
    url("assets/hero-agro-terramaq.png") center / cover;
}

.page-hero .eyebrow,
.page-hero h1 {
  color: #fff;
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

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

.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-page {
  padding-top: 34px;
}

.filter-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr)) auto auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 28px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(18, 34, 19, 0.08);
}

.filter-button {
  min-height: 40px;
  padding: 0 15px;
  background: #fff;
  color: var(--green-dark);
  border: 1px solid var(--line);
}

.filter-button.is-active {
  background: var(--orange);
  color: #fff;
}

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

.machine-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(18, 34, 19, 0.08);
  cursor: pointer;
}

.machine-media {
  position: relative;
  display: grid;
  height: auto;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  background: var(--green-soft);
}

.machine-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.machine-main-photo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--green-soft);
}

.machine-main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.machine-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
}

.photo-count {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  background: rgba(18, 68, 19, 0.88);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.machine-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 5px;
  background: #f7f8f2;
  border-top: 1px solid var(--line);
}

.machine-thumbs span {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--green-soft);
}

.machine-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.admin-card-metric {
  width: fit-content;
  padding: 7px 10px;
  background: #eef2e8;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.machine-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.machine-body p,
.sell-copy p,
.implements-grid p,
.contact-section p {
  color: var(--muted);
}

.machine-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.machine-price {
  color: var(--green-dark);
  font-family: "Barlow", Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
}

.machine-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inline-form {
  display: inline-flex;
  margin: 0;
}

.machine-actions .button {
  min-height: 42px;
  padding: 0 14px;
}

.admin-only {
  display: none;
}

body.admin-mode .admin-only {
  display: inline-flex;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  background: #fff;
  border: 1px dashed rgba(18, 69, 21, 0.36);
  color: var(--muted);
}

.sell-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.9fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
  background: #fff;
}

.sell-copy {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.sell-copy p {
  max-width: 660px;
  margin: 0;
}

.process-list {
  display: grid;
  gap: 12px;
}

.process-list article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 4px 16px;
  padding: 20px;
  background: var(--green-soft);
  border-left: 5px solid var(--orange);
}

.process-list span {
  grid-row: span 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--green-dark);
  color: #fff;
  font-family: "Barlow", Arial, sans-serif;
  font-weight: 800;
}

.process-list p {
  margin: 0;
  color: var(--muted);
}

.implements-section {
  background: #eaf1e4;
}

.implements-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(24, 33, 24, 0.16);
}

.implements-grid article {
  min-height: 190px;
  padding: 26px;
  background: #fff;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.9fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
  background: var(--green-dark);
  color: #fff;
}

.contact-section h2,
.contact-section .eyebrow {
  color: #fff;
}

.contact-section p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-form,
.machine-form {
  display: grid;
  gap: 15px;
}

.contact-form {
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid transparent;
  background: #f2f5ee;
  color: var(--ink);
  padding: 12px 14px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(244, 213, 29, 0.42);
  background: #fff;
}

.is-hidden {
  display: none !important;
}

.admin-panel {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.admin-panel.is-open {
  display: block;
}

.panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 18, 9, 0.62);
}

.panel-content {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(560px, 100%);
  overflow: auto;
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.panel-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.panel-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.icon-button {
  width: 42px;
  height: 42px;
  background: var(--green-dark);
  color: #fff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.panel-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(18, 34, 19, 0.26);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
}

.machine-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  padding: clamp(14px, 3vw, 34px);
}

.machine-modal.is-open {
  display: grid;
  place-items: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 8, 0.68);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1fr);
  width: min(1080px, 100%);
  max-height: min(720px, calc(100vh - 34px));
  overflow: hidden;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  background: var(--green-dark);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

.modal-photo {
  display: grid;
  min-height: 460px;
  background: var(--green-soft);
}

.modal-photo img {
  width: 100%;
  height: 100%;
  max-height: 720px;
  object-fit: contain;
  object-position: center center;
}

.modal-content {
  display: grid;
  align-content: start;
  gap: 15px;
  overflow: auto;
  padding: clamp(24px, 4vw, 42px);
}

.modal-content h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.modal-content p {
  margin: 0;
  color: var(--muted);
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-meta span {
  padding: 7px 10px;
  background: #eef2e8;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
}

.modal-gallery button {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  background: var(--green-soft);
  cursor: pointer;
}

.modal-gallery button.is-active {
  border-color: var(--orange);
}

.modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.site-footer {
  padding: clamp(34px, 6vw, 58px) clamp(18px, 5vw, 76px) 22px;
  background: #0f230f;
  color: rgba(255, 255, 255, 0.78);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(220px, 0.65fr) minmax(280px, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}

.footer-brand img {
  width: min(280px, 100%);
  margin-bottom: 16px;
}

.footer-brand p,
.footer-address p {
  margin: 0;
  max-width: 360px;
}

.footer-contact,
.footer-address {
  display: grid;
  gap: 10px;
}

.footer-contact h3,
.footer-address h3 {
  color: #fff;
}

.footer-contact a,
.footer-address a,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.86);
}

.instagram-button {
  display: inline-flex;
  min-height: 38px;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  background: linear-gradient(135deg, #f9ce34, #ee2a7b 48%, #6228d7);
  color: #fff !important;
  font-weight: 800;
}

.footer-contact a:hover,
.footer-address a:hover,
.footer-bottom a:hover {
  color: var(--yellow);
}

.footer-map {
  position: relative;
  display: grid;
  height: 160px;
  margin-top: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.9);
  pointer-events: none;
}

.footer-map span {
  position: absolute;
  inset: auto 10px 10px auto;
  padding: 8px 10px;
  background: var(--yellow);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom span {
  color: #fff;
  font-weight: 800;
}

.admin-main {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(246, 247, 241, 0.96), rgba(246, 247, 241, 0.86)),
    url("assets/hero-trator-real.jpeg") center / cover;
}

.login-box {
  width: min(520px, calc(100% - 36px));
  margin: 64px auto;
  padding: clamp(24px, 5vw, 42px);
  background: #fff;
  box-shadow: var(--shadow);
}

.login-box h1,
.admin-dashboard h1 {
  color: var(--green-dark);
}

.login-box p {
  color: var(--muted);
}

.login-form {
  display: grid;
  gap: 15px;
  margin-top: 22px;
}

.login-form small {
  min-height: 18px;
  color: #b3261e;
  font-weight: 800;
}

.form-message {
  display: block;
  width: min(920px, 100%);
  margin: 0 0 18px;
  padding: 12px 14px;
  font-weight: 800;
}

.form-success {
  background: #e7f5df;
  color: var(--green-dark);
}

.form-error {
  background: #ffe8e6;
  color: #9f1d16;
}

.admin-dashboard {
  padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 76px);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.admin-summary article {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(18, 34, 19, 0.08);
}

.admin-summary span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-summary strong {
  display: block;
  margin-top: 6px;
  color: var(--green-dark);
  font-family: "Barlow", Arial, sans-serif;
  font-size: 2.35rem;
  line-height: 1;
}

.admin-summary p,
.form-intro p,
.field-help {
  color: var(--muted);
}

.admin-summary p {
  margin: 8px 0 0;
}

.analytics-panel {
  max-width: 920px;
  margin-bottom: 22px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(18, 34, 19, 0.08);
}

.analytics-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.analytics-tags span {
  padding: 8px 10px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 800;
}

.app-download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 920px;
  margin-bottom: 34px;
  padding: clamp(20px, 4vw, 30px);
  background: var(--green-dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.app-download-panel h2,
.app-download-panel .eyebrow {
  color: #fff;
}

.app-download-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.app-download-panel p:not(.eyebrow) {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.admin-form,
.options-manager {
  max-width: 920px;
  margin-bottom: 34px;
  padding: clamp(20px, 4vw, 32px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-intro {
  display: grid;
  gap: 10px;
  padding-bottom: 4px;
}

.form-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.form-intro p {
  margin: 0;
}

.field-help {
  font-size: 0.86rem;
  font-weight: 700;
}

.photo-preview {
  display: none;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.photo-preview.has-files {
  display: grid;
}

.photo-preview img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
  background: var(--green-soft);
  border: 1px solid var(--line);
}

.option-form {
  display: grid;
  grid-template-columns: minmax(140px, 0.35fr) minmax(140px, 0.35fr) 1fr auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 22px;
}

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

.option-group {
  padding: 16px;
  background: var(--green-soft);
}

.option-group-wide {
  display: grid;
  gap: 14px;
}

.option-group h3 {
  margin-bottom: 12px;
  text-transform: capitalize;
}

.option-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-subgroup {
  display: grid;
  gap: 8px;
}

.option-subgroup strong {
  color: var(--green-dark);
  text-transform: capitalize;
}

.option-tag {
  min-height: 34px;
  border: 1px solid rgba(18, 68, 19, 0.18);
  background: #fff;
  color: var(--green-dark);
  cursor: pointer;
  font-weight: 800;
  padding: 0 10px;
}

.option-tag span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.admin-list {
  padding-top: 8px;
}

@media (max-width: 1100px) {
  .inventory-grid,
  .implements-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .section-heading,
  .sell-section,
  .contact-section,
  .modal-dialog {
    display: grid;
    grid-template-columns: 1fr;
  }

  .modal-dialog {
    max-height: calc(100vh - 28px);
    overflow: auto;
  }

  .modal-photo {
    min-height: 300px;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
  }

  .option-form,
  .options-grid,
  .admin-summary,
  .app-download-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    inset: 7px 9px auto;
    min-height: 44px;
  }

  .header-top {
    display: none;
  }

  .header-main {
    min-height: 44px;
    padding: 4px 8px 4px 12px;
  }

  .brand-logo {
    width: 158px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 64px 9px auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a,
  .nav-admin,
  .header-cta {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    color: var(--green-dark);
    text-align: left;
  }

  .nav-admin {
    background: var(--green-dark);
    color: #fff;
  }

  .header-cta {
    background: var(--orange);
    color: #fff;
  }

  .hero {
    min-height: 92vh;
    padding: 92px 14px 22px;
  }

  .hero > img {
    object-position: 54% center;
  }

  .hero-card {
    padding: 20px;
  }

  h1 {
    font-size: clamp(2rem, 9.5vw, 3.2rem);
  }

  .button {
    width: 100%;
  }

  .quick-strip,
  .inventory-grid,
  .implements-grid {
    grid-template-columns: 1fr;
  }

  .home-preview-grid .machine-card:nth-of-type(n+4) {
    display: none;
  }

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

  .machine-modal {
    padding: 10px;
  }

  .modal-content {
    padding: 22px;
  }

  .modal-gallery {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }

  .quick-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

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