/* These desktop changes belong to property details and Contacto, not the catalogue. */
@media(min-width:768px){
 html body.imbk-home-preview.imbk-detail-skin201:not(.imbk-profile-skin197):not(:has(#imbk-home.imbk-panel-preview)):not(:has(#inmo-add:not(.imbk-public-property))){background:#174c52!important}
 html body.imbk-home-preview.imbk-detail-skin201:not(.imbk-profile-skin197):not(:has(#imbk-home.imbk-panel-preview)):not(:has(#inmo-add:not(.imbk-public-property)))::before{
  content:""!important;position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(110deg,#174c5266,#174c5240),var(--imbk-panel-photo196) center/cover no-repeat!important;
 }
 html body #inmo-add.imbk-public-property{
  width:calc(100% - 64px)!important;max-width:1040px!important;margin:28px auto 90px!important;
  padding:20px!important;background:#fffdf7fa!important;border:1px solid #e3e8df!important;
  border-radius:14px!important;box-shadow:0 10px 30px #082e4429!important;
 }
 /* The whole photo stays visible. Gentle side areas replace the wide white bands. */
 html body #inmo-add.imbk-public-property .preview-gallery{
  background:linear-gradient(110deg,#e1edeb,#f5f8f2 50%,#e1edeb)!important;
  border:1px solid #d9e5df!important;border-radius:9px!important;overflow:hidden;
 }
 html body #inmo-add.imbk-public-property .imbk-main-photo{
  width:100%!important;height:clamp(360px,64vh,760px)!important;max-height:none!important;
  display:block!important;padding:0!important;margin:0!important;background:transparent!important;
 }
 html body #inmo-add.imbk-public-property .imbk-main-photo img{
  width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important;
  object-fit:contain!important;object-position:center!important;
 }
 html body #inmo-add.imbk-public-property .preview-content{
  width:100%!important;max-width:960px!important;margin:0 auto!important;padding:22px 12px!important;
  font-size:16px!important;line-height:1.55!important;
 }
 html body #inmo-add.imbk-public-property .preview-content .preview-facts{
  display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;
  gap:14px 28px!important;margin:16px 0 20px!important;
 }
 html body #inmo-add.imbk-public-property .preview-facts>span{font-size:16px!important;line-height:1.4!important;gap:7px!important}
 html body #inmo-add.imbk-public-property .preview-facts img{width:21px!important;height:21px!important}
 html body #inmo-add.imbk-public-property .preview-content>section:not(.preview-contact):not(.preview-pdf-controls){padding:16px 0 0!important;margin:18px 0 0!important}
 html body #inmo-add.imbk-public-property .preview-content>section>h3{font-size:20px!important;font-weight:600!important;line-height:1.35!important;margin:0 0 12px!important}
 html body #inmo-add.imbk-public-property .preview-description,
 html body #inmo-add.imbk-public-property .preview-description :is(p,li,span,div){font-size:16px!important;line-height:1.6!important}
 html body #inmo-add.imbk-public-property .feature-chips.imbk-data-list156{column-gap:24px!important;row-gap:9px!important}
 html body #inmo-add.imbk-public-property .imbk-data-list156>.imbk-pair156,
 html body #inmo-add.imbk-public-property .preview-economics>.economic-row.imbk-pair156{font-size:16px!important;line-height:1.5!important}
 html body #inmo-add.imbk-public-property .imbk-pair156::before{font-size:15px!important}
 html body #inmo-add.imbk-public-property .preview-contact .preview-agent-info h3{font-size:22px!important;font-weight:500!important}
 html body #inmo-add.imbk-public-property .preview-contact .preview-agent-info .preview-agent-role{font-size:14px!important;line-height:1.4!important}
 html body #inmo-add.imbk-public-property .preview-contact .preview-agent-info .preview-agent-number{font-size:23px!important}
 /* Contacto remains compact rather than stretching its message field to fill the screen. */
 html body #imbk-home main.imbk-company-contact159{
  width:calc(100% - 64px)!important;max-width:820px!important;min-height:0!important;
  margin:32px auto!important;padding:22px!important;box-sizing:border-box!important;
  background:#fffdf7fa!important;border-radius:14px!important;border:1px solid #e3e8df!important;
  box-shadow:0 10px 30px #082e4429!important;float:none!important;
 }
 html body #imbk-home .imbk-company-contact159 form{flex:none!important;padding:18px!important;gap:10px!important}
 html body #imbk-home .imbk-company-contact159 form label{font-size:15px!important;margin:6px 0!important;gap:6px!important;flex:none!important}
 html body #imbk-home .imbk-company-contact159 form input{height:44px!important;min-height:44px!important;font-size:16px!important;padding:10px 12px!important}
 html body #imbk-home .imbk-company-contact159 form label:has(textarea){flex:none!important;grid-template-rows:auto auto!important}
 html body #imbk-home .imbk-company-contact159 form label textarea{height:140px!important;min-height:140px!important;font-size:16px!important;line-height:1.5!important;padding:10px 12px!important;resize:vertical}
 html body #imbk-home .imbk-company-contact159 form button{font-size:16px!important;min-height:44px!important;padding:10px 18px!important}
 /* Correct any remaining theme column offset relative to the actual viewport. */
 html body.imbk-profile-skin197 .imbk-profile-shell200{
  position:relative!important;left:var(--imbk-profile-offset201,0px)!important;right:auto!important;
  width:min(900px,calc(100vw - 64px))!important;max-width:none!important;
  transform:none!important;translate:none!important;
 }
}
@media(min-width:1100px) and (hover:hover) and (pointer:fine){
 html body .imbk-photo-viewport181{inset:40px 8px 72px!important;cursor:grab}
 html body .imbk-photo-viewport181.is-zoomed:active{cursor:grabbing}
 html body .imbk-photo-controls181 button{width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;font-size:32px!important}
 html body .imbk-photo-prev181{left:calc(50% - 64px)!important}
 html body .imbk-photo-next181{left:calc(50% + 12px)!important}
 html body .imbk-photo-count181{font-size:16px!important}
 /* Desktop mouse users keep visible navigation while inspecting photos. */
 html body .imbk-photo-clean181 .imbk-photo-controls181{opacity:1!important}
 html body .imbk-photo-clean181 .imbk-photo-controls181 button{pointer-events:auto!important}
}
