@font-face {
  font-family: "HD DIN";
  src: url("/fonts/home-draft/DINPro.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "HD DIN";
  src: url("/fonts/home-draft/DINPro-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "HD DIN";
  src: url("/fonts/home-draft/DINPro-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

#zp-photobooks {
  --pb-ink: #242328;
  --pb-muted: #5c5762;
  --pb-accent: #660099;
  --pb-paper: #fff;
  --pb-lilac: #f5eef8;
  --pb-line: #e2dfe4;
  --pb-surface: #f6f5f7;
  background: var(--pb-paper);
  color: var(--pb-ink);
  font: 400 1.0625rem/1.62 "HD DIN", Tahoma, sans-serif;
  padding: 12px 0 76px;
}
#zp-photobooks *, #zp-photobooks *::before, #zp-photobooks *::after { box-sizing: border-box; }
#zp-photobooks [hidden] { display: none !important; }
#zp-photobooks a { color: var(--pb-accent); text-underline-offset: 4px; }
#zp-photobooks a:focus-visible, #zp-photobooks button:focus-visible,
#zp-photobooks input:focus-visible, #zp-photobooks select:focus-visible,
#zp-photobooks textarea:focus-visible, #zp-photobooks summary:focus-visible {
  outline: 3px solid var(--pb-accent);
  outline-offset: 3px;
}
#zp-photobooks p { margin: 0; }
#zp-photobooks h1, #zp-photobooks h2, #zp-photobooks h3 {
  margin: 0;
  color: var(--pb-ink);
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -.012em;
  text-transform: none;
}
#zp-photobooks h1 { font-size: clamp(1.875rem, 3.3vw, 3.125rem); line-height: 1.16; text-wrap: balance; }
#zp-photobooks h2 { font-size: clamp(1.5rem, 2.25vw, 2.125rem); line-height: 1.23; margin-bottom: 18px; }
#zp-photobooks h3 { font-size: clamp(1.1875rem, 1.65vw, 1.4375rem); line-height: 1.27; }
#zp-photobooks .pb-wrap { width: min(1440px, 100% - 40px); margin: 0 auto; }
#zp-photobooks .pb-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 12px 0 17px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--pb-muted);
}
#zp-photobooks .pb-crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--pb-muted); }
#zp-photobooks .pb-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 24px;
  border-block: 1px solid var(--pb-line);
  padding: 6px 0;
}
#zp-photobooks .pb-nav { border: 0; border-radius: 7px; background: var(--pb-surface); padding: 3px 14px; }
#zp-photobooks .pb-nav a {
  color: var(--pb-ink);
  padding: 9px 0;
  text-decoration: none;
  font-size: 15px;
}
#zp-photobooks .pb-nav a:hover,
#zp-photobooks .pb-nav a:where([aria-current], [data-section-active]) { color: var(--pb-accent); text-decoration: underline; text-underline-offset: 6px; }
#zp-photobooks .pb-nav a.pb-nav-cta { margin-left: auto; background: var(--pb-accent); color: #fff; border: 0; min-height: 36px; padding: 6px 14px; white-space: nowrap; }
#zp-photobooks .pb-hero { margin: 0 0 clamp(34px, 4.2vw, 62px); }
#zp-photobooks .pb-hero-plain { padding: clamp(20px,4vw,52px); border-radius: 8px; background: var(--pb-surface); }
#zp-photobooks .pb-hero-media {
  display: grid;
  grid-template-columns: minmax(0, .54fr) minmax(0,.46fr);
  grid-template-areas: "photo copy";
  align-items: stretch;
  background: var(--pb-surface);
  border-radius: 8px;
  overflow: hidden;
}
#zp-photobooks .pb-hero-media .pb-hero-copy { grid-area: copy; align-self: center; padding: clamp(24px,4vw,62px); }
#zp-photobooks .pb-hero-media > figure { grid-area: photo; min-width: 0; }
#zp-photobooks .pb-hero-media > figure:not(.pb-printed-calendar) img { height: 100%; min-height: 350px; }
#zp-photobooks .pb-hero-media > .pb-printed-calendar { align-self: center; }
#zp-photobooks .pb-hero p { max-width: 58ch; color: var(--pb-muted); margin: 14px 0 0; font-size: clamp(1.0625rem,1.35vw,1.1875rem); }
#zp-photobooks .pb-hero-price { display: block; margin-top: 12px; color: var(--pb-accent); font-size: clamp(22px,2.3vw,32px); }
#zp-photobooks .pb-hero figure { margin: 0; }
#zp-photobooks .pb-hero img, #zp-photobooks .pb-card img { display: block; width: 100%; height: auto; object-fit: cover; }
#zp-photobooks .pb-hero img { border-radius: 0; }
#zp-photobooks .pb-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
#zp-photobooks .pb-hero .pb-actions, #zp-photobooks .pb-hero > div > .pb-button { margin-top: 26px; }
#zp-photobooks .pb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 9px 20px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  border: 1px solid var(--pb-accent);
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  color: var(--pb-accent);
  background: #fff;
}
#zp-photobooks .pb-button.pb-primary { background: var(--pb-accent); color: #fff; }
#zp-photobooks .pb-primary:hover { background: #4d0873; }
#zp-photobooks .pb-secondary:hover { background: var(--pb-lilac); }
#zp-photobooks .pb-button:disabled { opacity: .55; cursor: default; }
#zp-photobooks .pb-section { margin-bottom: clamp(32px, 4.5vw, 64px); scroll-margin-top: 92px; }
#zp-photobooks .pb-section > p, #zp-photobooks .pb-section > ul, #zp-photobooks .pb-section > ol { max-width: 70ch; }
#zp-photobooks .pb-section > :is(ul,ol) { padding-inline-start: 1.45em; }
#zp-photobooks .pb-section > :is(ul,ol) > li + li { margin-top: .45em; }
#zp-photobooks .pb-section > p + p, #zp-photobooks .pb-section > p + a { margin-top: 12px; }
#zp-photobooks .pb-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(12px,2vw,24px); }
#zp-photobooks .pb-gallery figure { min-width: 0; margin: 0; }
#zp-photobooks .pb-gallery a { display: block; }
#zp-photobooks .pb-gallery img { display: block; width: 100%; height: auto; border-radius: 9px; }
#zp-photobooks .pb-gallery figcaption { margin-top: 8px; color: var(--pb-muted); font-size: .9375rem; line-height: 1.45; }
#zp-photobooks .pb-gallery-dialog {
  width: min(940px, 100% - 24px);
  max-height: calc(100% - 24px);
  padding: 12px;
  border: 1px solid var(--pb-line);
  border-radius: 10px;
  background: var(--pb-paper);
  color: var(--pb-ink);
}
#zp-photobooks .pb-gallery-dialog::backdrop { background: rgb(25 17 29 / 78%); }
#zp-photobooks .pb-gallery-dialog figure { margin: 10px 0; }
#zp-photobooks .pb-gallery-dialog img { display: block; width: 100%; max-height: 67vh; object-fit: contain; }
#zp-photobooks .pb-gallery-dialog figcaption { text-align: center; padding: 6px 0; }
#zp-photobooks .pb-gallery-toolbar { display: flex; justify-content: flex-end; gap: 8px; }
#zp-photobooks .pb-card { border: 1px solid var(--pb-line); border-radius: 10px; height: 100%; background: white; }
#zp-photobooks .pb-card a { display: block; height: 100%; color: inherit; text-decoration: none; }
#zp-photobooks .pb-card img { aspect-ratio: 3/2; border-radius: 9px 9px 0 0; }
#zp-photobooks .pb-card .pb-card-body { padding: clamp(15px,1.7vw,24px); }
#zp-photobooks .pb-card a:hover h3 { color: var(--pb-accent); }
#zp-photobooks .pb-card p { color: var(--pb-muted); margin: 10px 0 14px; }
#zp-photobooks .pb-card-meta { display: block; margin-top: 8px; color: var(--pb-muted); font-size: 15px; }
#zp-photobooks :is(.pb-result,.pb-topic-model) .pb-card-meta { color: var(--pb-accent); font-size: 18px; font-weight: 700; }
#zp-photobooks .pb-card-link { color: var(--pb-accent); font-weight: 500; }
#zp-photobooks .pb-tail { margin-top: 20px; }
#zp-photobooks .pb-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  column-gap: 24px;
  border-top: 1px solid var(--pb-line);
}
#zp-photobooks .pb-list a { display: block; padding: 13px 0; border-bottom: 1px solid var(--pb-line); color: var(--pb-ink); }
#zp-photobooks .pb-list a:hover { color: var(--pb-accent); }
#zp-photobooks .pb-specs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 0; }
#zp-photobooks .pb-specs div, #zp-photobooks .pb-form, #zp-photobooks .pb-preview, #zp-photobooks .pb-filters {
  padding: clamp(15px,2vw,27px);
  background: white;
  border: 1px solid var(--pb-line);
  border-radius: 10px;
  min-width: 0;
}
#zp-photobooks .pb-specs dt { color: var(--pb-muted); font-size: 14px; }
#zp-photobooks .pb-specs dd { margin: 5px 0 0; }
#zp-photobooks .pb-table { overflow-x: auto; max-width: 100%; margin-bottom: 16px; }
#zp-photobooks table { width: 100%; min-width: 560px; border-collapse: collapse; text-align: left; }
#zp-photobooks th, #zp-photobooks td { border-bottom: 1px solid var(--pb-line); padding: 12px; vertical-align: top; }
#zp-photobooks thead th { background: var(--pb-lilac); }
#zp-photobooks td small { display: block; color: var(--pb-muted); }
#zp-photobooks details {
  --pb-disclosure-gutter: clamp(16px,2vw,22px);
  border: 1px solid var(--pb-line);
  background: white;
  border-radius: 8px;
  margin: 0 0 10px;
}
#zp-photobooks summary { cursor: pointer; font-weight: 700; padding: 14px; }
#zp-photobooks details > p { padding: 0 var(--pb-disclosure-gutter) 14px; }
#zp-photobooks details > :is(.pb-table,.pb-year) { margin: 4px var(--pb-disclosure-gutter) 16px; }
#zp-photobooks details > ul { margin: 4px var(--pb-disclosure-gutter) 16px; padding-inline-start: 1.25em; }
#zp-photobooks .pb-filters { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 20px; }
#zp-photobooks .pb-filters button { justify-self: start; }
#zp-photobooks label { display: grid; align-content: start; gap: 6px; min-width: 0; font-size: 1rem; line-height: 1.35; }
#zp-photobooks label.pb-check { display: flex; align-items: center; grid-column: span 2; }
#zp-photobooks label.pb-check input { width: 18px; height: 18px; accent-color: var(--pb-accent); }
#zp-photobooks input:not([type="checkbox"]), #zp-photobooks select, #zp-photobooks textarea {
  width: 100%;
  min-height: 43px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #b8a9c0;
  border-radius: 6px;
  background: #fff;
  color: var(--pb-ink);
  font: inherit;
}
#zp-photobooks .pb-muted { color: var(--pb-muted); font-size: .9375rem; }
#zp-photobooks [data-pb-count] { margin-bottom: 14px; }
#zp-photobooks .pb-result { display: grid; grid-template-rows: 1fr auto; gap: 8px; min-width: 0; }
#zp-photobooks [data-match] { justify-self: start; text-align: left; }
#zp-photobooks .pb-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
#zp-photobooks .pb-wide { grid-column: 1 / -1; }
#zp-photobooks .pb-quote { background: var(--pb-lilac); border-radius: 8px; margin: 18px 0; padding: 15px; }
#zp-photobooks .pb-quote strong { font-size: 27px; }
#zp-photobooks .pb-quote p { font-size: 15px; }
#zp-photobooks .pb-sheet {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  grid-auto-rows: minmax(0, 1fr);
  align-content: stretch;
  aspect-ratio: var(--pb-ratio, 1.8);
  width: min(100%, 560px);
  max-height: 460px;
  margin: 15px auto;
  border: 1px solid var(--pb-line);
  padding: 8px;
  gap: 6px;
  background: var(--pb-sheet-color, var(--pb-paper));
}
#zp-photobooks .pb-sheet[data-layout="cover"], #zp-photobooks .pb-sheet[data-layout="panorama"] { grid-template-columns: 1fr; }
#zp-photobooks .pb-sheet[data-layout="cover"] { width: min(100%, 320px); }
#zp-photobooks .pb-sheet img { width: 100%; height: 100%; min-height: 0; min-width: 0; object-fit: contain; }
#zp-photobooks .pb-sheet[data-crop="cover"] img { object-fit: cover; }
#zp-photobooks .pb-sheet.pb-show-fold::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  border-left: 2px dashed var(--pb-accent);
  box-shadow: -1px 0 #fff;
  pointer-events: none;
}
#zp-photobooks .pb-page-actions { flex-wrap: wrap; gap: 7px; }
#zp-photobooks .pb-page-actions .pb-button { min-height: 38px; padding: 6px 11px; font-size: 15px; }
#zp-photobooks .pb-editor-figure { margin: 16px auto; }
#zp-photobooks .pb-editor-figure figcaption {
  padding: 8px 14px;
  margin: -14px auto 0;
  max-width: 560px;
  text-align: center;
  overflow-wrap: anywhere;
  background: var(--pb-sheet-color, var(--pb-paper));
}
#zp-photobooks .pb-editor-tools { margin-block: 12px; }
#zp-photobooks .pb-editor-tools > .pb-fields { margin-top: 12px; }
#zp-photobooks .pb-pager select { width: auto; min-width: 0; max-width: 58%; }
#zp-photobooks .pb-reading .pb-gallery { grid-template-columns: minmax(0, 1fr); margin-top: 14px; }
#zp-photobooks .pb-reading .pb-gallery img { max-height: 440px; object-fit: contain; }
#zp-photobooks .pb-reading { max-width: 70ch; margin-inline: auto; font-size: 1.125rem; line-height: 1.68; }
#zp-photobooks .pb-reading .pb-section { margin-bottom: clamp(27px, 4vw, 50px); }
#zp-photobooks .pb-reading .pb-section > h2 { font-size: clamp(24px, 2.3vw, 32px); margin-bottom: 12px; }
#zp-photobooks .pb-reading [id] { scroll-margin-top: 80px; }
#zp-photobooks .pb-hero-article h1 { font-size: clamp(1.875rem,3.3vw,3.125rem); line-height: 1.16; }
#zp-photobooks .pb-hero-article p { margin: 16px 0 20px; max-width: none; }
#zp-photobooks .pb-hero-article img { height: auto; max-height: 460px; object-fit: contain; background: var(--pb-surface); border-radius:8px; }
#zp-photobooks .pb-hero-article { max-width: 100%; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.92fr); gap:clamp(20px,4vw,58px); align-items:center; margin:0 0 clamp(36px,5vw,70px); }
#zp-photobooks .pb-hero-article .pb-hero-copy { padding:clamp(16px,3vw,34px) 0; }
#zp-photobooks .pb-sheet span {
  display: grid;
  place-items: center;
  min-height: 0;
  text-align: center;
  color: var(--pb-muted);
  font-size: 13px;
  background: #fff;
  border: 1px dashed var(--pb-line);
}
#zp-photobooks .pb-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 15px; }
#zp-photobooks .pb-upload, #zp-photobooks [data-pb-prepared] { margin: 14px 0; }
#zp-photobooks [data-print-check] { max-width: 690px; }
#zp-photobooks .pb-file-result:not(:empty) { margin-top: 12px; padding: 12px; background: var(--pb-lilac); border-radius: 8px; }
#zp-photobooks [data-pb-request] { max-width: 760px; }
#zp-photobooks [data-pb-request] .pb-actions { margin-top: 12px; }
#zp-photobooks [data-pb-feedback], #zp-photobooks [data-preview-feedback] { margin-top: 8px; }
#zp-photobooks :is(#raschet,#zapros) { scroll-margin-top: 85px; }
#zp-photobooks .pb-section[id^="temy-"] { scroll-margin-top: 85px; }
#zp-photobooks .pb-bottom { margin-top: 42px; }

#zp-photobooks.pb-home { background: #fffdfa; }
#zp-photobooks.pb-home .pb-hero { margin-bottom: 18px; }
#zp-photobooks.pb-home .pb-hero h1 { max-width: 19ch; }
#zp-photobooks .pb-home-model { display: flex; flex-direction: column; border: 1px solid var(--pb-line); border-radius: 10px; overflow: hidden; background: #fff; }
#zp-photobooks .pb-home-product-photo { display: block; position: relative; background: #fff; }
#zp-photobooks .pb-home-product-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1.68; object-fit: cover; }
#zp-photobooks .pb-home-premium { position: absolute; top: 9px; right: 9px; border-radius: 4px; background: #412957; color: #fff; font-size: 13px; padding: 3px 7px; }
#zp-photobooks .pb-home-model > div { padding: 18px 22px 22px; display: grid; justify-items: start; gap: 10px; flex: 1; grid-template-rows: auto 1fr auto auto; }
#zp-photobooks .pb-home-model h3 a { color: var(--pb-ink); text-decoration: none; }
#zp-photobooks .pb-home-model h3 a:hover { text-decoration: underline; }
#zp-photobooks .pb-home-model p { color: var(--pb-muted); font-size: 16px; }
#zp-photobooks .pb-home-model strong { font-size: 21px; color: var(--pb-accent); }
#zp-photobooks .pb-home-topics { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 16px; }
#zp-photobooks .pb-home-topics a { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--pb-line); border-radius: 8px; overflow: hidden; background: #fff; text-decoration: none; }
#zp-photobooks .pb-home-topics img { display: block; width: 100%; height: auto; aspect-ratio: 1.38; object-fit: cover; }
#zp-photobooks .pb-home-topics span { display: grid; place-items: center; text-align: center; padding: 8px; font-size: 15px; color: var(--pb-ink); }
#zp-photobooks .pb-home-topics a:hover span { color: var(--pb-accent); text-decoration: underline; }
#zp-photobooks .pb-home-start { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
#zp-photobooks .pb-home-start article { background: var(--pb-surface); padding: clamp(18px,3vw,30px); border-radius: 8px; }
#zp-photobooks .pb-home-start p { margin: 10px 0 18px; }
#zp-photobooks .pb-home-band {
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  background: var(--pb-surface);
  margin-bottom: 24px;
  align-items: stretch;
}
#zp-photobooks .pb-home-band-reverse { grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); }
#zp-photobooks .pb-home-band-reverse img { order: -1; }
#zp-photobooks .pb-home-band div { padding: clamp(20px,4vw,45px); align-self: center; }
#zp-photobooks .pb-home-band h2 { margin-bottom: 12px; }
#zp-photobooks .pb-home-band p { margin-bottom: 20px; }
#zp-photobooks .pb-home-band img { display: block; width: 100%; height: 100%; max-height: 360px; object-fit: cover; }
#zp-photobooks .pb-home-examples { margin-top: 56px; }
#zp-photobooks .pb-home-examples .pb-gallery { grid-template-columns: repeat(4,minmax(0,1fr)); }
#zp-photobooks .pb-home-help { margin-bottom: 0; }
#zp-photobooks .pb-grad-specs { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-block: 12px; }
#zp-photobooks .pb-grad-specs dt { color: var(--pb-muted); font-size: 14px; }
#zp-photobooks .pb-grad-specs dd { margin: 2px 0 0; }
#zp-photobooks .pb-theme-family { display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1.35fr); gap: 22px; }
#zp-photobooks .pb-theme-family > img { display: block; width: 100%; height: auto; border-radius: 9px; }
#zp-photobooks .pb-theme-family p { margin-bottom: 14px; }
#zp-photobooks .pb-theme-family .pb-button { margin-top: 12px; }

@media (max-width: 850px) {
  #zp-photobooks .pb-wrap { width: min(100% - 40px,1320px); }
  #zp-photobooks .pb-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #zp-photobooks .pb-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #zp-photobooks .pb-home-topics { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  #zp-photobooks { padding-top: 17px; padding-bottom: 72px; }
  #zp-photobooks .pb-wrap { width: calc(100% - 32px); }
  #zp-photobooks .pb-hero-media { grid-template-columns: minmax(0,1fr); grid-template-areas: "photo" "copy"; }
  #zp-photobooks .pb-hero-media > figure:not(.pb-printed-calendar) img { min-height: 0; height: auto; }
  #zp-photobooks .pb-grid, #zp-photobooks .pb-list, #zp-photobooks .pb-specs { grid-template-columns: 1fr; }
  #zp-photobooks .pb-nav { flex-wrap: nowrap; overflow-x: auto; gap: 0 16px; padding-block: 3px; }
  #zp-photobooks .pb-nav a { white-space: nowrap; }
  #zp-photobooks .pb-nav a { padding-block: 7px; }
  #zp-photobooks .pb-nav a.pb-nav-cta { margin-left: 0; padding: 7px 12px; }
  #zp-photobooks .pb-hero p { margin-top: 15px; }
  #zp-photobooks .pb-hero .pb-actions { margin-top: 17px; }
  #zp-photobooks .pb-hero .pb-actions > a { flex: 1 1 160px; }
  #zp-photobooks .pb-home-topics, #zp-photobooks .pb-home-examples .pb-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  #zp-photobooks .pb-home-start, #zp-photobooks .pb-home-band { grid-template-columns: minmax(0,1fr); }
  #zp-photobooks .pb-home-band img { order: -1; height: auto; aspect-ratio: 2/1; }
  #zp-photobooks .pb-theme-family { grid-template-columns: minmax(0,1fr); gap: 12px; }
}
/* Guided configuration and manual workspace */
#zp-photobooks .pb-jumps { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 30px; }
#zp-photobooks .pb-jumps a { padding:7px 13px; border:1px solid var(--pb-line); border-radius:6px; text-decoration:none; }
#zp-photobooks .pb-jumps a:hover { background:var(--pb-lilac); }
#zp-photobooks .pb-reading .pb-jumps { padding-bottom:18px; border-bottom:1px solid var(--pb-line); }
#zp-photobooks .pb-theme-section { padding:clamp(15px,3vw,35px); background:var(--pb-surface); border-radius:8px; }
#zp-photobooks .pb-topic-notes { padding:clamp(16px,3.1vw,40px); background:var(--pb-surface); border-radius:8px; }
#zp-photobooks .pb-topic-notes .pb-section { padding-top:18px; margin:18px 0 0; border-top:1px solid var(--pb-line); }
#zp-photobooks .pb-topic-notes .pb-section h2 { font-size:clamp(20px,2vw,27px); margin-bottom:9px; }
#zp-photobooks .pb-topic-model .pb-card { max-width:760px; }
#zp-photobooks .pb-topic-model .pb-card > a { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.25fr); align-items:center; }
#zp-photobooks .pb-order-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; list-style:decimal inside; padding:0; }
#zp-photobooks .pb-section > .pb-order-steps { max-width:none; }
#zp-photobooks .pb-order-steps li { padding:20px; border-radius:7px; background:var(--pb-surface); }
#zp-photobooks .pb-order-steps li::marker { color:var(--pb-accent); font-weight:700; }
#zp-photobooks .pb-order-steps p { margin-top:8px; }
#zp-photobooks .pb-builder[data-stage="configuration"] { display:grid; grid-template-columns:minmax(168px, .24fr) minmax(0,1fr); gap:clamp(14px,2vw,30px); align-items:start; }
#zp-photobooks .pb-builder { scroll-margin-top:70px; }
#zp-photobooks .pb-wizard-steps ol { display:grid; margin:0; padding:0; list-style:none; counter-reset:step; background:var(--pb-surface); border:1px solid var(--pb-line); border-radius:7px; }
#zp-photobooks .pb-wizard-steps li { counter-increment:step; }
#zp-photobooks .pb-wizard-steps button { display:flex; gap:10px; align-items:center; border:0; border-bottom:1px solid var(--pb-line); background:transparent; padding:15px 12px; width:100%; color:var(--pb-ink); font:inherit; text-align:left; cursor:pointer; }
#zp-photobooks .pb-wizard-steps li:last-child button { border-bottom:0; }
#zp-photobooks .pb-wizard-steps button::before { content:counter(step); flex:0 0 24px; display:grid; place-items:center; color:var(--pb-muted); height:24px; border:1px solid var(--pb-line); border-radius:50%; }
#zp-photobooks .pb-wizard-steps [aria-current] { color:var(--pb-accent); background:var(--pb-lilac); font-weight:700; }
#zp-photobooks .pb-wizard-steps [aria-current]::before { background:var(--pb-accent); color:white; }
#zp-photobooks .pb-builder[data-stage="editor"] .pb-wizard-steps { display:none; }
#zp-photobooks[data-builder-stage="editor"] :is(.pb-nav,.pb-crumbs) { display:none; }
#zp-photobooks[data-pb-route="konstruktor"] .pb-hero { padding:14px 0 20px; margin-bottom:8px; background:transparent; }
#zp-photobooks[data-pb-route="konstruktor"] .pb-hero h1 { font-size:clamp(30px,3.1vw,44px); }
#zp-photobooks[data-builder-stage="editor"] .pb-hero { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); }
#zp-photobooks .pb-builder[data-stage="configuration"] .pb-form { padding:clamp(14px,3vw,34px); margin-bottom:18px; }
#zp-photobooks .pb-wizard-header { margin-bottom:20px; padding-bottom:16px; text-align:center; border-bottom:1px solid var(--pb-line); }
#zp-photobooks .pb-wizard-header h2 { margin:4px 0 5px; font-size:clamp(24px,2.45vw,34px); }
#zp-photobooks .pb-wizard-header p { color:var(--pb-muted); }
#zp-photobooks .pb-visual-select { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
#zp-photobooks .pb-visual-select:focus-within { position:static; width:auto; height:auto; clip-path:none; }
#zp-photobooks .pb-parameter-choices { margin-bottom:16px; }
#zp-photobooks .pb-parameter-choices:has(.pb-format-visual) { grid-template-columns:repeat(auto-fit,minmax(114px,1fr)); }
#zp-photobooks .pb-format-visual { display:grid; place-items:center; height:86px; }
#zp-photobooks .pb-format-visual::before { content:""; display:block; width:var(--pb-format-width,54px); aspect-ratio:var(--pb-format-ratio); border:2px solid currentColor; border-radius:2px; }
#zp-photobooks .pb-wizard-footer { display:flex; justify-content:space-between; gap:12px; margin-top:20px; }
#zp-photobooks .pb-wizard-review { margin:0; }
#zp-photobooks .pb-wizard-review div { display:grid; grid-template-columns:minmax(130px, 1fr) minmax(0,2fr); padding:9px 0; border-bottom:1px solid var(--pb-line); }
#zp-photobooks .pb-wizard-review dt { font-weight:700; }
#zp-photobooks .pb-wizard-review dd { margin:0; }
#zp-photobooks .pb-wizard-choices { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
#zp-photobooks .pb-wizard-choices button { border:1px solid var(--pb-line); background:#fff; color:var(--pb-ink); padding:8px; border-radius:8px; font:inherit; text-align:left; cursor:pointer; }
#zp-photobooks .pb-wizard-choices [aria-pressed=true] { outline:2px solid var(--pb-accent); outline-offset:-2px; background:var(--pb-lilac); }
#zp-photobooks .pb-wizard-choices button:focus-visible { outline-offset:2px; }
#zp-photobooks .pb-wizard-choices img { display:block; width:100%; aspect-ratio:1.65; object-fit:cover; margin-bottom:5px; border-radius:4px; }
#zp-photobooks .pb-wizard-choices small { display:block; color:var(--pb-muted); }
#zp-photobooks .pb-work-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:12px; }
#zp-photobooks .pb-work-toolbar h2 { margin:0 auto 0 0; font-size:clamp(20px,2.4vw,29px); }
#zp-photobooks [data-draft-status]:not(:empty) { margin:0 0 8px; }
#zp-photobooks .pb-work-toolbar [data-editor-price]:not(:empty) { padding-inline-start:8px; }
#zp-photobooks .pb-work-toolbar .pb-button, #zp-photobooks .pb-work-panel .pb-button { font-size:14px; min-height:36px; padding:6px 12px; border-radius:6px; }
#zp-photobooks .pb-workspace { display:grid; grid-template-columns:82px minmax(160px,235px) minmax(0,1fr); border:1px solid var(--pb-line); border-radius:7px; overflow:hidden; }
#zp-photobooks .pb-work-rail { display:flex; flex-direction:column; background:var(--pb-surface); }
#zp-photobooks .pb-work-rail button { border:0; border-bottom:1px solid var(--pb-line); background:transparent; color:var(--pb-ink); padding:13px 4px; cursor:pointer; font:inherit; font-size:14px; }
#zp-photobooks .pb-work-rail button[aria-pressed=true] { background:#49345f; color:#fff; }
#zp-photobooks .pb-work-panel { min-width:0; padding:14px; border-right:1px solid var(--pb-line); }
#zp-photobooks .pb-work-panel .pb-fields { grid-template-columns:1fr; gap:7px; }
#zp-photobooks .pb-work-panel .pb-actions { gap:6px; margin-top:8px; }
#zp-photobooks .pb-work-stage { min-width:0; background:var(--pb-surface); padding:14px; overflow:auto; }
#zp-photobooks .pb-stage-head { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px; font-size:14px; color:var(--pb-muted); }
#zp-photobooks .pb-stage-head .pb-button { min-height:32px; padding:4px 10px; }
#zp-photobooks .pb-dropzone { padding:12px; border:1px dashed var(--pb-line); border-radius:6px; }
#zp-photobooks .pb-dropzone[data-dragging] { border-color:var(--pb-accent); background:var(--pb-lilac); }
#zp-photobooks .pb-dropzone p { margin-top:7px; }
#zp-photobooks .pb-work-stage .pb-editor-figure { min-height:200px; }
#zp-photobooks .pb-work-stage .pb-sheet { --pb-stage-height:clamp(250px,37svh,430px); width:min(100%,calc(680px * var(--pb-zoom,1)),calc(var(--pb-stage-height) * var(--pb-ratio,1.8) * var(--pb-zoom,1))); max-height:none; box-shadow:0 3px 10px #392f4229; }
#zp-photobooks .pb-work-stage .pb-sheet[data-layout="cover"] { width:min(100%,calc(380px * var(--pb-zoom,1)),calc(var(--pb-stage-height) * var(--pb-ratio,1) * var(--pb-zoom,1))); }
#zp-photobooks .pb-work-stage .pb-sheet[data-layout="blank"] { grid-template-columns:1fr; }
#zp-photobooks .pb-work-stage .pb-sheet .pb-slot-active { outline:1px solid var(--pb-accent); }
#zp-photobooks .pb-work-stage .pb-sheet [data-slot] { cursor:pointer; }
#zp-photobooks .pb-work-stage [data-editor-object] { position:absolute; z-index:2; border:2px solid #52346d; background:transparent; padding:0; color:var(--pb-ink); cursor:grab; touch-action:none; overflow:hidden; font:inherit; }
#zp-photobooks .pb-work-stage [data-editor-object="ellipse"] { border-radius:50%; }
#zp-photobooks .pb-work-stage [data-editor-object="text"] { display:flex; align-items:center; border:0; }
#zp-photobooks .pb-work-stage .pb-object-selected { outline:1px dashed var(--pb-accent); outline-offset:2px; }
#zp-photobooks .pb-work-pages { display:flex; gap:8px; padding:7px; margin:8px 0; overflow-x:auto; }
#zp-photobooks .pb-work-pages button { flex:0 0 90px; padding:4px; text-align:center; color:var(--pb-ink); background:#fff; border:1px solid var(--pb-line); cursor:pointer; font:inherit; font-size:13px; }
#zp-photobooks .pb-work-pages [aria-current] { outline:2px solid var(--pb-accent); outline-offset:-1px; }
#zp-photobooks .pb-work-pages span { display:block; aspect-ratio:1.7; }
#zp-photobooks .pb-work-pages img { display:block; width:100%; height:48px; object-fit:contain; }
#zp-photobooks .pb-photo-library { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; max-height:360px; overflow-y:auto; margin:8px 0; }
#zp-photobooks .pb-photo-library button { display:block; padding:2px; border:1px solid var(--pb-line); background:#fff; cursor:pointer; min-width:0; }
#zp-photobooks .pb-photo-library img { display:block; width:100%; aspect-ratio:1.2; object-fit:contain; }
#zp-photobooks .pb-editor-dialog { border:1px solid var(--pb-line); border-radius:10px; width:min(900px,calc(100% - 24px)); max-height:90vh; padding:14px; }
#zp-photobooks .pb-editor-dialog::backdrop { background:#251a30aa; }
#zp-photobooks .pb-editor-dialog > img { display:block; margin:auto; max-width:100%; max-height:62vh; }
#zp-photobooks .pb-page-actions input[type=range] { width:110px; }
@media(max-width:780px) {
  #zp-photobooks .pb-workspace { grid-template-columns:1fr; }
  #zp-photobooks .pb-work-rail { flex-direction:row; }
  #zp-photobooks .pb-work-rail button { flex:1; }
  #zp-photobooks .pb-work-panel { border-right:0; border-bottom:1px solid var(--pb-line); }
  #zp-photobooks .pb-photo-library { grid-template-columns:repeat(4,minmax(0,1fr)); max-height:180px; }
}
@media(max-width:450px) {
  #zp-photobooks .pb-work-panel,#zp-photobooks .pb-work-stage { padding:8px; }
  #zp-photobooks .pb-wizard-choices { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #zp-photobooks .pb-wizard-choices button { font-size:15px; }
}
@media(max-width:700px) {
  #zp-photobooks .pb-hero-article { grid-template-columns:minmax(0,1fr); gap:12px; }
  #zp-photobooks .pb-builder[data-stage="configuration"] { grid-template-columns:minmax(0,1fr); }
  #zp-photobooks .pb-wizard-steps ol { display:flex; overflow-x:auto; }
  #zp-photobooks .pb-wizard-steps li { flex:none; }
  #zp-photobooks .pb-wizard-steps button { padding:11px 8px; border-bottom:0; min-height:45px; }
  #zp-photobooks .pb-wizard-steps [aria-current] { box-shadow:inset 0 -3px var(--pb-accent); }
  #zp-photobooks .pb-order-steps { grid-template-columns:1fr; }
  #zp-photobooks .pb-topic-model .pb-card > a { grid-template-columns:minmax(0,1fr); }
}
#zp-photobooks .pb-year {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:14px}
#zp-photobooks .pb-year table {width:100%;min-width:0;background:white;border:1px solid var(--pb-line);border-collapse:collapse;font-size:14px;text-align:center}
#zp-photobooks .pb-year caption {background:var(--pb-lilac);padding:8px 4px;font-weight:700}
#zp-photobooks .pb-year th,#zp-photobooks .pb-year td {padding:3px;border:0}
#zp-photobooks .pb-year tr > :nth-child(n+6) {color:var(--pb-accent)}
#zp-photobooks .pb-style-card {background:#fff;border:1px solid var(--pb-line);border-radius:8px;overflow:hidden;padding:0 0 14px}
#zp-photobooks .pb-style-card img {display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;margin-bottom:10px}
#zp-photobooks .pb-style-card h3,#zp-photobooks .pb-style-card p,#zp-photobooks .pb-style-card a {margin-inline:12px}
#zp-photobooks .pb-style-card a {margin-top:8px}
#zp-photobooks .pb-printed-calendar {position:relative;margin:0;container-type:inline-size;overflow:hidden;border-radius:8px;background:#e7ded5;color:#262528}
#zp-photobooks .pb-printed-calendar > img {display:block;width:100%;height:auto}
#zp-photobooks .pb-home-band > .pb-printed-calendar {order:-1}
#zp-photobooks .pb-home-band .pb-printed-calendar div {padding:0}
#zp-photobooks .pb-home-band .pb-printed-calendar img {aspect-ratio:auto;object-fit:contain}
#zp-photobooks .pb-card a > .pb-printed-calendar { padding:0; }
#zp-photobooks .pb-card .pb-printed-calendar img {aspect-ratio:auto;object-fit:contain}
#zp-photobooks .pb-print-year,#zp-photobooks .pb-print-single,#zp-photobooks .pb-print-quarter-month {position:absolute;line-height:1.14;color:#292524}
#zp-photobooks .pb-print-year {left:16.8%;width:62%;top:53.5%;height:25%;text-align:center}
#zp-photobooks .pb-print-year > strong {font-size:3.25cqw;letter-spacing:.18em}
#zp-photobooks .pb-print-year > div {display:grid;grid-template-columns:repeat(4,1fr);gap:1cqw .7cqw;padding-top:.5cqw}
#zp-photobooks .pb-print-cal-new-year-2027 .pb-print-year {
  top: 55%;
  left: 18%;
  width: 60%;
  height: auto;
  line-height: 1;
}
#zp-photobooks .pb-print-cal-new-year-2027 .pb-print-year > strong { display: block; }
#zp-photobooks .pb-print-cal-new-year-2027 .pb-print-year > div { gap: .65cqw; padding-top: .75cqw; }
#zp-photobooks .pb-print-cal-new-year-2027 .pb-printed-month { font-size: 1.1cqw; }
#zp-photobooks .pb-print-cal-new-year-2027 .pb-printed-month > div { gap: .13cqw; }
#zp-photobooks .pb-printed-month > strong {display:block;padding-bottom:.3cqw;font-size:1em}
#zp-photobooks .pb-printed-month {font-family:"HD DIN",sans-serif;font-size:1.45cqw;text-align:center}
#zp-photobooks .pb-printed-month > div {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.22cqw}
#zp-photobooks .pb-printed-month b:nth-child(7n+6),#zp-photobooks .pb-printed-month span:nth-child(7n+6),#zp-photobooks .pb-printed-month b:nth-child(7n),#zp-photobooks .pb-printed-month span:nth-child(7n) {color:#9e261e}
#zp-photobooks .pb-print-single {top:59%;left:34%;width:28%;text-align:center}
#zp-photobooks .pb-print-single > strong {display:block;font-size:2.4cqw;margin-bottom:.3cqw}
#zp-photobooks .pb-print-single .pb-printed-month {font-size:1.6cqw}
#zp-photobooks .pb-print-cal-new-year-fir .pb-print-single {top:56%;left:35%;width:24%}
#zp-photobooks .pb-print-cal-new-year-fir .pb-print-single .pb-printed-month {font-size:1.25cqw}
#zp-photobooks .pb-print-style-vintage-calendar-coast .pb-print-single,#zp-photobooks .pb-print-style-geometry-clean .pb-print-single {background:#f7e9d4f2;border-radius:2px;padding:.9cqw 1.75cqw}
#zp-photobooks .pb-print-cal-a3-coast-clean .pb-print-single {
  top:64%; left:33.1%; width:33.6%; height:23.7%; padding:.55cqw 3.5cqw;
  background:#f6f2e9; box-sizing:border-box;
}
#zp-photobooks .pb-print-cal-a3-coast-clean .pb-print-single > strong {font-size:1.7cqw}
#zp-photobooks .pb-print-cal-a3-coast-clean .pb-printed-month {font-size:1.18cqw}
#zp-photobooks .pb-print-style-vintage-calendar-coast .pb-print-single {top:62%;left:37%;width:31%}
#zp-photobooks .pb-print-style-geometry-clean .pb-print-single {top:59%;left:34%;width:31%}
#zp-photobooks .pb-print-cal-a2-birches-2027 .pb-print-single {top:57%;left:32%;width:36%}
#zp-photobooks .pb-print-cal-a2-birches-2027 .pb-print-single .pb-printed-month {font-size:2.4cqw}
#zp-photobooks .pb-print-cal-child-2027 .pb-print-single {top:58%;left:33%;width:29.5%;line-height:1.12}
#zp-photobooks .pb-printed-calendar.pb-print-cal-child-2027 {align-self:start}
#zp-photobooks .pb-print-cal-child-2027 .pb-print-single > strong {font-size:2.1cqw}
#zp-photobooks .pb-print-cal-child-2027 .pb-print-single .pb-printed-month {font-size:1.45cqw}
#zp-photobooks .pb-print-cal-child-2027 .pb-printed-month > div {row-gap:.24cqw}
#zp-photobooks .pb-print-cal-landscape-2027 .pb-print-year {top:15%;left:57%;width:32.5%;height:auto}
#zp-photobooks .pb-print-cal-landscape-2027 .pb-print-year > div {grid-template-columns:repeat(3,minmax(0,1fr));gap:1.15cqw 1.1cqw}
#zp-photobooks .pb-print-cal-landscape-2027 .pb-printed-month {font-size:1.12cqw;line-height:1.08}
#zp-photobooks .pb-print-cal-landscape-2027 .pb-printed-month b {font-size:.83em}
#zp-photobooks .pb-print-cal-landscape-2027 .pb-printed-month > div {column-gap:0}
#zp-photobooks .pb-print-label {position:absolute;top:3.8%;right:15%;background:#212720b0;color:#fff;padding:.3cqw 1cqw;font-size:3.6cqw;font-weight:700}
#zp-photobooks .pb-print-quarter-month {left:30%;width:42%;top:29%}
#zp-photobooks .pb-print-quarter-month:nth-of-type(2) {top:49.5%}
#zp-photobooks .pb-print-quarter-month:nth-of-type(3) {top:70%}
#zp-photobooks .pb-print-quarter-month .pb-printed-month {font-size:2.7cqw}
#zp-photobooks .pb-print-quarter-month .pb-printed-month > div {gap:.35cqw}
#zp-photobooks .pb-sheet[data-layout=feature-left] [data-slot="0"],#zp-photobooks .pb-sheet[data-layout=feature-right] [data-slot="2"] {grid-row:span 2}
#zp-photobooks .pb-sheet[data-layout=feature-right] [data-slot="1"] {grid-area:2/1}
#zp-photobooks .pb-sheet[data-layout=feature-right] [data-slot="2"] {grid-column:2;grid-row:1/span 2}
#zp-photobooks .pb-sheet[data-layout=triptych],#zp-photobooks .pb-sheet[data-layout=six] {grid-template-columns:repeat(3,minmax(0,1fr))}
#zp-photobooks .pb-sheet[data-layout=strip] [data-slot="0"] {grid-column:span 2}
#zp-photobooks .pb-layout-picker {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#zp-photobooks .pb-layout-picker[hidden] {display:none}
#zp-photobooks .pb-layout-picker button {display:block;padding:5px;min-height:38px;border:1px solid #cbbdd2;border-radius:5px;background:#fff;cursor:pointer}
#zp-photobooks .pb-layout-picker button[aria-pressed=true] {border-color:var(--pb-accent);outline:1px solid var(--pb-accent)}
#zp-photobooks .pb-sheet[data-pattern=vintage] {background-image:repeating-linear-gradient(0deg,transparent 0 6px,#855a2e26 7px 8px),repeating-linear-gradient(90deg,transparent 0 6px,#855a2e18 7px 8px)}
#zp-photobooks .pb-sheet[data-pattern=geometry] {background-image:linear-gradient(135deg,transparent 66%,#72bcb6 66%),linear-gradient(#d98066,#d98066);background-size:100% 100%,20% 14%;background-repeat:no-repeat}
#zp-photobooks .pb-sheet[data-pattern=kids] {background-image:radial-gradient(circle,#bd618145 18%,transparent 20%);background-size:6% 10%}
#zp-photobooks .pb-sheet[data-pattern=linen] {background-image:repeating-linear-gradient(0deg,transparent 0 5px,#8e7d611c 6px),repeating-linear-gradient(90deg,transparent 0 3px,#8e7d6121 4px)}
#zp-photobooks .pb-sheet[data-pattern=night] {background-image:linear-gradient(25deg,#151831,#614b76)}

/* Storefront */
#zp-photobooks {
  --pb-ink: #231d27;
  --pb-muted: #504950;
  --pb-surface: #f7f5f8;
  --pb-lilac: #f2eaf7;
  background: #fff;
  padding-top: 0;
}
#zp-photobooks .pb-wrap { width: min(1380px, 100% - clamp(28px,5vw,80px)); }
#zp-photobooks .pb-nav { margin-inline: 0; border-radius: 0; border-bottom: 1px solid var(--pb-line); background: #fff; padding: 8px 0; }
#zp-photobooks .pb-nav a { padding-block: 12px; font-weight: 500; }
#zp-photobooks .pb-nav a.pb-nav-cta { padding: 8px 16px; }
#zp-photobooks .pb-crumbs ol { margin-block: 15px 22px; }
#zp-photobooks :is(.pb-hero-media,.pb-hero-plain):not(.pb-hero-product) { background: var(--pb-surface); }
#zp-photobooks .pb-hero-media { grid-template-columns: minmax(0,1fr) minmax(0,1fr); border-radius: 16px; }
#zp-photobooks .pb-hero-media .pb-hero-copy { padding: clamp(23px,3.8vw,60px); }
#zp-photobooks .pb-hero-media > figure:not(.pb-printed-calendar) img { min-height: 0; object-fit: cover; }
#zp-photobooks .pb-hero-media .pb-hero-copy p { line-height: 1.55; }
#zp-photobooks .pb-hero-plain { border-radius: 14px; }
#zp-photobooks .pb-hero-product { background: #fff; overflow: visible; align-items: start; grid-template-columns: minmax(0,1.16fr) minmax(0,.84fr); gap: clamp(22px,3.3vw,52px); }
#zp-photobooks .pb-hero-product .pb-hero-copy { align-self: start; padding: 4px 0 0; }
#zp-photobooks .pb-hero-product h1 { font-size: clamp(1.875rem,2.85vw,2.625rem); text-wrap: wrap; }
#zp-photobooks .pb-hero-product .pb-heading-line { display: grid; gap: 8px; }
#zp-photobooks .pb-hero-product .pb-hero-price { font-size: clamp(1.25rem,1.8vw,1.625rem); margin: 0; line-height: 1.24; }
#zp-photobooks .pb-hero-product > :is(figure,.pb-product-media) { grid-area: photo; min-width: 0; border-radius: 12px; }
#zp-photobooks .pb-product-photo { display: block; }
#zp-photobooks .pb-product-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: var(--pb-surface); border-radius: 12px; }
#zp-photobooks .pb-product-thumbs { display: flex; gap: 9px; overflow-x: auto; padding: 4px 3px 8px; }
#zp-photobooks .pb-product-thumbs button { flex: 0 0 clamp(57px,7vw,99px); padding: 2px; border: 1px solid var(--pb-line); border-radius: 7px; background: #fff; cursor: pointer; }
#zp-photobooks .pb-product-thumbs [aria-pressed="true"] { border-color: var(--pb-accent); box-shadow: 0 0 0 1px var(--pb-accent); }
#zp-photobooks .pb-product-thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
#zp-photobooks .pb-model-quote { margin-top: 24px; padding: clamp(13px,2.25vw,26px); border: 1px solid var(--pb-line); background: var(--pb-surface); border-radius: 12px; }
#zp-photobooks .pb-product-links { display: grid; gap: 7px; margin-top: 22px; }
#zp-photobooks .pb-product-links a { display: flex; gap: 10px; justify-content: space-between; padding: 10px 13px; color: var(--pb-ink); border: 1px solid var(--pb-line); border-radius: 7px; text-decoration: none; }
#zp-photobooks .pb-product-links a::after { content: "→"; color: var(--pb-accent); }
#zp-photobooks .pb-product-links a:hover { background: var(--pb-surface); color: var(--pb-accent); }
#zp-photobooks .pb-category-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: clamp(10px,1.3vw,20px); margin-block: 25px clamp(42px,6vw,76px); }
#zp-photobooks .pb-category-grid a { min-width: 0; display: grid; align-content: start; gap: 9px; color: var(--pb-ink); font-weight: 700; text-decoration: none; }
#zp-photobooks .pb-category-grid img { display: block; width: 100%; height: auto; aspect-ratio: 1.62; object-fit: cover; border-radius: 10px; }
#zp-photobooks .pb-category-grid a:hover span { color: var(--pb-accent); text-decoration: underline; }
#zp-photobooks .pb-catalog-layout { display: grid; grid-template-columns: minmax(175px,.27fr) minmax(0,1fr); gap: clamp(14px,2.7vw,38px); align-items: start; }
#zp-photobooks .pb-catalog-layout > div { min-width: 0; }
#zp-photobooks .pb-filters { grid-template-columns: minmax(0,1fr); gap: 15px; background: var(--pb-surface); margin: 0; }
#zp-photobooks .pb-filter-title { font-weight: 700; font-size: 18px; }
#zp-photobooks .pb-result { background: #fff; border: 1px solid var(--pb-line); border-radius: 12px; overflow: hidden; }
#zp-photobooks .pb-result .pb-card { border: none; border-radius: 0; }
#zp-photobooks .pb-result [data-match] { margin: 0 14px 14px; }
#zp-photobooks .pb-card { border-radius: 12px; overflow: hidden; }
#zp-photobooks .pb-card .pb-card-media { padding: 0; overflow: hidden; }
#zp-photobooks .pb-card .pb-card-media img { border-radius: 0; }
#zp-photobooks .pb-card .pb-card-media img { transition: transform .36s cubic-bezier(.19,1,.22,1); }
@media (hover:hover) {
  #zp-photobooks .pb-card a:hover .pb-card-media img { transform: scale(1.035); }
}
#zp-photobooks .pb-page-body > .pb-section + .pb-section { border-top: 1px solid var(--pb-line); padding-top: clamp(20px,2.65vw,36px); }
#zp-photobooks .pb-theme-section, #zp-photobooks .pb-topic-notes { background: var(--pb-surface); border-radius: 14px; }
#zp-photobooks[data-pb-family="topic"] .pb-hero-media { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); }
#zp-photobooks[data-pb-family="topic"] .pb-page-body > .pb-section .pb-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
#zp-photobooks[data-pb-family="topic"] .pb-page-body > .pb-section .pb-gallery img { aspect-ratio: 3 / 2; object-fit: contain; background: var(--pb-surface); }
#zp-photobooks .pb-reading:has(.pb-article-outline) { display: grid; grid-template-columns: minmax(180px,260px) minmax(0,70ch); justify-content: center; align-items: start; gap: clamp(25px,4vw,68px); max-width: none; }
#zp-photobooks .pb-article-outline { padding: 18px; background: var(--pb-surface); border: 1px solid var(--pb-line); border-radius: 12px; }
#zp-photobooks .pb-article-outline .pb-jumps { display: grid; gap: 4px; border: 0; margin: 10px 0 0; padding: 0; }
#zp-photobooks .pb-article-outline .pb-jumps a { padding: 3px 0; border: 0; }
#zp-photobooks [data-pb-gallery-dialog][open], #zp-photobooks [data-editor-dialog][open] { animation: pb-open .24s cubic-bezier(.19,1,.22,1); }
@keyframes pb-open { from { opacity: .2; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Editor */
#zp-photobooks[data-builder-stage="editor"] .pb-wrap { width: min(1550px,100% - 28px); }
#zp-photobooks .pb-preview { padding: clamp(9px,1.7vw,24px); border-radius: 12px; }
#zp-photobooks .pb-work-toolbar { padding-bottom: 12px; border-bottom: 1px solid var(--pb-line); }
#zp-photobooks .pb-work-toolbar [data-full-preview] { scroll-margin-top: 120px; }
#zp-photobooks .pb-workspace { grid-template-columns: 83px minmax(175px,245px) minmax(0,1fr); }
#zp-photobooks .pb-work-stage { background: linear-gradient(180deg,#f8f7f9,#f0edf2); }
#zp-photobooks .pb-stage-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding: 8px; border-block: 1px solid var(--pb-line); background: #fff; }
#zp-photobooks .pb-stage-toolbar .pb-pager { margin: 0; }
#zp-photobooks .pb-stage-toolbar label { display: flex; align-items: center; gap: 6px; }
#zp-photobooks .pb-stage-toolbar input[type="range"] { width: 104px; }
#zp-photobooks .pb-filmstrip { display: grid; grid-template-columns: minmax(0,1fr) max-content; gap: 8px; padding: 5px 0; }
#zp-photobooks .pb-filmstrip .pb-work-pages { min-width: 0; margin: 0; }
#zp-photobooks .pb-filmstrip .pb-page-actions { display: grid; align-content: start; gap: 4px; }
#zp-photobooks .pb-stage-toolbar .pb-button,#zp-photobooks .pb-filmstrip .pb-button { min-height: 34px; padding: 4px 10px; font-size: 14px; }
#zp-photobooks .pb-preview .pb-sheet { transition: width .18s ease; }
#zp-photobooks .pb-work-pages button:not([aria-current]) { border-color: transparent; }
#zp-photobooks .pb-work-pages button { border-radius: 4px; }
@media (max-width: 850px) {
  #zp-photobooks .pb-workspace { grid-template-columns: minmax(0,1fr); }
  #zp-photobooks .pb-category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  #zp-photobooks .pb-reading:has(.pb-article-outline) { grid-template-columns: minmax(0,1fr); gap: 28px; }
}
@media (max-width: 650px) {
  #zp-photobooks .pb-hero-media, #zp-photobooks[data-pb-family="topic"] .pb-hero-media { grid-template-columns: minmax(0,1fr); grid-template-areas: "photo" "copy"; }
  #zp-photobooks .pb-hero-product { grid-template-areas: "photo" "copy"; }
  #zp-photobooks .pb-hero-product .pb-hero-copy { padding: 0; }
  #zp-photobooks .pb-catalog-layout { grid-template-columns: minmax(0,1fr); }
  #zp-photobooks .pb-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #zp-photobooks .pb-filter-title { grid-column: 1 / -1; }
  #zp-photobooks .pb-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #zp-photobooks .pb-filmstrip { grid-template-columns: minmax(0,1fr); }
  #zp-photobooks .pb-filmstrip .pb-page-actions { grid-template-columns: repeat(auto-fit,minmax(88px,1fr)); }
  #zp-photobooks .pb-work-toolbar h2 { flex: 1 0 60%; }
  #zp-photobooks .pb-work-toolbar [data-review-order] { flex: 1 1 100%; }
  #zp-photobooks .pb-stage-toolbar { justify-content: start; }
}
@media (prefers-reduced-motion: reduce) {
  #zp-photobooks .pb-card .pb-card-media img,#zp-photobooks .pb-preview .pb-sheet { transition: none; }
  #zp-photobooks .pb-card a:hover .pb-card-media img { transform: none; }
  #zp-photobooks [data-pb-gallery-dialog][open],#zp-photobooks [data-editor-dialog][open] { animation: none; }
}

#zp-photobooks .pb-faq-list { border-block-start: 1px solid var(--pb-line); }
#zp-photobooks .pb-faq-list .pb-disclosure { margin: 0; border: 0; border-block-end: 1px solid var(--pb-line); border-radius: 0; }
#zp-photobooks .pb-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 54px;
  padding: 14px var(--pb-disclosure-gutter);
  list-style: none;
  line-height: 1.3;
}
#zp-photobooks .pb-disclosure > summary::-webkit-details-marker { display: none; }
#zp-photobooks .pb-disclosure > summary::after {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  margin-inline-end: 3px;
}
#zp-photobooks .pb-disclosure[open] > summary::after { transform: rotate(225deg); }
#zp-photobooks .pb-disclosure > summary:hover,
#zp-photobooks .pb-disclosure[open] > summary { color: var(--pb-accent); background: var(--pb-surface); }
#zp-photobooks .pb-disclosure-body { padding: 0 var(--pb-disclosure-gutter) 16px; }
#zp-photobooks .pb-disclosure-body > p + p { margin-top: 8px; }
#zp-photobooks .pb-faq-list summary { font-weight: 500; font-size: clamp(1.0625rem,1.45vw,1.25rem); }
#zp-photobooks .pb-faq-list .pb-disclosure-body { padding-top: 12px; padding-bottom: 20px; }
#zp-photobooks .pb-faq-list .pb-disclosure-body p { max-width: 68ch; font-size: 1.125rem; line-height: 1.6; }
#zp-photobooks:is([data-pb-route="faq"],[data-pb-route="dostavka"]) .pb-page-body { max-width: 940px; margin-inline: auto; }
#zp-photobooks[data-pb-route="faq"] .pb-hero-plain { padding: clamp(18px,3vw,34px); margin-bottom: 28px; }
#zp-photobooks[data-pb-route="faq"] .pb-hero-plain h1 { font-size: clamp(1.8125rem,3.2vw,2.75rem); }
#zp-photobooks .pb-faq-section h2 { margin-bottom: 14px; }
#zp-photobooks .pb-model-details { margin-bottom: 22px; scroll-margin-top: 85px; }
#zp-photobooks .pb-variants { scroll-margin-top: 85px; }
#zp-photobooks .pb-variants summary small { display: block; color: var(--pb-muted); margin-top: 4px; font-weight: 400; }
#zp-photobooks .pb-variant-list { list-style: none; margin: 0 0 12px; padding: 0; }
#zp-photobooks .pb-variant-list li { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr) minmax(90px,.5fr) auto; align-items: center; gap: 10px 18px; padding: 12px 0; border-bottom: 1px solid var(--pb-line); }
#zp-photobooks .pb-variant-list small { display: block; color: var(--pb-muted); }
#zp-photobooks .pb-variant-price { white-space: nowrap; font-variant-numeric: tabular-nums; }
#zp-photobooks .pb-compact-gallery .pb-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
#zp-photobooks .pb-compact-gallery img { aspect-ratio: 3 / 2; object-fit: contain; background: var(--pb-surface); }
#zp-photobooks .pb-gallery-more { margin: 14px 0 0; }
#zp-photobooks .pb-gallery-more .pb-disclosure-body { padding-top: 12px; }
#zp-photobooks .pb-product-photo img { aspect-ratio: 1.65; }
#zp-photobooks .pb-product-photo figcaption { margin-top: 4px; min-height: 0; }
#zp-photobooks .pb-product-controls { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
#zp-photobooks .pb-product-controls > span { flex: none; font-size: .9375rem; color: var(--pb-muted); font-variant-numeric: tabular-nums; }
#zp-photobooks .pb-product-thumbs { flex: 1 1 auto; min-width: 0; gap: 7px; }
#zp-photobooks .pb-product-thumbs button { flex-basis: clamp(57px,6vw,81px); }

#zp-photobooks .pb-model-specs {
  grid-template-columns: minmax(0,1fr);
  max-width: 860px;
  gap: 0;
  border-top: 1px solid var(--pb-line);
}
#zp-photobooks .pb-model-specs > div {
  display: grid;
  grid-template-columns: minmax(130px,1fr) minmax(0,2.4fr);
  gap: 4px 24px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--pb-line);
  border-radius: 0;
}
#zp-photobooks .pb-model-specs dt { font-size: 1rem; font-weight: 500; }
#zp-photobooks .pb-model-specs dd { margin: 0; }
#zp-photobooks .pb-wizard-choices button small { color: var(--pb-accent); }
#zp-photobooks .pb-wizard-choices button { padding: 12px; font-size: 1rem; line-height: 1.4; }
#zp-photobooks .pb-wizard-choices button small { margin-top: 4px; font-size: .9375rem; font-weight: 500; }
#zp-photobooks .pb-wizard-header { text-align: start; }
#zp-photobooks .pb-article-chapters .pb-section > :is(p,ul,ol) { max-width: 64ch; }
#zp-photobooks .pb-article-outline .pb-jumps a { font-size: 1rem; line-height: 1.4; padding-block: 6px; }
#zp-photobooks .pb-blog-feature .pb-card h3 { font-size: clamp(1.5rem,2.5vw,2.25rem); }
#zp-photobooks .pb-blog-list .pb-card img { aspect-ratio: 16 / 10; }
#zp-photobooks .pb-blog-list .pb-card p { margin-block: 8px 12px; }
#zp-photobooks[data-pb-route="blog"] .pb-hero-plain { margin-bottom: 20px; }

@media (min-width: 1000px) {
  #zp-photobooks .pb-article-outline { position: sticky; top: 104px; }
  #zp-photobooks .pb-catalog-layout .pb-filters { position: sticky; top: 104px; }
  #zp-photobooks .pb-gallery-overview,
  #zp-photobooks .pb-compact-gallery .pb-gallery-overview { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
}
@media (max-width: 600px) {
  #zp-photobooks .pb-variant-list li { grid-template-columns: minmax(0,1fr) auto; gap: 6px 10px; }
  #zp-photobooks .pb-variant-list li > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  #zp-photobooks .pb-variant-list li > a { justify-self: start; }
  #zp-photobooks .pb-compact-gallery .pb-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #zp-photobooks .pb-model-specs > div { grid-template-columns: minmax(0,1fr); }
}

/* Themes and photobook journal */
#zp-photobooks .pb-topic-examples {
  display: grid;
  grid-template-columns: minmax(0,1.75fr) minmax(0,1fr);
  gap: clamp(24px,3.7vw,54px);
  align-items: start;
  margin-block: 24px clamp(32px,5vw,66px);
}
#zp-photobooks .pb-topic-examples .pb-section { margin-bottom: 0; }
#zp-photobooks .pb-topic-examples .pb-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(10px,1.7vw,22px); }
#zp-photobooks .pb-topic-examples .pb-gallery img { aspect-ratio: 1.5; object-fit: contain; background: var(--pb-surface); }
#zp-photobooks .pb-topic-examples .pb-gallery figcaption { font-size: 1rem; }
#zp-photobooks .pb-topic-shots { border-top: 1px solid var(--pb-line); padding-top: 14px; }
#zp-photobooks .pb-topic-shots h2 { font-size: clamp(1.25rem,1.8vw,1.625rem); }
#zp-photobooks .pb-editorial-list { margin-block: 12px 0; }
#zp-photobooks .pb-editorial-list li::marker { color: var(--pb-accent); }
#zp-photobooks .pb-topic-shots > a { display: inline-block; margin-top: 16px; }
#zp-photobooks .pb-topic-notes > p { max-width: 74ch; }
#zp-photobooks .pb-topic-notes-list {
  display: grid;
  gap: 16px 38px;
  margin-block: 20px;
  padding-block: 18px;
  border-block: 1px solid var(--pb-line);
}
#zp-photobooks .pb-topic-notes-list h3 { margin-bottom: 6px; }
#zp-photobooks .pb-topic-model-links, #zp-photobooks .pb-article-action { margin-top: 18px; }
#zp-photobooks .pb-topic-article .pb-card { max-width: 760px; }
#zp-photobooks .pb-topic-article .pb-card > a { display: grid; grid-template-columns: minmax(140px,.7fr) minmax(0,1.3fr); align-items: center; }
#zp-photobooks .pb-topic-article .pb-card p { margin-block: 6px 10px; }
#zp-photobooks .pb-hero .pb-occasion-date {
  color: var(--pb-accent);
  font-size: 1rem;
  font-weight: 500;
  margin-top: 10px;
}
#zp-photobooks .pb-hero .pb-byline { font-size: .9375rem; margin-top: 18px; }
#zp-photobooks .pb-blog-picks {
  display: grid;
  grid-template-columns: minmax(0,1.55fr) minmax(0,1fr);
  gap: clamp(14px,2vw,28px);
}
#zp-photobooks .pb-blog-side { display: grid; gap: 14px; }
#zp-photobooks .pb-blog-side .pb-card > a { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.25fr); align-items: stretch; }
#zp-photobooks .pb-blog-side img { height: 100%; aspect-ratio: auto; }
#zp-photobooks .pb-blog-side .pb-card-body { align-self: center; }
#zp-photobooks .pb-blog-side .pb-card-body p { margin-block: 7px 10px; }
#zp-photobooks .pb-blog-feature .pb-card { background: var(--pb-surface); }
#zp-photobooks .pb-blog-feature .pb-card img { aspect-ratio: 1.9; }
#zp-photobooks .pb-blog-feature .pb-card .pb-card-body { padding: clamp(20px,2.7vw,36px); }
#zp-photobooks[data-pb-route="blog"] .pb-hero-plain:not(.pb-hero-product) { padding: 8px 0 clamp(14px,2vw,26px); background: transparent; }
#zp-photobooks[data-pb-route="blog"] .pb-hero .pb-button { margin-top: 14px; }
#zp-photobooks .pb-article-chapters { min-width: 0; }
#zp-photobooks .pb-article-chapters .pb-chapter + .pb-chapter { border-top: 1px solid var(--pb-line); padding-top: clamp(22px,3vw,32px); }
#zp-photobooks .pb-article-chapters .pb-chapter .pb-gallery { margin-top: 20px; }
#zp-photobooks .pb-article-chapters .pb-chapter .pb-gallery img { max-height: 510px; background: var(--pb-surface); }
#zp-photobooks .pb-article-takeaways { padding: clamp(18px,3vw,34px); border-radius: 12px; background: var(--pb-surface); }
#zp-photobooks .pb-article-takeaways h2 { margin-bottom: 8px; }
#zp-photobooks .pb-theme-family { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: start; gap: clamp(16px,3vw,40px); }
#zp-photobooks .pb-theme-family > img { aspect-ratio: 1.7; object-fit: cover; }
#zp-photobooks .pb-theme-family .pb-list a { line-height: 1.35; text-decoration-thickness: 1px; }
#zp-photobooks .pb-holiday-grid .pb-card-meta { color: var(--pb-accent); font-weight: 500; }

@media (min-width: 1000px) {
  #zp-photobooks[data-pb-family="topic"] .pb-hero-media {
    grid-template-columns: minmax(0,1.24fr) minmax(0,.76fr);
    min-height: 360px;
  }
  #zp-photobooks[data-pb-family="topic"] .pb-hero-media > figure img { max-height: 520px; }
  #zp-photobooks .pb-topic-notes-list:has(> div + div) { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #zp-photobooks .pb-reading:has(.pb-article-outline) {
    grid-template-columns: minmax(190px,250px) minmax(0,820px);
    justify-content: start;
    gap: clamp(40px,5.4vw,80px);
  }
  #zp-photobooks .pb-article-outline { max-height: calc(100vh - 132px); overflow-y: auto; }
}
@media (max-width: 850px) {
  #zp-photobooks .pb-topic-examples, #zp-photobooks .pb-blog-picks { grid-template-columns: minmax(0,1fr); }
  #zp-photobooks .pb-blog-side { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #zp-photobooks .pb-blog-side .pb-card > a { grid-template-columns: minmax(0,1fr); }
  #zp-photobooks .pb-blog-side img { height: auto; aspect-ratio: 1.7; }
}
@media (max-width: 600px) {
  #zp-photobooks .pb-theme-family, #zp-photobooks .pb-blog-side, #zp-photobooks .pb-topic-article .pb-card > a { grid-template-columns: minmax(0,1fr); }
  #zp-photobooks .pb-topic-examples .pb-gallery { grid-template-columns: minmax(0,1fr); gap: 16px; }
  #zp-photobooks .pb-article-outline { padding: 14px 18px; }
}

/* Rectangles and type on the printed sheet */
#zp-photobooks .pb-work-stage .pb-object-copy { display:block; width:100%; min-width:0; background:none; border:0; color:inherit; font:inherit; text-align:inherit; white-space:pre; }
#zp-photobooks .pb-work-stage .pb-sheet { container-type:inline-size; }
#zp-photobooks .pb-work-stage .pb-sheet img[data-slot] { min-width:0; min-height:0; }
#zp-photobooks .pb-rotated-frame { overflow:hidden; min-width:0; min-height:0; }
#zp-photobooks .pb-object-tools { border-top:1px solid var(--pb-line); padding-top:14px; margin-top:18px; }
#zp-photobooks .pb-object-geometry { margin:4px 0; }
#zp-photobooks .pb-object-geometry .pb-fields { grid-template-columns:repeat(2,minmax(0,1fr)); padding:0 10px 10px; }
#zp-photobooks .pb-work-panel [data-tool-panel] label + label { margin-top:10px; }
#zp-photobooks .pb-work-panel [data-add-text] { margin-top:12px; }
#zp-photobooks .pb-layout-icon { display:grid; gap:2px; width:100%; height:26px; }
#zp-photobooks .pb-layout-icon > span { background:#d3bedc; border-radius:1px; }
#zp-photobooks .pb-layout-picker [data-layout-choice=blank] .pb-layout-icon > span { background:none; border:1px dashed var(--pb-line); }
#zp-photobooks .pb-object-tools[data-visible-panel="photos"],
#zp-photobooks .pb-object-tools[data-visible-panel="layouts"],
#zp-photobooks .pb-object-tools[data-visible-panel="backgrounds"],
#zp-photobooks .pb-object-tools[data-visible-panel="text"][data-object-panel="frames"],
#zp-photobooks .pb-object-tools[data-visible-panel="frames"][data-object-panel="text"] { display:none; }
#zp-photobooks .pb-custom-layout { margin-top:12px; }
#zp-photobooks .pb-custom-layout .pb-fields { padding:0 12px 12px; }
#zp-photobooks .pb-preview-nav { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin-bottom:12px; }
#zp-photobooks .pb-preview-nav form { margin-left:auto; }
#zp-photobooks .pb-turn-stage { position:relative; overflow:hidden; display:grid; place-items:center; min-height:130px; background:var(--pb-surface); touch-action:pan-y pinch-zoom; }
#zp-photobooks .pb-turn-stage img { display:block; width:auto; height:auto; max-width:100%; max-height:62vh; }
#zp-photobooks .pb-turn-stage .pb-turned-leaf { position:absolute; max-width:none; max-height:none; pointer-events:none; }

/* Photo boxes */
#zp-photobooks .pb-frame-bar { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:12px; }
#zp-photobooks .pb-frame-bar .pb-button { min-height:38px; padding:5px 12px; font-size:.9375rem; }
#zp-photobooks .pb-frame-fields { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-top:10px; }
#zp-photobooks .pb-photo-box { position:relative; min-width:0; min-height:0; touch-action:none; cursor:move; container-type:size; }
#zp-photobooks .pb-photo-crop { position:absolute; inset:0; overflow:hidden; border-radius:var(--pb-photo-radius,0); background:var(--pb-photo-edge,transparent); }
#zp-photobooks .pb-photo-box .pb-photo-crop > img { position:absolute; inset:var(--pb-photo-inset,0); width:calc(100% - 2 * var(--pb-photo-inset,0px)); height:calc(100% - 2 * var(--pb-photo-inset,0px)); pointer-events:none; }
#zp-photobooks .pb-photo-box .pb-photo-crop > span { place-content:center; width:100%; height:100%; overflow:hidden; pointer-events:none; }
#zp-photobooks .pb-photo-double .pb-photo-crop::after { content:""; position:absolute; inset:calc(var(--pb-photo-inset) / 2); border:1px solid white; border-radius:inherit; pointer-events:none; }
#zp-photobooks .pb-sheet .pb-photo-box.pb-slot-active { outline:1px solid var(--pb-accent); }
#zp-photobooks .pb-layout-icon { position:relative; }
#zp-photobooks .pb-photo-box [data-box-handle] { display:none; position:absolute; z-index:1; width:min(22px,32cqw); height:min(22px,32cqh); }
#zp-photobooks .pb-photo-box [data-box-handle]::after { content:""; position:absolute; width:min(8px,100%); height:min(8px,100%); top:50%; left:50%; transform:translate(-50%,-50%); background:white; border:1px solid var(--pb-accent); }
#zp-photobooks .pb-photo-box.pb-slot-active [data-box-handle] { display:block; }
#zp-photobooks .pb-photo-box [data-box-handle^="n"] { top:0; }
#zp-photobooks .pb-photo-box [data-box-handle^="s"] { bottom:0; }
#zp-photobooks .pb-photo-box :is([data-box-handle="n"],[data-box-handle="s"]) { left:50%; transform:translateX(-50%); cursor:ns-resize; }
#zp-photobooks .pb-photo-box [data-box-handle$="e"] { right:0; }
#zp-photobooks .pb-photo-box [data-box-handle$="w"] { left:0; }
#zp-photobooks .pb-photo-box :is([data-box-handle="e"],[data-box-handle="w"]) { top:50%; transform:translateY(-50%); cursor:ew-resize; }
#zp-photobooks .pb-photo-box :is([data-box-handle="nw"],[data-box-handle="se"]) { cursor:nwse-resize; }
#zp-photobooks .pb-photo-box :is([data-box-handle="ne"],[data-box-handle="sw"]) { cursor:nesw-resize; }
#zp-photobooks .pb-draft-file { padding:12px 14px 16px; }
#zp-photobooks .pb-book-import { max-width:360px; margin-bottom:6px; }
#zp-photobooks .pb-photo-box:focus-visible { outline:2px solid var(--pb-accent); outline-offset:2px; }
#zp-photobooks .pb-photo-box [data-box-handle] { z-index:2; }

/* Section navigation, reading rhythm, and shared controls */
#zp-photobooks {
  --pb-surface: #f7f5f3;
  --pb-line: #e6e0df;
  --pb-control-line: #c9bbc9;
  --pb-action-hover: #4e0876;
  --pb-motion: 180ms cubic-bezier(.2,.75,.25,1);
  font-size: 1.125rem;
  line-height: 1.55;
}
#zp-photobooks .pb-wrap { width: min(1352px,100% - clamp(32px,7vw,104px)); }
#zp-photobooks h1 { font-size: clamp(2.125rem,4.1vw,3.6875rem); line-height: 1.08; letter-spacing: -.024em; }
#zp-photobooks h2 { font-size: clamp(1.5625rem,2.55vw,2.375rem); line-height: 1.16; }
#zp-photobooks h3 { font-size: clamp(1.1875rem,1.7vw,1.5rem); line-height: 1.22; }
#zp-photobooks .pb-hero h1 { overflow-wrap: anywhere; }
#zp-photobooks .pb-hero p { color: var(--pb-muted); line-height: 1.48; }
#zp-photobooks .pb-section { margin-bottom: clamp(36px,5.1vw,76px); }
#zp-photobooks .pb-page-body > .pb-section > h2 { margin-bottom: clamp(15px,2vw,26px); }
#zp-photobooks .pb-page-body > .pb-section + .pb-section { padding-top: clamp(22px,3vw,40px); }
#zp-photobooks .pb-nav {
  column-gap: clamp(11px,1.8vw,26px);
  border-block-end: 1px solid var(--pb-line);
  border-radius: 0;
  background: var(--pb-paper);
  padding: 3px 0 8px;
}
#zp-photobooks .pb-nav a:not(.pb-nav-cta) {
  display: grid;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  transition: color var(--pb-motion), border-color var(--pb-motion);
}
#zp-photobooks .pb-nav a:is([aria-current],[data-section-active]):not(.pb-nav-cta) { color: var(--pb-accent); border-color: currentColor; }
#zp-photobooks .pb-crumbs ol { margin-block: 13px 24px; }
#zp-photobooks .pb-button,
#zp-photobooks .pb-nav a.pb-button {
  padding: 10px 19px;
  border-radius: 8px;
  min-height: 44px;
  transition: color var(--pb-motion), background-color var(--pb-motion), border-color var(--pb-motion), transform var(--pb-motion);
}
#zp-photobooks .pb-button.pb-secondary { border-color: var(--pb-control-line); }
#zp-photobooks .pb-button.pb-primary:hover { border-color: var(--pb-action-hover); background: var(--pb-action-hover); }
#zp-photobooks :is(input:not([type="checkbox"],[type="range"],[type="file"]),select,textarea) {
  border-color: var(--pb-control-line);
  border-radius: 7px;
}
#zp-photobooks .pb-hero { margin-bottom: clamp(32px,4.3vw,62px); }
#zp-photobooks .pb-hero .pb-actions { gap: 8px 12px; margin-top: clamp(16px,2.3vw,30px); }
#zp-photobooks .pb-hero-media:not(.pb-hero-product) { border-radius: 14px; }
#zp-photobooks .pb-hero-media:not(.pb-hero-product) .pb-hero-copy { padding: clamp(22px,3.25vw,52px); }
#zp-photobooks .pb-hero-media:not(.pb-hero-product) > figure:not(.pb-printed-calendar) img { object-position: center; }
#zp-photobooks .pb-hero-plain:not(.pb-hero-product) { border-radius: 14px; }
#zp-photobooks.pb-home { background: var(--pb-paper); }
#zp-photobooks.pb-home .pb-hero-media {
  grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr);
  grid-template-areas: "copy photo";
  margin-bottom: 0;
}
#zp-photobooks.pb-home .pb-hero h1 { max-width: 16ch; }
#zp-photobooks.pb-home .pb-hero-media > figure img { aspect-ratio: 1.65; }
#zp-photobooks .pb-category-grid a { gap: 12px; }
#zp-photobooks .pb-category-grid span { line-height: 1.2; }
#zp-photobooks .pb-category-grid a:focus-visible { outline-offset: 5px; }
#zp-photobooks .pb-card > a { display: flex; flex-direction: column; }
#zp-photobooks .pb-card-body { display:flex; flex:1; flex-direction:column; align-items:start; }
#zp-photobooks .pb-card-link { margin-top:auto; padding-top:2px; text-underline-offset:4px; }
#zp-photobooks .pb-card-link > span { display: inline-block; margin-inline-start: 4px; }
#zp-photobooks .pb-card:focus-within h3, #zp-photobooks .pb-card a:hover h3 { color:var(--pb-accent); }
#zp-photobooks .pb-card a:hover .pb-card-link { text-decoration:underline; }
#zp-photobooks .pb-card a:focus-visible { outline-offset: -3px; }
#zp-photobooks .pb-theme-section > h2, #zp-photobooks .pb-topic-notes > h2 { margin-bottom:18px; }
#zp-photobooks .pb-bottom { padding-top: 20px; border-top: 1px solid var(--pb-line); }

/* Product and editorial layouts */
#zp-photobooks .pb-hero-product:has(> .pb-heading-line) {
  grid-template-columns: minmax(0,1.15fr) minmax(0,1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "photo heading" "photo copy";
  gap: 4px clamp(24px,4.2vw,64px);
}
#zp-photobooks .pb-hero-product > .pb-heading-line { grid-area: heading; }
#zp-photobooks .pb-hero-product h1 { font-size: clamp(1.9375rem,3.18vw,3.25rem); }
#zp-photobooks .pb-hero-product .pb-hero-copy { padding: 0; }
#zp-photobooks .pb-hero-product .pb-hero-copy > p:first-child { margin-top: 9px; }
#zp-photobooks .pb-hero-product > .pb-printed-calendar { align-self: start; }
#zp-photobooks .pb-model-quote { margin-top: 20px; }
#zp-photobooks .pb-product-links a { border: 0; border-bottom: 1px solid var(--pb-line); padding-inline: 0; border-radius: 0; }
#zp-photobooks .pb-product-photo a { border-radius: 12px; }
#zp-photobooks .pb-product-photo img { aspect-ratio: 1.58; }
#zp-photobooks .pb-product-thumbs { scroll-snap-type: inline proximity; }
#zp-photobooks .pb-product-thumbs button { scroll-snap-align: start; }
#zp-photobooks .pb-jumps a { display: inline-flex; align-items: center; min-height: 40px; line-height: 1.25; border-radius: 7px; }
#zp-photobooks .pb-hero-article h1 { font-size: clamp(2rem,3.65vw,3.375rem); }
#zp-photobooks .pb-reading { line-height: 1.65; }
#zp-photobooks .pb-article-outline .pb-jumps a { min-height: 38px; }
#zp-photobooks .pb-faq-list .pb-disclosure[open] { background: var(--pb-surface); }
#zp-photobooks .pb-disclosure > summary::after { transition: transform var(--pb-motion); }
#zp-photobooks .pb-disclosure:not(.pb-faq-list .pb-disclosure) .pb-disclosure-body { padding-top: 12px; }

/* Configuration and the sheet editor */
#zp-photobooks .pb-wizard-header { margin-bottom: 16px; }
#zp-photobooks .pb-wizard-steps button { min-height: 50px; font-weight: 500; font-size: 1rem; }
#zp-photobooks .pb-wizard-steps [aria-current]::before { border-color: var(--pb-accent); }
#zp-photobooks .pb-wizard-choices button { border-radius: 10px; padding: clamp(10px,1.25vw,18px); }
#zp-photobooks .pb-wizard-choices button img { margin-bottom: 10px; }
#zp-photobooks .pb-format-visual { color: var(--pb-muted); }
#zp-photobooks [aria-pressed="true"] .pb-format-visual { color: var(--pb-accent); }
#zp-photobooks .pb-wizard-footer { padding-top: 16px; border-top: 1px solid var(--pb-line); }
#zp-photobooks .pb-work-toolbar { justify-content: space-between; gap: 12px; }
#zp-photobooks :is(.pb-work-title,.pb-work-commands) { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
#zp-photobooks .pb-work-title { gap: 8px 14px; }
#zp-photobooks .pb-work-commands { justify-content: flex-end; }
#zp-photobooks .pb-work-commands [data-editor-price]:not(:empty) { padding-inline-start: 5px; }
#zp-photobooks .pb-work-rail button { min-height: 46px; }
#zp-photobooks .pb-work-rail button[aria-pressed="true"] { background: var(--pb-lilac); color: var(--pb-accent); font-weight: 700; }
#zp-photobooks .pb-work-rail button:focus-visible { outline-offset: -3px; }
#zp-photobooks .pb-work-stage { background: #f2eff2; }
#zp-photobooks .pb-preview .pb-sheet { transition: none; }
#zp-photobooks .pb-work-pages { scroll-snap-type: inline proximity; }
#zp-photobooks .pb-work-pages button { scroll-snap-align: start; }
#zp-photobooks .pb-work-pages button span { display: grid; place-items: center; }
#zp-photobooks .pb-work-pages button:not([aria-current]) { border-color: var(--pb-line); }
#zp-photobooks :is(.pb-work-pages button,.pb-work-rail button,.pb-wizard-choices button,.pb-wizard-steps button,.pb-product-thumbs button) {
  transition: background-color var(--pb-motion), border-color var(--pb-motion), color var(--pb-motion);
}

@media (hover: hover) and (pointer: fine) {
  #zp-photobooks .pb-button:not(:disabled):active { transform: translateY(1px); }
  #zp-photobooks .pb-card-link > span { transition: transform var(--pb-motion); }
  #zp-photobooks .pb-card a:hover .pb-card-link > span { transform: translateX(4px); }
  #zp-photobooks .pb-card { transition: border-color var(--pb-motion); }
  #zp-photobooks .pb-card:hover { border-color: var(--pb-control-line); }
  #zp-photobooks :is(.pb-wizard-choices button,.pb-work-rail button,.pb-work-pages button):not([aria-pressed="true"]):hover { background-color: var(--pb-surface); }
}
@media (prefers-reduced-motion: no-preference) {
  #zp-photobooks .pb-disclosure[open] > .pb-disclosure-body { animation: pb-disclose 180ms ease-out; }
}
@keyframes pb-disclose { from { opacity: .52; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  #zp-photobooks .pb-button:active, #zp-photobooks .pb-card a:hover .pb-card-link > span { transform: none; }
  #zp-photobooks .pb-disclosure > summary::after { transition: none; }
}
@media (min-width: 1000px) {
  #zp-photobooks .pb-home .pb-category-grid { margin-block: 25px 60px; }
  #zp-photobooks[data-pb-route="katalog"] .pb-hero-media { grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); margin-bottom: 38px; }
  #zp-photobooks[data-pb-route="katalog"] .pb-hero-media > figure img { min-height: 0; max-height: 344px; }
  #zp-photobooks[data-pb-route="katalog"] .pb-catalog-layout .pb-grid { gap: 20px; }
  #zp-photobooks .pb-builder[data-stage="configuration"] .pb-wizard-steps { position: sticky; top: 106px; }
  #zp-photobooks:is([data-pb-route="faq"],[data-pb-route="dostavka"]) .pb-hero-plain { max-width: 940px; margin-inline: auto; }
}
@media (max-width: 850px) {
  #zp-photobooks .pb-work-commands { justify-content: start; }
  #zp-photobooks .pb-work-rail { flex-direction: row; }
  #zp-photobooks .pb-work-rail button { flex: 1 1 0; }
  #zp-photobooks .pb-work-panel { border-right: 0; border-bottom: 1px solid var(--pb-line); }
  #zp-photobooks .pb-catalog-layout .pb-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #zp-photobooks .pb-hero-media:not(.pb-hero-product) > figure:not(.pb-printed-calendar) img { min-height: 0; }
}
@media (max-width: 650px) {
  #zp-photobooks .pb-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 2px 5px; overflow: visible; }
  #zp-photobooks .pb-nav a:not(.pb-nav-cta) { text-align: center; white-space: normal; font-size: .875rem; min-height: 43px; }
  #zp-photobooks .pb-nav a.pb-nav-cta { grid-column: 1 / -1; margin: 5px 0 0; justify-self: start; }
  #zp-photobooks .pb-crumbs ol { margin-block: 10px 18px; }
  #zp-photobooks.pb-home .pb-hero-media,
  #zp-photobooks[data-pb-family="topic"] .pb-hero-media,
  #zp-photobooks .pb-hero-media:not(.pb-hero-product) { grid-template-columns: minmax(0,1fr); grid-template-areas: "copy" "photo"; }
  #zp-photobooks .pb-hero-media:not(.pb-hero-product) > figure:not(.pb-printed-calendar) img { aspect-ratio: 1.65; height: auto; }
  #zp-photobooks .pb-hero-media:not(.pb-hero-product) .pb-hero-copy { padding: 23px 18px; }
  #zp-photobooks .pb-hero-product:has(> .pb-heading-line) {
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: auto;
    grid-template-areas: "heading" "photo" "copy";
    gap: 14px;
  }
  #zp-photobooks .pb-hero-product .pb-heading-line { gap: 4px; }
  #zp-photobooks .pb-hero-product .pb-hero-copy > p:first-child { margin-top: 0; }
  #zp-photobooks .pb-hero-article .pb-hero-copy { padding-block: 2px 8px; }
  #zp-photobooks .pb-home .pb-category-grid a:last-child:nth-child(odd) { grid-column: 1 / -1; }
  #zp-photobooks .pb-home .pb-category-grid a:last-child:nth-child(odd) img { aspect-ratio: 2.65; }
  #zp-photobooks .pb-catalog-layout .pb-grid { grid-template-columns: minmax(0,1fr); }
  #zp-photobooks .pb-work-commands { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
  #zp-photobooks .pb-work-commands [data-review-order] { grid-column: 1 / -1; }
  #zp-photobooks :is(.pb-work-commands,.pb-work-panel,.pb-stage-toolbar,.pb-filmstrip) .pb-button { min-height: 44px; }
  #zp-photobooks .pb-wizard-footer > button { flex: 1 1 auto; }
  #zp-photobooks .pb-frame-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Product choices, related actions, and delivery directory */
#zp-photobooks .pb-route-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#zp-photobooks .pb-route-actions .pb-button {
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 8px 13px;
  border-color: var(--pb-control-line);
  text-align: start;
}
#zp-photobooks .pb-action-arrow { display: block; position: relative; width: 13px; height: 12px; flex: 0 0 13px; }
#zp-photobooks .pb-action-arrow::before {
  content: "";
  position: absolute;
  top: 5px;
  inset-inline: 0 1px;
  border-top: 1.5px solid currentColor;
}
#zp-photobooks .pb-action-arrow::after {
  content: "";
  position: absolute;
  top: 2px;
  inset-inline-end: 1px;
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  transform: rotate(45deg);
}
#zp-photobooks .pb-route-actions .pb-button:hover { border-color: var(--pb-accent); }
#zp-photobooks .pb-hero-product .pb-hero-copy > .pb-route-actions { margin-top: 14px; }
#zp-photobooks .pb-model-details + .pb-route-actions { margin-bottom: 24px; }
#zp-photobooks .pb-product-info-list { margin-bottom: clamp(26px,4vw,50px); }
#zp-photobooks .pb-product-info { scroll-margin-top: 92px; }
#zp-photobooks :is(.pb-product-info-list,.pb-delivery-groups) .pb-disclosure > summary { min-height: 54px; }
#zp-photobooks .pb-delivery-groups .pb-disclosure { margin-bottom: 8px; }
#zp-photobooks .pb-certificate-band { margin-block: clamp(32px,4vw,56px); }
#zp-photobooks .pb-certificate-band h2 svg { margin-inline-end: 9px; vertical-align: -.1em; color: var(--pb-accent); }
#zp-photobooks .pb-certificate-band .pb-route-actions { padding: 0; }
#zp-photobooks[data-pb-route="sertifikat"] .pb-order-steps { padding: 0; }
#zp-photobooks[data-pb-route="sertifikat"] .pb-order-steps > li { margin: 0; }

#zp-photobooks .pb-model-quote {
  container-type: inline-size;
  padding: clamp(15px,2vw,26px);
  background: var(--pb-surface);
  border: 0;
}
#zp-photobooks .pb-order-quote {
  container-type: inline-size;
  margin-top: 14px;
  padding: clamp(14px,2.1vw,26px);
  border-radius: 12px;
  background: var(--pb-surface);
}
#zp-photobooks .pb-product-formats { margin-top: 15px; }
#zp-photobooks .pb-product-formats a {
  display: grid;
  align-items: center;
  min-height: 43px;
  padding: 6px 11px;
  border: 1px solid var(--pb-control-line);
  border-radius: 7px;
  color: var(--pb-ink);
  font-size: 1rem;
  line-height: 1.25;
  text-decoration: none;
}
#zp-photobooks .pb-product-formats a:hover,
#zp-photobooks .pb-product-formats [aria-current] { color: var(--pb-accent); border-color: var(--pb-accent); background: var(--pb-lilac); }
#zp-photobooks .pb-product-formats [aria-current] { font-size: 1rem; font-weight: 500; }
#zp-photobooks .pb-hero .pb-actions + .pb-route-actions,
#zp-photobooks .pb-hero-copy > .pb-button + .pb-route-actions { margin-top: 14px; }
#zp-photobooks .pb-order-quote .pb-quote-row:last-of-type { margin-bottom: 0; }

/* Materials, examples, and practical information on product pages */
#zp-photobooks .pb-page-body > :is(.pb-photo-section,.pb-lookbook-section,.pb-product-faq,.pb-product-delivery) {
  margin-block: clamp(44px,6.5vw,94px);
  padding-top: 0;
  border: 0;
}
#zp-photobooks :is(.pb-photo-section,.pb-lookbook-section,.pb-product-faq,.pb-product-delivery) > h2 {
  max-width: 30ch;
  margin-inline: auto;
  margin-bottom: clamp(20px,3vw,36px);
  color: var(--pb-accent);
  font-weight: 500;
  text-align: center;
  text-wrap: balance;
}
#zp-photobooks .pb-photo-features {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(12px,2vw,24px);
}
#zp-photobooks .pb-photo-features article {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 12px;
  background: var(--pb-surface);
}
#zp-photobooks .pb-photo-features img { display: block; width: 100%; height: 100%; min-height: 160px; object-fit: cover; }
#zp-photobooks .pb-photo-features article > div { align-self: center; padding: clamp(14px,2vw,26px); }
#zp-photobooks .pb-photo-features h3 { font-size: clamp(1.125rem,1.75vw,1.5rem); }
#zp-photobooks .pb-photo-features p { margin-top: 8px; color: var(--pb-muted); font-size: 1rem; line-height: 1.45; }
#zp-photobooks .pb-photo-more { margin-top: 15px; }
#zp-photobooks .pb-featured-gallery .pb-product-media { max-width: 950px; margin-inline: auto; }
#zp-photobooks .pb-proof-band {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.9fr);
  overflow: hidden;
  border-radius: 14px;
  background: #ede2f3;
}
#zp-photobooks .pb-proof-band > div { align-self: center; padding: clamp(22px,4vw,52px); }
#zp-photobooks .pb-proof-band h2 { margin-bottom: 12px; color: var(--pb-accent); }
#zp-photobooks .pb-proof-band img { display: block; width: 100%; height: 100%; object-fit: cover; }
#zp-photobooks .pb-proof-band .pb-actions { margin-top: 18px; }
#zp-photobooks .pb-lookbook > a { display: grid; align-content: start; gap: 10px; color: var(--pb-ink); text-decoration: none; border-radius: 12px; }
#zp-photobooks .pb-lookbook > a > span { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 500; }
#zp-photobooks .pb-lookbook img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }
#zp-photobooks .pb-lookbook > a:hover { color: var(--pb-accent); }
#zp-photobooks .pb-lookbook-section .pb-tail { text-align: center; }
#zp-photobooks .pb-product-faq .pb-faq-list { max-width: 980px; margin-inline: auto; }
#zp-photobooks .pb-product-faq .pb-faq-list summary { min-height: 60px; }
#zp-photobooks .pb-product-delivery {
  padding: clamp(22px,4vw,52px) clamp(14px,4vw,52px);
  border-radius: 14px;
  background: var(--pb-lilac);
}
#zp-photobooks .pb-page-body > .pb-product-delivery { padding-top: clamp(22px,4vw,52px); }
#zp-photobooks .pb-product-delivery .pb-route-actions { justify-content: center; }
#zp-photobooks .pb-product-delivery .pb-route-actions a { border-radius: 22px; }
#zp-photobooks .pb-product-delivery .pb-delivery-note {
  margin: 16px auto 0;
  color: var(--pb-muted);
  text-align: center;
}
#zp-photobooks .pb-delivery-facts {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  margin-top: 24px;
}
#zp-photobooks .pb-delivery-facts > div { padding: clamp(14px,2.5vw,28px); border-radius: 10px; background: var(--pb-paper); }
#zp-photobooks .pb-delivery-facts h3 { display: flex; align-items: center; gap: 9px; }
#zp-photobooks .pb-delivery-facts h3 svg { width: 24px; height: 24px; flex: 0 0 24px; stroke: var(--pb-accent); stroke-width: 1.5; fill: none; stroke-linejoin: round; stroke-linecap: round; }
#zp-photobooks .pb-delivery-facts p { margin-top: 7px; color: var(--pb-muted); font-size: 1rem; }
#zp-photobooks .pb-page-body > .pb-route-actions + .pb-section { margin-top: 26px; }
#zp-photobooks[data-pb-family="topic"] .pb-topic-examples { margin-top: 32px; }
#zp-photobooks[data-pb-family="topic"] .pb-topic-shots { border: 0; padding: clamp(16px,2.5vw,28px); border-radius: 12px; background: var(--pb-lilac); }
#zp-photobooks[data-pb-family="topic"] .pb-topic-notes-list > div { padding: 14px 16px; border-radius: 9px; background: var(--pb-paper); }
#zp-photobooks[data-pb-family="article"] .pb-article-takeaways { background: var(--pb-lilac); }
#zp-photobooks[data-pb-family="article"] .pb-article-takeaways h2 { color: var(--pb-accent); }
#zp-photobooks .pb-style-card :is(h3,p) { margin-inline: 16px; }
#zp-photobooks .pb-style-card a.pb-button { margin-inline: 16px; }
@media (max-width: 600px) {
  #zp-photobooks .pb-delivery-facts { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 850px) {
  #zp-photobooks .pb-photo-features article { grid-template-columns: minmax(0,1fr); }
  #zp-photobooks .pb-photo-features img { height: auto; min-height: 0; aspect-ratio: 1.75; }
}
@media (max-width: 550px) {
  #zp-photobooks .pb-photo-features { grid-template-columns: minmax(0,1fr); }
  #zp-photobooks .pb-photo-features article { grid-template-columns: minmax(0,.85fr) minmax(0,1fr); }
  #zp-photobooks .pb-photo-features img { height: 100%; aspect-ratio: auto; }
  #zp-photobooks .pb-proof-band { grid-template-columns: minmax(0,1fr); }
  #zp-photobooks .pb-proof-band img { height: auto; aspect-ratio: 1.75; }
}
#zp-photobooks .pb-quote-row {
  min-inline-size: 0;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}
#zp-photobooks .pb-quote-row :is(legend,label[for]) { padding: 0; margin-bottom: 6px; font-weight: 500; font-size: 1rem; }
#zp-photobooks .pb-quote-options { display: flex; flex-wrap: wrap; gap: 6px; }
#zp-photobooks .pb-quote-options label { position: relative; display: flex; max-width: 100%; cursor: pointer; }
#zp-photobooks .pb-quote-options input[type="radio"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  min-height: 0;
  opacity: 0;
  cursor: pointer;
}
#zp-photobooks .pb-quote-options span {
  display: grid;
  align-items: center;
  min-height: 40px;
  padding: 6px 11px;
  border: 1px solid var(--pb-control-line);
  border-radius: 7px;
  background: #fff;
  color: var(--pb-ink);
  transition: background-color var(--pb-motion), border-color var(--pb-motion);
}
#zp-photobooks .pb-quote-options label:hover span { border-color: var(--pb-accent); }
#zp-photobooks .pb-quote-options input:checked + span { border-color: var(--pb-accent); background: var(--pb-lilac); color: var(--pb-accent); }
#zp-photobooks .pb-quote-options input:focus-visible + span { outline: 2px solid var(--pb-accent); outline-offset: 2px; }
#zp-photobooks .pb-stepper { display: grid; grid-template-columns: 42px 61px 42px; gap: 5px; }
#zp-photobooks .pb-stepper button {
  border: 1px solid var(--pb-control-line);
  border-radius: 7px;
  background: #fff;
  color: var(--pb-accent);
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
#zp-photobooks .pb-stepper button:not(:disabled):hover { background: var(--pb-lilac); border-color: var(--pb-accent); }
#zp-photobooks .pb-stepper button:disabled { opacity: .5; cursor: default; }
#zp-photobooks .pb-stepper input[type="number"] { text-align: center; padding-inline: 4px; appearance: textfield; }
#zp-photobooks .pb-stepper input::-webkit-inner-spin-button,
#zp-photobooks .pb-stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }
#zp-photobooks .pb-stepper input:user-invalid { border-color: #a52c45; }
#zp-photobooks .pb-stepper input[readonly] { background: var(--pb-surface); }
#zp-photobooks .pb-buy-total {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.3fr);
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--pb-line);
  padding-top: 14px;
  margin-top: 16px;
}
#zp-photobooks .pb-buy-total span { display: block; font-size: .9375rem; line-height: 1.2; }
#zp-photobooks .pb-buy-total strong { display: block; color: var(--pb-accent); font-size: clamp(1.375rem,2.4vw,1.875rem); line-height: 1.18; font-variant-numeric: tabular-nums; }
#zp-photobooks .pb-buy-total .pb-button[aria-disabled="true"] { opacity: .55; }
#zp-photobooks :is(.pb-order-quote,.pb-model-quote) .pb-buy-total {
  display: block;
}
#zp-photobooks .pb-order-quote .pb-buy-total > div:first-child {
  display: block;
}
#zp-photobooks .pb-model-checkout > div:first-child { flex: 1 0 100%; }
#zp-photobooks [data-pb-price-breakdown] {
  width: min(100%, 27rem);
  margin: 12px 0 0;
  padding: 9px 0 4px;
  border-top: 1px solid var(--pb-line);
  font-size: .925rem;
  color: var(--pb-muted);
}
#zp-photobooks [data-pb-price-breakdown] > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 6px 12px;
  padding: 3px 0;
}
#zp-photobooks [data-pb-price-breakdown] > div:last-child { color: var(--pb-ink); font-weight: 700; }
#zp-photobooks [data-pb-price-breakdown] dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
#zp-photobooks [data-pb-price-breakdown] > div:first-child dd { text-decoration: line-through; }
#zp-photobooks .pb-cart-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
#zp-photobooks .pb-cart-actions .pb-button { border-radius: 999px; flex: 0 1 auto; }
#zp-photobooks p.pb-cart-status {
  flex-basis: 100%;
  margin-block: 3px 4px;
  color: var(--pb-muted);
  font-size: .925rem;
}
#zp-photobooks .pb-calendar-design-request {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: 24px clamp(24px,5vw,76px);
  padding: clamp(22px,5vw,58px);
  margin-block: clamp(38px,7vw,80px);
  border-radius: 16px;
  background: linear-gradient(110deg,#f6ecf5,#f8f1ec);
}
#zp-photobooks .pb-calendar-design-request p { max-width: 50ch; margin: 8px 0 18px; }
#zp-photobooks .pb-calendar-design-request img {
  display: block;
  width: min(100%, 240px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 10px 13px rgb(51 29 50 / .2));
}
@media (max-width: 560px) {
  #zp-photobooks .pb-calendar-design-request { grid-template-columns: minmax(0,1fr); }
  #zp-photobooks .pb-calendar-design-request img { width: min(62%,190px); }
}
#zp-photobooks .pb-hero p.pb-buy-note { margin-top: 9px; font-size: .9375rem; line-height: 1.35; }
@container (min-width: 380px) {
  #zp-photobooks fieldset.pb-quote-row {
    position: relative;
    padding-inline-start: 98px;
  }
  #zp-photobooks .pb-quote-row legend {
    position: absolute;
    inset-inline-start: 0;
    top: 8px;
  }
  #zp-photobooks div.pb-quote-row {
    display: grid;
    grid-template-columns: 98px minmax(0,1fr);
    align-items: center;
  }
  #zp-photobooks .pb-quote-row label[for] { margin: 0; }
  #zp-photobooks .pb-order-quote fieldset.pb-quote-row { padding-inline-start: 148px; }
  #zp-photobooks .pb-order-quote div.pb-quote-row { grid-template-columns: 140px minmax(0,1fr); gap: 8px; }
}
@media (max-width: 650px) {
  #zp-photobooks .pb-quote-options span, #zp-photobooks .pb-stepper button { min-height: 44px; }
  #zp-photobooks .pb-stepper { grid-template-columns: 44px 61px 44px; }
  #zp-photobooks .pb-buy-total { grid-template-columns: minmax(0,1fr); }
  #zp-photobooks .pb-buy-total > div { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
}
#zp-photobooks .pb-bottom:has(nav[aria-label="Другие разделы"]) { display: none; }
#zp-photobooks .pb-next-step {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px;
  border-radius: 16px; background: #f4edf8; padding: clamp(20px,4vw,44px);
  margin-block: clamp(40px,6vw,80px) 16px;
}
#zp-photobooks .pb-next-step > img {
  display: block; flex: 0 0 auto; width: clamp(90px,14vw,180px);
  height: clamp(68px,10.5vw,135px); max-width: 100%; object-fit: cover; border-radius: 12px;
}
#zp-photobooks .pb-next-step img.pb-delivery-emblem { float: none; height: auto; object-fit: contain; margin: 0; }
#zp-photobooks .pb-next-step div { flex: 1 1 260px; }
#zp-photobooks .pb-next-step h2 { font-size: clamp(22px,2.5vw,30px); margin: 0 0 6px; }
#zp-photobooks .pb-next-step p { margin: 0; color: var(--pb-muted); }
#zp-photobooks :is(#pb-model-configuration,#pb-product-choice,#proverka-jpg,#zapros) { scroll-margin-top: 88px; }
#zp-photobooks[data-pb-route="katalog"] .pb-nav a.pb-nav-quiet { background: transparent; color: var(--pb-accent); border: 1px solid currentColor; }
#zp-photobooks[data-pb-route="katalog"] .pb-hero-media { background: #f6f0ed; }
#zp-photobooks[data-pb-route="katalog"] .pb-hero-media > figure { padding: clamp(10px,2.6vw,40px); }
#zp-photobooks[data-pb-route="katalog"] .pb-hero-media > figure img { object-fit: contain; max-height: 360px; }
#zp-photobooks[data-pb-route="katalog"] .pb-catalog-layout { display: block; }
#zp-photobooks[data-pb-route="katalog"] .pb-catalog-filter-sheet { margin-bottom: 10px; }
#zp-photobooks[data-pb-route="katalog"] .pb-catalog-filter-sheet summary { display: none; }
#zp-photobooks[data-pb-route="katalog"] .pb-catalog-layout .pb-filters {
  position: static; grid-template-columns: repeat(5,minmax(0,1fr)) auto;
  align-items: end; gap: 12px; padding: 12px 0; background: transparent;
  border: 0; margin: 0;
}
#zp-photobooks .pb-catalog-status { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 18px; }
#zp-photobooks .pb-catalog-status :is(a,p) { margin: 0; }
#zp-photobooks .pb-catalog-status a { display: inline-flex; gap: 5px; align-items: center; min-height: 44px; }
#zp-photobooks .pb-catalog-selected { color: var(--pb-accent); font-size: .9375rem; margin: 0 0 14px; }
#zp-photobooks[data-pb-route="katalog"] .pb-result .pb-card-body p { min-height: 0; }
#zp-photobooks[data-pb-route="katalog"] .pb-result .pb-card-media { overflow: hidden; }
#zp-photobooks[data-pb-route="katalog"] .pb-result .pb-card-media img { transition: transform 200ms ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #zp-photobooks[data-pb-route="katalog"] .pb-result .pb-card > a:hover .pb-card-media img { transform: scale(1.02); }
}
#zp-photobooks[data-pb-route="primery"] .pb-hero-plain,
#zp-photobooks[data-pb-route="temy"] .pb-hero-plain,
#zp-photobooks[data-pb-route="tehtrebovaniya"] .pb-hero-plain {
  background: transparent; padding: 0; margin-bottom: 24px;
}
#zp-photobooks :is(.pb-book-showcase,.pb-calendar-formats) { margin-top: 0; border-top: 0; padding-top: 0; }
#zp-photobooks .pb-book-public-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; justify-content: space-between; }
#zp-photobooks .pb-book-public-filters > div { display: flex; gap: 6px 12px; flex-wrap: wrap; }
#zp-photobooks .pb-book-public-filters button { min-height: 44px; padding: 6px 10px; color: var(--pb-muted); border: 0; border-bottom: 2px solid transparent; background: transparent; cursor: pointer; font: inherit; }
#zp-photobooks .pb-book-public-filters button[aria-pressed="true"] { color: var(--pb-accent); font-weight: 700; border-bottom-color: currentColor; }
#zp-photobooks .pb-book-public-filters label { margin: 0; }
#zp-photobooks .pb-book-count { margin: 12px 0 16px; font-size: .9375rem; color: var(--pb-muted); }
#zp-photobooks .pb-delivery-request { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-top: 24px; }
#zp-photobooks .pb-delivery-request label { display: grid; gap: 6px; flex: 1 1 200px; max-width: 360px; }
#zp-photobooks .pb-delivery-request input, #zp-photobooks .pb-city-search input { width: 100%; border: 1px solid #cfc4d6; background: #fff; border-radius: 10px; padding: 11px 14px; min-height: 48px; color: inherit; font: inherit; }
#zp-photobooks .pb-city-search { display: grid; gap: 5px; max-width: 360px; margin: 16px 0; }
#zp-photobooks[data-request-flow] .pb-hero .pb-button[href="#zapros"] { display: none; }
#zp-photobooks[data-request-flow] .pb-page-body { display: flex; flex-direction: column; }
#zp-photobooks[data-request-flow] .pb-contact-request { order: -1; margin-top: 0; }
#zp-photobooks[data-request-flow] .pb-design-examples { display: none; }

#zp-photobooks .pb-print-service-hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background: #f5f1f7;
}

#zp-photobooks .pb-print-service-hero .pb-hero-copy {
  padding: clamp(22px, 4vw, 62px);
}

#zp-photobooks .pb-print-service-hero > figure img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

#zp-photobooks .pb-nav:has(.pb-nav-products) {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(8px,2.2vw,26px);
  overflow: visible;
}

#zp-photobooks .pb-nav:has(.pb-nav-products) > a:not(.pb-nav-cta),
#zp-photobooks .pb-nav-products > summary {
  font-size: clamp(.875rem, 2.6vw, .9375rem);
  min-height: 40px;
}

#zp-photobooks .pb-nav > .pb-nav-products {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#zp-photobooks .pb-nav-products > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  font-weight: 600;
  line-height: 1.2;
}

#zp-photobooks .pb-nav-products > summary::-webkit-details-marker { display: none; }
#zp-photobooks .pb-nav-products > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
#zp-photobooks .pb-nav-products:is([open],[data-section-active]) > summary {
  border-color: currentColor;
  color: var(--pb-accent);
}
#zp-photobooks .pb-nav-products[open] > summary::after { transform: rotate(225deg); }

#zp-photobooks .pb-nav-products > .pb-nav-products-list {
  position: absolute;
  z-index: 8;
  inset: 100% auto auto 0;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 2px 14px;
  width: min(100%,30rem);
  margin: 0;
  padding: 12px 18px;
  background: var(--pb-paper);
  border: 1px solid var(--pb-line);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgb(32 19 45 / 12%);
  list-style: none;
}
#zp-photobooks .pb-nav-products-list a:not(.pb-nav-cta) {
  font-size: .9375rem;
  min-height: 39px;
  text-align: start;
  white-space: normal;
}
#zp-photobooks .pb-nav-products-list p {
  margin: 0 0 4px;
  padding: 4px 0 5px;
  border-bottom: 1px solid var(--pb-line);
  color: var(--pb-muted);
  font-size: .875rem;
  font-weight: 600;
}
#zp-photobooks .pb-nav-products-list ul { margin: 0; padding: 0; list-style: none; }

#zp-photobooks :is(.pb-cover-palette,.pb-foil-grid) {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
#zp-photobooks .pb-cover-examples img { aspect-ratio: 3/2; object-fit: contain; }
#zp-photobooks .pb-cover-examples .pb-gallery:has(> :only-child) { grid-template-columns: minmax(0,48rem); }

#zp-photobooks .pb-foil-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}
#zp-photobooks :is(.pb-foil-filters,.pb-foil-views) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#zp-photobooks .pb-foil-filters button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 7px 16px;
  border: 1px solid var(--pb-control-line);
  border-radius: 22px;
  color: var(--pb-ink);
  background: var(--pb-paper);
  font-weight: 600;
}
#zp-photobooks .pb-foil-filters button[aria-pressed="true"] {
  color: var(--pb-accent);
  border-color: currentColor;
  background: var(--pb-surface);
}
#zp-photobooks .pb-foil-filters button > span {
  width: 15px;
  height: 15px;
  border: 1px solid rgb(35 23 43 / 22%);
  border-radius: 50%;
  background: linear-gradient(135deg,#fdf6de,#a97429);
}
#zp-photobooks .pb-foil-filters button[data-foil-filter="silver"] > span { background: linear-gradient(135deg,#f9faff,#78808d); }
#zp-photobooks .pb-foil-views button {
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--pb-muted);
  background: var(--pb-paper);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.2;
}
#zp-photobooks .pb-foil-views button[aria-pressed="true"] {
  border-color: var(--pb-control-line);
  color: var(--pb-accent);
  background: var(--pb-surface);
}
#zp-photobooks .pb-foil-selector[data-foil-view="art"] .pb-foil-photo,
#zp-photobooks .pb-foil-selector[data-foil-view="photo"] .pb-foil-grid .pb-foil-art,
#zp-photobooks [data-foil-dialog][data-foil-view="art"] .pb-foil-cover,
#zp-photobooks [data-foil-dialog][data-foil-view="photo"] .pb-foil-art { display: none; }
#zp-photobooks .pb-foil-cover {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
#zp-photobooks .pb-foil-cover-stamp {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#zp-photobooks .pb-custom-foil-heading { margin-top: clamp(28px, 5vw, 64px); }
#zp-photobooks .pb-finish-card {
  display: grid;
  align-content: start;
  gap: 4px;
  width: 100%;
  min-height: 100%;
  padding: 8px 8px 12px;
  border: 1px solid var(--pb-line);
  border-radius: 12px;
  color: var(--pb-ink);
  background: var(--pb-paper);
  font: inherit;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
}
#zp-photobooks .pb-finish-card:hover { border-color: var(--pb-accent); }
#zp-photobooks .pb-finish-card strong { margin-top: 6px; }
#zp-photobooks .pb-finish-card small { color: var(--pb-muted); }
#zp-photobooks :is(.pb-finish-card img,.pb-finish-photo) {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: contain;
  border-radius: 8px;
  background: var(--pb-surface);
}

#zp-photobooks .pb-finish-dialog {
  width: min(calc(100% - 24px),43rem);
  max-height: calc(100dvh - 24px);
  padding: clamp(16px,4vw,28px);
  border: 0;
  border-radius: 16px;
  color: var(--pb-ink);
  background: var(--pb-paper);
}
#zp-photobooks .pb-finish-dialog[open] { display: grid; gap: 14px; }
#zp-photobooks .pb-finish-dialog::backdrop { background: rgb(26 17 33 / 66%); }
#zp-photobooks .pb-finish-dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
#zp-photobooks .pb-finish-dialog-header h2 { margin: 0; font-size: clamp(1.25rem,3vw,1.75rem); }
#zp-photobooks .pb-finish-dialog p { margin: 0; }
#zp-photobooks .pb-builder-cover-preview:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}
#zp-photobooks .pb-builder-cover-preview img {
  flex: 0 0 auto;
  width: clamp(76px, 18vw, 112px);
  height: auto;
  border-radius: 8px;
}
#zp-photobooks .pb-builder-cover-preview small:not([hidden]) {
  display: block;
  margin-top: 3px;
  color: var(--pb-muted);
}
#zp-photobooks [data-model-cover-materials] { margin-top: 12px; }
#zp-photobooks .pb-foil-material select { width: 100%; }
#zp-photobooks .pb-finish-close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--pb-accent);
  background: var(--pb-surface);
  font-size: 1.5rem;
}

@media (max-width: 650px) {
  #zp-photobooks :is(.pb-cover-palette,.pb-foil-grid) {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
  }
}

#zp-photobooks .pb-box-extras { display: grid; gap: 12px; }
#zp-photobooks .pb-box-extras label { display: flex; align-items: center; gap: 8px; }

#zp-photobooks .pb-design-spreads .pb-photo-features article,
#zp-photobooks .pb-print-workspace {
  background: #fff;
}

#zp-photobooks .pb-print-workspace {
  display: grid;
  gap: 16px;
  padding: clamp(16px, 3vw, 36px);
  border: 1px solid var(--pb-line, #e3dbe9);
  border-radius: 16px;
}

#zp-photobooks :is(.pb-print-catalog, .pb-print-files, .pb-print-reverse, .pb-print-controls) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

#zp-photobooks :is(.pb-print-files:empty, [data-print-feedback]:empty, [data-print-rules]:empty) {
  display: none;
}

#zp-photobooks :is(.pb-print-product, .pb-print-file, .pb-print-upload) {
  min-width: 0;
  padding: 16px;
  border-radius: 12px;
  background: #f7f3f9;
}

#zp-photobooks .pb-print-product {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 10px;
}

#zp-photobooks .pb-print-format {
  display: grid;
  place-items: center;
  width: 52px;
  aspect-ratio: var(--pb-print-ratio);
  background: #fff;
  border: 1px solid #d3bfdc;
  border-radius: 4px;
  color: var(--pb-accent);
}

#zp-photobooks .pb-print-format svg { width: 24px; }

#zp-photobooks .pb-print-upload {
  display: grid;
  gap: 8px;
  border: 1px dashed #bda9ca;
  font-weight: 700;
}

#zp-photobooks .pb-print-workspace :is(label, input, select) { min-width: 0; }
#zp-photobooks .pb-print-workspace input[type="file"] { width: 100%; }
#zp-photobooks .pb-print-workspace input::file-selector-button {
  min-height: 44px;
  margin-inline-end: 8px;
  padding-inline: 12px;
  color: #fff;
  border: 0;
  border-radius: 8px;
  background: var(--pb-accent);
  cursor: pointer;
}

#zp-photobooks .pb-print-controls label,
#zp-photobooks .pb-print-reverse label:not([hidden]) {
  display: grid;
  align-content: start;
  gap: 6px;
  font-weight: 600;
}

#zp-photobooks .pb-print-workspace :is(select, input[type="number"]) {
  min-height: 44px;
  width: 100%;
  padding: 6px 8px;
  color: inherit;
  border: 1px solid #cfc1d7;
  border-radius: 8px;
  background: #fff;
  font: inherit;
}

#zp-photobooks .pb-print-filename { overflow-wrap: anywhere; font-weight: 700; }
#zp-photobooks .pb-print-paper {
  width: min(100%, 240px);
  max-height: 260px;
  margin-inline: auto;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgb(36 24 43 / 0.15);
}

#zp-photobooks .pb-print-paper.has-border { border: 8px solid #fff; }
#zp-photobooks .pb-print-paper img { display: block; width: 100%; height: 100%; }
#zp-photobooks .pb-print-back-preview { margin: 0; text-align: center; }
#zp-photobooks .pb-print-back-preview img {
  width: 100%;
  height: 150px;
  padding: 16px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e3dbe9;
}

#zp-photobooks .pb-print-summary {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
}

@media (max-width: 680px) {
  #zp-photobooks :is(.pb-print-service-hero, .pb-print-catalog, .pb-print-reverse, .pb-print-files) { grid-template-columns: 1fr; }
  #zp-photobooks .pb-print-service-hero > figure img { min-height: 0; max-height: 260px; }
}
body:has(#zp-photobooks[data-request-flow="delivery"]) #city-confirm { display: none; }
#zp-photobooks .pb-print-scheme {
  margin: 20px 0 0; display: grid; grid-template-columns: minmax(132px,.58fr) 1fr;
  align-items: center; gap: 16px; max-width: 720px;
}
#zp-photobooks .pb-print-scheme > div { padding: 8px; background: #ead9f2; border-radius: 8px; }
#zp-photobooks .pb-print-scheme span { display: grid; place-items: center; padding: 22px 8px; border: 1px dashed #8442a1; background: #fff; text-align: center; border-radius: 4px; }
#zp-photobooks .pb-delivery-emblem { width: 132px; height: 100px; object-fit: contain; float: right; margin: 0 0 10px 16px; }
#zp-photobooks .pb-calendar-formats .pb-card-media {
  display: grid; place-items: center; container-type: inline-size; aspect-ratio: 4/3;
  background: #f7f1ee; overflow: hidden;
}
#zp-photobooks .pb-calendar-formats .pb-card-media .pb-printed-calendar { width: 100%; }
#zp-photobooks .pb-calendar-formats .pb-card-media :is(.pb-print-cal-new-year-2027,.pb-print-cal-new-year-quarter) { width: 46%; }
#zp-photobooks .pb-calendar-formats .pb-card-media img { width: 100%; object-fit: contain; }
#zp-photobooks .pb-calendar-formats .pb-card-media > img { max-height: 72cqw; }
#zp-photobooks[data-pb-route="kalendar-novyy-god-2027"] .pb-hero > .pb-printed-calendar {
  width: min(100%, clamp(220px, 32vw, 390px));
  justify-self: center;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #zp-photobooks[data-pb-route="kalendar-novyy-god-2027"] .pb-card-media .pb-printed-calendar {
    transition: transform .36s cubic-bezier(.19, 1, .22, 1);
  }
  #zp-photobooks[data-pb-route="kalendar-novyy-god-2027"] .pb-card a:hover .pb-card-media .pb-printed-calendar {
    transform: scale(1.035);
  }
  #zp-photobooks[data-pb-route="kalendar-novyy-god-2027"] .pb-card a:hover .pb-card-media img {
    transform: none;
  }
}
#zp-photobooks .pb-calendar-shelf-arrows { display: flex; gap: 8px; justify-content: end; margin-top: 10px; }
#zp-photobooks .pb-calendar-shelf-arrows button { width: 44px; height: 44px; padding: 0; border: 1px solid var(--pb-line); border-radius: 50%; background: #fff; color: var(--pb-accent); font-size: 1.55rem; cursor: pointer; }
#zp-photobooks .pb-calendar-shelf-arrows button:disabled { opacity: .44; cursor: default; }
@media (max-width: 720px) {
  #zp-photobooks[data-pb-route="katalog"] .pb-catalog-filter-sheet summary {
    display: list-item; min-height: 44px; padding: 10px 14px; border: 1px solid #d8cddd; border-radius: 10px;
    font-weight: 700; cursor: pointer; color: var(--pb-accent);
  }
  #zp-photobooks[data-pb-route="katalog"] .pb-catalog-layout .pb-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #zp-photobooks .pb-book-public-filters > div { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; max-width: 100%; }
  #zp-photobooks .pb-book-public-filters button { flex: 0 0 auto; scroll-snap-align: start; }
  #zp-photobooks .pb-next-step .pb-button { width: 100%; }
  #zp-photobooks .pb-delivery-emblem { width: 84px; height: 70px; }
  #zp-photobooks .pb-calendar-formats [data-calendar-shelf] {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82%,320px);
    gap: 12px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory;
    padding: 4px 2px 10px;
  }
  #zp-photobooks .pb-calendar-formats [data-calendar-shelf] > article { scroll-snap-align: start; }
}
