.east-gallery { padding-top: clamp(28px, 4vw, 52px); }
.east-photos {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-anchor: none;
  margin-top: 12px;
  scrollbar-width: none;
}
.east-photos::-webkit-scrollbar { display: none; }
.east-photo {
  background: transparent; border: 0; padding: 0; cursor: zoom-in; overflow: hidden;
  display: block;
  flex: 0 0 auto;
  width: clamp(180px, 25.6vw, 376px);
  aspect-ratio: 16 / 10;
}
.east-photo img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
.east-controls { display: flex; align-items: center; gap: 14px; padding-block: 8px; }
.east-controls > button {
  min-width: 44px; height: 44px; border: 1px solid #bbb; border-radius: 4px;
  background: #fff; color: #151515; font: bold 17px sans-serif; cursor: pointer;
}
.east-controls { justify-content: center; flex-wrap: wrap; gap: 4px; }
.east-dots { display: flex; flex-wrap: wrap; justify-content: center; }
.east-dots button { display: grid; place-items: center; width: 24px; height: 32px; padding: 0; background: transparent; border: 0; cursor: pointer; }
.east-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #999; }
.east-dots button[aria-current="true"]::before { background: #111; transform: scale(1.3); }
.east-gallery + .branchgrid { padding-top: 10px; }

.east-controls > button::before {
  display: inline-block; content: ''; width: 15px; height: 15px; background: #000;
}
.east-controls > button[data-playing="false"]::before {
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.east-photo:focus-visible { outline: 3px solid white; outline-offset: -5px; }
.east-viewer {
  width: fit-content; box-sizing: border-box; margin: auto; padding: 12px; border: 0; border-radius: 8px;
  background: #151515; color: white; max-width: 96vw; max-height: 96dvh;
}
.east-viewer::backdrop { background: rgb(0 0 0 / 85%); }
.east-viewer img {
  display: block; width: min(86vw, 1000px); height: min(70dvh, 700px); object-fit: contain;
}
.east-viewer form { display: flex; justify-content: center; padding-top: 10px; }
.east-viewer button {
  background: white; color: #111; padding: 10px 20px; min-height: 44px;
  font: inherit; font-weight: 650; border: 0; border-radius: 4px; cursor: pointer;
}
body:has(.east-viewer[open]) { overflow: hidden; }
