/* Shared public tokens — Find a Mower + operator sites (premium lime). */
:root {
  --pub-ink: #365314;
  --pub-canvas: #f7fee7;
  --pub-canvas-2: #ecfccb;
  --pub-accent: #a3e635;
  --pub-accent-dark: #65a30d;
  --pub-olive: #4d7c0f;
  --pub-white: #ffffff;
  --pub-radius: 14px;
  --pub-shadow: 0 8px 24px rgba(54, 83, 20, 0.12);
  --pub-border: 2px solid var(--pub-ink);
  --pub-font: "Trebuchet MS", Verdana, Arial, sans-serif;
}

/* Sticky mobile CTA */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(247, 254, 231, 0.96);
  border-top: 2px solid var(--pub-ink);
  box-shadow: 0 -6px 20px rgba(54, 83, 20, 0.12);
  backdrop-filter: blur(8px);
}
.sticky-cta a,
.sticky-cta button {
  flex: 1;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 2px solid var(--pub-ink);
  border-radius: 12px;
  cursor: pointer;
  color: var(--pub-ink);
  background: var(--pub-white);
}
.sticky-cta .sticky-cta-primary {
  background: var(--pub-accent);
}
@media (max-width: 720px) {
  .sticky-cta {
    display: flex;
  }
  body.has-sticky-cta {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

/* Quote modal / sheet */
.quote-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(20, 30, 10, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.quote-modal-backdrop[hidden] {
  display: none !important;
}
.quote-modal {
  width: 100%;
  max-width: 520px;
  max-height: min(92vh, 900px);
  overflow: auto;
  background: var(--pub-white);
  border: 3px solid var(--pub-ink);
  border-radius: 20px 20px 0 0;
  box-shadow: var(--pub-shadow);
  padding: 16px 16px calc(20px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 640px) {
  .quote-modal-backdrop {
    align-items: center;
    padding: 24px;
  }
  .quote-modal {
    border-radius: 18px;
    max-height: 90vh;
  }
}
.quote-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.quote-modal-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.15;
}
.quote-modal-head .sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--pub-olive);
}
.quote-modal-close {
  min-width: 44px;
  min-height: 44px;
  border: 2px solid var(--pub-ink);
  background: var(--pub-canvas);
  border-radius: 12px;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  color: var(--pub-ink);
}
.quote-modal .row {
  margin-bottom: 12px;
}
.quote-modal .row label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pub-olive);
  margin-bottom: 4px;
}
.quote-modal .row input,
.quote-modal .row select,
.quote-modal .row textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--pub-ink);
  background: var(--pub-canvas);
  font-family: inherit;
  font-size: 16px;
  color: var(--pub-ink);
  border-radius: 10px;
  outline: none;
  min-height: 48px;
}
.quote-modal .row textarea {
  min-height: 72px;
  resize: vertical;
}
.quote-modal .btn-submit {
  width: 100%;
  min-height: 48px;
  padding: 14px;
  background: var(--pub-accent);
  color: var(--pub-ink);
  border: 2px solid var(--pub-ink);
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
}
.quote-modal .btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.quote-modal .success {
  background: #dcfce7;
  border: 2px solid #16a34a;
  border-radius: 12px;
  padding: 14px;
  font-weight: 600;
  font-size: 14px;
  color: #15803d;
}
.quote-modal .error {
  background: #fef2f2;
  border: 2px solid #dc2626;
  border-radius: 12px;
  padding: 12px;
  font-size: 13px;
  color: #991b1b;
  margin-bottom: 10px;
}
.quote-modal .fallback {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 12px;
  color: var(--pub-olive);
}
.gallery-peek {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.gallery-peek img {
  width: 56px;
  height: 42px;
  object-fit: cover;
  border: 2px solid var(--pub-ink);
  border-radius: 8px;
}
.promise-chip {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 8px;
  border: 2px solid var(--pub-ink);
  background: var(--pub-accent);
  border-radius: 8px;
  color: var(--pub-ink);
}

/* Soften neo-brutal cards on small screens */
@media (max-width: 720px) {
  .listing-grid .card,
  .card {
    border-radius: var(--pub-radius) !important;
    box-shadow: var(--pub-shadow) !important;
  }
  .btn-primary,
  .btn-secondary,
  button.btn-primary {
    border-radius: 12px !important;
    min-height: 44px;
  }
}

button.btn-primary {
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: var(--pub-accent, #a3e635);
  color: var(--pub-ink, #365314);
  border: 2px solid var(--pub-ink, #365314);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 10px;
}
