/* 마을 서점 */
.sh-hero { text-align: center; }
.sh .sh-closed { margin: 16px 0; font-size: 15px; line-height: 1.6; }
.sh-closed strong { font-family: var(--pm-font-head); font-weight: 400; font-size: 17px; }

.sh-grid { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 820px) { .sh-grid { grid-template-columns: 1fr 1fr; } }
ul.sh-grid > li.sh-card.pm-card { margin: 0; }
.sh-card { display: flex; flex-direction: column; gap: 14px; margin: 0; scroll-margin-top: 80px; }
.sh-body { display: flex; flex-direction: column; min-width: 0; }

/* 표지 */
.sh-cover { --c: var(--pm-wood); position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; width: 168px; aspect-ratio: 3 / 4; margin: 0 auto; padding: 14px 12px 16px; border: 2.4px solid var(--pm-ink); border-radius: 6px 16px 16px 6px; background: var(--c); box-shadow: 6px 8px 0 rgba(67, 53, 45, .16), inset 10px 0 0 rgba(67, 53, 45, .12); overflow: hidden; }
.sh-cover[data-c="fire"] { --c: var(--pm-fire); }
.sh-cover[data-c="earth"] { --c: var(--pm-earth); }
.sh-cover[data-c="water"] { --c: var(--pm-water); }
.sh-cover[data-c="metal"] { --c: #d9d3c4; }
.sh-cover--sm { width: 120px; }
.sh-cover-brand { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--pm-ink); background: rgba(255, 253, 249, .8); border-radius: 999px; padding: 2px 10px; margin-left: 8px; }
.sh-motif { width: 68%; height: auto; flex: 0 0 auto; }
.sh-cover-title { word-break: keep-all; text-wrap: balance; font-family: var(--pm-font-head); font-size: 17px; line-height: 1.3; color: var(--pm-ink); text-align: center; background: rgba(255, 253, 249, .9); border-radius: 12px; padding: 5px 10px; margin-left: 8px; }

.sh-fmt { margin: 0; font-size: 13px; font-weight: 700; color: var(--pm-sub-text); }
.sh-name { margin: 2px 0 4px; font-family: var(--pm-font-head); font-weight: 400; font-size: 23px; line-height: 1.3; color: var(--pm-ink); }
.sh-tag { margin: 0 0 8px; font-size: 15px; line-height: 1.6; color: var(--pm-ink); }
.sh-price { margin: 0 0 4px; }
.sh-price-v { font-family: var(--pm-font-head); font-size: 24px; color: var(--pm-fire-deep); }
.sh-price-n { font-size: 12.5px; color: var(--pm-sub-text); }
.sh-h { margin: 14px 0 6px; font-size: 14px; font-weight: 700; color: var(--pm-sub-text); }
.sh-toc { margin: 0; padding: 0 0 0 22px; list-style: decimal; font-size: 14.5px; line-height: 1.7; color: var(--pm-ink); }
.sh-sample { margin: 0; padding: 10px 14px; border-left: 4px solid var(--pm-earth); border-radius: 0 12px 12px 0; background: var(--pm-soft); font-size: 14.5px; line-height: 1.7; color: var(--pm-ink); }

.sh-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sh-form { display: contents; }
.sh-act { min-height: var(--pm-tap); flex: 1 1 150px; text-align: center; }
.sh-buy[disabled] { opacity: .55; cursor: not-allowed; }
.sh-notify.is-on { background: var(--pm-soft2); }
.sh-free { margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: var(--pm-info-bg); color: var(--pm-info-ink); }
.sh-free-t { margin: 0 0 6px; font-size: 13.5px; font-weight: 700; line-height: 1.5; }
.sh-free-l { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sh-chip { display: inline-flex; align-items: center; min-height: var(--pm-tap); padding: 0 16px; border: 2px solid var(--pm-line); border-radius: var(--pm-r-pill); background: var(--pm-cream); color: var(--pm-ink); font-size: 14.5px; text-decoration: none; }
.sh-chip:hover { background: var(--pm-soft); }
.sh-chip:focus-visible, .sh-act:focus-visible { outline: 3px solid var(--pm-focus); outline-offset: 2px; }
.sh-terms { margin: 18px 4px 6px; font-size: 13px; line-height: 1.7; color: var(--pm-sub-text); text-align: center; }
