:root {
  --bm-ink: #0f172a;
  --bm-muted: #475569;
  --bm-bg: #f8fafc;
  --bm-card: #ffffff;
  --bm-accent: #0f766e;
  --bm-accent-2: #14b8a6;
  --bm-line: #e2e8f0;
  --bm-radius: 16px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.bm {
  margin: 0;
  font-family: var(--font);
  color: var(--bm-ink);
  background: var(--bm-bg);
  line-height: 1.6;
  font-display: swap;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bm-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.bm-wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.bm-header {
  background: var(--bm-ink);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
}
.bm-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.bm-logo { color: #fff; font-weight: 700; font-size: 1.25rem; letter-spacing: 0.02em; text-decoration: none; }
.bm-logo span { font-weight: 400; margin-left: 0.35rem; opacity: 0.8; font-size: 0.9rem; }
.bm-nav { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.bm-nav a { color: #e2e8f0; font-size: 0.95rem; text-decoration: none; }
.bm-nav a:hover, .bm-cta { color: #fff; }
.bm-cta {
  display: inline-block;
  background: var(--bm-accent);
  color: #fff !important;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none !important;
  border: 0;
  cursor: pointer;
}
.bm-cta:hover { background: #0d9488; }
.bm-nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.4rem; }
.bm-cart-count {
  background: var(--bm-accent-2);
  color: #0f172a;
  border-radius: 999px;
  padding: 0.05rem 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.bm-main { min-height: 60vh; padding-bottom: 3rem; }
.bm-hero { padding: 2.25rem 0 1.5rem; background: linear-gradient(160deg, #0f172a, #134e4a); color: #fff; position: relative; overflow: hidden; }
.bm-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; margin: 0 0 1rem; max-width: 16ch; }
.bm-lead { font-size: 1.15rem; max-width: 42rem; opacity: 0.92; }
.bm-hero-image { padding: 0; min-height: 140px; }
.bm-hero-image img { width: 100%; height: 18vw; max-height: 270px; min-height: 140px; object-fit: cover; object-position: center; }
.bm-hero-home { min-height: 196px; }
.bm-hero-home img { height: 25.2vw; max-height: 378px; min-height: 196px; }
.bm-hero-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0.9rem 1.5rem; background: linear-gradient(90deg, rgba(15,23,42,.75), rgba(15,23,42,.2)); }
.bm-hero-image:not(.bm-hero-home) h1 { font-size: clamp(1.25rem, 2.8vw, 1.85rem); margin-bottom: 0.35rem; }
.bm-hero-image:not(.bm-hero-home) p { margin: 0; font-size: 0.95rem; }
.bm-hero-home .bm-hero-overlay { padding: 1.4rem 2rem; }
.bm-hero-overlay .bm-cta { margin-top: 0.7rem; align-self: flex-start; }
.bm-hero-image:not(.bm-hero-home) .bm-cta { padding: 0.5rem 0.95rem; font-size: 0.92rem; }
.bm-prose { padding: 2rem 0; overflow-x: hidden; max-width: 100%; }
.bm-prose .bm-embed { margin: 1rem 0; }
.bm-prose iframe, .bm-prose video {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}
.bm-prose h2 { font-size: 1.8rem; }
.bm-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.bm-card { background: var(--bm-card); border: 1px solid var(--bm-line); border-radius: var(--bm-radius); padding: 1.25rem; box-shadow: 0 8px 24px rgba(15,23,42,.04); }
.bm-card h3 { margin-top: 0.5rem; }
.bm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; padding: 2rem 0; }
.bm-split img { width: 100%; height: auto; object-fit: contain; border-radius: var(--bm-radius); }
.bm-image-block { padding: 1rem 0 2rem; }
.bm-image-block img { margin: 0 auto; max-width: 720px; }
.bm-footer { background: #0b1220; color: #cbd5e1; padding: 2.5rem 0 1.5rem; }
.bm-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.bm-footer a { color: #99f6e4; }
.bm-legal { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; font-size: 0.85rem; }
.bm-form { display: grid; gap: 0.75rem; max-width: 32rem; }
.bm-form input, .bm-form textarea, .bm-form select {
  width: 100%; padding: 0.7rem 0.8rem; border: 1px solid var(--bm-line); border-radius: 10px; font: inherit;
}
.bm-brand-mode { border: 1px solid var(--bm-line); border-radius: 10px; padding: 0.65rem 0.85rem; margin: 0; }
.bm-brand-mode legend { font-weight: 650; padding: 0 0.35rem; }
.bm-radio { display: flex; align-items: center; gap: 0.45rem; font-weight: 500; margin: 0.25rem 0; }
.bm-radio input { width: auto; margin: 0; }
.bm-success { background: #d1fae5; color: #065f46; padding: 1rem; border-radius: 10px; }
.bm-faq { background: #fff; border: 1px solid var(--bm-line); border-radius: 12px; padding: 0.8rem 1rem; margin: 0.5rem 0; }
.bm-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; padding: 2rem 0; }
.bm-price { font-size: 1.4rem; font-weight: 700; color: var(--bm-accent); margin: 0; line-height: 1.25; }
.bm-price-block { margin: 0 0 0.85rem; }
.bm-next-price { margin: 0.2rem 0 0; font-size: 0.98rem; color: var(--bm-ink); font-weight: 700; line-height: 1.35; }
.bm-logo-min {
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 12px;
  padding: 0.85rem 1rem;
}
.bm-logo-min p { margin: 0 0 0.75rem; }
.bm-cta-secondary {
  background: #fff;
  color: var(--bm-accent) !important;
  border: 2px solid var(--bm-accent);
}
.bm-cta-secondary:hover { background: #f0fdfa; }
.bm-buy-col { min-width: 0; }
.bm-sticky-buy {
  position: sticky; top: 72px; z-index: 8;
  height: 0; overflow: visible; margin: 0; padding: 0;
  background: transparent; border: 0; box-shadow: none;
}
.bm-sticky-buy-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.08rem;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--bm-line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15,23,42,.08);
  backdrop-filter: blur(8px);
  padding: 0.55rem 0.7rem;
}
.bm-sticky-buy-copy {
  min-width: 0;
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.02rem;
  text-decoration: none;
  color: inherit;
}
.bm-sticky-buy-copy:hover { text-decoration: none; }
.bm-sticky-buy-price {
  font-weight: 700; color: var(--bm-accent); font-size: 1.02rem; line-height: 1.2;
}
.bm-sticky-buy-next {
  font-size: 0.82rem; color: var(--bm-ink); font-weight: 700; line-height: 1.2;
}
.bm-sticky-buy-next[hidden] { display: none !important; }
.bm-sticky-buy .bm-cta {
  flex-shrink: 0;
  padding: 0.55rem 1rem;
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
}
.bm-sticky-cart {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  border: 1px solid var(--bm-line);
  background: #fff;
  color: var(--bm-ink);
  text-decoration: none;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}
.bm-sticky-cart:hover { text-decoration: none; background: #f8fafc; }
.bm-sticky-cart-ico { width: 1.2rem; height: 1.2rem; display: block; }
.bm-sticky-cart-count {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--bm-accent-2);
  color: #0f172a;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.1rem;
  text-align: center;
}
.bm-sticky-cart-count[hidden] { display: none; }
.bm-customizer { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; padding: 2rem 0; align-items: start; }
.bm-customizer-media {
  position: sticky;
  top: 5.5rem;
  z-index: 3;
  max-height: calc(100vh - 6.25rem);
  overflow: auto;
}
.bm-preview { background: #0b1220; border-radius: 20px; padding: 1rem; position: relative; max-width: 100%; overflow: hidden; }
.bm-preview canvas, .bm-preview img, .bm-preview video, .bm-preview iframe { width: 100%; max-width: 100%; height: auto; border-radius: 12px; display: block; }
.bm-customizer-media .bm-preview canvas { max-height: calc(100vh - 11rem); object-fit: contain; }
.bm-preview iframe, .bm-preview video { aspect-ratio: 16 / 9; min-height: 0; background: #000; border: 0; }
.bm-thumbs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.bm-thumb {
  width: 72px; height: 72px; padding: 0; border: 2px solid var(--bm-line); border-radius: 10px;
  overflow: hidden; background: #fff; color: #0f172a; cursor: pointer; font-size: 0.7rem;
}
.bm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bm-thumb.is-active { border-color: var(--bm-accent-2); }
.bm-extras { margin-top: 0.9rem; }
.bm-extras-label { margin: 0 0 0.45rem; font-size: 0.85rem; color: var(--bm-muted); font-weight: 600; }
.bm-lightbox {
  border: 0; padding: 0; max-width: none; max-height: none; width: 100%; height: 100%;
  background: rgba(8, 12, 20, 0.92); color: #fff;
}
.bm-lightbox::backdrop { background: rgba(8, 12, 20, 0.92); }
.bm-lightbox-stage {
  position: absolute; inset: 4rem 4.5rem 4rem;
  display: flex; align-items: center; justify-content: center;
  overflow: auto;
}
.bm-lightbox-stage picture { display: contents; }
.bm-lightbox-stage img {
  height: 100%;
  width: auto;
  max-height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 12px;
  background: #fff;
}
.bm-embed {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}
.bm-embed-pdf { aspect-ratio: 3 / 4; max-height: 80vh; }
.bm-embed iframe, .bm-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  border: 0;
  border-radius: 12px;
  background: #000;
}
.bm-lightbox-stage video, .bm-lightbox-stage iframe {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 12px;
  background: #000;
}
.bm-lightbox-stage .bm-embed {
  width: min(960px, 100%);
  max-height: 100%;
}
.bm-lightbox-close, .bm-lightbox-nav {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer;
  border-radius: 999px; font-size: 1.6rem; line-height: 1; width: 2.4rem; height: 2.4rem;
  z-index: 5;
}
.bm-lightbox-close { top: 1rem; right: 1rem; }
.bm-lightbox-nav.prev { left: 0.75rem; top: 50%; transform: translateY(-50%); }
.bm-lightbox-nav.next { right: 0.75rem; top: 50%; transform: translateY(-50%); }
.bm-lightbox-close:hover, .bm-lightbox-nav:hover { background: rgba(255,255,255,.22); }
.bm-lightbox-zone {
  position: absolute; top: 0; bottom: 0; width: 33.33%; border: 0; padding: 0;
  background: transparent; z-index: 2; cursor: pointer;
}
.bm-lightbox-zone.prev { left: 0; cursor: w-resize; }
.bm-lightbox-zone.next { right: 0; cursor: e-resize; }
.bm-lightbox.is-interactive .bm-lightbox-zone { pointer-events: none; }
.bm-muted { color: var(--bm-muted); }
.bm-cart-edit { color: inherit; text-decoration: none; display: block; }
.bm-cart-edit:hover { text-decoration: none; }
.bm-cart-edit strong { color: var(--bm-accent); }
.bm-cart-edit:hover strong { text-decoration: underline; }
.bm-cart-edit img { max-width: 140px; margin-top: 8px; border-radius: 8px; display: block; }
.bm-cart-page { padding: 2rem 0; }
.bm-cart-list { display: grid; gap: 1rem; }
.bm-cart-item {
  background: #fff;
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius);
  padding: 1rem;
  overflow: hidden;
}
.bm-cart-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
}
.bm-cart-qty { margin: 0; font-weight: 600; font-size: 0.92rem; }
.bm-cart-qty input {
  display: block;
  width: 5.5rem;
  margin-top: 0.3rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--bm-line);
  border-radius: 10px;
  font: inherit;
}
.bm-cart-item-price { font-size: 1.15rem; font-weight: 700; color: var(--bm-accent); }
.bm-cart-remove {
  display: block;
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--bm-line);
  background: #fff;
  color: #b42318;
  border-radius: 10px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.bm-cart-remove:hover { background: #fef2f2; }
.bm-cart-totals {
  margin: 1.25rem 0 1rem;
  background: #fff;
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius);
  padding: 1rem 1.1rem;
}
.bm-cart-totals div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.2rem 0;
}
.bm-cart-total { font-weight: 700; font-size: 1.1rem; margin-top: 0.45rem; padding-top: 0.55rem; border-top: 1px solid var(--bm-line); }
.bm-cart-checkout { display: block; text-align: center; }
#bm-stripe-el.bm-stripe-ready {
  margin: 0.75rem 0 1rem;
  background: #fff;
  border: 1px solid var(--bm-line);
  border-radius: 12px;
  padding: 0.9rem;
}
table.bm-table { width: 100%; border-collapse: collapse; background: #fff; }
.bm-table th, .bm-table td { padding: 0.75rem; border-bottom: 1px solid var(--bm-line); text-align: left; }
@media (max-width: 800px) {
  .bm-main { overflow-x: clip; }
  .bm-nav-toggle { display: block; }
  .bm-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #0f172a; flex-direction: column; padding: 1rem; }
  .bm-nav.open { display: flex; }
  .bm-grid-3, .bm-split, .bm-footer-grid, .bm-customizer { grid-template-columns: 1fr; }
  .bm-wrap, .bm-customizer, .bm-customizer-media, .bm-buy-col { max-width: 100%; min-width: 0; }
  .bm-customizer-media {
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
  }
  .bm-customizer-media .bm-preview canvas { max-height: none; }
  .bm-preview iframe, .bm-preview video {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .bm-lightbox-stage {
    inset: 3.6rem 0.6rem 1rem;
    overflow: hidden;
  }
  .bm-lightbox-nav.prev { left: 0.2rem; }
  .bm-lightbox-nav.next { right: 0.2rem; }
  .bm-lightbox-stage .bm-embed {
    width: 100%;
    max-width: 100%;
  }
  .bm-hero-image { min-height: 196px; }
  .bm-hero-image img {
    width: 140%;
    max-width: none;
    height: 25.2vw;
    max-height: 378px;
    min-height: 196px;
    margin-left: -20%;
  }
  .bm-hero-home { min-height: 274px; }
  .bm-hero-home img {
    height: 35.28vw;
    max-height: 529px;
    min-height: 274px;
  }
  .bm-sticky-buy {
    position: fixed; left: 0; right: 0; top: auto; bottom: 0;
    height: auto; overflow: visible; z-index: 80;
    display: block;
  }
  .bm-sticky-buy[hidden] { display: none; }
  .bm-sticky-buy-inner {
    border-radius: 0; border: 0; border-top: 1px solid var(--bm-line);
    min-height: 0;
    padding: 0.32rem 0.85rem calc(0.32rem + env(safe-area-inset-bottom, 0px));
    column-gap: 0.5rem;
    row-gap: 0.02rem;
    align-items: start;
  }
  .bm-sticky-buy-price { line-height: 1.15; }
  .bm-sticky-buy-next { font-size: 0.76rem; line-height: 1.15; }
  .bm-sticky-cart,
  .bm-sticky-buy .bm-cta { align-self: center; }
  body.bm-has-sticky-buy { padding-bottom: calc(6.25rem + env(safe-area-inset-bottom, 0px)); }
  .bm-cart-edit img { max-width: min(220px, 100%); width: 100%; }
  .bm-cart-checkout { width: 100%; }
}
