#zp-photobooks[data-pb-family="product"] .pb-hero-product.pb-product-showcase {
  grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr);
  grid-template-areas: "photo heading" "photo copy";
  grid-template-rows: auto 1fr;
  align-items: start;
  column-gap: clamp(24px,4vw,64px);
  row-gap: 10px;
}
#zp-photobooks .pb-product-showcase:has(:is([data-model-quote], .pb-order-quote):not([hidden])) .pb-hero-price { display: none; }
#zp-photobooks .pb-product-showcase > :is(.pb-product-media, figure) { grid-area: photo; }
#zp-photobooks .pb-product-showcase > .pb-portrait-calendar-preview {
  grid-area: photo;
  display: grid;
  justify-items: center;
  padding: clamp(14px, 2.6vw, 36px);
  border-radius: 14px;
  background: linear-gradient(145deg, #f7f2ee, #f4eff8);
}
#zp-photobooks .pb-portrait-calendar-preview .pb-printed-calendar {
  width: min(100%, clamp(190px, 26vw, 330px));
  box-shadow: 0 6px 18px #38243b24;
}
#zp-photobooks .pb-product-showcase:has(> .pb-portrait-calendar-preview) .pb-order-quote + .pb-product-formats {
  margin-block: 20px 0;
}
#zp-photobooks .pb-calendar-dimensions {
  color: var(--pb-muted);
  font-size: .65em;
  font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 760px) {
  #zp-photobooks .pb-portrait-calendar-preview .pb-printed-calendar { width: clamp(142px, 43vw, 166px); }
  #zp-photobooks[data-pb-route="kalendar-plakat-vert"] .pb-portrait-calendar-preview > .pb-printed-calendar { width: 142px; }
}
@media (max-width: 420px) {
  #zp-photobooks[data-pb-route="kalendar-plakat-vert"] .pb-product-showcase h1 {
    font-size: clamp(1.35rem, 6.4vw, 1.75rem);
  }
}
#zp-photobooks .pb-product-showcase .pb-hero-copy { min-width: 0; padding: 0; }
#zp-photobooks .pb-product-showcase .pb-heading-line { margin-bottom: 5px; }
#zp-photobooks .pb-product-showcase > .pb-heading-line { min-width: 0; }
#zp-photobooks .pb-product-showcase h1 { font-size: clamp(1.75rem,3.2vw,2.65rem); line-height: 1.12; }
#zp-photobooks .pb-product-stage { position: relative; background: #f6f4f1; border-radius: 14px; }
#zp-photobooks .pb-product-showcase .pb-product-photo figure { margin: 0; }
#zp-photobooks[data-pb-family="product"] .pb-product-showcase .pb-product-photo a {
  display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 5% 8% 8%;
  box-sizing: border-box; max-height: none; background: transparent; touch-action: pan-y pinch-zoom;
}
#zp-photobooks[data-pb-family="product"] .pb-product-showcase .pb-product-photo img {
  display: block; width: 100%; height: 100%; min-width: 0; min-height: 0;
  aspect-ratio: auto; border-radius: 0; background: transparent; object-fit: contain;
}
#zp-photobooks .pb-product-showcase .pb-model-flip-link {
  position: absolute; inset: auto 56px 8px; display: flex; justify-content: center; margin: 0;
  pointer-events: none;
}
#zp-photobooks .pb-product-showcase .pb-model-flip-link .pb-button {
  min-height: 44px; max-width: 100%; padding: 7px 17px; border: 0; border-radius: 999px;
  background: #fff; color: var(--pb-accent); font-weight: 600; pointer-events: auto;
}
#zp-photobooks .pb-product-showcase .pb-model-flip-link .pb-button:hover { background: var(--pb-lilac); }
#zp-photobooks .pb-model-gallery-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
#zp-photobooks .pb-product-showcase .pb-product-controls { justify-content: center; margin-top: 14px; }
#zp-photobooks .pb-product-showcase .pb-product-thumbs { flex: 0 1 auto; gap: 10px; padding: 2px; overflow: visible; }
#zp-photobooks .pb-product-showcase .pb-product-thumbs button { width: clamp(48px,6vw,77px); flex: none; }
#zp-photobooks .pb-product-showcase .pb-product-thumbs img { aspect-ratio: 1; }
#zp-photobooks .pb-product-showcase :is([data-product-step],.pb-product-controls,[data-product-index],.pb-product-progress)[hidden] {
  display: none;
}
#zp-photobooks .pb-product-progress { height: 4px; overflow: hidden; background: #e9dff4; }
#zp-photobooks .pb-product-progress span {
  display: block; width: calc(100% / var(--pb-photo-count)); height: 100%;
  transform: translateX(calc(100% * var(--pb-photo-index, 0))); background: #8a55d1;
}
@media (prefers-reduced-motion: no-preference) {
  #zp-photobooks .pb-product-progress span { transition: transform 180ms ease-out; }
}
#zp-photobooks [data-product-step] {
  position: absolute; bottom: 8px; display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: #fff; color: var(--pb-accent); cursor: pointer;
}
#zp-photobooks [data-product-step="-1"] { left: 9px; }
#zp-photobooks [data-product-step="1"] { right: 9px; }
#zp-photobooks [data-product-step]:disabled { visibility: hidden; }
#zp-photobooks :is([data-product-step],[data-compare-step]) svg { display: block; width: 22px; height: 22px; }
#zp-photobooks [data-model-quote] { padding: 0; margin: 0; border: 0; background: transparent; }
#zp-photobooks [data-model-quote] > .pb-primary { width: 100%; margin: 12px 0 26px; border-radius: 999px; min-height: 48px; }
#zp-photobooks [data-model-quote] .pb-buy-total { padding: 0; margin: 13px 0 0; border: 0; }
#zp-photobooks [data-model-quote] .pb-buy-total strong { font-size: 2.15rem; line-height: 1.1; }
#zp-photobooks .pb-model-type { margin: 0; font-size: clamp(1.2rem,2.5vw,1.65rem); line-height: 1.2; }
#zp-photobooks .pb-model-selection { margin: 7px 0; color: var(--pb-muted); font-size: .95rem; }
#zp-photobooks .pb-model-review-link, #zp-photobooks .pb-model-options-heading a { display: inline-flex; gap: 4px; align-items: center; min-height: 34px; color: var(--pb-accent); font-weight: 600; font-size: .9375rem; }
#zp-photobooks .pb-model-options-heading { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: center; }
#zp-photobooks .pb-model-option-group { border: 0; min-inline-size: 0; padding: 0; margin: 8px 0 20px; }
#zp-photobooks .pb-model-option-group :is(legend,label[for]) { display: block; padding: 0; margin: 0 0 8px; font-weight: 600; }
#zp-photobooks .pb-model-option-group .pb-buy-note { margin: 0 0 9px; }
#zp-photobooks [data-model-quote] .pb-quote-options { display: flex; flex-wrap: wrap; align-items: stretch; gap: 7px; }
#zp-photobooks [data-model-quote] .pb-quote-options label > span { line-height: 1.2; }
#zp-photobooks [data-quote-covers] label { flex: 0 1 158px; min-width: 105px; }
#zp-photobooks [data-quote-covers] label > span {
  display: grid; align-content: start; justify-items: center; height: 100%; border-radius: 10px;
  padding: 5px 5px 9px; gap: 5px; text-align: center;
}
#zp-photobooks [data-quote-covers] img { width: 100%; aspect-ratio: 1.45; object-fit: cover; border-radius: 6px; }
#zp-photobooks [data-quote-shapes] label > span { display: flex; align-items: center; gap: 7px; min-height: 42px; border-radius: 999px; }
#zp-photobooks [data-quote-shapes] input:checked + span i { background: var(--pb-accent); color: var(--pb-paper); border-color: var(--pb-accent); }
#zp-photobooks [data-quote-sizes] label { flex: 0 1 97px; }
#zp-photobooks [data-quote-sizes] label > span { display: grid; justify-items: center; gap: 5px; padding: 4px; width: 100%; text-align: center; border-radius: 9px; }
#zp-photobooks .pb-model-size-sample { width: 100%; display: grid; place-items: center; aspect-ratio: 1.2; overflow: hidden; border-radius: 5px; background: var(--pb-surface); color: var(--pb-accent); }
#zp-photobooks .pb-model-size-sample img { width: 100%; height: 100%; object-fit: cover; scale: var(--pb-size-scale,1); }
#zp-photobooks .pb-model-size-sample:not([data-size-shape="square"])::before { content: ""; display: block; width: 62%; aspect-ratio: 1.55; border: 1px solid currentColor; border-radius: 2px; background: linear-gradient(90deg,currentColor 2px,var(--pb-paper) 2px); }
#zp-photobooks .pb-model-size-sample[data-size-shape="tall"]::before { width: 39%; aspect-ratio: .68; }
#zp-photobooks [data-book-shape] { display: inline-block; width: 16px; height: 16px; border: 1.5px solid currentColor; border-radius: 2px; position: relative; flex: none; }
#zp-photobooks [data-book-shape]::before { content: ""; position: absolute; inset: 0 auto 0 2px; border-left: 1px solid currentColor; opacity: .7; }
#zp-photobooks [data-book-shape="wide"] { width: 21px; height: 14px; }
#zp-photobooks [data-book-shape="tall"] { width: 13px; height: 20px; }
#zp-photobooks [data-quote-counts] button {
  min-width: 44px; min-height: 42px; border: 1px solid var(--pb-line); border-radius: 999px;
  background: var(--pb-surface); color: var(--pb-ink); font: inherit; cursor: pointer;
}
#zp-photobooks [data-quote-counts] button[aria-pressed="true"] { border-color: var(--pb-accent); background: var(--pb-lilac); color: var(--pb-accent); font-weight: 600; }
#zp-photobooks .pb-model-custom-count > .pb-stepper { margin: 4px var(--pb-disclosure-gutter) 16px; }
#zp-photobooks .pb-model-custom-count { margin-top: 9px; }
#zp-photobooks .pb-model-custom-count summary { color: var(--pb-accent); cursor: pointer; }
#zp-photobooks .pb-model-materials { margin-top: 17px; }
#zp-photobooks .pb-model-materials summary { color: var(--pb-accent); cursor: pointer; font-weight: 600; }
#zp-photobooks .pb-model-materials > dl {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 8px var(--pb-disclosure-gutter) 18px;
}
#zp-photobooks .pb-model-materials dl > div {
  display: grid;
  grid-template-columns: minmax(7rem,max-content) minmax(0,1fr);
  gap: 2px 16px;
}
#zp-photobooks .pb-model-materials dt { font-weight: 600; }
#zp-photobooks .pb-model-materials dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  #zp-photobooks .pb-model-materials dl > div { grid-template-columns: minmax(0,1fr); }
}
#zp-photobooks .pb-model-facts, #zp-photobooks .pb-model-reviews { scroll-margin-top: 90px; }
#zp-photobooks .pb-model-facts .pb-model-specs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
#zp-photobooks .pb-model-facts .pb-model-specs > div { padding: 17px; background: var(--pb-surface); border-radius: 8px; }
#zp-photobooks .pb-model-review-empty { max-width: 650px; background: var(--pb-surface); padding: clamp(16px,3vw,28px); border-radius: 10px; }
#zp-photobooks .pb-model-stars { display: flex; color: var(--pb-accent); gap: 3px; margin-bottom: 9px; }
#zp-photobooks .pb-model-review-empty h3 { margin-top: 6px; }
#zp-photobooks .pb-model-review-empty p { margin-bottom: 14px; }
#zp-photobooks .pb-model-comparison { margin: clamp(50px,8vw,102px) 0; padding: clamp(25px,5vw,68px) 0 0; background: #fff; min-width: 0; scroll-margin-top: 88px; }
#zp-photobooks .pb-model-comparison > h2 { font-size: clamp(1.65rem,4vw,3.3rem); text-align: center; padding: 0 12px; }
#zp-photobooks .pb-model-comparison > p { text-align: center; margin: 12px 14px 14px; }
#zp-photobooks .pb-comparison-scroll { overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; }
#zp-photobooks .pb-comparison-scroll table { table-layout: fixed; border-collapse: separate; border-spacing: 0; width: max-content; }
#zp-photobooks .pb-comparison-scroll :is(th,td) { box-sizing: border-box; width: clamp(175px,33vw,286px); max-width: 286px; vertical-align: top; text-align: left; padding: clamp(12px,2.5vw,24px); border: 0; border-right: 1px solid var(--pb-line); border-bottom: 1px solid var(--pb-line); line-height: 1.48; overflow-wrap: anywhere; }
#zp-photobooks .pb-comparison-scroll thead :is(th,td) { border-top: 1px solid var(--pb-line); }
#zp-photobooks .pb-comparison-scroll tr > :first-child { position: sticky; left: 0; z-index: 2; width: clamp(94px,19vw,159px); background: #fff; }
#zp-photobooks .pb-comparison-scroll tbody th { font-size: 1rem; color: var(--pb-ink); }
#zp-photobooks .pb-comparison-scroll thead th { background: #fff; scroll-snap-align: start; scroll-margin-left: clamp(94px,19vw,159px); }
#zp-photobooks .pb-comparison-scroll thead th[data-current] .pb-comparison-name { color: var(--pb-accent); }
#zp-photobooks .pb-comparison-scroll thead img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 7px; display: block; }
#zp-photobooks .pb-comparison-name { display: block; font-size: 1.3rem; font-weight: 700; margin: 8px 0 4px; }
#zp-photobooks .pb-comparison-scroll thead a { display: inline-flex; align-items: center; gap: 3px; min-height: 40px; color: var(--pb-accent); font-weight: 600; }
#zp-photobooks .pb-comparison-steps { display: flex; gap: 8px; justify-content: end; padding: 0 0 12px; }
#zp-photobooks .pb-comparison-steps button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--pb-line); border-radius: 50%; background: #fff; color: var(--pb-accent); cursor: pointer; }
#zp-photobooks .pb-comparison-steps button:disabled { opacity: .4; cursor: default; }
@media (max-width: 760px) {
  #zp-photobooks[data-pb-family="product"] .pb-hero-product.pb-product-showcase {
    grid-template-columns: minmax(0,1fr); grid-template-areas: "heading" "photo" "copy"; grid-template-rows: auto auto auto; row-gap: 16px;
  }
  #zp-photobooks .pb-product-showcase > :is(.pb-hero-copy,.pb-heading-line,.pb-product-media,.pb-printed-calendar) {
    width: min(100%, 42rem);
    margin-inline: auto;
  }
  #zp-photobooks .pb-product-showcase .pb-product-controls { display: none; }
  #zp-photobooks[data-pb-family="product"] .pb-product-showcase .pb-product-photo a { padding: 4% 8% 54px; }
  #zp-photobooks .pb-model-facts .pb-model-specs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #zp-photobooks [data-quote-covers] label { flex-basis: 124px; min-width: 0; }
}
@media (max-width: 520px) {
  #zp-photobooks[data-pb-family="product"] .pb-product-showcase .pb-product-photo a { aspect-ratio: 1.18; }
}
#zp-photobooks:is([data-pb-route="model-panoramik"],[data-pb-route="model-klassik"]) .pb-product-photo a { touch-action: pan-y pinch-zoom; }
#zp-photobooks .pb-model-size-sample.pb-model-size-at-scale::before {
  content: ""; display: block; width: var(--pb-size-w); height: var(--pb-size-h);
  border: 1.5px solid currentColor; border-radius: 2px;
  background: linear-gradient(90deg,currentColor 2px,var(--pb-paper) 2px);
}
#zp-photobooks .pb-model-checkout {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin: 16px 0 22px; padding: 0; background: transparent;
}
#zp-photobooks .pb-model-checkout > div > span { color: var(--pb-muted); font-size: .9375rem; }
#zp-photobooks [data-model-quote] .pb-model-checkout .pb-buy-total { margin: 4px 0 0; }
#zp-photobooks .pb-model-checkout .pb-primary { min-height: 48px; flex: 0 1 205px; border-radius: 999px; }
#zp-photobooks[data-pb-family="product"] .pb-model-checkout { padding: 0; background: transparent; }
#zp-photobooks .pb-product-showcase [data-quote-covers] label > span { border-radius: 15px; }
#zp-photobooks .pb-product-showcase :is([data-quote-covers],[data-quote-sizes],[data-quote-shapes]) input:not(:checked) + span {
  border-color: transparent; background: #f6f4f1;
}
#zp-photobooks .pb-product-showcase :is([data-quote-covers],[data-quote-sizes],[data-quote-shapes]) input:checked + span,
#zp-photobooks .pb-product-showcase [data-quote-counts] button[aria-pressed="true"] {
  background: #fff; border-color: #8652c7; box-shadow: inset 0 0 0 1px #8652c7;
}
#zp-photobooks .pb-product-showcase [data-quote-shapes] label > span,
#zp-photobooks .pb-product-showcase [data-quote-counts] button { min-height: 44px; padding-inline: 13px; }
#zp-photobooks .pb-product-showcase [data-quote-shapes] input:checked + span i,
#zp-photobooks .pb-product-showcase [data-quote-counts] button[aria-pressed="true"]::before {
  display: inline-grid; place-items: center; width: 25px; height: 25px; border: 0; border-radius: 50%; background: #7547b3;
  color: #fff; margin-right: 3px;
}
#zp-photobooks .pb-product-showcase [data-quote-shapes] input:checked + span i::before,
#zp-photobooks .pb-product-showcase [data-quote-counts] button[aria-pressed="true"]::before {
  content: ""; border: 0; background: #7547b3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8 3 3 6-6' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
}
#zp-photobooks .pb-product-showcase [data-quote-shapes] input:checked + span i::before { position: absolute; inset: 0; opacity: 1; border-radius: inherit; }
#zp-photobooks .pb-product-showcase [data-quote-counts] button { display: inline-flex; gap: 5px; align-items: center; justify-content: center; }
#zp-photobooks .pb-product-showcase :is(.pb-model-materials,.pb-model-custom-count) summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 44px; padding-inline: var(--pb-disclosure-gutter); list-style: none;
}
#zp-photobooks .pb-product-showcase :is(.pb-model-materials,.pb-model-custom-count) summary::-webkit-details-marker { display: none; }
#zp-photobooks .pb-product-showcase :is(.pb-model-materials,.pb-model-custom-count) summary::after { content: "+"; font-size: 1.4em; line-height: 1; }
#zp-photobooks .pb-product-showcase :is(.pb-model-materials,.pb-model-custom-count)[open] summary::after { content: "−"; }
#zp-photobooks .pb-product-showcase :is(.pb-model-materials,.pb-model-custom-count) summary:focus-visible,
#zp-photobooks .pb-product-showcase [data-product-step]:focus-visible { outline: 2px solid var(--pb-accent); outline-offset: 2px; }
#zp-photobooks[data-pb-family="product"] .pb-model-facts > h2 { text-align: center; font-size: clamp(1.6rem,3.4vw,2.75rem); }
#zp-photobooks[data-pb-family="product"] .pb-model-facts .pb-print-specs {
  grid-template-columns: repeat(4,minmax(0,1fr)); margin: clamp(20px,4vw,42px) auto; border: 0;
}
#zp-photobooks[data-pb-family="product"] .pb-package-facts .pb-print-specs { grid-template-columns: repeat(3,minmax(0,1fr)); }
#zp-photobooks[data-pb-family="product"] .pb-print-specs > div {
  display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 12px 9px;
  text-align: center; background: #fff; border: 0;
}
#zp-photobooks .pb-print-specs dt { display: grid; justify-items: center; gap: 10px; color: var(--pb-ink); font-weight: 700; font-size: 1.15rem; }
#zp-photobooks .pb-print-specs dt img { display: block; width: 56px; height: 56px; object-fit: contain; }
#zp-photobooks .pb-print-specs dd { margin: 5px 0 0; }
#zp-photobooks[data-pb-family="product"] .pb-product-delivery { background: #fff; padding-inline: 0; border-radius: 0; }
#zp-photobooks[data-pb-family="product"] .pb-product-delivery > h2 {
  color: var(--pb-ink); font-size: clamp(1.3rem,2.2vw,1.7rem); margin-bottom: 21px;
}
#zp-photobooks .pb-delivery-cities { display: flex; flex-wrap: wrap; gap: 10px 13px; justify-content: center; max-width: 660px; margin: 0 auto; }
#zp-photobooks .pb-delivery-cities a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 7px 20px; border-radius: 999px;
  background: #f4f2ef; color: var(--pb-ink); font-weight: 600;
}
#zp-photobooks .pb-delivery-cities a:hover { color: var(--pb-accent); background: var(--pb-lilac); }
#zp-photobooks .pb-delivery-note a { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; }
#zp-photobooks .pb-delivery-details { max-width: 700px; margin: 12px auto 0; }
#zp-photobooks .pb-delivery-details .pb-delivery-facts { margin: 0; }
#zp-photobooks[data-pb-family="product"] .pb-hero-product .pb-disclosure { background: #fff; }
#zp-photobooks[data-pb-family="product"] .pb-product-showcase .pb-order-quote { background: #fff; padding: 0; border: 0; }
#zp-photobooks .pb-product-showcase .pb-order-quote .pb-buy-total { margin: 0; padding: 0; border: 0; }
#zp-photobooks .pb-product-showcase .pb-order-quote .pb-buy-total strong { font-size: clamp(1.5rem,3.3vw,2rem); line-height: 1.2; }
#zp-photobooks .pb-product-showcase .pb-order-quote .pb-buy-total .pb-primary { border-radius: 999px; flex: 0 1 215px; }
#zp-photobooks .pb-product-showcase .pb-order-quote .pb-buy-note { margin-bottom: 18px; }
@media (max-width: 500px) {
  #zp-photobooks .pb-model-checkout .pb-primary { flex: 1 1 160px; }
}
@media (max-width: 650px) {
  #zp-photobooks[data-pb-family="product"] .pb-model-facts .pb-print-specs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #zp-photobooks[data-pb-family="product"] .pb-package-facts .pb-print-specs { grid-template-columns: minmax(0,1fr); }
}
