/* Category page with sub-categories (Apparel): hero block + "Find your sport" list.
   Hero: HTML Block "Category hero - Apparel" (Elementor). Its colour rules are kept weaker
   than the selectors Elementor writes for its own pickers, so colours picked there win.
   List: built by inc/catpage.php; its colours are the variables on .qst-cat__find. */

/* ───────── Hero ───────── */
.elementor .e-con.qst-cat-hero {
  --qc-ink: #f4f4f0;
  --qc-accent: #9ccaff;
  position: relative;
  display: block;
  min-height: clamp(38rem, 94vh, 64rem);
  padding: calc(clamp(3rem, 9vh, 6rem) + var(--qc-head, 0px)) clamp(1.25rem, 3.6vw, 4.5rem) clamp(3rem, 8vh, 5rem);
  overflow: hidden;
  background-color: #0b1220;
  background-image:
    radial-gradient(58rem 40rem at 76% 42%, rgba(120,170,255,0.12), transparent 70%),
    linear-gradient(180deg, #0f1624, #0a111f 70%);
  color: var(--qc-ink);
}
.qst-cat-hero .elementor-widget { margin: 0; }
.elementor .e-con.qst-cat-hero__copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 58%;
  max-width: 66rem;
  padding: 0;
}
.qst-cat-hero .qst-cat-hero__eyebrow .elementor-heading-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 clamp(1rem, 3vh, 1.8rem);
  font-size: clamp(0.8rem, 1vw, 1rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--qc-accent);
}
.qst-cat-hero .qst-cat-hero__eyebrow .elementor-heading-title::before {
  content: "";
  width: 2.2rem;
  height: 3px;
  background: currentColor;
}
.qst-cat-hero .qst-cat-hero__title .elementor-heading-title {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(3.4rem, 8.8vw, 10rem);
  line-height: 0.84;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--qc-ink);
}
.qst-cat-hero .qst-cat-hero__outline {              /* second line: outline letters */
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: clamp(1.5px, 0.16vw, 3px) var(--qc-ink);
  paint-order: stroke fill;
}
.qst-cat-hero .qst-cat-hero__text,
.qst-cat-hero .qst-cat-hero__text p {
  max-width: 40rem;
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.6;
  color: rgba(244,244,240,0.78);
}
.elementor .e-con.qst-cat-hero__copy .qst-cat-hero__text { margin: clamp(1.2rem, 3.2vh, 2rem) 0 clamp(1.4rem, 4vh, 2.4rem); }
.elementor .e-con.qst-cat-hero__copy .qst-cat-hero__btn { width: auto; }
.qst-cat-hero .qst-cat-hero__btn .elementor-button {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 0.7rem 0.7rem 1.9rem;
  border: 0;
  border-radius: 999px;
  background-color: #f4f4f0;
  box-shadow: none;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  color: #0a0a0a;
  fill: #0a0a0a;
  transition: background-color .3s ease, transform .3s ease;
}
.qst-cat-hero .qst-cat-hero__btn .elementor-button-text { display: inline-flex; align-items: center; gap: 1.2rem; }
.qst-cat-hero .qst-cat-hero__btn .elementor-button-text::after {
  content: "\2197";
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: #0a0a0a;
  font-size: 1.05rem;
  color: #fff;
  transition: transform .3s ease, background-color .3s ease, color .3s ease;
}
.qst-cat-hero .qst-cat-hero__btn .elementor-button:hover,
.qst-cat-hero .qst-cat-hero__btn .elementor-button:focus-visible { background-color: var(--qc-accent); color: #0a0a0a; }
.qst-cat-hero .qst-cat-hero__btn .elementor-button:hover .elementor-button-text::after { transform: rotate(45deg); }

/* one wide picture on the right (Image widget with class qst-cat-hero__img--bg) */
.qst-cat-hero .qst-cat-hero__img.qst-cat-hero__img--bg {
  flex: 0 0 auto;
  height: 100%;
  margin: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 17%), linear-gradient(0deg, transparent 0, #000 7%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 17%), linear-gradient(0deg, transparent 0, #000 7%);
  mask-composite: intersect;
}
.qst-cat-hero .qst-cat-hero__img.qst-cat-hero__img--bg .elementor-widget-container,
.qst-cat-hero .qst-cat-hero__img.qst-cat-hero__img--bg img { height: 100%; }
.qst-cat-hero .qst-cat-hero__img.qst-cat-hero__img--bg img { width: auto; max-width: none; object-fit: cover; object-position: left center; filter: none; }

/* product line-up on the right (used when there is no single picture) */
.elementor .e-con.qst-cat-hero__stage {
  position: absolute;
  z-index: 1;
  top: var(--qc-head, 0px);
  right: 0;
  bottom: 0;
  width: 58%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0;
  padding: 0 clamp(0.5rem, 2vw, 3rem) clamp(1.5rem, 5vh, 3.5rem) 0;
}
.elementor .e-con.qst-cat-hero__stage:has(.qst-cat-hero__img--bg) { padding: 0; width: 66%; }
.elementor .e-con.qst-cat-hero__stage:has(.qst-cat-hero__img--bg)::after { display: none; }
.elementor .e-con.qst-cat-hero__stage::after {       /* floor shadow */
  content: "";
  position: absolute;
  left: 8%;
  right: 0;
  bottom: clamp(0.6rem, 3vh, 2rem);
  height: 7vh;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(0,0,0,0.7), transparent);
}
.qst-cat-hero .qst-cat-hero__img { flex: 0 0 auto; width: auto; margin-left: -4.5vw; animation: qstCatRise 0.9s cubic-bezier(.16,.8,.2,1) backwards; }
.qst-cat-hero .qst-cat-hero__img img {
  display: block;
  width: auto;
  max-width: none;
  height: min(var(--qc-h, 44vh), 32vw);
  border-radius: 0;
  filter: drop-shadow(0 2.2rem 1.8rem rgba(0,0,0,0.55));
}
.qst-cat-hero .qst-cat-hero__img--1 { --qc-h: 42vh; animation-delay: 0.25s; }
.qst-cat-hero .qst-cat-hero__img--2 { --qc-h: 52vh; animation-delay: 0.35s; }
.qst-cat-hero .qst-cat-hero__img--3 { --qc-h: 62vh; animation-delay: 0.45s; z-index: 2; }
.qst-cat-hero .qst-cat-hero__img--4 { --qc-h: 48vh; animation-delay: 0.55s; }
.qst-cat-hero .qst-cat-hero__title .elementor-heading-title { animation: qstCatTitle 0.9s cubic-bezier(.16,.8,.2,1) 0.1s backwards; }
@keyframes qstCatRise  { from { opacity: 0; transform: translate3d(0, 6vh, 0); } }
@keyframes qstCatTitle { from { opacity: 0; transform: translate3d(0, 0.35em, 0); } }

/* ───────── Find your sport ───────── */
.qst-cat { display: block; }
.qst-cat__find {
  --qc-bg: #eceff4;
  --qc-ink: #0f1729;
  --qc-muted: rgba(15,23,41,0.66);
  --qc-line: rgba(15,23,41,0.16);
  --qc-accent: #b3cdf5;
  --qc-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  background: var(--qc-bg);
  color: var(--qc-ink);
  padding: clamp(3.5rem, 10vh, 7rem) clamp(1.25rem, 3.6vw, 4.5rem) clamp(3.5rem, 9vh, 6rem);
}
.qst-cat__wrap { max-width: 120rem; margin: 0 auto; }
.qst-cat__head { display: grid; grid-template-columns: minmax(10rem, 24%) minmax(0, 1fr); gap: 2rem; align-items: start; }
.qst-cat__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: clamp(2rem, 8vw, 7rem) 0 0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--qc-ink);
}
.qst-cat__eyebrow-no { padding: 0.25rem 0.7rem; border: 1px solid currentColor; border-radius: 999px; letter-spacing: 0.1em; }
.qst-cat__title {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(3.4rem, 10.5vw, 11rem);
  line-height: 0.88;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--qc-ink);
}
.qst-cat__mark { color: #5b8fe0; }
.qst-cat__intro { max-width: 38rem; margin: 1.4rem 0 0; font-size: clamp(1rem, 1.2vw, 1.2rem); line-height: 1.55; color: var(--qc-muted); }

.qst-cat__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: clamp(2rem, 6vh, 3.5rem) 0 1.4rem; }
.qst-cat__filters { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.qst-cat__filter {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--qc-line);
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  color: var(--qc-ink);
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.qst-cat__filter span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; opacity: 0.6; }
.qst-cat__filter:hover { border-color: var(--qc-ink); }
.qst-cat__filter.is-on { background: var(--qc-ink); border-color: var(--qc-ink); color: #fff; }
.qst-cat__shown { margin: 0; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--qc-muted); }

/* the list */
.qst-cat__list { position: relative; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--qc-line); }
.qst-cat__item { margin: 0; padding: 0; border-bottom: 1px solid var(--qc-line); transition: opacity .35s ease; }
.qst-cat__item[hidden] { display: none; }
.qst-cat__row {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1.5fr) minmax(0, 1fr) 6.2rem 3.4rem;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 2rem);
  padding: clamp(0.8rem, 1.5vw, 1.2rem) clamp(0.6rem, 1.4vw, 1.2rem);
  text-decoration: none;
  color: var(--qc-ink);
  transition: background-color .16s ease, color .16s ease;
}
.qst-cat__num { font-family: var(--qc-mono); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; opacity: 0.6; }
.qst-cat__thumb { display: none; }
.qst-cat__name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.1rem, 4.4vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.qst-cat__desc { max-width: 30rem; font-size: clamp(0.85rem, 0.95vw, 0.95rem); line-height: 1.5; color: var(--qc-muted); transition: color .16s ease; }
.qst-cat__count { display: block; margin-top: 0.4rem; font-family: var(--qc-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #5b8fe0; transition: color .16s ease; }
.qst-cat__chip { justify-self: end; text-align: center; padding: 0.5rem 0.95rem; border: 1px solid var(--qc-line); border-radius: 999px; font-family: var(--qc-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; transition: border-color .16s ease; }
.qst-cat__go {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border: 1px solid var(--qc-line);
  border-radius: 50%;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .35s ease;
}
.qst-cat__go::before { content: "\2197"; font-size: 1.1rem; line-height: 1; transition: transform .35s ease; }

@media (hover: hover) {
  .qst-cat__item:hover { opacity: 1; transition-duration: 0s; }
  .qst-cat__list:hover .qst-cat__item:not(:hover) { opacity: 0.45; }
  .qst-cat__item:hover .qst-cat__row,
  .qst-cat__row:focus-visible { background: var(--qc-ink); color: #fff; }
  .qst-cat__item:hover .qst-cat__name { transform: translateX(1.2rem); }
  .qst-cat__item:hover .qst-cat__desc { color: rgba(255,255,255,0.78); }
  .qst-cat__item:hover .qst-cat__count { color: #9ccaff; }
  .qst-cat__item:hover .qst-cat__chip { border-color: rgba(255,255,255,0.5); }
  .qst-cat__item:hover .qst-cat__go { background: #fff; border-color: #fff; color: var(--qc-ink); }
  .qst-cat__item:hover .qst-cat__go::before { content: "\2192"; }
}
.qst-cat__row:focus-visible { outline: 2px solid var(--qc-accent); outline-offset: -2px; }

/* floating picture + product cut-out + "Open" cursor (catpage.js, mouse only) */
/* ▼ HOVER PICTURES SIZE (all category pages): the card's width below sets the size of BOTH pictures –
     the main picture is this width, the second (cut-out) picture is 66% of it (.qst-cat__pv-kit width).
     Bigger / smaller: change the two numbers in min(): rem = the most it may be, vw = share of the screen width.
     Was min(19rem, 21vw) until 2026-10-12. */
.qst-cat__preview {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: min(15rem, 16vw);
  aspect-ratio: 4 / 5;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  transition: opacity .3s ease;
}
.qst-cat__preview.is-on { opacity: 1; }
.qst-cat__pv-main { position: absolute; inset: 0; overflow: hidden; border-radius: 14px; background: #d3d8e2; box-shadow: 0 40px 80px -20px rgba(10,17,32,0.6); }
.qst-cat__pv-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity .35s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.qst-cat__pv-main img.is-on { opacity: 1; transform: none; }
.qst-cat__pv-kit { position: absolute; left: 62%; top: 55%; width: 66%; aspect-ratio: 1; }
.qst-cat__pv-kit img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: translate3d(-12%, -10%, 0) scale(.82) rotate(-6deg); filter: drop-shadow(0 20px 24px rgba(0,0,0,0.45)); transition: opacity .35s ease, transform .75s cubic-bezier(.2,.9,.25,1.15); }
.qst-cat__pv-kit img.is-on { opacity: 1; transform: none; transition-delay: .06s; }
.qst-cat__cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 61;
  display: grid;
  place-items: center;
  width: 6.4rem;
  height: 6.4rem;
  margin: -3.2rem 0 0 -3.2rem;
  border-radius: 50%;
  background: #b3cdf5;
  font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #0f1729;
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
  will-change: transform, opacity;
  transition: opacity .25s ease;
}
.qst-cat__cursor.is-on { opacity: 1; }

/* reveal on scroll (catpage.js adds .qst-cat--js, then .is-in) */
.qst-cat--js .qst-cat__item { opacity: 0; transform: translateY(26px); }
.qst-cat--js .qst-cat__item.is-in { opacity: 1; transform: none; transition: opacity .6s ease calc(min(var(--i, 0), 8) * 60ms), transform .7s cubic-bezier(.2,.8,.2,1) calc(min(var(--i, 0), 8) * 60ms); }
@media (hover: hover) { .qst-cat--js .qst-cat__list:hover .qst-cat__item.is-in:not(:hover) { opacity: 0.45; transition: opacity .35s ease; } }

/* tablet / phone */
@media (max-width: 1000px) {
  .elementor .e-con.qst-cat-hero__copy { width: 100%; }
  .elementor .e-con.qst-cat-hero { min-height: 0; padding-bottom: 0; }
  .elementor .e-con.qst-cat-hero__stage { position: relative; top: auto; width: 100%; height: 44vw; min-height: 14rem; margin-top: 2rem; justify-content: center; padding: 0; }
  .qst-cat-hero .qst-cat-hero__img img { height: min(var(--qc-h, 44vh), 40vw); }
  .elementor .e-con.qst-cat-hero__stage:has(.qst-cat-hero__img--bg) { width: 100%; height: auto; min-height: 0; margin-top: 1rem; }
  .qst-cat-hero .qst-cat-hero__img.qst-cat-hero__img--bg { width: 100%; height: auto; -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 8%); mask-image: linear-gradient(0deg, transparent 0, #000 8%); }
  .qst-cat-hero .qst-cat-hero__img.qst-cat-hero__img--bg .elementor-widget-container, .qst-cat-hero .qst-cat-hero__img.qst-cat-hero__img--bg img { height: auto; width: 100%; }
  .qst-cat-hero .qst-cat-hero__img--1 { --qc-h: 26vw; }
  .qst-cat-hero .qst-cat-hero__img--2 { --qc-h: 32vw; }
  .qst-cat-hero .qst-cat-hero__img--3 { --qc-h: 38vw; }
  .qst-cat-hero .qst-cat-hero__img--4 { --qc-h: 30vw; }
  .qst-cat__head { grid-template-columns: 1fr; gap: 1rem; }
  .qst-cat__eyebrow { margin-top: 0; }
  .qst-cat__row { grid-template-columns: 2.4rem minmax(0, 1fr) auto 3rem; }
  .qst-cat__desc { display: none; }
  .qst-cat__go { width: 3rem; height: 3rem; }
}
@media (max-width: 600px) {
  .qst-cat__row { grid-template-columns: 4.2rem minmax(0, 1fr) 2.8rem; gap: 0.9rem; }
  .qst-cat__num, .qst-cat__chip { display: none; }
  .qst-cat__thumb { display: block; width: 4.2rem; height: 4.2rem; overflow: hidden; border-radius: 8px; background: #d9dbd5; }
  .qst-cat__thumbimg { display: block; width: 100%; height: 100%; object-fit: cover; }
  .qst-cat__name { font-size: clamp(2rem, 9vw, 2.8rem); }
  .qst-cat__go { width: 2.8rem; height: 2.8rem; }
  .qst-cat__shown { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .qst-cat-hero .qst-cat-hero__img, .qst-cat-hero .qst-cat-hero__title .elementor-heading-title { animation: none; }
  .qst-cat--js .qst-cat__item, .qst-cat--js .qst-cat__item.is-in { opacity: 1; transform: none; transition: none; }
}

/* Woodmart wraps the page in a boxed container: let this page run edge to edge */
.wd-content-layout:has(> .qst-cat),
.wd-content-layout:has(> .qst-cat) > .qst-cat { max-width: none; width: 100%; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
.wd-content-layout:has(> .qst-cat) { padding-top: 0; padding-bottom: 0; }
/* on phones Woodmart sets the top padding with a stronger selector, which left a white strip between header and hero */
.wd-page-content .wd-content-layout.content-layout-wrapper:has(> .qst-cat) { padding-top: 0; padding-bottom: 0; }

/* ───────── Closing section: "The rail is ready." (Elementor block "Category closing - Apparel") ───────── */
.elementor .e-con.qst-cat-cta {
  --qk-ink: #eef2f7;
  --qk-accent: #afc9ec;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(34rem, 82vh, 56rem);
  padding: clamp(5rem, 12vh, 7.5rem) clamp(1.25rem, 3.4vw, 3rem);
  overflow: hidden;
  text-align: center;
  background-color: #0a1120;
  background-image: radial-gradient(60rem 34rem at 50% 38%, rgba(120,170,255,0.14), transparent 70%);
  color: var(--qk-ink);
}
.qst-cat-cta .elementor-widget { margin: 0; }
.qst-cat-cta .qst-cat-cta__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.qst-cat-cta .qst-cat-cta__bg .elementor-widget-container { height: 100%; }
.qst-cat-cta .qst-cat-cta__bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: 0.45; }
.elementor .e-con.qst-cat-cta::after {          /* fades the picture into the page */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(rgba(10,17,32,0.25), rgba(10,17,32,0) 40%, #0a1120);
}
.elementor .e-con.qst-cat-cta__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.4rem, 3.6vh, 2rem);
  width: 100%;
  max-width: 100rem;
  padding: 0;
}
.qst-cat-cta .qst-cat-cta__kicker .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--qk-accent);
}
.qst-cat-cta__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--qk-accent); animation: qstCtaPing 2.2s infinite; }
@keyframes qstCtaPing { 0% { box-shadow: 0 0 0 0 rgba(175,201,236,0.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(175,201,236,0); } }
.qst-cat-cta .qst-cat-cta__title .elementor-heading-title {
  margin: 0;
  font-family: 'Big Shoulders Display', 'Bebas Neue', sans-serif;
  font-weight: 800;
  font-size: clamp(3.2rem, 10.6vw, 12rem);
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--qk-ink);
}
.qst-cat-cta .qst-cat-cta__outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: clamp(1.2px, 0.12vw, 2px) var(--qk-ink);
}
.elementor .e-con.qst-cat-cta__btns { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.9rem; width: auto; padding: 0; margin-top: clamp(0.4rem, 2vh, 1.2rem); }
.qst-cat-cta .qst-cat-cta__btn { width: auto; }
.qst-cat-cta .qst-cat-cta__btn .elementor-button {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
  transition: background-color .3s ease, color .3s ease, transform .3s ease;
}
.qst-cat-cta .qst-cat-cta__btn .elementor-button-text { display: inline-flex; align-items: center; }
.qst-cat-cta .qst-cat-cta__btn .elementor-button-text::after { content: "\2197"; display: grid; place-items: center; border-radius: 50%; transition: transform .3s ease, background-color .3s ease, color .3s ease; }
.qst-cat-cta .qst-cat-cta__btn--light .elementor-button { padding: 0.55rem 0.55rem 0.55rem 2.2rem; border: 0; background-color: var(--qk-ink); color: #0a1120; font-size: 1.15rem; }
.qst-cat-cta .qst-cat-cta__btn--light .elementor-button-text { gap: 1.1rem; }
.qst-cat-cta .qst-cat-cta__btn--light .elementor-button-text::after { width: 2.6rem; height: 2.6rem; background: #0a1120; color: var(--qk-ink); font-size: 1rem; }
.qst-cat-cta .qst-cat-cta__btn--light .elementor-button:hover { background-color: var(--qk-accent); }
.qst-cat-cta .qst-cat-cta__btn--ghost .elementor-button { padding: 0.55rem 0.7rem 0.55rem 1.6rem; border: 1px solid var(--qk-ink); background-color: transparent; color: var(--qk-ink); font-size: 0.95rem; }
.qst-cat-cta .qst-cat-cta__btn--ghost .elementor-button-text { gap: 0.9rem; }
.qst-cat-cta .qst-cat-cta__btn--ghost .elementor-button-text::after { width: 1.75rem; height: 1.75rem; border: 1px solid var(--qk-ink); font-size: 0.8rem; }
.qst-cat-cta .qst-cat-cta__btn--ghost .elementor-button:hover { background-color: var(--qk-ink); color: #0a1120; }
.qst-cat-cta .qst-cat-cta__btn--ghost .elementor-button:hover .elementor-button-text::after { border-color: #0a1120; }
.qst-cat-cta .qst-cat-cta__btn .elementor-button:hover .elementor-button-text::after { transform: rotate(45deg); }
@media (max-width: 600px) { .elementor .e-con.qst-cat-cta { min-height: 30rem; } .qst-cat-cta .qst-cat-cta__title .elementor-heading-title { font-size: clamp(2.6rem, 14vw, 4rem); } }

/* once the visitor is on the list the reveal delays are over: hover feedback must be instant */
.qst-cat--live.qst-cat--js .qst-cat__item,
.qst-cat--live.qst-cat--js .qst-cat__item.is-in { transition: opacity .25s ease; transition-delay: 0s; }
.qst-cat--live.qst-cat--js .qst-cat__list .qst-cat__item.is-in:hover { opacity: 1; transition: none; }
.qst-cat--live .qst-cat__item:hover .qst-cat__row { transition-duration: 0s; }

/* ───────── "It's in the details." (zoom reveal, engine = zoom.js) ───────── */
.elementor .e-con.qst-zoom.qst-zoom--cat {
  --qst-accent: #afc9ec;
  --qst-zoom-x: 50%;          /* the spot the camera zooms into (seam of the light-blue jersey) */
  --qst-zoom-y: 50%;
  background: #0a1120;
}
.qst-zoom--cat .qst-zoom__eyebrow .elementor-heading-title { font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace; font-weight: 400; letter-spacing: 0.1em; color: var(--qst-accent); }
.qst-zoom--cat .qst-zoom__title .elementor-heading-title { font-family: 'Big Shoulders Display', 'Bebas Neue', sans-serif; font-weight: 800; font-size: clamp(3rem, 8.4vw, 9.5rem); line-height: 0.88; letter-spacing: 0; }
.qst-zoom--cat .qst-zoom__text, .qst-zoom--cat .qst-zoom__text p { max-width: 30rem; margin: 1.1rem 0 0; font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.55; color: rgba(238,242,247,0.85); }

/* ───────── Materials (five fabric cards) ───────── */
.elementor .e-con.qst-mat {
  --qm-ink: #eef2f7;
  --qm-accent: #afc9ec;
  display: block;
  padding: clamp(3.5rem, 9vh, 5.2rem) clamp(1.25rem, 3vw, 3rem) clamp(2.5rem, 6vh, 3.5rem);
  background: #0a1120;
  color: var(--qm-ink);
}
.qst-mat .elementor-widget { margin: 0; }
.elementor .e-con.qst-mat__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; width: 100%; padding: 0; }
.elementor .e-con.qst-mat__card { display: flex; flex-direction: column; gap: 0; padding: 0; background: transparent; }
.qst-mat .qst-mat__img { overflow: hidden; border-radius: 14px; aspect-ratio: 3 / 4; }
.qst-mat .qst-mat__img .elementor-widget-container, .qst-mat .qst-mat__img img { display: block; width: 100%; height: 100%; }
.qst-mat .qst-mat__img img { object-fit: cover; border-radius: 14px; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.qst-mat .qst-mat__img { cursor: zoom-in; }
.qst-mat .qst-mat__card .qst-mat__img img { transform-origin: var(--mx, 50%) var(--my, 50%); }
.qst-mat .qst-mat__card:hover .qst-mat__img img, .qst-mat .qst-mat__card:focus-within .qst-mat__img img { transform: scale(2.2); }
.qst-mat .qst-mat__tag .elementor-heading-title { margin: 1rem 0 0.35rem; font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace; font-size: 0.75rem; font-weight: 400; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; color: var(--qm-accent); }
.qst-mat .qst-mat__name .elementor-heading-title { margin: 0 0 0.45rem; font-family: 'Big Shoulders Display', 'Bebas Neue', sans-serif; font-size: 1.9rem; font-weight: 800; line-height: 1; letter-spacing: 0; text-transform: uppercase; color: var(--qm-ink); }
.qst-mat .qst-mat__text, .qst-mat .qst-mat__text p { margin: 0; font-size: 0.9rem; line-height: 1.55; color: rgba(238,242,247,0.66); }
.elementor .e-con.qst-mat__foot { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; width: 100%; margin-top: clamp(2rem, 5vh, 3rem); padding: 1.4rem 0 0; border-top: 1px solid rgba(238,242,247,0.14); }
.qst-mat .qst-mat__fine, .qst-mat .qst-mat__fine p { max-width: 34rem; margin: 0; font-size: 0.78rem; line-height: 1.5; color: rgba(238,242,247,0.5); }
.qst-mat .qst-mat__link { width: auto; }
.qst-mat .qst-mat__link .elementor-button { display: inline-flex; align-items: center; padding: 0.4rem 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-family: 'Inter Tight', system-ui, sans-serif; font-size: 0.95rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--qm-ink); }
.qst-mat .qst-mat__link .elementor-button-text { display: inline-flex; align-items: center; gap: 0.6rem; }
.qst-mat .qst-mat__link .elementor-button-text::after { content: "\2197"; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border: 1px solid currentColor; border-radius: 50%; font-size: 0.85rem; transition: transform .3s ease, background-color .3s ease, color .3s ease; }
.qst-mat .qst-mat__link .elementor-button:hover .elementor-button-text::after { background: var(--qm-ink); color: #0a1120; transform: rotate(45deg); }
@media (max-width: 1000px) { .elementor .e-con.qst-mat__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 0.6rem; } .elementor .e-con.qst-mat__card { flex: 0 0 min(15rem, 62vw); scroll-snap-align: start; } }
/* reveal (catpage.js adds .qst-mat--js, then .is-in) */
.qst-mat--js .qst-mat__card { opacity: 0; transform: translateY(80px) rotate(calc((var(--i, 0) - 2) * 3deg)); transform-origin: 50% 100%; }
.qst-mat--js .qst-mat__card .qst-mat__img img { transform: scale(1.18); }
.qst-mat--js .qst-mat__card.is-in .qst-mat__img img { transform: scale(1); transition: transform 1.4s cubic-bezier(.22,1,.36,1) calc(var(--i, 0) * 110ms); }
.qst-mat--js .qst-mat__card.is-in:hover .qst-mat__img img { transform: scale(2.2); transition: transform .9s cubic-bezier(.22,1,.36,1); }
.qst-mat--js .qst-mat__card.is-in { opacity: 1; transform: none; transition: opacity .9s ease calc(var(--i, 0) * 110ms), transform 1.2s cubic-bezier(.22,1,.36,1) calc(var(--i, 0) * 110ms); }
@media (prefers-reduced-motion: reduce) { .qst-mat--js .qst-mat__card, .qst-mat--js .qst-mat__card.is-in { opacity: 1; transform: none; transition: none; } }

/* macro image + clip are centred by zoom.js in centre mode */
.qst-zoom--center.is-js .qst-zoom__macro img { transform-origin: 50% 50%; }

/* details copy sits bottom-left (dark fade under it) so it never covers the garments */
.elementor .e-con.qst-zoom--cat.is-js .qst-zoom__copy { top: auto; bottom: 0; padding: 2rem clamp(1.25rem, 3vw, 3rem) clamp(2rem, 8vh, 4rem); }
.qst-zoom--cat.is-js .qst-zoom__stage::after { background: linear-gradient(to top, rgba(6,10,20,0.88), rgba(6,10,20,0.35) 38%, transparent 62%), radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,0.5)); }

/* details title / eyebrow like the reference: heavy white words + light blue thin words, numbered eyebrow, no ring */
.elementor .e-con.qst-zoom.qst-zoom--cat { --qst-accent: #5f82b8; }
.qst-zoom--cat .qst-zoom__title .elementor-heading-title { font-weight: 800; color: #eef2f7; text-shadow: none; }
.qst-zoom--cat .qst-zoom__thin { font-weight: 300; color: var(--qst-accent); }
.qst-zoom--cat .qst-zoom__eyebrow .elementor-heading-title { color: rgba(238,242,247,0.66); font-size: 0.75rem; letter-spacing: 0.08em; }
.qst-zoom--cat .qst-zoom__eyebrow .elementor-heading-title::before { display: none; }
.qst-zoom--cat .qst-zoom__num { display: inline-block; padding: 3px 10px; border: 1px solid rgba(238,242,247,0.55); border-radius: 999px; color: #eef2f7; font-size: 0.7rem; letter-spacing: 0.04em; }
.qst-zoom--cat .qst-zoom__ring { display: none; }
.qst-zoom--cat.is-js { height: 340vh; }
.qst-zoom--cat.is-js .qst-zoom__stage::after { background: linear-gradient(to top, rgba(6,10,20,0.62), rgba(6,10,20,0.18) 34%, transparent 55%); }

/* ═════════ Weightlifting category page ═════════
   Same page as Apparel (inc/catpage.php, conf()), in the colours of the category picture: near-black, green, lime.
   Hero = HTML Block "Category hero - Weightlifting" (class qst-cat-hero--lift); the rest is built by PHP
   and takes its colours from the variables on .qst-cat--weightlifting below. */
.elementor .e-con.qst-cat-hero.qst-cat-hero--lift {
  --qc-accent: #c8f03c;
  background-color: #0a0d08;
  background-image:
    radial-gradient(46rem 40rem at 82% 46%, rgba(112,160,30,0.26), transparent 70%),
    linear-gradient(180deg, #0d120a, #080a07 72%);
}
/* Heroes with the category's portrait picture on the right (class qst-cat-hero--side; Weightlifting's block has qst-cat-hero--lift).
   Shorter than Apparel's full-screen hero: about two thirds of the screen, so the list shows below it. */
.elementor .e-con.qst-cat-hero:is(.qst-cat-hero--lift, .qst-cat-hero--side) {
  min-height: clamp(24rem, 62vh, 40rem);
  padding-top: calc(clamp(2rem, 5vh, 3.5rem) + var(--qc-head, 0px));
  padding-bottom: clamp(2rem, 5vh, 3.5rem);
}
.qst-cat-hero:is(.qst-cat-hero--lift, .qst-cat-hero--side) .qst-cat-hero__title .elementor-heading-title { font-size: clamp(3rem, 6.6vw, 7.2rem); }
.qst-cat-hero:is(.qst-cat-hero--lift, .qst-cat-hero--side) .qst-cat-hero__eyebrow .elementor-heading-title { margin-bottom: clamp(0.8rem, 2vh, 1.3rem); }
.elementor .e-con:is(.qst-cat-hero--lift, .qst-cat-hero--side) .e-con.qst-cat-hero__copy .qst-cat-hero__text { margin: clamp(1rem, 2.4vh, 1.5rem) 0 clamp(1.1rem, 2.8vh, 1.8rem); }
/* the picture is a portrait: it stands at the right edge, full height, and melts into the background on its left */
.elementor .e-con:is(.qst-cat-hero--lift, .qst-cat-hero--side) .e-con.qst-cat-hero__stage:has(.qst-cat-hero__img--bg) { width: 50%; justify-content: flex-end; }
.qst-cat-hero:is(.qst-cat-hero--lift, .qst-cat-hero--side) .qst-cat-hero__img.qst-cat-hero__img--bg {
  margin-left: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%), linear-gradient(0deg, transparent 0, #000 9%);
          mask-image: linear-gradient(90deg, transparent 0, #000 38%), linear-gradient(0deg, transparent 0, #000 9%);
}
/* the picture fills the whole right half. It is a portrait, so it is cropped to that wide shape (object-fit: cover):
   --qc-pos says which part stays in view (x y; a smaller y shows more of the top). Set per category on the hero class. */
.qst-cat-hero:is(.qst-cat-hero--lift, .qst-cat-hero--side) .qst-cat-hero__img.qst-cat-hero__img--bg { flex: 1 1 100%; width: 100%; }
.qst-cat-hero:is(.qst-cat-hero--lift, .qst-cat-hero--side) .qst-cat-hero__img.qst-cat-hero__img--bg .elementor-widget-container { width: 100%; }
.qst-cat-hero:is(.qst-cat-hero--lift, .qst-cat-hero--side) .qst-cat-hero__img.qst-cat-hero__img--bg img { width: 100%; object-fit: cover; object-position: var(--qc-pos, 50% 20%); }
.elementor .e-con.qst-cat-hero.qst-cat-hero--lift { --qc-pos: 50% 12%; }
.elementor .e-con.qst-cat-hero.qst-cat-hero--mma { --qc-pos: 50% 16%; }

.qst-cat--weightlifting .qst-cat__find,
.qst-cat--weightlifting .qst-cat__faq {
  --qc-bg: #eeefeb;
  --qc-ink: #0d100b;
  --qc-muted: rgba(13,16,11,0.66);
  --qc-line: rgba(13,16,11,0.16);
  --qc-accent: #c8f03c;
  --qc-mark: #5f8f00;        /* the lime of the gear, darkened so it reads on a light background */
}
.qst-cat--weightlifting .qst-cat__mark,
.qst-cat--weightlifting .qst-cat__count { color: var(--qc-mark); }
.qst-cat--weightlifting .qst-cat__name { font-size: clamp(1.9rem, 3.3vw, 3.4rem); }       /* 37 ranges with long names: a calmer size */
.qst-cat--weightlifting .qst-cat__filter { padding: 0.75rem 1.2rem; font-size: 0.95rem; }
@media (hover: hover) { .qst-cat--weightlifting .qst-cat__item:hover .qst-cat__count { color: var(--qc-accent); } }
body.term-weightlifting .qst-cat__cursor { background: #c8f03c; }      /* the "Open" circle that follows the pointer (it is appended to <body>) */

/* Pages with the shorter side-picture hero (every designed category except Apparel): the list heading is sized
   below the hero's H1, so the page reads hero first, list second. Apparel keeps its poster-size heading. */
.qst-cat:not(.qst-cat--apparel) .qst-cat__find { padding-top: clamp(2.6rem, 7vh, 4.5rem); }
.qst-cat:not(.qst-cat--apparel) .qst-cat__title { font-size: clamp(2.6rem, 5.4vw, 5.8rem); line-height: 0.92; }
.qst-cat:not(.qst-cat--apparel) .qst-cat__find .qst-cat__eyebrow { margin-top: clamp(0.9rem, 2.6vw, 2.4rem); }
.qst-cat:not(.qst-cat--apparel) .qst-cat__intro { margin-top: 1rem; }
.qst-cat:not(.qst-cat--apparel) .qst-cat__bar { margin-top: clamp(1.6rem, 4vh, 2.4rem); }

/* Two-column list (categories with `cols` => 2 in QST_Catpage::confs(), class qst-cat--cols2 on <main>).
   Wide screens: the ranges run in two columns, so a long list is half as long. Each row is then
   number | name (with the number of styles under it) | tag | arrow; the generic sentence is left out. */
@media (min-width: 1001px) {
  .qst-cat--cols2 .qst-cat__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3.5rem); }
  .qst-cat--cols2 .qst-cat__row {
    grid-template-columns: 2.4rem minmax(0, 1fr) auto 2.9rem;
    grid-template-rows: auto auto;
    column-gap: clamp(0.7rem, 1.2vw, 1.2rem);
    row-gap: 0.15rem;
    height: 100%;
    padding: 0.85rem clamp(0.5rem, 1vw, 0.9rem);
  }
  .qst-cat--cols2 .qst-cat__num,
  .qst-cat--cols2 .qst-cat__chip,
  .qst-cat--cols2 .qst-cat__go { grid-row: 1 / span 2; align-self: center; }
  .qst-cat--cols2 .qst-cat__name { grid-column: 2; grid-row: 1; align-self: end; font-size: clamp(1.5rem, 2.3vw, 2.5rem); }
  .qst-cat--cols2 .qst-cat__desc { grid-column: 2; grid-row: 2; align-self: start; max-width: none; font-size: 0; line-height: 0; }
  .qst-cat--cols2 .qst-cat__count { margin-top: 0; font-size: 0.7rem; line-height: 1.4; }
  .qst-cat--cols2 .qst-cat__chip { padding: 0.42rem 0.8rem; font-size: 0.66rem; }
  .qst-cat--cols2 .qst-cat__go { width: 2.9rem; height: 2.9rem; }
}
@media (min-width: 1001px) and (hover: hover) { .qst-cat--cols2 .qst-cat__item:hover .qst-cat__name { transform: translateX(0.6rem); } }

/* ───────── Note band (categories with `note` in confs(); Weightlifting: built to IPF specifications) ───────── */
.qst-cat__note {
  --qc-accent: #c8f03c;
  background: #0b0d0a;
  background-image: radial-gradient(50rem 26rem at 88% 0%, rgba(112,160,30,0.2), transparent 65%);
  color: #f4f4f0;
  padding: clamp(3rem, 8vh, 5.5rem) clamp(1.25rem, 3.6vw, 4.5rem);
}
.qst-cat__note-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.6rem, 5vw, 6rem); align-items: end; }
.qst-cat__note-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--qc-accent);
}
.qst-cat__note-eyebrow::before { content: ""; width: 2.2rem; height: 3px; background: currentColor; }
.qst-cat__note-title {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 5.4vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #f4f4f0;
}
.qst-cat__note-title .qst-cat__mark { display: block; color: var(--qc-accent); }
.qst-cat__note-text { margin: 0; max-width: 40rem; font-size: clamp(1rem, 1.2vw, 1.2rem); line-height: 1.65; color: rgba(244,244,240,0.86); }
.qst-cat__note-fine { margin: 1rem 0 0; max-width: 40rem; padding-top: 1rem; border-top: 1px solid rgba(244,244,240,0.16); font-size: 0.9rem; line-height: 1.6; color: rgba(244,244,240,0.6); }
.qst-cat__note-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
  padding: 1.05rem 1.9rem;
  border-radius: 999px;
  background: var(--qc-accent);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0b0d0a;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
}
.qst-cat__note-btn::after { content: "\2192"; font-size: 1.2em; line-height: 1; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.qst-cat__note-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 40px -10px rgba(200,240,60,0.55); color: #0b0d0a; }
.qst-cat__note-btn:hover::after { transform: translateX(5px); }
.qst-cat__note-btn:focus-visible { outline: 2px solid #f4f4f0; outline-offset: 3px; }
@media (max-width: 900px) { .qst-cat__note-grid { grid-template-columns: 1fr; align-items: start; } }
@media (prefers-reduced-motion: reduce) { .qst-cat__note-btn, .qst-cat__note-btn::after { transition: none; } .qst-cat__note-btn:hover { transform: none; } }

/* ───────── "At a glance" questions (categories with conf faq = true) ───────── */
.qst-cat__faq {
  --qc-bg: #ffffff;
  --qc-ink: #0f1729;
  --qc-muted: rgba(15,23,41,0.7);
  --qc-line: rgba(15,23,41,0.16);
  --qc-mark: #5b8fe0;
  background: #ffffff;
  color: var(--qc-ink);
  padding: clamp(3.5rem, 10vh, 7rem) clamp(1.25rem, 3.6vw, 4.5rem);
}
.qst-cat__faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.qst-cat__faq-head { position: sticky; top: 7rem; }
.qst-cat__faq .qst-cat__eyebrow { margin-top: 0; }
.qst-cat__faq-title {
  margin: 1.2rem 0 0;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 5.4vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--qc-ink);
}
.qst-cat__faq-title .qst-cat__mark { display: block; }
.qst-cat__faq-intro { max-width: 30rem; margin: 1.3rem 0 0; font-size: clamp(1rem, 1.15vw, 1.15rem); line-height: 1.6; color: var(--qc-muted); }
.qst-cat__faq-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.7rem;
  padding: 1.05rem 1.9rem;
  border-radius: 999px;
  background: var(--qc-ink);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), background-color .3s, color .3s;
}
.qst-cat__faq-btn::after { content: "\2192"; font-size: 1.2em; line-height: 1; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.qst-cat__faq-btn:hover { transform: translateY(-2px); background: var(--qc-accent, #b3cdf5); color: var(--qc-ink); }
.qst-cat__faq-btn:hover::after { transform: translateX(5px); }
.qst-cat__faq-btn:focus-visible { outline: 2px solid var(--qc-ink); outline-offset: 3px; }
.qst-cat__faq-list { margin: 0; padding: 0; border-bottom: 1px solid var(--qc-line); }
.qst-cat__faq-item { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); column-gap: 0.4rem; padding: clamp(1.2rem, 2.8vh, 1.9rem) 0; border-top: 1px solid var(--qc-line); }
.qst-cat__faq-item dt { display: contents; font-size: clamp(1.1rem, 1.45vw, 1.4rem); font-weight: 800; line-height: 1.3; color: var(--qc-ink); }
.qst-cat__faq-no { align-self: start; padding-top: 0.35em; font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; color: var(--qc-mark); }
.qst-cat__faq-item dd { grid-column: 2; margin: 0.6rem 0 0; max-width: 44rem; font-size: clamp(0.98rem, 1.08vw, 1.08rem); line-height: 1.65; color: var(--qc-muted); }

@media (max-width: 1000px) {
  .elementor .e-con:is(.qst-cat-hero--lift, .qst-cat-hero--side) .e-con.qst-cat-hero__stage:has(.qst-cat-hero__img--bg) { width: 100%; justify-content: center; }
  .qst-cat-hero:is(.qst-cat-hero--lift, .qst-cat-hero--side) .qst-cat-hero__img.qst-cat-hero__img--bg { width: min(100%, 26rem); margin-inline: auto; -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 10%); mask-image: linear-gradient(0deg, transparent 0, #000 10%); }
  .qst-cat__faq-grid { grid-template-columns: 1fr; }
  .qst-cat__faq-head { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .qst-cat__faq-btn, .qst-cat__faq-btn::after { transition: none; }
  .qst-cat__faq-btn:hover { transform: none; }
}

/* ═════════ MMA category page ═════════
   Colours of the category picture: black and red. Hero = HTML Block "Category hero - MMA" (classes qst-cat-hero--side qst-cat-hero--mma). */
.elementor .e-con.qst-cat-hero.qst-cat-hero--mma {
  --qc-accent: #ff4d5e;
  background-color: #0b0808;
  background-image:
    radial-gradient(46rem 40rem at 82% 40%, rgba(200,16,46,0.3), transparent 70%),
    linear-gradient(180deg, #120a0b, #080707 72%);
}
.qst-cat--mma .qst-cat__find,
.qst-cat--mma .qst-cat__faq {
  --qc-bg: #eeefeb;
  --qc-ink: #100c0c;
  --qc-muted: rgba(16,12,12,0.66);
  --qc-line: rgba(16,12,12,0.16);
  --qc-accent: #ff4d5e;
  --qc-mark: #c8102e;
}
.qst-cat--mma .qst-cat__mark,
.qst-cat--mma .qst-cat__count { color: var(--qc-mark); }
@media (hover: hover) { .qst-cat--mma .qst-cat__item:hover .qst-cat__count { color: #ff8a95; } }
body.term-mma .qst-cat__cursor { background: #ff4d5e; color: #ffffff; }
.qst-cat--mma .qst-cat__faq-btn:hover { color: #ffffff; }

/* ───────── Closing section (closing_html(): Weightlifting, MMA, Boxing) ─────────
   --qc-hot = the category's accent, --qc-hot-ink = text on it; both set per category right below. */
.qst-cat--weightlifting { --qc-hot: #c8f03c; --qc-hot-ink: #0b0d0a; --qc-hot-rgb: 200,240,60; }
.qst-cat--mma           { --qc-hot: #e0223f; --qc-hot-ink: #ffffff; --qc-hot-rgb: 224,34,63; }
.qst-cat--boxing        { --qc-hot: #efc24a; --qc-hot-ink: #100e09; --qc-hot-rgb: 239,194,74; }
.qst-cat--martial-arts  { --qc-hot: #d81e2c; --qc-hot-ink: #ffffff; --qc-hot-rgb: 216,30,44; }
.qst-cat__close {
  position: relative;
  overflow: hidden;
  background-color: #0a0a0a;
  background-image:
    radial-gradient(52rem 26rem at 88% 8%, rgba(var(--qc-hot-rgb, 244,244,240), 0.18), transparent 62%),
    radial-gradient(40rem 22rem at 0% 100%, rgba(var(--qc-hot-rgb, 244,244,240), 0.08), transparent 60%);
  color: #f4f4f0;
  padding: clamp(4rem, 12vh, 8rem) clamp(1.25rem, 3.6vw, 4.5rem);
}
.qst-cat__close-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.2rem;
  font-size: clamp(0.72rem, 0.9vw, 0.9rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--qc-hot, #f4f4f0);
}
.qst-cat__close-eyebrow::before { content: ""; width: 2.2rem; height: 3px; background: currentColor; }
.qst-cat__close-title {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #f4f4f0;
}
.qst-cat__close-title span { display: block; color: var(--qc-hot, #f4f4f0); }
.qst-cat__close-text { margin: clamp(1.4rem, 3vh, 2rem) 0 clamp(1.6rem, 4vh, 2.4rem); max-width: 40rem; font-size: clamp(1rem, 1.2vw, 1.2rem); line-height: 1.65; color: rgba(244,244,240,0.74); }
.qst-cat__close-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.15rem 2.2rem;
  border-radius: 999px;
  background: var(--qc-hot, #f4f4f0);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--qc-hot-ink, #0a0a0a);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
}
.qst-cat__close-btn::after { content: "\2192"; font-size: 1.2em; line-height: 1; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.qst-cat__close-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 40px -10px rgba(var(--qc-hot-rgb, 244,244,240), 0.6); color: var(--qc-hot-ink, #0a0a0a); }
.qst-cat__close-btn:hover::after { transform: translateX(5px); }
.qst-cat__close-btn:focus-visible { outline: 2px solid #f4f4f0; outline-offset: 3px; }
.qst-cat__close-facts { display: flex; flex-flow: row wrap; gap: 0.6rem 2.2rem; margin: clamp(2rem, 5vh, 3.2rem) 0 0; padding: 0; list-style: none; }
.qst-cat__close-facts li { margin: 0; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #f4f4f0; }
.qst-cat__close-facts li::before { content: ""; display: inline-block; width: 0.55rem; height: 0.55rem; margin-right: 0.7rem; border-radius: 50%; background: var(--qc-hot, #f4f4f0); }
@media (prefers-reduced-motion: reduce) { .qst-cat__close-btn, .qst-cat__close-btn::after { transition: none; } .qst-cat__close-btn:hover { transform: none; } }

/* a word shared by most names of a list ("Boxing"), shown paler (confs() `prefix`) */
.qst-cat__pre { opacity: 0.34; transition: opacity .16s ease; }
@media (hover: hover) { .qst-cat__item:hover .qst-cat__pre { opacity: 0.55; } }

/* ═════════ Boxing category page ═════════
   Colours of the category picture: black and gold. Hero = HTML Block "Category hero - Boxing" (classes qst-cat-hero--side qst-cat-hero--boxing). */
.elementor .e-con.qst-cat-hero.qst-cat-hero--boxing {
  --qc-accent: #efc24a;
  --qc-pos: 50% 9%;
  background-color: #0b0a07;
  background-image:
    radial-gradient(46rem 40rem at 82% 40%, rgba(214,160,38,0.24), transparent 70%),
    linear-gradient(180deg, #120f08, #080706 72%);
}
.qst-cat--boxing .qst-cat__find,
.qst-cat--boxing .qst-cat__faq {
  --qc-bg: #eeefeb;
  --qc-ink: #100e09;
  --qc-muted: rgba(16,14,9,0.66);
  --qc-line: rgba(16,14,9,0.16);
  --qc-accent: #efc24a;
  --qc-mark: #946500;        /* the gold of the kit, darkened so it reads on a light background */
}
.qst-cat--boxing .qst-cat__mark,
.qst-cat--boxing .qst-cat__count { color: var(--qc-mark); }
@media (hover: hover) { .qst-cat--boxing .qst-cat__item:hover .qst-cat__count { color: var(--qc-accent); } }
body.term-boxing .qst-cat__cursor { background: #efc24a; }

/* ═════════ Martial Arts category page ═════════
   Hero = HTML Block "Category hero - Martial Arts" (classes qst-cat-hero--side qst-cat-hero--martial), picture = the category image
   (black and red uniform with protective gear). Accent: red. */
.elementor .e-con.qst-cat-hero.qst-cat-hero--martial {
  --qc-accent: #ff5a5f;
  --qc-pos: 50% 7%;
  background-color: #0c0b0a;
  background-image:
    radial-gradient(46rem 40rem at 84% 46%, rgba(216,30,44,0.2), transparent 70%),
    linear-gradient(180deg, #140c0c, #090707 72%);
}
.qst-cat--martial-arts .qst-cat__find,
.qst-cat--martial-arts .qst-cat__faq {
  --qc-bg: #eeefeb;
  --qc-ink: #110e0a;
  --qc-muted: rgba(17,14,10,0.66);
  --qc-line: rgba(17,14,10,0.16);
  --qc-accent: #ff5a5f;
  --qc-mark: #c8102e;        /* the site red */
}
.qst-cat--martial-arts .qst-cat__mark,
.qst-cat--martial-arts .qst-cat__count { color: var(--qc-mark); }
@media (hover: hover) { .qst-cat--martial-arts .qst-cat__item:hover .qst-cat__count { color: #ff8a8e; } }
body.term-martial-arts .qst-cat__cursor { background: #d81e2c; color: #ffffff; }
.qst-cat--martial-arts .qst-cat__faq-btn:hover { color: #ffffff; }

/* Apparel hero: the picture fades in over a wider stretch from the left, so the copy side stays dark and calm */
.qst-cat--apparel .qst-cat-hero .qst-cat-hero__img.qst-cat-hero__img--bg {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,0.25) 20%, rgba(0,0,0,0.75) 38%, #000 52%), linear-gradient(0deg, transparent 0, #000 7%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,0.25) 20%, rgba(0,0,0,0.75) 38%, #000 52%), linear-gradient(0deg, transparent 0, #000 7%);
          mask-composite: intersect;
}
