/* The Gear Fox theme (Oct 21, 2026; Bastien: "Can't we use one theme and ship it over all pages?").
   One look for every page: homepage, shoe + list pages, race lists, About, Privacy. Each page loads this file LAST, so the
   pages' own stylesheets only need layout. A designer's version later = replace this one file.
   The rules: 5 colours + the green "lowest price" stamp; 2 fonts (Barlow, Barlow Condensed); 2 corner shapes (10px for
   cards, panels, inputs and big buttons; round for chips and icon buttons); 1px lines; orange only for the discount and
   the main button (when everything is orange, nothing stands out); white cards on a light grey page, so each deal is one
   distinct thing (Oct 21, Bastien: "there needs to be some divide between boxes, otherwise it just looks all one page"). */
:root{
  --ink:#141A17; --muted:#5E6762; --mist:#EEF1EC; --card:#FFFFFF; --line:#D8DDD7;
  --moss:#141A17; --link:#141A17; --hivis:#F26A1B; --hivis-ink:#141A17;
  --r:10px; --pill:999px;
  --body:"Barlow",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --display:"Barlow Condensed","Arial Narrow",Impact,system-ui,sans-serif;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){--ink:#ECEFEC;--muted:#A1ABA5;--mist:#0F1412;--card:#1A211E;--line:#2E3833;--moss:#ECEFEC;--link:#ECEFEC;--hivis-ink:#111614}
}
:root[data-theme="dark"]{--ink:#ECEFEC;--muted:#A1ABA5;--mist:#0F1412;--card:#1A211E;--line:#2E3833;--moss:#ECEFEC;--link:#ECEFEC;--hivis-ink:#111614}

/* page + type */
body{background:var(--mist);color:var(--ink);font-family:var(--body)}
a{color:var(--ink);text-decoration-thickness:1px;text-underline-offset:2px}
h1{font-family:var(--display);font-weight:800;letter-spacing:-.2px}
h2,h3{font-family:var(--display);font-weight:700}

/* header */
.topbar,header.top{border-bottom:1px solid var(--line)}   /* header.top only: the deal cards have a ".top" row too */
.topbar .logo .tag::before,.topbar .logo .tag::after,header.top .tagline::before,header.top .tagline::after{height:1px}

/* round things: chips, icon buttons, small links */
.chip,.iconbtn,.watchbtn,.langbtn,.lang,.stat,.browse a,.links a,.jump a,.langsw button,.menu summary{border-width:1px}
.chip[aria-pressed="true"]{background:var(--ink);color:var(--card);border-color:var(--ink)}
#cats .chip[aria-pressed="true"],.types .chip[aria-pressed="true"]{background:var(--ink);color:var(--card);border-color:var(--ink)}
.scale .chip{border-radius:var(--r)}

/* buttons: the main one is orange, everything else is plain */
.primary,.btn{border-radius:var(--r)}
.primary{border:0;background:var(--hivis);color:var(--hivis-ink)}
.btn{border-width:1px}
a.btn{background:var(--hivis);color:var(--hivis-ink);border:0}

/* deal cards (homepage): one white card per deal on the grey page */
.deal{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:none}
.deal .pic{border-radius:calc(var(--r) - 1px) calc(var(--r) - 1px) 0 0}
.compact .deal .pic{border-radius:8px;background:#fff}
.deal:hover{border-color:var(--muted)}
.deal .brand,.compact .deal .brand{color:var(--muted);font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.05em}
.deal .pct,.compact .deal .pct,.wdeal .pct{border:0;border-radius:4px}
.badge,.off{border:0;border-radius:4px}
.newrow .grp.new .deal{background:var(--card)}

/* section titles: no coloured squares/dots in front, the title says it */
.grp h2::before,.grp.sale h2::before,.grp.new h2::before,.grp.drops h2::before{display:none}
.sticky .grp h2{background:var(--mist)}

/* welcome screen */
.wstat{background:var(--mist);border-radius:var(--r)}
.wdeal{border-width:1px;border-radius:var(--r);background:var(--card)}
.wdeal .wn b{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-size:12px}

/* panels, boxes, menus */
.menu,.menu nav{border-width:1px;border-radius:var(--r)}
.menu nav a{border-radius:8px}
.menu nav a.sw{border-top-width:1px}
.watchnews,.mine,.hero,.pw,.rsize,.gi,.kit{border-width:1px;border-radius:var(--r)}
.watchnews{border-color:var(--line)}
.mine{border-color:var(--line)}
.alert,.cta,.side,.signup{border-radius:var(--r)}
table{border-width:1px;border-radius:var(--r)}
input,select,textarea{border-radius:var(--r)}
.find input{border-width:1px}

/* lists of shoes and races (shoe pages, list pages, race hub): one white card each, like the deals */
.cards{gap:8px}
.cards a{border:1px solid var(--line);border-radius:var(--r);background:var(--card)}
.cards .nm b{font-family:var(--display)}

/* race lists */
.gi{border-color:var(--line)}
.gi.shoe{border-color:var(--ink)}
.dl a.dg,.dl .wt{border-width:1px;border-radius:8px}
.lv.M{background:var(--hivis);color:var(--hivis-ink)}
.lv.R,.lv.A{background:transparent;border:1px solid var(--line);color:var(--muted)}
.kit{border-style:dashed}
.dists button,.rsize button{border-width:1px}
.rsize{border:1px solid var(--line)}
.dists button[aria-pressed="true"],.rsize button[aria-pressed="true"]{background:var(--ink);color:var(--card);border-color:var(--ink)}

/* shoe page size tables on small phones (Oct 21: up to 80px wider than a 320px screen): tighter cells, the old price under the new */
@media(max-width:360px){
  th,td{padding:8px 6px}
  td s{display:block;font-size:12px}
  td .off{margin-left:0}
  td a{overflow-wrap:anywhere}
}

/* photo tile (Oct 21, from a Figma shot Bastien liked: the product photo as the hero, in its own soft square). Store photos are
   on white; multiply makes that white take the tile's tint, so the shoe sits in the tile instead of a white box pasted on it.
   The tile stays light in dark mode too (a store photo on a dark tile would show its white edges). */
:root{--tile:#F3F3F3}   /* = white at 95.5%: matches the dimmed store photos exactly */
.deal .pic,.compact .deal .pic{background:var(--tile)}
.deal .pic img{mix-blend-mode:multiply}
/* photos that are the element itself (no frame around them to blend with): a 4% dim turns the store's white into the tile's grey */
.cards img,.dl img,.wdeal img,.bwi img,.hero img{background:#fff;filter:brightness(.955)}   /* the dim covers the tile too: white + dim = the photo's grey */
.bwi img{border:0}
@media(min-width:360px) and (max-width:899px){.compact .deal{grid-template-columns:104px minmax(0,1fr)}.compact .deal .pic{width:104px;height:104px;border-radius:var(--r)}}
.cards img{width:80px;height:64px;padding:4px;border-radius:8px}
.dl img{border-radius:8px}
.wdeal img{width:72px;height:56px;border-radius:8px;padding:2px}

/* ===== Redesign (Oct 21, Bastien's approved rendering; B of test 'look', html.rd). Built to match it section by section:
   charcoal header with sections, cream hero (headline, big search with orange Search, dropdown filters, today's best shoe),
   6 category tiles, cards, "Shop by brand", "Why use The Gear Fox". Colours: orange #FF5A00, charcoal #17232B, cream #F6F3EC,
   white, forest green #25483D, light grey #E7E9E6. Barlow Condensed Bold headings, Inter body and prices.
   Orange text is only big and bold (prices 22px+, 3.1:1 = large text); small orange text uses --moss (5.1:1);
   orange buttons have white 16px bold text in the rendering: we keep charcoal text on them (5.6:1, readable for everyone). ===== */
/* light only, like the rendering (Oct 22): a phone in dark mode still gets the light page. html:root.rd outranks the dark-mode
   colours in index.html and at the top of this file (NN/g: light pages read better in normal light; store photos are on white) */
html.rd,html:root.rd{color-scheme:light;
  --err:#B3261E;--scrim:rgba(23,32,28,.55);--band-ink:#FFFFFF;--band-muted:#C9D1CC;--snack:#17201C;--snack-ink:#FFFFFF;--lo-bg:#E2F2E6;--lo-ink:#1C6B37;--hivis-ink:#17232B;--tile:#F3F3F3;
  --ink:#17232B;--muted:#5E6870;--mist:#FDFCF9;--cream:#F6F3EC;--card:#FFFFFF;--line:#E7E9E6;--edge:#D5D8D4;
  --moss:#C24400;--link:#17232B;--hivis:#FF5A00;--hivis-ink:#17232B;--forest:#25483D;--ok:#1F7A3A;--char:#17232B;--price:#FF5A00;
  --body:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--display:"Barlow Condensed","Arial Narrow",Impact,sans-serif;
  --hand:"Caveat","Segoe Print","Bradley Hand",cursive;--r:8px;
}
.rd body{background:var(--mist);font-family:var(--body);font-size:15px}
.rd h1,.rd h2,.rd h3{font-family:var(--display);font-weight:700;letter-spacing:0}

/* header */
.rd .topbar{background:var(--char);border:0;color:#fff}
.rd .topbar .in{gap:10px;padding-top:12px;padding-bottom:12px}
.rd .topbar .logo{flex-direction:row;color:#fff}.rd .topbar .logo img{height:44px}
.rd .topbar .logo{flex-direction:column}.rd .topbar .logo .tag{color:#fff;font-size:8px;margin-top:2px}.rd .topbar .logo img{height:38px}
@media(max-width:899px){.rd .topbar .logo .tag{display:none}}
.rd .topbar .spacer{display:none}
.rd #openSizes,.rd .hsearch{display:none}
.rd .rdnav{display:none}
.rd .topbar .watchbtn{color:#fff;border:0;background:transparent;width:40px;height:40px}
.rd .topbar .watchbtn .n{border-color:var(--char)}
.rd #menuBtn[aria-expanded="true"],.rd .topbar .watchbtn[aria-pressed="true"]{background:rgba(255,255,255,.14);color:#fff}
.rd .rdhb{display:none;align-items:center;gap:6px;background:none;border:0;color:#fff;font:500 14px var(--body);cursor:pointer;padding:8px 6px;border-radius:6px;white-space:nowrap}
.rd .rdhb:hover,.rd .rdnav>*:hover{background:rgba(255,255,255,.1)}
.rd .rdhb .flag{font-size:17px;line-height:1}
.rd .rdmy{margin-left:auto;background:var(--hivis);color:var(--hivis-ink);border:0;border-radius:6px;font:700 14px var(--body);padding:0 14px;min-height:40px;cursor:pointer;white-space:nowrap}
.rd .rdmy:hover{filter:brightness(1.06)}
@media(min-width:900px){
  .rd .rdnav{display:flex;align-items:center;gap:4px;margin-left:24px}
  .rd .rdnav>*{background:none;border:0;color:#fff;font:500 14px var(--body);padding:8px 10px;border-radius:6px;cursor:pointer;text-decoration:none;white-space:nowrap}
  .rd .rdhb{display:inline-flex}.rd .rdsico{margin-left:auto}.rd .rdmy{margin-left:6px}
}
/* narrower computers: the bar keeps what fits (the search is right below in the hero; language + country are in the menu too) */
@media(min-width:900px) and (max-width:1399px){.rd #rnShoes,.rd .rdsico{display:none}.rd .rdctry{margin-left:auto}}
.rd .topbar .logo .tag{letter-spacing:.1em}
@media(min-width:900px) and (max-width:1199px){.rd #rnShoes,.rd .rdsico{display:none}.rd .rdctry{margin-left:auto}.rd .rdnav{margin-left:8px;gap:0}}
@media(min-width:900px) and (max-width:1023px){.rd .rdlang{display:none}.rd .rdnav>*{padding:8px 7px}}
.rd .menu{color:var(--ink)}

/* hero */
.rd .rdhero{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:0 -16px;padding:22px 16px 18px;background:var(--cream)}
.rd .rdhero h1{margin:0;font-size:clamp(34px,9.4vw,60px);line-height:1;color:var(--ink);text-wrap:balance}
.rd .rdhero h1 em{font-style:normal;color:var(--hivis)}
.rd .rdsub{margin:14px 0 18px;font-size:16px;line-height:1.5;color:var(--ink);max-width:560px}
.rd .rdsearch{display:flex;align-items:center;gap:8px;background:var(--card);border:1px solid var(--line);border-radius:10px;padding:6px 6px 6px 14px;box-shadow:0 2px 10px rgba(23,35,43,.06);max-width:560px}
.rd .rdsearch .ico{display:flex;color:var(--ink)}
.rd .rdsearch .search{flex:1;min-width:0;margin:0;border:0;background:transparent;font:400 16px var(--body);color:var(--ink);padding:10px 4px;min-height:0;outline:0;box-shadow:none}
.rd .rdsearch:focus-within{border-color:var(--ink);box-shadow:0 0 0 2px rgba(255,90,0,.35)}
.rd .rdgo{display:flex;align-items:center;gap:8px;background:var(--hivis);color:var(--hivis-ink);border:0;border-radius:7px;font:700 16px var(--body);padding:0 18px;min-height:44px;cursor:pointer}
.rd .rdgo svg{display:none}
@media(max-width:379px){.rd .rdgo span{display:none}.rd .rdgo svg{display:block}.rd .rdgo{padding:0 12px}}
.rd .rdfilters{display:flex;gap:8px;align-items:center;margin-top:16px;overflow-x:auto;scrollbar-width:none;margin-left:-16px;margin-right:-16px;padding:2px 16px 4px}
.rd .rdfilters::-webkit-scrollbar{display:none}
.rd .dd{position:relative;flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;background:var(--card);border:1px solid var(--line);border-radius:8px;min-height:42px;padding:0 12px;font:500 14px var(--body);color:var(--ink);cursor:pointer;white-space:nowrap}
.rd .dd select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font:16px var(--body)}   /* the real select on top, invisible: the label shows the choice, so each box is as wide as its words */
.rd .dd .v{max-width:160px;overflow:hidden;text-overflow:ellipsis}
.rd .dd:focus-within{border-color:var(--ink);outline:2px solid rgba(255,90,0,.45);outline-offset:1px}
.rd .dd .chev{flex:none;pointer-events:none}
.rd .dd.on{border-color:var(--hivis);box-shadow:inset 0 0 0 1px var(--hivis)}
.rd .rdtog{flex:0 0 auto;display:inline-flex;align-items:center;gap:10px;font:500 14px var(--body);color:var(--ink);cursor:pointer;white-space:nowrap;padding:0 4px}
.rd .rdtog input{position:absolute;opacity:0;width:1px;height:1px}
.rd .rdtog .sw{position:relative;width:44px;height:26px;border-radius:13px;background:var(--edge);transition:background .15s}
.rd .rdtog .sw::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:transform .15s}
.rd .rdtog input:checked+.sw{background:var(--hivis)}
.rd .rdtog input:checked+.sw::after{transform:translateX(18px)}
.rd .rdtog input:focus-visible+.sw{outline:2px solid var(--ink);outline-offset:2px}
.rd .rdfilters .filtbtn{display:inline-flex;flex:0 0 auto;min-height:42px;border-radius:8px;border:0;background:none;color:var(--moss);font:600 14px var(--body);padding:0 6px;text-decoration:underline;text-underline-offset:3px}
.rd .rdfilters .filtbtn svg{display:none}
.rd .rdhp{display:none}
@media(min-width:760px){
  .rd .rdhero{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;padding:38px 0 34px;margin:0;box-shadow:0 0 0 100vmax var(--cream);clip-path:inset(0 -100vmax)}   /* the cream runs edge to edge without widening the page (100vw counts the scrollbar) */
  .rd .rdfilters{flex-wrap:wrap;overflow:visible;margin:18px 0 0;padding:0}
  .rd .rdhp{display:block;position:relative;align-self:center}
}
.rd .rdhd{position:relative;display:block;text-decoration:none;color:var(--ink)}
.rd .rdhd .hi{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3}
.rd .rdhd img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}   /* the store's white photo melts into the cream */
.rd .rdhd .upto{position:absolute;top:4%;right:0;background:var(--card);color:var(--hivis);font:700 44px/1 var(--display);padding:14px 16px;border-radius:14px;box-shadow:0 6px 20px rgba(23,35,43,.12)}
.rd .rdhd .cap{display:block;margin-top:6px;font:500 13px var(--body);color:var(--muted);text-align:left;max-width:58%}
.rd .rdhd:hover .cap{color:var(--ink);text-decoration:underline}
.rd .rdhp .note{position:absolute;right:0;bottom:-8px;margin:0;font:600 22px/1.05 var(--hand);color:var(--ink);transform:rotate(-8deg);text-align:left}
@media(max-width:899px){.rd .rdhp .note{display:none}}
.rd:not(.rdw) #pageTitle,.rd .toprow,.rd #lede,.rd #sizePill{display:none}
.rd.rdw .rdhero,.rd.rdw .rdtiles,.rd.rdw .rdwhy{display:none}

/* category tiles */
.rd .rdtiles{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 20px)/2.4);gap:10px;overflow-x:auto;scrollbar-width:none;margin:18px -16px 6px;padding:2px 16px 4px}
.rd .rdtiles::-webkit-scrollbar{display:none}
@media(min-width:760px){.rd .rdtiles{grid-auto-flow:row;grid-template-columns:repeat(6,minmax(0,1fr));margin:22px 0 8px;padding:0;overflow:visible}}
.rd .rdtile{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:0;padding:0;background:var(--card);border:1px solid var(--line);border-radius:var(--r);cursor:pointer;text-align:left;color:var(--ink);overflow:hidden;font:inherit}
.rd .rdtile:hover{border-color:var(--edge);box-shadow:0 4px 14px rgba(23,35,43,.08)}
.rd .rdtile[aria-pressed="true"]{border-color:var(--hivis);box-shadow:inset 0 0 0 1px var(--hivis)}
.rd .rdtile .tp{grid-column:1/3;display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;background:#fff;overflow:hidden}
.rd .rdtile .tp img{width:100%;height:100%;object-fit:contain;padding:8px}
.rd .rdtile .tt{display:flex;flex-direction:column;gap:2px;padding:10px 0 12px 12px;min-width:0}
.rd .rdtile .tt b{font:700 18px/1.1 var(--display)}
.rd .rdtile .tt small{font:400 12.5px var(--body);color:var(--muted)}
.rd .rdtile .ta{align-self:center;padding:0 12px 0 6px;color:var(--ink)}
.rd #cats,.rd #filtersBox:not(.open){display:none}
.rd #filtersBox.open{margin:6px 0 8px}

/* section titles */
.rd .grp h2{display:flex;align-items:baseline;gap:8px;font-size:30px;line-height:1.1;margin:26px 0 12px}
.rd .grp h2 small{font:400 14px var(--body);color:var(--muted)}
.rd .rdmore{margin-left:auto;display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:4px 0;color:var(--moss);font:500 15px var(--body);cursor:pointer;white-space:nowrap}
.rd .rdmore svg{flex:none}

/* deal cards */
.rd .grid{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:700px){.rd .grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:960px){.rd .grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1000px){.rd .grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
.rd .rdc .deal,.rd .compact .rdc .deal{display:flex;flex-direction:column;gap:2px;position:relative;padding:12px 12px 40px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:none}
.rd .rdc.hascmp .deal{padding-bottom:40px}
.rd .rdc .deal:hover{border-color:var(--edge);box-shadow:0 6px 18px rgba(23,35,43,.08)}
.rd .rdc .pic,.rd .compact .rdc .pic{position:relative;margin:-12px -12px 10px;width:auto;height:auto;aspect-ratio:1/1;background:#fff;border-radius:var(--r) var(--r) 0 0;display:flex;align-items:center;justify-content:center;overflow:hidden;grid-row:auto}
.rd .rdc .pic img,.rd .compact .rdc .pic img{width:100%;height:100%;object-fit:contain;padding:30px 12px 8px;mix-blend-mode:normal;filter:none;background:none}
.rd .rdc .pic.nopic::after{content:attr(data-b);font:700 20px/1.1 var(--display);color:#8A949A;text-transform:uppercase;letter-spacing:.04em;text-align:center;padding:0 12px}
.rd .rdc .pct{position:absolute;top:10px;left:10px;z-index:1;background:var(--forest);color:#fff;font:700 13px/1 var(--body);padding:5px 7px;border:0;border-radius:4px}
.rd .rdc .name{font:600 15px/1.3 var(--body);color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rd .rdc .name .brand{font:inherit;color:inherit;text-transform:none;letter-spacing:0}
.rd .rdc .kind{font:400 13.5px/1.3 var(--body);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rd .rdc .price{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px;margin:10px 0 6px}
.rd .rdc .price b{font:700 23px/1.1 var(--body);color:var(--price);letter-spacing:-.01em}
.rd .rdc .price .cur{font:600 11px var(--body);color:var(--muted);margin-left:-5px}
.rd .rdc .price s{font:400 14px var(--body);color:var(--muted)}
.rd .rdc .store{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;color:var(--ink);padding:0;margin-top:2px}
.rd .rdc .store b{font:700 13px/1.2 var(--body);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rd .rdc .store .ok{flex:none;display:inline-flex;align-items:center;gap:5px;font:500 12px var(--body);color:var(--ok)}
.rd .rdc .store .ok::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.rd .rdc .store2{font-size:12px;color:var(--muted)}.rd .rdc .store2 .abroad,.rd .rdc .store2 .fin{color:var(--ink);font-weight:600}
.rd .rdc .szrow{display:flex;gap:6px;margin-top:10px;flex-wrap:nowrap;overflow:hidden}
.rd .rdc .szrow .sz{flex:1 1 0;min-width:0;max-width:40px;height:32px;display:flex;align-items:center;justify-content:center;padding:0 2px;font:500 13px var(--body);color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:4px}
.rd .rdc .szrow .sz.you{background:var(--hivis);border-color:var(--hivis);color:#fff;font-weight:700}
.rd .rdc .szrow .szmore{display:none}
@media(max-width:559px){.rd .rdc .szrow .sz.far{display:none}}
.rd .rdc .badge.lo30{margin-top:4px}
.rd .rdc .lostamp{background:var(--forest)}
/* heart: a plain outline at the photo's top right (the words stay for screen readers) */
.rd .rdc .heart{top:6px;right:6px;bottom:auto;width:40px;min-width:40px;height:40px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--ink)}
.rd .rdc .heart .hl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.rd .rdc .heart svg{width:22px;height:22px}
.rd .rdc .heart[aria-pressed="true"]{color:var(--hivis)}
.rd .rdc .heart:hover{background:rgba(23,35,43,.06)}
/* the small links at the bottom: all sizes & stores (shoes) and "Wrong price?" */
.rd .rdc .cmp{left:12px;bottom:12px;font:600 12.5px var(--body);color:var(--ink)}
.rd .rdc .rep{left:auto;right:12px;bottom:12px;font-size:12px}
.rd .rdc .rep .rl{display:none}.rd .rdc .rep .rs{display:inline}
.rd .rdc .repbox.thanks{left:auto;right:12px}
@media(max-width:379px){.rd .rdc.hascmp .deal{padding-bottom:58px}.rd .rdc .cmp{bottom:32px}}
.rd .btn.more{border:1px solid var(--ink);background:var(--card);color:var(--ink);font:600 15px var(--body);border-radius:var(--r)}
.rd .primary{background:var(--hivis);color:var(--hivis-ink);font-family:var(--body);font-weight:700;border-radius:var(--r)}
.rd .tw .pct,.rd .wdeal .pct{background:var(--forest);color:#fff;border:0}
.rd .deal.tile .price b{color:var(--price);font-family:var(--body);font-weight:700}

/* shop by brand */
.rd .rdbrands{margin:8px 0 4px}
.rd .rdsh{display:flex;align-items:baseline;gap:12px}
.rd .rdsh h2{font-size:30px;margin:26px 0 12px}
.rd .rdbrands .bl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
@media(min-width:760px){.rd .rdbrands .bl{grid-template-columns:repeat(8,minmax(0,1fr))}}
.rd .rdbrands .bt{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:92px;padding:12px 6px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);cursor:pointer;color:var(--ink);font:inherit}
.rd .rdbrands .bt:hover{border-color:var(--edge);box-shadow:0 4px 14px rgba(23,35,43,.08)}
.rd .rdbrands .bt b{font:700 italic 20px/1 var(--display);text-transform:uppercase;letter-spacing:.01em;text-align:center;overflow-wrap:anywhere}
.rd .rdbrands .bt small{font:400 13px var(--body);color:var(--muted)}

/* why */
.rd .rdwhy{margin:34px 0 8px;padding:24px 20px;background:var(--cream);border-radius:16px}
.rd .rdwhy h2{font-size:28px;margin:0 0 18px}
.rd .rdwhy .wl{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
@media(min-width:760px){.rd .rdwhy{padding:28px 30px}.rd .rdwhy .wl{grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.rd .rdwhy .wi+.wi{border-left:1px solid var(--edge);padding-left:22px}.rd .rdwhy .wi{padding-right:18px}}
.rd .rdwhy .wi{display:flex;gap:14px;align-items:flex-start}
.rd .rdwhy .wi svg{flex:none;color:var(--hivis)}
.rd .rdwhy .wi b{display:block;font:700 19px/1.15 var(--display);margin:2px 0 6px}
.rd .rdwhy .wi p{margin:0;font-size:13.5px;line-height:1.45;color:var(--muted)}

/* footer band */
.rd main>.foot[data-i18n="footer"]{margin-top:28px;padding:22px 0 26px;background:var(--char);color:#D9DEE1;box-shadow:0 0 0 100vmax var(--char);clip-path:inset(0 -100vmax -100vmax)}
.rd main>.foot[data-i18n="footer"] a{color:#fff}
.rd main.wrap{padding-bottom:0}
.rd .rdht{min-width:0}   /* lets the filter row scroll inside the phone instead of widening the page */
.rd .rdc .pic,.rd .compact .rdc .pic{align-self:stretch}
@media(max-width:559px){.rd .rdbrands .bt b{font-size:16px;overflow-wrap:normal;word-break:normal}.rd .rdbrands .bt{min-height:80px;padding:10px 4px}}
.rd .rdtog{position:relative}   /* keeps the hidden checkbox inside the scrolling row */
.rd .rdc .name{min-height:2.6em}   /* one- and two-line names keep prices and sizes on the same line across a row */
@media(min-width:900px) and (max-width:1199px){.rd .rdlang{display:none}.rd .rdnav>*{padding:8px 6px;font-size:13.5px}}
@media(min-width:900px) and (max-width:999px){.rd .rdctry{font-size:13px}.rd .topbar .logo img{height:32px}}
@media(max-width:359px){.rd .rdmy{padding:0 10px;font-size:13px}.rd .topbar .in{gap:6px}}
@media(min-width:900px) and (max-width:999px){.rd .rdnav{margin-left:4px}.rd .rdnav>*{padding:8px 5px;font-size:13px}.rd .rdmy{padding:0 10px}}
.rd .wdeal .wp{font:700 17px/1.15 var(--body);color:var(--ink)}
.rd .wdeal .wp b,.rd .wdeal .wp>span:first-of-type{color:var(--price)}
.rd .wdeal .pct{font:700 12px/1 var(--body);padding:4px 6px;border-radius:4px}
.rd .wdeal .wn b{font:600 11.5px var(--body);letter-spacing:.06em}
.rd .wcat b{font:700 17px/1.15 var(--display)}
.rd .sheet .panel h2{font-family:var(--display);font-weight:700}
.rd .rdc .heart{color:#17232B}.rd .rdc .heart[aria-pressed="true"]{color:var(--hivis)}   /* it sits on the white photo in both themes */

/* ===== Phones (Oct 21, Bastien: "it looks funky on the phone"): nothing cut off at the edge, a short top, all 6 categories at once ===== */
@media(max-width:759px){
  .rd .rdhero{padding:18px 16px 16px}
  .rd .rdhero h1{font-size:clamp(30px,9vw,40px)}
  .rd .rdsub{font-size:15px;margin:10px 0 14px}
  .rd.rdsized .rdsub{display:none}                         /* returning with sizes: the headline says it all, the deals come up sooner */
  .rd.rdsized .rdhero h1{margin-bottom:14px}
  .rd .rdsearch{padding:5px 5px 5px 12px}
  .rd .rdsearch .search{font-size:16px;padding:9px 2px}
  .rd .rdgo{padding:0 14px;min-height:42px;font-size:15px}
  /* filters: two even rows of boxes, every one fully visible (no half-box at the edge) */
  .rd .rdfilters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;overflow:visible;margin:12px 0 0;padding:0}
  .rd .dd{min-height:40px;padding:0 10px;font-size:13.5px;justify-content:space-between;min-width:0}
  .rd .dd .v{max-width:none;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .rd #ddSize{grid-column:1/2}
  .rd .rdtog{grid-column:1/3;font-size:13.5px;padding:0;gap:8px}
  .rd .rdtog .sw{width:40px;height:24px}.rd .rdtog .sw::after{width:18px;height:18px}.rd .rdtog input:checked+.sw::after{transform:translateX(16px)}
  .rd .rdfilters .filtbtn{justify-self:end;font-size:13.5px;min-height:40px;padding:0}
  /* categories: a 3 x 2 grid of small tiles, photo above, name + count below */
  .rd .rdtiles{grid-auto-flow:row;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-columns:auto;overflow:visible;margin:14px 0 4px;padding:0;gap:8px}
  .rd .rdtile{grid-template-columns:minmax(0,1fr)}
  .rd .rdtile .tp{grid-column:1;aspect-ratio:3/2}
  .rd .rdtile .tp img{padding:6px}
  .rd .rdtile .tt{padding:6px 8px 8px;gap:0}
  .rd .rdtile .tt b{font-size:15px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .rd .rdtile .tt small{font-size:11.5px}
  .rd .rdtile .ta{display:none}
  /* section titles: one line */
  .rd .grp h2,.rd .rdsh h2{font-size:24px;margin:20px 0 10px}
  .rd .rdmore{font-size:14px}
  /* cards: tighter on a 2-column phone */
  .rd .grid{gap:8px}
  .rd .rdc .deal,.rd .compact .rdc .deal{padding:10px 10px 34px}
  .rd .rdc .pic,.rd .compact .rdc .pic{margin:-10px -10px 8px}
  .rd .rdc .pic img,.rd .compact .rdc .pic img{padding:26px 8px 6px}
  .rd .rdc .name{font-size:14px;min-height:2.6em}
  .rd .rdc .kind{font-size:12.5px}
  .rd .rdc .price{margin:6px 0 4px;gap:0 6px}
  .rd .rdc .price b{font-size:20px}
  .rd .rdc .price s{font-size:12.5px}
  .rd .rdc .store b{font-size:12.5px}
  .rd .rdc .store .ok{font-size:11.5px;gap:4px}
  .rd .rdc .szrow{gap:5px;margin-top:8px}
  .rd .rdc .szrow .sz{height:30px;font-size:12.5px}
  .rd .rdc .pct{top:8px;left:8px;font-size:12px;padding:4px 6px}
  .rd .rdc .heart{top:2px;right:2px}
  .rd .rdc .cmp,.rd .rdc .rep{bottom:10px;font-size:11.5px}.rd .rdc .cmp{left:10px}.rd .rdc .rep{right:10px}
  .rd .rdbrands .bl{gap:8px}
  .rd .rdwhy{padding:20px 16px}.rd .rdwhy .wi svg{width:34px;height:34px}
}
@media(max-width:379px){
  .rd .rdfilters{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rd .rdtog{grid-column:1/2}
  .rd .rdtile .tt b{font-size:14px}
  .rd .rdc .store .ok{font-size:0;gap:0}.rd .rdc .store .ok::before{width:8px;height:8px}   /* 320px: the green dot alone says in stock (the words stay for screen readers via title) */
}
/* names of 1 or 2 lines: the price, store and sizes sit at the bottom of every card, so a row lines up (no blank line under short names) */
.rd .rdc .name,.rd .rdc .name{min-height:0}
.rd .rdc .kind{margin-bottom:6px}
.rd .rdc .price{margin-top:auto!important}
@media(max-width:759px){.rd .dd:has(#ddStore){grid-column:span 2}}
@media(max-width:379px){.rd .dd:has(#ddStore){grid-column:span 1}}
/* French words are longer: the bar drops the extras sooner (all of them are in the ☰ menu too) */
@media(min-width:900px) and (max-width:999px){.rd .rdctry{display:none}}
@media(min-width:900px) and (max-width:1599px){html.rd[lang="fr"] #rnShoes,html.rd[lang="fr"] .rdsico{display:none}}
@media(min-width:900px) and (max-width:1199px){html.rd[lang="fr"] .rdnav>*{padding:8px 5px}}
@media(min-width:900px) and (max-width:999px){.rd .rdmy{margin-left:auto}}
.rd .rdtog .sw{flex:none}
@media(max-width:379px){
  .rd .dd:has(#ddStore){grid-column:span 2}
  .rd .rdc.hascmp .deal{padding-bottom:54px}.rd .rdc.hascmp .cmp{bottom:30px}
  .rd .rdtile .tt small{font-size:11px;white-space:nowrap}
}
.rd .rdmore .s{display:none}
@media(max-width:559px){
  .rd .grp h2,.rd .rdsh{flex-wrap:wrap}
  .rd .rdmore .l{display:none}.rd .rdmore .s{display:inline}
}

/* ===== Phones, round 2 (Oct 21, Bastien: "make it more user friendly for mobile, that's where our people are") ===== */
/* the bar that stays under the header once the hero's search has scrolled away */
.rdbar{display:none}
.rd.rdpast .rdbar{display:block;background:var(--char);padding:0 0 10px}
.rd .rdbar .in{max-width:680px;margin:0 auto;padding:0 16px;display:flex;gap:8px}
.rd .rdbar button{display:flex;align-items:center;gap:8px;min-height:44px;border-radius:8px;font:500 15px var(--body);cursor:pointer;border:0}
.rd .rdbar .sbs{flex:1;min-width:0;background:#fff;color:#56626A;padding:0 14px;text-align:left}
.rd .rdbar .sbs span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rd .rdbar .sbf{flex:none;position:relative;background:var(--hivis);color:var(--hivis-ink);font-weight:700;padding:0 14px}
.rd .rdbar .sbf .n{font-style:normal;min-width:20px;height:20px;border-radius:10px;background:var(--char);color:#fff;font:700 12px/20px var(--body);text-align:center;padding:0 5px}
.rd .rdbar .sbf .n:empty{display:none}
@media(min-width:760px){.rd.rdpast .rdbar{display:none}}
/* the filter panel: slides up from the bottom, every filter full width, one big "Show N deals" */
.rdfs[hidden],.rd .rdfs[hidden]{display:none}   /* the panel's own display:flex must never beat hidden: it would cover the page */
.rd .rdfs{position:fixed;inset:0;z-index:60;background:rgba(10,17,21,.55);display:flex;align-items:flex-end}
.rd .rdfsp{width:100%;max-height:88vh;display:flex;flex-direction:column;background:var(--mist);border-radius:16px 16px 0 0;padding-bottom:env(safe-area-inset-bottom,0px);box-shadow:0 -10px 30px rgba(0,0,0,.2)}
@media (prefers-reduced-motion:no-preference){.rd .rdfsp{animation:rdup .2s ease-out}@keyframes rdup{from{transform:translateY(40px);opacity:.6}to{transform:none;opacity:1}}}
.rd .rdfsp .h{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 8px}
.rd .rdfsp .h b{font:700 24px var(--display)}
.rd .rdfsp .x{width:44px;height:44px;border:0;background:none;color:var(--ink);display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:50%}
.rd .rdfsp .b{overflow-y:auto;padding:4px 16px 12px}
.rd .rdfsp .f{padding:10px 16px 14px;border-top:1px solid var(--line);background:var(--card)}
.rd .rdfsp .f .primary{width:100%;min-height:50px;font-size:17px}
.rd .rdfsp .rdfilters{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin:0;padding:0;overflow:visible}
.rd .rdfsp .dd{min-height:50px;font-size:16px;padding:0 14px}
.rd .rdfsp .rdtog{min-height:50px;font-size:16px;justify-content:space-between;flex-direction:row-reverse;padding:0 4px}
.rd .rdfsp .rdfilters .filtbtn{display:none}
.rd .rdfsp #filtersBox{display:block;margin:14px 0 0}
.rd .rdfsp #filtersBox .tools{display:flex;flex-wrap:wrap;gap:8px}
.rd .rdfsp #filtersBox .chip,.rd .rdfsp #filtersBox select{min-height:44px}
.rd .rdfsp #filtersBox #cats{display:none}
/* bigger tap targets on phones (Apple's minimum is 44 x 44) */
@media(max-width:759px){
  .rd .dd{min-height:44px}
  .rd .rdc .heart{width:44px;height:44px;min-width:44px;top:0;right:0}
  .rd .rdfilters .filtbtn{min-height:44px}
}
/* small phones (under 380px, iPhone SE): one deal per row, photo beside the details, bigger photo and price */
@media(max-width:379px){
  .rd .grid{grid-template-columns:minmax(0,1fr)}
  .rd .rdc .deal,.rd .compact .rdc .deal{display:grid;grid-template-columns:120px minmax(0,1fr);column-gap:12px;row-gap:2px;align-content:start;padding:10px 10px 36px}
  .rd .rdc .deal>*{grid-column:2}
  .rd .rdc .pic,.rd .compact .rdc .pic{grid-column:1;grid-row:1/span 8;margin:-10px 0 0 -10px;width:130px;height:auto;aspect-ratio:1/1;border-radius:var(--r) 0 var(--r) 0;align-self:start}
  .rd .rdc .pic img,.rd .compact .rdc .pic img{padding:24px 6px 6px}
  .rd .rdc .price{margin-top:6px!important}
  .rd .rdc .price b{font-size:21px}
  .rd .rdc .store .ok{font-size:11.5px;gap:4px}
  .rd .rdc .heart{left:86px;right:auto;top:0}
  .rd .rdc.hascmp .deal{padding-bottom:36px}.rd .rdc.hascmp .cmp{bottom:10px}
  .rd .rdc .cmp{left:150px}
}
@media(max-width:379px){
  .rd .rdc .cmp{left:10px}
  .rd .rdbrands .bt b{font-size:14px}.rd .rdbrands .bt small{font-size:12px}
}

/* category tiles (Oct 21): 4:3 photo box, the whole product shown, rounded, on a soft neutral (store whites melt into it); the name is text below */
.rd .rdtile .tp,.rd .wcat .wcp{aspect-ratio:4/3;background:#F7F5F0;border-radius:6px;margin:6px 6px 0;overflow:hidden}
.rd .rdtile .tp img,.rd .wcat .wcp img{width:100%;height:100%;object-fit:contain;padding:0;mix-blend-mode:multiply}
.rd .rdtile{gap:0}
.rd .rdtile .tt b{font-family:var(--body);font-weight:600;font-size:15px}
@media(max-width:759px){.rd .rdtile .tp{aspect-ratio:4/3;margin:5px 5px 0}.rd .rdtile .tt b{font-size:13.5px}.rd .rdtiles{gap:8px}}
@media(max-width:379px){.rd .rdtile .tt b{font-size:12.5px}}
@media(max-width:759px){.rd .rdtile .tt b{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.15}}   /* "Gear & Watches" on two lines, never cut */

/* ===== Phone pass (Oct 22, Bastien OK'd) ===== */
/* orange only for "you" and "act" (your size, main buttons, the headline accent): prices in bold charcoal, easiest to read;
   the discount badge stays green. The isolation effect: a colour only draws the eye when it's rare. */
html.rd,html:root.rd{--price:#17232B}
/* phones: your size + one Filters button under the search; the five boxes are in the Filters panel */
.rdqf{display:none}
@media(max-width:759px){
  .rd .rdhero #rdFilters{display:none}
  .rd .rdqf{display:flex;gap:8px;margin-top:10px}
  .rd .rdqf .dd{flex:1;min-width:0;justify-content:space-between;min-height:44px;font:500 15px var(--body)}
  .rd .rdqf .dd span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .rd .rdqfb{flex:none;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:0;border-radius:8px;background:var(--char);color:#fff;font:600 15px var(--body);cursor:pointer}
  .rd .rdqfb .n{font-style:normal;min-width:20px;height:20px;border-radius:10px;background:var(--hivis);color:var(--hivis-ink);font:700 12px/20px var(--body);text-align:center;padding:0 5px}
  .rd .rdqfb .n:empty{display:none}
}
/* "Wrong price or size?" behind a small ⋯ at the card's bottom right (the reasons open as before) */
.rd .rdc .rdrep{left:auto;right:6px;bottom:4px;width:40px;height:32px;padding:0;display:flex;align-items:center;justify-content:center;text-decoration:none;font:700 20px/1 var(--body);color:var(--muted);border-radius:6px;letter-spacing:1px}
.rd .rdc .rdrep:hover{background:rgba(23,35,43,.06);color:var(--ink)}
.rd .rdc .deal,.rd .compact .rdc .deal{padding-bottom:36px}
.rd .rdc:not(.hascmp) .deal{padding-bottom:30px}

/* ===== Category circles (Oct 22, Bastien: "very small circles"; one store's photos, fixed) ===== */
.rd .rdtiles{display:grid;grid-auto-flow:row;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;overflow:visible;margin:16px 0 6px;padding:0}
.rd .rdtile{display:flex;flex-direction:column;align-items:center;gap:6px;padding:4px 0;background:none;border:0;border-radius:0;box-shadow:none;text-align:center;overflow:visible}
.rd .rdtile:hover{box-shadow:none}
.rd .rdtile .tp{width:100%;max-width:84px;aspect-ratio:1/1;margin:0;border-radius:50%;background:#fff;border:1px solid var(--line);overflow:hidden;display:flex;align-items:center;justify-content:center;transition:border-color .15s}
.rd .rdtile .tp img{width:100%;height:100%;object-fit:contain;padding:12%;mix-blend-mode:normal}
.rd .rdtile:hover .tp{border-color:var(--edge)}
.rd .rdtile[aria-pressed="true"]{box-shadow:none;border:0}
.rd .rdtile[aria-pressed="true"] .tp{border:2px solid var(--hivis)}
.rd .rdtile .tt{padding:0;align-items:center;gap:1px}
.rd .rdtile .tt b{font:600 13px/1.2 var(--body);white-space:normal}
.rd .rdtile .tt small{font-size:11.5px}
.rd .rdtile .ta{display:none}
@media(min-width:760px){.rd .rdtiles{gap:16px;margin:24px auto 8px;max-width:760px}.rd .rdtile .tp{max-width:96px}.rd .rdtile .tt b{font-size:14px}}
@media(max-width:559px){.rd .rdtile .tt small{display:none}.rd .rdtile .tt b{font-size:11.5px}}   /* phones: name only, the circles stay in one row */
@media(max-width:379px){.rd .rdtiles{gap:3px}.rd .rdtile .tt b{font-size:10.5px}}
/* welcome screen: the same pictures, same circles */
.rd .wcat{align-items:center;text-align:center;border:0;background:none;padding:4px 0}
.rd .wcat .wcp{width:72px;max-width:100%;aspect-ratio:1/1;margin:0 auto 4px;border-radius:50%;background:#fff;border:1px solid var(--line)}
.rd .wcat .wcp img{padding:12%;mix-blend-mode:normal}
@media(max-width:559px){   /* phones: a swipeable row (names never touch); the half circle at the edge says "swipe" */
  .rd .rdtiles{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;margin:14px -16px 4px;padding:2px 12px 4px}
  .rd .rdtiles::-webkit-scrollbar{display:none}
  .rd .rdtile{flex:0 0 78px;padding:2px 0}
  .rd .rdtile .tp{width:64px;max-width:none}
  .rd .rdtile .tt b,.rd .rdtile .tt b{font-size:12px;line-height:1.2}
}
/* the count headline ("1,594 deals in your size.") on one line wherever it fits (Oct 22, Bastien) */
.rd.rdsized .rdhero h1{font-size:clamp(28px,8.4vw,54px);text-wrap:wrap;white-space:normal}
/* Oct 22: the category bar ("Shoes · × All categories") and "Why use" as a compact 2 x 2 on phones */
.rd .rdcatbar{border-color:var(--hivis)}
@media(max-width:759px){
  .rd .rdwhy{padding:18px 14px;margin-top:24px}
  .rd .rdwhy h2{font-size:22px;margin-bottom:12px}
  .rd .rdwhy .wl{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
  .rd .rdwhy .wi{flex-direction:column;gap:6px}
  .rd .rdwhy .wi svg{width:26px;height:26px}
  .rd .rdwhy .wi b{font-size:16px;margin:0 0 2px}
  .rd .rdwhy .wi p{font-size:12.5px;line-height:1.4}
}
.rd .rdcatbar small .linkbtn{border:0;padding:0;min-height:0;background:none;color:var(--moss);font:600 13px var(--body);text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
/* sizes inside the category box (no size picked yet) + an obvious "Pick your size" button at the top */
.rd .rdcatbar{flex-wrap:wrap}
.rd .rdqs{flex:1 0 100%;border-top:1px solid var(--line);margin-top:4px;padding-top:12px}
.rd .rdqs p{margin:0 0 8px;font:700 17px var(--display)}
.rd .rdqs .qg{display:inline-flex;border:1px solid var(--edge);border-radius:8px;overflow:hidden;margin-bottom:8px}
.rd .rdqs .qg button{border:0;background:var(--card);color:var(--ink);font:600 14px var(--body);padding:0 16px;min-height:40px;cursor:pointer}
.rd .rdqs .qg button+button{border-left:1px solid var(--edge)}
.rd .rdqs .qg button[aria-pressed="true"]{background:var(--char);color:#fff}
.rd .rdqs .qz{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.rd .rdqs .qz::-webkit-scrollbar{display:none}
.rd .rdqs .qz button{flex:0 0 auto;min-width:46px;min-height:44px;border:1px solid var(--edge);border-radius:8px;background:var(--card);color:var(--ink);font:600 15px var(--body);cursor:pointer}
.rd .rdqs .qz button:hover{border-color:var(--hivis)}
.rd .rdqs .qz.off button{opacity:.35;cursor:default}
.rd .rdqs .qh{display:block;margin-top:6px;color:var(--muted);font-size:12.5px}
.rd .dd.need,.rd #rdQS.need{border:1.5px solid var(--hivis);color:var(--moss);font-weight:700}
/* Oct 22: phones drop the header's "My sizes" (the size button under the search does it, and says which size);
   computers get the same search + Filters bar once the search scrolls away; the Filters panel sits centred there */
@media(max-width:759px){.rd .rdmy{display:none}.rd .topbar .watchbtn{margin-left:auto}.rd .topbar .watchbtn~.watchbtn{margin-left:0}}
@media(min-width:760px){
  .rd.rdpast .rdbar{display:block}
  .rd .rdbar .in{max-width:1180px;padding:0 16px}
  .rd .rdbar .sbs{max-width:640px}
  .rd .rdfs{align-items:center;justify-content:center}
  .rd .rdfsp{max-width:520px;border-radius:16px;max-height:84vh}
}

/* ===== Phones: search in the header (Oct 22, Bastien) ===== */
.rd .rdbar .sbz{display:none}
.hfilt{display:none}
@media(max-width:759px){
  .rd .rdhs .topbar .logo picture,.rd .rdhs .topbar .logo .tag{display:none}
  .rd .rdhs .topbar .logo .logomini{display:block;width:40px;height:40px;border-radius:50%}
  .rd .rdhs .hsearch{display:flex;flex:1;min-width:0}
  .rd .rdhs .hsearch .search{margin:0;width:100%;min-width:0;min-height:42px;border-radius:999px;border:0;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2356626A' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") no-repeat 13px 50%;padding:0 12px 0 38px;font:400 16px var(--body);color:#17232B}
  .rd .rdhs .hsearch .search:focus{outline:2px solid var(--hivis);outline-offset:1px}
  .rd .rdhs .topbar .watchbtn{margin-left:0}
  .rd .rdhs .rdsearch{display:none}
  .rd .rdhs .rdqf{margin-top:12px}
  .rd .rdhs .rdqfb{display:none}   /* Filters is in the header box on phones: one button, not two */
  .rd .rdhs .rdbar .sbs{display:none}
  .rd.rdpast .rdhs .rdbar{display:none}   /* Oct 22: no bar following the scroll on phones; Filters sits in the header search box */
  .rd .rdhs .hsearch{position:relative}
  .rd .rdhs .hsearch .search{padding-right:48px}
  .rd .rdhs .hfilt{display:flex;position:absolute;right:3px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;border-radius:50%;background:var(--hivis);color:var(--hivis-ink);align-items:center;justify-content:center;cursor:pointer}
  .rd .rdhs .hfilt .n{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;border-radius:9px;background:var(--char);color:#fff;font:700 11px/18px var(--body);font-style:normal;text-align:center;padding:0 4px;box-shadow:0 0 0 2px #fff}
  .rd .rdhs .hfilt .n:empty{display:none}
  .rd .rdhs .rdbar .sbz{display:flex;flex:1;min-width:0;justify-content:space-between;background:#fff;border:0;min-height:44px;border-radius:8px;padding:0 14px;font:500 15px var(--body);color:var(--ink)}
  .rd .rdhs .rdbar .sbz span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .rd .rdhs .rdbar .sbz.need{color:var(--moss);font-weight:700}
}
@media(max-width:359px){
  .rd .rdhs .hsearch .search{padding:0 40px 0 30px;background-position:9px 50%;font-size:15px}
  .rd .rdhs .hsearch .search::placeholder{font-size:14px}
  .rd .rdhs .hfilt{width:34px;height:34px}
}
.rd .topbar .logo .tag{display:none}   /* Oct 22, Bastien: "let's remove the outfox full price" from the homepage */

/* ===== Core things kept (Oct 22, Bastien: "I just need you to not remove core things"): "♡ Watch price" in words on every card,
   the "Top drop" link, the tagline on phones, CAD after prices, the deal count by "Top deals" ===== */
.rd .rdc .heart{top:8px;right:8px;width:auto;min-width:0;height:34px;padding:0 11px 0 9px;gap:5px;border-radius:999px;background:rgba(255,255,255,.95);border:1px solid var(--line);color:#17232B;font:600 12.5px var(--body)}
.rd .rdc .heart .hl{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:nowrap}
.rd .rdc .heart svg{width:16px;height:16px}
.rd .rdc .heart[aria-pressed="true"]{border-color:var(--hivis);color:var(--moss)}
@media(max-width:379px){.rd .rdc .heart{left:auto;right:auto;top:auto;bottom:6px;left:10px}}   /* small phones, one deal per row: the pill under the photo */
.rd .rdhero .hook{display:inline-flex;margin:10px 0 0}
.rd .rdhero .hook.hidden{display:none}
/* "♡ Watch price" as the card's bottom-left button (as on the live site), ⋯ bottom-right, "All sizes →" just above: nothing overlaps
   the % badge or the photo on any phone */
.rd .rdc .heart,.rd .rdc .heart{top:auto;right:auto;left:10px;bottom:8px}
.rd .rdc .deal,.rd .compact .rdc .deal{padding-bottom:50px}
.rd .rdc.hascmp .deal,.rd .compact .rdc.hascmp .deal{padding-bottom:74px}
.rd .rdc .cmp,.rd .rdc.hascmp .cmp{left:12px;bottom:48px}
.rd .rdc .rdrep{bottom:9px;right:6px}
/* Oct 22 (site test, 380-414px phones): on two-per-row cards the ⋯ touched "♡ Watch price" (French "Suivre le prix" is longer);
   there it sits in the photo's top-right corner, where nothing else is */
@media(min-width:380px) and (max-width:759px){.rd .rdc .rdrep{top:6px;bottom:auto;right:6px;width:32px;height:26px;background:rgba(255,255,255,.92);border:1px solid var(--line);border-radius:6px;font-size:17px}}
@media(max-width:379px){.rd .rdc .heart{left:10px;bottom:8px}.rd .rdc.hascmp .cmp{left:12px;bottom:48px}.rd .rdc.hascmp .deal{padding-bottom:74px}}

/* ===== Every other page (Oct 22, Bastien: "Only the homepage is formatted in the way we want. All others are dark and still the
   same"): shoe/list/brand/race pages, About and Privacy get the homepage's light colours (also on a phone set to dark mode) and its
   charcoal header with the white logo. html:root:not(.rd) outranks the dark-mode colours in each page's own stylesheet ===== */
html:root:not(.rd){color-scheme:light;
  --ink:#17232B;--muted:#5E6870;--mist:#FDFCF9;--cream:#F6F3EC;--card:#FFFFFF;--line:#E7E9E6;--edge:#D5D8D4;
  --moss:#C24400;--link:#C24400;--hivis:#FF5A00;--hivis-ink:#17232B;--char:#17232B;--band:#17232B;--band-ink:#FFFFFF;--tile:#F3F3F3;
  --body:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--display:"Barlow Condensed","Arial Narrow",Impact,sans-serif}
html:not(.rd) body{font-family:var(--body)}
html:not(.rd) h1,html:not(.rd) h2{font-family:var(--display);font-weight:700;letter-spacing:0}
html:not(.rd) .top{background:var(--char);border-bottom:0}
html:not(.rd) .top .tagline{display:none}   /* as on the homepage (Oct 22, Bastien: "let's remove the outfox full price") */
html:not(.rd) .top .logo img,html:not(.rd) .top a img{height:38px;width:auto}
html:not(.rd) .top .menu summary{color:#fff;border-color:rgba(255,255,255,.3)}
html:not(.rd) .top .menu[open] summary{background:rgba(255,255,255,.16);color:#fff;border-color:transparent}
/* Oct 22: French prices ("202,96 $ 290,00 $ −30%") made the size tables wider than a phone; on phones the old price goes under */
@media(max-width:480px){td.p b{display:block}td.p s{margin-left:0}}
