/* ==========================================================================
   Top Sách Hay — Redesign layer ("Editorial ấm áp")
   Load AFTER theme.css. Only overrides/extends existing sh-* classes,
   so other pages keep working and pick up the new look automatically.
   ========================================================================== */

:root {
  --sh-paper: #f7f1e8;            /* giấy kem */
  --sh-bg: var(--sh-paper);
  --sh-paper-2: #efe6d8;
  --sh-surface: #fffdf9;
  --sh-line: color-mix(in srgb, var(--sh-ink) 12%, transparent);
  --sh-radius-card: 14px;
  --sh-shadow-1: 0 1px 2px rgba(42, 31, 22, .06), 0 2px 8px rgba(42, 31, 22, .05);
  --sh-shadow-2: 0 2px 4px rgba(42, 31, 22, .06), 0 14px 32px -8px rgba(42, 31, 22, .22);
  --sh-shadow-book: 0 1px 1px rgba(0,0,0,.15), 0 8px 18px -4px rgba(0,0,0,.35), 0 24px 40px -12px rgba(0,0,0,.35);
  --sh-ease: cubic-bezier(.2, .7, .2, 1);
}

body {
  background: var(--sh-paper);
  color: var(--sh-text);
  -webkit-font-smoothing: antialiased;
}

/* subtle paper grain */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--sh-ink) 5%, transparent) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: .5;
}

h1, h2, h3, .sh-brand__text { font-family: var(--sh-font-serif); letter-spacing: -.015em; }

/* ---------- Header ---------- */
.sh-header {
  background: color-mix(in srgb, var(--sh-paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--sh-line);
  box-shadow: none;
}
.sh-brand__text { font-size: 1.35rem; font-weight: 700; color: var(--sh-ink); }
.sh-brand__mark {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--sh-brand); color: #fff;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.2);
}
.sh-nav__link {
  position: relative; font-weight: 500; color: var(--sh-ink-700);
}
.sh-nav > .sh-nav__link::after,
.sh-nav__item > .sh-nav__link::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: -6px; height: 2px;
  background: var(--sh-brand); border-radius: 2px;
  transition: left .25s var(--sh-ease), right .25s var(--sh-ease);
}
.sh-nav > .sh-nav__link:hover::after,
.sh-nav__item:hover > .sh-nav__link::after,
.sh-nav__link[aria-current="page"]::after,
.sh-nav__link.is-active::after { left: 10%; right: 10%; }

.sh-dropdown {
  border: 1px solid var(--sh-line); border-radius: 12px;
  background: var(--sh-surface); box-shadow: var(--sh-shadow-2); padding: 6px;
}
.sh-dropdown__item { border-radius: 8px; }
.sh-dropdown__item:hover { background: var(--sh-brand-50); color: var(--sh-brand); }

.sh-search { background: var(--sh-surface); border: 1px solid var(--sh-line); transition: border-color .2s, box-shadow .2s; }
.sh-search:focus-within { border-color: var(--sh-brand); box-shadow: 0 0 0 4px var(--sh-ring); }
.sh-search input, .sh-search input:focus { background: transparent; border: 0; box-shadow: none; outline: none; }
.sh-nav-toggle { background: var(--sh-surface); border: 1px solid var(--sh-line); border-radius: 10px; color: var(--sh-ink); }

/* ---------- Buttons & pills ---------- */
.sh-btn {
  border-radius: 999px; font-weight: 600; letter-spacing: .005em;
  transition: transform .2s var(--sh-ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.sh-btn--primary {
  background: var(--sh-brand); border-color: var(--sh-brand); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 8px 20px -8px color-mix(in srgb, var(--sh-brand) 80%, transparent);
}
.sh-btn--primary:hover { background: var(--sh-brand-700); transform: translateY(-1px); }
.sh-btn--primary .sh-icon { transition: transform .2s var(--sh-ease); }
.sh-btn--primary:hover .sh-icon { transform: translateX(3px); }
.sh-btn--outline { border: 1px solid var(--sh-line); background: transparent; color: var(--sh-ink); }
.sh-btn--outline:hover { border-color: var(--sh-ink); background: var(--sh-ink); color: var(--sh-paper); }

.sh-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  background: transparent; border: 1px solid color-mix(in srgb, var(--sh-brand) 30%, transparent);
  color: var(--sh-brand); font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.sh-pill:hover { background: var(--sh-brand); color: #fff; border-color: var(--sh-brand); }

/* ---------- Hero ---------- */
.sh-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 80% at 85% 30%, color-mix(in srgb, var(--sh-glow) 22%, transparent) 0%, transparent 60%),
    radial-gradient(50% 70% at 10% 100%, color-mix(in srgb, var(--sh-brand) 45%, transparent) 0%, transparent 60%),
    linear-gradient(160deg, var(--sh-deep) 0%, var(--sh-deep-950) 100%);
  padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 10vw, 128px);
  color: #fff;
}
.sh-hero::after { /* soft wave into paper */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 48px; z-index: 1;
  background: var(--sh-paper);
  clip-path: ellipse(70% 100% at 50% 100%);
}
.sh-hero__grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.sh-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--sh-glow); font-weight: 700; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
}
.sh-hero__eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.sh-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.75rem); line-height: 1.08; font-weight: 600;
  margin: 18px 0 20px; text-wrap: balance;
}
.sh-hero h1 em, .sh-hero h1 .sh-accent { font-style: italic; color: var(--sh-glow-200); }
.sh-hero p { font-size: 1.125rem; line-height: 1.65; color: var(--sh-on-deep-muted); max-width: 34em; }
.sh-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.sh-hero .sh-btn { padding: 14px 24px; font-size: 1rem; }
.sh-hero .sh-btn--outline { color: #fff; border-color: rgba(255,255,255,.3); }
.sh-hero .sh-btn--outline:hover { background: #fff; color: var(--sh-deep); border-color: #fff; }

.sh-hero__stats {
  display: flex; gap: 32px; margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.sh-hero__stats b { display: block; font-family: var(--sh-font-serif); font-size: 1.75rem; color: #fff; font-weight: 600; }
.sh-hero__stats span { font-size: .85rem; color: var(--sh-on-deep-muted); }

/* hero art: fanned stack of covers */
.sh-hero__art { position: relative; min-height: 380px; perspective: 1200px; }
.sh-hero__art::before { /* glow disc */
  content: ""; position: absolute; inset: 10% 5%;
  background: radial-gradient(circle, color-mix(in srgb, var(--sh-glow) 35%, transparent), transparent 65%);
  filter: blur(20px);
}
.sh-hero__book {
  position: absolute; top: 50%; left: 50%;
  width: 190px; aspect-ratio: 2 / 3; border-radius: 3px 8px 8px 3px; overflow: hidden;
  box-shadow: var(--sh-shadow-book);
  transition: transform .5s var(--sh-ease);
}
.sh-hero__book img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sh-hero__book::after { /* spine highlight */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.28) 0, rgba(255,255,255,.18) 3%, transparent 7%, transparent 92%, rgba(0,0,0,.12));
}
.sh-hero__book:nth-child(1) { transform: translate(-115%, -46%) rotate(-10deg); }
.sh-hero__book:nth-child(2) { transform: translate(-50%, -54%) rotate(0deg) scale(1.08); z-index: 2; }
.sh-hero__book:nth-child(3) { transform: translate(15%, -46%) rotate(10deg); }
.sh-hero__art:hover .sh-hero__book:nth-child(1) { transform: translate(-125%, -48%) rotate(-14deg); }
.sh-hero__art:hover .sh-hero__book:nth-child(3) { transform: translate(25%, -48%) rotate(14deg); }

/* ---------- Generated cover (when a book has no image) ---------- */
.sh-cover-gen {
  --c1: var(--sh-brand); --c2: var(--sh-deep);
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  width: 100%; height: 100%; padding: 14% 12% 12%;
  background:
    linear-gradient(0deg, rgba(0,0,0,.25), transparent 40%),
    linear-gradient(150deg, var(--c1), var(--c2));
  color: #fff; text-align: left;
  font-size: clamp(.8rem, 10cqi, 1.5rem); /* scales with the cover width */
}
.sh-book-card__cover, .sh-hero__book { container-type: inline-size; }
.sh-cover-gen::before { /* gold rule */
  content: ""; width: 36px; height: 2px; background: var(--sh-glow);
}
.sh-cover-gen__title { font-family: var(--sh-font-serif); font-size: 1.15em; font-weight: 600; line-height: 1.15; text-wrap: balance; }
.sh-cover-gen__author { font-size: .62em; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.sh-tone-1 { --c1: #7a2e22; --c2: #3b1610; }
.sh-tone-2 { --c1: #2f4a3e; --c2: #14211b; }
.sh-tone-3 { --c1: #23395b; --c2: #111b2c; }
.sh-tone-4 { --c1: #8a6a1f; --c2: #3e2e0b; }
.sh-tone-5 { --c1: #5b3a5e; --c2: #26162a; }

/* ---------- Sections ---------- */
.sh-section { padding: clamp(56px, 7vw, 96px) 0; }
/* tight: bỏ padding-top khi nối tiếp 1 section cùng nền (trang chủ); section đứng đầu trang hoặc khác nền vẫn có khoảng thở */
.sh-section--tight { padding-top: clamp(40px, 5vw, 64px); }
.sh-section:not(.sh-section--muted) + .sh-section--tight:not(.sh-section--muted) { padding-top: 0; }
.sh-hero + .sh-section { padding-top: clamp(40px, 5vw, 64px); }
.sh-section--muted { background: var(--sh-paper-2); }
.sh-section__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 36px; padding-bottom: 20px; border-bottom: 1px solid var(--sh-line);
}
.sh-section__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--sh-brand); font-weight: 700; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase;
}
.sh-section__eyebrow::before { content: ""; width: 20px; height: 1px; background: currentColor; }
.sh-section__head h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.15; margin-top: 8px; color: var(--sh-ink); }
.sh-section__lead { color: var(--sh-muted); max-width: 40em; margin-top: 8px; }

/* ---------- Grid & book cards ---------- */
.sh-grid {
  display: grid; gap: clamp(20px, 2.5vw, 32px);
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.sh-book-card {
  position: relative; display: flex; flex-direction: column;
  background: transparent; border: 0; box-shadow: none; border-radius: 0; overflow: visible;
}
.sh-book-card__cover {
  position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden;
  border-radius: 4px 10px 10px 4px;
  background: var(--sh-paper-2);
  box-shadow: var(--sh-shadow-2);
  transition: transform .35s var(--sh-ease), box-shadow .35s var(--sh-ease);
}
.sh-book-card__cover::after { /* spine */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.22) 0, rgba(255,255,255,.2) 2.5%, transparent 6%);
}
.sh-book-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--sh-ease); }
.sh-book-card:hover .sh-book-card__cover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--sh-shadow-book); }
.sh-book-card:hover .sh-book-card__cover img { transform: scale(1.03); }

.sh-book-card__placeholder {
  display: grid; place-items: center; width: 100%; height: 100%;
  background:
    repeating-linear-gradient(45deg, transparent 0 10px, color-mix(in srgb, var(--sh-ink) 3%, transparent) 10px 11px),
    linear-gradient(160deg, var(--sh-paper-2), color-mix(in srgb, var(--sh-paper-2) 70%, var(--sh-brand-100)));
  color: var(--sh-ink-300); font-size: 2.2rem;
}

.sh-book-card__body { padding: 18px 2px 0; background: transparent; }
.sh-book-card__cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.sh-book-card__title { font-size: 1.22rem; line-height: 1.25; font-weight: 600; margin: 0 0 4px; }
.sh-book-card__title a { color: var(--sh-ink); background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s var(--sh-ease), color .2s; }
.sh-book-card:hover .sh-book-card__title a { color: var(--sh-brand); background-size: 100% 1px; }
.sh-book-card__title a::before { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.sh-book-card__cats, .sh-book-card__cats a { position: relative; z-index: 1; }
.sh-book-card__author { font-size: .9rem; font-style: italic; font-family: var(--sh-font-serif); color: var(--sh-muted); margin: 0; }
.sh-book-card__desc {
  margin: 10px 0 0; font-size: .92rem; line-height: 1.55; color: var(--sh-ink-500);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sh-book-card__foot { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--sh-line); display: flex; align-items: center; justify-content: space-between; }
.sh-stars { display: inline-flex; gap: 1px; color: var(--sh-star); font-size: .95rem; }

/* rank badge (optional markup) */
.sh-book-card__rank {
  position: absolute; top: 10px; left: 12px; z-index: 2;
  font-family: var(--sh-font-serif); font-size: .85rem; font-weight: 700;
  background: var(--sh-surface); color: var(--sh-ink); padding: 3px 9px; border-radius: 999px; box-shadow: var(--sh-shadow-1);
}

/* ---------- Category tiles (new section) ---------- */
.sh-cat-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.sh-cat-tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: 22px; min-height: 150px; border-radius: var(--sh-radius-card);
  background: var(--sh-surface); border: 1px solid var(--sh-line); color: var(--sh-ink);
  overflow: hidden; transition: transform .25s var(--sh-ease), box-shadow .25s, border-color .25s;
}
.sh-cat-tile:hover { transform: translateY(-3px); box-shadow: var(--sh-shadow-2); border-color: transparent; }
.sh-cat-tile__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--sh-brand-50); color: var(--sh-brand); font-size: 1.35rem;
}
.sh-cat-tile__name { font-family: var(--sh-font-serif); font-size: 1.2rem; font-weight: 600; }
.sh-cat-tile__count { font-size: .85rem; color: var(--sh-muted); }
.sh-cat-tile::after {
  content: "→"; position: absolute; top: 22px; right: 22px; color: var(--sh-ink-300);
  transition: transform .25s var(--sh-ease), color .25s;
}
.sh-cat-tile:hover::after { transform: translateX(4px); color: var(--sh-brand); }

/* ---------- Quote / newsletter band (new section) ---------- */
.sh-band {
  position: relative; overflow: hidden; border-radius: 20px;
  padding: clamp(32px, 5vw, 56px);
  background:
    radial-gradient(60% 120% at 100% 0%, color-mix(in srgb, var(--sh-glow) 25%, transparent), transparent 60%),
    linear-gradient(135deg, var(--sh-brand) 0%, var(--sh-brand-700) 100%);
  color: #fff; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
}
.sh-band blockquote { margin: 0; font-family: var(--sh-font-serif); font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.35; font-style: italic; }
.sh-band cite { display: block; margin-top: 14px; font-style: normal; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.sh-band form { display: flex; gap: 8px; background: rgba(255,255,255,.12); padding: 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); }
.sh-band input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 0 16px; font: inherit; outline: none; }
.sh-band input::placeholder { color: rgba(255,255,255,.65); }
.sh-band .sh-btn { background: #fff; color: var(--sh-brand); border-color: #fff; }
.sh-band__note { font-size: .85rem; opacity: .75; margin: 10px 0 0 6px; }

/* ---------- Footer ---------- */
.sh-footer {
  background: var(--sh-deep); color: var(--sh-on-deep-muted);
  padding-top: clamp(48px, 6vw, 80px); margin-top: 0;
}
.sh-footer__title { color: #fff; font-family: var(--sh-font-serif); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.sh-footer__links a { color: var(--sh-on-deep-muted); transition: color .2s, padding .2s; }
.sh-footer__links a:hover { color: var(--sh-glow); padding-left: 4px; }
.sh-footer__about .sh-brand__mark { margin-bottom: 14px; }
.sh-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.5); }

.sh-to-top { background: var(--sh-ink); box-shadow: var(--sh-shadow-2); }
.sh-to-top:hover { background: var(--sh-brand); }

/* ---------- Reveal on scroll (paired with small JS snippet) ---------- */
/* chỉ ẩn khi JS chạy (class sh-js gắn ở path/head) — tắt JS vẫn thấy nội dung */
@media (prefers-reduced-motion: no-preference) {
  .sh-js .sh-reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--sh-ease), transform .7s var(--sh-ease); }
  .sh-js .sh-reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Điều chỉnh cho markup/theme.css hiện có ---------- */
/* theme.css: card nổi + đổ bóng khi hover — card mới trong suốt, chỉ bìa chuyển động */
.sh-book-card:hover { transform: none; box-shadow: none; }
/* theme.css: nav hover có nền pill — gạch chân là chỉ báo duy nhất */
.sh-nav__link:hover, .sh-nav__link.is-active { background: transparent; }
.sh-brand__mark .sh-icon { width: 20px; height: 20px; }
/* mobile: .sh-nav bị ẩn nên cụm tìm kiếm/menu cần tự đẩy sang phải */
.sh-header__actions { margin-left: auto; }
.sh-footer__about .sh-brand__mark { margin-bottom: 0; }
/* nội dung hero luôn nằm trên đường cong ::after */
.sh-hero__grid { position: relative; z-index: 2; }
.sh-hero__book img { border-radius: 0; box-shadow: none; }
.sh-band__lead { margin: 0 0 14px; font-weight: 600; }
/* gạch chân nav: left/right 50% vẫn làm tròn ra 1 chấm — ẩn hẳn khi chưa hover */
.sh-nav > .sh-nav__link::after, .sh-nav__item > .sh-nav__link::after { opacity: 0; }
.sh-nav > .sh-nav__link:hover::after, .sh-nav__item:hover > .sh-nav__link::after,
.sh-nav__link[aria-current="page"]::after, .sh-nav__link.is-active::after { opacity: 1; }
/* huy hiệu hạng ở góc phải để không đè vạch vàng của bìa tự sinh */
.sh-book-card__rank { left: auto; right: 10px; }
/* hero chỉ có 2 sách: xếp cân giữa thay vì bố cục 3 cuốn */
.sh-hero__book:first-child:nth-last-child(2) { transform: translate(-92%, -48%) rotate(-7deg); }
.sh-hero__book:last-child:nth-child(2) { transform: translate(-12%, -52%) rotate(4deg) scale(1.04); }
.sh-hero__art:hover .sh-hero__book:first-child:nth-last-child(2) { transform: translate(-100%, -50%) rotate(-10deg); }
/* hero chỉ có 1 sách */
.sh-hero__book:only-child,
.sh-hero__art:hover .sh-hero__book:only-child { transform: translate(-50%, -50%) rotate(-3deg) scale(1.08); }

/* <button class="sh-btn"> không tự kế thừa font */
button.sh-btn { font-family: inherit; }
/* breadcrumb đặt trên nền giấy (trang chi tiết sách), không nằm trong page-hero tối */
.sh-section .sh-crumbs, .sh-section .sh-crumbs a { color: var(--sh-muted); }
.sh-section .sh-crumbs a:hover { color: var(--sh-brand); }
/* hộp phụ: nền xám lạnh cũ lệch tông với giấy kem */
.sh-sidebar-box { background: var(--sh-surface); border: 1px solid var(--sh-line); }
.sh-related-book { background: var(--sh-paper); }

/* bìa trang chi tiết sách — cùng kiểu bìa với card */
.sh-book-detail__book {
  position: relative; aspect-ratio: 2 / 3; overflow: hidden; container-type: inline-size;
  border-radius: 4px 12px 12px 4px; background: var(--sh-paper-2); box-shadow: var(--sh-shadow-book);
}
.sh-book-detail__book::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.22) 0, rgba(255,255,255,.2) 2.5%, transparent 6%);
}
.sh-book-detail__cover .sh-book-detail__book img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; box-shadow: none; }
/* mobile: cột bìa có margin:auto trong grid sẽ co theo nội dung → ép full (max-width 240px của theme.css vẫn giữ) */
@media (max-width: 760px) { .sh-book-detail__cover { width: 100%; } }

/* trang Chuyên ngành dùng .sh-book-card làm ô có nền — giữ dạng thẻ */
.page-category-index .sh-book-card {
  background: var(--sh-surface); border: 1px solid var(--sh-line); border-radius: var(--sh-radius-card);
  color: var(--sh-ink); transition: transform .25s var(--sh-ease), box-shadow .25s, border-color .25s;
}
.page-category-index .sh-book-card:hover { transform: translateY(-3px); box-shadow: var(--sh-shadow-2); border-color: transparent; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .sh-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}
@media (max-width: 960px) {
  .sh-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .sh-hero__art { display: block; min-height: 300px; }
  .sh-hero__book { width: 150px; }
  .sh-band { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sh-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .sh-book-card__desc { display: none; }
  .sh-book-card__title { font-size: 1.05rem; }
  .sh-hero__stats { gap: 20px; }
  .sh-hero__stats b { font-size: 1.4rem; }
  .sh-section__head { align-items: flex-end; }
  .sh-section__head .sh-btn { flex-shrink: 0; }
  .sh-hero__art { min-height: 240px; }
  .sh-hero__book { width: 118px; }
}
