.my-locality-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 4% 10%, rgba(8, 196, 100, 0.08), transparent 30%),
    radial-gradient(circle at 92% 2%, rgba(238, 181, 42, 0.08), transparent 24%),
    linear-gradient(180deg, #f8f8f1, #fbfaf6);
  color: var(--navy);
}

.my-locality-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 42px;
  border-bottom: 1px solid rgba(12, 33, 66, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.my-locality-brand img {
  width: 160px;
  display: block;
}

.my-locality-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.my-locality-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 900;
  font-size: 0.86rem;
}

.my-locality-nav a.active {
  background: rgba(8, 196, 100, 0.1);
  color: var(--green);
}

.my-locality-shell {
  width: min(1360px, calc(100% - 88px));
  margin: 0 auto;
  padding: 28px 0 76px;
}

.page-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.page-kicker.green {
  color: var(--green);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.section-heading.compact {
  align-items: center;
}

.section-heading.small h2 {
  font-size: 1.32rem;
}

.section-heading h2,
.local-week-hero h1,
.messages-card h2,
.watchlist-card h2,
.routine-card h2,
.recommended-farms-card h2 {
  margin: 6px 0 0;
  color: var(--navy);
  font-weight: 950;
  letter-spacing: -0.05em;
}

.section-heading h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.65rem);
  line-height: 1;
}

.section-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(12, 33, 66, 0.07);
  color: var(--navy);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 950;
  white-space: nowrap;
}

/* HERO */

.local-week-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 36px;
  border: 1px solid rgba(12, 33, 66, 0.08);
  background:
    radial-gradient(circle at 88% 14%, rgba(8, 196, 100, 0.2), transparent 34%),
    linear-gradient(135deg, #12305a, #0d4b34);
  box-shadow: 0 28px 80px rgba(20, 50, 92, 0.16);
  color: white;
}

.local-week-copy {
  max-width: 760px;
}

.local-week-hero h1 {
  color: white;
  margin-top: 10px;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  line-height: 0.92;
}

.local-week-hero p {
  max-width: 740px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.5;
}

.local-week-actions {
  display: grid;
  gap: 10px;
  min-width: 250px;
}

.primary-action,
.secondary-action,
.ghost-action,
.mini-primary,
.mini-secondary,
.side-card-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 15px;
  text-decoration: none;
  font-weight: 950;
}

.primary-action,
.mini-primary,
.side-card-link {
  background: var(--green);
  color: white;
  box-shadow: 0 16px 36px rgba(8, 196, 100, 0.22);
}

.secondary-action,
.mini-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ghost-action {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.local-week-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.week-stat-card {
  display: grid;
  gap: 5px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.week-stat-card span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.week-stat-card strong {
  color: white;
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 950;
}

.week-stat-card.location strong {
  font-size: 1.05rem;
  line-height: 1.15;
}

.week-stat-card small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
}

/* QUICK BUY */

.quick-buy-section {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  padding: 20px;
  border-radius: 30px;
  border: 1px solid rgba(12, 33, 66, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 42px rgba(20, 50, 92, 0.06);
}

.quick-buy-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.quick-buy-chip {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(12, 33, 66, 0.08);
  background:
    radial-gradient(circle at 80% 10%, rgba(8, 196, 100, 0.1), transparent 34%),
    rgba(255, 255, 255, 0.82);
  color: var(--navy);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 950;
  white-space: nowrap;
}

/* MAIN GRID */

.locality-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  margin-top: 22px;
  align-items: start;
}

.main-feed-column,
.side-rail-column {
  display: grid;
  gap: 22px;
}

.side-rail-column {
  position: sticky;
  top: 104px;
}

.fresh-this-week-panel,
.pickup-panel,
.updates-panel,
.messages-card,
.watchlist-card,
.routine-card,
.recommended-farms-card {
  border: 1px solid rgba(12, 33, 66, 0.08);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 20px 48px rgba(20, 50, 92, 0.07);
}

.fresh-this-week-panel,
.pickup-panel,
.updates-panel {
  display: grid;
  gap: 22px;
  padding: 24px;
  border-radius: 34px;
}

.fresh-card-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr 1fr;
  gap: 16px;
}

.fresh-card {
  overflow: hidden;
  display: grid;
  border-radius: 28px;
  border: 1px solid rgba(12, 33, 66, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 42px rgba(20, 50, 92, 0.05);
}

.fresh-card.featured {
  border-color: rgba(238, 181, 42, 0.4);
  box-shadow:
    0 18px 42px rgba(20, 50, 92, 0.06),
    0 0 0 4px rgba(238, 181, 42, 0.06);
}

.fresh-image {
  min-height: 178px;
  background:
    radial-gradient(circle at 30% 25%, rgba(8, 196, 100, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(239, 246, 236, 1), rgba(255, 252, 245, 1));
}

.fresh-image.produce {
  background:
    radial-gradient(circle at 24% 28%, rgba(8, 196, 100, 0.28), transparent 26%),
    radial-gradient(circle at 70% 34%, rgba(238, 181, 42, 0.24), transparent 24%),
    linear-gradient(135deg, #edf9ed, #fffaf0);
}

.fresh-image.dairy {
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.9), transparent 22%),
    radial-gradient(circle at 72% 20%, rgba(8, 196, 100, 0.16), transparent 34%),
    linear-gradient(135deg, #edf7e8, #fffaf0);
}

.fresh-image.eggs {
  background:
    radial-gradient(circle at 36% 35%, rgba(255, 255, 255, 0.95), transparent 22%),
    radial-gradient(circle at 62% 42%, rgba(255, 255, 255, 0.88), transparent 20%),
    linear-gradient(135deg, #f4f4e8, #fff7e6);
}

.fresh-card-body {
  display: grid;
  gap: 9px;
  padding: 18px;
}

.availability-pill {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(8, 196, 100, 0.1);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 950;
}

.fresh-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.fresh-card p,
.messages-card p,
.routine-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 760;
}

.fresh-meta-row {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.fresh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.fresh-actions .mini-secondary {
  background: rgba(12, 33, 66, 0.07);
  color: var(--navy);
  border: 0;
}

.pickup-list,
.watchlist-list,
.recommended-farm-list {
  display: grid;
  gap: 10px;
}

.pickup-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(12, 33, 66, 0.07);
  background: rgba(255, 255, 255, 0.78);
  color: var(--navy);
  text-decoration: none;
}

.pickup-dot,
.farm-mini-row span {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(8, 196, 100, 0.1);
}

.pickup-dot.gold,
.farm-mini-row span.gold {
  background: #eeb52a;
  box-shadow: 0 0 0 6px rgba(238, 181, 42, 0.12);
}

.pickup-dot.blue {
  background: #3b82f6;
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.12);
}

.pickup-row strong,
.farm-mini-row strong {
  color: var(--navy);
  font-weight: 950;
}

.pickup-row small,
.farm-mini-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 760;
}

.pickup-row em {
  color: var(--green);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 950;
}

/* SIDE RAIL */

.messages-card,
.watchlist-card,
.routine-card,
.recommended-farms-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 30px;
}

.messages-card {
  background:
    radial-gradient(circle at 86% 10%, rgba(8, 196, 100, 0.14), transparent 34%),
    rgba(244, 255, 247, 0.86);
  border-color: rgba(8, 196, 100, 0.18);
}

.messages-card h2,
.watchlist-card h2,
.routine-card h2,
.recommended-farms-card h2 {
  font-size: 1.45rem;
  line-height: 1.05;
}

.watchlist-item,
.farm-mini-row {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(12, 33, 66, 0.07);
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  text-decoration: none;
}

.watchlist-item strong {
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 950;
}

.watchlist-item small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 780;
}

.watchlist-item span {
  width: fit-content;
  margin-top: 4px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(8, 196, 100, 0.1);
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 950;
}

.routine-card {
  background:
    radial-gradient(circle at 88% 12%, rgba(238, 181, 42, 0.11), transparent 34%),
    rgba(255, 252, 245, 0.88);
  border-color: rgba(238, 181, 42, 0.18);
}

.routine-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.routine-options a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(12, 33, 66, 0.07);
  color: var(--navy);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 950;
}

.farm-mini-row {
  grid-template-columns: auto 1fr;
  align-items: center;
}

/* INTERACTIONS */

.quick-buy-chip,
.fresh-card,
.pickup-row,
.watchlist-item,
.farm-mini-row,
.side-card-link {
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.quick-buy-chip:hover,
.fresh-card:hover,
.pickup-row:hover,
.watchlist-item:hover,
.farm-mini-row:hover {
  transform: translateY(-2px);
  border-color: rgba(8, 196, 100, 0.22);
  box-shadow: 0 24px 54px rgba(20, 50, 92, 0.11);
}

/* RESPONSIVE */

@media (max-width: 1150px) {
  .locality-command-grid {
    grid-template-columns: 1fr;
  }

  .side-rail-column {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .local-week-hero {
    grid-template-columns: 1fr;
  }

  .local-week-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .local-week-stats,
  .fresh-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fresh-card.featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .my-locality-topbar {
    display: grid;
    justify-items: start;
    padding: 14px 22px;
  }

  .my-locality-nav {
    flex-wrap: wrap;
  }

  .my-locality-shell {
    width: min(100% - 28px, 1360px);
    padding-top: 20px;
  }

  .local-week-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.5rem);
  }

  .local-week-actions,
  .local-week-stats,
  .fresh-card-grid,
  .side-rail-column {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .section-heading.compact {
    display: grid;
  }

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

  .pickup-row em {
    grid-column: 2;
  }
}

/* =========================
   MY LOCALITY ROUTER
========================= */

.my-locality-router-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 12%, rgba(8, 196, 100, 0.12), transparent 32%),
    radial-gradient(circle at 82% 20%, rgba(241, 185, 74, 0.14), transparent 34%),
    var(--cream);
}

.my-locality-router {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.my-locality-router-card {
  width: min(620px, 100%);
  display: grid;
  gap: 16px;
  padding: 52px;
  border-radius: 38px;
  border: 1px solid rgba(12, 33, 66, 0.08);
  background:
    radial-gradient(circle at 88% 8%, rgba(8, 196, 100, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 90px rgba(20, 50, 92, 0.14);
}

.my-locality-router-card img {
  width: 190px;
  display: block;
  margin-bottom: 28px;
}

.my-locality-router-card h1 {
  max-width: 520px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.my-locality-router-card > p:not(.page-kicker) {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-weight: 900;
  line-height: 1.55;
}

.my-locality-router-spinner {
  width: 42px;
  height: 42px;
  margin-top: 16px;
  border-radius: 999px;
  border: 4px solid rgba(8, 196, 100, 0.16);
  border-top-color: var(--green);
  animation: locality-router-spin 0.8s linear infinite;
}

@keyframes locality-router-spin {
  to {
    transform: rotate(360deg);
  }
}


/* =========================
   PRIVATE BUYER DASHBOARD POLISH
========================= */

.private-buyer-dashboard-page .my-locality-shell {
  padding-top: 24px;
}

.compact-buyer-hero {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  padding: clamp(22px, 3vw, 34px);
  border-radius: 34px;
}

.compact-buyer-hero .local-week-hero h1,
.compact-buyer-hero h1 {
  font-size: clamp(2.45rem, 4.6vw, 4.15rem);
  line-height: 0.94;
}

.compact-buyer-hero .local-week-hero p,
.compact-buyer-hero p {
  margin-top: 12px;
}

.compact-buyer-hero .local-week-stats {
  margin-top: 2px;
}

.buyer-feature-panel {
  margin-top: 22px;
}

.buyer-carousel-heading {
  align-items: center;
}

.buyer-carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-icon-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(12, 33, 66, 0.07);
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 950;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    background 0.16s ease,
    box-shadow 0.16s ease;
}

.carousel-icon-button:hover {
  transform: translateY(-1px);
  background: rgba(8, 196, 100, 0.1);
  box-shadow: 0 12px 26px rgba(20, 50, 92, 0.08);
}

.fresh-carousel-track {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1fr;
  gap: 16px;
}

.mixed-feature-card {
  min-height: 100%;
}

.fresh-card-media {
  position: relative;
  min-height: 186px;
  overflow: hidden;
  background:
    radial-gradient(circle at 32% 30%, rgba(8, 196, 100, 0.18), transparent 34%),
    linear-gradient(135deg, #f1f8ed, #fffaf0);
}

.fresh-card-media img {
  width: 100%;
  height: 100%;
  min-height: 186px;
  display: block;
  object-fit: cover;
}

.fresh-card-media .fresh-image {
  min-height: 186px;
}

.fresh-image.business {
  background:
    radial-gradient(circle at 24% 28%, rgba(8, 196, 100, 0.24), transparent 28%),
    radial-gradient(circle at 74% 18%, rgba(238, 181, 42, 0.18), transparent 28%),
    linear-gradient(135deg, #edf8ed, #fffaf0);
}

.fresh-image.product {
  background:
    radial-gradient(circle at 30% 22%, rgba(8, 196, 100, 0.22), transparent 30%),
    radial-gradient(circle at 72% 32%, rgba(238, 181, 42, 0.18), transparent 26%),
    linear-gradient(135deg, #f3f9ee, #fffaf0);
}

.feature-type-pill {
  position: absolute;
  left: 14px;
  top: 14px;
  max-width: calc(100% - 28px);
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 26px rgba(20, 50, 92, 0.08);
}

.buyer-dashboard-grid {
  margin-top: 22px;
}

.buyer-utility-section {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 34px;
  border: 1px solid rgba(12, 33, 66, 0.08);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 20px 48px rgba(20, 50, 92, 0.07);
}

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

.buyer-utility-card {
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(12, 33, 66, 0.08);
  background:
    radial-gradient(circle at 88% 14%, rgba(8, 196, 100, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.78);
  color: var(--navy);
  text-decoration: none;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.buyer-utility-card:hover {
  transform: translateY(-2px);
  border-color: rgba(8, 196, 100, 0.22);
  box-shadow: 0 18px 42px rgba(20, 50, 92, 0.1);
}

.buyer-utility-card span {
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.buyer-utility-card strong {
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.buyer-utility-card small,
.side-muted-copy {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.42;
  font-weight: 760;
}

.locality-empty-state {
  padding: 18px;
  border-radius: 22px;
  border: 1px dashed rgba(12, 33, 66, 0.16);
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 820;
  line-height: 1.45;
}

.locality-empty-state.compact {
  padding: 14px;
  font-size: 0.78rem;
}

@media (max-width: 1050px) {
  .compact-buyer-hero {
    grid-template-columns: 1fr;
  }

  .fresh-carousel-track,
  .buyer-utility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .fresh-carousel-track,
  .buyer-utility-grid {
    grid-template-columns: 1fr;
  }

  .buyer-carousel-heading {
    display: grid;
  }

  .buyer-carousel-controls {
    flex-wrap: wrap;
  }
}


/* =========================
   PRIVATE BUYER DASHBOARD REBALANCE
========================= */

.private-buyer-dashboard-page .my-locality-shell {
  padding-top: 24px;
}

.private-buyer-dashboard-page .buyer-slim-hero {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 290px);
  gap: 22px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 34px;
}

.private-buyer-dashboard-page .buyer-slim-hero h1 {
  max-width: 760px;
  font-size: clamp(2.45rem, 4.55vw, 4rem);
  line-height: 0.94;
}

.private-buyer-dashboard-page .buyer-slim-hero .local-week-copy > p:not(.page-kicker):not(.buyer-hero-location-row) {
  max-width: 720px;
  margin-top: 12px;
}

.buyer-hero-location-row {
  width: fit-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 850;
}

.buyer-hero-location-row strong {
  color: white;
  font-weight: 950;
}

.buyer-location-dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(8, 196, 100, 0.16);
}

.buyer-hero-actions {
  align-self: center;
}

/* Hide the old buyer stat-card layout on the private dashboard if any older markup remains */
.private-buyer-dashboard-page .local-week-stats {
  display: none;
}

.quick-buy-helper {
  margin-top: 18px;
  padding: 22px;
}

.quick-buy-helper .section-heading h2 {
  font-size: clamp(1.75rem, 2.7vw, 2.55rem);
}

.quick-buy-explainer {
  max-width: 740px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 820;
  line-height: 1.45;
}

.buyer-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(280px, 0.95fr);
  gap: 22px;
  margin-top: 22px;
  align-items: stretch;
}

.buyer-feature-row .buyer-feature-panel {
  margin-top: 0;
}

.buyer-feature-side {
  display: grid;
  gap: 22px;
}

.buyer-preview-card {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 24px;
  border-radius: 30px;
  border: 1px solid rgba(12, 33, 66, 0.08);
  background:
    radial-gradient(circle at 88% 12%, rgba(8, 196, 100, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 48px rgba(20, 50, 92, 0.07);
}

.basket-preview-card {
  background:
    radial-gradient(circle at 88% 12%, rgba(8, 196, 100, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.88);
}

.saved-preview-card {
  background:
    radial-gradient(circle at 88% 12%, rgba(238, 181, 42, 0.12), transparent 34%),
    rgba(255, 252, 245, 0.9);
}

.buyer-preview-card h2 {
  margin: 6px 0 0;
  color: var(--navy);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.045em;
}

.buyer-preview-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  font-weight: 800;
}

.buyer-preview-summary {
  display: grid;
  gap: 3px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(12, 33, 66, 0.055);
}

.buyer-preview-summary strong {
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
  font-weight: 950;
}

.buyer-preview-summary span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.buyer-preview-summary.muted strong {
  color: rgba(12, 33, 66, 0.55);
}

.side-card-link.secondary {
  background: rgba(12, 33, 66, 0.07);
  color: var(--navy);
  box-shadow: none;
}

.private-buyer-dashboard-page .fresh-carousel-track {
  grid-template-columns: 1.08fr 1fr 1fr;
  gap: 16px;
}

.private-buyer-dashboard-page .fresh-card-media {
  min-height: 210px;
}

.private-buyer-dashboard-page .fresh-card-media img,
.private-buyer-dashboard-page .fresh-card-media .fresh-image {
  min-height: 210px;
}

@media (max-width: 1180px) {
  .buyer-feature-row {
    grid-template-columns: 1fr;
  }

  .buyer-feature-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .private-buyer-dashboard-page .buyer-slim-hero {
    grid-template-columns: 1fr;
  }

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

  .buyer-hero-actions .ghost-action {
    grid-column: 1 / -1;
  }

  .private-buyer-dashboard-page .fresh-carousel-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .private-buyer-dashboard-page .fresh-card.featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .buyer-hero-actions,
  .buyer-feature-side,
  .private-buyer-dashboard-page .fresh-carousel-track {
    grid-template-columns: 1fr;
  }
}

/* Keep private buyer carousel cards compact */
.private-buyer-dashboard-page .mixed-feature-card .fresh-card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.private-buyer-dashboard-page .mixed-feature-card .fresh-meta-row {
  margin-top: auto;
}
