.elementor-16135 .elementor-element.elementor-element-36d63239{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--align-items:stretch;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--flex-wrap:wrap;border-style:none;--border-style:none;--border-radius:0px 0px 0px 0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-16135 .elementor-element.elementor-element-36d63239.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-16135 .elementor-element.elementor-element-9f21919{--display:flex;--align-items:flex-start;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );border-style:solid;--border-style:solid;border-width:0px 0px 1px 0px;--border-top-width:0px;--border-right-width:0px;--border-bottom-width:1px;--border-left-width:0px;border-color:#EEEEEE;--border-color:#EEEEEE;}.elementor-16135 .elementor-element.elementor-element-e50c782{width:100%;max-width:100%;}#elementor-popup-modal-16135 .dialog-widget-content{animation-duration:0.2s;}#elementor-popup-modal-16135{background-color:#000000B3;justify-content:flex-end;align-items:center;pointer-events:all;}#elementor-popup-modal-16135 .dialog-message{width:550px;height:100vh;align-items:flex-start;}#elementor-popup-modal-16135 .dialog-close-button{display:flex;top:2%;font-size:14px;}body:not(.rtl) #elementor-popup-modal-16135 .dialog-close-button{right:2%;}body.rtl #elementor-popup-modal-16135 .dialog-close-button{left:2%;}#elementor-popup-modal-16135 .dialog-close-button i{color:#000000;}#elementor-popup-modal-16135 .dialog-close-button svg{fill:#000000;}@media(min-width:768px){.elementor-16135 .elementor-element.elementor-element-36d63239{--width:99.812%;}}@media(max-width:1024px){#elementor-popup-modal-16135 .dialog-message{width:500px;}#elementor-popup-modal-16135{justify-content:flex-start;}}@media(max-width:767px){#elementor-popup-modal-16135 .dialog-message{width:280px;}#elementor-popup-modal-16135 .dialog-close-button{top:1%;font-size:14px;}body:not(.rtl) #elementor-popup-modal-16135 .dialog-close-button{right:2%;}body.rtl #elementor-popup-modal-16135 .dialog-close-button{left:2%;}}/* Start custom CSS for shortcode, class: .elementor-element-e50c782 *//* 1) Search input font: Inter @ 12px (Pirx style) */
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input{
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  font-size: 12px !important;
}

/* 2) Remove borders from suggestion thumbnails */
.dgwt-wcas-suggestion span.dgwt-wcas-si,
.dgwt-wcas-suggestion span.dgwt-wcas-si img{
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* 3) Results as a 2×4 grid (8 products) */
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestions,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-list,
.dgwt-wcas-suggestions-wrapp ul{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 14px !important;
}

/* (Optional but sensible) 1 column on small screens */
@media (max-width: 640px){
  .dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestions,
  .dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-list,
  .dgwt-wcas-suggestions-wrapp ul{
    grid-template-columns: 1fr !important;
  }
}

/* 4) Vertical card layout per product: thumb → title → price */
.dgwt-wcas-suggestion{ 
  display: block !important;
  border: 0 !important;
}
.dgwt-wcas-suggestion > a{ 
  display: block !important; 
}
.dgwt-wcas-suggestion span.dgwt-wcas-si{
  display: block !important;
  width: 100% !important;
  margin: 0 0 6px !important;
}
.dgwt-wcas-suggestion span.dgwt-wcas-si img{
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Title then price stacked */
.dgwt-wcas-suggestion .dgwt-wcas-st-title,
.dgwt-wcas-suggestion .dgwt-wcas-sp{
  display: block !important;
  margin: 0 !important;
  line-height: 1.35;
}
.dgwt-wcas-suggestion .dgwt-wcas-sp{
  margin-top: 4px !important;
}
/* FORCE 2 COLUMNS (desktop) */
.dgwt-wcas-style-pirx .dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestions,
.dgwt-wcas-style-pirx .dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-list{
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  grid-auto-rows: auto !important;
  gap: 16px !important;
  grid-auto-flow: row dense !important;
}

/* Make the dropdown wide enough to actually fit 2 columns */
@media (min-width: 768px){
  .dgwt-wcas-style-pirx .dgwt-wcas-suggestions-wrapp{
    min-width: 640px !important; /* bump to 700–760px if still narrow */
  }
}

/* Ensure each item behaves like a card (no full-width row spans) */
.dgwt-wcas-style-pirx .dgwt-wcas-suggestion{
  grid-column: auto !important;
  width: auto !important;
  display: block !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* STACK: thumb -> title -> price */
.dgwt-wcas-style-pirx .dgwt-wcas-suggestion .dgwt-wcas-st{ 
  display: block !important; 
}
.dgwt-wcas-style-pirx .dgwt-wcas-suggestion .dgwt-wcas-st-title{
  display: block !important;
  margin: 6px 0 0 !important;
  line-height: 1.35 !important;
}
.dgwt-wcas-style-pirx .dgwt-wcas-suggestion .dgwt-wcas-sp{
  display: block !important;
  float: none !important;          /* kills default right float */
  position: static !important;      /* kills absolute/right align variants */
  clear: both !important;
  margin: 4px 0 0 !important;
  text-align: left !important;
  width: 100% !important;
}

/* Thumbnail on top, full width */
.dgwt-wcas-style-pirx .dgwt-wcas-suggestion span.dgwt-wcas-si{
  display: block !important;
  margin: 0 0 6px !important;
}
.dgwt-wcas-style-pirx .dgwt-wcas-suggestion span.dgwt-wcas-si img{
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  border: 0 !important;             /* removes any image border */
}

/* REMOVE HOVER OVERLAY / EFFECTS COMPLETELY */
.dgwt-wcas-style-pirx .dgwt-wcas-suggestion a::before,
.dgwt-wcas-style-pirx .dgwt-wcas-suggestion a::after{
  content: none !important;
  display: none !important;
  opacity: 0 !important;
}
.dgwt-wcas-style-pirx .dgwt-wcas-suggestion a:hover,
.dgwt-wcas-style-pirx .dgwt-wcas-suggestion:hover{
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Keep normal link cursor */
.dgwt-wcas-style-pirx .dgwt-wcas-suggestion a{ cursor: pointer !important; }

/* Mobile: 1 column for readability */
@media (max-width: 640px){
  .dgwt-wcas-style-pirx .dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestions,
  .dgwt-wcas-style-pirx .dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-list{
    grid-template-columns: 1fr !important;
  }
}
/*******************
 HARD OVERRIDES (Pirx)
********************/

/* 1) Make the dropdown wide enough for 2 cols (desktop only) */
@media (min-width: 768px){
  .dgwt-wcas-suggestions-wrapp{
    width: 760px !important;
    max-width: 90vw !important;
  }
}

/* 2) Force the suggestions list into 2 columns */
.dgwt-wcas-suggestions-wrapp ul.dgwt-wcas-suggestions,
.dgwt-wcas-suggestions-wrapp ul.dgwt-wcas-suggestion-list,
.dgwt-wcas-suggestions,
.dgwt-wcas-suggestion-list{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

/* 3) Ensure each item behaves like a card in the grid */
.dgwt-wcas-suggestion{
  width: auto !important;
  grid-column: auto !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* 4) Stack content INSIDE each item: thumb -> title -> price */
.dgwt-wcas-suggestion > a{
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-auto-rows: max-content !important;
  align-items: start !important;
  gap: 6px !important;
}

/* thumbnail on top */
.dgwt-wcas-suggestion span.dgwt-wcas-si{
  order: 1 !important;
  display: block !important;
  margin: 0 !important;
}
.dgwt-wcas-suggestion span.dgwt-wcas-si img{
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  border: 0 !important;
}

/* title underneath */
.dgwt-wcas-suggestion .dgwt-wcas-st-title{
  order: 2 !important;
  display: block !important;
  margin: 0 !important;
  line-height: 1.35 !important;
}

/* PRICE UNDER THE TITLE (kill right placement rules) */
.dgwt-wcas-suggestion .dgwt-wcas-sp{
  order: 3 !important;
  display: block !important;
  float: none !important;
  position: static !important;
  clear: both !important;
  width: 100% !important;
  margin: 2px 0 0 !important;
  text-align: left !important;
}

/* 5) Remove ALL hover overlays/effects (Pirx adds pseudos) */
.dgwt-wcas-suggestion a::before,
.dgwt-wcas-suggestion a::after,
.dgwt-wcas-suggestion .dgwt-wcas-si::before,
.dgwt-wcas-suggestion .dgwt-wcas-si::after{
  content: none !important;
  display: none !important;
  opacity: 0 !important;
}
.dgwt-wcas-suggestion:hover,
.dgwt-wcas-suggestion a:hover{
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
}

/* keep normal link cursor */
.dgwt-wcas-suggestion a{ cursor: pointer !important; }

/* 6) Mobile: keep it 1 column */
@media (max-width: 640px){
  .dgwt-wcas-suggestions-wrapp ul.dgwt-wcas-suggestions,
  .dgwt-wcas-suggestions-wrapp ul.dgwt-wcas-suggestion-list,
  .dgwt-wcas-suggestions,
  .dgwt-wcas-suggestion-list{
    grid-template-columns: 1fr !important;
  }
}
/* === FINAL OVERRIDES === */

/* A) Force the list into 2 columns using flex-wrap (most bulletproof) */
.dgwt-wcas-style-pirx .dgwt-wcas-suggestions,
.dgwt-wcas-style-pirx .dgwt-wcas-suggestion-list,
.dgwt-wcas-style-pirx .dgwt-wcas-suggestions-wrapp ul{
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  margin: 0 -8px !important;     /* gutters */
}

/* Each suggestion = half width on desktop */
.dgwt-wcas-style-pirx .dgwt-wcas-suggestion{
  flex: 0 0 50% !important;      /* two columns */
  max-width: 50% !important;
  padding: 0 8px 16px !important; /* gutters + row gap */
  box-sizing: border-box !important;
}

/* (Mobile: keep 1 column) */
@media (max-width: 640px){
  .dgwt-wcas-style-pirx .dgwt-wcas-suggestion{
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 0 14px !important;
  }
}

/* B) Stack content: thumb -> title -> price (kill any right-side placement) */
.dgwt-wcas-style-pirx .dgwt-wcas-suggestion > a{
  display: block !important;     /* stop any flex row inside the item */
}

/* Title block */
.dgwt-wcas-style-pirx .dgwt-wcas-suggestion .dgwt-wcas-st,
.dgwt-wcas-style-pirx .dgwt-wcas-suggestion .dgwt-wcas-st-title{
  display: block !important;
  float: none !important;
  margin: 6px 0 0 !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

/* Price under the title – cover both FiboSearch and Woo price markup */
.dgwt-wcas-style-pirx .dgwt-wcas-suggestion .dgwt-wcas-sp,
.dgwt-wcas-style-pirx .dgwt-wcas-suggestion .price{
  display: block !important;
  float: none !important;
  position: static !important;
  clear: both !important;
  width: 100% !important;
  margin: 4px 0 0 !important;
  text-align: left !important;
}/* End custom CSS */