/* AnyRoom Build 098 — mobile polish: compact popular heading.
   Mobile only. Desktop Build 089 remains untouched.
   Uses the existing real AnyRoom categories, spaces and functionality. */

@font-face{font-family:"AnyRoom Roboto";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/home055/roboto-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"AnyRoom Roboto";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/home055/roboto-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"AnyRoom Roboto";font-style:normal;font-weight:900;font-display:swap;src:url("../fonts/home055/roboto-latin-900-normal.woff2") format("woff2")}

@media (max-width:900px){
  :root{--ar-navy:#0F2D46;--ar-navy2:#193B57;--ar-amber:#F5A623;--ar-amber2:#FFBE38;--ar-soft:#F7FAFC;--ar-line:#DCE6EE;--ar-muted:#68809B;--ar-green:#12975A}
  html{scroll-behavior:smooth;background:#fff}
  body.ar041{margin:0;color:var(--ar-navy);background:#fff;font-family:"AnyRoom Roboto",Arial,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden;padding-bottom:74px}
  body.ar041 *,body.ar041 *::before,body.ar041 *::after{box-sizing:border-box}
  body.ar041 img{display:block;max-width:100%}
  body.ar041 h1,body.ar041 h2,body.ar041 h3,body.ar041 p{margin-top:0}
  body.ar041 a{color:inherit}
  .ar041-shell{width:min(calc(100% - 28px),620px);margin:0 auto;min-width:0}

  /* App-style sticky mobile header */
  .ar041-header{position:sticky;top:0;z-index:150;height:68px;background:rgba(255,255,255,.97);border-bottom:1px solid #e7edf2;box-shadow:0 3px 14px rgba(15,45,70,.055);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
  .ar041-header__inner{height:100%;display:flex;align-items:center;justify-content:space-between;width:min(calc(100% - 28px),620px)}
  .ar041-logo{display:block;width:154px;line-height:0}
  .ar041-logo img{width:100%;height:auto}
  .ar041-nav{display:none!important}
  .ar041-mobile-actions{display:flex!important;align-items:center;gap:4px}
  .ar041-icon-btn{width:42px;height:42px;padding:0;border:0;border-radius:12px;background:#fff;color:var(--ar-navy);display:grid;place-items:center;text-decoration:none}
  .ar041-icon-btn:active{background:#f2f6f9}
  .ar041-icon-btn svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .ar041-mobile-menu{position:absolute;top:calc(100% + 8px);left:14px;right:14px;z-index:180;padding:10px;border:1px solid var(--ar-line);border-radius:18px;background:#fff;box-shadow:0 20px 45px rgba(15,45,70,.18)}
  .ar041-mobile-menu[hidden]{display:none!important}
  .ar041-mobile-menu a{display:flex;align-items:center;min-height:46px;padding:0 14px;border-radius:12px;text-decoration:none;font-size:15px;font-weight:700}
  .ar041-mobile-menu a:active{background:#f4f7fa}
  .ar041-mobile-menu__cta{margin-top:6px!important;justify-content:center;background:linear-gradient(135deg,var(--ar-amber2),var(--ar-amber));color:var(--ar-navy)!important}

  /* Reorder mobile homepage deliberately instead of squeezing desktop */
  main{display:flex;flex-direction:column}
  .ar041-hero{order:1}
  .ar041-categories{order:2}
  .ar041-how-mobile{order:3}
  .ar041-popular{order:4}
  .ar041-story{order:5}
  .ar041-host{order:6}
  .ar041-seo{order:7}
  .ar041-mobile-inspiration{display:none!important}

  /* Hero */
  .ar041-hero{position:relative;min-height:520px;padding:0 0 16px;background:#edf3f6;overflow:visible}
  .ar041-hero__room{position:absolute;inset:0 0 84px;display:block;overflow:hidden;background:#efe9df}.ar041-hero__room img{display:block;width:100%;height:100%;object-fit:cover;object-position:31% center}
  .ar041-hero__shade{position:absolute;inset:0 0 84px;background:linear-gradient(90deg,rgba(255,255,255,.92) 0%,rgba(255,255,255,.82) 43%,rgba(255,255,255,.42) 72%,rgba(255,255,255,.06) 100%);pointer-events:none}
  .ar041-hero__inner{position:relative;z-index:3;width:min(calc(100% - 34px),600px);height:auto;margin:0 auto;padding-top:28px}
  .ar041-hero__copy{width:94%;max-width:430px}
  .ar041-hero__copy h1{margin:0 0 11px;font-size:clamp(29px,8.1vw,39px);line-height:1.01;letter-spacing:-.043em;font-weight:900;color:var(--ar-navy)}
  .ar041-hero__copy p{margin:0;width:100%;max-width:405px;font-size:14px;line-height:1.46;color:#38526e}
  .ar041-hero__collage,.ar041-hero__bubble{display:none!important}

  /* Search as stacked app card */
  .ar041-search-wrap{position:relative;z-index:10;left:auto;bottom:auto;transform:none;width:min(calc(100% - 24px),600px);margin:74px auto 0;padding:10px;border:1px solid #dfe7ed;border-radius:18px;background:rgba(255,255,255,.988);box-shadow:0 12px 30px rgba(15,45,70,.09)}
  .ar041-search{display:grid;grid-template-columns:1fr;gap:8px;height:auto;margin:0}
  .ar041-search__field{position:relative;min-height:58px;padding:8px 11px;display:flex;align-items:center;gap:11px;border:1px solid #dce6ee;border-radius:13px;background:#fff;overflow:visible}
  .ar041-search__field>span:nth-child(2){display:flex;flex-direction:column;min-width:0;pointer-events:none;position:relative;z-index:1}
  .ar041-search__field strong{font-size:15px;line-height:1.08;font-weight:700;color:var(--ar-navy)}
  .ar041-search__field small{margin-top:3px;font-size:12.5px;line-height:1.15;color:#60758b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ar041-search__icon{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#f4f7fa;color:var(--ar-navy);flex:0 0 auto;pointer-events:none}
  .ar041-search__icon svg,.ar041-search__button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .ar041-search__field input:not([type="hidden"]){position:absolute;inset:0;z-index:2;width:100%;height:100%;border:0;background:transparent;color:transparent;-webkit-text-fill-color:transparent;caret-color:var(--ar-navy);outline:0;padding-left:62px}
  .ar041-search__field:focus-within{border-color:#aac0d1;box-shadow:0 0 0 3px rgba(15,45,70,.06)}
  .ar041-search__date{cursor:pointer}
  .ar041-search__date input[type="date"]{position:absolute;inset:0;z-index:12;width:100%;height:100%;padding:0;border:0;opacity:0;cursor:pointer;background:transparent;color:transparent;-webkit-text-fill-color:transparent;-webkit-appearance:none;appearance:none}
  .ar041-search__button{height:52px;border:0;border-radius:13px;display:flex;align-items:center;justify-content:center;gap:11px;background:linear-gradient(135deg,var(--ar-amber2),var(--ar-amber));color:var(--ar-navy);font-family:inherit;font-size:16px;font-weight:900;box-shadow:0 7px 18px rgba(245,166,35,.16)}
  .ar041-search__button:active{transform:translateY(1px)}
  .ar041-search-tags{display:none!important}

  /* Existing custom dropdowns/autocomplete, adapted to stacked mobile fields */
  .ar063-purpose-field{cursor:pointer}
  .ar063-purpose-field #ar055-purpose-input{display:none!important}
  .ar063-purpose-trigger{position:absolute;inset:0;z-index:6;width:100%;height:100%;padding:0 14px 0 0;border:0;border-radius:inherit;background:transparent;color:var(--ar-navy);cursor:pointer;display:flex;align-items:center;justify-content:flex-end}
  .ar063-purpose-trigger[hidden]{display:none!important}
  .ar063-purpose-chevron{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#f4f7fa}
  .ar063-purpose-chevron svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .ar063-purpose-trigger[aria-expanded="true"] .ar063-purpose-chevron{transform:rotate(180deg)}
  .ar063-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .ar063-purpose-menu,.ar064-where-menu{position:absolute;left:0;right:0;top:calc(100% + 7px);z-index:90;max-height:290px;overflow:auto;padding:7px;border:1px solid #dce6ee;border-radius:15px;background:#fff;box-shadow:0 16px 36px rgba(15,45,70,.17)}
  .ar063-purpose-menu[hidden],.ar064-where-menu[hidden]{display:none!important}
  .ar063-purpose-option{position:relative;width:100%;min-height:44px;padding:10px 42px 10px 12px;border:0;border-radius:10px;background:#fff;color:var(--ar-navy);font-family:inherit;font-size:14px;font-weight:700;text-align:left}
  .ar063-purpose-option:active,.ar063-purpose-option.is-selected{background:#fff8e8}
  .ar063-purpose-option.is-selected::after{content:"✓";position:absolute;right:12px;top:50%;transform:translateY(-50%);width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#e9f8ef;color:var(--ar-green);font-weight:900}
  .ar064-where-field{overflow:visible;cursor:text}
  .ar064-where-field #ar064-where-input{position:absolute;left:61px;right:12px;top:31px;bottom:auto;width:auto;height:20px;padding:0;z-index:8;border:0;background:transparent;color:transparent!important;-webkit-text-fill-color:transparent!important;caret-color:transparent;font-family:inherit;font-size:12.5px;line-height:20px;outline:0}
  .ar064-where-field #ar064-where-input::placeholder{color:transparent;opacity:0}
  .ar064-where-field.is-editing #ar064-where-input,.ar064-where-field.has-value #ar064-where-input{color:#60758b!important;-webkit-text-fill-color:#60758b!important;caret-color:var(--ar-navy)}
  .ar064-where-field.is-editing #ar064-where-input::placeholder{color:#60758b;opacity:1}
  .ar064-where-field.is-editing #ar064-where-label,.ar064-where-field.has-value #ar064-where-label{visibility:hidden}
  .ar064-where-menu__title{padding:8px 10px 6px;font-size:10.5px;text-transform:uppercase;letter-spacing:.07em;color:#60758b;font-weight:900}
  .ar064-where-options{display:grid;gap:2px;max-height:260px;overflow:auto}
  .ar064-where-option{width:100%;min-height:48px;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px;padding:6px 9px;border:0;border-radius:10px;background:#fff;text-align:left;color:var(--ar-navy);font-family:inherit}
  .ar064-where-option:active,.ar064-where-option.is-active{background:#f4f7fa}
  .ar064-where-option--typed{background:#fff8e8}
  .ar064-where-option__icon{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#f4f7fa;color:#244d70}
  .ar064-where-option__icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .ar064-where-option__copy{min-width:0;display:flex;flex-direction:column}
  .ar064-where-option__copy strong{display:block;font-size:13.5px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ar064-where-option__copy small{display:block;margin-top:3px;font-size:11.5px;line-height:1.15;color:#60758b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ar064-where-option__arrow{font-size:17px;color:#9aabba}
  .ar064-where-empty{padding:13px;font-size:12.5px;line-height:1.35;color:#5f748b}

  /* Shared mobile sections */
  .ar041-section{padding:28px 0 0}
  .ar041-section-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:0 0 15px}
  .ar041-section-title-row h2,.ar041-story h2,.ar041-seo h2,.ar041-how-mobile h2{margin:0;color:var(--ar-navy);font-size:26px;line-height:1.06;letter-spacing:-.035em;font-weight:900}
  .ar041-section-title-row>a{display:flex;align-items:center;gap:7px;flex:0 0 auto;text-decoration:none;font-size:13px;font-weight:800;color:#0b4d82}
  .ar041-section-title-row>a span{font-size:20px;line-height:1}

  /* Real DB categories: no invented categories */
  .ar041-categories{padding-top:28px}
  .ar041-category-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .ar041-cat{display:block;overflow:hidden;border:1px solid #dfe7ee;border-radius:13px;background:#fff;text-decoration:none;box-shadow:0 3px 10px rgba(15,45,70,.03)}
  .ar041-cat img{width:100%;height:76px;object-fit:cover}
  .ar041-cat>div{padding:8px 7px 9px}
  .ar041-cat strong{display:flex;align-items:flex-start;min-height:2.25em;font-size:12.2px;line-height:1.12;font-weight:800;letter-spacing:-.018em;white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:none}
  .ar041-cat p{display:none!important}
  .ar096-mobile-extra-cat[hidden]{display:block!important}
  .ar041-mobile-cats{display:none!important}

  /* How it works — vertical app steps */
  .ar041-how-mobile{display:block!important;padding-top:32px}
  .ar041-how-grid{position:relative;display:grid;gap:0;margin-top:13px}
  .ar041-how-grid::before{content:"";position:absolute;left:29px;top:30px;bottom:30px;width:1px;background:#f0d18a}
  .ar041-how-grid article{position:relative;display:grid;grid-template-columns:54px 1fr;grid-template-rows:auto auto;column-gap:13px;min-height:68px;padding:10px 2px;border:0;border-bottom:1px solid #edf1f4;border-radius:0;background:#fff}
  .ar041-how-icon{grid-row:1/3;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#fff6df;color:#ee9707;font-size:21px;z-index:1}
  .ar041-how-grid strong{align-self:end;font-size:15px;line-height:1.22;color:var(--ar-navy)}
  .ar041-how-grid small{align-self:start;margin-top:3px;font-size:12.5px;line-height:1.35;color:#5f748b}


  /* Build 094: keep the popular-section title on one line at standard phone widths. */
  .ar041-popular .ar041-section-title-row{align-items:center;gap:8px}
  .ar041-popular .ar041-section-title-row h2{font-size:22px;line-height:1;white-space:nowrap;letter-spacing:-.035em}
  .ar041-popular .ar041-section-title-row>a{font-size:11.5px;gap:5px}

  /* Popular listings as stacked app cards */
  .ar041-popular{padding-top:32px}
  .ar041-listing-grid{display:grid;grid-template-columns:1fr;gap:10px}
  .ar041-listing{overflow:hidden;border:1px solid #dfe7ee;border-radius:16px;background:#fff;box-shadow:0 5px 14px rgba(15,45,70,.04)}
  .ar041-listing__photo{position:relative;height:145px;overflow:hidden;background:#edf2f5}
  .ar053-listing__photo-link{display:block;width:100%;height:100%}
  .ar041-listing__photo img{width:100%;height:100%;object-fit:cover}
  .ar053-favorite-form{position:absolute;right:10px;top:10px;margin:0}
  .ar053-favorite{position:absolute;right:10px;top:10px;width:36px;height:36px;border:1px solid rgba(255,255,255,.8);border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.92);color:var(--ar-navy);box-shadow:0 4px 12px rgba(15,45,70,.12)}
  .ar053-favorite-form .ar053-favorite{position:static}
  .ar053-favorite svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
  .ar053-favorite.is-favorite svg{fill:#F5A623;stroke:#F5A623}
  .ar041-listing__body{display:grid;grid-template-columns:1fr auto;gap:6px 9px;padding:10px 12px 12px;align-items:end}
  .ar053-listing__title{grid-column:1/-1;text-decoration:none;font-size:16px;line-height:1.15;font-weight:800;color:var(--ar-navy)}
  .ar041-listing__meta{min-width:0;display:flex;align-items:center;gap:5px;overflow:hidden;color:#5b7188;font-size:13px;white-space:nowrap}
  .ar041-listing__meta span{overflow:hidden;text-overflow:ellipsis}
  .ar041-listing__meta em{display:inline-block;margin-left:3px;padding:4px 8px;border-radius:7px;background:#edf2f6;color:#69819a;font-size:11px;font-style:normal}
  .ar044-pin{width:15px;height:15px;flex:0 0 auto;fill:none;stroke:#2883c8;stroke-width:1.8}
  .ar041-listing__body>b{white-space:nowrap;font-size:15px;color:var(--ar-navy)}

  /* Benefits: keep actual approved content, rendered as app list */
  .ar041-story{padding-top:32px}
  .ar041-story-grid{display:block}
  .ar041-story-copy,.ar041-story-image{display:none!important}
  .ar041-benefits{display:block}
  .ar041-benefits h2{margin-bottom:14px}
  .ar041-benefit-grid{display:grid;grid-template-columns:1fr;gap:0}
  .ar041-benefit-grid article{display:grid;grid-template-columns:50px 1fr;align-items:center;gap:11px;min-height:68px;padding:9px 2px;border:0;border-bottom:1px solid #edf1f4;border-radius:0;background:#fff}
  .ar041-benefit-grid article>span{width:43px;height:43px;display:grid;place-items:center;border-radius:50%;background:#fff5dd;color:#f39a08}
  .ar041-benefit-grid i{display:none!important}
  .ar041-benefit-grid svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}
  .ar041-benefit-grid strong{display:block;font-size:15px;line-height:1.2;font-weight:800}
  .ar041-benefit-grid small{display:block;margin-top:4px;font-size:12.5px;line-height:1.35;color:#5f748b}

  /* Host CTA */
  .ar041-host{padding-top:30px}
  .ar041-host-card{overflow:hidden;display:grid;grid-template-columns:112px 1fr;border:1px solid #eee5d8;border-radius:18px;background:linear-gradient(135deg,#fffaf1,#fff)}
  .ar041-host-card__image{grid-row:1/3;min-height:208px}
  .ar041-host-card__image img{width:100%;height:100%;object-fit:cover}
  .ar041-host-card__copy{padding:15px 14px 6px}
  .ar041-host-card__copy>span{display:block;margin-bottom:5px;font-size:10px;letter-spacing:.09em;font-weight:900;color:#e88d00}
  .ar041-host-card__copy h2{margin:0 0 7px;font-size:21px;line-height:1.03;letter-spacing:-.03em}
  .ar041-host-card__copy p{margin:0;font-size:12.5px;line-height:1.38;color:#5a718a}
  .ar041-host-card__actions{grid-column:2;padding:6px 14px 14px}
  .ar041-host-card__actions p{display:none}
  .ar041-host-card__actions a{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:11px;background:linear-gradient(135deg,var(--ar-amber2),var(--ar-amber));text-decoration:none;font-size:14px;font-weight:900}

  /* SEO / close-out */
  .ar041-seo{padding:32px 0 30px}
  .ar041-seo h2{margin-bottom:14px}
  .ar041-seo-grid{display:grid;grid-template-columns:1fr;gap:12px}
  .ar041-seo-grid p{margin:0;font-size:14px;line-height:1.58;color:#627b97}
  .ar041-seo-grid strong{color:var(--ar-navy)}

  /* Footer */
  .ar041-footer{position:relative;padding:28px 0 92px;background:#19384f;color:#fff}
  .ar041-footer__grid{width:min(calc(100% - 34px),600px);display:grid;grid-template-columns:1fr 1fr;gap:20px 16px}
  .ar041-footer__brand{grid-column:1/-1}
  .ar041-footer__brand img{width:180px;height:auto}
  .ar041-footer__brand p{margin:11px 0 0;max-width:340px;font-size:14px;line-height:1.48;color:#d7e2ea}
  .ar041-footer__brand small{display:none}
  .ar041-footer__grid>div:not(.ar041-footer__brand):not(.ar041-footer__social):not(.ar041-footer__note){display:flex;flex-direction:column;gap:7px}
  .ar041-footer strong{font-size:14px}
  .ar041-footer a{font-size:13px;text-decoration:none;color:#eef4f7}
  .ar041-footer__social{grid-column:1/-1;display:flex;align-items:center;gap:17px;padding-top:3px}
  .ar041-footer__social a{width:25px;height:25px;display:grid;place-items:center}
  .ar041-footer__social svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .ar041-footer__social a:nth-child(3) svg path{fill:currentColor;stroke:none}
  .ar041-footer__social a:nth-child(4) svg rect{fill:currentColor;stroke:none}
  .ar041-footer__social a:nth-child(4) svg path{fill:#19384f;stroke:none}
  .ar041-footer__language{margin-left:auto;padding-left:15px;border-left:1px solid #536b7c;font-size:13px}
  .ar041-footer__note{display:none}
  .ar051-footer-legal{width:min(calc(100% - 34px),600px);display:flex;flex-wrap:wrap;gap:12px 18px;margin:22px auto 0;padding:0;color:#bdccd7;font-size:12px}
  .ar051-footer-legal a{color:#dce6ed;text-decoration:none}
  .ar051-footer-legal::after{content:"© 2026 AnyRoom. Alle rettigheder forbeholdes.";display:block;flex-basis:100%;margin-top:3px;color:#aebfcb}

  /* Bottom navigation — persistent app shell */
  .ar041-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:200;height:70px;padding:6px 10px max(6px,env(safe-area-inset-bottom));display:grid!important;grid-template-columns:repeat(4,1fr);background:rgba(255,255,255,.98);border-top:1px solid #dce5ec;box-shadow:0 -6px 18px rgba(15,45,70,.08);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
  .ar041-bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-decoration:none;color:#5d738a;font-size:11px;font-weight:700}
  .ar041-bottom-nav a span{font-size:24px;line-height:1;color:#5d738a}
  .ar041-bottom-nav a.is-active{color:var(--ar-navy)}
  .ar041-bottom-nav a.is-active span{color:var(--ar-navy)}

  /* Tighter phones */
  @media (max-width:420px){
    .ar041-shell{width:calc(100% - 24px)}
    .ar041-header__inner{width:calc(100% - 24px)}
    .ar041-logo{width:145px}
    .ar041-hero{min-height:505px}
    .ar041-hero__inner{width:calc(100% - 28px);padding-top:24px}
    .ar041-hero__copy{width:95%}
    .ar041-hero__copy h1{font-size:28px}
    .ar041-hero__copy p{font-size:13.5px}
    .ar041-search-wrap{width:calc(100% - 18px);margin-top:62px;padding:9px}
    .ar041-category-grid{gap:7px}
    .ar041-cat img{height:70px}
    .ar041-section-title-row h2,.ar041-story h2,.ar041-seo h2,.ar041-how-mobile h2{font-size:24px}
    .ar041-host-card{grid-template-columns:100px 1fr}
    .ar041-host-card__copy h2{font-size:19px}
  }
}