/* Saved trucks (George, 2026-10-29): the heart on the cards and truck pages, the header's Saved link, the toast, the save
   sheets and the Saved page. assets/js/saved.js and saved-page.js. */

/* A truck card is a box holding its link and its heart (the heart is a real button beside the link, not inside it) */
.ls-card{position:relative}
.ls-card-a{display:flex;flex-direction:column;flex:1;min-width:0;color:inherit;text-decoration:none;border-radius:inherit}
.ls-card-a:focus-visible{outline:3px solid var(--ink);outline-offset:-3px}
.ls-card>.ls-card-a .ls-ph .ls-badges{right:54px}
.sv-heart{position:absolute;z-index:3;top:4px;right:4px;width:46px;height:46px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;
  background:none;color:#fff;cursor:pointer;-webkit-tap-highlight-color:transparent}
.sv-heart::before{content:"";position:absolute;inset:5px;border-radius:50%;background:rgba(0,0,0,.35);transition:background .15s ease}
.sv-heart:hover::before{background:rgba(0,0,0,.5)}
.sv-heart svg{position:relative;width:20px;height:20px;fill:rgba(0,0,0,.18);stroke:#fff;stroke-width:2.1;stroke-linejoin:round;transition:fill .15s ease}
.sv-heart[aria-pressed="true"] svg{fill:var(--red);stroke:#fff}
.sv-heart:focus-visible{outline:none}
.sv-heart:focus-visible::before{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--ink)}
.sv-heart.sv-pop svg{animation:sv-pop .32s ease}
@keyframes sv-pop{0%{transform:scale(1)}45%{transform:scale(1.32)}100%{transform:scale(1)}}
.sv-heart-vdp{top:8px;right:8px;width:52px;height:52px}
.sv-heart-vdp svg{width:22px;height:22px}
@media (prefers-reduced-motion:reduce){.sv-heart.sv-pop svg{animation:none}}

/* The header: a heart with the count; the word Saved too where the header has room */
.sv-link{position:relative;display:inline-flex;flex:none;align-items:center;justify-content:center;gap:6px;height:40px;min-width:40px;padding:0 10px;
  border-radius:999px;color:inherit;text-decoration:none;font-weight:750;font-size:.95rem;white-space:nowrap}
.sv-link:hover{background:rgba(127,127,127,.12)}
.sv-link svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linejoin:round}
.sv-link.has-saved svg{fill:var(--red);stroke:var(--red)}
.sv-count{position:absolute;top:1px;left:23px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--red);color:#fff;
  font-size:11px;font-weight:800;line-height:18px;text-align:center;font-variant-numeric:tabular-nums}
.sv-count[hidden]{display:none}
.sv-link-t{display:none}
@media (min-width:1240px){  /* the word too; the count's place is kept inside the link, so nothing moves when it appears */
  .sv-link-t{display:inline}.sv-link{padding:0 32px 0 10px}.sv-link-t+.sv-count{left:auto;right:8px;top:50%;margin-top:-9px}
}
.sv-link[aria-current="page"]{background:rgba(127,127,127,.14)}
@media (min-width:980px){.hdr .sv-link{margin-left:auto}.hdr .sv-link+.btn-shop{margin-left:4px}}
@media (max-width:979px){.hdr .sv-link{margin-left:auto;padding:0}.hdr .sv-link~.menu{margin-left:0}}
.menu-panel .m-saved{display:flex;align-items:center;gap:8px;font-weight:750}
/* Its count sits at the right end of the row, behind a heart (George, 2026-11-18: with a truck saved, this row is the
   menu's first; saved.js moves it) */
.menu-panel .m-saved .sv-count{position:static;display:inline-flex;align-items:center;gap:4px;height:24px;min-width:0;margin-left:auto;
  padding:0 10px 0 8px;border-radius:12px;font-size:.8rem;line-height:1}
.menu-panel .m-saved .sv-count[hidden]{display:none}
.menu-panel .m-saved .sv-count::before{content:"";flex:none;width:12px;height:12px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.3s-7.4-4.5-9.3-9.1C1.4 8 3.4 4.6 6.9 4.6c2.1 0 3.6 1.1 5.1 3 1.5-1.9 3-3 5.1-3 3.5 0 5.5 3.4 4.2 6.6-1.9 4.6-9.3 9.1-9.3 9.1z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.3s-7.4-4.5-9.3-9.1C1.4 8 3.4 4.6 6.9 4.6c2.1 0 3.6 1.1 5.1 3 1.5-1.9 3-3 5.1-3 3.5 0 5.5 3.4 4.2 6.6-1.9 4.6-9.3 9.1-9.3 9.1z'/%3E%3C/svg%3E") center/contain no-repeat}

/* The toast */
.sv-toast{position:fixed;z-index:950;left:50%;bottom:calc(14px + var(--sv-dock,0px) + env(safe-area-inset-bottom,0px));display:flex;align-items:center;gap:12px;
  width:min(440px,calc(100vw - 24px));padding:8px 8px 8px 8px;border-radius:14px;background:#141414;color:#fff;box-shadow:0 10px 30px -8px rgba(0,0,0,.45);
  transform:translate(-50%,calc(100% + 40px));opacity:0;transition:transform .26s ease,opacity .26s ease;pointer-events:none}
.sv-toast.is-on{transform:translate(-50%,0);opacity:1;pointer-events:auto}
.sv-toast-img{flex:none;width:48px;height:36px;border-radius:7px;object-fit:cover;background:#333}
.sv-toast-t{flex:1;min-width:0;font-size:.92rem;font-weight:700;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sv-toast-b{flex:none;min-height:40px;padding:0 12px;border:0;border-radius:10px;background:none;color:var(--yellow);font:inherit;font-weight:800;font-size:.92rem;cursor:pointer}
.sv-toast-b:hover,.sv-toast-b:focus-visible{background:rgba(255,255,255,.1)}
@media (prefers-reduced-motion:reduce){.sv-toast{transition:opacity .2s ease;transform:translate(-50%,0)}}

/* The sheets: a bottom sheet on phones, a box in the middle of a wide screen */
html.sv-locked{overflow:hidden}
.sv-sheet{box-sizing:border-box;width:100%;max-width:100%;max-height:88vh;margin:auto 0 0;padding:0;border:0;border-radius:18px 18px 0 0;background:var(--card);color:var(--ink);
  box-shadow:0 -10px 40px -10px rgba(0,0,0,.35);overflow:auto;overscroll-behavior:contain}
.sv-sheet::backdrop{background:rgba(20,20,20,.55)}
.sv-sheet:focus,.sv-sheet:focus-visible{outline:none}  /* the sheet itself holds focus after a tap: no ring */
.sv-sheet-in{padding:6px 18px calc(18px + env(safe-area-inset-bottom,0px))}
.sv-sheet-in::before{content:"";display:block;width:40px;height:5px;margin:0 auto 6px;border-radius:3px;background:#D5D5D0}
.sv-sheet-h{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;margin-bottom:6px}
.sv-sheet-t{margin:0;font-size:1.15rem;font-weight:800;line-height:1.2}
.sv-x{flex:none;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#F2F2EE;color:#141414;cursor:pointer}
@media (min-width:700px){
  .sv-sheet{width:460px;margin:auto;border:1.5px solid #141414;border-radius:18px;box-shadow:0 24px 60px -16px rgba(0,0,0,.45)}
  .sv-sheet-in{padding:10px 22px 22px}
  .sv-sheet-in::before{display:none}
}
.sv-form{display:flex;flex-direction:column}
.sv-lab{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.sv-in{box-sizing:border-box;width:100%;height:50px;padding:0 14px;border:1.5px solid #141414;border-radius:12px;background:#fff;color:#141414;font:inherit;font-size:16px;font-weight:600}
.sv-in:focus{outline:3px solid var(--yellow);outline-offset:1px}
.sv-in[aria-invalid="true"]{border-color:var(--red)}
.sv-cnt{margin:6px 2px 0 auto;color:var(--muted);font-size:.8rem;font-variant-numeric:tabular-nums}
.sv-tips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.sv-tip{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 13px 0 10px;border:1px solid #E2E2DC;border-radius:999px;background:#F7F7F5;color:#141414;
  font:inherit;font-size:.9rem;font-weight:700;cursor:pointer}
.sv-tip svg{width:14px;height:14px}
.sv-tip:hover{border-color:#141414}
.sv-btns{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
.sv-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 16px;border:1.5px solid #141414;border-radius:12px;
  font:inherit;font-weight:800;font-size:.98rem;text-decoration:none;cursor:pointer;box-shadow:0 2px 0 #141414}
.sv-btn:active{transform:translateY(1px);box-shadow:0 1px 0 #141414}
.sv-btn-dark{background:#141414;color:#fff}
.sv-btn-ghost{background:#fff;color:#141414}
.sv-btn-yellow{background:var(--yellow);color:#141414}
.sv-pick{list-style:none;margin:0 0 8px;padding:0;display:flex;flex-direction:column;gap:4px}
.sv-pick-b{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:4px;border:0;border-radius:12px;background:none;color:#141414;font:inherit;text-align:left;cursor:pointer}
.sv-pick-b:hover,.sv-pick-b[aria-current="true"]{background:#F7F7F5}
.sv-pick-c{flex:none;width:56px;height:56px;border-radius:10px;background:#EFEFEC;overflow:hidden}
.sv-pick-c img{width:100%;height:100%;object-fit:cover}
.sv-pick-n{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.sv-pick-n b{font-size:1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sv-pick-n span{color:var(--muted);font-size:.85rem}
.sv-pick-b>svg{flex:none;margin-right:8px}
.sv-new{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:4px;border:0;border-top:1px solid var(--line);background:none;color:#141414;
  font:inherit;font-weight:800;cursor:pointer}
.sv-new svg{display:grid;place-items:center;width:56px;height:24px}

/* The Saved page */
.sv-page{padding-top:18px;padding-bottom:56px}
.sv-app{min-height:100vh}  /* the footer starts below the screen until the page is drawn (a cold load can paint once before the script) */
.sv-h1{margin:0;font-size:clamp(1.6rem,4.6vw,2.2rem);font-weight:850;line-height:1.1;font-stretch:112%;overflow-wrap:anywhere}
.sv-h1:focus{outline:none}
.sv-h2{margin:22px 0 10px;font-size:1.05rem;font-weight:800}
.sv-wait{margin:14px 0;color:var(--muted)}
.sv-top{display:flex;align-items:center;gap:8px}
.sv-top .sv-h1{flex:1;min-width:0}
.sv-back,.sv-more{flex:none;display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid var(--line-2);border-radius:50%;background:var(--card);color:var(--ink);cursor:pointer;text-decoration:none}
.sv-back{margin-left:-2px}
.sv-back:hover,.sv-more:hover{border-color:var(--ink)}
.sv-clear{flex:none;min-height:40px;padding:0 14px;border:1px solid var(--line-2);border-radius:999px;background:var(--card);color:var(--ink);font:inherit;font-weight:750;cursor:pointer}
.sv-sub{margin:6px 0 0;color:var(--muted);font-size:.95rem}
.sv-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 4px}
.sv-act{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 15px;border:1.5px solid #141414;border-radius:999px;background:#fff;color:#141414;
  font:inherit;font-weight:800;font-size:.92rem;cursor:pointer}
.sv-act:hover{background:#F7F7F5}
.sv-act-dark{background:#141414;color:#fff}
.sv-act-dark:hover{background:#262626}
.sv-act-dark svg{fill:var(--red);stroke:#fff;stroke-width:2}
.sv-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px;margin-top:14px}
.sv-item{display:flex;flex-direction:column;min-width:0}
.sv-item>.ls-card{flex:1}
.sv-card.is-gone .ls-ph img{filter:grayscale(1);opacity:.75}
.sv-card .sv-gone{color:var(--muted)}
.sv-drop{align-self:flex-start;display:inline-block;padding:3px 8px;border-radius:999px;background:var(--ok-soft,#DCEFE3);color:var(--ok,#23704A);font-size:.78rem;font-weight:800}
.sv-notebar{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;margin-top:-6px;padding:12px 14px 10px;border:1px solid var(--line);border-top:0;
  border-radius:0 0 var(--radius) var(--radius);background:#F7F7F5;color:#3A3A37;font:inherit;font-size:.9rem;font-weight:700;text-align:left;cursor:pointer}
.sv-notebar:hover{background:#EFEFEB}
.sv-notebar svg{flex:none}
.sv-notebar.has-note{font-weight:600;color:#141414}
.sv-note-t{flex:1;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}
.sv-note-e{flex:none;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.sv-item>.ls-card:has(+.sv-notebar){border-bottom-left-radius:0;border-bottom-right-radius:0}
.sv-folders{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;margin:16px 0 0;padding:0}
@media (min-width:900px){.sv-folders{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 18px}}
.sv-folder{display:flex;flex-direction:column;gap:3px;color:var(--ink);text-decoration:none}
.sv-col{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:2px;aspect-ratio:1/1;margin-bottom:6px;border-radius:16px;overflow:hidden;background:#EFEFEC;
  box-shadow:0 0 0 1px var(--line)}
.sv-col img,.sv-col i{display:block;width:100%;height:100%;object-fit:cover;background:#EFEFEC}
.sv-col.n1>*{grid-column:1/-1;grid-row:1/-1}
.sv-col.n2>*{grid-row:1/-1}
.sv-col.n3>:first-child{grid-row:1/-1}
.sv-col.n0>*{display:none}
.sv-folder:hover .sv-col{box-shadow:0 0 0 2px var(--ink)}
.sv-folder:focus-visible{outline:none}
.sv-folder:focus-visible .sv-col{box-shadow:0 0 0 3px var(--ink)}
.sv-folder-n{font-weight:800;font-size:1rem;line-height:1.25;overflow-wrap:anywhere}
.sv-folder-s{color:var(--muted);font-size:.88rem}
.sv-fine{max-width:62ch;margin:26px 0 0;color:var(--muted);font-size:.9rem;line-height:1.5}
.sv-empty{max-width:520px;margin:18px 0 0;padding:22px 20px;border:1px solid var(--line);border-radius:16px;background:#F7F7F5}
.sv-empty p{margin:0 0 12px;line-height:1.5}
.sv-empty-h{font-weight:800;font-size:1.1rem}
.sv-empty .sv-btn{margin-top:4px}
.sv-p{margin:0 0 14px;line-height:1.5;color:#3A3A37}
.sv-note-for{margin:0 0 10px;font-weight:700}
.sv-ta{height:auto;min-height:110px;padding:12px 14px;line-height:1.45;resize:vertical}
.sv-url{height:44px;margin-top:10px;font-size:14px;font-weight:500;color:#3A3A37;background:#F7F7F5}
.sv-menu{display:flex;flex-direction:column;gap:2px}
.sv-mi{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:0 10px;border:0;border-radius:12px;background:none;color:#141414;font:inherit;font-weight:750;
  font-size:1rem;text-align:left;text-decoration:none;cursor:pointer}
.sv-mi:hover,.sv-mi:focus-visible{background:#F7F7F5}
.sv-mi svg{flex:none}
.sv-mi-red{color:#A8322A}
.sv-btn-red{background:#C9391B;color:#fff}
.sv-defs{position:absolute;width:0;height:0;overflow:hidden}

/* Compare (piece B): a real table that never scrolls sideways (George's rule for phone tables). Phones: up to 3 trucks,
   each label on a line of its own above its row, so the trucks share the screen's whole width. From 900px the labels
   get a column of their own and up to 5 trucks fit. The row of truck names sticks under the site's header. */
.sv-cmp{width:100%;margin-top:14px;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:.9rem;line-height:1.35}
.sv-cmp.wide{max-width:calc(150px + var(--n,3) * 250px)}
.sv-cmp .sv-cmp-labc{width:150px}
.sv-cmp th,.sv-cmp td{padding:9px 8px;text-align:left;vertical-align:top;overflow-wrap:anywhere}
.sv-cmp .sv-cmp-ph td{padding:0 8px 6px}
.sv-cmp-ph a{display:block;border-radius:10px;overflow:hidden;background:#EFEFEC}
.sv-cmp-ph img,.sv-cmp-ph i{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.sv-cmp.narrow .sv-cmp-ph img,.sv-cmp.narrow .sv-cmp-ph i{aspect-ratio:16/10}
.sv-cmp .sv-cmp-names>*{position:sticky;top:var(--sv-hdr,0px);z-index:3;padding:8px;background:var(--paper,#fff);box-shadow:inset 0 -1.5px 0 #141414}
.sv-cmp-names a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:var(--ink);font-weight:800;font-size:.92rem;line-height:1.25;text-decoration:none}
.sv-cmp-names a:hover{text-decoration:underline}
.sv-cmp tbody th{color:var(--muted);font-weight:750}
.sv-cmp.wide tbody th,.sv-cmp.wide tbody td{border-top:1px solid var(--line)}
.sv-cmp.narrow .sv-cmp-lr th{padding:13px 5px 0;border-top:1px solid var(--line);font-size:.72rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.sv-cmp.narrow .sv-cmp-vr td{padding-top:3px}
.sv-cmp-p{font-size:1.05rem;font-weight:850}
.sv-cmp s{color:var(--muted);font-size:.85rem}
.sv-cmp .sv-drop{display:table;margin-top:4px}
.sv-cmp-s{display:block;color:var(--muted)}
.sv-nl{color:var(--muted)}
.sv-cmp-note{display:flex;align-items:flex-start;gap:6px;width:100%;min-height:40px;padding:8px;border:1px solid var(--line);border-radius:10px;background:#F7F7F5;color:#3A3A37;
  font:inherit;font-size:.86rem;font-weight:700;text-align:left;cursor:pointer}
.sv-cmp-note:hover{background:#EFEFEB}
.sv-cmp-note svg{flex:none;margin-top:1px}
.sv-cmp-note.has-note{font-weight:600;color:#141414}
.sv-cmp-nt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden;white-space:pre-wrap}
@media (max-width:899px){
  .sv-cmp{font-size:.86rem}
  .sv-cmp th,.sv-cmp td{padding-left:5px;padding-right:5px}
  .sv-cmp .sv-cmp-ph td{padding:0 5px 6px}
  .sv-cmp .sv-cmp-names>*{padding:7px 5px}
  .sv-cmp-names a{font-size:.86rem}
}

/* "Check availability on all 4 trucks": on a wishlist it rides the bottom of the screen until the list ends. There it takes
   96px of its own below the last truck (20 + 10 + 54 + 12), so scrolled to the end it never covers a line (George, 2026-10-30) */
.sv-dock{position:sticky;bottom:0;z-index:4;display:flex;justify-content:center;margin-top:20px;padding:10px 0 calc(12px + env(safe-area-inset-bottom,0px));pointer-events:none}
.sv-dock.is-end{position:static;margin-top:22px;padding:0}
.sv-cta{pointer-events:auto;width:100%;max-width:460px;min-height:54px;font-size:1.02rem;white-space:normal;text-align:center}
.sv-dock:not(.is-end) .sv-cta{box-shadow:0 3px 0 #14161A,0 14px 30px -12px rgba(0,0,0,.5)}
.sv-cta svg{flex:none}

/* The Check availability sheet: one card per dealer, its trucks to tick, then its Call, Text and Email */
.sv-av{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.sv-av>li{padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--card,#fff)}
.sv-av-d{margin:0;font-size:1rem;line-height:1.3;color:#3A3A37}
.sv-av-d b{display:block;color:#141414;font-weight:800}
.sv-av-d span{display:block;font-size:.92rem}
.sv-avts{list-style:none;margin:10px 0 12px;padding:0;display:flex;flex-direction:column;gap:6px}
.sv-avt{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid #E6E6E0;border-radius:10px;background:#F7F7F5}
label.sv-avt{cursor:pointer;-webkit-tap-highlight-color:transparent}
label.sv-avt:hover{border-color:#CFCFC8}
.sv-avt input{flex:none;width:20px;height:20px;margin:0;accent-color:#141414}
.sv-avt-c{flex:none;width:56px;height:42px;border-radius:6px;background:#EFEFEC;overflow:hidden}
.sv-avt-c img{display:block;width:100%;height:100%;object-fit:cover}
.sv-avt-n{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.sv-avt-n b{color:#141414;font-size:.844rem;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.sv-avt-n span{color:#555;font-size:.75rem;line-height:1.3;overflow-wrap:anywhere}
.sv-avt:has(input:not(:checked)) .sv-avt-c,.sv-avt:has(input:not(:checked)) .sv-avt-n{opacity:.5}  /* left out of the message */
.sv-av-b{display:grid;grid-template-columns:repeat(var(--k,3),minmax(0,1fr));gap:8px}
.sv-av-b .btn{min-height:46px;padding:0 8px;font-size:.95rem}
.sv-av-b .btn svg{flex:none}
.sv-av-b .btn[aria-disabled="true"]{opacity:.45;pointer-events:none;box-shadow:none}  /* no truck ticked: nothing to write about */
.sv-av-foot{margin:12px 2px 0;color:var(--muted);font-size:.88rem}

/* Choose trucks to compare */
.sv-cpick{list-style:none;margin:0 0 4px;padding:0;display:flex;flex-direction:column;gap:2px}
.sv-cpick-b{display:flex;align-items:center;gap:12px;min-height:64px;padding:4px 6px;border-radius:12px;cursor:pointer}
.sv-cpick-b:hover{background:#F7F7F5}
.sv-cpick-b input{flex:none;width:22px;height:22px;margin:0;accent-color:#141414}
.sv-cpick-b:has(input:disabled){opacity:.45;cursor:default}
.sv-btn:disabled{opacity:.45;cursor:default;box-shadow:none;transform:none}

/* Compare, ranked (George, 2026-10-30; simplified the same day: one row of controls, each truck's rank on its photo, no
   arrows, the price only in the Price row until the photos scroll away) */
.sv-cmp-acts{flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:8px}
.sv-cmp-acts>.sv-act{flex:none}
.sv-cmp-acts>.sv-rkpill{flex:0 1 auto;min-width:0;margin-left:auto;gap:6px;padding:0 13px}  /* it may shrink; its label then ends in ... */
.sv-cmp-acts>.sv-rkpill:only-child{margin-left:0}  /* a 2-truck list has no Choose trucks */
.sv-rkpill-t{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700}
.sv-rkpill-t b{font-weight:850}
.sv-rkpill svg{flex:none}
.sv-sorth{display:inline-flex;align-items:center;gap:5px;padding:0;border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;text-align:left;cursor:pointer}
.sv-sorth:hover,.sv-sorth[aria-pressed="true"]{color:#141414}
.sv-sorth svg{flex:none}
.sv-cmp tr.is-sorted>*{background:#FEF9E7}
.sv-cmp td.is-best{color:#141414;font-weight:800}
.sv-cmp tr.is-sorted .sv-cmp-p{font-weight:600}
.sv-cmp tr.is-sorted td.is-best .sv-cmp-p{font-weight:850}
.sv-cmp-phw{position:relative}
.sv-rk{position:absolute;top:6px;left:6px;z-index:1;display:inline-flex;align-items:center;gap:2px;min-height:24px;padding:2px 8px;border:1.5px solid #141414;
  border-radius:999px;background:rgba(255,255,255,.95);color:#141414;font:inherit;font-size:12px;font-weight:700;line-height:1;cursor:pointer}
.sv-rk.is-1{background:var(--yellow,#F3C623)}
.sv-rk:hover{filter:brightness(.95)}
.sv-rk svg{flex:none}
.sv-cmp-names a{min-height:2.5em}  /* two lines, so the row keeps its height when it sticks: the name's first line stays put and "#1 · $9,000" takes the second */
.sv-cmp-stk{display:none;font-size:.92rem;font-weight:850;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sv-cmp.is-stuck .sv-cmp-stk{display:block}
.sv-cmp.is-stuck .sv-cmp-names a{-webkit-line-clamp:1;min-height:1.25em}
.sv-cmp-w{position:relative}
.sv-cmp.is-rank .sv-cmp-ph td[data-id]{touch-action:pan-y;-webkit-user-select:none;user-select:none}
.sv-cmp.is-rank .sv-cmp-img{cursor:grab;-webkit-touch-callout:none}
.sv-cmp-ph td.is-lifted .sv-cmp-img{opacity:.55;outline:3px solid #141414;outline-offset:-3px}
.sv-dragging,.sv-dragging *{cursor:grabbing!important}
/* the moved truck's column glows gold for 400ms; the keyframes end at each cell's own background */
@keyframes sv-pulse{from{background-color:rgba(243,198,35,.42)}}
@keyframes sv-ring{from{box-shadow:0 0 0 3px var(--yellow,#F3C623)}}
.sv-cmp .is-moved{animation:sv-pulse 400ms ease-out}
.sv-cmp .sv-cmp-ph td.is-moved .sv-cmp-img{animation:sv-ring 400ms ease-out}
.sv-cmp-drop{position:absolute;z-index:5;width:6px;margin-left:-3px;border-radius:3px;background:var(--yellow,#F3C623);box-shadow:0 0 0 1.5px #141414;pointer-events:none}
@media (max-width:899px){
  .sv-cmp-stk{font-size:.86rem}
}
@media (max-width:639px){  /* a phone: both pills on one row, with every Rank by label whole down to 375px */
  .sv-cmp-acts>.sv-act{gap:5px;padding:0 10px;font-size:.84rem}
  .sv-cmp-acts>.sv-rkpill{gap:4px;padding:0 10px}
  .sv-cmp-acts svg{width:15px;height:15px}
  .sv-cmp-acts .sv-rkpill svg:last-child{width:11px;height:11px}
}
/* Choose trucks: tap them in favorite order; a circle shows each one's place, #1 in gold */
.sv-cpick-b{position:relative}
.sv-cpick-b input.visually-hidden{width:1px;height:1px}
.sv-cpick .sv-pick-n b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;font-size:.95rem;line-height:1.25}
.sv-ord{flex:none;display:grid;place-items:center;width:28px;height:28px;border:2px solid #141414;border-radius:50%;background:#fff;color:#fff;font-weight:850;font-size:.88rem}
.sv-cpick li.is-on .sv-ord{background:#141414}
.sv-cpick li.is-1 .sv-ord{background:var(--yellow,#F3C623);color:#141414}
.sv-cpick-b:has(input:focus-visible){outline:2px solid #141414;outline-offset:2px}
/* Rank by and Change rank */
.sv-mi[aria-pressed="true"]{background:#F7F7F5}
.sv-mi-ck{margin-left:auto}
.sv-rkto{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
/* Choose trucks: the helper line with Clear all beside it */
.sv-cpick-h{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.sv-cpick-h .sv-p{flex:1;min-width:0}
.sv-clear{flex:none;margin-top:1px;padding:2px 0;border:0;background:none;color:#141414;font:inherit;font-size:.92rem;font-weight:750;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.sv-clear:disabled{opacity:.4;cursor:default;text-decoration:none}

/* Piece C (George, 2026-10-30): the wishlist's Oiwa Garage parts card (the site's .cta look), the sold card, the dealers' map */
.sv-parts{margin:22px 0 0}
.sv-parts-l{position:relative;list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.sv-parts-l li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid rgba(255,255,255,.16);border-radius:12px;background:rgba(255,255,255,.04)}
.sv-parts-n{min-width:0;display:flex;flex-direction:column;gap:2px}
.sv-parts-n b{color:var(--paper);font-size:1rem;line-height:1.3}
.sv-parts-n span{color:color-mix(in srgb,var(--paper) 72%,transparent);font-size:.84rem;line-height:1.35}
.sv-parts-l .btn{flex:none;min-height:42px;padding:0 14px;font-size:.92rem}
.sv-sold{margin-top:8px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#F7F7F5;display:flex;flex-direction:column;gap:16px}
.sv-sold-h{margin:0 0 4px;font-weight:850;color:#141414}
.sv-sold p{margin:0;font-size:.92rem;line-height:1.45;color:#3A3A37}
.sv-sold p.sv-sold-h{color:#141414;font-size:1rem}
.sv-sold-b{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.sv-sold-b .btn{min-height:42px;padding:0 14px;font-size:.92rem}
.sv-mini{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}
.sv-mini a{display:flex;align-items:center;gap:10px;padding:6px;border:1px solid #E6E6E0;border-radius:10px;background:#fff;color:inherit;text-decoration:none}
.sv-mini a:hover{border-color:#CFCFC8}
.sv-mini img,.sv-mini i{flex:none;width:64px;height:48px;border-radius:6px;object-fit:cover;background:#EFEFEC}
.sv-mini a>span{min-width:0;display:flex;flex-direction:column;gap:2px}
.sv-mini b{color:#141414;font-size:.9rem;line-height:1.25}
.sv-mini a>span>span{color:#555;font-size:.8rem}
.sv-map{height:280px;margin:0 0 12px;border-radius:12px;overflow:hidden;background:#EFEFEC}
.sv-map-x{margin-bottom:12px}
.sv-mapl{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.sv-mapl li{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px}
.sv-mapn{flex:none;display:grid;place-items:center;width:26px;height:26px;border:2px solid #141414;border-radius:50%;background:var(--yellow,#F3C623);color:#141414;font-weight:850;font-size:.85rem}
.sv-mapd{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.sv-mapd b{color:#141414;line-height:1.3}
.sv-mapd span{color:#555;font-size:.86rem}
.sv-mapd .sv-mapt{margin-top:2px;color:#6B6B6B;font-size:.8rem;line-height:1.35}
.sv-mapl .btn{flex:none;min-height:40px;padding:0 12px;font-size:.88rem}
/* a truck page's Oiwa parts box says the free shipping its links apply (George, 2026-10-29) */
.cta p.cta-free{margin-top:8px;color:var(--yellow);font-weight:750}
