
@media (max-width: 1023px) {
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body { overflow-x: clip; }   
  img, video, iframe { max-width: 100%; }
  html body :is(p, li, dd, dt, td, th, address, blockquote, figcaption, h1, h2, h3, h4, h5, h6) { overflow-wrap: anywhere; }
  
  html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]), html body select, html body textarea { font-size: 16px !important; }
  input[type=date] { min-height: 44px; }
  input[type=date]::-webkit-date-and-time-value { text-align: left; }
}
@media (orientation: landscape) and (max-width: 1023px) {
  
  body { padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
}

@media (max-width:411px){
  .hd .wrap{gap:6px;padding-left:10px;padding-right:6px}
  .hd .brand{gap:6px}
  .hd .brand b{font-size:1.35rem}
  .hd .wrap .stk-btn{padding-left:10px!important;padding-right:10px!important}
  .hd .lang-dd summary{padding-left:7px;padding-right:7px}
  .hd .lang-dd summary .ic{display:none}
}
@media (max-width:379px){
  .hd .brand b{font-size:1.3rem}
}

@media (max-width:359px){
  .hd .brand>span:first-child{display:none}
}

@media (max-width:760px){
  .hd .brand>span:last-child{min-width:0;overflow:hidden}
  .hd .brand b{overflow:hidden;text-overflow:ellipsis}
}

@media (max-width:760px){
  .hd.open .nav{max-height:calc(100vh - 96px);max-height:calc(100dvh - 96px);overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
}

@media (max-width:760px){
  .page-hd.page-hd-sm{padding-top:88px!important}
  .sec.sec-obj{padding-top:88px}
}
@media (min-width:761px) and (max-width:1023px){
  .page-hd.page-hd-sm{padding-top:112px!important}
  .sec.sec-obj{padding-top:110px}
}

@media (max-width:640px){
  .cities{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}
}

@media (max-width:1023px){
  .card-end .card-f{flex-wrap:wrap}
}

@media (max-width:359px){
  .az-badge{width:72px}
  .dest-plate b{font-size:1.5rem}
}

@media (max-width:760px){
  .req input[type=date]{min-width:0;max-width:100%}
}

@media (max-width:399px){
  .req .duo:has(input[type=date]){grid-template-columns:minmax(0,1fr)}
}

@media (max-width:767px){
  .hd~* .btn{font-size:.875rem}
  .card-type,.car-count,.code,.ref,ul.feats li,.k0 figcaption,.ex-label,.ft .small{font-size:14px}
  .opts button span,.dest-plate i,.cities button i,.or-strip span,.cbox li b,.az-steps p,.lang-list a b{font-size:14px}
  .req .mode button small{font-size:14px}
  .ft .brand small{font-size:14px}
}

@media (max-width:1023px){
  .obj-chip .rm{width:44px;height:44px}
  .or-cp{width:44px;height:44px}
  .soc a{width:44px;height:44px}
  a.place{min-height:44px;align-items:center}
  .o-back,.seo-links a,.req .nights .sw{display:inline-flex;align-items:center;min-height:44px}
  .cbox li div>a,.cbox .cb-go a{display:inline-flex;align-items:center;min-height:44px}
}

@media (min-width:761px) and (max-width:1023px){
  .nav a{position:relative}
  .nav a::after{content:"";position:absolute;left:0;right:0;top:-8px;bottom:-8px}
  .lang-dd summary{min-height:44px}
  .car-nav button{width:44px;height:44px}
  .opts button,.filter button,.code,.cp-link,.faq summary{min-height:44px}
  .faq summary{align-items:center}
  .place .maplink,.maplink,.more-b{display:inline-flex;align-items:center;min-height:44px}
  .more-b{margin:-8px 0}
  .hero-dots button{height:44px;background:linear-gradient(rgba(255,255,255,.3),rgba(255,255,255,.3)) center/100% 3px no-repeat}
  .hero-dots button.on{background:linear-gradient(var(--oro-l),var(--oro-l)) center/100% 3px no-repeat}
  .ft ul{gap:0}
  .ft ul a{display:inline-flex;align-items:center;min-height:44px}
  .prose a,.crumbs a{display:inline-block;padding:10px 0;margin:-10px 0}
}

@media (max-width:760px){
  .hero-dots button.on{background:linear-gradient(var(--oro-l),var(--oro-l)) center/100% 3px no-repeat}
}

@media (max-width:1023px){
  .lb .x{right:calc(12px + env(safe-area-inset-right))}
  .lb .p{left:calc(10px + env(safe-area-inset-left))}
  .lb .n{right:calc(10px + env(safe-area-inset-right))}
  .toast{bottom:calc(24px + env(safe-area-inset-bottom))}
}
@media (max-width:760px){
  .lb .p{left:calc(6px + env(safe-area-inset-left))}
  .lb .n{right:calc(6px + env(safe-area-inset-right))}
}

@media (orientation:landscape) and (max-height:500px){
  .lb img{max-height:calc(100vh - 72px);max-height:calc(100dvh - 72px)}
}

@media (max-width:767px){
  #app .g>*{min-width:0}
  #app input,#app select{min-width:0;max-width:100%}
  #app table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
  #app label,#lock label,#app th,#app .pill,#app .warn{font-size:14px}
  #app .seg button{min-height:44px}
}
