.elementor-counter .elementor-counter-number-suffix {
    font-size: 55%;
}
span.posted_in {
    display: none !important;
}
/* Arrotonda il contenitore del prodotto */
.type-product {
    border-radius: 90px; /* Scegli il raggio desiderato */
    overflow: hidden;    /* Serve per evitare che il contenuto sporga dai bordi arrotondati */
}

/* Arrotonda l'immagine stessa */
.type-product img {
    background-color: #c3d845;
    filter: brightness(0.98);
    border: none;
    padding: 5%;
    box-sizing: border-box;
    border-radius: 90px; /* Arrotonda l'immagine */
	
}
/* Colore generale del testo nel footer */
#footer {
  color: #ffffff; /* Cambia con il colore che desideri */
}

/* Colore dei titoli (es: CONTATTI, SCOPRI DI PIÙ) */
#footer h3.title span {
  color: #99CC00;
}

/* Colore dei testi nei paragrafi */
#footer .textwidget p,
#footer .textwidget span {
  color: #ffffff;
}

/* Colore dei link */
#footer a {
  color: #ffffff;
  text-decoration: none;
}

/* Colore dei link al passaggio del mouse */
#footer a:hover {
  color: #99CC00;
  text-decoration: underline;
}

/* Colore del testo finale in basso (© Alphafood...) */
#footer .footer-text {
  color: #dddddd;
}

.woocommerce-shop article#content {
    margin: 60px 0px;
}
.woocommerce-shop header.title-bar {
    position: relative;
    min-height: 300px !important; /* Aumenta l'altezza */
    padding: 120px 0 !important; /* Regola lo spazio sopra e sotto */
}

.woocommerce-shop header.title-bar:after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),  
                url('https://www.alphafood.it/wp-content/uploads/2025/02/AlphaFood-30-scaled.jpg') no-repeat center center !important;
    background-size: cover !important;
    z-index: -1 !important;
    
    /* Assicura che l'overlay copra anche il padding */
    min-height: inherit !important;
}

.woocommerce ul.products.products_variant_under.button_over li.product .button {
    padding: 10px 20px;
    border-radius: 0px;
    color: #fff;
    background-color: #144415;
}
span.posted_in {
    display: none !important;
}

.woocommerce-shop header.title-bar {
    position: relative;
    overflow: hidden;
    clip-path: ellipse(90% 90% at 50% 0%);
}


/* marchotte
.woocommerce-shop header.title-bar:after {
    width: 200px;
    height: 200px;
    position: absolute;
    bottom: -9px;
    left: 14%;
    content: '';
    background: url('https://www.alphafood.it/wp-content/uploads/2024/12/alpha-mascot.png');
	background-size: cover
}
.woocommerce-shop header.title-bar {
    position: relative
}
.woocommerce-shop .content-limiter {
    padding: 10px;
}*/

/* link */
a.termini-link {
    color: #fff;
    display: block;
    margin-top: 20px;
    text-decoration: underline;
}

/* carrello */
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
    background-color: #144415;
    color: #fdffe1;
    font-weight: 600;
    border: none;
}
.wc-block-components-checkout-place-order-button:after {
    width: 100px;
    height: 100px;
    position: absolute;
    bottom: -3px;
    left: 0px;
    content: '';
    background: url(https://www.alphafood.it/wp-content/uploads/2024/12/alpha-mascot.png);
    background-size: cover;
}
select#shipping-country, select#shipping-state {
    height: 100% !important;
    line-height: 49px;
    max-width: unset;
	}
/* Stile per le voci del menu */
.elementor-nav-menu a {
    color: #fff; /* Colore del testo */
    background-color: #134414; /* Colore di sfondo */
    transition: background-color 0.3s, color 0.3s; /* Transizione dolce */
}

/* Stile per le voci del menu al passaggio del mouse */
.elementor-nav-menu a:hover {
    color: #134414; /* Colore del testo al passaggio del mouse */
    background-color: #fff; /* Colore di sfondo al passaggio del mouse */
}

/* Stile per i sottomenù */
.elementor-nav-menu .sub-menu a {
    color: #fff; /* Colore del testo */
    background-color: #134414; /* Colore di sfondo */
}

/* Stile per i sottomenù al passaggio del mouse */
.elementor-nav-menu .sub-menu a:hover {
    color: #134414; /* Colore del testo al passaggio del mouse */
    background-color: #fff; /* Colore di sfondo al passaggio del mouse */
}

/* Impedisce il cambio di colore per i link che puntano a sezioni della stessa pagina
   quando la sezione è visibile o al passaggio del mouse. */
.elementor-nav-menu a[href^="#"]:not(.current-menu-item):not(.current-menu-ancestor) {
    color: #fff; /* Colore del testo */
    background-color: #134414; /* Colore di sfondo */
}

/* Quando una voce del menu è attiva (è la sezione corrente della pagina), mantienila senza sfondo bianco */
.elementor-nav-menu a.current-menu-item, 
.elementor-nav-menu a.current-menu-ancestor {
    color: #134414;
    background-color: #fff;
}

/* shop */
.product-details {
    padding: 10px 0px !important;
}
.woocommerce ul.products li.product .price {
    margin-top: 0px !important;
}
.wc-blocks-components-select .wc-blocks-components-select__select {
    height: 100% !important;
    width: 100% !important;
    line-height: 49px !important;
    max-width: unset !important;
    min-height: 46px !important;
}
.term-description {
  margin-bottom: 60px; /* aumenta lo spazio dopo l'intestazione */
}

/* In alternativa o in aggiunta, puoi targettare il contenitore dei prodotti */
.archive.woocommerce ul.products {
  margin-top: 80px;
	margin-bottom: 80px
}
.woocommerce span.ribbon.sale {
  color: transparent !important;
  position: relative;
  padding: 10px 20px;         /* Aumenta spazio interno (verticale, orizzontale) */
  display: inline-block;
  min-width: 50px;            /* Imposta larghezza minima */
  min-height: 25px;           /* Imposta altezza minima */
  text-align: center;
  border-radius: 4px;         /* (Opzionale) angoli più morbidi */
}

.woocommerce span.ribbon.sale::before {
  content: "Offerta";
  font-size: 16px;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}

.top-menu > li:hover > a,
.top-menu > li:hover > i{
    color: #0d4700;
}

.woocommerce ul.products li.product .price del {
    color: #000000;
}

.woocommerce ul.products li.product .price ins,
.woocommerce div.product p.price ins
{
    color: #0c9900;
}

.woocommerce div.product p.price del{
	opacity: 0.5;
}

.woocommerce ul.products li.product .price{
	font-size: 18px;
}

.woocommerce ul.products.button_over li.product .button{
	font-size: 16px;
}

.woocommerce ul.products li.product a img,
.woocommerce div.product div.images img{
    background-color: #134414;
    padding: 3%;
}

/* INIZIO MODIFICA PER SPOSTARE I CORRELATI SOPRA LA DESCRIZIONE */
.single-product .product.type-product {
	display: flex;
	flex-wrap: wrap;
}

.single-product .related.products{
	padding: 0 10%;
}

@media (min-width: 992px) {
  
  .single-product .product.type-product .images {
    width: 49.9% !important;
    float: left;
    margin-right: 4%;
  }
  
  .single-product .product.type-product .summary {
    width: 49.9% !important;
    float: right;
  }
  
  .single-product .related.products {
    width: 100%;
    clear: both;
    order: 3;
    margin-top: 60px;
  }
  
  .single-product .woocommerce-tabs {
    width: 100%;
    order: 4;
  }
}

@media (max-width: 991px) {
  .single-product .related.products {
    margin-top: 30px;
		clear: both;
		order: 3;
  }
  .single-product .woocommerce-tabs {
    margin-top: 40px;
		order: 4;
  }
}

.single-product .related.products h2 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link{
	width: 100%;
}
/*FINE MODIFICA ORDINE CORRELATI-DESCRIZIONE*/