/* Jackenregal (jacken-anprobe.php): eine Kleiderstange wie im Fachgeschäft. Je Stange ein Abschnitt in der hellen Wandfarbe
   der Schuhwand, darin die Abteilungen Herren & Unisex / Damen mit einer durchlaufenden Messingstange; je Platz hängt ein Stück
   am Bügel, darunter das Preisschild (Muster Schuhwand-Schild) und die Farbkreise mit Größen (ap-* aus schuhwand.css).
   Grundbausteine (Kopf, Berater, Chips, Preis, Fuß) aus schuhwand.css; Kopf und Wofür-Reihe wie im Hosenregal. */
.jr-wand [hidden],.jr-berater [hidden]{display:none!important}
.jr-kopf{margin:4px 0 14px}
.jr-kopf h1{font-size:34px;line-height:40px;letter-spacing:-.02em;margin:0}
.jr-unterzeile{margin:6px 0 0;font-size:17px;line-height:24px;color:var(--text-muted)}
.jr-fach-hinweis{margin:0 0 14px;padding:10px 14px;border-left:4px solid var(--orange);border-radius:6px;background:#FFF8F0;color:#1F2B2A;font-size:15px}
.jr-fach-hinweis a{margin-left:6px;white-space:nowrap}

/* Wofür: eine waagerecht wischbare Reihe, am Desktop umbrechend */
.jr-wofuer{margin:0 0 12px}
.jr-wofuer h2{margin:0 0 8px;font-size:16px;line-height:22px;font-weight:600;color:var(--text-strong)}
.jr-wofuer-reihe{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:0 16px 2px;scroll-padding-inline:16px}
.jr-wofuer-reihe::-webkit-scrollbar{display:none}
.jr-wofuer-chip{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px;border-radius:999px;border:1px solid var(--border-strong);background:var(--weiss);
    color:var(--text-strong);font-size:15px;line-height:1.2;white-space:nowrap;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.jr-wofuer-chip:hover{border-color:var(--petrol)}
.jr-wofuer-chip .jr-zahl{font-size:13px;color:var(--text-muted);font-variant-numeric:tabular-nums}
.jr-wofuer-chip[aria-pressed="true"]{background:var(--petrol);border-color:var(--petrol);color:var(--weiss)}
.jr-wofuer-chip[aria-pressed="true"] .jr-zahl{color:#C9D9D6}
.jr-wofuer-chip--leer:not([aria-pressed="true"]){color:var(--text-muted);border-style:dashed}
.jr-wofuer-nachbar{flex:none;display:inline-flex;align-items:center;min-height:44px;padding:0 6px;color:var(--link);white-space:nowrap;font-size:15px}
.jr-wofuer-chip:focus-visible,.jr-wofuer-nachbar:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
@media(min-width:901px){.jr-wofuer-reihe{flex-wrap:wrap;overflow:visible;margin:0;padding:0}.jr-wofuer-nachbar{padding:0 10px}}

/* Berater: Für + Größe in der klebenden weißen Leiste der Schuhwand; Größensysteme mit kleiner Überschrift */
.jr-berater{gap:8px 16px}
.jr-zeile{flex:1 1 100%;display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center}
.jr-zeile .sw-chips{flex:1 1 260px}
.jr-zeile .jr-fuer{flex:0 1 auto}
.jr-zeile .sw-treffer{flex:0 1 auto;margin:0}
.jr-system{align-self:center;margin-right:2px;font-family:var(--font-label);font-weight:500;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--text-muted)}
.jr-system:not(:first-child){margin-left:10px}

/* Die Wand: dunkler Rahmen wie beim Hosenregal, je Stange ein heller Abschnitt */
.jr-wand{--jr-wand:#F1EFEA;--jr-messing:#C9A777;--jr-messing-kante:#9C7B4E;--jr-messing-hell:#E9D7A8;
    display:grid;gap:12px;padding:12px;margin-bottom:24px;background:var(--petrol-tief,#0E2725)}
.jr-regal{background:var(--jr-wand);scroll-margin-top:calc(var(--kopf) + 84px)}
.jr-regal .sw-feld-kopf h2{font-size:19px;line-height:1.25;font-weight:600;color:var(--weiss)}
.jr-abteilung{padding:14px 0 6px}
.jr-abteilung + .jr-abteilung{border-top:1px solid #E2DED5}
.jr-abteilung-schild{display:inline-block;margin:0 0 10px 16px;padding:4px 12px;font-family:var(--font-label);font-weight:500;font-size:11px;letter-spacing:.14em;text-transform:uppercase;
    color:#3B2F1C;background:linear-gradient(180deg,#E9D7A8,#C9AE6B);box-shadow:0 1px 0 rgba(60,45,20,.35)}
/* Die Stange läuft über die ganze Reihe, die Bügel hängen daran */
.jr-stange{position:relative;padding:0 10px 10px}
.jr-stange::before{content:"";position:absolute;left:0;right:0;top:14px;height:8px;border-radius:4px;
    background:linear-gradient(180deg,var(--jr-messing-hell),var(--jr-messing) 55%,var(--jr-messing-kante));box-shadow:0 2px 3px rgba(60,45,20,.3)}
.jr-plaetze{display:flex;flex-wrap:wrap;align-items:flex-start;gap:26px 0}
.jr-platz{position:relative;flex:0 0 212px;display:flex;flex-direction:column;min-width:0;padding:0 6px;transition:opacity .2s}
.jr-platz.sw-blass{opacity:.18}

/* Der Bügel hängt an der Stange: Haken, Schulterbügel, darunter das Stück */
.jr-haenger{display:flex;flex-direction:column;align-items:center;text-decoration:none;color:#1F2B2A;min-width:0}
.jr-buegel{position:relative;display:block;width:68px;height:34px;margin-top:6px}
.jr-buegel::before{content:"";position:absolute;left:50%;top:0;width:8px;height:14px;margin-left:-4px;border:2px solid var(--jr-messing-kante);border-bottom:0;border-radius:8px 8px 0 0;box-sizing:border-box}
.jr-buegel::after{content:"";position:absolute;left:0;right:0;bottom:0;height:22px;border:2px solid #4A3A22;border-bottom:0;border-radius:34px 34px 0 0 / 22px 22px 0 0;box-sizing:border-box;
    background:linear-gradient(180deg,rgba(201,167,119,.2),transparent)}
.jr-stueck{display:block;width:100%;height:208px;margin-top:-8px;background:var(--jr-wand);transition:transform .22s ease}
.jr-stueck img{display:block;width:100%;height:100%;object-fit:contain;object-position:top;mix-blend-mode:multiply}
.jr-haenger:hover .jr-stueck,.jr-haenger:focus-visible .jr-stueck{transform:translateY(-6px) rotate(-2deg)}
.jr-haenger:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
/* Preisschild wie an der Schuhwand, Farbanzahl rechts */
.jr-schild{width:calc(100% - 8px);min-height:96px;margin-top:10px;padding:7px 9px 8px;display:flex;flex-direction:column;gap:2px;overflow:hidden;background:#fff;border:1px solid #E2DED5;border-top:3px solid var(--petrol)}
.jr-haenger:hover .jr-schild{border-color:var(--petrol)}
.jr-schild em{font-style:normal;font-family:var(--font-label);font-weight:500;font-size:9.5px;letter-spacing:.1em;text-transform:uppercase;color:#5E6B69}
.jr-schild strong{font-weight:600;font-size:14.5px;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.jr-schild .sw-preis{margin-top:auto;padding-top:4px}
.jr-schild .sw-preis i{display:inline}
.jr-schild .sw-preis small{margin-left:4px;font-size:11px;color:#5E6B69}
.jr-schild .sw-preis small.hr-inkl--netto{color:#A85400}
.jr-lager{width:calc(100% - 8px)}

/* Ergebnis-Hinweise unter der Wand */
.jr-ausgeblendet{margin:0;padding:6px 8px;font-size:14px;color:#C9D9D6}
.jr-link{font:inherit;display:inline-flex;align-items:center;min-height:44px;margin:-10px 0;padding:0 4px;vertical-align:middle;border:0;background:none;color:#F5A24B;text-decoration:underline;cursor:pointer}
.jr-leer{padding:16px;background:var(--weiss);border:1px solid var(--border);border-top:3px solid var(--petrol)}
.jr-leer p{margin:0 0 10px}
.jr-leer-knoepfe{display:flex;flex-wrap:wrap;gap:8px}
.jr-knopf{font:inherit;font-size:15px;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid var(--petrol);background:var(--weiss);color:var(--petrol);cursor:pointer}
.jr-knopf:hover{background:var(--petrol-nebel)}
.jr-link:focus-visible,.jr-knopf:focus-visible{outline:3px solid var(--orange);outline-offset:2px}

@media(max-width:900px){.jr-wand{padding:8px;gap:8px}.jr-platz{flex-basis:160px}.jr-stueck{height:160px}.jr-stange{padding:0 6px 8px}
    .jr-kopf h1{font-size:26px;line-height:32px}.jr-unterzeile{font-size:15px;line-height:21px}}
@media(max-width:400px){.jr-platz{flex-basis:50%}}
@media(prefers-reduced-motion:reduce){.jr-platz,.jr-stueck{transition:none}}

/* Fotowand (Lars 23.10.2026, includes/katalog_jackenfoto.php): je Lagerfarbe eine Kachel im Hochformat 2:3 — das KI-Foto der Jacke am
   Holzbügel vor der Eichenwand, Stange oben durchlaufend, Sockel unten; die Kacheln einer Jacke stoßen aneinander, so wird die Reihe
   zur Kleiderstange. Fehlt das Foto noch (jf-roh), hängt das Herstellerfoto am gezeichneten Bügel vor derselben Wand.
   Farbname und Größen stehen unter jeder Kachel, das Preisschild unter der Reihe. */
.jr-plaetze{container-type:inline-size;--jf-b:calc(100cqw / 7.2)}
.jf-platz{flex:0 0 auto;max-width:100%;padding:0;margin-right:14px}
.jf-platz > :not(.jf-reihe){contain:inline-size}
.jf-reihe{display:flex;flex-wrap:wrap;gap:0}
.jf-slot{position:relative;flex:none;width:var(--jf-b);display:flex;flex-direction:column}
.jf-slot--ohne .jf-foto,.jf-slot--ohne .jf-haengt--roh{opacity:.3}
.jf-foto{display:block;width:100%;aspect-ratio:2/3;object-fit:cover;background:#B07A45}
.jf-haengt{position:absolute;display:block;border-radius:4px;transition:box-shadow .18s ease}
.jf-haengt:hover,.jf-haengt:focus-visible{box-shadow:0 0 0 2px rgba(255,255,255,.85),0 0 0 4px var(--orange);outline:none}
/* gezeichnete Kachel: Eichenwand, schwarze Stange, Holzbügel, Herstellerfoto darunter multipliziert */
.jf-haengt--roh{position:relative;width:100%;aspect-ratio:2/3;overflow:hidden;border-radius:0;
    background:linear-gradient(180deg,#B8824D 0,#B8824D 6%,#C58F58 6%,#C58F58 94%,#A8743F 94%,#A8743F 100%),
    repeating-linear-gradient(90deg,rgba(0,0,0,.06) 0 1px,transparent 1px 16.6%)}
.jf-haengt--roh::before{content:"";position:absolute;left:0;right:0;top:11%;height:2.4%;background:linear-gradient(180deg,#3A3A3A,#111 60%,#2A2A2A);box-shadow:0 2px 4px rgba(0,0,0,.35)}
.jf-haengt--roh .jf-buegel{position:absolute;left:22%;width:56%;top:9.5%;height:13%}
.jf-haengt--roh .jf-buegel::before{content:"";position:absolute;left:50%;top:0;width:8%;height:38%;margin-left:-4%;border:2px solid #C9CDD1;border-bottom:0;border-radius:50% 50% 0 0;box-sizing:border-box}
.jf-haengt--roh .jf-buegel::after{content:"";position:absolute;left:0;right:0;bottom:0;height:62%;border-radius:50% 50% 8% 8% / 100% 100% 12% 12%;background:linear-gradient(180deg,#E7CFA2,#C9A777 70%,#9C7B4E)}
.jf-roh-bild{position:absolute;left:8%;width:84%;top:17%;height:70%;object-fit:contain;object-position:top;mix-blend-mode:multiply}
.jf-farbe{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px;margin:6px 6px 0 2px;font-size:11px;line-height:1.3;color:#5E6B69}
.jf-farbe b{font-weight:600;color:#1F2B2A;margin-right:4px}
.jf-groesse{padding:0 4px;border:1px solid #D8D3C8;border-radius:3px;font-variant-numeric:tabular-nums;color:#1F2B2A;background:#fff}
.jf-groesse.ap-treffer{background:var(--orange);border-color:var(--orange);color:#1F2B2A}
.jf-schild{display:flex;flex-direction:column;gap:2px;width:auto;max-width:calc(var(--jf-b) * 2);min-height:0;margin:10px 0 0;padding:7px 9px 8px;background:#fff;border:1px solid #E2DED5;border-top:3px solid var(--petrol);text-decoration:none;color:#1F2B2A}
.jf-schild em{font-style:normal;font-family:var(--font-label);font-weight:500;font-size:9.5px;letter-spacing:.1em;text-transform:uppercase;color:#5E6B69}
.jf-schild strong{font-weight:600;font-size:14.5px;line-height:1.2}
.jf-schild:hover{border-color:var(--petrol)}
.jf-schild:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.jf-platz.sw-blass{opacity:.18}
@media(max-width:900px){.jr-plaetze{--jf-b:calc(100cqw / 4.1)}.jf-platz{margin-right:10px}}
@media(max-width:600px){.jr-plaetze{--jf-b:calc(100cqw / 2.6)}}
