/* My Build (reference port) - extends the inline .blc-build-* reference styles in index.html.
   Adds focus, scroll lock, mobile header offset and disabled states. Day theme follows the reference html[data-theme="day"] switch (blc-theme.js). */
html.blc-build-open { overflow: hidden; }
#blc-catalog .blc-build-sheet { max-height: calc(100dvh - var(--blc-header-offset, 80px)); outline: none; }
#blc-catalog .blc-build-body { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; min-height: 0; }
#blc-catalog .blc-build-foot { padding-bottom: max(1.1rem, env(safe-area-inset-bottom, 0px)); gap: .45rem; }
#blc-catalog .blc-build-x:focus-visible, #blc-catalog .blc-remove:focus-visible, #blc-catalog .blc-clear:focus-visible,
#blc-catalog .blc-qb-edit:focus-visible, #blc-catalog .blc-add-btn:focus-visible, #blc-catalog .blc-qb-text:focus-visible,
#blc-catalog .blc-vehicle:focus-visible { outline: 2px solid #f0a15c; outline-offset: 2px; }
#blc-catalog .blc-vehicle { font-size: 16px; min-height: 44px; box-sizing: border-box; }
#blc-catalog .blc-build-empty[hidden], #blc-catalog .blc-preview[hidden], #blc-catalog .mb-store-warn[hidden] { display: none; }
#blc-catalog .blc-build-empty strong { color: #E07A2E; }
#blc-catalog .mb-store-warn { margin: 0 0 .9rem; padding: .55rem .7rem; border-radius: 8px; background: rgba(224,122,46,.12); border: 1px solid rgba(224,122,46,.45); font-size: .8rem; color: #f2d2b6; }
#blc-catalog .mb-cta-help { margin: 0; font-size: .76rem; color: #9aa3af; text-align: center; line-height: 1.4; }
#blc-catalog .blc-build-foot .blc-cta { min-height: 48px; }
#blc-catalog .blc-build-foot .blc-cta:disabled, #blc-catalog .blc-clear:disabled { opacity: .5; cursor: not-allowed; }
#blc-catalog .blc-qb-text { white-space: pre-wrap; overflow-wrap: anywhere; cursor: text; }

/* Shopmonkey embed */
.quote-embed-wrap.sm-wrap { -webkit-overflow-scrolling: touch; overflow: hidden; height: auto; min-height: 0; }
.quote-embed.sm-frame { height: 700px; min-height: 700px; }
@media (max-width: 760px) {
  html.blc-quote-visible #blc-catalog .blc-build-pill { display: none; }
}
@media (max-width: 700px) { .quote-embed.sm-frame { height: 820px; min-height: 700px; } }
.sm-fallback { margin: .7rem .35rem .2rem; font-size: .86rem; line-height: 1.5; color: var(--muted); }
.sm-fallback a { color: var(--accent-2, #f0a15c); font-weight: 700; display: inline-flex; align-items: center; min-height: 40px; }
.quote-mention-hint { width: 100%; margin: .2rem 0 0; font-size: .8rem; color: var(--muted); }
.quote-mention-manual { width: 100%; box-sizing: border-box; margin-top: .3rem; font: 500 16px/1.4 Inter, system-ui, sans-serif; padding: .5rem .6rem; border-radius: 8px; border: 1px solid var(--border); background: var(--bg); color: var(--text); }
.quote-mention-manual[hidden] { display: none; }

/* Day theme (reference blc-theme) */
@supports (display:block) {
  html[data-theme="day"] body #blc-catalog .mb-cta-help { color: var(--muted); }
  html[data-theme="day"] body #blc-catalog .mb-store-warn { color: #7a3e0c; background: rgba(208,106,31,.1); }
  html[data-theme="day"] body #blc-catalog .blc-build-empty strong { color: #a9520f; }
  html[data-theme="day"] body #blc-catalog .blc-build-x:focus-visible, html[data-theme="day"] body #blc-catalog .blc-remove:focus-visible,
  html[data-theme="day"] body #blc-catalog .blc-qb-text:focus-visible, html[data-theme="day"] body #blc-catalog .blc-vehicle:focus-visible { outline-color: #a9520f; }
  html[data-theme="day"] body .sm-fallback a { color: #a9520f; }
}
