#zp-photobooks[data-pb-masthead] .pb-wrap {
  width: min(1352px, 100% - 40px);
}
#zp-photobooks[data-pb-masthead] :is(.pb-wide-banner,.pb-example-banner) {
  background: transparent;
}
#zp-photobooks[data-pb-masthead] .pb-collection-hero {
  display: grid;
  grid-template-columns: minmax(0,48.5%) minmax(0,1fr);
  align-items: center;
  gap: clamp(16px,1.94vw,30px);
  min-height: 490px;
  border-radius: 10px;
  background: #f9f9f9;
}
#zp-photobooks[data-pb-route="kalendar-novyy-god-2027"] .pb-collection-hero { background: #fff; }
#zp-photobooks .pb-collection-hero .pb-hero-copy { padding: 24px clamp(16px,3.5vw,55px) 24px 0; }
#zp-photobooks .pb-collection-hero h1 {
  max-width: 20ch;
  margin: 0;
  color: var(--pb-ink);
  font-size: clamp(1.75rem,3.875vw,3.05rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
}
#zp-photobooks .pb-collection-hero .pb-hero-copy > p { max-width: 53ch; margin: 10px 0 14px; }
#zp-photobooks .pb-collection-hero .pb-actions { gap: 8px; }
#zp-photobooks .pb-collection-hero :is(.pb-product-formats,.pb-route-actions) { margin-top: 12px; }
#zp-photobooks .pb-masthead-art {
  display: grid;
  place-items: center;
  position: relative;
  min-width: 0;
  margin: 0;
  padding: clamp(14px,3.2vw,48px);
}
#zp-photobooks .pb-masthead-art img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 390px;
  object-fit: contain;
}
#zp-photobooks .pb-masthead-art .pb-main-cutout { filter: drop-shadow(0 11px 11px rgb(26 24 28 / .14)); }
#zp-photobooks .pb-masthead-art.pb-masthead-book-pair { aspect-ratio: 1.42; }
#zp-photobooks .pb-masthead-book-pair img:first-child {
  position: absolute;
  inset: 5% 10% auto auto;
  width: 40%;
}
#zp-photobooks .pb-masthead-book-pair img:last-child { width: 96%; z-index: 1; margin-top: 19%; }
#zp-photobooks .pb-masthead-art.pb-masthead-single-cover img { width: min(68%,365px); }
#zp-photobooks :is(.pb-family-cover figure,.pb-model-template figure,#primery-oformleniya.pb-home-examples) { background: #fff; }
#zp-photobooks :is(.pb-family-cover,.pb-model-template) figure img { filter: drop-shadow(0 9px 12px rgb(29 22 36 / .17)); }
#zp-photobooks[data-pb-route=""] #primery-oformleniya { background: #fff; }
#zp-photobooks .pb-family-visual-guide { display: block; }
#zp-photobooks .pb-family-visual-guide .pb-gallery { grid-template-columns: repeat(3,minmax(0,1fr)); }
#zp-photobooks .pb-family-plan .pb-topic-notes-list > div { padding-inline: 0; }
#zp-photobooks[data-pb-family="topic"] .pb-topic-shots {
  background: #fff;
  border: 1px solid var(--pb-line);
}
#zp-photobooks[data-pb-route="tema-detstvo"] .pb-topic-planning { display: block; }
#zp-photobooks .pb-family-finish,
#zp-photobooks[data-pb-family="topic"] .pb-topic-recommendation {
  background: linear-gradient(114deg,#fff 5%,#f3f3f4 29%,#e5e6e8 51%,#fafafa 73%,#efeff0 95%);
  background-size: 170% 100%;
  background-position: 52% center;
  border: 1px solid #e8e8e9;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #zp-photobooks :is(.pb-family-finish,.pb-topic-recommendation) { transition: background-position 1.25s ease; }
  #zp-photobooks :is(.pb-family-finish,.pb-topic-recommendation):is(:hover,:focus-within) { background-position: 0 center; }
}
#zp-photobooks .pb-model-print-specs { padding-bottom: 0; margin-bottom: 0; }
#zp-photobooks .pb-model-print-specs + .pb-model-variant-table { margin: 12px 0 clamp(30px,4vw,55px); }
#zp-photobooks :is(.pb-model-print-specs > .pb-disclosure,.pb-model-variant-table,.pb-product-info-list .pb-disclosure) {
  width: 100%;
  margin-inline: 0;
}
#zp-photobooks :is(.pb-model-print-specs > .pb-disclosure,.pb-model-variant-table,.pb-product-info-list .pb-disclosure) > summary {
  min-height: 64px;
  box-sizing: border-box;
  padding: 18px clamp(15px,2.65vw,28px);
}
#zp-photobooks :is(.pb-model-print-specs > .pb-disclosure,.pb-model-variant-table,.pb-product-info-list .pb-disclosure) > summary > span {
  font-size: clamp(1.025rem,2vw,1.22rem);
  font-weight: 700;
}
#zp-photobooks .pb-model-print-specs .pb-model-specs > div { background: #fff; }
#zp-photobooks .pb-model-print-specs + .pb-model-variant-table + .pb-model-templates { margin-top: 0; }
#zp-photobooks[data-pb-route="model-fleks"] .pb-heading-line [data-model-cover-name] {
  margin: 7px 0 0;
  color: var(--pb-muted);
}
#zp-photobooks[data-pb-route="model-fleks"] .pb-heading-line .pb-model-availability { margin-top: 10px; }
#zp-photobooks[data-pb-route="vypusknye-klassik"] .pb-hero-product :is(.pb-product-photo a,.pb-order-quote) {
  background: #fff;
  border-color: var(--pb-line);
}
#zp-photobooks[data-pb-route="vypusknye-klassik"] .pb-hero-copy .pb-order-quote { padding: 0; border: 0; }
#zp-photobooks .pb-grad-klassik-ideas > h2 { text-align: center; }
#zp-photobooks[data-pb-route="vypusknye-klassik"] .pb-grad-klassik-ideas .pb-grad-klassik-sequence,
#zp-photobooks[data-pb-route="individualnaya"] #etapy .pb-order-steps {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin: 20px 0 16px;
  padding: 0;
  gap: clamp(14px,3vw,38px);
  list-style: none;
}
#zp-photobooks[data-pb-route="vypusknye-klassik"] .pb-grad-klassik-ideas .pb-grad-klassik-sequence > li,
#zp-photobooks[data-pb-route="individualnaya"] #etapy .pb-order-steps > li {
  display: grid;
  align-content: start;
  grid-template-columns: minmax(0,1fr);
  justify-items: center;
  text-align: center;
  background: #fff;
  padding: clamp(8px,2vw,19px);
  margin: 0;
}
#zp-photobooks #etapy .pb-order-steps > li::marker { content: ""; }
#zp-photobooks #etapy .pb-order-steps > li::before { content: none; }
#zp-photobooks :is(#etapy,.pb-grad-klassik-ideas) .pb-stage-icon {
  width: 48px;
  height: 48px;
  color: var(--pb-accent);
  margin-bottom: 8px;
}
#zp-photobooks :is([data-graduation-quote],[data-calendar-quote]) .pb-quantity-custom {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--pb-line);
}
#zp-photobooks .pb-quarter-bundle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
  border-top: 1px solid var(--pb-line);
  padding-top: 16px;
  margin-top: 20px;
}
#zp-photobooks .pb-quarter-bundle p { margin: 0; }
#zp-photobooks .pb-quarter-bundle p:empty { display: none; }
#zp-photobooks .pb-material-advice.pb-advice-with-art {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: clamp(16px,3vw,42px);
  background: #fff;
  border-block: 1px solid var(--pb-line);
  border-radius: 0;
}
#zp-photobooks .pb-advice-with-art img { width: 100%; max-height: 235px; object-fit: contain; }
#zp-photobooks:is([data-pb-route="upakovka-futlyar"],[data-pb-route="upakovka-s-lentoy"]) .pb-product-photo img[src$=".png"] {
  filter: drop-shadow(0 9px 12px rgb(29 22 36 / .14));
}
#zp-photobooks[data-pb-route="kalendar-novyy-god-2027"] .pb-calendar-formats .pb-card-media {
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  background: #fff;
  padding: 12px;
}
#zp-photobooks[data-pb-route="kalendar-novyy-god-2027"] .pb-calendar-formats .pb-card-media img {
  width: 100%;
  height: min(26vw,233px);
  object-fit: contain;
  filter: drop-shadow(0 7px 9px rgb(22 20 35 / .15));
}
#zp-photobooks [data-calendar-background-color] { min-width: 80px; max-width: 160px; }
@media (max-width: 720px) {
  #zp-photobooks[data-pb-masthead] .pb-wrap { width: calc(100% - 32px); }
  #zp-photobooks[data-pb-masthead] .pb-collection-hero { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  #zp-photobooks .pb-collection-hero .pb-hero-copy { padding: 8px 19px 23px; }
  #zp-photobooks .pb-masthead-art { height: clamp(190px,57vw,320px); }
  #zp-photobooks .pb-masthead-art img { max-height: min(49vw,300px); }
  #zp-photobooks .pb-masthead-art.pb-masthead-book-pair img:last-child { margin-top: 7%; }
  #zp-photobooks .pb-masthead-art.pb-masthead-book-pair img:first-child { width: 35%; inset-inline-end: 11%; }
  #zp-photobooks .pb-family-visual-guide .pb-gallery,
  #zp-photobooks[data-pb-route="vypusknye-klassik"] .pb-grad-klassik-ideas .pb-grad-klassik-sequence,
  #zp-photobooks[data-pb-route="individualnaya"] #etapy .pb-order-steps,
  #zp-photobooks .pb-material-advice.pb-advice-with-art { grid-template-columns: 1fr; }
  #zp-photobooks[data-pb-route="kalendar-novyy-god-2027"] .pb-calendar-formats .pb-card-media img { height: min(49vw,230px); }
}
