.mb-reader{max-width:900px;margin:30px auto;background:#fffdf9;border:1px solid #e7e0da;border-radius:16px;overflow:hidden;box-shadow:0 10px 35px #0001;font-family:Georgia,serif}.mb-reader header{padding:22px 30px;border-bottom:1px solid #eee5de;display:flex;justify-content:space-between}.mb-reader header span{font:800 10px Arial;color:#ff6b35;letter-spacing:2px}.mb-reader h1{font-size:20px;margin:5px 0}.mb-reader header button{border:1px solid #ddd;background:#fff;border-radius:8px;padding:8px}.mb-reader main{padding:55px 75px;min-height:520px;font-size:19px;line-height:1.85;color:#282522}.mb-reader footer{padding:15px 25px;border-top:1px solid #eee5de;display:flex;justify-content:space-between;font:12px Arial}.mb-reader footer button{border:0;background:transparent;color:#ff6b35;font-weight:700}.mb-reader.dark{background:#1e1d1b;border-color:#383431}.mb-reader.dark main{color:#eee7df}.mb-reader.dark h1{color:#eee}.mb-access{padding:30px;background:#fff7f3;border-left:4px solid #ff6b35}.mb-library{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.mb-book{background:#fff;border:1px solid #e5e5e5;border-radius:13px;overflow:hidden;text-decoration:none;color:#222}.mb-book img,.mb-cover{width:100%;height:220px;object-fit:cover}.mb-cover{display:grid;place-items:center;background:#ffe2d7;color:#ff6b35;font-size:65px;font-weight:900}.mb-book>div:last-child{padding:14px}.mb-book small{color:#888}.mb-book h3{font-size:16px}.mb-book p{font-size:12px;color:#777}.mb-book strong{color:#ff6b35;font-size:12px}.mb-author-form{max-width:700px;padding:25px;border:1px solid #e5e5e5;border-radius:14px}.mb-author-form label{display:flex;flex-direction:column;gap:6px;margin:14px 0;font-weight:700}.mb-author-form input,.mb-author-form textarea{padding:10px;border:1px solid #ddd;border-radius:8px}.mb-author-form button{background:#ff6b35;color:#fff;border:0;border-radius:9px;padding:11px 17px;font-weight:700}.mb-author-options{display:flex;gap:20px;margin:12px 0}.mb-author-options label{display:block;font-weight:500}.mb-author-options input{width:auto}@media(max-width:800px){.mb-library{grid-template-columns:repeat(2,1fr)}.mb-reader main{padding:35px 22px}}
.mb-pdf-reader .mb-pdf-frame{height:78vh;min-height:520px;background:#202124;padding:0}.mb-pdf-reader iframe{width:100%;height:100%;border:0;display:block}.mb-pdf-page-marker{display:none}

.mb-book-product{max-width:1120px;margin:50px auto 35px;display:grid;grid-template-columns:330px 1fr;gap:55px;align-items:start;padding:0 25px}.mb-book-product-cover{background:#f1f2f3;border-radius:20px;min-height:440px;display:flex;align-items:center;justify-content:center;overflow:hidden}.mb-book-product-cover img{width:100%;height:auto;display:block}.mb-cover-big{font-size:120px;font-weight:900;color:#ff6b35}.mb-book-kicker{font-size:11px;letter-spacing:2px;font-weight:900;color:#ff6b35}.mb-book-product-info h1{font-size:42px;line-height:1.05;margin:10px 0}.mb-book-author{color:#667077}.mb-book-meta{display:flex;gap:15px;flex-wrap:wrap;margin:20px 0;color:#667077;font-size:13px}.mb-book-synopsis{font-size:16px;line-height:1.75;color:#333}.mb-book-buy{margin-top:28px;padding:20px;border:1px solid #eee;border-radius:16px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.mb-book-buy strong{font-size:25px;margin-right:auto}.mb-buy-btn,.mb-read-btn{padding:13px 18px;border-radius:10px;text-decoration:none;font-weight:800}.mb-buy-btn{background:#ff6b35;color:#fff}.mb-read-btn{background:#202326;color:#fff}.mb-unavailable{color:#888}.mb-reader-anchor{max-width:1120px;margin:0 auto;padding:0 25px}.mb-book-edit-form{margin:22px 0;padding:20px;border:1px solid #eee;border-radius:14px}.mb-book-edit-fields{display:grid;grid-template-columns:1fr 280px;gap:18px;margin-bottom:15px}.mb-book-edit-fields label,.mb-admin-synopsis{display:block;font-weight:700}.mb-book-edit-fields textarea,.mb-book-edit-fields input,.mb-admin-synopsis textarea,.mb-upload-synopsis textarea{display:block;width:100%;margin-top:7px;border:1px solid #ddd;border-radius:9px;padding:10px}.mb-upload-synopsis{width:100%;font-size:10px;font-weight:700}.mb-upload-synopsis span,.mb-admin-synopsis span{color:#888;font-weight:400}@media(max-width:700px){.mb-book-product{grid-template-columns:1fr;gap:25px;margin-top:25px}.mb-book-product-cover{min-height:280px}.mb-book-product-info h1{font-size:31px}.mb-book-edit-fields{grid-template-columns:1fr}}

body.mb-reading-mode{overflow:hidden}
.mb-pdf-fullscreen{position:fixed!important;inset:0!important;z-index:999999!important;width:100vw!important;height:100dvh!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;background:#17191b!important;box-shadow:none!important;display:flex!important;flex-direction:column!important}
.mb-pdf-fullscreen header{flex:0 0 auto;background:#17191b;color:#fff;border-bottom:1px solid #333;padding:14px 22px;align-items:center}
.mb-pdf-fullscreen header h1{color:#fff;max-width:60vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mb-pdf-fullscreen .mb-reader-tools{display:flex;gap:8px;align-items:center}
.mb-pdf-fullscreen .mb-reader-tools button,.mb-pdf-fullscreen .mb-pdf-open{color:#fff;background:#292d31;border:1px solid #444;border-radius:9px;padding:9px 12px;text-decoration:none;font:700 12px Arial}
.mb-pdf-fullscreen .mb-pdf-exit{font-size:22px;line-height:1;min-width:40px}
.mb-pdf-fullscreen .mb-pdf-frame{padding:0!important;min-height:0!important;height:auto!important;flex:1 1 auto;background:#202124;overflow:hidden}
.mb-pdf-fullscreen .mb-pdf-frame object,.mb-pdf-fullscreen .mb-pdf-frame iframe{display:block;width:100%;height:100%;border:0;background:#202124}
.mb-pdf-fullscreen footer{flex:0 0 auto;background:#17191b;color:#ddd;border-color:#333;gap:12px}
.mb-pdf-fullscreen footer span{font-weight:400;color:#aaa}
@media(max-width:700px){
 .mb-pdf-fullscreen header{padding:10px 12px}.mb-pdf-fullscreen header h1{font-size:15px;max-width:48vw}.mb-pdf-fullscreen header span{font-size:8px;letter-spacing:1.4px}.mb-pdf-fullscreen .mb-reader-tools{gap:5px}.mb-pdf-fullscreen .mb-reader-tools button,.mb-pdf-fullscreen .mb-pdf-open{padding:8px 9px;font-size:11px}.mb-pdf-fullscreen footer{padding:9px 12px;font-size:10px}.mb-pdf-fullscreen footer span{display:none}
}

.mb-pdf-frame{position:relative}.mb-pdf-iframe{width:100%;height:100%;min-height:0;border:0;display:block;background:#fff}.mb-pdf-fullscreen .mb-pdf-iframe{height:100%;width:100%}
/* Mayombe Books 1.8.3 — robust native PDF surface */
.mb-pdf-fullscreen .mb-pdf-object{display:block;width:100%;height:100%;border:0;background:#202124}
.mb-pdf-fullscreen .mb-pdf-object .mb-pdf-iframe{width:100%;height:100%;border:0;display:block}
.mb-pdf-fallback{display:none;position:absolute;inset:auto 20px 20px 20px;z-index:3;padding:14px 16px;border-radius:12px;background:#fff;color:#222;box-shadow:0 8px 30px #0004;font:600 13px Arial}
.mb-pdf-fallback a{display:inline-block;margin-left:12px;color:#ff6b35;font-weight:800;text-decoration:none}
@media(max-width:700px){.mb-pdf-fallback{inset:auto 10px 10px 10px}.mb-pdf-fallback a{display:block;margin:8px 0 0}}

/* 1.8.4 — Mayombe PDF.js viewer */
.mb-pdf-fullscreen .mb-pdf-frame{position:relative;display:flex;flex-direction:column;flex:1 1 auto;height:auto!important;min-height:0!important;overflow:hidden;padding:0!important;background:#151719!important}
.mb-pdf-pages{flex:1 1 auto;overflow:auto;display:flex;justify-content:center;align-items:flex-start;padding:22px 12px 32px;scroll-behavior:smooth}
.mb-pdf-page{background:#fff;box-shadow:0 8px 30px #0005;max-width:calc(100vw - 24px);min-height:120px}
.mb-pdf-page canvas{display:block;max-width:100%;height:auto}
.mb-pdf-loading{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font:700 16px Arial;z-index:4}
.mb-pdf-error{position:absolute;inset:20px;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#222;background:#fff;border-radius:16px;padding:24px;font:14px Arial}
.mb-pdf-error[hidden]{display:none}
.mb-pdf-error-text{max-width:600px;color:#666}
.mb-pdf-error .mb-pdf-open{display:inline-block;background:#ff6b35;color:#fff;padding:12px 16px;border-radius:10px;text-decoration:none;font-weight:800}
.mb-pdf-fullscreen footer{align-items:center;justify-content:center;gap:18px;flex-wrap:wrap}
.mb-pdf-fullscreen footer button{color:#fff;background:#292d31;border:1px solid #444;border-radius:9px;padding:9px 13px;font:700 12px Arial;cursor:pointer}
.mb-pdf-fullscreen footer button:disabled{opacity:.35;cursor:not-allowed}
.mb-pdf-zoom{display:flex;align-items:center;gap:6px}
.mb-pdf-zoom span{min-width:48px;text-align:center}
@media(max-width:700px){.mb-pdf-pages{padding:8px 5px 20px}.mb-pdf-page{max-width:calc(100vw - 10px)}.mb-pdf-fullscreen footer{gap:6px;padding:7px 6px}.mb-pdf-fullscreen footer button{padding:8px 9px}.mb-pdf-fullscreen .mb-pdf-frame{min-height:0}}

/* 1.8.6 — dedicated reader page / cache-safe access */
body:has(.mb-pdf-fullscreen){overflow:hidden!important}
.mb-reader-standalone{margin:0!important}

/* 1.8.6 — standalone reader: keep the book reader independent from theme chrome */
body:has(.mb-reader-standalone) #masthead,
body:has(.mb-reader-standalone) header.site-header,
body:has(.mb-reader-standalone) .site-header,
body:has(.mb-reader-standalone) .site-footer,
body:has(.mb-reader-standalone) footer.site-footer { display:none!important; }
body:has(.mb-reader-standalone) { margin:0!important; padding:0!important; background:#151719!important; }
body:has(.mb-reader-standalone) .site-content,
body:has(.mb-reader-standalone) .content-area,
body:has(.mb-reader-standalone) .entry-content,
body:has(.mb-reader-standalone) main.site-main { margin:0!important; padding:0!important; max-width:none!important; width:100%!important; }
.mb-reader-standalone { position:fixed!important; inset:0!important; z-index:2147483000!important; }


/* 1.8.8 — PDF.js Viewer integration: the third-party PDF.js Viewer is now the sole PDF renderer. */
body:has(.mb-pdfjs-reader){margin:0!important;padding:0!important;background:#151719!important;overflow:hidden!important}
body:has(.mb-pdfjs-reader) #masthead,
body:has(.mb-pdfjs-reader) header.site-header,
body:has(.mb-pdfjs-reader) .site-header,
body:has(.mb-pdfjs-reader) .site-footer,
body:has(.mb-pdfjs-reader) footer.site-footer,
body:has(.mb-pdfjs-reader) .elementor-location-header,
body:has(.mb-pdfjs-reader) .elementor-location-footer{display:none!important}
body:has(.mb-pdfjs-reader) .site-content,
body:has(.mb-pdfjs-reader) .content-area,
body:has(.mb-pdfjs-reader) .entry-content,
body:has(.mb-pdfjs-reader) main.site-main{margin:0!important;padding:0!important;max-width:none!important;width:100%!important}
.mb-pdfjs-reader{position:fixed!important;inset:0!important;z-index:2147483000!important;width:100vw!important;height:100dvh!important;background:#151719!important;display:flex!important;flex-direction:column!important;margin:0!important;padding:0!important}
.mb-pdfjs-topbar{height:52px;min-height:52px;box-sizing:border-box;background:#17191b;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 20px;border-bottom:1px solid #333;font-family:Arial,sans-serif;gap:14px}
.mb-pdfjs-title{display:flex;align-items:center;gap:12px;min-width:0}.mb-pdfjs-title span{font-size:9px;font-weight:900;letter-spacing:2px;color:#ff6b35}.mb-pdfjs-title strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mb-pdfjs-back{color:#fff;text-decoration:none;background:#292d31;border:1px solid #444;border-radius:8px;padding:7px 10px;font-size:12px;font-weight:700;white-space:nowrap}.mb-pdfjs-viewer{flex:1 1 auto;min-height:0;width:100%;height:calc(100dvh - 52px);overflow:hidden;background:#202124}.mb-pdfjs-viewer .pdfjs-viewer,.mb-pdfjs-viewer .pdfjs-viewer-container,.mb-pdfjs-viewer iframe{width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;border:0!important;display:block!important}
/* The plugin may wrap the viewer in its own fullscreen link/container. Keep it inside our reader surface. */
.mb-pdfjs-viewer>div{max-width:none!important}.mb-pdfjs-viewer .pdfjs-fullscreen{z-index:2}
@media(max-width:700px){.mb-pdfjs-topbar{height:46px;min-height:46px;padding:0 9px 0 11px}.mb-pdfjs-title{gap:7px}.mb-pdfjs-title span{font-size:7px;letter-spacing:1.4px}.mb-pdfjs-title strong{font-size:13px}.mb-pdfjs-back{padding:6px 8px;font-size:10px}.mb-pdfjs-viewer{height:calc(100dvh - 46px)}}


/* Mayombe Books 2.0 — dedicated PDF reading surface */
.mb-pdfjs-reader{position:fixed!important;inset:0!important;z-index:999999!important;background:#f7f7f5!important;width:100vw!important;height:100vh!important;margin:0!important;padding:0!important;overflow:hidden!important;}
.mb-pdfjs-reader .mb-pdfjs-topbar{height:68px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 20px;background:#171717;color:#fff;}
.mb-pdfjs-reader .mb-pdfjs-viewer{height:calc(100vh - 68px)!important;width:100%;overflow:hidden;background:#2b2b2b;}
.mb-pdfjs-reader .mb-pdfjs-viewer iframe{width:100%!important;height:100%!important;border:0!important;display:block;}
.mb-pdfjs-reader .mb-pdfjs-title span{display:block;color:#ff6b32;font-size:10px;font-weight:800;letter-spacing:.18em;margin-bottom:2px;}
.mb-pdfjs-reader .mb-pdfjs-title strong{display:block;max-width:65vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;}
.mb-pdfjs-reader .mb-pdfjs-back{color:#fff!important;text-decoration:none!important;border:1px solid rgba(255,255,255,.25);border-radius:10px;padding:9px 13px;font-weight:700;font-size:13px;}
@media(max-width:640px){.mb-pdfjs-reader .mb-pdfjs-topbar{height:58px;padding:8px 12px}.mb-pdfjs-reader .mb-pdfjs-viewer{height:calc(100vh - 58px)!important}.mb-pdfjs-reader .mb-pdfjs-back{font-size:0;padding:9px 11px}.mb-pdfjs-reader .mb-pdfjs-back:after{content:'×';font-size:22px;line-height:1}.mb-pdfjs-reader .mb-pdfjs-title strong{max-width:62vw;font-size:14px}}
.mb-pdfjs-reader{position:relative;width:100%;height:100vh;background:#111;overflow:hidden}.mb-pdfjs-topbar{height:74px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 22px;background:#171717;color:#fff;box-sizing:border-box}.mb-pdfjs-title{display:flex;flex-direction:column;gap:3px;min-width:0}.mb-pdfjs-title span{font-size:10px;letter-spacing:3px;color:#ff6b2c;font-weight:800}.mb-pdfjs-title strong{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mb-pdfjs-back{color:#fff;text-decoration:none;border:1px solid rgba(255,255,255,.2);padding:10px 15px;border-radius:9px}.mb-pdfjs-viewer{height:calc(100vh - 74px);width:100%;background:#2a2a2a}.mb-pdfjs-viewer iframe{width:100%!important;height:100%!important;border:0!important}.mb-pdfjs-viewer .pdfjs-viewer-container{height:100%!important}@media(max-width:600px){.mb-pdfjs-topbar{height:60px;padding:0 12px}.mb-pdfjs-title strong{font-size:14px}.mb-pdfjs-back{padding:8px 10px;font-size:13px}.mb-pdfjs-viewer{height:calc(100vh - 60px)}}

/* 3.1 stable PDF.js-only reader */
body:has(.mb-reader-standalone){margin:0!important;padding:0!important}
.mb-reader-standalone{position:fixed;inset:0;z-index:999999;background:#202124;display:flex;flex-direction:column}
.mb-reader-top{height:58px;min-height:58px;background:#17191c;color:#fff;display:flex;align-items:center;gap:20px;padding:0 18px;box-sizing:border-box}
.mb-reader-back{color:#fff;text-decoration:none;background:#2a2d31;border:1px solid #444;border-radius:8px;padding:8px 11px;font:700 11px Inter,Arial,sans-serif}
.mb-reader-title{display:flex;flex-direction:column;gap:2px;min-width:0}.mb-reader-title span{color:#ff6b35;font:900 8px Inter,Arial,sans-serif;letter-spacing:2px}.mb-reader-title strong{font:700 14px Inter,Arial,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mb-reader-viewer{flex:1;min-height:0;width:100%;height:calc(100vh - 58px);background:#202124;overflow:hidden}
.mb-reader-viewer .pdfjs-viewer,.mb-reader-viewer .pdfjs-viewer-container{width:100%!important;height:100%!important;max-width:none!important}
.mb-reader-viewer iframe{width:100%!important;height:100%!important;border:0!important;display:block!important}
@media(max-width:600px){.mb-reader-top{height:52px;min-height:52px;padding:0 10px}.mb-reader-viewer{height:calc(100vh - 52px)}.mb-reader-back{font-size:0;padding:8px 10px}.mb-reader-back:after{content:'×';font-size:22px}.mb-reader-title strong{font-size:13px;max-width:70vw}}


/* Mayombe Books 3.2.2 — readable PDF pages on desktop and mobile.
   PDF.js supports page-width as an initial zoom mode; page-fit makes portrait
   pages unnecessarily small on tall/full-screen readers. */
.mb-pdfjs-reader .mb-pdfjs-viewer,
.mb-reader-standalone .mb-reader-viewer{
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
.mb-pdfjs-reader .mb-pdfjs-viewer iframe,
.mb-reader-standalone .mb-reader-viewer iframe{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  border:0!important;
}
@media(max-width:700px){
  .mb-pdfjs-reader .mb-pdfjs-viewer iframe,
  .mb-reader-standalone .mb-reader-viewer iframe{
    width:100%!important;
    height:100%!important;
  }
}

/* Mayombe Books 3.2.3 — true full-screen PDF.js surface.
   The PDF.js iframe is isolated from the WordPress theme, so the parent
   surface and the viewer's internal scrolling area both need full height. */
body:has(.mb-reader-standalone){
  margin:0!important;padding:0!important;overflow:hidden!important;
}
body:has(.mb-reader-standalone) #masthead,
body:has(.mb-reader-standalone) header.site-header,
body:has(.mb-reader-standalone) .site-header,
body:has(.mb-reader-standalone) .site-footer,
body:has(.mb-reader-standalone) footer.site-footer,
body:has(.mb-reader-standalone) .elementor-location-header,
body:has(.mb-reader-standalone) .elementor-location-footer{display:none!important}
body:has(.mb-reader-standalone) .site-content,
body:has(.mb-reader-standalone) .content-area,
body:has(.mb-reader-standalone) .entry-content,
body:has(.mb-reader-standalone) main.site-main{margin:0!important;padding:0!important;max-width:none!important;width:100%!important}
.mb-reader-standalone{
  position:fixed!important;inset:0!important;z-index:2147483000!important;
  width:100vw!important;height:100dvh!important;max-width:none!important;
  margin:0!important;padding:0!important;background:#202124!important;
  display:flex!important;flex-direction:column!important;overflow:hidden!important;
}
.mb-reader-top{
  flex:0 0 54px!important;height:54px!important;min-height:54px!important;
  box-sizing:border-box!important;padding:0 16px!important;
  background:#17191c!important;color:#fff!important;
  display:flex!important;align-items:center!important;gap:14px!important;
}
.mb-reader-viewer{
  flex:1 1 auto!important;width:100%!important;height:auto!important;min-height:0!important;
  max-width:none!important;margin:0!important;padding:0!important;
  overflow:hidden!important;background:#202124!important;
}
.mb-reader-viewer > *{width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;}
.mb-reader-viewer iframe{
  display:block!important;width:100%!important;height:100%!important;
  min-width:100%!important;min-height:100%!important;max-width:none!important;
  max-height:none!important;border:0!important;margin:0!important;padding:0!important;
}
@media(max-width:700px){
  .mb-reader-top{flex-basis:48px!important;height:48px!important;min-height:48px!important;padding:0 10px!important;gap:8px!important}
  .mb-reader-back{font-size:0!important;padding:7px 10px!important}
  .mb-reader-back:after{content:'×';font-size:22px;line-height:1}
  .mb-reader-title span{font-size:7px!important;letter-spacing:1.5px!important}
  .mb-reader-title strong{font-size:13px!important;max-width:72vw!important}
}


/* Mayombe Books 3.2.4 — final reader layout.
   The WordPress page is only the shell; PDF.js owns the reading surface.
   The PDF.js viewer supports page-width, which is the correct initial scale
   for a portrait book on both desktop and mobile. */
body:has(.mb-reader-standalone){
  margin:0!important;
  padding:0!important;
  width:100%!important;
  min-height:100%!important;
  overflow:hidden!important;
  background:#202124!important;
}
body:has(.mb-reader-standalone) #page,
body:has(.mb-reader-standalone) .site,
body:has(.mb-reader-standalone) .site-content,
body:has(.mb-reader-standalone) .content-area,
body:has(.mb-reader-standalone) .entry-content,
body:has(.mb-reader-standalone) main.site-main{
  width:100%!important;
  max-width:none!important;
  min-height:100%!important;
  margin:0!important;
  padding:0!important;
}
.mb-reader-standalone{
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  width:100vw!important;
  height:100dvh!important;
  min-height:100svh!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  grid-template-rows:48px minmax(0,1fr)!important;
  overflow:hidden!important;
  background:#202124!important;
}
.mb-reader-top{
  position:relative!important;
  z-index:10!important;
  width:100%!important;
  height:48px!important;
  min-height:48px!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  padding:0 12px!important;
  margin:0!important;
  background:#17191c!important;
  color:#fff!important;
  border-bottom:1px solid #333!important;
  overflow:hidden!important;
}
.mb-reader-title{
  min-width:0!important;
  flex:1 1 auto!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  line-height:1.05!important;
}
.mb-reader-title span{
  color:#ff6b2c!important;
  font-size:7px!important;
  line-height:1!important;
  letter-spacing:1.8px!important;
  font-weight:900!important;
}
.mb-reader-title strong{
  display:block!important;
  margin-top:3px!important;
  max-width:100%!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:800!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.mb-reader-back{
  order:0!important;
  flex:0 0 auto!important;
  width:34px!important;
  height:34px!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  color:#fff!important;
  background:#292d31!important;
  border:1px solid #444!important;
  border-radius:9px!important;
  text-decoration:none!important;
  font-size:0!important;
}
.mb-reader-back:after{content:'×';font-size:24px!important;line-height:1!important;font-weight:400!important}
.mb-reader-viewer{
  position:relative!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#202124!important;
}
.mb-reader-viewer > *{
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
.mb-reader-viewer iframe{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  min-height:100%!important;
  max-width:none!important;
  max-height:none!important;
  border:0!important;
  margin:0!important;
  padding:0!important;
  background:#202124!important;
}
@media(max-width:700px){
  .mb-reader-standalone{
    grid-template-rows:46px minmax(0,1fr)!important;
    height:100dvh!important;
  }
  .mb-reader-top{
    height:46px!important;
    min-height:46px!important;
    padding:0 9px!important;
    gap:8px!important;
  }
  .mb-reader-back{width:32px!important;height:32px!important;border-radius:8px!important}
  .mb-reader-back:after{font-size:23px!important}
  .mb-reader-title span{font-size:6px!important;letter-spacing:1.5px!important}
  .mb-reader-title strong{font-size:13px!important;margin-top:2px!important}
}
@media(min-width:701px){
  .mb-reader-standalone{grid-template-rows:52px minmax(0,1fr)!important}
  .mb-reader-top{height:52px!important;min-height:52px!important;padding:0 18px!important}
}


/* Mayombe Books 3.3.11 — restore the proven 3.2.4 standalone reader shell.
   The protected PDF URL and entitlement logic remain unchanged from 3.3.10.
   Keep the PDF.js iframe inside the grid's remaining row on desktop and mobile. */
.mb-reader-standalone{
  position:fixed!important;inset:0!important;z-index:2147483000!important;
  width:100vw!important;height:100dvh!important;min-height:100svh!important;
  max-width:none!important;margin:0!important;padding:0!important;
  display:grid!important;grid-template-rows:48px minmax(0,1fr)!important;
  overflow:hidden!important;background:#202124!important;
}
.mb-reader-standalone .mb-reader-viewer{
  position:relative!important;isolation:isolate!important;
  width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;
  max-width:none!important;margin:0!important;padding:0!important;
  overflow:hidden!important;background:#202124!important;
}
.mb-reader-standalone .mb-reader-viewer > *{
  width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;
  max-width:none!important;margin:0!important;padding:0!important;
}
.mb-reader-standalone .mb-reader-viewer iframe{
  position:absolute!important;inset:0!important;display:block!important;
  width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;
  max-width:none!important;max-height:none!important;border:0!important;margin:0!important;padding:0!important;
  background:#202124!important;
}
.mb-reader-standalone .mb-reader-watermark{position:absolute!important;inset:0!important;z-index:99999!important;}
.mb-reader-standalone .mb-reader-load-error{position:absolute!important;z-index:100000!important;}
@media(max-width:700px){
  .mb-reader-standalone{grid-template-rows:46px minmax(0,1fr)!important;height:100dvh!important;}
  .mb-reader-standalone .mb-reader-top{height:46px!important;min-height:46px!important;padding:0 9px!important;gap:8px!important;}
  .mb-reader-standalone .mb-reader-back{width:32px!important;height:32px!important;border-radius:8px!important;}
  .mb-reader-standalone .mb-reader-back:after{font-size:23px!important;}
  .mb-reader-standalone .mb-reader-title span{font-size:6px!important;letter-spacing:1.5px!important;}
  .mb-reader-standalone .mb-reader-title strong{font-size:13px!important;margin-top:2px!important;}
}

/* 3.3.0 — access-mode pricing and subscriber purchase panel */
.mb-book-price-block,.mb-book-subscription-block{display:flex;flex-direction:column;gap:3px;min-width:150px;}
.mb-book-price-block small,.mb-book-subscription-block small{font-size:8px;letter-spacing:1.2px;color:#91979c;font-weight:850;}
.mb-book-price-block strong,.mb-book-subscription-block strong{font-size:23px;line-height:1.2;color:#17191c;}
.mb-book-subscription-block{border-left:1px solid #eee;padding-left:14px;}
.mb-book-subscription-block strong{font-size:16px;}
.mb-book-subscription-block span,.mb-preview-note,.mb-book-login-note{font-size:10px;color:#83898e;line-height:1.5;}
.mb-subscribe-btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 18px;border-radius:10px;background:#17191c;color:#fff;text-decoration:none;font-weight:800;}
.mb-book-login-note{margin-top:15px;}
.mb-book-buy .mb-read-btn{background:#ff6b35;color:#fff;}
@media(max-width:700px){
 .mb-book-product{padding:0 14px;margin:20px auto 26px;gap:18px;}
 .mb-book-product-cover{min-height:0;border-radius:14px;}
 .mb-book-product-cover img{width:100%;max-height:65vh;object-fit:contain;}
 .mb-book-product-info h1{font-size:29px;line-height:1.12;}
 .mb-book-synopsis{font-size:14px;line-height:1.7;}
 .mb-book-buy{padding:14px;gap:10px;}
 .mb-book-price-block,.mb-book-subscription-block{min-width:100%;border:0;padding:0;}
 .mb-book-buy .mb-buy-btn,.mb-book-buy .mb-subscribe-btn,.mb-book-buy .mb-read-btn{width:100%;box-sizing:border-box;text-align:center;justify-content:center;}
}


/* 3.3.0 — front-end writer submission form, responsive on mobile and tablet */
.mb-author-form{box-sizing:border-box;width:100%;max-width:760px;margin:20px auto;padding:clamp(16px,3vw,28px);background:#fff;border:1px solid #e8e9eb;border-radius:16px;box-shadow:0 12px 34px rgba(0,0,0,.05);}
.mb-author-form label{display:flex;flex-direction:column;gap:7px;color:#34383c;font-size:12px;font-weight:750;min-width:0;}
.mb-author-form input[type="text"],.mb-author-form input[type="number"],.mb-author-form input[type="file"],.mb-author-form select,.mb-author-form textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:44px;padding:12px 13px;border:1px solid #dfe3e6;border-radius:10px;background:#fff;color:#222;font:400 14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
.mb-author-form textarea{min-height:190px;resize:vertical;line-height:1.7;}
.mb-author-form textarea:focus,.mb-author-form input:focus,.mb-author-form select:focus{outline:0;border-color:#ff8a5b;box-shadow:0 0 0 3px rgba(255,107,53,.12);}
.mb-author-form button{min-height:46px;padding:12px 20px;cursor:pointer;}
@media(max-width:800px){.mb-author-form{margin:16px auto;padding:18px;border-radius:13px;}.mb-author-form textarea{min-height:165px;}}
@media(max-width:520px){.mb-author-form{padding:14px 12px;margin:12px 0;}.mb-author-form textarea{min-height:145px;font-size:14px;}.mb-author-form input[type="file"]{font-size:12px;}}

/* Mayombe Books 3.3.12 — discreet reader-identification watermark.
   Six marks only, with low opacity and no shadow to preserve text contrast. */
.mb-pdfjs-viewer{position:relative!important;isolation:isolate}
.mb-reader-watermark{position:absolute!important;inset:0!important;z-index:99999!important;pointer-events:none!important;user-select:none!important;-webkit-user-select:none!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;align-items:center!important;justify-items:center!important;gap:8px!important;overflow:hidden!important;opacity:.10!important}
.mb-reader-watermark span{display:block!important;max-width:84%!important;color:#242424!important;font:700 11px/1.45 Arial,sans-serif!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important;text-shadow:none!important;transform:rotate(-24deg)!important;letter-spacing:.25px!important}
.mb-pdfjs-reader,.mb-pdfjs-reader *{-webkit-touch-callout:none}
@media(max-width:600px){.mb-reader-watermark{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(3,minmax(0,1fr))!important;gap:6px!important}.mb-reader-watermark span{max-width:92%!important;font-size:9px!important;line-height:1.4!important}}


/* Mayombe Books 3.3.6 — single product page reading action */
.mb-wc-book-read-action{margin:16px 0 22px;padding:16px 18px;border:1px solid #f0e1d8;border-radius:14px;background:#fffaf7;display:flex;flex-wrap:wrap;align-items:center;gap:12px;clear:both}
.mb-wc-read-now{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 22px!important;border:0!important;border-radius:10px!important;background:#f47716!important;color:#fff!important;text-decoration:none!important;font-weight:800!important;font-size:16px!important;line-height:1.2!important;box-shadow:0 5px 14px rgba(244,119,22,.18)}
.mb-wc-read-now:hover,.mb-wc-read-now:focus{background:#d95f08!important;color:#fff!important;transform:translateY(-1px)}
.mb-wc-read-locked{background:#222629!important}
.mb-wc-read-note{flex:1 1 240px;margin:0!important;color:#555!important;font-size:13px!important;line-height:1.55!important}
.mb-wc-read-unavailable{font-weight:800;color:#555}
.mb-wc-return-notice{display:flex;flex-direction:column;gap:7px;margin:12px 0 20px;padding:15px 18px;border-left:4px solid #f47716;border-radius:8px;background:#fff6ef;color:#252525}
.mb-wc-return-notice span{font-size:13px;line-height:1.5}
.mb-wc-return-notice a{align-self:flex-start;color:#c65309!important;font-weight:800;text-decoration:underline}
.mb-wc-return-paid{margin:18px 0;padding:18px;border-left-color:#2da66b;background:#effaf3}
@media(max-width:600px){.mb-wc-book-read-action{display:flex;flex-direction:column;align-items:stretch;padding:14px;gap:9px}.mb-wc-read-now{width:100%;box-sizing:border-box}.mb-wc-read-note{width:100%;font-size:12px!important}.mb-wc-return-notice{padding:13px}}

/* 3.3.7 — clear feedback if PDF.js cannot fetch or parse the protected file. */
.mb-pdfjs-viewer{position:relative!important}
.mb-reader-load-error{position:absolute;z-index:20;left:16px;right:16px;top:16px;padding:14px 16px;border-left:4px solid #c62828;border-radius:8px;background:#fff1f0;color:#7f1d1d;font:600 14px/1.5 Arial,sans-serif;box-shadow:0 8px 24px rgba(0,0,0,.22)}
.mb-reader-load-error[hidden]{display:none!important}


/* Dev14 — public writer profile */
.mb-public-writer-profile{max-width:1180px;margin:46px auto 72px;padding:0 22px;color:#243746}
.mb-public-writer-hero{display:grid;grid-template-columns:160px 1fr;gap:32px;align-items:center;padding:34px;border:1px solid #e7ebef;border-radius:22px;background:linear-gradient(135deg,#f8fafc,#fff);box-shadow:0 14px 40px rgba(22,43,57,.06)}
.mb-public-writer-avatar img{width:150px;height:150px;border-radius:50%;object-fit:cover;border:5px solid #fff;box-shadow:0 8px 24px rgba(21,39,53,.13)}
.mb-public-kicker,.mb-public-writer-section-head>span,.mb-store-writers-heading>span{font-size:11px;letter-spacing:.15em;font-weight:800;color:#d65a3c}
.mb-public-writer-intro h1{margin:7px 0 10px;font-size:clamp(30px,4vw,44px);line-height:1.12;color:#203746}
.mb-public-writer-bio{max-width:760px;color:#5d6974;line-height:1.75}
.mb-public-writer-meta{margin-top:12px;font-size:13px;color:#75818c}
.mb-public-writer-share{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px}
.mb-public-writer-share a{display:inline-flex;padding:8px 13px;border:1px solid #dce3e9;border-radius:999px;color:#314655;text-decoration:none;font-size:12px;font-weight:700}
.mb-public-writer-genres{margin:20px 0;padding:12px 16px;background:#f7f8fa;border-radius:10px;color:#5d6974;font-size:13px}
.mb-public-writer-books{margin-top:38px}
.mb-public-writer-section-head h2,.mb-store-writers-heading h2{margin:6px 0 18px;color:#203746;font-size:27px}
.mb-public-writer-book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.mb-public-writer-book{display:grid;grid-template-columns:116px 1fr;gap:16px;padding:14px;border:1px solid #e7ebef;border-radius:15px;background:#fff;text-decoration:none;color:inherit;transition:transform .18s,box-shadow .18s}
.mb-public-writer-book:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(22,43,57,.08)}
.mb-public-writer-book-cover{height:150px;display:flex;align-items:center;justify-content:center;background:#f0f3f5;border-radius:8px;overflow:hidden}
.mb-public-writer-book-cover img{height:100%;width:100%;object-fit:cover}
.mb-public-writer-book-cover span{font-size:36px;font-weight:800;color:#dd6143}
.mb-public-writer-book-info h3{margin:6px 0 8px;font-size:16px;color:#243746}
.mb-public-writer-book-info p{font-size:13px;color:#697681;line-height:1.5}
.mb-public-writer-book-info>span{font-size:12px;font-weight:800;color:#ce593d}
.mb-store-writers{max-width:1180px;margin:46px auto;padding:28px;border:1px solid #e7ebef;border-radius:18px;background:#fbfcfd}
.mb-store-writers-heading p{color:#75818c}
.mb-store-writer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.mb-store-writer-card{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #e6ebef;border-radius:12px;background:#fff;text-decoration:none;color:#243746;min-width:0}
.mb-store-writer-card img{width:52px;height:52px;border-radius:50%;object-fit:cover;flex:0 0 52px}
.mb-store-writer-card span{display:flex;flex-direction:column;min-width:0;gap:4px}
.mb-store-writer-card b{font-size:13px;overflow-wrap:anywhere}
.mb-store-writer-card small,.mb-book-writer-link{font-size:11px;color:#c75b3e;font-weight:700}
.mb-book-writer-link{display:block;margin:7px 0}
.mb-book-author a{color:inherit;text-decoration:underline;text-decoration-color:#d65a3c;text-underline-offset:3px}
@media(max-width:900px){.mb-public-writer-book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mb-store-writer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.mb-public-writer-profile{margin:22px auto 44px;padding:0 14px}.mb-public-writer-hero{grid-template-columns:1fr;text-align:center;padding:24px 18px;gap:15px}.mb-public-writer-avatar img{width:112px;height:112px}.mb-public-writer-share{justify-content:center}.mb-public-writer-book-grid{grid-template-columns:1fr}.mb-public-writer-book{grid-template-columns:88px 1fr;gap:12px}.mb-public-writer-book-cover{height:118px}.mb-store-writers{margin:28px 14px;padding:18px}.mb-store-writer-grid{grid-template-columns:1fr}}

.mb-reader-writer-profile{display:inline-block;margin-top:5px;font-size:11px;font-weight:700;color:#ffd6c7;text-decoration:none}
.mb-reader-writer-profile:hover{text-decoration:underline}


/* Dev17 — writer-owned social profiles on public author pages */
.mb-public-writer-socials{margin-top:18px;display:grid;gap:9px}
.mb-public-writer-socials>strong{font-size:13px;color:#52616d}
.mb-public-writer-social-links{display:flex;flex-wrap:wrap;gap:9px}
.mb-public-writer-social-links a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 13px;border:1px solid #dce3e9;border-radius:999px;color:#314655;text-decoration:none;font-size:12px;font-weight:750}
.mb-public-writer-social-links a:hover{border-color:#d65a3c;color:#b84c32}
.mb-public-writer-share>span{align-self:center;color:#6d7882;font-size:12px;font-weight:700}


/* Public writer discovery on WooCommerce book pages and search results. */
.mb-wc-book-writer{display:flex;align-items:center;gap:12px;margin:12px 0 18px;padding:11px 13px;border:1px solid #e8ecef;border-radius:13px;background:#fbfcfd;max-width:460px;box-sizing:border-box}
.mb-wc-book-writer-avatar{display:block;flex:0 0 48px;width:48px;height:48px;overflow:hidden;border-radius:50%;background:#edf1f3}
.mb-wc-book-writer-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.mb-wc-book-writer-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.mb-wc-book-writer-copy>span{font-size:9px;line-height:1.2;font-weight:850;letter-spacing:1.1px;color:#82909a}
.mb-wc-book-writer-copy>a{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 9px;text-decoration:none;color:#263c4b}
.mb-wc-book-writer-copy strong{font-size:13px;font-weight:850}
.mb-wc-book-writer-copy small{font-size:10px;font-weight:750;color:#c75b3e}
.mb-wc-book-writer-copy>a:hover strong,.mb-wc-search-book-writer a:hover{text-decoration:underline;text-underline-offset:3px}
.mb-wc-search-book-writer{margin:6px 0 4px;color:#7c8992;font-size:11px;line-height:1.45}
.mb-wc-search-book-writer a{color:#bd563b;font-weight:750;text-decoration:none}
@media(max-width:600px){.mb-wc-book-writer{max-width:100%;margin:10px 0 14px;padding:10px}.mb-wc-book-writer-avatar{flex-basis:44px;width:44px;height:44px}}


/* Mayombe Books 3.3.13-dev23 — clearer reader identity hierarchy. */
.mb-reader-standalone .mb-reader-top{
  min-height:86px!important;height:auto!important;flex:0 0 auto!important;
  box-sizing:border-box!important;align-items:center!important;gap:22px!important;
  padding:13px 22px!important;background:#17191c!important;
}
.mb-reader-standalone .mb-reader-title{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:center!important;gap:0!important;min-width:0!important;flex:1 1 auto!important;
  padding:1px 0!important;
}
.mb-reader-standalone .mb-reader-title span{
  display:block!important;margin:0 0 7px!important;padding:0!important;
  color:#ff9a42!important;font:900 10px/1.2 Inter,Arial,sans-serif!important;
  letter-spacing:2.3px!important;text-transform:uppercase!important;
}
.mb-reader-standalone .mb-reader-title strong{
  display:block!important;margin:0!important;padding:0!important;
  color:#fff!important;font:800 19px/1.25 Inter,Arial,sans-serif!important;
  letter-spacing:.1px!important;white-space:nowrap!important;overflow:hidden!important;
  text-overflow:ellipsis!important;max-width:min(76vw,100%)!important;
}
.mb-reader-standalone .mb-reader-writer-profile{
  display:inline-flex!important;align-items:center!important;align-self:flex-start!important;
  width:fit-content!important;max-width:100%!important;box-sizing:border-box!important;
  margin:9px 0 0!important;padding:6px 10px!important;border:1px solid #41464c!important;
  border-radius:7px!important;background:#22262a!important;color:#f2c7b5!important;
  font:600 11px/1.35 Inter,Arial,sans-serif!important;text-decoration:none!important;
  white-space:normal!important;overflow-wrap:anywhere!important;
}
.mb-reader-standalone .mb-reader-writer-profile:hover,
.mb-reader-standalone .mb-reader-writer-profile:focus{
  border-color:#ff9a42!important;color:#fff!important;text-decoration:underline!important;
  text-underline-offset:3px!important;
}
@media(max-width:600px){
  .mb-reader-standalone .mb-reader-top{
    min-height:92px!important;height:auto!important;padding:10px 12px!important;
    gap:10px!important;align-items:center!important;
  }
  .mb-reader-standalone .mb-reader-title{gap:0!important;padding:1px 0!important}
  .mb-reader-standalone .mb-reader-title span{font-size:9px!important;letter-spacing:2px!important;margin-bottom:6px!important}
  .mb-reader-standalone .mb-reader-title strong{
    max-width:calc(100vw - 82px)!important;font-size:16px!important;line-height:1.2!important;
  }
  .mb-reader-standalone .mb-reader-writer-profile{
    margin-top:7px!important;padding:5px 8px!important;font-size:10px!important;
  }
  .mb-reader-standalone .mb-reader-viewer{height:calc(100vh - 92px)!important}
}

/* Phase 3.1 — Mayombe storefront */
.mb-library{display:block;max-width:1240px;margin:0 auto;padding:24px 16px}.mb-storefront-hero{padding:34px 30px;margin:0 0 22px;border-radius:18px;background:linear-gradient(120deg,#211d1a,#493026);color:#fff}.mb-storefront-hero>span,.mb-store-writers-heading>span{font-size:11px;font-weight:800;letter-spacing:2px;color:#ff9b55}.mb-storefront-hero h1{margin:9px 0;font-size:clamp(25px,4vw,38px);color:#fff}.mb-storefront-hero p{margin:0;color:#eee0d7}.mb-storefront-genres{margin:0 0 16px;padding:12px 14px;border:1px solid #eee5de;border-radius:12px;background:#fff}.mb-storefront-genres>strong{display:block;margin:0 0 9px;color:#4d4038;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.mb-storefront-genre-tabs{display:flex;gap:8px;flex-wrap:wrap}.mb-store-genre-tab{display:inline-flex;align-items:center;justify-content:center;padding:8px 13px;border:1px solid #e7d8ce;border-radius:999px;background:#fff;color:#714a35;text-decoration:none;font-size:13px;font-weight:650;transition:background .15s,border-color .15s,color .15s}.mb-store-genre-tab:hover,.mb-store-genre-tab.is-active{background:#e96d32;border-color:#e96d32;color:#fff}.mb-storefront-filters{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 18px;padding:14px;background:#faf7f4;border:1px solid #eee5de;border-radius:12px}.mb-storefront-filters input[type=search]{flex:1;min-width:220px}.mb-storefront-filters input,.mb-storefront-filters select{min-height:42px;padding:9px 12px;border:1px solid #ddd2c9;border-radius:8px;background:#fff}.mb-storefront-filters button{min-height:42px;padding:9px 18px;border:0;border-radius:8px;background:#e96d32;color:#fff;font-weight:700;cursor:pointer}.mb-storefront-filters>a{color:#8a4a2b;font-size:13px}.mb-store-results-count,.mb-store-active-category{margin:12px 0;color:#71665f;font-size:13px}.mb-book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.mb-book{display:block}.mb-book-genre-label,.mb-book-category-label{display:block;margin:7px 0;color:#8b593e;font-size:11px}.mb-book-category-label{color:#70635b}.mb-store-empty{padding:38px 20px;text-align:center;border:1px dashed #d8c9be;border-radius:14px}.mb-store-empty h2{margin:0 0 8px}.mb-store-pagination{display:flex;justify-content:center;gap:8px;margin:26px 0}.mb-store-pagination .page-numbers{padding:8px 12px;border:1px solid #e5d9d0;border-radius:8px;text-decoration:none;color:#75472f}.mb-store-pagination .current{background:#e96d32;color:#fff;border-color:#e96d32}.mb-book-category-field,.mb-book-genre-field{border:1px solid #ddd;border-radius:8px;padding:12px;min-width:0;margin:12px 0}.mb-book-category-field legend,.mb-book-genre-field legend{font-weight:700;padding:0 5px}.mb-book-category-options,.mb-book-genre-options{display:flex;gap:10px 18px;flex-wrap:wrap}.mb-book-category-options label,.mb-book-genre-options label{display:inline-flex;align-items:center;gap:5px;font-weight:400}.mb-book-category-options input,.mb-book-genre-options input{width:auto}.mb-public-writer-categories{margin:12px 0;padding:10px 16px;background:#fbf8f5;border-radius:10px;color:#71665f;font-size:13px}@media(max-width:900px){.mb-book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:640px){.mb-storefront-hero{padding:25px 20px}.mb-book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mb-storefront-filters{align-items:stretch}.mb-storefront-filters input[type=search],.mb-storefront-filters select,.mb-storefront-filters button{width:100%;min-width:0}.mb-store-genre-tab{font-size:12px;padding:7px 10px}}


/* dev36 — storefront book covers must show the complete image without cropping. */
.mb-book-cover{width:100%;aspect-ratio:2/3;min-height:0;height:auto;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f5f1ed;border-bottom:1px solid #eee6df;padding:10px;box-sizing:border-box}
.mb-book-cover img{display:block;width:100%;height:100%;max-height:100%;object-fit:contain!important;object-position:center center;background:transparent}
.mb-book-cover .mb-cover{width:100%;height:100%;min-height:0;display:grid;place-items:center;object-fit:contain;background:#fff0e8}
.mb-book{display:flex;flex-direction:column;height:100%}
.mb-book>div:last-child{flex:1}

/* Mayombe Books dev37 — editorial bookstore and horizontal genre shelves. */
.mb-library.mb-storefront-v3{
  display:block!important;width:100%;max-width:1280px!important;box-sizing:border-box!important;
  margin:0 auto!important;padding:30px 20px 64px!important;color:#282522!important;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
.mb-library.mb-storefront-v3 .mb-storefront-hero{
  position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;
  min-height:210px;box-sizing:border-box;overflow:hidden;padding:38px 42px!important;
  margin:0 0 26px!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:26px!important;
  background:linear-gradient(115deg,#211414 0%,#3a1b1a 58%,#63301f 100%)!important;
  box-shadow:0 18px 42px rgba(45,22,18,.13)!important;
}
.mb-library.mb-storefront-v3 .mb-storefront-hero:after{
  content:"";position:absolute;width:360px;height:360px;right:8%;top:-190px;border:1px solid rgba(255,160,89,.18);
  border-radius:50%;box-shadow:0 0 0 36px rgba(255,160,89,.035),0 0 0 74px rgba(255,160,89,.025);pointer-events:none;
}
.mb-library.mb-storefront-v3 .mb-storefront-hero-copy{position:relative;z-index:1;max-width:760px}
.mb-library.mb-storefront-v3 .mb-storefront-kicker{display:block;margin:0 0 9px;color:#b95b35;font-size:10px;line-height:1.3;font-weight:900;letter-spacing:2.1px;text-transform:uppercase}
.mb-library.mb-storefront-v3 .mb-storefront-hero .mb-storefront-kicker{color:#ffae75}
.mb-library.mb-storefront-v3 .mb-storefront-hero h1{margin:0 0 11px!important;color:#fff!important;font-size:clamp(28px,4vw,43px)!important;line-height:1.08!important;font-weight:850!important;letter-spacing:-.8px}
.mb-library.mb-storefront-v3 .mb-storefront-hero p{margin:0!important;color:#e9d9d2!important;font-size:15px!important;line-height:1.65!important}
.mb-library.mb-storefront-v3 .mb-storefront-hero-mark{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 122px;width:122px;height:122px;border:1px solid rgba(255,180,128,.42);border-radius:50%;color:#ff9a58;background:rgba(255,255,255,.045);transform:rotate(-8deg)}
.mb-library.mb-storefront-v3 .mb-storefront-hero-mark .dashicons{width:auto;height:auto;font-size:43px}
.mb-library.mb-storefront-v3 .mb-storefront-hero-mark small{margin-top:4px;color:#f5d8c8;font-size:8px;font-weight:900;letter-spacing:1.5px;line-height:1.4;text-align:center}

.mb-library.mb-storefront-v3 .mb-storefront-genres{margin:0 0 18px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
.mb-library.mb-storefront-v3 .mb-storefront-section-label{display:flex;align-items:baseline;gap:12px;margin:0 0 10px}
.mb-library.mb-storefront-v3 .mb-storefront-section-label>span{color:#9b765f;font-size:9px;font-weight:900;letter-spacing:1.4px}
.mb-library.mb-storefront-v3 .mb-storefront-section-label>strong{color:#33221d;font-size:14px;font-weight:850}
.mb-library.mb-storefront-v3 .mb-storefront-genre-tabs{display:flex;gap:9px;flex-wrap:nowrap;overflow-x:auto;padding:2px 1px 8px;scrollbar-width:thin;scrollbar-color:#d8b7a6 transparent}
.mb-library.mb-storefront-v3 .mb-store-genre-tab{flex:0 0 auto;min-height:37px;padding:9px 16px!important;border:1px solid #eadfd7!important;border-radius:999px!important;background:#fff!important;color:#68483a!important;font-size:12px!important;font-weight:750!important;white-space:nowrap;box-shadow:0 2px 8px rgba(62,37,25,.035);text-decoration:none!important}
.mb-library.mb-storefront-v3 .mb-store-genre-tab:hover,.mb-library.mb-storefront-v3 .mb-store-genre-tab.is-active{border-color:#9d332b!important;background:#6d1717!important;color:#fff!important}

.mb-library.mb-storefront-v3 .mb-storefront-filters{position:relative;display:flex;align-items:center;gap:10px;margin:0 0 28px!important;padding:10px!important;border:1px solid #e9e1da!important;border-radius:15px!important;background:#fff!important;box-shadow:0 6px 22px rgba(49,34,25,.045)!important}
.mb-library.mb-storefront-v3 .mb-store-search-icon{flex:0 0 20px;width:20px;height:20px;color:#8c766c;font-size:18px}
.mb-library.mb-storefront-v3 .mb-storefront-filters input[type=search]{flex:1 1 auto;width:auto;min-width:0;min-height:44px;padding:10px 8px!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#352e2a;font-size:14px}
.mb-library.mb-storefront-v3 .mb-storefront-filters input[type=search]::placeholder{color:#9c918a}
.mb-library.mb-storefront-v3 .mb-storefront-filters button{flex:0 0 auto;min-height:43px;padding:10px 22px!important;border:0!important;border-radius:10px!important;background:#a43b2c!important;color:#fff!important;font-size:12px;font-weight:850;box-shadow:0 5px 12px rgba(164,59,44,.17);cursor:pointer}
.mb-library.mb-storefront-v3 .mb-storefront-filters button:hover{background:#82251f!important}
.mb-library.mb-storefront-v3 .mb-storefront-filters>a{padding:0 7px;color:#8e4a38!important;font-size:12px;font-weight:700;text-decoration:none}

.mb-library.mb-storefront-v3 .mb-book-shelf{margin:0 0 28px!important;padding:25px 25px 26px!important;border:1px solid #f0e9e3!important;border-radius:23px!important;background:#fff!important;box-shadow:0 12px 34px rgba(42,29,21,.055)!important;overflow:hidden}
.mb-library.mb-storefront-v3 .mb-book-shelf-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 19px!important;padding:0!important}
.mb-library.mb-storefront-v3 .mb-book-shelf-title-wrap{min-width:0;flex:1 1 auto}
.mb-library.mb-storefront-v3 .mb-book-shelf-heading .mb-storefront-kicker{margin-bottom:5px;color:#a77960}
.mb-library.mb-storefront-v3 .mb-book-shelf-heading h2,.mb-library.mb-storefront-v3 .mb-store-results-heading h2{margin:0!important;color:#4e1115!important;font-size:clamp(23px,2.4vw,31px)!important;line-height:1.18!important;font-weight:850!important;letter-spacing:-.45px}
.mb-library.mb-storefront-v3 .mb-book-shelf-rule{display:block;width:100%;max-width:440px;height:5px;margin-top:13px;background:#eeeae7;border-radius:99px;overflow:hidden}
.mb-library.mb-storefront-v3 .mb-book-shelf-rule i{display:block;width:31%;height:100%;border-radius:99px;background:#6d1717}
.mb-library.mb-storefront-v3 .mb-book-shelf-heading-actions{display:flex;align-items:center;gap:15px;flex:0 0 auto}
.mb-library.mb-storefront-v3 .mb-shelf-view-all{color:#8c3329!important;font-size:12px;font-weight:850;text-decoration:none!important;white-space:nowrap}
.mb-library.mb-storefront-v3 .mb-shelf-view-all:hover{text-decoration:underline!important;text-underline-offset:4px}
.mb-library.mb-storefront-v3 .mb-shelf-controls{display:flex;gap:7px}
.mb-library.mb-storefront-v3 .mb-shelf-arrow{display:grid;place-items:center;width:39px;height:39px;padding:0!important;border:1px solid #e8ded7!important;border-radius:50%!important;background:#fff!important;color:#4f211d!important;font-size:25px!important;line-height:1!important;box-shadow:0 3px 10px rgba(40,25,18,.07);cursor:pointer}
.mb-library.mb-storefront-v3 .mb-shelf-arrow:hover{border-color:#8d2c26!important;background:#8d2c26!important;color:#fff!important}
.mb-library.mb-storefront-v3 .mb-shelf-track{display:flex;align-items:stretch;gap:23px;width:100%;overflow-x:auto;overflow-y:hidden;padding:2px 2px 17px;scroll-behavior:smooth;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#d9c5b8 transparent}
.mb-library.mb-storefront-v3 .mb-shelf-track:focus-visible{outline:2px solid #a43b2c;outline-offset:3px;border-radius:12px}
.mb-library.mb-storefront-v3 .mb-shelf-book{position:relative;display:flex!important;flex:0 0 255px;flex-direction:column;min-width:0;margin:0!important;padding:0!important;border:0!important;border-radius:13px!important;background:#fff!important;overflow:hidden;scroll-snap-align:start;box-shadow:none!important;text-align:left}
.mb-library.mb-storefront-v3 .mb-shelf-book-visual{position:relative;width:100%;padding:0;margin:0 0 14px}
.mb-library.mb-storefront-v3 .mb-shelf-cover-link{display:block;width:100%;text-decoration:none!important}
.mb-library.mb-storefront-v3 .mb-shelf-cover-frame{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:3/4;box-sizing:border-box;padding:15px;background:linear-gradient(145deg,#f5f0e9,#eee7df);border:1px solid #eee5dc;border-radius:17px;overflow:hidden;box-shadow:0 10px 25px rgba(52,34,24,.09);transition:transform .22s ease,box-shadow .22s ease}
.mb-library.mb-storefront-v3 .mb-shelf-book:hover .mb-shelf-cover-frame{transform:translateY(-3px);box-shadow:0 16px 30px rgba(52,34,24,.13)}
.mb-library.mb-storefront-v3 .mb-shelf-cover-frame img,.mb-library.mb-storefront-v3 img.mb-shelf-cover-img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center center!important;border:0!important;border-radius:2px!important;box-shadow:0 4px 13px rgba(30,22,18,.12)!important;background:transparent!important}
.mb-library.mb-storefront-v3 .mb-shelf-cover-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;border:1px solid #e6d5c8;background:#fffaf5;color:#7d2928}
.mb-library.mb-storefront-v3 .mb-shelf-cover-placeholder>span{font-size:48px;font-weight:900;line-height:1}
.mb-library.mb-storefront-v3 .mb-shelf-cover-placeholder>b{margin-top:10px;font-size:10px;letter-spacing:2px}
.mb-library.mb-storefront-v3 .mb-shelf-cover-placeholder>small{font-size:8px;letter-spacing:3px}
.mb-library.mb-storefront-v3 .mb-shelf-cover-badge{position:absolute;left:11px;top:11px;padding:6px 9px;border:1px solid rgba(255,255,255,.8);border-radius:999px;background:#267f42;color:#fff;font-size:9px;line-height:1;font-weight:900;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.mb-library.mb-storefront-v3 .mb-shelf-cover-badge-subscription{background:#a34b24}
.mb-library.mb-storefront-v3 .mb-shelf-book-body{display:flex;flex:1 1 auto;flex-direction:column;align-items:flex-start;min-width:0;padding:0 3px 2px!important}
.mb-library.mb-storefront-v3 .mb-shelf-book-body h3{display:-webkit-box;margin:0 0 8px!important;padding:0!important;overflow:hidden;color:#262321!important;font-size:19px!important;line-height:1.38!important;font-weight:850!important;letter-spacing:-.2px;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:2.7em}
.mb-library.mb-storefront-v3 .mb-shelf-book-body h3 a{color:inherit!important;text-decoration:none!important}
.mb-library.mb-storefront-v3 .mb-shelf-book-body h3 a:hover{color:#8b2927!important}
.mb-library.mb-storefront-v3 .mb-shelf-book-author{margin:0 0 8px!important;color:#74706c!important;font-size:14px!important;line-height:1.4!important}
.mb-library.mb-storefront-v3 .mb-shelf-book-author a{color:inherit!important;text-decoration:none!important}
.mb-library.mb-storefront-v3 .mb-shelf-book-author a:hover{color:#8b2927!important;text-decoration:underline!important}
.mb-library.mb-storefront-v3 .mb-shelf-book-genres{margin:0 0 9px!important;color:#9a7968!important;font-size:11px!important;line-height:1.4!important}
.mb-library.mb-storefront-v3 .mb-shelf-book-meta{display:flex;align-items:center;gap:9px 13px;flex-wrap:wrap;min-height:26px;margin:0 0 10px}
.mb-library.mb-storefront-v3 .mb-shelf-rating{color:#79272a;font-size:14px;font-weight:850;white-space:nowrap}
.mb-library.mb-storefront-v3 .mb-shelf-rating>span{font-size:19px;vertical-align:-1px}
.mb-library.mb-storefront-v3 .mb-shelf-rating small{margin-left:3px;color:#9b9692;font-size:10px;font-weight:600}
.mb-library.mb-storefront-v3 .mb-shelf-price{color:#77716c;font-size:12px;font-weight:700}
.mb-library.mb-storefront-v3 .mb-shelf-price.is-free{color:#85817d;font-weight:600}
.mb-library.mb-storefront-v3 .mb-shelf-book-action{display:inline-flex;align-items:center;gap:8px;margin-top:auto;padding-top:4px;color:#a3472c!important;font-size:12px;font-weight:900;text-decoration:none!important}
.mb-library.mb-storefront-v3 .mb-shelf-book-action span{font-size:17px;transition:transform .18s ease}
.mb-library.mb-storefront-v3 .mb-shelf-book-action:hover span{transform:translateX(4px)}

.mb-library.mb-storefront-v3 .mb-store-results-section{margin:0 0 30px}
.mb-library.mb-storefront-v3 .mb-store-results-heading{display:flex;align-items:flex-end;justify-content:space-between;margin:0 0 18px;padding:0 2px}
.mb-library.mb-storefront-v3 .mb-store-results-heading p{margin:8px 0 0;color:#77716c;font-size:12px}
.mb-library.mb-storefront-v3 .mb-book-grid.mb-store-results-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 20px}
.mb-library.mb-storefront-v3 .mb-store-results-grid .mb-shelf-book{flex:initial;width:100%;max-width:none}
.mb-library.mb-storefront-v3 .mb-store-empty{padding:52px 22px!important;border:1px dashed #ddcfc5!important;border-radius:20px!important;background:#fff!important;text-align:center}
.mb-library.mb-storefront-v3 .mb-store-empty h2{margin:10px 0 8px;color:#4e1717;font-size:23px}
.mb-library.mb-storefront-v3 .mb-store-empty p{margin:0;color:#777}
.mb-library.mb-storefront-v3 .mb-store-writers{margin:34px 0 0;padding:27px;border:1px solid #eee7e0;border-radius:23px;background:#fff;box-shadow:0 10px 30px rgba(42,29,21,.045)}
.mb-library.mb-storefront-v3 .mb-store-writers-heading h2{margin:0 0 7px;color:#3e1717;font-size:28px;font-weight:850}
.mb-library.mb-storefront-v3 .mb-store-writers-heading p{margin:0 0 18px;color:#777;font-size:14px}
.mb-library.mb-storefront-v3 .mb-store-writer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.mb-library.mb-storefront-v3 .mb-store-writer-card{display:flex;align-items:center;gap:12px;min-width:0;padding:13px;border:1px solid #eee7e0;border-radius:14px;background:#fffaf6;text-decoration:none}
.mb-library.mb-storefront-v3 .mb-store-writer-card img{width:48px;height:48px;flex:0 0 48px;object-fit:cover;border-radius:50%}
.mb-library.mb-storefront-v3 .mb-store-writer-card b{display:block;color:#342a26;font-size:13px;font-weight:850}
.mb-library.mb-storefront-v3 .mb-store-writer-card small{display:block;margin-top:4px;color:#a3472c;font-size:10px;font-weight:750}
.mb-library.mb-storefront-v3 .mb-store-pagination{margin:24px 0 0}
.mb-library.mb-storefront-v3 .mb-store-pagination .page-numbers{border:1px solid #e5d9d0;border-radius:999px;color:#75472f}
.mb-library.mb-storefront-v3 .mb-store-pagination .current{background:#6d1717;border-color:#6d1717;color:#fff}

@media(max-width:1050px){
  .mb-library.mb-storefront-v3 .mb-book-grid.mb-store-results-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mb-library.mb-storefront-v3 .mb-shelf-book{flex-basis:230px}
}
@media(max-width:720px){
  .mb-library.mb-storefront-v3{padding:18px 12px 42px!important}
  .mb-library.mb-storefront-v3 .mb-storefront-hero{min-height:175px;padding:26px 22px!important;border-radius:19px!important}
  .mb-library.mb-storefront-v3 .mb-storefront-hero h1{font-size:29px!important;max-width:430px}
  .mb-library.mb-storefront-v3 .mb-storefront-hero p{font-size:13px!important}
  .mb-library.mb-storefront-v3 .mb-storefront-hero-mark{flex-basis:82px;width:82px;height:82px}
  .mb-library.mb-storefront-v3 .mb-storefront-hero-mark .dashicons{font-size:30px}
  .mb-library.mb-storefront-v3 .mb-storefront-hero-mark small{font-size:6px}
  .mb-library.mb-storefront-v3 .mb-storefront-filters{gap:7px;padding:7px!important;border-radius:12px!important}
  .mb-library.mb-storefront-v3 .mb-storefront-filters input[type=search]{font-size:12px}
  .mb-library.mb-storefront-v3 .mb-storefront-filters button{padding:9px 13px!important;font-size:11px}
  .mb-library.mb-storefront-v3 .mb-book-shelf{padding:18px 14px 17px!important;margin-bottom:19px!important;border-radius:18px!important}
  .mb-library.mb-storefront-v3 .mb-book-shelf-heading{align-items:flex-end;margin-bottom:13px!important;gap:8px}
  .mb-library.mb-storefront-v3 .mb-book-shelf-heading h2{font-size:23px!important}
  .mb-library.mb-storefront-v3 .mb-book-shelf-heading-actions{gap:8px}
  .mb-library.mb-storefront-v3 .mb-shelf-view-all{font-size:10px}
  .mb-library.mb-storefront-v3 .mb-shelf-controls{gap:4px}
  .mb-library.mb-storefront-v3 .mb-shelf-arrow{width:31px;height:31px;font-size:21px!important}
  .mb-library.mb-storefront-v3 .mb-shelf-track{gap:13px;padding-bottom:13px}
  .mb-library.mb-storefront-v3 .mb-shelf-book{flex-basis:calc((100% - 13px)/2);min-width:0}
  .mb-library.mb-storefront-v3 .mb-shelf-cover-frame{padding:9px;border-radius:12px}
  .mb-library.mb-storefront-v3 .mb-shelf-book-visual{margin-bottom:10px}
  .mb-library.mb-storefront-v3 .mb-shelf-cover-badge{left:7px;top:7px;padding:5px 7px;font-size:8px}
  .mb-library.mb-storefront-v3 .mb-shelf-book-body h3{font-size:15px!important;line-height:1.35!important;margin-bottom:6px!important}
  .mb-library.mb-storefront-v3 .mb-shelf-book-author{font-size:11px!important;margin-bottom:6px!important}
  .mb-library.mb-storefront-v3 .mb-shelf-book-genres{font-size:10px!important}
  .mb-library.mb-storefront-v3 .mb-shelf-book-meta{gap:6px 8px;margin-bottom:7px}
  .mb-library.mb-storefront-v3 .mb-shelf-rating{font-size:12px}
  .mb-library.mb-storefront-v3 .mb-shelf-rating>span{font-size:15px}
  .mb-library.mb-storefront-v3 .mb-shelf-price{font-size:10px}
  .mb-library.mb-storefront-v3 .mb-shelf-book-action{font-size:11px}
  .mb-library.mb-storefront-v3 .mb-book-grid.mb-store-results-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
  .mb-library.mb-storefront-v3 .mb-store-results-grid .mb-shelf-book{width:100%}
  .mb-library.mb-storefront-v3 .mb-store-writers{padding:19px 14px;border-radius:18px}
  .mb-library.mb-storefront-v3 .mb-store-writers-heading h2{font-size:23px}
  .mb-library.mb-storefront-v3 .mb-store-writer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .mb-library.mb-storefront-v3 .mb-store-writer-card{gap:8px;padding:9px}
  .mb-library.mb-storefront-v3 .mb-store-writer-card img{width:38px;height:38px;flex-basis:38px}
  .mb-library.mb-storefront-v3 .mb-store-writer-card b{font-size:11px}
}
@media(max-width:390px){
  .mb-library.mb-storefront-v3 .mb-storefront-hero-mark{display:none}
  .mb-library.mb-storefront-v3 .mb-book-shelf-heading-actions{gap:5px}
  .mb-library.mb-storefront-v3 .mb-shelf-view-all{font-size:9px}
  .mb-library.mb-storefront-v3 .mb-shelf-arrow{width:28px;height:28px}
}
/* Icon rendering without depending on the WordPress admin Dashicons font. */
.mb-library.mb-storefront-v3 .mb-storefront-hero-mark svg{display:block;width:46px;height:46px;color:#ff9a58}
.mb-library.mb-storefront-v3 .mb-shelf-placeholder-mark{display:block;color:#7d2928;font-size:52px;font-weight:950;line-height:1}
.mb-library.mb-storefront-v3 .mb-store-search-icon{display:inline-flex;align-items:center;justify-content:center;font-size:26px;line-height:1}
.mb-library.mb-storefront-v3 .mb-store-empty-symbol{display:block;color:#a3472c;font-size:36px;line-height:1}


/* Mayombe Books dev38 — official MAYOMBE 2026 brand system.
   Brand palette: orange #FF6A00, deep orange #E65A00, deep black #0B0B0B,
   soft gray #F2F2F2 and white #FFFFFF. Orange is reserved for actions and emphasis. */
.mb-library.mb-storefront-v3{
  --mb-brand-orange:#FF6A00;
  --mb-brand-orange-dark:#E65A00;
  --mb-brand-black:#0B0B0B;
  --mb-brand-gray:#F2F2F2;
  --mb-brand-white:#FFFFFF;
  --mb-brand-text:#1C1C1C;
  --mb-brand-muted:#707070;
  --mb-brand-border:#E5E5E5;
  color:var(--mb-brand-text)!important;
  background:transparent!important;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
}

/* Hero: confident black foundation with a restrained orange detail. */
.mb-library.mb-storefront-v3 .mb-storefront-hero{
  background:linear-gradient(112deg,#0B0B0B 0%,#151515 76%,#241307 100%)!important;
  border:1px solid rgba(255,106,0,.18)!important;
  box-shadow:0 18px 42px rgba(11,11,11,.13)!important;
}
.mb-library.mb-storefront-v3 .mb-storefront-hero:after{
  border-color:rgba(255,106,0,.22)!important;
  box-shadow:0 0 0 36px rgba(255,106,0,.045),0 0 0 74px rgba(255,106,0,.025)!important;
}
.mb-library.mb-storefront-v3 .mb-storefront-kicker{color:#E65A00!important}
.mb-library.mb-storefront-v3 .mb-storefront-hero .mb-storefront-kicker{color:#FF6A00!important}
.mb-library.mb-storefront-v3 .mb-storefront-hero h1{color:#FFFFFF!important}
.mb-library.mb-storefront-v3 .mb-storefront-hero p{color:#F2F2F2!important}
.mb-library.mb-storefront-v3 .mb-storefront-hero-mark{
  border-color:rgba(255,106,0,.5)!important;
  color:#FF6A00!important;
  background:rgba(255,255,255,.035)!important;
}
.mb-library.mb-storefront-v3 .mb-storefront-hero-mark svg{color:#FF6A00!important}
.mb-library.mb-storefront-v3 .mb-storefront-hero-mark small{color:#F2F2F2!important}

/* Editorial genre navigation: neutral by default, orange only for the active choice. */
.mb-library.mb-storefront-v3 .mb-storefront-section-label>span{color:#707070!important}
.mb-library.mb-storefront-v3 .mb-storefront-section-label>strong{color:#0B0B0B!important}
.mb-library.mb-storefront-v3 .mb-storefront-genre-tabs{scrollbar-color:#FF6A00 transparent!important}
.mb-library.mb-storefront-v3 .mb-store-genre-tab{
  border-color:#E5E5E5!important;
  background:#FFFFFF!important;
  color:#333333!important;
  box-shadow:0 2px 8px rgba(11,11,11,.035)!important;
}
.mb-library.mb-storefront-v3 .mb-store-genre-tab:hover,
.mb-library.mb-storefront-v3 .mb-store-genre-tab.is-active{
  border-color:#FF6A00!important;
  background:#FF6A00!important;
  color:#FFFFFF!important;
}

/* Search and primary action. */
.mb-library.mb-storefront-v3 .mb-storefront-filters{
  border-color:#E5E5E5!important;
  background:#FFFFFF!important;
  box-shadow:0 6px 22px rgba(11,11,11,.045)!important;
}
.mb-library.mb-storefront-v3 .mb-store-search-icon{color:#707070!important}
.mb-library.mb-storefront-v3 .mb-storefront-filters input[type=search]{color:#1C1C1C!important}
.mb-library.mb-storefront-v3 .mb-storefront-filters input[type=search]::placeholder{color:#8A8A8A!important}
.mb-library.mb-storefront-v3 .mb-storefront-filters button{
  background:#FF6A00!important;
  color:#FFFFFF!important;
  box-shadow:0 5px 12px rgba(255,106,0,.18)!important;
}
.mb-library.mb-storefront-v3 .mb-storefront-filters button:hover{background:#E65A00!important}
.mb-library.mb-storefront-v3 .mb-storefront-filters>a{color:#E65A00!important}

/* Book shelves and editorial hierarchy. */
.mb-library.mb-storefront-v3 .mb-book-shelf{
  border-color:#E7E7E7!important;
  background:#FFFFFF!important;
  box-shadow:0 12px 34px rgba(11,11,11,.045)!important;
}
.mb-library.mb-storefront-v3 .mb-book-shelf-heading h2,
.mb-library.mb-storefront-v3 .mb-store-results-heading h2{color:#0B0B0B!important}
.mb-library.mb-storefront-v3 .mb-book-shelf-heading .mb-storefront-kicker{color:#E65A00!important}
.mb-library.mb-storefront-v3 .mb-book-shelf-rule{background:#E5E5E5!important}
.mb-library.mb-storefront-v3 .mb-book-shelf-rule i{background:#FF6A00!important}
.mb-library.mb-storefront-v3 .mb-shelf-view-all{color:#E65A00!important}
.mb-library.mb-storefront-v3 .mb-shelf-arrow{
  border-color:#E5E5E5!important;
  background:#FFFFFF!important;
  color:#0B0B0B!important;
  box-shadow:0 3px 10px rgba(11,11,11,.055)!important;
}
.mb-library.mb-storefront-v3 .mb-shelf-arrow:hover{
  border-color:#FF6A00!important;
  background:#FF6A00!important;
  color:#FFFFFF!important;
}
.mb-library.mb-storefront-v3 .mb-shelf-track{scrollbar-color:#FF6A00 transparent!important}
.mb-library.mb-storefront-v3 .mb-shelf-track:focus-visible{outline-color:#FF6A00!important}

/* Book cover frame and access labels. */
.mb-library.mb-storefront-v3 .mb-shelf-cover-frame{
  border-color:#E5E5E5!important;
  background:linear-gradient(145deg,#F2F2F2 0%,#FFFFFF 100%)!important;
  box-shadow:0 10px 25px rgba(11,11,11,.07)!important;
}
.mb-library.mb-storefront-v3 .mb-shelf-book:hover .mb-shelf-cover-frame{box-shadow:0 16px 30px rgba(11,11,11,.11)!important}
.mb-library.mb-storefront-v3 .mb-shelf-cover-placeholder{
  border-color:#E5E5E5!important;
  background:#FFFFFF!important;
  color:#0B0B0B!important;
}
.mb-library.mb-storefront-v3 .mb-shelf-cover-badge{
  border-color:#FFFFFF!important;
  background:#F2F2F2!important;
  color:#0B0B0B!important;
  box-shadow:0 2px 8px rgba(11,11,11,.10)!important;
}
.mb-library.mb-storefront-v3 .mb-shelf-cover-badge-subscription{
  border-color:#FF6A00!important;
  background:#0B0B0B!important;
  color:#FFFFFF!important;
}

/* Book information and actions. */
.mb-library.mb-storefront-v3 .mb-shelf-book-body h3{color:#0B0B0B!important}
.mb-library.mb-storefront-v3 .mb-shelf-book-body h3 a:hover{color:#E65A00!important}
.mb-library.mb-storefront-v3 .mb-shelf-book-author{color:#707070!important}
.mb-library.mb-storefront-v3 .mb-shelf-book-author a:hover{color:#E65A00!important}
.mb-library.mb-storefront-v3 .mb-shelf-book-genres{color:#707070!important}
.mb-library.mb-storefront-v3 .mb-shelf-rating{color:#E65A00!important}
.mb-library.mb-storefront-v3 .mb-shelf-rating small{color:#8A8A8A!important}
.mb-library.mb-storefront-v3 .mb-shelf-price{color:#555555!important}
.mb-library.mb-storefront-v3 .mb-shelf-price.is-free{color:#707070!important}
.mb-library.mb-storefront-v3 .mb-shelf-book-action{color:#E65A00!important}
.mb-library.mb-storefront-v3 .mb-shelf-book-action:hover{color:#FF6A00!important}

/* Results, writers, pagination and empty states. */
.mb-library.mb-storefront-v3 .mb-store-results-heading p{color:#707070!important}
.mb-library.mb-storefront-v3 .mb-store-empty{
  border-color:#D9D9D9!important;
  background:#F2F2F2!important;
}
.mb-library.mb-storefront-v3 .mb-store-empty h2{color:#0B0B0B!important}
.mb-library.mb-storefront-v3 .mb-store-empty p{color:#707070!important}
.mb-library.mb-storefront-v3 .mb-store-empty-symbol{color:#FF6A00!important}
.mb-library.mb-storefront-v3 .mb-store-writers{
  border-color:#E5E5E5!important;
  background:#FFFFFF!important;
  box-shadow:0 10px 30px rgba(11,11,11,.04)!important;
}
.mb-library.mb-storefront-v3 .mb-store-writers-heading h2{color:#0B0B0B!important}
.mb-library.mb-storefront-v3 .mb-store-writers-heading p{color:#707070!important}
.mb-library.mb-storefront-v3 .mb-store-writer-card{
  border-color:#E5E5E5!important;
  background:#F2F2F2!important;
}
.mb-library.mb-storefront-v3 .mb-store-writer-card b{color:#0B0B0B!important}
.mb-library.mb-storefront-v3 .mb-store-writer-card small{color:#E65A00!important}
.mb-library.mb-storefront-v3 .mb-store-pagination .page-numbers{
  border-color:#E5E5E5!important;
  color:#333333!important;
}
.mb-library.mb-storefront-v3 .mb-store-pagination .page-numbers:hover{
  border-color:#FF6A00!important;
  color:#E65A00!important;
}
.mb-library.mb-storefront-v3 .mb-store-pagination .current{
  border-color:#FF6A00!important;
  background:#FF6A00!important;
  color:#FFFFFF!important;
}
.mb-library.mb-storefront-v3 a:focus-visible,
.mb-library.mb-storefront-v3 button:focus-visible,
.mb-library.mb-storefront-v3 input:focus-visible{
  outline:2px solid #FF6A00!important;
  outline-offset:3px!important;
}
