/* BECOME shop preview — integrated & scoped (from Codex component, Oct 1 2026).
   Generic root/body/heading/dialog rules from the standalone demo are scoped to .bs-scope / .bs-dialog. */
.bs-scope, .bs-bar, .bs-dialog { --bs-gold: var(--gold, #d5bb82); --bs-ink: var(--ink, #f5f1e8); --bs-muted: #b7b1a5; --bs-border: #514b3e; }
.bs-hero { position: relative; min-height: 620px; display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.bs-copy { padding: 5rem 2rem 5rem var(--shell, 5%); z-index: 1; }
.bs-eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .7rem; color: var(--bs-gold); font-family: var(--mono, monospace); }
.bs-scope h1 { font-family: var(--serif, Georgia, serif); font-size: clamp(2.8rem, 4.5vw, 5rem); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; margin: 1.5rem 0; }
.bs-scope h2 { font-family: var(--serif, Georgia, serif); font-weight: 400; font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -.01em; }
.bs-copy > p { color: var(--bs-muted); }
.bs-hero figure { margin: 0; position: relative; }
.bs-hero img { display: block; width: 100%; height: 620px; object-fit: cover; object-position: 72% center; }
.bs-hero figcaption { position: absolute; bottom: 1rem; right: 1rem; left: 1rem; font-size: .72rem; text-align: right; background: #171717de; padding: .45rem .6rem; color: var(--bs-ink); }
.bs-button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; background: var(--bs-gold); color: #171717; padding: .8rem 1.15rem; text-decoration: none; border: 0; font-weight: 650; border-radius: 4px; font-family: var(--sans, system-ui); font-size: .95rem; }
.bs-button:hover { background: var(--gold-strong, #e9cf94); }
.bs-clock { font-size: .88rem; color: var(--bs-muted); font-variant-numeric: tabular-nums; margin-top: 2rem; }
.bs-collection { padding: 4rem var(--shell, 5%) 5rem; scroll-margin-top: 1rem; }
.bs-collection > p { max-width: 48rem; color: var(--bs-muted); }
.bs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
.bs-grid article { border: 1px solid var(--bs-border); padding: 1.5rem; background: #1b1b1a; }
.bs-grid article h3 { font-size: 1.3rem; margin: .6rem 0 .4rem; }
.bs-grid article p { color: var(--bs-muted); }
.bs-grid span { font-size: .8rem; color: var(--bs-gold); font-family: var(--mono, monospace); }
.bs-grid button, .bs-dialog button { border: 1px solid var(--bs-gold); color: var(--bs-gold); background: transparent; padding: .65rem 1rem; border-radius: 4px; font: 600 .9rem var(--sans, system-ui); cursor: pointer; }
.bs-dialog { max-width: 32rem; width: calc(100% - 2rem); border: 1px solid var(--gold, #d5bb82); background: #22221f; color: var(--ink, #f5f1e8); padding: 2rem; border-radius: 10px; }
.bs-dialog::backdrop { background: #000b; }
.bs-dialog h2 { font-family: var(--serif, Georgia, serif); font-weight: 400; font-size: 2rem; margin-top: 0; }
.bs-dialog p { color: #d4cfc4; line-height: 1.6; }
/* Bar: in-page above footer on desktop; fixed bottom on phones (<=760px) */
.bs-bar { display: flex; align-items: center; gap: 1rem; margin: 3rem var(--shell, 5%); padding: 1rem; border: 1px solid var(--bs-border, #514b3e); background: #1d1c1a; border-radius: 10px; color: var(--ink, #f5f1e8); }
.bs-bar img { width: 60px; height: 60px; object-fit: cover; object-position: 75% center; border-radius: 5px; flex-shrink: 0; }
.bs-bar > div { flex: 1; min-width: 0; }
.bs-bar strong, .bs-bar .bs-eyebrow { display: block; }
.bs-bar .bs-eyebrow { margin: 0 0 .2rem; color: var(--gold, #d5bb82); }
.bs-bar strong { font-size: .98rem; }
@media (max-width: 760px) {
  body.has-shop-bar { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .bs-hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .bs-copy { padding: 3rem 6% 2rem; }
  .bs-hero img { height: 440px; object-position: 70% center; }
  .bs-grid { grid-template-columns: 1fr; }
  .bs-bar { position: fixed; z-index: 20; bottom: 0; left: 0; right: 0; margin: 0; border-radius: 0; border-width: 1px 0 0; padding: .8rem .8rem calc(.8rem + env(safe-area-inset-bottom)); gap: .7rem; box-shadow: 0 -8px 30px #0008; }
  .bs-bar img { width: 44px; height: 54px; }
  .bs-bar .bs-eyebrow { font-size: .58rem; letter-spacing: .08em; }
  .bs-bar strong { font-size: .78rem; line-height: 1.4; }
  .bs-bar .bs-button { padding: .7rem .75rem; font-size: .8rem; white-space: nowrap; }
  .bs-collection { padding: 3rem 6%; }
}
