/* GeoArea Mobile UX A3 — Single Property */
.gsp-mobile-gallery,
.gsp-mobile-action-bar { display: none; }

@media (max-width: 760px) {
  body.single-property { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }

  .gsp-page { overflow-x: clip; }
  .gsp-hero { padding: 14px 0 8px; }
  .gsp-topline { display: none; }
  .gsp-title-row h1 { font-size: 24px !important; line-height: 1.22; }
  .gsp-location { font-size: 14px; }
  .gsp-main-grid { padding-left: 0 !important; padding-right: 0 !important; }
  .gsp-left > :not(.gsp-gallery),
  .gsp-sidebar { margin-left: 14px; margin-right: 14px; }

  .gsp-gallery { margin: 0 0 14px !important; }
  .gsp-main-photo,
  .gsp-thumbs { display: none !important; }

  .gsp-mobile-gallery {
    display: block;
    position: relative;
    width: 100%;
    background: #0f172a;
    overflow: hidden;
  }

  .gsp-mobile-gallery-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .gsp-mobile-gallery-track::-webkit-scrollbar { display: none; }

  .gsp-mobile-slide {
    flex: 0 0 100%;
    width: 100%;
    height: min(66vw, 420px);
    min-height: 270px;
    padding: 0;
    border: 0;
    background: #0f172a;
    scroll-snap-align: start;
    cursor: zoom-in;
  }
  .gsp-mobile-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .gsp-mobile-gallery-prev,
  .gsp-mobile-gallery-next {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 999px;
    color: #fff;
    background: rgba(15,23,42,.54);
    box-shadow: 0 8px 24px rgba(15,23,42,.22);
    transform: translateY(-50%);
    font-size: 29px;
    line-height: 1;
    backdrop-filter: blur(8px);
  }
  .gsp-mobile-gallery-prev { left: 10px; }
  .gsp-mobile-gallery-next { right: 10px; }

  .gsp-mobile-gallery-counter {
    position: absolute;
    right: 12px;
    bottom: 13px;
    z-index: 3;
    padding: 7px 11px;
    border-radius: 999px;
    color: #fff;
    background: rgba(15,23,42,.72);
    font-size: 12px;
    font-weight: 900;
    backdrop-filter: blur(8px);
  }

  .gsp-mobile-gallery-dots {
    position: absolute;
    left: 50%;
    bottom: 15px;
    z-index: 3;
    display: flex;
    max-width: 46%;
    gap: 5px;
    transform: translateX(-50%);
    overflow: hidden;
  }
  .gsp-mobile-gallery-dots button {
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.52);
    transition: width .18s ease, background .18s ease;
  }
  .gsp-mobile-gallery-dots button.active {
    width: 18px;
    background: #fff;
  }

  .gsp-lightbox {
    padding: 0 !important;
    background: #020617 !important;
    touch-action: none;
  }
  .gsp-lightbox img {
    max-width: 100vw !important;
    max-height: 100vh !important;
    width: 100vw;
    height: 100vh;
    border-radius: 0 !important;
    object-fit: contain;
    transform-origin: center center;
    transition: transform .18s ease;
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
  }
  .gsp-lightbox.is-zoomed img { transition: none; }
  .gsp-lightbox-close {
    top: calc(12px + env(safe-area-inset-top)) !important;
    right: 12px !important;
    z-index: 5;
    width: 42px !important;
    height: 42px !important;
    background: rgba(15,23,42,.72) !important;
  }
  .gsp-lightbox-prev,
  .gsp-lightbox-next {
    width: 42px !important;
    height: 52px !important;
    border-radius: 999px !important;
    font-size: 34px !important;
    background: rgba(15,23,42,.62) !important;
  }
  .gsp-lightbox-prev { left: 8px !important; }
  .gsp-lightbox-next { right: 8px !important; }
  .gsp-lightbox-count {
    bottom: calc(18px + env(safe-area-inset-bottom)) !important;
    background: rgba(15,23,42,.72) !important;
  }

  .gsp-mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    padding: 8px 9px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid #e2e8f0;
    background: rgba(255,255,255,.97);
    box-shadow: 0 -12px 35px rgba(15,23,42,.13);
    backdrop-filter: blur(15px);
  }
  .gsp-mobile-action {
    min-width: 0;
    min-height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px;
    border: 0;
    border-radius: 13px;
    color: #173c78;
    background: #eff6ff;
    text-decoration: none;
    font: inherit;
    font-weight: 900;
  }
  .gsp-mobile-action span { font-size: 20px; line-height: 1; }
  .gsp-mobile-action small { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .gsp-mobile-action.active { color: #b42318; background: #fff1f2; }
  .gsp-mobile-call { color: #fff; background: #173c78; }
  .gsp-mobile-whatsapp { color: #fff; background: #169c50; }

  .gsp-sidebar .gsp-call,
  .gsp-sidebar .gsp-messengers { display: none !important; }

  .gsp-card,
  .gsp-video-block,
  .gsp-contact { border-radius: 18px !important; }
  #gsp-map { min-height: 320px; }
}

@media (max-width: 420px) {
  .gsp-mobile-gallery-prev,
  .gsp-mobile-gallery-next { width: 36px; height: 36px; font-size: 25px; }
  .gsp-mobile-action-bar { gap: 4px; padding-left: 6px; padding-right: 6px; }
  .gsp-mobile-action small { font-size: 9px; }
}
