.bath-comparison{min-width:0;align-self:start;margin:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow)}
.bath-heading{padding:24px 26px 0}
.bath-heading .eyebrow{font-size:14px}
.bath-heading h2{font-size:clamp(24px,2.6vw,30px);line-height:1.12;margin:8px 0 8px;text-wrap:balance}
.bath-heading p{font-size:15px;color:var(--muted);margin:0}
.bath-stage{position:relative;aspect-ratio:4/5;isolation:isolate;user-select:none;-webkit-user-select:none;margin-top:18px;background:var(--sunken);overflow:hidden}
.bath-layer{position:absolute;inset:0;overflow:hidden}
.bath-layer img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
:is(.hero-compare,.mini-compare,.spotlight-compare) .bath-layer img{object-fit:cover}
.bath-before{clip-path:inset(0 calc(100% - var(--split)) 0 0)}
/* Glass labels keep contrast on any photo. */
.bath-label{position:absolute;top:14px;left:14px;padding:5px 11px;border-radius:999px;font-size:11px;letter-spacing:.04em;font-weight:600;background:#1d1d1fa6;color:#fff;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.bath-label-after{left:auto;right:14px;background:#0f5f6ee0}
.bath-divider{position:absolute;inset-block:0;left:var(--split);width:2px;background:#fff;transform:translateX(-50%);pointer-events:none;box-shadow:0 0 0 1px #0000001f}
.bath-divider>span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:space-evenly;width:48px;height:48px;border-radius:50%;background:#fff;color:var(--ink);font-size:24px;box-shadow:0 4px 18px #0000003d}
.bath-grip{font-size:11px;letter-spacing:-1px;font-weight:400;color:var(--muted)}
/* The full-stage input is the hit target; a zero-width native thumb keeps touch coordinates aligned. */
.bath-stage input.bath-range{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;opacity:0;z-index:2;cursor:ew-resize;touch-action:pan-y;appearance:none}
.bath-range::-webkit-slider-thumb{appearance:none;width:0;height:44px}
.bath-range::-moz-range-thumb{width:0;height:44px;border:0}
.bath-stage:has(.bath-range:focus-visible){outline:3px solid var(--focus);outline-offset:-5px}
.bath-stage:has(.bath-range:focus-visible) .bath-divider>span{box-shadow:0 0 0 4px #fff,0 0 0 7px var(--focus)}
.bath-tools{padding:18px 22px 0}
.bath-tools label{font-size:14px;margin-bottom:4px}
.bath-tools p{font-size:13px;color:var(--muted);margin:0 0 12px}
/* Segmented control. */
.bath-presets{display:flex;gap:2px;padding:3px;background:var(--alt);border-radius:999px}
.bath-presets button{flex:1;min-width:0;min-height:40px;padding:8px;border:0;border-radius:999px;background:transparent;color:var(--ink);font:500 14px var(--font)}
.bath-presets button:hover{color:var(--accent)}
.bath-presets button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 4px #00000024}
.bath-comparison figcaption{display:flex;align-items:baseline;gap:8px;padding:18px 22px 22px;font-size:13px;color:var(--muted);line-height:1.6}
.bath-note-dot{flex:none;width:6px;height:6px;border-radius:50%;background:var(--accent)}
.bath-noscript{padding:0 22px 22px;font-size:13px}
.product-original{margin-top:24px;border-top:1px solid var(--line);padding-top:16px}
.product-original summary{font-size:15px;min-height:44px;display:list-item}
.product-original img{display:block;width:auto;max-width:100%;height:auto;max-height:300px;margin-top:12px;border-radius:12px}
.product-original p{font-size:13px;margin:10px 0}
@media(max-width:760px){.bath-heading{padding:20px 18px 0}.bath-heading h2{font-size:24px}.bath-tools{padding:16px 16px 0}.bath-comparison figcaption{padding:16px}.bath-label{left:12px;top:12px;font-size:10px}.bath-label-after{left:auto;right:12px}.bath-divider>span{width:44px;height:44px}.bath-presets button{font-size:13px;padding-inline:4px}}
@media(forced-colors:active){.bath-divider{background:CanvasText}.bath-divider>span{background:Canvas;color:CanvasText;border:2px solid CanvasText}.bath-presets button[aria-pressed=true]{outline:2px solid Highlight;outline-offset:-4px}}
@media print{.bath-range,.bath-tools,.bath-divider,.scene-tabs{display:none}.bath-comparison{break-inside:avoid;max-width:550px}}
