:root {
  /* night sky */
  --bg-0: #070A1A;
  --bg-1: #0A0E23;
  --bg-soft: rgba(255, 255, 255, 0.03);
  --card: rgba(255, 255, 255, 0.04);
  --card-strong: rgba(20, 26, 58, 0.72);
  --line: rgba(200, 210, 240, 0.12);
  --line-strong: rgba(232, 192, 125, 0.28);

  --text: #ECEEF8;
  --text-dim: #9AA3C4;
  --text-mute: #A4ADCD;

  --accent: #E8C07D;        /* gold */
  --accent-strong: #F4D9A2;
  --accent-deep: #C99A4E;
  --violet: #8B7BD8;        /* nebula */
  --error: #E58B8B;

  --radius: 16px;
  --serif: "Playfair Display", Georgia, serif;
  --script: "Cormorant Garamond", Georgia, serif;
  --sans: "Source Sans 3", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.hidden { display: none !important; }

/* ---------- night sky backdrop (public page only) ---------- */
.sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(1100px 680px at 12% -8%, rgba(139, 123, 216, 0.20), transparent 60%),
    radial-gradient(950px 760px at 96% 6%, rgba(232, 192, 125, 0.10), transparent 55%),
    radial-gradient(1000px 900px at 50% 116%, rgba(96, 84, 190, 0.18), transparent 60%),
    linear-gradient(180deg, #070A1A 0%, #0A0E23 42%, #0E1233 72%, #0A0920 100%);
}
/* two tiled star layers */
.sky::before,
.sky::after {
  content: "";
  position: absolute;
  inset: -50%;
  background-repeat: repeat;
}
.sky::before {
  background-image:
    radial-gradient(1.4px 1.4px at 40px 60px, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1px 1px at 130px 40px, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1.2px 1.2px at 90px 160px, rgba(226, 232, 255, 0.75), transparent),
    radial-gradient(1px 1px at 200px 120px, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.3px 1.3px at 260px 220px, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 300px 90px, rgba(210, 220, 255, 0.5), transparent);
  background-size: 340px 340px;
  opacity: 0.7;
}
.sky::after {
  background-image:
    radial-gradient(1.8px 1.8px at 80px 120px, rgba(255, 244, 214, 0.9), transparent),
    radial-gradient(1.6px 1.6px at 320px 260px, rgba(224, 214, 255, 0.85), transparent),
    radial-gradient(2px 2px at 210px 340px, rgba(255, 255, 255, 0.9), transparent);
  background-size: 520px 520px;
  animation: twinkle 6s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.9; }
}

/* decorative hero stars */
.star {
  position: absolute;
  color: var(--accent-strong);
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 0 8px rgba(244, 217, 162, 0.8);
  animation: starPulse 5s ease-in-out infinite;
}
@keyframes starPulse {
  0%, 100% { opacity: 0.15; transform: scale(0.85); }
  50% { opacity: 0.95; transform: scale(1.1); }
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 11, 26, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.brand::before { content: "✦ "; color: var(--accent); }
.site-nav a {
  color: var(--text-dim);
  text-decoration: none;
  margin-left: 30px;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--accent); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 96px;
  text-align: center;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  font-family: var(--script);
  font-style: italic;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 20px;
  opacity: 0;
  animation: rise 0.9s ease 0.05s forwards;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin: 0 0 24px;
  line-height: 1.12;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #FFFFFF 0%, #DDE2F5 55%, #B9C0E4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(160, 170, 230, 0.15);
  opacity: 0;
  animation: rise 0.9s ease 0.18s forwards;
}
.hero h1 em {
  font-family: var(--script);
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(180deg, var(--accent-strong), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 40px;
  font-size: 1.08rem;
  line-height: 1.75;
  opacity: 0;
  animation: rise 0.9s ease 0.32s forwards;
}
.hero-cta {
  opacity: 0;
  animation: rise 0.9s ease 0.46s forwards;
}
.hero-trust {
  margin-top: 30px;
  font-size: 0.85rem;
  color: var(--text-mute);
  letter-spacing: 0.02em;
  opacity: 0;
  animation: rise 0.9s ease 0.6s forwards;
}
.hero-trust .dot { color: var(--accent-deep); margin: 0 10px; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- celestial hero ornaments ---------- */
.zodiac-wheel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  animation: wheelspin 120s linear infinite;
}
@keyframes wheelspin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (max-width: 640px) { .zodiac-wheel { width: 380px; height: 380px; } }

.fates-seal {
  display: block;
  width: 156px;
  height: auto;
  margin: 2px auto 20px;
  filter: drop-shadow(0 0 12px rgba(232, 192, 125, 0.4));
}

.delphic { text-align: center; margin: 0 auto 20px; }
.delphic .gr {
  display: block;
  font-family: var(--serif);
  letter-spacing: 0.32em;
  font-size: 0.82rem;
  color: var(--accent);
  opacity: 0.92;
}
.delphic .cz {
  display: block;
  margin-top: 6px;
  font-family: var(--script);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-dim);
}

.hero-flourish {
  color: var(--accent);
  opacity: 0.7;
  letter-spacing: 0.5em;
  font-size: 1.15rem;
  margin: 26px 0 2px;
  font-variant-emoji: text;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 30px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.25s, border-color 0.2s, color 0.2s, background 0.2s;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(135deg, #F4D9A2 0%, #E8C07D 55%, #C99A4E 100%);
  color: #201607;
  box-shadow: 0 8px 26px rgba(232, 192, 125, 0.22);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(232, 192, 125, 0.4), 0 0 0 1px rgba(244, 217, 162, 0.5);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(200, 210, 240, 0.24);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
  background: rgba(232, 192, 125, 0.07);
}

/* ---------- sections ---------- */
section { padding: 80px 0; position: relative; }
section h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  margin: 0 0 14px;
  text-align: center;
  color: var(--text);
}
.section-sub {
  text-align: center;
  color: var(--text-dim);
  margin: 0 auto 52px;
  max-width: 560px;
  font-size: 1rem;
}
.section-eyebrow {
  display: block;
  text-align: center;
  font-family: var(--script);
  font-style: italic;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ---------- product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.product-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 26px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s ease forwards;
}
.product-card:nth-child(1) { animation-delay: 0.04s; }
.product-card:nth-child(2) { animation-delay: 0.12s; }
.product-card:nth-child(3) { animation-delay: 0.2s; }
.product-card:nth-child(4) { animation-delay: 0.28s; }
.product-card:nth-child(5) { animation-delay: 0.36s; }
.product-card:nth-child(6) { animation-delay: 0.44s; }
.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.5), 0 0 44px rgba(232, 192, 125, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.28s;
}
.product-card:hover::before { opacity: 0.85; }
.pc-corner {
  position: absolute;
  color: var(--accent);
  opacity: 0.5;
  font-size: 0.72rem;
  line-height: 1;
  pointer-events: none;
}
.pc-corner.tl { top: 15px; left: 17px; }
.pc-corner.tr { top: 15px; right: 17px; }
.pc-corner.bl { bottom: 15px; left: 17px; }
.pc-corner.br { bottom: 15px; right: 17px; }
.product-cat {
  font-family: var(--script);
  font-style: italic;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}
.product-card :is(h2, h3) {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin: 0 0 10px;
  color: var(--text);
  font-weight: 500;
}
.product-tagline {
  color: var(--text-dim);
  margin: 0 0 20px;
  font-size: 0.98rem;
  line-height: 1.6;
}
.deliverables {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.deliverables li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}
.deliverables li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 0.85rem;
}
.product-teaser {
  font-family: var(--script);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.55;
  padding: 14px 0 4px;
  margin: 0 0 20px;
  border-top: 1px solid var(--line);
}
.product-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.product-actions .btn { flex: 1; padding: 11px 16px; text-align: center; }
.product-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.product-price {
  font-family: var(--serif);
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
}
.product-price b { color: var(--accent); font-weight: 600; }
.product-price .from { font-size: 0.78rem; color: var(--text-mute); font-family: var(--sans); }
.product-delivery { font-size: 0.78rem; color: var(--text-mute); }

/* ---------- preview modal ---------- */
.preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 7, 20, 0.72);
  backdrop-filter: blur(7px);
  animation: fadeIn 0.25s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.preview-panel {
  position: fixed;
  inset: 0;
  margin: auto;
  width: calc(100% - 32px);
  max-width: 680px;
  max-height: 88dvh;
  overflow-y: auto;
  padding: 44px 48px 40px;
  background: linear-gradient(180deg, #10143A 0%, #0B0E28 100%);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.62), 0 0 70px rgba(139, 123, 216, 0.16);
  animation: popIn 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
@keyframes popIn {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.preview-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.preview-close:hover { color: var(--accent); border-color: var(--accent); background: rgba(232, 192, 125, 0.08); }
.preview-badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 20px;
}
.preview-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--text);
  margin: 0 0 4px;
  font-weight: 500;
}
.preview-sample {
  margin: 26px 0 8px;
  padding: 30px 30px 26px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.preview-sample h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--accent-strong);
  margin: 0 0 18px;
  text-align: center;
  letter-spacing: 0.01em;
}
.preview-sample p {
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.85;
  color: #DDE2F2;
  margin: 0 0 16px;
}
.preview-sample p:first-of-type::first-letter {
  font-family: var(--script);
  font-size: 3.1rem;
  font-weight: 600;
  float: left;
  line-height: 0.82;
  padding: 6px 12px 0 0;
  color: var(--accent);
}
.preview-quote {
  font-family: var(--script);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  text-align: center;
  color: var(--accent);
  margin: 24px 20px 6px;
  position: relative;
}
.preview-quote::before,
.preview-quote::after { content: "—"; color: var(--accent-deep); margin: 0 8px; }
.preview-note {
  font-size: 0.86rem;
  color: var(--text-mute);
  line-height: 1.6;
  margin: 22px 0 26px;
  padding-left: 16px;
  border-left: 1px solid var(--line-strong);
}
.preview-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

/* Rozšíření původního katalogu: hlavní kniha, menší výklady a stejné náhledy. */
html { color-scheme: dark; scrollbar-color: var(--accent-deep) var(--bg-1); }
::selection { background: var(--accent); color: var(--bg-0); }
input, textarea { caret-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 5px; }
a { text-underline-offset: 0.2em; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.book-feature {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  column-gap: 0;
  row-gap: 32px;
  padding: 40px;
  border-color: var(--line-strong);
  text-align: left;
  background: linear-gradient(125deg, #191B36, #10152E 70%);
  isolation: isolate;
  overflow: hidden;
}
#book-feature { scroll-margin-top: 88px; }
.book-feature:hover { transform: none; }
.book-cover-stage {
  position: relative; margin: 0; min-width: 0; min-height: 510px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 28px 0 12px; z-index: 1;
}
.book-cover-stage figcaption { align-self: flex-start; width: 230px; margin-top: 32px; color: var(--text-dim); text-align: center; font-size: 0.75rem; }
.book-object {
  position: relative; width: min(100%, 310px);
  transform: translate(40px, 0) perspective(1100px) rotateY(-14deg) rotateZ(-9deg);
  transform-origin: 50% 60%;
}
/* Hřbet a hrana listů patří k webové maketě, původní PDF se nemění. */
.book-object::before {
  content: ""; position: absolute; top: 2px; bottom: 2px; left: -8px; width: 12px;
  background: linear-gradient(90deg, #151729, #4D4555 45%, #25243C);
  border-radius: 3px 0 0 3px; transform: skewY(-14deg);
}
.book-object::after {
  content: ""; position: absolute; top: 6px; bottom: 1px; right: -7px; width: 10px;
  background: repeating-linear-gradient(90deg, #B9AF9B 0 1px, #817987 1px 2px);
  border-radius: 0 3px 3px 0; transform: skewY(12deg);
}
.book-feature-copy {
  position: relative; align-self: center; z-index: 2; min-width: 0;
  margin-left: -40px; padding: 32px 28px 28px 36px;
  background: #1A1E36; border-radius: 12px;
  box-shadow: -14px 18px 32px rgba(4, 6, 18, 0.2);
}
.book-cover {
  container-type: inline-size;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 165 / 235;
  padding: 0;
  border: 0;
  background: #24243B;
  color: #F4ECD8;
  cursor: pointer;
  border-radius: 2px 5px 5px 2px;
  z-index: 1;
  box-shadow: 10px 20px 30px rgba(3, 5, 16, 0.3);
  transition: transform 0.25s ease;
}
.book-cover:hover { transform: translateY(-3px); }
.book-cover > span { position: absolute; inset: 0; display: block; background: #24243B; border-radius: inherit; overflow: hidden; isolation: isolate; }
.book-cover img { mix-blend-mode: screen; }
.book-cover .web-cover-corner, .book-cover .web-cover-rule { opacity: 0.8; }
.book-cover .web-cover-art { opacity: 0.94; }
.web-cover-corner { position: absolute; width: 25.45%; height: auto; z-index: 2; pointer-events: none; }
.web-cover-corner--tl { top: 4.25%; left: 6.06%; }
.web-cover-corner--tr { top: 4.25%; right: 6.06%; transform: scaleX(-1); }
.web-cover-corner--bl { bottom: 4.25%; left: 6.06%; transform: scaleY(-1); }
.web-cover-corner--br { bottom: 4.25%; right: 6.06%; transform: scale(-1); }
.web-cover-rule { position: absolute; pointer-events: none; }
.web-cover-rule--top, .web-cover-rule--bottom { left: 28.48%; width: 43.04%; height: 1.22%; }
.web-cover-rule--top { top: 4.25%; }
.web-cover-rule--bottom { bottom: 4.25%; transform: scaleY(-1); }
.web-cover-rule--left, .web-cover-rule--right { top: 20%; width: 1.74%; height: 60%; }
.web-cover-rule--left { left: 6.06%; }
.web-cover-rule--right { right: 6.06%; transform: scaleX(-1); }
.web-cover-brand, .web-cover-title, .web-cover-name, .web-cover-footer {
  position: absolute; left: 10%; right: 10%; display: block; font-family: Georgia, serif; text-align: center; line-height: 1.4;
}
.web-cover-brand { top: 9%; font-size: 2.1cqw; text-transform: uppercase; letter-spacing: 0.23em; color: #D5AF69; }
.web-cover-art { position: absolute; top: 16%; left: 50%; transform: translateX(-50%); height: 43%; width: auto; max-width: 72%; pointer-events: none; }
.web-cover-title { top: 63.5%; font-size: 7.2cqw; }
.web-cover-name { top: 71.8%; font-size: 3.4cqw; color: #C9A875; }
.web-cover-footer { top: 76%; font-size: 1.9cqw; color: #BCAF93; }
.book-feature-copy > h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.book-feature .product-tagline { font-size: 1.12rem; color: var(--text); }
.book-description, .book-addon-note { color: var(--text-dim); }
.book-description { margin: 0 0 24px; }
.book-addon-note { font-size: 0.88rem; margin: 16px 0 0; }
.book-feature .product-price { font-size: 1.7rem; }
.book-lead { font: italic 1.75rem/1.4 var(--script); color: var(--accent); margin: 0 0 22px; }
.book-price-pair { display: flex; gap: 24px; align-items: center; }
.book-future-price { display: flex; flex-direction: column; color: var(--text-dim); font-family: var(--serif); font-size: 1.1rem; }
.book-future-price small { font: 0.76rem var(--sans); margin-top: 5px; }
.book-map { grid-column: 1 / -1; min-width: 0; }
.book-map > h2 { font: 500 0.85rem var(--sans); color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 24px; }
.book-routes { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; min-height: 300px; }
.book-map-paths { position: absolute; inset: 0; width: 100%; height: 290px; pointer-events: none; }
.book-map-paths path { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.book-route { position: relative; align-self: start; padding: 56px 0 24px; text-align: left; border: 0; background: none; color: var(--text); cursor: pointer; font: inherit; }
.book-route:nth-of-type(2) { padding-top: 18px; }
.route-point { display: block; position: relative; width: 15px; height: 15px; border: 1px solid var(--accent); border-radius: 50%; background: #171B32; margin-bottom: 38px; }
.route-point::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--accent); }
.book-route h3 { font: 400 1.65rem/1.3 var(--serif); margin: 0 0 14px; }
.book-route p { margin: 0; font-size: 0.95rem; color: var(--text-dim); max-width: 29ch; }
.route-read { display: inline-flex; gap: 8px; align-items: center; color: var(--accent); font-size: 0.85rem; margin-top: 18px; }
.route-read svg { width: 17px; height: 17px; }
.book-route:hover h3, .book-aid:hover strong { color: var(--accent-strong); }
.book-aids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 28px; }
.book-aid { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 0; background: none; border: 0; color: var(--text); text-align: left; cursor: pointer; font: inherit; }
.book-aid > svg { width: 24px; height: 24px; color: var(--accent); }
.book-aid strong { display: block; font: 400 1.1rem/1.5 var(--serif); }
.book-aid span span { display: block; color: var(--text-dim); font-size: 0.85rem; margin-top: 8px; }
.catalog-subtitle { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; margin: 56px 0 12px; text-align: left; }
.catalog > .container > .section-sub { margin-bottom: 24px; }
#catalog-note { margin-bottom: 32px; font-size: 0.95rem; }
.catalog-subtext { margin: 0 0 28px; color: var(--text-dim); text-align: left; }
.product-card .product-actions { margin-top: auto; }
.product-grid .product-card { min-width: 0; }
.voucher-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 0 0; margin-top: 32px; border-top: 1px solid var(--line); text-align: left; }
.voucher-strip h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; margin: 0 0 6px; }
.voucher-strip p { color: var(--text-dim); margin: 0; }
.voucher-strip .btn { flex-shrink: 0; }
.sample-intro { background: var(--bg-soft); }
.sample-intro-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.sample-intro h2 { text-align: left; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.sample-person { color: var(--accent); font-family: var(--script); font-style: italic; font-size: 1.2rem; }
.sample-intro-layout p { margin-top: 0; }
.sample-disclosure { color: var(--text-dim); font-size: 0.95rem; }
.preview-panel::backdrop { background: rgba(5, 7, 20, 0.72); backdrop-filter: blur(7px); }
.preview-person { color: var(--accent-strong); font-family: var(--script); font-style: italic; font-size: 1.15rem; margin: 8px 0 16px; }
.preview-disclosure { color: var(--text-dim); font-size: 0.9rem; line-height: 1.6; margin: 0 0 20px; }
.preview-reading h3 { font: 500 1.15rem/1.6 var(--serif); color: var(--accent-strong); margin: 0 0 18px; text-align: center; }
.preview-sections { display: flex; flex-wrap: wrap; gap: 8px; }
.preview-sections button { border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--text-dim); font: inherit; font-size: 0.88rem; padding: 8px 12px; cursor: pointer; }
.preview-sections button[aria-pressed="true"] { background: rgba(232, 192, 125, 0.12); color: var(--accent-strong); border-color: var(--accent-deep); }
.preview-sections button:hover { border-color: var(--accent); }
.preview-sample .sample-poem { white-space: pre-line; text-align: center; }
.preview-sample .sample-poem::first-letter { float: none; font: inherit; color: inherit; margin: 0; }
.catalog-back { padding: 0; margin: 0 0 24px; border: 0; background: none; color: var(--accent); font: inherit; cursor: pointer; }
.price-lines, .price-total, .product-price { font-variant-numeric: tabular-nums; }
@media (max-width: 800px) {
  .book-feature { grid-template-columns: 1fr; gap: 0; padding: 36px; }
  .book-cover-stage { width: 100%; min-height: 390px; padding: 44px 0 12px; }
  .book-cover-stage figcaption { position: absolute; top: 0; left: 0; width: 100%; margin: 0; }
  .book-object { width: 230px; transform: perspective(1100px) rotateY(-10deg) rotateZ(-9deg); }
  .book-feature-copy { margin: -56px 0 0; padding: 28px; }
  .book-map { margin-top: 40px; }

  .sample-intro-layout { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .book-feature { padding: 30px 24px; }
  .book-feature-copy { padding: 26px 20px; }
  .book-routes { display: block; padding-left: 28px; min-height: 0; }
  .book-map-paths { display: none; }
  .book-routes::before { content: ''; position: absolute; top: 26px; bottom: 50px; left: 7px; width: 1px; background: var(--line-strong); }
  .book-route, .book-route:nth-of-type(2) { display: block; width: 100%; padding: 12px 0 28px; }
  .route-point { position: absolute; left: -28px; top: 22px; margin: 0; }
  .book-route p { max-width: 100%; }
  .book-aids { grid-template-columns: 1fr; gap: 24px; }
  .book-feature .product-foot { flex-wrap: wrap; gap: 16px; }
  .product-card { padding: 30px 24px 24px; }
  .voucher-strip { align-items: flex-start; flex-direction: column; }
  .preview-panel { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .preview-sample { padding: 24px 20px; }
  .preview-quote { margin-left: 0; margin-right: 0; }
  .preview-actions { flex-direction: column; }
  .preview-actions .btn { width: 100%; }
  .preview-sections button { min-height: 44px; }
}

/* Vybraný prototyp B: celá kniha a otevřená kompozice bez překryvného panelu. */
.product-card.book-feature {
  grid-template-columns: 31% minmax(0, 1fr); gap: 20px;
  padding: 34px 0 0; border: 0; border-radius: 0;
  background: none; box-shadow: none; backdrop-filter: none;
  overflow: visible; opacity: 1; transform: none; animation: none;
}
.product-card.book-feature::before { display: none; }
.product-card.book-feature:hover { border: 0; box-shadow: none; transform: none; }
.book-feature .book-cover-stage { min-height: 350px; padding: 25px 0 18px; justify-content: flex-start; }
.book-feature .book-object { width: 216px; transform: perspective(1000px) rotateY(-14deg) rotateZ(-11deg); }
.book-feature .book-cover-stage figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.book-feature .book-feature-copy { margin: 0; padding: 22px 0 22px 18px; background: none; border-radius: 0; box-shadow: none; }
.book-feature .product-cat { display: none; }
.book-feature-copy > h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 500; line-height: 1.18; margin-bottom: 16px; }
.book-feature .book-lead { font-size: 1.7rem; margin-bottom: 16px; }
.book-feature .book-description { max-width: 580px; font-size: 1rem; }
.book-feature .product-teaser { padding: 0; margin: 20px 0; border: 0; color: var(--accent); font-size: 1.6rem; }
.book-purchase { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 24px; }
.book-feature .product-price { margin: 0; font-size: 1.65rem; }
.book-order-button { font: 600 1.05rem var(--sans); background: #D6B885; color: #191D31; border: 1px solid #D6B885; border-radius: 6px; padding: 13px 22px; cursor: pointer; }
.book-order-button:hover { background: #E5CBA1; }
.book-order-button:disabled { cursor: default; opacity: 0.5; }
.book-format { margin: 10px 0 0; font-size: 0.8rem; color: var(--text-dim); }
.book-feature .book-addon-note { margin-top: 20px; font-size: 0.85rem; }
.book-map { margin-top: 8px; padding-top: 12px; }
@media (max-width: 700px) {
  .product-card.book-feature { grid-template-columns: 1fr; gap: 0; padding-top: 20px; }
  .book-feature .book-cover-stage { min-height: 280px; padding: 8px 0 18px; }
  .book-feature .book-object { width: 178px; }
  .book-feature .book-feature-copy { margin: 0; padding: 22px 0 14px; }
  .book-feature-copy > h1 { font-size: 2.5rem; }
  .book-map { margin-top: 30px; }
}

/* ---------- how ---------- */
.how { background: var(--bg-soft); }
.how-list {
  max-width: 640px;
  margin: 0 auto;
  padding-left: 0;
  list-style: none;
  color: var(--text-dim);
}
.how-list li {
  margin-bottom: 22px;
  padding-left: 44px;
  position: relative;
  line-height: 1.7;
  font-size: 1rem;
}
.how-list li::before {
  content: counter(list-item);
  position: absolute;
  left: 0;
  top: -2px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--serif);
  color: var(--accent);
  font-size: 0.95rem;
}
.how-list strong { color: var(--text); font-weight: 600; }

/* ---------- wizard ---------- */
.order-product {
  text-align: center;
  color: var(--accent);
  margin: 0 0 34px;
  font-family: var(--serif);
  font-size: 1.15rem;
}
.order-intro {
  max-width: 620px;
  margin: 0 auto 30px;
  text-align: center;
  color: var(--text-dim);
  font-size: 1.02rem;
  line-height: 1.75;
}
.order-intro strong { color: var(--accent); font-weight: 600; }
.field-hint {
  font-size: 0.82rem;
  color: var(--text-mute);
  margin: 12px 0 0;
  line-height: 1.5;
}

.wizard {
  background: var(--card-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
  max-width: 700px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.wizard-steps {
  display: flex;
  gap: 18px;
  margin-bottom: 34px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}
.wizard-step-indicator {
  color: var(--text-mute);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.wizard-step-indicator.active { color: var(--accent); border-bottom-color: var(--accent); }

.wizard fieldset {
  border: none;
  border-bottom: 1px solid var(--line);
  margin: 0 0 26px;
  padding: 0 0 24px;
}
.wizard fieldset:last-of-type { border-bottom: none; }
.wizard legend {
  color: var(--text);
  padding: 0;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}
.wizard label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 6px;
  font-weight: 500;
}
.wizard input[type="number"],
.wizard input[type="text"],
.wizard input[type="email"],
.wizard input[type="date"],
.wizard select {
  width: 100%;
  padding: 11px 12px;
  background: rgba(7, 10, 26, 0.7);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wizard input::placeholder { color: var(--text-mute); }
.wizard input[type="time"],
.wizard textarea {
  width: 100%;
  padding: 11px 12px;
  background: rgba(7, 10, 26, 0.7);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.92rem;
  color-scheme: dark;
}
.wizard input[type="date"] { color-scheme: dark; }
.wizard textarea { resize: vertical; line-height: 1.5; }
.wizard textarea:focus, .wizard input[type="time"]:focus,
.wizard input:focus, .wizard select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 192, 125, 0.12);
}
.wizard select option { background: #0B0E28; color: var(--text); }

.radio-row, .checkbox-row {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: var(--text);
}
/* .hidden je výš v souboru se stejnou specifičností, takže by ho display:flex přebil */
.radio-row.hidden, .checkbox-row.hidden { display: none !important; }
.radio-row input, .checkbox-row input {
  width: auto !important;
  margin-top: 3px;
  accent-color: var(--accent);
}
.addon-price { color: var(--accent); font-size: 0.85rem; }

.order-summary {
  color: var(--text);
  font-weight: 500;
  padding: 15px 18px;
  background: rgba(232, 192, 125, 0.06);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  margin: 0 0 22px;
}
.wizard-actions { display: flex; gap: 12px; justify-content: flex-end; }
.wizard-actions .btn[hidden] { display: none; }
.wizard-step-indicator.done { color: var(--text-dim); }
.btn-small { padding: 8px 16px; font-size: 0.85rem; }

.event-row {
  display: grid;
  grid-template-columns: 150px 130px 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.question-row { margin-bottom: 12px; }
.price-lines { list-style: none; margin: 0 0 8px; padding: 0; font-weight: 400; color: var(--text-dim); }
.price-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
.price-total { display: flex; justify-content: space-between; font-weight: 600; color: var(--accent); }
.price-note { font-size: 0.8rem; color: var(--text-mute); font-weight: 400; margin: 6px 0 0; }

@media (max-width: 560px) {
  .event-row { grid-template-columns: 1fr 1fr; }
  .event-row input[type="text"] { grid-column: 1 / -1; }
}

.form-error {
  max-width: 700px;
  margin: 18px auto 0;
  padding: 13px 18px;
  background: rgba(229, 139, 139, 0.1);
  border-left: 3px solid var(--error);
  border-radius: 8px;
  color: var(--error);
  font-size: 0.9rem;
}

/* ---------- result ---------- */
.result .container { text-align: center; }
.result strong { color: var(--accent); font-size: 1.3rem; font-weight: 600; }
.result p { color: var(--text-dim); }

/* ---------- why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}
.why-item {
  padding: 30px 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.25s, transform 0.25s;
}
.why-item:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.why-glyph { font-size: 1.9rem; margin: 0 0 12px; color: var(--accent); text-shadow: 0 0 16px rgba(232, 192, 125, 0.35); }
.why-item h4 { margin: 0 0 8px; font-family: var(--serif); font-size: 1.08rem; color: var(--text); font-weight: 500; }
.why-item p { margin: 0; color: var(--text-dim); font-size: 0.92rem; }

/* ---------- contact + footer ---------- */
.contact .container { text-align: center; color: var(--text-dim); }
.contact a { color: var(--accent); text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.contact .mail { font-size: 1.05rem; font-weight: 500; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  color: var(--text-mute);
  font-size: 0.8rem;
  background: rgba(7, 10, 26, 0.6);
}
.site-footer .container { text-align: center; }

/* ---------- admin (dark dashboard, no starfield) ---------- */
.admin-login { max-width: 360px; margin: 30px auto; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 0.85rem;
}
.admin-table th, .admin-table td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  color: var(--text);
}
.admin-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent);
  font-weight: 600;
}
.admin-table select {
  background: var(--bg-1);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 8px;
}
#admin-content { max-width: 1200px; }
#admin-content h1 { font-family: var(--serif); font-weight: 500; color: var(--text); }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-eyebrow, .hero h1, .hero-sub, .hero-cta, .hero-trust, .product-card { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .hero { padding: 80px 0 60px; }
  section { padding: 56px 0; }
  .wizard { padding: 26px; }
  .preview-panel { padding: 32px 24px 28px; }
  .site-header .container { padding-top: 12px; padding-bottom: 12px; }
  .brand { font-size: 1.05rem; }
  .site-nav { display: none; }
  .product-actions { flex-direction: column; }
}

/* ---------- legal pages (obchodní podmínky, zásady) ---------- */
.legal { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.legal h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 8px; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; margin: 40px 0 10px; color: var(--accent-strong); }
.legal p, .legal li { color: var(--text-dim); }
.legal strong { color: var(--text); }
.legal a { color: var(--accent); }
.legal-draft { border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 14px; color: var(--accent-strong) !important; background: rgba(232, 192, 125, 0.06); }
.legal-todo { background: rgba(232, 192, 125, 0.18); color: var(--accent-strong); border-radius: 4px; padding: 0 3px; }
.legal-table { overflow-x: auto; margin: 16px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); color: var(--text-dim); }
.legal th { color: var(--text); font-weight: 600; }
.site-footer a { color: var(--text-dim); }

/* Souvislá hlavní stránka; katalog ostatních produktů má vlastní adresu. */
.book-landing { padding: 36px 0 72px; }
.landing-positioning { margin: 0 0 12px; color: var(--text-dim); font-size: 1rem; text-align: right; }
.book-landing .book-cover-stage { padding-top: 46px; }
.catalog-status:empty { display: none; }
.catalog-status { color: var(--accent-strong); }
#book-map, #jak, #faq { scroll-margin-top: 88px; }
.landing-how h2, .book-faq h2, .book-closing h2 { font: 500 clamp(1.7rem,3vw,2.25rem)/1.3 var(--serif); margin: 0 0 36px; text-align: left; }
.delivery-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; list-style-position: inside; padding: 0; margin: 0; color: var(--accent); }
.delivery-steps h3 { font: 400 1.25rem/1.5 var(--serif); color: var(--text); margin: 12px 0; }
.delivery-steps p { color: var(--text-dim); margin: 0; }
.method-note { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.method-note h3 { font: 400 1.2rem var(--serif); margin: 0; }
.method-note p { margin: 0; color: var(--text-dim); max-width: 70ch; }
.reading-container { max-width: 880px; }
.book-faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.book-faq details:last-of-type { border-bottom: 1px solid var(--line); }
.book-faq summary { cursor: pointer; font: 400 1.15rem/1.5 var(--serif); color: var(--text); }
.book-faq details p { color: var(--text-dim); margin: 18px 0 0; max-width: 70ch; }
.book-faq a, .other-readings-link, .catalog-book-link a { color: var(--accent); }
.faq-contact { color: var(--text-dim); margin: 32px 0 0; }
.book-closing { background: var(--bg-soft); text-align: center; }
.book-closing h2 { text-align: center; margin-bottom: 16px; }
.book-closing > .container > p { color: var(--text-dim); }
.book-closing .book-order-button { margin-top: 16px; }
.closing-price { font-variant-numeric: tabular-nums; font-size: 0.9rem; }
.other-readings-link { display: inline-block; margin-top: 32px; font-size: 0.95rem; }
.other-catalog { padding: 56px 0 72px; }
.other-catalog h1 { font: 500 clamp(2rem,4vw,3rem)/1.25 var(--serif); margin: 0 0 20px; }
.other-catalog-intro { color: var(--text-dim); max-width: 65ch; margin: 0 0 36px; }
.voucher-strip h2 { font: 400 1.2rem var(--serif); margin: 0 0 10px; text-align: left; }
.catalog-book-link { margin-top: 40px; color: var(--text-dim); }
@media(max-width:700px) {
  .landing-positioning { text-align: center; font-size: 0.9rem; margin-bottom: 12px; }
  .book-landing { padding-top: 24px; }
  .book-landing .book-cover-stage { padding-top: 26px; min-height: 298px; }
  .delivery-steps, .method-note { grid-template-columns: 1fr; gap: 24px; }
  .site-header .container { flex-wrap: wrap; gap: 12px; }
  .site-nav { display: flex; width: 100%; min-width: 0; overflow-x: auto; white-space: nowrap; justify-content: flex-start; gap: 20px; font-size: 0.85rem; }
}

.book-feature-copy > h1 { font-family: var(--serif); }
.book-map > h2, .product-card[data-card] h2 { text-align: left; }

/* Úvodní galerie a samostatné detaily produktů. */
[hidden] { display: none !important; }
#nabidka { scroll-margin-top: 88px; }
/* Drobná knihovna pod úvodem; obálky jsou zároveň odkazy na detaily. */
.product-gallery { padding: 12px 0 48px; }
.offering-gallery { display: flex; justify-content: center; align-items: flex-end; gap: 32px; max-width: 740px; margin: 0 auto; }
.offering { width: 110px; min-width: 0; flex: 0 1 110px; text-align: center; color: var(--text-dim); text-decoration: none; }
.offering-art { display: flex; height: 150px; align-items: flex-end; justify-content: center; padding-bottom: 14px; border-bottom: 1px solid var(--line-strong); perspective: 650px; }
.shelf-book { --tilt: -7deg; display: block; position: relative; width: 80px; height: 116px; transform: rotate(var(--tilt)) rotateY(-12deg); transform-origin: center bottom; transition: transform 240ms ease; border-radius: 2px 3px 3px 2px; background: #292a40; box-shadow: -4px 3px 0 #161827, 4px 3px 0 -1px #9b927e, 7px 7px 12px #090b1966; }
.shelf-book::before { content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; left: 4px; width: 3px; border-right: 1px solid #d9b97c24; background: #10132355; }
.shelf-cover { position: absolute; inset: 5px 5px 5px 10px; border: 1px solid #d6b57266; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 5px 2px; color: #ddc797; }
.shelf-ornament { font-size: 8px; line-height: 1; opacity: 0.7; }
.shelf-cover img { width: auto; height: 54px; max-width: 47px; object-fit: contain; mix-blend-mode: screen; opacity: 0.88; margin: 5px 0; }
.shelf-cover-title { font: 500 8px/1.25 var(--serif); max-width: 100%; overflow-wrap: anywhere; }
.offering--kniha .shelf-book { width: 86px; height: 124px; }
.offering--vyklad .shelf-book { --tilt: 4deg; background: #283338; }
.offering--novela .shelf-book { --tilt: -5deg; background: #382d3c; }
.offering--otazky .shelf-book { --tilt: 6deg; height: 108px; background: #343341; }
.offering--astrokartografie .shelf-book { --tilt: -4deg; background: #26363d; }
.offering--astrokartografie .shelf-cover-title { font-size: 6px; overflow-wrap: normal; }
.offering h3 { font: 400 0.92rem/1.4 var(--serif); margin: 16px -10px 0; }
.offering:hover .shelf-book, .offering:focus-visible .shelf-book { transform: translateY(-6px) rotate(0deg) rotateY(-6deg); }
.offering:hover h3 { color: var(--accent-strong); }
.gallery-method { color: var(--text-dim); max-width: 65ch; margin: 36px auto 0; text-align: center; font-size: 0.85rem; }
.standalone-product { padding: 44px 0 72px; }
.detail-intro { display: grid; grid-template-columns: 35% minmax(0,1fr); gap: 48px; align-items: center; }
.detail-art { display: flex; align-items: center; justify-content: center; min-height: 360px; }
.detail-art img { max-width: 100%; width: auto; max-height: 360px; height: auto; object-fit: contain; mix-blend-mode: screen; }
.detail-intro h1 { font: 500 clamp(2.2rem,4vw,3.5rem)/1.25 var(--serif); margin: 0 0 24px; }
.detail-lead { color: var(--text-dim); font-size: 1.1rem; max-width: 50ch; }
.detail-teaser { color: var(--accent); font: italic 1.5rem/1.5 var(--script); margin: 24px 0; }
.detail-price { font: 400 1.8rem var(--serif); color: var(--accent); }
.detail-delivery { color: var(--text-dim); font-size: 0.88rem; }
.detail-explanation { max-width: 760px; margin: 64px auto 0; border-top: 1px solid var(--line); padding-top: 40px; }
.detail-explanation h2 { font: 400 1.8rem/1.4 var(--serif); text-align: left; margin: 0 0 24px; }
.detail-explanation p, .detail-explanation li { color: var(--text-dim); }
.detail-explanation li { margin: 10px 0; }
.detail-explanation a, .payment-contact a { color: var(--accent); }
.detail-how, .detail-faq { margin-top: 56px; }
.detail-method { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.payment-page { min-height: 65dvh; padding: 80px 0; }
.payment-page h1 { font: 500 clamp(2rem,4vw,3rem)/1.3 var(--serif); margin: 0 0 24px; }
.payment-code-label { color: var(--accent); font-variant-numeric: tabular-nums; }
#payment-text { max-width: 65ch; color: var(--text-dim); }
.payment-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }
.payment-contact { margin-top: 36px; color: var(--text-dim); font-size: 0.9rem; }
@media(max-width:700px) {
  .offering-gallery { flex-wrap: wrap; gap: 24px 18px; max-width: 380px; }
  .offering { flex: 0 0 94px; width: 94px; }
  .offering-art { height: 136px; }
  .offering h3 { font-size: 0.86rem; margin-top: 12px; }
  .product-gallery { padding-top: 8px; }
  .detail-intro { grid-template-columns: 1fr; gap: 24px; }
  .detail-art { min-height: 220px; }
  .detail-art img { max-height: 220px; }
  .detail-explanation { margin-top: 40px; }
  .payment-page { padding: 48px 0; }
  .payment-actions { flex-direction: column; align-items: flex-start; }
}

/* Samostatné FAQ dostupné z patičky celého webu. */
.faq-page { padding-top: 48px; padding-bottom: 64px; }
.faq-page h1 { font: 500 clamp(2rem,4vw,3rem)/1.25 var(--serif); margin: 28px 0 16px; }
.faq-intro { color: var(--text-dim); max-width: 55ch; margin-bottom: 0; }
.faq-group { padding: 40px 0 0; }
.faq-group h2 { font: 400 1.5rem/1.4 var(--serif); margin: 0 0 24px; text-align: left; }
.faq-page .faq-more { color: var(--text-dim); font-size: 0.9rem; margin-top: 16px; }
.faq-more a { color: var(--accent); }

.preview-source { color: var(--text-dim); font-size: 0.8rem; line-height: 1.5; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 28px; }
.preview-reading p { white-space: pre-line; }

.book-reading-flow { margin-top: 32px; max-width: 76ch; color: var(--text-dim); font-size: 0.92rem; }
.book-reading-flow p { margin: 0 0 12px; }
.book-reading-flow strong { font-weight: 600; color: var(--text); }
.book-reading-flow button { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; background: none; border: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.book-reading-flow button svg { width: 18px; height: 18px; }
.preview-chapter-block { margin: 28px 0; padding: 0; }
.preview-reading .preview-chapter-block h4 { font: 500 1.15rem/1.5 var(--serif); color: var(--accent); margin: 0 0 14px; }
.preview-chapter-block ul { padding-left: 22px; }
.preview-chapter-block li { margin-bottom: 8px; }

.preview-reading .preview-explanation { font-family: "Source Sans 3", sans-serif; font-size: 0.95rem; line-height: 1.65; color: var(--text-dim); }
.preview-sample.preview-reading p.preview-explanation::first-letter, .preview-sample.preview-reading p.preview-excerpt-label::first-letter, .preview-sample.preview-reading p.preview-ellipsis::first-letter, .preview-sample.preview-reading p.preview-source::first-letter, .preview-sample.preview-reading .sample-poem p:first-of-type::first-letter { float: none; font: inherit; color: inherit; margin: 0; padding: 0; }
.preview-chapter-block + .preview-chapter-block { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line-strong); }
.preview-excerpt { margin-top: 18px; padding: 20px 22px; border-left: 2px solid var(--accent); background: rgba(232,192,125,0.035); }
.preview-reading .preview-excerpt-label { font-family: "Source Sans 3", sans-serif; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.preview-reading .preview-ellipsis { color: var(--accent); letter-spacing: 0.15em; margin-bottom: 0; }
@media(max-width:700px) { .preview-excerpt { padding: 16px; } }

/* Závěrečná část titulky: čtyři stručné důvody pod drobnou knihovničkou. */
.home-why { padding: 56px 0 72px; }
.home-why > .container { border-top: 1px solid var(--line); padding-top: 48px; }
.home-why h2 { font: 500 clamp(1.65rem,3vw,2.25rem)/1.35 var(--serif); margin: 0 0 40px; text-align: center; }
.home-reasons-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; padding: 0; margin: 0; list-style: none; }
.home-reason-glyph { display: block; color: var(--accent); font-size: 1.6rem; line-height: 1; margin-bottom: 20px; }
.home-reasons-grid h3 { font: 500 1.1rem/1.45 var(--serif); margin: 0 0 12px; }
.home-reasons-grid p { margin: 0; font-size: 0.92rem; line-height: 1.7; color: var(--text-dim); }
@media(max-width:850px) { .home-reasons-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; } }
@media(max-width:460px) {
  .home-why { padding: 32px 0 48px; }
  .home-why > .container { padding-top: 32px; }
  .home-reasons-grid { grid-template-columns: 1fr; gap: 28px; }
  .home-reasons-grid li { position: relative; padding-left: 36px; }
  .home-reason-glyph { position: absolute; left: 0; top: 4px; font-size: 1.3rem; margin: 0; }
  .home-reasons-grid h3 { margin-bottom: 8px; }
}
