/* Каждый тариф и его фотографии объединены общей рамкой. */
.pp-price-examples { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.pp-price-group { min-width:0; display:flex; flex-direction:column; padding:10px; gap:10px; border:1px solid #b5cfc3; border-radius:18px; background:#ffffff26; }
.pp-price-group>.pp-price-card { flex:1; min-width:0; }
.pp-size-examples { min-width:0; }
.price-page .pp-tariffs>.pp-note { margin:24px auto 0; }
.pp-photo-frame { position:relative; aspect-ratio:4/3; border:1px solid #deeae4; border-radius:12px; overflow:hidden; background:#e8f0ec; touch-action:pan-y pinch-zoom; }
.pp-photo-slide { display:block; position:absolute; inset:0; color:white; }
.pp-photo-slide[hidden],.pp-photo-controls[hidden] { display:none; }
.pp-photo-slide img { display:block; width:100%; height:100%; object-fit:cover; }
.pp-photo-caption { position:absolute; inset:auto 0 0; padding:36px 16px 14px; background:linear-gradient(transparent,#071a17dd); color:#fff; font-size:clamp(20px,2vw,26px); font-weight:600; line-height:1.4; }
.pp-photo-slide:focus-visible { outline:3px solid #85f2d0; outline-offset:-4px; }
.pp-photo-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; height:100%; padding:24px; text-align:center; color:#68726f; font-size:14px; }
.pp-photo-empty a { display:inline-flex; align-items:center; gap:8px; text-decoration:underline; text-underline-offset:4px; color:#315b4b; }
.pp-photo-controls { display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; color:#517b6d; font-size:12px; }
.pp-photo-controls button { appearance:none; background:transparent; color:inherit; border:0; border-radius:0; cursor:pointer; font:inherit; }
.pp-photo-controls button { width:44px; height:44px; font-size:24px; }
.pp-photo-controls button:hover { color:#071a17; }
.pp-examples-footer { display:flex; justify-content:center; margin-top:24px; }
.price-page .pp-gallery-button { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:14px 28px; text-align:center; background:#85f2d0; color:#071a17; border:1px solid transparent; }
.price-page .pp-gallery-button:hover { background:#a0f7de; }
.pp-photo-controls button:focus-visible,.pp-gallery-button:focus-visible { outline:2px solid #315b4b; outline-offset:2px; }
.pp-photo-dialog { border:0; padding:24px 64px 52px; max-width:none; max-height:none; width:100%; height:100%; height:100dvh; margin:0; background:#071a17f5; color:#fff; }
.pp-photo-dialog[open] { display:grid; place-items:center; }
.pp-photo-dialog::backdrop { background:#071a17; }
.pp-photo-dialog figure { margin:0; max-width:100%; min-width:0; }
.pp-photo-dialog figure img { display:block; max-width:100%; max-height:calc(100dvh - 132px); object-fit:contain; margin:auto; touch-action:pan-y pinch-zoom; }
.pp-photo-dialog figcaption { text-align:center; font-size:14px; margin-top:12px; }
.pp-photo-dialog button { appearance:none; position:absolute; display:grid; place-items:center; width:48px; height:48px; padding:0; border:0; border-radius:0; background:transparent; color:#85f2d0; font:400 48px/1 sans-serif; cursor:pointer; box-shadow:none; }
.pp-photo-dialog button:focus-visible { color:white; text-decoration:underline; outline:none; }
.pp-photo-dialog .pp-view-close { right:max(10px,env(safe-area-inset-right)); top:max(10px,env(safe-area-inset-top)); }
.pp-view-prev { left:8px; top:calc(50% - 24px); }
.pp-view-next { right:8px; top:calc(50% - 24px); }
.pp-photo-dialog button[hidden] { display:none; }
.price-page .pp-view-hint { position:absolute; bottom:max(12px,env(safe-area-inset-bottom)); inset-inline:16px; margin:0; text-align:center; color:#c6d6cf; font-size:12px; }
@media(max-width:700px) {
 .pp-price-examples { grid-template-columns:minmax(0,1fr); gap:12px; }
 .pp-price-group { padding:8px; gap:8px; border-radius:16px; }
 .price-page .pp-tariffs>.pp-note { margin-top:20px; }
 .pp-examples-footer { margin-top:20px; }
 .pp-photo-dialog { padding:64px 12px 72px; }
 .pp-photo-dialog figure img { max-height:calc(100dvh - 186px); }
 .pp-photo-dialog .pp-view-prev,.pp-photo-dialog .pp-view-next { top:auto; bottom:max(28px,env(safe-area-inset-bottom)); }
 .price-page .pp-view-hint { inset-inline:64px; bottom:max(28px,env(safe-area-inset-bottom)); font-size:11px; }
}
