.opening-type .opening-label .hero-product-id {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .18em .6em;
  font-size: clamp(1.05rem, 1.65vw, 1.55rem);
  line-height: 1.15;
}
.opening-label .hero-product-id img.brand-inline {
  display: block;
  width: clamp(130px, 12vw, 202px);
  height: auto;
  max-width: 100%;
  margin: 0;
}
.opening-type .opening-label > span:last-child {font-size: clamp(.8rem, 1.05vw, 1.05rem)}
.branch-gallery {scroll-margin-top: var(--header-height, 76px)}
.branch-cover {position: absolute; inset: 0; z-index: 1; cursor: zoom-in}
.shop-shot.branch-gallery .branch-caption {
  position: absolute;
  z-index: 2;
  inset: auto max(4.8vw, calc((100vw - 1440px) / 2)) clamp(26px, 4vw, 66px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(12px, 2vw, 32px);
  pointer-events: none;
}
.shop-shot.branch-gallery .branch-caption h2 {
  position: static;
  margin: 0;
  min-width: 0;
  max-width: 100%;
  font-size: clamp(2.1rem, 5.8vw, 6rem);
  line-height: 1.04;
  text-wrap: balance;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.shop-shot.branch-gallery .branch-caption h2 a {display: inline; font-size: inherit; pointer-events: auto}
.branch-strip {display: flex; justify-self: end; gap: 4px; padding: 4px; border-radius: 9px; background: #17151bcc; pointer-events: auto}
.branch-thumb {display: block; overflow: hidden; width: clamp(48px, 5.2vw, 82px); height: clamp(44px, 3.5vw, 54px); border: 1px solid #ffffffa6; border-radius: 5px}
.branch-thumb img {display: block; width: 100%; height: 100%; object-fit: cover}
.branch-thumb:is(:hover, :focus-visible), .branch-cover:focus-visible {outline: 2px solid white; outline-offset: -2px}
.image-origin {position: absolute; right: 4px; bottom: 4px; z-index: 3; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; cursor: pointer}
.branch-gallery > .image-origin {top: 5px; bottom: auto}
body .image-origin img.photo-mark {position: static; width: 10px !important; height: 8px !important; display: block; object-fit: contain}
.image-origin:is(:hover, :focus-visible) {background: #17151b9a; outline: 1px solid white}
.branch-viewer {box-sizing: border-box; width: min(1180px, 94vw, 153dvh); max-width: 96vw; max-height: 92dvh; margin: auto; padding: 0; overflow: hidden; border: 0; border-radius: 12px; background: #18181a; color: #fff}
.branch-viewer::backdrop {background: rgb(12 12 14 / 88%)}
.branch-sr {position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap}
.branch-stage {position: relative}
.branch-stage .branch-large {display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; touch-action: pan-y pinch-zoom}
.branch-stage button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  background: rgb(18 18 20 / 58%);
  color: white;
  cursor: pointer;
}
.branch-stage button:is(:hover, :focus-visible) {background: #17171be0}
.branch-stage button:focus-visible {outline: 2px solid white; outline-offset: 2px}
.branch-stage button svg {width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round}
.branch-close {top: 10px; right: 10px}
.branch-stage [data-step] {top: 50%; transform: translateY(-50%)}
.branch-stage [data-step="-1"] {left: 10px}
.branch-stage [data-step="1"] {right: 10px}
.branch-count {position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); padding: 2px 9px; border-radius: 20px; background: #17171ba6; font-size: .8rem; font-variant-numeric: tabular-nums}
@media (max-width: 760px) {
  .opening-label .hero-product-id img.brand-inline {width: clamp(110px, 31vw, 156px)}
  .opening-type .opening-label .hero-product-id {font-size: clamp(.93rem, 3.6vw, 1.2rem)}
  .shop-shot.branch-gallery .branch-caption {inset: auto 5vw 14px; grid-template-columns: minmax(0, 1fr); gap: 10px}
  .shop-shot.branch-gallery .branch-caption h2 {font-size: clamp(1.85rem, 7.8vw, 3.4rem)}
  .branch-thumb {width: 52px; height: 44px}
  body .image-origin img.photo-mark {width: 7px !important; height: 6px !important}
  .branch-viewer {width: 96vw; border-radius: 9px}
  .branch-stage [data-step="-1"] {left: 5px}
  .branch-stage [data-step="1"], .branch-close {right: 5px}
  .branch-close {top: 5px}
}

.branch-gallery,.branch-stage {background-size: cover; background-position: center}
.branch-stage {background-size: contain; background-repeat: no-repeat}
.gallery-loading {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: none; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 20px;
  background: #18171cbd; color: #fff; font: 650 12px/1.2 "Instrument Sans", sans-serif;
  letter-spacing: -.02em; pointer-events: none;
}
.is-loading > .gallery-loading {display: inline-flex; animation: gallery-reveal .18s .16s both}
.gallery-loading i {width: 11px; height: 11px; box-sizing: border-box; border: 1.5px solid #fff6; border-top-color: white; border-radius: 50%; animation: gallery-turn .85s linear infinite}
.branch-stage.is-loading .branch-large {opacity: 0}
.branch-stage .gallery-retry:not([hidden]) {position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); padding: .6rem 1rem; border-radius: 2rem; background: #242128; color: #fff}
@keyframes gallery-reveal {from {opacity: 0} to {opacity: 1}}
@keyframes gallery-turn {to {transform: rotate(1turn)}}
@media (prefers-reduced-motion: reduce) {.gallery-loading i,.is-loading > .gallery-loading {animation: none}}
