/* Seiten „Merkliste“ und „Vergleich“. Nur dort geladen (inc/listen.php). */
.jm-liste{padding-top:48px;padding-bottom:var(--s-section);min-height:60vh}
.jm-liste-h{margin:0}
.jm-liste [data-jm-inhalt]{transition:opacity var(--d-fast)}
.jm-liste[aria-busy="true"] [data-jm-inhalt]{opacity:.45}
.jm-liste-laden .jm-liste-null{visibility:hidden}
.jm-liste-bar{display:flex;justify-content:space-between;align-items:center;gap:8px 24px;flex-wrap:wrap;margin:20px 0 24px}
.jm-liste-bar p{margin:0}
.jm-liste .jm-liste-leer{min-height:44px;padding:0;border:0;background:none;box-shadow:none;cursor:pointer;color:var(--text)}
.jm-liste .jm-liste-leer:hover,.jm-liste .jm-liste-leer:focus{background:none;color:var(--accent-text)}
.jm-liste-null{margin-top:28px;max-width:46ch}
.jm-liste-null p{margin:0 0 12px}
.jm-liste-null .btn{margin-top:12px;text-decoration:none}
.jm-liste .jm-grid{margin-top:0}
.jm-liste .btn{text-decoration:none}

/* Vergleichstabelle */
.jm-cmp-wrap{position:relative;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.jm-cmp-wrap:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.jm-cmp{--lw:210px;width:100%;min-width:calc(var(--lw) + var(--n) * 210px);margin:0;border:0;border-collapse:collapse;table-layout:fixed;font-size:.9375rem}
.jm-cmp th,.jm-cmp td{padding:13px 20px 13px 0;border:0;border-bottom:1px solid var(--line);background:var(--paper);vertical-align:top;text-align:left;font-weight:400;overflow-wrap:break-word;hyphens:auto}
.jm-cmp td{font-weight:500;font-variant-numeric:tabular-nums}
.jm-cmp .jm-cmp-l{width:var(--lw);position:sticky;left:0;z-index:1;color:var(--muted);font-weight:400}
.jm-cmp thead th,.jm-cmp thead td{border-bottom:1.5px solid var(--ink);padding-bottom:22px}
.jm-cmp .jm-cmp-g th{padding:30px 0 10px;font-weight:600;font-size:1.0625rem;letter-spacing:-.02em;color:var(--text);border-bottom:1px solid var(--ink)}
.jm-cmp-kopf{position:relative;display:flex;flex-direction:column;gap:6px;height:100%}
.jm-cmp-bild{display:block;aspect-ratio:3/2;background:var(--paper-2);overflow:hidden;margin-bottom:6px}
.jm-cmp-bild img{width:100%;height:100%;object-fit:cover}
.jm-cmp-name{font-weight:600;line-height:1.35;color:var(--text);min-height:4.05em}
.jm-cmp-name:hover{color:var(--accent-text);text-decoration:underline;text-underline-offset:3px}
.jm-cmp-preis{font-size:1.5rem}
.jm-cmp-btns{display:grid;gap:8px;margin-top:10px}
.jm-cmp-btns .jm-buy-main,.jm-cmp-btns .jm-buy-2{margin:0}
.jm-cmp .jm-cmp-x{position:absolute;z-index:1;right:6px;top:6px;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:var(--surface);box-shadow:var(--sh-md);color:var(--text);cursor:pointer;transition:transform 160ms var(--ease-out),color var(--d-fast)}
.jm-cmp .jm-cmp-x:hover,.jm-cmp .jm-cmp-x:focus{background:var(--surface);color:var(--err)}
.jm-cmp .jm-cmp-x:active{transform:scale(.94)}
.jm-cmp .jm-cmp-plus{color:var(--muted)}
.jm-cmp thead .jm-cmp-plus a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:200px;padding:20px;border:1px dashed #A9AAA6;text-align:center;color:var(--text-2);font-weight:500;transition:border-color var(--d-fast),color var(--d-fast)}
.jm-cmp thead .jm-cmp-plus a:hover{border-color:var(--accent-text);color:var(--accent-text)}
.jm-cmp thead .jm-cmp-plus span{font-size:1.75rem;line-height:1;font-weight:400}
.jm-cmp.nur-unterschiede .gleich,.jm-cmp.nur-unterschiede tbody:not(:has(tr:not(.gleich):not(.jm-cmp-g))){display:none}
.jm-cmp-note{margin:18px 0 0}

@media (max-width:720px){
	.jm-liste{padding-top:32px}
	.jm-cmp{--lw:112px;min-width:calc(var(--lw) + var(--n) * 172px);font-size:.875rem}
	.jm-cmp th,.jm-cmp td{padding:11px 12px 11px 0}
	.jm-cmp .jm-cmp-l{box-shadow:1px 0 0 var(--line)}
	.jm-cmp tbody td,.jm-cmp thead th,.jm-cmp thead td:not(.jm-cmp-l){padding-left:12px}
	.jm-cmp-preis{font-size:1.25rem}
	.jm-cmp-btns .btn{padding:0 8px;font-size:.875rem}
}
