/* Editorial bookshelf: category rail, generous paper space, cover-first cards. */
#store{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.6fr);grid-template-rows:auto 1fr;column-gap:clamp(40px,7vw,120px);padding:88px clamp(24px,5vw,80px) 100px;background:#fffefa;color:#243735;align-items:start}
#store .store-heading{grid-column:1;grid-row:1;display:block;border:0;margin:0;padding:0 0 32px}
#store .store-heading h2{font-family:var(--font-reading);font-size:36px;line-height:1.35;font-weight:500;letter-spacing:-.025em}
#store .store-heading .eyebrow{font-size:12px;letter-spacing:.08em;margin-bottom:16px}
#store .store-heading p:not(.eyebrow){font-size:15px;line-height:1.9;margin:22px 0 16px}
#store .store-heading small{font-size:12px;color:#65716a;line-height:1.7}
#store .store-toolbar{grid-column:1;grid-row:2;display:flex;flex-direction:column;align-items:stretch;gap:36px;margin:0;position:sticky;top:108px}
#store .category-tabs{order:-1;display:flex;flex-direction:column;align-items:flex-start;gap:4px}
#store .category-tabs button{background:transparent;border:0;border-radius:0;color:#718079;padding:5px 0;min-height:44px;font-size:25px;font-weight:400;line-height:1.4;letter-spacing:-.02em;text-align:left}
#store .category-tabs button.active,#store .category-tabs button:hover{color:#243735;background:transparent;text-decoration:underline;text-underline-offset:7px;text-decoration-thickness:1px}
#store .store-search{width:100%;max-width:290px;border:0;border-bottom:1px solid #acb8ad;padding:10px 0;background:transparent}
#store .store-search input{width:100%;font-size:14px;background:transparent}
#store .shop-grid{grid-column:2;grid-row:1 / span 2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px 24px}
#store .shop-card{min-width:0;border:0;background:transparent;padding:0;box-shadow:none}
#store .shop-cover{width:100%;border:0;text-align:left}
#store .book-title-link{border:0;background:transparent;padding:0;color:inherit;font:inherit;text-align:left;min-height:44px}
#store .shop-cover{height:auto;aspect-ratio:3 / 4;display:flex;align-items:center;justify-content:center;padding:15%;background:#eeeae1;color:#283e3b;overflow:hidden}
#store .shop-cover span{width:100%;min-height:90%;display:flex;align-items:flex-start;padding:22% 13%;background:#d9e2c9;border-left:5px solid #aeb8a0;box-shadow:5px 7px 9px #273c3526;font:500 clamp(19px,1.8vw,28px)/1.55 var(--font-title);letter-spacing:-.015em;transition:transform .25s}
#store .shop-card:nth-child(4n+2) .shop-cover{background:#eae9e3}#store .shop-card:nth-child(4n+2) .shop-cover span{background:#e8c5a6;border-color:#c69e7f}
#store .shop-card:nth-child(4n+3) .shop-cover{background:#e2e9e6}#store .shop-card:nth-child(4n+3) .shop-cover span{background:#5d7986;border-color:#435d68;color:#fffdf4}
#store .shop-card:nth-child(4n+4) .shop-cover{background:#eee9e0}#store .shop-card:nth-child(4n+4) .shop-cover span{background:#e7d988;border-color:#baad66}
#store .shop-card:hover .shop-cover span{transform:translateY(-4px)}
#store .shop-meta{padding-top:16px}#store .shop-meta small{font-size:12px;line-height:1.6;color:#66736c}
#store .shop-meta h3{font-size:17px;font-weight:500;line-height:1.6;margin:6px 0 12px}#store .shop-meta p{display:none}
#store .shop-buy{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}#store .shop-price{font-size:14px;font-weight:400}
#store .add-cart{background:transparent;color:#243735;border:0;border-bottom:1px solid #708176;border-radius:0;padding:8px 0;min-height:44px;font-size:13px;box-shadow:none}#store .add-cart.added{color:#356c57}
#store .shop-empty{grid-column:2;grid-row:1;padding:48px 0}
#store button:focus-visible{outline:2px solid #356c57;outline-offset:5px}
@media(max-width:850px){#store{grid-template-columns:190px minmax(0,1fr);column-gap:30px;padding-inline:24px}#store .shop-grid{gap:40px 16px}#store .shop-cover span{padding:15%;font-size:19px}#store .store-heading h2{font-size:29px}#store .category-tabs button{font-size:22px}}
@media(max-width:600px){#store{display:block;padding:52px 20px 64px}#store .store-heading{padding-bottom:24px}#store .store-heading p:not(.eyebrow){margin:12px 0}#store .store-toolbar{position:static;gap:14px;margin-bottom:30px}#store .category-tabs{flex-direction:row;flex-wrap:wrap;gap:4px 18px}#store .category-tabs button{font-size:16px}#store .store-search{max-width:none}#store .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 14px}#store .shop-cover{padding:13%}#store .shop-cover span{font-size:17px;padding:15% 10%;border-left-width:3px}#store .shop-meta h3{font-size:15px}#store .shop-meta small{font-size:12px}#store .shop-buy{align-items:flex-start;flex-direction:column;gap:0}}
@media(prefers-reduced-motion:reduce){#store .shop-cover span{transition:none}#store .shop-card:hover .shop-cover span{transform:none}}
.book-detail{inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#fffefa;color:#243735;overflow-y:auto;font-family:var(--font-reading)}
.book-detail::backdrop{background:#fffefa}.book-detail button{min-height:44px;font:inherit;cursor:pointer}.book-detail-nav{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 5vw;border-bottom:1px solid #e1e4da;font-size:14px}.book-detail-nav button{border:0;background:transparent;color:inherit}
.book-detail-top{display:grid;grid-template-columns:1.65fr 1fr;gap:9vw;padding:72px 5vw 90px}.book-detail-category{font-size:16px;margin:0 0 20px}.book-detail h2{font-size:clamp(36px,5vw,76px);line-height:1.2;letter-spacing:-.035em;word-break:keep-all;overflow-wrap:anywhere;margin:0 0 28px}.book-detail-author{font-size:18px}.book-detail-price{font-size:20px;margin:30px 0 12px}.book-detail-quantity{display:flex;align-items:center;gap:16px;margin:12px 0 30px}.book-detail-quantity button{width:44px;border:0;background:transparent;font-size:24px}.book-detail-quantity button:disabled{opacity:.35}.book-detail dl{display:grid;grid-template-columns:auto 1fr;gap:8px 20px;font-size:14px;line-height:1.75}.book-detail dt{color:#69766f}.book-detail dd{margin:0}.book-detail-description [data-add]{width:100%;border:0;padding:14px;background:#243735;color:#fffefa;font-size:16px}.book-detail-description small{display:block;font-size:13px;line-height:1.8;color:#64746a}.book-detail-description h3{font-size:18px;margin:42px 0 18px}.book-detail-description h3 span{display:block;margin-top:6px;font-size:12px;letter-spacing:.06em;color:#69766f}.book-detail-description p{font-size:16px;line-height:1.9;word-break:keep-all}.book-detail-description .book-detail-disclaimer{font-size:14px;color:#64746a}.book-detail-description a{display:inline-block;margin-top:16px;text-decoration:underline;text-underline-offset:5px}.book-detail-feedback:empty{display:none}.book-detail-feedback{color:#356c57}
.book-detail-visual{margin:0;background:#e8ebe1;padding:70px 20px 30px;display:grid;justify-items:center;gap:30px}.book-detail-cover{width:min(340px,65vw);aspect-ratio:2/3;background:#d9e2c9;border-left:10px solid #aeb8a0;padding:40px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:14px 20px 25px #24373526}.book-detail-cover span{font:500 36px/1.5 var(--font-title);word-break:keep-all}.book-detail-cover small{font-size:14px}.book-detail figcaption{font-size:12px;color:#64746a}.book-detail-more{padding:70px 5vw 100px;max-width:1000px;margin:auto}.book-detail-more h3{font-size:26px;font-weight:500}.book-detail details{border-bottom:1px solid #c9d0c5;padding:20px 0}.book-detail summary{cursor:pointer;min-height:44px;line-height:44px;font-size:17px}.book-detail details p{line-height:1.9;font-size:16px}.book-detail :focus-visible{outline:2px solid #356c57;outline-offset:4px}
@media(max-width:700px){.book-detail-nav{padding:12px 20px;font-size:12px}.book-detail-top{grid-template-columns:1fr;gap:30px;padding:36px 20px 48px}.book-detail h2{font-size:38px}.book-detail dl{font-size:13px;gap:8px 12px}.book-detail-description h3{margin-top:28px}.book-detail-cover{padding:28px}.book-detail-cover span{font-size:29px}.book-detail-more{padding:36px 20px 70px}}
