/* Bookasion mobile app theme — premium app look for the mobile website.
   Same visual language as the installed PWA. Palette = existing brand variables. Loaded after mobile-marketplace.css / mobile-tabbar.css. */
@media (max-width:820px){
  :root{
    --ma-maroon:var(--maroon-700,#5C121F);--ma-maroon-d:var(--maroon-900,#380810);--ma-maroon-m:var(--maroon-500,#8F2434);
    --ma-gold:var(--gold,#BE9530);--ma-gold-l:var(--gold-light,#E9D3A0);
    --ma-ink:var(--ink,#2B1417);--ma-muted:var(--muted,#7C6459);--ma-bg:var(--bg,#FAF6EF);--ma-line:var(--line,rgba(56,8,16,.13));
    --ma-shadow:0 18px 34px -22px rgba(56,8,16,.55);
    --mobile-market-bg:var(--ma-bg);
  }
  body.home-has-fullscreen-hero,body.marketplace-services-page{background:var(--ma-bg)}

  /* app bar */
  body .site-header{background:rgba(250,246,239,.92)!important;backdrop-filter:saturate(1.4) blur(16px)!important;-webkit-backdrop-filter:saturate(1.4) blur(16px)!important;border-bottom:1px solid var(--ma-line)!important}

  /* welcome */
  body .mobile-home-welcome{padding:14px 16px;margin:4px 0 14px;border-radius:24px;background:linear-gradient(145deg,var(--ma-maroon-d),var(--ma-maroon) 58%,var(--ma-maroon-m));box-shadow:var(--ma-shadow);position:relative;overflow:hidden}
  body .mobile-home-welcome::after{content:"";position:absolute;width:160px;height:160px;border-radius:50%;inset-inline-end:-50px;top:-60px;background:radial-gradient(circle,rgba(233,211,160,.5),transparent 70%)}
  body .mobile-home-welcome-hello{color:rgba(255,255,255,.8)!important}
  body .mobile-home-welcome-name{color:#fff!important}
  body .mobile-home-welcome-avatar{border:2px solid var(--ma-gold-l)!important;background:rgba(255,255,255,.14)!important;color:#fff!important}

  /* shortcuts */
  body .mobile-home-shortcuts a{border-radius:20px!important;border:1px solid var(--ma-line)!important;background:#fff!important;color:var(--ma-maroon)!important;box-shadow:0 12px 24px -20px rgba(56,8,16,.6);font-weight:800;transition:transform .2s}
  body .mobile-home-shortcuts a:active{transform:scale(.95)}
  body .mobile-home-shortcuts a i{color:var(--ma-maroon-m)!important}

  /* quick CTA */
  body #main-content .mobile-home-discovery>a.mobile-home-quick-cta{border-radius:22px!important;background:linear-gradient(135deg,var(--ma-maroon-d),var(--ma-maroon) 55%,var(--ma-maroon-m))!important;color:#fff!important;border:0!important;box-shadow:0 20px 36px -20px rgba(56,8,16,.8)!important;position:relative;overflow:hidden}
  body #main-content .mobile-home-discovery>a.mobile-home-quick-cta>i:first-child{color:var(--ma-maroon-d)!important;background:linear-gradient(120deg,var(--ma-gold-l),var(--ma-gold))!important;border-radius:14px!important}

  /* search */
  body .mobile-home-search,body .mobile-services-search{border-radius:20px!important;border:1px solid var(--ma-line)!important;background:#fff!important;box-shadow:0 14px 28px -22px rgba(56,8,16,.55)!important}
  body .mobile-home-search:focus-within,body .mobile-services-search:focus-within{border-color:var(--ma-maroon-m)!important;box-shadow:0 0 0 4px rgba(143,36,52,.12)!important}
  body .mobile-home-search-icon{color:var(--ma-maroon-m)!important}
  body .mobile-home-filter-toggle{border-radius:14px!important;background:var(--ma-maroon)!important;color:#fff!important}
  body .mobile-home-filter-apply{background:linear-gradient(120deg,var(--ma-maroon),var(--ma-maroon-m))!important;border-radius:16px!important}
  body .mobile-home-filter-panel{border-radius:24px!important;box-shadow:var(--ma-shadow)!important}

  /* section heads */
  body .mobile-home-block{margin-top:26px}
  body .mobile-home-block-head h2{color:var(--ma-ink)!important;font-weight:800!important;font-size:19px!important}
  body .mobile-home-block-head span{color:var(--ma-gold-deep,#8C6A1F)!important;font-weight:800!important;letter-spacing:.02em}
  body .mobile-home-block-head a{display:inline-flex;align-items:center;height:32px;padding:0 14px;border-radius:99px;background:var(--ma-gold-l);color:var(--ma-maroon-d)!important;font-weight:800;font-size:12px;text-decoration:none}

  /* categories: 3-column app tiles */
  body .mobile-category-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 10px;padding:0 14px 6px!important;overflow:visible!important}
  body .mobile-category-card{display:grid!important;justify-items:center;gap:8px;width:auto!important;min-width:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;text-decoration:none;animation:maIn .55s both cubic-bezier(.2,.7,.2,1)}
  body .mobile-category-card:nth-child(3n+2){animation-delay:.05s}body .mobile-category-card:nth-child(3n){animation-delay:.1s}
  @keyframes maIn{from{opacity:0;transform:translateY(16px) scale(.96)}to{opacity:1;transform:none}}
  body .mobile-category-media{width:100%!important;height:auto!important;aspect-ratio:1/1;border-radius:26px!important;overflow:hidden;display:block;background:linear-gradient(145deg,var(--ma-maroon),var(--ma-maroon-m));box-shadow:0 16px 28px -18px rgba(56,8,16,.7);position:relative;transition:transform .25s}
  body .mobile-category-media::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
  body .mobile-category-media img{width:100%;height:100%;object-fit:cover;display:block}
  body .mobile-category-card:active .mobile-category-media{transform:scale(.94)}
  body .mobile-category-copy{display:grid;gap:2px;text-align:center}
  body .mobile-category-copy strong{color:var(--ma-ink)!important;font-size:12.5px!important;font-weight:700!important;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  body .mobile-category-copy small{color:var(--ma-muted)!important;font-size:10.5px!important;font-weight:600}

  /* emirates */
  body .mobile-emirate-card{border-radius:26px!important;overflow:hidden;box-shadow:0 20px 34px -20px rgba(56,8,16,.7)!important}
  body .mobile-emirate-overlay{background:linear-gradient(to top,rgba(34,5,11,.85),rgba(34,5,11,.05) 70%)!important}
  body .mobile-emirate-copy i{color:var(--ma-gold-l)!important}

  /* featured services */
  body .mobile-featured-grid{gap:14px!important}
  body .mobile-feature-card{border-radius:24px!important;border:1px solid var(--ma-line)!important;background:#fff!important;overflow:hidden;box-shadow:0 18px 32px -24px rgba(56,8,16,.6)!important;transition:transform .25s}
  body .mobile-feature-card:active{transform:scale(.97)}
  body .mobile-feature-media{border-radius:0!important}
  body .mobile-feature-media em{background:linear-gradient(120deg,var(--ma-gold-l),var(--ma-gold))!important;color:var(--ma-maroon-d)!important;font-weight:800;border-radius:99px!important}
  body .mobile-feature-copy strong{color:var(--ma-ink)!important;font-weight:800!important}
  body .mobile-feature-price,body .mobile-feature-price b{color:var(--ma-maroon)!important}
  body .mobile-filter-chips>*{border-radius:99px!important}

  /* bottom tab bar — same as the app */
  body .bookasion-mobile-tabbar{inset-inline:12px!important;right:12px!important;left:12px!important;max-width:560px;margin-inline:auto;border-radius:26px!important;background:rgba(255,253,249,.94)!important;border:1px solid var(--ma-line)!important;box-shadow:0 22px 44px -18px rgba(56,8,16,.5)!important;backdrop-filter:blur(18px) saturate(1.5)!important;-webkit-backdrop-filter:blur(18px) saturate(1.5)!important}
  body .bookasion-mobile-tab{color:var(--ma-muted)!important}
  body .bookasion-mobile-tab>span{font-size:10px!important;font-weight:700!important}
  body .bookasion-mobile-tab.active{background:none!important;color:var(--ma-maroon)!important}
  body .bookasion-mobile-tab.active::before{top:2px!important;width:20px!important;height:3px!important;border-radius:99px!important;background:var(--ma-gold)!important}
  body .bookasion-mobile-tabbar .bookasion-mobile-tab.quick-service-primary{width:62px!important;min-width:62px!important;height:auto!important;margin:-24px auto 0!important;padding:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:var(--ma-maroon)!important;gap:3px}
  body .bookasion-mobile-tabbar .bookasion-mobile-tab.quick-service-primary>i{width:58px!important;height:58px!important;flex:0 0 58px!important;border-radius:50%;font-size:22px!important;color:var(--ma-gold-l);background:linear-gradient(145deg,var(--ma-maroon-d),var(--ma-maroon-m));border:4px solid var(--ma-bg);box-shadow:0 14px 26px -10px rgba(56,8,16,.75)}
  body .bookasion-mobile-tabbar .bookasion-mobile-tab.quick-service-primary::before{display:none!important}
  body .bookasion-mobile-tab-badge{background:var(--ma-gold)!important;color:var(--ma-maroon-d)!important}
}
@media (max-width:360px){body .mobile-category-row{gap:12px 8px}}
@media (prefers-reduced-motion:reduce){body .mobile-category-card{animation:none}}
