.catalog-page {
  background: #f8f4fc;
}

.catalog-main {
  margin: 0;
  max-width: none;
  padding: 0;
}

.catalog-container {
  margin: 0 auto;
  max-width: 1232px;
  padding-inline: 26px;
}

.catalog-kicker {
  color: #7d42f4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.catalog-heading h2,
.catalog-hero h1,
.catalog-product-hero h1,
.catalog-story-copy h2,
.catalog-personalization h2,
.catalog-print-proof h2,
.catalog-product-choice h2,
.catalog-faq h2,
.catalog-product-final h2,
.catalog-personalize-pending h1 {
  font-family: "Unbounded", "Manrope", sans-serif;
  letter-spacing: -0.055em;
  margin: 0;
}

.catalog-heading h2,
.catalog-story-copy h2,
.catalog-personalization h2,
.catalog-print-proof h2,
.catalog-product-choice h2,
.catalog-faq h2,
.catalog-product-final h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
}

.catalog-heading--split {
  align-items: end;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.catalog-heading--split > p {
  color: #746b82;
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

.catalog-heading--center {
  margin-inline: auto;
  max-width: 780px;
  text-align: center;
}

.catalog-hero {
  background:
    radial-gradient(circle at 74% 35%, rgb(239 79 155 / 0.15), transparent 30%),
    radial-gradient(circle at 22% 8%, rgb(125 66 244 / 0.15), transparent 28%),
    linear-gradient(180deg, #faf7fd 0%, #f4edf9 100%);
  min-height: calc(100svh - 96px);
  overflow: hidden;
  padding: clamp(58px, 7vh, 92px) 0 86px;
  position: relative;
}

.catalog-hero::before {
  background-image: radial-gradient(rgb(125 66 244 / 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
  inset: 0 0 auto 55%;
  height: 100%;
  mask-image: linear-gradient(to left, #000, transparent);
  pointer-events: none;
  position: absolute;
}

.catalog-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(54px, 7vw, 100px);
  grid-template-columns: minmax(0, 1.02fr) minmax(410px, 0.78fr);
  min-height: min(690px, calc(100svh - 190px));
  position: relative;
}

.catalog-hero__copy {
  max-width: 680px;
  min-width: 0;
}

.catalog-hero h1 {
  color: #201634;
  font-size: clamp(42px, 4.55vw, 62px);
  line-height: 1.05;
}

.catalog-hero__copy > p:not(.catalog-kicker) {
  color: #635a71;
  font-size: 17px;
  line-height: 1.75;
  margin: 26px 0 0;
  max-width: 630px;
}

.catalog-hero__actions,
.catalog-product-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: 34px;
}

.catalog-button-primary {
  background: linear-gradient(105deg, #7541f5 0%, #bb45e7 48%, #ef4f9b 100%);
  border: 0;
  box-shadow: 0 18px 42px rgb(125 66 244 / 0.24);
  color: #fff;
  min-height: 56px;
  padding: 15px 26px;
}

.catalog-button-primary span,
.catalog-card__footer a span {
  display: inline-block;
  transition: transform 180ms ease;
}

.catalog-button-primary:hover span,
.catalog-card__footer a:hover span {
  transform: translateX(4px);
}

.catalog-text-link,
.catalog-breadcrumb {
  color: #4f3f69;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.catalog-text-link:hover,
.catalog-breadcrumb:hover {
  color: #7d42f4;
}

.catalog-price-anchor {
  align-items: center;
  border-top: 1px solid #ddd1e8;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 34px;
  padding-top: 20px;
}

.catalog-price-anchor span {
  color: #776c83;
  font-size: 12px;
}

.catalog-price-anchor strong {
  color: #241738;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 13px;
}

.catalog-hero__visual {
  min-height: 530px;
  perspective: 1200px;
  position: relative;
}

.catalog-hero-book {
  background: #27134d;
  border: 1px solid rgb(255 255 255 / 0.4);
  border-radius: 10px 24px 24px 10px;
  box-shadow:
    -20px 24px 0 #e9ddf0,
    -28px 36px 80px rgb(45 22 76 / 0.25);
  display: block;
  height: 416px;
  overflow: hidden;
  position: absolute;
  right: 44px;
  text-decoration: none;
  top: 46px;
  transform: rotateY(-9deg) rotateZ(2deg);
  transition: transform 420ms ease;
  width: 416px;
}

.catalog-hero-book:hover {
  transform: rotateY(-5deg) rotateZ(0deg) translateY(-5px);
}

.catalog-hero-book::after {
  background: linear-gradient(90deg, rgb(255 255 255 / 0.36), transparent 5%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.catalog-hero-book img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.catalog-hero-book--empty {
  background:
    radial-gradient(circle at 50% 35%, rgb(255 217 138 / 0.18), transparent 24%),
    linear-gradient(145deg, #231049, #6d2fb3 60%, #ef4f9b);
  color: #fff;
  display: grid;
  place-items: center;
}

.catalog-hero-book--empty::after {
  display: none;
}

.catalog-hero-book--empty b {
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 26px;
  left: 40px;
  line-height: 1.25;
  position: absolute;
  right: 40px;
  text-align: center;
  top: 270px;
}

.catalog-hero-book__star {
  color: #ffd98a;
  filter: drop-shadow(0 0 20px rgb(255 217 138 / 0.7));
  font-size: 56px;
  position: absolute;
  top: 105px;
}

.catalog-hero-book__lines {
  bottom: 56px;
  display: grid;
  gap: 9px;
  left: 80px;
  position: absolute;
  right: 80px;
}

.catalog-hero-book__lines i {
  background: rgb(255 255 255 / 0.32);
  border-radius: 999px;
  height: 3px;
}

.catalog-hero-book__lines i:nth-child(2) { margin-inline: 20px; }
.catalog-hero-book__lines i:nth-child(3) { margin-inline: 44px; }

.catalog-hero__story {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgb(255 255 255 / 0.86);
  border: 1px solid rgb(255 255 255 / 0.92);
  border-radius: 18px;
  bottom: 18px;
  box-shadow: 0 18px 48px rgb(50 26 82 / 0.14);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  left: -16px;
  padding: 16px 18px;
  position: absolute;
  width: min(360px, calc(100% - 20px));
}

.catalog-hero__story p {
  display: grid;
  gap: 5px;
  margin: 0;
}

.catalog-hero__story strong { font-size: 11px; }
.catalog-hero__story p span { color: #776d84; font-size: 10px; line-height: 1.45; }
.catalog-hero__story > a { color: #7138db; font-size: 10px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.catalog-hero__story > a span { display: inline-block; transition: transform 180ms ease; }
.catalog-hero__story > a:hover span { transform: translateX(3px); }
.catalog-hero__story--empty { grid-template-columns: 1fr; }

.catalog-shelf,
.catalog-process,
.catalog-formats,
.catalog-trust,
.catalog-custom,
.catalog-faq,
.catalog-story-copy,
.catalog-pages,
.catalog-personalization,
.catalog-product-choice,
.catalog-print-proof {
  padding: 112px 0;
}

.catalog-shelf {
  background: #fff;
}

.catalog-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
}

.catalog-card {
  background: #fff;
  border: 1px solid #e8e0ef;
  border-radius: 28px;
  box-shadow: 0 22px 60px rgb(53 28 91 / 0.07);
  min-width: 0;
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.catalog-card:hover {
  box-shadow: 0 28px 68px rgb(53 28 91 / 0.13);
  transform: translateY(-5px);
}

.catalog-card__cover {
  aspect-ratio: 1;
  background: linear-gradient(145deg, #2a1554, #b44dcc);
  display: block;
  overflow: hidden;
  position: relative;
}

.catalog-card__cover img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.catalog-card__featured {
  background: rgb(18 10 45 / 0.9);
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 999px;
  color: #ffd98a;
  font-size: 9px;
  font-weight: 800;
  left: 18px;
  letter-spacing: 0.08em;
  padding: 9px 12px;
  position: absolute;
  text-transform: uppercase;
  top: 18px;
}

.catalog-card__body {
  padding: 24px 24px 22px;
}

.catalog-card__meta {
  align-items: center;
  color: #81758e;
  display: flex;
  flex-wrap: wrap;
  font-size: 10px;
  font-weight: 800;
  gap: 8px 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-card__style {
  background: #f4eefb;
  border: 1px solid #e4d8f1;
  border-radius: 999px;
  color: #684d82;
  font-size: 9px;
  letter-spacing: 0.03em;
  line-height: 1;
  padding: 5px 8px;
  text-transform: none;
  white-space: nowrap;
}

.catalog-card h3 {
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 20px;
  letter-spacing: -0.035em;
  line-height: 1.25;
  margin: 16px 0 10px;
}

.catalog-card h3 a { text-decoration: none; }
.catalog-card h3 a:hover { color: #7d42f4; }

.catalog-card__body > p {
  color: #6f657a;
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
  min-height: 64px;
}

.catalog-card__hero-fit {
  align-items: center;
  color: #5e4c71 !important;
  display: flex;
  font-size: 10px !important;
  font-weight: 750;
  gap: 7px;
  line-height: 1.35 !important;
  margin-top: 15px !important;
  min-height: 0 !important;
}

.catalog-card__hero-fit span { color: #b77941; }

.catalog-card__personalization-note {
  color: #614c79 !important;
  font-size: 11px !important;
  font-weight: 750;
  line-height: 1.45 !important;
  margin-top: 14px !important;
  min-height: 0 !important;
}

.catalog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.catalog-tags li {
  background: #f4eefb;
  border: 1px solid #e7dcf4;
  border-radius: 999px;
  color: #614c79;
  font-size: 10px;
  font-weight: 700;
  padding: 7px 10px;
}

.catalog-card__footer {
  align-items: end;
  border-top: 1px solid #eee7f3;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 18px;
}

.catalog-card__footer > span {
  color: #82778e;
  display: grid;
  font-size: 10px;
  gap: 2px;
}

.catalog-card__footer strong {
  color: #241738;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 15px;
}

.catalog-card__footer a {
  color: #7d42f4;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
  text-decoration: none;
  text-wrap: balance;
}


.catalog-empty {
  align-items: center;
  background: linear-gradient(120deg, #f7f2fc, #fff);
  border: 1px dashed #d7c9e4;
  border-radius: 28px;
  display: grid;
  gap: 22px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin-top: 46px;
  padding: 34px;
}

.catalog-empty > span {
  color: #7d42f4;
  font-size: 34px;
}

.catalog-empty h3 { font-family: "Unbounded", "Manrope", sans-serif; margin: 0 0 8px; }
.catalog-empty p { color: #746b82; line-height: 1.6; margin: 0; }

.catalog-process {
  background: #f8f4fc;
}

.catalog-process__steps {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 54px 0 0;
  padding: 0;
}

.catalog-process__steps li {
  align-items: flex-start;
  border-right: 1px solid #ded3e9;
  display: grid;
  gap: 20px;
  grid-template-columns: auto 1fr;
  padding: 10px 34px;
}

.catalog-process__steps li:first-child { padding-left: 0; }
.catalog-process__steps li:last-child { border-right: 0; padding-right: 0; }

.catalog-process__steps > li > span {
  color: #7d42f4;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 11px;
}

.catalog-process h3 { font-size: 16px; margin: 0 0 8px; }
.catalog-process li p { color: #746b82; font-size: 13px; line-height: 1.6; margin: 0; }

.catalog-formats {
  background:
    radial-gradient(circle at 82% 15%, rgb(99 230 212 / 0.12), transparent 26%),
    linear-gradient(145deg, #120a2d, #1a0b3d 60%, #0d0b27);
  color: #fff;
}

.catalog-formats .catalog-kicker,
.catalog-final .catalog-kicker,
.catalog-product-final .catalog-kicker { color: #ffd98a; }

.catalog-formats__heading {
  align-items: end;
  display: grid;
  gap: 50px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
}

.catalog-formats__heading h2 {
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: clamp(34px, 4vw, 50px);
  letter-spacing: -0.055em;
  line-height: 1.08;
  margin: 0;
}

.catalog-formats__heading > p {
  color: #c4b8d9;
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

.catalog-formats__layout {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  margin-top: 46px;
}

.catalog-formats__proof {
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 28px;
  min-height: 100%;
  overflow: hidden;
  position: relative;
}

.catalog-formats__proof::after { background: linear-gradient(180deg, transparent 48%, rgb(8 3 23 / 0.9)); content: ""; inset: 0; position: absolute; }
.catalog-formats__proof img { height: 100%; object-fit: cover; width: 100%; }
.catalog-formats__proof > span { bottom: 26px; display: grid; gap: 6px; left: 26px; position: absolute; right: 26px; z-index: 1; }
.catalog-formats__proof strong { font-family: "Unbounded", "Manrope", sans-serif; font-size: 18px; line-height: 1.25; }
.catalog-formats__proof small { color: #d4c8e1; font-size: 10px; }
.catalog-formats__proof--cover { background: radial-gradient(circle at 52% 40%, rgb(239 79 155 / 0.2), transparent 36%), rgb(255 255 255 / 0.05); display: grid; place-items: center; }
.catalog-formats__proof--cover img { border-radius: 5px 16px 16px 5px; box-shadow: -12px 16px 0 rgb(255 255 255 / 0.12), 0 28px 62px rgb(3 1 12 / 0.44); height: auto; max-width: 69%; transform: rotate(-3deg); }
.catalog-formats__proof--cover::after { background: linear-gradient(180deg, transparent 54%, rgb(8 3 23 / 0.92)); }

.catalog-formats__cards {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-format-card {
  align-content: start;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 22px;
  display: grid;
  gap: 9px;
  padding: 20px 22px;
  position: relative;
}

.catalog-format-card--primary { background: linear-gradient(145deg, rgb(125 66 244 / 0.25), rgb(255 255 255 / 0.07)); border-color: rgb(255 217 138 / 0.34); grid-row: span 2; padding-top: 52px; }
.catalog-format-card__mark { background: #ffd98a; border-radius: 0 0 10px 10px; color: #2b1748; font-size: 8px; font-weight: 850; left: 22px; letter-spacing: 0.09em; padding: 8px 11px; position: absolute; text-transform: uppercase; top: 0; }
.catalog-formats__cards small { color: #bbaed1; font-size: 8px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.catalog-formats__cards h3 { font-family: "Unbounded", "Manrope", sans-serif; font-size: 17px; line-height: 1.25; margin: 0; }
.catalog-formats__cards strong { color: #ffd98a; font-family: "Unbounded", "Manrope", sans-serif; font-size: 18px; }
.catalog-formats__cards p { color: #c6bbd8; font-size: 11px; line-height: 1.55; margin: 0; }
.catalog-format-card ul { border-top: 1px solid rgb(255 255 255 / 0.1); color: #d6cbe2; display: grid; font-size: 10px; gap: 8px; list-style: none; margin: 9px 0 0; padding: 14px 0 0; }
.catalog-format-card li::before { color: #65e5d3; content: "✓"; margin-right: 7px; }
.catalog-formats__gift { align-items: center; color: #c9bdd7; display: flex; font-size: 11px; gap: 9px; margin: 22px 0 0; }
.catalog-formats__gift span { color: #ffd98a; }

.catalog-trust { background: #fff; }

.catalog-trust__grid {
  display: grid;
  gap: 76px;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
}

.catalog-trust h2 {
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: clamp(34px, 4vw, 50px);
  letter-spacing: -0.055em;
  line-height: 1.08;
  margin: 0;
}

.catalog-trust ul {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.catalog-trust li {
  align-items: flex-start;
  border-bottom: 1px solid #e9e1ef;
  display: grid;
  gap: 16px;
  grid-template-columns: 34px 1fr;
  padding: 0 0 22px;
}

.catalog-trust li + li { padding-top: 22px; }
.catalog-trust li:last-child { border-bottom: 0; padding-bottom: 0; }
.catalog-trust li > span { background: #e9fbf8; border-radius: 50%; color: #168b7c; display: grid; height: 34px; place-items: center; }
.catalog-trust li p { display: grid; gap: 5px; margin: 0; }
.catalog-trust li strong { font-size: 14px; }
.catalog-trust li small { color: #746b82; font-size: 12px; line-height: 1.6; }

.catalog-custom { background: #f8f4fc; padding-block: 80px; }

.catalog-custom__panel {
  align-items: center;
  background: #fff;
  border: 1px solid #e8e0ef;
  border-radius: 30px;
  box-shadow: 0 22px 60px rgb(53 28 91 / 0.07);
  display: grid;
  gap: 50px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 40px 44px;
}

.catalog-custom h2 { font-family: "Unbounded", "Manrope", sans-serif; font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.05em; line-height: 1.15; margin: 0; }
.catalog-custom__panel > div > p:last-child { color: #746b82; line-height: 1.65; margin: 16px 0 0; max-width: 730px; }

.catalog-faq { background: #fff; }
.catalog-faq__grid { align-items: start; display: grid; gap: 78px; grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr); }
.catalog-faq__items { border-top: 1px solid #e5dce9; }
.catalog-faq details { border-bottom: 1px solid #e5dce9; }
.catalog-faq summary { align-items: center; color: #2d213c; cursor: pointer; display: flex; font-size: 14px; font-weight: 800; gap: 20px; justify-content: space-between; list-style: none; padding: 22px 0; }
.catalog-faq summary::-webkit-details-marker { display: none; }
.catalog-faq summary::after { color: #7d42f4; content: "+"; font-family: "Unbounded", "Manrope", sans-serif; font-size: 17px; }
.catalog-faq details[open] summary::after { content: "−"; }
.catalog-faq details p { color: #706579; font-size: 13px; line-height: 1.7; margin: -4px 48px 22px 0; }

.catalog-final,
.catalog-product-final {
  background:
    radial-gradient(circle at 50% 0, rgb(125 66 244 / 0.28), transparent 40%),
    #120a2d;
  color: #fff;
  padding: 100px 0 112px;
  text-align: center;
}

.catalog-final h2,
.catalog-product-final h2 {
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -0.06em;
  line-height: 1.06;
  margin: 0 auto 34px;
  max-width: 900px;
}

/* Product detail */
.catalog-product-hero {
  background: linear-gradient(180deg, #fbf8fd, #f2eafa);
  padding: 64px 0 104px;
}

.catalog-product-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(58px, 8vw, 108px);
  grid-template-columns: minmax(360px, 0.75fr) minmax(0, 1.25fr);
}

.catalog-product-cover {
  aspect-ratio: 1;
  background: #261348;
  border-radius: 12px 28px 28px 12px;
  box-shadow: -18px 22px 0 #e6d9ec, -28px 36px 76px rgb(48 23 78 / 0.2);
  overflow: hidden;
  position: relative;
}

.catalog-product-cover img { height: 100%; object-fit: cover; width: 100%; }
.catalog-product-cover > span { background: rgb(18 10 45 / 0.9); border-radius: 999px; color: #ffd98a; font-size: 9px; font-weight: 800; left: 22px; letter-spacing: 0.08em; padding: 9px 12px; position: absolute; text-transform: uppercase; top: 22px; }

.catalog-product-hero h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.04; margin-top: 18px; }
.catalog-product-pitch { color: #635a71; font-size: 17px; line-height: 1.7; margin: 24px 0 0; max-width: 650px; }
.catalog-product-hero .catalog-tags { margin-top: 22px; }

.catalog-product-facts {
  border-bottom: 1px solid #dcd1e7;
  border-top: 1px solid #dcd1e7;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 30px 0 0;
  padding: 20px 0;
}

.catalog-product-facts div { border-right: 1px solid #ddd3e7; padding: 0 18px; }
.catalog-product-facts div:first-child { padding-left: 0; }
.catalog-product-facts div:last-child { border-right: 0; padding-right: 0; }
.catalog-product-facts dt { color: #887c94; font-size: 9px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.catalog-product-facts dd { font-size: 13px; font-weight: 800; margin: 7px 0 0; }
.catalog-product-actions { align-items: flex-start; display: grid; justify-items: start; }
.catalog-product-actions small { color: #81758e; font-size: 10px; margin-left: 10px; }

.catalog-product-preview-note {
  align-items: start;
  background: rgb(255 255 255 / 0.68);
  border: 1px solid #ded1e8;
  border-radius: 18px;
  display: grid;
  gap: 4px 12px;
  grid-template-columns: 22px minmax(0, 1fr);
  margin: 24px 0 0;
  max-width: 650px;
  padding: 16px 18px;
}

.catalog-product-preview-note > span { color: #b77941; grid-row: 1 / 3; padding-top: 1px; }
.catalog-product-preview-note strong { font-size: 11px; }
.catalog-product-preview-note small { color: #746b82; font-size: 10px; line-height: 1.55; }

.catalog-demo-hero-note {
  align-items: flex-start;
  color: #675a74;
  display: flex;
  font-size: 12px;
  font-weight: 650;
  gap: 9px;
  line-height: 1.55;
  margin: 16px 0 0;
  max-width: 620px;
}

.catalog-demo-hero-note span { color: #9b5dd7; }

.catalog-story-copy { background: #fff; }
.catalog-story-copy__grid { display: grid; gap: 78px; grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr); }
.catalog-prose { color: #5e5569; font-size: 16px; line-height: 1.9; }
.catalog-prose p { margin: 0; }
.catalog-prose p + p { margin-top: 20px; }

.catalog-pages {
  background:
    radial-gradient(circle at 16% 22%, rgb(125 66 244 / 0.24), transparent 25%),
    radial-gradient(circle at 84% 76%, rgb(99 230 212 / 0.1), transparent 26%),
    linear-gradient(145deg, #120a2d, #1a0b3d 58%, #0d0b27);
  color: #fff;
  overflow: hidden;
  scroll-margin-top: 96px;
}

.catalog-pages .catalog-kicker { color: #ffd98a; }

.catalog-pages .catalog-heading--split > p { color: #c7bad9; }

.catalog-pages__hint {
  align-items: center;
  color: #d7cbe7;
  display: flex;
  font-size: 9px;
  font-weight: 800;
  gap: 12px;
  justify-content: flex-end;
  letter-spacing: 0.14em;
  margin-top: 34px;
  text-transform: uppercase;
}

.catalog-pages__hint i {
  background: linear-gradient(90deg, rgb(255 255 255 / 0.12), #ffd98a);
  height: 1px;
  position: relative;
  width: 70px;
}

.catalog-pages__hint i::after {
  border-right: 1px solid #ffd98a;
  border-top: 1px solid #ffd98a;
  content: "";
  height: 6px;
  position: absolute;
  right: 0;
  top: -3px;
  transform: rotate(45deg);
  width: 6px;
}

.catalog-pages__rail {
  display: grid;
  gap: 28px;
  grid-auto-columns: minmax(820px, min(940px, 78vw));
  grid-auto-flow: column;
  margin-top: 22px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 10px 26px 34px max(26px, calc((100vw - 1180px) / 2));
  scroll-padding-left: max(26px, calc((100vw - 1180px) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-color: rgb(255 217 138 / 0.48) rgb(255 255 255 / 0.08);
  scrollbar-width: thin;
}

.catalog-pages__rail:focus-visible {
  outline: 2px solid #ffd98a;
  outline-offset: -4px;
}

.catalog-preview-volume {
  margin: 0;
  min-width: 0;
  scroll-snap-align: start;
}

.catalog-preview-volume__book {
  background: #f8f1e8;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 12px 28px 28px 12px;
  box-shadow:
    0 36px 80px rgb(4 1 17 / 0.42),
    0 0 0 8px rgb(255 255 255 / 0.035);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  position: relative;
}

.catalog-preview-volume__book::after {
  background: linear-gradient(90deg, transparent, rgb(39 20 52 / 0.2) 48%, rgb(255 255 255 / 0.46) 52%, transparent);
  content: "";
  inset: 0 auto 0 50%;
  pointer-events: none;
  transform: translateX(-50%);
  width: 28px;
  z-index: 3;
}

.catalog-preview-volume__art,
.catalog-preview-volume__page {
  aspect-ratio: 1;
  min-height: 0;
  min-width: 0;
}

.catalog-preview-volume__art {
  background: #241342;
  overflow: hidden;
  position: relative;
}

.catalog-preview-volume__art--placeholder {
  background:
    radial-gradient(circle at 50% 42%, rgb(255 217 138 / 0.2), transparent 18%),
    radial-gradient(circle at 24% 20%, rgb(99 230 212 / 0.13), transparent 24%),
    linear-gradient(145deg, #1c0d3d, #4b2375 58%, #241342);
}

.catalog-preview-volume__art--placeholder::before {
  background-image: radial-gradient(rgb(255 255 255 / 0.2) 1px, transparent 1px);
  background-size: 26px 26px;
  content: "";
  inset: 0;
  mask-image: radial-gradient(circle at 50% 46%, #000, transparent 70%);
  position: absolute;
}

.catalog-preview-volume__art::after {
  background: linear-gradient(180deg, transparent 65%, rgb(10 4 28 / 0.66));
  content: "";
  inset: 0;
  position: absolute;
}

.catalog-preview-volume__art img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.catalog-preview-volume__art > span {
  bottom: 20px;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  left: 22px;
  letter-spacing: 0.12em;
  position: absolute;
  text-transform: uppercase;
  z-index: 1;
}

.catalog-preview-volume__placeholder {
  align-content: center;
  display: grid;
  inset: 0;
  justify-items: center;
  padding: 38px;
  position: absolute;
  text-align: center;
  z-index: 1;
}

.catalog-preview-volume__placeholder i {
  color: #ffd98a;
  filter: drop-shadow(0 0 18px rgb(255 217 138 / 0.58));
  font-size: 42px;
  font-style: normal;
  margin-bottom: 22px;
}

.catalog-preview-volume__placeholder strong {
  color: #fff;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: clamp(19px, 2.1vw, 27px);
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.catalog-preview-volume__placeholder small {
  color: #d3c3e6;
  font-size: 10px;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 230px;
}

.catalog-preview-volume__page {
  background:
    radial-gradient(circle at 88% 10%, rgb(125 66 244 / 0.07), transparent 24%),
    repeating-linear-gradient(0deg, rgb(72 42 69 / 0.018) 0 1px, transparent 1px 4px),
    #fffaf3;
  color: #33233d;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: clamp(24px, 3.1vw, 42px);
}

.catalog-preview-volume__page header,
.catalog-preview-volume__page footer,
.catalog-preview-volume figcaption {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.catalog-preview-volume__page header {
  border-bottom: 1px solid #e5d8df;
  padding-bottom: 14px;
}

.catalog-preview-volume__page header span,
.catalog-preview-volume__page header small {
  color: #8a718b;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-preview-volume__page header small {
  color: #7d42f4;
  font-family: "Unbounded", "Manrope", sans-serif;
}

.catalog-preview-volume__text {
  align-self: center;
  max-height: 100%;
  overflow-y: auto;
  padding: 18px 4px;
  scrollbar-color: #d2c0df transparent;
  scrollbar-width: thin;
}

.catalog-preview-volume__text p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(13px, 1.25vw, 16px);
  line-height: 1.72;
  margin: 0;
}

.catalog-preview-volume__text p + p { margin-top: 12px; }

.catalog-preview-volume__page footer {
  border-top: 1px solid #e5d8df;
  color: #8b788d;
  gap: 14px;
  padding-top: 13px;
}

.catalog-preview-volume__page footer > span { color: #b77941; }

.catalog-preview-volume__page footer small {
  font-size: 8px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-preview-volume figcaption {
  color: #fff;
  gap: 22px;
  padding: 20px 4px 0;
}

.catalog-preview-volume figcaption > span {
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 10px;
  letter-spacing: -0.02em;
}

.catalog-preview-volume figcaption small {
  color: #bcaecc;
  font-size: 10px;
  text-align: right;
}

.catalog-personalization { background: #fff; }
.catalog-personalization__grid { display: grid; gap: 78px; grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr); }
.catalog-personalization ul { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.catalog-personalization li { align-items: flex-start; background: #faf7fc; border: 1px solid #ece4f2; border-radius: 18px; display: grid; gap: 16px; grid-template-columns: 36px 1fr; padding: 18px; }
.catalog-personalization li > span { color: #7d42f4; font-family: "Unbounded", "Manrope", sans-serif; font-size: 10px; padding-top: 3px; }
.catalog-personalization li p { display: grid; gap: 4px; margin: 0; }
.catalog-personalization li strong { font-size: 13px; }
.catalog-personalization li small { color: #746b82; font-size: 11px; line-height: 1.55; }

.catalog-product-choice { background: #f8f4fc; }
.catalog-product-choice__grid { display: grid; gap: 16px; grid-template-columns: 1.25fr repeat(2, minmax(0, 0.75fr)); margin-top: 46px; }
.catalog-product-choice__grid article { align-content: start; background: #fff; border: 1px solid #e7ddec; border-radius: 24px; box-shadow: 0 18px 50px rgb(50 26 82 / 0.06); display: grid; gap: 9px; padding: 26px; }
.catalog-product-choice__grid article small { color: #887d92; font-size: 8px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.catalog-product-choice__grid article h3 { font-family: "Unbounded", "Manrope", sans-serif; font-size: 17px; margin: 0; }
.catalog-product-choice__grid article > strong { color: #7d42f4; font-family: "Unbounded", "Manrope", sans-serif; font-size: 18px; }
.catalog-product-choice__grid article p { color: #746b82; font-size: 11px; line-height: 1.6; margin: 4px 0 0; }
.catalog-product-choice__grid article > span { align-self: end; border-top: 1px solid #eee7f2; color: #168b7c; font-size: 10px; font-weight: 800; margin-top: 12px; padding-top: 14px; }
.catalog-product-choice__main { background: linear-gradient(145deg, #fff, #f9f2ff) !important; border-color: #d7c4ed !important; }

.catalog-print-proof { background: #f8f4fc; }
.catalog-print-proof__grid { align-items: center; display: grid; gap: 76px; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); }
.catalog-print-proof__image { aspect-ratio: 4 / 3; border-radius: 30px; box-shadow: 0 24px 70px rgb(50 26 82 / 0.14); overflow: hidden; }
.catalog-print-proof__image img { height: 100%; object-fit: cover; width: 100%; }
.catalog-print-proof__grid > div:last-child > p:not(.catalog-kicker) { color: #746b82; line-height: 1.7; margin: 22px 0; }
.catalog-print-proof__grid > div:last-child > strong { color: #7d42f4; font-size: 13px; }
.catalog-print-proof__facts { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0 0 24px; padding: 0; }
.catalog-print-proof__facts li { background: #fff; border: 1px solid #e7deed; border-radius: 15px; display: grid; gap: 3px; min-width: 130px; padding: 13px 15px; }
.catalog-print-proof__facts strong { color: #2d203b; font-family: "Unbounded", "Manrope", sans-serif; font-size: 12px; }
.catalog-print-proof__facts span { color: #7b7084; font-size: 9px; }
.catalog-print-proof__price { display: inline-block; }

.catalog-product-final > .catalog-container > div,
.catalog-personalize-pending > .catalog-container > div:last-child { align-items: center; display: flex; flex-wrap: wrap; gap: 20px 28px; justify-content: center; }
.catalog-product-final > .catalog-container > div > a:last-child,
.catalog-personalize-pending > .catalog-container > div:last-child > a:last-child { color: #d8cae9; font-size: 12px; font-weight: 800; text-decoration: none; }
.catalog-product-final__note { color: #bfb2d0; font-size: 10px; margin: 22px 0 0; }
.catalog-product-final__copy { color: #c9bddb; font-size: 14px; line-height: 1.7; margin: -14px auto 30px; max-width: 690px; }

.catalog-personalize-pending {
  background: radial-gradient(circle at 50% 15%, rgb(125 66 244 / 0.22), transparent 34%), #120a2d;
  color: #fff;
  min-height: calc(100svh - 96px);
  padding: 130px 0;
  text-align: center;
}
.catalog-personalize-pending__mark { color: #ffd98a; font-size: 54px; margin-bottom: 24px; }
.catalog-personalize-pending h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.08; }
.catalog-personalize-pending > .catalog-container > p:not(.catalog-kicker) { color: #c9bddb; line-height: 1.75; margin: 26px auto 34px; max-width: 760px; }

@media (max-width: 1100px) {
  .catalog-hero__grid { gap: 40px; grid-template-columns: minmax(0, 1fr) 390px; }
  .catalog-hero-book { height: 380px; right: 20px; width: 380px; }
  .catalog-hero__visual { min-height: 500px; }
  .catalog-grid { gap: 22px; }
  .catalog-card__body { padding-inline: 20px; }
}

@media (max-width: 900px) {
  .catalog-hero { padding-top: 54px; }
  .catalog-hero__grid,
  .catalog-product-hero__grid,
  .catalog-trust__grid,
  .catalog-faq__grid,
  .catalog-story-copy__grid,
  .catalog-personalization__grid,
  .catalog-print-proof__grid { grid-template-columns: 1fr; }
  .catalog-hero__copy { max-width: 760px; }
  .catalog-hero__visual { margin-inline: auto; max-width: 560px; min-height: 520px; width: 100%; }
  .catalog-hero-book { left: 50%; right: auto; transform: translateX(-50%) rotateY(-7deg) rotateZ(1deg); }
  .catalog-hero-book:hover { transform: translateX(-50%) rotateY(-4deg) translateY(-4px); }
  .catalog-hero__story { left: 0; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-process__steps { gap: 20px; grid-template-columns: 1fr; }
  .catalog-process__steps li,
  .catalog-process__steps li:first-child,
  .catalog-process__steps li:last-child { border-bottom: 1px solid #ded3e9; border-right: 0; padding: 4px 0 24px; }
  .catalog-process__steps li:last-child { border-bottom: 0; }
  .catalog-custom__panel { grid-template-columns: 1fr; }
  .catalog-formats__heading { align-items: start; grid-template-columns: 1fr; }
  .catalog-formats__layout { grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr); }
  .catalog-product-choice__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-product-choice__main { grid-row: span 2; }
  .catalog-product-cover { margin-inline: auto; max-width: 520px; width: 100%; }
  .catalog-product-hero__copy { max-width: 760px; }
  .catalog-print-proof__image { order: 2; }
  .catalog-pages__rail { grid-auto-columns: minmax(720px, calc(100vw - 52px)); }
}

@media (max-width: 650px) {
  .catalog-container { padding-inline: 20px; }
  .catalog-hero { min-height: 0; padding: 42px 0 68px; }
  .catalog-hero::before { display: none; }
  .catalog-hero__grid { gap: 38px; min-height: 0; }
  .catalog-hero h1 { font-size: clamp(30px, 8.9vw, 43px); line-height: 1.08; }
  .catalog-hero__copy > p:not(.catalog-kicker) { font-size: 15px; margin-top: 22px; }
  .catalog-hero__actions { align-items: stretch; display: grid; }
  .catalog-hero__actions .button { justify-content: center; width: 100%; }
  .catalog-text-link { text-align: center; }
  .catalog-price-anchor { gap: 10px 18px; }
  .catalog-hero__visual { min-height: 420px; }
  .catalog-hero-book { height: min(78vw, 328px); left: calc(50% + 8px); width: min(78vw, 328px); }
  .catalog-hero-book--empty b { font-size: 21px; top: 225px; }
  .catalog-hero-book__star { top: 80px; }
  .catalog-hero__story { bottom: -2px; left: -2px; width: min(88vw, 340px); }
  .catalog-heading--split { align-items: start; gap: 18px; grid-template-columns: 1fr; }
  .catalog-shelf,
  .catalog-process,
  .catalog-formats,
  .catalog-trust,
  .catalog-custom,
  .catalog-faq,
  .catalog-story-copy,
  .catalog-pages,
  .catalog-personalization,
  .catalog-product-choice,
  .catalog-print-proof { padding: 72px 0; }
  .catalog-grid { grid-template-columns: 1fr; margin-top: 34px; }
  .catalog-card__body > p { min-height: 0; }
  .catalog-empty { align-items: start; grid-template-columns: 1fr; padding: 26px; }
  .catalog-process__steps { margin-top: 38px; }
  .catalog-trust__grid,
  .catalog-faq__grid,
  .catalog-story-copy__grid,
  .catalog-personalization__grid,
  .catalog-print-proof__grid { gap: 40px; }
  .catalog-formats__heading { gap: 20px; }
  .catalog-formats__layout { grid-template-columns: 1fr; }
  .catalog-formats__proof { aspect-ratio: 4 / 3; min-height: 0; }
  .catalog-formats__cards { grid-template-columns: 1fr; }
  .catalog-format-card--primary { grid-row: auto; }
  .catalog-formats__gift { align-items: flex-start; line-height: 1.55; }
  .catalog-custom { padding-block: 54px; }
  .catalog-custom__panel { gap: 30px; padding: 28px 24px; }
  .catalog-faq details p { margin-right: 16px; }
  .catalog-final,
  .catalog-product-final { padding: 78px 0 86px; }
  .catalog-product-hero { padding: 42px 0 76px; }
  .catalog-product-hero__grid { gap: 52px; }
  .catalog-product-cover { max-width: calc(100% - 24px); }
  .catalog-product-hero h1 { font-size: clamp(36px, 11vw, 48px); }
  .catalog-product-hero__copy { display: flex; flex-direction: column; }
  .catalog-product-facts { grid-template-columns: 1fr; }
  .catalog-product-facts div,
  .catalog-product-facts div:first-child,
  .catalog-product-facts div:last-child { border-bottom: 1px solid #ded3e7; border-right: 0; padding: 12px 0; }
  .catalog-product-facts div:last-child { border-bottom: 0; }
  .catalog-product-facts { order: 2; }
  .catalog-product-actions { order: 1; }
  .catalog-demo-hero-note { order: 2; }
  .catalog-product-preview-note { order: 3; }
  .catalog-product-facts { order: 4; }
  .catalog-product-actions .button { justify-content: center; width: 100%; }
  .catalog-product-preview-note { margin-top: 20px; }
  .catalog-product-choice__grid { grid-template-columns: 1fr; margin-top: 34px; }
  .catalog-product-choice__main { grid-row: auto; }
  .catalog-pages__hint { justify-content: flex-start; margin-top: 28px; }
  .catalog-pages__rail {
    gap: 16px;
    grid-auto-columns: calc(100vw - 40px);
    padding: 8px 20px 28px;
    scroll-padding-left: 20px;
  }
  .catalog-preview-volume__book {
    border-radius: 18px;
    display: block;
  }
  .catalog-preview-volume__book::after { display: none; }
  .catalog-preview-volume__art,
  .catalog-preview-volume__page { aspect-ratio: auto; }
  .catalog-preview-volume__art { aspect-ratio: 1; }
  .catalog-preview-volume__page { min-height: 340px; padding: 26px 24px; }
  .catalog-preview-volume__text { max-height: none; overflow: visible; }
  .catalog-preview-volume__text p { font-size: 14px; }
  .catalog-preview-volume figcaption { align-items: flex-start; display: grid; gap: 8px; }
  .catalog-preview-volume figcaption small { line-height: 1.5; text-align: left; }
  .catalog-print-proof__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-print-proof__facts li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .catalog-personalize-pending { min-height: 0; padding: 90px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-hero-book,
  .catalog-card,
  .catalog-button-primary span,
  .catalog-card__footer a span,
  .catalog-hero__story > a span { transition: none; }
}
