.quote-gradient-window{
max-height:110px;
    overflow-y: auto;
    background: #f7f7f7;
    border-radius: 12px;
    padding: 16px;
}

.quote-gradient-window::-webkit-scrollbar {
  width: 8px;
  height: 6px;
}

.quote-gradient-window::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.quote-gradient-window::-webkit-scrollbar-thumb {
  background: #673ab766;
  border-radius: 10px;
}

.quote-gradient-window::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* =========================================
   1. CONTENITORE DESIGN (Scroll Orizzontale Nativo)
   ========================================= */
/* =========================================
   1. CONTENITORE DESIGN (Griglia Verticale a 4 Colonne)
   ========================================= */
.design-selector {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Crea esattamente 4 colonne uguali */
    gap: 12px; /* Spazio tra le card */
    max-height: 220px; /* Altezza massima prima di scrollare (mostra circa 2 righe e mezza) */
    overflow-y: auto; /* Abilita lo scroll VERTICALE */
    overflow-x: hidden; /* Previene scroll orizzontali indesiderati */
    padding: 10px; /* Padding per non tagliare le ombre */
    scroll-behavior: smooth;
    scrollbar-width: thin; /* Firefox */
}

/* Stile Scrollbar Verticale (Chrome/Safari) */
.design-selector::-webkit-scrollbar {
    width: 6px;
}
.design-selector::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.design-selector::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}
.design-selector::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* =========================================
   2. SINGOLA THUMBNAIL (Adattiva alla griglia)
   ========================================= */
.design-thumbnail {
    width: 100%; /* Prende tutta la larghezza della sua cella nella griglia */
    height: auto;
    aspect-ratio: 1 / 1; /* Mantiene la card sempre un quadrato perfetto */
    border: 3px solid #ffffff;
    border-radius: 16px;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.design-thumbnail:hover {
    transform: scale(1.05);
    border-color: #a0a0a0;
}

.design-thumbnail.active {
    border-color: #6822ff;
    transform: scale(1.08);
    box-shadow: 0 4px 15px rgba(104, 34, 255, 0.3);
    z-index: 2; /* Assicura che l'elemento attivo stia sopra gli altri quando si ingrandisce */
}

.design-thumbnail.active::after {
    content: '✔';
    position: absolute;
    top: -6px;
    right: -6px;
    color: white;
    background-color: #6822ff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* =========================================
   3. STILI ANTEPRIMA (DRY: Don't Repeat Yourself)
   ========================================= */

/* Creiamo un selettore unico per tutte quelle che usano le stesse virgolette! */
.quote-design-nebula blockquote::before, .quote-design-nebula blockquote::after,
.quote-design-forest blockquote::before, .quote-design-forest blockquote::after,
.quote-design-sea blockquote::before, .quote-design-sea blockquote::after,
.quote-design-nature blockquote::before, .quote-design-nature blockquote::after,
.quote-design-illustration blockquote::before, .quote-design-illustration blockquote::after,
.quote-design-trend blockquote::before, .quote-design-trend blockquote::after,
.quote-design-trend2 blockquote::before, .quote-design-trend2 blockquote::after,
.quote-design-trend3 blockquote::before, .quote-design-trend3 blockquote::after,
.quote-design-whatsapp blockquote::before, .quote-design-whatsapp blockquote::after {
    content: '“';
    font-family: 'Times New Roman', serif;
    font-weight: bold;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.15);
    position: absolute;
    line-height: 1;
}

/* Posizionamento Condiviso */
.quote-design-nebula blockquote::before, .quote-design-forest blockquote::before, .quote-design-sea blockquote::before, .quote-design-nature blockquote::before, .quote-design-illustration blockquote::before, .quote-design-trend blockquote::before, .quote-design-trend2 blockquote::before, .quote-design-trend3 blockquote::before, .quote-design-whatsapp blockquote::before { 
    top: 0; left: 10px; 
}
.quote-design-nebula blockquote::after, .quote-design-forest blockquote::after, .quote-design-sea blockquote::after, .quote-design-nature blockquote::after, .quote-design-illustration blockquote::after, .quote-design-trend blockquote::after, .quote-design-trend2 blockquote::after, .quote-design-trend3 blockquote::after, .quote-design-whatsapp blockquote::after { 
    content: '”'; bottom: -30px; right: 10px; 
}

/* Manteniamo isolati Wood e Paper perché sono diversi */
.quote-design-wood blockquote::before, .quote-design-wood blockquote::after {
    content: '"';
    font-family: 'Georgia', serif;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    position: absolute;
}
.quote-design-wood blockquote::before { top: 10px; left: 20px; }
.quote-design-wood blockquote::after { bottom: -10px; right: 20px; }

.quote-design-paper blockquote {
    border-left: 4px solid rgba(0,0,0,0.1);
    padding-left: 20px;
    text-align: left;
}
.quote-design-paper blockquote::before, .quote-design-paper blockquote::after { content: ''; }

/* Classi Background (mantieni le tue originali qui sotto...) */
.quote-design-wood { background: url('/assets/img/blend_texture/wood.jpg')!important; background-size: cover!important; background-position: center!important; }
.quote-design-paper { background: url('/assets/img/blend_texture/paper.jpg')!important; background-size: cover!important; color: #4a3a2a !important; }
.quote-design-nebula { background: url('/assets/img/blend_texture/nebula.jpg')!important; background-size: cover!important; }
.quote-design-forest { background: url('/assets/img/blend_texture/foresta.jpg')!important; background-size: cover!important; }
.quote-design-sea { background: url('/assets/img/blend_texture/mare.jpg')!important; background-size: cover!important; }
.quote-design-nature { background: url('/assets/img/blend_texture/natura.jpg')!important; background-size: cover!important; }
.quote-design-illustration { background: url('/assets/img/blend_texture/illustrazione.jpg')!important; background-size: cover!important; }
.quote-design-trend { background: url('/assets/img/blend_texture/01.jpg')!important; background-size: cover!important; }
.quote-design-trend2 { background: url('/assets/img/blend_texture/02.jpg')!important; background-size: cover!important; }
.quote-design-trend3 { background: url('/assets/img/blend_texture/03.jpg')!important; background-size: cover!important; }
.quote-design-whatsapp { background: url('/assets/img/blend_texture/09.png')!important; background-size: cover!important; }

/* MEME BACKGROUNDS - Senza virgolette! */
.quote-design-meme1 { background: url('/assets/img/blend_texture/meme_drake.jpg')!important; background-size: cover!important; background-position: center!important; }
.quote-design-meme2 { background: url('/assets/img/blend_texture/meme_mind.jpg')!important; background-size: cover!important; background-position: center!important; }
.quote-design-meme3 { background: url('/assets/img/blend_texture/meme_distracted.jpg')!important; background-size: cover!important; background-position: center!important; }
.quote-design-meme4 { background: url('/assets/img/blend_texture/meme_disaster.jpg')!important; background-size: cover!important; background-position: center!important; }
.quote-design-meme1 blockquote::before, .quote-design-meme1 blockquote::after,
.quote-design-meme2 blockquote::before, .quote-design-meme2 blockquote::after,
.quote-design-meme3 blockquote::before, .quote-design-meme3 blockquote::after,
.quote-design-meme4 blockquote::before, .quote-design-meme4 blockquote::after {
    content: ''; /* I meme non hanno bisogno di virgolette! */
}