/* Tindeq single product page — layout only; the nav, footer, atoms and reset
   live in base.css and the palette in tokens.css.
   Ported from Claude Design project 43e41638 · "Progressor 200 - Product
   Page.dc.html" (boards 1A desktop 1440, 1B mobile 390, 1C buy-column states,
   1E accessory variant).

   THREE THINGS TO KNOW BEFORE EDITING THIS FILE:

   1. The buy column contains WooCommerce's own <form class="cart"> — quantity
      field, add-to-cart button, variation table, and whatever the payment
      plugins hook in beside them. It is styled from the outside and never
      restructured. Selectors that touch it are written one notch heavier than
      WooCommerce's own (`.tq .tq-prod__cart form.cart button.single_add_to_cart_button`
      beats `.woocommerce div.product form.cart .button`) because woocommerce.css
      is enqueued at priority 10 and this file at 30, so a tie would go to us
      anyway — but a tie is not a plan.

   2. The gallery is one horizontal scroll-snap strip and nothing else. Every
      control around it (counter, caption, arrows, thumbnails) ships `hidden`
      and is revealed by product.js, so with the script blocked the page has no
      dead buttons and the strip still scrolls. Hence the [hidden] guard below:
      an explicit `display: flex` would otherwise beat the UA's `[hidden]`.

   3. The design's secondary grey (#5E6562, used 153 times) is not a token.
      Text that carries meaning uses --tq-ink-2; --tq-mute is only for genuine
      metadata, because it does not pass AA on --tq-snow at body sizes. */

/* An element told to hide stays hidden, whatever display it is given here. */
.tq [hidden] { display: none !important; }

/* --------------------------------------------------- notices + breadcrumb */

/* WooCommerce always prints an empty .woocommerce-notices-wrapper into this
   slot, so :empty never matches and the bar would hold 24px of nothing at the
   top of every product page. Collapse it unless a real notice is inside; the
   :empty rule stays as the fallback for browsers without :has(). */
.tq .tq-prod__notices .tq-wrap:empty { display: none; }
.tq .tq-prod__notices:not(:has(.woocommerce-message, .woocommerce-error, .woocommerce-info, .woocommerce-notice)) { display: none; }
.tq .tq-prod__notices .tq-wrap { padding-top: 24px; }
.tq .tq-prod__notices .woocommerce-message,
.tq .tq-prod__notices .woocommerce-info,
.tq .tq-prod__notices .woocommerce-error {
  font-family: var(--tq-sans);
  font-size: 15px;
  border-radius: var(--tq-radius);
}

.tq .tq-prod__bar { padding-top: 18px; }
.tq .tq-prod__bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px 32px; flex-wrap: wrap;
}

.tq .tq-prod__crumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: var(--tq-mono); font-size: 11px; font-weight: 500;
  letter-spacing: var(--tq-track-micro); text-transform: uppercase;
  color: var(--tq-ink);
}
.tq .tq-prod__crumbs li + li::before {
  content: "/"; color: var(--tq-hairline); margin-right: 8px;
}
/* A link that is only distinguishable from the crumb beside it by colour
   fails 1.4.1, so the crumb links carry a rest-state underline. */
.tq .tq-prod__crumbs a {
  color: var(--tq-ink-2);
  border-bottom: 1px solid var(--tq-hairline);
  padding-bottom: 2px;
}
.tq .tq-prod__crumbs a:hover { color: var(--tq-ink); border-bottom-color: var(--tq-ink); }
/* The category crumb is text (staging QA 18 Nov 2026, see breadcrumb.php): grey like the links, no underline. */
.tq .tq-prod__crumb-cat { color: var(--tq-ink-2); }
/* The "Show me the page for: I train / I test people" chooser that shared this
   bar was removed on 17 Nov 2026 (Jørgen's review), and its rules with it. */

/* ------------------------------------------------------------------- hero */

.tq .tq-prod__hero { padding-top: 40px; }
/* 745 : 471 with a 64px gutter on the 1440 board, kept as a ratio so every
   width between the breakpoints gets a sane column instead of a fixed 1280. */
.tq .tq-prod__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 745fr) minmax(0, 471fr);
  gap: 64px;
  align-items: start;
}

/* ---------------------------------------------------------------- gallery */

.tq .tq-prod__gallery { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.tq .tq-prod__frames {
  display: flex; gap: 8px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: var(--tq-radius);
}
.tq .tq-prod__frames:focus-visible { outline-offset: 2px; }
/* Once the script is running the arrows and thumbnails do the driving, so the
   scrollbar is noise. Without the script it is the only affordance — keep it. */
.tq .tq-prod__gallery.is-enhanced .tq-prod__frames { scrollbar-width: none; }
.tq .tq-prod__gallery.is-enhanced .tq-prod__frames::-webkit-scrollbar { display: none; }

.tq .tq-prod__frame {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  /* 3:2, not the board's 4:3: the supplied photograph is 2.13:1 and the
     product renders are 4:3, so 3:2 crops the first least while still
     leaving the renders large. */
  aspect-ratio: 3 / 2;
  border: 1px solid var(--tq-hairline);
  border-radius: var(--tq-radius);
  overflow: hidden;
  background: var(--tq-snow-2);
}
.tq .tq-prod__frame img { width: 100%; height: 100%; }

/* A photograph fills its frame on a dark ground. */
.tq .tq-prod__frame--photo { background: var(--tq-onyx); border-color: var(--tq-onyx); }
.tq .tq-prod__frame--photo img { object-fit: cover; }

/* A render arrives on its own light ground; multiply drops that ground onto
   the frame's so the product sits on the page rather than in a white box.
   This is the design's own treatment and the reason the frame background must
   stay a light token. */
.tq .tq-prod__frame--render { display: flex; align-items: center; justify-content: center; padding: 6%; }
.tq .tq-prod__frame--render img { object-fit: contain; mix-blend-mode: multiply; }

.tq .tq-prod__frame--pending {
  display: flex; align-items: center; justify-content: center; padding: 24px;
  text-align: center;
}
.tq .tq-prod__frames--empty { display: block; }

/* Counter, caption, arrows. */
.tq .tq-prod__galbar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 44px;
}
.tq .tq-prod__galmeta {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; min-width: 0;
  font-family: var(--tq-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
}
.tq .tq-prod__galnum { color: var(--tq-ink); font-variant-numeric: tabular-nums; }
.tq .tq-prod__galcap { color: var(--tq-ink-2); }
.tq .tq-prod__galnav { display: flex; gap: 6px; flex: none; }
.tq .tq-prod__galbtn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--tq-hairline); border-radius: var(--tq-radius-pill);
  background: var(--tq-snow-2); color: var(--tq-ink-2);
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, opacity 160ms ease;
}
.tq .tq-prod__galbtn:hover { border-color: var(--tq-ink); color: var(--tq-ink); }
.tq .tq-prod__galbtn[disabled] { opacity: .35; cursor: default; }

/* The 390 board's progress hairline; --tq-gal-p is 0–1, set by product.js. */
.tq .tq-prod__galtrack { display: none; position: relative; height: 1px; background: var(--tq-hairline); }
.tq .tq-prod__galtrack span {
  position: absolute; top: 0; height: 1px;
  width: var(--tq-gal-w, 20%);
  left: calc(var(--tq-gal-p, 0) * (100% - var(--tq-gal-w, 20%)));
  background: var(--tq-ink);
}

.tq .tq-prod__thumbs { display: flex; gap: 8px; }
.tq .tq-prod__thumb {
  flex: 1 1 0; min-width: 0;
  aspect-ratio: 3 / 2;
  padding: 8px;
  border: 1px solid var(--tq-hairline);
  border-radius: var(--tq-radius);
  background: var(--tq-snow-2);
  overflow: hidden; cursor: pointer;
}
.tq .tq-prod__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.tq .tq-prod__thumb--photo { padding: 0; background: var(--tq-onyx); border-color: var(--tq-onyx); }
.tq .tq-prod__thumb--photo img { object-fit: cover; mix-blend-mode: normal; }
/* Selected state as a ring drawn with outline, not a box-shadow: this system
   has no shadows, and outline costs no layout. */
.tq .tq-prod__thumb[aria-current="true"] {
  border-color: var(--tq-ink);
  outline: 1px solid var(--tq-ink);
  outline-offset: -2px;
}

/* ------------------------------------------------------------- buy column */

.tq .tq-prod__buy { display: flex; flex-direction: column; gap: 24px; min-width: 0; padding-top: 2px; }
.tq .tq-prod__head { display: flex; flex-direction: column; gap: 10px; }

.tq .tq-prod__title {
  font-family: var(--tq-serif); font-weight: 400;
  font-size: 40px; line-height: 1.02; letter-spacing: -.025em;
  color: var(--tq-ink);
}

.tq .tq-prod__rating { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* Woo floats .star-rating; inside a flex row that would drop it out of line. */
.tq .tq-prod__rating .star-rating { color: var(--tq-ink); float: none; margin: 0; }
.tq .tq-prod__ratingn { font-family: var(--tq-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--tq-ink-2); }

.tq .tq-prod__block { border-top: 1px solid var(--tq-hairline); padding-top: 18px; }

.tq .tq-prod__price {
  font-family: var(--tq-sans); font-weight: 500;
  font-size: 32px; line-height: 1.1; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--tq-ink);
}
/* Board 1C's rule for the price slot: left-aligned, never centred, never
   resized to fit — "kr 1 699" and "$160" occupy the same block. */
.tq .tq-prod__price .woocommerce-Price-amount { white-space: nowrap; }
.tq .tq-prod__price del { font-size: .7em; }

.tq .tq-prod__taxnote {
  margin-top: 8px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--tq-mono); font-size: 11px; line-height: 1.5;
  letter-spacing: .1em; color: var(--tq-ink-2);
}
/* The design draws this as a 14px Archivo link, not another mono label. */
.tq .tq-prod__taxnote a {
  font-family: var(--tq-sans); font-size: 14px; letter-spacing: 0;
  color: var(--tq-ink);
  border-bottom: 1px solid var(--tq-hairline); padding-bottom: 2px;
}
.tq .tq-prod__taxnote a:hover { border-bottom-color: var(--tq-ink); }

.tq .tq-prod__avail .tq-stock { font-size: 11px; letter-spacing: .16em; }

/* Model picker: two links, the current one held down. */
.tq .tq-prod__models { display: flex; flex-direction: column; gap: 8px; }
.tq .tq-prod__models .tq-micro { color: var(--tq-ink-2); margin-bottom: 2px; }
.tq .tq-prod__model {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 14px 16px;
  border: 1px solid var(--tq-hairline); border-radius: var(--tq-radius);
  background: transparent;
  transition: border-color 160ms ease, background 160ms ease;
}
.tq .tq-prod__model:hover { border-color: var(--tq-ink); }
.tq .tq-prod__model.is-current { border-color: var(--tq-ink); background: var(--tq-snow-2); }
.tq .tq-prod__model-dot {
  width: 10px; height: 10px; flex: none;
  border: 1px solid var(--tq-hairline); border-radius: 50%;
}
.tq .tq-prod__model.is-current .tq-prod__model-dot { background: var(--tq-ink); border-color: var(--tq-ink); }
.tq .tq-prod__model-name {
  flex: 1 1 auto; min-width: 0;
  display: flex; flex-direction: column; gap: 4px;
  font-size: 16px; font-weight: 500; line-height: 1.2; color: var(--tq-ink);
}
.tq .tq-prod__model-stock {
  font-family: var(--tq-mono); font-size: 11px; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase; color: var(--tq-ink-2);
}
.tq .tq-prod__model-price { flex: none; font-size: 16px; font-weight: 500; white-space: nowrap; }

/* ----------------------------------------- WooCommerce's own add-to-cart */

/* WooCommerce labels the quantity field for screen readers with
   .screen-reader-text, a class woocommerce.css defines. If those styles are
   ever dequeued the label becomes visible text beside the input and pushes the
   button onto its own line, so the rule is repeated here. (It belongs in
   base.css — see the port report.) */
.tq .screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; white-space: nowrap;
  clip-path: inset(50%);
}

.tq .tq-prod__cart { margin: 0; }
/* Unknown children — express-checkout buttons, subscription selectors, a
   plugin's extra field — get a row of their own instead of being squeezed in
   beside the button. Only the two elements we know are pinned. */
.tq .tq-prod__cart form.cart {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin: 0; padding: 0; border: 0;
}
.tq .tq-prod__cart form.cart > * { flex: 1 1 100%; }
.tq .tq-prod__cart form.cart::before,
.tq .tq-prod__cart form.cart::after { content: none; }
.tq .tq-prod__cart form.cart > .quantity { flex: 0 0 auto; }
.tq .tq-prod__cart form.cart > button.single_add_to_cart_button { flex: 1 1 180px; }

.tq .tq-prod__cart .quantity { display: inline-flex; align-items: center; }
.tq .tq-prod__cart .quantity input.qty,
.tq .tq-prod__cart input.qty {
  width: 88px; height: 52px; padding: 0 8px;
  border: 1px solid var(--tq-hairline); border-radius: 12px;
  background: var(--tq-snow-2); color: var(--tq-ink);
  font-family: var(--tq-mono); font-size: 16px; font-weight: 500; text-align: center;
}
.tq .tq-prod__cart .quantity input.qty:focus { border-color: var(--tq-ink); outline: none; }

.tq .tq-prod__cart form.cart button.single_add_to_cart_button,
.tq .tq-prod__cart button.single_add_to_cart_button {
  min-height: 52px; padding: 0 24px;
  border: 0; border-radius: var(--tq-radius-pill);
  background: var(--tq-onyx); color: var(--tq-paper);
  font-family: var(--tq-sans); font-size: 16px; font-weight: 500; line-height: 1;
  letter-spacing: 0; text-transform: none;
  cursor: pointer;
  transition: opacity 160ms ease;
}
.tq .tq-prod__cart form.cart button.single_add_to_cart_button:hover { opacity: .88; background: var(--tq-onyx); }
.tq .tq-prod__cart form.cart button.single_add_to_cart_button.disabled,
.tq .tq-prod__cart form.cart button.single_add_to_cart_button[disabled] { opacity: .45; cursor: not-allowed; }
/* Woo's own "adding" spinner class. */
.tq .tq-prod__cart form.cart button.single_add_to_cart_button.loading { opacity: .6; }

/* Variable and grouped products keep Woo's tables; give them the page's type. */
.tq .tq-prod__cart table.variations,
.tq .tq-prod__cart table.group_table { width: 100%; border-collapse: collapse; margin: 0 0 8px; }
.tq .tq-prod__cart table.variations th,
.tq .tq-prod__cart table.variations td,
.tq .tq-prod__cart table.group_table th,
.tq .tq-prod__cart table.group_table td {
  padding: 8px 0; text-align: left; vertical-align: middle;
  border-bottom: 1px solid var(--tq-hairline);
  font-size: 15px;
}
.tq .tq-prod__cart table.variations th label {
  font-family: var(--tq-mono); font-size: 11px;
  letter-spacing: var(--tq-track-micro); text-transform: uppercase; color: var(--tq-ink-2);
}
.tq .tq-prod__cart select {
  width: 100%; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--tq-hairline); border-radius: 12px;
  background: var(--tq-snow-2); color: var(--tq-ink);
  font-family: var(--tq-sans); font-size: 15px;
}
.tq .tq-prod__cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tq .tq-prod__cart .woocommerce-variation-price .price { font-size: 20px; }
.tq .tq-prod__cart .reset_variations { font-size: 13px; color: var(--tq-ink-2); }

.tq .tq-prod__oos { margin-top: 4px; }

/* Trust line: one confirmed fact and links to the written terms. Nothing
   about returns, warranty or delivery time is asserted here — see buy.php. */
.tq .tq-prod__trust {
  border-top: 1px solid var(--tq-hairline); padding-top: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.tq .tq-prod__ships { font-size: 14px; color: var(--tq-ink-2); }
.tq .tq-prod__policies { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.tq .tq-prod__policies a { color: var(--tq-ink); border-bottom: 1px solid var(--tq-hairline); padding-bottom: 2px; }
.tq .tq-prod__policies a:hover { border-bottom-color: var(--tq-ink); }
.tq .tq-prod__sku { color: var(--tq-ink-2); }   /* --tq-mute is 2.6:1 on snow; metadata still has to be readable. */

/* --------------------------------------------------------------- sections */

.tq .tq-prod__section { padding-top: 112px; }
.tq .tq-prod__section:last-child { padding-bottom: 112px; }
.tq .tq-prod__eyebrow { color: var(--tq-ink-2); margin-bottom: 14px; }
.tq .tq-prod__h2 {
  font-family: var(--tq-serif); font-weight: 400;
  font-size: 40px; line-height: 1.02; letter-spacing: -.025em;
  color: var(--tq-ink);
  margin-bottom: 40px;
}

/* Overview: the eyebrow keeps the spec table's 200px label column so the two
   sections line up down the page. */
.tq .tq-prod__section-grid {
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0 80px;
  align-items: start;
}
.tq .tq-prod__section-grid .tq-prod__eyebrow { margin-bottom: 0; }
.tq .tq-prod__prose { max-width: 68ch; color: var(--tq-ink-2); font-size: 17px; line-height: 1.6; }
.tq .tq-prod__prose > * + * { margin-top: 1em; }
.tq .tq-prod__prose strong { color: var(--tq-ink); font-weight: 500; }
.tq .tq-prod__prose a { color: var(--tq-ink); border-bottom: 1px solid var(--tq-hairline); }
/* base.css strips list styling site-wide; product copy needs it back. */
.tq .tq-prod__prose ul,
.tq .tq-prod__prose ol { list-style: disc; padding-left: 1.3em; }
.tq .tq-prod__prose ol { list-style: decimal; }
.tq .tq-prod__prose li + li { margin-top: .35em; }

/* ------------------------------------------------------------------ specs */

.tq .tq-prod__spectable { display: grid; grid-template-columns: 1fr 1fr; gap: 0 80px; align-items: start; }
.tq .tq-prod__specrow {
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px;
  padding: 15px 0;
  border-top: 1px solid var(--tq-hairline);
}
.tq .tq-prod__speccol .tq-prod__specrow:last-child { border-bottom: 1px solid var(--tq-hairline); }
.tq .tq-prod__specrow dt {
  font-family: var(--tq-mono); font-size: 11px; font-weight: 500; line-height: 1.6;
  letter-spacing: .16em; text-transform: uppercase; color: var(--tq-ink-2);
}
.tq .tq-prod__specrow dd {
  margin: 0;
  font-size: 16px; line-height: 1.5; color: var(--tq-ink);
  font-variant-numeric: tabular-nums;
}

/* -------------------------------------------------------------------- faq */

.tq .tq-prod__faqlist { max-width: 900px; }
.tq .tq-prod__faqitem { border-top: 1px solid var(--tq-hairline); }
.tq .tq-prod__faqitem:last-of-type { border-bottom: 1px solid var(--tq-hairline); }
.tq .tq-prod__faqq {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px 0; min-height: 44px;
  font-size: 18px; line-height: 1.4; color: var(--tq-ink);
  cursor: pointer;
  list-style: none;
}
.tq .tq-prod__faqq::-webkit-details-marker { display: none; }
.tq .tq-prod__faqq:hover { color: var(--tq-ink); }
.tq .tq-prod__faqmark { flex: none; color: var(--tq-ink-2); transition: transform 180ms ease; }
.tq .tq-prod__faqitem[open] .tq-prod__faqmark { transform: rotate(180deg); }
.tq .tq-prod__faqa {
  padding: 0 0 24px; max-width: 70ch;
  font-size: 16px; line-height: 1.6; color: var(--tq-ink-2);
}
.tq .tq-prod__faqa > * + * { margin-top: .8em; }
.tq .tq-prod__faqmore {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  margin-top: 24px;
  font-size: 14px; color: var(--tq-ink-2);
}
.tq .tq-prod__faqmore a { color: var(--tq-ink); border-bottom: 1px solid var(--tq-hairline); padding-bottom: 2px; }
.tq .tq-prod__faqmore a:hover { border-bottom-color: var(--tq-ink); }

/* --------------------------------------------------------------- goes with */

.tq .tq-prod__also-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  margin-bottom: 24px;
}
.tq .tq-prod__also-head .tq-prod__eyebrow { margin-bottom: 0; }
.tq .tq-prod__also-all { font-size: 13px; color: var(--tq-ink); border-bottom: 1px solid var(--tq-hairline); padding-bottom: 2px; }
.tq .tq-prod__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tq .tq-prod__card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 16px;
  border: 1px solid var(--tq-hairline); border-radius: var(--tq-radius);
}
.tq .tq-prod__card-shot {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3; padding: 8px;
  border-radius: var(--tq-radius); background: var(--tq-snow-2);
  overflow: hidden;
}
.tq .tq-prod__card-shot img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.tq .tq-prod__card-name { font-size: 16px; font-weight: 500; line-height: 1.3; color: var(--tq-ink); }
.tq .tq-prod__card-foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.tq .tq-prod__card-price { font-size: 15px; }
/* 44px, not the board's 40: this is the one control on the card and the
   accessibility floor applies to it like every other target. */
.tq .tq-prod__card-add { height: 44px; padding: 0 18px; font-size: 13px; }

/* Whole card opens the product, as on the shop grid (shop.css, 2026-10-23):
   the name link's ::after covers the card, the Add button sits above it. The
   image link is tabindex=-1/aria-hidden, so the name stays the one focusable
   link; its ring is drawn round the card. */
.tq .tq-prod__card { position: relative; transition: border-color 160ms ease; }
.tq .tq-prod__card:hover,
.tq .tq-prod__card:focus-within { border-color: var(--tq-ink); }
.tq .tq-prod__card:hover .tq-prod__card-name a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tq .tq-prod__card-name a::after { content: ""; position: absolute; inset: 0; border-radius: var(--tq-radius); }
.tq .tq-prod__card-name a:focus-visible { outline: none; }
.tq .tq-prod__card-name a:focus-visible::after { outline: 2px solid var(--tq-ink); outline-offset: 3px; }
.tq .tq-prod__card a.tq-prod__card-add,
.tq .tq-prod__card a.added_to_cart { position: relative; z-index: 1; }
.tq .tq-prod__card-price .woocommerce-Price-amount,
.tq .tq-prod__card .tq-stock { white-space: nowrap; }

/* ------------------------------------------------------------- responsive */

@media (max-width: 1279px) {
  .tq .tq-prod__hero-grid { gap: 40px; }
  .tq .tq-prod__section { padding-top: 96px; }
  .tq .tq-prod__section:last-child { padding-bottom: 96px; }
  .tq .tq-prod__h2 { font-size: 36px; margin-bottom: 32px; }
  .tq .tq-prod__section-grid,
  .tq .tq-prod__spectable { gap: 0 48px; }
  .tq .tq-prod__specrow { grid-template-columns: 168px minmax(0, 1fr); gap: 16px; }
  .tq .tq-prod__section-grid { grid-template-columns: 168px minmax(0, 1fr); }
}

@media (max-width: 1023px) {
  /* One column: gallery, then everything about buying it. */
  .tq .tq-prod__hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tq .tq-prod__buy { max-width: 560px; }
  .tq .tq-prod__gallery { max-width: 720px; }
  .tq .tq-prod__spectable { grid-template-columns: minmax(0, 1fr); gap: 0; }
  /* Two stacked columns would print two top borders in a row at the seam. */
  .tq .tq-prod__speccol:not(:last-child) .tq-prod__specrow:last-child { border-bottom: 0; }
  .tq .tq-prod__section-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tq .tq-prod__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tq .tq-prod__title { font-size: 36px; }
}

@media (max-width: 767px) {
  .tq .tq-prod__bar-inner { gap: 12px; }

  .tq .tq-prod__hero { padding-top: 20px; }

  /* Board 1B: the strip runs edge to edge and the next frame peeks in. */
  .tq .tq-prod__frames {
    margin-left: calc(var(--tq-gutter) * -1);
    margin-right: calc(var(--tq-gutter) * -1);
    padding: 0 var(--tq-gutter);
    scroll-padding-inline: var(--tq-gutter);
    border-radius: 0;
  }
  .tq .tq-prod__frame { flex-basis: calc(100% - 24px); scroll-snap-align: start; }
  .tq .tq-prod__galtrack { display: block; }
  .tq .tq-prod__thumbs { display: none; }

  .tq .tq-prod__section { padding-top: 64px; }
  .tq .tq-prod__section:last-child { padding-bottom: 64px; }
  .tq .tq-prod__h2 { font-size: 32px; line-height: 1.05; margin-bottom: 24px; }
  .tq .tq-prod__title { font-size: 34px; }
  .tq .tq-prod__price { font-size: 28px; }

  /* Label above value: a 200px label column and a long value do not share a
     390px screen, and the design's right-aligned value breaks on two words. */
  .tq .tq-prod__specrow { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 13px 0; }
  .tq .tq-prod__specrow dd { font-size: 15px; }

  .tq .tq-prod__faqq { font-size: 16px; padding: 16px 0; gap: 16px; }
  .tq .tq-prod__faqa { font-size: 15px; padding-bottom: 18px; }

  .tq .tq-prod__cards { grid-template-columns: minmax(0, 1fr); }
  .tq .tq-prod__card-foot { flex-wrap: nowrap; }
}

/* Design canvas 11 Nov 2026, Overview: the label sits above the text as in the
   Specifications and Questions sections, the description runs in two columns
   lined up with the spec table, and its first line is set like the section
   headings. */
.tq .tq-prod__overview .tq-prod__prose { max-width: none; columns: 2; column-gap: 80px; }
.tq .tq-prod__overview .tq-prod__prose > * { break-inside: avoid; }
.tq .tq-prod__overview .tq-prod__prose > p:first-child { column-span: all; margin-bottom: 40px; font-family: var(--tq-serif); font-weight: 400; font-size: 40px; line-height: 1.02; letter-spacing: -0.025em; color: var(--tq-ink); }
.tq .tq-prod__overview .tq-prod__prose > p:first-child + * { margin-top: 0; }
.tq .tq-prod__overview .tq-prod__prose > p:has(+ ul) { break-after: avoid; }
@media (max-width: 1279px) {
  .tq .tq-prod__overview .tq-prod__prose { column-gap: 48px; }
  .tq .tq-prod__overview .tq-prod__prose > p:first-child { margin-bottom: 32px; font-size: 36px; }
}
@media (max-width: 1023px) {
  .tq .tq-prod__overview .tq-prod__prose { max-width: 68ch; columns: auto; }
}
@media (max-width: 767px) {
  .tq .tq-prod__overview .tq-prod__prose > p:first-child { margin-bottom: 24px; font-size: 32px; line-height: 1.05; }
}
/* A long first paragraph (over 140 characters, see overview.php) reads as a lead, not a headline. */
.tq .tq-prod__overview .tq-prod__prose--long-lead > p:first-child { max-width: 40em; font-size: 24px; line-height: 1.4; letter-spacing: -0.01em; }
@media (max-width: 767px) {
  .tq .tq-prod__overview .tq-prod__prose--long-lead > p:first-child { font-size: 20px; line-height: 1.45; }
}
