/* Farm store hero. Shop cards, topbar and footer come from shop.css (#hxs). */

#hxs .store-hero {
  background: var(--paper);
  border: 1px solid rgba(230,218,200,.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin: 4px 0 22px;
}

/* Uploaded banners sit fully visible on a white/cream stage — never cropped. */
#hxs .store-banner.has-photo {
  height: auto;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  background: #fff;
  border-bottom: 1px solid rgba(230,218,200,.75);
}
#hxs .store-banner.has-photo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  display: block;
}

/* Empty banner: warm rust-to-gold band (avatar no longer overlaps it). */
#hxs .store-banner.no-photo {
  position: relative;
  height: 112px;
  background: linear-gradient(135deg, #C05133 0%, #A34428 42%, #8A5A3A 72%, #C4A35A 100%);
}
#hxs .store-banner.no-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(255,251,245,.3), transparent 52%),
    radial-gradient(circle at 12% 88%, rgba(42,36,32,.2), transparent 55%);
}

#hxs .store-hero-body {
  position: relative;
  padding: 20px 20px 22px;
}
#hxs .store-id-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
#hxs .store-id-text { min-width: 0; flex: 1; }

#hxs .store-avatar {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border-radius: 50%;
  border: 2px solid rgba(230,218,200,.9);
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 4px 12px rgba(42,36,32,.10);
  position: relative;
  margin: 0;
}
#hxs .store-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#hxs .store-avatar.no-photo {
  background: var(--rust);
  display: grid;
  place-items: center;
}
#hxs .store-avatar.no-photo span {
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: .02em;
  line-height: 1;
}

#hxs .store-name {
  font-size: 26px;
  line-height: 1.15;
  margin-top: 0;
  overflow-wrap: anywhere;
}
#hxs .store-place {
  color: var(--muted);
  font-weight: 700;
  font-size: 15px;
  margin-top: 4px;
}
#hxs .store-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
}
#hxs .store-pill {
  background: #EEF2E8;
  color: var(--sage);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 11px;
  border-radius: 999px;
}
#hxs .store-stat {
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}
#hxs .store-bio {
  margin-top: 14px;
  color: var(--body);
  font-weight: 600;
  max-width: 62ch;
  overflow-wrap: anywhere;
}
#hxs .store-actions { margin-top: 16px; }
#hxs .store-share {
  width: auto;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
#hxs .store-share svg { width: 18px; height: 18px; flex: 0 0 18px; }
#hxs .store-share:hover { border-color: var(--rust); color: var(--rust); }
#hxs .store-share.copied,
#hxs .store-share.copied:hover { border-color: var(--sage); color: var(--sage); }

@media (min-width: 720px) {
  #hxs .store-banner.has-photo { padding: 20px 28px; }
  #hxs .store-banner.has-photo img { max-height: 260px; }
  #hxs .store-banner.no-photo { height: 136px; }
  #hxs .store-name { font-size: 32px; }
}
@media (min-width: 1024px) {
  #hxs .store-banner.has-photo img { max-height: 300px; }
  #hxs .store-banner.no-photo { height: 156px; }
  #hxs .store-hero-body { padding: 24px 28px 28px; }
  #hxs .store-id-row { gap: 18px; }
  #hxs .store-avatar { width: 88px; height: 88px; flex-basis: 88px; }
  #hxs .store-avatar.no-photo span { font-size: 28px; }
  #hxs .store-name { font-size: 38px; }
}
