
        .prz-compare-check-loop {
            display: inline-flex; align-items: center; gap: 5px;
            font-size: 12px; color: #374151;
            margin-top: 8px; padding: 4px 8px;
            border: 1px solid #e5e7eb; border-radius: 20px;
            cursor: pointer; background: #fafafa;
        }
        .prz-compare-check-loop input { margin: 0; }
        li.product { position: relative; }

        .prz-compare-check-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #374151; margin: 10px 0; }

        .prz-compare-bar-global {
            position: fixed; left: 16px; right: 16px; bottom: 16px;
            background: #111827; color: #fff; border-radius: 10px;
            padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
            display: flex; align-items: center; justify-content: space-between;
            z-index: 9999; box-shadow: 0 6px 24px rgba(0,0,0,.25);
        }
        .prz-compare-bar-global[hidden], .prz-compare-panel[hidden] { display: none !important; }
        .prz-compare-bar-global .prz-compare-bar-actions { display: flex; gap: 8px; }
        .prz-compare-bar-global .prz-btn-clear, .prz-compare-bar-global .prz-btn-compare { border: none; border-radius: 6px; padding: 10px 14px; font-weight: 600; cursor: pointer; font-size: 13px; }
        .prz-compare-bar-global .prz-btn-clear { background: transparent; color: #d1d5db; }
        .prz-compare-bar-global .prz-btn-compare { background: #16a34a; color: #fff; }
        .prz-compare-bar-global .prz-btn-compare:disabled { background: #374151; cursor: not-allowed; }

        .prz-compare-panel {
            position: fixed; left: 16px; right: 16px; bottom: 76px;
            max-height: 70vh; overflow-y: auto;
            background: #fff; border-radius: 12px; padding: 16px;
            box-shadow: 0 -6px 24px rgba(0,0,0,.15); z-index: 9998;
            border: 1px solid #eee;
        }
        .prz-compare-panel-close { float: right; background: none; border: none; font-size: 20px; cursor: pointer; color: #6b7280; }

        /* Tabella di confronto (desktop) */
        .prz-compare-table-wrap { width: 100%; overflow-x: auto; }
        .prz-compare-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
        .prz-compare-table th, .prz-compare-table td { border-bottom: 1px solid #eee; padding: 10px; text-align: left; vertical-align: top; width: 220px; overflow-wrap: anywhere; word-break: break-word; hyphens: auto; }
        .prz-compare-table thead th:first-child, .prz-compare-table tbody th { width: 160px; font-weight: 600; background: #fafafa; position: sticky; left: 0; z-index: 1; text-align: left; }
        .prz-compare-table thead th a { display: block; overflow-wrap: break-word; word-break: break-word; line-height: 1.3; }
        .prz-compare-prod-img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; display: block; margin-bottom: 6px; }
        .prz-price { font-weight: 700; }

        /* Card di confronto (mobile) */
        .prz-compare-cards { display: none; }
        .prz-compare-swipe-hint, .prz-compare-dots { display: none; }

        @media (max-width: 640px) {
            .prz-compare-table-wrap { display: none; }
            .prz-compare-swipe-hint, .prz-compare-dots { display: block; }
            .prz-compare-dots { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
            .prz-compare-cards {
                display: flex; gap: 12px; overflow-x: auto;
                scroll-snap-type: x mandatory; padding: 4px 4px 12px;
                -webkit-overflow-scrolling: touch;
            }
            .prz-compare-card { flex: 0 0 85%; scroll-snap-align: start; border: 1px solid #eee; border-radius: 12px; padding: 14px; background: #fff; }
            .prz-compare-card-header { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
            .prz-compare-card-header img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
            .prz-compare-card-header a { font-weight: 600; font-size: 14px; text-decoration: none; color: inherit; line-height: 1.3; overflow-wrap: break-word; word-break: break-word; }
            .prz-compare-row { display: flex; flex-direction: column; gap: 3px; padding: 8px 0; border-top: 1px solid #f2f2f2; font-size: 14px; }
            .prz-compare-row-label { color: #6b7280; font-size: 12px; overflow-wrap: break-word; word-break: break-word; }
            .prz-compare-row-value { text-align: left; font-weight: 600; overflow-wrap: break-word; word-break: break-word; }
            .prz-compare-swipe-hint { font-size: 12px; color: #9ca3af; text-align: center; margin: -4px 0 10px; }
            .prz-compare-dot { width: 6px; height: 6px; border-radius: 50%; background: #d1d5db; }
        }

        @media (max-width: 640px) {
            .prz-compare-bar-global, .prz-compare-panel { left: 8px; right: 8px; }
            .prz-compare-panel { bottom: 88px; max-height: 60vh; }
        }
    