/* r27 mobile swipe (06.11.2026): одна система свайпа для всех галерей приложения на главной при <900 px.
   Поведение — по мотивам hero-club (нативный scroll-snap + точки), без кода hero. ≥900 px — сетки без изменений, точки скрыты. */
.sw-dots{display:none}
.lang-hint{display:none!important} /* плашка «View in English?» перекрывала макеты; в превью скрыта */
@media(max-width:899px){
 /* home-v7: .stage .phone+.phone{display:none} до 1023px — открываем соседей hero до init свайпа */
 #inicio .hero-stage>.device.phone+.device.phone{display:block!important}
 .sw-on{display:flex!important;grid-template-columns:none!important;justify-content:flex-start!important;gap:14px!important;width:100vw!important;max-width:100vw!important;
  margin:0 calc(50% - 50vw)!important;padding:4px calc((100vw - min(72vw,300px))/2) 8px!important;overflow-x:auto!important;overflow-y:hidden;
  scroll-snap-type:x mandatory!important;scroll-padding-inline:calc((100vw - min(72vw,300px))/2)!important;overscroll-behavior-x:contain;scrollbar-width:none;
  box-sizing:border-box;
  /* iOS WebKit (владелец 11.11.2026, «Нет свайпа»): у прокручиваемой карусели не должно быть transform и его перехода.
     Появление .r и параллакс hero (data-par) давали translateY с переходом 1 с, и у hero он пересчитывался на каждый
     кадр вертикальной прокрутки — касание на iPhone не доходило до горизонтальной прокрутки. Появление — только прозрачностью.
     touch-action не задаём: auto — и горизонталь карусели, и вертикаль страницы, как в системных галереях. */
  transform:none!important;transition-property:opacity!important}
 .sw-on::-webkit-scrollbar{display:none}
 .sw-on>*{flex:0 0 min(72vw,300px)!important;width:min(72vw,300px)!important;max-width:none!important;min-width:0;margin:0!important;scroll-snap-align:center!important;scroll-snap-stop:always;
  grid-column:auto!important;transform:none}
 .sw-on>figure .phone,.sw-on>figure .device.phone{width:100%!important}
 #plus .pp-plus-shot.sw-on>figure{width:min(72vw,300px)!important;max-width:min(72vw,300px)!important}
 #plus .pp-plus-shot.sw-on .screen img{width:100%!important;height:100%!important;object-fit:cover;object-position:top center}
 /* .sw-on уже flex-start; figure/img fill — иначе desktop-plus rules сжимают кадр */
 .w11-rail:has(.sw-on){width:100%!important;margin-inline:0!important}
 .w11-nav{display:none!important}
 .sw-dots{display:flex;justify-content:center;gap:0;margin:14px auto 0}
 .sw-dots button{position:relative;width:44px;height:44px;margin:-10px;padding:0;border:0;border-radius:999px;background:transparent;cursor:pointer}
 .sw-dots button::before{content:"";position:absolute;left:50%;top:50%;width:8px;height:8px;border-radius:999px;transform:translate(-50%,-50%);
  background:color-mix(in srgb,var(--ink,#fff) 28%,transparent);transition:width .25s ease,background-color .25s ease}
 .sw-dots button.on::before{width:22px;background:var(--ink,#fff)}
 .sw-dots button:focus-visible{outline:2px solid var(--ink,#fff);outline-offset:1px}
 .shot-dots{display:none!important}
 /* одиночные (нет .sw-on): тот же размер карточки, что у слайдов; это НЕ свайп — только визуальный паритет */
 .hero-stage:not(.sw-on),#pronto .closing-stage:not(.sw-on),#plus .pp-plus-shot:not(.sw-on){display:flex;justify-content:center;width:100%;max-width:none;padding-inline:0;margin-inline:0}
 .hero-stage:not(.sw-on) .phone,#pronto .closing-stage:not(.sw-on) .phone,#plus .pp-plus-shot:not(.sw-on) figure,#plus .pp-plus-shot:not(.sw-on) .device.phone{width:min(72vw,300px)!important;max-width:none}
 #plus .pp-plus-shot:not(.sw-on) .device.phone{width:100%!important}
 /* #pronto.closing-stage при .sw-on: прямые .device.phone — слайды (как figure в .shots) */
 #pronto .closing-stage.sw-on>.device.phone{flex:0 0 min(72vw,300px)!important;width:min(72vw,300px)!important}
 #inicio .hero-stage.sw-on>.device.phone{flex:0 0 min(72vw,300px)!important;width:min(72vw,300px)!important}
}
/* Desktop: лишние кадры в одиночных блоках не меняют композицию */
@media(min-width:900px){
 #pronto .closing-stage>.device.phone:nth-child(n+2){display:none!important}
 #inicio .hero-stage>.device.phone:nth-child(n+2){display:none!important}
 #plus .pp-plus-shot>figure:nth-child(n+2){display:none!important}
}
@media(prefers-reduced-motion:reduce){.sw-dots button::before{transition:none}}
