/* Compare candidates without changing the saved shortlist. */
.ex-card{position:relative}
.ex-compare-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #d5d8d1;border-radius:5px;background:#fff;color:var(--color-text-primary);min-height:36px;padding:6px 10px;font:inherit;font-size:11px;cursor:pointer}
.ex-card>.ex-compare-toggle{position:absolute;top:10px;right:10px;z-index:2;box-shadow:0 1px 5px #0001}
.ex-compare-toggle[aria-pressed=true]{color:#a43806;background:#fff4ed;border-color:#e68d65}
.ex-card.is-comparing{border-color:#d67543;box-shadow:0 0 0 1px #d67543}
.catalog-table tr.is-comparing>*{background:#fff7f1}
.catalog-table .ex-col-brand .ex-compare-toggle{margin-top:8px;display:flex;width:max-content}
.ex-compare-tray[hidden]{display:none!important}
.ex-compare-tray{position:fixed;z-index:170;left:24px;right:24px;bottom:20px;max-width:1344px;margin:auto;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;padding:14px;color:#fff;background:#20211f;border-radius:12px;box-shadow:0 4px 24px #0004}
.ex-compare-count{font-size:12px;line-height:1.5;min-width:100px}.ex-compare-count strong{color:#ff9a62}.ex-compare-count>span{display:block;font-size:10px;color:#babdb6;max-width:145px;margin-top:3px}
.ex-compare-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0}
.ex-compare-slot{position:relative;display:flex;align-items:center;gap:8px;min-width:0;min-height:70px;background:#ffffff0e;border:1px solid #ffffff15;border-radius:7px;padding:8px 31px 8px 8px}
.ex-compare-slot>img{width:43px;height:43px;object-fit:contain;background:#f8f9f6;border-radius:4px;flex-shrink:0}
.ex-compare-slot>div{display:grid;gap:3px;min-width:0}.ex-compare-slot small{font-size:10px;color:#c2c4bd}.ex-compare-slot strong{font-size:11px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ex-compare-slot>button{position:absolute;right:1px;top:1px;border:0;color:#ddd;background:transparent;width:30px;height:30px;cursor:pointer;font-size:20px}
.ex-compare-slot-empty{justify-content:center;text-align:center;padding:10px;font-size:11px;color:#b4b8ae;border-style:dashed;background:none}
.ex-compare-tray-actions{display:grid;grid-template-columns:auto auto;gap:7px;align-items:center}
.ex-compare-primary,.ex-compare-viz,.ex-compare-reset{font:inherit;font-size:12px;border:0;border-radius:5px;min-height:40px;padding:10px 12px;cursor:pointer;text-align:center;text-decoration:none}
.showmybike-root .ex-compare-primary{color:#fff;background:#c74909}.showmybike-root .ex-compare-viz{color:#fff;background:#ffffff17}.ex-compare-reset{grid-column:2;font-size:10px;background:transparent;color:#c2c4bd;text-decoration:underline;padding:0;min-height:22px}
.ex-compare-primary:disabled,.ex-compare-viz:disabled{opacity:.4;cursor:not-allowed}
.ex-compare-tray button:focus-visible,.ex-compare-tray a:focus-visible{outline:2px solid #fff;outline-offset:2px}
.showmybike-root.ex-has-comparison{padding-bottom:150px}.ex-has-comparison .smb-toast{bottom:155px}
.ex-comparison-open{overflow:hidden}
.showmybike-root .ex-compare-dialog{width:min(1120px,calc(100vw - 40px));max-width:1120px;height:min(860px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);border:1px solid var(--color-border);border-radius:13px;padding:0;background:#fff;color:var(--color-text-primary);overflow:hidden;margin:auto}
.ex-compare-dialog:not([open]){display:none}.ex-compare-dialog[open]{display:flex;flex-direction:column}
.ex-compare-dialog::backdrop{background:#0007;backdrop-filter:blur(4px)}
.ex-compare-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px 20px;border-bottom:1px solid var(--color-border);flex-shrink:0}
.ex-compare-dialog-head h2{font-family:var(--font-display);font-size:22px;margin:0;font-weight:600;letter-spacing:-.025em}.ex-compare-dialog-head p{margin:4px 0 0;font-size:12px;color:var(--color-text-secondary)}
.ex-compare-dialog-head button{width:44px;height:44px;border:1px solid var(--color-border);border-radius:6px;background:#fff;font-size:27px;cursor:pointer;flex-shrink:0}
.ex-compare-scroll{overflow:auto;flex:1;min-height:0;overscroll-behavior:contain}
.ex-compare-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:12px}
.ex-compare-table thead th{background:#fafbf8;vertical-align:top;padding:16px 14px;border-bottom:1px solid var(--color-border);font-weight:400}
.ex-compare-table thead th:first-child{width:175px;vertical-align:bottom;text-align:left;color:var(--color-text-secondary);font-size:11px}
.ex-compare-product{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px}
.ex-compare-image{height:150px;width:100%;display:flex;align-items:center;justify-content:center;overflow:hidden}.ex-compare-image img{height:100%;width:100%;object-fit:contain;transform:scale(1.65)}
.ex-compare-product>span{font-size:11px;color:var(--color-text-secondary)}.ex-compare-model{font-family:var(--font-display);font-size:16px;font-weight:600;text-decoration:none;line-height:1.35;min-height:44px;overflow-wrap:anywhere}
.ex-compare-product>strong{font-size:18px;font-weight:600}.ex-compare-product>div{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.ex-compare-save,.ex-compare-remove{font:inherit;font-size:11px;min-height:36px;padding:7px 9px;border:1px solid var(--color-border);border-radius:5px;cursor:pointer;background:#fff;color:var(--color-text-primary)}
.ex-compare-save[aria-pressed=true]{background:#eef2e7;color:#405332}
.ex-compare-table tbody td,.ex-compare-table tbody th{padding:13px 14px;border-bottom:1px solid #edf0e8;font-weight:400;line-height:1.5;text-align:center}
.ex-compare-table tbody th{text-align:left;font-size:11px;color:var(--color-text-secondary);background:#fff}
.ex-compare-table .ex-compare-group th{padding-top:24px;padding-bottom:10px;background:#f4f6ef;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#445139}
.ex-compare-table td.ex-compare-best{font-weight:600;background:#f0f5e9;color:#354c25}
.ex-compare-foot{padding:18px 20px;font-size:11px;line-height:1.6;border-top:1px solid var(--color-border)}.ex-compare-foot p{color:var(--color-text-secondary);margin:0 0 15px}.ex-compare-foot a{display:inline-flex;align-items:center}
.ex-compare-dialog :focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}
@media(max-width:1100px){.ex-compare-tray{grid-template-columns:auto 1fr;gap:10px}.ex-compare-slots{grid-column:1/-1;grid-row:1}.ex-compare-tray-actions{display:flex;justify-content:flex-end}.ex-compare-count>span{max-width:none}.showmybike-root.ex-has-comparison{padding-bottom:205px}.ex-has-comparison .smb-toast{bottom:205px}}
@media(max-width:600px){
 .ex-card>.ex-compare-toggle{position:static;grid-column:1/-1;grid-row:1;margin:0 0 12px;justify-self:end;min-height:36px;box-shadow:none}.ex-card:has(>.ex-compare-toggle)>.ex-card-image{grid-row:2/span 2}.ex-card:has(>.ex-compare-toggle)>.ex-card-name{grid-row:2}.ex-card:has(>.ex-compare-toggle)>.ex-card-price{grid-row:3}
 .ex-compare-tray{left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));padding:10px;gap:8px;border-radius:10px}.ex-compare-count{grid-column:1/-1;display:flex;align-items:center;gap:6px;font-size:11px}.ex-compare-count>span{margin:0 0 0 auto;font-size:9px;max-width:140px;text-align:right}
 .ex-compare-slots{grid-row:2;gap:5px}.ex-compare-slot{min-height:71px;gap:5px;padding:6px 22px 6px 6px;align-items:start}.ex-compare-slot>img{width:24px;height:24px;margin-top:4px}.ex-compare-slot>button{width:28px;height:32px;font-size:19px;right:0}.ex-compare-slot strong{font-size:10px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.3}.ex-compare-slot small{font-size:9px}.ex-compare-slot-empty{font-size:10px;align-items:center;padding:6px}.ex-compare-slot .ex-image-missing{display:none}
 .ex-compare-tray-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.3fr auto;gap:6px}.ex-compare-primary,.ex-compare-viz{font-size:11px;padding:8px;min-height:44px}.ex-compare-reset{grid-column:auto;min-height:44px;padding:5px}
 .showmybike-root.ex-has-comparison{padding-bottom:220px}.ex-has-comparison .smb-toast{bottom:220px}
 .showmybike-root .ex-compare-dialog{width:calc(100vw - 16px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}.ex-compare-dialog-head{padding:10px 12px}.ex-compare-dialog-head h2{font-size:19px}.ex-compare-dialog-head p{font-size:11px}.ex-compare-table{min-width:690px;font-size:11px}.ex-compare-table thead th:first-child{width:116px}.ex-compare-table tbody th:not([colspan]){position:sticky;left:0;z-index:1;box-shadow:1px 0 0 var(--color-border);width:116px}.ex-compare-table td,.ex-compare-table tbody th{padding:11px 9px}.ex-compare-table thead th{padding:10px}.ex-compare-model{font-size:14px;min-height:57px}.ex-compare-image{height:110px}.ex-compare-foot{padding:14px}.ex-compare-save,.ex-compare-remove{min-height:40px}
}
@media(max-width:360px){.ex-compare-slot>img{display:none}.ex-compare-slot strong{font-size:10px}.ex-compare-tray-actions{grid-template-columns:1fr 1.3fr auto}.ex-compare-count>span{max-width:120px}}
/* Override the shared form typography inside this component. */
.catalog-page .ex-compare-toggle{font-size:11px}
.showmybike-root .ex-compare-tray .ex-compare-primary,.showmybike-root .ex-compare-tray .ex-compare-viz{font-size:12px;white-space:nowrap}
.showmybike-root .ex-compare-reset{font-size:11px}
.showmybike-root .ex-compare-save,.showmybike-root .ex-compare-remove{font-size:11px}
@media(max-width:600px){
 .ex-compare-slot{display:block;padding:7px;min-height:105px}.ex-compare-slot>img{width:23px;height:23px;margin:0 0 4px}.ex-compare-slot>div{gap:3px}.ex-compare-slot strong{display:block;white-space:normal;overflow:visible;overflow-wrap:anywhere;font-size:10px;line-height:1.25}.ex-compare-slot-empty{display:flex;align-items:center;min-height:105px}
 .showmybike-root .ex-compare-tray .ex-compare-primary,.showmybike-root .ex-compare-tray .ex-compare-viz{font-size:11px;min-height:44px;padding:8px}
 .showmybike-root.ex-has-comparison{padding-bottom:260px}.ex-has-comparison .smb-toast{bottom:260px}
}
.ex-compare-mobile-hint{display:none}
@media(max-width:600px){.ex-compare-mobile-hint{display:block;margin-top:3px}}
/* Link to an editorial comparison page when the selected pair has one. */
.showmybike-root .ex-compare-tray .ex-compare-page-link{grid-column:1/-1;justify-self:start;color:#ff9a62;font-size:12px;font-weight:600;text-decoration:underline}
.showmybike-root .ex-compare-foot .ex-compare-page-link{margin-left:16px;color:#a43806;font-weight:600}
