
@media (min-width: 769px) {
  /* ---- backdrop ---- */
  body .dgwt-wcas-overlay-mobile {
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    width: 100% !important; height: 100% !important;
    padding-top: 11vh !important;
    background: rgba(11, 35, 73, 0.22) !important;
    -webkit-backdrop-filter: blur(14px) saturate(115%);
    backdrop-filter: blur(14px) saturate(115%);
    overflow: hidden !important;
  }

  /* ---- the panel ---- */
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-om-bar {
    position: relative !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    width: 680px !important;
    max-width: calc(100% - 48px) !important;
    margin: 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 4px 6px !important;
    background: rgba(255, 255, 255, 0.86) !important;
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    backdrop-filter: blur(22px) saturate(140%);
    border: 1px solid rgba(223, 229, 236, 0.9) !important;
    border-radius: 18px !important;
    box-shadow: 0 28px 64px rgba(11, 35, 73, 0.30) !important;
    overflow: visible !important;
  }

  /* close / back control, left of the field */
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-om-return {
    flex: 0 0 auto !important;
    width: 46px !important; height: 56px !important;
    background: transparent !important;
    border: 0 !important;
  }
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-om-return svg { opacity: .55; }
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-om-return svg path { fill: #0B2349 !important; } /* 27 Sep: arrow was white on the light panel */
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-om-return:hover svg { opacity: .9; }

  /* the field */
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-search-wrapp { flex: 1 1 auto !important; width: auto !important; }
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-search-form,
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-sf-wrapp { background: transparent !important; border: 0 !important; }
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-search-input {
    height: 56px !important;
    font-size: 18px !important;
    font-family: inherit !important;
    color: #16243A !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding-left: 4px !important;
  }
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-search-input::placeholder { color: #5A6B80 !important; }

  /* results live inside the panel instead of floating full-width */
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-suggestions-wrapp {
    position: static !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important; top: auto !important;
    margin: 2px 0 6px !important;
    max-height: 50vh !important;
    overflow-y: auto !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 12px !important;
  }
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-suggestion { border-radius: 10px !important; }

  /* ---- furniture added by the JS below ---- */
  .solas-sl-foot {
    flex: 0 0 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 4px 12px 8px;
    font-family: inherit; font-size: 11px; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase; color: #5A6B80;
  }
  .solas-sl-foot b {
    display: inline-block; min-width: 18px; margin: 0 2px; padding: 2px 5px;
    border: 1px solid #DFE5EC; border-radius: 6px; background: #F4F8FD;
    color: #346CAC; font-size: 10px; text-align: center;
  }
  .solas-sl-chips {
    flex: 0 0 100%;
    display: flex; flex-wrap: wrap; gap: 8px;
    padding: 2px 12px 12px;
  }
  .solas-sl-chip {
    font-family: inherit; font-size: 12.5px; font-weight: 700; line-height: 1;
    color: #346CAC; background: #FFFFFF; border: 1px solid #DFE5EC;
    border-radius: 100px; padding: 8px 14px; text-decoration: none;
  }
  .solas-sl-chip:hover, .solas-sl-chip:focus { background: #F4F8FD; color: #0B2349; }
}

/* phones (25 Sep 2026, Van: "branded full-screen"): FiboSearch's full-screen overlay restyled to the site -
   navy search bar, rounded white field, category chips while the field is empty, results as cards.
   Existing design-system colours only. The keyboard-hint row stays desktop-only. */
@media (max-width: 768px) {
  .solas-sl-foot { display: none !important; }

  body .dgwt-wcas-overlay-mobile {
    background: #F4F8FD !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-om-bar {
    position: relative !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    height: auto !important;
    min-height: 0 !important;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 0 4px !important;
    background: linear-gradient(#0B2349 calc(64px + env(safe-area-inset-top, 0px)), #F4F8FD 0) !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-om-return {
    order: 0;
    flex: 0 0 auto !important;
    width: 44px !important; height: 44px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
  }
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-om-return svg { width: 22px !important; height: 22px !important; }
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-om-return svg path { fill: #FFFFFF !important; }

  body .dgwt-wcas-overlay-mobile .dgwt-wcas-search-wrapp { order: 1; flex: 1 1 auto !important; width: auto !important; max-width: none !important; }
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-search-form,
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-sf-wrapp { background: transparent !important; border: 0 !important; box-shadow: none !important; }
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-search-input {
    height: 44px !important;
    font-size: 16px !important;               /* 16px: iOS does not zoom the page on focus */
    font-family: inherit !important;
    color: #16243A !important;
    background: #FFFFFF !important;
    border: 0 !important;
    border-radius: 100px !important;
    box-shadow: none !important;
    padding: 0 44px 0 18px !important;
  }
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-search-input::placeholder { color: #5A6B80 !important; }

  /* category chips (added by the JS below), one scrollable row under the bar; the JS hides them while typing */
  .dgwt-wcas-overlay-mobile .solas-sl-chips {
    order: 2;
    flex: 0 0 100%;
    display: flex; flex-wrap: nowrap; gap: 8px;
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin: 0 -12px 0 -4px;
    padding: 14px 12px 4px 16px;
  }
  .dgwt-wcas-overlay-mobile .solas-sl-chips::-webkit-scrollbar { display: none; }
  .dgwt-wcas-overlay-mobile .solas-sl-chip {
    flex: 0 0 auto;
    font-family: inherit; font-size: 13px; font-weight: 700; line-height: 1;
    color: #346CAC; background: #FFFFFF; border: 1px solid #DFE5EC;
    border-radius: 100px; padding: 10px 14px; text-decoration: none; white-space: nowrap;
  }

  /* results: cards in the page flow instead of a floating grey list */
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-suggestions-wrapp {
    order: 3;
    position: static !important;
    flex: 0 0 100% !important;
    width: auto !important; max-width: none !important;
    left: auto !important; top: auto !important;
    margin: 0 -12px 0 -4px !important;
    padding: 12px 12px 24px 16px !important;
    max-height: none !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-suggestion {
    display: flex !important; align-items: center !important;
    min-height: 64px;
    margin: 0 0 8px !important;
    padding: 8px 12px !important;
    background: #FFFFFF !important;
    border: 1px solid #DFE5EC !important;
    border-radius: 12px !important;
    color: #16243A !important;
    text-decoration: none !important;
  }
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-suggestion * { text-decoration: none !important; }
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-suggestion-selected,
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-suggestion:active { background: #F4F8FD !important; border-color: #346CAC !important; }
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-si { width: 48px !important; min-width: 48px; margin-right: 12px !important; }
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-si img { border: 0 !important; border-radius: 8px !important; background: #F4F8FD; padding: 2px !important; }
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-st { font-size: 15px !important; font-weight: 600 !important; color: #16243A !important; }
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-st strong { color: #346CAC !important; font-weight: 800 !important; }
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-suggestion-headline {
    min-height: 0 !important; margin: 10px 0 6px !important; padding: 0 2px !important;
    background: transparent !important; border: 0 !important;
    font-size: 11px !important; font-weight: 700 !important; letter-spacing: .06em; text-transform: uppercase; color: #5A6B80 !important;
  }
  body .dgwt-wcas-overlay-mobile .dgwt-wcas-suggestion-more {
    justify-content: center !important; min-height: 48px;
    font-weight: 700 !important; color: #346CAC !important;
  }
}
