@import url("https://fonts.googleapis.com/css2?family=Noto+Serif:wght@400;600;700;800;900&display=swap");

:root {
  --dark: #1b0d06;
  --brown: #3a1b0e;
  --brown-2: #5a2b14;
  --gold: #f7bd54;
  --orange: #d8701f;
  --amber: #ffdd8a;
  --cream: #fff5df;
  --muted: #cfae78;
  --line: rgba(247, 189, 84, 0.32);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 75% 0%, rgba(247, 189, 84, 0.24), transparent 34%),
    linear-gradient(135deg, #160904 0%, #3b1608 46%, #201008 100%);
  font-family: "Noto Serif", Cambria, "Times New Roman", Times, serif;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

/* Combined site wrapper supplies the shared fixed navigation. */
.topbar {
  display: none !important;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 10px clamp(20px, 4vw, 54px);
  background: rgba(27, 13, 6, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--amber);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.page-notice {
  flex: 1 1 260px;
  margin: 0;
  color: #f2d29b;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
  line-height: 1.35;
}

.page-notice a {
  color: #ffe08a;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.nav a,
.nav button {
  color: #f2d29b;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover,
.nav button:hover {
  color: white;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.86fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  min-height: auto;
  padding: clamp(26px, 4vw, 48px) clamp(20px, 4vw, 54px) clamp(22px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 960px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 1060px;
  font-size: clamp(46px, 6vw, 90px);
  color: #fff7df;
  text-shadow:
    0 2px 0 rgba(91, 38, 8, 0.85),
    0 0 14px rgba(247, 189, 84, 0.42),
    0 0 34px rgba(216, 112, 31, 0.26);
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(30px, 4.6vw, 54px);
}

p {
  line-height: 1.7;
}

.lead {
  max-width: 820px;
  color: #f1d3a4;
  font-size: 19px;
}

.price {
  display: inline-flex;
  margin: 18px 0 8px;
  padding: 8px 14px;
  color: #1b0d06;
  background: linear-gradient(135deg, #fff0b8, var(--gold), #f28a24);
  border-radius: 8px;
  font-size: 22px;
  font-weight: 950;
  box-shadow: 0 10px 28px rgba(216, 112, 31, 0.26);
}

.buy-price {
  margin-top: 18px;
  color: #120702;
  background: linear-gradient(135deg, #ffe08a, #f4a22e);
  text-shadow: none;
}

.buy-copy .buy-price {
  color: #120702;
  font-weight: 950;
}

.price-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 860px;
  margin: 22px 0 14px;
}

.price-options div,
.package-option {
  display: grid;
  gap: 6px;
  padding: 14px;
  color: #120702;
  text-align: left;
  background: linear-gradient(135deg, #ffe08a, #f4a22e);
  border: 1px solid rgba(255, 240, 184, 0.55);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(216, 112, 31, 0.2);
}

.package-option {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transform: translateY(0);
  min-height: 92px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.package-option::before,
.order-form::before,
.payment-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.5) 42%, transparent 58%);
  transform: translateX(-78%);
  pointer-events: none;
}

.package-option:hover,
.package-option:focus-visible {
  transform: translateY(-4px);
  filter: saturate(1.08) brightness(1.04);
  border-color: rgba(255, 245, 223, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 18px 36px rgba(33, 12, 4, 0.32),
    0 0 28px rgba(247, 189, 84, 0.44);
}

.package-option:active {
  transform: translateY(3px) scale(0.985);
  box-shadow:
    inset 0 5px 14px rgba(82, 28, 5, 0.36),
    0 8px 18px rgba(33, 12, 4, 0.28);
}

.package-option:hover::before,
.package-option:focus-visible::before,
.package-option:active::before,
.order-form:hover::before,
.order-form:focus-within::before,
.payment-card:hover::before {
  transform: translateX(78%);
  transition: transform 700ms ease;
}

.package-option.selected {
  background: linear-gradient(135deg, #fff3c8 0%, #ffd15e 36%, #f28a1e 100%);
  border-color: rgba(255, 250, 220, 0.98);
  outline: 4px solid rgba(255, 198, 69, 0.28);
  box-shadow:
    inset 0 3px 7px rgba(255, 255, 255, 0.58),
    inset 0 -8px 16px rgba(105, 38, 5, 0.22),
    0 0 0 2px rgba(255, 231, 146, 0.82),
    0 18px 36px rgba(216, 112, 31, 0.38),
    0 0 34px rgba(255, 197, 74, 0.58);
  transform: translateY(3px) scale(0.992);
}

.package-option.selected::after {
  content: "Da chon";
  position: absolute;
  top: 9px;
  right: 10px;
  padding: 5px 9px;
  color: #fff8d8;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #4b1704, #8d3a09);
  border: 1px solid rgba(255, 225, 136, 0.8);
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(39, 12, 3, 0.26);
}

.package-option.selected span,
.package-option.selected strong {
  color: #130601;
  text-shadow: 0 1px 0 rgba(255, 249, 221, 0.5);
}

.price-options span,
.package-option span {
  font-size: 15px;
  font-weight: 900;
}

.price-options strong,
.package-option strong {
  font-size: 24px;
  line-height: 1;
}

.price-options .combo-price,
.package-option.combo-price {
  background: linear-gradient(135deg, #fff1bd, #f7bd54 42%, #e8791e);
  outline: 2px solid rgba(255, 245, 223, 0.22);
}

.hero-actions,
.catalog-actions,
.contact-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
  text-decoration: none;
}

.primary-btn {
  color: #221006;
  background: linear-gradient(135deg, #fff0b8, var(--gold) 45%, #e8791e);
  box-shadow: 0 12px 32px rgba(216, 112, 31, 0.3);
}

.primary-btn:hover {
  filter: brightness(1.08);
}

.secondary-btn {
  color: var(--amber);
  background: rgba(255, 245, 223, 0.05);
  border-color: var(--gold);
}

.secondary-btn:hover {
  background: rgba(247, 189, 84, 0.14);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.stats span {
  padding: 11px 14px;
  color: #f5dba9;
  background: rgba(255, 245, 223, 0.07);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stats strong {
  color: var(--gold);
}

.hero-art {
  margin: 0;
}

.hero-art img {
  display: block;
  width: min(100%, 620px);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(38px, 5vw, 66px) clamp(20px, 4vw, 54px);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: clamp(18px, 2.6vw, 34px);
  padding-bottom: clamp(22px, 3vw, 36px);
}

.promise-grid article,
.payment-card,
.order-form {
  background: linear-gradient(180deg, rgba(255, 245, 223, 0.1), rgba(255, 245, 223, 0.045));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.promise-grid article {
  padding: 24px;
}

.promise-grid article {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #241006;
  background:
    linear-gradient(145deg, rgba(255, 249, 221, 0.96) 0%, rgba(255, 210, 104, 0.94) 28%, rgba(239, 145, 36, 0.96) 58%, rgba(112, 46, 13, 0.98) 100%),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.78), transparent 30%),
    radial-gradient(circle at 88% 92%, rgba(255, 191, 55, 0.55), transparent 34%);
  border: 1px solid rgba(255, 236, 166, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -18px 35px rgba(88, 34, 7, 0.22),
    0 18px 36px rgba(33, 12, 4, 0.32),
    0 0 22px rgba(247, 189, 84, 0.24);
  transform: translateY(0);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.promise-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.58) 42%, transparent 58%);
  transform: translateX(-72%);
  pointer-events: none;
}

.promise-grid article:hover,
.promise-grid article:focus-within,
.promise-grid article:active {
  transform: translateY(-4px);
  filter: saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -20px 42px rgba(87, 32, 4, 0.18),
    0 24px 42px rgba(33, 12, 4, 0.42),
    0 0 36px rgba(255, 210, 104, 0.52),
    0 0 70px rgba(239, 145, 36, 0.26);
}

.promise-grid article:hover::before,
.promise-grid article:focus-within::before,
.promise-grid article:active::before {
  transform: translateX(72%);
  transition: transform 700ms ease;
}

.promise-grid article h2 {
  color: #220f05;
  text-shadow:
    0 1px 0 rgba(255, 247, 218, 0.75),
    0 0 18px rgba(255, 235, 154, 0.34);
}

.promise-grid article p {
  color: #2a1408;
  font-weight: 750;
  text-shadow: 0 1px 0 rgba(255, 246, 214, 0.28);
}

.promise-grid article img {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 10px 22px rgba(73, 27, 7, 0.22);
}

.promise-grid img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
}

.promise-grid h2 {
  margin-top: 18px;
  font-size: 28px;
}

.promise-grid p,
.section-heading p,
.buy-copy p,
.contact p,
.books-copy p {
  color: #e8c99a;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 24px;
}

.compact-heading {
  max-width: 940px;
}

.catalog-preview {
  background: rgba(20, 9, 4, 0.64);
  border-block: 1px solid var(--line);
}

.catalog-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.catalog-columns article {
  padding: 18px;
  background: rgba(255, 245, 223, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.list-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.list-title span {
  display: grid;
  width: 54px;
  height: 44px;
  place-items: center;
  color: #1b0d06;
  background: linear-gradient(135deg, #fff0b8, var(--gold), #e8791e);
  border-radius: 8px;
  font-weight: 950;
}

.list-title h3 {
  margin: 0;
  color: var(--cream);
  font-size: 22px;
}

.inline-actions {
  margin-top: 20px;
}

.books-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: center;
  padding-top: clamp(22px, 3vw, 36px);
  background:
    radial-gradient(circle at 72% 18%, rgba(247, 189, 84, 0.22), transparent 32%),
    rgba(58, 27, 14, 0.4);
  border-bottom: 1px solid var(--line);
}

.books-copy {
  max-width: 760px;
}

.books-copy h2 {
  color: #fff2c9;
  text-shadow:
    0 2px 0 rgba(91, 38, 8, 0.85),
    0 0 12px rgba(247, 189, 84, 0.42),
    0 0 30px rgba(216, 112, 31, 0.24);
}

.book-price {
  margin-top: 18px;
  color: #120702;
}

.books-copy .book-price {
  color: #120702;
  font-weight: 950;
}

.book-pack-cover {
  display: grid;
  gap: 16px;
  width: 100%;
  padding: 18px;
  color: inherit;
  text-align: left;
  background: rgba(255, 245, 223, 0.06);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.book-pack-cover:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.book-cover-title {
  display: grid;
  gap: 6px;
}

.book-cover-title small {
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.book-cover-title strong {
  color: var(--cream);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.book-cover-title em {
  color: #f2d29b;
  font-style: normal;
  font-weight: 800;
}

.book-cover-shelf {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 0.9fr;
  gap: 10px;
}

.book-cover-shelf img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: 1px solid rgba(247, 189, 84, 0.28);
  border-radius: 8px;
}

.book-pack-image {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.book-pack-image:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.book-pack-image img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.crop-bottom {
  object-position: center 82%;
}

.crop-right {
  object-position: 78% center;
}

.buy-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 28px;
  align-items: start;
}

.order-form {
  display: grid;
  max-width: 620px;
  gap: 14px;
  margin-top: 24px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.order-form:hover,
.order-form:focus-within {
  transform: translateY(-3px);
  border-color: rgba(255, 236, 166, 0.78);
  background:
    linear-gradient(145deg, rgba(255, 240, 184, 0.16), rgba(216, 112, 31, 0.08) 44%, rgba(255, 245, 223, 0.06));
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 223, 0.22),
    0 20px 48px rgba(0, 0, 0, 0.24),
    0 0 28px rgba(247, 189, 84, 0.22);
}

.order-form label {
  display: grid;
  gap: 8px;
  color: #f1d3a4;
  font-weight: 700;
}

.order-form input {
  min-height: 46px;
  padding: 0 13px;
  color: var(--cream);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  border-radius: 7px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.order-form input:hover,
.order-form input:focus {
  outline: none;
  border-color: rgba(255, 224, 138, 0.9);
  background: rgba(0, 0, 0, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 223, 0.1),
    0 0 0 3px rgba(247, 189, 84, 0.16),
    0 0 22px rgba(247, 189, 84, 0.18);
}

.order-form input::placeholder {
  color: #b99163;
}

.payment-card {
  padding: 18px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.payment-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 236, 166, 0.78);
  background:
    linear-gradient(145deg, rgba(255, 240, 184, 0.14), rgba(216, 112, 31, 0.08) 44%, rgba(255, 245, 223, 0.06));
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 223, 0.22),
    0 20px 48px rgba(0, 0, 0, 0.24),
    0 0 28px rgba(247, 189, 84, 0.22);
}

.payment-hidden {
  display: none;
}

.payment-card h3 {
  margin: 0 0 14px;
  color: var(--cream);
  font-size: 26px;
}

.qr {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: white;
  border-radius: 8px;
}

.bank-info {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.bank-info span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.bank-info strong {
  color: var(--cream);
  font-size: 18px;
}

.payment-note {
  color: #f2d29b;
  line-height: 1.55;
}

.group-links {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 850;
}

.group-links a {
  color: #ffe08a;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.confirm-payment {
  width: 100%;
  margin-top: 10px;
}

.confirm-message {
  margin: 12px 0 0;
  color: #ffe08a;
  font-weight: 900;
  line-height: 1.55;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  background: rgba(122, 57, 20, 0.32);
  border-block: 1px solid var(--line);
}

.book-next {
  max-width: 900px;
}

.detail-modal {
  width: min(94vw, 1100px);
  max-height: 86vh;
  padding: 28px;
  overflow: auto;
  color: var(--cream);
  background: #1d0d06;
  border: 1px solid var(--gold);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 24px;
}

.doc-list {
  display: grid;
  gap: 8px;
  margin-top: 0;
}

.doc-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: rgba(255, 245, 223, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.word-icon {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 7px;
}

.doc-item strong,
.doc-item small {
  display: block;
}

.doc-item small {
  margin-top: 3px;
  color: #dcb981;
}

.contact a {
  color: var(--gold);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact .primary-btn,
.contact .secondary-btn {
  color: #120702;
}

.contact .secondary-btn {
  background: linear-gradient(135deg, #fff0b8, #f7bd54);
}

.payment-summary {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.payment-summary div {
  padding: 12px;
  background: rgba(255, 245, 223, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.book-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.book-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 12px;
  background: rgba(255, 245, 223, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.book-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 7px;
}

.book-card strong,
.book-card small {
  display: block;
}

.book-card strong {
  color: var(--cream);
  font-size: 19px;
  line-height: 1.25;
}

.book-card small,
.coming-note {
  color: #dcb981;
}

.book-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.mini-btn {
  min-height: 38px;
  width: fit-content;
  padding: 0 14px;
}

.demo-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.demo-list a {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  color: var(--cream);
  text-decoration: none;
  background: rgba(255, 245, 223, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.demo-list a:hover {
  border-color: var(--gold);
  background: rgba(247, 189, 84, 0.12);
}

.pdf-icon {
  width: 46px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.26));
}

.toc-block {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.toc-block details {
  padding: 14px;
  background: rgba(255, 245, 223, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.toc-block summary {
  color: var(--gold);
  font-size: 21px;
  font-weight: 950;
  cursor: pointer;
}

.toc-list {
  columns: 2;
  column-gap: 34px;
  margin: 14px 0 0;
  padding-left: 22px;
  color: #f2d29b;
}

.toc-list li {
  break-inside: avoid;
  margin: 0 0 8px;
  line-height: 1.35;
}

@media (max-width: 920px) {
  .hero,
  .promise-grid,
  .catalog-columns,
  .books-section,
  .buy-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-options {
    grid-template-columns: 1fr;
  }

  .book-cover-shelf,
  .book-modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .topbar {
    align-items: center;
    flex-direction: row;
    gap: 10px;
    padding: 8px 14px;
  }

  .brand {
    gap: 8px;
    font-size: 14px;
    line-height: 1.15;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .page-notice,
  .nav {
    display: none;
  }

  h1 {
    font-size: 38px;
  }

  .doc-item {
    grid-template-columns: 1fr;
  }

  .book-cover-shelf,
  .book-modal-grid,
  .toc-list {
    grid-template-columns: 1fr;
    columns: 1;
  }

  .book-cover-shelf img,
  .book-card img {
    height: auto;
  }
}

.topbar {
  display: none !important;
}
