/* Navneleg × FiboSearch
   Shared live styling for the active FiboSearch plugin.
   Do not edit plugin assets. */

:root{
  --nls-fibo-ink:#191713;
  --nls-fibo-soft:#6f685f;
  --nls-fibo-faint:#8d867b;
  --nls-fibo-line:#e8e1d6;
  --nls-fibo-sand:#faf7f2;
  --nls-fibo-accent:#1f4b43;
}

/* Search form */
.dgwt-wcas-search-wrapp{
  width:100%;
  max-width:none;
  font-family:"Noto Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp{
  padding:0!important;
  background:transparent!important;
  border-radius:999px!important;
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{
  height:52px!important;
  padding:0 46px 0 44px!important;
  border:1.5px solid var(--nls-fibo-ink)!important;
  border-radius:999px!important;
  background:#fff!important;
  color:var(--nls-fibo-ink)!important;
  box-shadow:none!important;
  font-family:"Noto Sans",system-ui,sans-serif!important;
  font-size:14px!important;
  font-weight:500!important;
  line-height:52px!important;
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:hover,
.dgwt-wcas-style-pirx.dgwt-wcas-search-focused .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input,
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input:focus{
  border-color:var(--nls-fibo-ink)!important;
  background:#fff!important;
  box-shadow:none!important;
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input::placeholder{
  color:var(--nls-fibo-soft)!important;
  opacity:1!important;
  font-style:normal!important;
  font-weight:500!important;
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit{
  left:10px!important;
  top:9px!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  padding:0!important;
  background:transparent!important;
  box-shadow:none!important;
  pointer-events:none!important;
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:hover{
  background:transparent!important;
  box-shadow:none!important;
}
.dgwt-wcas-style-pirx .dgwt-wcas-search-submit svg{
  width:18px!important;
  height:18px!important;
}
.dgwt-wcas-style-pirx .dgwt-wcas-search-submit svg path{
  fill:var(--nls-fibo-ink)!important;
}
.dgwt-wcas-style-pirx.dgwt-wcas-search-filled .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{
  padding-left:16px!important;
  padding-right:46px!important;
}
.dgwt-wcas-style-pirx.dgwt-wcas-search-filled .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit{
  left:auto!important;
  right:9px!important;
  pointer-events:auto!important;
}
.dgwt-wcas-style-pirx .dgwt-wcas-preloader{
  margin-right:34px!important;
}

/* Autocomplete shell */
.dgwt-wcas-suggestions-wrapp{
  margin-top:8px!important;
  padding:8px!important;
  border:1px solid var(--nls-fibo-line)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 14px 34px rgba(25,23,19,.10)!important;
  overflow:hidden!important;
  font-family:"Noto Sans",system-ui,sans-serif!important;
}
.dgwt-wcas-open-pirx .dgwt-wcas-suggestions-wrapp{
  padding-top:8px!important;
  padding-bottom:8px!important;
  border-color:var(--nls-fibo-line)!important;
  border-radius:18px!important;
}
.dgwt-wcas-suggestions-wrapp>.dgwt-wcas-suggestion,
.dgwt-wcas-open-pirx .dgwt-wcas-suggestions-wrapp>.dgwt-wcas-suggestion{
  min-height:64px!important;
  padding:9px 10px!important;
  border:0!important;
  border-radius:12px!important;
  background:#fff!important;
  color:var(--nls-fibo-ink)!important;
}
.dgwt-wcas-suggestions-wrapp>.dgwt-wcas-suggestion+.dgwt-wcas-suggestion{
  margin-top:2px!important;
}
.dgwt-wcas-suggestion-selected,
.dgwt-wcas-suggestion:hover{
  background:var(--nls-fibo-sand)!important;
}

/* Product imagery */
.dgwt-wcas-has-img .dgwt-wcas-suggestion-product{
  padding-left:10px!important;
}
.dgwt-wcas-suggestion-product .dgwt-wcas-si{
  width:54px!important;
  min-width:54px!important;
  height:54px!important;
  margin-right:12px!important;
}
.dgwt-wcas-suggestion-product .dgwt-wcas-si img{
  width:54px!important;
  height:54px!important;
  object-fit:cover!important;
  border-radius:10px!important;
  background:#f6f2ec!important;
}

/* Result titles and metadata */
.dgwt-wcas-suggestion .dgwt-wcas-st{
  padding:0!important;
  color:var(--nls-fibo-ink)!important;
  font-family:"Noto Sans",system-ui,sans-serif!important;
  font-size:14px!important;
  font-weight:500!important;
  line-height:1.35!important;
}
.dgwt-wcas-suggestion .dgwt-wcas-st strong{
  color:var(--nls-fibo-accent)!important;
  font-weight:600!important;
}
.dgwt-wcas-suggestion .dgwt-wcas-sd{
  margin-top:3px!important;
  color:var(--nls-fibo-faint)!important;
  font-size:11.5px!important;
  line-height:1.35!important;
}

/* Prices stay out of Navneleg autocomplete, regardless of future plugin setting drift. */
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sp,
.dgwt-wcas-suggestions-wrapp .woocommerce-Price-amount{
  display:none!important;
}

/* Group headings */
.dgwt-wcas-suggestion.dgwt-wcas-suggestion-headline,
.dgwt-wcas-suggestion.dgwt-wcas-suggestion-headline-v2{
  min-height:auto!important;
  margin:8px 2px 4px!important;
  padding:8px 8px 5px!important;
  background:transparent!important;
  border-radius:0!important;
  cursor:default!important;
}
.dgwt-wcas-suggestion-headline .dgwt-wcas-st,
.dgwt-wcas-suggestion-headline-v2 .dgwt-wcas-st{
  padding:0!important;
  border:0!important;
  color:var(--nls-fibo-ink)!important;
  font-family:"IBM Plex Serif","Noto Sans",system-ui,sans-serif!important;
  font-size:16px!important;
  font-weight:500!important;
  line-height:1.2!important;
  text-transform:none!important;
}

/* Category suggestions */
.dgwt-wcas-suggestion[data-taxonomy=product_cat]{
  min-height:42px!important;
  padding:8px 10px!important;
}
.dgwt-wcas-suggestion[data-taxonomy=product_cat] .dgwt-wcas-st{
  color:var(--nls-fibo-accent)!important;
  font-size:13px!important;
  font-weight:600!important;
}
.dgwt-wcas-suggestion[data-taxonomy=product_cat] .dgwt-wcas-st::before{
  content:"Kategori";
  display:inline-flex;
  align-items:center;
  min-height:20px;
  margin-right:8px;
  padding:0 7px;
  border-radius:999px;
  background:#eaf1ee;
  color:var(--nls-fibo-accent);
  font-size:9.5px;
  font-weight:600;
  line-height:1;
  vertical-align:1px;
}

/* No results + see-all row */
.dgwt-wcas-suggestion-nores{
  min-height:auto!important;
  padding:16px 12px!important;
  color:var(--nls-fibo-soft)!important;
  font-size:13px!important;
}
.dgwt-wcas-suggestion-more,
.dgwt-wcas-suggestion-more:hover{
  min-height:44px!important;
  margin-top:5px!important;
  padding:0 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  background:var(--nls-fibo-ink)!important;
  color:#fff!important;
  font-family:"Noto Sans",system-ui,sans-serif!important;
  font-size:12.5px!important;
  font-weight:600!important;
  text-align:center!important;
}

/* Navigation Center preview wrappers */
.nls-desktop-preview .nls-desktop-search .dgwt-wcas-search-wrapp{
  width:100%!important;
}
#nls-phone-preview .nls-phone-fibosearch-wrap{
  position:relative;
  width:100%;
  padding-right:34px;
}
#nls-phone-preview .nls-phone-fibosearch-wrap .dgwt-wcas-search-wrapp{
  width:100%!important;
}
#nls-phone-preview .nls-phone-fibosearch-wrap .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{
  height:48px!important;
  line-height:48px!important;
}
#nls-phone-preview .nls-phone-fibosearch-wrap .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit{
  top:7px!important;
}

/* Existing FiboSearch mobile overlay keeps the same visual language until the new header goes live. */
.dgwt-wcas-overlay-mobile .dgwt-wcas-om-bar{
  min-height:60px!important;
  height:60px!important;
  padding:6px 10px!important;
  background:#fff!important;
  border-bottom:1px solid var(--nls-fibo-line)!important;
}
.dgwt-wcas-overlay-mobile .dgwt-wcas-om-return{
  width:42px!important;
  background:transparent!important;
}
.dgwt-wcas-overlay-mobile .dgwt-wcas-om-return svg path{
  fill:var(--nls-fibo-ink)!important;
}
.dgwt-wcas-overlay-mobile-on .dgwt-wcas-suggestions-wrapp{
  top:60px!important;
  height:calc(100% - 60px)!important;
  padding:8px 12px!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

/* Navigation Center wrapper cleanup */
.nls-desktop-preview .nls-desktop-search{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* Keep magnifier position stable while typing */
.dgwt-wcas-style-pirx.dgwt-wcas-search-filled .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{
  padding-left:44px!important;
  padding-right:46px!important;
}
.dgwt-wcas-style-pirx.dgwt-wcas-search-filled .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit{
  left:10px!important;
  right:auto!important;
  pointer-events:none!important;
}


/* FiboSearch desktop details panel */
.dgwt-wcas-details-wrapp{
  margin-top:8px!important;
  padding:0!important;
  border:1px solid var(--nls-fibo-line)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 14px 34px rgba(25,23,19,.10)!important;
  overflow:hidden!important;
  font-family:"Noto Sans",system-ui,sans-serif!important;
}
.dgwt-wcas-details-inner{
  padding:16px!important;
  color:var(--nls-fibo-ink)!important;
}
.dgwt-wcas-datails-title,
.dgwt-wcas-details-title-tax{
  color:var(--nls-fibo-ink)!important;
  font-family:"IBM Plex Serif","Noto Sans",system-ui,sans-serif!important;
  font-size:18px!important;
  font-weight:500!important;
  line-height:1.2!important;
}
.dgwt-wcas-details-wrapp .dgwt-wcas-products-in-cat{
  margin-top:10px!important;
}
.dgwt-wcas-details-more-products{
  min-height:40px!important;
  margin-top:12px!important;
  padding:0 14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:0!important;
  border-radius:999px!important;
  background:var(--nls-fibo-ink)!important;
  color:#fff!important;
  font-family:"Noto Sans",system-ui,sans-serif!important;
  font-size:12px!important;
  font-weight:600!important;
  text-decoration:none!important;
}


/* iOS: prevent focus zoom on mobile search inputs */
@media (max-width:1179px){
  .dgwt-wcas-search-input{
    font-size:16px!important;
  }
  #nls-phone-preview .dgwt-wcas-search-input{
    font-size:16px!important;
  }
}


/* Desktop autocomplete: tighter, cleaner Navneleg layout */
.dgwt-wcas-suggestions-wrapp{
  padding:6px!important;
  border-radius:16px!important;
  box-shadow:0 16px 38px rgba(25,23,19,.11)!important;
  max-height:min(620px,72vh)!important;
  overflow-y:auto!important;
}
.dgwt-wcas-suggestions-wrapp>.dgwt-wcas-suggestion,
.dgwt-wcas-open-pirx .dgwt-wcas-suggestions-wrapp>.dgwt-wcas-suggestion{
  min-height:52px!important;
  padding:7px 8px!important;
  border-radius:10px!important;
}
.dgwt-wcas-suggestions-wrapp>.dgwt-wcas-suggestion+.dgwt-wcas-suggestion{
  margin-top:1px!important;
}
.dgwt-wcas-suggestion-product .dgwt-wcas-si{
  width:44px!important;
  min-width:44px!important;
  height:44px!important;
  margin-right:10px!important;
}
.dgwt-wcas-suggestion-product .dgwt-wcas-si img{
  width:44px!important;
  height:44px!important;
  border-radius:8px!important;
}
.dgwt-wcas-suggestion .dgwt-wcas-st{
  font-size:13px!important;
  line-height:1.28!important;
}
.dgwt-wcas-suggestion .dgwt-wcas-sd{
  margin-top:2px!important;
  font-size:10.5px!important;
}
.dgwt-wcas-suggestion.dgwt-wcas-suggestion-headline,
.dgwt-wcas-suggestion.dgwt-wcas-suggestion-headline-v2{
  margin:6px 2px 2px!important;
  padding:7px 7px 4px!important;
}
.dgwt-wcas-suggestion-headline .dgwt-wcas-st,
.dgwt-wcas-suggestion-headline-v2 .dgwt-wcas-st{
  font-family:"Noto Sans",system-ui,sans-serif!important;
  font-size:11px!important;
  font-weight:700!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
  color:var(--nls-fibo-faint)!important;
}
.dgwt-wcas-suggestion[data-taxonomy=product_cat]{
  min-height:36px!important;
  padding:6px 8px!important;
}
.dgwt-wcas-suggestion[data-taxonomy=product_cat] .dgwt-wcas-st{
  font-size:12.5px!important;
}
.dgwt-wcas-suggestion[data-taxonomy=product_cat] .dgwt-wcas-st::before{
  min-height:18px!important;
  margin-right:7px!important;
  padding:0 6px!important;
  font-size:9px!important;
}
.dgwt-wcas-suggestion-more,
.dgwt-wcas-suggestion-more:hover{
  min-height:38px!important;
  margin-top:4px!important;
  font-size:12px!important;
}
