/* Shared action sizing overrides parent-theme typography without affecting icon controls. */
body.fbp :is(a.button,button.button,input[type=submit],input[type=button],.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.fbp-reader-btn,.fbp-reader-format-option){display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-height:44px;height:auto;max-width:100%;padding:11px 18px!important;font-family:Arial,sans-serif!important;font-size:14px!important;font-weight:600!important;line-height:1.35!important;letter-spacing:0!important;text-transform:none!important;text-align:center;white-space:normal;word-break:normal;overflow-wrap:break-word;vertical-align:middle;border-radius:8px;text-decoration:none}
body.fbp :is(.fbp-market-actions,.fbp-reader-promo-actions,.fbp-sales-hero-actions,.fbp-reader-landing-actions){gap:12px;align-items:center}
body.fbp .fbp-reader-promo-actions .button{flex:0 1 auto;width:auto;margin:0!important}
body.fbp .fbp-reader-promo-actions>a:not(.button){font:600 14px/1.4 Arial,sans-serif;display:inline-flex;align-items:center;min-height:44px;padding:8px 0}
body.fbp .fbp-header .fbp-search button{min-height:44px;padding:10px 16px!important;font:600 14px/1.35 Arial,sans-serif!important;letter-spacing:0!important}
body.fbp .fbp-reader-dialog :is(.fbp-reader-icon-btn,.fbp-reader-topbar button){min-height:44px;min-width:44px}
body.fbp .fbp-reader-dialog .fbp-reader-icon-btn{padding:10px!important}
body.fbp .fbp-drawer-signin .button{width:100%;padding:12px 14px!important}
body.fbp .fbp-reader-promo-features article{background:#f7f0e5;color:#24292d;border-color:#e5d8c6;box-shadow:0 4px 16px #37201408}
body.fbp .fbp-reader-promo-features article:nth-child(2){background:#eaf1ed;border-color:#d2dfd7}
body.fbp .fbp-reader-promo-features article:nth-child(3){background:#f5e9eb;border-color:#e8d3d7}
body.fbp .fbp-reader-promo-features article:nth-child(4){background:#eaf0f6;border-color:#d5e0eb}
body.fbp .fbp-reader-promo-features article h2{color:#24292d;font-size:23px;line-height:1.25}
body.fbp .fbp-reader-promo-steps{background:#fbf6ef;color:#24292d;border-color:#e5d8c6}
body.fbp .fbp-reader-promo-final{background:#f0e2e5;color:#34242b;border-color:#ddc5cc}
body.fbp .fbp-reader-promo-final h2,body.fbp .fbp-reader-promo-steps h2{color:inherit;font-size:clamp(25px,3vw,34px);line-height:1.2}
body.fbp .fbp-reader-marketing-banner{background:#f5eee5;color:#24292d;border-color:#e5d8c6;overflow:hidden}
body.fbp .fbp-reader-marketing-banner h2{color:#24292d}
.fbp-reader-lifestyle{margin:0;position:relative;min-width:0;overflow:hidden;border-radius:14px;background:#e7d8c6}
.fbp-reader-lifestyle img{display:block;width:100%;height:100%;min-height:310px;max-height:460px;object-fit:cover;object-position:center;border-radius:14px}
.fbp-reader-lifestyle figcaption{position:absolute;left:16px;bottom:16px;padding:8px 12px;background:#fffef5ed;color:#34242b;border-radius:8px;font:600 12px/1.4 Arial,sans-serif}
@media(max-width:600px){body.fbp .fbp-reader-promo-actions{align-items:stretch}body.fbp .fbp-reader-promo-actions .button{flex:1 1 180px}body.fbp .fbp-reader-marketing-banner{padding:24px 18px}.fbp-reader-lifestyle img{min-height:240px}body.fbp .fbp-reader-dialog .fbp-reader-btn{padding:10px 12px!important;font-size:13px!important}}

/* Blue Reader introduction, isolated from the chosen site-wide skin. */
body.fbp .fbp-reader-introduction{--fbp-brand:#175cc5;--fbp-accent:#6ac7ed;--fbp-panel:#eef6ff;color:#17314e}
body.fbp .fbp-reader-introduction .fbp-reader-marketing-banner{background:linear-gradient(135deg,#eaf5ff,#dce9fc);border-color:#c8dcf5;color:#17314e}
body.fbp .fbp-reader-introduction .fbp-reader-marketing-banner h2{color:#102e57}
body.fbp .fbp-reader-introduction a.button{background:#175cc5!important;color:#fff!important;border:1px solid #175cc5}
body.fbp .fbp-reader-introduction a.fbp-button-alt{background:#fff!important;color:#175cc5!important}
body.fbp .fbp-reader-introduction .fbp-reader-promo-features article{background:#eef6ff;border-color:#d2e4f7;color:#17314e}
body.fbp .fbp-reader-introduction .fbp-reader-promo-features article:nth-child(2n){background:#e5f2f8}
body.fbp .fbp-reader-introduction :is(.fbp-reader-promo-features h2,.fbp-reader-promo-steps h2){color:#102e57}
.fbp-reader-intro-nav{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 28px}.fbp-reader-intro-nav a{padding:10px 18px;border:1px solid #bfd7f2;border-radius:24px;background:#f1f7ff;color:#175cc5;font:600 14px/1.4 Arial}
.fbp-reader-promo-books,.fbp-reader-promo-faq{padding:30px 0;margin:20px 0}.fbp-reader-promo-books h2,.fbp-reader-reading-moments h2,.fbp-reader-promo-faq h2{color:#102e57;font-size:clamp(26px,3vw,36px);line-height:1.2}
.fbp-reader-promo-book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:24px}.fbp-reader-promo-book-grid article{background:#f0f6fd;padding:20px;border:1px solid #d2e4f7;border-radius:14px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.fbp-reader-promo-book-grid article>a:first-child{flex:1;width:100%;color:#102e57}.fbp-reader-promo-book-grid img{height:210px;width:100%;object-fit:contain}.fbp-reader-promo-book-grid h3{font-size:18px;line-height:1.4;margin:16px 0}
.fbp-reader-reading-moments{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px;padding:32px;background:#edf5ff;border-radius:18px;margin:28px 0}
body.fbp .fbp-reader-introduction .fbp-reader-promo-steps{background:#eef6ff;border-color:#c8dcf5;color:#17314e}
body.fbp .fbp-reader-introduction .fbp-reader-promo-final{background:linear-gradient(120deg,#12376b,#175cc5);color:#fff;border:0}.fbp-reader-introduction .fbp-reader-promo-final h2{color:#fff!important}.fbp-reader-introduction .fbp-reader-promo-final a.button{border-color:#91bfff}
.fbp-reader-promo-faq details{padding:18px;border-bottom:1px solid #c8dcf5}.fbp-reader-promo-faq summary{cursor:pointer;font-weight:600;color:#102e57}.fbp-reader-promo-faq details p{margin:12px 0 0}
@media(max-width:760px){.fbp-reader-reading-moments{grid-template-columns:1fr;padding:22px}.fbp-reader-promo-book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fbp-reader-promo-book-grid article{padding:12px}.fbp-reader-promo-book-grid img{height:170px}}
@media(prefers-reduced-motion:no-preference){.fbp-reader-introduction{scroll-behavior:smooth}.fbp-reader-promo-book-grid article{transition:transform .2s,box-shadow .2s}.fbp-reader-promo-book-grid article:hover{transform:translateY(-4px);box-shadow:0 10px 24px #175cc51a}}
/* Reader book detail shares the SVG hierarchy with its own blue palette. */
body.fbp .fbp-reader-dialog .fbp-reader-book-detail{display:grid;grid-template-columns:minmax(180px,260px) minmax(0,1fr);gap:32px;padding:24px;align-items:start}
body.fbp .fbp-reader-dialog .fbp-reader-detail-cover img{display:block;width:100%;height:auto;max-height:380px;object-fit:contain;background:#edf3fa;border-radius:8px}
body.fbp .fbp-reader-dialog .fbp-reader-book-detail h2{font-size:clamp(26px,3vw,36px);line-height:1.2;color:#12376b}
body.fbp .fbp-reader-dialog .fbp-reader-book-description{font-size:15px;line-height:1.75;max-width:650px}
body.fbp .fbp-reader-dialog .fbp-reader-edition-form{background:#eef5ff;border:1px solid #cbddf4;border-radius:12px;padding:20px;margin:20px 0}
body.fbp .fbp-reader-dialog .fbp-reader-format-option{border-color:#b5c9e2;background:#fff;color:#12376b;min-width:140px}
body.fbp .fbp-reader-dialog .fbp-reader-format-option[aria-pressed=true]{background:#e0ecff;border:2px solid #175cc5;color:#12376b;box-shadow:none}
body.fbp .fbp-reader-dialog .fbp-reader-primary{background:#175cc5!important;color:white!important}
body.fbp .fbp-reader-dialog .fbp-reader-detail-author{color:#175cc5;font-size:14px}
body.fbp .fbp-reader-dialog .fbp-reader-detail-genres{margin:20px 0;font-size:13px}
@media(max-width:700px){body.fbp .fbp-reader-dialog .fbp-reader-book-detail{grid-template-columns:1fr;padding:16px;gap:22px}body.fbp .fbp-reader-dialog .fbp-reader-detail-cover{max-width:220px;margin:auto;width:100%}body.fbp .fbp-reader-dialog .fbp-reader-edition-form{padding:16px}.fbp-reader-format-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.fbp-reader-format-switch legend{grid-column:1/-1}body.fbp .fbp-reader-dialog .fbp-reader-format-option{min-width:0;width:100%}}
