/*
 * Tractor Arena single product profile.
 * Mirrors the supplied warm editorial standalone design and is intentionally
 * scoped to .tar9-product so catalogue, brand and comparison views keep their
 * existing visual system.
 */

body.single-aps-products {
  --tap-admin-offset: 0px;
  background: oklch(98% 0.006 80) !important;
  color: oklch(24% 0.02 50) !important;
}

body.admin-bar.single-aps-products {
  --tap-admin-offset: 32px;
}

body.single-aps-products .entry-header,
body.single-aps-products .page-header,
body.single-aps-products .widget-area,
body.single-aps-products .sidebar-main {
  display: none !important;
}

body.single-aps-products .site-content,
body.single-aps-products .content-area,
body.single-aps-products .site-main,
body.single-aps-products .site-content > .ast-container,
body.single-aps-products .content-area > .ast-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tar9-product {
  --tap-page: oklch(98% 0.006 80);
  --tap-surface: oklch(99% 0.004 80);
  --tap-band: oklch(96% 0.008 75);
  --tap-line: oklch(90% 0.01 70);
  --tap-line-soft: oklch(93% 0.01 70);
  --tap-ink: oklch(24% 0.02 50);
  --tap-copy: oklch(35% 0.02 50);
  --tap-muted: oklch(48% 0.02 50);
  --tap-dark: oklch(24% 0.02 50);
  --tap-dark-2: oklch(30% 0.025 55);
  --tap-dark-line: oklch(45% 0.02 55);
  --tap-light: oklch(95% 0.006 80);
  --tap-light-muted: oklch(78% 0.01 70);
  --tap-accent: #c8842e;
  --tap-accent-dark: #8c5a1e;
  --tap-accent-soft: #f3e2c6;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: clip;
  background: var(--tap-page);
  color: var(--tap-ink);
  font: 400 16px/1.55 "Source Sans 3", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.tar9-product *,
.tar9-product *::before,
.tar9-product *::after {
  box-sizing: border-box;
}

.tar9-product a {
  color: inherit;
  text-decoration: none;
}

.tar9-product img {
  display: block;
  max-width: 100%;
}

.tar9-product h1,
.tar9-product h2,
.tar9-product h3 {
  margin: 0;
  color: var(--tap-ink);
  font-family: Archivo, "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: none;
}

.tar9-product button,
.tar9-product input {
  font: inherit;
}

.tar9-product :focus-visible {
  outline: 3px solid var(--tap-accent);
  outline-offset: 3px;
}

.tap-boundary {
  width: min(1240px, 100%);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

/* Breadcrumb and hero */
.tap-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 14px;
  color: var(--tap-muted);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.tap-breadcrumb a:hover {
  color: var(--tap-accent-dark);
}

.tap-breadcrumb strong {
  color: oklch(30% 0.02 50);
  font-weight: 600;
}

.tap-hero-wrap {
  padding-top: 20px;
}

.tap-hero-card {
  padding: clamp(24px, 3vw, 44px);
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--tap-dark-2), var(--tap-dark));
  color: var(--tap-light);
}

.tap-hero-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.tap-hero-content {
  display: block;
  flex: 2 1 420px;
  min-width: 0;
}

.tap-hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.tap-hero-meta span {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--tap-accent);
  color: oklch(20% 0.02 50);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.tap-hero-meta em {
  color: oklch(75% 0.01 70);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.tap-hero-content h1 {
  margin-bottom: 16px;
  color: var(--tap-light);
  font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem);
  line-height: 1.05;
}

.tap-hero-deck {
  max-width: 640px;
  margin: 0 0 26px;
  color: oklch(85% 0.01 70);
  font-size: clamp(16px, 1vw + 12px, 19px);
  line-height: 1.55;
}

.tap-fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  padding: 0;
  border: 0;
}

.tap-fact-row > div {
  display: block;
  max-width: 100%;
  padding: 8px 14px;
  border: 1px solid oklch(50% 0.02 55);
  border-radius: 10px;
  background: oklch(35% 0.02 55 / 60%);
}

.tap-fact-row span {
  display: block;
  margin-bottom: 2px;
  color: oklch(70% 0.01 70);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.tap-fact-row strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--tap-light);
  font-size: 14px;
  font-weight: 700;
}

.tap-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  transition: opacity 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.tap-btn:hover {
  transform: translateY(-1px);
}

.tap-btn-primary {
  background: var(--tap-accent);
  color: oklch(18% 0.02 50) !important;
}

.tap-btn-primary:hover {
  opacity: 0.88;
}

.tap-btn-secondary {
  border-color: oklch(55% 0.02 55);
  background: transparent;
  color: var(--tap-light) !important;
}

.tap-btn-secondary:hover {
  border-color: var(--tap-accent);
}

.tap-hero-media {
  display: grid;
  place-items: center;
  flex: 1 1 300px;
  min-width: 280px;
  max-width: 460px;
  height: 320px;
  overflow: hidden;
  border-radius: 18px;
  background: oklch(97% 0.01 80);
  box-shadow: 0 20px 50px -20px oklch(10% 0 0 / 50%);
}

.tap-hero-media img {
  width: 100%;
  height: 100%;
  padding: clamp(10px, 2vw, 22px);
  object-fit: contain;
  mix-blend-mode: multiply;
}

.tap-hero-placeholder {
  color: var(--tap-accent);
  font: 800 72px/1 Archivo, sans-serif;
}

.tap-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--tap-dark-line);
}

.tap-hero-stats > div {
  display: block;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid #66574f;
  border: 1px solid oklch(44% 0.02 55);
  border-radius: 14px;
  background: #392c25;
  background: oklch(29% 0.02 55 / 72%);
}

.tap-hero-stats span {
  display: block;
  margin-bottom: 6px;
  color: oklch(70% 0.01 70);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tap-hero-stats strong {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--tap-accent);
  font-family: Archivo, "Segoe UI", Arial, sans-serif;
  font-size: clamp(26px, 1.4vw + 20px, 36px);
  font-weight: 800;
  line-height: 1.08;
}

.tap-hero-stats strong.is-text {
  font-size: clamp(20px, 1vw + 17px, 28px);
  overflow-wrap: anywhere;
}

.tap-hero-stats strong em {
  color: oklch(80% 0.01 70);
  font-family: "Source Sans 3", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.tap-hero-stats small {
  display: block;
  margin-top: 2px;
  color: oklch(72% 0.01 70);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

/* Page navigation */
.tap-jump {
  position: relative;
  top: auto;
  z-index: 10;
  margin-top: 28px;
  border-bottom: 1px solid var(--tap-line);
  background: oklch(98% 0.006 80 / 92%);
}

.tap-jump .tap-boundary {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  overflow-x: auto;
  padding-block: 12px;
  scrollbar-width: none;
}

.tap-jump .tap-boundary::-webkit-scrollbar {
  display: none;
}

.tap-jump a {
  flex: none;
  border: 0;
  color: oklch(40% 0.02 50);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.tap-jump a:hover,
.tap-jump a.is-active {
  color: var(--tap-accent-dark);
}

/* Shared section rhythm */
.tap-section {
  margin: 0;
  padding-block: clamp(30px, 3.5vw, 48px);
  border: 0;
  background: transparent;
  scroll-margin-top: calc(var(--tap-admin-offset) + 132px);
}

.tap-band {
  background: var(--tap-band);
}

.tap-flag {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  background: none;
  color: var(--tap-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.tap-section h2,
.tap-related h2 {
  margin-bottom: 24px;
  color: var(--tap-ink);
  font-size: clamp(24px, 1vw + 20px, 30px);
  line-height: 1.2;
}

.tap-overview h2 {
  margin-bottom: 20px;
  font-size: clamp(26px, 1vw + 22px, 34px);
}

/* Overview */
.tap-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 340px);
  gap: clamp(28px, 4vw, 56px);
}

.tap-richtext {
  color: var(--tap-copy);
  font-size: 16.5px;
  line-height: 1.7;
}

.tap-richtext > :first-child {
  margin-top: 0;
}

.tap-richtext > :last-child {
  margin-bottom: 0;
}

.tap-richtext p {
  margin: 0 0 18px;
}

.tap-richtext a {
  color: var(--tap-accent-dark);
  text-decoration: underline;
}

.tap-fastread {
  position: sticky;
  top: calc(var(--tap-admin-offset) + 140px);
  align-self: start;
  padding: 24px;
  border: 1px solid var(--tap-line);
  border-radius: 16px;
  background: var(--tap-surface);
}

.tap-fastread > span {
  display: block;
  margin-bottom: 14px;
  color: oklch(45% 0.02 50);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.tap-fastread dl {
  margin: 0;
}

.tap-fastread dl > div {
  display: block;
  padding: 12px 0;
  border-top: 1px solid oklch(92% 0.01 70);
}

.tap-fastread dt {
  margin-bottom: 3px;
  color: oklch(50% 0.02 50);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tap-fastread dd {
  margin: 0;
  color: var(--tap-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

/* Best for */
.tap-fit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.tap-fit-grid > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--tap-line);
  border-radius: 12px;
  background: var(--tap-surface);
}

.tap-fit-grid > div > span {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tap-accent-soft);
  color: var(--tap-accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.tap-fit-grid strong {
  padding-top: 1px;
  color: oklch(30% 0.02 50);
  font-size: 15px;
  font-weight: 600;
}

/* Structured Editorial profile */
.tap-overview-copy {
  width: 100%;
  max-width: none;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--tap-line);
  border-radius: 18px;
  background: var(--tap-surface);
  box-shadow: 0 14px 38px rgba(52, 36, 27, 0.05);
}

.tap-overview-copy h2,
.tap-practical > .tap-boundary > h2,
.tap-config > .tap-boundary > h2 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.tap-overview-copy .tap-richtext {
  max-width: 960px;
  margin-inline: auto;
}

.tap-section-lead {
  max-width: 720px;
  margin: -12px auto 26px;
  color: var(--tap-copy);
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.tap-fit-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}

.tap-fit-card {
  min-width: 0;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--tap-line);
  border-radius: 18px;
  background: var(--tap-surface);
  box-shadow: 0 14px 38px rgba(52, 36, 27, 0.05);
}

.tap-fit-card:only-child {
  grid-column: 1 / -1;
}

.tap-fit-card.is-good {
  border-color: oklch(86% 0.05 150);
  background: linear-gradient(145deg, oklch(98% 0.018 150), var(--tap-surface));
}

.tap-fit-card.is-caution {
  border-color: oklch(88% 0.025 30);
  background: linear-gradient(145deg, oklch(98% 0.014 30), var(--tap-surface));
}

.tap-fit-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--tap-ink);
  font-size: 20px;
  line-height: 1.25;
}

.tap-fit-card h3 span {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: oklch(90% 0.08 150);
  color: oklch(40% 0.12 150);
  font: 800 15px/1 "Source Sans 3", sans-serif;
}

.tap-fit-card.is-caution h3 span {
  background: oklch(93% 0.045 30);
  color: oklch(50% 0.14 30);
}

.tap-fit-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tap-fit-card li {
  position: relative;
  margin: 0;
  padding-left: 22px;
  color: var(--tap-copy);
  font-size: 15.5px;
  line-height: 1.5;
}

.tap-fit-card li::before {
  position: absolute;
  top: 0.65em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: oklch(55% 0.12 150);
  content: "";
}

.tap-fit-card.is-caution li::before {
  background: oklch(58% 0.12 30);
}

.tap-buying-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(16px, 2.5vw, 26px);
  align-items: flex-start;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid color-mix(in srgb, var(--tap-accent) 38%, white);
  border-left: 5px solid var(--tap-accent);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--tap-accent-soft), var(--tap-surface) 72%);
  box-shadow: 0 16px 44px rgba(52, 36, 27, 0.07);
}

.tap-buying-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--tap-accent);
  color: var(--tap-ink);
}

.tap-buying-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.tap-buying-box h2 {
  margin: 0 0 10px;
}

.tap-buying-box p {
  max-width: 900px;
  margin: 0;
  color: var(--tap-copy);
  font-size: 16.5px;
  line-height: 1.65;
}

.tap-practical-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tap-guide-card {
  position: relative;
  min-width: 0;
  padding: 25px 24px 24px;
  overflow: hidden;
  border: 1px solid var(--tap-line);
  border-radius: 16px;
  background: var(--tap-surface);
  box-shadow: 0 10px 28px rgba(52, 36, 27, 0.035);
}

.tap-guide-card:only-child,
.tap-guide-card:nth-last-child(1):nth-child(odd) {
  grid-column: 1 / -1;
}

.tap-guide-card > span {
  display: block;
  margin-bottom: 12px;
  color: var(--tap-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.tap-guide-card h3 {
  margin: 0 0 10px;
  color: var(--tap-ink);
  font-size: 19px;
  line-height: 1.3;
}

.tap-guide-card p {
  margin: 0;
  color: var(--tap-copy);
  font-size: 15.5px;
  line-height: 1.62;
}

.tap-config-table-wrap {
  overflow: hidden;
  border: 1px solid var(--tap-line);
  border-radius: 16px;
  background: var(--tap-surface);
  box-shadow: 0 12px 34px rgba(52, 36, 27, 0.045);
}

.tap-config-table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.tap-config-table th,
.tap-config-table td {
  padding: 18px 20px;
  border: 0;
  border-bottom: 1px solid var(--tap-line);
  color: var(--tap-copy);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.tap-config-table thead th {
  background: var(--tap-ink);
  color: var(--tap-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tap-config-table tbody th {
  width: 22%;
  background: var(--tap-surface) !important;
  color: var(--tap-ink) !important;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.tap-config-table tbody td {
  background: var(--tap-surface) !important;
  color: var(--tap-copy) !important;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.tap-config-table thead th:first-child {
  width: 24%;
}

.tap-config-table thead th:nth-child(2),
.tap-config-table thead th:nth-child(3) {
  width: 38%;
}

.tap-empty-value {
  color: var(--tap-muted);
}

.tap-config-table tbody tr:last-child > * {
  border-bottom: 0;
}

/* Optional ad placements are emitted only when a widget/action provides content. */
.tap-ad-slot {
  width: min(1240px, 100%);
  margin: clamp(18px, 3vw, 32px) auto;
  text-align: center;
}

.tap-ad-label {
  display: block;
  margin-bottom: 7px;
  color: oklch(53% 0.018 55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tap-ad-content {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--tap-line);
  border-radius: 14px;
  background: var(--tap-surface);
}

.tap-ad-content > *,
.tap-ad-content iframe,
.tap-ad-content img,
.tap-ad-content ins {
  max-width: 100% !important;
}

/* Strengths and considerations */
.tap-notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.tap-note {
  padding: clamp(20px, 3vw, 28px);
  overflow: hidden;
  border-radius: 16px;
}

.tap-note::before {
  display: none;
}

.tap-note-good {
  border: 1px solid oklch(88% 0.03 150);
  background: oklch(97% 0.02 150);
}

.tap-note-check {
  border: 1px solid oklch(88% 0.01 70);
  background: oklch(97% 0.01 70);
}

.tap-note h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: oklch(32% 0.05 150);
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.tap-note-check h3 {
  color: oklch(38% 0.02 55);
}

.tap-note h3 span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: oklch(45% 0.09 150);
  color: white;
  font-size: 13px;
}

.tap-note-check h3 span {
  background: oklch(55% 0.02 55);
}

.tap-note ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tap-note li {
  padding: 10px 0;
  border-top: 1px solid oklch(90% 0.02 150);
  color: oklch(30% 0.03 150);
  font-size: 15px;
  font-weight: 500;
}

.tap-note li::before {
  display: none;
}

.tap-note-check li {
  border-color: oklch(91% 0.01 70);
  color: var(--tap-copy);
}

/* Specifications */
.tap-specs {
  display: block;
}

.tap-specs h2 {
  margin-bottom: 6px;
}

.tap-spec-count {
  margin: 0 0 24px;
  color: oklch(45% 0.02 50);
  font-size: 15px;
}

.tap-spec-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.tap-spec-toolbar input {
  flex: 1 1 260px;
  width: auto;
  max-width: 380px;
  min-height: 46px;
  padding: 11px 16px;
  border: 1px solid oklch(85% 0.01 70);
  border-radius: 10px;
  background: var(--tap-surface);
  color: var(--tap-ink);
  font-size: 15px;
}

.tap-spec-toolbar input::placeholder {
  color: oklch(55% 0.02 50);
}

.tap-spec-toolbar button {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid oklch(82% 0.01 70);
  border-radius: 999px;
  background: var(--tap-surface);
  color: oklch(38% 0.02 50);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.tap-spec-toolbar button:hover {
  border-color: var(--tap-accent);
  background: var(--tap-surface);
  color: var(--tap-accent-dark);
}

.tap-spec-select {
  display: none;
}

.tap-spec-nav {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0 0 12px;
  overflow-x: auto;
  border: 0;
  scrollbar-width: thin;
}

.tap-spec-nav a {
  display: flex;
  flex: none;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid oklch(88% 0.01 70);
  border-radius: 999px;
  background: var(--tap-surface);
  color: var(--tap-copy);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

.tap-spec-nav a:hover,
.tap-spec-nav a.is-active {
  border-color: var(--tap-accent);
  color: var(--tap-accent-dark);
  background: var(--tap-surface);
}

.tap-spec-nav a span,
.tap-spec-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--tap-accent-soft);
  color: var(--tap-accent-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tap-spec-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tap-spec-card {
  overflow: hidden;
  border: 1px solid var(--tap-line);
  border-radius: 14px;
  background: var(--tap-surface);
  scroll-margin-top: calc(var(--tap-admin-offset) + 136px);
}

.tap-spec-card[hidden],
.tap-spec-list > [hidden],
.tap-spec-badges > [hidden] {
  display: none !important;
}

.tap-spec-card summary {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  border: 0;
  background: transparent;
  cursor: pointer;
  list-style: none;
  text-align: left;
}

.tap-spec-card summary::-webkit-details-marker {
  display: none;
}

.tap-spec-card summary h3 {
  flex: 1;
  min-width: 0;
  color: var(--tap-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.tap-spec-card summary small {
  color: oklch(52% 0.02 50);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.tap-spec-card summary b {
  flex: none;
  color: var(--tap-muted);
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.15s ease;
}

.tap-spec-card[open] summary b {
  transform: rotate(180deg);
}

.tap-spec-list {
  margin: 0;
  padding: 0 20px 16px;
}

.tap-spec-list > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 11px 0;
  border-top: 1px solid var(--tap-line-soft);
  font-size: 14.5px;
}

.tap-spec-list dt {
  flex: 1 1 140px;
  color: var(--tap-muted);
  font-weight: 600;
}

.tap-spec-list dd {
  flex: 1 1 140px;
  max-width: 100%;
  margin: 0;
  color: var(--tap-ink);
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}

.tap-spec-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 4px 20px 20px;
  list-style: none;
}

.tap-spec-badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--tap-accent-soft);
}

.tap-spec-badges li > span {
  flex: none;
  color: var(--tap-accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.tap-spec-badges strong {
  min-width: 0;
  color: oklch(28% 0.02 50);
  font-size: 14px;
  font-weight: 600;
}

.tap-spec-badges small {
  margin-left: auto;
  color: var(--tap-muted);
  font-size: 12px;
}

.tap-spec-empty {
  margin: 0;
  padding: 40px;
  border: 1px dashed oklch(80% 0.01 70);
  border-radius: 14px;
  background: var(--tap-surface);
  color: oklch(50% 0.02 50);
  text-align: center;
}

/* Related comparison cards */
.tap-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.tap-compare-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--tap-line);
  border-radius: 16px;
  background: var(--tap-surface);
}

.tap-compare-media {
  display: grid;
  place-items: center;
  height: 160px;
  overflow: hidden;
  background: oklch(97% 0.008 75);
}

.tap-compare-media img {
  width: 100%;
  height: 100%;
  padding: 10px 18px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.tap-compare-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.tap-compare-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.tap-compare-meta > span {
  color: oklch(50% 0.02 50);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tap-compare-meta > strong {
  color: var(--tap-accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.tap-compare-meta small {
  color: oklch(55% 0.02 50);
  font-size: inherit;
  font-weight: 600;
}

.tap-compare-card h3 {
  margin-bottom: 4px;
  color: var(--tap-ink);
  font-size: 17px;
  font-weight: 700;
}

.tap-compare-card h3 a:hover {
  color: var(--tap-accent-dark);
}

.tap-compare-card dl {
  margin: 0;
}

.tap-compare-card dl > div {
  padding: 7px 0;
  border-top: 1px solid var(--tap-line-soft);
  color: oklch(40% 0.02 50);
  font-size: 13px;
}

.tap-compare-card dt {
  display: inline;
  color: oklch(30% 0.02 50);
  font-weight: 700;
}

.tap-compare-card dt::after {
  content: " — ";
  color: var(--tap-muted);
}

.tap-compare-card dd {
  display: inline;
  margin: 0;
}

.tap-compare-link {
  margin-top: auto;
  padding-top: 8px;
  color: var(--tap-accent-dark) !important;
  font-size: 13.5px;
  font-weight: 700;
}

/* Sources and verification */
.tap-trust-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.tap-trust-summary > div {
  flex: 1 1 240px;
  padding: 20px 22px;
  border: 1px solid var(--tap-line);
  border-radius: 14px;
  background: var(--tap-surface);
}

.tap-trust-summary > div:nth-child(2) {
  flex-grow: 2;
  flex-basis: 320px;
}

.tap-trust-summary span,
.tap-sources > span {
  display: block;
  margin-bottom: 4px;
  color: oklch(50% 0.02 50);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tap-trust-summary strong {
  color: var(--tap-ink);
  font-size: 16px;
  font-weight: 700;
}

.tap-sources {
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid var(--tap-line);
  border-radius: 14px;
  background: var(--tap-surface);
}

.tap-sources > span {
  margin-bottom: 10px;
}

.tap-sources > a,
.tap-sources > strong {
  display: block;
  padding: 6px 0;
  color: var(--tap-accent-dark);
  font-size: 15px;
  font-weight: 600;
}

.tap-sources > a:hover {
  text-decoration: underline;
}

.tap-data-note {
  margin: 18px 0 0;
  padding: 4px 0 4px 18px;
  border: 0;
  border-left: 3px solid var(--tap-accent);
  border-radius: 0;
  background: transparent;
  color: oklch(38% 0.02 50);
  font-size: 14.5px;
  line-height: 1.6;
}

.tap-data-note strong {
  color: inherit;
}

/* CTA */
.tap-cta-wrap {
  padding-top: 24px;
  padding-bottom: 56px;
}

.tap-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 20px;
  background: linear-gradient(135deg, var(--tap-dark-2), var(--tap-dark));
  color: var(--tap-light);
}

.tap-cta > div {
  max-width: 560px;
}

.tap-cta > div > span {
  display: block;
  margin-bottom: 8px;
  color: var(--tap-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.tap-cta h2 {
  margin-bottom: 8px;
  color: var(--tap-light);
  font-size: clamp(20px, 1vw + 16px, 26px);
}

.tap-cta p {
  margin: 0;
  color: oklch(82% 0.01 70);
  font-size: 15px;
}

@media (max-width: 900px) {
  .tap-overview-grid {
    grid-template-columns: 1fr;
  }

  .tap-fastread {
    position: static;
    max-width: 100%;
  }
}

@media (max-width: 782px) {
  body.admin-bar.single-aps-products {
    --tap-admin-offset: 46px;
  }
}

@media (max-width: 640px) {
  .tap-hero-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .tap-hero-main {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .tap-hero-content {
    flex-basis: auto;
  }

  .tap-hero-meta {
    margin-bottom: 14px;
  }

  .tap-hero-content h1 {
    margin-bottom: 14px;
    font-size: clamp(1.9rem, 8.5vw, 2.4rem);
  }

  .tap-hero-deck {
    margin-bottom: 20px;
    line-height: 1.48;
  }

  .tap-fact-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 20px;
  }

  .tap-fact-row > div {
    min-width: 0;
    padding: 8px 9px;
  }

  .tap-fact-row > div:last-child:nth-child(n + 4) {
    grid-column: 1 / -1;
  }

  .tap-fact-row strong {
    font-size: 13px;
  }

  .tap-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .tap-hero-actions .tap-btn {
    width: 100%;
    padding-inline: 12px;
    font-size: 14px;
  }

  .tap-hero-media {
    flex-basis: auto;
    min-width: 0;
    max-width: none;
    height: 200px;
    border-radius: 14px;
  }

  .tap-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
    padding-top: 20px;
  }

  .tap-hero-stats > div {
    padding: 13px;
    border-radius: 12px;
  }

  .tap-hero-stats strong {
    font-size: 24px;
  }

  .tap-hero-stats strong.is-text {
    font-size: 18px;
  }

  .tap-jump {
    margin-top: 18px;
  }

  .tap-jump .tap-boundary {
    gap: 18px;
    padding-block: 10px;
  }

  .tap-jump a {
    font-size: 13px;
  }

  .tap-section {
    padding-block: 28px;
    scroll-margin-top: calc(var(--tap-admin-offset) + 52px);
  }

  .tap-section h2,
  .tap-related h2 {
    margin-bottom: 19px;
  }

  .tap-spec-count {
    margin-bottom: 18px;
  }

  .tap-spec-toolbar {
    margin-bottom: 16px;
  }

  .tap-spec-select {
    display: block;
    margin: 0 0 18px;
    color: var(--tap-copy);
    font-size: 13px;
    font-weight: 700;
  }

  .tap-spec-select > span {
    display: block;
    margin-bottom: 7px;
  }

  .tap-spec-select select {
    width: 100%;
    min-height: 46px;
    padding: 10px 38px 10px 14px;
    border: 1px solid oklch(82% 0.01 70);
    border-radius: 11px;
    background: var(--tap-surface);
    color: var(--tap-ink);
    font: 600 15px/1.2 "Source Sans 3", "Segoe UI", Arial, sans-serif;
  }

  .tap-spec-nav {
    display: none;
  }

  .tap-spec-card summary {
    align-items: flex-start;
    gap: 9px;
    padding: 14px;
  }

  .tap-spec-card summary h3 {
    font-size: 15px;
  }

  .tap-spec-card summary small {
    display: none;
  }

  .tap-spec-list {
    padding-inline: 14px;
  }

  .tap-spec-list > div {
    display: block;
  }

  .tap-spec-list dd {
    margin-top: 4px;
    text-align: left;
  }

  .tap-spec-badges {
    grid-template-columns: 1fr;
    padding-inline: 14px;
  }

  .tap-spec-toolbar input {
    max-width: none;
  }

  .tap-spec-toolbar button {
    flex: 1 1 calc(50% - 5px);
  }

  .tap-fit-pair,
  .tap-practical-grid {
    grid-template-columns: 1fr;
  }

  .tap-fit-card,
  .tap-guide-card {
    padding: 20px 18px;
  }

  .tap-buying-box {
    grid-template-columns: 1fr;
    padding: 22px 18px;
    border-left-width: 4px;
  }

  .tap-buying-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 19px;
  }

  .tap-buying-box p,
  .tap-richtext {
    font-size: 16px;
  }

  .tap-config-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .tap-config-table,
  .tap-config-table tbody,
  .tap-config-table tr,
  .tap-config-table th,
  .tap-config-table td {
    display: block;
    width: 100%;
  }

  .tap-config-table tbody th,
  .tap-config-table tbody td {
    width: 100% !important;
  }

  .tap-config-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .tap-config-table tr {
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid var(--tap-line);
    border-radius: 14px;
    background: var(--tap-surface);
  }

  .tap-config-table th,
  .tap-config-table td {
    position: relative;
    padding: 30px 16px 13px;
    border-bottom: 1px solid var(--tap-line);
    font-size: 15px;
  }

  .tap-config-table th::before,
  .tap-config-table td::before {
    position: absolute;
    top: 10px;
    left: 16px;
    color: var(--tap-accent-dark);
    content: attr(data-label);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .tap-config-table tbody tr:last-child > * {
    border-bottom: 1px solid var(--tap-line);
  }

  .tap-config-table tr > :last-child {
    border-bottom: 0;
  }

  .tap-ad-slot {
    width: 100%;
    margin-block: 18px;
  }

  .tap-ad-content {
    min-height: 70px;
    border-radius: 11px;
  }

  .tap-cta {
    align-items: flex-start;
  }

  .tap-cta .tap-btn {
    width: 100%;
  }

}

@media (max-width: 420px) {
  .tap-hero-wrap {
    padding-top: 14px;
  }

  .tap-related-grid,
  .tap-notes-grid,
  .tap-fit-grid,
  .tap-fit-pair,
  .tap-practical-grid {
    grid-template-columns: 1fr;
  }

  .tap-hero-media {
    height: 174px;
  }

  .tap-hero-actions {
    grid-template-columns: 1fr;
  }

  .tap-hero-stats > div {
    padding: 11px;
  }

  .tap-hero-stats strong {
    font-size: 22px;
  }
}

@media (max-width: 350px) {
  .tap-fact-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tap-fact-row > div:last-child:nth-child(n + 3) {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tap-btn,
  .tap-spec-card summary b {
    transition: none;
  }

  .tap-btn:hover {
    transform: none;
  }
}

@media print {
  body.single-aps-products {
    background: white !important;
  }

  .tap-jump,
  .tap-cta-wrap,
  .tap-ad-slot,
  .tap-spec-toolbar,
  .tap-spec-nav {
    display: none !important;
  }

  .tar9-product {
    background: white;
    color: black;
  }

  .tap-section,
  .tap-spec-card {
    break-inside: avoid;
  }
}
