/*
 * Product description presentation for DTP product HTML.
 *
 * The description is deliberately scoped to .dtp-product so product HTML can
 * use the same markup as test-agri.htm without changing other rich-text areas.
 */

:root,
[data-bs-theme="light"] {
  --bs-blue: #143d33;
  --bs-green: #205a48;
  --bs-teal: #5b8c7a;
  --bs-primary: #143d33;
  --bs-primary-rgb: 20, 61, 51;
  --bs-primary-text-emphasis: #0f3028;
  --bs-primary-bg-subtle: #eef4f1;
  --bs-primary-border-subtle: #bfd0c8;
  --bs-secondary: #5c6b61;
  --bs-secondary-rgb: 92, 107, 97;
  --bs-success: #205a48;
  --bs-success-rgb: 32, 90, 72;
  --bs-info: #5b8c7a;
  --bs-info-rgb: 107, 168, 120;
  --bs-light: #f4f7f4;
  --bs-light-rgb: 244, 247, 244;
  --bs-dark: #12241a;
  --bs-dark-rgb: 18, 36, 26;
  --bs-body-color: #18211b;
  --bs-body-color-rgb: 24, 33, 27;
  --bs-body-bg: #fff;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-emphasis-color: #12241a;
  --bs-emphasis-color-rgb: 18, 36, 26;
  --bs-secondary-color: rgba(24, 33, 27, 0.72);
  --bs-secondary-bg: #dfe8e3;
  --bs-tertiary-color: rgba(24, 33, 27, 0.65);
  --bs-tertiary-bg: #eef4f1;
  --bs-border-color: #d8e2dd;
  --bs-border-color-translucent: rgba(20, 40, 26, 0.14);
  --bs-heading-color: #12241a;
  --bs-link-color: #143d33;
  --bs-link-color-rgb: 20, 61, 51;
  --bs-link-hover-color: #0f3028;
  --bs-link-hover-color-rgb: 15, 48, 40;
  --bs-focus-ring-color: rgba(181, 116, 67, 0.28);
}

/* The product bottom contains reassurance content beside the description in
 * the stock theme. The description itself is a full center-column section. */
.page-product .product__bottom {
  display: block;
}

.page-product .product__bottom-left,
.page-product .product__bottom-right,
.page-product .product__description-panel,
.page-product .product__description,
.page-product .product__accordion {
  width: 100%;
  min-width: 0;
}

.page-product .product__description-panel {
  margin-block-end: 2rem;
}

.page-product .product__description-panel + .product__accordion {
  margin-block-start: 0;
}

.dtp-product {
  --dtp-accent: #143d33;
  --dtp-accent-dark: #0f3028;
  --dtp-accent-mid: #205a48;
  --dtp-accent-light: #5b8c7a;
  --dtp-accent-soft: #eef4f1;
  --dtp-accent-softer: #f7faf8;
  --dtp-text: #18211b;
  --dtp-heading: #12241a;
  --dtp-muted: #5c6b61;
  --dtp-border: #d8e2dd;
  --dtp-border-strong: #bfd0c8;
  --dtp-surface: #f4f7f4;
  --dtp-white: #ffffff;
  --dtp-shadow-sm:
    0 1px 2px rgba(20, 40, 26, 0.05),
    0 3px 10px rgba(20, 40, 26, 0.05);
  --dtp-shadow:
    0 2px 4px rgba(20, 40, 26, 0.04),
    0 12px 32px rgba(20, 40, 26, 0.07);
  --dtp-shadow-lg:
    0 8px 20px rgba(20, 40, 26, 0.08),
    0 26px 52px rgba(20, 40, 26, 0.1);
  --dtp-radius-lg: 5px;
  --dtp-radius: 5px;
  --dtp-radius-sm: 5px;

  container-type: inline-size;
  container-name: dtp;
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--dtp-text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

.dtp-product *,
.dtp-product *::before,
.dtp-product *::after {
  box-sizing: border-box;
}

.dtp-product img {
  max-width: 100%;
}

.dtp-product h2,
.dtp-product h3,
.dtp-product p,
.dtp-product ul,
.dtp-product figure {
  margin-top: 0;
}

.dtp-product h2 {
  margin-bottom: 18px;
  color: var(--dtp-heading);
  font-size: calc(var(--bs-body-font-size) * 1.5);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.dtp-product h2::after {
  content: none;
}

.dtp-product h3 {
  margin-bottom: 12px;
  color: var(--dtp-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.005em;
}

.dtp-product p {
  margin-bottom: 16px;
  text-wrap: pretty;
}

.dtp-product strong {
  font-weight: 700;
}

.dtp-product a {
  color: var(--dtp-accent-dark);
}

.dtp-product a:hover {
  color: var(--dtp-accent);
}

.dtp-intro,
.dtp-tech-overview,
.dtp-specs,
.dtp-section {
  border: 1px solid var(--dtp-border);
  border-radius: var(--dtp-radius-lg);
  box-shadow: var(--dtp-shadow);
}

.dtp-intro {
  position: relative;
  overflow: hidden;
  margin-bottom: 26px;
  padding: clamp(24px, 18px + 2.4cqi, 48px);
  background: #fff;
}

.dtp-intro::before {
  content: none;
}

.dtp-intro h2 {
  margin-bottom: 16px;
}

.dtp-intro p {
  margin-bottom: 0;
  color: #23302a;
  font-size: clamp(1rem, 0.96rem + 0.3cqi, 1.15rem);
}

.dtp-tech-overview {
  margin: 0 0 34px;
  padding: clamp(20px, 14px + 2.2cqi, 36px);
  background: var(--dtp-white);
}

.dtp-tech-overview > h2 {
  margin-bottom: 28px;
}

.dtp-tech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 26px;
}

.dtp-tech-item {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.dtp-tech-item__icon {
  display: block;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  background-image: url("https://konejapiha.fi/img/cms/tech.png");
  background-size: 1750px auto;
  background-repeat: no-repeat;
}

.dtp-tech-item__content {
  min-width: 0;
}

.dtp-tech-item__label {
  display: block;
  margin-bottom: 2px;
  color: var(--dtp-muted);
  font-size: 0.87rem;
  font-weight: 500;
  line-height: 1.3;
}

.dtp-tech-item__value {
  display: block;
  color: var(--dtp-text);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.dtp-key-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(152px, 1fr));
  gap: 12px;
  margin: 0 0 34px;
}

.dtp-key-card {
  position: relative;
  display: flex;
  min-height: 118px;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 14px 18px;
  border: 1px solid var(--dtp-border);
  border-radius: var(--dtp-radius);
  background: var(--dtp-white);
  box-shadow: var(--dtp-shadow-sm);
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.dtp-key-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--dtp-accent), var(--dtp-accent-light));
  transform: scaleX(0.32);
  transform-origin: left center;
  transition: transform 0.28s ease;
  content: "";
}

.dtp-key-card:hover {
  transform: translateY(-3px);
  border-color: var(--dtp-border-strong);
  box-shadow: var(--dtp-shadow);
}

.dtp-key-card:hover::before {
  transform: scaleX(1);
}

.dtp-key-card__value {
  display: block;
  color: var(--dtp-accent-dark);
  font-size: clamp(1.2rem, 1.05rem + 0.55cqi, 1.5rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.dtp-key-card__label {
  display: block;
  margin-top: 8px;
  color: var(--dtp-muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dtp-specs {
  margin: 0 0 40px;
  padding: clamp(20px, 14px + 2.2cqi, 38px);
  background: #fff;
}

.dtp-specs > h2 {
  margin-bottom: 24px;
}

.dtp-spec-group {
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid var(--dtp-border);
  border-radius: var(--dtp-radius);
  background: var(--dtp-white);
  box-shadow: var(--dtp-shadow-sm);
}

.dtp-spec-group:last-child {
  margin-bottom: 0;
}

.dtp-spec-group > h3 {
  margin: 0;
  padding: 13px 18px;
  border-bottom: 1px solid var(--dtp-accent-dark);
  background: linear-gradient(180deg, var(--dtp-accent), var(--dtp-accent-dark));
  color: var(--dtp-white);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dtp-spec-group > h3::before {
  content: none;
}

/* Technical specification groups use the same collapsible heading on every
 * viewport. JavaScript adds the state class while the source remains fully
 * visible if scripts are unavailable. */
.dtp-spec-group--accordion > h3 {
  position: relative;
  padding-right: 3.5rem;
  border-bottom: 0;
  cursor: pointer;
}

.dtp-spec-group--accordion > h3::after {
  position: absolute;
  top: 50%;
  right: 1.35rem;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.18s ease;
  content: "";
}

.dtp-spec-group--accordion > h3:focus-visible {
  outline: 3px solid var(--dtp-accent);
  outline-offset: -3px;
}

.dtp-spec-group--accordion:not(.is-collapsed) > h3 {
  border-bottom: 1px solid var(--dtp-accent-dark);
}

.dtp-spec-group--accordion:not(.is-collapsed) > h3::after {
  transform: translateY(-30%) rotate(225deg);
}

.dtp-spec-group--accordion.is-collapsed > .dtp-spec-group__content {
  display: none;
}

.dtp-table-wrap {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--dtp-border-strong) transparent;
  -webkit-overflow-scrolling: touch;
}

.dtp-product .dtp-spec-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 0.96rem;
}

.dtp-spec-table th,
.dtp-spec-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--dtp-border);
  vertical-align: top;
  text-align: left;
}

.dtp-spec-table tr:last-child th,
.dtp-spec-table tr:last-child td {
  border-bottom: 0;
}

.dtp-spec-table tbody tr:last-child > :first-child {
  border-bottom-left-radius: calc(var(--dtp-radius) - 1px);
}

.dtp-spec-table tbody tr:last-child > :last-child {
  border-bottom-right-radius: calc(var(--dtp-radius) - 1px);
}

.dtp-spec-table th {
  width: 44%;
  color: #2a352d;
  font-weight: 600;
}

.dtp-spec-table td {
  color: var(--dtp-text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.dtp-spec-table tbody tr:nth-child(odd),
.dtp-spec-table tbody tr:nth-child(odd) > th,
.dtp-spec-table tbody tr:nth-child(odd) > td {
  background-color: var(--dtp-white);
  box-shadow: none;
}

.dtp-spec-table tbody tr:nth-child(even),
.dtp-spec-table tbody tr:nth-child(even) > th,
.dtp-spec-table tbody tr:nth-child(even) > td {
  background-color: var(--dtp-accent-softer);
  box-shadow: none;
}

.dtp-spec-table tbody tr {
  transition: background-color 0.15s ease;
}

.dtp-spec-table tbody tr:hover,
.dtp-spec-table tbody tr:hover > th,
.dtp-spec-table tbody tr:hover > td {
  background-color: var(--dtp-accent-soft);
}

.dtp-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 16px + 2.2cqi, 52px);
  margin: 0 0 30px;
  padding: clamp(20px, 14px + 2cqi, 38px);
  background: var(--dtp-white);
}

.dtp-section:last-child {
  margin-bottom: 0;
}

.dtp-section__content > :last-child {
  margin-bottom: 0;
}

.dtp-section__content p {
  max-width: 62ch;
  color: #2c3830;
}

.dtp-section__media {
  min-width: 0;
}

.dtp-section__media:empty {
  display: none;
}

.dtp-feature-list,
.dtp-control-list,
.dtp-included-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.dtp-feature-list li,
.dtp-control-list li,
.dtp-included-list li {
  position: relative;
  margin-bottom: 11px;
  padding-left: 2em;
  color: #2c3830;
}

.dtp-feature-list li:last-child,
.dtp-control-list li:last-child,
.dtp-included-list li:last-child {
  margin-bottom: 0;
}

.dtp-feature-list li::before,
.dtp-included-list li::before {
  position: absolute;
  top: 0.3em;
  left: 0;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  background: var(--dtp-accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6b3c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.8l5.2 5.2L20 6.6'/%3E%3C/svg%3E")
    center / 0.72em auto no-repeat;
  box-shadow: inset 0 0 0 1px rgba(20, 61, 51, 0.22);
  content: "";
}

.dtp-control-list {
  display: grid;
  gap: 4px;
}

.dtp-control-list li {
  padding-left: 0;
  padding-block: 4px;
}

.dtp-control-list li::before {
  content: none;
}

.dtp-control-list strong {
  display: inline-flex;
  min-width: 2.1em;
  align-items: center;
  justify-content: center;
  margin-right: 0.5em;
  padding: 0.1em 0.45em;
  border-radius: 5px;
  background: var(--dtp-accent-soft);
  box-shadow: inset 0 0 0 1px rgba(20, 61, 51, 0.2);
  color: var(--dtp-accent-dark);
  font-size: 0.82em;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* The source HTML starts as figure cards; the DTP script turns each gallery
 * into a main viewer and a horizontal thumbnail track. */
.dtp-gallery {
  display: block;
  min-width: 0;
}

.dtp-gallery__item {
  min-width: 0;
  margin: 0;
}

.dtp-gallery:not(.dtp-gallery--slider) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dtp-gallery:not(.dtp-gallery--slider) .dtp-gallery__item--featured {
  grid-column: 1 / -1;
}

.dtp-gallery:not(.dtp-gallery--slider) .dtp-gallery__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.dtp-gallery__link {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--dtp-border);
  border-radius: var(--dtp-radius);
  background: var(--dtp-surface);
  box-shadow: var(--dtp-shadow-sm);
  text-decoration: none;
  cursor: zoom-in;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.dtp-gallery__link:hover,
.dtp-gallery__link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--dtp-accent-light);
  box-shadow: var(--dtp-shadow);
}

.dtp-gallery__link:focus-visible {
  outline: 3px solid var(--dtp-accent);
  outline-offset: 3px;
}

.dtp-gallery__link::after {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(15, 48, 40, 0.88)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.6' cy='10.6' r='6.4'/%3E%3Cpath d='M15.4 15.4L21 21M10.6 7.9v5.4M7.9 10.6h5.4'/%3E%3C/svg%3E")
    center / 18px auto no-repeat;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(6px) scale(0.92);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  content: "";
}

.dtp-gallery__link:hover::after,
.dtp-gallery__link:focus-visible::after {
  opacity: 1;
  transform: none;
}

.dtp-gallery__item--featured .dtp-gallery__image {
  aspect-ratio: 3 / 2;
  padding: 6px;
  object-fit: contain;
}

.dtp-gallery__caption {
  padding: 9px 4px 0;
  color: var(--dtp-muted);
  font-size: 0.83rem;
  line-height: 1.45;
}

.dtp-gallery__viewer {
  position: relative;
  min-width: 0;
}

.dtp-gallery__main-link {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--dtp-border);
  border-radius: var(--dtp-radius);
  background: var(--dtp-white);
  box-shadow: var(--dtp-shadow-sm);
  text-decoration: none;
  cursor: zoom-in;
  touch-action: pan-y;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.dtp-gallery__main-link:hover,
.dtp-gallery__main-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--dtp-accent-light);
  box-shadow: var(--dtp-shadow);
}

.dtp-gallery__main-link:focus-visible {
  outline: 3px solid var(--dtp-accent);
  outline-offset: 3px;
}

.dtp-gallery__main-link::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 48, 40, 0.9)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.6' cy='10.6' r='6.4'/%3E%3Cpath d='M15.4 15.4L21 21M10.6 7.9v5.4M7.9 10.6h5.4'/%3E%3C/svg%3E")
    center / 19px auto no-repeat;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(6px) scale(0.92);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  content: "";
}

.dtp-gallery__main-link:hover::after,
.dtp-gallery__main-link:focus-visible::after {
  opacity: 1;
  transform: none;
}

.dtp-gallery__main-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  max-height: 480px;
  padding: 6px;
  background: var(--dtp-white);
  object-fit: contain;
  transition: opacity 0.18s ease;
}

.dtp-gallery.is-changing .dtp-gallery__main-image {
  opacity: 0.38;
}

.dtp-gallery__main-caption {
  min-height: 1.45em;
  margin: 0;
  padding: 8px 3px 0;
  color: var(--dtp-muted);
  font-size: 0.83rem;
  line-height: 1.45;
}

.dtp-gallery__main-caption[hidden],
.dtp-gallery__thumb-shell[hidden],
.dtp-gallery__stage-nav[hidden],
.dtp-gallery__counter[hidden] {
  display: none;
}

.dtp-gallery__counter {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  min-width: 54px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(18, 36, 26, 0.75);
  color: #fff;
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  pointer-events: none;
}

.dtp-gallery__stage-nav,
.dtp-gallery__thumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--dtp-border);
  border-radius: 50%;
  background: var(--dtp-white);
  color: var(--dtp-accent-dark);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.dtp-gallery__stage-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(18, 36, 26, 0.74);
  color: #fff;
}

.dtp-gallery__stage-nav--prev {
  left: 10px;
}

.dtp-gallery__stage-nav--next {
  right: 10px;
}

.dtp-gallery__stage-nav:hover,
.dtp-gallery__stage-nav:focus-visible,
.dtp-gallery__thumb-nav:hover,
.dtp-gallery__thumb-nav:focus-visible {
  transform: scale(1.06);
  border-color: var(--dtp-accent);
  background: var(--dtp-accent);
  color: #fff;
}

.dtp-gallery__stage-nav[disabled],
.dtp-gallery__thumb-nav[disabled] {
  opacity: 0.3;
  cursor: default;
}

.dtp-gallery__stage-nav svg,
.dtp-gallery__thumb-nav svg {
  width: 50%;
  height: 50%;
  pointer-events: none;
}

.dtp-gallery__thumb-shell {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  gap: 7px;
  align-items: center;
  margin-top: 11px;
}

.dtp-gallery__thumb-track {
  display: flex;
  min-width: 0;
  gap: 7px;
  overflow-x: auto;
  padding: 3px 2px 5px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.dtp-gallery__thumb-track::-webkit-scrollbar {
  display: none;
}

.dtp-gallery__thumb-nav {
  width: 34px;
  height: 34px;
  box-shadow: var(--dtp-shadow-sm);
}

.dtp-gallery__thumb {
  position: relative;
  display: block;
  width: 62px;
  height: 50px;
  flex: 0 0 62px;
  overflow: hidden;
  padding: 2px;
  border: 1px solid var(--dtp-border);
  border-radius: 5px;
  background: var(--dtp-white);
  box-shadow: 0 1px 3px rgba(20, 40, 26, 0.08);
  cursor: pointer;
  scroll-snap-align: center;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.dtp-gallery__thumb:hover {
  transform: translateY(-1px);
  border-color: var(--dtp-accent-light);
}

.dtp-gallery__thumb[aria-selected="true"] {
  border-color: var(--dtp-accent);
  box-shadow: 0 0 0 2px rgba(20, 61, 51, 0.18), 0 2px 7px rgba(20, 40, 26, 0.14);
}

.dtp-gallery__thumb-image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  background: var(--dtp-surface);
  object-fit: cover;
  pointer-events: none;
}

.dtp-gallery__thumb:focus-visible,
.dtp-gallery__thumb-nav:focus-visible,
.dtp-gallery__stage-nav:focus-visible {
  outline: 3px solid var(--dtp-accent);
  outline-offset: 2px;
}

/* Lightbox styles are global only for the overlay, but the class names are
 * unique to this component and do not affect Bootstrap modals. */
body.dtp-lightbox-open {
  overflow: hidden;
}

.dtp-lightbox[hidden] {
  display: none !important;
}

.dtp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  contain: layout paint;
  padding: clamp(12px, 3vw, 40px);
  background: rgba(11, 22, 15, 0.88);
  cursor: zoom-out;
  animation: dtp-lb-fade 0.18s ease-out;
}

.dtp-lightbox__dialog {
  position: relative;
  display: grid;
  width: min(92vw, 62rem);
  height: min(84vh, 48rem);
  max-width: 100%;
  max-height: 100%;
  grid-template-rows: minmax(0, 1fr) auto auto;
  cursor: default;
  animation: dtp-lb-zoom 0.22s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.dtp-lightbox__stage {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.5);
}

.dtp-lightbox__image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}

.dtp-lightbox__close,
.dtp-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(18, 36, 26, 0.72);
  color: #fff;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.dtp-lightbox__nav {
  top: 50%;
  width: 50px;
  height: 50px;
  transform: translate3d(0, -50%, 0);
}

.dtp-lightbox__close svg,
.dtp-lightbox__nav svg {
  width: 45%;
  height: 45%;
  pointer-events: none;
}

.dtp-lightbox__close:hover,
.dtp-lightbox__nav:hover,
.dtp-lightbox__close:focus-visible,
.dtp-lightbox__nav:focus-visible {
  background: var(--dtp-accent, #143d33);
  border-color: rgba(255, 255, 255, 0.55);
  transform: scale(1.06);
}

.dtp-lightbox__nav:hover,
.dtp-lightbox__nav:focus-visible {
  transform: translate3d(0, -50%, 0) scale(1.06);
}

.dtp-lightbox__close:focus-visible,
.dtp-lightbox__nav:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.dtp-lightbox__close {
  top: 10px;
  right: 10px;
  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 300;
}

.dtp-lightbox__nav--prev {
  left: 10px;
}

.dtp-lightbox__nav--next {
  right: 10px;
}

.dtp-lightbox__nav[hidden] {
  display: none;
}

.dtp-lightbox__nav[disabled] {
  opacity: 0.3;
  cursor: default;
}

.dtp-lightbox__caption {
  max-width: min(90vw, 900px);
  margin-top: 14px;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.45;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.dtp-lightbox__counter {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  text-align: center;
}

.dtp-lightbox__counter[hidden] {
  display: none;
}

@keyframes dtp-lb-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes dtp-lb-zoom {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: none; }
}

@container dtp (min-width: 760px) {
  .dtp-section {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
    align-items: center;
    margin-bottom: 40px;
  }

  .dtp-section--reverse .dtp-section__content {
    order: 2;
  }

  .dtp-section--reverse .dtp-section__media {
    order: 1;
  }

  .dtp-spec-table th {
    width: 38%;
  }
}

@container dtp (max-width: 900px) {
  .dtp-tech-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@container dtp (max-width: 680px) {
  .dtp-tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }
}

@container dtp (max-width: 560px) {
  .dtp-product {
    font-size: 15px;
  }

  .dtp-intro,
  .dtp-tech-overview,
  .dtp-specs,
  .dtp-section {
    border-radius: var(--dtp-radius);
  }

  .dtp-key-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .dtp-key-card {
    min-height: 104px;
    padding: 16px 10px 14px;
  }

  .dtp-gallery__stage-nav {
    width: 38px;
    height: 38px;
    margin-top: -19px;
  }

  .dtp-gallery__thumb-shell {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 5px;
  }

  .dtp-gallery__thumb-nav {
    width: 30px;
    height: 30px;
  }

  .dtp-gallery__thumb {
    width: 56px;
    height: 45px;
    flex-basis: 56px;
  }
}

@container dtp (max-width: 430px) {
  .dtp-tech-grid {
    grid-template-columns: 1fr;
  }

  .dtp-tech-overview {
    padding: 20px 16px;
  }

  .dtp-spec-table {
    font-size: 0.95rem;
  }

  .dtp-spec-table tbody tr {
    display: block;
    padding: 11px 14px;
    border-bottom: 1px solid var(--dtp-border);
  }

  .dtp-spec-table tbody tr:last-child {
    border-bottom: 0;
  }

  .dtp-spec-table th,
  .dtp-spec-table td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
  }

  .dtp-spec-table th {
    margin-bottom: 2px;
    color: var(--dtp-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .dtp-spec-table td {
    font-size: 1rem;
  }

  .dtp-gallery__thumb-shell {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
  }
}

@supports not (container-type: inline-size) {
  @media (min-width: 820px) {
    .dtp-section {
      grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
      align-items: center;
    }

    .dtp-section--reverse .dtp-section__content { order: 2; }
    .dtp-section--reverse .dtp-section__media { order: 1; }
  }

  @media (max-width: 900px) {
    .dtp-tech-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }

  @media (max-width: 680px) {
    .dtp-tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  @media (max-width: 540px) {
    .dtp-product { font-size: 15px; }
    .dtp-key-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dtp-gallery__thumb-shell { grid-template-columns: 30px minmax(0, 1fr) 30px; }
  }

  @media (max-width: 430px) {
    .dtp-tech-grid { grid-template-columns: 1fr; }
  }
}

@media (hover: none) {
  .dtp-gallery__main-link::after {
    opacity: 0.9;
    transform: none;
  }
}

@media (max-width: 600px) {
  .dtp-lightbox,
  .dtp-lightbox__dialog {
    animation: none;
  }

  .dtp-lightbox__image {
    max-height: calc(94vh - 96px);
  }

  .dtp-lightbox__close {
    top: 6px;
    right: 6px;
    width: 42px;
    height: 42px;
  }

  .dtp-lightbox__nav {
    top: 50%;
    bottom: auto;
    width: 44px;
    height: 44px;
    transform: translate3d(0, -50%, 0);
  }

  .dtp-lightbox__nav:hover,
  .dtp-lightbox__nav:active,
  .dtp-lightbox__nav:focus,
  .dtp-lightbox__nav:focus-visible {
    transform: translate3d(0, -50%, 0);
  }

  .dtp-lightbox__nav--prev { left: 4px; }
  .dtp-lightbox__nav--next { right: 4px; }

  .dtp-lightbox__caption {
    margin-top: 10px;
    padding: 0 54px;
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dtp-product *,
  .dtp-lightbox,
  .dtp-lightbox * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .dtp-gallery__main-link:hover,
  .dtp-gallery__thumb:hover,
  .dtp-key-card:hover,
  .dtp-lightbox__close:hover {
    transform: none;
  }

  .dtp-lightbox__nav:hover,
  .dtp-lightbox__nav:focus-visible {
    transform: translate3d(0, -50%, 0);
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 600px) {
  .dtp-lightbox__nav:hover,
  .dtp-lightbox__nav:active,
  .dtp-lightbox__nav:focus,
  .dtp-lightbox__nav:focus-visible {
    transform: translate3d(0, -50%, 0);
  }
}

@media (forced-colors: active) {
  .dtp-key-card,
  .dtp-tech-overview,
  .dtp-spec-group,
  .dtp-section,
  .dtp-intro,
  .dtp-gallery__main-link,
  .dtp-gallery__thumb {
    border: 1px solid CanvasText;
  }
}

@media print {
  .dtp-product {
    max-width: none;
    font-size: 11pt;
  }

  .dtp-intro,
  .dtp-tech-overview,
  .dtp-specs,
  .dtp-section,
  .dtp-spec-group,
  .dtp-key-card {
    box-shadow: none;
    break-inside: avoid;
  }

  .dtp-section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  }

  .dtp-gallery__main-link::after,
  .dtp-gallery__stage-nav,
  .dtp-gallery__thumb-shell,
  .dtp-gallery__counter {
    display: none !important;
  }

  .dtp-spec-group > h3 {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}




/* =========================================================
   PRODUCT FAQ
   Compatible with the existing product FAQ HTML and
   protected against older theme.css FAQ rules.
   ========================================================= */

.page-product .product-faq,
.product-faq {
  display: block;
  width: 100%;

  margin: 0 0 40px !important;
  padding: 36px 38px 38px !important;

  border: 1px solid #d8e2dd !important;
  border-radius: 5px !important;

  background: #ffffff !important;
  color: #18211b;

  box-shadow:
    0 2px 4px rgba(20, 40, 26, 0.04),
    0 12px 32px rgba(20, 40, 26, 0.07);

  font-family: inherit;
  font-size: 16px;
  line-height: 1.65;

  box-sizing: border-box;
}

.page-product .product-faq *,
.product-faq *,
.page-product .product-faq *::before,
.product-faq *::before,
.page-product .product-faq *::after,
.product-faq *::after {
  box-sizing: border-box;
}


/* =========================================================
   TITLE
   Same visual hierarchy as "Tekniset tiedot"
   ========================================================= */

.page-product .product-faq .product-faq-title,
.product-faq .product-faq-title {
  display: block;

  margin: 0 0 24px !important;
  padding: 0 !important;

  color: #12241a !important;

  font-size: 1.5rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.015em;

  text-wrap: balance;
}


/* =========================================================
   INNER FAQ LIST
   One continuous border around all questions.
   ========================================================= */

.page-product .product-faq .product-faq-list,
.product-faq .product-faq-list {
  display: block;
  width: 100%;

  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden;

  border: 1px solid #d8e2dd !important;
  border-radius: 5px !important;

  background: #ffffff;

  box-shadow:
    0 1px 2px rgba(20, 40, 26, 0.05),
    0 3px 10px rgba(20, 40, 26, 0.05);
}


/* =========================================================
   FAQ ITEMS
   Only horizontal separators.
   Outer border is handled by product-faq-list.
   ========================================================= */

.page-product .product-faq .product-faq-list > .faq-item,
.product-faq .product-faq-list > .faq-item {
  display: block;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;
}

.page-product .product-faq .product-faq-list > .faq-item:not(:last-child),
.product-faq .product-faq-list > .faq-item:not(:last-child) {
  border-bottom: 1px solid #d8e2dd !important;
}


/* =========================================================
   DETAILS
   ========================================================= */

.page-product .product-faq .faq-details,
.product-faq .faq-details {
  display: block;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  background: transparent;
}


/* =========================================================
   ALTERNATING ROW BACKGROUNDS

   Direct colors instead of inherited CSS variables.
   This makes the striping reliable even when older
   theme styles are also loaded.
   ========================================================= */

/* Odd rows = white */

.page-product .product-faq .product-faq-list > .faq-item:nth-child(odd) > .faq-details > .faq-question,
.product-faq .product-faq-list > .faq-item:nth-child(odd) > .faq-details > .faq-question,
.page-product .product-faq .product-faq-list > .faq-item:nth-child(odd) > .faq-details > .faq-answer,
.product-faq .product-faq-list > .faq-item:nth-child(odd) > .faq-details > .faq-answer {
  background-color: #ffffff !important;
}


/* Even rows = light green */

.page-product .product-faq .product-faq-list > .faq-item:nth-child(even) > .faq-details > .faq-question,
.product-faq .product-faq-list > .faq-item:nth-child(even) > .faq-details > .faq-question,
.page-product .product-faq .product-faq-list > .faq-item:nth-child(even) > .faq-details > .faq-answer,
.product-faq .product-faq-list > .faq-item:nth-child(even) > .faq-details > .faq-answer {
  background-color: #f7faf8 !important;
}


/* =========================================================
   QUESTION
   ========================================================= */

.page-product .product-faq .faq-question,
.product-faq .faq-question {
  position: relative;
  display: block;

  width: 100%;

  margin: 0 !important;
  padding: 17px 62px 17px 18px !important;

  border: 0 !important;

  color: #18211b !important;

  cursor: pointer;

  font-family: inherit;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;

  list-style: none;

  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.page-product .product-faq .faq-question::-webkit-details-marker,
.product-faq .faq-question::-webkit-details-marker {
  display: none !important;
}

.page-product .product-faq .faq-question::marker,
.product-faq .faq-question::marker {
  content: "";
}


/* =========================================================
   QUESTION HOVER
   ========================================================= */

.page-product .product-faq .faq-question:hover,
.product-faq .faq-question:hover {
  background-color: #eef4f1 !important;
}

.page-product .product-faq .faq-question:focus-visible,
.product-faq .faq-question:focus-visible {
  position: relative;
  z-index: 2;

  outline: 3px solid #143d33;
  outline-offset: -3px;
}


/* =========================================================
   PLUS BUTTON

   + is drawn with CSS instead of a font character.
   This keeps it exactly centered.
   ========================================================= */

.page-product .product-faq .faq-question::after,
.product-faq .faq-question::after {
  content: "" !important;

  position: absolute !important;
  top: 50% !important;
  right: 18px !important;

  width: 30px !important;
  height: 30px !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 1px solid #bfd0c8 !important;
  border-radius: 50% !important;

  background:
    linear-gradient(#143d33, #143d33) center / 10px 2px no-repeat,
    linear-gradient(#143d33, #143d33) center / 2px 10px no-repeat,
    #eef4f1 !important;

  color: transparent !important;

  font-size: 0 !important;
  line-height: 0 !important;

  transform: translateY(-50%) !important;

  transition:
    background-color 0.18s ease,
    border-color 0.18s ease;
}


/* =========================================================
   OPEN QUESTION
   ========================================================= */

.page-product .product-faq .faq-details[open] > .faq-question,
.product-faq .faq-details[open] > .faq-question {
  color: #0f3028 !important;
}


/* Odd open row stays white */

.page-product .product-faq .product-faq-list > .faq-item:nth-child(odd) > .faq-details[open] > .faq-question,
.product-faq .product-faq-list > .faq-item:nth-child(odd) > .faq-details[open] > .faq-question {
  background-color: #ffffff !important;
}


/* Even open row stays light green */

.page-product .product-faq .product-faq-list > .faq-item:nth-child(even) > .faq-details[open] > .faq-question,
.product-faq .product-faq-list > .faq-item:nth-child(even) > .faq-details[open] > .faq-question {
  background-color: #f7faf8 !important;
}


/* =========================================================
   MINUS BUTTON
   ========================================================= */

.page-product .product-faq .faq-details[open] > .faq-question::after,
.product-faq .faq-details[open] > .faq-question::after {
  content: "" !important;

  border-color: #143d33 !important;

  background:
    linear-gradient(#ffffff, #ffffff) center / 10px 2px no-repeat,
    #143d33 !important;
}


/* =========================================================
   ANSWER
   ========================================================= */

.page-product .product-faq .faq-answer,
.product-faq .faq-answer {
  display: block;

  margin: 0 !important;
  padding: 0 62px 18px 18px !important;

  border: 0 !important;

  color: #2c3830 !important;
}


/* Odd answers */

.page-product .product-faq .product-faq-list > .faq-item:nth-child(odd) .faq-answer,
.product-faq .product-faq-list > .faq-item:nth-child(odd) .faq-answer {
  background-color: #ffffff !important;
}


/* Even answers */

.page-product .product-faq .product-faq-list > .faq-item:nth-child(even) .faq-answer,
.product-faq .product-faq-list > .faq-item:nth-child(even) .faq-answer {
  background-color: #f7faf8 !important;
}


.page-product .product-faq .faq-answer p,
.product-faq .faq-answer p {
  margin: 0 !important;
  padding: 0 !important;

  color: #2c3830 !important;

  font-family: inherit;
  font-size: 0.95rem !important;
  font-weight: 400;
  line-height: 1.7 !important;

  text-wrap: pretty;
}

.page-product .product-faq .faq-answer p + p,
.product-faq .faq-answer p + p {
  margin-top: 10px !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 560px) {

  .page-product .product-faq,
  .product-faq {
    margin-bottom: 30px !important;
    padding: 20px 16px !important;

    border-radius: 5px !important;

    font-size: 15px;
  }

  .page-product .product-faq .product-faq-title,
  .product-faq .product-faq-title {
    margin-bottom: 18px !important;

    font-size: 1.35rem !important;
  }

  .page-product .product-faq .product-faq-list,
  .product-faq .product-faq-list {
    border-radius: 5px !important;
  }

  .page-product .product-faq .faq-question,
  .product-faq .faq-question {
    padding: 16px 54px 16px 16px !important;

    font-size: 0.96rem !important;
  }

  .page-product .product-faq .faq-question::after,
  .product-faq .faq-question::after {
    right: 14px !important;

    width: 28px !important;
    height: 28px !important;

    background:
      linear-gradient(#143d33, #143d33) center / 10px 2px no-repeat,
      linear-gradient(#143d33, #143d33) center / 2px 10px no-repeat,
      #eef4f1 !important;
  }

  .page-product .product-faq .faq-details[open] > .faq-question::after,
  .product-faq .faq-details[open] > .faq-question::after {
    background:
      linear-gradient(#ffffff, #ffffff) center / 10px 2px no-repeat,
      #143d33 !important;
  }

  .page-product .product-faq .faq-answer,
  .product-faq .faq-answer {
    padding: 0 16px 17px 16px !important;
  }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .page-product .product-faq .faq-question,
  .product-faq .faq-question,
  .page-product .product-faq .faq-question::after,
  .product-faq .faq-question::after {
    transition: none;
  }
}


/* =========================================================
   HIGH CONTRAST
   ========================================================= */

@media (forced-colors: active) {

  .page-product .product-faq,
  .product-faq,
  .page-product .product-faq .product-faq-list,
  .product-faq .product-faq-list {
    border-color: CanvasText !important;
  }

  .page-product .product-faq .product-faq-list > .faq-item:not(:last-child),
  .product-faq .product-faq-list > .faq-item:not(:last-child) {
    border-bottom-color: CanvasText !important;
  }

  .page-product .product-faq .faq-question::after,
  .product-faq .faq-question::after {
    border-color: CanvasText !important;
  }
}


/* =========================================================
   PRINT
   ========================================================= */

@media print {

  .page-product .product-faq,
  .product-faq,
  .page-product .product-faq .product-faq-list,
  .product-faq .product-faq-list {
    box-shadow: none;
  }

  .page-product .product-faq .faq-details,
  .product-faq .faq-details {
    break-inside: avoid;
  }
}







/* ----------------------- */





/* ==========================================================
   KODINTUOTTEET.FI / TRP PRODUCT CONTENT
   Shared static stylesheet
   Mobile-first
   ========================================================== */

.trp-product {
  --trp-orange: #143d33;
  --trp-orange-dark: #0f3028;
  --trp-orange-mid: #205a48;
  --trp-orange-light: #5b8c7a;
  --trp-orange-soft: #eef4f1;
  --trp-orange-softer: #f7faf8;

  --trp-black: #12241a;
  --trp-text: #18211b;
  --trp-muted: #5c6b61;

  --trp-white: #ffffff;
  --trp-warm-50: #f7faf8;
  --trp-warm-100: #f4f7f4;
  --trp-warm-150: #eef4f1;
  --trp-warm-200: #dfe8e3;

  --trp-border: #d8e2dd;
  --trp-border-dark: #bfd0c8;
  --trp-border-strong: #bfd0c8;

  --trp-surface: #f4f7f4;

  --trp-shadow-sm:
    0 1px 2px rgba(20, 40, 26, 0.05),
    0 3px 10px rgba(20, 40, 26, 0.05);

  --trp-shadow:
    0 2px 4px rgba(20, 40, 26, 0.04),
    0 12px 32px rgba(20, 40, 26, 0.07);

  --trp-shadow-lg:
    0 8px 20px rgba(20, 40, 26, 0.08),
    0 26px 52px rgba(20, 40, 26, 0.10);

  --trp-radius-lg: 5px;
  --trp-radius: 5px;
  --trp-radius-sm: 5px;

  width: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--trp-text);
  background: var(--trp-white);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

.trp-product,
.trp-product *,
.trp-product *::before,
.trp-product *::after {
  box-sizing: border-box;
}

.trp-product img {
  max-width: 100%;
}

.trp-product p,
.trp-product ul,
.trp-product ol {
  margin-top: 0;
}

.trp-product p {
  margin-bottom: 1rem;
}

.trp-product p:last-child {
  margin-bottom: 0;
}

.trp-product h2,
.trp-product h3 {
  color: var(--trp-black);
  font-family: inherit;
  font-weight: 700;
  line-height: 1.25;
}

.trp-product h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 5vw, 1.9rem);
}

.trp-product h3 {
  margin: 0 0 0.75rem;
  font-size: 1.06rem;
}

.trp-product strong {
  color: var(--trp-black);
}

.trp-product a {
  color: var(--trp-orange-dark);
}


/* ==========================================================
   REUSABLE HEADING ACCENT
   ========================================================== */

.trp-intro > h2,
.trp-section__content > h2,
.trp-faq > h2,
.trp-specs > h2 {
  position: relative;
  padding-bottom: 0.72rem;
}

.trp-intro > h2::after,
.trp-section__content > h2::after,
.trp-faq > h2::after,
.trp-specs > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 3px;
  background: var(--trp-orange);
}


/* ==========================================================
   INTRO
   ========================================================== */

.trp-intro {
  margin: 0 0 1.8rem;
  padding: 0 0 1.8rem;
  border-bottom: 1px solid var(--trp-border);
}

.trp-intro__lead {
  max-width: 980px;
  margin: 0;
  color: var(--trp-text);
  font-size: 1.04rem;
  line-height: 1.72;
}


/* ==========================================================
   HIGHLIGHTS
   ========================================================== */

.trp-highlights {
  margin: 1.8rem 0 2.4rem;
  padding: 1rem;
  border: 1px solid var(--trp-border);
  border-top: 4px solid var(--trp-orange);
  background: var(--trp-warm-100);
}

.trp-highlights > h2 {
  margin: 0 0 1.1rem;
  color: var(--trp-black);
  font-size: 1.28rem;
}

.trp-highlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.trp-highlight {
  min-width: 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--trp-border);
  background: var(--trp-white);
}

.trp-highlight__label {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--trp-muted);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
}

.trp-highlight__value {
  display: block;
  color: var(--trp-black);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}


/* ==========================================================
   CONTENT SECTIONS
   ========================================================== */

.trp-section {
  margin: 0;
  padding: 2.2rem 0;
  border-top: 1px solid var(--trp-border);
}

.trp-section__content,
.trp-section__media {
  min-width: 0;
}

.trp-section__media {
  margin-top: 1.4rem;
}


/* ==========================================================
   FEATURE LIST
   ========================================================== */

.trp-feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.58rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.trp-feature-list li {
  position: relative;
  min-width: 0;
  margin: 0;
  padding-left: 1.55rem;
}

.trp-feature-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transform: translateY(-50%);
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--trp-orange);
}


/* ==========================================================
   IMAGE GRID
   ========================================================== */

.trp-media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.trp-figure {
  min-width: 0;
  margin: 0;
}

.trp-figure--wide {
  grid-column: 1 / -1;
}

.trp-image-link {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--trp-border);
  background: var(--trp-white);
  cursor: zoom-in;
}

.trp-image-link::after {
  content: "+";
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(198, 83, 23, 0.93);
  font-size: 21px;
  font-weight: 300;
  line-height: 1;
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
  pointer-events: none;
}

.trp-image-link:hover::after,
.trp-image-link:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.trp-image-link:focus-visible {
  outline: 3px solid rgba(198, 83, 23, 0.28);
  outline-offset: 2px;
}

.trp-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  background: var(--trp-white);
  object-fit: contain;
  transition: transform 0.25s ease;
}

.trp-image-link:hover .trp-image {
  transform: scale(1.012);
}

.trp-caption {
  margin: 0;
  padding: 0.62rem 0.1rem 0;
  color: var(--trp-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}


/* ==========================================================
   INFORMATION NOTE
   ========================================================== */

.trp-note {
  margin: 1.4rem 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--trp-orange);
  background: var(--trp-orange-soft);
}

.trp-note strong {
  margin-right: 0.2rem;
}


/* ==========================================================
   FAQ
   ========================================================== */

.trp-faq {
  margin: 0;
  padding: 2.3rem 0;
  border-top: 1px solid var(--trp-border);
}

.trp-faq__item {
  margin: 0;
  border-bottom: 1px solid var(--trp-border);
}

.trp-faq__item:first-of-type {
  border-top: 1px solid var(--trp-border);
}

.trp-faq__item summary {
  position: relative;
  padding: 1rem 2.6rem 1rem 0;
  color: var(--trp-black);
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.trp-faq__item summary::-webkit-details-marker {
  display: none;
}

.trp-faq__item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0.3rem;
  transform: translateY(-50%);
  color: var(--trp-orange);
  font-size: 1.55rem;
  font-weight: 300;
  line-height: 1;
}

.trp-faq__item[open] summary::after {
  content: "−";
}

.trp-faq__answer {
  padding: 0 0 1rem;
}


/* ==========================================================
   TECHNICAL SPECIFICATIONS
   ========================================================== */

.trp-specs {
  margin-top: 2.8rem;
  padding: 2rem 0 0;
  border-top: 4px solid var(--trp-orange);
  background: var(--trp-white);
}

.trp-specs > h2 {
  margin: 0 0 1.6rem;
}

.trp-spec-group {
  margin: 0 0 1.25rem;
  overflow: hidden;
  border: 1px solid var(--trp-border);
  border-radius: 4px;
  background: var(--trp-white);
}

.trp-spec-group:last-child {
  margin-bottom: 0;
}

.trp-spec-group > h3 {
  margin: 0;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--trp-border);
  color: var(--trp-black);
  background: var(--trp-warm-100);
  font-size: 1rem;
  font-weight: 700;
}


/* ==========================================================
   TECHNICAL TABLE WRAPPER
   ========================================================== */

.trp-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  background: var(--trp-white);
  -webkit-overflow-scrolling: touch;
}


/* ==========================================================
   PROPERTY / VALUE TABLE
   Mobile: stacked rows
   ========================================================== */

.trp-product .trp-spec-table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  border-spacing: 0;
  background: var(--trp-white) !important;
}

.trp-product .trp-spec-table tbody,
.trp-product .trp-spec-table tr {
  background: transparent !important;
}

.trp-product .trp-spec-table tr {
  display: block;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--trp-border);
}

.trp-product .trp-spec-table tr:last-child {
  border-bottom: 0;
}

.trp-product .trp-spec-table th,
.trp-product .trp-spec-table td {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.9rem;
  border: 0 !important;
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.trp-product .trp-spec-table th {
  padding-bottom: 0.3rem;
  color: var(--trp-black) !important;
  background: var(--trp-warm-100) !important;
  font-weight: 600;
}

.trp-product .trp-spec-table td {
  padding-top: 0.45rem;
  color: var(--trp-text) !important;
  background: var(--trp-white) !important;
}


/* ==========================================================
   MULTI-COLUMN DATA TABLE
   ========================================================== */

.trp-product .trp-data-table {
  width: 100%;
  min-width: 560px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  border-spacing: 0;
  background: var(--trp-white) !important;
}

.trp-product .trp-data-table th,
.trp-product .trp-data-table td {
  padding: 0.72rem 0.85rem;
  border: 0 !important;
  border-right: 1px solid var(--trp-border) !important;
  border-bottom: 1px solid var(--trp-border) !important;
  text-align: left;
  vertical-align: top;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.trp-product .trp-data-table th:last-child,
.trp-product .trp-data-table td:last-child {
  border-right: 0 !important;
}

.trp-product .trp-data-table thead tr,
.trp-product .trp-data-table thead th {
  color: #ffffff !important;
  background: #2b2b2b !important;
}

.trp-product .trp-data-table thead th {
  font-weight: 600;
}

.trp-product .trp-data-table tbody tr {
  background: var(--trp-white) !important;
}

.trp-product .trp-data-table tbody td,
.trp-product .trp-data-table tbody th {
  color: var(--trp-text) !important;
  background: var(--trp-white) !important;
}

.trp-product .trp-data-table tbody tr:nth-child(even) td,
.trp-product .trp-data-table tbody tr:nth-child(even) th {
  background: var(--trp-warm-50) !important;
}

.trp-product .trp-data-table tbody tr:last-child td,
.trp-product .trp-data-table tbody tr:last-child th {
  border-bottom: 0 !important;
}


/* ==========================================================
   TECHNICAL FEATURE LIST
   ========================================================== */

.trp-spec-list {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  background: var(--trp-white);
  list-style: none;
}

.trp-spec-list li {
  position: relative;
  margin: 0;
  padding: 0.72rem 0.9rem 0.72rem 1.8rem;
  border-bottom: 1px solid var(--trp-border);
  background: var(--trp-white);
}

.trp-spec-list li:last-child {
  border-bottom: 0;
}

.trp-spec-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0.85rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--trp-orange);
}


/* ==========================================================
   LIGHTBOX
   Existing JS creates this structure
   ========================================================== */

.trp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.trp-lightbox.is-open {
  display: flex;
}

.trp-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
}

.trp-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1500px;
  max-height: calc(100vh - 28px);
  outline: 0;
}

.trp-lightbox__stage {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-height: 0;
  touch-action: none;
}

.trp-lightbox__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  background: #ffffff;
}

.trp-lightbox__close,
.trp-lightbox__prev,
.trp-lightbox__next {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.64);
  cursor: pointer;
}

.trp-lightbox__close:hover,
.trp-lightbox__prev:hover,
.trp-lightbox__next:hover {
  background: var(--trp-orange);
}

.trp-lightbox__close:focus-visible,
.trp-lightbox__prev:focus-visible,
.trp-lightbox__next:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

.trp-lightbox__close {
  top: 8px;
  right: 8px;
  width: 42px;
  height: 42px;
  font-size: 29px;
  font-weight: 300;
  line-height: 1;
}

.trp-lightbox__prev,
.trp-lightbox__next {
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  font-size: 27px;
}

.trp-lightbox__prev {
  left: 8px;
}

.trp-lightbox__next {
  right: 8px;
}

.trp-lightbox__caption {
  flex: 0 0 auto;
  max-width: 900px;
  margin: 8px auto 0;
  padding: 0 12px;
  color: #ffffff;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.45;
}

.trp-lightbox__counter {
  position: absolute;
  z-index: 3;
  top: 13px;
  left: 13px;
  padding: 4px 8px;
  border-radius: 3px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.64);
  font-size: 0.78rem;
}

html.trp-lightbox-open,
body.trp-lightbox-open {
  overflow: hidden;
}


/* ==========================================================
   420 PX+
   ========================================================== */

@media (min-width: 420px) {
  .trp-highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ==========================================================
   600 PX+
   ========================================================== */

@media (min-width: 600px) {
  .trp-highlights {
    padding: 1.25rem;
  }

  .trp-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trp-feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
  }

  .trp-product .trp-spec-table tr {
    display: table-row;
    border-bottom: 0;
  }

  .trp-product .trp-spec-table th,
  .trp-product .trp-spec-table td {
    display: table-cell;
    width: auto;
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid var(--trp-border) !important;
  }

  .trp-product .trp-spec-table th {
    width: 42%;
    border-right: 1px solid var(--trp-border) !important;
    background: var(--trp-warm-100) !important;
  }

  .trp-product .trp-spec-table td {
    background: var(--trp-white) !important;
  }

  .trp-product .trp-spec-table tr:last-child th,
  .trp-product .trp-spec-table tr:last-child td {
    border-bottom: 0 !important;
  }

  .trp-spec-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trp-spec-list li:nth-child(odd) {
    border-right: 1px solid var(--trp-border);
  }

  .trp-lightbox {
    padding: 30px;
  }

  .trp-lightbox__dialog {
    max-height: calc(100vh - 60px);
  }

  .trp-lightbox__image {
    max-height: calc(100vh - 145px);
  }

  .trp-lightbox__prev,
  .trp-lightbox__next {
    width: 50px;
    height: 50px;
  }

  .trp-lightbox__prev {
    left: 18px;
  }

  .trp-lightbox__next {
    right: 18px;
  }
}


/* ==========================================================
   860 PX+
   ========================================================== */

@media (min-width: 860px) {
  .trp-intro {
    margin-bottom: 2.3rem;
    padding-bottom: 2rem;
  }

  .trp-intro__lead {
    font-size: 1.08rem;
  }

  .trp-highlights {
    margin: 2rem 0 2.7rem;
    padding: 1.4rem;
  }

  .trp-highlight-grid {
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 0.85rem;
  }

  .trp-section {
    padding: 3rem 0;
  }

  .trp-section--media {
    display: grid;
    grid-template-columns:
      minmax(0, 1fr)
      minmax(350px, 0.95fr);
    gap: 3rem;
    align-items: center;
  }

  .trp-section--media .trp-section__media {
    margin-top: 0;
  }

  .trp-section--media.trp-section--reverse {
    grid-template-columns:
      minmax(350px, 0.95fr)
      minmax(0, 1fr);
  }

  .trp-section--media.trp-section--reverse .trp-section__content {
    grid-column: 2;
    grid-row: 1;
  }

  .trp-section--media.trp-section--reverse .trp-section__media {
    grid-column: 1;
    grid-row: 1;
  }

  .trp-specs {
    margin-top: 3rem;
    padding-top: 2.2rem;
  }

  .trp-spec-group {
    margin-bottom: 1.45rem;
  }

  .trp-spec-group > h3 {
    padding: 0.85rem 1rem;
  }
}


/* ==========================================================
   1200 PX+
   ========================================================== */

@media (min-width: 1200px) {
  .trp-section--media {
    gap: 4rem;
  }

  .trp-product h2 {
    font-size: 1.85rem;
  }

  .trp-highlight__value {
    font-size: 1.18rem;
  }
}


/* ==========================================================
   TOUCH
   ========================================================== */

@media (hover: none) {
  .trp-image-link::after {
    opacity: 0.9;
    transform: scale(1);
  }

  .trp-image-link:hover .trp-image {
    transform: none;
  }
}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
  .trp-image,
  .trp-image-link::after {
    transition: none;
  }
}



/* ==========================================================
   VISUAL ALIGNMENT WITH THE OTHER PRODUCT DESCRIPTIONS
   Same TRP markup/classes; Kodintuotteet.fi orange accent.
   ========================================================== */

/* Typography follows the same restrained hierarchy used by the
   other product-description stylesheet. */
.trp-product h2 {
  margin-bottom: 18px;
  color: var(--trp-black);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.trp-product h3 {
  margin-bottom: 12px;
  color: var(--trp-black);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.005em;
}

.trp-product p {
  margin-bottom: 16px;
  text-wrap: pretty;
}

/* Remove the short orange underline used by the first TRP version.
   The orange is now concentrated in cards, controls and technical
   headings for a calmer overall appearance. */
.trp-intro > h2,
.trp-section__content > h2,
.trp-faq > h2,
.trp-specs > h2 {
  padding-bottom: 0;
}

.trp-intro > h2::after,
.trp-section__content > h2::after,
.trp-faq > h2::after,
.trp-specs > h2::after {
  content: none;
}


/* ----------------------------------------------------------
   Shared card language
   ---------------------------------------------------------- */

.trp-intro,
.trp-highlights,
.trp-section,
.trp-faq,
.trp-specs {
  border: 1px solid var(--trp-border);
  border-radius: var(--trp-radius-lg);
  background: var(--trp-white);
  box-shadow: var(--trp-shadow);
}

.trp-intro {
  margin: 0 0 26px;
  padding: clamp(24px, 18px + 2.4vw, 48px);
  border-bottom: 1px solid var(--trp-border);
}

.trp-intro__lead {
  max-width: 980px;
  color: #23302a;
  font-size: clamp(1rem, 0.97rem + 0.25vw, 1.13rem);
}

.trp-highlights {
  margin: 0 0 34px;
  padding: clamp(20px, 14px + 2.2vw, 36px);
  border-top: 1px solid var(--trp-border);
  background: var(--trp-white);
}

.trp-highlights > h2 {
  margin-bottom: 28px;
  color: var(--trp-black);
  font-size: 1.5rem;
}

.trp-highlight-grid {
  gap: 12px;
}

.trp-highlight {
  position: relative;
  display: flex;
  min-height: 108px;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 14px 18px;
  border: 1px solid var(--trp-border);
  border-radius: var(--trp-radius);
  background: var(--trp-white);
  box-shadow: var(--trp-shadow-sm);
  text-align: center;
  transition:
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}


.trp-highlight:hover {
  transform: none;
  border-color: var(--trp-border-strong);
  background: var(--trp-orange-softer);
  box-shadow: var(--trp-shadow-sm);
}


.trp-highlight__label {
  order: 2;
  margin: 8px 0 0;
  color: var(--trp-muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.trp-spec-group--accordion > h3 {
  position: relative;
  padding-right: 3.25rem;
  cursor: pointer;
  user-select: none;
}

.trp-spec-group--accordion > h3::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.15rem;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.18s ease;
}

.trp-spec-group--accordion > h3:focus-visible {
  z-index: 1;
  outline: 3px solid var(--trp-orange-light);
  outline-offset: -3px;
}

.trp-spec-group--accordion.is-collapsed > h3 {
  border-bottom: 0;
}

.trp-spec-group--accordion:not(.is-collapsed) > h3::after {
  transform: translateY(-35%) rotate(225deg);
}

.trp-spec-group--accordion.is-collapsed > .trp-spec-group__content {
  display: none;
}

.trp-spec-group__content {
  min-width: 0;
}

.trp-highlight__value {
  order: 1;
  color: var(--trp-orange-dark);
  font-size: clamp(1.18rem, 1.05rem + 0.45vw, 1.45rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.trp-section {
  margin: 0 0 30px;
  padding: clamp(20px, 14px + 2vw, 38px);
  border-top: 1px solid var(--trp-border);
  background: var(--trp-white);
}

.trp-section:last-child {
  margin-bottom: 0;
}

.trp-section__content > :last-child {
  margin-bottom: 0;
}

.trp-section__content p {
  max-width: 62ch;
  color: #2c3830;
}


/* ----------------------------------------------------------
   Feature lists
   ---------------------------------------------------------- */

.trp-feature-list {
  gap: 0;
  margin: 20px 0 0;
}

.trp-feature-list li {
  position: relative;
  min-height: 1.4em;
  margin-bottom: 11px;
  padding-left: 2em;
  color: #2c3830;
}

.trp-feature-list li:last-child {
  margin-bottom: 0;
}

.trp-feature-list li::before {
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  background:
    var(--trp-orange-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6b3c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.8l5.2 5.2L20 6.6'/%3E%3C/svg%3E")
    center / 0.72em auto no-repeat;
  box-shadow: inset 0 0 0 1px rgba(20, 61, 51, 0.22);
}


/* ----------------------------------------------------------
   Product images
   ---------------------------------------------------------- */

.trp-media-grid {
  gap: 12px;
}

.trp-image-link {
  overflow: hidden;
  border: 1px solid var(--trp-border);
  border-radius: var(--trp-radius);
  background: var(--trp-surface);
  box-shadow: var(--trp-shadow-sm);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.trp-image-link:hover,
.trp-image-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--trp-orange-light);
  box-shadow: var(--trp-shadow);
}

.trp-image-link:focus-visible {
  outline: 3px solid rgba(20, 61, 51, 0.28);
  outline-offset: 3px;
}

.trp-image-link::after {
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    rgba(15, 48, 40, 0.90)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.6' cy='10.6' r='6.4'/%3E%3Cpath d='M15.4 15.4L21 21M10.6 7.9v5.4M7.9 10.6h5.4'/%3E%3C/svg%3E")
    center / 18px auto no-repeat;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.24);
  content: "";
}

.trp-image {
  padding: 6px;
  background: var(--trp-white);
}

.trp-image-link:hover .trp-image {
  transform: none;
}

.trp-caption {
  padding: 9px 4px 0;
  color: var(--trp-muted);
  font-size: 0.83rem;
  line-height: 1.45;
}


/* ----------------------------------------------------------
   Notes
   ---------------------------------------------------------- */

.trp-note {
  margin: 20px 0 0;
  padding: 15px 18px;
  border: 1px solid #d8e2dd;
  border-left: 4px solid var(--trp-orange);
  border-radius: var(--trp-radius-sm);
  background: var(--trp-orange-softer);
  box-shadow: var(--trp-shadow-sm);
}


/* ----------------------------------------------------------
   FAQ
   ---------------------------------------------------------- */

.trp-faq {
  margin: 0 0 40px;
  padding: clamp(20px, 14px + 2.2vw, 38px);
  border-top: 1px solid var(--trp-border);
}

.trp-faq > h2 {
  margin-bottom: 24px;
}

.trp-faq__item {
  margin: 0;
  border: 1px solid var(--trp-border);
  border-bottom: 0;
  background: var(--trp-white);
}

.trp-faq__item:first-of-type {
  border-top: 1px solid var(--trp-border);
  border-radius: var(--trp-radius) var(--trp-radius) 0 0;
}

.trp-faq__item:last-of-type {
  border-bottom: 1px solid var(--trp-border);
  border-radius: 0 0 var(--trp-radius) var(--trp-radius);
}

.trp-faq__item:only-of-type {
  border-radius: var(--trp-radius);
}

.trp-faq__item summary {
  padding: 13px 52px 13px 18px;
  color: var(--trp-black);
  font-weight: 650;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.trp-faq__item summary:hover {
  background: var(--trp-orange-softer);
}

.trp-faq__item[open] > summary {
  background: var(--trp-orange-soft);
  color: var(--trp-orange-dark);
}

.trp-faq__item summary::after {
  right: 18px;
  color: var(--trp-orange-dark);
}

.trp-faq__answer {
  padding: 14px 18px 16px;
  border-top: 1px solid var(--trp-border);
  background: var(--trp-white);
}


/* ----------------------------------------------------------
   Technical specifications
   ---------------------------------------------------------- */

.trp-specs {
  margin: 0 0 40px;
  padding: clamp(20px, 14px + 2.2vw, 38px);
  border-top: 1px solid var(--trp-border);
  background: var(--trp-white);
}

.trp-specs > h2 {
  margin-bottom: 24px;
}

.trp-spec-group {
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid var(--trp-border);
  border-radius: var(--trp-radius);
  background: var(--trp-white);
  box-shadow: var(--trp-shadow-sm);
}

.trp-spec-group:last-child {
  margin-bottom: 0;
}

.trp-spec-group > h3 {
  margin: 0;
  padding: 13px 18px;
  border-bottom: 1px solid var(--trp-orange-dark);
  color: var(--trp-white);
  background: linear-gradient(
    180deg,
    var(--trp-orange-mid),
    var(--trp-orange-dark)
  );
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trp-table-wrap {
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--trp-border-dark) transparent;
}


/* Property/value tables use one unified row colour. This avoids the
   mixed left-column/right-column colour treatment of the previous CSS. */
.trp-product .trp-spec-table {
  font-size: 0.96rem;
}

.trp-product .trp-spec-table th,
.trp-product .trp-spec-table td {
  color: var(--trp-text) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--trp-border) !important;
  background: transparent !important;
}

.trp-product .trp-spec-table th {
  color: #2a352d !important;
  font-weight: 600;
}

.trp-product .trp-spec-table td {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.trp-product .trp-spec-table tbody tr:nth-child(odd),
.trp-product .trp-spec-table tbody tr:nth-child(odd) > th,
.trp-product .trp-spec-table tbody tr:nth-child(odd) > td {
  background-color: var(--trp-white) !important;
}

.trp-product .trp-spec-table tbody tr:nth-child(even),
.trp-product .trp-spec-table tbody tr:nth-child(even) > th,
.trp-product .trp-spec-table tbody tr:nth-child(even) > td {
  background-color: var(--trp-orange-softer) !important;
}

.trp-product .trp-spec-table tbody tr {
  transition: background-color 0.15s ease;
}

.trp-product .trp-spec-table tbody tr:hover,
.trp-product .trp-spec-table tbody tr:hover > th,
.trp-product .trp-spec-table tbody tr:hover > td {
  background-color: var(--trp-orange-soft) !important;
}

.trp-product .trp-spec-table tbody tr:last-child > th,
.trp-product .trp-spec-table tbody tr:last-child > td {
  border-bottom: 0 !important;
}


/* Multi-column tables use the same heading and stripe language. */
.trp-product .trp-data-table {
  font-size: 0.96rem;
  background: var(--trp-white) !important;
}

.trp-product .trp-data-table thead tr,
.trp-product .trp-data-table thead th {
  color: var(--trp-white) !important;
  background: linear-gradient(
    180deg,
    var(--trp-orange-mid),
    var(--trp-orange-dark)
  ) !important;
}

.trp-product .trp-data-table thead th {
  padding: 12px 18px;
  border-color: rgba(255, 255, 255, 0.18) !important;
  font-weight: 700;
}

.trp-product .trp-data-table tbody td,
.trp-product .trp-data-table tbody th {
  padding: 12px 18px;
  color: var(--trp-text) !important;
  font-weight: 600;
  background: var(--trp-white) !important;
}

.trp-product .trp-data-table tbody tr:nth-child(even) td,
.trp-product .trp-data-table tbody tr:nth-child(even) th {
  background: var(--trp-orange-softer) !important;
}

.trp-product .trp-data-table tbody tr:hover td,
.trp-product .trp-data-table tbody tr:hover th {
  background: var(--trp-orange-soft) !important;
}


/* Technical feature lists continue the same zebra pattern. */
.trp-spec-list {
  background: var(--trp-white);
}

.trp-spec-list li {
  padding: 12px 18px 12px 2.15rem;
  border-bottom: 1px solid var(--trp-border);
  background: var(--trp-white);
  transition: background-color 0.15s ease;
}

.trp-spec-list li:nth-child(even) {
  background: var(--trp-orange-softer);
}

.trp-spec-list li:hover {
  background: var(--trp-orange-soft);
}

.trp-spec-list li::before {
  top: 50%;
  transform: translateY(-50%);
  left: 1rem;
  background: var(--trp-orange);
}


/* ----------------------------------------------------------
   Lightbox visual alignment
   ---------------------------------------------------------- */

.trp-lightbox__backdrop {
  background: rgba(12, 28, 22, 0.92);
}

.trp-lightbox__image {
  border-radius: var(--trp-radius);
  box-shadow: var(--trp-shadow-lg);
}

.trp-lightbox__close,
.trp-lightbox__prev,
.trp-lightbox__next {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(18, 36, 26, 0.78);
}

.trp-lightbox__close:hover,
.trp-lightbox__prev:hover,
.trp-lightbox__next:hover {
  border-color: var(--trp-orange);
  background: var(--trp-orange);
}


/* ----------------------------------------------------------
   Small-screen refinements
   ---------------------------------------------------------- */

.trp-product .trp-spec-group--accordion > h3 {
  padding-right: 3.25rem;
}

.trp-product .trp-spec-group--accordion.is-collapsed > h3 {
  border-bottom: 0;
}

@media (max-width: 559.98px) {
  .trp-product {
    font-size: 15px;
  }

  .trp-intro,
  .trp-highlights,
  .trp-section,
  .trp-faq,
  .trp-specs {
    border-radius: var(--trp-radius);
  }

  .trp-highlight {
    min-height: 102px;
    padding: 16px 10px 14px;
  }

  .trp-product .trp-spec-table th {
    padding: 11px 15px 4px;
  }

  .trp-product .trp-spec-table td {
    padding: 4px 15px 11px;
  }
}

@media (max-width: 599.98px) {
  .trp-table-wrap {
    overflow-x: hidden;
  }

  .trp-product .trp-data-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .trp-product .trp-data-table th,
  .trp-product .trp-data-table td {
    min-width: 0;
    padding: 10px 12px;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .trp-product .trp-data-table th:last-child,
  .trp-product .trp-data-table td:last-child {
    width: 35%;
  }
}

@media (min-width: 600px) {
  .trp-product .trp-spec-table th,
  .trp-product .trp-spec-table td {
    padding: 12px 18px;
  }

  .trp-product .trp-spec-table th {
    width: 38%;
    border-right: 0 !important;
  }
}

@media (min-width: 860px) {
  .trp-section--media {
    gap: clamp(28px, 2.8vw, 52px);
  }
}


/* ==========================================================
   PRINT
   ========================================================== */

@media print {
  .trp-product {
    color: #000000;
  }

  .trp-image-link::after,
  .trp-lightbox {
    display: none !important;
  }

  .trp-section,
  .trp-spec-group,
  .trp-figure {
    break-inside: avoid;
  }

  .trp-faq__item:not([open]) .trp-faq__answer {
    display: block;
  }

  .trp-table-wrap {
    overflow: visible;
  }

  .trp-spec-group--accordion.is-collapsed > .trp-spec-group__content {
    display: block;
  }

  .trp-spec-group--accordion > h3::after {
    display: none;
  }
}
