/* ПОТОЛКИ ВЫГОДНО — фотопечать, без растягивания миниатюр 22.11.2026
 * Original photo1.jpg room visual + selected photoN_.jpg projected into the
 * original alpha-mask color1.png. Avoid nonexistent photo2.jpg–photo12.jpg.
 * No cost calculation, form, sky, colour or carousel changes. */
.calc_potolok_bg .calc_potolok_calc_right .calc_color_photo {
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
}
.calc_potolok_bg .calc_potolok_calc_right .calc_color_photo .pv-photoprint-preview-layer{
  position:absolute!important;
  z-index:1!important;
  inset:0!important;
  display:block;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  pointer-events:none!important;
  /* Canvas produces one full-size 774x442 composition while keeping
     the thumbnail's central motif within 146px. No tiling/stretching. */
  background-repeat:no-repeat!important;
  background-position:center center!important;
  background-size:100% 100%!important;
  image-rendering:auto!important;
  opacity:1!important;
  -webkit-mask-image:url("/img/calc_potolok/color1.png");
  mask-image:url("/img/calc_potolok/color1.png");
  -webkit-mask-size:100% 100%;
  mask-size:100% 100%;
  -webkit-mask-position:center center;
  mask-position:center center;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
}
.calc_potolok_bg .calc_potolok_calc_right .calc_color_photo .pv-photoprint-preview-layer[hidden]{
  display:none!important;
}
.calc_potolok_bg .calc_potolok_calc_right .calc_color_photo > .calc_osnova {
  position:relative!important;
  z-index:2!important;
}
.calc_potolok_bg .calc_potolok_calc_photo_small > div[aria-pressed="true"] {
  outline:2px solid #111!important;
  outline-offset:2px!important;
}
.calc_potolok_bg .calc_potolok_calc_photo_small > div:focus-visible{
  outline:3px solid #111!important;
  outline-offset:3px!important;
}
@media (prefers-reduced-motion:reduce){
  .calc_potolok_bg .pv-photoprint-preview-layer{
    animation:none!important;
    transition:none!important;
  }
}
