/* makeabook.fun/guide/: the buying path (guide_extras.py). Same tokens as vibe.css. */

/* the opening offer */
html body.makeabook.page-id-9442 .bde-section-9442-300 { background: var(--sage) var(--paper-tex) !important; }
html body.makeabook.page-id-9442 .bde-section-9442-300 .section-background-overlay { display: none !important; }
html body.makeabook.page-id-9442 .bde-section-9442-300 > .section-container { padding-top: clamp(40px, 6vw, 80px) !important; padding-bottom: clamp(48px, 6vw, 84px) !important; }
html body.makeabook.page-id-9442 .bde-section-9442-300 .mb-offer { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 72px); align-items: center; width: min(1080px, 100%); margin: 0 auto; text-align: left; }
html body.makeabook.page-id-9442 .bde-section-9442-300 .mb-offer-eyebrow { margin: 0 0 14px; font: 700 12px/1 var(--caps); letter-spacing: .16em; text-transform: uppercase; color: var(--rose) !important; }
html body.makeabook.page-id-9442 .bde-section-9442-300 .mb-offer h1.bde-heading { color: var(--ink) !important; text-align: left; margin: 0 0 18px !important; font: 500 clamp(38px, 5.2vw, 64px)/1.03 var(--serif) !important; max-width: none; }
html body.makeabook.page-id-9442 .bde-section-9442-300 .mb-offer h1.bde-heading::before { display: none !important; }
html body.makeabook.page-id-9442 .bde-section-9442-300 .mb-offer h1 * { color: inherit !important; }
html body.makeabook.page-id-9442 .bde-section-9442-300 .mb-offer-promise { margin: 0 0 28px; font: 400 clamp(17px, 1.8vw, 20px)/1.55 var(--body); color: var(--ink-soft) !important; max-width: 560px; }
html body.makeabook.page-id-9442 .bde-section-9442-300 .mb-offer-btns { display: flex; flex-wrap: wrap; gap: 12px; }
html body.makeabook.page-id-9442 .mb-buy-btn, html body.makeabook.page-id-9442 .mb-ghost-btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 16px 26px; font: 700 13px/1 var(--caps); letter-spacing: .12em; text-transform: uppercase; text-decoration: none !important; white-space: nowrap; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), background .15s; }
html body.makeabook.page-id-9442 .mb-buy-btn { background: var(--rust) !important; color: #fff !important; border: 1.5px solid var(--rust) !important; box-shadow: 0 10px 22px -12px rgba(165, 81, 46, .8); }
html body.makeabook.page-id-9442 .mb-buy-btn:hover { transform: translateY(-2px); background: #8f4426 !important; }
html body.makeabook.page-id-9442 .mb-ghost-btn { border: 1.5px solid var(--forest); color: var(--forest) !important; background: transparent; }
html body.makeabook.page-id-9442 .mb-ghost-btn:hover { background: rgba(47, 62, 52, .07); }
html body.makeabook.page-id-9442 .bde-section-9442-300 .mb-offer-fine { margin: 16px 0 0; font: 400 14px/1.4 var(--body); color: var(--ink-soft) !important; }
html body.makeabook.page-id-9442 .bde-section-9442-300 .mb-offer-cover { display: block; max-width: 330px; justify-self: center; }
html body.makeabook.page-id-9442 .bde-section-9442-300 .mb-offer-cover img { display: block; width: 100%; height: auto; border-radius: 4px 12px 12px 4px; box-shadow: 18px 26px 44px -20px rgba(40, 28, 18, .6); transform: rotate(2deg); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
html body.makeabook.page-id-9442 .bde-section-9442-300 .mb-offer-cover:hover img { transform: rotate(0) translateY(-4px); }

/* what's inside */
html body.makeabook.page-id-9442 .mb-inside { padding: clamp(48px, 7vw, 96px) 20px; }
html body.makeabook.page-id-9442 .mb-inside-card { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; width: min(960px, 100%); margin: 0 auto; background: var(--card); border-radius: 28px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
html body.makeabook.page-id-9442 .mb-inside-cover img { display: block; width: 100%; height: auto; border-radius: 3px 10px 10px 3px; box-shadow: 12px 18px 30px -16px rgba(40, 28, 18, .55); }
html body.makeabook.page-id-9442 .mb-inside h2 { font: 500 clamp(28px, 3.2vw, 38px)/1.1 var(--serif); margin: 0 0 16px; color: var(--ink) !important; }
html body.makeabook.page-id-9442 .mb-inside ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; font: 400 16px/1.5 var(--body); color: var(--ink) !important; }
html body.makeabook.page-id-9442 .mb-inside li { position: relative; padding-left: 28px; }
html body.makeabook.page-id-9442 .mb-inside li::before { content: "✓"; position: absolute; left: 0; color: var(--forest) !important; font-weight: 800; }

/* the buy bar */
html body.makeabook.page-id-9442 .mb-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 14px; width: min(760px, calc(100% - 24px)); padding: 10px 10px 10px 12px; background: rgba(255, 253, 248, .97); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 40px -16px rgba(40, 28, 18, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: mb-up .35s ease; }
html body.makeabook.page-id-9442 .mb-bar[hidden] { display: none; }
@keyframes mb-up { from { transform: translate(-50%, 20px); opacity: 0; } }
html body.makeabook.page-id-9442 .mb-bar img { width: 40px; height: auto; border-radius: 2px 4px 4px 2px; box-shadow: 2px 3px 8px -3px rgba(40, 28, 18, .5); flex: none; }
html body.makeabook.page-id-9442 .mb-bar p { flex: 1; min-width: 0; margin: 0; font: 400 13px/1.35 var(--body); color: var(--ink-soft) !important; }
html body.makeabook.page-id-9442 .mb-bar p b { display: block; font: 600 16px/1.2 var(--serif); color: var(--ink) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body.makeabook.page-id-9442 .mb-bar .mb-buy-btn { padding: 13px 18px; font-size: 12px; }
html body.makeabook.page-id-9442 .mb-bar button { flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; color: var(--ink-soft) !important; font-size: 20px; line-height: 1; cursor: pointer; }
html body.makeabook.page-id-9442 .mb-bar button:hover { background: rgba(58, 46, 38, .07); }

@media (max-width: 860px) {
  html body.makeabook.page-id-9442 .bde-section-9442-300 .mb-offer { grid-template-columns: 1fr; text-align: center; }
  html body.makeabook.page-id-9442 .bde-section-9442-300 .mb-offer h1.bde-heading { text-align: center; }
  html body.makeabook.page-id-9442 .bde-section-9442-300 .mb-offer-promise { margin-left: auto; margin-right: auto; }
  html body.makeabook.page-id-9442 .bde-section-9442-300 .mb-offer-btns { justify-content: center; }
  html body.makeabook.page-id-9442 .bde-section-9442-300 .mb-offer-cover { max-width: 220px; grid-row: 1; }
  html body.makeabook.page-id-9442 .mb-inside-card { grid-template-columns: 1fr; text-align: left; }
  html body.makeabook.page-id-9442 .mb-inside-cover { max-width: 180px; margin: 0 auto; }
}
@media (max-width: 560px) {
  html body.makeabook.page-id-9442 .bde-section-9442-300 .mb-offer-btns { flex-direction: column; }
  html body.makeabook.page-id-9442 .mb-bar p { display: none; }
  html body.makeabook.page-id-9442 .mb-bar .mb-buy-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .mb-bar { animation: none; } }

/* The page recolors every link in main with a very specific rule; the ID-weighted :not() lets the buttons keep their colors. */
html body.makeabook.page-id-9442 a.mb-buy-btn:not(#mb-none) { color: #fff !important; }
html body.makeabook.page-id-9442 a.mb-ghost-btn:not(#mb-none) { color: var(--forest) !important; }
html body.makeabook.page-id-9442 .mb-inside .mb-offer-eyebrow { margin: 0 0 12px; font: 700 12px/1 var(--caps) !important; letter-spacing: .16em; text-transform: uppercase; color: var(--rose) !important; }

/* rating + reader quotes */
html body.makeabook.page-id-9442 .bde-section-9442-300 .mb-offer-rating { margin: 18px 0 0; font: 400 15px/1.4 var(--body); }
html body.makeabook.page-id-9442 .bde-section-9442-300 .mb-offer-rating a:not(#mb-none) { color: var(--ink) !important; text-decoration: none !important; }
html body.makeabook.page-id-9442 .bde-section-9442-300 .mb-offer-rating b { color: var(--ink) !important; font-weight: 700; }
html body.makeabook.page-id-9442 .mb-stars { color: #e3a33b !important; letter-spacing: .08em; font-size: 17px; }
html body.makeabook.page-id-9442 .mb-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: min(1080px, 100%); margin: 40px auto 0; }
html body.makeabook.page-id-9442 .mb-quotes blockquote { margin: 0; padding: 22px 24px; background: rgba(255, 253, 248, .7); border: 1px solid var(--line); border-radius: 22px; }
html body.makeabook.page-id-9442 .mb-quotes blockquote::before { content: "★★★★★"; display: block; margin-bottom: 8px; color: #e3a33b; letter-spacing: .08em; }
html body.makeabook.page-id-9442 .mb-quotes p { margin: 0 0 10px; font: italic 500 19px/1.45 var(--serif) !important; color: var(--ink) !important; }
html body.makeabook.page-id-9442 .mb-quotes cite { font: 600 13px/1.3 var(--body) !important; font-style: normal !important; color: var(--ink-soft) !important; }
@media (max-width: 960px) { html body.makeabook.page-id-9442 .mb-quotes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { html body.makeabook.page-id-9442 .mb-quotes { grid-template-columns: 1fr; } }
@media (max-width: 860px) { html body.makeabook.page-id-9442 .bde-section-9442-300 .mb-offer-rating { text-align: center; } }
html body.makeabook.page-id-9442 .mb-quotes-title { grid-column: 1 / -1; margin: 0 0 4px; text-align: center; font: 500 clamp(28px, 3vw, 36px)/1.1 var(--serif) !important; color: var(--ink) !important; }
html body.makeabook.page-id-9442 .mb-quotes p { font-size: 17.5px !important; }
html body.makeabook.page-id-9442 #reviews { scroll-margin-top: 90px; }
html body.makeabook.page-id-9442 .mb-offer-rating u { margin-left: 6px; color: var(--rust) !important; text-underline-offset: 3px; font-weight: 600; }
