/* NESTIN_GUEST360_TENANT_PHOTO_STYLE_V1 */

#r360Drawer
.r360-drawer-head
> div:first-child{
  display:grid;

  grid-template-columns:
    72px
    minmax(0,1fr);

  column-gap:13px;

  align-items:center;
}

#r360Drawer
.r360-drawer-head
> div:first-child
> .r360-tenant-photo{
  grid-column:1;
  grid-row:1 / 4;
}

#r360Drawer
.r360-drawer-head
> div:first-child
> .eyebrow,
#r360Drawer
.r360-drawer-head
> div:first-child
> #r360DrawerName,
#r360Drawer
.r360-drawer-head
> div:first-child
> #r360DrawerMeta{
  grid-column:2;
}


.r360-tenant-photo{
  position:relative;

  width:72px;
  height:82px;

  overflow:hidden;

  border:2px solid #dbe8e3;
  border-radius:15px;

  background:#eef5f2;

  box-shadow:
    0 5px 14px
    rgba(24,60,48,.10);
}


.r360-tenant-photo img{
  display:block;

  width:100%;
  height:100%;

  object-fit:cover;
  object-position:center;

  background:#eef5f2;
}


.r360-tenant-photo-fallback{
  display:grid;
  place-items:center;

  width:100%;
  height:100%;

  background:
    linear-gradient(
      145deg,
      #e8f2ee,
      #f6faf8
    );

  color:#356957;

  font-size:22px;
  font-weight:800;
  letter-spacing:.02em;
}


@media (max-width:640px){

  #r360Drawer
  .r360-drawer-head
  > div:first-child{
    grid-template-columns:
      58px
      minmax(0,1fr);

    column-gap:10px;
  }

  .r360-tenant-photo{
    width:58px;
    height:68px;

    border-radius:12px;
  }

  .r360-tenant-photo-fallback{
    font-size:18px;
  }
}


/* ============================================================
   NESTIN_GUEST360_TENANT_PHOTO_ZOOM_STYLE_V4
   ============================================================ */

#r360TenantPhoto{
  cursor:zoom-in;
  transition:
    transform .16s ease,
    box-shadow .16s ease;
}

#r360TenantPhoto:hover{
  transform:scale(1.035);

  box-shadow:
    0 8px 20px
    rgba(24,60,48,.18);
}

#r360TenantPhoto:focus-visible{
  outline:3px solid
    rgba(32,112,88,.28);

  outline-offset:3px;
}


.r360-photo-zoom{
  position:fixed;
  inset:0;
  z-index:100000;

  display:none;

  align-items:center;
  justify-content:center;

  padding:28px;

  background:
    rgba(7,18,15,.82);

  backdrop-filter:
    blur(5px);
}


.r360-photo-zoom.is-open{
  display:flex;
}


.r360-photo-zoom-dialog{
  position:relative;

  display:flex;
  flex-direction:column;

  align-items:center;

  max-width:min(
    92vw,
    850px
  );

  max-height:92vh;

  padding:14px;

  border-radius:22px;

  background:#fff;

  box-shadow:
    0 24px 70px
    rgba(0,0,0,.35);
}


.r360-photo-zoom-image{
  display:block;

  width:auto;
  max-width:86vw;

  height:auto;
  max-height:78vh;

  object-fit:contain;

  border-radius:15px;

  background:#edf3f0;
}


.r360-photo-zoom-name{
  width:100%;

  padding:12px 8px 2px;

  text-align:center;

  color:#17372e;

  font-size:15px;
  font-weight:800;
}


.r360-photo-zoom-close{
  position:absolute;

  top:-14px;
  right:-14px;

  display:grid;
  place-items:center;

  width:42px;
  height:42px;

  padding:0;

  border:2px solid #fff;
  border-radius:50%;

  background:#173f35;
  color:#fff;

  font-size:27px;
  line-height:1;

  cursor:pointer;

  box-shadow:
    0 7px 20px
    rgba(0,0,0,.24);
}


.r360-photo-zoom-close:hover{
  transform:scale(1.05);
}


body.r360-photo-zoom-open{
  overflow:hidden;
}


@media (max-width:640px){

  .r360-photo-zoom{
    padding:16px;
  }

  .r360-photo-zoom-dialog{
    max-width:96vw;

    padding:9px;

    border-radius:17px;
  }

  .r360-photo-zoom-image{
    max-width:91vw;
    max-height:78vh;
  }

  .r360-photo-zoom-close{
    top:-9px;
    right:-6px;

    width:38px;
    height:38px;
  }
}
