:root {
  --paper: #fffdf7;
  --cream: #f5f0e4;
  --ink: #221f1c;
  --muted: #7e766b;
  --line: #e7e0d1;
  --coral: #e2603c;
  --rust: #b7431f;
  --yellow: #f2c14b;
  --blue: #3a6ea5;
  --green: #527661;
  --heading: "Baloo 2", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
}

/* Logged-in, on-page editor for series landing pages. */
.series-live-editor-active { padding-bottom: 116px; }
.series-live-editor-toolbar {
  position: fixed;
  z-index: 100000;
  bottom: 18px;
  left: 50%;
  display: flex;
  width: min(1180px, calc(100% - 32px));
  min-height: 82px;
  padding: 13px 14px 13px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, rgb(36 33 31 / 98%), rgb(47 43 40 / 98%));
  box-shadow: 0 18px 54px rgb(32 27 23 / 30%), 0 2px 8px rgb(32 27 23 / 16%);
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}
.series-live-editor-copy {
  position: relative;
  display: grid;
  min-width: 260px;
  padding-left: 48px;
  gap: 1px;
}
.series-live-editor-copy::before {
  position: absolute;
  top: 50%;
  left: 0;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--coral);
  box-shadow: 0 5px 15px rgb(232 92 58 / 30%);
  content: "\270E";
  font: 800 17px/1 var(--body);
  transform: translateY(-50%);
}
.series-live-editor-toolbar strong {
  color: #fff;
  font-family: var(--heading);
  font-size: 17px;
  line-height: 1.2;
}
.series-live-editor-copy > span {
  color: rgb(255 255 255 / 64%);
  font-size: 12px;
  line-height: 1.35;
}
.series-live-editor-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.series-live-editor-actions .button {
  display: inline-flex;
  min-height: 44px;
  padding: 10px 17px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  box-shadow: none;
  font: 800 13px/1 var(--body);
  letter-spacing: 0;
  white-space: nowrap;
}
.series-live-editor-advanced {
  border-color: rgb(255 255 255 / 22%) !important;
  color: rgb(255 255 255 / 86%) !important;
  background: rgb(255 255 255 / 7%) !important;
}
.series-live-editor-advanced:hover {
  border-color: rgb(255 255 255 / 46%) !important;
  color: #fff !important;
  background: rgb(255 255 255 / 13%) !important;
}
.series-live-editor-exit {
  border-color: #fffdf7 !important;
  color: #24211f !important;
  background: #fffdf7 !important;
}
.series-live-editor-exit:hover {
  border-color: #f5e7cf !important;
  background: #f5e7cf !important;
}
.series-live-editor-status {
  display: inline-flex;
  min-height: 34px;
  padding: 7px 11px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 999px;
  color: rgb(255 255 255 / 70%);
  background: rgb(255 255 255 / 6%);
  font-size: 12px;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
}
.series-live-editor-status::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  box-shadow: 0 0 0 3px rgb(255 255 255 / 6%);
}
.series-live-editor-status.is-idle { color: rgb(255 255 255 / 62%); }
.series-live-editor-status.is-dirty { color: #ffc247; background: rgb(255 194 71 / 9%); }
.series-live-editor-status.is-saved { color: #6ee7c9; background: rgb(110 231 201 / 9%); }
.series-live-editor-status.is-error { color: #ff9d91; background: rgb(255 157 145 / 9%); }
.series-live-editor-save {
  min-width: 146px;
  color: #fff !important;
  background: var(--coral) !important;
  box-shadow: 0 7px 18px rgb(232 92 58 / 23%) !important;
}
.series-live-editor-save:hover:not(:disabled) {
  background: #d94e2e !important;
  transform: translateY(-1px);
}
.series-live-editor-save:disabled {
  cursor: default;
  color: rgb(255 255 255 / 38%) !important;
  background: #4b4643 !important;
  box-shadow: none !important;
  opacity: 1;
}
.series-live-editable {
  position: relative;
  cursor: text;
  outline: 2px dashed rgb(232 92 58 / 0%);
  outline-offset: 5px;
  transition: outline-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.series-live-editable:hover,
.series-live-editable:focus {
  border-radius: 4px;
  outline-color: #e85c3a;
  background: rgb(255 248 242 / 94%);
  box-shadow: 0 0 0 5px rgb(255 248 242 / 94%);
  color: #24211f !important;
}
.series-live-editable.has-series-live-change { outline-color: #ffc247; }
.series-live-list { border-radius: 12px; outline: 1px dashed rgb(232 92 58 / 45%); outline-offset: 6px; }
.series-live-media {
  position: relative !important;
  cursor: pointer !important;
  outline: 3px dashed rgb(232 92 58 / 74%);
  outline-offset: 4px;
}
.series-live-media::after {
  position: absolute;
  z-index: 5;
  right: 12px;
  bottom: 12px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #fff;
  background: #e85c3a;
  box-shadow: 0 5px 18px rgb(0 0 0 / 20%);
  content: "Zmień zdjęcie / film";
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}
.series-live-media:hover,
.series-live-media:focus { outline-color: #ffc247; }
.series-live-media.has-series-live-change { outline-style: solid; outline-color: #39b7a5; }
.series-live-media video { pointer-events: none; }
.page-live-editable {
  position: relative;
  cursor: text !important;
  outline: 2px dashed rgb(232 92 58 / 0%);
  outline-offset: 5px;
  transition: outline-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.page-live-editable:hover,
.page-live-editable:focus {
  border-radius: 5px;
  outline-color: #e85c3a;
  background: rgb(255 248 242 / 96%);
  box-shadow: 0 0 0 5px rgb(255 248 242 / 96%);
  color: #24211f !important;
}
.page-live-editable.has-page-live-change { outline-color: #ffc247; }
.page-live-editable[href] { cursor: text !important; }
.page-live-media {
  cursor: pointer !important;
  outline: 3px dashed rgb(232 92 58 / 66%);
  outline-offset: 4px;
  transition: outline-color .16s ease, filter .16s ease, transform .16s ease;
}
.page-live-media:hover,
.page-live-media:focus {
  outline-color: #ffc247;
  filter: saturate(1.08) brightness(.96);
}
.page-live-media.has-page-live-change { outline-style: solid; outline-color: #39b7a5; }
.page-live-rating {
  display: inline-flex;
  padding: 3px 5px;
  border-radius: 6px;
  cursor: pointer !important;
  outline: 2px dashed rgb(232 92 58 / 45%);
  outline-offset: 3px;
}
.page-live-rating:hover,
.page-live-rating:focus { outline-color: #e85c3a; background: rgb(255 248 242 / 96%); }
.page-live-rating.has-page-live-change { outline-style: solid; outline-color: #39b7a5; }
.page-live-complex-link {
  position: relative;
  cursor: pointer !important;
  outline: 2px dashed rgb(232 92 58 / 34%);
  outline-offset: 3px;
}
.page-live-complex-link::after {
  position: absolute;
  z-index: 12;
  right: 10px;
  bottom: 9px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  background: #24211f;
  box-shadow: 0 4px 14px rgb(0 0 0 / 18%);
  content: "Zmień link";
  font: 800 10px/1 var(--body);
  pointer-events: none;
}
.page-live-complex-link:hover { outline-color: #e85c3a; }
.page-live-media-control {
  position: absolute;
  z-index: 30;
  top: 22px;
  right: 22px;
  min-height: 38px;
  padding: 9px 13px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: #e85c3a;
  box-shadow: 0 8px 24px rgb(31 27 23 / 26%);
  cursor: pointer;
  font: 800 12px/1 var(--body);
}
.page-live-media-control:hover,
.page-live-media-control:focus { background: #d94e2e; transform: translateY(-1px); }
.home-hero-video-slot > .page-live-media-control { top: 14px; right: 14px; }
.page-live-rating-panel { display: grid; padding: 26px; gap: 14px; }
.page-live-rating-panel > strong { font-family: var(--heading); font-size: 24px; }
.page-live-rating-panel > p { margin: 0; color: #746d64; }
.page-live-rating-choices { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
.page-live-rating-choices button {
  display: grid;
  min-height: 62px;
  padding: 8px 5px;
  place-items: center;
  gap: 4px;
  border: 1px solid #ded5c3;
  border-radius: 12px;
  color: #e85c3a;
  background: #fff;
  cursor: pointer;
}
.page-live-rating-choices button:hover,
.page-live-rating-choices button:focus { border-color: #e85c3a; background: #fff8f2; }
.page-live-rating-choices b { font-size: 12px; letter-spacing: -2px; }
.page-live-rating-choices span { color: #746d64; font: 800 11px/1 var(--body); }
.page-live-rating-panel > .button { justify-self: end; }
.page-live-editor-active .home-hero-dots,
.page-live-editor-active [data-home-slide] { pointer-events: auto; }
.apipapi-instagram-embed { position: relative; }
.series-live-instagram-actions {
  position: absolute;
  z-index: 7;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
}
.series-live-instagram-edit,
.series-live-instagram-remove {
  padding: 8px 11px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #e85c3a;
  box-shadow: 0 5px 18px rgb(0 0 0 / 18%);
  cursor: pointer;
  font: 800 11px/1 var(--body);
}
.series-live-instagram-remove { background: #2f2c2a; }
.series-live-instagram-edit:hover,
.series-live-instagram-edit:focus,
.series-live-instagram-remove:hover,
.series-live-instagram-remove:focus { outline: 3px solid rgb(255 255 255 / 76%); transform: translateY(-1px); }
.series-live-instagram-add {
  display: grid;
  min-width: 0;
  min-height: 430px;
  padding: 30px;
  align-content: center;
  justify-items: center;
  gap: 10px;
  border: 2px dashed #e85c3a;
  border-radius: 20px;
  color: #332f2d;
  background: #fff8ee;
  text-align: center;
  cursor: pointer;
}
.series-live-instagram-add:hover,
.series-live-instagram-add:focus { border-style: solid; background: #fff1e3; box-shadow: 0 14px 36px rgb(63 45 30 / 12%); transform: translateY(-2px); }
.series-live-instagram-add > span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #e85c3a;
  font: 700 34px/1 var(--body);
}
.series-live-instagram-add > strong { font-family: var(--heading); font-size: 21px; }
.series-live-instagram-add > small { max-width: 190px; color: #746d64; font: 700 12px/1.45 var(--body); }
.series-live-instagram-pending-media {
  display: grid;
  padding: 28px;
  place-content: center;
  justify-items: center;
  gap: 9px;
  color: #fff;
  text-align: center;
  background: repeating-linear-gradient(135deg, #373432 0 14px, #413d3a 14px 28px);
}
.series-live-instagram-pending-media > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: #332f2d;
  background: #f8bd34;
  font-size: 24px;
  font-weight: 900;
}
.series-live-instagram-pending-media > strong { font-family: var(--heading); font-size: 20px; }
.series-live-instagram-pending-media > small { max-width: 210px; color: #ded9d3; line-height: 1.45; }
.series-live-editor-dialog {
  width: min(520px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 20px;
  color: #24211f;
  background: #fffdf9;
  box-shadow: 0 24px 90px rgb(0 0 0 / 28%);
}
.series-live-editor-dialog::backdrop { background: rgb(24 21 19 / 62%); }
.series-live-editor-dialog form { display: grid; padding: 26px; gap: 14px; }
.series-live-editor-dialog strong { font-family: var(--heading); font-size: 24px; }
.series-live-editor-dialog p { margin: 0; color: #746d64; }
.series-live-editor-dialog input { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid #d8cebd; border-radius: 10px; font: inherit; }
.series-live-editor-dialog form > div { display: flex; justify-content: flex-end; gap: 9px; }

@media (max-width: 900px) {
  .series-live-editor-active { padding-bottom: 178px; }
  .series-live-editor-toolbar {
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 13px;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    border-radius: 18px;
  }
  .series-live-editor-copy { min-width: 0; }
  .series-live-editor-actions { justify-content: stretch; flex-wrap: wrap; }
  .series-live-editor-actions .button { flex: 1; }
  .series-live-editor-status { flex: 1 0 100%; }
}

@media (max-width: 560px) {
  .series-live-editor-active { padding-bottom: 228px; }
  .series-live-editor-copy { padding-left: 43px; }
  .series-live-editor-copy::before { width: 32px; height: 32px; }
  .series-live-editor-toolbar strong { font-size: 15px; }
  .series-live-editor-copy > span { font-size: 11px; }
  .series-live-editor-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .series-live-editor-status { grid-column: 1 / -1; }
  .series-live-editor-actions .button { width: 100%; padding-inline: 10px; }
  .series-live-editor-save { grid-column: 1 / -1; }
  .page-live-media-control { top: 10px; right: 10px; min-height: 34px; padding: 8px 10px; font-size: 10px; }
  .page-live-rating-choices { grid-template-columns: 1fr; }
  .page-live-rating-choices button { min-height: 42px; grid-template-columns: 1fr auto; }
}

/* 2026-09-21: client-approved catalogue, series and product journey. */
.apipapi-single-product {
  display: flex;
  flex-direction: column;
}

.apipapi-single-product > .breadcrumb { order: 0; }
.apipapi-single-product > .product-layout { order: 1; }
.apipapi-single-product > .product-how-it-works { order: 2; }
.apipapi-single-product > .product-video-strip { order: 3; }
.apipapi-single-product > .series-builder { order: 4; }
.apipapi-single-product > .product-testimonials { order: 5; }
.apipapi-single-product > .product-native-reviews { order: 6; }
.apipapi-single-product > .mobile-buy-bar { order: 7; }

.apipapi-single-product .product-story {
  display: none;
}

.apipapi-gallery-main {
  padding: 0 !important;
  background: #fff !important;
  overflow: hidden;
}

.apipapi-gallery-main > img[data-gallery-main] {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
}

.product-companion-picker,
.purchase-series-discount {
  margin-top: 14px;
  border: 1px solid #ded5c3;
  border-radius: 16px;
  padding: 15px;
  background: #fffdf8;
}

.purchase-series-discount {
  display: grid;
  gap: 5px;
  color: var(--ink);
}

.purchase-series-discount strong { color: var(--rust); }
.purchase-series-discount span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.purchase-series-discount a { color: var(--rust); font-weight: 800; font-size: 13px; }

.product-companion-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 9px 0 12px;
}

.product-companion-row img {
  width: 64px;
  height: 76px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--cream);
}

.product-companion-row label { display: grid; gap: 7px; font-weight: 800; }
.product-companion-row select { width: 100%; min-width: 0; border: 1px solid #ded5c3; border-radius: 10px; padding: 9px 30px 9px 10px; background: #fff; }
.product-companion-picker .companion-add { width: 100%; min-height: 42px; font-size: 12px; }

.instagram-reels-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.apipapi-instagram-embed {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.apipapi-instagram-media {
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 20px;
  background: #2f2c2a;
  border: 1px solid rgba(51, 48, 46, .12);
}

.apipapi-instagram-media iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.apipapi-instagram-embed > a { display: flex; min-height: 38px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid rgba(51,48,46,.14); border-radius: 999px; background: #fff; color: var(--ink); font-size: 11px; font-weight: 800; line-height: 1.2; text-align: center; }
.apipapi-instagram-embed > a:hover { border-color: var(--coral); background: var(--coral); color: #fff; }

.product-card-image-stack {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.product-card-image-stack img {
  grid-area: 1 / 1;
  transition: opacity .28s ease, transform .35s ease;
}

.product-card-image-secondary { opacity: 0; }

@media (hover: hover) and (pointer: fine) {
  .product-card-shell:hover .product-card-image-stack.has-secondary-image .product-card-image-primary { opacity: 0; transform: scale(1.02); }
  .product-card-shell:hover .product-card-image-stack.has-secondary-image .product-card-image-secondary { opacity: 1; transform: scale(1.03); }
  .product-card-shell:hover .product-card-image-stack.has-single-image .product-card-image-primary { opacity: 1; transform: scale(1.04); }
}

.product-card-bottom { align-items: center; gap: 10px; }
.product-card-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.product-card-actions .product-more { min-height: 42px; padding: 0 15px; border-radius: 999px; background: transparent; border: 1.5px solid #ded5c3; color: var(--ink); font-size: 13px; }
.product-card-actions .product-card-quick-add { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; min-width: 42px; padding: 0; border-radius: 50%; background: var(--coral); color: #fff; font-size: 23px; line-height: 1; }

.series-format-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 40px;
}

.series-format-nav > a {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 134px;
  padding: 16px;
  border: 1px solid #e1d8c8;
  border-radius: 22px;
  background: #f8f0e3;
  color: var(--ink);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.series-format-nav > a:hover { transform: translateY(-3px); border-color: var(--coral); box-shadow: 0 16px 35px rgba(51,48,46,.09); }
.series-format-thumb { display: grid; place-items: center; width: 86px; height: 100px; border-radius: 14px; background: #fff; overflow: hidden; }
.series-format-thumb img { width: 100%; height: 100%; object-fit: contain; }
.series-format-nav a > span:nth-child(2) { display: grid; gap: 5px; }
.series-format-nav strong { font-family: var(--heading); font-size: 20px; }
.series-format-nav b { color: var(--rust); font-size: 15px; }
.series-format-nav small { color: var(--muted); line-height: 1.35; }
.series-format-nav i { color: var(--coral); font-size: 20px; font-style: normal; }

.series-landing-muzyczne-opowiesci .series-landing-hero-media .apipapi-media-image { object-position: 44% 46%; }
.series-landing-podswietl-i-odkryj .series-jump-nav a { background: #fbf1e2; border-color: #e6d8c2; }

.series-products-heading,
.series-format-copy {
  max-width: 760px;
}

.series-products-heading p:last-child,
.series-format-copy > p:last-child { color: var(--muted); font-size: 16px; line-height: 1.6; }

.series-format-section {
  margin: 38px 0 0;
  padding: clamp(22px, 3vw, 38px);
  border-radius: 28px;
  background: #f8f0e3;
  border: 1px solid #e4dac9;
}

.series-format-section.series-format-gram { background: #f3eadb; }
.series-showcase-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.series-showcase-grid .series-book-card { background: #fff; }

.series-book-card { position: relative; }
.series-book-actions { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.series-book-actions .series-more { flex: 1; min-height: 40px; display: grid; place-items: center; border: 1px solid #d8cebd; border-radius: 999px; color: var(--ink); font-size: 12px; font-weight: 800; }
.series-book-actions .completion-add { min-width: 42px; min-height: 40px; padding: 0 12px; border-radius: 999px; }
.series-book-actions .completion-add:has(span) { width: 42px; padding: 0; font-size: 22px; }

.series-flashlight-offer {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.7fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  margin-top: 32px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 28px;
  background: #f8f0e3;
}

.series-flashlight-media { display: grid; place-items: center; min-height: 230px; border-radius: 22px; overflow: hidden; background: radial-gradient(circle at 50% 45%, #69552f, #2f2c2a 62%); }
.series-flashlight-media img { width: 100%; height: 260px; object-fit: contain; }
.series-flashlight-offer h2 { margin: 8px 0; font: 800 clamp(28px, 4vw, 44px)/1.04 var(--heading); }
.series-flashlight-offer p:not(.eyebrow) { max-width: 62ch; color: var(--muted); line-height: 1.65; }

.series-instagram { margin-top: 48px; }

.series-completion-panel {
  margin-top: 48px;
  padding: clamp(22px, 3vw, 38px);
  border-radius: 28px;
  background: #322f2d;
  color: #fff;
}

.series-completion-panel h2 { margin: 8px 0; color: #fff; font: 800 clamp(28px, 4vw, 44px)/1.04 var(--heading); }
.series-completion-panel p:not(.eyebrow) { max-width: 70ch; color: rgba(255,255,255,.72); }
.series-completion-books { margin-top: 22px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.series-completion-books .series-book-card { padding: 10px; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.12); color: #fff; }
.series-completion-books .series-book-card h3 a,
.series-completion-books .series-book-card strong { color: #fff; }
.series-completion-books .series-more { color: #fff; border-color: rgba(255,255,255,.3); }
.series-completion-total { display: flex; gap: 18px; align-items: center; justify-content: flex-end; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); }
.series-completion-total span { color: rgba(255,255,255,.72); }
.series-completion-total strong { font: 800 28px/1 var(--heading); }

.catalog-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; width: 100%; margin: 0 0 24px; }
.catalog-quick-filters,
.catalog-sort-pills { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.catalog-toolbar a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid #ded8cf; border-radius: 999px; color: var(--ink); font-weight: 800; background: #fff; }
.catalog-toolbar a.active { color: #fff; background: var(--coral); border-color: var(--coral); }
.catalog-sort-pills > span { color: var(--muted); font-weight: 700; }

.catalog-filter-panel { padding: 22px !important; border-radius: 26px !important; background: #f8f0e3 !important; }
.catalog-filter-panel > h2 { margin: 0 0 18px; font: 800 24px/1 var(--heading); }
.catalog-checkbox-filters fieldset { margin: 0; padding: 20px 0; border: 0; border-top: 1px solid #ded5c3; }
.catalog-checkbox-filters legend { margin-bottom: 14px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.catalog-checkbox-filters fieldset label,
.catalog-stock-filter { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 9px; align-items: center; margin: 11px 0; cursor: pointer; }
.catalog-checkbox-filters input[type="checkbox"] { width: 20px; height: 20px; margin: 0; accent-color: var(--coral); }
.catalog-checkbox-filters small { color: var(--muted); }
.catalog-filter-actions { display: grid; gap: 10px; margin-top: 18px; text-align: center; }
.catalog-filter-actions > a { color: var(--muted); font-weight: 700; }

@media (max-width: 1080px) {
  .series-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .series-completion-books { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .instagram-reels-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .series-format-nav { grid-template-columns: 1fr; }
  .series-format-nav > a { min-height: 112px; grid-template-columns: 72px minmax(0, 1fr) auto; }
  .series-format-thumb { width: 72px; height: 84px; }
  .series-showcase-grid { grid-template-columns: 1fr 1fr; }
  .series-completion-books { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .series-completion-books .series-book-card { flex: 0 0 176px; scroll-snap-align: start; }
  .series-completion-total { align-items: stretch; flex-direction: column; }
  .series-flashlight-offer { grid-template-columns: 1fr; }
  .series-flashlight-media { min-height: 190px; }
  .instagram-reels-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .instagram-reels-grid .apipapi-instagram-embed,
  .instagram-reels-grid .series-live-instagram-add { flex: 0 0 min(78vw, 300px); scroll-snap-align: start; }
  .catalog-toolbar { flex-direction: column; }
  .catalog-quick-filters,
  .catalog-sort-pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .catalog-toolbar a { white-space: nowrap; }
  .product-card-actions .product-more { padding-inline: 11px; }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--heading);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
h1 {
  font-size: 52px;
}
h2 {
  font-size: 38px;
}
h3 {
  font-size: 23px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
button {
  color: inherit;
}
a,
button {
  touch-action: manipulation;
}
button {
  border: 0;
}
::selection {
  background: #f5d579;
}
input,
select,
textarea {
  min-height: 48px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--ink);
  width: 100%;
}
input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  min-height: 18px;
  height: 18px;
  accent-color: var(--coral);
  flex: none;
}
input[type="search"]::-webkit-search-cancel-button {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1280px, calc(100% - 80px));
  margin-inline: auto;
}
.section {
  padding-block: 62px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}
.muted {
  color: var(--muted);
}
.terracotta {
  color: var(--rust);
}
.yellow {
  color: var(--yellow);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  background: var(--yellow);
  padding: 12px;
  z-index: 999;
}
.skip-link:focus {
  top: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: var(--coral);
  color: #fff;
  border: 1px solid var(--coral);
  border-radius: 12px;
  padding: 16px 25px;
  font: 800 17px/1.25 var(--heading);
  min-height: 54px;
  transition:
    background 0.18s,
    transform 0.18s;
  white-space: normal;
  text-align: center;
}
.button:hover {
  background: var(--rust);
  border-color: var(--rust);
  transform: translateY(-2px);
}
.button-outline {
  background: transparent;
  color: var(--ink);
  border-color: #c9bdab;
}
.button-outline:hover {
  background: var(--cream);
  border-color: var(--ink);
}
.button-outline.light {
  color: var(--paper);
  border-color: #77716a;
}
.button-outline.light:hover {
  background: #ffffff12;
  border-color: var(--paper);
}
.button.small {
  padding: 10px 18px;
  min-height: 44px;
  font-size: 15px;
}
.button.full {
  width: 100%;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 14px;
  min-height: 44px;
}
.text-link:hover {
  color: var(--rust);
}
.text-link span {
  font-size: 22px;
}
.icon-button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 50%;
  font-size: 25px;
  flex: none;
}
.icon-button:hover {
  background: var(--cream);
}
.announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.025em;
  min-height: 34px;
}
.announcement .diamond {
  font-size: 6px;
  color: #81786b;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  min-height: 91px;
}
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.logo > img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  flex: none;
}
.desktop-nav {
  display: block;
  flex: 1;
  min-width: 0;
  align-self: stretch;
  font-size: 16px;
  font-weight: 650;
}
.desktop-nav .desktop-menu {
  display: flex;
  height: 100%;
  align-items: stretch;
  gap: clamp(14px, 1.8vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.desktop-menu > .menu-item {
  position: relative;
  display: flex;
  align-items: stretch;
}
.desktop-menu > .menu-item > a {
  display: flex;
  min-height: 100%;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.desktop-menu a:hover,
.desktop-menu a:focus-visible,
.desktop-menu .current-menu-item > a,
.desktop-menu .current-menu-ancestor > a {
  color: var(--rust);
}
.desktop-menu .menu-item-has-children > a::after {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  content: "";
  opacity: .62;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease, opacity .2s ease;
}
.desktop-menu .menu-item-has-children:hover > a::after,
.desktop-menu .menu-item-has-children:focus-within > a::after {
  opacity: 1;
  transform: rotate(45deg) translateY(0);
}
.desktop-menu .sub-menu {
  position: absolute;
  z-index: 45;
  top: calc(100% - 1px);
  left: -18px;
  width: max-content;
  min-width: 235px;
  max-width: min(310px, 90vw);
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 0 0 16px 16px;
  background: #fffefa;
  box-shadow: 0 18px 45px #221f1c1a;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-7px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.desktop-menu li:hover > .sub-menu,
.desktop-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.desktop-menu .sub-menu li {
  position: relative;
}
.desktop-menu .sub-menu a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 11px;
  border-radius: 9px;
  line-height: 1.25;
}
.desktop-menu .sub-menu a:hover,
.desktop-menu .sub-menu a:focus-visible {
  background: var(--cream);
}
.desktop-menu .sub-menu .sub-menu {
  top: -11px;
  left: calc(100% - 4px);
  border-radius: 14px;
}
.desktop-menu > .menu-item:nth-last-child(-n + 2) > .sub-menu {
  right: -18px;
  left: auto;
}
.desktop-menu > .menu-item:nth-last-child(-n + 2) .sub-menu .sub-menu {
  right: calc(100% - 4px);
  left: auto;
}
.desktop-menu .sub-menu .menu-item-has-children > a::after {
  transform: rotate(-45deg);
}
.desktop-menu .sub-menu .menu-item-has-children:hover > a::after,
.desktop-menu .sub-menu .menu-item-has-children:focus-within > a::after {
  transform: rotate(-45deg) translateY(1px);
}
.desktop-nav > a,
.nav-item > a {
  min-height: 100%;
  display: flex;
  gap: 9px;
  align-items: center;
}
.desktop-nav > a:hover,
.nav-item > a:hover {
  color: var(--rust);
}
.nav-item {
  position: relative;
  display: flex;
  align-self: stretch;
  align-items: center;
}
.nav-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.62;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-item:hover .nav-chevron,
.nav-item:focus-within .nav-chevron {
  transform: rotate(45deg) translateY(0);
  opacity: 1;
}
.nav-dropdown {
  position: absolute;
  z-index: 40;
  top: calc(100% - 1px);
  left: -22px;
  width: 280px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 0 0 16px 16px;
  background: #fffefa;
  box-shadow: 0 18px 45px #221f1c1a;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-7px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-series {
  left: -115px;
  width: 610px;
}
.nav-dropdown-kind {
  left: -175px;
  width: 650px;
}
.nav-dropdown-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 0 3px 13px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.nav-dropdown-head strong {
  font: 800 21px/1.2 var(--heading);
}
.nav-dropdown-head > a {
  color: var(--rust);
  font-size: 12px;
  font-weight: 700;
}
.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 12px;
}
.nav-dropdown-grid > a,
.nav-dropdown-age > a {
  display: flex;
  min-height: 48px;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  padding: 7px 9px;
  border-radius: 9px;
  line-height: 1.25;
}
.nav-dropdown-grid > a:hover,
.nav-dropdown-grid > a:focus-visible,
.nav-dropdown-age > a:hover,
.nav-dropdown-age > a:focus-visible {
  background: var(--cream);
  color: var(--rust);
}
.nav-dropdown-grid span,
.nav-dropdown-age strong {
  font-size: 14px;
  font-weight: 700;
}
.nav-dropdown small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}
.nav-dropdown-age > a {
  min-height: 59px;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.search-icon {
  width: 17px;
  height: 17px;
  border: 1.8px solid var(--ink);
  border-radius: 50%;
  position: relative;
}
.search-icon:after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  transform: rotate(45deg);
  background: var(--ink);
  right: -5px;
  bottom: -3px;
}
.bag-icon {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  position: relative;
  margin-top: 3px;
}
.bag-icon:before {
  content: "";
  width: 6px;
  height: 6px;
  position: absolute;
  left: 3.5px;
  top: -6px;
  border: 1.5px solid var(--ink);
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}
.cart-link {
  display: flex;
  gap: 9px;
  align-items: center;
  background: var(--yellow);
  padding: 11px 20px;
  min-height: 44px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
}
.cart-link b {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff8da;
  font-size: 11px;
}
.menu-toggle {
  display: none;
}
.header-search {
  display: flex;
  gap: 12px;
  padding-block: 0 20px;
}
.mobile-nav {
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  padding: 10px 24px 20px;
}
.mobile-nav[hidden] {
  display: none;
}
.mobile-menu,
.mobile-menu .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mobile-menu > .menu-item,
.mobile-menu .sub-menu > .menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
.mobile-menu .menu-item > a {
  min-width: 0;
  padding: 11px 10px;
  font-weight: 600;
  font-size: 14px;
}
.mobile-menu .current-menu-item > a,
.mobile-menu .current-menu-ancestor > a {
  color: var(--rust);
}
.mobile-menu .sub-menu {
  grid-column: 1 / -1;
  margin: 0 0 5px 10px;
  padding-left: 11px;
  border-left: 1px solid var(--line);
}
.mobile-menu .sub-menu .menu-item > a {
  min-height: 38px;
  padding-block: 7px;
  color: var(--muted);
  font-size: 13px;
}
.mobile-menu .submenu-toggle {
  display: grid;
  width: 38px;
  height: 38px;
  margin-right: 2px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fffefa;
  color: var(--ink);
}
.mobile-menu .submenu-toggle > span {
  width: 8px;
  height: 8px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform .2s ease;
}
.mobile-menu .submenu-toggle[aria-expanded="true"] > span {
  transform: rotate(225deg) translate(-1px, -1px);
}
.apipapi-js .mobile-menu .sub-menu[hidden] {
  display: none;
}
.hero {
  background: #292622;
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  min-height: 490px;
  align-items: center;
  gap: 24px;
  position: relative;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 78% 50%, #9e802d50, transparent 45%);
}
.hero-copy {
  padding-block: 48px;
  z-index: 2;
}
.hero .eyebrow {
  letter-spacing: 0.17em;
  font-size: 10px;
}
.hero .eyebrow > span {
  font-size: 19px;
  margin-right: 5px;
  vertical-align: middle;
}
.hero h1 {
  font-size: clamp(40px, 4.3vw, 62px);
  line-height: 1.06;
  margin: 17px 0 19px;
  letter-spacing: -0.04em;
}
.hero h1 > span {
  color: var(--yellow);
}
.hero-copy > p {
  color: #c9c2b8;
  max-width: 450px;
  font-size: 16px;
  line-height: 1.75;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  margin-top: 29px;
  flex-wrap: wrap;
}
.hero-buttons .button {
  font-size: 15px;
  padding: 15px 22px;
}
.hero-details {
  display: flex;
  gap: 23px;
  margin-top: 28px;
  color: #bbb5aa;
  font-size: 11px;
}
.hero-visual {
  height: 410px;
  position: relative;
  display: block;
  isolation: isolate;
}
.hero-book {
  position: absolute;
  padding: 10px;
  background: #f4efdb;
  border-radius: 7px;
  box-shadow: 0 28px 45px #08050080;
  transition: transform 0.4s;
}
.hero-book img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.back-book {
  width: 242px;
  height: 270px;
  left: 45%;
  top: 30px;
  transform: rotate(12deg);
}
.front-book {
  width: 243px;
  height: 274px;
  left: 8%;
  top: 75px;
  transform: rotate(-12deg);
}
.hero-visual:hover .front-book {
  transform: rotate(-8deg) translateY(-5px);
}
.hero-sticker {
  position: absolute;
  right: 0;
  bottom: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 125px;
  height: 125px;
  text-align: center;
  border-radius: 50%;
  transform: rotate(10deg);
  background: var(--yellow);
  color: var(--ink);
  font: 600 14px/1.4 var(--heading);
  box-shadow: 0 3px 0 #be8d2c;
}
.hero-sticker strong {
  font-size: 16px;
}
.hero-sticker span {
  font-size: 23px;
  line-height: 1.1;
}
.hero-spark {
  color: var(--yellow);
  position: absolute;
  font-size: 39px;
}
.spark-one {
  top: 0;
  left: 14%;
}
.spark-two {
  bottom: 20px;
  left: 38%;
  font-size: 31px;
}
.hero-caption {
  position: absolute;
  bottom: 8px;
  right: 10%;
  font: 600 12px var(--body);
  color: #cdc2a7;
  letter-spacing: 0.04em;
}
.hero-bottom-line {
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--yellow) 20%,
    var(--blue) 20%,
    var(--blue) 36%,
    var(--coral) 36%,
    var(--coral) 52%,
    #7a4a14 52%,
    #7a4a14 68%,
    #5d7f6a 68%,
    #5d7f6a 84%,
    #8a5a8f 84%
  );
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 26px;
}
.section-heading h2 {
  margin-top: 7px;
}
.section-heading .text-link {
  margin-bottom: 3px;
}
.series-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.series-card {
  padding: 10px 10px 17px;
  border: 1px solid var(--line);
  border-radius: 17px;
  text-align: center;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.series-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px #221f1c0b;
}
.series-art {
  background: var(--series-pale);
  border-radius: 11px;
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.series-art img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: rotate(-7deg);
  filter: drop-shadow(3px 7px 3px #221f1c18);
  transition: transform 0.25s;
}
.series-card:hover img {
  transform: rotate(0) scale(1.04);
}
.series-symbol {
  position: absolute;
  color: var(--series-color);
  font: 800 70px var(--heading);
  opacity: 0.35;
  right: -6px;
  top: -8px;
}
.series-card h3 {
  font: 750 13px/1.3 var(--body);
  letter-spacing: -0.015em;
  margin-top: 15px;
}
.series-card > span {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 5px;
}
.circle-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 17px;
}
.series-art .circle-arrow {
  position: absolute;
  right: 6px;
  bottom: 6px;
  opacity: 0;
  transition: opacity 0.2s;
}
.series-card:hover .circle-arrow {
  opacity: 1;
}
.age-section {
  display: grid;
  grid-template-columns: 1.08fr repeat(4, minmax(0, 1fr));
  gap: 17px;
  align-items: stretch;
  padding-bottom: 25px;
}
.age-intro {
  align-self: center;
}
.age-intro .eyebrow {
  font-size: 9px;
}
.age-intro h2 {
  font-size: 29px;
  margin-top: 10px;
}
.age-card {
  position: relative;
  background: var(--cream);
  border-radius: 16px;
  padding: 22px 24px;
  transition: background 0.2s;
}
.age-card:hover {
  background: #f7e9c3;
}
.age-number {
  font: 800 34px/1.2 var(--heading);
}
.age-section .age-number {
  font-size: 27px;
}
.age-number small {
  font-size: 20px;
  font-weight: 600;
}
.age-card p {
  font-size: 12px;
  color: var(--muted);
  max-width: 130px;
  margin-top: 7px;
}
.age-card .circle-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background: transparent;
}
.set-banner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 65px;
  align-items: center;
  border: 1px solid #e7dbc0;
  background: #f6edda;
  border-radius: 23px;
  padding: 37px 65px 39px;
  position: relative;
  overflow: hidden;
}
.set-banner-art {
  height: 280px;
  display: grid;
  place-items: center;
}
.set-banner-art img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: rotate(-4deg);
}
.set-banner h2 {
  font-size: 38px;
  margin-top: 12px;
}
.set-banner p:not(.eyebrow) {
  max-width: 390px;
  color: #736654;
  font-size: 14px;
  margin: 14px 0 23px;
}
.set-decoration {
  position: absolute;
  font-size: 100px;
  color: #dfbc75;
  right: -9px;
  top: 0;
  line-height: 1;
}
.values-strip {
  border-block: 1px solid var(--line);
  padding: 35px 0;
  background: #f9f6ee;
}
.values-strip > .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 30px;
}
.values-strip span {
  font-size: 29px;
  color: var(--coral);
}
.values-strip h3 {
  font-size: 20px;
  margin: 6px 0;
}
.values-strip p {
  font-size: 12px;
  color: var(--muted);
}
.footer {
  background: var(--paper);
  padding-top: 55px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.35fr;
  gap: 40px;
  padding-bottom: 45px;
}
.footer .logo {
  margin-bottom: 21px;
}
.footer .logo > img {
  width: 84px;
  height: 84px;
}
.footer p {
  font-size: 14px;
  color: #72695e;
  line-height: 1.7;
}
.footer-note {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 18px;
}
.footer h3 {
  font: 700 14px var(--body);
  margin-bottom: 15px;
}
.footer-grid > div > a:not(.logo) {
  display: block;
  font-size: 12px;
  color: #756d62;
  margin: 8px 0;
  min-height: 28px;
}
.footer-menu,
.footer-menu .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-menu a {
  display: block;
  min-height: 28px;
  margin: 8px 0;
  color: #756d62;
  font-size: 12px;
}
.footer-menu .sub-menu {
  margin-left: 12px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.footer-grid a:hover {
  color: var(--rust);
}
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-block: 19px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom a:hover {
  color: var(--rust);
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--paper);
  border: 1px solid #ffffff20;
  z-index: 100;
  border-radius: 14px;
  padding: 14px 23px;
  box-shadow: 0 10px 30px #0003;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  max-width: calc(100% - 32px);
  font-size: 14px;
  text-align: center;
}
.toast.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.toast a {
  color: var(--yellow);
  font-weight: 700;
  margin-left: 12px;
  text-decoration: underline;
}
.image-dialog {
  border: 0;
  border-radius: 18px;
  padding: 35px;
  background: var(--paper);
  max-width: min(900px, 94vw);
}
.image-dialog::backdrop {
  background: #221f1ccc;
}
.image-dialog img {
  max-height: 80vh;
  width: auto;
  margin: auto;
}
.close-dialog {
  position: absolute;
  right: 5px;
  top: 5px;
}
.notice {
  padding: 15px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  font-size: 13px;
  line-height: 1.6;
}
.badge {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 30px;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  font-weight: 800;
}
.badge.coral {
  background: var(--coral);
  color: white;
}
.badge.blue {
  background: var(--blue);
  color: white;
}
.badge.yellow {
  background: var(--yellow);
  color: var(--ink);
}
@media (min-width: 1500px) {
  .hero-inner {
    min-height: 530px;
  }
  .hero-visual {
    transform: scale(1.08);
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 48px);
  }
  .header-inner {
    gap: 30px;
  }
  .desktop-nav {
    gap: 17px;
    font-size: 15px;
  }
  .logo > img {
    width: 62px;
    height: 62px;
  }
  .nav-dropdown-series {
    left: -105px;
    width: 550px;
  }
  .nav-dropdown-kind {
    left: -215px;
    width: 570px;
  }
  .header-actions {
    gap: 9px;
  }
  .hero-inner {
    min-height: 465px;
  }
  .hero h1 {
    font-size: 50px;
  }
  .hero-buttons {
    gap: 9px;
  }
  .hero-buttons .button {
    font-size: 14px;
    padding-inline: 16px;
  }
  .back-book {
    width: 200px;
    height: 230px;
    left: 42%;
    top: 55px;
  }
  .front-book {
    width: 205px;
    height: 235px;
    left: 4%;
    top: 95px;
  }
  .hero-sticker {
    width: 100px;
    height: 100px;
    bottom: 58px;
    right: 0;
    font-size: 12px;
  }
  .hero-sticker strong {
    font-size: 13px;
  }
  .series-grid {
    gap: 10px;
  }
  .series-card {
    padding: 7px 7px 14px;
  }
  .series-card h3 {
    font-size: 12px;
  }
  .age-section {
    gap: 12px;
  }
  .age-card {
    padding: 18px;
  }
  .age-intro h2 {
    font-size: 25px;
  }
  .age-card p {
    max-width: 110px;
    font-size: 11px;
  }
  .age-card .circle-arrow {
    right: 12px;
    bottom: 15px;
  }
  .set-banner {
    gap: 35px;
    padding: 35px;
  }
  .set-banner h2 {
    font-size: 34px;
  }
}
@media (max-width: 1050px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
}
@media (max-width: 800px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .header-inner {
    min-height: 77px;
  }
  .logo > img {
    width: 58px;
    height: 58px;
  }
  .header-actions {
    gap: 10px;
  }
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    min-height: 425px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero-copy > p {
    font-size: 14px;
  }
  .hero-details {
    gap: 10px;
    flex-wrap: wrap;
    font-size: 10px;
    margin-top: 22px;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .hero-visual {
    height: 350px;
  }
  .front-book {
    width: 175px;
    height: 190px;
    top: 95px;
    left: 2%;
  }
  .back-book {
    width: 160px;
    height: 190px;
    top: 55px;
    left: 38%;
  }
  .hero-sticker {
    width: 85px;
    height: 85px;
    bottom: 25px;
    font-size: 11px;
  }
  .hero-sticker strong {
    font-size: 11px;
  }
  .hero-caption {
    display: none;
  }
  .spark-one {
    top: 35px;
  }
  .hero-buttons .button {
    font-size: 13px;
    min-height: 46px;
    padding: 12px 17px;
  }
  .series-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  .series-card h3 {
    font-size: 14px;
  }
  .series-art {
    aspect-ratio: 1.25;
  }
  .series-art img {
    width: 80%;
    height: 80%;
    max-height: 145px;
  }
  .section {
    padding-block: 42px;
  }
  .section-heading h2 {
    font-size: 32px;
  }
  .age-section {
    grid-template-columns: repeat(2, 1fr);
  }
  .age-intro {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }
  .age-intro h2 {
    margin: 0;
    font-size: 26px;
  }
  .age-intro br {
    display: none;
  }
  .age-intro .eyebrow {
    max-width: 130px;
  }
  .set-banner {
    padding: 25px;
    gap: 25px;
  }
  .set-banner h2 {
    font-size: 30px;
  }
  .set-banner-art {
    height: 225px;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-wrap: wrap;
  }
}
@media (max-width: 560px) {
  .container {
    width: calc(100% - 36px);
  }
  .announcement {
    min-height: 31px;
    font-size: 10px;
    gap: 13px;
  }
  .announcement-extra,
  .announcement .diamond:nth-of-type(4) {
    display: none;
  }
  .header-inner {
    min-height: 73px;
    gap: 10px;
  }
  .logo > img {
    width: 52px;
    height: 52px;
  }
  .header-actions {
    gap: 4px;
  }
  .cart-link {
    padding: 10px 12px;
    gap: 7px;
    font-size: 12px;
  }
  .cart-link .bag-icon {
    display: none;
  }
  .search-toggle {
    width: 34px;
  }
  .menu-toggle {
    width: 34px;
    font-size: 22px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }
  .hero-copy {
    padding: 35px 2px 0;
  }
  .hero h1 {
    font-size: 46px;
    margin: 13px 0 16px;
  }
  .hero-copy > p {
    font-size: 14px;
    max-width: 340px;
    line-height: 1.65;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .hero-buttons {
    margin-top: 23px;
    gap: 10px;
  }
  .hero-buttons .button {
    padding: 14px 16px;
    min-height: 48px;
    font-size: 14px;
  }
  .hero-buttons .button-outline {
    font-size: 12px;
  }
  .hero-details {
    font-size: 10px;
    margin-top: 18px;
    gap: 20px;
  }
  .hero-visual {
    height: 287px;
    width: min(360px, 100%);
    margin: auto;
  }
  .front-book {
    width: 162px;
    height: 182px;
    top: 45px;
    left: 11%;
  }
  .back-book {
    width: 160px;
    height: 185px;
    top: 20px;
    left: 47%;
  }
  .hero-sticker {
    width: 87px;
    height: 87px;
    right: 2px;
    bottom: 35px;
  }
  .spark-one {
    top: 10px;
    font-size: 29px;
    left: 11%;
  }
  .spark-two {
    bottom: 13px;
    left: 45%;
    font-size: 25px;
  }
  .section {
    padding-block: 35px;
  }
  .section-heading {
    align-items: start;
    margin-bottom: 21px;
    gap: 10px;
  }
  .section-heading h2 {
    font-size: 29px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .section-heading .text-link {
    font-size: 11px;
    gap: 7px;
    margin-top: 21px;
    white-space: nowrap;
  }
  .section-heading .text-link span {
    font-size: 19px;
  }
  .series-grid {
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
  }
  .series-card {
    padding: 8px 8px 14px;
  }
  .series-art {
    aspect-ratio: 1.2;
  }
  .series-art img {
    max-height: 130px;
  }
  .series-card h3 {
    font-size: 13px;
    margin-top: 11px;
  }
  .series-card > span {
    font-size: 11px;
  }
  .series-art .circle-arrow {
    opacity: 1;
    width: 24px;
    height: 24px;
    font-size: 14px;
  }
  .age-section {
    gap: 9px;
  }
  .age-intro {
    display: block;
    margin-bottom: 6px;
  }
  .age-intro .eyebrow {
    max-width: none;
  }
  .age-intro h2 {
    font-size: 29px;
    margin-top: 7px;
  }
  .age-card {
    padding: 15px 12px 45px;
    border-radius: 12px;
  }
  .age-number {
    font-size: 25px;
    display: block;
    line-height: 1;
  }
  .age-number small {
    font-size: 12px;
    display: block;
    margin-top: 5px;
  }
  .age-card p {
    font-size: 10px;
    line-height: 1.5;
    margin-top: 12px;
  }
  .age-card .circle-arrow {
    bottom: 11px;
    right: 11px;
    width: 24px;
    height: 24px;
    font-size: 14px;
  }
  .set-banner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 23px;
  }
  .set-banner-art {
    height: 190px;
  }
  .set-banner h2 {
    font-size: 32px;
  }
  .set-banner p:not(.eyebrow) {
    font-size: 13px;
  }
  .set-banner .button {
    font-size: 15px;
  }
  .set-decoration {
    font-size: 75px;
  }
  .values-strip {
    padding: 25px 0;
  }
  .values-strip > .container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .values-strip h3 {
    font-size: 21px;
  }
  .values-strip p {
    font-size: 12px;
  }
  .values-strip span {
    font-size: 26px;
  }
  .footer {
    padding-top: 35px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
    padding-bottom: 25px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-grid > div > a:not(.logo) {
    min-height: 30px;
    font-size: 12px;
  }
  .footer h3 {
    font-size: 13px;
  }
  .footer-bottom {
    font-size: 11px;
    gap: 10px;
  }
  .toast {
    font-size: 12px;
    padding: 12px 16px;
    bottom: 16px;
    min-width: 280px;
  }
  .header-search {
    gap: 8px;
  }
  .header-search input {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

/* Home page based on the client-supplied visual direction. */
.announcement {
  min-height: 36px;
  background: #48b8a8;
  color: #1f2b29;
  font-size: 12px;
  font-weight: 600;
}
.announcement .diamond { color: #fbf4ea; }
.home-v2 { background: #fbf4ea; }
.home-hero {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: #fbf4ea;
}
.home-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.home-hero-slide.active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.home-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-hero-slide.light .home-hero-bg { object-position: center; }
.home-hero-slide.photo .home-hero-bg { object-position: center 48%; }
.home-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(28, 26, 24, 0.9), rgba(28, 26, 24, 0.63) 48%, rgba(28, 26, 24, 0.12) 82%);
}
.home-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.92fr);
  align-items: center;
  gap: 30px;
  height: 100%;
}
.home-hero-copy {
  max-width: 600px;
  padding-block: 40px;
}
.home-hero-copy h1,
.home-hero-copy h2 {
  margin-top: 14px;
  font-size: clamp(48px, 4.3vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.home-hero-slide.photo .home-hero-copy { color: #fffdf9; }
.home-hero-copy > p:not(.eyebrow) {
  max-width: 550px;
  margin-top: 18px;
  color: #6b6360;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
}
.home-hero-slide.photo .home-hero-copy > p:not(.eyebrow) { color: #eee9e2; }
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.home-hero-photos {
  position: relative;
  height: 500px;
}
.home-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 8px solid #fffdf9;
  border-radius: 24px;
  background: white;
  box-shadow: 0 24px 55px #3a332b38;
}
.home-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-photo.back {
  top: 26px;
  right: 5%;
  width: 52%;
  height: 74%;
  transform: rotate(7deg);
}
.home-photo.front {
  left: 1%;
  bottom: 22px;
  width: 58%;
  height: 77%;
  transform: rotate(-5deg);
}
.home-hero-dots {
  position: absolute;
  z-index: 4;
  left: max(40px, calc((100vw - 1280px) / 2));
  bottom: 28px;
  display: flex;
  gap: 9px;
}
.home-hero-dots button {
  width: 72px;
  height: 18px;
  padding: 7px 0;
  background: transparent;
}
.home-hero-dots span {
  display: block;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #68605a73;
}
.home-hero-dots button[aria-current] span { background: #e8502a; }
.home-section { padding-block: 74px 0; }
.home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
.home-section-heading > div { max-width: 690px; }
.home-section-heading h2 {
  margin-top: 10px;
  font-size: 42px;
}
.home-section-heading > div > p:not(.eyebrow) {
  margin-top: 10px;
  color: #7d736f;
  font-size: 16px;
  line-height: 1.6;
}
.home-series-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}
.home-series-card {
  overflow: hidden;
  border: 1px solid #ece4d8;
  border-radius: 18px;
  background: #fffdf9;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.home-series-card:hover {
  transform: translateY(-4px);
  border-color: #e8502a;
  box-shadow: 0 14px 30px #4f382514;
}
.home-series-image {
  position: relative;
  display: grid;
  /* 30% taller than the previous 3:2 media window. */
  aspect-ratio: 15 / 13;
  place-items: center;
  overflow: hidden;
  background: var(--card-pale);
}
.home-series-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.home-series-card:nth-child(n + 3) .home-series-image > img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.home-series-image > span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #e8502a;
  color: #fffdf9;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}
.home-series-copy {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  padding: 17px 17px 19px;
}
.home-series-copy h3 { font-size: 21px; }
.home-series-copy p {
  margin-top: 8px;
  color: #7d736f;
  font-size: 13px;
  line-height: 1.5;
}
.home-series-copy > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}
.home-series-copy strong { font: 800 18px var(--heading); }
.home-series-copy span {
  display: inline-block;
  color: #c23f1c;
  font-size: 12px;
  font-weight: 700;
  transition: transform .25s ease;
}
.home-quick { padding-top: 68px; }
.home-section-heading.compact h2 { font-size: 34px; }
.home-quick-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.home-quick-card {
  position: relative;
  display: flex;
  min-height: 305px;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  border-radius: 17px;
  color: #fffdf9;
  background: #48b8a8;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
}
.home-quick-card:hover { transform: translateY(-4px); }
.home-quick-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .35s ease;
}
.home-quick-card:not(:nth-child(2)) > img {
  padding: 22px;
  object-fit: contain;
  background: inherit;
  mix-blend-mode: multiply;
}
.home-quick-card.dark > img {
  padding: 0;
  object-fit: cover;
  opacity: 0.55;
}
.home-quick-card.gold { background: #f8b838; }
.home-quick-card.coral { background: #c23f1c; }
.home-quick-card.mint { background: #9fdcd4; }
.home-quick-card.dark { background: #33302e; }
.home-quick-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 15%, #25211e47 45%, #25211ef2 100%);
  transition: opacity .35s ease;
}
.home-quick-card > div {
  position: relative;
  z-index: 1;
  padding: 22px;
}
.home-quick-card small {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f8b838;
  color: #33302e;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.home-quick-card h3 { font-size: 29px; }
.home-quick-card p {
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.45;
  opacity: 0.9;
}
.home-quick-card b {
  display: inline-block;
  margin-top: 15px;
  color: #f8e6b5;
  font-size: 13px;
  transition: transform .25s ease, color .25s ease;
}
.home-ebooks {
  margin-top: 74px;
  padding-block: 70px;
  border-block: 1px solid #ece4d8;
  background: #fffdf9;
}
.home-ebooks-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 70px;
}
.home-ebooks h2 {
  margin-top: 10px;
  font-size: 40px;
}
.home-ebooks-layout > div:first-child > p:not(.eyebrow) {
  max-width: 610px;
  margin-top: 13px;
  color: #7d736f;
  font-size: 16px;
  line-height: 1.65;
}
.home-ebooks ul {
  display: grid;
  gap: 11px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.home-ebooks li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 600;
}
.home-ebooks li span {
  display: grid;
  width: 25px;
  height: 25px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #f8e6b5;
  font-size: 12px;
  font-weight: 800;
}
.home-ebooks-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}
.home-ebooks-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.home-ebooks-cards article {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  justify-content: end;
  padding: 22px;
  border-radius: 16px;
  background: #9fdcd4;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
}
.home-ebooks-cards article:nth-child(2) { background: #f9c9a8; }
.home-ebooks-cards article:nth-child(3) { background: #48b8a8; }
.home-ebooks-cards article > span {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: auto;
  border-radius: 13px;
  background: #fffdf980;
  font: 800 18px var(--heading);
}
.home-ebooks-cards strong {
  font: 800 20px/1.15 var(--heading);
}
.home-ebooks-cards small {
  margin-top: 6px;
  color: #4e4844;
  font-size: 12px;
  font-weight: 700;
}
.home-reading-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.home-reading-grid > a {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 18px;
  background: #33302e;
  box-shadow: 0 10px 25px transparent;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
}
.home-reading-grid > a > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.home-reading-grid > a:hover > img { transform: scale(1.035); }
.home-reading-grid > a > div {
  position: absolute;
  inset: auto 0 0;
  padding: 75px 24px 24px;
  background: linear-gradient(transparent, #25211ee8);
  color: white;
}
.home-reading-grid .eyebrow { color: #f8b838; }
.home-reading-grid h3 {
  margin-top: 7px;
  font-size: 30px;
}
.home-reading-grid a span {
  display: inline-block;
  margin-top: 13px;
  color: #f8e6b5;
  font-size: 13px;
  font-weight: 700;
  transition: transform .25s ease;
}
.home-reading-grid .product-reading { background: #f8e6b5; }
.home-reading-grid .product-reading > img {
  padding: 34px 55px 100px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.home-final-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 18px;
  padding-block: 70px;
}
.home-final-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  padding: 45px;
  border-radius: 20px;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
}
.home-final-card.dark {
  background: #33302e;
  color: #fffdf9;
}
.home-final-card.teal {
  background: #9fdcd4;
  color: #33302e;
}
.home-final-card h2 {
  max-width: 650px;
  margin-top: 10px;
  font-size: 36px;
}
.home-final-card p:not(.eyebrow) {
  max-width: 590px;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.82;
}
.home-final-card .button { margin-top: 23px; }

@media (hover: hover) and (pointer: fine) {
  .home-series-card:hover,
  .home-series-card:focus-visible {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px #4f382524;
  }
  .home-series-card:hover .home-series-image > img,
  .home-series-card:focus-visible .home-series-image > img {
    transform: scale(1.065);
  }
  .home-series-card:hover .home-series-copy span,
  .home-series-card:focus-visible .home-series-copy span,
  .home-quick-card:hover b,
  .home-quick-card:focus-visible b,
  .home-reading-grid > a:hover span,
  .home-reading-grid > a:focus-visible span {
    transform: translateX(6px);
  }
  .home-quick-card:hover,
  .home-quick-card:focus-visible {
    transform: translateY(-8px) rotate(-.35deg);
    box-shadow: 0 22px 44px #332a222d;
  }
  .home-quick-card:hover > img,
  .home-quick-card:focus-visible > img {
    transform: scale(1.075);
    filter: saturate(1.08);
  }
  .home-quick-card:hover .home-quick-shade,
  .home-quick-card:focus-visible .home-quick-shade {
    opacity: .82;
  }
  .home-ebooks-cards article:hover {
    transform: translateY(-7px) rotate(.35deg);
    box-shadow: 0 18px 36px #4f38251f;
  }
  .home-reading-grid > a:hover,
  .home-reading-grid > a:focus-visible {
    transform: translateY(-7px);
    box-shadow: 0 22px 42px #332a2233;
  }
  .home-reading-grid > a:hover > img,
  .home-reading-grid > a:focus-visible > img {
    transform: scale(1.075);
  }
  .home-final-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px #332a2226;
  }
}
@media (max-width: 1100px) {
  .home-hero-layout { grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr); }
  .home-series-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-ebooks-layout { gap: 35px; }
  .home-ebooks-cards article { min-height: 240px; padding: 17px; }
}
@media (max-width: 800px) {
  .announcement { font-size: 11px; }
  .home-hero { height: 700px; }
  .home-hero-layout {
    display: block;
    padding-top: 48px;
  }
  .home-hero-copy { max-width: 630px; padding: 0; }
  .home-hero-copy h1,
  .home-hero-copy h2 { font-size: 46px; }
  .home-hero-copy > p:not(.eyebrow) { font-size: 16px; }
  .home-hero-photos {
    position: absolute;
    right: 0;
    bottom: 36px;
    width: 70%;
    height: 305px;
  }
  .home-hero-slide.photo .home-hero-layout {
    display: flex;
    align-items: center;
    padding-top: 0;
  }
  .home-hero-slide.photo .home-hero-copy { max-width: 520px; }
  .home-hero-dots { left: 24px; bottom: 18px; }
  .home-section { padding-top: 55px; }
  .home-section-heading { align-items: start; }
  .home-section-heading h2 { font-size: 36px; }
  .home-series-grid,
  .home-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-series-copy { min-height: 215px; }
  .home-ebooks { margin-top: 55px; padding-block: 55px; }
  .home-ebooks-layout { grid-template-columns: 1fr; }
  .home-reading-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-reading-grid > a:last-child { grid-column: 1 / -1; }
  .home-final-grid { grid-template-columns: 1fr; padding-block: 55px; }
}
@media (max-width: 560px) {
  .announcement .announcement-extra { display: none; }
  .home-hero { height: 730px; }
  .home-hero-layout { padding-top: 38px; }
  .home-hero-copy h1,
  .home-hero-copy h2 { font-size: 39px; }
  .home-hero-actions { display: grid; }
  .home-hero-actions .button { width: 100%; }
  .home-hero-photos {
    right: -10px;
    bottom: 45px;
    width: 92%;
    height: 260px;
  }
  .home-photo { border-width: 5px; border-radius: 16px; }
  .home-hero-slide.photo .home-hero-bg { object-position: 60% center; }
  .home-hero-overlay { background: #25211ebf; }
  .home-hero-dots { right: 20px; justify-content: center; }
  .home-hero-dots button { width: 52px; }
  .home-section-heading { display: block; }
  .home-section-heading .text-link { margin-top: 12px; }
  .home-section-heading h2,
  .home-section-heading.compact h2 { font-size: 32px; }
  .home-series-grid,
  .home-quick-grid,
  .home-reading-grid { grid-template-columns: 1fr; }
  .home-series-copy { min-height: auto; }
  .home-series-copy > div { margin-top: 20px; }
  .home-quick-card { min-height: 260px; }
  .home-ebooks-cards { grid-template-columns: 1fr; }
  .home-ebooks-cards article { min-height: 175px; }
  .home-reading-grid > a,
  .home-reading-grid > a:last-child { min-height: 375px; grid-column: auto; }
  .home-final-card { min-height: 0; padding: 32px 25px; }
  .home-final-card h2 { font-size: 31px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero-slide,
  .home-series-card,
  .home-quick-card,
  .home-reading-grid > a > img { transition: none; }
}
/* 1.5.0 — client review: editable media, testimonials and seasonal journeys. */
.home-hero-video-slot {
  display: flex;
  justify-content: center;
  min-height: 500px;
}

.home-hero-video-slot > video,
.home-hero-video-slot .home-photo.front,
.home-video-placeholder {
  position: relative;
  inset: auto;
  width: min(340px, 100%);
  aspect-ratio: 9 / 16;
  border-radius: 32px;
  object-fit: cover;
  overflow: hidden;
  box-shadow: 0 24px 60px rgb(34 31 28 / 18%);
  transform: rotate(2deg);
}

.home-video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 30px;
  color: var(--ink);
  text-align: center;
  background: radial-gradient(circle at 20% 20%, #f2c14b 0 10%, transparent 11%), radial-gradient(circle at 80% 70%, #47b4a4 0 14%, transparent 15%), #f8e5df;
}
.home-video-placeholder span { display: grid; width: 64px; height: 64px; margin-bottom: 8px; place-items: center; border: 2px solid var(--coral); border-radius: 50%; color: var(--coral); }
.home-video-placeholder b { font: 800 22px/1.2 var(--heading); }
.home-video-placeholder small { max-width: 220px; color: var(--muted); font-size: 12px; }

.home-hero-video-slot figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, rgb(20 20 20 / 5%), rgb(20 20 20 / 58%));
}

.home-hero-video-slot figcaption span {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 22px;
}

.home-hero-video-slot figcaption b { font: 800 22px/1.2 var(--heading); }
.home-hero-video-slot figcaption small { max-width: 220px; font-size: 12px; }

.home-ebook-notice {
  margin: clamp(56px, 8vw, 104px) 0;
  background: #f3eee2;
  border-block: 1px solid var(--line);
}

.home-ebook-notice .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 40px;
}

.home-ebook-notice h2 { margin: 3px 0 2px; font-size: clamp(28px, 3vw, 42px); }
.home-ebook-notice p:last-child { margin: 0; color: var(--muted); }

.holiday-band {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 440px;
  margin-top: clamp(48px, 5vw, 72px);
  padding: clamp(36px, 4vw, 64px);
  overflow: hidden;
  border-radius: 32px;
  aspect-ratio: 3172 / 1256;
  background: #f8e5df;
  isolation: isolate;
}

.holiday-band-background {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.holiday-band::after {
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: 58%;
  display: none;
  background: linear-gradient(90deg, rgb(255 242 237 / 92%) 0%, rgb(255 242 237 / 72%) 58%, rgb(255 242 237 / 14%) 100%);
  content: '';
  pointer-events: none;
}

.holiday-band-copy { width: min(45%, 620px); }
.holiday-band h2 { margin: 8px 0 14px; font-size: clamp(34px, 3.1vw, 48px); line-height: 1.04; }
.holiday-band p:not(.eyebrow) { max-width: 560px; color: var(--muted); font-size: 16px; }

.home-social-proof .reviews-summary,
.product-testimonials .reviews-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--muted);
}

.reviews-summary b,
.product-parent-rating span,
.product-card-rating span,
.testimonial-grid blockquote > span,
.series-featured-review > span { color: #e2603c; letter-spacing: 3px; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.testimonial-grid blockquote,
.series-featured-review {
  margin: 0;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fffdf8;
}

.testimonial-grid blockquote p,
.series-featured-review p { min-height: 4.8em; margin: 14px 0; font-size: 17px; line-height: 1.6; }
.testimonial-grid cite,
.series-featured-review cite { display: block; color: var(--muted); font-style: normal; font-weight: 700; }
.testimonial-grid a { display: inline-block; margin-top: 14px; color: var(--coral); font-weight: 800; }
.home-instagram-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.home-instagram-strip a { position: relative; display: grid; grid-template-columns: 86px minmax(0, 1fr); align-items: center; gap: 4px 16px; min-height: 118px; padding: 15px; border: 1px solid var(--line); border-radius: 20px; color: inherit; background: #fff; text-decoration: none; }
.home-instagram-strip img { grid-row: 1 / 3; width: 86px; height: 88px; object-fit: contain; border-radius: 12px; background: #f3eee2; }
.home-instagram-strip > a > span { position: absolute; top: 12px; right: 14px; color: var(--coral); font-size: 25px; font-weight: 800; }
.home-instagram-strip small { color: var(--muted); }
.home-final-grid.single { grid-template-columns: 1fr; }
.home-final-grid.single .home-final-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 40px; }
.home-final-grid.single .home-final-card .eyebrow,
.home-final-grid.single .home-final-card h2,
.home-final-grid.single .home-final-card p { grid-column: 1; }
.home-final-grid.single .home-final-card .button { grid-column: 2; grid-row: 1 / 4; }

.all-series-grid.home-series-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: clamp(60px, 8vw, 110px); }
.all-series-grid .home-series-copy h2 { margin: 0; font-size: 25px; }
.collection-symbol { display: grid; width: 150px; height: 190px; place-items: center; border-radius: 14px; color: #fff; background: var(--blue); font: 800 34px/1 var(--heading); box-shadow: 0 14px 26px rgb(34 31 28 / 15%); }

.apipapi-video,
.apipapi-media-image,
.apipapi-video-placeholder {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #33302e;
  object-fit: cover;
}

.apipapi-video.horizontal,
.apipapi-media-image.horizontal,
.apipapi-video-placeholder.horizontal { aspect-ratio: 16 / 9; }
.apipapi-video.vertical,
.apipapi-media-image.vertical,
.apipapi-video-placeholder.vertical { aspect-ratio: 9 / 16; }
.apipapi-video-placeholder {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 20px;
  color: #fffdf9;
  text-align: center;
  background:
    radial-gradient(circle at 45% 48%, rgb(248 184 56 / 32%), transparent 34%),
    repeating-linear-gradient(120deg, #4a4441 0 14px, #33302e 14px 28px);
}
.apipapi-video-placeholder::after { position: absolute; right: 14px; bottom: 12px; color: var(--yellow); content: "API PAPI"; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.apipapi-video-placeholder span { display: grid; width: 62px; height: 62px; place-items: center; border: 2px solid var(--yellow); border-radius: 50%; color: var(--yellow); font-size: 18px; }
.apipapi-video-placeholder strong { max-width: 250px; font-size: 14px; }

.product-parent-rating,
.product-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.product-parent-rating { margin: -3px 0 13px; }
.product-card-rating { margin: -2px 0 8px; }
.product-card-rating span { font-size: 10px; letter-spacing: 1px; }

.product-how-it-works {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1.15fr);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
  margin-block: clamp(38px, 6vw, 76px) 0;
  padding: clamp(32px, 5vw, 64px);
  border-top: 2px solid rgb(51 48 46 / 8%);
  border-radius: 28px;
  background: #f6efe3;
}

.product-how-copy h2 { margin: 8px 0 12px; font-size: clamp(32px, 3.5vw, 48px); }
.product-how-copy > p:not(.eyebrow) { max-width: 48ch; color: var(--muted); font-size: 16px; line-height: 1.65; }
.product-how-stats { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 22px; }
.product-how-stats div { min-width: 88px; padding: 0; text-align: left; }
.product-how-stats strong { display: block; color: var(--coral); font: 800 30px/1 var(--heading); }
.product-how-stats span { display: block; max-width: 13ch; margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.35; }
.product-how-video .horizontal { aspect-ratio: 16 / 10; }

.product-video-strip,
.product-testimonials { padding-block: clamp(42px, 6vw, 78px); }
.product-video-strip { padding-inline: clamp(18px, 3vw, 34px); }
.product-video-heading { max-width: 720px; margin-bottom: 22px; }
.product-video-heading h2 { font-size: clamp(32px, 4vw, 48px); }
.product-video-heading p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.product-vertical-videos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

.series-archive-main { padding-block: 22px 76px; }
.series-archive-main > .woocommerce-breadcrumb { margin-bottom: 22px; color: var(--muted); font-size: 12px; }
.apipapi-series-intro { display: grid; gap: 28px; margin: 0 0 34px; }
.series-landing-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 460px); min-height: 360px; overflow: hidden; border-radius: 26px; color: #fffdf9; background: #33302e; }
.series-landing-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 58px); }
.series-landing-hero-copy h1 { margin-top: 10px; color: inherit; font-size: clamp(42px, 5vw, 66px); }
.series-landing-hero-copy > p:not(.eyebrow) { max-width: 54ch; margin-top: 12px; color: rgb(255 253 249 / 78%); font-size: 16px; line-height: 1.62; }
.series-landing-hero-media { position: relative; min-height: 320px; }
.series-landing-hero-media::after { position: absolute; inset: 0 auto 0 0; width: 110px; background: linear-gradient(90deg, #33302e, transparent); content: ""; pointer-events: none; }
.series-landing-hero-media > * { width: 100%; height: 100%; border-radius: 0; }
.series-landing-hero-media .horizontal { aspect-ratio: auto; }
.series-landing-stats { display: flex; gap: clamp(20px, 4vw, 38px); margin-top: 24px; }
.series-landing-stats div { max-width: 130px; }
.series-landing-stats strong { display: block; color: var(--yellow); font: 800 30px/1 var(--heading); }
.series-landing-stats span { display: block; margin-top: 5px; color: rgb(255 253 249 / 70%); font-size: 12px; font-weight: 600; line-height: 1.35; }
.series-jump-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.series-jump-nav a { display: flex; flex-direction: column; gap: 7px; min-height: 104px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.series-jump-nav strong { font: 800 18px/1.2 var(--heading); }
.series-jump-nav span { margin-top: auto; color: var(--coral); font-size: 12px; font-weight: 800; }
.series-story-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); align-items: center; gap: clamp(28px, 5vw, 58px); padding: clamp(30px, 4vw, 48px); border-radius: 26px; background: #fffdf9; }
.series-story-block.alternate { grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); background: #f6efe3; }
.series-story-copy h2 { margin: 8px 0 12px; font-size: clamp(32px, 4vw, 48px); }
.series-story-copy > p:not(.eyebrow) { max-width: 56ch; color: var(--muted); font-size: 16px; line-height: 1.65; }
.series-story-media > * { width: 100%; box-shadow: 0 12px 26px rgb(51 48 46 / 14%); }
.series-story-facts { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.series-story-facts span { padding: 10px 13px; border-radius: 999px; background: #f6efe3; font-size: 12px; font-weight: 700; }
.series-story-note { display: block; margin-top: 16px; font-size: 13px; }
.series-offer-bar { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 26px; padding: 24px 28px; border: 0; border-radius: 22px; color: #fffdf9; background: #33302e; }
.series-offer-bar > div { display: flex; flex-direction: column; gap: 4px; }
.series-offer-bar > div:nth-child(2) { text-align: right; }
.series-offer-bar strong { font: 800 24px/1.15 var(--heading); }
.series-offer-bar small { color: var(--yellow); font-weight: 800; }
.series-offer-bar .button { color: var(--ink); background: var(--yellow); }
.series-products-heading { padding-top: 8px; }
.series-products-heading h2 { margin-top: 6px; font-size: clamp(34px, 4vw, 48px); }
.series-archive-main .woocommerce-result-count { color: var(--muted); }
.series-archive-main ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.series-after-products { display: grid; gap: 34px; margin-top: clamp(44px, 7vw, 86px); }
.series-review-heading h2 { margin-top: 6px; font-size: clamp(34px, 4vw, 48px); }
.series-featured-review { max-width: 820px; }

.series-builder-action > div small,
.series-price-note { display: block; margin-top: 5px; color: var(--coral); font-size: 12px; font-weight: 800; }
.series-builder-action > div small { max-width: 360px; }

.cart-other-series { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); align-items: center; gap: 30px; margin: 28px 0; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: #fffaf0; }
.cart-other-series h2 { margin: 6px 0; font-size: 34px; }
.cart-other-series > div > p:last-child { color: var(--muted); }
.cart-other-series .series-book-card { margin: 0; background: #fff; }
.empty-cart-discovery { margin-top: 50px; text-align: left; }
.empty-cart-series-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.empty-cart-series-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; color: inherit; background: #fff; text-decoration: none; }
.empty-cart-series-links span { font-weight: 800; }
.empty-cart-series-links small { color: var(--coral); font-weight: 800; }

.apipapi-delivery-date { display: block; width: 100%; margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 600; }

.apipapi-followup-order {
  display: grid;
  gap: 28px;
  margin: 40px 0;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #f8f1e4;
}
.apipapi-followup-order h2 { margin: 7px 0 12px; font-size: clamp(34px, 5vw, 52px); }
.followup-coupon { display: inline-flex; flex-direction: column; gap: 3px; padding: 14px 18px; border: 1px dashed var(--coral); border-radius: 12px; background: #fff; }
.followup-coupon strong { color: var(--coral); font-size: 20px; letter-spacing: 1px; }
.followup-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.followup-products a { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: inherit; text-decoration: none; }
.followup-products img { width: 70px; height: 82px; object-fit: contain; }
.followup-products span { display: flex; flex-direction: column; gap: 4px; }

@media (max-width: 960px) {
  .testimonial-grid,
  .home-instagram-strip,
  .all-series-grid.home-series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-how-it-works,
  .series-landing-hero,
  .series-story-block,
  .series-story-block.alternate { grid-template-columns: 1fr; }
  .product-vertical-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .series-landing-hero-media { min-height: 0; aspect-ratio: 16 / 9; }
  .series-landing-hero-media::after { inset: 0 0 auto; width: auto; height: 90px; background: linear-gradient(180deg, #33302e, transparent); }
  .series-archive-main ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .home-final-grid.single .home-final-card { display: block; }
  .series-offer-bar { grid-template-columns: 1fr auto; }
  .series-offer-bar .button { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .home-hero-video-slot { min-height: 400px; }
  .home-hero-video-slot > video,
  .home-hero-video-slot .home-photo.front,
  .home-video-placeholder { width: min(250px, 80vw); }
  .home-ebook-notice .container { align-items: flex-start; flex-direction: column; }
  .holiday-band { min-height: 520px; padding: 34px 28px; align-items: flex-start; aspect-ratio: auto; }
  .holiday-band-background { object-position: 62% center; }
  .holiday-band::after { display: block; width: 100%; }
  .holiday-band-copy { width: 78%; }
  .holiday-band h2 { font-size: clamp(30px, 10vw, 44px); }
  .testimonial-grid,
  .home-instagram-strip,
  .all-series-grid.home-series-grid,
  .followup-products,
  .empty-cart-series-links,
  .cart-other-series,
  .series-jump-nav { grid-template-columns: 1fr; }
  .product-vertical-videos > :nth-child(n+2) { display: none; }
  .product-how-it-works { grid-template-columns: minmax(0, 1fr); }
  .product-how-video .horizontal { aspect-ratio: 4 / 3; }
  .product-how-it-works { margin-inline: 14px; padding: 26px 20px; }
  .product-how-stats { gap: 16px; }
  .product-how-stats div { min-width: calc(33.333% - 12px); }
  .product-video-strip { padding-inline: 20px; }
  .product-video-heading p { font-size: 15px; }
  .product-vertical-videos { grid-template-columns: minmax(0, 1fr); width: min(280px, 100%); }
  .series-archive-main { padding-top: 14px; }
  .series-landing-hero { border-radius: 20px; }
  .series-landing-hero-copy { padding: 28px 22px; }
  .series-landing-stats { gap: 18px; }
  .series-story-block { padding: 24px 20px; }
  .series-offer-bar { padding: 22px 20px; }
  .series-archive-main ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .series-offer-bar { grid-template-columns: 1fr; text-align: left; }
  .series-offer-bar > div:nth-child(2) { text-align: left; }
  .home-social-proof .reviews-summary,
  .product-testimonials .reviews-summary { align-items: flex-start; }
}

/* 1.6.6 — one Muzyczne Opowieści landing with three editable format blocks. */
.series-format-section {
  scroll-margin-top: 110px;
}

.series-format-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(24px, 3.5vw, 42px);
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 24px;
  background: rgb(255 253 249 / 72%);
}

.series-format-banner .series-format-copy h2 {
  margin: 8px 0 12px;
  font-size: clamp(30px, 4vw, 46px);
}

.series-format-media {
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #f2eadc;
  box-shadow: 0 12px 28px rgb(51 48 46 / 12%);
}

.series-format-media > * {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
}

.series-format-count {
  margin: 22px 0 0;
  color: var(--rust);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.series-showcase-grid .series-book-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
}

.series-showcase-grid .series-book-card > div:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.series-showcase-grid .series-book-actions {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  width: 100%;
  margin-top: 14px;
}

.series-book-actions .series-more {
  min-width: 0;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--coral);
  border-radius: 999px;
  color: #fff;
  background: var(--coral);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.series-book-actions .series-more:hover {
  border-color: var(--rust);
  color: #fff;
  background: var(--rust);
}

.woocommerce .series-book-actions .completion-add.button.series-quick-add {
  display: grid !important;
  width: 44px !important;
  min-width: 44px !important;
  height: 44px;
  min-height: 44px;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center;
  border: 1.5px solid var(--coral) !important;
  border-radius: 50% !important;
  color: var(--rust) !important;
  background: #fffdf8 !important;
}

.woocommerce .series-book-actions .completion-add.button.series-quick-add:hover {
  color: #fff !important;
  background: var(--coral) !important;
}

.cart-plus-icon {
  width: 23px;
  height: 23px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@media (max-width: 760px) {
  .series-format-banner { grid-template-columns: 1fr; padding: 22px 18px; }
  .series-format-media { order: -1; }
}

/* 1.7.10 — client-supplied banners keep their original artwork and proportions. */
.home-series-card.has-curated-visual .home-series-image {
  aspect-ratio: 476 / 596;
  background: #f4eee3;
}

.home-series-card.has-curated-visual .home-series-image > img,
.home-series-card.has-curated-visual:nth-child(n + 3) .home-series-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: normal;
}

.home-quick-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.home-quick-card.has-curated-visual > img,
.home-quick-card.has-curated-visual:not(:nth-child(2)) > img,
.home-quick-card.has-curated-visual.dark > img {
  padding: 0;
  object-fit: cover;
  opacity: 1;
  background: transparent;
  mix-blend-mode: normal;
}

.series-landing-hero {
  position: relative;
  display: block;
  min-height: 0;
  aspect-ratio: 2680 / 1060;
  color: var(--ink);
  background: #f6f1e7;
}

.series-landing-hero::after {
  display: none;
}

.series-landing-hero-copy {
  position: relative;
  z-index: 2;
  width: min(58%, 780px);
  min-height: inherit;
}

.series-landing-hero-copy .eyebrow.yellow { color: var(--rust); }
.series-landing-hero-copy > p:not(.eyebrow) { color: var(--muted); }
.series-landing-stats strong { color: var(--rust); }
.series-landing-stats span { color: #625b55; }
.series-landing-hero-media,
.series-landing-hero-media.series-live-media {
  position: absolute !important;
  z-index: 0;
  inset: 0;
  min-height: 0;
  aspect-ratio: auto;
}
.series-landing-hero-media::after { display: none; }
.series-landing-hero-media > *,
.series-landing-hero-media .horizontal {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff8e8;
}

.series-landing-muzyczne-opowiesci .series-story-block,
.series-format-gram .series-format-banner,
.series-format-small .series-format-banner {
  position: relative;
  display: block;
  min-height: 0;
  aspect-ratio: 2680 / 1060;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f6f1e7;
}

.series-landing-muzyczne-opowiesci .series-story-block::after,
.series-format-gram .series-format-banner::after,
.series-format-small .series-format-banner::after {
  display: none;
}

.series-landing-muzyczne-opowiesci .series-story-copy,
.series-format-gram .series-format-copy,
.series-format-small .series-format-copy {
  position: relative;
  z-index: 2;
  width: min(56%, 690px);
  padding: clamp(26px, 4vw, 48px);
}

.series-landing-muzyczne-opowiesci .series-story-media,
.series-format-gram .series-format-media,
.series-format-small .series-format-media,
.series-landing-muzyczne-opowiesci .series-story-media.series-live-media,
.series-format-gram .series-format-media.series-live-media,
.series-format-small .series-format-media.series-live-media {
  position: absolute !important;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.series-landing-muzyczne-opowiesci .series-story-media > *,
.series-format-gram .series-format-media > *,
.series-format-small .series-format-media > * {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff8e8;
  box-shadow: none;
}

@media (max-width: 1100px) {
  .home-quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .series-landing-hero-copy { width: 70%; }
}

@media (max-width: 640px) {
  .series-landing-hero { min-height: 650px; aspect-ratio: auto; }
  .series-landing-hero::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: block;
    background: linear-gradient(180deg, rgb(255 253 249 / 5%) 12%, rgb(255 253 249 / 94%) 46%, #fffdf9 68%);
    content: "";
    pointer-events: none;
  }
  .series-landing-hero-copy {
    width: 100%;
    min-height: inherit;
    justify-content: flex-end;
    padding: 300px 22px 28px;
  }
  .series-landing-hero-media > * { object-fit: cover; object-position: 68% center; }
  .series-landing-stats { flex-wrap: wrap; }
  .series-landing-muzyczne-opowiesci .series-story-block,
  .series-format-gram .series-format-banner,
  .series-format-small .series-format-banner { min-height: 590px; padding: 0; aspect-ratio: auto; }
  .series-landing-muzyczne-opowiesci .series-story-block::after,
  .series-format-gram .series-format-banner::after,
  .series-format-small .series-format-banner::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: block;
    background: linear-gradient(180deg, transparent 13%, rgb(255 253 249 / 96%) 52%, #fffdf9 72%);
    content: "";
    pointer-events: none;
  }
  .series-landing-muzyczne-opowiesci .series-story-copy,
  .series-format-gram .series-format-copy,
  .series-format-small .series-format-copy {
    display: flex;
    width: 100%;
    min-height: 590px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 280px 20px 26px;
  }
  .series-landing-muzyczne-opowiesci .series-story-media > *,
  .series-format-gram .series-format-media > *,
  .series-format-small .series-format-media > * { object-fit: cover; }
  .home-quick-grid { grid-template-columns: 1fr; }
}
