/* =========================
   BuildView 1.1.0 â€” Senita-inspired app shell
   Scoped under .buildview-app-inner / .bv-shell
   Engine unchanged: overlays, pricing, Alpine state
   ========================= */

/* Fonts are enqueued from Design settings (buildview_design_enqueue_fonts). */

:root{
  /* Neutral Core fallbacks — overridden at runtime by buildview_design_css_variables() */
  --bv-primary: #2F3A3A;
  --bv-secondary: #6B7C7C;
  --bv-accent: #3D6B5A;
  --bv-background: #F7F7F5;
  --bv-surface: #FFFFFF;
  --bv-header: #2F3A3A;
  --bv-footer: #FFFFFF;
  --bv-text: #1C1C1C;
  --bv-text-muted: #6A6A6A;
  --bv-border: #D9D9D4;
  --bv-selected: rgba(61,107,90,0.18);
  --bv-button-bg: #2F3A3A;
  --bv-button-text: #FFFFFF;
  --bv-font-heading: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --bv-font-body: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --bv-font-control: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --bv-radius-card: 0px;
  --bv-radius-control: 0px;
  --bv-shadow: 0 10px 30px rgba(0,0,0,0.09);
  --bv-padding: 1.25rem;

  /* Alias layer (1.1.0 selectors) — maps to semantic tokens */
  --bv-cream: var(--bv-background);
  --bv-cream-2: var(--bv-background);
  --bv-paper: var(--bv-surface);
  --bv-ink: var(--bv-text);
  --bv-olive: var(--bv-secondary);
  --bv-olive-soft: var(--bv-text-muted);
  --bv-moss: var(--bv-primary);
  --bv-moss-dark: var(--bv-primary);
  --bv-sage: var(--bv-header);
  --bv-sage-dk: var(--bv-text-muted);
  --bv-line: var(--bv-border);
  --bv-accent-light: var(--bv-selected);
  --bv-warning: var(--bv-text-muted);
  --bv-bg: var(--bv-background);
  --bv-radius: var(--bv-radius-card);
  --bv-font: var(--bv-font-body);
  --bv-font-display: var(--bv-font-heading);
  --bv-header-h: 58px;
  --bv-footer-h: 68px;
  --bv-gallery-header-h: 56px;

  /* Shared motion language - overlays align to splash-preview soft settle */
  --bv-motion-press: 100ms;
  --bv-motion-fast: 140ms;
  --bv-motion-tab: 320ms;
  --bv-motion-normal: 320ms;
  --bv-motion-overlay: 300ms;
  --bv-motion-page: 520ms;
  --bv-motion-ease: cubic-bezier(.2, .8, .2, 1);
  --bv-motion-distance: 28px;
  --bv-motion-tab-y: 8px;
  --bv-motion-overlay-y: 10px;
  --bv-motion-out: -1;
  --bv-motion-in: 1;
}

html, body{
  font-family: var(--bv-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--bv-text);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
a, a:visited { color: inherit; }
input, button, select, textarea { font-family: inherit; }
button { cursor: pointer; }
[x-cloak]{ display: none !important; }

html.bv-no-scroll, body.bv-no-scroll{
  overflow: hidden !important;
  height: 100dvh;
  overscroll-behavior: none;
}

/* WordPress page independence when fullscreen shell is present.
   Immersive BuildView overlays (Gallery / plan) sit above the admin bar. */
body.bv-app-page #wpadminbar { z-index: 100000; }
body.bv-app-page .h-global_section,
body.bv-app-page .h-footer_section,
body.bv-app-page .h-navigation,
body.bv-app-page header.page-header,
body.bv-app-page .site-header,
body.bv-app-page .site-footer,
body.bv-app-page footer.site-footer,
body.bv-app-page .colibri-header,
body.bv-app-page .colibri-footer{
  display: none !important;
}
body.bv-app-page{
  background: var(--bv-cream);
}
body.bv-app-page #buildview-fullscreen-wrapper{
  min-height: 100dvh;
  background: var(--bv-cream);
}

.buildview-app-inner{
  min-height: 100dvh;
  background: var(--bv-cream);
  color: var(--bv-ink);
  font-family: var(--bv-font);
  -webkit-font-smoothing: antialiased;
}

/* ========== App shell ========== */
.bv-shell,
#buildview-app{
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100dvh;
  max-height: 100dvh;
  background: var(--bv-cream);
  overflow: hidden;
  overscroll-behavior: none;
}

.bv-shell-header{
  flex: 0 0 auto;
  box-sizing: content-box;
  height: var(--bv-header-h);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 12px 1.25rem 0;
  background: var(--bv-sage);
  color: var(--bv-cream);
  box-shadow: 0 2px 18px rgba(69,66,43,0.13);
  z-index: 40;
}
.bv-shell-brand{ display: flex; align-items: center; gap: .75rem; min-width: 0; max-width: 100%; justify-self: start; overflow: hidden; }
.bv-shell-brand-link{
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  height: calc(var(--bv-header-h) - 16px);
  align-self: center;
  color: inherit;
  text-decoration: none;
  line-height: 0;
}
.bv-shell-brand-link:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.bv-shell-brand-mark{
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--bv-cream);
  box-shadow: inset 0 0 0 6px var(--bv-moss);
}
.bv-shell-brand-text{ display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.bv-shell-product{
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; opacity: .85;
}
.bv-shell-brand-name{
  font-family: var(--bv-font-display);
  font-weight: 700; font-size: .95rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bv-shell-nav{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  justify-self: center;
}
.bv-shell-header-end{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  min-width: 0;
}
.bv-shell-header-actions{ display: flex; gap: .5rem; align-items: center; flex-shrink: 0; }

.bv-ghost-btn,
.bv-text-btn{
  background: transparent;
  border: 1px solid rgba(252,249,237,.45);
  color: var(--bv-cream);
  padding: .45rem .8rem;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background .2s, border-color .2s, color .2s, opacity .2s;
}
.bv-ghost-btn:hover,
.bv-ghost-btn:focus-visible{
  background: var(--bv-cream);
  color: var(--bv-moss);
  outline: none;
}
.bv-text-btn{
  border: none;
  color: var(--bv-olive-soft);
  padding: .25rem 0;
  letter-spacing: .12em;
}
.bv-text-btn:hover{ color: var(--bv-moss); }
.bv-shell-header .bv-shell-nav-btn{
  border: 0;
  background: transparent;
  color: var(--bv-cream);
  padding: .45rem .15rem;
  font-family: var(--bv-font-control);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  opacity: 1;
  text-decoration: none;
  transition: opacity .2s ease;
}
.bv-shell-header .bv-shell-nav-btn:hover,
.bv-shell-header .bv-shell-nav-btn:focus-visible{
  background: transparent;
  border: 0;
  color: var(--bv-cream);
  opacity: .72;
  text-decoration: none;
  outline: none;
}
.bv-shell-cart{
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 36px;
  margin: 0;
  padding: .4rem .85rem .4rem 1rem;
  border: 0;
  background: transparent;
  color: var(--bv-cream);
  font-family: var(--bv-font-control);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: none;
  cursor: pointer;
  transition: opacity .2s ease;
}
.bv-shell-cart:hover,
.bv-shell-cart:focus,
.bv-shell-cart:focus-visible{
  border: 0;
  background: transparent;
  color: var(--bv-cream);
  box-shadow: none;
  opacity: .85;
  outline: none;
}
.bv-shell-cart-count{
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 .25rem;
  border-radius: 999px;
  background: var(--bv-primary);
  color: var(--bv-cream);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.bv-shell-body{
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 400px);
  gap: 0;
  overflow: hidden;
}

/* ========== Canvas ========== */
.bv-canvas,
.buildview-image-section{
  position: relative;
  min-height: 0;
  overflow: auto;
  padding: 1.25rem 1.5rem;
  background: var(--bv-cream);
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.bv-canvas::after,
.buildview-image-section::after{ display: none; }

.bv-canvas-frame{
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  align-self: flex-start;
  flex: 0 0 auto;
  height: auto;
  background: var(--bv-paper);
  border: 1px solid var(--bv-line);
  box-shadow: var(--bv-shadow);
  padding: 1rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.bv-canvas-meta{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem 1.25rem;
  margin-bottom: .75rem;
  color: var(--bv-olive-soft);
}
.bv-canvas-meta-hint{
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-family: var(--bv-font);
  font-size: clamp(.72rem, 1.1vw, .82rem);
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: none;
  line-height: 1.35;
  color: var(--bv-olive-soft);
}
.bv-canvas-meta-view{
  flex: 0 0 auto;
  margin: 0 0 0 auto;
  text-align: right;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bv-olive-soft);
  white-space: nowrap;
}
@media (max-width: 899px){
  .bv-canvas-meta{
    flex-wrap: wrap;
  }
  .bv-canvas-meta-view{
    width: 100%;
    margin-left: 0;
  }
}
.bv-canvas-stage{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  background: var(--bv-cream-2);
  overflow: hidden;
}
.buildview-preview-image,
.buildview-overlay-image{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  transition: opacity .35s ease;
}
.buildview-preview-image,
.buildview-overlay-image{ z-index: 0; }
.buildview-overlay-image.show{ opacity: 1; }
.buildview-preview-image{
  opacity: 1;
  transition: opacity 180ms ease;
}
.buildview-preview-image.is-dimmed{
  opacity: 0.55;
}

/* ========== Config rail ========== */
.bv-rail,
.buildview-form-section{
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  align-self: stretch;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bv-paper);
  border-left: 1px solid var(--bv-line);
  border-bottom: 1px solid var(--bv-line);
  padding: 1.35rem 1.25rem calc(1.35rem + env(safe-area-inset-bottom, 0px));
  max-width: none;
  min-width: 0;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}
.bv-rail-kicker,
.bv-review-kicker,
.bv-splash-kicker{
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bv-sage-dk);
  font-weight: 700;
  margin: 0 0 .35rem;
}
.bv-rail-title,
.buildview-form-title{
  font-family: var(--bv-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--bv-moss);
  margin: 0 0 .5rem;
  padding: 0;
}
.bv-rail-base,
.buildview-base-price{
  font-size: .85rem;
  color: var(--bv-olive-soft);
  margin: 0 0 1rem;
}
.bv-rail-base strong{ color: var(--bv-ink); }
.bv-rail-toolbar{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
  min-height: 1.5rem;
}
.bv-rail-toolbar-cluster{
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem .65rem;
  min-width: 0;
}
.bv-clear-btn{
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: .35rem .7rem;
  border: 1px solid var(--bv-border, var(--bv-line, #d9d2c4));
  border-radius: 0;
  background: transparent;
  color: var(--bv-olive-soft, #6b6b64);
  font-family: var(--bv-font-control, var(--bv-font));
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.bv-clear-btn:hover,
.bv-clear-btn:focus-visible{
  border-color: var(--bv-moss, #4f5d3c);
  color: var(--bv-moss, #4f5d3c);
  background: var(--bv-cream, #f7f4ee);
  outline: none;
}
.bv-sel-count{
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bv-olive);
  font-weight: 700;
  white-space: nowrap;
}
.bv-rail-section-label,
.buildview-form-intro{
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bv-sage-dk);
  font-weight: 700;
  border: none;
  padding: 0;
  margin: 0 0 .85rem;
}
.bv-field{ margin-bottom: 1.15rem; }
.bv-field-label,
.buildview-field label{
  display: block;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bv-sage-dk);
  font-weight: 700;
  margin: 0 0 .55rem;
  text-align: left;
}

.bv-option-list,
.buildview-button-group{
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex-wrap: nowrap;
}

.bv-option-card,
.buildview-option-button{
  display: flex;
  align-items: center;
  gap: .65rem;
  width: 100%;
  margin: 0;
  padding: .7rem .8rem;
  border: 1px solid var(--bv-border);
  background: var(--bv-background);
  color: var(--bv-text);
  border-radius: var(--bv-radius-card);
  text-align: left;
  transition: border-color .15s, background .15s;
  box-sizing: border-box;
}
.bv-option-card:hover,
.buildview-option-button:hover{
  border-color: var(--bv-secondary);
  transform: none;
  background: var(--bv-background);
}
.bv-option-card.is-active,
.bv-option-card.active,
.buildview-option-button.active,
.buildview-option-button.is-active,
.bv-option-card:active,
.buildview-option-button:active{
  border-color: var(--bv-primary);
  background: var(--bv-background);
  transform: none;
  border-radius: var(--bv-radius-card);
}
.bv-shell-logo{
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 1;
  min-width: 0;
}
.bv-option-check{
  width: 17px;
  height: 17px;
  min-width: 17px;
  min-height: 17px;
  max-width: 17px;
  max-height: 17px;
  flex-shrink: 0;
  box-sizing: border-box;
  border: 1.5px solid var(--bv-secondary);
  border-radius: var(--bv-radius-control);
  display: grid;
  place-items: center;
  color: var(--bv-button-text);
  background: transparent;
  /* Geometry locked — state must never change size/radius */
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.bv-option-card.is-active .bv-option-check,
.bv-option-card.active .bv-option-check,
.buildview-option-button.active .bv-option-check,
.buildview-option-button.is-active .bv-option-check{
  background: var(--bv-primary);
  border-color: var(--bv-primary);
  border-radius: var(--bv-radius-control);
  width: 17px;
  height: 17px;
}
.bv-option-check svg{ opacity: 0; }
.bv-option-card.is-active .bv-option-check svg,
.bv-option-card.active .bv-option-check svg,
.buildview-option-button.active .bv-option-check svg{ opacity: 1; }
.bv-option-copy{ display: flex; flex-direction: column; gap: .1rem; min-width: 0; flex: 1; }
.bv-option-name{ font-size: .9rem; line-height: 1.35; }
.bv-option-price{ font-size: .75rem; color: var(--bv-olive); font-weight: 700; }

.bv-select,
.buildview-text-input{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: .55rem .7rem;
  border: 1px solid var(--bv-line);
  background: var(--bv-cream);
  color: var(--bv-ink);
  border-radius: 0;
}
.buildview-field-notice{
  margin: .35rem 0 0;
  padding: .6rem .75rem;
  background: var(--bv-cream-2);
  border-left: 3px solid var(--bv-sage);
  font-size: .9rem;
  color: var(--bv-olive);
}
.buildview-group-fields{ display: grid; gap: .75rem; }

.bv-rail-total,
.buildview-price{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 1.25rem 0 .85rem;
  padding-top: .85rem;
  border-top: 1px solid var(--bv-line);
  font-weight: 400;
}
.bv-rail-total-label{
  font-size: 10.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--bv-olive-soft);
  font-weight: 700;
}
.bv-rail-total-amt{
  font-family: var(--bv-font-display);
  font-size: 1.35rem;
  color: var(--bv-moss);
}

.bv-cta,
.submit-button,
.buildview-save-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  background: var(--bv-moss);
  color: var(--bv-cream);
  border: none;
  padding: .85rem 1.1rem;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 0;
  transition: background var(--bv-motion-normal) var(--bv-motion-ease),
              transform var(--bv-motion-press) var(--bv-motion-ease),
              opacity var(--bv-motion-fast) var(--bv-motion-ease);
  margin: 0;
}
.bv-cta:hover,
.submit-button:hover{ background: var(--bv-moss-dark); }
.bv-cta:active:not(:disabled),
.submit-button:active:not(:disabled),
.buildview-save-button:active:not(:disabled){
  transform: scale(.98);
}
.bv-cta:disabled,
.submit-button:disabled{ opacity: .55; cursor: not-allowed; }

.secondary-button{
  background: transparent;
  color: var(--bv-moss);
  border: 1px solid var(--bv-line);
  border-radius: 0;
  padding: .55rem .9rem;
  font-weight: 600;
  font-size: .85rem;
  box-shadow: none;
  margin: 0;
  transition: background .2s, border-color .2s;
}
.secondary-button:hover{
  background: var(--bv-accent-light);
  border-color: var(--bv-moss);
  color: var(--bv-moss);
  box-shadow: none;
}

.bv-rail-form{
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  min-width: 0;
}
.bv-rail-actions{ display: flex; flex-direction: column; align-items: stretch; margin-top: auto; }
.bv-rail-book{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: .45rem 0 0;
  padding: .7rem 1rem;
  border: 1px solid var(--bv-line);
  background: transparent;
  color: var(--bv-moss);
  font-family: var(--bv-font-control);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}
.bv-rail-book:hover,
.bv-rail-book:focus,
.bv-rail-book:focus-visible{
  border-color: var(--bv-moss);
  background: transparent;
  color: var(--bv-moss);
  outline: none;
}
.bv-rail-secondary{
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: .4rem;
  margin-top: .35rem;
}
.bv-rail-secondary-btn{
  flex: 1 1 0;
  min-width: 0;
  min-height: 36px;
  margin: 0;
  padding: .35rem .45rem;
  border: 0;
  background: transparent;
  color: var(--bv-olive-soft);
  font-family: var(--bv-font-control);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.2;
  text-transform: none;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.bv-rail-secondary-btn:hover,
.bv-rail-secondary-btn:focus,
.bv-rail-secondary-btn:focus-visible{
  background: transparent;
  border: 0;
  color: var(--bv-moss);
  text-decoration: underline;
  outline: none;
}

/* ========== Sticky footer ========== */
.bv-shell-footer{
  flex: 0 0 auto;
  min-height: var(--bv-footer-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem 1rem max(.65rem, env(safe-area-inset-bottom, 0px));
  background: var(--bv-paper);
  border-top: 1px solid var(--bv-line);
  z-index: 35;
}
.bv-footer-back{
  background: transparent;
  border: 1px solid var(--bv-line);
  color: var(--bv-moss);
  padding: .55rem .75rem;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}
.bv-footer-total{ display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.bv-footer-total-label{
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bv-olive-soft); font-weight: 700;
}
.bv-footer-total strong{
  font-family: var(--bv-font-display);
  font-size: 1.05rem;
  color: var(--bv-moss);
}
.bv-footer-cta{ width: auto; min-width: 8.5rem; padding: .7rem 1rem; }

/* ========== Splash ========== */
.bv-splash-modal{
  position: fixed; inset: 0;
  width: 100%; height: 100svh; height: 100dvh;
  background: var(--bv-background);
  z-index: 9999;
  transition: opacity .35s ease;
  overflow: auto;
}
.bv-splash-center{
  display: flex; align-items: flex-start; justify-content: center;
  width: 100%; height: auto;
  min-height: 100%;
  padding: clamp(1rem, 2.5vw, 2rem);
  box-sizing: border-box;
}
/* Splash discovery shell: no white card / border / shadow — sits on --bv-background */
.bv-splash-shell{
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 1rem clamp(1rem, 3vw, 2rem) 1.5rem;
  text-align: center;
  max-width: 1460px;
  width: min(1460px, 100%);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: auto;
  max-height: none;
  overflow: visible;
  box-sizing: border-box;
}
/* Review / other modals keep surface treatment (do not inherit splash shell rules) */
.bv-modal-content{
  background: var(--bv-paper);
  border: 1px solid var(--bv-line);
  box-shadow: var(--bv-shadow);
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
  max-width: 920px;
  width: min(960px, 100%);
  border-radius: 0;
}
.bv-splash-legacy-chrome{
  display: none !important;
}
.bv-welcome{
  font-family: var(--bv-font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--bv-moss);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.bv-splash-lede{
  color: var(--bv-olive);
  font-size: .95rem;
  max-width: 42ch;
  margin: 0 auto 1.25rem;
  line-height: 1.65;
}
.bv-splash-slideshow,
#bv-splash-slideshow{
  position: relative; width: 100%; aspect-ratio: 16/9;
  overflow: hidden; border: 1px solid var(--bv-line);
  margin: 0 0 1.25rem;
  background: var(--bv-cream-2);
}
#bv-splash-slideshow > img{
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: opacity .2s ease;
}

/* Coordinated collection content fade */
.bv-splash-stage{
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  min-height: 0;
  opacity: 1;
  transition: opacity var(--bv-motion-normal) var(--bv-motion-ease);
}
.bv-splash-stage.is-fading{
  opacity: 0;
  pointer-events: none;
}

/* Collection text navigation (Senita-inspired) */
.bv-collection-nav{
  margin: 0 0 1.35rem;
  flex: 0 0 auto;
}
.bv-collection-nav-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem 1.75rem;
}
.bv-collection-nav-item{ margin: 0; }
.bv-collection-nav-btn{
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: .35rem 0 .45rem;
  margin: 0;
  cursor: pointer;
  font-family: var(--bv-font-heading);
  font-size: clamp(.85rem, 1.4vw, 1rem);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bv-text-muted);
  transition: color .2s, border-color .2s;
}
.bv-collection-nav-btn:hover,
.bv-collection-nav-btn:focus-visible{
  color: var(--bv-primary);
  outline: none;
}
.bv-collection-nav-btn.is-selected{
  color: var(--bv-primary);
  border-bottom-color: var(--bv-primary);
}

/* Centered collection introduction */
.bv-collection-intro{
  width: min(820px, 100%);
  max-width: 820px;
  margin: 0 auto 1.25rem;
  padding: 0 .5rem;
  text-align: center;
  flex: 0 0 auto;
}
.bv-collection-intro-title{
  font-family: var(--bv-font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bv-primary);
  margin: 0 0 .5rem;
  text-transform: uppercase;
}
.bv-collection-intro-kicker{
  margin: 0 0 .75rem;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bv-text-muted);
}
.bv-collection-intro-copy{
  max-width: 820px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--bv-text);
}

/* How it works — upper discovery band (Senita-style, no card border) */
.bv-howto{
  text-align: left;
  margin: 0 auto 1.5rem;
  max-width: 100%;
  flex: 0 0 auto;
}
.bv-howto--discovery{
  border: none;
  box-shadow: none;
  background: var(--bv-surface-muted, var(--bv-cream-2, var(--bv-background)));
  padding: 1.35rem 1.75rem 1.5rem;
  border-radius: 0;
}
.bv-howto-toggle{
  display: none;
  appearance: none;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  text-align: left;
  font-family: var(--bv-font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bv-primary);
  line-height: 1.3;
}
.bv-howto-toggle:focus-visible{
  outline: 2px solid var(--bv-primary);
  outline-offset: 3px;
}
.bv-howto-toggle-label{
  flex: 1 1 auto;
  min-width: 0;
}
.bv-howto-chevron{
  flex: 0 0 auto;
  width: .55rem;
  height: .55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 200ms ease;
  margin-top: -.15rem;
}
.bv-howto.is-open .bv-howto-chevron{
  transform: rotate(225deg);
  margin-top: .15rem;
}
.bv-howto-panel{
  display: block;
}
.bv-howto-heading{
  font-family: var(--bv-font-heading);
  font-size: 1rem;
  margin: 0 0 .85rem;
  color: var(--bv-primary);
  text-align: center;
}
.bv-howto-steps{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 2rem;
}
.bv-howto-step{
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  min-width: 0;
}
.bv-howto-num{
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1;
  color: var(--bv-background);
  background: var(--bv-secondary);
  font-family: var(--bv-font-control);
}
.bv-howto-copy{
  min-width: 0;
  flex: 1 1 auto;
}
.bv-howto-title{
  display: block;
  font-size: .95rem;
  color: var(--bv-text);
  margin-bottom: .35rem;
  font-weight: 600;
  line-height: 1.3;
}
.bv-howto-desc{
  margin: 0;
  font-size: .85rem;
  line-height: 1.5;
  color: var(--bv-text-muted);
}

/* Preview: foundation plan above information tabs */
.bv-splash-preview{
  display: flex;
  flex-direction: column;
  gap: .85rem;
  text-align: left;
  margin: 0;
  padding: .85rem 0 0;
  border-top: 1px solid var(--bv-line);
  align-items: stretch;
  flex: 0 0 auto;
  min-height: 0;
  width: 100%;
}
.bv-splash-preview-media{
  position: relative;
  width: 100%;
  max-width: none;
  align-self: stretch;
  flex: 0 0 auto;
}
.bv-plan-thumb{
  display: block;
  width: 100%;
  max-width: 720px;
  padding: 0;
  margin-inline: auto;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: center;
  border-radius: 0;
  box-shadow: none;
}
.bv-plan-thumb img{
  width: 100%;
  height: auto;
  max-height: min(42vh, 480px);
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent;
}
/* Tabs and active panel follow the plan in document flow */
.bv-splash-preview-body{
  display: flex;
  flex-direction: column;
  width: min(820px, 100%);
  max-width: 820px;
  margin-inline: auto;
  min-width: 0;
  min-height: 0;
  height: auto;
  gap: 0;
}
.bv-splash-preview-price{
  margin: 0;
  padding: 0;
  font-size: .95rem;
  font-weight: 600;
  color: var(--bv-secondary);
  text-align: right;
  width: 100%;
  line-height: 1.35;
}
/* Follows the active panel. Mobile re-sticks this bar at the viewport bottom. */
.bv-splash-preview-actions{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .35rem;
  flex: 0 0 auto;
  width: min(820px, 100%);
  max-width: 820px;
  margin: .75rem auto 0;
  padding: .55rem 0 .15rem;
  border-top: 1px solid var(--bv-line);
  background: var(--bv-background);
  box-sizing: border-box;
  min-height: 0;
}
.bv-splash-preview-actions > .bv-splash-preview-price,
.bv-splash-preview-actions > .bv-splash-action-row{
  min-width: 0;
  width: 100%;
}
.bv-splash-action-row{
  display: flex;
  flex-wrap: nowrap;
  gap: .55rem;
  align-items: stretch;
  width: 100%;
}
/* Colibri's div::before/::after clearfix becomes extra flex items and leaves a strip under the buttons. */
.bv-splash-preview-actions::before,
.bv-splash-preview-actions::after,
.bv-splash-action-row::before,
.bv-splash-action-row::after{
  content: none;
  display: none;
}
.bv-splash-action-row .bv-splash-gallery-cta,
.bv-splash-action-row .bv-splash-build-cta{
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
  width: auto;
}
/* Secondary gallery CTA on light splash surface (not dark header chrome) */
.bv-splash-preview-actions .bv-ghost-btn,
.bv-splash-preview-actions .bv-splash-gallery-cta{
  background: transparent;
  border: 1px solid var(--bv-primary);
  color: var(--bv-primary);
  padding: .7rem 1rem;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--bv-font-control);
  cursor: pointer;
  border-radius: var(--bv-radius-control);
  transition: background var(--bv-motion-fast) var(--bv-motion-ease), color var(--bv-motion-fast) var(--bv-motion-ease), border-color var(--bv-motion-fast) var(--bv-motion-ease), transform var(--bv-motion-press) var(--bv-motion-ease);
}
.bv-splash-preview-actions .bv-ghost-btn:active,
.bv-splash-preview-actions .bv-splash-gallery-cta:active{
  transform: scale(.98);
}
.bv-splash-preview-actions .bv-ghost-btn:hover,
.bv-splash-preview-actions .bv-ghost-btn:focus-visible,
.bv-splash-preview-actions .bv-splash-gallery-cta:hover,
.bv-splash-preview-actions .bv-splash-gallery-cta:focus-visible{
  background: transparent;
  border-color: var(--bv-secondary);
  color: var(--bv-secondary);
  outline: none;
}
.bv-splash-build-cta{
  min-width: 0;
  justify-content: center;
}

/* Information panels stay in document flow; the splash modal scrolls */
.bv-info-panels{
  margin: 0;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow: visible;
}
.bv-info-tabs{
  display: flex;
  flex-wrap: nowrap;
  gap: .35rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: .35rem;
  margin-bottom: .75rem;
  scrollbar-width: thin;
  flex: 0 0 auto;
}
.bv-info-panel-body{
  flex: 0 0 auto;
  min-height: 0;
  min-width: 0;
  overflow: visible;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--bv-text);
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--bv-motion-tab) var(--bv-motion-ease),
              transform var(--bv-motion-tab) var(--bv-motion-ease);
}
.bv-info-panel-body.is-fading{
  opacity: 0;
  transform: translateY(var(--bv-motion-tab-y));
  pointer-events: none;
}
.bv-info-tab{
  flex: 0 0 auto;
  box-sizing: border-box;
  border: 1px solid var(--bv-border);
  background: transparent;
  color: var(--bv-text-muted);
  padding: .4rem .7rem;
  font-size: .8rem;
  font-family: var(--bv-font-control);
  cursor: pointer;
  /* Geometry locked across all states — radius from design system only */
  border-radius: var(--bv-radius-control);
  white-space: nowrap;
  line-height: 1.2;
  transition: background var(--bv-motion-normal) var(--bv-motion-ease),
              border-color var(--bv-motion-normal) var(--bv-motion-ease),
              color var(--bv-motion-normal) var(--bv-motion-ease),
              transform var(--bv-motion-press) var(--bv-motion-ease);
}
.bv-info-tab:active:not(:disabled){
  transform: scale(.98);
}
.bv-info-tab:hover,
.bv-info-tab:focus-visible{
  border-color: var(--bv-primary);
  color: var(--bv-primary);
  outline: none;
  /* no shape change */
  border-radius: var(--bv-radius-control);
}
.bv-info-tab.is-active{
  background: var(--bv-primary);
  border-color: var(--bv-primary);
  color: var(--bv-button-text);
  border-radius: var(--bv-radius-control);
}
.bv-info-tab:disabled{
  opacity: .45;
  cursor: not-allowed;
  border-radius: var(--bv-radius-control);
}
.bv-info-panel-image,
.bv-panel-media-btn img{
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  margin-top: .75rem;
  border: 1px solid var(--bv-border);
}
.bv-panel-media-btn,
.bv-mood-media{
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 0;
}
.bv-mood-media img{
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border: 1px solid var(--bv-border);
  margin-bottom: .85rem;
}
.bv-panel-heading{
  margin: 0 0 .75rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--bv-text);
}
.bv-info-panel-content{
  padding-top: 1rem;
}
.bv-info-panel-content > :first-child{
  margin-top: 0;
}
.bv-panel--rich,
.bv-panel--mood{
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.bv-panel--rich.bv-media-top .bv-panel-media-btn,
.bv-panel--mood.bv-media-top .bv-mood-media{
  order: -1;
}
.bv-panel--rich.bv-media-bottom .bv-panel-media-btn,
.bv-panel--mood.bv-media-bottom .bv-mood-media{
  order: 1;
}
.bv-included-list{
  --bv-list-cols: 2;
  --bv-list-rows: 5;
  display: grid;
  grid-template-columns: repeat(var(--bv-list-cols), minmax(0, max-content));
  grid-template-rows: repeat(var(--bv-list-rows), auto);
  grid-auto-flow: column;
  justify-content: start;
  column-gap: 1.25rem;
  row-gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bv-included-list li,
.bv-included-item{
  margin: 0;
  padding: 0;
  line-height: 1.4;
  list-style: none;
  min-width: 0;
  break-inside: avoid;
}
.bv-included-item,
.bv-included-item.has-icon{
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.bv-included-icon{
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: .1rem;
  color: var(--bv-secondary);
  display: inline-flex;
}
.bv-included-icon svg,
.bv-included-icon-svg{
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}
.bv-included-text{
  flex: 1 1 auto;
  min-width: 0;
  font-size: .9rem;
  color: var(--bv-text);
}
.bv-timeline{
  --bv-timeline-dot: .65rem;
  --bv-timeline-line-top: calc(var(--bv-timeline-dot) / 2);
  position: relative;
  display: flex;
  align-items: flex-start;
  list-style: none;
  margin: .5rem 0 0;
  padding: 0;
  gap: 0;
  width: 100%;
}
.bv-timeline::before{
  content: "";
  position: absolute;
  top: var(--bv-timeline-line-top);
  left: calc(var(--bv-timeline-dot) / 2);
  right: calc(var(--bv-timeline-dot) / 2);
  height: 1px;
  background: var(--bv-border);
  z-index: 0;
  pointer-events: none;
}
.bv-timeline-item{
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: 0 .4rem;
  min-width: 0;
}
.bv-timeline-item:first-child{
  padding-left: 0;
}
.bv-timeline-item:last-child{
  padding-right: 0;
}
.bv-timeline-dot{
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: var(--bv-timeline-dot);
  height: var(--bv-timeline-dot);
  margin: 0 0 .55rem;
  border-radius: 50%;
  background: var(--bv-primary);
  box-shadow: 0 0 0 3px var(--bv-surface);
}
.bv-timeline-copy{
  min-width: 0;
  width: 100%;
}
.bv-timeline-label{
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--bv-primary);
  margin: 0 0 .2rem;
  line-height: 1.25;
}
.bv-timeline-desc{
  margin: 0;
  font-size: .74rem;
  line-height: 1.35;
  color: var(--bv-text-muted);
}
/* Timeline: switch to existing multi-row grid before 7-step horizontal labels collide
   (WALKTHROUGH vs DAY 1). Measured: overlap risk by ~1140px viewport / ~736px timeline. */
@media (max-width: 1200px){
  .bv-panel--timeline{
    overflow: visible;
  }
  .bv-timeline{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(6.75rem, 1fr));
    gap: .85rem .65rem;
    min-width: 0;
  }
  .bv-timeline::before{
    display: none;
  }
  .bv-timeline-item{
    padding: 0;
  }
  .bv-timeline-dot{
    margin-bottom: .4rem;
  }
}
@media (max-width: 900px){
  .bv-timeline-label{
    font-size: .65rem;
  }
  .bv-timeline-desc{
    font-size: .68rem;
  }
}
@media (max-width: 720px){
  .bv-included-list{
    --bv-list-cols: 2;
    column-gap: .85rem;
  }
}
@media (max-width: 480px){
  .bv-included-list{
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
    grid-auto-flow: row;
  }
}

.bv-info-modal-cue{
  margin: .35rem 0 0;
}
.bv-info-modal-cue-btn{
  min-height: 44px;
}

/* Editorial catalog — open layout, no cards */
.bv-editorial{
  --bv-ed-ink: #45422b;
  --bv-ed-muted: #7a7c68;
  --bv-ed-heading-size: clamp(2.6rem, 5vw, 4rem);
  --bv-ed-subtitle-size: clamp(.78rem, 1.15vw, .95rem);
  --bv-ed-item-title-size: clamp(1rem, 1.25vw, 1.12rem);
  --bv-ed-item-desc-size: clamp(.84rem, 1.05vw, .95rem);
  color: var(--bv-ed-ink);
  text-align: center;
  max-width: 100%;
}
.bv-editorial[data-bv-ed-heading="sm"]{ --bv-ed-heading-size: clamp(1.85rem, 3.4vw, 2.45rem); }
.bv-editorial[data-bv-ed-heading="md"]{ --bv-ed-heading-size: clamp(2.15rem, 4vw, 3.05rem); }
.bv-editorial[data-bv-ed-heading="xl"]{ --bv-ed-heading-size: clamp(3rem, 6vw, 4.75rem); }
.bv-editorial[data-bv-ed-subtitle="sm"]{ --bv-ed-subtitle-size: clamp(.68rem, .95vw, .78rem); }
.bv-editorial[data-bv-ed-subtitle="lg"]{ --bv-ed-subtitle-size: clamp(.88rem, 1.35vw, 1.05rem); }
.bv-editorial[data-bv-ed-item-title="sm"]{ --bv-ed-item-title-size: clamp(.88rem, 1.1vw, .98rem); }
.bv-editorial[data-bv-ed-item-title="lg"]{ --bv-ed-item-title-size: clamp(1.08rem, 1.45vw, 1.28rem); }
.bv-editorial[data-bv-ed-item-desc="md"]{ --bv-ed-item-desc-size: clamp(.92rem, 1.2vw, 1.05rem); }
.bv-editorial-mast{
  width: 100%;
  max-width: 100%;
  margin: 0 0 clamp(2rem, 4vw, 3.25rem);
  text-align: center;
}
.bv-editorial[data-bv-ed-align="left"] .bv-editorial-mast{
  text-align: left;
}
.bv-editorial-heading{
  margin: 0;
  font-family: var(--bv-font-heading);
  font-size: var(--bv-ed-heading-size);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: .01em;
  color: var(--bv-ed-ink);
  overflow-wrap: anywhere;
}
.bv-editorial-subtitle{
  margin: clamp(.9rem, 1.8vw, 1.35rem) 0 0;
  font-family: var(--bv-font-body);
  font-size: var(--bv-ed-subtitle-size);
  font-weight: 500;
  letter-spacing: .28em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--bv-ed-muted);
  overflow-wrap: anywhere;
}
.bv-editorial-groups{
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  gap: 0;
}
.bv-editorial-group{
  flex: var(--bv-ed-weight, 1) 1 0;
  min-width: 0;
}
.bv-editorial-group + .bv-editorial-group{
  margin-left: clamp(1.75rem, 4vw, 3.5rem);
}
.bv-editorial-group-head{
  margin: 0 0 1.15rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid rgba(44, 42, 38, .2);
  text-align: left;
}
.bv-editorial-group-heading{
  margin: 0;
  font-family: var(--bv-font-heading);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
  color: #2c2a26;
}
.bv-editorial-eyebrow{
  margin: .4rem 0 0;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .22em;
  line-height: 1.4;
  text-align: left;
  text-transform: uppercase;
  color: #6e685f;
}
.bv-editorial-items{
  display: grid;
  gap: clamp(.85rem, 2vw, 1.35rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.bv-editorial-item{
  display: block;
  margin: 0;
  width: 100%;
  min-width: 0;
  list-style: none;
}
.bv-editorial-figure{
  display: block;
  position: relative;
  width: 100%;
  margin: 0;
  aspect-ratio: 5 / 8;
  overflow: hidden;
  background: #ebe4d8;
}
.bv-editorial[data-bv-ed-ratio="3-4"] .bv-editorial-figure{
  aspect-ratio: 3 / 4;
}
.bv-editorial[data-bv-ed-ratio="1-1"] .bv-editorial-figure{
  aspect-ratio: 1 / 1;
}
.bv-editorial-figure img{
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  max-height: none;
  object-fit: cover;
  object-position: center center;
}
.bv-editorial-item-title{
  margin: 11px 0 0;
  min-height: 0;
  font-family: var(--bv-font-heading);
  font-size: var(--bv-ed-item-title-size);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .02em;
  text-align: center;
  color: var(--bv-ed-ink);
  overflow-wrap: anywhere;
}
.bv-editorial-item-desc{
  margin: 5px 0 0;
  font-size: var(--bv-ed-item-desc-size);
  line-height: 1.45;
  letter-spacing: .01em;
  text-align: center;
  color: var(--bv-ed-muted);
  overflow-wrap: anywhere;
}
@media (max-width: 1023px){
  .bv-editorial-groups{
    flex-direction: column;
  }
  .bv-editorial-group{
    flex: 1 1 auto;
    width: 100%;
  }
  .bv-editorial-group + .bv-editorial-group{
    margin-left: 0;
    margin-top: clamp(1.75rem, 4vw, 3.5rem);
  }
}
@media (max-width: 359px){
  .bv-editorial-subtitle{
    letter-spacing: .12em;
  }
}

/* Information panel modal. Above the splash (9999); same band as the image viewer. */
.bv-info-modal{
  position: fixed;
  inset: 0;
  z-index: 100100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(.75rem, 2vw, 1.5rem);
  box-sizing: border-box;
}
.bv-info-modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(28, 24, 18, .46);
}
.bv-info-modal-frame{
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(94vw, 1480px);
  max-height: min(92vh, 92dvh);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  box-sizing: border-box;
  background: #f6f1e7;
  color: #2c2a26;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 4vw, 3.5rem) clamp(1.75rem, 4vw, 3.25rem);
}
.bv-info-modal-close{
  position: sticky;
  top: .35rem;
  align-self: flex-end;
  z-index: 2;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0 0 -2.25rem;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #2c2a26;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.bv-info-modal-close:hover,
.bv-info-modal-close:focus-visible{
  color: #1a1814;
  outline: 2px solid #2c2a26;
  outline-offset: 2px;
}
.bv-info-modal-body{
  min-width: 0;
}
@media (max-width: 767px), (max-height: 500px) and (max-width: 1023px){
  .bv-info-modal{
    padding: 0;
    align-items: stretch;
  }
  .bv-info-modal-frame{
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: 100dvh;
    min-height: 100dvh;
    padding-top: max(.75rem, env(safe-area-inset-top));
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }
  .bv-info-modal-close{
    top: max(.35rem, env(safe-area-inset-top));
    margin-bottom: -44px;
    box-sizing: border-box;
    border: 1px solid var(--bv-line);
    background: var(--bv-paper);
    color: var(--bv-text);
    border-radius: var(--bv-radius-control);
    box-shadow: none;
    transition: color var(--bv-motion-fast) var(--bv-motion-ease),
                border-color var(--bv-motion-fast) var(--bv-motion-ease),
                transform var(--bv-motion-press) var(--bv-motion-ease);
  }
  .bv-info-modal-close:hover,
  .bv-info-modal-close:focus-visible{
    border-color: var(--bv-primary);
    color: var(--bv-primary);
    outline: none;
  }
  .bv-info-modal-close:active{
    transform: scale(.98);
  }
}

/* Splash image viewer — generic lightbox + full-viewport plan mode */
.bv-image-viewer{
  position: fixed;
  inset: 0;
  z-index: 100100; /* above WP admin bar (100000) for true full-viewport ownership */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}
.bv-image-viewer-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  opacity: 1;
}
.bv-image-viewer-frame{
  position: relative;
  z-index: 1;
  max-width: min(1100px, 96vw);
  max-height: 92vh;
  background: var(--bv-paper);
  border: 1px solid var(--bv-line);
  box-shadow: var(--bv-shadow);
  padding: .5rem;
  opacity: 1;
  transform: translateY(0);
}
.bv-image-viewer-frame img{
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 1.5rem);
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}
.bv-image-viewer-close{
  position: absolute;
  top: .35rem;
  right: .35rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--bv-line);
  background: var(--bv-paper);
  color: var(--bv-text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--bv-radius-control);
  transition: color var(--bv-motion-fast) var(--bv-motion-ease),
              border-color var(--bv-motion-fast) var(--bv-motion-ease),
              transform var(--bv-motion-press) var(--bv-motion-ease);
}
.bv-image-viewer-close:hover,
.bv-image-viewer-close:focus-visible{
  border-color: var(--bv-primary);
  color: var(--bv-primary);
  outline: none;
}
.bv-image-viewer-close:active{
  transform: scale(.98);
}

/* Plan mode: owns the entire viewport (Gallery-language surface, not a floating card) */
.bv-image-viewer.is-plan-mode{
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
}
.bv-image-viewer.is-plan-mode .bv-image-viewer-backdrop{
  background: var(--bv-background);
}
.bv-image-viewer-frame.is-plan{
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  min-height: 100svh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  background: var(--bv-background);
  border: 0;
  box-shadow: none;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 0;
}
.bv-image-viewer-frame.is-plan .bv-image-viewer-media{
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.75rem, 4vw, 3.5rem) clamp(1rem, 3vw, 2.5rem) .85rem;
  box-sizing: border-box;
}
.bv-image-viewer-frame.is-plan img{
  max-width: 100%;
  max-height: min(72vh, 72dvh);
  width: auto;
  height: auto;
  object-fit: contain;
}
.bv-image-viewer-frame.is-plan .bv-image-viewer-close{
  position: fixed;
  top: max(.45rem, env(safe-area-inset-top, 0px));
  right: max(.45rem, env(safe-area-inset-right, 0px));
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--bv-text-muted);
  font-size: 1.75rem;
  box-shadow: none;
}
.bv-image-viewer-frame.is-plan .bv-image-viewer-close:hover,
.bv-image-viewer-frame.is-plan .bv-image-viewer-close:focus-visible{
  border: 0;
  color: var(--bv-primary);
  outline: 2px solid var(--bv-accent);
  outline-offset: 2px;
}
.bv-plan-preview{
  flex: 0 0 auto;
  padding: .85rem clamp(1rem, 2.5vw, 1.75rem) calc(1.05rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--bv-border);
  background: var(--bv-background);
}
.bv-plan-preview .bv-gallery-title{
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}
.bv-plan-preview .bv-gallery-price{
  padding-left: 0;
  border-left: 0;
  margin-top: .15rem;
}
.bv-plan-preview-bar{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .85rem 1.5rem;
  margin-top: .8rem;
}
.bv-plan-preview-price{
  min-width: 0;
}
.bv-plan-preview-build.bv-cta{
  width: auto;
  flex: 0 0 auto;
  margin: 0 0 0 auto;
  min-height: 44px;
}
.bv-plan-preview-build.bv-cta::after{
  content: "\2192";
}
@media (max-width: 899px){
  .bv-image-viewer-frame.is-plan img{
    max-height: min(58vh, 58dvh);
  }
  .bv-plan-preview-bar{
    flex-direction: column;
    align-items: stretch;
  }
  .bv-plan-preview-build.bv-cta{
    width: 100%;
    margin-left: 0;
  }
}

/* Legacy splash cards (unused; keep for back-compat embeds) */
.bv-splash-cards,
.bv-buttons{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.bv-splash-card{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  margin: 0;
  border: 1px solid var(--bv-line);
  background: var(--bv-cream);
  color: var(--bv-moss);
  overflow: hidden;
  cursor: pointer;
}
.bv-splash-card-media{
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bv-cream-2);
}
.bv-splash-card-media img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.bv-splash-card-label{
  display: block;
  padding: .65rem .5rem;
  font-weight: 600;
  font-size: .9rem;
}

@media (max-width: 980px){
  .bv-plan-thumb{
    max-width: 640px;
  }
  .bv-plan-thumb img{
    max-height: min(38vh, 420px);
  }
}

@media (max-width: 720px){
  /* Natural scroll on small screens — flex viewport-pin collapses tabs when howto is tall */
  .bv-splash-modal{
    overflow: auto;
  }
  .bv-splash-center{
    height: auto;
    min-height: 100%;
    align-items: flex-start;
    padding-bottom: 0;
  }
  .bv-splash-shell{
    height: auto;
    max-height: none;
    overflow: visible;
    padding-bottom: 0;
  }
  .bv-splash-stage{
    flex: 0 1 auto;
    overflow: visible;
  }
  .bv-splash-preview{
    grid-template-columns: 1fr;
    flex: 0 1 auto;
    min-height: 0;
  }
  .bv-splash-preview-media,
  .bv-plan-thumb{
    max-width: none;
    width: 100%;
  }
  .bv-plan-thumb img{
    max-height: 260px;
    object-fit: contain;
  }
  .bv-howto--discovery{
    padding: .85rem 1rem;
  }
  .bv-howto-toggle{
    display: flex;
  }
  .bv-howto-panel{
    display: none;
    padding-top: 1rem;
  }
  .bv-howto.is-open .bv-howto-panel{
    display: block;
  }
  .bv-howto-steps{
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .bv-collection-intro{
    margin-bottom: 1.25rem;
  }
  .bv-howto{
    margin-bottom: 1.25rem;
  }
  .bv-splash-preview-body{
    min-height: 0;
    height: auto;
  }
  .bv-info-panels{
    overflow: visible;
    flex: 0 1 auto;
    min-height: 12rem;
  }
  .bv-info-panel-body{
    overflow: visible;
    min-height: 0;
    flex: 0 1 auto;
  }
  .bv-splash-preview-actions{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: none;
    margin-top: .65rem;
    margin-bottom: 0;
    position: sticky;
    bottom: 0;
    z-index: 2;
    min-height: 0;
    padding: .45rem 0 calc(10px + env(safe-area-inset-bottom, 0px));
    gap: .3rem;
  }
  .bv-splash-preview-actions > .bv-splash-preview-price,
  .bv-splash-preview-actions > .bv-splash-action-row{
    grid-column: auto;
  }
  .bv-splash-preview-price{
    text-align: right;
  }
  .bv-splash-action-row{
    flex-wrap: nowrap;
    gap: .45rem;
  }
  .bv-splash-action-row .bv-splash-gallery-cta,
  .bv-splash-action-row .bv-splash-build-cta{
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    padding-left: .55rem;
    padding-right: .55rem;
  }
  .bv-splash-action-row .bv-splash-build-cta{
    flex-grow: 1.15;
  }
  .bv-collection-nav-list{
    gap: .25rem 1.1rem;
  }
}

@media (max-width: 480px){
  .bv-splash-preview-actions{
    min-height: 0;
  }
}

/* Short viewports (any width): allow scroll so tabs are never clipped */
@media (max-height: 700px){
  .bv-splash-modal{
    overflow: auto;
  }
  .bv-splash-center{
    height: auto;
    min-height: 100%;
    align-items: flex-start;
  }
  .bv-splash-shell{
    height: auto;
    max-height: none;
    overflow: visible;
  }
  .bv-splash-stage{
    flex: 0 1 auto;
    overflow: visible;
  }
  .bv-splash-preview{
    flex: 0 1 auto;
  }
  .bv-splash-preview-body{
    height: auto;
  }
  .bv-info-panels{
    overflow: visible;
    min-height: 12rem;
  }
  .bv-info-panel-body{
    overflow: visible;
    min-height: 0;
  }
  .bv-splash-preview-actions{
    margin-top: .65rem;
    min-height: 0;
  }
  /* Collapse howto on short screens too (even when width is desktop) */
  .bv-howto--discovery{
    padding: .85rem 1.25rem;
  }
  .bv-howto-toggle{
    display: flex;
  }
  .bv-howto-panel{
    display: none;
    padding-top: 1rem;
  }
  .bv-howto.is-open .bv-howto-panel{
    display: block;
  }
}

@media (max-width: 640px){
  .bv-splash-shell{ padding: 1rem .85rem 0; }
}

@media (prefers-reduced-motion: reduce){
  .bv-splash-stage{
    transition: none;
  }
}

/* Legacy .bv-btn in splash/gallery */
.bv-btn, .bv-icon-btn, .bv-chip, .bv-badge{
  cursor: pointer;
  border: 1px solid var(--bv-line);
  background: var(--bv-paper);
  color: var(--bv-moss);
  border-radius: 0;
  transition: background .2s, border-color .2s;
}
.bv-btn{
  padding:.55rem .9rem;
  min-height:44px;
  box-shadow:none;
  font-family:var(--bv-font-control);
}
.bv-btn:hover, .bv-chip:hover, .bv-chip.is-active, .bv-chip.active{
  background: var(--bv-accent-light);
  border-color: var(--bv-moss);
}

/* ========== Review ========== */
.buildview-summary-modal,
.buildview-overlay-menu{
  position: fixed; inset: 0; z-index: 9999;
  width: 100%; height: 100svh; height: 100dvh;
  background: transparent;
  display: flex; align-items: stretch; justify-content: flex-end;
}
.bv-review-backdrop,
.buildview-modal-overlay{
  position: absolute; inset: 0;
  background: rgba(51,47,30,.42);
}
.bv-review-panel,
.buildview-modal-content{
  position: relative;
  margin: 0;
  width: min(480px, 100%);
  max-width: 480px;
  height: 100%;
  max-height: 100%;
  background: var(--bv-surface);
  border-left: 1px solid var(--bv-border);
  box-shadow: var(--bv-shadow);
  padding: 1.25rem 1.25rem max(1.25rem, env(safe-area-inset-bottom, 0px));
  overflow: auto;
  display: flex;
  flex-direction: column;
  text-align: left;
  border-radius: 0;
}
.bv-review-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  position: relative;
  padding-right: 0;
}
.bv-review-head > div:first-child{
  flex: 1 1 auto;
  min-width: 0;
  padding-right: .5rem;
}
.bv-icon-close,
.bv-review-head .close-button,
.modal-actions .close-button{
  position: static;
  flex: 0 0 auto;
  align-self: flex-start;
  margin: 0;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--bv-border);
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  padding: 0;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--bv-text-muted);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  border-radius: var(--bv-radius-control);
}
.bv-icon-close:hover,
.bv-review-head .close-button:hover{
  color: var(--bv-primary);
  border-color: var(--bv-primary);
}
.bv-review-title{
  font-family: var(--bv-font-heading);
  font-size: 1.35rem;
  color: var(--bv-primary);
  margin: 0;
}
.bv-review-collection{
  margin: .25rem 0 0;
  color: var(--bv-text-muted);
  font-size: .9rem;
}
.bv-review-summary,
.buildview-summary-wrapper{
  display: block;
  padding: 0;
  margin: 0 0 1rem;
}
.buildview-summary-details,
.summary-details{
  padding: 1rem;
  background: var(--bv-cream);
  border: 1px solid var(--bv-line);
  box-shadow: none;
  border-radius: 0;
  max-width: none;
  width: 100%;
  margin: 0;
}
.bv-review-form-label{
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bv-sage-dk);
  margin: 0 0 .75rem;
}
.buildview-contact-form input{
  display: block; width: 100%;
  margin: .3rem 0 .9rem;
  padding: .55rem .65rem;
  border: 1px solid var(--bv-line);
  background: var(--bv-cream);
  border-radius: 0;
}
.disclaimer{
  font-size: .8rem;
  color: var(--bv-olive-soft);
  line-height: 1.5;
  margin: 0 0 1rem;
}
.bv-review-actions,
.bv-manage-actions{
  display: flex;
  flex-direction: column;
  gap: .55rem;
  position: static;
  margin-top: .25rem;
}
.bv-review-actions .bv-ghost-btn,
.bv-manage-actions .bv-ghost-btn{
  color: var(--bv-moss);
  border-color: var(--bv-line);
  width: 100%;
}
.bv-hp{
  position: absolute; left: -10000px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

/* Toast / misc */
.bv-enter{ transition: transform .2s ease, opacity .2s ease; }
.bv-enter-start{ opacity: 0; transform: translateX(12px); }
.bv-enter-end{ opacity: 1; transform: translateX(0); }
.bv-leave{ transition: transform .15s ease, opacity .15s ease; }
.bv-leave-start{ opacity: 1; transform: translateX(0); }
.bv-leave-end{ opacity: 0; transform: translateX(12px); }

.summary-title{
  display: block; width: 100%; background: var(--bv-moss); color: var(--bv-cream);
  padding: .4rem .65rem; font-size: .9rem;
}
.summary-options{
  margin-top: 1rem; font-size: .85rem; background: var(--bv-moss);
  padding: 1rem; color: var(--bv-cream);
}
.included-items, .summary-options ul{ padding-left: 1.25rem; }
.horizontal-list{
  display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0;
}
.horizontal-list li{
  background: var(--bv-accent-light); color: var(--bv-moss);
  padding: .35rem .65rem; font-size: .8rem; font-weight: 600;
}

/* Forms container */
.bv-forms-container{
  min-height: 100dvh;
}
.bv-form-instance{
  min-height: 100dvh;
}

/* ========== Breakpoints ========== */
@media (max-width: 1100px) and (min-width: 769px){
  .bv-shell-body{
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  }
  .bv-canvas{ padding: 1rem; }
}

/* Tablet portrait / compact: stack like mobile-progressive */
@media (max-width: 980px){
  .bv-shell{ max-height: none; height: auto; min-height: 100dvh; overflow: visible; }
  .bv-shell-body{
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: visible;
  }
  .bv-canvas{
    padding: .75rem .75rem 0;
    overflow: visible;
  }
  .bv-canvas-frame{ padding: .75rem; box-shadow: none; }
  .bv-canvas-stage{ aspect-ratio: 16 / 12; min-height: 220px; }
  .bv-rail{
    border-left: 0;
    border-top: 1px solid var(--bv-line);
    border-bottom: 1px solid var(--bv-line);
    max-height: none;
    padding-bottom: 1rem;
  }
}

@media (max-width: 640px){
  .bv-shell-header{ padding: 12px .85rem 0; gap: .5rem; }
  .bv-shell-nav{ gap: .75rem; }
  .bv-shell-brand-name{ font-size: .85rem; }
  .bv-shell-cart{ padding: .35rem .65rem .35rem .75rem; }
  .bv-splash-shell{ padding: 1.25rem 1rem 0; }
  .bv-splash-cards{ grid-template-columns: 1fr 1fr; }
  .bv-review-panel,
  .buildview-modal-content{
    width: 100%;
    max-width: none;
  }
  .buildview-summary-modal{
    align-items: flex-end;
  }
}

@media (orientation: landscape) and (max-width: 980px) and (min-width: 700px){
  .bv-shell-body{
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 340px);
    grid-template-rows: none;
  }
  .bv-rail{ border-top: 0; border-left: 1px solid var(--bv-line); border-bottom: 1px solid var(--bv-line); padding-bottom: 1rem; }
  .bv-shell{ max-height: 100dvh; overflow: hidden; }
  .bv-shell-body{ overflow: hidden; }
  .bv-canvas, .bv-rail{ overflow: auto; }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  .bv-motion-overlay-start,
  .bv-motion-overlay-end,
  .bv-motion-backdrop-start,
  .bv-motion-backdrop-end,
  .bv-motion-page-leave-start,
  .bv-motion-page-leave-end,
  .bv-motion-page-enter-start,
  .bv-motion-page-enter-end,
  .bv-info-panel-body.is-fading{
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Compat aliases used by older markup */
.bv-control-row{ display: flex; gap: .5rem; flex-wrap: wrap; }
.buildview-actions{ display: flex; gap: .75rem; margin: 0; }
.bv-btn-quiet{ opacity: .85; }

/* === Shared motion utilities (Alpine x-transition class names) === */
.bv-motion-overlay{
  transition-property: opacity, transform;
  transition-duration: var(--bv-motion-overlay);
  transition-timing-function: var(--bv-motion-ease);
}
.bv-motion-overlay-start{
  opacity: 0;
  transform: translateY(var(--bv-motion-overlay-y));
}
.bv-motion-overlay-end{
  opacity: 1;
  transform: translateY(0);
}
.bv-motion-backdrop{
  transition-property: opacity;
  transition-duration: var(--bv-motion-overlay);
  transition-timing-function: var(--bv-motion-ease);
}
.bv-motion-backdrop-start{ opacity: 0; }
.bv-motion-backdrop-end{ opacity: 1; }
.bv-motion-page{
  transition-property: opacity, transform;
  transition-duration: var(--bv-motion-page);
  transition-timing-function: var(--bv-motion-ease);
}
.bv-motion-page-leave-start,
.bv-motion-page-enter-end{
  opacity: 1;
  transform: translateX(0);
}
.bv-motion-page-leave-end{
  opacity: 0;
  transform: translateX(calc(var(--bv-motion-out, -1) * var(--bv-motion-distance)));
}
.bv-motion-page-enter-start{
  opacity: 0;
  transform: translateX(calc(var(--bv-motion-in, 1) * var(--bv-motion-distance)));
}

/* === Gallery Overlay (Full Screen) ===
   Must sit above .bv-splash-modal (z-index 9999) and WP admin bar when open.
   display:grid is also set inline on the markup so Alpine x-show restores the correct display value.
   z-index and stacking are intentional — do not lower this overlay. */
.bv-gallery-overlay{
  position:fixed; inset:0; z-index:100100;
  background:var(--bv-background);
  display:grid; place-items:stretch;
  padding:0;
  max-width:100%;
  overflow:hidden;
  color:var(--bv-text);
  font-family:var(--bv-font);
}
.bv-gallery-dialog{
  position:relative;
  width:100%;
  max-width:100%;
  height:100svh;
  height:100dvh;
  margin:0;
  border-radius:0;
  background:var(--bv-background);
  display:grid;
  grid-template-rows:auto minmax(0, 1fr) auto;
  overflow:hidden;
  min-width:0;
}

.bv-gallery-header{
  position:relative;
  z-index:3;
  display:flex;
  align-items:flex-start;
  justify-content:flex-end;
  gap:1rem 1.5rem;
  min-height:0;
  padding:max(.65rem, env(safe-area-inset-top, 0px)) clamp(1rem, 2.5vw, 1.75rem) .15rem;
  background:var(--bv-background);
  border:0;
  box-shadow:none;
}
.bv-gallery-heading{
  min-width:0;
  padding-top:.35rem;
}
.bv-gallery-title{
  margin:0;
  font-family:var(--bv-font-display);
  font-size:clamp(1.2rem, 2vw, 1.65rem);
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--bv-primary);
  line-height:1.15;
}
.bv-gallery-descriptor{
  margin:.4rem 0 0;
  font-family:var(--bv-font);
  font-size:clamp(.9rem, 1.2vw, 1rem);
  line-height:1.4;
  color:var(--bv-text-muted);
}
.bv-gallery-close{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:44px;
  height:44px;
  min-width:44px;
  min-height:44px;
  margin:0 0 0 auto;
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
  color:var(--bv-text-muted);
  font-family:var(--bv-font-control);
  font-size:1.75rem;
  font-weight:400;
  line-height:1;
  cursor:pointer;
}
.bv-gallery-close:hover,
.bv-gallery-close:focus-visible{
  color:var(--bv-primary);
  outline:2px solid var(--bv-accent);
  outline-offset:2px;
}
.bv-gallery-view-toggle{
  appearance:none;
  background:transparent;
  border:1px solid var(--bv-border);
  border-radius:var(--bv-radius-control);
  box-shadow:none;
  color:var(--bv-primary);
  font-family:var(--bv-font-control);
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  line-height:1.2;
  padding:.55rem 1rem;
  min-height:44px;
  cursor:pointer;
}
.bv-gallery-view-toggle:hover,
.bv-gallery-view-toggle:focus-visible{
  border-color:var(--bv-accent);
  color:var(--bv-accent);
  outline:none;
}
.bv-gallery-price-label{
  margin:0;
  font-family:var(--bv-font-control);
  font-size:10.5px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--bv-text-muted);
}
.bv-gallery-price{
  margin:0;
  font-family:var(--bv-font);
  font-size:.95rem;
  font-weight:600;
  color:var(--bv-secondary);
}
/* Gallery footer reuses .bv-plan-preview — no parallel footer system. */

.bv-gallery-filters{
  position:relative;
  z-index:2;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.75rem 1.25rem;
  padding:.9rem clamp(1rem, 2.5vw, 3.25rem) 1rem;
  background:var(--bv-background);
  border-bottom:1px solid var(--bv-border);
}
.bv-gallery-collection{
  margin:0;
  font-family:var(--bv-font-heading);
  font-size:clamp(.95rem, 1.4vw, 1.15rem);
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--bv-primary);
  line-height:1.3;
}
.bv-gallery-overlay .bv-chip-group{ display:flex; flex-wrap:wrap; gap:.5rem; }
.bv-gallery-overlay .bv-chip{
  appearance:none;
  padding:.4rem .75rem;
  min-height:36px;
  border:1px solid var(--bv-border);
  border-radius:var(--bv-radius-control);
  background:transparent;
  color:var(--bv-text-muted);
  font-family:var(--bv-font-control);
  font-size:.75rem;
  letter-spacing:.06em;
  cursor:pointer;
  box-shadow:none;
}
.bv-gallery-overlay .bv-chip.is-active,
.bv-gallery-overlay .bv-chip:hover,
.bv-gallery-overlay .bv-chip:focus-visible{
  background:var(--bv-selected);
  border-color:var(--bv-accent);
  color:var(--bv-primary);
  outline:none;
}

.bv-gallery-body{
  grid-row:2;
  min-height:0;
  min-width:0;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  padding:clamp(1rem, 2vw, 1.75rem) clamp(1rem, 2.5vw, 3.25rem) clamp(1.25rem, 3vw, 2.5rem);
  background:var(--bv-background);
}
.bv-gallery-grid{
  display:grid;
  grid-template-columns:minmax(0, 1fr);
  gap:clamp(.55rem, .8vw, .85rem);
  width:100%;
  min-width:0;
  align-items:start;
}
@media (min-width: 900px){
  .bv-gallery-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px){
  .bv-gallery-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1680px){
  .bv-gallery-grid{
    grid-template-columns:repeat(4, minmax(0, 1fr));
  }
}
.bv-gallery-grid > .bv-gallery-figure:only-of-type{
  grid-column:1 / -1;
  width:min(100%, 40rem);
  max-width:40rem;
  justify-self:center;
}
.bv-gallery-figure{
  margin:0;
  min-width:0;
  line-height:0;
  background:var(--bv-surface);
  border-radius:var(--bv-radius-card);
  overflow:hidden;
  box-shadow:none;
}
.bv-gallery-figure img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  aspect-ratio:3 / 2;
  object-fit:cover;
  border-radius:var(--bv-radius-card);
}

.bv-gallery-carousel{
  grid-row:3;
  min-height:0;
  min-width:0;
  overflow:hidden;
  padding:clamp(.75rem, 2vw, 1.5rem) clamp(1rem, 2.5vw, 3.25rem) clamp(1rem, 2vw, 1.5rem);
  background:var(--bv-background);
}
.bv-carousel-frame{
  position:relative;
  height:100%;
  min-height:0;
  display:grid;
  grid-template-rows:minmax(0, 1fr);
  place-items:center;
  overflow:hidden;
  padding-inline:clamp(2.75rem, 6vw, 4.5rem);
  box-sizing:border-box;
}
.bv-carousel-slide{
  width:100%;
  height:100%;
  min-height:0;
  min-width:0;
  display:grid;
  grid-template-rows:minmax(0, 1fr) auto;
  align-items:center;
  justify-items:center;
  overflow:hidden;
}
.bv-carousel-slide img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:0;
}
.bv-carousel-caption{
  margin-top:.65rem;
  max-height:28vh;
  max-width:100%;
  overflow:auto;
  display:grid;
  gap:.35rem;
  justify-items:center;
  background:transparent;
  color:var(--bv-text);
  text-align:center;
}
.bv-gallery-overlay .bv-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:44px;
  padding:0;
  border:1px solid var(--bv-border);
  border-radius:0;
  background:var(--bv-surface);
  color:var(--bv-primary);
  box-shadow:none;
  font-size:1.65rem;
  line-height:1;
  cursor:pointer;
}
.bv-gallery-overlay .bv-nav:hover,
.bv-gallery-overlay .bv-nav:focus-visible{
  border-color:var(--bv-accent);
  color:var(--bv-accent);
  outline:none;
}
.bv-gallery-overlay .bv-nav.left{ left:0; }
.bv-gallery-overlay .bv-nav.right{ right:0; }
.bv-gallery-overlay .bv-badge,
.bv-gallery-overlay .bv-tag{
  display:inline-block;
  padding:.12rem .45rem;
  background:var(--bv-selected);
  color:var(--bv-primary);
  font-size:.78rem;
  letter-spacing:.04em;
  border-radius:0;
}

@media (max-width: 899px){
  .bv-carousel-caption{ max-height:32vh; }
}

/* === Lightbox (standalone zoom) === */
.bv-lightbox{
  position:fixed; inset:0; z-index:100000;
  display:grid; place-items:center;
  touch-action:none;
}
.bv-lightbox-backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.6); }
.bv-lightbox-content{
  width:min(96vw, 1280px);
  height:min(96svh, 96dvh);
  background:#fff;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.22);
  overflow:hidden;
  position:relative;

  display:grid; grid-template-rows:1fr auto; /* media grows, caption fits */
}
.bv-lightbox-media,
.bv-lightbox-details{ min-height:0; } /* allow scrolling inside grid children */
.bv-lightbox-media{
  display:grid; place-items:center; padding:1rem; overflow:hidden;
}
.bv-lightbox-media img{
  max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; display:block; border-radius:0px;
}
.bv-lightbox-details{
  padding:.75rem 1rem max(1rem, env(safe-area-inset-bottom, 0px));
  overflow:auto; -webkit-overflow-scrolling:touch;
}
.bv-lightbox-close{
  position:absolute; right:.5rem; top:.5rem; z-index:2;
  border:none; background:#fff; border-radius:9999px; padding:.35rem .55rem; line-height:1;
  box-shadow:0 2px 8px rgba(0,0,0,.2); cursor:pointer;
}
/* Back-compat: in case markup places img directly in .bv-lightbox-content */
.bv-lightbox-content > img{
  max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; display:block;
}

/* === Add-ons, etc. === */
.buildview-actions{ display:flex; gap:12px; margin:24px 0; }
.bv-rail-actions.buildview-actions{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: auto 0 0;
}
.bv-rail-actions .bv-cta{
  display: flex;
  width: 100%;
}
.bv-cta-cart-icon{
  flex: 0 0 auto;
  display: block;
  width: 14px;
  height: 14px;
}
.bv-select:hover,
.bv-select:focus,
.bv-select:active,
.buildview-text-input:hover,
.buildview-text-input:focus{
  background: var(--bv-cream);
  color: var(--bv-ink);
}
.whats-included-toggle{
  font-size:13px; margin-left:8px; text-decoration:underline; background:none; border:none; color:#337; cursor:pointer;
}
.buildview-includes-box{ background:#f0fdf4; }
.horizontal-list{
  display:flex; flex-wrap:wrap; gap:.5rem; list-style:none; padding:0; margin:0;
}
.horizontal-list li{
  background:var(--bv-accent-light); color:var(--bv-accent);
  padding:.4rem .75rem; border-radius:0; font-size:.85rem; font-weight:500; white-space:nowrap;
}

.buildview-field-notice{
  margin:.5rem 0 0;
  padding:.6rem .75rem;
  background:#f7f7f7;
  border-left:3px solid #ccc;
  font-size:.9rem;
  color:#444;
}
.buildview-text-input{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  padding:.5rem .65rem;
  border:1px solid #ccc;
}
.buildview-group-fields{ display:grid; gap:.75rem; }
.buildview-group-field label{ display:block; font-weight:600; margin-bottom:.25rem; }

@media (max-width: 1024px){
  /* shell owns rail width — gallery grid uses auto-fit, not fixed columns */
}
@media (max-width: 640px){
  .bv-lightbox-content{
    width:96vw; height:min(96svh, 96dvh); border-radius:0px;
  }
  .bv-lightbox-media{ padding:.75rem; }
  .bv-lightbox-details{ padding:.5rem .75rem max(.75rem, env(safe-area-inset-bottom, 0px)); }
}

/* Overlay root (fills viewport, centers frame) */
.bv-lightbox-overlay {
  position: fixed; inset: 0;
  z-index: 9999;
  display: grid; place-items: center;
}

/* Backdrop only (darken the page, not the frame) */
.bv-lightbox-backdrop {
  position: absolute; inset: 0;
  background: #fff;
}

/* Frame (content box) */
.bv-lightbox-frame {
  position: relative;
  box-sizing: border-box;
  width: min(92vw, 1400px);
  max-height: min(92dvh, 92lvh);
  padding: 12px;
  background: #fff;
  border-radius: 0px;
  display: grid; grid-template-rows: 1fr auto; gap: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
}

/* Media area */
.bv-lightbox-media {
  display: grid; place-items: center;
  background: #fff; border-radius: 0px;
  overflow: hidden;
}
.bv-lightbox-media img,
.bv-lightbox-media video {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

/* Caption/actions row */
.bv-lightbox-meta {
  display: flex; justify-content: space-between; align-items: center;
  color: #fff; font-size: 14px; gap: 12px;
}
.bv-lightbox-close {
  border: 0; background: rgba(255,255,255,.08);
  padding: 8px 12px; border-radius: 0px; cursor: pointer;
}

html.bv-no-scroll, body.bv-no-scroll {
  overflow: hidden !important;
  height: 100dvh;
}

/* (optional) extra safety on iOS to stop rubber-banding */
#buildview-app { 
  overscroll-behavior: none;
  -webkit-overflow-scrolling: auto;
}

@media (max-width: 768px) {
  /* Intentionally empty — shell owns form-section layout (1.1.0). */
}
.bv-control-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;               /* one line on wider screens */
}

.bv-control-row .secondary-button {
  flex: 0 0 auto;                  /* keep natural button width */
  white-space: nowrap;             /* keep label on one line */
}

/* Stack + full width on small screens */
@media (max-width: 640px) {
  .bv-control-row { flex-wrap: wrap; }
  .bv-control-row .secondary-button {
    flex: 1 1 100%;
    width: 100%;
    white-space: normal;           /* allow wrapping inside label if needed */
    margin-bottom: 0.5rem;         /* optional spacing between stacked buttons */
  }
  .bv-control-row .secondary-button:last-child { margin-bottom: 0; }
}


/* === Book a Visit overlay (embeds Vexal Scheduler) === */
.bv-visit-overlay{
  position:fixed;
  inset:0;
  z-index:100110;
  display:grid;
  place-items:center;
  padding:max(.75rem, env(safe-area-inset-top, 0px)) clamp(.75rem, 3vw, 1.5rem) max(.75rem, env(safe-area-inset-bottom, 0px));
  box-sizing:border-box;
}
.bv-visit-backdrop{
  position:absolute;
  inset:0;
  background:rgba(28, 32, 28, .42);
}
.bv-visit-panel{
  position:relative;
  z-index:1;
  width:min(100%, 40rem);
  max-height:min(92dvh, 92vh);
  overflow:auto;
  overscroll-behavior:contain;
  background:var(--bv-background, var(--bv-cream, #f7f4ee));
  color:var(--bv-text, var(--bv-ink, #2a2a28));
  border:1px solid var(--bv-border, var(--bv-line, #d9d2c4));
  box-shadow:var(--bv-shadow, 0 18px 48px rgba(0,0,0,.18));
  padding:1.15rem clamp(1rem, 3vw, 1.75rem) 1.35rem;
  min-width:0;
}
.bv-visit-close{
  appearance:none;
  position:absolute;
  top:.55rem;
  right:.55rem;
  width:44px;
  height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  background:transparent;
  color:var(--bv-text-muted, #6b6b64);
  font-size:1.75rem;
  line-height:1;
  cursor:pointer;
}
.bv-visit-close:hover,
.bv-visit-close:focus-visible{
  color:var(--bv-primary, var(--bv-ink, #2a2a28));
  outline:2px solid var(--bv-accent, #8a9a6b);
  outline-offset:2px;
}
.bv-visit-head{
  padding-right:2.5rem;
  margin-bottom:1.15rem;
}
.bv-visit-title{
  margin:0;
  font-family:var(--bv-font-display, var(--bv-font));
  font-size:clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--bv-primary, var(--bv-ink, #2a2a28));
  line-height:1.2;
}
.bv-visit-intro{
  margin:.65rem 0 0;
  font-family:var(--bv-font);
  font-size:.92rem;
  line-height:1.5;
  color:var(--bv-text-muted, #6b6b64);
  max-width:36rem;
}
.bv-visit-scheduler{
  min-width:0;
}
.bv-visit-footnote{
  margin:1.1rem 0 0;
  font-size:.78rem;
  line-height:1.45;
  color:var(--bv-text-muted, #6b6b64);
}
.bv-visit-unavailable{
  margin:0;
  font-size:.95rem;
  line-height:1.45;
  color:var(--bv-text, var(--bv-ink, #2a2a28));
}
.bv-visit-external{
  color:var(--bv-moss, #4f5d3c);
  font-weight:600;
}

/* Theme embedded scheduler toward BuildView / screenshot feel (scoped) */
.bv-visit-overlay .nad-appointment-widget{
  max-width:none;
  margin:0;
  font-family:var(--bv-font);
  color:var(--bv-text, var(--bv-ink, #2a2a28));
}
.bv-visit-overlay .nad-appointment-form-wrapper{
  padding:0;
}
.bv-visit-overlay .nad-appointment-form,
.bv-visit-overlay .nad-step-date,
.bv-visit-overlay .nad-step-time,
.bv-visit-overlay .nad-step-form,
.bv-visit-overlay .nad-step-success{
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding:0 !important;
  margin:0 !important;
  color:inherit !important;
}
.bv-visit-overlay .nad-form-title{
  display:none;
}
.bv-visit-overlay .nad-form-row{
  margin:0 0 1rem;
}
.bv-visit-overlay .nad-form-row label,
.bv-visit-overlay .nad-field-block label{
  display:block;
  margin:0 0 .4rem;
  font-family:var(--bv-font-control, var(--bv-font));
  font-size:10.5px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--bv-text-muted, #6b6b64) !important;
}
.bv-visit-overlay .nad-form-control,
.bv-visit-overlay input.nad-form-control,
.bv-visit-overlay select.nad-form-control,
.bv-visit-overlay textarea.nad-form-control{
  width:100%;
  box-sizing:border-box;
  min-height:44px;
  padding:.65rem .8rem;
  border:1px solid var(--bv-border, var(--bv-line, #d9d2c4)) !important;
  border-radius:0 !important;
  background:var(--bv-paper, #fff) !important;
  color:var(--bv-text, var(--bv-ink, #2a2a28)) !important;
  font-family:var(--bv-font);
  font-size:.95rem;
}
.bv-visit-overlay .nad-time-slots{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin-top:.35rem;
}
.bv-visit-overlay .nad-time-slot{
  min-height:44px;
  padding:.55rem .85rem;
  border:1px solid var(--bv-border, var(--bv-line, #d9d2c4)) !important;
  border-radius:0 !important;
  background:var(--bv-paper, #fff) !important;
  color:var(--bv-text, var(--bv-ink, #2a2a28)) !important;
  font-family:var(--bv-font-control, var(--bv-font));
  font-size:.82rem;
  font-weight:600;
  letter-spacing:.04em;
}
.bv-visit-overlay .nad-time-slot:hover,
.bv-visit-overlay .nad-time-slot:focus-visible{
  border-color:var(--bv-accent, #8a9a6b) !important;
  background:var(--bv-cream, #f7f4ee) !important;
  outline:none;
}
.bv-visit-overlay .nad-time-slot.is-selected{
  background:var(--bv-moss, #4f5d3c) !important;
  border-color:var(--bv-moss, #4f5d3c) !important;
  color:var(--bv-cream, #f7f4ee) !important;
}
.bv-visit-overlay .nad-back-button{
  border:1px solid var(--bv-border, var(--bv-line, #d9d2c4));
  border-radius:0;
  color:var(--bv-text-muted, #6b6b64);
  background:transparent;
  min-height:40px;
}
.bv-visit-overlay .nad-submit-button{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:48px;
  margin-top:.35rem;
  padding:.85rem 1.1rem;
  border:0 !important;
  border-radius:0 !important;
  background:var(--bv-moss, #4f5d3c) !important;
  color:var(--bv-cream, #f7f4ee) !important;
  font-family:var(--bv-font-control, var(--bv-font));
  font-size:11px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  cursor:pointer;
}
.bv-visit-overlay .nad-submit-button:hover{
  background:var(--bv-moss-dark, #3e4a30) !important;
}
.bv-visit-overlay .nad-submit-button:disabled{
  opacity:.55;
  cursor:not-allowed;
}
.bv-visit-overlay .nad-error{
  color:#8a3b2d;
  font-size:.85rem;
}
.bv-visit-overlay .nad-success-message h3{
  font-family:var(--bv-font-display, var(--bv-font));
  color:var(--bv-primary, var(--bv-ink, #2a2a28));
}
@media (max-width: 899px){
  .bv-visit-panel{
    width:100%;
    max-height:min(96dvh, 96vh);
  }
}

/* === Shared Builder secondary overlay shell (Review / What's Included / Cart) === */
.bv-builder-overlay{
  --bv-review-money-cols: minmax(0, 1fr) auto auto;
  position:fixed;
  inset:0;
  z-index:100110;
  display:grid;
  place-items:center;
  padding:max(.75rem, env(safe-area-inset-top, 0px)) clamp(.75rem, 3vw, 1.5rem) max(.75rem, env(safe-area-inset-bottom, 0px));
  box-sizing:border-box;
}
.bv-builder-overlay-backdrop{
  position:absolute;
  inset:0;
  background:rgba(28, 32, 28, .42);
}
.bv-builder-overlay-panel{
  position:relative;
  z-index:1;
  width:min(100%, 52rem);
  max-height:min(92dvh, 92vh);
  overflow:auto;
  overscroll-behavior:contain;
  background:var(--bv-background, var(--bv-cream, #f7f4ee));
  color:var(--bv-text, var(--bv-ink, #2a2a28));
  border:1px solid var(--bv-border, var(--bv-line, #d9d2c4));
  box-shadow:var(--bv-shadow, 0 18px 48px rgba(0,0,0,.18));
  padding:1.15rem clamp(1rem, 3vw, 1.85rem) 1.35rem;
  min-width:0;
}
.bv-builder-overlay-head{
  display:flex;
  align-items:flex-start;
  gap:1rem;
  margin-bottom:1.15rem;
  padding-bottom:.85rem;
  padding-right:calc(44px + 14px + .5rem - clamp(1rem, 3vw, 1.85rem));
  border-bottom:1px solid var(--bv-border, var(--bv-line, #d9d2c4));
}
.bv-builder-overlay-head-copy{
  flex:1 1 auto;
  min-width:0;
}
.bv-builder-overlay-title{
  margin:0;
  font-family:var(--bv-font-display, var(--bv-font));
  font-size:clamp(1.1rem, 2vw, 1.35rem);
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--bv-primary, var(--bv-ink, #2a2a28));
  line-height:1.2;
}
.bv-builder-overlay-intro{
  margin:.45rem 0 0;
  font-size:.9rem;
  line-height:1.45;
  color:var(--bv-text-muted, #6b6b64);
  max-width:36rem;
}
.bv-builder-overlay-close{
  appearance:none;
  position:absolute;
  top:1.15rem;
  right:14px;
  z-index:2;
  margin:0;
  width:44px;
  height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  background:transparent;
  color:var(--bv-text-muted, #6b6b64);
  font-size:1.75rem;
  line-height:1;
  cursor:pointer;
}
.bv-builder-overlay-close:hover,
.bv-builder-overlay-close:focus-visible{
  color:var(--bv-primary, var(--bv-ink, #2a2a28));
  outline:2px solid var(--bv-accent, #8a9a6b);
  outline-offset:2px;
}
.bv-selections-collection,
.bv-selections-addons,
.bv-selections-totals{
  margin:0 0 1.15rem;
  padding:0 0 1.05rem;
  border-bottom:1px solid var(--bv-border, var(--bv-line, #d9d2c4));
}
.bv-selections-collection-title{
  margin:0;
  font-family:var(--bv-font-display, var(--bv-font));
  font-size:clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--bv-primary, var(--bv-ink, #2a2a28));
}
.bv-selections-collection-desc{
  margin:.35rem 0 0;
  font-size:.95rem;
  color:var(--bv-text-muted, #6b6b64);
}
.bv-selections-foundation{
  margin-top:.85rem;
}
.bv-selections-label,
.bv-selections-section-label{
  margin:0;
  font-family:var(--bv-font-control, var(--bv-font));
  font-size:10.5px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--bv-text-muted, #6b6b64);
}
.bv-selections-section-label{
  margin:0 0 .7rem;
}
.bv-selections-foundation-price{
  margin:.2rem 0 0;
  font-family:var(--bv-font);
  font-size:1.05rem;
  font-weight:600;
  color:var(--bv-secondary, var(--bv-moss, #4f5d3c));
}
.bv-selections-addon-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:.45rem;
}
.bv-selections-addon-row,
.bv-selections-total-row{
  display:grid;
  grid-template-columns:var(--bv-review-money-cols, minmax(0, 1fr) auto auto);
  align-items:center;
  gap:.65rem 1rem;
  font-size:.95rem;
}
.bv-selections-addon-row{
  padding:.45rem 0;
  border-bottom:1px solid rgba(0,0,0,.06);
}
.bv-selections-addon-row:last-child{
  border-bottom:0;
}
.bv-selections-addon-name,
.bv-selections-total-label{
  min-width:0;
  color:var(--bv-text, var(--bv-ink, #2a2a28));
}
.bv-selections-addon-price,
.bv-selections-total-price{
  font-size:.92rem;
  font-weight:600;
  color:var(--bv-secondary, var(--bv-moss, #4f5d3c));
  white-space:nowrap;
  justify-self:end;
}
.bv-selections-addon-remove,
.bv-selections-total-spacer{
  font-family:var(--bv-font-control, var(--bv-font));
  font-size:10px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  padding:.2rem 0;
  white-space:nowrap;
}
.bv-selections-addon-remove{
  appearance:none;
  border:0;
  background:transparent;
  color:var(--bv-text-muted, #6b6b64);
  cursor:pointer;
  text-decoration:underline;
  text-underline-offset:2px;
}
.bv-selections-addon-remove:hover,
.bv-selections-addon-remove:focus-visible{
  color:var(--bv-moss, #4f5d3c);
  outline:none;
}
.bv-selections-total-spacer{
  visibility:hidden;
  pointer-events:none;
  user-select:none;
}
.bv-selections-empty{
  margin:0 0 1rem;
  font-size:.92rem;
  color:var(--bv-text-muted, #6b6b64);
}
.bv-selections-total-row{
  margin:0 0 .45rem;
  padding:0;
}
.bv-selections-total-row--grand{
  margin-top:.75rem;
  padding-top:.75rem;
  border-top:1px solid var(--bv-border, var(--bv-line, #d9d2c4));
  font-family:var(--bv-font-display, var(--bv-font));
  font-size:1.05rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.bv-selections-total-row--grand .bv-selections-total-price{
  font-size:inherit;
  font-weight:700;
}
.bv-selections-actions{
  display:flex;
  flex-direction:column;
  gap:.55rem;
}
.bv-selections-actions .bv-ghost-btn,
.bv-selections-actions .bv-cta{
  width:100%;
}
.bv-selections-actions .bv-ghost-btn{
  color:var(--bv-moss, #4f5d3c);
  border-color:var(--bv-border, var(--bv-line, #d9d2c4));
  background:transparent;
}
.bv-selections-cart.bv-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
}
.bv-included-overlay-list{
  list-style:none;
  margin:0 0 1.15rem;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:0;
}
.bv-included-overlay-item{
  margin:0;
  padding:.7rem 0;
  border-bottom:1px solid rgba(0,0,0,.06);
  font-size:.95rem;
  line-height:1.45;
  color:var(--bv-text, var(--bv-ink, #2a2a28));
  display:flex;
  align-items:flex-start;
  gap:.75rem;
  min-width:0;
}
.bv-included-overlay-item:last-child{
  border-bottom:0;
}
.bv-included-overlay-item .bv-included-icon{
  flex:0 0 auto;
  width:1.25rem;
  height:1.25rem;
  margin-top:.1rem;
  color:var(--bv-secondary, var(--bv-moss, #4f5d3c));
}
.bv-included-overlay-item .bv-included-icon svg,
.bv-included-overlay-item .bv-included-icon-svg{
  width:1.25rem;
  height:1.25rem;
  display:block;
}
.bv-included-overlay-text{
  min-width:0;
  flex:1 1 auto;
}
.bv-consultation-success{
  padding:.35rem 0 0;
}
.bv-consultation-success-lead{
  margin:0 0 .75rem;
  font-size:1.05rem;
  font-weight:600;
  color:var(--bv-text, var(--bv-ink, #2a2a28));
  line-height:1.4;
}
.bv-consultation-success-copy{
  margin:0 0 1rem;
  font-size:.95rem;
  line-height:1.5;
  color:var(--bv-text-muted, #6b6b64);
  max-width:36rem;
}
.bv-consultation-success-email{
  margin:0 0 1.25rem;
  font-size:.9rem;
  line-height:1.45;
  color:var(--bv-text-muted, #6b6b64);
}
.bv-consultation-success-email strong{
  display:inline;
  color:var(--bv-text, var(--bv-ink, #2a2a28));
  font-weight:600;
}
.bv-consultation-error{
  margin:0 0 .85rem;
  padding:.55rem .7rem;
  border:1px solid #c9a4a4;
  background:#f8ecec;
  color:#7a2e2e;
  font-size:.88rem;
  line-height:1.4;
}
.bv-cart-form{
  margin-top:.25rem;
}
.bv-cart-form label{
  display:block;
  font-size:.9rem;
  margin:0 0 .15rem;
}
@media (max-width: 899px){
  .bv-builder-overlay-panel{
    width:100%;
    max-height:min(96dvh, 96vh);
  }
  .bv-selections-addon-row{
    grid-template-columns:minmax(0, 1fr) auto;
    grid-template-areas:
      "name price"
      "remove remove";
  }
  .bv-selections-addon-name{ grid-area:name; }
  .bv-selections-addon-price{ grid-area:price; }
  .bv-selections-addon-remove{
    grid-area:remove;
    justify-self:start;
  }
  .bv-selections-total-spacer{
    display:none;
  }
  .bv-selections-total-row{
    grid-template-columns:minmax(0, 1fr) auto;
  }
}
