/* V5 gallery lightbox. No new photo copies. */
.gallery .gallery-zoom{
  position:relative;overflow:hidden;display:grid;place-items:center;
  width:100%;min-height:120px;padding:10px;background:#fff;
  border:1px solid #dde4e7;border-radius:10px;cursor:zoom-in;
}
.gallery .gallery-zoom:first-child{grid-column:1/-1;min-height:330px}
.gallery .gallery-zoom img{
  max-width:100%;max-height:135px;object-fit:contain;
  -webkit-user-drag:none;user-drag:none;user-select:none;-webkit-user-select:none;
  -webkit-touch-callout:none;pointer-events:none;
}
.gallery .gallery-zoom:first-child img{max-height:320px}
.gallery .gallery-zoom::after{
  content:"";position:absolute;inset:7px;pointer-events:none;
  background-image:url("/assets/brand/wmduze.png");
  background-position:center;background-size:65% auto;background-repeat:no-repeat;opacity:.13;
}
.gallery .gallery-zoom:hover{border-color:#9ba15f}
.gallery .gallery-zoom:focus-visible{outline:3px solid #eeb60a;outline-offset:2px}
.product-image img,.gallery img{
  -webkit-touch-callout:none;-webkit-user-select:none;user-select:none;
  -webkit-user-drag:none;
}
.team-lightbox{
  position:fixed;inset:0;margin:auto;box-sizing:border-box;
  width:min(97vw,1800px);height:94dvh;max-width:none;max-height:none;
  padding:0;border:1px solid #777b50;border-radius:12px;
  background:#161914;color:#fff;overflow:hidden;
  box-shadow:0 20px 80px #0009;
}
.team-lightbox::backdrop{background:rgba(10,15,11,.93)}
.team-lightbox-shell{height:100%;display:grid;position:relative;place-items:center}
.team-lightbox-stage{
  position:absolute;inset:45px 68px 45px;min-height:0;
  background-size:contain;background-position:center;background-repeat:no-repeat;
  user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;
}
.team-lightbox-stage::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:url("/assets/brand/wmduze.png");background-size:min(58%,500px) auto;
  background-position:center;background-repeat:no-repeat;opacity:.24;
}
.team-lightbox button{
  position:absolute;z-index:3;display:grid;place-items:center;
  border:1px solid #ffffff66;border-radius:40px;
  background:#161914dd;color:#fff;cursor:pointer;
  font-size:35px;font-weight:500;line-height:1;padding:0;
  width:47px;height:47px;
}
.team-lightbox button:hover{background:#4a4d31;color:#fff}
.team-lightbox button:focus-visible{outline:3px solid #ffc82e;outline-offset:2px}
.team-lightbox-close{top:13px;right:14px}
.team-lightbox-prev{left:13px;top:calc(50% - 24px)}
.team-lightbox-next{right:13px;top:calc(50% - 24px)}
.team-lightbox button[hidden]{display:none}
.team-lightbox-counter{
  position:absolute;bottom:12px;left:50%;transform:translateX(-50%);
  padding:3px 12px;border-radius:16px;background:#0009;color:#fff;font-size:13px
}
@media(max-width:750px){
  .gallery .gallery-zoom:first-child{min-height:220px}
  .gallery .gallery-zoom:first-child img{max-height:220px}
  .team-lightbox{width:100vw;height:100dvh;border-radius:0;border:0}
  .team-lightbox-stage{inset:62px 18px 65px}
  .team-lightbox button{width:43px;height:43px;font-size:31px}
  .team-lightbox-prev{left:10px;top:auto;bottom:8px}
  .team-lightbox-next{right:10px;top:auto;bottom:8px}
}
