
.pogost-hearse-catalog-block{--success:var(--pc-success,#4F8069);--warning:var(--pc-warning,#B9904E);--danger:var(--pc-danger,#985B58)}
.pogost-hearse-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.pogost-hearse-card{min-width:0;overflow:hidden;border:1px solid var(--line,#DDE0E2);border-radius:var(--pc-radius-md,18px);background:var(--surface,#fff);box-shadow:0 6px 20px rgba(39,43,47,.035);transition:.18s ease}
.pogost-hearse-card:hover{border-color:color-mix(in srgb,var(--line,#DDE0E2) 60%,var(--brand,#B9895B));box-shadow:0 13px 30px rgba(39,43,47,.075);transform:translateY(-1px)}
.pogost-hearse-card__media{position:relative;display:block;aspect-ratio:3/2;overflow:hidden;background:var(--pc-alt,#EEF0F1);text-decoration:none}
.pogost-hearse-card__media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .22s ease}.pogost-hearse-card:hover .pogost-hearse-card__media img{transform:scale(1.012)}
.pogost-hearse-card__placeholder{position:absolute;inset:0;display:grid;place-items:center;padding:18px;text-align:center;color:var(--muted,#656B70);font-size:12px}
.pogost-hearse-card__capacity{position:absolute;top:10px;right:10px;padding:5px 7px;border-radius:9px;background:rgba(255,255,255,.94);color:var(--pc-dark,#111820);font:700 9px/1 var(--pc-font-heading,Montserrat,sans-serif);text-transform:uppercase;letter-spacing:.04em}
.pogost-hearse-card__body{padding:16px}.pogost-hearse-card__head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding-bottom:14px;border-bottom:1px solid #E7EAEC}.pogost-hearse-card__head>div{min-width:0}.pogost-hearse-card__head span{display:block;margin-bottom:4px;color:var(--muted,#656B70);font-size:10px;text-transform:uppercase;letter-spacing:.045em}.pogost-hearse-card__head a{display:block;color:var(--ink,#252B31);font:700 18px/1.18 var(--pc-font-heading,Montserrat,Inter,sans-serif);text-decoration:none}
.pogost-hearse-status{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;color:var(--success);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.pogost-hearse-status i{width:7px;height:7px;border-radius:50%;background:currentColor}.pogost-hearse-status.is-route{color:var(--warning)}.pogost-hearse-status.is-booked{color:var(--danger)}
.pogost-hearse-card__specs{margin:0}.pogost-hearse-card__specs>div{display:grid;grid-template-columns:86px minmax(0,1fr);gap:9px;padding:10px 0;border-bottom:1px solid #E7EAEC}.pogost-hearse-card__specs dt{color:var(--muted,#656B70);font-size:11px}.pogost-hearse-card__specs dd{margin:0;text-align:right;font-size:12px;font-weight:650}
.pogost-hearse-card__actions{display:flex;justify-content:space-between;align-items:center;gap:9px;padding-top:12px}.pogost-hearse-code{color:var(--muted,#656B70);font-size:10px}.pogost-hearse-card__actions>a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 11px;border:1px solid var(--line,#DDE0E2);border-radius:var(--pc-radius-xs,10px);background:var(--pc-alt,#F3F4F4);color:var(--pc-dark,#111820);font:700 10.5px/1 var(--pc-font-heading,Montserrat,Inter,sans-serif);text-decoration:none}.pogost-hearse-card__actions>a:hover{background:var(--pc-dark,#111820);border-color:var(--pc-dark,#111820);color:#fff}

.pogost-hearse-page{padding:48px 0 72px;background:var(--pc-surface,#F2EFEA);color:var(--pc-text,#20242A);font-family:var(--pc-font-body,Inter,Arial,sans-serif)}.pogost-hearse-page .pogost-block-container{width:min(var(--pc-container,1550px),calc(100% - 40px));margin-inline:auto}.pogost-hearse-breadcrumb{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:18px;color:var(--pc-muted,#6F7478);font-size:12px}.pogost-hearse-layout{display:grid;grid-template-columns:1.08fr .92fr;gap:24px;align-items:start}.pogost-hearse-gallery{display:grid;grid-template-columns:1fr;gap:14px}.pogost-hearse-gallery.has-thumbs{grid-template-columns:88px minmax(0,1fr)}.pogost-hearse-thumbs{display:grid;gap:10px;align-content:start}.pogost-hearse-thumbs button{padding:4px;border:1px solid var(--pc-line,#D8D4CE);border-radius:12px;background:#fff;cursor:pointer}.pogost-hearse-thumbs button.is-active{border-color:var(--pc-accent,#B9895B);box-shadow:0 0 0 2px color-mix(in srgb,var(--pc-accent,#B9895B) 20%,transparent)}.pogost-hearse-thumbs img{width:100%;aspect-ratio:1;object-fit:cover}
.pogost-hearse-main{aspect-ratio:3/2;display:grid;place-items:center;overflow:hidden;border:1px solid var(--pc-line,#D8D4CE);border-radius:var(--pc-radius-lg,24px);background:var(--pc-paper,#FAF8F5)}.pogost-hearse-main img{display:block;width:100%;height:100%;object-fit:cover}.pogost-hearse-info{position:sticky;top:132px;padding:28px;border:1px solid var(--pc-line,#D8D4CE);border-radius:var(--pc-radius-lg,24px);background:var(--pc-paper,#FAF8F5);box-shadow:0 12px 34px rgba(17,24,32,.06)}.pogost-hearse-info h1{margin:12px 0 8px;font:700 38px/1.05 var(--pc-font-heading,Montserrat,Inter,sans-serif);letter-spacing:-.035em}.pogost-hearse-info table{width:100%;border-collapse:collapse;margin-top:18px}.pogost-hearse-info td{padding:11px 0;border-bottom:1px solid var(--pc-line,#D8D4CE);font-size:13px}.pogost-hearse-info td:first-child{color:var(--pc-muted,#6F7478)}.pogost-hearse-info td:last-child{text-align:right;font-weight:700}.pogost-hearse-info__top{display:flex;justify-content:space-between;gap:12px;align-items:center}.pogost-hearse-info__code{color:var(--pc-muted,#6F7478);font-size:11px}.pogost-hearse-description{box-sizing:border-box;width:min(100%,1120px);max-width:1120px;margin:38px 0 0;padding:28px;text-align:left;border:1px solid var(--pc-line,#D8D4CE);border-radius:var(--pc-radius-lg,24px);background:var(--pc-paper,#FAF8F5)}.pogost-hearse-description h2{margin-top:0;font:700 28px/1.08 var(--pc-font-heading,Montserrat,Inter,sans-serif);letter-spacing:-.03em}.pogost-hearse-related{margin-top:48px}.pogost-hearse-related h2{font:700 clamp(28px,3.2vw,40px)/1.08 var(--pc-font-heading,Montserrat,Inter,sans-serif);letter-spacing:-.03em}.pogost-hearse-page .pogost-block-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.pogost-hearse-page .pogost-block-btn{min-height:46px;padding:0 18px;border-radius:var(--pc-radius-button,12px);border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;background:var(--pc-dark,#111820);color:#fff;text-decoration:none;font-weight:760;font-size:14px}

@media(max-width:1399px){.pogost-hearse-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1024px){.pogost-hearse-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pogost-hearse-layout{grid-template-columns:1fr}.pogost-hearse-info{position:static}}
@media(max-width:600px){
  .pogost-hearse-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pogost-hearse-card{border-radius:var(--pc-radius-sm,14px)}.pogost-hearse-card__body{padding:9px}.pogost-hearse-card__head{display:grid;gap:7px;padding-bottom:0;border-bottom:0}.pogost-hearse-card__head span{display:none}.pogost-hearse-card__head a{font-size:14px}.pogost-hearse-status{font-size:9px}.pogost-hearse-card__specs{display:none}.pogost-hearse-card__actions{display:grid;grid-template-columns:1fr;gap:7px;padding-top:9px}.pogost-hearse-code{font-size:9px}.pogost-hearse-card__actions>a{width:100%;min-height:32px;padding:0 7px;font-size:9.5px;text-align:center}.pogost-hearse-card__capacity{top:7px;right:7px;padding:4px 6px;font-size:8px}
  .pogost-hearse-page{padding-top:28px}.pogost-hearse-page .pogost-block-container{width:min(100% - 22px,var(--pc-container,1550px))}.pogost-hearse-gallery.has-thumbs{grid-template-columns:1fr}.pogost-hearse-thumbs{display:flex;overflow:auto;scroll-snap-type:x proximity}.pogost-hearse-thumbs button{flex:0 0 74px;min-width:74px;scroll-snap-align:start}.pogost-hearse-main{border-radius:20px}.pogost-hearse-info{padding:22px}.pogost-hearse-info h1{font-size:32px}.pogost-hearse-page .pogost-block-actions{display:grid}.pogost-hearse-page .pogost-block-btn{width:100%}
}


/* 0.19.0 — hearses are 3:2 vehicles: one substantial card per mobile row. */
@media(max-width:600px){
  .pogost-hearse-grid{grid-template-columns:1fr!important;gap:12px!important}
  .pogost-hearse-card{border-radius:var(--pc-radius-md,18px)!important}
  .pogost-hearse-card__body{padding:13px!important}
  .pogost-hearse-card__head{display:flex!important;align-items:flex-start!important;gap:10px!important}
  .pogost-hearse-card__head a{font-size:16px!important}
  .pogost-hearse-card__specs{display:block!important}
  .pogost-hearse-card__specs>div{grid-template-columns:96px minmax(0,1fr)!important;padding:8px 0!important}
  .pogost-hearse-card__specs dt{font-size:10.5px!important}.pogost-hearse-card__specs dd{font-size:11.5px!important}
  .pogost-hearse-card__actions{display:flex!important;grid-template-columns:none!important;justify-content:space-between!important;align-items:center!important;gap:9px!important;padding-top:11px!important}
  .pogost-hearse-card__actions>a{width:auto!important;min-height:34px!important;padding:0 11px!important;font-size:10px!important}
}

/* v0.38.0 · Single product mobile alignment: no influence on catalogue lists. */
@media(max-width:820px){
 .pogost-hearse-page, .pogost-hearse-page *{box-sizing:border-box}
 .pogost-hearse-page .pogost-block-container{width:min(calc(100% - 24px),var(--pc-container,1550px));max-width:calc(100% - 24px);min-width:0;margin-inline:auto!important;padding-inline:0}
 .pogost-hearse-page .pogost-hearse-layout{grid-template-columns:minmax(0,1fr);width:100%;min-width:0}
 .pogost-hearse-page .pogost-hearse-gallery,.pogost-hearse-page .pogost-hearse-gallery.has-thumbs,.pogost-hearse-page .pogost-hearse-main,.pogost-hearse-page .pogost-hearse-info{width:100%;max-width:100%;min-width:0;margin-inline:auto}
 .pogost-hearse-page .pogost-hearse-description{width:100%;max-width:100%;min-width:0;margin:24px 0 0;overflow-wrap:anywhere;text-align:left}
 .pogost-hearse-page .pogost-hearse-main img{max-width:100%;object-position:center;margin-inline:auto}
 .pogost-hearse-page .pogost-hearse-info{overflow-wrap:anywhere}
}

/* 0.43.3 · Align the descriptive text to the left, independent of theme typography. */
.pogost-hearse-page .pogost-hearse-description{text-align:left}
.pogost-hearse-page .pogost-hearse-description :is(p,ul,ol,blockquote){text-align:left}
.pogost-hearse-page .pogost-hearse-description :is(p,li){line-height:1.65}

/* 0.44.0 — Full-bleed square hearse thumbnails and stable photo lightbox. */
.pogost-hearse-page .pogost-hearse-thumbs{min-width:0}
.pogost-hearse-page .pogost-hearse-thumbs button{position:relative;box-sizing:border-box;display:block;width:100%;aspect-ratio:1/1;min-height:0;padding:0;overflow:hidden;line-height:0;border-radius:12px;isolation:isolate}
.pogost-hearse-page .pogost-hearse-thumbs button img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:center;margin:0;transform:none}
.pogost-hearse-page .pogost-hearse-thumbs button:focus-visible,.pogost-hearse-main__open:focus-visible{outline:3px solid var(--pc-accent,#3473BE);outline-offset:3px}
.pogost-hearse-page .pogost-hearse-main{position:relative;min-height:0;aspect-ratio:3/2}
.pogost-hearse-page .pogost-hearse-main__open{position:relative;display:block;width:100%;height:100%;min-height:0;margin:0;padding:0;border:0;background:transparent;cursor:zoom-in;overflow:hidden;border-radius:inherit}
.pogost-hearse-page .pogost-hearse-main__open>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;object-position:center;margin:0}
.pogost-hearse-page .pogost-hearse-main__open>img.pcf-hearse-fade-in{opacity:0;transition:opacity .55s ease-in-out}
.pogost-hearse-page .pogost-hearse-main__open>img.pcf-hearse-fade-in.is-visible{opacity:1}
.pogost-hearse-main__hint{position:absolute;right:12px;bottom:12px;z-index:2;padding:7px 10px;border-radius:10px;background:rgba(15,25,38,.76);color:white;font:600 12px/1.15 var(--pc-font-body,Inter,Arial,sans-serif);pointer-events:none}
.pcf-hearse-lightbox{box-sizing:border-box;position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#101822;color:#fff;overflow:hidden;z-index:1000001}
.pcf-hearse-lightbox::backdrop{background:rgba(8,14,22,.92)}
.pcf-hearse-lightbox__shell{box-sizing:border-box;width:min(100%,1480px);height:100%;min-height:0;margin:0 auto;padding:14px 18px 16px;display:flex;flex-direction:column;gap:10px}
.pcf-hearse-lightbox__head{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;font:600 14px/1.4 var(--pc-font-body,Inter,Arial,sans-serif)}
.pcf-hearse-lightbox__close,.pcf-hearse-lightbox__nav{appearance:none;display:grid;place-items:center;flex:0 0 auto;width:48px;height:48px;border:1px solid rgba(255,255,255,.2);border-radius:14px;color:#fff;background:rgba(255,255,255,.09);cursor:pointer;font:400 34px/1 Arial,sans-serif;transition:background .2s}
.pcf-hearse-lightbox__close:hover,.pcf-hearse-lightbox__nav:hover{background:rgba(255,255,255,.2)}
.pcf-hearse-lightbox__close:focus-visible,.pcf-hearse-lightbox__nav:focus-visible{outline:3px solid #8bc3ff;outline-offset:3px}
.pcf-hearse-lightbox__stage{position:relative;display:grid;grid-template-columns:50px minmax(0,1fr) 50px;align-items:center;gap:12px;flex:1 1 auto;min-width:0;min-height:0}
.pcf-hearse-lightbox__nav--prev{grid-column:1}.pcf-hearse-lightbox__nav--next{grid-column:3}
.pcf-hearse-lightbox__viewer{position:relative;grid-column:2;grid-row:1;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;touch-action:pan-y pinch-zoom}
.pcf-hearse-lightbox__image{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;object-position:center;margin:0;opacity:1}
.pcf-hearse-lightbox__image.pcf-hearse-fade-in{opacity:0;transition:opacity .55s ease-in-out}
.pcf-hearse-lightbox__image.pcf-hearse-fade-in.is-visible{opacity:1}
.pcf-hearse-lightbox__foot{display:flex;justify-content:center;align-items:center;gap:18px;min-height:26px;font:500 13px/1.4 var(--pc-font-body,Inter,Arial,sans-serif)}
.pcf-hearse-lightbox__status{color:#ffd5b8}
body.pcf-hearse-lightbox-open{overflow:hidden}
@media(max-width:600px){
 .pogost-hearse-page .pogost-hearse-thumbs button{flex:0 0 74px;width:74px;min-width:74px;max-width:74px}
 .pcf-hearse-lightbox__shell{padding:8px 10px 18px;gap:7px}
 .pcf-hearse-lightbox__stage{display:block;min-height:0}
 .pcf-hearse-lightbox__viewer{width:100%;height:100%}
 .pcf-hearse-lightbox__nav{position:absolute;top:50%;z-index:3;width:44px;height:48px;transform:translateY(-50%);background:rgba(10,20,30,.64)}
 .pcf-hearse-lightbox__nav--prev{left:0}.pcf-hearse-lightbox__nav--next{right:0}
 .pogost-hearse-main__hint{font-size:11px}
}
@media(prefers-reduced-motion:reduce){
 .pogost-hearse-page .pogost-hearse-main__open>img.pcf-hearse-fade-in,
 .pcf-hearse-lightbox__image.pcf-hearse-fade-in{transition:none}
}


/* 0.46.4 - Show the entire vehicle in catalogue, related cards and gallery.
   Cover previously cropped bumpers, hearse rooflines and tall source photos. */
.pogost-hearse-catalog-block .pogost-hearse-card__media,
.pogost-hearse-page .pogost-hearse-related .pogost-hearse-card__media{
  position:relative; display:block; aspect-ratio:3/2; overflow:hidden;
  isolation:isolate; background:var(--pc-alt,#f1f3f4);
}
.pogost-hearse-catalog-block .pogost-hearse-card__media img,
.pogost-hearse-page .pogost-hearse-related .pogost-hearse-card__media img{
  box-sizing:border-box; position:absolute; inset:0; display:block;
  width:100%; height:100%; max-width:none; max-height:none;
  aspect-ratio:auto; object-fit:contain; object-position:center;
  padding:clamp(4px,.8vw,10px); margin:0; border-radius:0;
}
.pogost-hearse-page .pogost-hearse-main,
.pogost-hearse-page .pogost-hearse-main.is-landscape{aspect-ratio:3/2}
.pogost-hearse-page .pogost-hearse-main.is-portrait{aspect-ratio:4/5}
.pogost-hearse-page .pogost-hearse-main__open{
  position:absolute; inset:0; width:100%; height:100%;
}
.pogost-hearse-page .pogost-hearse-main__open>img{
  box-sizing:border-box; position:absolute; inset:0;
  width:100%; height:100%; max-width:none; max-height:none;
  aspect-ratio:auto; object-fit:contain; object-position:center;
  padding:clamp(6px,1vw,12px); margin:0;
}
.pogost-hearse-page .pogost-hearse-thumbs button img{
  box-sizing:border-box; object-fit:contain; object-position:center;
  padding:4px; background:var(--pc-alt,#f1f3f4);
}
@media(max-width:600px){
  .pogost-hearse-page .pogost-hearse-main.is-portrait{aspect-ratio:4/5}
  .pogost-hearse-catalog-block .pogost-hearse-card__media img{padding:5px}
}
