.pjsc{--pjsc-ink:#123737;--pjsc-teal:#125a54;--pjsc-paper:#f5f2e9;color:var(--pjsc-ink);max-width:1440px;margin:0 auto;padding:0 24px 64px;font-family:Inter,system-ui,sans-serif}.pjsc *{box-sizing:border-box}.pjsc a{text-decoration:none;color:inherit}.pjsc-hero{background:var(--pjsc-paper);border-radius:16px;padding:48px;margin:16px 0 32px;border-bottom:5px solid #d7b674}.pjsc-eyebrow{font-size:12px;letter-spacing:.14em;font-weight:700}.pjsc h1{font-family:Georgia,serif;font-size:clamp(32px,4vw,58px);line-height:1.1;margin:16px 0}.pjsc-hero>p:last-child{max-width:650px;font-size:18px;line-height:1.6}.pjsc-controls{display:flex;gap:14px;align-items:end;flex-wrap:wrap}.pjsc-controls label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:650;min-width:130px;flex:1}.pjsc-controls .pjsc-search{flex:3;min-width:220px}.pjsc-controls input,.pjsc-controls select{font:inherit;font-size:14px;min-height:46px;border:1px solid #b3c6c0;border-radius:6px;background:#fff;color:var(--pjsc-ink);padding:10px;width:100%;margin:0}.pjsc-controls button,.pjsc-buy{background:var(--pjsc-teal);color:#fff!important;border:0;border-radius:6px;min-height:46px;padding:12px 20px;font:inherit;font-size:14px;font-weight:700;cursor:pointer}.pjsc-results{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:20px 0;font-size:13px}.pjsc-results a{text-decoration:underline}.pjsc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 22px}.pjsc-card{min-width:0;display:flex;flex-direction:column;border:1px solid #dbe4df;border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 4px 16px #163c3308}.pjsc-cover{display:block;position:relative;aspect-ratio:3/4;overflow:hidden;background:var(--pjsc-teal)}.pjsc-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}.pjsc-fallback{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;padding:22px;background:linear-gradient(145deg,#124a4a,#1d6d63);color:#fff}.pjsc-fallback>span{font-size:10px;letter-spacing:.12em;line-height:1.6}.pjsc-fallback strong{font-family:Georgia,serif;font-size:clamp(16px,1.4vw,24px);line-height:1.25;overflow-wrap:anywhere}.pjsc-copy{padding:18px;display:flex;flex-direction:column;align-items:start;flex:1;gap:10px}.pjsc-card h2{font-family:Georgia,serif;font-size:19px;line-height:1.3;margin:0}.pjsc-price{font-size:18px;font-weight:700}.pjsc-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.5;font-size:13px;margin:0;min-height:3em}.pjsc-length{font-size:12px;color:#53635f;margin:0}.pjsc-instant{font-size:11px;font-weight:700;color:#165f43;background:#e6f4eb;padding:4px 8px;border-radius:12px}.pjsc-buy{display:block;width:100%;text-align:center;margin-top:auto}.pjsc-copy small{font-size:11px}.pjsc-pagination{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:36px 0}.pjsc-pagination .page-numbers{padding:10px 14px;border:1px solid #b3c6c0;border-radius:5px}.pjsc-pagination .current{background:var(--pjsc-teal);color:#fff}.pjsc-empty{grid-column:1/-1;padding:30px}.pjsc :focus-visible{outline:3px solid #ba5828;outline-offset:3px}
@media(max-width:1199px){.pjsc-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 16px}.pjsc-copy{padding:14px}.pjsc-card h2{font-size:18px}}
@media(max-width:899px){.pjsc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pjsc-fallback strong{font-size:24px}.pjsc-hero{padding:32px}.pjsc-controls label{min-width:140px}}
@media(max-width:480px){.pjsc{padding:0 14px 36px}.pjsc-hero{padding:26px 22px;margin-top:8px}.pjsc-hero>p:last-child{font-size:16px}.pjsc-grid{grid-template-columns:1fr;gap:26px}.pjsc-controls .pjsc-search{flex-basis:100%;min-width:0}.pjsc-controls button{width:100%}.pjsc-cover{aspect-ratio:3/4}.pjsc-fallback strong{font-size:32px}.pjsc-card h2{font-size:22px}.pjsc-copy{padding:20px}.pjsc-description{font-size:14px}.pjsc-fallback{padding:32px}}
/* Keep the active theme's Page shell while giving the catalog room for book covers. */
.pjsc-page .pj-content{max-width:1440px}.pjsc-page .pj-page-article{max-width:none}.pjsc-page .pj-page-article>.pj-article-head{display:none}.pjsc-page .pj-prose .pjsc-card h2{font-size:19px;margin:0;line-height:1.3}.pjsc-page .pj-prose .pjsc-description{margin:0}.pjsc-page .pj-prose .pjsc-length{margin:0}

/* Mobile controls remain usable without JavaScript or a drawer. */
.pjsc-controls>*{min-width:0}.pjsc-results a,.pjsc-card h2 a{display:inline-flex;align-items:center;min-height:44px}
.pjsc-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;box-sizing:border-box}
.pjsc-pagination{max-width:100%}.pjsc-buy{box-sizing:border-box;white-space:normal;overflow-wrap:anywhere}
@media(max-width:600px){.pjsc-controls{display:grid;grid-template-columns:minmax(0,1fr)}.pjsc-controls label,.pjsc-controls .pjsc-search{min-width:0;width:100%}.pjsc-controls button{width:100%}.pjsc-results{flex-wrap:wrap}.pjsc-card{overflow:hidden}}
.pjsc>p>a,.pjsc-page .pj-footer-nav a,.single-product .pj-footer-nav a{display:inline-flex;align-items:center;min-height:44px;min-width:44px}
