.elementor-1657 .elementor-element.elementor-element-4a835a3{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--padding-top:15px;--padding-bottom:15px;--padding-left:15px;--padding-right:15px;}.elementor-1657 .elementor-element.elementor-element-4a835a3.e-con{--align-self:center;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-1657 .elementor-element.elementor-element-154fbcd .elementor-heading-title{font-family:"PT Serif", Sans-serif;font-size:28px;font-weight:600;color:var( --e-global-color-fb10511 );}#elementor-popup-modal-1657 .dialog-widget-content{animation-duration:1.2s;background-color:#000000BF;box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}#elementor-popup-modal-1657{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-1657 .dialog-message{width:100em;height:100vh;align-items:flex-start;padding:150px 0px 0px 0px;}#elementor-popup-modal-1657 .dialog-close-button{display:flex;top:3%;font-size:16px;}body:not(.rtl) #elementor-popup-modal-1657 .dialog-close-button{right:3%;}body.rtl #elementor-popup-modal-1657 .dialog-close-button{left:3%;}#elementor-popup-modal-1657 .dialog-close-button i{color:var( --e-global-color-fb10511 );}#elementor-popup-modal-1657 .dialog-close-button svg{fill:var( --e-global-color-fb10511 );}@media(min-width:801px){.elementor-1657 .elementor-element.elementor-element-4a835a3{--content-width:1400px;}}/* Start custom CSS *//* =========================================================
   POPUP RICERCA PRODOTTI - GASTRONOMIA VIALE
   ========================================================= */

/* Overlay popup leggero e trasparente */
.elementor-popup-modal {
  background-color: rgba(0, 0, 0, 0.52) !important;
}

/* Contenuto popup senza box/sfondo rigido */
.elementor-popup-modal .dialog-widget-content {
  background: transparent !important;
  box-shadow: none !important;
}

/* Evita spazi indesiderati nel popup */
.elementor-popup-modal .dialog-message {
  overflow: visible !important;
}

/* Contenitore interno del popup */
.popup-search-shop {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Titolo popup */
.popup-search-shop h2,
.popup-search-shop .elementor-heading-title {
  color: #ffffff !important;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin-bottom: 26px !important;
  text-align: center;
}

/* Wrapper FiboSearch */
.popup-search-shop .dgwt-wcas-search-wrapp {
  width: 100% !important;
  max-width: 560px !important;
  margin: 0 auto !important;
  min-width: 0 !important;
}

/* Form FiboSearch */
.popup-search-shop .dgwt-wcas-search-form {
  position: relative !important;
  width: 100% !important;
  display: block !important;
}

/* Campo ricerca */
.popup-search-shop .dgwt-wcas-search-input {
  width: 100% !important;
  height: 64px !important;
  min-height: 64px !important;
  line-height: 64px !important;

  border-radius: 12px !important;
  border: 2px solid #ffffff !important;

  background: rgba(255, 255, 255, 0.96) !important;
  color: #222222 !important;

  font-size: 18px !important;
  font-weight: 400 !important;

  padding: 0 82px 0 24px !important;

  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25) !important;
  outline: none !important;
}

/* Placeholder campo ricerca */
.popup-search-shop .dgwt-wcas-search-input::placeholder {
  color: #777777 !important;
  opacity: 1 !important;
}

/* Pulsante lente */
.popup-search-shop .dgwt-wcas-search-submit {
  position: absolute !important;
  right: 8px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;

  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 !important;
  margin: 0 !important;

  border: none !important;
  border-radius: 9px !important;

  background: #7a1235 !important;
  color: #ffffff !important;

  cursor: pointer !important;
  box-shadow: none !important;
}

/* Rimuove eventuali elementi grafici aggiunti dal plugin */
.popup-search-shop .dgwt-wcas-search-submit::before,
.popup-search-shop .dgwt-wcas-search-submit::after {
  display: none !important;
  content: none !important;
}

/* Icona lente */
.popup-search-shop .dgwt-wcas-search-submit svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  margin: 0 !important;
}

.popup-search-shop .dgwt-wcas-search-submit svg path {
  fill: #ffffff !important;
}

/* Hover pulsante lente */
.popup-search-shop .dgwt-wcas-search-submit:hover {
  background: #5f0d29 !important;
}

/* =========================================================
   RISULTATI LIVE FIBOSEARCH
   ========================================================= */

/* Dropdown risultati live */
.dgwt-wcas-suggestions-wrapp {
  width: 100% !important;
  max-width: 560px !important;

  border-radius: 12px !important;
  overflow: hidden !important;

  border: none !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28) !important;

  z-index: 999999 !important;
}

/* Singolo risultato */
.dgwt-wcas-suggestion {
  padding: 12px 16px !important;
  background: #ffffff !important;
}

/* Hover singolo risultato */
.dgwt-wcas-suggestion:hover {
  background: #f7f3f4 !important;
}

/* Immagine prodotto nei risultati */
.dgwt-wcas-si {
  border-radius: 6px !important;
  overflow: hidden !important;
}

/* Titolo prodotto */
.dgwt-wcas-st-title {
  color: #222222 !important;
  font-weight: 600 !important;
  font-size: 15px !important;
}

/* Prezzo prodotto */
.dgwt-wcas-st .woocommerce-Price-amount,
.dgwt-wcas-sp {
  color: #7a1235 !important;
  font-weight: 700 !important;
}

/* Testi secondari risultati */
.dgwt-wcas-st-desc,
.dgwt-wcas-sku {
  color: #666666 !important;
}

/* Bottone "vedi tutti i risultati" se presente */
.dgwt-wcas-suggestion-more {
  background: #7a1235 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-align: center !important;
}

.dgwt-wcas-suggestion-more:hover {
  background: #5f0d29 !important;
}

/* =========================================================
   ICONA LENTE HEADER / MENU MOBILE
   ========================================================= */

/* Classe opzionale da dare alle icone lente che aprono il popup */
.gv-search-icon,
.gv-search-icon a,
.gv-search-icon .elementor-icon {
  cursor: pointer;
}

/* Icona lente desktop/mobile */
.gv-search-icon .elementor-icon {
  color: #7a1235 !important;
  fill: #7a1235 !important;
  transition: color 0.25s ease, fill 0.25s ease, transform 0.25s ease;
}

.gv-search-icon .elementor-icon svg,
.gv-search-icon .elementor-icon svg path {
  fill: #7a1235 !important;
}

/* Hover icona lente */
.gv-search-icon:hover .elementor-icon {
  color: #5f0d29 !important;
  fill: #5f0d29 !important;
  transform: scale(1.05);
}

.gv-search-icon:hover .elementor-icon svg,
.gv-search-icon:hover .elementor-icon svg path {
  fill: #5f0d29 !important;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

  /* Overlay leggermente più scuro su mobile */
  .elementor-popup-modal {
    background-color: rgba(0, 0, 0, 0.55) !important;
  }

  /* Contenitore popup */
  .popup-search-shop {
    width: 90%;
    max-width: 90%;
  }

  /* Titolo popup */
  .popup-search-shop h2,
  .popup-search-shop .elementor-heading-title {
    font-size: 28px !important;
    margin-bottom: 22px !important;
  }

  /* Wrapper ricerca */
  .popup-search-shop .dgwt-wcas-search-wrapp {
    max-width: 100% !important;
  }

  /* Campo ricerca mobile */
  .popup-search-shop .dgwt-wcas-search-input {
    height: 58px !important;
    min-height: 58px !important;
    line-height: 58px !important;
    font-size: 16px !important;
    padding: 0 72px 0 18px !important;
    border-radius: 10px !important;
  }

  /* Pulsante lente mobile */
  .popup-search-shop .dgwt-wcas-search-submit {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    right: 6px !important;
    border-radius: 8px !important;
  }

  /* Icona lente mobile */
  .popup-search-shop .dgwt-wcas-search-submit svg {
    width: 20px !important;
    height: 20px !important;
  }

  /* Dropdown risultati mobile */
  .dgwt-wcas-suggestions-wrapp {
    max-width: 90vw !important;
    border-radius: 10px !important;
  }

  .dgwt-wcas-suggestion {
    padding: 10px 12px !important;
  }
}

/* Fix definitivo centratura icona lente FiboSearch */
.popup-search-shop .dgwt-wcas-search-submit {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  font-size: 0 !important;
  text-align: center !important;
}

/* Wrapper interno icona */
.popup-search-shop .dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier,
.popup-search-shop .dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier-handler {
  position: static !important;
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

/* SVG lente */
.popup-search-shop .dgwt-wcas-search-submit svg,
.popup-search-shop .dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier svg {
  position: static !important;
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  transform: none !important;
}

/* Path SVG */
.popup-search-shop .dgwt-wcas-search-submit svg path {
  fill: #ffffff !important;
}

/* Nasconde eventuale label testuale invisibile */
.popup-search-shop .dgwt-wcas-search-submit span:not(.dgwt-wcas-ico-magnifier):not(.dgwt-wcas-ico-magnifier-handler) {
  display: none !important;
}/* End custom CSS */