/* Mobile application shell. Desktop selectors and layout stay untouched. */
.app-bottom-nav,.app-footer,.app-menu { display:none; }
@media (max-width:1000px) {
  .mobile-app .catalog-card { min-width:0; display:flex; flex-direction:column; border:1px solid #dce6ed; border-radius:18px; overflow:hidden; background:#fff; box-shadow:0 3px 12px #16365304; }
  .mobile-app .catalog-photo { display:block; height:146px; padding:14px; background:#fff; }
  .mobile-app .catalog-photo img { width:100%; height:100%; object-fit:contain; filter:none; mix-blend-mode:normal; }
  .mobile-app .catalog-copy { flex:1; padding:12px; display:flex; flex-direction:column; }
  .mobile-app .catalog-copy .product-brand { font-size:11px; color:#496d87; margin:0 0 7px; }
  .mobile-app .catalog-copy h3 { font-size:14px; line-height:1.45; letter-spacing:-.01em; min-height:61px; margin:0; }
  .mobile-app .catalog-copy h3 a { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; min-height:44px; }
  .mobile-app .catalog-copy .catalog-price { font-size:19px; font-weight:600; color:#153f5d; margin:12px 0; line-height:1.3; }
  .mobile-app .catalog-card-bottom { display:flex; align-items:center; gap:4px; padding:8px 0 0; border-top:1px solid #e5edf2; margin-top:auto; }
  .mobile-app .catalog-card-bottom .text-link { flex:1; font-size:11px; min-height:44px; gap:3px; }
  .mobile-app .catalog-card-bottom .text-link .icon { width:13px; height:13px; }
  .mobile-app .catalog-card-bottom .add-product { width:44px; height:44px; flex-shrink:0; padding:12px; border:0; border-radius:13px; background:#e8f1ff; color:#165fc4; }
  .mobile-app .catalog-card-bottom .add-product .icon { width:20px; height:20px; }

  html:has(body.mobile-app) { scroll-padding-top:100px; }
  body.mobile-app {
    --app-ink:#15334e; --app-muted:#526b7e; --app-blue:#165fc4; --app-line:#dce6ec;
    --app-paper:#f5f8fb; --app-nav-height:72px; --app-ease:cubic-bezier(.22,1,.36,1);
    padding-bottom:calc(var(--app-nav-height) + env(safe-area-inset-bottom));
    color:var(--app-ink); background:var(--app-paper); font:400 16px/1.6 'DM Sans',sans-serif;
  }
  .mobile-app :is(h1,h2,h3,h4) { font-family:Outfit,'DM Sans',sans-serif; letter-spacing:-.035em; color:var(--app-ink); }
  .mobile-app h1 { font-size:36px; line-height:1.12; }
  .mobile-app h2 { font-size:30px; line-height:1.16; }
  .mobile-app h3 { font-size:21px; line-height:1.25; }
  .mobile-app p { font-size:15px; line-height:1.7; color:var(--app-muted); }
  .mobile-app :is(.container,.section.container) { width:calc(100% - 40px); max-width:720px; margin-inline:auto; }
  .mobile-app .section { padding-block:36px; }
  .mobile-app .section-label { font-size:11px; line-height:1.5; letter-spacing:.12em; margin-bottom:12px; color:#4b754f; }
  .mobile-app :is(.button,button.icon-button,.text-link) { min-height:48px; }
  .mobile-app .button { padding:14px 18px; gap:12px; border-radius:14px; font-size:15px; font-weight:600; }
  .mobile-app .button-blue { background:var(--app-blue); border-color:var(--app-blue); color:#fff; }
  .mobile-app .button-green { background:#176348; color:#fff; }
  .mobile-app .text-link { font-size:14px; line-height:1.5; gap:10px; color:#195a9c; }
  .mobile-app .breadcrumbs a { display:inline-flex; align-items:center; min-width:44px; min-height:44px; }
  .mobile-app :is(button,a.button,.app-nav-item) { transition:transform 200ms var(--app-ease),background-color 200ms; }
  .mobile-app :is(button,a.button,.app-nav-item):active { transform:scale(.97); }
  .mobile-app .button:hover { transform:none; }
  .mobile-app :focus-visible { outline:3px solid #2176c5; outline-offset:3px; }
  .mobile-app :is(a,button,input,select,summary):focus-visible { outline:3px solid #2176c5; outline-offset:3px; }
  .mobile-app img { max-width:100%; }
  .mobile-app #site-header.brand-header,
  .mobile-app #site-header.brand-header.is-sticky {
    position:sticky; top:0; left:0; width:100%; margin:0; border:0; border-bottom:1px solid var(--app-line);
    border-radius:0; color:var(--app-ink); background:#fbfdff; z-index:60; box-shadow:0 3px 16px #16365308; animation:none;
    padding-top:env(safe-area-inset-top);
  }
  .mobile-app #site-header .header-inner { width:100%; height:76px; max-width:768px; padding:6px 16px; gap:12px; border:0; }
  .mobile-app #site-header .brand { width:96px; height:64px; padding:0; background:transparent; border:0; border-radius:10px; }
  .mobile-app #site-header .brand img { width:94px; height:62px; object-fit:contain; }
  .mobile-app #site-header :is(.desktop-nav,.header-phone,.header-advisor,.header-quote) { display:none; }
  .mobile-app #site-header .header-actions { margin-left:auto; gap:4px; }
  .mobile-app #site-header .icon-button { display:inline-flex; width:46px; height:46px; min-height:46px; padding:12px; border-radius:14px; color:#214863; }
  .mobile-app #site-header .header-search { background:#edf4fc; }
  .mobile-app #site-header .menu-toggle { background:#193b5c; color:#fff; }
  .mobile-app #site-header .header-actions .header-advisor { display:none; }
  .mobile-app #site-header #basket-count { top:2px; right:1px; background:#cf432b; color:#fff; min-width:18px; border:2px solid #fff; line-height:14px; font-size:10px; }
  .mobile-app #site-header .search-panel { position:absolute; left:12px; right:12px; top:100%; width:auto; margin-top:8px; padding:18px; border:1px solid var(--app-line); border-radius:20px; background:#fff; box-shadow:0 12px 32px #14324d24; }
  .mobile-app #site-header .search-panel label { font-size:15px; }
  .mobile-app #site-header .search-input-row { gap:8px; }
  .mobile-app #site-header .search-panel input { width:0; min-width:0; min-height:48px; font-size:16px; padding:10px; border:1px solid #b9cddd; border-radius:10px; }
  .mobile-app #site-header .search-panel .button { min-width:48px; padding:12px; font-size:14px; }
  .mobile-app #mobile-nav { display:none; }
  .app-bottom-nav {
    position:fixed; z-index:65; bottom:0; left:0; right:0; display:grid; grid-template-columns:repeat(5,minmax(0,1fr));
    padding:8px 8px calc(8px + env(safe-area-inset-bottom)); min-height:72px;
    border-top:1px solid #d6e3ec; border-radius:20px 20px 0 0; background:#fcfeff; box-shadow:0 -4px 20px #1b3d570a;
  }
  .app-bottom-nav :is(a,button) { display:flex; flex-direction:column; justify-content:center; align-items:center; min-height:56px; min-width:0; gap:3px; padding:5px 2px; border-radius:14px; font:500 11px/1.35 'DM Sans',sans-serif; color:#526b7e; }
  .app-bottom-nav :is([aria-current='page'],[data-section-active='true'],[aria-expanded='true']) { color:#165fc4; background:#e8f1ff; font-weight:700; }
  .app-icon { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
  .mobile-app .app-menu[open] { display:flex; flex-direction:column; }
  .mobile-app .app-menu {
    inset:0 0 0 auto; margin:0; width:min(360px,92vw); height:100dvh; max-height:100dvh; max-width:none;
    padding:calc(20px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom));
    border:0; border-radius:24px 0 0 24px; background:#f8fbfe; color:var(--app-ink); overflow-y:auto; overscroll-behavior:contain;
  }
  .mobile-app .app-menu::backdrop { background:#0d263c80; backdrop-filter:blur(3px); }
  .app-drawer-open { overflow:hidden; }
  .app-menu-top { display:flex; justify-content:space-between; align-items:center; gap:16px; }
  .app-menu-top img { width:100px; height:66px; object-fit:contain; }
  .app-menu-close { display:grid; place-items:center; width:48px; height:48px; border:1px solid #d9e5ee; border-radius:50%; background:#fff; }
  .app-menu h2 { margin:24px 0 6px; font-size:25px; }
  .app-menu-intro { margin:0 0 22px; font-size:14px; }
  .app-menu-list { display:grid; gap:6px; }
  .app-menu .app-nav-item { display:flex; align-items:center; gap:14px; min-height:54px; padding:12px 14px; border-radius:14px; font-size:15px; font-weight:500; color:#284b65; }
  .app-menu .app-nav-item > span { flex:1; }
  .app-menu .app-nav-item > .app-icon:last-child { width:16px; height:16px; }
  .app-menu .app-nav-item[aria-current] { background:#e4efff; color:#155bc1; font-weight:700; }
  .app-menu details { border-top:1px solid var(--app-line); margin-top:12px; padding-top:8px; }
  .app-menu summary { list-style:none; cursor:pointer; }
  .app-menu summary::-webkit-details-marker { display:none; }
  .app-menu details[open] summary > svg:last-child { transform:rotate(90deg); }
  .app-menu-brands { display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:8px 0 16px; }
  .app-menu-brands a { display:flex; align-items:center; min-height:48px; padding:12px; border:1px solid var(--app-line); background:#fff; border-radius:10px; font-size:14px; }
  .app-menu-actions { display:grid; gap:8px; padding-top:24px; margin-top:auto; }
  .app-menu-actions .button { width:100%; }
  .mobile-app .whatsapp-float { bottom:calc(max(92px,var(--whatsapp-footer-lift,0px)) + env(safe-area-inset-bottom)); right:16px; width:52px; height:52px; z-index:55; }
  .mobile-app .toast { bottom:calc(94px + env(safe-area-inset-bottom)); padding:14px 18px; font-size:14px; border-radius:14px; width:max-content; max-width:calc(100% - 32px); }
  .mobile-app .basket-dialog { width:100%; height:90dvh; inset:auto 0 0; max-height:90dvh; border-radius:24px 24px 0 0; padding:20px 20px calc(24px + env(safe-area-inset-bottom)); }
  .mobile-app .drawer-heading { margin:0 0 20px; }
  .mobile-app .drawer-heading h2 { font-size:26px; }
  .mobile-app .drawer-heading .icon-button { width:48px; height:48px; border:1px solid var(--app-line); border-radius:50%; }
  .mobile-app .basket-line { gap:14px; grid-template-columns:72px minmax(0,1fr); }
  .mobile-app .basket-line h3 { font-size:15px; line-height:1.5; }
  .mobile-app .basket-line p { font-size:13px; }
  .mobile-app .basket-line img { width:72px; height:90px; border-radius:12px; }
  .mobile-app .quantity-control { flex-wrap:wrap; gap:8px; font-size:15px; }
  .mobile-app .quantity-control button { width:44px; height:44px; border-radius:12px; }
  .mobile-app .quantity-control .remove-item { width:auto; padding:8px; min-height:44px; font-size:13px; }
  .mobile-app .basket-next p { font-size:14px; margin:18px 0; }
  .mobile-app .basket-next .button { width:100%; }
  .mobile-app .basket-empty { padding:40px 0; }
  .mobile-app .basket-empty p { margin:16px 0 24px; }
  /* Inputs stay at 16px to avoid focus zoom; labels and errors remain readable. */
  .mobile-app :is(.form-grid,.contact-grid) { grid-template-columns:1fr; gap:20px; }
  .mobile-app .form-grid label { display:block; font-size:14px; line-height:1.5; }
  .mobile-app .form-grid :is(input,select,textarea) { width:100%; min-width:0; min-height:52px; padding:13px 14px; margin-top:8px; border:1px solid #bdcedb; border-radius:12px; color:var(--app-ink); background:#fff; font-size:16px; line-height:1.5; }
  .mobile-app .form-grid textarea { min-height:120px; resize:vertical; }
  .mobile-app .form-grid :is(.full,.full-width) { grid-column:1; }
  .mobile-app :is(.optional,.field-hint,.form-note) { font-size:12px; line-height:1.65; }
  .mobile-app .consent { display:flex; align-items:center; gap:12px; min-height:52px; font-size:13px; line-height:1.6; margin:16px 0; }
  .mobile-app .consent input { width:24px; height:24px; flex-shrink:0; accent-color:var(--app-blue); }
  .mobile-app .quote-form > .button { width:100%; }
  .mobile-app .enquiry-review { padding:20px; background:#edf7f1; border-radius:18px; }
  .mobile-app .enquiry-review h3 { font-size:21px; }
  .mobile-app .enquiry-review pre { white-space:pre-wrap; overflow-wrap:anywhere; font:400 14px/1.7 'DM Sans',sans-serif; margin:20px 0; }
  .mobile-app .review-actions { display:grid; gap:10px; }
  .mobile-app .review-actions > * { width:100%; min-height:48px; }
  .mobile-app .newsletter.container { width:calc(100% - 32px); margin:24px auto; padding:24px 20px; border-radius:22px; background:#e7f2e8; display:block; }
  .mobile-app .newsletter h2 { font-size:26px; }
  .mobile-app .newsletter p { font-size:14px; margin:12px 0 20px; }
  .mobile-app .newsletter form { display:flex; flex-direction:column; gap:10px; width:100%; }
  .mobile-app .newsletter form > div { display:grid; grid-template-columns:1fr; gap:10px; }
  .mobile-app .newsletter input { width:100%; min-width:0; min-height:52px; border:1px solid #b9cec2; border-radius:12px; padding:14px; font-size:16px; background:#fff; }
  .mobile-app .newsletter .button { width:100%; }
  .mobile-app .newsletter :is(small,#newsletter-status) { font-size:12px; line-height:1.6; }
  .mobile-app .site-footer { padding:28px 20px 24px; background:#183952; color:#e2edf5; border-radius:24px 24px 0 0; }
  .mobile-app .site-footer > .container { width:100%; max-width:720px; }
  .mobile-app .site-footer .footer-grid { display:none; }
  .mobile-app .app-footer { display:block; }
  .app-footer-intro { display:flex; align-items:center; gap:20px; margin-bottom:24px; }
  .mobile-app .app-footer-intro > .brand { width:96px; height:70px; padding:0; background:transparent; border-radius:12px; flex-shrink:0; }
  .app-footer-intro img { width:96px; height:70px; padding:5px; background:#f8fbff; border-radius:12px; object-fit:contain; flex-shrink:0; }
  .mobile-app .app-footer-intro p { color:#d5e3ed; font-size:13px; line-height:1.65; }
  .app-footer details { border-top:1px solid #bfd6e02b; }
  .app-footer summary { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:58px; list-style:none; font-weight:600; font-size:16px; cursor:pointer; }
  .app-footer summary::-webkit-details-marker { display:none; }
  .app-footer summary::after { content:'+'; font-weight:400; font-size:24px; }
  .app-footer details[open] summary::after { content:'−'; }
  .app-footer details > div { padding:0 0 18px; }
  .mobile-app .app-footer details a { display:flex; align-items:center; min-height:44px; padding:9px 0; font-size:14px; color:#d8e8f4; overflow-wrap:anywhere; }
  .mobile-app .app-footer details p { margin:10px 0; color:#d8e8f4; font-size:14px; }
  .mobile-app .site-footer .footer-bottom { display:block; border-top:1px solid #bfd6e02b; padding-top:20px; margin-top:12px; }
  .mobile-app .site-footer .footer-bottom p { font-size:12px; color:#c5d8e7; }
  .mobile-app .site-footer .footer-bottom > div { display:grid; grid-template-columns:1fr 1fr; gap:4px 12px; margin:12px 0 0; }
  .mobile-app .site-footer .footer-bottom a { font-size:12px; min-height:44px; color:#d8e8f4; }
  .mobile-app .faq-list { display:grid; gap:10px; }
  .mobile-app .faq-list details { margin:0; padding:0 16px; border:1px solid var(--app-line); border-radius:16px; background:#fff; }
  .mobile-app .faq-list summary { min-height:64px; padding:16px 0; gap:16px; font-size:15px; line-height:1.5; }
  .mobile-app .faq-list details p { font-size:14px; padding:0 0 18px; line-height:1.75; }
  .mobile-app :is(.faq-list details,.app-spec-section,.app-footer details)[open] > :not(summary) { animation:app-disclosure-in 220ms var(--app-ease); }
  @keyframes app-disclosure-in { from { opacity:.5; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
  .mobile-app .company-partners.container { padding:28px 16px; width:calc(100% - 32px); margin:24px auto; border:1px solid #ceddc4; border-radius:24px; background:#e5efdb url('/assets/home-visuals/sun-orbits.svg') 110px -130px/420px no-repeat; }
  .mobile-app .company-partners .section-label { text-align:center; }
  .mobile-app .company-partners h2 { margin:0 0 24px; font-size:25px; line-height:1.25; }
  .mobile-app .partner-logos { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
  .mobile-app .partner-logos img { width:100%; height:76px; padding:12px; border:1px solid #d5e0cc; border-radius:12px; background:#fff; object-fit:contain; filter:none; mix-blend-mode:normal; }
  .mobile-app .partner-logos img:last-child:nth-child(3n + 2) { grid-column:auto; }
  @media (min-width:601px) { .app-bottom-nav { padding-inline:max(20px,calc((100vw - 650px)/2)); } .mobile-app .partner-logos { grid-template-columns:repeat(6,minmax(0,1fr)); } }
  @media (prefers-reduced-motion:reduce) { .mobile-app * { scroll-behavior:auto; } .mobile-app :is(button,a.button,.app-nav-item) { transition:none; } .mobile-app details[open] > :not(summary) { animation:none; } }
}
