main {
    width: 100%;
    padding: 2vh 0;
    box-sizing: border-box;
}
.offers {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(calc((100% - (3 * 2rem)) / 4), 1fr));
    gap: 2rem; /* Mantieni il gap desiderato */
    margin: 2rem auto; /* Centra il contenitore (opzionale) */
}
@media (max-width: 950px) {
    .offers {
        grid-template-columns: repeat(auto-fit, minmax(calc((100% - (2 * 1.5rem)) / 3), 1fr));
        gap: 1.5rem; /* Aggiorna il gap per schermi medi */
    }
}
@media (max-width: 650px) {
    .offers {
        grid-template-columns: repeat(auto-fit, minmax(calc((100% - (1 * 1rem)) / 2), 1fr));
        gap: 1rem; /* Aggiorna il gap per schermi piccoli */
    }
}


.offers-list {
    max-width: 100%;
    box-sizing: border-box;
}

.offers-list h1 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 14px;
    margin: 25px auto 0 auto;
    font-family: "Space Grotesk", sans-serif;
    color: var(--muted-text);
    font-size: 1.6rem;
    font-weight: 300;
    border: 1px solid var(--muted-text-50);
    border-radius: 8px;
    gap: 0.5rem;
}
.offers-list h1 a {    
    gap: 0.2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    color: var(--muted-text);
}
.offers-list h1 b {
    font-weight: 500;
    color: var(--standard-text);
}
.offers-list h1 a:hover,
.offers-list h1 a:hover b {
    cursor: pointer;
    color: var(--highlight-text);
}
@media (max-width: 900px) { 
    .offers-list h1 {
        font-size: 1.4rem;
    }
}
@media (max-width: 768px) { 
    .offers-list h1 {
        margin-top: 1.6rem;
        font-size: 1.2rem;
    }
}




.offers-list .offer {
    padding: 0; /* Rimuovi il padding interno */
    box-sizing: border-box; /* Include padding e bordo nelle dimensioni */
    margin-bottom: 5rem;
    position: relative;
}

.offers-list .offer .box-offer {
    display: flex;
    flex-direction: column;
    word-wrap: break-word;
    text-align: left;
    overflow: visible;
}

.offers-list .offer .box-offer .thumbnail {
    width: 100%; /* Rende il contenitore largo quanto il contenitore genitore */
    height: 0;
    aspect-ratio: 1 / 1;
    padding-top: 100%; /* Usa il padding per creare un quadrato (rapporto 1:1) */
    position: relative;
    overflow: hidden; /* Taglia l'eccesso dell'immagine */
    background: #fff; /* Colore di sfondo opzionale */
    border: 1px solid #fff;
    box-sizing: border-box;
    /*border-radius: 8px;*/
    border-end-end-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
}
.offers-list .offer .box-offer .thumbnail::before {
    content: ""; /* Pseudoelemento vuoto */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Consente clic sull'immagine sottostante */
    z-index: 1; /* Assicura che sia sopra l'immagine */
    opacity: 0; /* Invisibile di default */
}
@media (prefers-color-scheme: dark) {
    .offers-list .offer .box-offer .thumbnail::before {
        background: radial-gradient(circle, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 100%);
        opacity: 1; /* Visibile di default in modalità dark */
    }
    .offers-list .offer .box-offer .thumbnail:hover::before {
        opacity: 0; /* Invisibile al passaggio del mouse */
    }    
}
@media (prefers-color-scheme: light) {
    .offers-list .offer .box-offer .thumbnail::before {
        background: radial-gradient(circle, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 70%, rgba(0, 0, 0, 0.2) 100%);
        opacity: 0; /* Invisibile di default in modalità light */
    }
    .offers-list .offer .box-offer .thumbnail:hover::before {
        opacity: 1; /* Visibile al passaggio del mouse */
    }    
}
/* Stile per l'immagine */
.offers-list .box-offer .thumbnail .img-thumbnail {
    position: absolute;
    top: 0; /* Aggiunge un margine visibile */
    left: 0; /* Aggiunge un margine visibile */
    width: 100%; /* Riduce la dimensione dell'immagine per lasciare il margine */
    height: 100%; /* Mantiene le proporzioni */
    object-fit: contain; /* Riempie lo spazio disponibile */
    object-position: center; /* Centra l'immagine */
}




.offers-list .box-offer .icons {
    position: absolute;
    display: flex;
    align-items: center;
    flex-direction: row;
    text-align: right;
    margin: auto;
    top: 0;
    right: 0;
    height: 26px;
    min-width: 21px;
    padding: 0 5px 0 2px;
    background: #fff;
    border-bottom-left-radius: 5px;
    z-index: 15;
}
.offers-list .box-offer .icons span {
    cursor: pointer;
    display: flex;
    padding: 0 0 0 2px;
}


.offers-list .box-offer .descrizione {
    display: none;
}
.offers-list .box-offer .wrapper-icons {
    display: none;
}
.offers-list .box-offer .wrapper-data {
    
}
.offers-list .box-offer .wrapper-data .data-pubblicazione {
    position: absolute;
    top: 5px;
    right: 2px;
    font-size: 0.9rem;
    color: var(--muted-text);
}
.offers-list .box-offer .wrapper-data .data-pubblicazione span {
    display: none;
}
.offers-list .box-offer .wrapper-data .data-descrizione {
    display: none;
}




.offers-list .box-offer .price {
    margin: 0 0 0 0.5rem;
    color: var(--highlight-text);
    white-space: nowrap;
}
.offers-list .box-offer .price .price-number .price-integer {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.08rem;
}
.offers-list .box-offer .price .price-number .price-decimal {
    font-size: 1.2rem;
}
.offers-list .box-offer .price .currency {
    font-size: 1.2rem;
}


.offers-list .wrapper-open {    
    display: flex;
}
.offers-list .open-offer {
    display: inline-flex;
    align-items: center;
    margin: 0.5rem 0 0.2rem 0;
    text-decoration: none;
    background: var(--background-contrast);
    padding: 0.4rem 1rem;
    border-radius: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--muted-text-50);
    width: auto;
    box-sizing: border-box;
}
.offers-list .open-offer:hover {
    border-color: transparent;
    background: var(--highlight-text);
}
.offers-list .open-offer .ico-store {
    margin: 0.2rem 0.5rem -0.1rem 0;
    box-sizing: 0;
}
.offers-list .open-offer .ico-store img {
    box-sizing: 0;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid var(--muted-text-50);
}
.offers-list .open-offer .open-store {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    padding-bottom: 0.1rem;
    letter-spacing: 0.05rem;
}
@media (prefers-color-scheme: dark) {
    .offers-list .open-offer .open-store {
        color: var(--muted-text);
    }
    .offers-list .open-offer:hover .open-store {
        color: var(--standard-text);
    }
}
@media (prefers-color-scheme: light) {
    .offers-list .open-offer .open-store {
        color: var(--muted-text);
    }
    .offers-list .open-offer:hover .open-store {
        color: var(--almost-white);
    }
}


.offers-list .wrapper-promo {
    display: flex;
    align-items: center;
    margin: 0.2rem 0 0.1rem 0;
}
.offers-list .wrapper-promo span {
    display: none;
}
.offers-list .wrapper-promo .promo-code {
    display: inline-flex;
    margin: 0.2rem 0.5rem 0 0.5rem;
    padding: 0 0.3rem;
    align-items: center;
    background: var(--code-background);
    color: var(--code-text);
    border: 1px dashed var(--code-text);
}
.offers-list .wrapper-promo .promo-code code {
    padding: 1px 2px;
    font-size: 0.9rem;
}



.offers-list .box-offer .wrapper-moreinfo {
    display: flex;
    align-items: center; /* Allinea verticalmente gli elementi */
    margin: 0; /* Rimuove eventuali margini interni */
}

.offers-list .box-offer .wrapper-moreinfo .open-info {
    display: flex;
    align-items: center; /* Assicura l'allineamento anche a livello del link */
    margin: 0.3rem 0 0 0.5rem;
    font-size: 0.8rem;
    text-decoration: none;
    color: var(--highlight-text);
}

.offers-list .box-offer .wrapper-moreinfo .open-info:hover {
    color: var(--link-text);
}

.offers-list .box-offer .wrapper-moreinfo .open-info span {
    display: inline-block; /* Inline-block per testo/icon */
    line-height: 1; /* Uniforma l'altezza */
}

.offers-list .box-offer .wrapper-moreinfo .open-info .dashicons {
    font-size: 1.3rem; /* Uniforma la dimensione delle dashicons */
    margin-right: 0.3rem; /* Distanza tra icona e testo */
    vertical-align: middle; /* Aiuta a mantenere l'allineamento */
}



.offers-list .riferimento_prezzo {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.offers-list .box-offer .riferimento_prezzo .best-price {
    display: inline-flex;
    align-items: center;
    background-color: var(--background-alternative);
    color: var(--almost-white);
    padding: 0.2rem 1rem 0.2rem 0.5rem;
    margin: 0.2rem 0 0.3rem 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
   /* Versione con punta a destra
   - 0 0        = punto in alto a sinistra
   - calc(100% - 10px) 0    = punto in alto a destra, rientrato di 10px
   - 100% 50%   = punto centrale sul lato destro, creando la "punta"
   - calc(100% - 10px) 100% = punto in basso a destra, rientrato di 10px
   - 0 100%     = punto in basso a sinistra */    
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);   
}
.offers-list .box-offer .riferimento_prezzo .best-price span {
    padding: 0 0.3rem;
}
.offers-list .box-offer .riferimento_prezzo .sconto-migliore {
    color: var(--background-alternative);
    font-size: 1.2rem;
    font-weight: 500;
    margin-left: 0.5rem;
    padding-bottom: 0.1rem;
}
@media (max-width: 1000px) {
    .offers-list .box-offer .riferimento_prezzo .sconto-migliore {
        font-size: 1rem;
    }    
}
@media (max-width: 950px) {
    .offers-list .box-offer .riferimento_prezzo .sconto-migliore {
        font-size: 1.1rem;
    }    
}
@media (max-width: 740px) {
    .offers-list .box-offer .riferimento_prezzo .best-price span {
        display: none;
    }
}







.offers-list .box-offer .previous-best-price,
.offers-list .box-offer .start-price {
    margin: 0 0 0 0.5rem;
    color: var(--muted-text);
    font-size: 0.8rem;
    text-decoration: line-through;
    text-decoration-style: dotted;
    text-decoration-color: var(--link-text);
    letter-spacing: -0.05;
}
.offers-list .box-offer .previous-best-price b,
.offers-list .box-offer .start-price b {
    font-size: 0.9rem;
    font-weight: 500;
}
@media (max-width: 980px) {
    .offers-list .box-offer .previous-best-price {
        font-size: 0.95rem;
    }
    .offers-list .box-offer .previous-best-price span {
        display: none;
    }
    .offers-list .box-offer .start-price {
        font-size: 0.95rem;
    }
    .offers-list .box-offer .start-price span {
        display: none;
    }
}

/* Tenere per ultimo per limitare potenziali rischi dovuti a proprietà non standard */

.offers-list .box-offer h2 {
    text-align: left;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.05rem;
    max-height: calc(1.5rem * 3); /* Limita l'altezza a tre righe */
    overflow: hidden; /* Nasconde il testo in eccesso */
    text-overflow: ellipsis; /* Aggiunge i puntini di sospensione */
    display: -webkit-box; /* Per il troncamento su più righe */
    /*-webkit-line-clamp: 3;  Limita il numero di righe */
    -webkit-box-orient: vertical; /* Richiesto per il troncamento */
    margin: 0.5rem 0.5rem 0rem 0.5rem; /* Margini per distanziare */
}
.offers-list .box-offer h2 a {
    text-decoration: none;
    color: var(--standard-text);
    transition: color 0.3s ease; /* Animazione della sottolineatura */
}
.offers-list .box-offer h2 a:hover {
    color: var(--highlight-text);
}
.offers-list .box-offer h2 a span.title-icons {
    font-size: 0.9rem;
}
@media (prefers-color-scheme: dark) {
    .offers-list .box-offer h2 a span.title-icons .top-product {
        filter: invert();
    }
}







.offer-single .wrapper-category,
.offers-list .wrapper-category {
    margin: 0 0 1rem 3rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
}
.offer-single .wrapper-category .channel,
.offer-single .wrapper-category .category,
.offers-list .wrapper-category .channel,
.offers-list .wrapper-category .category {
    display: flex;
    align-items: center; /* Centra verticalmente il testo */
    background-color: var(--background-alternative);
    color: var(--almost-white);
    padding: 0.2rem 1rem 0.3rem 1rem;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.1;
    text-decoration: none;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
/* Specifico per il .channel */
.offers-list .wrapper-category .channel,
.offer-single .wrapper-category .channel {
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
}
/* Specifico per il .category */
.offers-list .wrapper-category .category,
.offer-single .wrapper-category .category {
    background-color: var(--almost-white);
    color: var(--background-alternative);
    margin-left: -10px; /* Compensa l'inclinazione */
}
/* Varianti per tech */
.offers-list .wrapper-category .channel.tech,
.offer-single .wrapper-category .channel.tech {
    background-color: var(--color-tech);
    color: var(--almost-white);
}
.offers-list .wrapper-category .category.tech,
.offer-single .wrapper-category .category.tech {
    background-color: var(--almost-white);
    color: var(--color-tech);
}
/* Varianti per extra */
.offers-list .wrapper-category .channel.extra,
.offer-single .wrapper-category .channel.extra {
    background-color: var(--color-extra);
    color: var(--almost-white);
}
.offers-list .wrapper-category .category.extra,
.offer-single .wrapper-category .category.extra {
    background-color: var(--almost-white);
    color: var(--color-extra);
}
/* Varianti per pro */
.offers-list .wrapper-category .channel.pro,
.offer-single .wrapper-category .channel.pro {
    background-color: var(--color-pro);
    color: var(--almost-white);
}
.offers-list .wrapper-category .category.pro,
.offer-single .wrapper-category .category.pro {
    background-color: var(--almost-white);
    color: var(--color-pro);
}
/**
 *
 * Ottimizzazioni specifiche per la lista 
 * ––––––––––––––––––––––––––––––––––––––––––––––––––––
 */
.offers-list .wrapper-category {
    margin: 0;
    position: relative;
    top: 7px;
    left: 0;
    z-index: 10;
}
/* Nascondo nella lista la categoria secondaria */
.offers-list .wrapper-category .category,
.offers-list .wrapper-category .category.tech,
.offers-list .wrapper-category .category.extra,
.offers-list .wrapper-category .category.pro {
    /*display: none !important;*/
    position: absolute;
    top: -20px;
    left: 10px;
    font-size: 0.9rem;
    clip-path: none;
    display: none;
}
.offers-list .wrapper-category .channel {
    position: relative; /* Assicura che l'elemento sia posizionato */
    border-left: 1px solid #fff;
    padding-left: 0.8rem;
    padding-right: 1.2rem;
    clip-path: polygon(
        0 0,             /* Punto in alto a sinistra */
        100% 0,          /* Punto in alto a destra */
        calc(100% - 10px) 100%, /* Punto in basso a destra (spostato a sinistra di 10px) */
        0 100%           /* Punto in basso a sinistra */
    );
}
.offers-list .wrapper-category .channel:hover ~ .category,
.offers-list .wrapper-category .category:hover {
    display: block;
}
/** 
 * ––––––––––––––––––––––––––––––––––––––––––––––––––––
 */



/* ------------------------------------------------------------------------- */
/* Blocco di stile per ingrandire e che serve anche per la pagina single.php */
/* ------------------------------------------------------------------------- */


.offer-single .icons {
    display: none;
}



.offer-single .box-offer {
    position: relative;
}
.offer-single .box-offer .wrapper-data {
    display: block;
    margin: 0 0 1rem 3rem;
}
.offer-single .box-offer .data-pubblicazione {
    display: inline-block;
    border-bottom: 5px solid var(--highlight-text-50);
}
.offer-single .box-offer .data-pubblicazione p {
    display: inline-block;
    position: relative;
    font-size: 1.2rem;
    top: 3px;
}
.offer-single .box-offer .data-descrizione {
    display: flex;
    flex-direction: row;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    justify-content: flex-start;    
    gap: 0;
    margin: 0.5rem 1rem 1rem 0;
    font-size: 0.9rem;
    position: relative;
}
.offer-single .box-offer .data-descrizione .dashicons {
    flex: 0 0 auto;
    margin: 0.1rem 0 0 0;
    font-size: 1.2rem;
    position: relative;
    left: -2px;
    display: block;
    color: var(--muted-text);
}
.offer-single .box-offer .data-descrizione p {
    flex: 0 0 auto;
    max-width: calc(100% - 2rem); /* Larghezza massima calcolata */
    word-wrap: break-word; /* Forza il testo a capo se necessario */
    position: relative;       
    padding-top: 0.1rem;
    font-weight: 300;
    color: var(--standard-text);
}
.offer-single .box-offer .data-descrizione p b {
    font-weight: 500;
    color: var(--muted-text);
}
.offer-single .box-offer .data-descrizione p a { 
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    color: var(--muted-text);
    text-decoration: underline;
    text-decoration-color: var(--highlight-text-50);
    text-underline-offset: 1px;
    transition: text-decoration-color 0.3s ease-in,
                text-underline-offset 0.3s ease-in;
}
.offer-single .box-offer .data-descrizione p a:hover {
    color: var(--standard-text);
    text-underline-offset: 4px;
    text-decoration-color: var(--link-text);
}
@media (prefers-color-scheme: dark) {
    .offer-single .box-offer .data-pubblicazione p {
        color: var(--almost-white);
        text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
    }
}
@media (prefers-color-scheme: light) {
    .offer-single .box-offer .data-pubblicazione p {
        color: var(--standard-text);
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.8), 0 1px 3px rgba(255, 255, 255, 0.9);
    }
}




.offer-single .box-offer .wrapper-thumbnail {
    position: relative;
}
.offer-single .box-offer .thumbnail {
    width: 100%; /* Rende il contenitore largo quanto il contenitore genitore */
    height: 300px;
    overflow: hidden; /* Taglia l'eccesso dell'immagine */
    text-align: center;
    background: #fff; /* Colore di sfondo opzionale */
    border: 1px solid #fff;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
}
/* Stile per l'immagine */
.offer-single .box-offer .thumbnail .img-thumbnail {
    width: 100%; /* Riduce la dimensione dell'immagine per lasciare il margine */
    height: 100%; /* Mantiene le proporzioni */
    object-fit: contain; /* Riempie lo spazio disponibile */
    object-position: center; /* Centra l'immagine */
}

/* OMBRA */
.offer-single .box-offer .thumbnail::before {
    content: ""; /* Pseudoelemento vuoto */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Consente clic sull'immagine sottostante */
    z-index: 1; /* Assicura che sia sopra l'immagine */
    opacity: 0; /* Invisibile di default */
}
@media (prefers-color-scheme: dark) {
    .offer-single .box-offer .thumbnail::before {
        background: radial-gradient(circle, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 100%);
        opacity: 1; /* Visibile di default in modalità dark */
    }
    .offer-single .box-offer .thumbnail:hover::before {
        opacity: 0; /* Invisibile al passaggio del mouse */
    }    
}
@media (prefers-color-scheme: light) {
    .offer-single .box-offer .thumbnail::before {
        background: radial-gradient(circle, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 70%, rgba(0, 0, 0, 0.2) 100%);
        opacity: 0; /* Invisibile di default in modalità light */
    }
    .offer-single .box-offer .thumbnail:hover::before {
        opacity: 1; /* Visibile al passaggio del mouse */
    }    
}
/* Fine OMBRA */





.offer-single .box-offer h2 {
    text-align: left;
    font-family: "Space Grotesk", sans-serif;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0.05rem;
    max-height: calc(2rem * 4); /* Limita l'altezza a tre righe */
    overflow: hidden; /* Nasconde il testo in eccesso */
    text-overflow: ellipsis; /* Aggiunge i puntini di sospensione */
    display: -webkit-box; /* Per il troncamento su più righe */
    -webkit-line-clamp: 3; /* Limita il numero di righe */
    -webkit-box-orient: vertical; /* Richiesto per il troncamento */
    margin: 1.7rem 0.5rem 0.5rem 3rem; /* Margini per distanziare */
}
.offer-single .box-offer h2 .title-icons {
    display: none;
}
.offer-single .box-offer h2 a {
    text-decoration: none;
    color: var(--standard-text);
    transition: color 0.3s ease; /* Animazione della sottolineatura */
}
.offer-single .box-offer h2 a:hover {
    color: var(--highlight-text);
}
@media (max-width: 768px) {
    .offer-single .box-offer h2 {
        font-size: 1.6rem;
        margin-top: 1.5rem;
    }
}





.offer-single .box-offer .price {
    margin: 0 0 0 3rem;
    color: var(--highlight-text);
    white-space: nowrap;
}
.offer-single .box-offer .price .price-number .price-integer {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.08rem;
}
.offer-single .box-offer .price .price-number .price-decimal {
    font-size: 1.2rem;
}
.offer-single .box-offer .price .currency {
    font-size: 1.2rem;
}



.offer-single .wrapper-icons {
    display: flex;
    flex-direction: column;
    margin: 0.3rem 0 0 3rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 500;
}
.offer-single .wrapper-icons .top-product,
.offer-single .wrapper-icons .love-product {
    display: flex;
    align-items: center;
    margin: 0.2rem 0;
    padding: 0.2rem 1rem 0.2rem 0.5rem;
    border-radius: 8px;
    height: 1.6rem;
    width: fit-content;
}
.offer-single .wrapper-icons .top-product {
    background: var(--background-high-contrast);
    color: var(--standard-text);
}
.offer-single .wrapper-icons .top-product .icon {
    filter: invert();
    margin-right: 0.3rem;
}
.offer-single .wrapper-icons .love-product {
    background: var(--background-high-contrast);
    color: var(--standard-text);
}
.offer-single .wrapper-icons .love-product .icon {
    margin-right: 0.3rem;
}


.offer-single .descrizione {
    margin: 0.3rem 5rem 1rem 3rem;
}
.offer-single .descrizione a {
    font-weight: 500;
    color: var(--standard-text);
    align-items: center; /* Allinea l'icona e il testo verticalmente */
    text-decoration-color: var(--link-text); /* Colore della sottolineatura */
    text-underline-offset: 0.4rem; /* Distanza iniziale della sottolineatura */
    text-decoration: underline; /* Sottolineatura */
    transition: text-decoration-color 0.3s ease, 
                text-underline-offset 0.2s ease; /* Animazione per la distanza della sottolineatura */
}
.offer-single .descrizione a:hover {
    text-decoration-color: var(--highlight-text) !important; /* Nasconde la sottolineatura al passaggio del mouse */
    text-underline-offset: 0.2rem; /* Distanza della sottolineatura che si avvicina e sparisce */
    transition: text-underline-offset 0.2s ease, 
                text-decoration-color 0.3s ease; /* Animazione della sottolineatura */
}




.offer-single .riferimento_prezzo {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.offer-single .riferimento_prezzo .best-price {
    display: inline-flex;
    align-items: center;
    background-color: var(--background-alternative);
    color: var(--almost-white);
    padding: 0.2rem 1rem 0.2rem 0.5rem;
    margin: 0.2rem 0 0.3rem 3rem;
    font-size: 0.9rem;
    font-weight: 500;
   /* Versione con punta a destra
   - 0 0        = punto in alto a sinistra
   - calc(100% - 10px) 0    = punto in alto a destra, rientrato di 10px
   - 100% 50%   = punto centrale sul lato destro, creando la "punta"
   - calc(100% - 10px) 100% = punto in basso a destra, rientrato di 10px
   - 0 100%     = punto in basso a sinistra */    
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);   
}
.offer-single .riferimento_prezzo .best-price span {
    padding: 0 0.3rem;
}
.offer-single .riferimento_prezzo .sconto-migliore {
    color: var(--background-alternative);
    font-size: 1.2rem;
    font-weight: 500;
    margin-left: 0.5rem;
    padding-bottom: 0.1rem;
}
@media (max-width: 768px) {
    .offer-single .riferimento_prezzo .best-price {   
        font-size: 1.05rem;
    }
    .offer-single .riferimento_prezzo .sconto-migliore {
        font-size: 1.3rem;
    }
}




.offer-single .previous-best-price,
.offer-single .start-price {
    margin: 0 0 0 3rem;
    color: var(--muted-text);
    font-size: 1rem;
    text-decoration: line-through;
    text-decoration-style: dotted;
    text-decoration-color: var(--link-text);
    letter-spacing: -0.05;
}
.offer-single .previous-best-price b,
.offer-single .start-price b {
    font-size: 1.1rem;
    font-weight: 500;
}



.offer-single .wrapper-promo {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}
.offer-single .wrapper-promo span {
    font-size: 0.9rem;
    color: var(--standard-text);
}
.offer-single .wrapper-promo .promo-code {
    display: inline-flex;
    margin: 0.2rem 0.5rem 0 3rem;
    padding: 0 0.3rem;
    align-items: center;
    background: var(--code-background);
    color: var(--code-text);
    border: 1px dashed var(--code-text);
}
.offer-single .wrapper-promo .promo-code code {
    padding: 1px 2px;
    font-size: 0.9rem;
}






.offer-single .open-offer {
    display: inline-flex;
    align-items: center;
    margin: 2rem 0 0.2rem 2.8rem;
    text-decoration: none;
    background: var(--background-contrast);
    padding: 0.4rem 1rem;
    border-radius: 25px;
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);*/
    border: 1px solid var(--muted-text-50);
    z-index: 500;
}
.offer-single .open-offer:hover {
    border-color: transparent;
    background: var(--highlight-text);
}
.offer-single .open-offer .ico-store {
    margin: 0.2rem 0.5rem -0.1rem 0;
    box-sizing: 0;
}
.offer-single .open-offer .ico-store img {
    box-sizing: 0;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid var(--muted-text-50);
}
.offer-single .open-offer .open-store {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    padding-bottom: 0.1rem;
    letter-spacing: 0.05rem;
}
@media (prefers-color-scheme: dark) {
    .offer-single .open-offer .open-store {
        color: var(--muted-text);
    }
    .offer-single .open-offer:hover .open-store {
        color: var(--standard-text);
    }
}
@media (prefers-color-scheme: light) {
    .offer-single .open-offer .open-store {
        color: var(--muted-text);
    }
    .offer-single .open-offer:hover .open-store {
        color: var(--almost-white);
    }
}
@media (min-width: 768px) {
    .offer-single .open-offer {
        position: absolute;
        right: 1rem;
        bottom: 0;
    }
}
@media (max-width: 768px) {
    .offer-single .open-offer .open-store {
        font-size: 1.2rem;        
    }
}






.offer-single .open-info {
    display: none;
}