/*
 * Blue Mech — component styles for the homepage/section patterns.
 * Ported 1:1 from the design source (preview/index.html), namespaced with a
 * `bm-` prefix so it never collides with Blocksy or core-block classes.
 * Consumes the design tokens from tokens.css. Header/footer/announcement are
 * handled by Blocksy's builder, so they are intentionally NOT styled here.
 */

/* ============ Layout primitives ============ */
.bm-container { max-width: var(--container); margin: 0 auto; padding: 0 var(--container-pad); }
.bm-section { padding: var(--space-4xl) 0; }
.bm-section-raised { background: var(--surface-raised); }
.bm-section-inverse { background: var(--ink-primary); color: #fff; }
.bm-section-inverse .bm-eyebrow { color: rgba(255,255,255,0.5); }

.bm-eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-secondary); margin-bottom: var(--space-md);
}
.bm-mono { font-family: var(--font-mono); font-weight: 500; }

.bm-section-head { max-width: 720px; margin-bottom: var(--space-2xl); }
.bm-section-head h1,
.bm-section-head h2 {
  font-size: clamp(28px, 4vw, 48px); font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: var(--space-md);
}
.bm-section-head .bm-lead { font-size: 18px; color: var(--ink-secondary); line-height: 1.5; }
.bm-section-inverse .bm-section-head .bm-lead { color: rgba(255,255,255,0.7); }

/* Homepage products heading — let it use the full container width so
   "Built for the work you do every day." sits on one line on desktop;
   the lead keeps its readable width, and the heading still wraps on phones. */
#products .bm-section-head { max-width: none; }
#products .bm-section-head .bm-lead { max-width: 720px; }
@media (min-width: 768px) { #products .bm-section-head h2 { white-space: nowrap; } }

/* ============ Buttons ============ */
.bm-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; line-height: 1;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
}
.bm-btn-primary { background: var(--accent-amber); color: var(--ink-primary); }
.bm-btn-primary:hover { background: var(--accent-amber-hover); }
.bm-btn-secondary { background: transparent; color: var(--ink-primary); border: 1.5px solid var(--ink-primary); }
.bm-btn-secondary:hover { background: var(--ink-primary); color: var(--surface-base); }
.bm-btn-on-dark { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.bm-btn-on-dark:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.bm-btn-ghost { background: transparent; color: var(--ink-secondary); border: 1px solid var(--line-divider); }
.bm-btn-ghost:hover { background: var(--surface-raised); color: var(--ink-primary); border-color: var(--ink-primary); }
.bm-btn-ghost svg { vertical-align: -3px; margin-right: 6px; }

/* ============ Hero ============ */
.bm-hero { position: relative; padding: var(--space-5xl) 0 var(--space-4xl); overflow: hidden; background: var(--surface-base); }
.bm-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-grid) 1px, transparent 1px),
    linear-gradient(var(--line-grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-grid-major) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px, 240px 240px, 240px 240px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}
.bm-hero-inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-3xl); align-items: center; }
.bm-hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; color: var(--ink-primary); margin-bottom: var(--space-lg); }
.bm-hero .bm-lead { font-size: 18px; line-height: 1.6; color: var(--ink-secondary); margin-bottom: var(--space-xl); max-width: 520px; }
.bm-hero-cta { display: flex; gap: 12px; margin-bottom: var(--space-2xl); flex-wrap: wrap; }
/* Phones: stack the hero buttons full-width so the (nowrap) labels never clip. */
@media (max-width: 480px) {
  .bm-hero-cta { flex-direction: column; align-items: stretch; }
  .bm-hero-cta .bm-btn { width: 100%; justify-content: center; }
}
.bm-hero-trust { padding-top: var(--space-lg); border-top: 1px solid var(--line-divider); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-secondary); font-weight: 500; }
.bm-hero-visual { display: flex; align-items: center; justify-content: center; }
.bm-hero-visual svg { width: 100%; max-width: 520px; filter: drop-shadow(0 8px 32px rgba(11,27,58,0.08)); }

/* ============ Stats ============ */
.bm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2xl); padding: var(--space-3xl) 0; border-top: 1px solid var(--line-divider); border-bottom: 1px solid var(--line-divider); text-align: center; }
.bm-stat .bm-num { font-family: var(--font-mono); font-size: 48px; font-weight: 500; color: var(--ink-primary); letter-spacing: -0.02em; line-height: 1; margin-bottom: var(--space-sm); }
.bm-stat .bm-label { font-size: 14px; color: var(--ink-secondary); }
/* Navy (inverse) stats band */
.bm-section-inverse .bm-stats { border-top-color: rgba(255,255,255,0.12); border-bottom-color: rgba(255,255,255,0.12); }
.bm-section-inverse .bm-num { color: #fff; }
.bm-section-inverse .bm-label { color: rgba(255,255,255,0.6); }
/* Compact navy stats band (~50% shorter) */
.bm-section:has(.bm-stats) { padding: var(--space-2xl) 0; }
.bm-section-inverse .bm-stats { padding: var(--space-md) 0; border-top: none; border-bottom: none; }

/* ============ Bento (products) ============ */
.bm-bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(220px, auto); gap: var(--space-lg); }
.bm-bento-card { background: var(--surface-base); border: 1px solid var(--line-divider); border-radius: var(--radius-lg); padding: var(--space-xl); display: flex; flex-direction: column; transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast); position: relative; overflow: hidden; }
.bm-bento-card:hover { border-color: #4DD8FF; transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.bm-bento-card.bm-flagship { grid-row: span 2; background: var(--ink-primary); color: #fff; border-color: var(--ink-primary); }
.bm-bento-card.bm-flagship:hover { border-color: var(--accent-amber); }
.bm-bento-card.bm-see-all { background: transparent; border-style: dashed; align-items: center; justify-content: center; text-align: center; }
.bm-bento-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-lg); color: var(--ink-primary); }
.bm-bento-icon-img { width: 44px; height: 44px; object-fit: contain; display: block; }
.bm-flagship .bm-bento-icon { color: var(--accent-amber); }
.bm-bento-card h3 { font-size: 22px; font-weight: 600; line-height: 1.2; margin-bottom: var(--space-sm); letter-spacing: -0.01em; }
.bm-flagship h3 { font-size: 28px; color: #fff !important; }
/* Flagship icon uses the same crisp 44px as the other cards (no upscaling). */
.bm-bento-card .bm-sub { font-size: 14px; color: var(--ink-secondary); margin-bottom: var(--space-md); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.bm-flagship .bm-sub { color: var(--accent-amber); }
.bm-bento-card p { font-size: 15px; line-height: 1.55; color: var(--ink-secondary); margin-bottom: var(--space-lg); flex-grow: 1; }
.bm-flagship p { color: rgba(255,255,255,0.8); font-size: 16px; }
.bm-link { font-size: 14px; font-weight: 600; color: var(--ink-primary); display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }
.bm-flagship .bm-link { color: var(--accent-amber); }
.bm-link .bm-arrow { transition: transform var(--t-fast); }
.bm-bento-card:hover .bm-link .bm-arrow, .bm-solution-card:hover .bm-link .bm-arrow { transform: translateX(4px); }

/* ============ Solutions ============ */
.bm-solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.bm-solution-card { padding: var(--space-2xl); background: var(--surface-base); border: 1px solid var(--line-divider); border-radius: var(--radius-lg); display: flex; flex-direction: column; transition: all var(--t-fast); }
.bm-solution-card:hover { border-color: #4DD8FF; }
.bm-solution-card .bm-q { font-size: 22px; font-weight: 600; line-height: 1.3; margin-bottom: var(--space-lg); letter-spacing: -0.01em; }
.bm-solution-list { list-style: none; margin: 0 0 var(--space-xl); padding: 0; flex-grow: 1; }
.bm-solution-list li { padding: 10px 0; border-bottom: 1px solid var(--line-divider); font-size: 15px; }
.bm-solution-list li:last-child { border-bottom: none; }
.bm-solution-list li a { display: flex; align-items: center; gap: 10px; color: var(--ink-primary); transition: color var(--t-fast); }
.bm-solution-list li a:hover { color: var(--accent-amber-hover); }
.bm-solution-list .bm-badge { font-family: var(--font-mono); font-size: 11px; font-weight: 500; background: var(--surface-sunken); color: var(--ink-secondary); padding: 3px 8px; border-radius: 3px; letter-spacing: 0.04em; }

/* ============ Steps ============ */
.bm-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2xl); }
.bm-step { position: relative; padding-top: var(--space-xl); border-top: 2px solid var(--ink-primary); }
.bm-step .bm-num { font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--accent-amber); margin-bottom: var(--space-md); letter-spacing: 0.08em; }
.bm-step h3 { font-size: 24px; font-weight: 600; margin-bottom: var(--space-md); letter-spacing: -0.01em; }
.bm-step p { font-size: 15px; color: var(--ink-secondary); line-height: 1.6; }

/* ============ Demo ============ */
.bm-demo { position: relative; background: var(--ink-primary); border-radius: var(--radius-lg); aspect-ratio: 16/9; overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: pointer; background-image: linear-gradient(var(--line-grid) 1px, transparent 1px), linear-gradient(90deg, var(--line-grid) 1px, transparent 1px); background-size: 32px 32px; }
.bm-play { width: 80px; height: 80px; background: var(--accent-amber); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink-primary); transition: transform var(--t-base); }
.bm-demo:hover .bm-play { transform: scale(1.08); }
.bm-demo-meta { position: absolute; bottom: var(--space-xl); left: var(--space-xl); color: rgba(255,255,255,0.7); font-family: var(--font-mono); font-size: 13px; }

/* ============ Testimonial ============ */
.bm-testimonial { text-align: center; max-width: 800px; margin: 0 auto; }
.bm-testimonial blockquote { font-size: clamp(22px, 3vw, 32px); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink-primary); margin: 0 0 var(--space-xl); font-style: italic; }
.bm-testimonial blockquote::before { content: "\201C"; color: var(--accent-amber); margin-right: 4px; }
.bm-testimonial blockquote::after { content: "\201D"; color: var(--accent-amber); margin-left: 4px; }
.bm-testimonial cite { display: block; font-style: normal; font-size: 14px; color: var(--ink-secondary); letter-spacing: 0.04em; }
.bm-testimonial cite strong { color: var(--ink-primary); font-weight: 600; }
/* Two-up customer testimonials (real Autodesk App Store reviews) */
.bm-testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); max-width: 1000px; margin: 0 auto; }
.bm-testimonial-card { background: var(--surface-base); border: 1px solid var(--line-divider); border-radius: var(--radius-lg); padding: var(--space-xl); margin: 0; display: flex; flex-direction: column; }
.bm-testimonial-card p { font-size: 17px; line-height: 1.55; color: var(--ink-primary); font-style: italic; margin: 0 0 var(--space-lg); flex-grow: 1; }
.bm-testimonial-card p::before { content: "\201C"; color: var(--accent-amber); }
.bm-testimonial-card p::after { content: "\201D"; color: var(--accent-amber); }
.bm-testimonial-card cite { font-style: normal; font-size: 14px; color: var(--ink-secondary); letter-spacing: 0.04em; }
.bm-testimonial-card cite strong { color: var(--ink-primary); font-weight: 600; }
.bm-testimonial-card .bm-stars { color: var(--accent-amber); font-size: 16px; letter-spacing: 3px; line-height: 1; margin-bottom: var(--space-md); }
@media (max-width: 768px) { .bm-testimonials { grid-template-columns: 1fr; } }

/* ============ Final CTA ============ */
.bm-cta-final { text-align: center; padding: 37px 0; }
.bm-cta-final h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink-primary); margin-bottom: var(--space-md); }
.bm-cta-final p { font-size: 18px; color: var(--ink-secondary); max-width: 560px; margin: 0 auto var(--space-2xl); }

/* Product hero: download / App Store line */
.bm-product-get { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin-top: var(--space-md); align-items: center; }
.bm-product-get a { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.bm-product-get-dl { color: var(--ink-primary); }
.bm-product-get-dl:hover { color: var(--accent-amber); }
.bm-product-get-store { color: var(--ink-secondary); }
.bm-product-get-store:hover { color: var(--accent-amber); }
.bm-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .bm-hero { padding: var(--space-3xl) 0; }
  .bm-hero-inner { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .bm-hero-visual { order: -1; }
  .bm-hero-visual svg { max-width: 220px; }
  .bm-bento { grid-template-columns: 1fr 1fr; }
  .bm-bento-card.bm-flagship { grid-row: auto; grid-column: span 2; }
  .bm-solutions, .bm-steps { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .bm-stats { grid-template-columns: 1fr; gap: var(--space-xl); padding: var(--space-2xl) 0; }
  .bm-stat .bm-num { font-size: 36px; }
}
@media (max-width: 600px) {
  .bm-bento { grid-template-columns: 1fr; }
  .bm-bento-card.bm-flagship { grid-column: auto; }
}

/* =========================================================================
 * PRODUCT PAGE (single-product template) — ported from preview/adc.html
 * ====================================================================== */
.bm-btn-lg { padding: 18px 28px; font-size: 16px; }

/* Breadcrumb */
.bm-breadcrumb { background: var(--surface-raised); border-bottom: 1px solid var(--line-divider); padding: 14px 0; font-size: 13px; }
.bm-breadcrumb ol { list-style: none; display: flex; align-items: center; gap: 8px; color: var(--ink-secondary); margin: 0; padding: 0; flex-wrap: wrap; }
.bm-breadcrumb a:hover { color: var(--ink-primary); }
.bm-breadcrumb .sep { color: var(--ink-tertiary); }
.bm-breadcrumb .current { color: var(--ink-primary); font-weight: 500; }

/* Product hero */
.bm-product-hero { position: relative; padding: var(--space-4xl) 0; overflow: hidden; }
.bm-product-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-grid) 1px, transparent 1px), linear-gradient(90deg, var(--line-grid) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}
.bm-product-hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3xl); align-items: center; }
.bm-product-meta { display: flex; flex-wrap: wrap; gap: var(--space-md); font-family: var(--font-mono); font-size: 12px; color: var(--ink-secondary); margin-bottom: var(--space-lg); letter-spacing: 0.04em; align-items: center; }
.bm-product-meta .dot { color: var(--ink-tertiary); }
.bm-product-meta .tag { background: var(--surface-sunken); padding: 3px 8px; border-radius: 3px; color: var(--ink-primary); }
.bm-product-meta .status { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-primary); font-weight: 500; }
.bm-product-meta .status::before { content: ""; display: inline-block; width: 6px; height: 6px; background: #15803D; border-radius: 50%; }
.bm-product-hero h1 { font-size: clamp(56px, 8vw, 96px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--ink-primary); margin-bottom: var(--space-md); }
.bm-product-hero .bm-tagline { font-size: 22px; font-weight: 500; line-height: 1.3; color: var(--ink-primary); margin-bottom: var(--space-xl); max-width: 480px; }
.bm-hero-bullets { list-style: none; margin: 0 0 var(--space-2xl); padding: 0; }
.bm-hero-bullets li { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; font-size: 16px; color: var(--ink-primary); }
.bm-hero-bullets svg { flex-shrink: 0; color: var(--accent-amber); margin-top: 4px; }
.bm-product-hero-cta { display: flex; gap: 12px; margin-bottom: var(--space-lg); flex-wrap: wrap; }
.bm-cta-micro { font-size: 13px; color: var(--ink-secondary); display: flex; flex-wrap: wrap; gap: 16px; }
.bm-cta-micro span::before { content: "\2713"; color: var(--accent-amber); margin-right: 4px; font-weight: 700; }
.bm-cta-micro .bm-micro-doc { color: var(--ink-primary); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.bm-cta-micro .bm-micro-doc:hover { color: var(--accent-amber); }
.bm-cta-micro .bm-micro-doc svg { width: 16px; height: 16px; }
/* Header cart + account icons (injected beside search) */
.bm-hdr-icons { display: inline-flex; align-items: center; gap: 16px; margin-right: 16px; }
.bm-hdr-icon { position: relative; color: #fff; display: inline-flex; align-items: center; transition: color var(--t-fast); }
.bm-hdr-icon:hover { color: var(--accent-amber); }
.bm-hdr-cart-count { position: absolute; top: -8px; right: -10px; background: var(--accent-amber); color: var(--ink-primary); font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; line-height: 16px; text-align: center; border-radius: 100px; padding: 0 3px; }
.bm-hdr-cart-count[hidden] { display: none; }
/* Header language toggle (EN / DE) — replaces TranslatePress' floating switcher */
.bm-hdr-lang { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; line-height: 1; }
.bm-hdr-lang-opt { color: rgba(255,255,255,.6); text-decoration: none; transition: color var(--t-fast); }
.bm-hdr-lang-opt:hover { color: var(--accent-amber); }
.bm-hdr-lang-opt.is-active { color: #fff; cursor: default; }
.bm-hdr-lang-sep { color: rgba(255,255,255,.3); }
/* My Account → "Open the Workflow AI Assistant" dashboard CTA */
.bm-assistant-cta { margin: 0 0 22px; }

/* ---- Download page ([bm_downloads]) ---- */
.bm-dl { max-width: 1040px; margin: 0 auto; padding: 8px 0 40px; }
.bm-dl-hero { text-align: center; padding: 24px 16px 8px; }
.bm-dl-hero h1 { margin: 0 0 12px; }
.bm-dl-lead { max-width: 640px; margin: 0 auto 22px; color: var(--ink-secondary, #4a5568); font-size: 17px; }
.bm-dl-btn-primary { display: inline-block; background: var(--accent-amber, #F5A623); color: var(--ink-primary, #050D1F); font-weight: 700; padding: 14px 28px; border-radius: 10px; text-decoration: none; font-size: 17px; transition: transform .12s ease, box-shadow .12s ease; }
.bm-dl-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(245,166,35,.32); color: var(--ink-primary, #050D1F); }
.bm-dl-meta { margin: 12px 0 0; color: var(--ink-secondary, #6b7280); font-size: 13px; }

.bm-dl-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 36px 0; }
.bm-dl-step { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--ink-primary-08, #e6e8ee); border-radius: 12px; }
.bm-dl-step span { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink-primary, #050D1F); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.bm-dl-step p { margin: 0; font-size: 14px; line-height: 1.5; }

.bm-dl-muted { color: var(--ink-secondary, #6b7280); font-size: 14px; }
.bm-dl-rt-note { margin-top: 10px; }
.bm-dl-dashnote { margin-top: 10px; font-size: 13.5px; color: var(--ink-primary, #050D1F); background: #fff; border: 1px dashed var(--ink-primary-15, #d4d8e0); border-radius: 8px; padding: 10px 12px; }
.bm-dl-support { margin-top: 32px; text-align: center; color: var(--ink-secondary, #6b7280); font-size: 14px; }

/* Package picker (combobox + version + zip download) */
.bm-dl-picker { margin-top: 40px; border: 1px solid var(--ink-primary-08, #e6e8ee); border-radius: 14px; padding: 24px; background: var(--surface-1, #f7f8fa); }
.bm-dl-picker h2 { margin: 0 0 6px; }
.bm-dl-picker-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; margin: 16px 0 6px; }
.bm-dl-field { display: flex; flex-direction: column; gap: 6px; }
.bm-dl-field > label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-secondary, #6b7280); }
.bm-dl-field-ver { min-width: 150px; }

.bm-dl-combo { position: relative; min-width: 280px; }
.bm-dl-combo-trigger { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; background: #fff; border: 1px solid var(--ink-primary-15, #d4d8e0); border-radius: 10px; padding: 10px 12px; cursor: pointer; font: inherit; color: var(--ink-primary, #050D1F); }
.bm-dl-combo-trigger:hover { border-color: var(--ink-primary, #050D1F); }
.bm-dl-combo-name { flex: 1 1 auto; text-align: left; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-dl-combo-caret { color: var(--ink-secondary, #6b7280); }
.bm-dl-combo-ic { border-radius: 5px; object-fit: contain; background: var(--surface-1, #f7f8fa); flex: 0 0 auto; }
.bm-dl-combo-ic-ph { display: inline-block; width: 22px; height: 22px; border-radius: 5px; background: linear-gradient(135deg, var(--ink-primary, #050D1F), var(--accent-amber, #F5A623)); }
.bm-dl-combo-list { position: absolute; z-index: 50; top: calc(100% + 6px); left: 0; right: 0; max-height: 320px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--ink-primary-15, #d4d8e0); border-radius: 10px; box-shadow: 0 12px 30px rgba(5,13,31,.16); }
.bm-dl-combo-list[hidden] { display: none; }
.bm-dl-combo-opt { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; cursor: pointer; }
.bm-dl-combo-opt:hover { background: var(--surface-1, #f7f8fa); }
.bm-dl-combo-opt.is-sel { background: #e3e8f5; }
.bm-dl-combo-opt .bm-dl-combo-name { font-weight: 500; }

.bm-dl-version {
	min-width: 150px; cursor: pointer; font: inherit; color: var(--ink-primary, #050D1F);
	/* Override the theme's fixed-height select (clips the text); size to content + a custom arrow. */
	height: auto; min-height: 46px; line-height: 1.4; box-sizing: border-box;
	padding: 10px 36px 10px 12px;
	-webkit-appearance: none; appearance: none;
	border: 1px solid var(--ink-primary-15, #d4d8e0); border-radius: 10px;
	background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 12px center;
}
.bm-dl-go { white-space: nowrap; }

@media (max-width: 720px) {
	.bm-dl-steps { grid-template-columns: 1fr; }
	.bm-dl-picker-row { flex-direction: column; align-items: stretch; }
	.bm-dl-combo, .bm-dl-field, .bm-dl-go { width: 100%; }
}
/* Header hamburger menu (desktop) — collapses the primary nav so the bar stays narrow */
.bm-hdr-menu { position: relative; display: inline-flex; }
.bm-hdr-menu-btn { background: none; border: 0; color: #fff; cursor: pointer; display: inline-flex; align-items: center; padding: 4px; transition: color var(--t-fast); }
.bm-hdr-menu-btn:hover { color: var(--accent-amber); }
.bm-hdr-menu-panel { position: absolute; top: calc(100% + 12px); right: 0; min-width: 184px; background: #fff; border: 1px solid var(--ink-primary-08, #e6e8ee); border-radius: 10px; box-shadow: 0 12px 32px rgba(5,13,31,.18); padding: 6px; z-index: 1000; display: flex; flex-direction: column; }
.bm-hdr-menu-panel[hidden] { display: none; }
.bm-hdr-menu-link { display: block; padding: 9px 14px; border-radius: 7px; color: var(--ink-primary, #143852); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.bm-hdr-menu-link:hover { background: var(--surface-1, #f7f8fa); color: var(--accent-amber); }
/* Desktop: keep the FIRST primary-nav item (Products) inline; the rest live in the
   hamburger. (Menu is flat — no submenus — so nth-of-type targets top-level items.) */
@media (min-width: 1000px) { .ct-header [data-id="menu"] ul > li:nth-of-type(n+2) { display: none !important; } }
/* Hamburger is desktop-only; on mobile Blocksy's own menu trigger handles nav. */
@media (max-width: 999px) { .bm-hdr-menu { display: none; } }
/* Reserve the icons' slot up-front so the nav doesn't shift left when the JS
   injects them on load (eliminates the CLS). Desktop only — the mobile header
   row uses the hamburger trigger. The icons are pinned into the reserved space
   (absolute), so menu + search keep their position whether or not JS has run. */
@media (min-width: 1000px) {
  .ct-header [data-column="end"] { position: relative; padding-right: 330px; }
  .ct-header [data-column="end"] .bm-hdr-icons {
    position: absolute; right: 16px; top: 0; bottom: 0; margin-right: 0;
  }
}

/* Announcement bar — thin dismissible strip above the (sticky) header.
   Injected at wp_body_open by inc/announcement-bar.php; sits outside the
   sticky header so it scrolls away on scroll. */
.bm-announce { background: var(--ink-primary); color: #fff; font-size: 13px; }
.bm-announce[hidden] { display: none; }
.bm-announce-inner { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 9px 40px; }
.bm-announce-text { margin: 0; text-align: center; letter-spacing: 0.01em; }
.bm-announce-text strong { color: var(--accent-amber); font-weight: 600; }
.bm-announce-brand { text-transform: uppercase; }
.bm-announce-cta { color: var(--accent-amber); font-weight: 600; margin-left: 8px; white-space: nowrap; }
.bm-announce-cta:hover { color: var(--accent-amber-hover); }
.bm-announce-close { position: absolute; right: 0; top: 50%; transform: translateY(-50%); background: none; border: 0; color: rgba(255,255,255,0.55); font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px; transition: color var(--t-fast); }
.bm-announce-close:hover { color: #fff; }
@media (max-width: 600px) { .bm-announce { font-size: 12px; } .bm-announce-inner { padding: 8px 30px; } .bm-announce-sub { display: none; } .bm-announce-cta { display: block; margin: 2px auto 0; } }

/* Sticky header (CSS-only — Blocksy's native Customizer sticky left off to avoid
   fragile theme_mods). The whole header sticks; #main-container is full-height so
   sticky has travel. Navy middle row is opaque, so content scrolls cleanly under. */
header.ct-header { position: sticky; top: 0; z-index: 100; }

.bm-video-frame { background: var(--surface-raised); border-radius: var(--radius-lg); aspect-ratio: 16/10; border: 1px solid var(--line-divider); position: relative; display: flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; background-image: linear-gradient(var(--line-grid) 1px, transparent 1px), linear-gradient(90deg, var(--line-grid) 1px, transparent 1px); background-size: 32px 32px; }
.bm-video-frame .bm-play { width: 80px; height: 80px; background: var(--accent-amber); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink-primary); transition: transform var(--t-base); z-index: 2; }
.bm-video-frame:hover .bm-play { transform: scale(1.08); }
.bm-video-frame .label { position: absolute; bottom: 18px; left: 18px; color: var(--ink-secondary); font-family: var(--font-mono); font-size: 12px; z-index: 2; }

/* Product image + gallery (hero visual) */
.bm-product-visual { display: flex; flex-direction: column; gap: var(--space-md); }
.bm-product-figure { position: relative; background: transparent; border: 1px solid var(--line-divider); border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: center; justify-content: center; aspect-ratio: 16/10; }
.bm-product-img { width: 100%; height: 100%; object-fit: contain; padding: var(--space-xl); }
.bm-product-figure .bm-play { position: absolute; width: 72px; height: 72px; background: var(--accent-amber); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink-primary); }
.bm-product-thumbs { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.bm-product-thumb { width: 60px; height: 60px; object-fit: cover; border: 1px solid var(--line-divider); border-radius: var(--radius-sm); cursor: pointer; transition: border-color var(--t-fast); }
.bm-product-thumb:hover { border-color: #4DD8FF; }
.bm-product-thumb.active { border-color: var(--accent-amber); }
/* Zoom + video gallery (GLightbox) */
.bm-product-img { padding: var(--space-md); }
.bm-product-figure { cursor: zoom-in; }
.bm-zoom-hint { position: absolute; bottom: 10px; right: 12px; background: rgba(11,27,58,0.82); color: #fff; font-size: 11px; font-weight: 500; padding: 4px 9px; border-radius: 4px; opacity: 0; transition: opacity var(--t-fast); pointer-events: none; letter-spacing: 0.02em; }
.bm-product-figure:hover .bm-zoom-hint { opacity: 1; }
.bm-thumb-video { background: var(--surface-raised); display: flex; align-items: center; justify-content: center; padding: 0; order: 99; }
.bm-thumb-video .bm-thumb-play { color: var(--accent-amber); font-size: 18px; line-height: 1; }
.bm-thumb-video:hover { border-color: var(--accent-amber); }
/* Product detail tabs (Description / Specifications / Reviews / FAQ) */
.bm-ptab-nav { display: flex; gap: var(--space-xl); border-bottom: 1px solid var(--line-divider); margin-bottom: var(--space-2xl); flex-wrap: wrap; }
.bm-ptab-btn { background: none; border: none; padding: var(--space-md) 0; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-secondary); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color var(--t-fast), border-color var(--t-fast); }
.bm-ptab-btn:hover { color: var(--ink-primary); }
.bm-ptab-btn.active { color: var(--ink-primary); border-bottom-color: var(--accent-amber); }
.bm-ptab-panel { display: none; }
.bm-ptab-panel.active { display: block; animation: bm-fade 0.2s ease; }
@keyframes bm-fade { from { opacity: 0; } to { opacity: 1; } }
/* Tighten the hero → tabs gap (Description tab near the top) */
.bm-product-hero { padding-top: var(--space-xl); padding-bottom: var(--space-lg); }
.bm-ptabs-section { padding-top: 0; padding-bottom: var(--space-lg); }
.bm-related-icon { display: block; margin-bottom: var(--space-md); }
.bm-related-icon img { width: 48px; height: 48px; object-fit: contain; }
#bm-pricing { padding-top: var(--space-lg); padding-bottom: var(--space-2xl); }
.bm-related-section { padding-top: 0; }
/* Lightbox caption: transparent + centered, readable on the dark backdrop (no white bar). */
/* (No overrides on .gslide-image img — GLightbox must size images itself or the first slide won't render.) */
.glightbox-clean .gslide-description,
.glightbox-clean .gdesc-inner { background: transparent !important; box-shadow: none !important; }
.glightbox-clean .gslide-title { display: none; }
.glightbox-clean .gslide-desc { color: #fff !important; text-align: center; font-size: 14px; line-height: 1.4; }
/* Download tab panel — card with chip-style meta + amber accent */
.bm-download-panel { max-width: 680px; background: var(--surface-base); border: 1px solid var(--line-divider); border-radius: var(--radius-lg); padding: var(--space-2xl); position: relative; overflow: hidden; }
.bm-download-panel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent-amber); }
.bm-download-panel h3 { font-size: 24px; font-weight: 700; margin-bottom: var(--space-sm); letter-spacing: -0.01em; }
.bm-download-lead { color: var(--ink-secondary); margin-bottom: var(--space-lg); max-width: 52ch; line-height: 1.5; }
.bm-download-lead code { font-size: 13px; background: var(--surface-raised); padding: 1px 6px; border-radius: 4px; }
.bm-download-meta { list-style: none; padding: 0; margin: 0 0 var(--space-xl); display: flex; flex-wrap: wrap; gap: 10px; }
.bm-download-meta li { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 14px; border-radius: 100px; background: var(--surface-raised); border: 1px solid var(--line-divider); }
.bm-download-meta span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-secondary); }
.bm-download-meta strong { font-size: 14px; color: var(--ink-primary); font-weight: 600; }
.bm-download-actions { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; }
.bm-download-actions .bm-dl-soon { font-size: 14px; color: var(--ink-secondary); font-style: italic; }

/* Problem */
.bm-problem { max-width: 760px; margin: 0 auto var(--space-2xl); font-size: 22px; line-height: 1.5; color: var(--ink-primary); text-align: center; letter-spacing: -0.005em; }
.bm-problem .punch { display: block; margin-top: var(--space-xl); font-size: 28px; font-weight: 600; }
.bm-problem .punch .num { font-family: var(--font-mono); color: var(--accent-amber-hover); }

/* Feature bento */
.bm-feature-bento { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: minmax(180px, auto); gap: var(--space-lg); }
.bm-feature-card { background: var(--surface-base); border: 1px solid var(--line-divider); border-radius: var(--radius-lg); padding: var(--space-xl); display: flex; flex-direction: column; transition: border-color var(--t-fast), transform var(--t-fast); }
.bm-feature-card:hover { border-color: #4DD8FF; transform: translateY(-2px); }
.bm-feature-card.bm-large { grid-row: span 2; background: var(--ink-primary); color: #fff; border-color: var(--ink-primary); }
.bm-feature-card.bm-large:hover { border-color: var(--accent-amber); }
.bm-feature-icon { width: 36px; height: 36px; color: var(--ink-primary); margin-bottom: var(--space-md); }
.bm-feature-card.bm-large .bm-feature-icon { color: var(--accent-amber); }
.bm-feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: var(--space-sm); letter-spacing: -0.01em; }
.bm-feature-card.bm-large h3 { font-size: 24px; margin-bottom: var(--space-md); color: #fff; }
.bm-feature-card p { font-size: 14px; color: var(--ink-secondary); line-height: 1.5; }
.bm-feature-card.bm-large p { color: rgba(255,255,255,0.75); font-size: 16px; }

/* In-Inventor tabs */
.bm-tabs { margin-top: var(--space-xl); }
.bm-tab-buttons { display: flex; gap: 4px; border-bottom: 1px solid var(--line-divider); margin-bottom: var(--space-xl); flex-wrap: wrap; }
.bm-tab-btn { padding: 12px 18px; font-size: 14px; font-weight: 500; color: var(--ink-secondary); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color var(--t-fast), border-color var(--t-fast); font-family: var(--font-mono); letter-spacing: 0.04em; background: none; cursor: pointer; }
.bm-tab-btn:hover { color: var(--ink-primary); }
.bm-tab-btn.active { color: var(--ink-primary); border-bottom-color: var(--accent-amber); }
.bm-tab-content { display: none; }
.bm-tab-content.active { display: block; }
.bm-screenshot-frame { background: var(--ink-primary); border: 1px solid var(--ink-primary); border-radius: var(--radius-lg); padding: var(--space-md); aspect-ratio: 16/9; position: relative; background-image: linear-gradient(var(--line-grid) 1px, transparent 1px), linear-gradient(90deg, var(--line-grid) 1px, transparent 1px); background-size: 24px 24px; display: flex; align-items: center; justify-content: center; overflow: hidden; color: rgba(255,255,255,0.5); font-family: var(--font-mono); font-size: 14px; }
.bm-screenshot-frame img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--radius-md); }
.bm-tab-caption { margin-top: var(--space-md); font-size: 14px; color: var(--ink-secondary); }

/* Specs */
.bm-spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
.bm-spec-card { background: var(--surface-base); border: 1px solid var(--line-divider); border-radius: var(--radius-lg); padding: var(--space-xl); }
.bm-spec-card h3 { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-secondary); margin-bottom: var(--space-lg); }
.bm-spec-rows { list-style: none; margin: 0; padding: 0; }
.bm-spec-rows li { display: flex; justify-content: space-between; gap: var(--space-md); padding: 10px 0; border-bottom: 1px solid var(--line-divider); font-size: 14px; }
.bm-spec-rows li:last-child { border-bottom: none; }
.bm-spec-rows .key { color: var(--ink-secondary); }
.bm-spec-rows .val { color: var(--ink-primary); font-weight: 500; }

/* Pricing */
.bm-trial-banner { background: var(--ink-primary); color: #fff; border-radius: var(--radius-lg); padding: 20px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: var(--space-2xl); border-left: 4px solid var(--accent-amber); }
.bm-trial-banner-text strong { font-size: 16px; display: block; margin-bottom: 4px; }
.bm-trial-banner-text .sub { color: rgba(255,255,255,0.7); font-size: 13px; }
.bm-price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); align-items: stretch; }
.bm-price-card-mini { background: var(--surface-base); border: 1px solid var(--line-divider); border-radius: var(--radius-lg); padding: var(--space-xl); display: flex; flex-direction: column; position: relative; transition: border-color var(--t-fast), transform var(--t-fast); }
.bm-price-card-mini:hover { border-color: #4DD8FF; }
.bm-price-card-mini.featured { border: 2px solid var(--ink-primary); transform: translateY(-8px); box-shadow: var(--shadow-card); }
.bm-price-badge { position: absolute; top: -10px; left: 18px; background: var(--accent-amber); color: var(--ink-primary); font-family: var(--font-mono); font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 3px; letter-spacing: 0.08em; text-transform: uppercase; }
.bm-price-card-mini .plan-name { font-family: var(--font-mono); font-size: 11px; color: var(--ink-secondary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.bm-price-card-mini h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: var(--space-md); }
.bm-price-card-mini .price { font-family: var(--font-mono); font-size: 36px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink-primary); margin-bottom: 2px; }
.bm-price-card-mini .billing { font-size: 13px; color: var(--ink-secondary); margin-bottom: 6px; }
.bm-price-card-mini .vat { font-size: 11px; color: var(--ink-tertiary); margin-bottom: var(--space-lg); }
.bm-price-card-mini ul { list-style: none; margin: 0 0 var(--space-lg); padding: 0; flex-grow: 1; }
.bm-price-card-mini li { font-size: 13px; padding: 6px 0; display: flex; gap: 8px; align-items: flex-start; color: var(--ink-secondary); line-height: 1.5; }
.bm-price-card-mini li::before { content: "\2713"; color: var(--accent-amber); font-weight: 700; flex-shrink: 0; }
.bm-price-card-mini .bm-btn { width: 100%; justify-content: center; font-size: 14px; padding: 12px 16px; }
.bm-team-quote { text-align: center; margin-top: var(--space-2xl); font-size: 14px; color: var(--ink-secondary); }

/* Volume-discount note (product page) — surfaces the bulk tiers near the pricing cards */
.bm-volume-note { text-align: center; max-width: 640px; margin: var(--space-2xl) auto 0; padding: var(--space-lg) var(--space-xl); background: var(--surface-raised); border: 1px solid var(--line-divider); border-top: 3px solid var(--accent-amber); border-radius: var(--radius-lg); }
.bm-volume-note-head { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-primary); margin-bottom: 6px; }
.bm-volume-note-body { display: block; font-size: 15px; color: var(--ink-primary); }
.bm-volume-note-fine { display: block; margin-top: 8px; font-size: 13px; color: var(--ink-secondary); }
.bm-volume-note-fine a { color: var(--ink-primary); font-weight: 600; border-bottom: 1px solid var(--accent-amber); }

/* Floating-license note (product page) — clarifies the per-seat/floating model under the price grid */
.bm-license-note { text-align: center; max-width: 640px; margin: var(--space-xl) auto 0; font-size: 13px; color: var(--ink-secondary); }

/* Volume-discount nudge (cart) — "add N more to save X%" / "discount applied" */
.bm-volume-nudge { margin: 0 0 var(--space-lg); padding: 12px 18px; border-radius: var(--radius-md); font-size: 14px; font-weight: 500; color: var(--ink-primary); }
.bm-volume-nudge--pending { background: var(--surface-raised); border: 1px solid var(--line-divider); border-left: 3px solid var(--accent-amber); }
.bm-volume-nudge--applied { background: rgba(245, 182, 0, 0.10); border: 1px solid var(--accent-amber); }

/* FAQ (native details/summary) */
.bm-faq { max-width: 760px; margin: 0 auto; }
.bm-faq details { border-bottom: 1px solid var(--line-divider); }
.bm-faq details:first-child { border-top: 1px solid var(--line-divider); }
.bm-faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-size: 18px; font-weight: 500; color: var(--ink-primary); display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); transition: color var(--t-fast); }
.bm-faq summary::-webkit-details-marker { display: none; }
.bm-faq summary:hover { color: var(--accent-amber-hover); }
.bm-faq summary::after { content: "+"; flex-shrink: 0; font-size: 22px; color: var(--ink-secondary); transition: transform var(--t-base); }
.bm-faq details[open] summary::after { transform: rotate(45deg); }
.bm-faq .bm-faq-a { font-size: 16px; color: var(--ink-secondary); line-height: 1.6; padding-bottom: 24px; }

/* Related */
.bm-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.bm-related-card { background: var(--surface-base); border: 1px solid var(--line-divider); border-radius: var(--radius-lg); padding: var(--space-xl); transition: all var(--t-fast); display: block; }
.bm-related-card:hover { border-color: #4DD8FF; transform: translateY(-2px); }
.bm-related-card h3 { font-size: 18px; font-weight: 600; margin-bottom: var(--space-sm); letter-spacing: -0.01em; }
.bm-related-card p { font-size: 14px; color: var(--ink-secondary); margin-bottom: var(--space-md); }
.bm-related-card .price { font-family: var(--font-mono); font-size: 14px; color: var(--ink-primary); }

/* =========================================================================
 * FOOTER (custom footer.php override)
 * ====================================================================== */
.bm-footer { background: #050D1F; color: rgba(255,255,255,0.6); padding: var(--space-lg) 0 var(--space-sm); font-size: 14px; }
.bm-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-xl); margin-bottom: var(--space-md); }
.bm-foot-logo { display: inline-flex; align-items: center; gap: 12px; }
.bm-foot-word { font-family: var(--font-mono); font-weight: 500; font-size: 20px; letter-spacing: 0.04em; }
.bm-foot-word .blue { color: #fff; }
.bm-foot-word .mech { color: var(--accent-amber); }
.bm-footer-brand p { margin-top: var(--space-md); max-width: 280px; font-size: 13px; line-height: 1.6; }
.bm-footer-col h4 { color: #fff; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--space-md); }
.bm-footer-col ul { list-style: none; margin: 0; padding: 0; }
.bm-footer-col li { margin-bottom: 10px; }
.bm-footer-col a { color: rgba(255,255,255,0.6); font-size: 14px; transition: color var(--t-fast); }
.bm-footer-col a:hover { color: var(--accent-amber); }
.bm-footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--space-lg); border-top: 1px solid rgba(255,255,255,0.08); font-size: 13px; flex-wrap: wrap; gap: var(--space-md); }
.bm-footer-col li { margin-bottom: 8px; }
.bm-footer-brand p { margin-top: var(--space-sm); }
.bm-foot-social { display: flex; gap: var(--space-md); }
.bm-foot-social a { color: rgba(255,255,255,0.5); transition: color var(--t-fast); }
.bm-foot-social a:hover { color: var(--accent-amber); }
@media (max-width: 900px) {
  .bm-footer-grid { grid-template-columns: 1fr 1fr; }
  .bm-footer-brand { grid-column: span 2; }
}
@media (max-width: 560px) { .bm-footer-grid { grid-template-columns: 1fr; } .bm-footer-brand { grid-column: auto; } }

/* Sticky mobile buy bar */
.bm-sticky-buy { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface-base); border-top: 1px solid var(--line-divider); padding: 12px 16px; box-shadow: 0 -4px 12px rgba(11,27,58,0.08); z-index: 90; align-items: center; justify-content: space-between; gap: 12px; }
.bm-sticky-buy .info strong { display: block; font-size: 14px; }
.bm-sticky-buy .info .price-inline { font-family: var(--font-mono); color: var(--ink-secondary); font-size: 12px; }

@media (max-width: 900px) {
  .bm-product-hero-inner { grid-template-columns: 1fr; }
  .bm-feature-bento { grid-template-columns: 1fr 1fr; }
  .bm-feature-card.bm-large { grid-row: auto; grid-column: span 2; }
  .bm-price-grid { grid-template-columns: 1fr 1fr; }
  .bm-price-card-mini.featured { transform: none; }
  .bm-related { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .bm-spec-grid { grid-template-columns: 1fr; }
  .bm-sticky-buy { display: flex; }
  body.single-product { padding-bottom: 72px; }
  /* lift the chatbot launcher + window above the sticky buy bar so they don't overlap */
  body.single-product .bm-chat-launcher { bottom: 84px; }
  body.single-product .bm-chat-window { bottom: 148px; }
}
@media (max-width: 600px) {
  .bm-feature-bento { grid-template-columns: 1fr; }
  .bm-feature-card.bm-large { grid-column: auto; }
}
@media (max-width: 540px) { .bm-price-grid { grid-template-columns: 1fr; } }

/* =========================================================================
 * SHOP / CATALOGUE ARCHIVE — brand pass over WooCommerce's default loop
 * (CSS only; no template override, so Blocksy's archive hooks stay intact)
 * ====================================================================== */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: var(--surface-base);
  border: 1px solid var(--line-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.woocommerce ul.products li.product:hover {
  border-color: #4DD8FF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
/* Product thumbnails are square icons — show them whole (contain), not cropped/zoomed (cover). */
.woocommerce ul.products li.product .ct-media-container img,
.woocommerce ul.products li.product img.wp-post-image {
  object-fit: contain !important;
  padding: var(--space-md);
  background: transparent !important;
}
.woocommerce ul.products li.product .ct-media-container,
.woocommerce ul.products li.product figure { background: transparent !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-primary);
  padding-top: var(--space-sm);
}
.woocommerce ul.products li.product .price {
  font-family: var(--font-mono);
  color: var(--ink-primary);
  font-weight: 500;
}
/* The loop renders the price twice (Woo <p class="price"> + a stray
   <span class="price"> after German Market's §19 notice). Keep the first +
   the legal VAT notice; hide the duplicate span. */
.woocommerce ul.products li.product > span.price { display: none !important; }
.wgm-info.woocommerce-de_price_taxrate { font-size: 12px; color: var(--ink-tertiary); margin-top: 2px; }
.woocommerce ul.products li.product .price .woocommerce-Price-amount { color: var(--ink-primary); }
.woocommerce ul.products li.product .button,
.woocommerce a.button.add_to_cart_button {
  background: var(--accent-amber);
  color: var(--ink-primary);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background var(--t-fast);
}
.woocommerce ul.products li.product .button:hover { background: var(--accent-amber-hover); color: var(--ink-primary); }

/* SALE badge — brand it navy (Blocksy defaults the badge to its blue palette
   color, which clashes with the navy/amber Precision palette). */
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
  background: var(--ink-primary) !important;
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-weight: 600; box-shadow: none; border: none;
}
/* De-clutter the cards: hide the long uppercase category-tag list under each
   product (e.g. "ADD-INS, ASSEMBLIES, DRAWINGS, …") — it's taxonomy noise for
   a shopper. The card keeps title · price · §19 · rating · button. */
.woocommerce ul.products li.product ul.entry-meta .meta-categories { display: none !important; }

/* Archive header (result count + ordering) */
.woocommerce-products-header__title,
.woocommerce .woocommerce-result-count { color: var(--ink-primary); }
.woocommerce .woocommerce-ordering select {
  border: 1px solid var(--line-divider);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-family: var(--font-sans);
  color: var(--ink-primary);
}

/* =========================================================================
 * HEADER LOGO — the logo SVG already contains the "BLUEMECH" wordmark, so hide
 * Blocksy's duplicate site-title text and enlarge the mark.
 * ====================================================================== */
.site-title-container { display: none !important; }
/* Front page: kill the leftover band where the page-title hero was (empty Woo
   notice wrapper + content top gap) so the hero sits flush under the header. */
body.home .woocommerce-notices-wrapper { display: none !important; margin: 0 !important; padding: 0 !important; }
body.home .ct-container-full,
body.post-type-archive-product .ct-container-full,
body.woocommerce-shop .ct-container-full,
body.tax-product_cat .ct-container-full,
body.tax-product_tag .ct-container-full,
body.home .entry-content { margin-top: 0 !important; padding-top: 0 !important; background: transparent !important; }
body.home .bm-hero { margin-top: 0 !important; }
/* Remove the page-title hero band on shop + product archives (the grey "Shop" row). */
.post-type-archive-product .hero-section,
.woocommerce-shop .hero-section,
.tax-product_cat .hero-section,
.tax-product_tag .hero-section { display: none !important; }

/* Navy header (same color as the footer) */
.ct-header [data-row="middle"] { background-color: #050D1F !important; border-bottom: 1px solid rgba(255,255,255,0.08) !important; }
.ct-header [data-row="middle"] .ct-menu-link { color: #fff !important; }
.ct-header [data-row="middle"] .ct-menu-link:hover,
.ct-header [data-row="middle"] .ct-menu-link:focus { color: var(--accent-amber) !important; }
.ct-header [data-row="middle"] .ct-toggle svg,
.ct-header [data-row="middle"] .ct-header-search svg,
.ct-header [data-row="middle"] svg { color: #fff !important; }
/* Vertically center the logo in the header row (kill the img baseline gap that
   pushed it to the bottom). */
.site-logo-container { display: inline-flex !important; align-items: center; }
/* Logo = 75% of Blocksy's header-row height (--height inherits from the row;
   tracks both the normal 120px row and the shrunk sticky row automatically). */
.site-logo-container img,
.site-logo-container svg {
  height: calc(var(--height, 120px) * 0.85) !important;
  max-height: none !important;
  width: auto !important;
  display: block;
  vertical-align: middle;
}
/* Phones: the lockup is ~3.75:1 — cap height so it can't overflow / crowd the burger. */
@media (max-width: 600px) {
  .site-logo-container img,
  .site-logo-container svg { height: 40px !important; }
}

/* Two-up pricing grid (All Apps page) — class, NOT inline style, so it collapses on mobile. */
.bm-price-duo { grid-template-columns: repeat(2, 1fr); max-width: 680px; margin: 0 auto; }
@media (max-width: 600px) { .bm-price-duo { grid-template-columns: 1fr; max-width: 420px; } }

/* =========================================================================
 * CART / CHECKOUT / ACCOUNT — brand pass (visual tokens only, no layout change)
 * ====================================================================== */
/* Buttons */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce .button.alt,
.woocommerce #place_order, .wc-block-components-button,
.woocommerce-account button.button, .woocommerce form.login button,
.woocommerce form.register button {
  background: var(--accent-amber) !important;
  color: var(--ink-primary) !important;
  border-radius: var(--radius-sm);
  border: none !important;
  font-weight: 600;
  transition: background var(--t-fast);
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce .button.alt:hover, .woocommerce #place_order:hover { background: var(--accent-amber-hover); color: var(--ink-primary); }
/* Secondary cart buttons (coupon/update) — same shape/size as "Proceed to
   checkout", but outlined navy (no amber fill). Single line, never wrapping. */
.woocommerce button[name="apply_coupon"],
.woocommerce button[name="update_cart"],
.woocommerce input[name="apply_coupon"],
.woocommerce input[name="update_cart"] {
  background: transparent !important; color: var(--ink-primary) !important;
  border: 1.5px solid var(--ink-primary) !important; box-shadow: none !important;
  min-height: 50px; padding: 0 28px !important;
  border-radius: var(--radius-sm); font-weight: 600;
  white-space: nowrap; line-height: 1.2;
}
.woocommerce button[name="apply_coupon"]:hover,
.woocommerce button[name="update_cart"]:hover,
.woocommerce input[name="apply_coupon"]:hover,
.woocommerce input[name="update_cart"]:hover { background: var(--ink-primary) !important; color: #fff !important; }

/* Tables (cart, totals, order review) */
.woocommerce table.shop_table {
  border: 1px solid var(--line-divider);
  border-radius: var(--radius-lg);
  border-collapse: separate;
}
.woocommerce table.shop_table th { color: var(--ink-primary); font-weight: 600; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-top-color: var(--line-divider); }
.woocommerce .cart_totals h2, .woocommerce-checkout h3, .woocommerce-account h2 { color: var(--ink-primary); letter-spacing: -0.01em; }
.woocommerce .order-total .amount, .woocommerce .woocommerce-Price-amount { font-family: var(--font-mono); color: var(--ink-primary); }

/* Form fields */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-checkout #customer_details input, .select2-container .select2-selection {
  border: 1px solid var(--line-divider) !important;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  color: var(--ink-primary);
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus { border-color: var(--ink-secondary) !important; outline: none; }

/* Checkout layout polish */
.woocommerce-checkout #payment { background: var(--surface-raised); border-radius: var(--radius-lg); padding: 6px 0; }
.woocommerce-checkout #payment ul.payment_methods { margin: 0; padding: 10px 22px; border-bottom: none; }
.woocommerce-checkout #payment ul.payment_methods li { padding: 8px 0; line-height: 1.4; }
/* The .place-order row inside #payment only holds hidden inputs here (the real
   terms + button render after "Your order"), so collapse its empty gray band. */
.woocommerce-checkout #payment .form-row.place-order { margin: 0; padding: 0; }
.woocommerce-checkout #payment .payment_box { background: transparent; margin: 8px 0 0; padding: 0; }
.woocommerce-checkout #payment .payment_box::before { display: none; }
/* Highlight the selected payment method (CSS-only, :has on the checked radio) */
.woocommerce-checkout #payment ul.payment_methods li:has(input.input-radio:checked) {
  background: var(--surface-base); border-radius: var(--radius-sm);
  box-shadow: inset 3px 0 0 var(--accent-amber); padding-left: 12px; margin-left: -12px;
}
.woocommerce-info, .woocommerce-message { border-top-color: var(--accent-amber); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--accent-amber); }

/* My Account */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li {
  border-bottom: 1px solid var(--line-divider);
}
.woocommerce-account .woocommerce-MyAccount-navigation li a { color: var(--ink-secondary); font-weight: 500; display: block; padding: 10px 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { color: var(--ink-primary); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active { border-left: 2px solid var(--accent-amber); padding-left: 10px; }
/* Kill Blocksy's default blue fill on the active account-nav item — keep the amber accent + ink text. */
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active,
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: transparent; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: var(--ink-primary); font-weight: 600; }

/* ============================================================
   Cart page refinements (see inc/cart-customizations.php)
   ============================================================ */

/* Inner padding so content isn't flush against the cart / totals block borders */
.ct-woocommerce-cart-form { padding: 28px 30px; }
.cart_totals { padding: 28px 30px; }

/* Digital products — no shipping: hide WooCommerce's "shipping/taxes estimated" note */
.wc-cart-shipping-notice { display: none; }

/* Cart line-item thumbnail — cap to a tidy icon size (was rendering full-size) */
.woocommerce-cart-form td.product-thumbnail img,
.woocommerce-cart-form .cart_item .product-thumbnail img {
  width: 72px; height: 72px; object-fit: contain; max-width: 72px;
}

/* De-clutter the line item: the variation name is already appended to the
   product title (e.g. "… – All Apps/Yearly"), so hide the duplicate
   "Select License: …" attribute meta under the name. */
.woocommerce-cart-form td.product-name dl.variation { display: none; }
/* Per-unit price under the name (no dedicated Price column) — keep it but make
   it a quiet secondary line so it doesn't compete with the title. */
.woocommerce-cart-form td.product-name p.price {
  margin-top: 4px; color: var(--ink-secondary); font-size: 14px; font-weight: 500;
}

/* Product section — breathing room so header/rows aren't tight on the borders */
.woocommerce-cart-form table.cart thead th { padding: 4px 14px 18px; }
.woocommerce-cart-form table.cart tbody td { padding-top: 24px; padding-bottom: 24px; }
.woocommerce-cart-form table.cart tbody td.product-thumbnail { padding-left: 8px; }
/* Narrow the thumbnail column + make the name column greedy so the product name
   sits right beside the icon (no big gap) and gets the freed width */
/* Deterministic cart columns — the child cart.php adds a real thumbnail <th>,
   so table-layout:fixed honors these widths exactly: the name sits right next to
   the icon and takes the freed width (auto), instead of a big empty gap. */
.woocommerce-cart-form table.cart { table-layout: fixed; }
.woocommerce-cart-form table.cart th.product-thumbnail { width: 96px; }
.woocommerce-cart-form table.cart th.product-quantity { width: 130px; }
.woocommerce-cart-form table.cart th.product-subtotal { width: 120px; }
.woocommerce-cart-form table.cart th.product-remove { width: 52px; }
.woocommerce-cart-form table.cart td.product-name,
.woocommerce-cart-form table.cart th.product-name { max-width: none !important; }

/* Legal hint relocated to the totals column (see inc/cart-customizations.php) —
   hide German Market's original row in the cart table */
.woocommerce-cart-form table.cart tr.jde_hint { display: none; }

/* Relocated legal hint under the totals card, above the trust cues */
.cart_totals .bm-cart-legal { margin: 2px 0 14px; font-size: 12px; line-height: 1.5; color: var(--ink-secondary); }
.cart_totals .bm-cart-legal a { color: var(--ink-secondary); text-decoration: underline; }
.cart_totals .bm-cart-legal a:hover { color: var(--accent-amber); }

/* Trash/remove — nudge the icon a bit left, off the far-right edge */
.woocommerce-cart-form table.cart td.product-remove { white-space: nowrap; text-align: left; padding-left: 4px; padding-right: 18px; }
.woocommerce-cart-form table.cart tbody td.product-name { padding-left: 14px; padding-right: 14px; }
/* Align the coupon row + legal hint to the Product column's left edge (14px) */
.woocommerce-cart-form table.cart td.actions,
.woocommerce-cart-form table.cart tr.jde_hint td { padding-left: 14px; padding-right: 14px; }
.woocommerce-cart-form table.cart td.actions .coupon { margin-left: 0; }

/* Actions row: [coupon input + Apply] on the left, [Update cart] pushed to the
   right on the SAME line; "Continue shopping" drops to its own line below. */
.woocommerce-cart-form .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.woocommerce-cart-form .actions .coupon { margin-right: auto; }
/* Matched pair — same min-width so Apply coupon / Update cart read as a set */
.woocommerce-cart-form .actions button[name="apply_coupon"],
.woocommerce-cart-form .actions button[name="update_cart"] { min-width: 150px; }
.bm-continue-shopping {
  display: inline-flex; align-items: center; gap: 6px;
  flex-basis: 100%; order: 3; margin-top: 2px;
  color: var(--ink-secondary); font-weight: 500; font-size: 14px;
  text-decoration: none; white-space: nowrap;
}
.bm-continue-shopping:hover { color: var(--ink-primary); }

/* Coupon box — match the buttons' height so the actions row aligns cleanly */
.woocommerce-cart-form .coupon { display: flex; align-items: center; gap: 10px; }
.woocommerce-cart-form .coupon input#coupon_code {
  border: 1px solid var(--line-divider); border-radius: var(--radius-sm);
  padding: 0 14px; min-height: 50px; min-width: 190px;
}

/* Trust cues under the totals card */
.bm-cart-trust { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line-divider); }
.bm-cart-trust li { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--ink-secondary); font-size: 13px; }
.bm-cart-trust li svg { color: var(--accent-amber); flex: 0 0 auto; }

/* Give the totals card a touch more breathing room */
.cart_totals h2 { margin-bottom: 12px; }

/* Totals table — drop the redundant inner border box (the card already has a
   border), pad the Subtotal/Total rows, and pull the amounts + the §19 VAT
   line off the right edge so nothing sits flush against the border. */
.cart_totals table.shop_table {
  border: none; border-radius: 0; margin: 0;
}
.cart_totals table.shop_table th,
.cart_totals table.shop_table td {
  padding: 16px 18px; border-top: 1px solid var(--line-divider);
}
.cart_totals table.shop_table tr:first-child th,
.cart_totals table.shop_table tr:first-child td { border-top: none; }
.cart_totals table.shop_table td { text-align: right; }
/* §19 VAT notice row — keep it right-aligned but inset to match the amounts */
.cart_totals table.shop_table td.wgm-kur-notice-review { padding: 10px 18px 0; border-top: none; }
.cart_totals .wgm-kur-notice { text-align: right; font-size: 12px; color: var(--ink-secondary); }

/* Mobile (≤768px): stack the cart line-item table so it doesn't overflow the
   viewport (title/prices/§19 were getting cut off on phones) + tighter padding */
@media (max-width: 768px) {
  .ct-woocommerce-cart-form,
  .cart_totals { padding: 18px 16px; }

  .woocommerce-cart-form table.woocommerce-cart-form__contents thead { display: none; }
  .woocommerce-cart-form table.woocommerce-cart-form__contents tr {
    display: block; border: 1px solid var(--line-divider); border-radius: 8px;
    padding: 10px 14px; margin-bottom: 14px;
  }
  .woocommerce-cart-form table.woocommerce-cart-form__contents td {
    display: block; width: auto !important; text-align: right;
    padding: 6px 0; border-top: 0;
  }
  .woocommerce-cart-form table.woocommerce-cart-form__contents td::before {
    content: attr(data-title); float: left; font-weight: 600; color: var(--ink-secondary);
  }
  .woocommerce-cart-form table.woocommerce-cart-form__contents td.product-thumbnail { text-align: center; }
  .woocommerce-cart-form table.woocommerce-cart-form__contents td.product-thumbnail::before,
  .woocommerce-cart-form table.woocommerce-cart-form__contents td.product-remove::before { display: none; }
  .woocommerce-cart-form table.woocommerce-cart-form__contents td.product-remove { text-align: right; }
}

/* ============ About page ============ */
/* Tighter section rhythm than the homepage (96px felt too airy for a content
   page); scoped to the About page so the homepage cadence is untouched. */
body.page-id-25 .bm-section { padding: var(--space-3xl) 0; }
/* Solutions (#3880) + Pricing (#3881): same tightened section rhythm as the
   other content pages (was the default 96px). */
body.page-id-3880 .bm-section, body.page-id-3881 .bm-section { padding: var(--space-3xl) 0; }

/* Intro: faint blueprint grid behind the headline, fading out — ties the page
   to the homepage hero without the full coordinate-target visual. */
.bm-about-intro { position: relative; overflow: hidden; background: var(--surface-base); }
.bm-about-intro::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-grid) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 80% at 20% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 20% 30%, #000 10%, transparent 70%);
  pointer-events: none;
}
.bm-about-intro .bm-container { position: relative; }

/* Founder: portrait left, bio right. Headings reuse the section-head scale. */
.bm-about-founder { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: var(--space-3xl); align-items: center; }
/* Founder photo: framed full-colour, amber rule anchors it to the brand. */
.bm-about-media figure { margin: 0; }
.bm-about-media img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  border-top: 3px solid var(--accent-amber);
}
.bm-about-caption {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-tertiary);
  letter-spacing: 0.04em; margin-top: var(--space-md); padding-left: 2px;
}
.bm-about-body h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: var(--space-xs); }
.bm-about-role { font-size: 14px; color: var(--accent-amber-hover); letter-spacing: 0.04em; margin-bottom: var(--space-lg); }
.bm-about-body p { font-size: 16px; color: var(--ink-secondary); line-height: 1.65; margin-bottom: var(--space-lg); }

/* Expertise: focused capability chips (swapped in for the old resume bullets) */
.bm-about-expertise-label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-tertiary); margin-bottom: var(--space-sm); }
.bm-about-tags { list-style: none; margin: 0 0 var(--space-lg); padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bm-about-tags li {
  font-family: var(--font-mono); font-size: 13px; color: var(--ink-primary);
  background: var(--surface-base); border: 1px solid var(--line-divider);
  border-radius: 100px; padding: 7px 14px; line-height: 1; letter-spacing: 0.01em;
}
.bm-section-raised .bm-about-tags li { background: #fff; }
/* Trust marker: real Autodesk App Store presence */
.bm-about-trust { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-primary); }
.bm-about-trust::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-amber); flex: none; }

/* Learn band: text + CTA side by side */
.bm-about-learn { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--space-2xl); align-items: center; }
.bm-about-learn-text h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: var(--space-md); }
.bm-about-learn-text p { font-size: 16px; color: var(--ink-secondary); line-height: 1.6; max-width: 560px; }
.bm-about-learn-cta { justify-self: end; }

@media (max-width: 900px) {
  .bm-about-founder { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .bm-about-media { max-width: 360px; }
  .bm-about-learn { grid-template-columns: 1fr; gap: var(--space-lg); }
  .bm-about-learn-cta { justify-self: start; }
}

/* ============ Contact page ============ */
/* Same tightened rhythm as the About page. */
body.page-id-27 .bm-section { padding: var(--space-3xl) 0; }
/* In an intro, the section-head is the section's only content, so its 48px
   bottom margin (meant to separate a heading from following content) is dead
   space above the next section. Drop it + trim the intro's bottom padding.
   Applies to both content-page intros (About + Contact) so they match. */
.bm-section.bm-about-intro { padding-bottom: var(--space-2xl); }
.bm-about-intro .bm-section-head { margin-bottom: 0; }

.bm-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.bm-contact-card { display: flex; flex-direction: column; background: var(--surface-base); border: 1px solid var(--line-divider); border-radius: var(--radius-lg); padding: var(--space-xl); box-shadow: var(--shadow-card); }
.bm-section-raised .bm-contact-card { background: #fff; }
.bm-contact-icon { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--surface-sunken); color: var(--ink-primary); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-md); }
.bm-contact-icon svg { width: 22px; height: 22px; }
.bm-contact-label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-tertiary); margin-bottom: var(--space-xs); }
.bm-contact-value { font-size: 18px; font-weight: 600; color: var(--ink-primary); word-break: break-word; line-height: 1.3; }
a.bm-contact-value { transition: color var(--t-fast); }
a.bm-contact-value:hover { color: var(--accent-amber-hover); }
.bm-contact-note { font-size: 14px; color: var(--ink-secondary); line-height: 1.55; margin: var(--space-sm) 0 0; }
.bm-contact-card .bm-link { margin-top: var(--space-md); }

.bm-contact-help { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.bm-contact-help li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink-primary); line-height: 1.5; }
.bm-contact-help li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: var(--accent-amber); border-radius: 2px; }

@media (max-width: 900px) { .bm-contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .bm-contact-help { grid-template-columns: 1fr; } }

/* Form + sidebar layout */
.bm-contact-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: var(--space-3xl); align-items: start; }
.bm-contact-form > h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -0.01em; margin-bottom: var(--space-xs); }
.bm-contact-form-sub { font-size: 15px; color: var(--ink-secondary); line-height: 1.6; margin-bottom: var(--space-xl); max-width: 520px; }
.bm-contact-aside { display: flex; flex-direction: column; gap: var(--space-lg); }
.bm-contact-aside-item { padding-bottom: var(--space-lg); border-bottom: 1px solid var(--line-divider); }
.bm-contact-aside-item:last-child { padding-bottom: 0; border-bottom: none; }
.bm-contact-aside-item .bm-contact-value { font-size: 16px; }
.bm-contact-aside-item .bm-link { margin-top: var(--space-sm); }

/* Brand-style Contact Form 7 to the Precision tokens (CF7 ships unstyled) */
.bm-contact-form .wpcf7 p { margin: 0 0 var(--space-md); }
.bm-contact-form .wpcf7 label { font-size: 14px; font-weight: 600; color: var(--ink-primary); display: block; }
.bm-cf7-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.bm-cf7-row .bm-cf7-col { margin: 0; }
.bm-contact-form .wpcf7-form-control.wpcf7-text,
.bm-contact-form .wpcf7-form-control.wpcf7-textarea,
.bm-contact-form input[type="text"],
.bm-contact-form input[type="email"],
.bm-contact-form textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px; font-size: 15px; font-family: var(--font-sans);
  color: var(--ink-primary); background: #fff; border: 1px solid var(--line-divider);
  border-radius: var(--radius-sm); box-sizing: border-box;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.bm-contact-form .wpcf7-form-control:focus,
.bm-contact-form input:focus, .bm-contact-form textarea:focus {
  outline: none; border-color: var(--accent-amber); box-shadow: 0 0 0 3px rgba(245,182,0,0.18);
}
.bm-contact-form textarea.wpcf7-textarea { min-height: 130px; resize: vertical; }
.bm-contact-form .bm-cf7-file input[type="file"] { margin-top: 6px; font-size: 14px; color: var(--ink-secondary); }
.bm-contact-form .bm-cf7-hint { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-tertiary); }
.bm-contact-form .bm-cf7-accept label { font-weight: 400; font-size: 14px; color: var(--ink-secondary); line-height: 1.5; }
.bm-contact-form .wpcf7-list-item { margin: 0; }
.bm-contact-form .wpcf7-submit {
  background: var(--accent-amber); color: var(--ink-primary); border: none;
  border-radius: var(--radius-sm); padding: 14px 28px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background var(--t-fast);
}
.bm-contact-form .wpcf7-submit:hover { background: var(--accent-amber-hover); }
.bm-contact-form .wpcf7-spinner { margin: 0 0 0 12px; }
.bm-contact-form .wpcf7-response-output { margin: var(--space-md) 0 0; border-radius: var(--radius-sm); font-size: 14px; }
.bm-contact-form .wpcf7-not-valid-tip { color: #c0392b; font-size: 12px; }
@media (max-width: 600px) { .bm-cf7-row { grid-template-columns: 1fr; gap: 0; } }

/* Contact switcher — Send a message / Book a call toggle */
.bm-contact-switch { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface-sunken); border-radius: var(--radius-md); margin-bottom: var(--space-2xl); }
.bm-switch-btn { display: inline-flex; align-items: center; gap: 8px; border: none; background: transparent; color: var(--ink-secondary); font-family: var(--font-sans); font-size: 15px; font-weight: 600; padding: 10px 18px; border-radius: var(--radius-sm); cursor: pointer; transition: background var(--t-fast), color var(--t-fast); }
.bm-switch-btn svg { width: 16px; height: 16px; }
.bm-switch-btn:hover:not(.is-active) { color: var(--ink-primary); }
.bm-switch-btn.is-active { background: var(--surface-base); color: var(--ink-primary); box-shadow: var(--shadow-card); }
.bm-switch-panel[hidden] { display: none; }
@media (max-width: 600px) { .bm-contact-switch { display: flex; } .bm-switch-btn { flex: 1; justify-content: center; padding: 10px 12px; } }

/* Booking (FluentBooking) — centered heading + contained, carded widget */
.bm-booking-head { margin-left: auto; margin-right: auto; text-align: center; }
.bm-booking { max-width: 920px; margin: 0 auto; background: var(--surface-base); border: 1px solid var(--line-divider); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: var(--space-lg); overflow: hidden; }
/* Amber brand — override FluentBooking's blue primary (vars on the widget root + button fallbacks) */
.bm-booking .fcal_cal_wrap { --fcal_primary_color: #F5B600; --el-color-primary: #F5B600; --el-color-primary-light-3: #F5B600; --el-color-primary-light-5: #FBE6A6; --el-color-primary-light-7: #FDF2CC; }
.bm-booking .fcal_primary_btn, .bm-booking .el-button--primary { background-color: #F5B600 !important; border-color: #F5B600 !important; color: #0B1B3A !important; }
.bm-booking .fcal_primary_btn:hover, .bm-booking .el-button--primary:hover { background-color: #D89C00 !important; border-color: #D89C00 !important; color: #0B1B3A !important; }
.bm-booking .fcal_cal_wrap a { color: #D89C00; }

@media (max-width: 900px) {
  .bm-contact-layout { grid-template-columns: 1fr; gap: var(--space-2xl); }
}

/* =========================================================================
 * ORDER RECEIVED / THANK-YOU — brand pass (CSS only; NO template override, so
 * every WooCommerce + Elite Licenser hook that prints licence keys + download
 * links on this page stays intact). Scoped to the order-received endpoint.
 * ====================================================================== */
/* Center + constrain the (otherwise sparse, full-width) confirmation content */
body.woocommerce-order-received .woocommerce-order { max-width: 820px; margin: 0 auto; }

/* "Thank you. Your order has been received." → branded confirmation banner.
   Scoped to the body class (not .woocommerce-order) because in the guest
   login-gate state WooCommerce prints this message outside that wrapper. The
   body-class selector also out-specifies Blocksy's default notice styling. */
body.woocommerce-order-received .woocommerce-thankyou-order-received {
  background: var(--ink-primary); color: #fff;
  border-radius: var(--radius-lg); border-left: 4px solid var(--accent-amber);
  padding: 22px 26px 22px 58px; position: relative;
  font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
  margin-bottom: var(--space-2xl);
}
body.woocommerce-order-received .woocommerce-thankyou-order-received::before {
  content: "\2713"; position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; line-height: 26px; text-align: center;
  background: var(--accent-amber); color: var(--ink-primary);
  border-radius: 50%; font-size: 15px; font-weight: 700;
}

/* Order overview (number · date · email · total · payment method) → card row */
.woocommerce-order ul.woocommerce-order-overview {
  list-style: none; margin: 0 0 var(--space-2xl); padding: var(--space-lg) var(--space-xl);
  background: var(--surface-base); border: 1px solid var(--line-divider);
  border-radius: var(--radius-lg);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-lg);
}
.woocommerce-order ul.woocommerce-order-overview li {
  border: none; border-left: 1px solid var(--line-divider); padding: 0 0 0 var(--space-lg);
  text-transform: uppercase; font-size: 11px; letter-spacing: 0.08em; font-weight: 600;
  color: var(--ink-tertiary);
}
.woocommerce-order ul.woocommerce-order-overview li:first-child { border-left: none; padding-left: 0; }
.woocommerce-order ul.woocommerce-order-overview li strong {
  display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 16px;
  font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-primary);
}

/* Section titles ("Order details" · "Downloads" · "...customer details") */
.woocommerce-order h2 {
  font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-secondary); margin-bottom: var(--space-md);
}

/* Downloads + customer details — give them room; the download .button is already
   amber from the funnel pass. (Licence keys render inside these via plugin hooks.) */
.woocommerce-order .woocommerce-order-downloads,
.woocommerce-order .woocommerce-customer-details { margin-top: var(--space-2xl); }
.woocommerce-order .woocommerce-customer-details address {
  border: 1px solid var(--line-divider); border-radius: var(--radius-lg);
  padding: var(--space-lg); font-style: normal; color: var(--ink-primary); line-height: 1.6;
}

@media (max-width: 600px) {
  .woocommerce-order ul.woocommerce-order-overview { grid-template-columns: 1fr 1fr; }
  .woocommerce-order ul.woocommerce-order-overview li { border-left: none; padding-left: 0; }
}

/* =========================================================================
 * MY ACCOUNT (logged-out) — "why create an account" benefits band + trust line
 * appended below the Login/Register forms (see inc/account-customizations.php).
 * ====================================================================== */
.bm-account-benefits { max-width: 1000px; margin: var(--space-3xl) auto 0; padding-top: var(--space-2xl); border-top: 1px solid var(--line-divider); }
.bm-account-benefits > h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink-primary); margin-bottom: var(--space-xl); text-align: center; }
.bm-account-benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.bm-account-benefit { background: var(--surface-base); border: 1px solid var(--line-divider); border-top: 3px solid var(--accent-amber); border-radius: var(--radius-lg); padding: var(--space-lg); }
.bm-account-benefit h3 { font-size: 16px; font-weight: 600; color: var(--ink-primary); margin-bottom: var(--space-xs); }
.bm-account-benefit p { font-size: 14px; color: var(--ink-secondary); line-height: 1.55; margin: 0; }
.bm-account-benefits-trust { text-align: center; font-size: 13px; color: var(--ink-tertiary); margin-top: var(--space-xl); }
.bm-account-benefits-trust a { color: var(--ink-secondary); text-decoration: underline; }
.bm-account-benefits-trust a:hover { color: var(--accent-amber-hover); }
@media (max-width: 768px) { .bm-account-benefits-grid { grid-template-columns: 1fr; } }

/* =========================================================================
 * CONTACT FORM — custom file-upload control. Replaces the browser-native,
 * locale-dependent file button ("Durchsuchen"/"Browse"/"Choose File") with an
 * on-brand, translatable label button. The native input is visually hidden but
 * still opens the picker (the label wraps it). Filename JS: inc/contact-form-ui.php.
 * ====================================================================== */
.bm-cf7-file .bm-cf7-file-label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-primary); margin-bottom: 6px; }
/* Amber control matching the "Send message" CTA, sized to its content (the
   `.bm-contact-form .wpcf7 label { display:block }` rule forced full width — the
   3-class selector below out-specifies it). */
.bm-contact-form .bm-cf7-file .bm-cf7-file-btn { display: inline-flex; width: auto; align-items: center; background: var(--accent-amber); color: var(--ink-primary); border: none; border-radius: var(--radius-sm); padding: 12px 22px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background var(--t-fast); }
.bm-contact-form .bm-cf7-file .bm-cf7-file-btn:hover { background: var(--accent-amber-hover); }
/* visually hide the native file input (keep it operable — the label opens the picker) */
.bm-cf7-file-btn .wpcf7-form-control-wrap,
.bm-cf7-file-btn input[type="file"] { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bm-cf7-file-name { display: inline-block; margin-left: 12px; font-size: 14px; color: var(--ink-secondary); }
@media (max-width: 600px) { .bm-cf7-file-name { display: block; margin: 8px 0 0; } }

/* =========================================================================
 * PRODUCT GALLERY — hero shows the first 6 thumbs; the "+N" tile opens the
 * GLightbox gallery of ALL images (extra thumbs are in the DOM for the
 * lightbox but hidden from the strip). See woocommerce/single-product.php + product.js.
 * ====================================================================== */
.bm-product-thumbs .bm-thumb-extra { display: none; }
.bm-product-thumbs .bm-thumb-more { width: 60px; height: 60px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-divider); border-radius: var(--radius-sm); background: var(--surface-raised); color: var(--ink-secondary); font-family: var(--font-mono); font-size: 14px; font-weight: 600; cursor: pointer; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.bm-product-thumbs .bm-thumb-more:hover { background: var(--accent-amber); color: var(--ink-primary); border-color: var(--accent-amber); }

/* ============ Social login (D-006 scaffold) ============ */
.bm-social-login { max-width: 720px; margin: 0 auto var(--space-2xl); text-align: center; }
.bm-social-login__title { font-size: 20px; font-weight: 600; color: var(--ink-primary); margin: 0 0 var(--space-lg); }
.bm-social-login__buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.bm-social-btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-width: 240px; justify-content: center;
  padding: 12px 20px; border: 1px solid var(--line-strong, #d3d8e0); border-radius: var(--radius-md, 8px);
  background: #fff; color: var(--ink-primary); font-weight: 600; font-size: 15px;
  text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .05s ease;
}
.bm-social-btn:hover { border-color: var(--ink-primary); box-shadow: var(--shadow-card, 0 2px 10px rgba(11,27,58,0.08)); }
.bm-social-btn:active { transform: translateY(1px); }
.bm-social-btn svg { flex: 0 0 auto; }
.bm-social-login__divider { display: flex; align-items: center; gap: 14px; margin: var(--space-xl) auto 0; color: var(--ink-secondary); font-size: 13px; }
.bm-social-login__divider::before, .bm-social-login__divider::after { content: ""; flex: 1; height: 1px; background: var(--line-divider); }
@media (max-width: 600px) { .bm-social-btn { min-width: 0; width: 100%; } }

/* ============ My Account login/register — professional card layout ============ */
/* Center + constrain the whole logged-out account area so social block, divider
   and the login/register cards read as one cohesive column. */
.woocommerce-account .bm-social-login,
.woocommerce-account #customer_login { max-width: 860px; margin-left: auto; margin-right: auto; }
.bm-social-login { max-width: 860px; }

#customer_login.u-columns {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl);
  align-items: start;
}
#customer_login .u-column1, #customer_login .u-column2 {
  width: auto !important; float: none !important; margin: 0 !important;
  background: #fff;
  border: 1px solid var(--line-divider);
  border-radius: var(--radius-md, 10px);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-card, 0 2px 12px rgba(11,27,58,0.06));
}
/* kill any theme vertical divider between the two columns (the gap separates them) */
#customer_login::before, #customer_login::after { display: none !important; }
#customer_login h2 { margin-top: 0; margin-bottom: var(--space-lg); font-size: 22px; }
#customer_login .woocommerce-form-row--first { width: 48%; float: left; }
#customer_login .woocommerce-form-row--last { width: 48%; float: right; }
#customer_login .register .clear { clear: both; }
@media (max-width: 768px) {
  #customer_login.u-columns { grid-template-columns: 1fr; }
  #customer_login .woocommerce-form-row--first,
  #customer_login .woocommerce-form-row--last { width: 100%; float: none; }
}

/* ============ Mobile offcanvas menu width ============ */
/* Blocksy opens the mobile/hamburger side panel at 65vw (tablet) / 90vw (phone) —
   ~75% of the screen, far wider than the short Products·About·Contact menu needs.
   Cap it to a readable fixed width on tablets/desktops, near-full on phones:
     min(340px, 90vw) -> 340px once the viewport is >~378px, else 90vw. */
[data-header] #offcanvas { --side-panel-width: min(340px, 90vw) !important; }

/* ===== Order withdrawal (My Account) ===== */
.bm-withdraw-row { margin-top: 16px; }
.bm-withdraw-note { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-secondary); }
.bm-withdraw-done { color: #1a7f4b; font-weight: 600; }
.woocommerce-button.bm_withdraw, a.bm_withdraw.button { background: transparent; color: var(--ink-primary); border: 1.5px solid var(--ink-primary); }
.woocommerce-button.bm_withdraw:hover, a.bm_withdraw.button:hover { background: var(--ink-primary); color: #fff; }

/* Login page: "Create your account" CTA (WC registration is consolidated to UM) */
.bm-account-register-cta { margin: 18px 0 8px; font-size: 15px; color: var(--ink-secondary); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Checkout "Your order" review — generous breathing room (override theme/WC defaults) */
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table th,
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td { padding: 22px 16px !important; vertical-align: top; }
.woocommerce-checkout-review-order-table thead th { padding-top: 18px !important; padding-bottom: 18px !important; }
.woocommerce-checkout-review-order-table tbody .cart_item td { padding-top: 28px !important; padding-bottom: 28px !important; line-height: 1.7; }
.woocommerce-checkout-review-order-table tbody .cart_item .product-name { line-height: 1.7; }
.woocommerce-checkout-review-order-table .product-name img { margin-bottom: 8px; }
.woocommerce-checkout-review-order-table .product-name .variation,
.woocommerce-checkout-review-order-table .product-name dl.variation { margin: 10px 0 0 !important; line-height: 1.8; }
.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td { padding-top: 20px !important; padding-bottom: 20px !important; }

/* ============================================================
   Workflow AI purchase page ([bm_workflow_ai]) — STAGING review
   Scoped under .bm-wai; reuses brand tokens + existing bm- cards.
   ============================================================ */
.bm-wai .bm-wai-block { margin-top: var(--space-3xl, 64px); }
.bm-wai .bm-wai-block .bm-section-head { margin-left: auto; margin-right: auto; text-align: center; }

/* Subscription + top-up side by side */
.bm-wai-sub-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: stretch; }
@media (max-width: 900px) { .bm-wai-sub-grid { grid-template-columns: 1fr; } }

.bm-btn-disabled { opacity: 0.55; pointer-events: none; cursor: default; }
.bm-wai-soon { display: block; text-align: center; margin-top: 8px; font-size: 12px; color: var(--ink-tertiary); }

/* Optional top-up panel */
.bm-wai-topup { background: var(--surface-raised); border: 1px solid var(--line-divider); border-radius: var(--radius-lg); padding: var(--space-xl); display: flex; flex-direction: column; }
.bm-wai-topup-intro { font-size: 14px; color: var(--ink-secondary); line-height: 1.55; margin: 6px 0 var(--space-lg); }
.bm-wai-packs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 1100px) { .bm-wai-packs { grid-template-columns: repeat(4, 1fr); } }
.bm-wai-pack { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px 12px; background: var(--surface-base); border: 1px solid var(--line-divider); border-radius: var(--radius-md); cursor: pointer; transition: border-color var(--t-fast); }
.bm-wai-pack:hover { border-color: #4DD8FF; }
.bm-wai-pack input { position: absolute; top: 10px; right: 10px; accent-color: var(--accent-amber); }
.bm-wai-pack.is-selected, .bm-wai-pack:has(input:checked) { border-color: var(--ink-primary); background: rgba(245, 182, 0, 0.06); }
.bm-wai-pack-amt { font-family: var(--font-mono); font-size: 18px; font-weight: 600; color: var(--ink-primary); }
.bm-wai-pack-note { font-size: 11px; color: var(--ink-secondary); }
.bm-wai-topup-fine { margin-top: var(--space-md); font-size: 12px; color: var(--ink-tertiary); }

/* How credits work */
.bm-wai-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
@media (max-width: 720px) { .bm-wai-points { grid-template-columns: 1fr; } }
.bm-wai-point { background: var(--surface-base); border: 1px solid var(--line-divider); border-left: 3px solid var(--accent-amber); border-radius: var(--radius-lg); padding: var(--space-xl); }
.bm-wai-point h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.bm-wai-point p { font-size: 14px; color: var(--ink-secondary); line-height: 1.6; }

/* Speed/quality tiers */
.bm-wai-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
@media (max-width: 900px) { .bm-wai-tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .bm-wai-tiers { grid-template-columns: 1fr; } }
.bm-wai-tier { position: relative; background: var(--surface-base); border: 1px solid var(--line-divider); border-radius: var(--radius-lg); padding: var(--space-xl); }
.bm-wai-tier.is-default { border: 2px solid var(--ink-primary); }
.bm-wai-tier-flag { position: absolute; top: -10px; left: 18px; background: var(--accent-amber); color: var(--ink-primary); font-family: var(--font-mono); font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 3px; letter-spacing: 0.08em; text-transform: uppercase; }
.bm-wai-tier h3 { font-size: 20px; font-weight: 600; margin-bottom: 2px; }
.bm-wai-tier-tag { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-amber-hover, var(--ink-secondary)); margin-bottom: var(--space-sm); }
.bm-wai-tier p { font-size: 13px; color: var(--ink-secondary); line-height: 1.55; }

/* Mock store-credit / discount wallet */
.bm-wai-wallet { position: relative; max-width: 640px; margin: 0 auto; background: var(--surface-raised); border: 1px dashed var(--ink-tertiary); border-radius: var(--radius-lg); padding: var(--space-2xl) var(--space-xl) var(--space-xl); }
.bm-wai-mock-tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--ink-primary); color: #fff; font-family: var(--font-mono); font-size: 10px; font-weight: 700; padding: 4px 12px; border-radius: 3px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.bm-wai-wallet h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.bm-wai-wallet > p { font-size: 14px; color: var(--ink-secondary); line-height: 1.6; margin-bottom: var(--space-lg); }
.bm-wai-wallet-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line-divider); border-bottom: 1px solid var(--line-divider); }
.bm-wai-wallet-balance { font-size: 14px; color: var(--ink-primary); }
.bm-wai-wallet-balance strong { font-family: var(--font-mono); }
.bm-wai-wallet-toggle { font-size: 14px; color: var(--ink-secondary); display: inline-flex; align-items: center; gap: 6px; }
.bm-wai-wallet-code { display: flex; gap: 8px; margin-top: var(--space-lg); }
.bm-wai-wallet-code input { flex: 1; padding: 10px 12px; border: 1px solid var(--line-divider); border-radius: var(--radius-md); font-size: 14px; background: var(--surface-base); color: var(--ink-secondary); }
.bm-wai-wallet-code .bm-btn { white-space: nowrap; }

/* Workflow AI v2 (2026-06-23) — adjustable top-up amount + online-only note */
.bm-wai-topup-amount { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: var(--space-md); }
.bm-wai-amount-field { display: inline-flex; align-items: center; background: var(--surface-base); border: 1px solid var(--line-divider); border-radius: var(--radius-md); padding: 4px 12px; }
.bm-wai-amount-field:focus-within { border-color: var(--ink-primary); }
.bm-wai-amount-cur { font-family: var(--font-mono); font-size: 20px; color: var(--ink-secondary); margin-right: 4px; }
.bm-wai-amount-field input { width: 90px; border: 0; background: transparent; font-family: var(--font-mono); font-size: 22px; font-weight: 600; color: var(--ink-primary); padding: 6px 0; }
.bm-wai-amount-field input:focus { outline: none; }
.bm-wai-amount-hint { font-size: 12px; color: var(--ink-tertiary); }

.bm-wai-quickpicks { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: var(--space-md); }
.bm-wai-quickpicks-label { font-size: 12px; color: var(--ink-secondary); }
.bm-wai-chip { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--ink-primary); background: var(--surface-base); border: 1px solid var(--line-divider); border-radius: 999px; padding: 6px 14px; cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.bm-wai-chip:hover { border-color: #4DD8FF; }
.bm-wai-chip.is-active, .bm-wai-chip.is-default { border-color: var(--ink-primary); background: rgba(245, 182, 0, 0.08); }
.bm-wai-chip.is-active { box-shadow: inset 0 0 0 1px var(--ink-primary); }
.bm-wai-chip-note { font-family: var(--font-sans); font-weight: 400; color: var(--ink-secondary); font-size: 11px; }

/* Online-activation note (Workflow AI is server-orchestrated — online only) */
.bm-wai-online-note { display: flex; align-items: flex-start; gap: 8px; max-width: 720px; margin: var(--space-lg) auto 0; padding: 12px 18px; background: var(--surface-raised); border: 1px solid var(--line-divider); border-left: 3px solid #4DD8FF; border-radius: var(--radius-md); font-size: 13px; color: var(--ink-secondary); line-height: 1.55; text-align: left; }
.bm-wai-online-dot { flex-shrink: 0; width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: #4DD8FF; box-shadow: 0 0 0 3px rgba(77, 216, 255, 0.25); }

/* ── Workflow AI — auto-reload mock (added 2026-06-23, handoff Session 33 cont.) ── */
.bm-wai-autoreload { position: relative; max-width: 640px; margin: 0 auto; background: var(--surface-raised); border: 1px dashed var(--ink-tertiary); border-radius: var(--radius-lg); padding: var(--space-2xl) var(--space-xl) var(--space-xl); }
.bm-wai-autoreload h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.bm-wai-autoreload > p { font-size: 14px; color: var(--ink-secondary); line-height: 1.6; margin-bottom: var(--space-lg); }
.bm-wai-ar-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-primary); margin-bottom: var(--space-md); }
.bm-wai-ar-rule { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0; font-size: 14px; color: var(--ink-secondary); }
.bm-wai-ar-field { display: inline-flex; align-items: center; background: var(--surface-base); border: 1px solid var(--line-divider); border-radius: var(--radius-md); padding: 2px 10px; }
.bm-wai-ar-field .cur { font-family: var(--font-mono); color: var(--ink-secondary); margin-right: 2px; }
.bm-wai-ar-field input { width: 56px; border: 0; background: transparent; font-family: var(--font-mono); font-size: 16px; font-weight: 600; color: var(--ink-primary); padding: 4px 0; text-align: center; }
.bm-wai-ar-field input:disabled { -webkit-text-fill-color: var(--ink-primary); opacity: 1; }
.bm-wai-wallet-cap { font-size: 12px; color: var(--ink-tertiary); margin: 8px 0 var(--space-md); }

/* ── Header "Howdy, {name}" greeting for logged-in users (added 2026-06-23) ── */
.bm-hdr-acc { gap: 6px; }
.bm-hdr-acc-name { font-size: 13px; font-weight: 500; white-space: nowrap; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 999px) { .bm-hdr-acc-name { display: none; } } /* icon-only on mobile/tablet */

/* ── My Account order + download tables: inner L/R padding so content isn't flush to the border (added 2026-06-23) ── */
.woocommerce-account .woocommerce-MyAccount-content table.shop_table th:first-child,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table td:first-child { padding-left: 20px; }
.woocommerce-account .woocommerce-MyAccount-content table.shop_table th:last-child,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table td:last-child { padding-right: 20px; }
