/* Scoped to Woodmart's live search; no catalogue-card styles. */
html body .wd-search-results.wd-dropdown-results,
html body .wd-search-full-screen .wd-search-results {
  --sr-search-ink:#f8f3e9; --sr-search-gold:#e0bd7d;
  border:1px solid rgba(224,189,125,.4)!important;
  border-radius:18px!important;
  background:#15130f!important; background-image:none!important;
  color:var(--sr-search-ink)!important;
  box-shadow:0 14px 32px rgba(0,0,0,.23)!important;
  backdrop-filter:none!important; -webkit-backdrop-filter:none!important;
  overflow:hidden!important;
}
html body .wd-search-results .wd-scroll-content {
  max-height:min(65vh,510px)!important;
  max-height:min(65dvh,510px)!important;
  overflow-y:auto!important; overscroll-behavior:contain;
  scrollbar-width:thin; scrollbar-color:#7e653d #15130f;
  padding:0!important; background:transparent!important;
}
html body .wd-search-results .wd-search-suggestions {
  position:static!important; width:100%!important; max-height:none!important;
  border:0!important; border-radius:0!important; box-shadow:none!important;
  background:transparent!important; overflow:visible!important;
}
html body .wd-search-results .wd-suggestions-group {
  display:grid!important; grid-template-columns:repeat(auto-fit,minmax(290px,1fr))!important;
  gap:6px!important; padding:10px!important; margin:0!important;
}
html body .wd-search-results .wd-suggestion {
  box-sizing:border-box!important; display:grid!important;
  grid-template-columns:64px minmax(0,1fr)!important;
  align-items:center!important; gap:12px!important;
  width:auto!important; min-width:0!important;
  height:94px!important; min-height:0!important; max-height:none!important;
  margin:0!important; padding:11px!important;
  border:1px solid rgba(224,189,125,.12)!important;
  border-radius:12px!important; background:#1d1a15!important;
  color:#f8f3e9!important; -webkit-text-fill-color:#f8f3e9!important;
  text-align:start!important; line-height:1.4!important;
  box-shadow:none!important; transform:none!important;
  transition:background-color .15s ease,border-color .15s ease!important;
}
html body .wd-search-results .wd-suggestion:hover,
html body .wd-search-results .wd-suggestion.wd-suggestion-selected,
html body .wd-search-results .wd-suggestion.wd-selected,
html body .wd-search-results .wd-suggestion.autocomplete-selected,
html body .wd-search-results .wd-suggestion:has(>.wd-fill:focus-visible) {
  background:#292217!important; border-color:rgba(224,189,125,.6)!important;
}
html body .wd-search-results .wd-suggestion .wd-suggestion-thumb {
  display:flex!important; align-items:center!important; justify-content:center!important;
  width:64px!important; height:64px!important; min-width:64px!important;
  max-width:64px!important; margin:0!important; padding:4px!important;
  box-sizing:border-box!important; border:0!important; border-radius:9px!important;
  background:#fff!important; overflow:hidden!important;
}
html body .wd-search-results .wd-suggestion .wd-suggestion-thumb img {
  display:block!important; width:100%!important; height:100%!important;
  max-width:100%!important; max-height:100%!important;
  object-fit:contain!important; margin:0!important; padding:0!important;
  border-radius:5px!important; transform:none!important;
}
html body .wd-search-results .wd-suggestion .wd-suggestion-content {
  display:flex!important; flex-direction:column!important; justify-content:center!important;
  gap:5px!important; min-width:0!important; width:auto!important;
  margin:0!important; padding:0!important; background:transparent!important;
}
html body .wd-search-results .wd-suggestion .wd-entities-title {
  display:-webkit-box!important; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden!important; max-height:39px!important; margin:0!important;
  padding:0!important; white-space:normal!important; overflow-wrap:anywhere;
  font-family:"Noto Sans Georgian","FiraGO",Arial,sans-serif!important;
  font-size:13px!important; line-height:19px!important; font-weight:600!important;
  letter-spacing:0!important; text-transform:none!important;
  color:#f8f3e9!important; -webkit-text-fill-color:#f8f3e9!important;
}
html body .wd-search-results .wd-suggestion .wd-entities-title strong {
  color:#eed19b!important; -webkit-text-fill-color:#eed19b!important;
  text-decoration:none!important; font-weight:800!important;
}
html body .wd-search-results .wd-suggestion .price {
  display:flex!important; flex-wrap:wrap!important; align-items:center!important;
  gap:3px 7px!important; margin:0!important; padding:0!important;
  font-size:13px!important; line-height:18px!important; font-weight:750!important;
  color:#e8c588!important; -webkit-text-fill-color:#e8c588!important;
}
html body .wd-search-results .wd-suggestion .price :is(ins,.amount,bdi,span) {
  color:inherit!important; -webkit-text-fill-color:inherit!important;
  background:transparent!important; font-size:inherit!important; line-height:inherit!important;
}
html body .wd-search-results .wd-suggestion .price del {
  color:#aaa295!important; -webkit-text-fill-color:#aaa295!important;
  font-size:11px!important; font-weight:400!important; opacity:1!important;
}
html body .wd-search-results .wd-suggestion .wd-fill { border-radius:12px!important; }
html body .wd-search-results .wd-suggestion .wd-fill:focus-visible { outline:2px solid #e0bd7d!important; outline-offset:-2px!important; }
html body .wd-search-results .wd-suggestion-sku { margin:0!important; font-size:10px!important; line-height:12px!important; color:#bcb3a4!important; }
html body .wd-search-results .wd-all-results {
  display:flex!important; align-items:center!important; justify-content:center!important;
  gap:12px!important; min-height:46px!important; margin:0!important;
  padding:10px 16px!important; border:0!important;
  border-top:1px solid rgba(224,189,125,.24)!important;
  background:#242016!important; color:#f0d39b!important;
  -webkit-text-fill-color:#f0d39b!important;
  font-family:"Noto Sans Georgian","FiraGO",Arial,sans-serif!important;
  font-size:12px!important; font-weight:700!important; line-height:20px!important;
  letter-spacing:0!important; text-transform:none!important;
  text-decoration:none!important; box-shadow:none!important;
  transition:background-color .15s ease!important;
}
html body .wd-search-results .wd-all-results::after { content:"→"; font-family:Arial,sans-serif; font-size:18px; }
html body .wd-search-results .wd-all-results:hover { background:#32291a!important; }
html body .wd-search-results .wd-all-results:focus-visible { outline:2px solid #e0bd7d!important; outline-offset:-3px!important; }
html body .wd-search-results .wd-suggestion.wd-not-found {
  grid-column:1/-1!important; display:flex!important; justify-content:center!important;
  height:auto!important; min-height:84px!important; padding:18px!important;
}
html body .wd-search-results .wd-not-found-msg,
html body .wd-search-results .sr-search-feedback {
  color:#e8dec9!important; -webkit-text-fill-color:#e8dec9!important;
  font-family:"Noto Sans Georgian","FiraGO",Arial,sans-serif!important;
  font-size:13px!important; line-height:1.6!important; text-align:center!important;
}
html body .wd-search-results .sr-search-feedback { margin:0!important; padding:20px!important; }
html body .wd-search-results .suggestion-divider-title {
  grid-column:1/-1!important; color:#e0bd7d!important;
  -webkit-text-fill-color:#e0bd7d!important; font-size:12px!important;
}
html body .wd-search-form:has(form.wd-search-loading) .wd-search-results { cursor:progress; }
html body .wd-search-form:has(form.wd-search-loading) .wd-suggestion { opacity:.6; pointer-events:none; }
@media(min-width:1025px) {
  html body .wd-search-results.wd-dropdown-results { margin-top:8px!important; }
  html body .wd-search-form form:focus-within { outline:1px solid rgba(224,189,125,.7); outline-offset:2px; }
}
html body .sr-search-drawer-close { display:none!important; }
@media(max-width:1024px) {
  /* Give search room while it is in use; retain the normal navigation width. */
  html body :is(.mobile-nav,.wd-mobile-nav).srh-mobile-stable.wd-opened:has(>.srh-drawer-search form:focus-within),
  html body :is(.mobile-nav,.wd-mobile-nav).srh-mobile-stable.wd-opened:has(>.srh-drawer-search .wd-search-results.wd-opened) {
    width:min(94vw,420px)!important; max-width:min(94vw,420px)!important;
  }
  /* A wide drawer needs a reachable close control inside its own bounds. */
  html body :is(.mobile-nav,.wd-mobile-nav).srh-mobile-stable > .sr-search-drawer-close {
    box-sizing:border-box!important; position:sticky!important;
    top:max(4px,env(safe-area-inset-top,0px))!important; z-index:400!important;
    display:flex!important; align-items:center!important; justify-content:center!important;
    order:-1201!important; flex:0 0 40px!important; align-self:flex-end!important;
    width:auto!important; min-width:108px!important; height:40px!important; min-height:40px!important;
    gap:10px!important; margin:4px 0 0!important; padding:8px 12px!important;
    border:1px solid rgba(224,189,125,.4)!important; border-radius:10px!important;
    background:#211b14!important; color:#f8f3e9!important; -webkit-text-fill-color:#f8f3e9!important;
    font-family:"Noto Sans Georgian","FiraGO",Arial,sans-serif!important;
    font-size:13px!important; font-weight:600!important; line-height:20px!important;
    text-transform:none!important; letter-spacing:0!important; cursor:pointer!important;
    box-shadow:none!important; transform:none!important; touch-action:manipulation;
  }
  html body :is(.mobile-nav,.wd-mobile-nav).srh-mobile-stable > .sr-search-drawer-close:focus-visible {
    outline:2px solid #e0bd7d!important; outline-offset:2px!important;
  }
  html body :is(.mobile-nav,.wd-mobile-nav).srh-mobile-stable > .srh-drawer-search {
    top:calc(52px + env(safe-area-inset-top,0px))!important;
  }
  html body :is(.mobile-nav,.wd-mobile-nav).srh-mobile-stable > .srh-drawer-search .wd-search-results-wrapper {
    max-height:none!important; overflow:visible!important; background:transparent!important;
    box-shadow:none!important;
  }
  html body :is(.mobile-nav,.wd-mobile-nav).srh-mobile-stable > .srh-drawer-search input[name="s"] {
    font-size:16px!important;
  }
  /* These selectors also override the old drawer's two-column !important grid. */
  html body :is(.wd-search-form,.wd-search-full-screen,.mobile-nav.srm3-mobile-drawer,.wd-mobile-nav.srm3-mobile-drawer) .wd-search-results {
    box-sizing:border-box!important; width:100%!important; min-width:0!important;
    max-width:100%!important; border-radius:14px!important;
    background:#15130f!important; background-image:none!important;
  }
  html body :is(.wd-search-form,.wd-search-full-screen,.mobile-nav.srm3-mobile-drawer,.wd-mobile-nav.srm3-mobile-drawer) .wd-search-results .wd-scroll-content {
    max-height:min(58vh,480px)!important; max-height:min(58dvh,480px)!important;
    overflow-x:hidden!important; padding:0!important;
  }
  html body :is(.wd-search-form,.wd-search-full-screen,.mobile-nav.srm3-mobile-drawer,.wd-mobile-nav.srm3-mobile-drawer) .wd-search-results .wd-suggestions-group.wd-type-product {
    grid-template-columns:minmax(0,1fr)!important; grid-auto-rows:auto!important;
    align-items:start!important; gap:7px!important; padding:8px!important;
    width:100%!important; min-width:0!important; box-sizing:border-box!important;
    background:transparent!important;
  }
  html body :is(.wd-search-form,.wd-search-full-screen,.mobile-nav.srm3-mobile-drawer,.wd-mobile-nav.srm3-mobile-drawer) .wd-search-results .wd-suggestions-group .wd-suggestion {
    grid-template-columns:56px minmax(0,1fr)!important; align-items:start!important;
    gap:11px!important; width:100%!important; height:auto!important;
    min-height:88px!important; max-height:none!important; padding:11px!important;
    border:1px solid rgba(224,189,125,.16)!important; border-radius:11px!important;
    background:#1d1a15!important; background-image:none!important;
  }
  html body :is(.wd-search-form,.wd-search-full-screen,.mobile-nav.srm3-mobile-drawer,.wd-mobile-nav.srm3-mobile-drawer) .wd-search-results .wd-suggestion .wd-suggestion-thumb {
    width:56px!important; height:56px!important; min-width:56px!important;
    max-width:56px!important; padding:4px!important; border:0!important;
    border-radius:9px!important; align-self:center!important;
  }
  html body :is(.wd-search-form,.wd-search-full-screen,.mobile-nav.srm3-mobile-drawer,.wd-mobile-nav.srm3-mobile-drawer) .wd-search-results .wd-suggestion .wd-suggestion-content {
    gap:7px!important; min-width:0!important; max-width:100%!important;
    align-self:center!important;
  }
  html body :is(.wd-search-form,.wd-search-full-screen,.mobile-nav.srm3-mobile-drawer,.wd-mobile-nav.srm3-mobile-drawer) .wd-search-results .wd-suggestion .wd-entities-title {
    display:block!important; -webkit-line-clamp:unset!important;
    height:auto!important; max-height:none!important; overflow:visible!important;
    font-size:14px!important; line-height:20px!important; font-weight:600!important;
    color:#f8f3e9!important; -webkit-text-fill-color:#f8f3e9!important;
    white-space:normal!important; word-break:normal!important; overflow-wrap:anywhere!important;
    text-shadow:none!important;
  }
  html body :is(.wd-search-form,.wd-search-full-screen,.mobile-nav.srm3-mobile-drawer,.wd-mobile-nav.srm3-mobile-drawer) .wd-search-results .wd-suggestion .wd-entities-title strong {
    font-size:inherit!important; line-height:inherit!important; font-weight:750!important;
    color:#eed19b!important; -webkit-text-fill-color:#eed19b!important;
  }
  html body :is(.wd-search-form,.wd-search-full-screen,.mobile-nav.srm3-mobile-drawer,.wd-mobile-nav.srm3-mobile-drawer) .wd-search-results .wd-suggestion .price {
    font-size:14px!important; line-height:20px!important; gap:3px 8px!important;
  }
  html body :is(.wd-search-form,.wd-search-full-screen,.mobile-nav.srm3-mobile-drawer,.wd-mobile-nav.srm3-mobile-drawer) .wd-search-results .wd-suggestion .price :is(ins,.amount,bdi,.woocommerce-Price-currencySymbol) {
    font-size:inherit!important; line-height:inherit!important; white-space:nowrap!important;
  }
  html body :is(.wd-search-form,.wd-search-full-screen,.mobile-nav.srm3-mobile-drawer,.wd-mobile-nav.srm3-mobile-drawer) .wd-search-results .wd-suggestion .price del {
    font-size:12px!important; line-height:18px!important;
  }
  html body :is(.wd-search-form,.wd-search-full-screen,.mobile-nav.srm3-mobile-drawer,.wd-mobile-nav.srm3-mobile-drawer) .wd-search-results .wd-suggestion .wd-fill { border-radius:11px!important; }
  html body :is(.wd-search-form,.wd-search-full-screen,.mobile-nav.srm3-mobile-drawer,.wd-mobile-nav.srm3-mobile-drawer) .wd-search-results .wd-all-results {
    min-height:48px!important; padding:12px!important; gap:10px!important;
    font-size:13px!important; line-height:20px!important; letter-spacing:0!important;
  }
  html body :is(.wd-search-form,.wd-search-full-screen,.mobile-nav.srm3-mobile-drawer,.wd-mobile-nav.srm3-mobile-drawer) .wd-search-results .wd-suggestion.wd-not-found { height:auto!important; }
}
@media(prefers-reduced-motion:reduce) {
  html body .wd-search-results .wd-suggestion,
  html body .wd-search-results .wd-all-results { transition:none!important; }
}
