@media (max-width: 1180px) {
  .nomelo-nav--desktop { display: none; }
  .nomelo-menu-toggle { display: grid; }
  .nomelo-site-header__inner { grid-template-columns: auto 1fr; }
  .nomelo-site-header__actions { grid-column: 2; }
  .nomelo-property-grid, .nomelo-property-grid--home { grid-template-columns: repeat(3,1fr); }
  .nomelo-property-grid--results { grid-template-columns: repeat(2,1fr); }
  .nomelo-results-layout { grid-template-columns: 220px minmax(0,1fr); }
  .nomelo-market-hero__media { min-height: 540px; }
  .nomelo-site-footer__top { grid-template-columns: 1.5fr repeat(3,1fr); gap: 2rem; }
}

@media (max-width: 980px) {
  .nomelo-search-bar { grid-template-columns: 1.4fr 1fr 1fr; }
  .nomelo-search-bar__field:nth-of-type(3) { border-right: 0; }
  .nomelo-search-bar__field--guests { grid-column: 1 / 3; border-top: 1px solid var(--n-line); border-right: 1px solid var(--n-line); }
  .nomelo-search-bar__submit { min-height: 54px; }
  .nomelo-destination-market-grid { grid-template-columns: repeat(2,1fr); }
  .nomelo-home-support__card, .nomelo-home-owner__card, .nomelo-support-request, .nomelo-service-hero__grid, .nomelo-owner-hero__grid, .nomelo-contact-page__grid { grid-template-columns: 1fr; }
  .nomelo-home-owner__facts { grid-template-columns: repeat(3,1fr); }
  .nomelo-property-body__grid { grid-template-columns: minmax(0,1fr) 320px; gap: 2.5rem; }
  .nomelo-destination-list-grid { grid-template-columns: 1fr; }
  .nomelo-help-layout { grid-template-columns: 1fr; }
  .nomelo-help-categories { grid-template-columns: repeat(2,1fr); }
  .nomelo-account-auth__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .nomelo-login-card { max-width: 520px; }
  .nomelo-site-footer__top { grid-template-columns: 1.5fr 1fr 1fr; }
  .nomelo-site-footer__top > div:last-child { grid-column: 2; }
}

@media (max-width: 782px) {
  body.admin-bar .nomelo-site-header { top: 46px; }
  .nomelo-shell { width: min(calc(100% - 28px), var(--n-shell)); }
  .nomelo-hide-mobile { display: none !important; }
  .nomelo-site-header { padding: .62rem 0; }
  .nomelo-site-header.is-scrolled { padding: .5rem 0; }
  .nomelo-brand__mark { width: 35px; height: 35px; }
  .nomelo-market-hero { padding-top: .6rem; }
  .nomelo-market-hero__media { min-height: 490px; border-radius: 22px; }
  .nomelo-market-hero__copy { left: 1.4rem; right: 1.4rem; bottom: 7rem; }
  .nomelo-market-hero__copy h1 { font-size: clamp(2.65rem, 12vw, 4.4rem); }
  .nomelo-market-hero__search { width: calc(100% - 28px); margin-top: -4rem; }
  .nomelo-search-bar { grid-template-columns: 1fr 1fr; border-radius: 18px; }
  .nomelo-search-bar__field { border-right: 0; border-bottom: 1px solid var(--n-line); }
  .nomelo-search-bar__field--destination { grid-column: 1 / -1; }
  .nomelo-search-bar__field:nth-of-type(2) { border-right: 1px solid var(--n-line); }
  .nomelo-search-bar__field--guests { grid-column: 1 / -1; border-right: 0; }
  .nomelo-search-bar__submit { grid-column: 1 / -1; min-height: 50px; border-radius: 14px; }
  .nomelo-section { padding: 4.3rem 0; }
  .nomelo-section-heading { align-items: start; margin-bottom: 1.5rem; }
  .nomelo-section-heading h2 { font-size: 2rem; }
  .nomelo-property-grid, .nomelo-property-grid--home, .nomelo-property-grid--results { grid-template-columns: repeat(2,1fr); gap: 1.5rem .9rem; }
  .nomelo-destination-market-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .3rem; scrollbar-width: none; }
  .nomelo-destination-market-grid::-webkit-scrollbar { display: none; }
  .nomelo-destination-market-card { flex: 0 0 76%; scroll-snap-align: start; }
  .nomelo-home-support__services { grid-template-columns: 1fr 1fr; }
  .nomelo-home-owner__facts { grid-template-columns: 1fr; }
  .nomelo-search-page-head { padding-top: 2.8rem; }
  .nomelo-search-page-head__title { display: block; }
  .nomelo-search-page-head__title > p { margin-top: .7rem; text-align: left; }
  .nomelo-results-layout { display: block; }
  .nomelo-filter-panel { position: fixed; z-index: 1600; inset: 0; display: none; padding: 1rem; background: rgba(10,16,34,.42); }
  .nomelo-filter-panel.is-open { display: block; }
  .nomelo-filter-panel form { width: min(92vw, 430px); height: 100%; margin-left: auto; padding: 1.2rem; overflow-y: auto; border-radius: 20px; background: #fff; }
  .nomelo-filter-panel__head { display: flex; justify-content: space-between; align-items: center; }
  .nomelo-results-toolbar__view { display: none; }
  .nomelo-sort-control { margin-left: auto; }
  .nomelo-destination-list-card { grid-template-columns: 1fr; }
  .nomelo-destination-list-card__media { min-height: 240px; }
  .nomelo-destination-hero, .nomelo-destination-hero__content { min-height: 400px; }
  .nomelo-destination-copy { grid-template-columns: 1fr; gap: 1.3rem; }
  .nomelo-property-head { padding-top: 2rem; }
  .nomelo-property-head__title { display: block; }
  .nomelo-property-head__actions { margin-top: .8rem; }
  .nomelo-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 150px; }
  .nomelo-gallery__item--main { grid-column: 1 / -1; grid-row: auto; }
  .nomelo-gallery .nomelo-gallery__item:nth-child(n+4) { display: none; }
  .nomelo-property-body__grid { grid-template-columns: 1fr; }
  .nomelo-booking-rail { position: static; }
  .nomelo-process-grid, .nomelo-service-card-grid, .nomelo-owner-steps, .nomelo-about-grid, .nomelo-contact-guidance, .nomelo-account-grid, .nomelo-article-grid { grid-template-columns: 1fr 1fr; }
  .nomelo-support-request { gap: 2rem; }
  .nomelo-help-categories { grid-template-columns: 1fr 1fr; }
  .nomelo-owner-benefits, .nomelo-about-territory { grid-template-columns: 1fr; gap: 1.5rem; }
  .nomelo-cta-band, .nomelo-help-contact, .nomelo-site-footer__contact { align-items: flex-start; flex-direction: column; }
  .nomelo-site-footer { padding-bottom: 7rem; }
  .nomelo-site-footer__top { grid-template-columns: 1fr 1fr; }
  .nomelo-site-footer__brand { grid-column: 1 / -1; }
  .nomelo-site-footer__top > div:last-child { grid-column: auto; }
  .nomelo-site-footer__bottom { align-items: flex-start; flex-direction: column; }
  .nomelo-mobile-bottom-nav { position: fixed; z-index: 990; left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: repeat(5,1fr); padding: .38rem .4rem calc(.38rem + env(safe-area-inset-bottom)); border: 1px solid rgba(218,222,232,.95); border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: 0 18px 48px rgba(13,28,61,.17); backdrop-filter: blur(18px); }
  .nomelo-mobile-bottom-nav a { display: grid; place-items: center; gap: .1rem; min-width: 0; padding: .22rem .05rem; color: #7a8292; font-size: .57rem; font-weight: 730; }
  .nomelo-mobile-bottom-nav a[aria-current="page"] { color: var(--n-violet); }
}

@media (max-width: 560px) {
  .nomelo-market-hero__media { min-height: 440px; }
  .nomelo-market-hero__copy { bottom: 8.3rem; }
  .nomelo-market-hero__copy > p { font-size: .68rem; }
  .nomelo-market-hero__copy span { font-size: .92rem; }
  .nomelo-search-bar { display: grid; grid-template-columns: 1fr 1fr; }
  .nomelo-search-bar__field--destination, .nomelo-search-bar__field--guests { grid-column: 1 / -1; }
  .nomelo-search-bar__field { padding: .58rem .7rem; }
  .nomelo-search-bar__field > span { font-size: .64rem; }
  .nomelo-search-bar__field input, .nomelo-search-bar__field select { font-size: .8rem; }
  .nomelo-section-heading { display: block; }
  .nomelo-section-heading .nomelo-text-link { margin-top: .8rem; }
  .nomelo-property-grid, .nomelo-property-grid--home, .nomelo-property-grid--results { grid-template-columns: 1fr; }
  .nomelo-destination-market-card { flex-basis: 84%; }
  .nomelo-home-support__services { grid-template-columns: 1fr; }
  .nomelo-gallery { display: block; height: 320px; }
  .nomelo-gallery .nomelo-gallery__item:not(:first-child) { display: none; }
  .nomelo-amenity-grid { grid-template-columns: 1fr; }
  .nomelo-process-grid, .nomelo-service-card-grid, .nomelo-owner-steps, .nomelo-about-grid, .nomelo-contact-guidance, .nomelo-account-grid, .nomelo-article-grid { grid-template-columns: 1fr; }
  .nomelo-service-hero__panel { grid-template-columns: 1fr; }
  .nomelo-form-card { grid-template-columns: 1fr; }
  .nomelo-form-card__full { grid-column: auto; }
  .nomelo-help-categories { grid-template-columns: 1fr; }
  .nomelo-account-dashboard__head, .nomelo-stay-card { align-items: flex-start; flex-direction: column; }
  .nomelo-site-footer__top { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* NOMEL mobile density adjustments 1.9.1 */
@media(max-width:782px){
.nomelo-gallery{position:relative;height:min(58vw,300px);min-height:210px}
.nomelo-property-head{padding-top:1rem}
.nomelo-property-head__title h1{font-size:clamp(1.45rem,6vw,2rem);line-height:1.16}
.nomelo-market-hero__media{min-height:380px}
.nomelo-market-hero__copy h1{font-size:clamp(2rem,8vw,3.3rem)}
.nomelo-market-hero__copy{bottom:6rem}
.nomelo-section{padding:2.8rem 0}
.nomelo-site-header{padding:.36rem 0}
.nomelo-gallery .nomelo-gallery__item:not(:first-child){display:none}
}
@media(min-width:783px){.nomelo-gallery .nomelo-gallery__item:nth-child(n+6){display:none}}
.nomelo-gallery{position:relative}
.nomel-gallery-all{position:absolute;right:12px;bottom:12px;z-index:2;border:1px solid rgba(255,255,255,.7);border-radius:999px;padding:.65rem 1rem;background:#fff;color:#121f3d;box-shadow:0 4px 18px #101e3a33;font-weight:700;cursor:pointer}
.nomel-gallery-viewer{width:min(96vw,1100px);height:min(92dvh,900px);color:#fff;overflow:hidden;padding:0}
.nomel-gallery-viewer[open]{display:flex;flex-direction:column}
.nomel-viewer-toolbar{display:flex;justify-content:center;align-items:center;min-height:52px;position:relative;flex-shrink:0}
.nomel-viewer-toolbar .nomelo-gallery-dialog__close{top:5px;right:8px}
.nomel-viewer-stage{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;gap:8px;padding:6px 12px}
.nomel-viewer-stage img{max-width:calc(100% - 88px);max-height:100%;width:auto;height:auto;object-fit:contain}
.nomel-viewer-prev,.nomel-viewer-next{display:grid;place-items:center;flex-shrink:0;width:38px;height:46px;color:#fff;background:#ffffff2b;border:0;border-radius:14px;font-size:2rem;cursor:pointer}
.nomel-viewer-thumbs{display:flex;gap:8px;overflow:auto;padding:10px 14px 14px;flex-shrink:0;scrollbar-width:thin}
.nomel-viewer-thumbs button{flex:0 0 68px;height:52px;border:2px solid transparent;opacity:.65;border-radius:9px;overflow:hidden;padding:0;background:transparent;cursor:pointer}
.nomel-viewer-thumbs button.is-active{opacity:1;border-color:#7289ff}
.nomel-viewer-thumbs img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:600px){.nomel-gallery-viewer{width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;border-radius:0}.nomel-viewer-stage{padding:5px}.nomel-viewer-stage img{max-width:calc(100% - 70px)}.nomel-viewer-prev,.nomel-viewer-next{width:31px}.nomel-gallery-all{font-size:.78rem;bottom:8px;right:8px}}
