/* Beula Digital V7.2 — compact inline language toggle, no extra header band. */
#masthead .bd-lang-switch,.site-header .bd-lang-switch{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;line-height:1;vertical-align:middle;font-family:Inter,system-ui,sans-serif;font-size:12px;font-weight:800}
#masthead .bd-lang-switch a,.site-header .bd-lang-switch a{display:inline-flex;align-items:center;justify-content:center;min-width:30px;min-height:29px;padding:6px;border-radius:6px;color:#e8d9a6;text-decoration:none!important;background:transparent;border:1px solid transparent}
#masthead .bd-lang-switch a:hover,.site-header .bd-lang-switch a:hover{color:#fff;border-color:rgba(212,175,55,.6)}
#masthead .bd-lang-switch a.is-active,.site-header .bd-lang-switch a.is-active{color:#111;background:#d4af37}
#masthead .bd-lang-separator,.site-header .bd-lang-separator{color:rgba(230,207,141,.55)}
#masthead .bd-lang-menu-item,.site-header .bd-lang-menu-item{display:flex!important;align-items:center;justify-content:center;margin-inline-start:10px!important;list-style:none}
#masthead .bd-lang-fallback,.site-header .bd-lang-fallback{display:inline-flex;align-items:center;margin-inline:12px;flex:0 0 auto}
#masthead .site-header-primary-section-right .bd-lang-fallback,.site-header .site-header-primary-section-right .bd-lang-fallback{order:0}
@media(max-width:921px){#masthead .bd-lang-menu-item,.site-header .bd-lang-menu-item{margin-inline:4px!important;padding:8px 12px}#masthead .bd-lang-fallback,.site-header .bd-lang-fallback{margin-inline:5px}}
/* Book landing page and product cards. */
.beula-homepage .bd-book-description{font-family:Inter,system-ui,sans-serif;font-size:13px;line-height:1.7;color:#5c5b54;margin:0;flex-grow:1}
.beula-homepage .bd-book-grid{row-gap:24px}
.beula-homepage .bd-book-overview{background:#fff}
.beula-homepage .bd-book-overview .bd-rich p{font-size:16px;line-height:1.85}
.beula-homepage .bd-book-highlights{padding:30px 35px;border-radius:16px;border:1px solid #e5ddca;background:#f9f5eb}
.beula-homepage .bd-book-highlights ul{list-style:none;margin:0;padding:0;display:grid;gap:18px}
.beula-homepage .bd-book-highlights li{position:relative;padding-left:28px;color:#36342e;font-size:15px;line-height:1.65}
.beula-homepage .bd-book-highlights li::before{content:'✓';position:absolute;left:0;top:0;color:#b58d22;font-weight:900}
.beula-homepage .bd-book-overview-note{font-size:13px;color:#736c57;border-top:1px solid #e6ddc9;padding-top:18px;margin:22px 0 0}
.single-product .bd-single-book-summary{font-size:15px;line-height:1.8;color:#444}
@media(max-width:767px){.beula-homepage .bd-book-highlights{padding:22px}.beula-homepage .bd-book-overview .bd-two-col{grid-template-columns:1fr}.beula-homepage .bd-book-description{font-size:12.5px}}

/* V7.6: EN/SW is ALWAYS visible in the top mobile header, not in the hidden menu. */
#beula-v76-mobile-language { display: none; }
@media (max-width: 921px) {
  /* Menu-linked EN/SW remains hidden only on mobile; the standalone header toggle is shown. */
  #masthead .bd-lang-menu-item, .site-header .bd-lang-menu-item { display: none !important; }
  #beula-v76-mobile-language {
    display: inline-flex !important;
    position: fixed;
    top: 12px;
    right: 82px;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 75px;
    min-height: 32px;
    padding: 2px 4px;
    margin: 0;
    border-radius: 7px;
    white-space: nowrap;
    background: #111;
    isolation: isolate;
    box-sizing: border-box;
  }
  body.admin-bar #beula-v76-mobile-language:not(.is-mounted) { top: 58px; }
  #beula-v76-mobile-language.is-mounted {
    position: static;
    z-index: auto;
    inset: auto;
    min-width: auto;
    margin: 0 8px 0 0 !important;
    padding: 0 !important;
    background: transparent;
    order: -10;
    transform: none;
  }
  #beula-v76-mobile-language .bd-lang-switch {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 3px;
    white-space: nowrap;
    font: 800 12px/1 Inter,system-ui,sans-serif;
  }
  #beula-v76-mobile-language .bd-lang-choice {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 30px;
    border-radius: 6px;
    padding: 5px 4px;
    box-sizing: border-box;
    color: #e8d9a6;
    background: transparent;
    text-decoration: none !important;
    border: 1px solid transparent;
  }
  #beula-v76-mobile-language .bd-lang-choice.is-active {
    background: #d4af37;
    color: #111;
  }
  #beula-v76-mobile-language .bd-lang-choice:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }
  #beula-v76-mobile-language .bd-lang-separator { color: rgba(230,207,141,.65); }
}
@media (max-width: 360px) {
  #beula-v76-mobile-language:not(.is-mounted) { right: 58px; }
  #beula-v76-mobile-language.is-mounted { margin-right: 3px !important; }
  #beula-v76-mobile-language .bd-lang-choice { min-width: 25px; padding-inline: 3px; }
}
