
@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:1023px){
  html body :where(p,li,dd,dt,td,th,address,blockquote,figcaption,h1,h2,h3,h4,h5,h6){overflow-wrap:anywhere}
}

@media (max-width:374px){
  .header-inner{gap:6px}
  .header-magazine .brand-logo{height:28px!important}
  .header-magazine .stk-btn{padding-left:10px!important;padding-right:10px!important}
}

@media (min-width:769px) and (max-width:1023px) and (orientation:landscape) and (max-height:500px){
  .header-magazine{padding:6px 0}
  .cc-row{padding-top:4px;padding-bottom:4px}
}

@media (max-width:767px){
  .destinos-mosaic-grid{grid-template-columns:repeat(auto-fill,minmax(min(340px,100%),1fr))}
}

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

@media (max-width:519px){
  .cc-stats{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:1023px){
  .cc-row2>*,.cc-ages>*{min-width:0}
  .cc-f .form-input,.cc-f .form-select{min-width:0;max-width:100%}
}

@media (max-width:374px){
  .cc-row2.stay-pane{grid-template-columns:minmax(0,1fr)}
  .cc-f .counter-control{gap:10px}
}

@media (max-width:1023px){
  .drawer-panel{padding-top:env(safe-area-inset-top);padding-right:env(safe-area-inset-right)}
  .drawer-panel .cc-f,.drawer-panel .cc-done{padding-bottom:calc(24px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
}

@media (max-width:768px){
  
  .modal-overlay{backdrop-filter:none;-webkit-backdrop-filter:none;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
  .modal-close-btn{top:calc(12px + env(safe-area-inset-top));right:calc(12px + env(safe-area-inset-right))}
}
@media (max-width:800px){
  .modal-overlay{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
  .modal-overlay .cc-v-body{padding-bottom:calc(18px + env(safe-area-inset-bottom))}
}

@media (min-width:769px) and (max-width:1023px) and (max-height:500px){
  .modal-content-card{max-height:90vh;max-height:90dvh}
  .modal-content-card>.modal-close-btn{position:sticky;top:12px;align-self:flex-end;margin:16px 16px -60px 0}
}

@media (max-width:768px){
  .cc-menu{padding-top:calc(8px + env(safe-area-inset-top));padding-left:calc(16px + env(safe-area-inset-left));padding-right:calc(16px + env(safe-area-inset-right))}
}
@media (max-width:1023px){
  .toast,.cc-toast{bottom:calc(24px + env(safe-area-inset-bottom))}
}

@media (max-width:767px){
  .format-badge,.obj-photos-count-badge,.obj-type-badge,.obj-price-note{font-size:14px!important}
  .section-kicker,.hero-agency-badge,.hero-stat-lbl,.region-tile-subtitle,.region-tile-badge,.format-fee-note,.obj-badge-code,.obj-desc-snippet,.obj-facts,.obj-addr{font-size:14px}
  .modal-carousel-counter,.modal-code-badge,.feature-tag,.wiz-selected-text,.footer-bottom,.offer-demo-badge,.btn-sm,.cc-menu-h,.cc-chip,.cc-go-f,.cc-car-c,.cc-v-code,.cc-cart-t,.cc-o-note,.stay-note,.stay-alert{font-size:14px}
  .obj-price-val span,.variant-btn b,.variant-btn span,.cc-stats span,.cc-tile-t i,.cc-step small,.cc-f3 small,.cc-office span,.cc-v-price span,.cc-key small,.cc-o-sum span,.cc-o-row span,.cc-o-room div,.stay-mode small{font-size:14px}
  .drawer-panel .stay-mode b{font-size:14px}
  .obj-card .btn-request-obj{font-size:15px}
  
  [style*="font-size:0.8rem"],[style*="font-size:0.85rem"]{font-size:14px!important}
}

@media (max-width:1023px){
  .btn-sm,.chip-btn,.variant-btn,.modal-copy-btn,.lang-menu-item{min-height:44px}
  .lang-dropdown-btn{min-height:44px}
  .btn-counter{min-width:44px;min-height:44px}
  .modal-close-btn{width:44px;height:44px}
  .footer-col ul li a{display:inline-flex;align-items:center;min-height:44px}
  a.obj-addr{min-height:44px;align-items:center}
  
  .cc-regions a,.btn-card-action,.cc-soc-a,.cc-go-f,.cc-mail,.breadcrumbs-item a,.cc-o-row b[data-copy],.stay-alert button{position:relative}
  .cc-regions a::after,.btn-card-action::after,.cc-car-b::after,.cc-soc-a::after,.cc-go-f::after,.cc-mail::after,.breadcrumbs-item a::after,.cc-o-row b[data-copy]::after,.stay-alert button::after,.cc-cart-x::after{content:"";position:absolute}
  .cc-regions a::after{left:0;right:0;top:-7px;bottom:-7px}
  .btn-card-action::after{inset:-6px}
  .cc-car-b::after{inset:-2px}
  .cc-soc-a::after{inset:-3px}
  .cc-go-f::after{left:0;right:0;top:-5px;bottom:-5px}
  .cc-mail::after{left:0;right:0;top:-10px;bottom:-10px}
  .breadcrumbs-item a::after{left:0;right:0;top:-12px;bottom:-12px}
  .cc-o-row b[data-copy]::after{left:0;right:0;top:-8px;bottom:-8px}
  .stay-alert button::after{left:-4px;right:-4px;top:-12px;bottom:-12px}
  .cc-cart-x::after{inset:-8px}
}

@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}
}
