/* Both neighbors are real buttons. Keep their hit areas clear of the center. */
.tour-gallery{position:relative;max-width:100%;margin-inline:auto}
.tour-edge{
  position:absolute;z-index:3;top:50%;transform:translateY(-50%);
  display:grid;place-items:center;width:clamp(44px,12%,66px);height:142px;
  padding:0;border:0;border-radius:18px;overflow:hidden;cursor:pointer;
  color:var(--lav-dark);background:#ffffff50;font:700 11px/1.4 SanadPlex,system-ui;
}
.tour-edge[data-tour-move="-1"]{inset-inline-start:6px}
.tour-edge[data-tour-move="1"]{inset-inline-end:6px}
.tour-edge img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;
  opacity:.35;pointer-events:none;mask-image:linear-gradient(to right,transparent,#000 70%);
}
.tour-edge[data-tour-move="-1"] img{mask-image:linear-gradient(to left,transparent,#000 70%)}
.tour-edge:hover img,.tour-edge:focus-visible img{opacity:.57}
.tour-edge-control{
  display:grid;justify-items:center;gap:3px;z-index:1;padding:7px 4px;
  border-radius:12px;background:#fffc;pointer-events:none
}
.tour-edge svg{width:19px;height:19px}
.tour-edge:focus-visible{outline:2px solid var(--lav);outline-offset:2px}
.plan-recommendation{
  display:inline-block;padding:1px 6px;margin-block:3px;
  border:1px solid currentColor;border-radius:5px;
  color:#a94747;background:var(--surface);font-size:11px;font-weight:700;
  white-space:nowrap;transform:rotate(-8deg)
}
.plan-periods [data-price-period="12"]{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:3px 6px
}
.plan-heading .plan-recommendation{margin-inline-start:auto}
@media(max-width:980px){
  .tour-gallery{max-width:480px}
  .tour-scene .tour-device{max-width:calc(100% - 68px)}
}
@media(max-width:650px){
  .tour-edge{height:112px;font-size:9px}
  .tour-edge[data-tour-move="-1"]{inset-inline-start:2px}
  .tour-edge[data-tour-move="1"]{inset-inline-end:2px}
  .tour-scene .tour-device{max-width:calc(100% - 74px)}
  .plan-periods .plan-recommendation{font-size:9px}
}
.plan-previous s{
  display:inline-block;position:relative;text-decoration:none
}
.plan-previous s::after{
  content:"";position:absolute;left:50%;top:50%;width:min(1.15em,100%);height:1px;
  border-radius:1px;background:#a94747;
  transform:translate(-50%,-50%) rotate(-45deg);pointer-events:none
}

.tour-stage{touch-action:pan-y;touch-action:pan-y pinch-zoom}
.tour-device{translate:var(--tour-drag-x,0px) 0;transition:translate 160ms ease-out}
.tour-device.is-dragging{transition:none}
.tour-gallery img{-webkit-user-drag:none;pointer-events:none}
