/* ════════════════════════════════════════════════════════════════════════
   STITCHA — PHONE APP SHELL (≤560px, gelato variant only)
   The mockup-faithful mobile flow: Home → Niche → Name → Build
   (+ Product spotlight / Swap sub-pages) rendered as one full-viewport
   overlay (#yhaRoot) by js/modules/yh-app.js, feeding into the existing
   gelato customiser (page3) and review (page4).
   Stitcha palette: navy #14202e / ink #1a1714 / paper #f4f1ea /
   gold var(--dk-accent) / green #1f8a5b. Inert unless yh-app.js shows it
   (phone + ?cust=gelato). Desktop/classic untouched by construction.
   ════════════════════════════════════════════════════════════════════════ */

@media (max-width: 560px) {

#yhaRoot { position: fixed; inset: 0; z-index: 300; display: none;
  flex-direction: column; background: #fff; color: #1a1714;
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; }
#yhaRoot.on { display: flex; }
#yhaRoot * { box-sizing: border-box; }
#yhaRoot button { font-family: inherit; cursor: pointer; }
#yhaRoot h1, #yhaRoot h2, #yhaRoot h3, #yhaRoot h4, #yhaRoot p { margin: 0; }

/* ── brand header (navy) ─────────────────────────────────────────────── */
.yha-hd { flex: 0 0 auto; display: flex; align-items: center; gap: 0.6rem;
  padding: calc(0.65rem + env(safe-area-inset-top)) 1rem 0.65rem;
  background: var(--navy, #14202e); color: #fff; }
.yha-hd-badge { width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.55); display: flex;
  align-items: center; justify-content: center; font-size: 10.5px;
  font-weight: 700; letter-spacing: 0.04em; flex: 0 0 auto; }
.yha-hd-name { flex: 1; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.14em; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; }
.yha-hd-menu { min-width: 44px; min-height: 40px; border: 0;
  background: transparent; color: #fff; font-size: 19px; }

/* ── sticky step-progress bar ────────────────────────────────────────── */
.yha-steps { flex: 0 0 auto; display: flex; align-items: center;
  gap: 0.15rem; padding: 0.55rem 0.4rem;
  background: #fff; border-bottom: 1px solid rgba(0,0,0,0.08);
  overflow-x: auto; scrollbar-width: none; }
.yha-steps::-webkit-scrollbar { display: none; }
.yha-step { flex: 0 0 auto; display: flex; align-items: center; gap: 0.3rem;
  border: 0; background: transparent; padding: 0.25rem 0.35rem;
  font-size: 10.5px; font-weight: 600; color: #98948c; }
/* safe centring for a scrollable row — justify-content:center would make
   the start-side overflow unreachable on very narrow screens */
.yha-step:first-child { margin-left: auto; }
.yha-step:last-child { margin-right: auto; }
.yha-step-no { width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid #cfcabe; display: inline-flex; align-items: center;
  justify-content: center; font-size: 10px; font-weight: 700;
  color: #98948c; flex: 0 0 auto; }
.yha-step.done { color: #1a1714; }
.yha-step.done .yha-step-no { border-color: var(--dk-accent, #9c7f43);
  background: var(--dk-accent, #9c7f43); color: #fff; }
.yha-step.on { color: #1a1714; }
.yha-step.on .yha-step-no { border-color: var(--navy, #14202e);
  background: var(--navy, #14202e); color: #fff; }

/* sub-header for spotlight / swap (back arrow + title) */
.yha-subhd { flex: 0 0 auto; display: flex; align-items: center; gap: 0.4rem;
  padding: calc(0.45rem + env(safe-area-inset-top)) 0.6rem 0.45rem;
  background: #fff; border-bottom: 1px solid rgba(0,0,0,0.07); }
.yha-subhd-back { min-width: 44px; min-height: 44px; border: 0;
  background: transparent; color: #1a1714; font-size: 20px; }
.yha-subhd-title { flex: 1; text-align: center; font-size: 15px;
  font-weight: 700; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; }
.yha-subhd-spacer { min-width: 44px; }

/* ── body + sticky footer ────────────────────────────────────────────── */
.yha-body { flex: 1; min-height: 0; overflow-y: auto;
  -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.yha-foot { flex: 0 0 auto; padding: 0.7rem 1rem
  calc(0.7rem + max(env(safe-area-inset-bottom), 8px));
  background: #fff; border-top: 1px solid rgba(0,0,0,0.08); }
.yha-cta { display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; width: 100%; min-height: 50px; border: 0; border-radius: 8px;
  background: var(--navy, #14202e); color: #fff; font-size: 14.5px;
  font-weight: 700; }
.yha-cta:disabled { opacity: 0.45; }
.yha-cta.gold { background: var(--dk-accent, #9c7f43); }

/* shared bits */
.yha-eyebrow { display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--dk-accent, #9c7f43); }
.yha-note { display: flex; gap: 0.6rem; padding: 0.85rem 0.95rem;
  border-radius: 12px; background: #f2f4f8; font-size: 12px;
  line-height: 1.5; color: #44505e; }
.yha-note b { display: block; color: #1a2433; margin-bottom: 0.15rem; }
.yha-note .ic { flex: 0 0 auto; color: var(--dk-accent, #9c7f43);
  font-size: 14px; }

/* ── HOME ────────────────────────────────────────────────────────────── */
.yha-hero { background: var(--navy, #14202e); color: #fff;
  padding: 1.6rem 1.3rem 0; }
.yha-hero h1 { font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem; line-height: 1.15; font-weight: 600;
  margin: 0.55rem 0 0.6rem; }
.yha-hero p { font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,0.78); }
.yha-hero .yha-eyebrow { color: var(--dk-accent-bright, #c2a86a); }
.yha-hero-ctas { display: flex; flex-direction: column; gap: 0.6rem;
  margin: 1.1rem 0 1.3rem; }
.yha-hero-cta { min-height: 50px; border: 0; border-radius: 8px;
  background: #fff; color: #1a1714; font-size: 14.5px; font-weight: 700; }
.yha-hero-ghost { min-height: 44px; border: 0; background: transparent;
  color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 600; }
.yha-hero-img { display: block; width: 100%; height: 300px;
  object-fit: cover; border-radius: 14px 14px 0 0; }
.yha-clubs { background: var(--navy, #14202e); color: #fff;
  padding: 1.1rem 1.3rem 1.4rem; text-align: center; }
.yha-clubs-lbl { font-size: 9.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.55); }
.yha-clubs-row { display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.5rem 1.3rem; margin-top: 0.7rem; }
.yha-club { font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.85); }

.yha-how { background: #f4f1ea; padding: 1.8rem 1.3rem 2rem; }
.yha-how h2, .yha-sec-title { font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem; font-weight: 600; color: #1a1714; }
.yha-how-sub { font-size: 13px; color: #6b6258; margin: 0.35rem 0 1.1rem; }
.yha-how-row { display: flex; align-items: center; gap: 0.85rem; width: 100%;
  border: 0; text-align: left; background: #fff; border-radius: 13px;
  padding: 0.9rem 0.95rem; margin-bottom: 0.65rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.yha-how-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 11px;
  background: rgba(156,127,67,0.13); color: var(--dk-accent, #9c7f43);
  display: flex; align-items: center; justify-content: center; }
.yha-how-row h4 { font-size: 13.5px; font-weight: 700; color: #1a1714; }
.yha-how-row p { font-size: 11.5px; color: #6b6258; line-height: 1.45;
  margin-top: 0.15rem; }
.yha-how-row .chev { margin-left: auto; color: #b6b0a4; flex: 0 0 auto; }

.yha-teams { background: var(--navy, #14202e); color: #fff;
  padding: 1.8rem 0 1.6rem; }
.yha-teams-head { padding: 0 1.3rem; margin-bottom: 1rem; }
.yha-teams-head h2 { font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem; font-weight: 600; color: #fff; }
.yha-teams-head p { font-size: 13px; color: rgba(255,255,255,0.7);
  margin-top: 0.35rem; }
.yha-teams-row { display: flex; gap: 0.7rem; overflow-x: auto;
  scroll-snap-type: x mandatory; padding: 0 1.3rem 0.5rem;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.yha-teams-row::-webkit-scrollbar { display: none; }
.yha-team { flex: 0 0 62%; max-width: 250px; scroll-snap-align: center;
  border: 0; padding: 0; text-align: left; background: transparent;
  color: #fff; }
.yha-team img { width: 100%; height: 150px; object-fit: cover;
  border-radius: 12px; background: #233042; }
.yha-team h4 { font-size: 13.5px; font-weight: 700; margin-top: 0.55rem; }
.yha-team p { font-size: 11px; color: rgba(255,255,255,0.65);
  margin-top: 0.15rem; line-height: 1.4; }
.yha-dots { display: flex; justify-content: center; gap: 6px;
  margin-top: 0.9rem; }
.yha-dot { width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.3); }
.yha-dot.on { background: #fff; }

.yha-quote { padding: 2rem 1.4rem; background: #fff; }
.yha-quote-mark { font-family: Georgia, serif; font-size: 44px;
  line-height: 0.6; color: #d8d2c4; }
.yha-quote p { font-size: 15px; line-height: 1.55; color: #1a1714;
  font-weight: 500; margin: 0.7rem 0 1rem; }
.yha-quote-who { display: flex; align-items: center; gap: 0.6rem; }
.yha-quote-av { width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy, #14202e); color: #fff; display: flex;
  align-items: center; justify-content: center; font-size: 12px;
  font-weight: 700; }
/* byline-scoped — a generic .yha-quote-who span would also restyle the
   avatar initials */
.yha-quote-byline b { display: block; font-size: 12.5px; color: #1a1714; }
.yha-quote-byline span { font-size: 11px; color: #6b6258; }

.yha-final { background: var(--navy, #14202e); color: #fff;
  padding: 1.8rem 1.3rem 2rem; }
.yha-final h2 { font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem; font-weight: 600; }
.yha-final p { font-size: 13px; color: rgba(255,255,255,0.72);
  margin: 0.4rem 0 1rem; }

/* ── NICHE step ──────────────────────────────────────────────────────── */
.yha-stepwrap { padding: 1.3rem 1.15rem 1.5rem; background: #fff; }
.yha-stepwrap > h2 { font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.55rem; line-height: 1.2; font-weight: 600; color: #1a1714;
  margin: 0.5rem 0 0.45rem; }
.yha-step-sub { font-size: 13px; line-height: 1.55; color: #6b6258;
  margin-bottom: 1.1rem; }
.yha-niche { display: flex; align-items: center; gap: 0.85rem; width: 100%;
  border: 1.5px solid #e7e3da; border-radius: 14px; background: #fff;
  padding: 0.7rem; margin-bottom: 0.7rem; text-align: left;
  transition: border-color 0.15s ease; }
.yha-niche img { flex: 0 0 auto; width: 86px; height: 74px;
  object-fit: cover; border-radius: 10px; background: #eceae3; }
.yha-niche h4 { font-size: 13.5px; font-weight: 700; color: #1a1714; }
.yha-niche p { font-size: 11.5px; color: #6b6258; line-height: 1.45;
  margin-top: 0.2rem; }
.yha-niche-chk { flex: 0 0 auto; width: 24px; height: 24px;
  border-radius: 50%; border: 1.5px solid #d4cfc3; display: flex;
  align-items: center; justify-content: center; color: transparent;
  margin-left: auto; }
.yha-niche.on { border-color: var(--dk-accent, #9c7f43);
  background: rgba(156,127,67,0.05); }
.yha-niche.on .yha-niche-chk { border-color: var(--dk-accent, #9c7f43);
  background: var(--dk-accent, #9c7f43); color: #fff; }

/* ── NAME step ───────────────────────────────────────────────────────── */
.yha-field-lbl { display: block; font-size: 12px; font-weight: 700;
  color: #1a1714; margin-bottom: 0.4rem; }
.yha-input-wrap { position: relative; }
.yha-input { width: 100%; min-height: 50px; border: 1.5px solid #e0dbd0;
  border-radius: 10px; padding: 0 2.6rem 0 0.95rem; font-size: 16px;
  font-family: inherit; color: #1a1714; background: #fff; }
.yha-input:focus { outline: none; border-color: var(--dk-accent, #9c7f43); }
.yha-input-ok { position: absolute; right: 0.85rem; top: 50%;
  transform: translateY(-50%); width: 20px; height: 20px; border-radius: 50%;
  background: #1f8a5b; color: #fff; display: none; align-items: center;
  justify-content: center; }
.yha-input-wrap.ok .yha-input-ok { display: flex; }
.yha-field-hint { font-size: 11px; color: #98948c; margin-top: 0.4rem; }

.yha-preview { margin: 1.2rem 0 1rem; border: 1.5px solid #e7e3da;
  border-radius: 14px; padding: 0.95rem; background: #fbfaf7; }
.yha-preview-tag { display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #1f8a5b; }
.yha-preview-tag::before { content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: #1f8a5b; }
.yha-preview-stage { position: relative; margin: 0.6rem auto 0;
  width: min(78%, 250px); min-height: 180px; border-radius: 10px;
  background: #eceae3; /* keeps height + brand-text contrast if the
  garment image is missing or 404s */ }
.yha-preview-stage img { display: block; width: 100%; aspect-ratio: 3/3.4;
  object-fit: contain; }
.yha-preview-brand { position: absolute; left: 50%; top: 38%;
  transform: translate(-50%, -50%); display: flex; flex-direction: column;
  align-items: center; gap: 2px; text-align: center; max-width: 60%;
  pointer-events: none; }
.yha-preview-brand .anc { color: #fff; opacity: 0.92; }
.yha-preview-brand span { font-size: 11px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; color: #fff;
  line-height: 1.25; text-shadow: 0 1px 3px rgba(0,0,0,0.45); }
.yha-preview-brand.dark-on-light .anc,
.yha-preview-brand.dark-on-light span { color: #1a2433; text-shadow: none; }
.yha-preview-cap { font-size: 11px; color: #6b6258; text-align: center;
  margin-top: 0.55rem; line-height: 1.45; }

/* ── BUILD step ──────────────────────────────────────────────────────── */
.yha-namecard { display: flex; flex-direction: column; gap: 0.55rem;
  border: 1.5px solid #e7e3da; border-radius: 13px; padding: 0.85rem 0.95rem;
  margin-bottom: 1rem; background: #fff; }
.yha-namecard-top { display: flex; align-items: center; gap: 0.5rem; }
.yha-namecard-top b { flex: 1; font-size: 14px; color: #1a1714;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yha-namecard-edit { flex: 0 0 auto; min-width: 38px; min-height: 38px;
  border: 0; background: transparent; color: #98948c; font-size: 14px; }
.yha-healthbar { height: 7px; border-radius: 999px; background: #ece8df;
  overflow: hidden; }
.yha-healthbar i { display: block; height: 100%; border-radius: 999px;
  background: #1f8a5b; transition: width 0.3s ease; }
.yha-healthbar i.mid { background: var(--dk-accent, #9c7f43); }
.yha-healthbar i.low { background: #b6b0a4; }
.yha-health-lbl { display: flex; justify-content: space-between;
  font-size: 11px; color: #6b6258; }
.yha-health-lbl b { color: #1f8a5b; font-size: 11px; }
.yha-health-lbl b.mid { color: var(--dk-accent, #9c7f43); }
.yha-health-lbl b.low { color: #6b6258; }

.yha-tabs { display: flex; gap: 1.1rem; border-bottom: 1.5px solid #ece8df;
  margin-bottom: 1rem; }
.yha-tab { border: 0; background: transparent; padding: 0.5rem 0.1rem 0.6rem;
  font-size: 12.5px; font-weight: 600; color: #98948c; position: relative; }
.yha-tab.on { color: #1a1714; }
.yha-tab.on::after { content: ''; position: absolute; left: 0; right: 0;
  bottom: -1.5px; height: 2.5px; background: var(--dk-accent, #9c7f43);
  border-radius: 2px; }

.yha-sechd { display: flex; align-items: center; justify-content: space-between;
  margin: 1.1rem 0 0.55rem; }
.yha-sechd h3 { font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: #6b6258; }
.yha-sechd span { font-size: 11px; color: #98948c; }

.yha-prow { display: flex; align-items: center; gap: 0.75rem; width: 100%;
  border: 0; border-bottom: 1px solid #f0ece3; background: transparent;
  padding: 0.6rem 0.1rem; text-align: left; }
.yha-prow img { flex: 0 0 auto; width: 56px; height: 56px;
  object-fit: contain; border-radius: 10px; background: #f4f2ec; }
.yha-prow-info { flex: 1; min-width: 0; }
.yha-prow-info h4 { font-size: 13px; font-weight: 700; color: #1a1714;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yha-prow-info p { font-size: 11px; color: #6b6258; margin-top: 0.1rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yha-prow-info .pr { font-size: 12px; font-weight: 700; color: #1a1714;
  margin-top: 0.15rem; }
.yha-prow-chk { flex: 0 0 auto; width: 22px; height: 22px;
  border-radius: 50%; background: #e6f3ec; color: #1f8a5b; display: flex;
  align-items: center; justify-content: center; }
.yha-prow-chk.off { background: #f0ece3; color: #b6b0a4; }
.yha-prow .chev { flex: 0 0 auto; color: #cfcabe; }
.yha-prow-add { flex: 0 0 auto; min-height: 36px; padding: 0 0.8rem;
  border: 1.5px solid #e0dbd0; border-radius: 8px; background: #fff;
  font-size: 12px; font-weight: 700; color: #1a1714; }
.yha-prow-add:active { background: #f4f1ea; }

/* ── SPOTLIGHT ───────────────────────────────────────────────────────── */
.yha-spot-pager { display: flex; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; background: #f7f5f0; }
.yha-spot-pager::-webkit-scrollbar { display: none; }
.yha-spot-slide { flex: 0 0 100%; scroll-snap-align: center;
  display: flex; align-items: center; justify-content: center;
  padding: 1.1rem 1.4rem; }
.yha-spot-slide img { width: 100%; max-width: 320px; aspect-ratio: 3/3.2;
  object-fit: contain; }
.yha-spot-dots { display: flex; justify-content: center; gap: 2px;
  padding: 0.35rem 0 0.65rem; background: #f7f5f0; }
/* 7px dot drawn inside a 22px tap target */
.yha-spot-dots button { width: 22px; height: 22px; border: 0; padding: 0;
  background: transparent; display: flex; align-items: center;
  justify-content: center; }
.yha-spot-dots button::before { content: ''; width: 7px; height: 7px;
  border-radius: 50%; background: #d4cfc3; }
.yha-spot-dots button.on::before { background: #1a1714; }
.yha-spot-body { padding: 1.1rem 1.2rem 1.4rem; }
.yha-spot-toprow { display: flex; align-items: center; gap: 0.6rem; }
.yha-spot-toprow h2 { flex: 1; font-size: 1.25rem; font-weight: 700;
  font-family: 'Playfair Display', Georgia, serif; color: #1a1714; }
.yha-badge-ess { flex: 0 0 auto; font-size: 10px; font-weight: 700;
  padding: 0.25rem 0.55rem; border-radius: 999px; background: #e6f3ec;
  color: #1f8a5b; }
.yha-spot-desc { font-size: 12.5px; color: #6b6258; margin-top: 0.25rem; }
.yha-spot-price { font-size: 1.15rem; font-weight: 700; color: #1a1714;
  margin: 0.6rem 0 0.7rem; }
.yha-sw-row { display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 0.3rem; }
.yha-sw { width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid transparent; padding: 0; background-clip: padding-box;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12); }
.yha-sw.on { border-color: var(--navy, #14202e);
  box-shadow: inset 0 0 0 2px #fff; }
.yha-sw-name { font-size: 11.5px; color: #6b6258; }
.yha-spot-why { margin: 0.9rem 0; }
.yha-feats { list-style: none; margin: 0.9rem 0 0; padding: 0; }
.yha-feats li { display: flex; align-items: center; gap: 0.55rem;
  font-size: 12.5px; color: #3c3830; padding: 0.32rem 0; }
.yha-feats li .tick { flex: 0 0 auto; color: #1f8a5b; }
.yha-spot-actions { display: flex; flex-direction: column; gap: 0.6rem;
  padding: 0 1.2rem; }
.yha-keep { display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; width: 100%; min-height: 50px; border: 0; border-radius: 8px;
  background: var(--navy, #14202e); color: #fff; font-size: 14px;
  font-weight: 700; }
.yha-keep .yha-keep-chk { display: inline-flex; width: 19px; height: 19px;
  border-radius: 50%; background: #1f8a5b; color: #fff; align-items: center;
  justify-content: center; }
.yha-keep.out { background: #fff; color: #1a1714;
  border: 1.5px solid #e0dbd0; }
.yha-swapbtn { display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; width: 100%; min-height: 48px; border: 1.5px solid #e0dbd0;
  border-radius: 8px; background: #fff; color: #1a1714; font-size: 14px;
  font-weight: 700; }

/* ── SWAP ────────────────────────────────────────────────────────────── */
.yha-swap-cur { display: flex; align-items: center; gap: 0.75rem;
  padding: 0.95rem 1.2rem; border-bottom: 8px solid #f4f2ec; }
.yha-swap-cur img { width: 62px; height: 62px; object-fit: contain;
  border-radius: 10px; background: #f4f2ec; flex: 0 0 auto; }
.yha-swap-cur h4 { font-size: 13.5px; font-weight: 700; color: #1a1714; }
.yha-swap-cur .pr { font-size: 12px; color: #1a1714; margin-top: 0.1rem; }
.yha-swap-cur .cur { font-size: 11px; font-weight: 700; color: #1f8a5b;
  margin-top: 0.15rem; }
.yha-swap-body { padding: 1rem 1.2rem 1.4rem; }
.yha-swap-body > h3 { font-size: 14px; font-weight: 700; color: #1a1714;
  margin-bottom: 0.7rem; }
.yha-chips { display: flex; gap: 0.45rem; overflow-x: auto;
  scrollbar-width: none; margin-bottom: 0.9rem; padding-bottom: 0.2rem; }
.yha-chips::-webkit-scrollbar { display: none; }
.yha-chip { flex: 0 0 auto; min-height: 36px; padding: 0 0.85rem;
  border: 1.5px solid #e0dbd0; border-radius: 999px; background: #fff;
  font-size: 12px; font-weight: 600; color: #1a1714; }
.yha-chip.on { background: var(--navy, #14202e); border-color: var(--navy, #14202e);
  color: #fff; }
.yha-alt { display: flex; align-items: center; gap: 0.8rem; width: 100%;
  border: 1.5px solid #ece8df; border-radius: 13px; padding: 0.75rem;
  margin-bottom: 0.7rem; background: #fff; }
.yha-alt img { flex: 0 0 auto; width: 70px; height: 70px;
  object-fit: contain; border-radius: 10px; background: #f4f2ec; }
.yha-alt-info { flex: 1; min-width: 0; }
.yha-alt-info h4 { font-size: 13px; font-weight: 700; color: #1a1714; }
.yha-alt-info p { font-size: 11px; color: #6b6258; margin-top: 0.1rem; }
.yha-alt-info .pr { font-size: 12.5px; font-weight: 700; color: #1a1714;
  margin-top: 0.2rem; }
.yha-alt-sel { flex: 0 0 auto; min-height: 40px; padding: 0 1rem;
  border: 1.5px solid #d4cfc3; border-radius: 8px; background: #fff;
  font-size: 12.5px; font-weight: 700; color: #1a1714; }
.yha-alt-sel:active { background: #f4f1ea; }

/* hamburger sheet */
#yhaMenu { position: absolute; inset: 0; z-index: 20; display: none; }
#yhaMenu.on { display: block; }
#yhaMenu .scrim { position: absolute; inset: 0; background: rgba(10,14,20,0.45); }
#yhaMenu .sheet { position: absolute; left: 0; right: 0; bottom: 0;
  background: #fff; border-radius: 16px 16px 0 0;
  padding: 0.9rem 1rem calc(1rem + env(safe-area-inset-bottom)); }
#yhaMenu .sheet button { display: flex; align-items: center; width: 100%;
  min-height: 50px; border: 0; border-bottom: 1px solid #f0ece3;
  background: transparent; font-size: 14.5px; font-weight: 600;
  color: #1a1714; text-align: left; }
#yhaMenu .sheet button:last-child { border-bottom: 0; }

} /* end @media (max-width:560px) */

/* Safety net: never paint above the phone breakpoint. */
@media not all and (max-width: 560px) {
  #yhaRoot { display: none !important; }
}
