#zp-photobooks .pb-service-banner {
  display: grid;
  grid-template-columns: minmax(0, 48.5%) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 1.94vw, 30px);
  min-height: 490px;
  border-radius: 10px;
  background: #f9f9f9;
  overflow: clip;
}

#zp-photobooks .pb-service-art {
  position: relative;
  align-self: stretch;
  min-height: 490px;
  margin: 0;
}

#zp-photobooks .pb-service-banner .pb-hero-copy {
  padding: 24px clamp(16px, 3.5vw, 55px) 24px 0;
}

#zp-photobooks .pb-service-banner h1 {
  max-width: 19ch;
  margin: 0;
  font-size: clamp(1.75rem, 3.875vw, 3.05rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.02em;
  text-wrap: balance;
}

#zp-photobooks .pb-service-banner .pb-hero-copy > p {
  max-width: 45ch;
  margin: 8px 0 16px;
  line-height: 1.45;
}

#zp-photobooks .pb-service-details {
  margin: 0 0 18px;
  padding-inline-start: 15px;
  color: var(--pb-muted);
  font-size: .875rem;
  line-height: 1.35;
}

#zp-photobooks .pb-service-details li + li { margin-top: 6px; }

#zp-photobooks .pb-service-banner .pb-button {
  gap: 6px;
  min-height: 48px;
  padding-inline: 24px;
  border-radius: 8px;
}

#zp-photobooks .pb-service-banner .pb-button svg { flex: none; width: 16px; height: 16px; }
#zp-photobooks .pb-service-banner .pb-button:focus-visible {
  outline: 2px solid var(--pb-accent);
  outline-offset: 3px;
}

#zp-photobooks .pb-wide-banner.pb-context-band { background: transparent; }
#zp-photobooks .pb-context-band > .pb-wrap { width: min(1352px, 100% - 40px); }
#zp-photobooks .pb-context-band .pb-context-banner { margin-bottom: 0; }

#zp-photobooks .pb-context-banner .pb-context-art {
  display: grid;
  align-items: center;
  padding: clamp(16px, 2.45vw, 36px);
}

#zp-photobooks .pb-context-art > figure { width: 100%; margin: 0; }
#zp-photobooks .pb-context-art a { display: block; }
#zp-photobooks .pb-context-art img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 410px;
  border-radius: 8px;
  object-fit: contain;
}

#zp-photobooks[data-pb-route="upakovka"] .pb-wrap {
  width: min(1352px, 100% - 40px);
}

#zp-photobooks .pb-packaging-art {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(6px, 1.3vw, 18px);
  padding: clamp(12px, 3vw, 46px);
}

#zp-photobooks .pb-packaging-art img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
}

#zp-photobooks .pb-packaging-delivery {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  color: var(--pb-accent);
  text-decoration: underline;
  text-underline-offset: .2em;
}

#zp-photobooks .pb-packaging-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#zp-photobooks .pb-packaging-cards .pb-card-cutout {
  background: transparent;
  box-shadow: none;
}

#zp-photobooks .pb-packaging-cards .pb-card-media {
  display: grid;
  place-items: center;
  height: clamp(172px, 27vw, 330px);
  padding: clamp(12px, 2vw, 28px);
  background: transparent;
}

#zp-photobooks .pb-packaging-cards .pb-card-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
  filter: none;
}

@media (max-width: 605px) {
  #zp-photobooks .pb-service-banner { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; }
  #zp-photobooks .pb-service-art { min-height: clamp(230px, 73vw, 365px); }
  #zp-photobooks .pb-service-banner .pb-hero-copy { padding: 4px 18px 24px; }
  #zp-photobooks .pb-service-banner .pb-actions { display: grid; gap: 8px; }
  #zp-photobooks .pb-service-banner .pb-button { width: 100%; padding-inline: 12px; }
  #zp-photobooks .pb-context-band > .pb-wrap { width: calc(100% - 32px); }
  #zp-photobooks .pb-context-banner .pb-context-art { min-height: 0; }
  #zp-photobooks .pb-context-art img { max-height: 280px; }
  #zp-photobooks[data-pb-route="upakovka"] .pb-wrap { width: calc(100% - 32px); }
  #zp-photobooks .pb-service-art.pb-packaging-art { min-height: clamp(160px, 49vw, 265px); }
  #zp-photobooks .pb-packaging-cards { grid-template-columns: minmax(0, 1fr); }
}
