/*
- VARIABILI
- GENERAL
- FONTS
- STILI CUSTOM
    - SLIDER
    - BUTTONS
    - SVG
    - LEGGI TUTTO
    - ACCORDION
    - LINK COVER
    - TABELLA
- HEADER
    - HAMBURGER
    - SUB MENU
    - OVERLAY
    - BTN
    - VOCI e ICONE
- PRELOADER

- SERVIZI
    - LOOP
- ZONE
    - LOOP

- FOOTER
    - FORM
    - MENU

- ARTICOLI
    - ARTICOLI CORRELATI
    - LOOP BLOG
    - TOC

- OFFERTE
    - PRODOTTI

- CATALOGHI

- FIX WP 7.1

*/


/** -------------------------------------------------------------------------------- */
/* // ! VARIABILI */
/** -------------------------------------------------------------------------------- */
:root{
    --transition: all 0.25s;
    --transition-cubic: all 0.5s cubic-bezier(0.59, 0.03, 0.2, 1);
    --line-1: 1;
    --line-1-1: 1.1;
    --letter-minus-3: -3%;
    --letter-2: 2%;

    --ease-in-power1: cubic-bezier(.55,.085,.68,.53);
    --ease-out-power1: cubic-bezier(.25,.46,.45,.94);
    --ease-in-out-power1: cubic-bezier(.455,.03,.515,.955);
    --ease-in-power2: cubic-bezier(.55,.055,.675,.19);
    --ease-out-power2: cubic-bezier(.215,.61,.355,1);
    --ease-in-out-power2: cubic-bezier(.645,.045,.355,1);
    --ease-in-power3: cubic-bezier(.895,.03,.685,.22);
    --ease-out-power3: cubic-bezier(.165,.84,.44,1);
    --ease-in-out-power3: cubic-bezier(.77,0,.175,1);
    --ease-in-power4: cubic-bezier(.755,.05,.855,.06);
    --ease-out-power4: cubic-bezier(.23,1,.32,1);
    --ease-in-out-power4: cubic-bezier(.86,0,.07,1);
    --ease-in-circ: cubic-bezier(.6,.04,.98,.335);
    --ease-out-circ: cubic-bezier(.075,.82,.165,1);
    --ease-in-out-circ: cubic-bezier(.785,.135,.15,.86);
    --ease-in-expo: cubic-bezier(.95,.05,.795,.035);
    --ease-out-expo: cubic-bezier(.19,1,.22,1);
    --ease-in-out-expo: cubic-bezier(1,0,0,1);
    --ease-in-sine: cubic-bezier(.47,0,.745,.715);
    --ease-out-sine: cubic-bezier(.39,.575,.565,1);
    --ease-in-out-sine: cubic-bezier(.445,.05,.55,.95);
    --ease-in-back: cubic-bezier(.6,-.28,.735,.045);
    --ease-out-back: cubic-bezier(.175,.885,.32,1.275);
    --ease-in-out-back: cubic-bezier(.68,-.55,.265,1.55);
    --ease-bounce: cubic-bezier(.47,1.64,.41,.8);
    --ease-out-bounce: cubic-bezier(.17,.67,.3,1.33);
    --ease-out: cubic-bezier(.37,.31,0,1);
    --ease-out-swift: cubic-bezier(.55,0,.1,1);
    --ease-smooth-out: cubic-bezier(.4,0,0,1);
    --ease-smooth-in-out: cubic-bezier(.75,0,.25,1);
    --ease-out-gentle: cubic-bezier(.17,1.38,.35,.96);
    --ease-in-out-soft: cubic-bezier(.4,.15,0,1);
    --hop: cubic-bezier(0.625, 0.05, 0, 1);
}
  
  
  
/** -------------------------------------------------------------------------------- */
/* // ! GENERAL */
/** -------------------------------------------------------------------------------- */



/** -------------------------------------------------------------------------------- */
/* // ! FONTS */
/** -------------------------------------------------------------------------------- */

.has-titolo-grande-font-size,
.has-paragrafo-grande-font-size,
.has-paragrafo-medio-font-size,
.has-titolo-sezione-font-size,
.has-titolo-medio-font-size,
.has-titolo-piccolo-font-size,
.has-sottotitolo-font-size,
.has-pretitolo-font-size{
  letter-spacing: var(--letter-minus-3);
}

.has-titolo-sezione-font-size,
.has-paragrafo-grande-font-size,
.has-paragrafo-medio-font-size{
  line-height: var(--line-1-1);
}

.has-paragrafo-grande-font-size{
  font-weight: 300;
}


.has-titolo-grande-font-size{
  line-height: var(--line-1);
}
  
.has-menu-header-font-size,
.has-titolo-grande-font-size,
.has-titolo-sezione-font-size{
  font-weight: 600;
}

.has-titolo-xs-font-size,
.wp-block-heading.has-paragrafo-font-size{
  font-weight: 500;
}


/* grad text */
.is-style-grad-text mark {
  background: linear-gradient(90deg, #FFC101 0%, #F1470F 50%, #E84E18 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}


.wp-block-heading a:hover{
  color: currentColor;
}


  
/** -------------------------------------------------------------------------------- */
/* // ! STILI CUSTOM */
/** -------------------------------------------------------------------------------- */  
/*? -------------------------------------------------------------------------------- */
/*? SLIDER */
/*? -------------------------------------------------------------------------------- */
/* bullets */
.container-paginazione-slider{
  height: 40px;
}
.swiper-pagination-bullet{
  background: currentColor !important;
}
  
/* freccie */
.swiper-button-next:after,
.swiper-button-prev:after{
  display: none;
}
.swiper-button-next .material-symbols-outlined,
.swiper-button-prev .material-symbols-outlined{
  color: var(--wp--preset--color--custom-nero);
  font-size: 40px;
}

/* freccie bianche */
.wp-block-query.is-style-freccie-bianche .material-symbols-outlined{
  color: var(--wp--preset--color--custom-bianco) !important;
}
  
.is-style-freccie-down-left .container-freccie-slider{
  margin-top: 20px;
  height: 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
}


/* overflow hidden */
.wp-block-create-block-ggwd-block-gutenberg-slider .swiper{
  overflow: hidden;
}






/*? -------------------------------------------------------------------------------- */
/*? BUTTONS */
/*? -------------------------------------------------------------------------------- */
.wp-block-button__link:hover{
  color: var(--wp--preset--color--custom-bianco);
  background-color: var(--wp--preset--color--custom-nero) !important;
  border-top-color: var(--wp--preset--color--custom-nero) !important;
  border-left-color: var(--wp--preset--color--custom-nero) !important;
  border-right-color: var(--wp--preset--color--custom-nero) !important;
  border-bottom-color: var(--wp--preset--color--custom-nero) !important;
}

/* outline */
.wp-block-button.is-style-outline .wp-block-button__link:hover{
  color: var(--wp--preset--color--custom-bianco);
  background-color: var(--wp--preset--color--custom-nero) !important;
}

.header__btn_telefono .wp-block-button__link{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
}
.header__btn_telefono .wp-block-button__link span{
  font-size: 20px;
  font-variation-settings: 'FILL' 1;
}



/* bianco */
.is-style-btn-bianco-tel a{
  background-color: var(--wp--preset--color--custom-bianco);
  border: 1px solid var(--wp--preset--color--custom-bianco);
  color: var(--wp--preset--color--custom-nero);
}



/* nero */
.is-style-btn-nero a{
  background-color: var(--wp--preset--color--custom-nero);
  border: 1px solid var(--wp--preset--color--custom-nero);
  color: var(--wp--preset--color--custom-bianco);
}
.is-style-btn-nero a:hover{
  background-color: var(--wp--preset--color--custom-uno) !important;
  border: 1px solid var(--wp--preset--color--custom-uno) !important;
  color: var(--wp--preset--color--custom-bianco);
}





/*? -------------------------------------------------------------------------------- */
/*? SVG */
/*? -------------------------------------------------------------------------------- */
.wp-block-create-block-ggwd-block-gutenberg-svg > div{
  display: flex;
}




/*? -------------------------------------------------------------------------------- */
/*? LEGGI TUTTO */
/*? -------------------------------------------------------------------------------- */
.wp-block-post-excerpt__more-link{
  font-weight: 600;
  color: var(--wp--preset--color--custom-uno) !important;
  text-decoration: underline;
}



/*? -------------------------------------------------------------------------------- */
/*? ACCORDION */
/*? -------------------------------------------------------------------------------- */
.wp-block-accordion{
  background-color: var(--wp--preset--color--custom-bianco);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
}
.wp-block-accordion-heading{
  color: var(--wp--preset--color--custom-nero);
}
.wp-block-accordion-heading__toggle{
  padding: 0;
}
.wp-block-accordion-panel{
  padding-top: 15px;
}




/*? -------------------------------------------------------------------------------- */
/*? LINK COVER */
/*? -------------------------------------------------------------------------------- */
/* .is-style-link-cover{
  position: relative;
}
.is-style-link-cover a:after{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
} */




/*? -------------------------------------------------------------------------------- */
/*? TABELLA */
/*? -------------------------------------------------------------------------------- */
.wp-block-table td, 
.wp-block-table th{
  border: none;
}

.wp-block-table tr{
  border-bottom: 1px solid #ccc;
}
.wp-block-table tr td:first-child{
  color: var(--wp--preset--color--custom-cinque);
}
.wp-block-table tr td:last-child{
  font-weight: 600;
}

  
/** -------------------------------------------------------------------------------- */
/* // ! HEADER */
/** -------------------------------------------------------------------------------- */
header{
    position: fixed;
    width: 100%;
    z-index: 99;
    transition: var(--transition);
}
.scrollato header{
  background-color: var(--wp--preset--color--custom-due);
  box-shadow: 0px 0px 30px #00000030;
}
  
  
  
/*? -------------------------------------------------------------------------------- */
/*? HAMBURGER */
/*? -------------------------------------------------------------------------------- */
/* btn hamburger */
.hamburger-mobile{
  text-align: center;
  margin: 0 !important;
}
.btn-menu {
  z-index: 34;
  background: transparent;
  min-height: 22px;
  padding-left: 0;
  padding-right: 0;
  border: none;
  color: inherit;
  cursor: pointer;
  transition: 0.3s ease;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
}
.menu-open .btn-menu,
.scrollato .btn-menu{
  background-color: transparent;
}
  
.btn-menu__bars {
  display: block !important;
  background: var(--wp--preset--color--custom-nero);
  position: relative;
  width: 26px;
  height: 2px;
  transition: 0.3s;
}
  
  
.btn-menu__bars:before{
  content: "";
  background: var(--wp--preset--color--custom-nero);
  display: block;
  position: absolute;
  right: 0;
  width: 100%;
  height: 100%;
  transition: 0.3s;
}
  
  
.btn-menu__bars:after {
  content: "";
  background: var(--wp--preset--color--custom-nero);
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  transition: 0.3s;
}
  
  
.btn-menu__bars:before {
  transform: translate(0, -8px);
}
  
.btn-menu__bars:after {
  transform: translate(0, 8px);
}
  
/* menu open */
.menu-open .btn-menu .btn-menu__bars {
  background-color: transparent;
}
.menu-open .btn-menu__bars:before {
  background-color: var(--wp--preset--color--custom-nero);
  transform: rotate(45deg);
  right: 0;
  width: 100%;
}

.menu-open .btn-menu__bars:after {
  background-color: var(--wp--preset--color--custom-nero);
  transform: rotate(-45deg);
  width: 100%;
}
  




/*? -------------------------------------------------------------------------------- */
/*? VOCI E SUB MENU */
/*? -------------------------------------------------------------------------------- */
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione ul.menu{
  margin: 0;
  gap: 10px;
}
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione ul.menu > li{
  padding: 20px 0px;
}
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .menu-item-has-children{
  position: relative; 
  display: flex;
}
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .menu-item-has-children .sub-menu{
  display: block;
  background-color: var(--wp--preset--color--due);
  position: absolute;
  top: 60px;
  opacity:0;
  visibility:hidden;
  background-color: var(--wp--preset--color--custom-bianco);
  width: max-content;
  box-shadow: 0px 0px 20px #00000030;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .menu-item-has-children:not(.overlay-menu .menu-item-has-children):hover .sub-menu{
  opacity:1;
  visibility:visible;
  top:60px;
}
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .menu-item-has-children .sub-menu > li{
  padding: 10px;
  transition: all 0.3s;
}
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .menu-item-has-children .sub-menu > li:hover{
  background-color: var(--wp--preset--color--custom-uno);
}
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .menu-item-has-children .sub-menu > li > a{
  transition: var(--transition);
}
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .menu-item-has-children .sub-menu > li:hover > a{
  color: var(--wp--preset--color--custom-bianco);
}
.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .menu-item-has-children > a{
  gap: 0px;
}

.header-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione .menu-item > a{
  align-items: center;
}

.header-menu .freccia-sub-menu{
  position: relative;
  top: 0px;
}


  
/*? -------------------------------------------------------------------------------- */
/*? OVERLAY */
/*? -------------------------------------------------------------------------------- */
.overlay-menu:not(.editor-styles-wrapper .overlay-menu) {
  position: fixed;
  width: 100%;
  z-index: -1;
  transform: translateY(-110%);
  transition: all 0.8s cubic-bezier(0.59, 0.03, 0.2, 1);
  top: 0;
}
  
.menu-open .overlay-menu{
  transform: translateY(0%) !important;
}

.overlay-menu ul.menu{
  gap: 5px;
}
.overlay-menu ul.menu > li{
  /* padding: 0 !important; */
  font-size: clamp(18px, 4vw, 22px);
}
.overlay-menu ul.menu > li > a{
  flex-direction: row;
  align-items: center;
  font-weight: bold;
  letter-spacing: -1%;
  max-width: fit-content;
}
.overlay-menu ul.menu > li.menu-item-has-children .sub-menu > li > a{
  font-size: 16px;
  margin-bottom: 3px;
}
.overlay-menu .freccia-sub-menu{
  position: relative;
  top:2px;
}


/* altezza massima */
.overlay-menu .wp-block-create-block-ggwd-block-gutenberg-menu-navigazione{
  max-height: 74vh;
  overflow: auto;
  padding-bottom: 40px;
}




/*? -------------------------------------------------------------------------------- */
/*? BTN */
/*? -------------------------------------------------------------------------------- */
.header__btn_mobile a{
  border: 2px solid var(--wp--preset--color--custom-nero);
  border-radius: 6px;
  max-width: fit-content;
  padding: 6px 12px;
  font-weight: bold;
  font-size: 14px !important;
}
.header__btn_preventivo a{
  border-color: var(--wp--preset--color--custom-uno);
  background-color: var(--wp--preset--color--custom-uno);
  color: var(--wp--preset--color--custom-bianco);
  font-weight: bold;
  font-size: 14px !important;
}
.header__btn_preventivo a:hover,
.header__btn_telefono a:hover{
  border-color: var(--wp--preset--color--custom-nero) !important;
  background-color: var(--wp--preset--color--custom-nero) !important;
  color: var(--wp--preset--color--custom-bianco);
}

.header__btn_telefono{
  margin-top: 20px;
}
.header__btn_telefono a{
  display: flex;
  flex-direction: row-reverse !important;
  align-items: center !important;
}
.header__btn_telefono span{
  font-size: 20px;
}


@media(min-width:1025px){
  .header__btn_mobile a{
    display: none !important;
  }
}




/*? -------------------------------------------------------------------------------- */
/*? VOCI e ICONE */
/*? -------------------------------------------------------------------------------- */
.btn-offerte > a{
  position: relative;
}
.icona-offerta{
  font-variation-settings: 'FILL' 1;
  color: var(--wp--preset--color--custom-uno);
  position: absolute;
  top: -9px;
  right: 14px;
  font-size: 18px;
}

/* overlay */
.overlay-menu .icona-offerta{

}




/** -------------------------------------------------------------------------------- */
/* // ! PRELOADER */
/** -------------------------------------------------------------------------------- */
#preloader .preloader-inner{
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  }
    
.loader {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--wp--preset--color--custom-uno);
  box-shadow: 32px 0 var(--wp--preset--color--custom-uno), -32px 0 var(--wp--preset--color--custom-uno);
  position: relative;
  animation: flash 1s ease-out infinite alternate;
  margin: 20px 0px;
}
    
@keyframes flash {
  0% {
  background-color: #ffffff20;
  box-shadow: 32px 0 #ffffff20, -32px 0 var(--wp--preset--color--custom-uno);
  }
  50% {
  background-color: var(--wp--preset--color--custom-uno);
  box-shadow: 32px 0 #ffffff20, -32px 0 #ffffff20;
  }
  100% {
  background-color: #ffffff20;
  box-shadow: 32px 0 var(--wp--preset--color--custom-uno), -32px 0 #ffffff20;
  }
}







/** -------------------------------------------------------------------------------- */
/* // SERVIZI */
/** -------------------------------------------------------------------------------- */
/*? -------------------------------------------------------------------------------- */
/*? LOOP */
/*? -------------------------------------------------------------------------------- */
.icona-servizio-acf{
  width: 100%;
  max-width: 30px;
}

.is-style-query-h-100 .wp-block-post{
  height: auto;
}








/** -------------------------------------------------------------------------------- */
/* // ZONE */
/** -------------------------------------------------------------------------------- */
/*? -------------------------------------------------------------------------------- */
/*? LOOP */
/*? -------------------------------------------------------------------------------- */
.nome-zona .wp-block-post-excerpt__excerpt{
  margin-bottom: 0 !important;
  max-width: max-content;
}

.template-loop-zone{
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

/* @media (max-width: 768px) {
  .template-loop-zone {
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    grid-auto-columns: max-content;

    justify-content: start;
    align-items: start;

    overflow-x: auto;
    overflow-y: hidden;

    gap: 8px;
    padding-bottom: 8px;

    -webkit-overflow-scrolling: touch;
  }

  .template-loop-zone > * {
    white-space: nowrap;
  }
} */










/** -------------------------------------------------------------------------------- */
/* // FOOTER */
/** -------------------------------------------------------------------------------- */
/*? -------------------------------------------------------------------------------- */
/*? FORM */
/*? -------------------------------------------------------------------------------- */

.frm_fields_container br{
  display:none
}
.frm_fields_container p{
  margin: 0 !important;
}


.page-template-no-form-footer .footer__form{
  display: none !important;
}



/*? -------------------------------------------------------------------------------- */
/*? MENU */
/*? -------------------------------------------------------------------------------- */
.is-style-menu-footer ul.menu{
  margin: 0;
  gap: 8px;
}











/** -------------------------------------------------------------------------------- */
/* // ARTICOLI */
/** -------------------------------------------------------------------------------- */
.termine-articolo a{
  pointer-events: none;
}
.termine-articolo p,
.termine-articolo-small p{
  margin-bottom: 0px !important;
}


/* tipografia e stili */
.contenuto-articolo h2,
.contenuto-articolo h3,
.contenuto-articolo h4,
.contenuto-articolo h5,
.contenuto-articolo h6{
  color: var(--wp--preset--color--custom-nero);
  line-height: 1.2;
  margin-top: 20px;
}
.contenuto-articolo h2{
  font-size: clamp(28px, 4vw, 32px);
  margin-top: 40px;
  line-height: 1.1;
}
.contenuto-articolo .wp-block-list li{
  margin-bottom: 10px;
}

.contenuto-articolo img{
  max-width: 100%;
  border-radius: 8px;
  margin: 10px 0px;
}

.contenuto-articolo a:not(.wp-block-button a){
  color: var(--wp--preset--color--custom-uno);
  text-decoration: underline;
  font-weight: 600;
}


/* tabelle */
.contenuto-articolo .wp-block-table{
  background-color: var(--wp--preset--color--custom-otto);
  padding: 10px 10px 20px 10px;
  border-radius: 6px;
  margin-bottom: 20px;
  margin-top: 20px;
}

/* list */
.contenuto-articolo .wp-block-list li::marker {
  color: var(--wp--preset--color--custom-uno);
}


/* in evidenza */
.img-post-evidenza{
  min-width: 120px;
}
@media(max-width:480px){
  .img-post-evidenza img{
    width: 100% !important;
    height: 100% !important;
  }
}


/* no termine uncategorized */
.wp-block-term.term-1{
  display: none;
}

/* loop cat */
.articolo-loop-cat{
  display: flex !important;
  flex-wrap: wrap !important;
}
.articolo-loop-cat li{
  max-width: max-content;
}




/*? -------------------------------------------------------------------------------- */
/*? ARTICOLI CORRELATI */
/*? -------------------------------------------------------------------------------- */
.articoli_correlati_ul{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--wp--preset--spacing--10);
  list-style: none;
  padding: 0;
}
.articolo_correlato br{
  display: none;
}
.articolo_correlato img{
  border-radius: 10px;
}
.articolo_correlato_titolo{
  font-weight: 600;
  color: var(--wp--preset--color--custom-nero);
  margin-bottom: 10px;
  line-height: 1.2;
}
.articolo_correlato_titolo a{
  transition: all 0.25s;
}
.articolo_correlato_titolo a:hover{
  color: var(--wp--preset--color--custom-uno) !important;
}
.articolo_correlato_read_more{
  color: var(--wp--preset--color--custom-tre);
}
.articolo_correlato_read_more a:hover{
  color: var(--wp--preset--color--custom-due);
}

@media(max-width:600px){
  .articoli_correlati_ul{
    grid-template-columns: 1fr;
  }
}






/*? -------------------------------------------------------------------------------- */
/*? LOOP BLOG */
/*? -------------------------------------------------------------------------------- */
.cvp-live-filter{
  display: flex !important;
  flex-direction: column;
  max-width: 350px;
  align-items: center;
  margin: auto;
  margin-bottom: 40px;
}
.cvp-label{
  margin-bottom: 10px;
}
.cvp-live-filter select{
  max-width: 180px;
  border-radius: 4px;
  padding: 6px;
  color: var(--wp--preset--color--custom-sei);
  border: 1px solid var(--wp--preset--color--custom-uno);
  font-weight: 600;
}

.loop-cards .pt-cv-href-thumbnail{
  overflow: hidden;
  display: block;
  border-radius: 8px;
}
.loop-cards .pt-cv-thumbnail{
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 0px !important;
  transform: scale(1.02);
  transition: transform 0.25s;
}
.loop-cards .pt-cv-href-thumbnail:hover .pt-cv-thumbnail{
  transform: scale(1.05);
}

.loop-cards .pt-cv-readmore{
  padding: 0px;
  margin-top: 15px;
  font-weight: 600;
  text-decoration: underline !important;
}


/*========== PAGINATION ==========*/
.pt-cv-pagination li a{
  border-radius: 4px !important;
  border: none !important;
  font-weight: 600 !important;
  font-size: 18px !important;
}






/*? -------------------------------------------------------------------------------- */
/*? TOC */
/*? -------------------------------------------------------------------------------- */
.ttc-toc {
  border: 0;
  border-radius: 10px;
  padding: 2rem 2.5rem;
  margin: 2.5rem 0;
  box-shadow: 0 6px 24px 0 rgba(0,0,0,0.07), 0 1.5px 6px 0 rgba(206, 179, 44, 0.08);
  position: relative;
  overflow: hidden;
  margin-bottom: 40px !important;
}

.ttc-toc::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(to right, var(--wp--preset--color--custom-uno) 0%, #ffa800ba 100%);
  opacity: 0.14;
}

.ttc-toc__title {
  font-family: inherit;
  font-weight: bold;
  margin: 0 0 1rem;
  font-size: 1.45rem;
  color: var(--wp--preset--color--custom-uno);
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}

.ttc-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.ttc-toc__item {
  margin: 0.5rem 0;
  position: relative;
  color: var(--wp--preset--color--custom-nero);
  transition: background 0.13s;
}

.ttc-toc__item--h2 {
  margin-bottom: 12px;
  font-weight: 600;
  border-bottom: 1px solid #ffcaa6;
  padding-bottom: 10px;
}

.ttc-toc__item--h2 > a {
  color: var(--wp--preset--color--custom-uno);
}

.ttc-toc__sublist {
  margin-top: 0.1em;
  padding-left: 30px;
  list-style: auto;
  line-height: 1;
}

.ttc-toc__item--h3 {
  margin-left: 0;
  font-weight: 400;
  opacity: 0.85;
}

.ttc-toc__item br,
.ttc-toc__item p {
  display: none;
}

.ttc-toc__item--h3::before {
  color: var(--wp--preset--color--custom-uno);
  opacity: 0.26;
  font-size: 0.95em;
}

.ttc-toc__item a {
  text-decoration: none;
  color: inherit;
  transition: color 0.17s, text-decoration 0.13s;
  background: none;
  outline: none;
  border-radius: 3px;
  padding: 2px 0;
  display: inline;
}

.ttc-toc__item a:focus {
  background: var(--wp--preset--color--custom-otto, #f0eec4);
  outline: 2px solid var(--wp--preset--color--custom-uno);
}

.ttc-toc__item a:hover {
  color: var(--wp--preset--color--custom-uno);
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 600px) {
  .ttc-toc {
    padding: 20px;
    font-size: 0.98rem;
    margin: 1.2rem -0.3rem;
    border-radius: 7px;
  }
  .ttc-toc__title {
    font-size: 1.14rem;
  }
}






/** -------------------------------------------------------------------------------- */
/* // OFFERTE */
/** -------------------------------------------------------------------------------- */
/*? -------------------------------------------------------------------------------- */
/*? PRODOTTI */
/*? -------------------------------------------------------------------------------- */
.loop-offerte-prodotti .pt-cv-href-thumbnail{
  border-radius: 8px;
  overflow: hidden;
}
.loop-offerte-prodotti .pt-cv-title{
  margin-bottom: 0px !important;
}

.loop-offerte-prodotti .pt-cv-meta-fields{
  text-transform: uppercase;
}
.loop-offerte-prodotti .pt-cv-meta-fields a{
  pointer-events: none;
}

.loop-offerte-prodotti .pt-cv-readmore{
  padding: 0px;
  font-weight: 600;
  margin-top: 15px;
  text-decoration: underline !important;
}







/** -------------------------------------------------------------------------------- */
/* // CATALOGHI */
/** -------------------------------------------------------------------------------- */
.loop-cataloghi .filtri-cataloghi{
  display: flex;
  gap: clamp(20px, 4vw, 60px);
  justify-content: center;
  margin-bottom: 60px;
}
.loop-cataloghi .filtri-cataloghi .cvp-live-filter{
  margin: 0px;
}
.loop-cataloghi .filtri-cataloghi label{
  margin-right: 0px;
}
.loop-cataloghi .filtri-cataloghi select{
  min-height: 30px;
  min-width: 120px;
}
.loop-cataloghi .pt-cv-href-thumbnail{
  width: 100% !important;
}

@media(max-width:781px){
  .loop-cataloghi .filtri-cataloghi{
    flex-direction: column;
  }
  .loop-cataloghi .filtri-cataloghi .cvp-live-filter{
    max-width: 100% !important;
    align-items: flex-start !important;
  }
  .loop-cataloghi .filtri-cataloghi select{
    min-width: 100%;
  }
}







/** -------------------------------------------------------------------------------- */
/* // FIX WP 7.1 */
/** -------------------------------------------------------------------------------- */
.wp-block-cover, 
.wp-block-cover-image{
  min-height: auto;
}






