/* HTML: <div class="ribbon">Your text content</div> */
.ribbon {
 font-size: 28px;
 font-weight: bold;
 color: #fff;
}

.ribbon {
 --r: .8em;
 /* control the cutout */
 z-index: 9;
 position: absolute;
 border-inline: .5em solid #0000;
 padding: .5em .2em calc(var(--r) + .2em);
 clip-path: polygon(0 0, 100% 0, 100% 100%, calc(100% - .5em) calc(100% - var(--r)), 50% 100%, .5em calc(100% - var(--r)), 0 100%);
 background: radial-gradient(50% .2em at top, #0003, #0000) border-box,
  color-mix(in srgb, var(--offerbkcolor) 70%, transparent) padding-box;
 width: fit-content;
}




.speech-bubble-container {
 display: flex;
 gap: 20px;
 flex-wrap: wrap;
 padding: 20px;
 font-family: sans-serif;
}

.speech-bubble {
 position: relative;
 background: lightyellow;
 /* Sfondo giallo chiarissimo */
 border: 3px solid #2F3640;
 /* Bordo antracite scuro per dare contrasto */
 border-radius: 24px;
 padding: 16px 20px;
 color: #2F3640;
 /* Testo in antracite scuro leggibile */
 font-size: 14px;
 font-weight: 500;
 width: 230px;
 margin: 10px 15px;
 display: inline-flex;
 flex-direction: column;
 align-items: center;
 text-align: center;
 gap: 8px;

 /* Ombra netta in grigio whitesmoke */
 box-shadow: 6px 6px 0px 0px whitesmoke;
 box-sizing: border-box;
}

.speech-bubble .icon {
 opacity: 0.9;
 display: inline-block;
 margin-bottom: 2px;
}

.speech-bubble::before {
 content: "";
 position: absolute;
 bottom: -9px;
 left: 35px;
 width: 14px;
 height: 14px;
 background: lightyellow;
 border-right: 3px solid #2F3640;
 border-bottom: 3px solid #2F3640;
 transform: rotate(45deg);
 box-shadow: 6px 6px 0px 0px whitesmoke;
 z-index: 1;
}

.speech-bubble::after {
 content: "";
 position: absolute;
 bottom: 0;
 left: 32px;
 width: 20px;
 height: 5px;
 background: lightyellow;
 z-index: 2;
}





/* Ripristina il bordo con il colore grigio di default di Webix e applica l'arrotondamento */
.fieldset-ricerca fieldset {
    border: 2px solid #e0e0e0 !important; /* Colore grigio standard di Webix */
    border-radius: 10px !important;
    overflow: hidden !important;          /* Taglia gli spigoli dei componenti interni */
    padding: 0 !important;                /* Rimuove i margini interni nativi */
    margin: 0 !important;
    background: #ffffff !important;
}

/* Nasconde completamente la legenda per evitare che tagli la linea superiore */
.fieldset-ricerca-no legend {
    border-bottom: none !important;
}

/* Nasconde completamente la legenda per evitare che tagli la linea superiore */
.fieldset-ricerca legend {
    display: none !important;
    border-bottom: none !important;
}

/* Rimuove il bordo nativo dell'input di ricerca per non fare doppio bordo */
.fieldset-ricerca .webix_el_search .webix_el_box {
    border: none !important;
    background: transparent !important;
}

/* Pulisce lo sfondo e i bordi delle icone */
.fieldset-ricerca .webix_el_icon, 
.fieldset-ricerca .webix_el_icon button {
    background: transparent !important;
    border: none !important;
}





/* Classe che blocca lo sfondo su mobile */
.blocco-scorrimento {
 overflow: hidden !important;
 position: fixed !important;
 width: 100% !important;
 height: 100% !important;
}

#bc-reader video,
#bc-reader canvas {
 width: 100% !important;
 height: auto !important;
 object-fit: contain !important;
 /* Mantiene le proporzioni geometriche reali del mirino */
}

#scanner-overlay {
 position: fixed;
 top: 0;
 left: 0;
 width: 100vw;
 height: 100dvh;
 background: rgba(10, 15, 30, 0.98);
 z-index: 99999;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 box-sizing: border-box;
 padding: 20px;
 gap: 15px;
}

#bc-reader {
 width: 100%;
 max-width: 400px;
 max-height: 50vh;
 border-radius: 8px;
 overflow: hidden;
}

.scanner-title {
 color: white;
 text-align: center;
 font-family: sans-serif;
 font-size: 14px;
 letter-spacing: 1px;
 text-transform: uppercase;
}

.scanner-btn-annulla {
 padding: 12px 50px;
 background: #dc3545;
 color: white;
 border: none;
 border-radius: 25px;
 font-size: 15px;
 font-weight: bold;
 letter-spacing: 1px;
 text-transform: uppercase;
 cursor: pointer;
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

@media (orientation: landscape) {
 #scanner-overlay {
  flex-direction: column !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 5px !important;
 }

 .scanner-title {
  margin-top: 2px !important;
  font-size: 11px !important;
 }

 #bc-reader {
  max-width: 280px !important;
 }

 #bc-reader video,
 #bc-reader canvas {
  max-height: 40vh !important;
 }

 .scanner-btn-annulla {
  padding: 6px 35px !important;
  font-size: 12px !important;
  margin-bottom: 2px !important;
 }
}






.asagiSabit {
 position: fixed;
 bottom: 5px;
 right: 5px;
 z-index: 999999999999;
}

.whatsappBlock a {
 display: inline-block;
 height: 30px;
 background: #65BC54;
 padding: 5px 10px;
 color: #fff !important;
 font-weight: bold;
}

.whatsappBlock a img {
 height: 100%;
 width: auto;
}

img {
 vertical-align: middle;
}

.categorie {
 width: 100%;
 height: 100%;
}

.brand {
 margin-top: 10px;
 width: 100%;
 height: 100%;
}

.label {
 width: 100%;
 height: 100%;
 border-radius: var(--mainbradius);
 background: var(--mainbkcolor);
 color: var(--maintxcolor) !important;
}

.menu {
 margin-bottom: 10px;
 width: 100%;
 height: 100%;
}

.menu2 {
 background: var(--menufillcolor);
 margin-bottom: 10px;
 z-index: 99;
 width: 100%;
 height: 100%;
 margin-top: 5px;
}

.header {
 padding-bottom: 15px;
}

.pager {
 width: 100%;
 height: 100%;
 text-align: center;
}

.labcatse {
 width: 100%;
 height: 100%;
 background: var(--menubkcolor);
}



.content {
 height: 1000px;
}

.bannerimage {
 max-width: 100%;
}

/*
.image {
 display: flex;
 text-align: center;
 justify-content: center;
 align-content: center;
 flex-wrap: wrap;
 align-items: center;
}
*/
.image .webix_template {
 position: relative;
 padding: unset;
 display: flex;
 align-items: center;
 justify-content: center;
 /*background: var(--mainbkcolor);*/
}

.zz {
 z-index: 99999999 !important;
}

.zom1 {
 display: flex;
 align-items: center;
 justify-content: left;
}

.zom {
 display: flex;
 align-items: center;
 justify-content: center;
}

.zomb {
 filter: drop-shadow(1px 2px 1px gray);
 display: flex;
 align-items: center;
 justify-content: center;
 background: var(--menubtcolor);
}

.zom0 {
 text-align: center;
 float: left;
 position: relative;
 left: 50%;
 top: 50%;
 -webkit-transform: translate(-50%, -50%);
 transform: translate(-50%, -50%);
 line-height: 1.2 !important;
}


.f-1 {
 width: 100%;
}

.f-2 {
 width: 100%;

}


/*
.spot-1 img {
 vertical-align: middle;
 width: 100%;
 aspect-ratio: 3 / 2;
 object-fit: cover;
}
 */

.spot-1 .fa {
 font-size: 35px;
 color: #deb42e;
}

.spot-1 {
 border-top: 1px solid #e5e5e5;
 text-align: center;
 padding: 15px 15px 15px 15px;
}

.spot-1 a {
 display: block;
 font-size: 1.125rem;
 margin-top: 0px;
 color: inherit;
 line-height: 4.1em;
}


.feature {
 padding: 2px 2px 2px 2px;
 margin-top: 5px;
 color: var(--maintxcolor);
 box-shadow: 1px 0px 2px #888888;
 background: var(--mainbkcolor);
 border-radius: var(--mainbradius) !important;
 font-size: large
}


.feature-1 .fa {
 font-size: 35px;
 color: var(--mainbkcolor);
 margin-top: 6px;
}

.feature-1 {
 border-radius: 25px !important
}

/*
.feature-1 {
 background: whitesmoke; 
 border-top: 1px solid #e5e5e5;
}
*/

.feature-1 a {
 display: block;
 font-size: 1.125rem;
 margin-top: 0px;
 color: inherit;
 line-height: 4.1em;
}


.banner {
 margin-top: 10px;
 margin-bottom: 10px;
}


.disponibile {
 margin-top: 5px;
 display: flex;
 justify-content: center;
 border-radius: 7px;
 color: white;
 padding: 4px 9px 6px 9px;
 box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
}




.flyout {
 display: flex;
 flex-direction: row;
 flex-wrap: wrap;
 width: 100%;
}

.flyout li:first-child {
 font-size: small;
}

.flyout li:not(:first-child) {
 font-size: smaller;
}




.avat.webix_list-x .webix_list_item {
 text-align: center;
 border-right: 0;
}

/*
.avat.webix_list-x{
 overflow-x: auto !important;
}
*/
.avatar {
 margin: 5px;
 display: inline-block;
 vertical-align: middle;
 position: relative;
 background: var(--mainbkcolor);
 color: var(--maintxcolor);
 border-radius: 50%;
 height: 60%;
 width: 80%;
}

.avatar__line {
 text-align: center;
 font-size: smaller;
 font-weight: bold;
 color: black;
 line-height: normal;
 white-space: break-spaces;
}

.avatar__letters {
 left: 50%;
 position: absolute;
 top: 50%;
 transform: translate(-50%, -50%);
 text-transform: uppercase;
}

.column10 {
 float: left;
 width: 10%;
}

.column20 {
 float: left;
 width: 20%;
}

.column15 {
 float: left;
 width: 15%;
}

.column30 {
 float: left;
 width: 30%;
}

.column40 {
 float: left;
 width: 40%;
}

.column70 {
 float: left;
 width: 70%;
 padding: 5px;
}


.row:after {
 content: "";
 display: table;
 clear: both;
}

@media screen and (max-width: 600px) {

 .column15,
 .column20,
 .column70,
 .column30 {
  width: 100%;
 }
}










.swiper {
 width: 100%;
 height: 100%;
}

.swiper-slide {
 text-align: center;
 font-size: 18px;
 background: #fff;
 display: flex;
 justify-content: center;
 align-items: center;
}


/* GO TO APP MODAL */
.go-to-app-modal {
 top: 0 !important;
 left: 0 !important;
 width: 100dvw !important;
 height: 100dvh !important;
 border-width: 0 !important;
 z-index: 9999999999999 !important;
 overflow-y: scroll !important;
}

.go-to-app-modal .webix_win_content {
 min-height: 100% !important;
 display: flex;
 flex-direction: column;
 justify-content: flex-end;
}

.go-to-app-modal .webix_win_head {
 border-bottom: unset;
}

.go-to-app-modal .webix_win_body {
 width: 100dvw !important;
 flex-grow: 1;
 display: flex;
 flex-direction: column;
 justify-content: flex-end;
}

.go-to-app-modal .webix_win_body>.webix_layout_line {
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: flex-end;
 gap: .8rem;
 padding: 2rem;
 padding-bottom: 4rem;
 box-sizing: border-box !important;
 width: 100dvw !important;
 height: fit-content !important;
 min-height: 100% !important;
 flex-grow: 1;
}

.go-to-app-modal .webix_win_body>.webix_layout_line .webix_el_button {
 width: 100% !important;
 max-width: 600px;
 margin: 0 auto !important;
 box-sizing: border-box;
 height: fit-content !important;
}

.go-to-app-modal .webix_win_body>.webix_layout_line .webix_el_button .webix_el_box {
 width: unset !important;
 height: fit-content !important;
}

.go-to-app-modal .webix_win_body>.webix_layout_line .webix_el_button .webix_el_box button {
 all: unset;
 font-family: inherit;
 border-radius: 5px;
 background-color: var(--mainbkcolor);
 width: 100%;
 height: 100%;
 color: #fff;
 font-size: 1.125rem;
 font-weight: bold;
 text-transform: uppercase;
 text-align: center;
 cursor: pointer;
 padding: .8rem;
 box-sizing: border-box;
 box-shadow: rgba(14, 30, 37, 0.12) 0px 1px 2px 0px, rgba(14, 30, 37, 0.32) 0px 1px 6px 0px;
}

.go-to-app-modal .webix_win_body>.webix_layout_line .webix_el_button:last-child .webix_el_box button {
 background-color: transparent;
 color: var(--mainbkcolor);
 border: 2px solid var(--mainbkcolor);
}

.go-to-app-modal .webix_win_body .go-to-app-modal-logo {
 flex-grow: 1;
}

.go-to-app-modal .webix_win_body .go-to-app-modal-logo img {
 max-width: min(100%, 460px) !important;
 padding: 0 32px !important;
 object-fit: contain;
 box-sizing: border-box;
}

.go-to-app-modal .webix_win_body .go-to-app-modal-logo .webix_template {
 display: flex;
 justify-content: center;
}








/* Effetto quando la registrazione vocale è attiva */
.mic_ascolto_attivo .webix_icon {
 color: #de3545 !important;
 animation: pulseMic 1.5s infinite;
}

@keyframes pulseMic {
 0% {
  opacity: 1;
 }

 50% {
  opacity: 0.4;
 }

 100% {
  opacity: 1;
 }
}