/* STORE TWENTY-ONE · home page (.home-*) and shop listing (.shop-*). Loaded after style.css on shop pages. */

/* Home: hero */
.home-hero {
  position: relative; padding: 40px 0 48px; border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  background:
    radial-gradient(ellipse at 85% 10%, rgba(212, 175, 55, 0.16), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(212, 175, 55, 0.08), transparent 50%);
}
.home-hero-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.home-hero-copy { min-width: 0; }
/* Sized so "TWENTY-ONE" (Syne is wide: about 1.2em per letter) stays on one line in its column. */
.home-hero-title { font-size: clamp(1.4rem, 7.2vw, 3.6rem); margin: 0 0 0.15em; overflow-wrap: anywhere; letter-spacing: 0.01em; }
.home-slogan { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 4.5vw, 1.9rem); line-height: 1.2; margin: 0 0 10px; }
.home-motto { color: var(--gold); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 16px; }
.home-hero .lead { margin-bottom: 0; }
.home-hero-actions { margin-top: 24px; }
.home-hero-actions .btn .icon, .shop-empty-actions .btn .icon, .home-store .btn .icon { flex: none; }
.home-hero-art { display: flex; justify-content: center; min-width: 0; }
.home-hero-art img {
  width: 100%; max-width: 220px; border-radius: 28px; border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 30px 80px -30px rgba(212, 175, 55, 0.45);
}
@media (max-width: 559px) {
  .home-hero-actions .btn { width: 100%; }
}
@media (min-width: 900px) {
  .home-hero { padding: 72px 0 80px; }
  .home-hero-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; }
  .home-hero-title { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
  .home-hero-art img { max-width: 420px; }
}

/* Home: section heads and tinted bands */
.home-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.home-section-head > div { min-width: 0; }
.home-section-head .title-lg { margin-bottom: 0; }
.home-band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Home: category chips (wrap instead of scrolling) */
.home-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 20px 0 0; }
.home-chips li { min-width: 0; max-width: 100%; }
.home-chips .chip { max-width: 100%; }
.home-chip-count {
  display: inline-block; min-width: 24px; padding: 1px 7px; border-radius: 999px; background: rgba(244, 239, 228, 0.08);
  color: var(--muted); font: 700 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-align: center;
}
.home-chips .chip:hover .home-chip-count { color: var(--gold); }

/* Home: story teaser */
.home-story { margin-top: 24px; }
.home-story-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.home-story-card .timeline-year { margin: 0; font-size: 1.1rem; }
.home-story-card .title-md { margin: 0; overflow-wrap: anywhere; }

/* Home: how to order */
.home-steps { list-style: none; padding: 0; margin: 24px 0 0; }
.home-step { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.home-step .title-md { margin: 0; }
.home-step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold);
  color: var(--gold); font-family: var(--display); font-weight: 800; font-size: 1.2rem;
}

/* Home: our shops */
.home-stores { list-style: none; padding: 0; margin: 24px 0 0; }
.home-store { display: flex; flex-direction: column; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.home-store .title-md { margin: 0; display: flex; align-items: center; gap: 8px; }
.home-store .title-md .icon { color: var(--gold); flex: none; }
.home-store p { margin: 0; }
.home-store .row { margin-top: 8px; gap: 8px; }

/* Shop: header, chips, search and sort */
.shop-head { margin-bottom: 8px; }
.shop-head .title-lg { margin-bottom: 4px; overflow-wrap: anywhere; }
.shop-count { margin: 0; }
.shop-chips { margin: 16px 0 0; padding-bottom: 8px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.shop-chips .chip { flex: none; }
.shop-tools { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin-top: 16px; align-items: end; }
.shop-search { display: flex; gap: 8px; min-width: 0; }
.shop-search .input { flex: 1 1 auto; width: auto; min-width: 0; }
.shop-search .btn { flex: none; }
.shop-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.shop-sort .label { flex: 0 0 auto; }
.shop-sort .select { flex: 1 1 160px; width: auto; min-width: 0; }
.shop-sort .btn { flex: none; }
@media (min-width: 900px) {
  .shop-tools { grid-template-columns: minmax(0, 1fr) auto; gap: 24px; }
  .shop-search { max-width: 520px; }
  .shop-sort { flex-wrap: nowrap; }
  .shop-sort .select { flex: 0 1 240px; }
}
.shop-clear { margin: 12px 0 0; }
.shop-results { margin-top: 24px; }

/* Shop: empty state */
.shop-empty { max-width: 560px; margin: 0 auto; padding: 40px 20px; }
.shop-empty .title-md { margin-bottom: 8px; }
.shop-empty-actions { justify-content: center; }
@media (max-width: 479px) {
  .shop-empty-actions .btn { width: 100%; }
}
