.ht-listino * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
.ht-listino {
            font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
            font-size: 18px;
            background: transparent;
            padding: 20px;
            color: #1d1d1f;
        }
        
.ht-listino .container {
            max-width: 1080px;
            margin: 0 auto;
        }
        
.ht-listino .filters {
            background: rgba(111, 23, 135, 0.02);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 24px;
            margin-bottom: 32px;
            border: 1px solid rgba(111, 23, 135, 0.08);
            display: grid;
            grid-template-columns: 1fr 1fr 2fr;
            gap: 20px;
            align-items: end;
        }
        
.ht-listino .filter-group {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        
.ht-listino .filter-group label {
            font-weight: 600;
            color: #6f1787;
            font-size: 0.8125rem;
            text-transform: uppercase;
            letter-spacing: 0.015em;
            margin-bottom: 2px;
        }
        
        .filter-group select,
.ht-listino .search-container input {
            padding: 10px 14px;
            border: 1px solid rgba(111, 23, 135, 0.15);
            border-radius: 8px;
            font-size: 0.9375rem;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(5px);
            transition: all 0.2s ease;
            outline: none;
            font-weight: 400;
            color: #1d1d1f;
        }
        
        .filter-group select:focus,
.ht-listino .search-container input:focus {
            border-color: #6f1787;
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 0 0 0 3px rgba(111, 23, 135, 0.1);
        }
        
        .filter-group select:hover,
.ht-listino .search-container input:hover {
            border-color: #4c1f59;
        }
        
.ht-listino .search-container {
            position: relative;
        }
        
.ht-listino .search-container input {
            width: 100%;
            padding-left: 36px;
        }
        
.ht-listino .search-icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: #6f1787;
            font-size: 0.875rem;
        }
        
.ht-listino .price-table {
            background: rgba(255, 255, 255, 0.6);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid rgba(111, 23, 135, 0.1);
        }
        
.ht-listino .price-table table {
            width: 100%;
            border-collapse: collapse;
        }
        
.ht-listino .price-table th {
            background: linear-gradient(135deg, #6f1787, #4c1f59);
            backdrop-filter: blur(10px);
            color: white;
            padding: 14px 16px;
            text-align: left;
            font-weight: 600;
            font-size: 0.8125rem;
            text-transform: uppercase;
            letter-spacing: 0.015em;
        }
        
.ht-listino .brand-separator {
            background: linear-gradient(135deg, rgba(111, 23, 135, 0.05), rgba(76, 31, 89, 0.05));
            backdrop-filter: blur(5px);
            text-align: left;
            font-weight: 700;
            font-size: 0.9375rem;
            color: #6f1787;
            padding: 12px 16px;
            text-transform: uppercase;
            letter-spacing: 0.01em;
            border-top: 1px solid rgba(111, 23, 135, 0.1);
        }
        
.ht-listino .price-table td {
            padding: 12px 16px;
            border-bottom: 1px solid rgba(111, 23, 135, 0.06);
            color: #1d1d1f;
            font-weight: 400;
            transition: background-color 0.15s ease;
            background: rgba(255, 255, 255, 0.3);
        }
        
.ht-listino .price-table tr:hover td {
            background: rgba(111, 23, 135, 0.04);
        }
        
.ht-listino .price-table tr:last-child td {
            border-bottom: none;
        }
        
.ht-listino .model-name {
            font-weight: 600;
            color: #6f1787;
            font-size: 0.9375rem;
        }
        
.ht-listino .price {
            font-weight: 600;
            color: #4c1f59;
            font-size: 0.9375rem;
            font-variant-numeric: tabular-nums;
        }
        
.ht-listino .price-unavailable {
            color: #86868b;
            font-weight: 400;
        }
        
.ht-listino .no-results {
            text-align: center;
            padding: 60px 20px;
            color: #86868b;
            font-size: 0.9375rem;
            font-weight: 400;
            background: rgba(255, 255, 255, 0.3);
        }
        
        @media (max-width: 768px) {
.ht-listino .filters {
                grid-template-columns: 1fr;
                gap: 16px;
                padding: 20px;
            }
            
.ht-listino .header h1 {
                font-size: 2.25rem;
            }
            
.ht-listino .header p {
                font-size: 1rem;
            }
            
.ht-listino .price-table {
                font-size: 0.875rem;
                overflow-x: auto;
            }
            
            .price-table th,
.ht-listino .price-table td {
                padding: 10px 12px;
                font-size: 0.8125rem;
            }
            
.ht-listino .price-table table {
                min-width: 600px;
            }
            
            .model-name,
.ht-listino .price {
                font-size: 0.8125rem;
            }
        }

/* --- aggiunte 2026-08-16: nota legale e didascalia per screen reader --- */
.ht-listino .ht-listino-nota {
    margin-top: 20px;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #6b6b70;
    max-width: 70ch;
}
.ht-listino .ht-listino-nota a {
    color: #6f1787;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.ht-listino .ht-listino-nota a:hover {
    text-decoration: underline;
}
.ht-listino .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =====================================================================
   MOBILE: la tabella diventa una scheda per modello.
   Sotto i 768px sei colonne non ci stanno: invece di far scorrere di
   lato, impilo i prezzi con la loro etichetta. Il 70% delle visite
   arriva da telefono, quindi questa e la vista principale, non il
   ripiego.
   ===================================================================== */
@media (max-width: 768px) {

    .ht-listino .price-table {
        overflow-x: visible;
        min-width: 0;
        background: transparent;
        box-shadow: none;
        border: 0;
    }

    .ht-listino .price-table table,
    .ht-listino .price-table tbody,
    .ht-listino .price-table tr,
    .ht-listino .price-table td {
        display: block;
        width: 100%;
    }

    .ht-listino .price-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .ht-listino .price-table tr.ht-riga {
        background: #fff;
        border: 1px solid rgba(111, 23, 135, 0.12);
        border-radius: 14px;
        padding: 4px 16px 10px;
        margin-bottom: 12px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    }

    .ht-listino .price-table tr.ht-riga:hover td {
        background: transparent;
    }

    .ht-listino .price-table td.model-name {
        font-size: 1.0625rem;
        font-weight: 700;
        color: #1d1d1f;
        padding: 12px 0 10px;
        border-bottom: 1px solid rgba(111, 23, 135, 0.1);
        margin-bottom: 4px;
    }

    .ht-listino .price-table td[data-label] {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 12px;
        padding: 7px 0;
        border: 0;
        text-align: right;
        min-height: 0;
    }

    .ht-listino .price-table td[data-label]::before {
        content: attr(data-label);
        font-size: 0.875rem;
        font-weight: 500;
        color: #6b6b70;
        text-align: left;
        flex: 1 1 auto;
    }

    .ht-listino .price-table td[data-label] .price {
        font-size: 1rem;
        font-weight: 700;
        white-space: nowrap;
    }

    .ht-listino .price-table tr.ht-riga-marca {
        margin: 22px 0 10px;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .ht-listino .price-table tr.ht-riga-marca td.brand-separator {
        padding: 8px 14px;
        border-radius: 8px;
        font-size: 0.9375rem;
    }

    .ht-listino .price-table tr.ht-riga-marca:first-child {
        margin-top: 0;
    }
}

/* annulla la larghezza minima ereditata dalla vista tabellare */
@media (max-width: 768px) {
    .ht-listino .price-table table,
    .ht-listino .price-table tbody,
    .ht-listino .price-table tr,
    .ht-listino .price-table td {
        min-width: 0;
        max-width: 100%;
    }
    .ht-listino .price-table {
        overflow-x: visible;
    }
}

/* =====================================================================
   LIVELLI DI RICAMBIO (LCD / OLED / Originale / Compatibile)
   ===================================================================== */
.ht-listino .ht-spiega {
    background: rgba(111, 23, 135, 0.03);
    border: 1px solid rgba(111, 23, 135, 0.1);
    border-radius: 14px;
    padding: 20px 22px;
    margin-bottom: 26px;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #3b3b40;
}
.ht-listino .ht-spiega p { margin: 0 0 12px; }
.ht-listino .ht-spiega ul { margin: 0 0 12px; padding-left: 18px; list-style: disc; }
.ht-listino .ht-spiega li { margin-bottom: 5px; }
.ht-listino .ht-spiega strong { color: #6f1787; }
.ht-listino .ht-spiega .ht-garanzia {
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(111, 23, 135, 0.1);
    font-size: 0.875rem;
}
.ht-listino .ht-spiega .ht-garanzia strong { color: #3b3b40; }

.ht-listino ul.ht-livelli {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.ht-listino ul.ht-livelli li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
}
.ht-listino .ht-livello {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #8a8a90;
    min-width: 5.5em;
}
.ht-listino .ht-prezzo {
    font-weight: 600;
    color: #6f1787;
    font-size: 0.9375rem;
}
.ht-listino .ht-nd { color: #c4c4c8; }
.ht-listino .ht-da {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #8a8a90;
    margin-top: 2px;
}

/* --- mobile: i livelli restano leggibili dentro la scheda --- */
@media (max-width: 768px) {
    .ht-listino .ht-spiega { padding: 16px 18px; font-size: 0.875rem; }

    .ht-listino .price-table td[data-label] {
        align-items: flex-start;
        padding: 9px 0;
    }
    .ht-listino .price-table td[data-label]::before {
        flex: 0 0 auto;
        max-width: 46%;
    }
    .ht-listino ul.ht-livelli { align-items: flex-end; gap: 4px; }
    .ht-listino ul.ht-livelli li { justify-content: flex-end; }
    .ht-listino .ht-livello { min-width: 0; }
    .ht-listino .ht-da { display: inline-block; margin: 0 0 0 8px; }
}
