/* All guide styling is scoped. Header, footer, product cards elsewhere and checkout are unchanged. */
body.bjmc-page { background: #fafbf7; }
body.bjmc-page .bjmc-shell { width: min(1600px, calc(100% - 64px)); max-width: 1600px; margin: 0 auto; padding-top: 28px; padding-bottom: 68px; }
.bjmc-page-heading { margin: 0 0 16px; color: #173e30; }
.bjmc-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 27px; color: #657367; font-size: 12px; }
.bjmc-breadcrumb a { color: inherit; text-decoration: none; }
.bjmc-eyebrow { margin: 0 0 8px; color: #85642c; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.bjmc-page-heading h1 { margin: 0; color: #153c2e; font-size: clamp(32px, 3.6vw, 54px); font-weight: 750; line-height: 1.12; letter-spacing: -.035em; }
.bjmc-app { --bjmc-ink: #183e31; --bjmc-muted: #617064; --bjmc-line: #dce6d9; --bjmc-sticky-top: 110px; --bjmc-anchor-offset: 145px; color: var(--bjmc-ink); font-family: inherit; line-height: 1.65; }
.bjmc-app *, .bjmc-app *::before, .bjmc-app *::after { box-sizing: border-box; }
.bjmc-app [hidden] { display: none !important; }
.bjmc-app .bjmc-intro { max-width: 85ch; margin: 0 0 17px; color: #52675a; font-size: clamp(15px, 1.1vw, 18px); line-height: 1.75; }
.bjmc-app .bjmc-intro-meta { display: flex; gap: 12px 25px; flex-wrap: wrap; margin: 0 0 30px; color: #536c57; font-size: 12px; }
.bjmc-app .bjmc-intro-meta > span { display: inline-flex; align-items: center; gap: 7px; }
.bjmc-icon { display: block; flex: 0 0 22px; }
.bjmc-app .bjmc-intro-meta .bjmc-icon { width: 16px; height: 16px; flex-basis: 16px; }
.bjmc-app .bjmc-layout { display: grid; grid-template-columns: 256px minmax(0, 1fr); align-items: start; gap: clamp(24px, 3vw, 48px); }
.bjmc-app .bjmc-sidebar { position: sticky; top: var(--bjmc-sticky-top); min-width: 0; z-index: 10; }
.bjmc-app .bjmc-sidebar-drawer { margin: 0; padding: 0; border: 1px solid var(--bjmc-line); border-radius: 16px; background: #fff; box-shadow: 0 8px 24px #183e3105; }
.bjmc-app .bjmc-sidebar-drawer > summary { display: none; }
.bjmc-app .bjmc-side-content { display: flex; flex-direction: column; max-height: calc(100dvh - var(--bjmc-sticky-top) - 20px); padding: 18px 15px; overflow: hidden; }
.bjmc-app .bjmc-filters { display: block; flex-shrink: 0; min-width: 0; margin: 0 0 17px; padding: 0 0 16px; border: 0; border-bottom: 1px solid var(--bjmc-line); }
.bjmc-app .bjmc-filters legend { padding: 0 0 11px; font-size: 13px; font-weight: 750; }
.bjmc-app .bjmc-filters label { display: block; margin: 0 0 10px; color: #506655; font-size: 11px; font-weight: 600; }
.bjmc-app .bjmc-filters input[type="search"], .bjmc-app .bjmc-filters select { display: block; width: 100%; height: 40px; min-width: 0; margin: 5px 0 0; padding: 8px 10px; border: 1px solid #d6e1d2; border-radius: 8px; background-color: #fcfdfa; color: #294733; font-family: inherit; font-size: 12px; line-height: 1.35; }
.bjmc-app .bjmc-filters .bjmc-checkbox { display: flex; align-items: center; gap: 7px; min-height: 30px; margin: 0; font-size: 12px; font-weight: 500; }
.bjmc-app .bjmc-checkbox input { width: 16px; height: 16px; margin: 0; accent-color: #23573b; }
.bjmc-app .bjmc-reset, .bjmc-app .bjmc-empty button { padding: 3px 0; border: 0; border-radius: 0; background: none; color: #426048; font-family: inherit; font-size: 11px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bjmc-app .bjmc-nav { min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #bacbb8 transparent; overscroll-behavior: contain; }
.bjmc-app .bjmc-nav-group { margin: 15px 8px 6px; color: #75806e; font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.bjmc-app .bjmc-nav a { display: flex; align-items: center; gap: 8px; min-height: 35px; margin: 2px 0; padding: 7px 8px; border-radius: 8px; color: #48604c; font-size: 11.5px; font-weight: 500; line-height: 1.4; text-decoration: none; }
.bjmc-app .bjmc-nav .bjmc-icon { width: 17px; height: 17px; flex-basis: 17px; color: #70836b; }
.bjmc-app .bjmc-nav a:hover { background: #f3f7ef; color: #18462c; }
.bjmc-app .bjmc-nav a[aria-current="location"] { background: #eaf2e2; color: #173f2a; font-weight: 750; box-shadow: inset 3px 0 #507342; }
.bjmc-app .bjmc-nav a[aria-current="location"] .bjmc-icon { color: #335a2d; }
.bjmc-app .bjmc-content { min-width: 0; }
.bjmc-app .bjmc-filter-status { margin: 0 0 15px; color: #788273; font-size: 11px; }
.bjmc-app .bjmc-section { min-width: 0; margin: 0 0 32px; padding: clamp(20px, 2.2vw, 30px); border: 1px solid var(--bjmc-line); border-radius: 18px; background: #fff; scroll-margin-top: var(--bjmc-anchor-offset); }
.bjmc-app .bjmc-section-heading { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.bjmc-app .bjmc-section-icon { display: flex; flex: 0 0 42px; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: #f1eddf; color: #7c6539; }
.bjmc-app .bjmc-kicker { margin: 0 0 3px; color: #7b8272; font-size: 10px; font-weight: 650; letter-spacing: .055em; text-transform: uppercase; }
.bjmc-app h2 { margin: 0; color: #1c432f; font-size: clamp(20px, 1.8vw, 27px); font-weight: 750; line-height: 1.25; letter-spacing: -.025em; }
.bjmc-app .bjmc-section p { max-width: 88ch; margin: 0 0 13px; color: #516658; font-size: 14px; line-height: 1.75; }
.bjmc-app .bjmc-section .bjmc-kicker { margin-bottom: 3px; font-size: 10px; line-height: 1.5; }
.bjmc-app .bjmc-section .bjmc-tip { margin: 0 0 21px; padding-left: 12px; border-left: 2px solid #d6c59c; color: #7b755d; font-size: 12px; line-height: 1.65; }
.bjmc-app .bjmc-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 13px; }
.bjmc-app .bjmc-card { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 15px; border: 1px solid #e3e9df; border-radius: 12px; background: #fcfdf9; }
.bjmc-app .bjmc-card-top { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 11px; margin-bottom: 13px; }
.bjmc-app .bjmc-card-top img { display: block; width: 64px; height: 72px; margin: 0; border-radius: 7px; background: #fff; object-fit: contain; }
.bjmc-app .bjmc-taste { display: inline-block; margin-bottom: 5px; color: #7c6e46; font-size: 9px; font-weight: 600; line-height: 1.4; }
.bjmc-app .bjmc-card h3 { margin: 0 0 4px; color: #224530; font-size: 14px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.bjmc-app .bjmc-weight { color: #74806e; font-size: 10px; }
.bjmc-app .bjmc-card .bjmc-pairings { margin: 0 0 14px; color: #77816d; font-size: 11px; line-height: 1.5; }
.bjmc-app .bjmc-card .bjmc-card-description { margin: 0 0 14px; font-size: 13px; line-height: 1.75; }
.bjmc-app .bjmc-card-bottom { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 7px; margin-top: auto; padding-top: 12px; border-top: 1px solid #e9ede4; }
.bjmc-app .bjmc-price { display: block; color: #244a31; font-size: 18px; font-weight: 750; line-height: 1.35; }
.bjmc-app .bjmc-price .amount, .bjmc-app .bjmc-price bdi { color: inherit; font-size: inherit; font-weight: inherit; }
.bjmc-app .bjmc-price del { color: #879180; font-size: 11px; font-weight: 400; }
.bjmc-app .bjmc-price ins { background: none; text-decoration: none; }
.bjmc-app .bjmc-stock { display: block; margin-top: 3px; color: #648354; font-size: 9px; }
.bjmc-app .bjmc-stock--unavailable { color: #83654b; }
.bjmc-app .bjmc-product-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 35px; padding: 8px 10px; border: 1px solid #cddbc7; border-radius: 7px; background: #fff; color: #305a38; font-size: 10px; font-weight: 650; line-height: 1.4; text-decoration: none; }
.bjmc-app .bjmc-product-link:hover { border-color: #66835a; background: #eef5e8; color: #1e462b; }
.bjmc-app .bjmc-products--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
.bjmc-app .bjmc-products--catalog .bjmc-card { padding: 19px; }
.bjmc-app .bjmc-products--catalog .bjmc-card-top { grid-template-columns: 78px minmax(0, 1fr); }
.bjmc-app .bjmc-products--catalog .bjmc-card-top img { width: 78px; height: 88px; }
.bjmc-app .bjmc-products--catalog .bjmc-card h3 { font-size: 17px; }
.bjmc-app .bjmc-editorial-note { margin: 4px 0 30px; padding: 21px 25px; border-left: 3px solid #bdad76; border-radius: 0 12px 12px 0; background: #f3efe3; }
.bjmc-app .bjmc-editorial-note strong { font-size: 14px; }
.bjmc-app .bjmc-editorial-note p { max-width: 86ch; margin: 5px 0 0; color: #726d52; font-size: 12px; line-height: 1.75; }
.bjmc-app .bjmc-section--knowledge { padding-bottom: 24px; }
.bjmc-app .bjmc-section--knowledge .bjmc-section-icon { background: #eff3e9; color: #6e8060; }
.bjmc-app .bjmc-research { margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--bjmc-line); }
.bjmc-app .bjmc-research .bjmc-research-summary { max-width: 86ch; margin-bottom: 18px; color: #284d37; font-weight: 600; }
.bjmc-app .bjmc-studies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 17px; }
.bjmc-app .bjmc-study { display: flex; flex-direction: column; min-width: 0; padding: 20px; border: 1px solid #dce6d9; border-radius: 12px; background: #fcfdf9; }
.bjmc-app .bjmc-study:only-child { grid-column: 1 / -1; }
.bjmc-app .bjmc-evidence-badge { align-self: flex-start; max-width: 100%; margin-bottom: 11px; padding: 5px 9px; border-radius: 6px; background: #e8f0e2; color: #36572e; font-size: 11px; font-weight: 700; line-height: 1.5; }
.bjmc-app .bjmc-study--lab .bjmc-evidence-badge { background: #f2ead8; color: #705725; }
.bjmc-app .bjmc-study--null .bjmc-evidence-badge { background: #edf0f2; color: #405463; }
.bjmc-app .bjmc-study--outside .bjmc-evidence-badge { background: #eeece4; color: #625c40; }
.bjmc-app .bjmc-study h3, .bjmc-app .bjmc-study-table h3 { margin: 0 0 10px; color: #244a33; font-size: 18px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.bjmc-app .bjmc-study p { margin-bottom: 12px; font-size: 13px; line-height: 1.75; }
.bjmc-app .bjmc-study .bjmc-study-design { color: #60715f; font-size: 12px; }
.bjmc-app .bjmc-study .bjmc-study-limit { padding-left: 11px; border-left: 2px solid #d7dece; color: #5f6c57; font-size: 12px; }
.bjmc-app .bjmc-study-products { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 9px; margin-top: auto; padding-top: 10px; color: #5b6a55; font-size: 12px; }
.bjmc-app .bjmc-study-products a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: #315a37; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.bjmc-app .bjmc-study-products small { display: block; flex-basis: 100%; color: #697561; font-size: 11px; line-height: 1.6; }
.bjmc-app .bjmc-study-sources { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; padding-top: 10px; border-top: 1px solid #e3e9de; }
.bjmc-app .bjmc-study-sources a, .bjmc-app .bjmc-study-table-source a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: #47663e; font-size: 12px; line-height: 1.6; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.bjmc-app .bjmc-research .bjmc-research-note { margin: 0; color: #63715a; font-size: 12px; line-height: 1.75; }
.bjmc-app .bjmc-study-table { margin: 20px 0; padding: 20px; border: 1px solid #dce6d9; border-radius: 12px; background: #fff; }
.bjmc-app .bjmc-study-table p { font-size: 13px; }
.bjmc-app .bjmc-study-table table { width: 100%; margin: 16px 0; border-collapse: collapse; table-layout: fixed; font-size: 13px; line-height: 1.6; }
.bjmc-app .bjmc-study-table th, .bjmc-app .bjmc-study-table td { padding: 10px 12px; border-bottom: 1px solid #e0e7da; text-align: left; overflow-wrap: anywhere; }
.bjmc-app .bjmc-study-table thead th { background: #eff3e9; color: #36532f; font-size: 12px; font-weight: 700; }
.bjmc-app .bjmc-study-table th:first-child { width: 76%; }
.bjmc-app .bjmc-study-table tbody th { color: #496046; font-weight: 500; }
.bjmc-app .bjmc-study-table td { color: #284a33; font-variant-numeric: tabular-nums; font-weight: 700; }
.bjmc-app .bjmc-study-table .bjmc-study-limit { margin-bottom: 4px; color: #65725b; font-size: 12px; }
.bjmc-app .bjmc-study-table .bjmc-study-table-source { margin: 0; }
.bjmc-app .bjmc-section .bjmc-source-ref { margin: 17px 0 0; padding-top: 12px; border-top: 1px solid #edf0e9; color: #7e8675; font-size: 10px; }
.bjmc-app .bjmc-source-ref a, .bjmc-app .bjmc-section--sources a { color: #4d6b42; text-decoration: underline; text-underline-offset: 3px; }
.bjmc-app .bjmc-section--sources h2 { margin-bottom: 17px; }
.bjmc-app .bjmc-section--sources ul { margin: 16px 0 0; padding-left: 19px; }
.bjmc-app .bjmc-section--sources li { margin-bottom: 8px; padding-left: 3px; font-size: 12px; }
.bjmc-app .bjmc-empty { margin-top: 16px; padding: 18px; border-radius: 10px; background: #f6f8f0; }
.bjmc-app .bjmc-empty button { font-size: inherit; }
.bjmc-app .bjmc-noscript { font-size: 11px; }
.bjmc-app :is(a, button, input, select, summary):focus-visible { outline: 2px solid #78632e; outline-offset: 3px; }
.bjmc-app h2:focus { outline: none; }
.bjmc-app .screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 981px) {
  .bjmc-app .bjmc-layout { grid-template-columns: 226px minmax(0, 1fr); gap: 23px; }
  .bjmc-app .bjmc-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  body.bjmc-page .bjmc-shell { width: calc(100% - 36px); padding-top: 23px; }
  .bjmc-app .bjmc-layout { display: block; }
  .bjmc-app .bjmc-sidebar { margin: 0 0 18px; }
  .bjmc-app .bjmc-sidebar-drawer { border-color: #cdddc6; border-radius: 12px; box-shadow: 0 4px 18px #153c2e0c; }
  .bjmc-app .bjmc-sidebar-drawer > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; margin: 0; padding: 11px 16px; border: 0; border-radius: 12px; background: #fff; color: #254b33; list-style: none; font-size: 12px; font-weight: 700; line-height: 1.4; cursor: pointer; }
  .bjmc-app .bjmc-sidebar-drawer > summary::-webkit-details-marker { display: none; }
  .bjmc-app .bjmc-sidebar-drawer > summary::marker { content: ''; }
  .bjmc-app .bjmc-sidebar-drawer > summary small { display: block; margin-top: 2px; color: #78816d; font-size: 10px; font-weight: 400; }
  .bjmc-app .bjmc-sidebar-drawer > summary > span:last-child { font-size: 18px; }
  .bjmc-app .bjmc-sidebar-drawer[open] > summary { border-bottom: 1px solid #e0e8db; border-radius: 12px 12px 0 0; }
  .bjmc-app .bjmc-side-content { display: block; max-height: max(100px, min(62dvh, calc(100dvh - var(--bjmc-sticky-top) - 80px), 610px)); padding: 16px; overflow-y: auto; overscroll-behavior: contain; }
  .bjmc-app .bjmc-nav { overflow: visible; }
  .bjmc-app .bjmc-nav a { min-height: 44px; font-size: 13px; }
  .bjmc-app .bjmc-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .bjmc-app .bjmc-filters input[type="search"], .bjmc-app .bjmc-filters select { height: 44px; font-size: 16px; }
  .bjmc-app .bjmc-reset { min-height: 44px; text-align: left; }
  .bjmc-app .bjmc-section { margin-bottom: 22px; }
  .bjmc-app .bjmc-product-link { min-height: 44px; font-size: 11px; }
}
@media (max-width: 640px) {
  body.bjmc-page .bjmc-shell { width: calc(100% - 28px); }
  .bjmc-breadcrumb { margin-bottom: 23px; }
  .bjmc-app .bjmc-intro-meta { gap: 8px 16px; margin-bottom: 23px; font-size: 10px; }
  .bjmc-app .bjmc-section { padding: 20px 16px; border-radius: 14px; }
  .bjmc-app .bjmc-section-icon { flex-basis: 35px; width: 35px; height: 35px; border-radius: 10px; }
  .bjmc-app .bjmc-section-heading { align-items: start; gap: 10px; }
  .bjmc-app .bjmc-section p { font-size: 13px; }
  .bjmc-app .bjmc-products, .bjmc-app .bjmc-products--catalog { grid-template-columns: 1fr; gap: 11px; }
  .bjmc-app .bjmc-card { padding: 15px; }
  .bjmc-app .bjmc-card h3 { font-size: 16px; }
  .bjmc-app .bjmc-card .bjmc-pairings { font-size: 12px; }
  .bjmc-app .bjmc-stock { font-size: 10px; }
  .bjmc-app .bjmc-editorial-note { padding: 18px; }
  .bjmc-app .bjmc-filter-status { font-size: 10px; }
}
@media (max-width: 760px) {
  .bjmc-app .bjmc-studies { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .bjmc-app .bjmc-study, .bjmc-app .bjmc-study-table { padding: 16px; }
  .bjmc-app .bjmc-study h3, .bjmc-app .bjmc-study-table h3 { font-size: 17px; }
  .bjmc-app .bjmc-study-table th, .bjmc-app .bjmc-study-table td { padding: 9px 8px; }
}
@media (max-width: 370px) { .bjmc-app .bjmc-filters { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .bjmc-app * { scroll-behavior: auto; transition: none; } }
@media print {
  .bjmc-app .bjmc-sidebar, .bjmc-app .bjmc-filter-status, .bjmc-app .bjmc-product-link { display: none; }
  .bjmc-app .bjmc-layout { display: block; }
  .bjmc-app .bjmc-section { break-inside: avoid; }
  .bjmc-app .bjmc-studies { display: block; }
  .bjmc-app .bjmc-study, .bjmc-app .bjmc-study-table { break-inside: avoid; margin-bottom: 15px; }
}
