/* Gearible's Products page: a white store under Gearible's dark bar, laid
   out like a shopping site (Mike, 2026-10-28). Build keeps the game look. */
:root { --ink: #0f1115; --muted: #5b6370; --line: #e6e8ec; --soft: #f3f4f6; --accent: #ffb020; --dark: #0d0f12; --link: #0a66c2; --display: "Saira", sans-serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 15px/1.45 Inter, system-ui, sans-serif; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* dark bar: logo, the four tabs, the search box */
.hd { background: var(--dark); color: #fff; padding: 10px 14px 12px; padding-top: max(10px, env(safe-area-inset-top)); position: sticky; top: 0; z-index: 5; }
.hd-in { max-width: 980px; margin: 0 auto; }
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; }
.logo { height: 22px; display: block; }
.tabs { display: flex; gap: 2px; }
.tabs a { font: 700 11.5px var(--display); letter-spacing: .1em; text-transform: uppercase; color: #8b93a1; text-decoration: none; padding: 8px 7px; border-bottom: 2px solid transparent; }
.tabs a:hover { color: #fff; }
.tabs a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.srch { display: flex; margin-top: 8px; background: #fff; border-radius: 10px; overflow: hidden; height: 44px; }
.srch input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 12px; font: 16px Inter, sans-serif; color: var(--ink); background: transparent; }
.srch input::-webkit-search-cancel-button { filter: grayscale(1); }
.srch button { width: 50px; border: 0; background: var(--accent); color: #15110a; display: grid; place-items: center; cursor: pointer; }
.srch:focus-within { box-shadow: 0 0 0 3px rgba(255, 176, 32, .55); }

/* "Prices for Canada · CAD  Change" */

main { max-width: 980px; margin: 0 auto; }

/* filter chips */
.chips { display: flex; gap: 7px; padding: 10px 14px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid #c9ced6; background: #fff; border-radius: 999px; padding: 7px 13px; font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.count { font-size: 13px; color: var(--muted); margin: 0; padding: 10px 14px 2px; }

/* one tool in the list */
.tool { display: flex; gap: 12px; padding: 14px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.tool:active { background: #fafafa; }
.img { width: 128px; height: 128px; flex: none; background: var(--soft); border-radius: 10px; display: grid; place-items: center; overflow: hidden; }
.img img, .big img { width: 100%; height: 100%; object-fit: contain; }
.info { min-width: 0; flex: 1; }
.tool h3 { font-size: 15.5px; font-weight: 600; line-height: 1.3; margin: 0 0 2px; }
.sub { font-size: 12.5px; color: var(--muted); line-height: 1.35; margin: 0; }
.price { font: 800 23px Inter, sans-serif; letter-spacing: -.01em; margin-top: 6px; line-height: 1.1; }
.price sup { font-size: 12px; vertical-align: 10px; font-weight: 700; margin-left: 1px; }
.price small { font-size: 11px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.price.none { font: 600 14px Inter, sans-serif; color: var(--muted); }
.src { font-size: 12.5px; color: var(--muted); margin: 2px 0 0; }
.v { display: inline-block; font: 800 10px Inter, sans-serif; letter-spacing: .02em; color: #7a4b00; background: #ffe7b3; border-radius: 4px; padding: 2px 5px; margin-right: 5px; vertical-align: 2px; }
.btn { display: block; margin-top: 9px; background: var(--accent); color: #15110a; font-weight: 700; font-size: 13.5px; border-radius: 999px; text-align: center; padding: 9px 12px; max-width: 220px; }
.more[hidden] { display: none; }
.more { display: block; width: calc(100% - 28px); margin: 14px; padding: 12px; border: 1px solid #c9ced6; background: #fff; border-radius: 10px; font-weight: 600; cursor: pointer; }
.note { font-size: 12.5px; color: var(--muted); padding: 6px 14px 4px; margin: 0; }

/* a tool's own page */
.back { display: block; padding: 12px 14px; font-weight: 600; font-size: 14px; color: var(--link); text-decoration: none; border-bottom: 1px solid var(--line); }
.big { height: min(78vw, 360px); background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.big img { width: auto; max-width: min(78vw, 360px); }
.pd { padding: 14px 14px 140px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.pd h1 { font-size: 21px; line-height: 1.25; margin: 0 0 4px; }
.big-price { font-size: 30px; margin-top: 10px; }
.big-price sup { font-size: 14px; vertical-align: 13px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 14px 0 6px; }
.facts div { background: var(--soft); border-radius: 9px; padding: 8px 10px; font-size: 12px; color: var(--muted); }
.facts b { display: block; color: var(--ink); font-size: 14px; font-weight: 600; }
.pd h2 { font-size: 16px; margin: 18px 0 2px; }
.stores { border-top: 1px solid var(--line); }
.st { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.st small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.st em { font-style: normal; color: var(--link); white-space: nowrap; }
.st b { white-space: nowrap; }
.pd .note { padding: 10px 0 0; }
.add-bar { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); padding: 10px 14px max(10px, env(safe-area-inset-bottom)); z-index: 4; backdrop-filter: blur(6px); }
.add { display: block; max-width: 520px; margin: 0 auto; background: var(--dark); color: var(--accent); font: 700 14px var(--display); letter-spacing: .12em; text-transform: uppercase; text-align: center; padding: 14px; border-radius: 12px; text-decoration: none; }
.add-bar p { text-align: center; font-size: 12px; color: var(--muted); margin: 6px 0 0; }

/* the choices sheet (tool type, brand, sort, country) */
.sheet { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 10; display: flex; align-items: flex-end; justify-content: center; }
.sheet[hidden] { display: none; }
.sheet-card { background: #fff; width: 100%; max-width: 520px; border-radius: 16px 16px 0 0; padding: 6px 0 max(14px, env(safe-area-inset-bottom)); max-height: 80vh; overflow-y: auto; }
.sheet-hd { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px; }
.sheet-hd h2 { font-size: 17px; margin: 0; }
.sheet-hd button { border: 0; background: var(--soft); width: 34px; height: 34px; border-radius: 50%; font-size: 20px; cursor: pointer; }
.opt { display: flex; width: 100%; justify-content: space-between; align-items: center; border: 0; border-top: 1px solid var(--line); background: #fff; padding: 14px 16px; font-size: 15.5px; text-align: left; cursor: pointer; }
.opt small { color: var(--muted); font-size: 13px; }
.opt[aria-pressed="true"] { font-weight: 700; }
.opt[aria-pressed="true"]::after { content: "✓"; color: #0a7a3f; font-weight: 800; margin-left: 10px; }
.opt[aria-pressed="true"] small { margin-left: auto; }

.foot { max-width: 980px; margin: 24px auto 0; padding: 16px 14px 28px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.foot a { color: var(--link); }
#detail:not([hidden]) ~ .sheet ~ .foot { padding-bottom: 130px; }

/* wider screens: two tools per row, bigger pictures */
@media (min-width: 760px) {
  #results { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; padding: 0 14px; }
  #results .tool { padding: 16px 0; }
  .img { width: 160px; height: 160px; }
  .pd { max-width: 640px; margin: 0 auto; }
}
@media (max-width: 360px) {
  .img { width: 104px; height: 104px; }
  .tabs a { font-size: 10.5px; padding: 8px 5px; }
}

/* sales: a line on the tool, a box on its page, and the Deals strip */
.sale { font-size: 12.5px; color: #b42318; margin: 3px 0 0; }
.sale b { font-weight: 800; }
.sale-chip.on { background: #b42318; border-color: #b42318; }
.sale-box { display: block; margin: 10px 0 2px; padding: 10px 12px; background: #fff1f0; border: 1px solid #ffd5d1; border-radius: 10px; text-decoration: none; font-size: 13px; color: #7a1a12; }
.sale-box b { display: block; font-size: 15px; color: #b42318; }
.deals:empty { display: none; }
.d-hd { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 14px 6px; }
.d-hd h2 { font-size: 18px; margin: 0; }
.d-hd button { border: 0; background: none; color: var(--link); font-weight: 600; font-size: 14px; cursor: pointer; }
.d-row { display: flex; gap: 10px; overflow-x: auto; padding: 0 14px 6px; scrollbar-width: none; }
.d-row::-webkit-scrollbar { display: none; }
.deal { width: 140px; flex: none; text-decoration: none; color: inherit; }
.deal .img { width: 140px; height: 140px; position: relative; }
.deal .off { position: absolute; left: 6px; top: 6px; background: #b42318; color: #fff; font: 800 12px Inter, sans-serif; border-radius: 5px; padding: 2px 6px; }
.d-name { font-size: 13px; font-weight: 600; line-height: 1.25; margin: 6px 0 0; height: 33px; overflow: hidden; }
.d-price { font-size: 19px; margin-top: 2px; color: #b42318; }
.was { font-size: 12px; color: var(--muted); text-decoration: line-through; margin: 0; }
.d-at { font-size: 12px; color: var(--muted); margin: 1px 0 0; }
.deals .note { padding: 4px 14px 10px; border-bottom: 1px solid var(--line); }

/* My stores */
.pst { display: flex; align-items: baseline; justify-content: space-between; }
.pst button { border: 1px solid #c9ced6; background: #fff; border-radius: 999px; padding: 5px 11px; font-size: 13px; font-weight: 600; cursor: pointer; }
.other { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 14px 0 0; }
.opt span small { display: block; margin: 2px 0 0; font-weight: 500; }
.opt-group { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0; padding: 16px 16px 6px; border-top: 1px solid var(--line); }
.more-st summary { cursor: pointer; padding: 13px 0; font-weight: 700; font-size: 15px; color: var(--link, #0a58ca); border-top: 1px solid var(--line); }
.sheet-note { font-size: 13px; color: var(--muted); padding: 0 16px 10px; margin: 0; }
.done { display: block; width: calc(100% - 32px); margin: 12px 16px 4px; padding: 13px; border: 0; border-radius: 12px; background: var(--dark); color: var(--accent); font: 700 14px var(--display); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }

/* "Buy this, get that free" offers */
.promo { width: 230px; flex: none; display: block; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fffaf0; }
.promo .free { display: inline-block; background: var(--accent); color: #15110a; font: 800 11px Inter, sans-serif; letter-spacing: .06em; border-radius: 5px; padding: 2px 6px; }
.p-title { font-size: 14px; font-weight: 700; line-height: 1.3; margin: 6px 0 4px; }
.p-line { font-size: 12.5px; color: #3b414b; margin: 0 0 2px; line-height: 1.35; }
.p-list { display: grid; gap: 8px; padding: 0 14px 8px; }
.p-list .promo { width: auto; }

/* Creator profiles: gearible.com/@handle (u.html) */
.pf-head { display: flex; align-items: center; gap: 12px; padding: 18px 14px 4px; }
.pf-av { width: 64px; height: 64px; border-radius: 50%; background: var(--dark); color: var(--accent); display: grid; place-items: center; font: 700 28px var(--display); flex: none; }
.pf-who h1 { font-size: 21px; margin: 0; line-height: 1.2; }
.pf-ver { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #0a66c2; color: #fff; font-size: 12px; vertical-align: 3px; }
.pf-bio { padding: 6px 14px 0; margin: 0; font-size: 14.5px; }
.pf-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px; }
.pf-follow { border: 0; border-radius: 999px; background: var(--accent); color: #15110a; font-weight: 700; font-size: 14px; padding: 9px 18px; cursor: pointer; text-decoration: none; }
.pf-follow.ghost { background: #fff; border: 1px solid #c9ced6; color: var(--ink); }
.pf-link { border: 1px solid #c9ced6; border-radius: 999px; padding: 8px 13px; font-size: 13.5px; font-weight: 600; text-decoration: none; }
.pf-tabs { border-top: 1px solid var(--line); }
.pf-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--soft); }
.pf-sum .price { margin-top: 0; }
.pf-sum .btn { margin: 0; flex: none; padding: 10px 18px; text-decoration: none; }
.pf-item { display: flex; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.pf-item .img { width: 96px; height: 96px; }
.pf-item h3 { font-size: 15px; margin: 0; line-height: 1.3; }
.pf-item h3 a { text-decoration: none; }
.pf-item .price { font-size: 19px; margin-top: 3px; }
.pf-item .eyebrow { margin: 0 0 2px; font-size: 11px; }
.bagimg { font: 700 13px var(--display); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.pf-shops { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.pf-shops a { font-size: 12.5px; font-weight: 600; border: 1px solid #c9ced6; border-radius: 999px; padding: 6px 10px; text-decoration: none; }
.pf-report { padding-bottom: 24px; }
.pf-empty { padding: 32px 14px; }
.pf-empty .btn { display: inline-block; text-decoration: none; padding: 10px 18px; }
