/* The photo walk on phones and tablets. Every rule sits inside a width or touch query that a desktop browser at
   1181 px and wider never meets, so the approved desktop design is untouched (checked by comparing every element's
   computed style at 1280, 1440 and 1920 wide before and after). Loaded by the photo walk only. */

/* touch screens up to tablet size: fingertip-sized targets (44 px), and no label smaller than 12 px */
@media (pointer:coarse) and (max-width:1180px){
  .hotspot::before{content:"";position:absolute;inset:-6px;border-radius:50%}
  .hotspot,.hotarea,.chips button,.tabs button,.btn{-webkit-tap-highlight-color:transparent}
  .chips button{min-height:44px}
  .strip .wrap{padding-block:3px}
  .strip a{display:inline-flex;align-items:center}
  .lines a{display:inline-flex;align-items:center;min-height:44px}
  footer nav{gap:4px 6px}
  footer nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 8px}
  .nav ul a{padding-block:6px}
  .rail a{min-height:44px}
  .tour3d .room-tag,.field label,.facts dt,.badge,.lines span{font-size:12px}
  .strip a,.view-toggle,.btn,.rating{min-height:44px}
  /* 16 px stops iOS Safari zooming the page when a field is tapped */
  .field input,.field select,.field textarea{font-size:16px;min-height:40px}
}

/* phones and tablets held upright (the single-column walk) */
@media (max-width:899px){
  /* the agent card shrinks to just the WhatsApp button while walking, so it no longer sits on the room cards' text */
  .tour3d .guide:not(.big) .face{display:none}
  .tour3d .guide:not(.big){padding:5px;border-radius:16px}
  .tour3d .panel>.inner{padding-bottom:84px}
}

/* tablets held upright: the room cards keep a comfortable reading width in the middle of the screen */
@media (min-width:641px) and (max-width:899px){
  .tour3d .panel>.inner,.tour3d .stop[data-side=right] .panel>.inner{margin:0 auto;max-width:640px;padding:30px 32px 88px}
  .tour3d .travel,.tour3d .stop[data-side=left] .travel{padding-inline:max(20px,calc((100vw - 640px) / 2))}
  .tour3d .guide.big{width:150px}
}

/* phones: the draft note joins the end of the page instead of floating over buttons */
@media (max-width:640px){
  .draft{position:static;display:table;margin:14px auto 26px;box-shadow:0 0 0 1px var(--line)}
}

/* the smallest phones: the header's logo and buttons fit without a sideways scroll */
@media (max-width:380px){
  .nav .wrap{gap:8px}
  .brand{gap:8px}
  .brand svg{width:38px;height:29px}
  .brand b{font-size:1.3rem}
  .nav-end{gap:6px}
  .view-toggle{padding:10px 12px}
  .menu-btn{width:44px;height:44px}
  .tour3d .guide.big{width:104px}
}
