/* =====================================================
   GLOBAL
===================================================== */

.front-page {
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1a2e1c;
}

.front-page h1,
.front-page h2,
.front-page h3 {
  margin: 0 0 0.75rem;
}

.front-page p {
  margin: 0 0 1rem;
  line-height: 1.6;
}

.front-page a {
  color: #2f6f3e;
  text-decoration: none;
}

.front-page a:hover {
  text-decoration: underline;
}

section {
  padding: 4rem 1.5rem;
}

/* =====================================================
   UTILITY WRAPPERS
===================================================== */

.bg-color-wrap {
  background: #f5f7f2;
  max-width: 1200px;
  margin: 0 auto;
}

.farm-results-section .bg-color-wrap {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (max-width:1250px) {
  .farm-results-section .bg-color-wrap {
    padding-left: 0rem;
    padding-right: 0rem;
  }
}

.bg-color-wrap-100 {
  background: #f5f7f2;
  margin: 0 auto;
  width: 100%;
}

/* =====================================================
   HERO VIDEO
===================================================== */

.hero-video-section {
  position: relative;
  height: 50vh;
  overflow: hidden;
  padding: 0px;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
}

.hero-overlay h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #fff;
}

.hero-overlay p {
  font-size: 1.45rem;
  margin-bottom: 2rem;
  color: #fff;
}

.hero-overlay a {
  color: #fff;
}

.hero-button {
  background: rgba(0,0,0,0);
  color: #fff;
  padding: 0.85rem 1.75rem;
  border-radius: 26px;
  font-weight: 600;
  font-size: 1rem;
  border: solid 2px white;
}

/* =====================================================
   FARM SEARCH HERO SECTION
===================================================== */

.farm-search-hero-section {
  background-image: url('https://farmtab.com/wp-content/uploads/2026/04/farmtab-background-assorted-scaled.png');
  background-size: cover;
  background-position: center;
  padding: 0;
  position: relative;
}

.wrap-overlay {
  /* Directional gradient matching the info page hero background treatment:
     strong on the left where text sits, fades out toward the right */
  background: linear-gradient(
    to right,
    rgba(15, 35, 18, 0.82) 0%,
    rgba(15, 35, 18, 0.60) 45%,
    rgba(15, 35, 18, 0.35) 100%
  );
  width: 100%;
}

.farm-search-hero-overlay {
  padding: 5rem 1.5rem 4rem;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
}

.farm-search-hero-overlay h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400; /* DM Serif Display reads as bold at regular weight */
  color: #fff;
  margin-bottom: 0.5rem;
  text-shadow: 0px 0px 8px rgba(0,0,0,0.25);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.farm-search-hero-overlay h3 {
  color: #fff;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

.farm-search-hero-overlay > p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.75rem;
  text-shadow: 0px 0px 5px rgba(0,0,0,0.3);
}

/* Override shared controls styles for hero context */
.farm-search-hero-section .homepage-farm-finder-controls {
  justify-content: flex-start;
  margin-bottom: 1.5rem;
}

.farm-search-hero-section #homepage-location-input {
  width: 300px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  padding: 0.85rem 1.25rem;
  background: #fff;
}

.farm-search-hero-section #homepage-use-my-location {
  border-radius: 8px;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  background: #2f6f3e;
  border: 2px solid rgba(255,255,255,0.3);
}

.farm-search-hero-section #homepage-use-my-location:hover {
  background: #133d1e;
}

/* Trust badges row */
.farm-search-trust-badges {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.92);
  font-size: 0.95rem;
}

.farm-search-trust-badges span {
  color: #fff;
  text-shadow: 0px 0px 5px rgba(0,0,0,0.3);
}

/* =====================================================
   FARM RESULTS SECTION
===================================================== */

.farm-results-section {
  padding: 2.5rem 1.5rem;
  background: #f5f7f2;
}

.featured-farms-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.featured-farms-header h2,
.featured-farms-header p {
  margin: 0;
}

.featured-farms-header h3 {
  margin-bottom: 0px;
}

/* =====================================================
   AVAILABLE PRODUCTS
===================================================== */

.available-products-section {
  padding: 2.5rem 1.5rem;
  background: #f5f7f2;
  max-width: none;
  width: 100%;
  text-align: center;
}

.available-products-section h3 {
  text-align: left;
}

.available-products-home {
  margin-top: 0px;
}

/* =====================================================
   STATE SEALS
===================================================== */

.state-seals-section {
  text-align: center;
  background: #f5f7f2;
  padding: 3rem 1.5rem;
}

.guaranteed-locally-sourced {
  margin-top: 0 !important;
  margin-bottom: 1.5rem;
}

.state-logo-wrap {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.state-logos {
  max-height: 70px;
  width: auto;
}

/* =====================================================
   JOIN / APP SECTION
===================================================== */

.join-section {
  background: #f5f7f2;
  border-top: solid 1px #e5e5e5;
  border-bottom: solid 1px #e5e5e5;
}

.join-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
}

.join-left img {
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.app-download-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}

.join-left p {
  text-align: center;
}

.app-download-icons img {
  height: 45px;
}

.join-right ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.join-right li {
  margin-bottom: 0.5rem;
}

.fine-print {
  font-size: 0.85rem;
  color: #555;
}

.cta-button {
  display: inline-block;
  background: #2f6f3e;
  color: #fff !important;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  margin-top: 1rem;
}

/* =====================================================
   HOW IT WORKS SECTION
===================================================== */

.how-it-works-section {
  text-align: center;
  padding: 4rem 1.5rem;
  background: #f5f7f2;
}

.how-it-works-section h2 {
  font-size: 1.85rem;
  font-weight: 800;
}

.how-it-works-card {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid #dde8df;
  border-radius: 20px;
  padding: 2rem 2.5rem;
  background: #fff;
  gap: 0;
  box-shadow: 0 2px 16px rgba(26,58,34,0.08);
}

.how-it-works-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  padding: 0 1.5rem;
}

.how-it-works-step img:first-child {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}

.how-it-works-step-text h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  text-align: left;
}

.how-it-works-step-text p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  text-align: left;
}

.how-it-works-dd-logo {
  height: 20px;
  width: auto;
  margin-top: 0.4rem;
  display: block;
}

.how-it-works-divider {
  width: 1px;
  height: 80px;
  background: #d1d5db;
  flex-shrink: 0;
}

/* =====================================================
   HOME MEMBERSHIP & FEATURES SECTION
===================================================== */

.ft-home-membership {
  background: #f5f7f2;
  padding: 2.5rem 1.5rem;
  max-width: 1160px;
  margin: 0 auto;
}

/* ── Feature highlights (alternating media rows) ── */
.ft-home-features {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  margin-bottom: 1rem;
}

.ft-home-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 400px) 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.ft-home-feature-row__media {
  position: relative;
  max-width: 400px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(26,58,34,0.12);
}

.ft-home-feature-row__media > img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── CSA + Tap to Pay side-by-side pair ── */
.ft-home-feature-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.ft-home-feature-stack {
  background: #fff;
  border: 1px solid #dde8df;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(26,58,34,0.08);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ft-home-feature-stack:hover {
  box-shadow: 0 4px 32px rgba(26,58,34,0.12);
  transform: translateY(-2px);
}

.ft-home-feature-stack__body {
  padding: 1.75rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.ft-home-feature-stack__body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a2e1c;
  line-height: 1.25;
  margin: 0 0 0.6rem;
}

.ft-home-feature-stack__body p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #3d5c42;
  margin: 0;
  flex: 1 1 auto;
}

.ft-home-feature-row__dd-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: #ff3008;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.ft-home-feature-row__dd-badge img {
  height: 16px;
  width: auto;
  filter: brightness(0) invert(1);
}

.ft-home-feature-row__body {
  max-width: 640px;
}

.ft-home-feature-row__tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  background: #e8f2ea;
  color: #2f6f3e;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.ft-home-feature-row__body h3 {
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  font-weight: 700;
  color: #1a2e1c;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

.ft-home-feature-row__body p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #3d5c42;
  margin: 0;
}

.ft-home-feature-row__stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.ft-home-feature-row__stores a {
  display: inline-block;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.ft-home-feature-row__stores a:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.ft-home-feature-row__stores img {
  height: 44px;
  width: auto;
  display: block;
}

/* ── Tiers intro heading ── */
.ft-home-tiers-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2rem;
}

.ft-home-tiers-header h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #1a2e1c;
  line-height: 1.2;
  margin: 0 0 0.6rem;
}

.ft-home-tiers-header p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #3d5c42;
  margin: 0;
}

/* ── Membership tiers ── */
.ft-home-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.ft-home-tier {
  position: relative;
  background: #fff;
  border: 1px solid #dde8df;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: 0 2px 16px rgba(26,58,34,0.08);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ft-home-tier:hover {
  box-shadow: 0 4px 32px rgba(26,58,34,0.12);
  transform: translateY(-2px);
}

.ft-home-tier--featured {
  border: 2px solid #2f6f3e;
  background: #f2f7f3;
  box-shadow: 0 4px 32px rgba(26,58,34,0.12);
}

.ft-home-tier__badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: #2f6f3e;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

.ft-home-tier__name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6a8a6e;
  margin-bottom: 0.75rem;
}

.ft-home-tier__price {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1;
  color: #1a2e1c;
}

.ft-home-tier__price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: #6a8a6e;
  margin-left: 0.25rem;
}

.ft-home-tier__note {
  font-size: 0.85rem;
  color: #3d5c42;
  line-height: 1.5;
  margin: 0.65rem 0 1.25rem;
}

.ft-home-tier__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1 1 auto;
}

.ft-home-tier__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #3d5c42;
  line-height: 1.45;
}

.ft-home-tier__list li i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: #2f6f3e;
}

.ft-home-tier__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #2f6f3e;
  color: #2f6f3e;
  background: transparent;
  transition: all 0.2s ease;
  margin-top: auto;
}

.ft-home-tier__cta:hover {
  background: #e8f2ea;
  color: #1a3a22;
  text-decoration: none;
}

.ft-home-tier--featured .ft-home-tier__cta {
  background: #2f6f3e;
  color: #fff;
}

.ft-home-tier--featured .ft-home-tier__cta:hover {
  background: #3d8a50;
  border-color: #3d8a50;
  color: #fff;
}

.ft-home-membership__actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.ft-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid #2f6f3e;
  transition: all 0.2s ease;
}

.ft-home-btn--primary,
.ft-home-btn--primary:link,
.ft-home-btn--primary:visited {
  background: #2f6f3e;
  color: #fff !important;
}

.ft-home-btn--primary:hover {
  background: #3d8a50;
  border-color: #3d8a50;
  color: #fff !important;
  text-decoration: none;
}

.ft-home-btn--outline {
  background: transparent;
  color: #2f6f3e;
}

.ft-home-btn--outline:hover {
  background: #e8f2ea;
  color: #1a3a22;
  text-decoration: none;
}

@media (max-width: 900px) {
  .ft-home-feature-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }

  .learn-more-csa {
    margin-top: 1.5rem;
  }

  .ft-home-feature-row__media {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .ft-home-feature-row__body {
    max-width: none;
  }

  .ft-home-feature-pair {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }

  .ft-home-features {
    gap: 3rem;
    margin-bottom: 1rem;
  }

  .ft-home-tiers {
    /* Horizontal scroller: show ~1.5 cards and swipe through them */
    display: flex;
    grid-template-columns: none;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 1rem;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    /* Edge padding so the first card isn't flush to the screen edge and
       the peeking next card has breathing room. */
    padding: 0.5rem 1.25rem 1.25rem;
    scroll-padding-left: 1.25rem;
  }

  .ft-home-tiers::-webkit-scrollbar {
    display: none;
  }

  .ft-home-tier {
    flex: 0 0 72%;          /* ~1.5 cards visible at once */
    max-width: 340px;       /* keep cards a sensible size on wider tablets */
    scroll-snap-align: start;
  }

  /* No hover lift on touch — it fights the scroll-snap */
  .ft-home-tier:hover {
    transform: none;
  }

  .ft-home-membership__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* =====================================================
   CSA SECTION
===================================================== */

.csa-section {
  background: #f5f7f2;
  text-align: center;
  border-top: solid 1px #e5e5e5;
  border-bottom: solid 1px #e5e5e5;
}

.csa-images {
  margin-top: 3rem;
  position: relative;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.csa-image-left {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0px 10px rgba(0,0,0,0.15);
}

.csa-image-right {
  width: 85%;
  margin-top: -120px;
  margin-left: auto;
  border-radius: 12px;
  box-shadow: 0 0px 10px rgba(0,0,0,0.15);
}

/* =====================================================
   PRODUCE CAROUSEL SECTION
===================================================== */

.produce-carousel-section {
  padding-top: 1rem;
  padding-bottom: 4rem;
  background: #f5f7f2;
  overflow: hidden;
}

.produce-carousel-track-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
}

.produce-carousel-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: produce-scroll 28s linear infinite;
}

.produce-carousel-track:hover {
  animation-play-state: paused;
}

.produce-carousel-item {
  flex: 0 0 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.produce-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes produce-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-10 * (180px + 1.5rem))); }
}

.produce-carousel-item.is-center {
  transform: scale(1.25);
  z-index: 2;
}

/* =====================================================
   FAQ SECTION
===================================================== */

.faq-section {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-columns {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

.faq-column details {
  background: #f9fafb;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid #cbd5f5;
}

.faq-column summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-column summary::-webkit-details-marker {
  display: none;
}

.faq-column details[open] {
  background: #eef3ef;
}

.faq-column ul {
  padding-left: 1.25rem;
  margin-top: 0.75rem;
}

.faq-column li {
  margin-bottom: 0.5rem;
}

/* =====================================================
   HOMEPAGE FARM FINDER SECTION
===================================================== */

.homepage-farm-finder {
  max-width: 1400px;
  text-align: center;
  margin: auto;
  padding-top: 0px;
}

.homepage-farm-finder h2 {
  margin-bottom: 0.75rem;
}

.homepage-farm-finder p {
  font-size: 1rem;
  color: #374151;
  margin-bottom: 1.5rem;
}

/* =====================================================
   INPUT + BUTTON
===================================================== */

.homepage-farm-finder-controls {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

#homepage-location-input {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  width: 260px;
}

#homepage-use-my-location {
  padding: 0.75rem 1.25rem;
  background: #2f6f3e;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
}

#homepage-use-my-location:hover {
  background: #265a33;
}

/* =====================================================
   HORIZONTAL SCROLL LIST
===================================================== */

.homepage-farm-list {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  padding-top: .5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.homepage-farm-list::-webkit-scrollbar {
  height: 8px;
}

.homepage-farm-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.homepage-farm-list::-webkit-scrollbar-track {
  background: white;
}

.avialable-products-home::-webkit-scrollbar {
  height: 8px;
}

.available-products-home::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.available-products-home::-webkit-scrollbar-track {
  background: white;
}

/* =====================================================
   FARM CARDS
===================================================== */

.homepage-farm-card {
  flex: 0 0 260px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  background-color: #f9fafb;
}

.homepage-farm-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
}

.homepage-farm-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.homepage-farm-card-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.homepage-farm-card-body {
  padding: 1rem;
  text-align: left;
}

.homepage-farm-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.homepage-farm-card-body p {
  margin: 0.25rem 0;
  color: #374151;
}

.homepage-farm-distance {
  font-weight: 600;
  color: #2f6f3e;
}

.homepage-farm-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 0.5rem;
}

.homepage-farm-dd-logo {
  height: 13px;
  width: auto;
  /* filter: brightness(0) invert(1); */
}

.homepage-farm-list-loading {
  text-align: center;
  color: #555;
  padding: 2rem;
  max-width: 200px;
  display: block;
  margin: auto;
}

/* =====================================================
   Product Image Click
===================================================== */

.home .farmtab-product-link {
  pointer-events: auto;
  cursor: pointer;
}

#globl_products .farmtab-product {
    border: 1px solid #e5e7eb !important;
}

#globl_products .acf-location {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

body.blog .farmtab-product-link,
body.tax-product_cat .farmtab-product-link {
  pointer-events: none;
  cursor: default;
}

/* =====================================================
   RESPONSIVE — min-width
===================================================== */

@media (min-width: 768px) {
  .join-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

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

/* =====================================================
   RESPONSIVE — max-width 768px
===================================================== */

@media (max-width: 768px) {
  .available-products-section h3 {
    font-size: 14px;
  }

  .farm-results-section h3 {
    font-size: 14px;
  }
}

/* =====================================================
   RESPONSIVE — max-width 700px
===================================================== */

@media (max-width: 700px) {
  .how-it-works-card {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .how-it-works-divider {
    width: 80%;
    height: 1px;
  }

  .how-it-works-step {
    padding: 0;
  }
}

/* =====================================================
   RESPONSIVE — max-width 600px
===================================================== */

@media (max-width: 600px) {
  .hero-overlay p {
    font-size: 1.1rem;
  }

  .app-download-icons img {
    height: 27.5px;
  }

  .hero-video-section {
    height: 80vh;
  }

  .csa-image-right {
    width: 100%;
    margin-top: 1.5rem;
  }

  .farm-search-hero-overlay {
    padding: 3.5rem 1.25rem 3rem;
  }

  .farm-search-hero-section #homepage-location-input {
    width: 100%;
  }

  .farm-search-trust-badges {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .produce-carousel-item {
    flex: 0 0 130px;
    height: 130px;
  }

  @keyframes produce-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-10 * (130px + 1.5rem))); }
  }
}

/* =====================================================
   RESPONSIVE — max-width 480px
===================================================== */

@media (max-width: 480px) {
  .homepage-farm-card {
    flex: 0 0 200px;
  }

  .homepage-farm-card-image img {
    height: 140px;
  }

  .homepage-farm-card-body h3 {
    font-size: .85rem;
    margin-bottom: 0.25rem;
  }

  .homepage-farm-card-body p {
    font-size: .8rem;
  }
}