.drbg-stage { position: relative; }
.drbg-stage > a.drbg-link { position: relative; display: block; }
.dbp .dbp-photo > .drbg-link { height: 100%; }
.dbp .dbp-photo:hover + .dbp-item .dbp-name { text-decoration: underline; text-underline-offset: 3px; }
.drbg-stage.drbg-multiple > .drbg-link { touch-action: pan-y pinch-zoom; }
.drbg-stage.drbg-multiple > .drbg-link img { -webkit-user-drag: none; user-select: none; }
.drbg-stage .drbg-link.drbg-extra > .drbg-base { opacity: 0; }
.drbg-stage .drbg-link > img.drbg-frame {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0;
  max-width: 100%; max-height: 100%; margin: 0; padding: 0; object-fit: contain;
  border: 0; box-shadow: none; pointer-events: none;
}
.drbg-stage .drbg-nav { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.drbg-stage .drbg-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); pointer-events: auto;
  display: grid; place-items: center; box-sizing: border-box; width: 44px; height: 44px;
  margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; color: #292723;
  cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: pan-y pinch-zoom;
}
.drbg-stage .drbg-prev { left: 0; }
.drbg-stage .drbg-next { right: 0; }
.drbg-stage .drbg-arrow::before,
.drbg-stage .drbg-arrow::after { content: ""; grid-area: 1 / 1; box-sizing: border-box; }
.drbg-stage .drbg-arrow::before {
  width: 28px; height: 28px; border: 1px solid #d7d2c9; border-radius: 50%; background: rgba(255,255,255,.94);
}
.drbg-stage .drbg-arrow::after { width: 8px; height: 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; }
.drbg-stage .drbg-prev::after { transform: translateX(1px) rotate(135deg); }
.drbg-stage .drbg-next::after { transform: translateX(-1px) rotate(-45deg); }
.drbg-stage .drbg-arrow:focus-visible { outline: 2px solid #846d49; outline-offset: -5px; }
.drbg-stage .drbg-index {
  position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); padding: 1px 6px;
  border-radius: 8px; background: rgba(255,255,255,.93); color: #504b43; white-space: nowrap;
  font: inherit; font-size: 11px; line-height: 16px; font-variant-numeric: tabular-nums;
}
.drbg-stage .drbg-announcement {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .drbg-stage:not(:hover):not(:focus-within) .drbg-arrow { opacity: 0; pointer-events: none; }
  .drbg-stage .drbg-arrow:hover::before { border-color: #8f806f; background: #fff; }
}

/* The existing product photo doubles as the video poster. */
.drbg-stage .drbm-cover, .pg-main > .drbm-cover {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0;
  color: #fff; background: rgba(24,23,21,.13); cursor: pointer; touch-action: pan-y pinch-zoom;
}
.drbm-play {
  position: relative; display: inline-grid; place-items: center; box-sizing: border-box;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.85);
  background: rgba(35,34,31,.91); color: #fff; pointer-events: none;
}
.drbm-play::after {
  content: ""; width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor; margin-left: 3px;
}
.drbm-cover:focus-visible, .drbm-close:focus-visible, .drbm-thumb:focus-visible { outline: 2px solid #99774a; outline-offset: -3px; }
.pg.drbm-detail-selected .pg-main { position: relative; }
.pg.drbm-detail-selected .pg-main > .drbm-cover { z-index: 12; background: #fff; }
.pg-main > .drbm-cover > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.drbm-detail-selected-page .zoomContainer { visibility: hidden; }
.pg-thumbs .drbm-thumb, .drbm-thumb-item .drbm-thumb {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: #faf9f6; color: #34312d; cursor: pointer; font: inherit; font-size: 12px; line-height: 1.15;
}
.drbm-thumb-item .drbm-thumb { width: 70px; height: 70px; border: 1px solid #ddd8cf; border-radius: 3px; }
.drbm-thumb .drbm-play { width: 30px; height: 30px; }
.drbm-thumb .drbm-play::after { border-top-width: 5px; border-bottom-width: 5px; border-left-width: 8px; }
body.drbm-modal-open { overflow: hidden; }
dialog.drbm-layer {
  position: fixed; inset: 0; z-index: 2147483646; box-sizing: border-box; max-width: none; max-height: none;
  width: 100%; height: 100%; margin: 0; padding: 10px; border: 0; background: transparent; color: #292723;
}
dialog.drbm-layer[open] { display: flex; align-items: center; justify-content: center; background: rgba(26,25,23,.76); }
dialog.drbm-layer::backdrop { background: transparent; }
.drbm-shell { box-sizing: border-box; display: flex; flex-direction: column; min-width: 0; background: #fff; color: #292723; overflow: hidden; text-align: left; }
.drbm-layer > .drbm-shell { width: min(100%, 800px); max-height: 100%; }
.drbg-stage > .drbm-inline { position: absolute; inset: 0; z-index: 10; }
.drbm-shell .drbm-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  flex-shrink: 0; min-width: 0; min-height: 44px; padding: 0 6px 0 12px; background: #fff;
}
.drbm-bar > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; line-height: 1.4; }
.drbm-shell .drbm-close {
  display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 0; color: #292723; background: transparent; font: 400 30px/1 Arial,sans-serif; cursor: pointer;
}
.drbm-shell .drbm-screen { position: relative; flex: 1 1 auto; min-height: 0; background: #111; color: #fff; }
.drbm-layer .drbm-screen { height: min(56vw, 450px, calc(100vh - 70px)); min-height: min(200px, calc(100vh - 70px)); }
.drbm-screen > iframe, .drbm-screen > video { display: block; position: absolute; inset: 0; height: 100%; width: 100%; margin: 0; border: 0; background: #111; }
.drbm-screen > p { margin: 0; padding: 20px; font-size: 15px; }
