/** Shopify CDN: Minification failed

Line 1003:21 Expected identifier but found whitespace
Line 1003:26 Unexpected ";"

**/
/*
 * Tennis Racquet Finder - styles (assets/tennis-racquet-finder.css)
 * Loaded only by layout/tennis-racquet-finder.liquid. Every selector is scoped to the
 * finder (trf-), so nothing here can affect the regular storefront.
 *
 * Sizing: the root font size grows with the screen width, so the whole UI
 * scales from a 1366px laptop to a 4K touchscreen. Everything uses rem.
 * Compatibility: avoids flex `gap`, `aspect-ratio`, `inset` and `clamp()` so
 * older Chromium (LG webOS browsers) lays it out correctly.
 */

:root {
  --trf-ink: #16294f;
  --trf-ink-2: #1f3a6b;
  --trf-teal: #17707f;
  --trf-teal-d: #105865;
  --trf-teal-l: #e2f1f2;
  --trf-aqua: #3cb4bf;
  --trf-sun: #c8e13b;
  --trf-sun-d: #b2cb27;
  --trf-gold: #e4f07a;
  --trf-sand: #f3f5ef;
  --trf-sand-2: #e5eadf;
  --trf-card: #ffffff;
  --trf-text: #0f1d33;
  --trf-muted: #55627a;
  --trf-line: #d9dfd2;
  --trf-good: #1d7449;
  --trf-good-l: #e3f3ea;
  --trf-warn: #a8520f;
  --trf-warn-l: #fbeedd;
  --trf-radius: 1.25rem;
  --trf-radius-sm: 0.75rem;
  --trf-shadow: 0 0.1rem 0.2rem rgba(22, 41, 79, 0.06), 0 0.8rem 2rem rgba(22, 41, 79, 0.1);
  --trf-topbar: 5.25rem;
  --trf-tray: 7.25rem;
  --trf-font-display: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --trf-font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --trf-font-display-weight: 700;
}

html.trf-html {
  font-size: 16px;
  font-size: calc(9px + 0.52vw);
  height: 100%;
  -webkit-text-size-adjust: 100%;
  touch-action: pan-x pan-y;
  overscroll-behavior: none;
}
@media (max-aspect-ratio: 4/5) {
  html.trf-html { font-size: calc(8px + 1vw); }
}

body.trf-body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--trf-sand);
  color: var(--trf-text);
  font-family: var(--trf-font-body);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  overscroll-behavior: none;
}

/* Element resets use bare selectors (lowest specificity) so component classes
   always win. Safe because this file loads only on the kiosk layout. */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
button { font-family: inherit; font-size: inherit; line-height: inherit; color: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1:focus { outline: none; }

.trf {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--trf-font-body);
}

.trf-icon {
  width: 1.4em;
  height: 1.4em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Boot / noscript ---------- */
.trf-boot {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--trf-ink);
  color: #fff;
  font-size: 1.4rem;
}
.trf-boot__logo { width: 12rem; height: auto; margin-bottom: 1.5rem; background: #fff; border-radius: 50%; padding: 1rem; }
.trf-noscript { padding: 2rem; font-size: 1.5rem; text-align: center; }

/* ---------- Top bar ---------- */
.trf-topbar {
  flex: 0 0 var(--trf-topbar);
  height: var(--trf-topbar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  background: var(--trf-ink);
  color: #fff;
  position: relative;
  z-index: 5;
}
.trf-topbar__left, .trf-topbar__right { display: flex; align-items: center; min-width: 22rem; }
.trf-topbar__right { justify-content: flex-end; }
.trf-topbar__title {
  font-family: var(--trf-font-display);
  font-weight: var(--trf-font-display-weight);
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trf-navbtn {
  display: inline-flex;
  align-items: center;
  min-height: 3.75rem;
  padding: 0 1.4rem;
  margin-right: 0.75rem;
  border: 0.125rem solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
}
.trf-navbtn .trf-icon, .trf-navbtn svg { width: 1.5rem; height: 1.5rem; margin-right: 0.5rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.trf-navbtn:active { background: rgba(255, 255, 255, 0.18); }
.trf-navbtn--compare { margin-right: 0; background: var(--trf-sun); border-color: var(--trf-sun); color: var(--trf-ink); }
.trf-navbtn--compare b { display: inline-block; min-width: 1.6rem; margin-left: 0.3rem; padding: 0 0.4rem; border-radius: 999px; background: var(--trf-ink); color: #fff; text-align: center; }

/* ---------- Stage & screens ---------- */
.trf-stage { flex: 1 1 auto; position: relative; overflow: hidden; min-height: 0; }
.trf-screen { position: absolute; top: 0; right: 0; bottom: 0; left: 0; overflow: hidden; }
[data-trf-scroll] { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.trf--tray [data-trf-scroll] { padding-bottom: calc(var(--trf-tray) + 2rem); }

.trf-enter { animation: trf-in 0.24s ease-out both; }
.trf-enter-back { animation: trf-in-back 0.2s ease-out both; }
@keyframes trf-in { from { opacity: 0; transform: translateX(2rem); } to { opacity: 1; transform: none; } }
@keyframes trf-in-back { from { opacity: 0; transform: translateX(-1.5rem); } to { opacity: 1; transform: none; } }

/* ---------- Type ---------- */
.trf-eyebrow {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--trf-teal);
  margin-bottom: 0.6rem;
}
.trf-eyebrow--light { color: var(--trf-aqua); }
.trf-h1 {
  font-family: var(--trf-font-display);
  font-weight: var(--trf-font-display-weight);
  font-size: 2.9rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--trf-ink);
}
.trf-h2 { font-family: var(--trf-font-display); font-weight: var(--trf-font-display-weight); font-size: 1.9rem; line-height: 1.15; color: var(--trf-ink); }
.trf-h3 { font-family: var(--trf-font-display); font-weight: var(--trf-font-display-weight); font-size: 1.4rem; color: var(--trf-ink); margin: 2rem 0 0.9rem !important; }
.trf-muted { color: var(--trf-muted); }
.trf-fineprint { font-size: 1rem; color: var(--trf-muted); margin-top: 1rem !important; max-width: 60rem; }
.trf-brand { display: block; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--trf-teal); }
.trf-brand--lg { font-size: 1.15rem; margin-bottom: 0.4rem; }

/* ---------- Buttons ---------- */
.trf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.75rem;
  padding: 0 1.6rem;
  border-radius: 999px;
  border: 0.15rem solid transparent;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.1;
  cursor: pointer;
  touch-action: manipulation;
  text-align: center;
  transition: transform 0.1s ease, background-color 0.15s ease;
}
.trf-btn .trf-icon { margin-right: 0.55rem; }
.trf-btn .trf-icon:last-child:not(:first-child) { margin-right: 0; margin-left: 0.55rem; }
.trf-btn:active { transform: scale(0.97); }
.trf-btn:disabled { opacity: 0.45; cursor: default; transform: none; }
.trf-btn--primary { background: var(--trf-sun); color: var(--trf-ink); border-color: var(--trf-sun); }
.trf-btn--primary:active { background: var(--trf-sun-d); }
.trf-btn--ghost { background: var(--trf-card); color: var(--trf-ink); border-color: var(--trf-line); }
.trf-btn--ghost:active { background: var(--trf-sand-2); }
.trf-btn--lg { min-height: 4.5rem; padding: 0 2.1rem; font-size: 1.35rem; }
.trf-btn--xl { min-height: 5.25rem; padding: 0 2.6rem; font-size: 1.55rem; }
.trf-btn--small { min-height: 3rem; padding: 0 1.1rem; font-size: 1.05rem; }
.trf-flip .trf-icon { transform: scaleX(-1); margin-right: 0.55rem; margin-left: 0; }
.trf-flip { display: inline-flex; }

/* ---------- Home ---------- */
.trf-home {
  display: flex;
  align-items: stretch;
  background: radial-gradient(ellipse at 78% 40%, #145565 0%, var(--trf-ink) 62%);
  color: #fff;
}
.trf-home__photo {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}
.trf-home__glow {
  position: absolute;
  width: 60rem; height: 60rem;
  right: -14rem; bottom: -30rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 225, 59, 0.28) 0%, rgba(200, 225, 59, 0) 65%);
  pointer-events: none;
}
.trf-home__content {
  position: relative;
  flex: 0 0 54%;
  max-width: 54%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 3rem 3rem 5rem;
  overflow-y: auto;
}
.trf-home__logo {
  display: inline-block;
  width: 9rem;
  height: 9rem;
  padding: 0.8rem;
  margin-bottom: 2rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.25);
}
.trf-home__logo img { width: 100%; height: 100%; object-fit: contain; }
.trf-home .trf-eyebrow { font-size: 1.25rem; letter-spacing: 0.24em; margin-bottom: 1rem; }
.trf-home__title {
  font-family: var(--trf-font-display);
  font-weight: var(--trf-font-display-weight);
  font-size: 5.6rem;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 1.5rem;
}
.trf-home__sub { font-size: 1.5rem; color: rgba(255, 255, 255, 0.78); max-width: 34rem; margin-bottom: 2.5rem; }
.trf-home__actions { max-width: 38rem; }
.trf-choice {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 8.5rem;
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.75rem;
  border-radius: 1.5rem;
  border: 0.15rem solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.12s ease, background-color 0.15s ease;
}
.trf-choice:active { transform: scale(0.985); background: rgba(255, 255, 255, 0.14); }
.trf-choice--primary { background: var(--trf-sun); border-color: var(--trf-sun); color: var(--trf-ink); box-shadow: 0 1rem 2.5rem rgba(200, 225, 59, 0.35); }
.trf-choice--primary:active { background: var(--trf-sun-d); }
.trf-choice__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  margin-right: 1.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.trf-choice--primary .trf-choice__icon { background: rgba(22, 41, 79, 0.12); }
.trf-choice__icon .trf-icon { width: 2.5rem; height: 2.5rem; }
.trf-choice__text { flex: 1 1 auto; display: flex; flex-direction: column; }
.trf-choice__title { font-family: var(--trf-font-display); font-weight: var(--trf-font-display-weight); font-size: 2.3rem; line-height: 1.1; letter-spacing: -0.01em; }
.trf-choice__sub { font-size: 1.2rem; opacity: 0.85; margin-top: 0.3rem; }
.trf-choice__arrow .trf-icon { width: 2.4rem; height: 2.4rem; margin-left: 1rem; }
.trf-home__note { margin-top: 1.25rem; font-size: 1.15rem; color: rgba(255, 255, 255, 0.65); }

.trf-home__showcase { position: relative; flex: 1 1 auto; }
.trf-showcase__set {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.trf-showcase__set.is-active { opacity: 1; }
.trf-showcase__tile {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15.5rem;
  margin: 0;
  padding: 1.1rem 1.1rem 1rem;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.35);
  color: var(--trf-ink);
}
.trf-showcase__tile img { width: 100%; height: 18rem; object-fit: contain; }
.trf-showcase__tile figcaption { font-size: 0.95rem; font-weight: 600; line-height: 1.25; margin-top: 0.7rem; height: 2.5em; overflow: hidden; }
.trf-showcase__tile figcaption span { display: block; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--trf-teal); }
.trf-showcase__tile--0 { transform: translate(-115%, -48%) rotate(-7deg); }
.trf-showcase__tile--1 { transform: translate(-50%, -58%); z-index: 2; width: 17rem; }
.trf-showcase__tile--1 img { height: 20rem; }
.trf-showcase__tile--2 { transform: translate(15%, -42%) rotate(7deg); }

/* ---------- Quiz ---------- */
.trf-quiz { background: var(--trf-sand); display: flex; align-items: center; justify-content: center; }
.trf-quiz__inner { width: 100%; max-width: 84rem; padding: 2rem 3rem; }
.trf-progress { margin-bottom: 2rem; }
.trf-progress__label { font-size: 1.15rem; font-weight: 600; color: var(--trf-teal); margin-bottom: 0.7rem; letter-spacing: 0.04em; }
.trf-progress__track { display: flex; }
.trf-progress__seg { flex: 1 1 0; height: 0.55rem; margin-right: 0.5rem; border-radius: 999px; background: var(--trf-line); }
.trf-progress__seg:last-child { margin-right: 0; }
.trf-progress__seg.is-done { background: var(--trf-teal); }
.trf-progress__seg.is-current { background: var(--trf-sun); }
.trf-quiz__question {
  font-family: var(--trf-font-display);
  font-weight: var(--trf-font-display-weight);
  font-size: 3.1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--trf-ink);
  margin-bottom: 2.25rem !important;
  max-width: 60rem;
}
.trf-answers { display: flex; flex-wrap: wrap; margin: 0 -0.7rem; }
.trf-answer {
  position: relative;
  display: flex;
  align-items: center;
  width: calc(50% - 1.4rem);
  min-height: 8.5rem;
  margin: 0 0.7rem 1.4rem;
  padding: 1.5rem 4.5rem 1.5rem 1.5rem;
  border-radius: var(--trf-radius);
  border: 0.18rem solid var(--trf-line);
  background: var(--trf-card);
  box-shadow: 0 0.1rem 0.2rem rgba(22, 41, 79, 0.04);
  text-align: left;
  font-size: 1.45rem;
  line-height: 1.32;
  color: var(--trf-text);
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.1s ease;
}
.trf-answer:active { transform: scale(0.985); }
.trf-answer__letter {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  margin-right: 1.25rem;
  border-radius: 50%;
  background: var(--trf-sand);
  color: var(--trf-teal);
  font-weight: 700;
  font-size: 1.3rem;
}
.trf-answer__check {
  position: absolute;
  right: 1.4rem;
  top: 50%;
  margin-top: -1.3rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 0.15rem solid var(--trf-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
}
.trf-answer__check .trf-icon { width: 1.6rem; height: 1.6rem; stroke-width: 3; }
.trf-answer.is-selected { border-color: var(--trf-teal); background: var(--trf-teal-l); }
.trf-answer.is-selected .trf-answer__letter { background: var(--trf-teal); color: #fff; }
.trf-answer.is-selected .trf-answer__check { background: var(--trf-teal); border-color: var(--trf-teal); color: #fff; }
.trf-quiz__nav { display: flex; justify-content: space-between; margin-top: 1.25rem; }

/* ---------- Results ----------
   Stacked in normal flow: heading, playing profile, cards, Compare button,
   secondary buttons. No absolute positioning, so nothing can overlap. */
.trf-results { background: var(--trf-sand); }
.trf-results__inner { max-width: 120rem; margin: 0 auto; padding: 1.2rem 2.5rem 1.5rem; }
.trf-results__head { margin-bottom: 0.6rem; }
.trf-results__head .trf-h1 { font-size: 2.5rem; }
.trf-results__head .trf-eyebrow { margin-bottom: 0.3rem; }
.trf-profile { display: flex; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.trf-profile__title { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--trf-muted); margin: 0 0.8rem 0.4rem 0 !important; }
.trf-profile ul { list-style: none; margin: 0 -0.3rem; padding: 0; display: flex; flex-wrap: wrap; }
.trf-profile__item { display: flex; flex-direction: column; min-width: 0; margin: 0 0.3rem 0.4rem; padding: 0.35rem 0.9rem; background: var(--trf-card); border-radius: var(--trf-radius-sm); border: 0.1rem solid var(--trf-line); }
.trf-profile__item--style { background: var(--trf-ink); border-color: var(--trf-ink); }
.trf-profile__item--style .trf-profile__k { color: rgba(255, 255, 255, 0.7); }
.trf-profile__item--style .trf-profile__v { color: #fff; }
.trf-profile__k { font-size: 0.85rem; color: var(--trf-muted); }
.trf-profile__v { font-size: 1.2rem; font-weight: 700; color: var(--trf-ink); }

.trf-recs { display: flex; flex-wrap: wrap; margin: 0 -0.7rem; }
.trf-rec {
  display: flex;
  flex-direction: column;
  width: calc(33.333% - 1.4rem);
  min-width: 0;
  margin: 0 0.7rem 1.2rem;
  padding: 1.1rem 1.2rem 1.2rem;
  border-radius: 1.25rem;
  border: 0.18rem solid transparent;
  background: var(--trf-card);
  box-shadow: var(--trf-shadow);
}
.trf-recs--1 .trf-rec { width: calc(60% - 1.4rem); }
.trf-recs--2 .trf-rec { width: calc(50% - 1.4rem); }
.trf-rec.is-best { border-color: var(--trf-sun); }
.trf-rec__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 0.6rem; }
.trf-badge { display: inline-block; padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--trf-teal-l); color: var(--trf-teal-d); font-size: 1rem; font-weight: 700; letter-spacing: 0.03em; }
.trf-badge--best { background: var(--trf-sun); color: var(--trf-ink); }
.trf-rec__score { font-size: 0.95rem; font-weight: 600; color: var(--trf-muted); }
.trf-rec__main { display: flex; align-items: center; margin-bottom: 0.6rem; }
/* Small thumbnail: about a fifth of the card; the whole racquet stays visible. */
.trf-rec__thumb { flex: 0 0 22%; width: 22%; height: 7rem; padding: 0.3rem; margin-right: 1rem; border: 0.1rem solid var(--trf-sand-2); border-radius: var(--trf-radius-sm); background: #fff; cursor: pointer; touch-action: manipulation; }
.trf-rec__img, .trf-rec__thumb .trf-img--empty { width: 100%; height: 100%; object-fit: contain; }
.trf-rec__info { flex: 1 1 auto; min-width: 0; }
.trf-rec__title { font-size: 1.3rem; line-height: 1.22; font-weight: 700; color: var(--trf-ink); margin: 0.2rem 0 0.35rem !important; overflow-wrap: break-word; }
.trf-rec__price { font-size: 1.55rem; }
.trf-rec__specs { display: flex; flex-wrap: wrap; margin: 0 0 0.7rem; border-top: 0.1rem solid var(--trf-sand-2); }
.trf-rec__spec { width: 33.333%; min-width: 0; padding: 0.45rem 0.6rem 0.4rem 0; border-bottom: 0.1rem solid var(--trf-sand-2); }
.trf-rec__spec dt { font-size: 0.85rem; color: var(--trf-muted); }
.trf-rec__spec dd { margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--trf-ink); overflow-wrap: break-word; }
.trf-rec__spec dd .trf-muted { font-weight: 500; }
.trf-price { display: block; font-size: 1.35rem; font-weight: 700; color: var(--trf-ink); }
.trf-price--lg { font-size: 2.1rem; margin: 0.5rem 0 1rem !important; }
.trf-price__was { color: var(--trf-muted); font-weight: 500; font-size: 0.8em; }
.trf-rec__why { font-size: 0.95rem; line-height: 1.35; color: var(--trf-text); background: var(--trf-sand); border-radius: var(--trf-radius-sm); padding: 0.6rem 0.85rem; margin-bottom: 0.8rem !important; }
.trf-rec__actions { margin-top: auto; display: flex; flex-wrap: wrap; }
.trf-rec__actions .trf-btn { flex: 1 1 auto; margin: 0 0.6rem 0 0; }
.trf-rec__actions .trf-btn:last-child { margin-right: 0; }
.trf-results__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; padding-top: 1rem; border-top: 0.1rem solid var(--trf-line); margin-top: 0.2rem; }
.trf-results__compare { margin: 0 1.5rem 0.6rem 0; min-width: 26rem; }
.trf-results__secondary { display: flex; flex-wrap: wrap; justify-content: center; }
.trf-results__secondary .trf-btn { margin: 0 0.4rem 0.6rem; }
@media (max-width: 1100px) { .trf-rec__spec { width: 50%; } }

.trf-cmp-toggle.is-on { background: var(--trf-teal); border-color: var(--trf-teal); color: #fff; }

/* ---------- Empty states ---------- */
.trf-empty { max-width: 48rem; margin: 3rem auto; padding: 3rem; text-align: center; background: var(--trf-card); border-radius: 1.5rem; box-shadow: var(--trf-shadow); }
.trf-empty h2, .trf-empty h1 { font-family: var(--trf-font-display); font-weight: var(--trf-font-display-weight); font-size: 2.1rem; color: var(--trf-ink); margin-bottom: 0.8rem; }
.trf-empty p { font-size: 1.3rem; color: var(--trf-muted); margin-bottom: 1.8rem; }

/* ---------- Catalog ---------- */
.trf-catalog { display: flex; background: var(--trf-sand); }
.trf-filters {
  flex: 0 0 23rem;
  width: 23rem;
  display: flex;
  flex-direction: column;
  background: var(--trf-card);
  border-right: 0.1rem solid var(--trf-line);
}
.trf-filters__head { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 1.4rem 0.8rem; }
.trf-filters__head h2 { font-family: var(--trf-font-display); font-weight: var(--trf-font-display-weight); font-size: 1.5rem; color: var(--trf-ink); }
.trf-filters__body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 0 1.4rem 1.4rem; }
.trf--tray .trf-filters__body { padding-bottom: calc(var(--trf-tray) + 1rem); }
.trf-filters__note { font-size: 0.95rem; color: var(--trf-muted); margin-top: 0.5rem !important; }
.trf-filters__done { display: none; margin: 0 1.4rem 1.4rem; }
.trf-fgroup { border: 0; margin: 0 0 1.2rem; padding: 0; min-width: 0; }
.trf-fgroup legend { padding: 0; margin-bottom: 0.6rem; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--trf-muted); }
.trf-chips { display: flex; flex-wrap: wrap; margin: 0 -0.25rem; }
.trf-chip {
  display: inline-flex;
  align-items: center;
  min-height: 3.3rem;
  margin: 0 0.25rem 0.5rem;
  padding: 0 1rem;
  border-radius: 999px;
  border: 0.15rem solid var(--trf-line);
  background: var(--trf-card);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--trf-ink);
  cursor: pointer;
  touch-action: manipulation;
}
.trf-chip__count { margin-left: 0.5rem; font-size: 0.9rem; font-weight: 600; color: var(--trf-muted); }
.trf-chip.is-on { background: var(--trf-teal); border-color: var(--trf-teal); color: #fff; }
.trf-chip.is-on .trf-chip__count { color: rgba(255, 255, 255, 0.8); }
.trf-chip.is-empty { opacity: 0.4; }
.trf-chip.is-unavailable { border-style: dashed; color: var(--trf-muted); }
.trf-chip__note { margin-left: 0.4rem; font-size: 0.85rem; font-weight: 500; }

.trf-catalog__main { flex: 1 1 auto; min-width: 0; padding: 1.5rem 2rem 2rem; }
.trf-catalog__bar { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; margin-bottom: 1.25rem; }
.trf-catalog__bar .trf-h2 { margin-right: 1.5rem; }
.trf-filters-toggle { display: none; }
.trf-segs { display: flex; background: var(--trf-card); border-radius: 999px; padding: 0.3rem; border: 0.1rem solid var(--trf-line); }
.trf-seg {
  min-height: 3.2rem;
  padding: 0 1.15rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--trf-muted);
  cursor: pointer;
  touch-action: manipulation;
}
.trf-seg.is-on { background: var(--trf-ink); color: #fff; }

.trf-grid { display: flex; flex-wrap: wrap; margin: 0 -0.6rem; }
.trf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: calc(25% - 1.2rem);
  margin: 0 0.6rem 1.2rem;
  border-radius: var(--trf-radius);
  border: 0.18rem solid transparent;
  background: var(--trf-card);
  box-shadow: 0 0.1rem 0.2rem rgba(22, 41, 79, 0.05), 0 0.4rem 1.2rem rgba(22, 41, 79, 0.06);
  overflow: hidden;
}
.trf-card.is-compared { border-color: var(--trf-teal); }
.trf-card__hit {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}
.trf-card__hit:active { background: var(--trf-sand); }
.trf-card__media { display: block; width: 100%; padding: 1rem 1rem 0; background: #fff; }
.trf-card__img { width: 100%; height: 14rem; object-fit: contain; }
.trf-img--empty { display: block; width: 100%; height: 14rem; background: var(--trf-sand-2); border-radius: var(--trf-radius-sm); }
.trf-card__body { display: flex; flex-direction: column; padding: 0.9rem 1.1rem 0.6rem; }
.trf-card__title { font-size: 1.2rem; font-weight: 600; line-height: 1.25; color: var(--trf-ink); margin: 0.25rem 0 0.4rem; min-height: 2.5em; }
.trf-card .trf-price { font-size: 1.25rem; }
.trf-tags { display: flex; flex-wrap: wrap; margin-top: 0.6rem; }
.trf-tag { display: inline-block; padding: 0.25rem 0.65rem; margin: 0 0.35rem 0.35rem 0; border-radius: 999px; background: var(--trf-sand); font-size: 0.9rem; font-weight: 600; color: var(--trf-teal-d); }
.trf-tags--none { font-size: 0.95rem; color: var(--trf-muted); }
.trf-card .trf-cmp-toggle { margin: 0 1.1rem 1.1rem; min-height: 3.3rem; font-size: 1.1rem; }

/* ---------- Search + on-screen keyboard ---------- */
.trf-search { position: relative; display: flex; align-items: center; flex: 1 1 18rem; max-width: 30rem; margin: 0 1.25rem 0 0; }
.trf-search__box {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 3.6rem;
  padding: 0 3.6rem 0 1.2rem;
  border-radius: 999px;
  border: 0.15rem solid var(--trf-line);
  background: var(--trf-card);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--trf-ink);
  text-align: left;
  cursor: text;
  touch-action: manipulation;
}
.trf-search__box .trf-icon { margin-right: 0.7rem; color: var(--trf-teal); }
.trf-search__text { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.trf-search__text.is-placeholder { color: var(--trf-muted); font-weight: 500; }
.is-searching .trf-search__box { border-color: var(--trf-teal); }
.trf-search__clear {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  margin-top: -1.45rem;
  width: 2.9rem;
  height: 2.9rem;
  border: 0;
  border-radius: 50%;
  background: var(--trf-sand-2);
  color: var(--trf-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.trf-kb {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 7;
  padding: 1rem 1.5rem 1.25rem;
  background: var(--trf-ink);
  box-shadow: 0 -1rem 3rem rgba(22, 41, 79, 0.35);
}
.trf-kb__top { display: flex; align-items: center; margin-bottom: 0.8rem; }
.trf-kb__field {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  min-height: 4rem;
  margin-right: 1rem;
  padding: 0 1.3rem;
  border-radius: var(--trf-radius-sm);
  background: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--trf-ink);
  overflow: hidden;
  white-space: nowrap;
}
.trf-kb__field .trf-icon { margin-right: 0.8rem; color: var(--trf-teal); }
.trf-kb__field .is-placeholder { color: var(--trf-muted); font-weight: 500; font-size: 1.3rem; }
.trf-kb__caret { width: 0.15rem; height: 1.8rem; margin-left: 0.15rem; background: var(--trf-teal); animation: trf-blink 1s steps(1) infinite; }
@keyframes trf-blink { 50% { opacity: 0; } }
.trf-kb__done { flex: 0 0 auto; }
.trf-kb__row { display: flex; justify-content: center; margin-bottom: 0.55rem; }
.trf-kb__row:last-child { margin-bottom: 0; }
.trf-key {
  flex: 0 1 6.2rem;
  min-width: 0;
  height: 3.7rem;
  margin: 0 0.25rem;
  border: 0;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.45rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
}
.trf-key:active { background: rgba(255, 255, 255, 0.32); }
.trf-key--wide { flex-basis: 10rem; font-size: 1.2rem; }
.trf-key--space { flex-basis: 36rem; font-size: 1.2rem; }
.trf-key--done { background: var(--trf-sun); color: var(--trf-ink); }
.trf-key .trf-icon { width: 1.8rem; height: 1.8rem; }
.is-searching [data-trf-scroll] { padding-bottom: 26rem; }

/* ---------- Stock ---------- */
.trf-stockbox { margin-bottom: 1.25rem; }
.trf-stock { display: flex; align-items: center; font-size: 1.15rem; font-weight: 600; margin-bottom: 0.45rem !important; }
.trf-stock::before { content: ""; width: 0.8rem; height: 0.8rem; border-radius: 50%; margin-right: 0.6rem; background: currentColor; flex: 0 0 auto; }
.trf-stock--in { color: var(--trf-good); }
.trf-stock--out { color: var(--trf-warn); }
.trf-card .trf-stock { font-size: 1rem; margin-top: 0.4rem; }
.trf-stock--store::before { display: none; }
.trf-stock--store { color: var(--trf-muted); font-weight: 500; }
.trf-stock--store .trf-icon { margin-right: 0.55rem; }
.trf-stock--store.trf-stock--in { color: var(--trf-good); font-weight: 700; }
.trf-stock--store.trf-stock--out { color: var(--trf-warn); font-weight: 600; }

/* ---------- Detail ---------- */
.trf-detail { display: flex; background: var(--trf-card); }
.trf-detail__media {
  flex: 0 0 34%;
  max-width: 34%;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: #fff;
  border-right: 0.1rem solid var(--trf-line);
}
.trf-detail__main { flex: 1 1 auto; min-height: 0; max-height: 56vh; display: flex; align-items: center; justify-content: center; }
.trf-detail__img { width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
.trf-detail__main .trf-img--empty { height: 100%; }
.trf-thumbs { display: flex; justify-content: center; flex-wrap: wrap; padding-top: 1.25rem; }
.trf-thumb { width: 5rem; height: 5rem; margin: 0 0.35rem 0.5rem; padding: 0.3rem; border-radius: var(--trf-radius-sm); border: 0.18rem solid var(--trf-line); background: #fff; cursor: pointer; touch-action: manipulation; }
.trf-thumb img { width: 100%; height: 100%; object-fit: contain; }
.trf-thumb.is-on { border-color: var(--trf-teal); }
.trf-detail__info { flex: 1 1 auto; min-width: 0; padding: 2.25rem 3rem 3rem; background: var(--trf-sand); }
.trf-detail__title { font-size: 2.5rem; }
.trf-rating { display: flex; align-items: center; font-size: 1.15rem; color: var(--trf-muted); margin-top: 0.7rem !important; }
.trf-rating .trf-icon { color: var(--trf-sun); fill: var(--trf-sun); margin-right: 0.4rem; }
.trf-rating strong { color: var(--trf-ink); margin-right: 0.35rem; }
.trf-variants { margin-bottom: 0.5rem; }
.trf-variants__group { margin-bottom: 0.8rem; }
.trf-variants__label { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--trf-muted); margin-bottom: 0.5rem !important; }
.trf-detail__actions { margin: 0.5rem 0 0.5rem; }
.trf-detail__actions .trf-btn { min-height: 4.25rem; font-size: 1.3rem; padding: 0 2rem; }
.trf-specs { margin: 0; background: var(--trf-card); border-radius: var(--trf-radius); overflow: hidden; box-shadow: 0 0.1rem 0.2rem rgba(22, 41, 79, 0.05); }
.trf-spec { display: flex; align-items: center; padding: 1rem 1.3rem; border-bottom: 0.1rem solid var(--trf-sand-2); }
.trf-spec:last-child { border-bottom: 0; }
.trf-spec dt { flex: 0 0 13rem; font-size: 1.1rem; color: var(--trf-muted); }
.trf-spec dd { margin: 0; flex: 1 1 auto; font-size: 1.25rem; font-weight: 700; color: var(--trf-ink); display: flex; align-items: center; flex-wrap: wrap; }
.trf-spec__help { display: block; width: 100%; font-size: 1rem; font-weight: 500; color: var(--trf-muted); }
.trf-spec dd .trf-muted { font-weight: 500; }
.trf-meter { display: inline-block; width: 10rem; height: 0.7rem; border-radius: 999px; background: var(--trf-sand-2); overflow: hidden; margin-right: 0.8rem; }
.trf-meter span { display: block; height: 100%; background: var(--trf-teal); border-radius: 999px; }
.trf-meter__num { font-size: 1.05rem; }
.trf-desc { font-size: 1.2rem; line-height: 1.6; color: var(--trf-text); max-height: 13rem; overflow: hidden; position: relative; -webkit-user-select: text; user-select: text; }
.trf-desc::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4rem; background: linear-gradient(rgba(243, 245, 239, 0), var(--trf-sand)); }
.trf-desc.is-expanded { max-height: none; }
.trf-desc.is-expanded::after { display: none; }
.trf-desc p { margin-bottom: 0.8rem; }
.trf-desc + .trf-btn { margin-top: 0.8rem; }

.trf-qr { flex: 0 0 auto; display: flex; align-items: center; margin-top: 1.25rem; padding: 1.1rem; border-radius: var(--trf-radius); background: var(--trf-ink); color: #fff; }
.trf-qr__code { flex: 0 0 auto; width: 10rem; height: 10rem; background: #fff; border-radius: var(--trf-radius-sm); padding: 0.25rem; margin-right: 1.4rem; }
.trf-qr__code svg { width: 100%; height: 100%; display: block; }
.trf-qr__text { font-size: 1.1rem; line-height: 1.4; color: rgba(255, 255, 255, 0.82); }
.trf-qr__title { display: flex; align-items: center; font-family: var(--trf-font-display); font-weight: var(--trf-font-display-weight); font-size: 1.55rem; color: #fff; margin-bottom: 0.35rem !important; }
.trf-qr__title .trf-icon { width: 1.8rem; height: 1.8rem; color: var(--trf-aqua); margin-right: 0.5rem; }

/* ---------- Compare ---------- */
.trf-compare { background: var(--trf-sand); padding: 2.25rem 3rem; }
.trf-compare__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 1.5rem; }
.trf-cmp-wrap { background: var(--trf-card); border-radius: 1.5rem; box-shadow: var(--trf-shadow); overflow: hidden; }
.trf-cmp { width: 100%; border-collapse: collapse; table-layout: fixed; }
.trf-cmp th, .trf-cmp td { padding: 1rem 1.25rem; text-align: left; vertical-align: middle; border-bottom: 0.1rem solid var(--trf-sand-2); }
.trf-cmp thead th { vertical-align: top; border-bottom: 0.15rem solid var(--trf-line); }
.trf-cmp tbody th { width: 17rem; font-size: 1.1rem; font-weight: 600; color: var(--trf-muted); }
.trf-cmp__corner { width: 17rem; }
.trf-cmp td { font-size: 1.3rem; font-weight: 700; color: var(--trf-ink); }
.trf-cmp tr.is-diff th, .trf-cmp tr.is-diff td { background: #f5fadb; }
.trf-cmp tr.is-diff th { box-shadow: inset 0.45rem 0 0 var(--trf-sun); color: var(--trf-ink); }
.trf-diff-pill { display: inline-block; margin-left: 0.6rem; padding: 0.15rem 0.55rem; border-radius: 999px; background: var(--trf-sun); color: var(--trf-ink); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; vertical-align: middle; }
.trf-cmp__legend { display: flex; align-items: center; font-size: 1rem; font-weight: 600; color: var(--trf-muted); }
.trf-cmp__legend i { width: 1.1rem; height: 1.1rem; border-radius: 0.25rem; background: #f5fadb; box-shadow: inset 0.3rem 0 0 var(--trf-sun); margin-right: 0.6rem; }
.trf-cmp__prod { font-weight: 400; }
.trf-cmp__media { display: block; width: 100%; padding: 0; border: 0; background: #fff; cursor: pointer; margin-bottom: 0.8rem; }
.trf-cmp__img { width: 100%; height: 12rem; object-fit: contain; }
.trf-cmp__title { display: block; font-size: 1.25rem; font-weight: 700; line-height: 1.25; color: var(--trf-ink); margin: 0.25rem 0 0.8rem; }
.trf-cmp__btns { display: flex; flex-wrap: wrap; }
.trf-cmp__btns .trf-btn { margin: 0 0.5rem 0.5rem 0; }
.trf-cmp__addbtn { width: 100%; height: 12rem; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 0.18rem dashed var(--trf-line); border-radius: var(--trf-radius); background: var(--trf-sand); color: var(--trf-teal); font-size: 1.2rem; font-weight: 700; cursor: pointer; }
.trf-cmp__addbtn .trf-icon { width: 2.4rem; height: 2.4rem; margin-bottom: 0.5rem; }

/* ---------- Compare tray ---------- */
.trf-tray {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: var(--trf-tray);
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  background: var(--trf-ink);
  color: #fff;
  box-shadow: 0 -0.6rem 2rem rgba(22, 41, 79, 0.25);
}
.trf-tray__items { display: flex; align-items: center; min-width: 0; }
.trf-tray__item {
  position: relative;
  display: flex;
  align-items: center;
  width: 19rem;
  height: 5rem;
  margin-right: 0.8rem;
  padding: 0.4rem 3.4rem 0.4rem 0.4rem;
  border-radius: var(--trf-radius-sm);
  background: rgba(255, 255, 255, 0.1);
}
.trf-tray__img { width: 4.2rem; height: 4.2rem; object-fit: contain; background: #fff; border-radius: 0.5rem; margin-right: 0.7rem; flex: 0 0 auto; }
.trf-tray__item .trf-img--empty { width: 4.2rem; height: 4.2rem; margin-right: 0.7rem; flex: 0 0 auto; }
.trf-tray__name { font-size: 1rem; font-weight: 600; line-height: 1.2; overflow: hidden; max-height: 2.4em; }
.trf-tray__remove { position: absolute; right: 0.4rem; top: 50%; margin-top: -1.5rem; width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.14); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.trf-tray__item--empty { justify-content: center; padding: 0.4rem; border: 0.15rem dashed rgba(255, 255, 255, 0.3); background: transparent; color: rgba(255, 255, 255, 0.6); font-size: 1rem; }
.trf-tray__actions { display: flex; align-items: center; flex: 0 0 auto; }
.trf-tray__actions .trf-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); margin-right: 0.8rem; }

/* ---------- Toast & idle ---------- */
.trf-toast {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 8;
  max-width: 44rem;
  padding: 1.1rem 1.6rem;
  border-radius: 999px;
  background: var(--trf-ink);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.3);
}
.trf--tray .trf-toast { bottom: calc(var(--trf-tray) + 1.25rem); }
.trf-idle {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 41, 79, 0.72);
}
.trf-idle__card { width: 36rem; padding: 2.75rem 2.5rem 2rem; border-radius: 1.75rem; background: #fff; text-align: center; box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.4); }
.trf-idle__count { width: 7rem; height: 7rem; margin: 0 auto 1.25rem; border-radius: 50%; border: 0.4rem solid var(--trf-sun); display: flex; align-items: center; justify-content: center; font-size: 3rem; font-weight: 700; color: var(--trf-ink); }
.trf-idle__title { font-family: var(--trf-font-display); font-weight: var(--trf-font-display-weight); font-size: 2.4rem; color: var(--trf-ink); margin-bottom: 0.5rem !important; }
.trf-idle__text { font-size: 1.3rem; color: var(--trf-muted); margin-bottom: 1.75rem !important; }
.trf-idle__card .trf-btn { display: flex; width: 100%; margin-bottom: 0.8rem; }
.trf-idle__stay { text-transform: uppercase; letter-spacing: 0.04em; }

/* Hide third-party pop-ups (newsletter, chat) that apps inject into every page.
   Mailchimp Forms ("Claim my 10%" discount pop-up) mounts a div.mcforms-wrapper with an
   inline display:block, which !important overrides. This file loads only on the kiosk. */
body.trf-body .mcforms-wrapper { display: none !important; visibility: hidden !important; pointer-events: none !important; }
body.trf-body > iframe[title*="Chat" i],
body.trf-body > div[id^="shopify-chat"],
body.trf-body #shopify-chat,
body.trf-body #chat-button,
body.trf-body .mc-modal,
body.trf-body .mc-banner,
body.trf-body .mc-closeModal,
body.trf-body .mc-modal-bg,
body.trf-body #PopupSignupForm_0 { display: none !important; }

/* ---------- Smaller / portrait screens ---------- */
@media (max-width: 1100px) {
  .trf-card { width: calc(33.333% - 1.2rem); }
  .trf-recs .trf-rec { width: calc(100% - 1.4rem); }
}
@media (max-width: 900px), (max-aspect-ratio: 1/1) {
  .trf-topbar__left, .trf-topbar__right { min-width: 0; }
  .trf-navbtn span { display: none; }
  .trf-navbtn--compare span { display: inline; }
  .trf-navbtn .trf-icon, .trf-navbtn svg { margin-right: 0; }
  .trf-home { flex-direction: column; }
  .trf-home__content { flex: 1 1 auto; max-width: none; padding: 3rem; }
  .trf-home__showcase { display: none; }
  .trf-home__title { font-size: 4.2rem; }
  .trf-answer { width: calc(100% - 1.4rem); min-height: 6.5rem; }
  .trf-filters { position: absolute; top: 0; bottom: 0; left: 0; z-index: 4; width: 85%; transform: translateX(-102%); transition: transform 0.2s ease; box-shadow: 0 0 3rem rgba(0, 0, 0, 0.3); }
  .is-filters-open .trf-filters { transform: none; }
  .trf-filters__done { display: flex; }
  .trf-filters-toggle { display: inline-flex; }
  .trf-card { width: calc(50% - 1.2rem); }
  /* Portrait / narrow: photo, thumbnails and QR share one compact band so the
     name, price, stock and specs are visible without scrolling. */
  .trf-detail { flex-direction: column; }
  .trf-detail__media { flex: 0 0 auto; max-width: none; height: 30vh; flex-direction: row; align-items: stretch; padding: 1rem 1.25rem; border-right: 0; border-bottom: 0.1rem solid var(--trf-line); }
  .trf-detail__main { flex: 0 0 34%; height: 100%; max-height: none; }
  .trf-thumbs { flex: 0 0 auto; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; overflow-y: auto; padding: 0 0.75rem; }
  .trf-thumb { width: 4.2rem; height: 4.2rem; margin: 0 0 0.45rem; }
  .trf-detail__media .trf-qr { flex: 1 1 auto; min-width: 0; margin-top: 0; align-self: center; }
  .trf-detail__media .trf-qr__code { width: 9rem; height: 9rem; }
  .trf-detail__info { flex: 1 1 auto; min-height: 0; padding-top: 1.5rem; }
  .trf-segs { margin-top: 0.8rem; }
  .trf-search { flex-basis: 100%; max-width: none; margin: 0.8rem 0 0; order: 3; }
  .trf-key { height: 3.3rem; }
  .trf-tray__item { width: 4.8rem; padding-right: 0.4rem; }
  .trf-tray__name, .trf-tray__remove { display: none; }
  .trf-cmp tbody th, .trf-cmp__corner { width: 11rem; }
}
@media (max-height: 860px) and (min-aspect-ratio: 1/1) {
  .trf-home__content { padding-top: 2rem; padding-bottom: 2rem; }
  .trf-home__logo { width: 6.5rem; height: 6.5rem; padding: 0.6rem; margin-bottom: 1.2rem; }
  .trf-home__title { font-size: 4.6rem; margin-bottom: 1rem; }
  .trf-home__sub { margin-bottom: 1.6rem; }
  .trf-choice { min-height: 7rem; margin-bottom: 1rem; }
  .trf-choice__icon { width: 4.2rem; height: 4.2rem; }
  .trf-showcase__tile img { height: 14rem; }
  .trf-showcase__tile--1 img { height: 16rem; }
  .trf-quiz__question { font-size: 2.6rem; margin-bottom: 1.5rem !important; }
  .trf-answer { min-height: 7rem; }
}
@media (max-width: 600px) {
  .trf-detail__media .trf-qr { flex: 0 0 auto; margin-left: auto; padding: 0.6rem; }
  .trf-detail__media .trf-qr__text { display: none; }
  .trf-detail__media .trf-qr__code { width: 8.5rem; height: 8.5rem; margin-right: 0; }
}
/* Compare on narrow screens: columns keep a readable minimum width and the
   table scrolls sideways; titles wrap and buttons stack inside each column. */
@media (max-width: 900px) {
  .trf-compare { padding: 1.25rem 1rem 2rem; }
  .trf-compare__head { flex-wrap: wrap; align-items: flex-start; }
  .trf-compare__head .trf-h1 { font-size: 2.1rem; }
  .trf-compare__head > div { margin: 0 1rem 0.8rem 0; }
  .trf-cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .trf-cmp { min-width: 42rem; }
  .trf-cmp th, .trf-cmp td { padding: 0.75rem 0.6rem; overflow-wrap: anywhere; word-break: break-word; }
  .trf-cmp tbody th, .trf-cmp__corner { width: 8.5rem; font-size: 1rem; }
  .trf-cmp td { font-size: 1.1rem; }
  .trf-cmp__legend { font-size: 0.85rem; }
  .trf-cmp__img { height: 7rem; }
  .trf-cmp__title { font-size: 1rem; }
  .trf-cmp__btns { flex-direction: column; }
  .trf-cmp__btns .trf-btn { width: 100%; margin: 0 0 0.4rem; min-height: 3rem; padding: 0 0.5rem; }
  .trf-diff-pill { display: table; margin: 0.3rem 0 0; }
  .trf-cmp__addbtn { height: 7rem; font-size: 1rem; }
}
@media (min-width: 2000px) and (min-aspect-ratio: 16/10) {
  .trf-card { width: calc(20% - 1.2rem); }
}

@media (prefers-reduced-motion: reduce) {
  .trf *, .trf *::before, .trf *::after { animation: none !important; transition: none !important; }
}

/* ---------- Tennis Racquet Finder additions ---------- */
.trf-answer__text { display: flex; flex-direction: column; min-width: 0; }
.trf-answer__title { font-weight: 600; }
.trf-answer__sub { margin-top: 0.25rem; font-size: 1.05rem; line-height: 1.3; color: var(--trf-muted); }
.trf-answer.is-selected .trf-answer__sub { color: var(--trf-teal-d); }
.trf-answers--5 .trf-answer, .trf-answers--3 .trf-answer { min-height: 7rem; }
.trf-answers--5 .trf-answer:last-child { width: calc(100% - 1.4rem); }
.trf-unit { font-weight: 500; color: var(--trf-muted); font-size: 0.85em; }
.trf-rating-note { margin-top: 0.4rem; font-size: 0.95rem; color: var(--trf-muted); }
.trf-level { display: inline-block; margin-top: 0.45rem; padding: 0.2rem 0.65rem; border-radius: 999px; background: var(--trf-teal-l); color: var(--trf-teal-d); font-size: 0.95rem; font-weight: 700; }
.trf-rec__meters { margin: 0 0 0.7rem; }
.trf-rec__meter { display: flex; align-items: center; padding: 0.2rem 0; font-size: 1rem; }
.trf-rec__meter dt { width: 5.5rem; color: var(--trf-muted); }
.trf-rec__meter dd { margin: 0; display: flex; align-items: center; font-weight: 700; color: var(--trf-ink); }
.trf-rec__meter .trf-meter { width: 8rem; }
@media (max-width: 749px) {
  .trf-answers--5 .trf-answer:last-child { width: calc(100% - 1.4rem); }
  .trf-answer__sub { font-size: 0.95rem; }
}

/* ---------- Search Shoes ---------- */
.trf-quiz__sub { margin: -1.25rem 0 1.5rem !important; font-size: 1.2rem; color: var(--trf-muted); }
.trf-sizes { display: flex; flex-wrap: wrap; margin: 0 -0.4rem 1rem; }
.trf-size {
  min-width: 6.2rem; min-height: 4.6rem; margin: 0.4rem; padding: 0 1rem;
  border-radius: var(--trf-radius-sm); border: 0.18rem solid var(--trf-line); background: var(--trf-card);
  font-size: 1.45rem; font-weight: 700; color: var(--trf-ink); cursor: pointer; touch-action: manipulation;
}
.trf-size--wide { min-width: 18rem; font-size: 1.15rem; font-weight: 600; }
.trf-size.is-selected { border-color: var(--trf-teal); background: var(--trf-teal); color: #fff; }
.trf-home__actions { max-width: 44rem; }
.trf-home__row { display: flex; margin: 0 -0.5rem; }
.trf-home__row .trf-choice { flex: 1 1 0; width: auto; min-width: 0; min-height: 0; margin-left: 0.5rem; margin-right: 0.5rem; padding: 1rem 1.1rem; }
.trf-home__row .trf-choice__text { min-width: 0; }
.trf-home__row .trf-choice__title { font-size: 1.45rem; line-height: 1.15; overflow-wrap: break-word; }
.trf-home__row .trf-choice__sub { font-size: 1.05rem; }
.trf-home__row .trf-choice__arrow { display: none; }
.trf-home__row .trf-choice__icon { width: 3.2rem; height: 3.2rem; margin-right: 0.85rem; }
.trf-home__row .trf-choice__icon .trf-icon { width: 1.9rem; height: 1.9rem; }
@media (max-width: 600px) { .trf-home__row { display: block; margin: 0; } .trf-home__row .trf-choice { width: 100%; margin-left: 0; margin-right: 0; } }

/* ======================================================================
   Website mode (.trf--web): the same app for shoppers on the storefront,
   opened from the Finder launcher section. Kiosk mode is unaffected.
   (Generated from the same block in paddle-kiosk.css, tennis colors.)
   ====================================================================== */
html.trf-html:has(.trf--web) { touch-action: auto; }
.trf--web { -webkit-user-select: text; user-select: text; }
.trf-visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Home bar: back to the shop, language menu, cart. */
.trf-webbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
}
.trf-webbar__link {
  display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.1rem;
  border: 0.1rem solid rgba(255, 255, 255, 0.28); border-radius: 999px;
  background: rgba(22, 41, 79, 0.35); color: #fff; font-size: 1.05rem; font-weight: 600; text-decoration: none;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.trf-webbar__link .trf-icon { width: 1.3rem; height: 1.3rem; }
.trf-webbar__link .trf-flip .trf-icon { margin-right: 0.4rem; }
  -webkit-appearance: none; appearance: none; border: 0; background: transparent; color: inherit;
  font: inherit; font-size: 16px; padding: 0.3rem 0.4rem; cursor: pointer; max-width: 11rem;
}
.trf-webbar__cart, .trf-navbtn--cart { position: relative; }
.trf-webbar__cart b, .trf-navbtn--cart b {
  position: absolute; top: -0.35rem; right: -0.35rem; min-width: 1.5rem; height: 1.5rem; padding: 0 0.35rem;
  border-radius: 999px; background: var(--trf-sun); color: var(--trf-ink);
  font-size: 0.85rem; line-height: 1.5rem; text-align: center; font-weight: 700;
}
.trf-navbtn--cart { margin-right: 0; margin-left: 0.6rem; text-decoration: none; padding: 0 1rem; }
.trf-navbtn--cart b { top: 0.1rem; right: 0.1rem; }
.trf-navbtn--cart svg { margin-right: 0 !important; }
.trf--web .trf-home__content { padding-top: 5.5rem; }

/* Buy box on the product screen. */
.trf-buy { display: flex; flex-wrap: wrap; margin: 1.25rem -0.4rem 0.5rem; }
.trf-buy--sticky { display: none; }
.trf-buy .trf-btn { flex: 1 1 12rem; margin: 0 0.4rem 0.6rem; text-decoration: none; justify-content: center; }
.trf-buy__add .trf-icon { margin-right: 0.55rem; }
.trf-buy__add[disabled] { opacity: 0.55; }
.trf--web .trf-detail__main { flex: 1 1 auto; }
.trf-toast a { color: var(--trf-gold); text-decoration: underline; margin-left: 0.4rem; }

/* Search field with the device keyboard (16px keeps iPhones from zooming in). */
.trf-search__box--input { cursor: text; }
.trf-search__input {
  flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 16px; font-size: max(16px, 1.15rem); color: var(--trf-text);
}
.trf-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }

/* Quiz: scroll when the questions are taller than the screen (phones),
   stay centered when they fit. */
.trf--web .trf-quiz { align-items: flex-start; justify-content: flex-start; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.trf--web .trf-quiz__inner { margin: auto; }

/* A little celebration when the matches appear. */
.trf--web .trf-rec { animation: trf-rise 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.trf--web .trf-rec:nth-child(2) { animation-delay: 0.12s; }
.trf--web .trf-rec:nth-child(3) { animation-delay: 0.24s; }
.trf--web .trf-rec.is-best { box-shadow: 0 0 0 0.2rem rgba(200, 225, 59, 0.25), var(--trf-shadow); }
@keyframes trf-rise { from { opacity: 0; transform: translateY(1.5rem) scale(0.98); } to { opacity: 1; transform: none; } }
.trf--web .trf-answer { transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease; }
.trf--web .trf-answer:active { transform: scale(0.985); }
@media (hover: hover) {
  .trf--web .trf-answer:hover, .trf--web .trf-choice:hover { transform: translateY(-2px); box-shadow: var(--trf-shadow); }
}

/* Phones */
@media (max-width: 600px) {
  .trf--web .trf-webbar { padding: 0.75rem 0.9rem; }
  .trf--web .trf-home__content { padding: 5rem 1.5rem 2rem; }
  .trf--web .trf-home__title { font-size: 3.4rem; }
  .trf--web .trf-detail__media { height: 34vh; padding: 0.75rem 1rem; }
  .trf--web .trf-detail__info { padding: 1.25rem 1.5rem 0; }
  /* Keep Add to cart in reach while scrolling the specs. */
  .trf-buy--inline { display: none; }
  .trf--web .trf-buy--sticky {
    display: flex;
    position: -webkit-sticky; position: sticky; bottom: 0; z-index: 2;
    margin: 1rem -1.5rem 0; padding: 0.8rem 1.1rem calc(0.3rem + env(safe-area-inset-bottom, 0px));
    background: var(--trf-sand); box-shadow: 0 -0.6rem 1.2rem rgba(22, 41, 79, 0.08);
  }
  .trf--web .trf-buy .trf-btn { flex: 1 1 0; min-height: 3.8rem; font-size: 1.15rem; }
  .trf--web .trf-quiz__question { font-size: 2.5rem; }
  .trf--web .trf-answer { min-height: 5.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .trf--web .trf-rec { animation: none; }
  .trf--web .trf-answer, .trf--web .trf-choice { transition: none; transform: none !important; }
}
