.bookshop{max-width:1240px;margin:auto;padding:56px 24px 80px}.bookshop-intro{max-width:760px}.bookshop-intro p{font-size:18px;color:#405b53}.bookshop-note{background:#eaf1ee;border-radius:12px;padding:18px}.book-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:24px}.book-card{border:1px solid #c7dad1;border-radius:18px;padding:24px;display:flex;flex-direction:column;align-items:start;gap:16px}.book-card h2{font-size:26px;margin:0}.book-card p{margin:0}.book-cover{width:100%;height:300px;object-fit:contain;background:#f4f7f5;border-radius:10px}.book-qr{align-self:center;background:white;border:1px solid #dce7e3;padding:4px;border-radius:10px}.book-qr img{display:block;max-width:100%;height:auto}.book-card small{color:#405b53}.book-card .budget-primary{display:inline-block;border-radius:9px;background:#126b54;color:white;padding:12px 18px;font-weight:700}.unified-plan{background:#eef5f1;border:1px solid #bed7ca;border-radius:16px;padding:24px;margin-block:24px}.unified-plan h2{font-size:28px;margin-top:0}#account-status{color:#126b54;font-weight:700}#premium h1{font-size:42px}#premium{padding-top:45px}.guest-banner{border:1px solid #a9cabe;background:#e9f3ed;border-radius:12px;padding:16px 20px;margin-bottom:24px}.guest-banner p{margin:0 0 12px}.guest-banner a{display:inline-block}.goal-percent{color:#126b54;font-weight:700;font-size:.9rem;margin-top:8px}#calculator-account-notice{font-size:.9rem;color:#d6f0e6}#premium-capture{margin-top:12px}
@media(max-width:620px){.bookshop{padding:32px 16px}.unified-plan{padding:18px}#premium h1{font-size:32px}}
@media print{.guest-banner{display:none!important}}

.book-card:only-child{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:start;column-gap:32px;max-width:1050px}
.book-card:only-child .book-cover{grid-column:1;grid-row:1/7;height:auto;max-height:660px;object-fit:contain}
.book-card:only-child>h2,.book-card:only-child>p,.book-card:only-child>a,.book-card:only-child>small{grid-column:2}
.book-card:only-child .book-qr{justify-self:start;align-self:start}
@media(max-width:620px){.book-card:only-child{display:flex}.book-card:only-child .book-cover{max-height:none}.book-card:only-child .book-qr{align-self:center}}

.book-card .international-buy{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;max-width:300px;min-height:48px;padding:12px 18px;border:1px solid #a77b26;border-radius:10px;background:#d5ad55;color:#173b2d;font-weight:800;text-decoration:none;align-self:center;margin:0 auto;}
.book-card .international-buy:hover{filter:brightness(.94)}

.book-card .book-formats{align-self:center;text-align:center;font-size:15px;color:#405b53;line-height:1.45;max-width:300px;margin:0 auto;}

.book-card.matched-book{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:260px auto 1fr auto auto;align-items:start;text-align:center;gap:14px}.matched-book>a:first-child{height:260px;display:flex!important;align-items:center;justify-content:center}.matched-book .book-cover{height:100%!important;max-height:260px!important;object-fit:contain;background:transparent}.matched-book h2{font-size:24px;min-height:58px;display:flex;align-items:center;justify-content:center}.matched-book .book-description{line-height:1.5}.matched-book .book-formats{min-height:44px}.matched-book .international-buy{align-self:end!important}@media(max-width:620px){.book-card.matched-book{grid-template-rows:260px auto auto auto auto}}

.matched-book>a:first-child{background:transparent;border-radius:10px;overflow:hidden}.matched-book .book-cover{width:100%;object-fit:contain}.matched-book .international-buy:focus-visible{outline:3px solid #173b2d;outline-offset:3px}

.matched-book>a:first-child{max-width:210px!important;width:100%;margin-inline:auto}.matched-book .book-cover{height:auto!important;max-height:260px!important;width:100%;object-fit:contain}

/* Keep the compact poster card balanced when its language has one edition. */
.book-card.matched-book:only-child{width:100%;max-width:580px;justify-self:center;grid-template-columns:minmax(0,1fr)}
.book-card.matched-book:only-child>*{grid-column:auto;grid-row:auto}
