/* The author's black-and-gold palette, shared by both books. */
.site-main > .inner {
  --width: 70rem;
}
.site-wrapper {
  position: relative;
  isolation: isolate;
}
.holiday-background {
  --snow-gutter: max(0px, calc((100vw - 70rem) / 4));
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
  background-image:
    url("/assets/images/gold-snowflake.svg"),
    url("/assets/images/gold-snowflake.svg"),
    url("/assets/images/gold-snowflake.svg"),
    url("/assets/images/gold-snowflake.svg"),
    url("/assets/images/gold-snowflake.svg"),
    url("/assets/images/gold-snowflake.svg"),
    url("/assets/images/gold-snowflake.svg");
  background-repeat: no-repeat;
  background-size: 42px, 28px, 36px, 22px, 30px, 24px, 34px;
  background-position:
    left var(--snow-gutter) top 18%,
    right var(--snow-gutter) top 34%,
    left var(--snow-gutter) top 72%,
    right var(--snow-gutter) top 86%,
    left var(--snow-gutter) top 43%,
    right var(--snow-gutter) top 66%,
    left var(--snow-gutter) top 94%;
}
.catalog-view {
  text-align: left;
  color: #e8e3dd;
  font:
    400 max(14px, 1rem)/1.75 Inter,
    sans-serif;
}
.catalog-view *,
.catalog-view *::before,
.catalog-view *::after {
  box-sizing: border-box;
}
.catalog-view [hidden] {
  display: none !important;
}
.catalog-view p,
.catalog-view h1,
.catalog-view h2,
.catalog-view h3 {
  margin: 0;
}
.catalog-view a {
  text-decoration: none;
}
.catalog-view p + p {
  margin-top: 1rem;
}
.catalog-view .eyebrow {
  color: #c6a56c;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.7;
}
.book-hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 1.5rem 0 3.5rem;
}
.book-title {
  font:
    500 clamp(29px, 3.4vw, 48px)/1.22 Cinzel,
    Georgia,
    serif;
  color: #e6cbb3;
  margin-top: 1rem !important;
  letter-spacing: -0.025em;
}
.book-title span {
  display: block;
  font-size: 0.63em;
  margin-top: 0.35em;
  letter-spacing: 0.01em;
}
.hero-quote {
  font:
    italic 400 clamp(18px, 1.7vw, 23px)/1.5 Georgia,
    serif;
  color: #dfd1bc;
  margin-top: 1.25rem !important;
}
.book-description {
  margin-top: 1.25rem !important;
  color: #d6d1ca;
}
.genre-line {
  color: #ab9c89;
  font-size: 13px;
}
.hero-cover {
  max-width: 280px;
  justify-self: end;
  width: 100%;
  position: relative;
}
.hero-cover img,
.shop-cover img,
.empik-book img,
.forty-cover-link img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
  box-shadow: 0 16px 50px #0009;
}
.hero-cover::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid #b58b3b44;
  border-radius: 7px;
  pointer-events: none;
}
.offer-price {
  margin: 1.5rem 0 0;
}
.price-line {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.price-line strong {
  font-weight: 500;
  font-size: 1.8rem;
  color: #f0d8ac;
  white-space: nowrap;
}
.price-line del {
  color: #b0a69a;
  font-size: 0.95rem;
  white-space: nowrap;
}
.offer-note {
  font-size: max(12px, 0.85rem);
  color: #b4aa9c;
  margin-top: 0.3rem !important;
}
.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.gold-button,
.outline-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border-radius: 99px;
  font:
    500 12px/1.5 Inter,
    sans-serif;
  letter-spacing: 0.025em;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}
.catalog-view .gold-button {
  background: #e6cbb3;
  color: #282018;
  border: 1px solid #e6cbb3;
}
.catalog-view .gold-button:hover {
  background: #f2ddc7;
  border-color: #f2ddc7;
}
.catalog-view .outline-button {
  border: 1px solid #b79a6e88;
  color: #e6cbb3;
}
.catalog-view .outline-button:hover {
  background: #b58b3b18;
  border-color: #e6cbb3;
}
.catalog-view .text-link {
  color: #e6cbb3;
  display: inline-block;
  font-size: 13px;
  line-height: 1.7;
  padding-block: 0.5rem;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.newsletter-offer {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
  border: 1px solid #b58b3b55;
  border-radius: 5px;
  background: linear-gradient(120deg, #b58b3b0d, transparent);
  margin: 0 0 3.5rem;
}
.newsletter-number {
  font:
    400 65px/1 Cinzel,
    Georgia,
    serif;
  color: #c8a05b;
}
.newsletter-number span {
  font-size: 28px;
}
.newsletter-offer h2 {
  font:
    500 1.5rem/1.4 Cinzel,
    Georgia,
    serif;
  color: #e6cbb3;
  margin: 0.6rem 0 0.8rem;
}
.newsletter-offer p:not(.eyebrow) {
  color: #d6d1ca;
}
.forty-feature {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 2.5rem;
  align-items: center;
  border-top: 1px solid #b58b3b33;
  padding-top: 3rem;
}
.secondary-title {
  font:
    400 1.35rem/1.4 Cinzel,
    Georgia,
    serif;
  color: #e6cbb3;
  margin: 0.7rem 0 1rem !important;
}
.secondary-title span {
  display: inline-block;
  font-size: 2rem;
  margin-left: 0.75rem;
}
.view-heading {
  text-align: center;
  margin: 0 0 3.5rem;
}
.view-heading h1 {
  font:
    400 clamp(30px, 3.5vw, 44px)/1.3 Cinzel,
    Georgia,
    serif;
  color: #e6cbb3;
  margin: 0.6rem 0 0.8rem;
}
.view-heading > p:last-child {
  color: #b7aea1;
}
.shop-book {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 3rem;
  padding: 0 0 3rem;
}
.shop-book + .shop-book {
  border-top: 1px solid #b58b3b44;
  padding-top: 3rem;
}
.shop-details h2 {
  font:
    500 clamp(24px, 2.5vw, 32px)/1.35 Cinzel,
    Georgia,
    serif;
  color: #e6cbb3;
  margin-top: 0.5rem;
}
.shop-details h2 span {
  display: block;
  font-size: 0.72em;
}
.format-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.format-option {
  border-top: 1px solid #b58b3b55;
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.format-option h3 {
  font-size: 13px;
  color: #e6cbb3;
  font-weight: 500;
}
.format-option .price-line {
  margin-top: 1rem;
}
.format-option .offer-price {
  margin-top: 0;
}
.format-option > a {
  margin-top: 1rem;
}
.format-option .price-line strong {
  font-size: 1.65rem;
}
.release-date {
  font:
    500 1.15rem/1.6 Inter,
    sans-serif;
  color: #ddbd83;
  margin-top: 1rem !important;
}
.release-date time {
  display: block;
}
.shop-fragment {
  margin-top: 1.5rem;
}
.empik-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.empik-book {
  border-top: 1px solid #b58b3b55;
  padding-top: 2rem;
  text-align: center;
}
.empik-book img {
  width: 165px;
  height: 264px;
  object-fit: cover;
  margin: 0 auto 1.75rem;
}
.empik-book h2 {
  color: #e6cbb3;
  font:
    500 1.5rem/1.45 Cinzel,
    Georgia,
    serif;
  margin: 0.6rem 0 1rem;
}
.empik-book h2 span {
  display: block;
  font-size: 0.8em;
}
.empik-book > a {
  margin-top: 1.5rem;
}
.subscription-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 1.5rem;
}
.subscription-releases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 1.5rem;
}
.subscription-releases > p {
  margin: 0 !important;
  padding: 12px 6px;
  border-top: 1px solid #b58b3b55;
  color: #e6cbb3;
  font-size: 13px;
}
.subscription-releases strong,
.subscription-releases span {
  display: block;
}
.subscription-releases span {
  font-size: 12px;
  color: #d6d1ca;
  margin-top: 6px;
}
#darmowy-fragment-section,
#privacy-section,
#regulamin-section,
#kontakt-section,
#email-section,
#potwierdzono-section,
#wypis-section {
  max-width: 44rem;
  margin-inline: auto;
}
@media (max-width: 980px) {
  .book-hero {
    gap: 2.5rem;
  }
  .shop-book {
    grid-template-columns: 175px 1fr;
    gap: 2rem;
  }
  .format-options {
    gap: 1rem;
  }
}
@media (max-width: 736px) {
  .site-main > .inner {
    --width: 48rem;
  }
  .book-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-cover {
    grid-row: 1;
    justify-self: center;
    max-width: 210px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy .catalog-actions,
  .hero-copy .price-line {
    justify-content: center;
  }
  .shop-book {
    grid-template-columns: 145px 1fr;
    gap: 1.75rem;
  }
  .format-options {
    grid-template-columns: 1fr;
  }
  .newsletter-offer {
    padding: 2rem;
    grid-template-columns: 65px 1fr;
    gap: 1.5rem;
  }
  .newsletter-number {
    font-size: 45px;
  }
  .newsletter-number span {
    font-size: 20px;
  }
  .empik-grid {
    gap: 2rem;
  }
}
@media (max-width: 576px) {
  .shop-book {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .shop-cover {
    max-width: 175px;
    margin-inline: auto;
  }
  .shop-details > .eyebrow,
  .shop-details > h2 {
    text-align: center;
  }
  .format-option,
  .format-option > a {
    width: 100%;
  }
  .newsletter-offer {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
    padding: 1.75rem;
  }
  .forty-feature {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .forty-cover-link {
    max-width: 115px;
    margin-inline: auto;
  }
  .forty-feature .catalog-actions {
    justify-content: center;
  }
  .empik-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .empik-book {
    padding-inline: 0.5rem;
  }
}
@media (max-width: 360px) {
  .catalog-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .catalog-actions > a {
    width: 100%;
  }
}

/* White purchase links remain readable before and after visiting the shop. */
.catalog-view .gold-button,
.catalog-view .gold-button:visited,
.catalog-view .outline-button,
.catalog-view .outline-button:visited,
.catalog-view .text-link,
.catalog-view .text-link:visited {
  color: #fff;
}
.catalog-view .gold-button {
  background: #29231c;
  border-color: #d8b674;
}
.catalog-view .gold-button:hover {
  color: #fff;
  background: #463822;
  border-color: #f0d49a;
}
.catalog-view .outline-button:hover,
.catalog-view .text-link:hover {
  color: #fff;
}

/* The 15% reward is the first and strongest message on the signup page. */
.signup-reward {
  padding: 12px 24px;
  border: 1px solid #f2d39b;
  border-radius: 6px;
  background: linear-gradient(120deg, #f0d7ad, #d6b87c);
  color: #211b13;
  text-align: center;
}
.signup-reward-label {
  font:
    500 10px/1.5 Inter,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #473722;
}
.signup-reward h1 {
  margin-top: 4px;
  color: #211b13;
  line-height: 1.35;
}
.signup-reward h1 strong {
  display: block;
  font:
    500 clamp(42px, 5vw, 54px)/1.05 Cinzel,
    Georgia,
    serif;
}
.signup-reward h1 span {
  display: block;
  font:
    500 clamp(14px, 1.5vw, 18px)/1.3 Cinzel,
    Georgia,
    serif;
  margin-top: 4px;
}
.signup-reward-bonus {
  font:
    600 max(12px, 0.85rem)/1.4 Inter,
    sans-serif;
  margin-top: 6px;
  color: #302416;
}
.signup-intro {
  font:
    400 max(14px, 1rem)/1.75 Inter,
    sans-serif;
  color: #e5ded2;
  text-align: center;
}
#darmowy-fragment-section #text20 {
  margin-top: 0.75rem !important;
}

/* Keep all decoration below the full reading layer, including while scrolling. */
.site-wrapper {
  z-index: 2;
}
#darmowy-fragment-section #container11 > .wrapper > .inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#darmowy-fragment-section #container11 > .wrapper > .inner > * {
  margin: 0 !important;
}
#darmowy-fragment-section .signup-intro,
#darmowy-fragment-section #text29 {
  font-size: 13px;
  line-height: 1.6;
}
#darmowy-fragment-section #text20 {
  font-size: 12.5px;
  line-height: 1.6;
  text-indent: 0;
}

/* Brevo has its own body margins; size for the complete panel, without an inner scrollbar. */
#embed04 {
  container-type: inline-size;
}
#darmowy-fragment-section #embed04 iframe {
  height: 480px;
}
@container (min-width: 300px) {
  #darmowy-fragment-section #embed04 iframe {
    height: 450px;
  }
}
@container (min-width: 380px) {
  #darmowy-fragment-section #embed04 iframe {
    height: 420px;
  }
}
@container (min-width: 450px) {
  #darmowy-fragment-section #embed04 iframe {
    height: 400px;
  }
}

/* Keep every snowflake in a margin, rather than behind reading text. */
@media (max-width: 980px) {
  .holiday-background {
    --snow-gutter: 0px;
    background-size: 16px, 14px, 16px, 12px, 14px, 12px, 14px;
    opacity: 0.65;
  }
}
#privacy-section .text-component.style-6 a,
#regulamin-section .text-component.style-6 a {
  color: #fff;
}
#privacy-section h1,
#regulamin-section h1 {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: #e6cbb3;
}
