.product-detail {
  --product-paper: #f2f7f8;
  --product-line: #d9e6eb;
  --product-ink: #0b3142;
  --product-teal: #086f84;
  --product-nav-height: 55px;
  color: var(--product-ink);
}

.product-breadcrumb {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin-block: 18px 26px;
  color: var(--muted);
  font-size: 13px;
}
.product-breadcrumb a:hover { color: var(--product-teal); text-decoration: underline; }
.product-breadcrumb [aria-current] { color: var(--product-ink); }

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-areas: 'media title' 'media summary';
  grid-template-rows: auto 1fr;
  gap: 18px clamp(24px, 4.2vw, 64px);
  align-items: start;
  padding-bottom: clamp(22px, 3vw, 42px);
}
.product-hero--text {
  grid-template-columns: minmax(0, 760px);
  grid-template-areas: 'title' 'summary';
  grid-template-rows: auto;
}
.product-hero__title { grid-area: title; padding-top: 5px; }
.product-hero__category { color: var(--product-teal); font-size: 14px; font-weight: 750; }
.product-hero__category:hover { text-decoration: underline; }
.product-hero h1 { margin: 6px 0 10px; font-size: clamp(30px, 3.4vw, 51px); line-height: 1.18; letter-spacing: -.035em; }
.product-hero__title p { color: var(--muted); font-size: clamp(15px, 1.35vw, 17px); }
.product-hero__summary { grid-area: summary; min-width: 0; }
.product-facts {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  border: 1px solid var(--product-line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--product-paper);
}
.product-facts div { min-width: 0; padding: 12px 16px; }
.product-facts div:nth-child(odd) { border-inline-end: 1px solid var(--product-line); }
.product-facts div:nth-child(n + 3) { border-block-start: 1px solid var(--product-line); }
.product-facts dt { color: var(--muted); font-size: 13px; }
.product-facts dd { margin: 2px 0 0; font-size: clamp(16px, 1.65vw, 24px); line-height: 1.4; font-weight: 750; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.product-hero__summary > .product-note { margin-top: 8px; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 16px; }
.product-actions .btn { white-space: nowrap; }
.product-note { color: var(--muted); font-size: 13px; line-height: 1.5; }

.product-gallery { grid-area: media; min-width: 0; }
.product-gallery figure { margin: 0; }
.product-gallery__stage {
  display: grid;
  position: relative;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  padding: clamp(12px, 2.6vw, 32px);
  overflow: hidden;
  border: 1px solid var(--product-line);
  border-radius: 15px;
  background:
    linear-gradient(90deg, #dbe8ec99 1px, transparent 1px),
    linear-gradient(#dbe8ec99 1px, transparent 1px),
    radial-gradient(ellipse at 50% 45%, #fff 18%, #e9f3f5 100%);
  background-size: 26px 26px, 26px 26px, cover;
}
.product-gallery__stage img { width: 100%; height: 100%; min-height: 0; object-fit: contain; display: block; }
.product-gallery__stage[data-kind="product"] img { mix-blend-mode: multiply; }
.product-gallery__stage[data-kind="drawing"] { background: #fff; }
.product-gallery__stage[data-kind="scene"] { padding: 0; }
.product-gallery__stage[data-kind="scene"] img { object-fit: cover; }
.product-gallery__zoom { position: absolute; bottom: 10px; right: 10px; border: 1px solid var(--product-line); border-radius: 7px; background: #ffffffed; padding: 5px 10px; font-size: 13px; font-weight: 700; }
.product-gallery__stage:hover .product-gallery__zoom { color: var(--product-teal); }
.product-gallery figcaption { margin-top: 7px; }
.product-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.product-gallery__thumbs a { display: inline-flex; gap: 7px; align-items: center; border: 1px solid var(--product-line); padding: 5px 9px; border-radius: 8px; font-size: 13px; font-weight: 650; }
.product-gallery__thumbs img { width: 35px; height: 28px; object-fit: contain; }
.product-gallery__thumbs a:is(:hover,[aria-current]) { border-color: var(--product-teal); color: var(--product-teal); background: var(--product-paper); }

.product-nav { position: sticky; z-index: 6; top: var(--sticky-header-h); border-block: 1px solid var(--product-line); background: #fff; }
.product-nav .wrap { display: flex; gap: clamp(12px, 3vw, 40px); white-space: nowrap; min-height: var(--product-nav-height); overflow-x: auto; }
.product-nav a { display: inline-flex; align-items: center; position: relative; padding-inline: 5px; font-size: 15px; font-weight: 700; }
.product-nav a:is(:hover,[aria-current]) { color: var(--product-teal); }
.product-nav a[aria-current]::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--product-teal); }

.product-section { padding-block: clamp(32px, 5vw, 62px); }
.product-section[id] { scroll-margin-top: var(--product-nav-height); }
.product-section--paper { background: var(--product-paper); }
.product-section h2 { font-size: clamp(24px, 2.7vw, 38px); line-height: 1.2; letter-spacing: -.025em; }
.product-section h3 { font-size: 17px; }
.product-section__head { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; justify-content: space-between; }
.product-section__intro, .product-overview p, .product-support p:not(.product-note) { color: var(--muted); max-width: 75ch; margin-top: 10px; }
.product-overview, .product-support { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 58px); align-items: start; }
.product-overview__description { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.9; }
.product-applications {
  padding: 18px 22px;
  border: 1px solid var(--product-line);
  border-radius: 12px;
  background: var(--product-paper);
}
.product-applications > div + div { margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--product-line); }
.product-applications p { margin-top: 4px; font-size: 14px; }
.product-support .product-note { margin-top: 10px; }
.product-questions h3 { margin-bottom: 10px; }
.product-questions details { background: #fff; border-radius: 8px; margin-bottom: 8px; border: 1px solid var(--product-line); padding: 10px 14px; }
.product-questions summary { cursor: pointer; font-weight: 680; }
.product-overview > :only-child, .product-support > :only-child { grid-column: 1 / -1; }

.product-table { margin-top: 22px; }
.product-table__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--product-line);
  border-radius: 12px 12px 0 0;
  background: #fff;
}
.product-table__tools[hidden] { display: none; }
.product-table__tools label { font-weight: 750; font-size: 14px; }
.product-table__tools input { border: 1px solid #b4cad3; border-radius: 8px; background: #fff; padding: 8px 10px; width: min(100%, 230px); font: inherit; }
.product-table__tools [role="status"] { font-size: 13px; color: var(--muted); }
.product-table__hint { display: none; }
.product-table__scroll { overflow: auto; border: 1px solid var(--product-line); border-radius: 12px; background: #fff; }
.product-table__tools:not([hidden]) ~ .product-table__scroll { border-top: 0; border-radius: 0 0 12px 12px; }
.product-table__scroll--tall { max-height: 455px; }
.product-table table { width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; font-variant-numeric: tabular-nums; }
.product-table caption { text-align: left; padding: 12px 15px; font-weight: 750; background: #fff; }
.product-table th, .product-table td { padding: 10px 15px; border-block-start: 1px solid var(--product-line); font-size: 14px; }
.product-table thead th { position: sticky; top: 0; background: #e7f2f5; font-weight: 750; z-index: 1; }
.product-table tbody th { font-weight: 680; }
.product-table tbody td { color: #415d6a; }
.product-table tbody tr:nth-child(even) { background: #f7fafb; }
.product-table__scroll--wide th, .product-table__scroll--wide td { white-space: nowrap; }
.product-table__scroll--wide tr > :first-child { position: sticky; left: 0; }
.product-table__scroll--wide thead th:first-child { z-index: 2; }
.product-table__scroll--wide tbody th { background: #fff; z-index: 1; }
.product-table__scroll--wide tbody tr:nth-child(even) th { background: #f7fafb; }
.product-table .product-note { margin-top: 8px; }
.product-table__empty { margin-top: 8px; color: var(--muted); font-size: 14px; }

.product-samples__heading { margin-top: 24px; }
.product-samples { display: grid; gap: 8px; margin-top: 13px; }
#documents .product-samples { margin-top: 20px; }
.product-sample {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--product-line);
  border-radius: 10px;
  background: #fff;
}
.product-sample summary,
.product-downloads summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  font-weight: 720;
  cursor: pointer;
  list-style: none;
}
.product-sample summary::-webkit-details-marker,
.product-downloads summary::-webkit-details-marker { display: none; }
.product-sample summary::after,
.product-downloads summary::after {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-right: 2px solid var(--product-teal);
  border-bottom: 2px solid var(--product-teal);
  transform: rotate(45deg);
}
.product-sample[open] summary::after,
.product-downloads[open] summary::after { transform: rotate(225deg); }
.product-sample summary:hover { background: #f8fbfc; }
.product-sample summary:focus-visible { outline-offset: -4px; }
.product-sample figure { border-top: 1px solid var(--product-line); padding: clamp(10px, 2vw, 22px); }
.product-sample__pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}
.product-sample__pager[hidden] { display: none; }
.product-sample__pager button,
.product-sample__pager select {
  min-height: 35px;
  padding-inline: 8px;
  border: 1px solid var(--product-line);
  border-radius: 6px;
  background: #fff;
  color: var(--product-ink);
  font: inherit;
}
.product-sample__pager button:disabled { opacity: .45; cursor: default; }
.product-sample__pager select { margin-inline-start: 4px; }
.product-sample__image { display: block; position: relative; max-width: 860px; margin-inline: auto; }
.product-sample__image img { width: 100%; height: auto; border: 1px solid var(--product-line); }
.product-sample__image span {
  position: absolute;
  inset: auto 8px 8px auto;
  padding: 4px 9px;
  border: 1px solid var(--product-line);
  border-radius: 6px;
  background: #fffffff5;
  font-size: 13px;
  font-weight: 700;
}
.product-sample figcaption { max-width: 860px; margin: 8px auto 0; }
.product-downloads { margin-top: 18px; }
.product-downloads summary { justify-content: flex-start; padding-inline: 0; color: var(--product-teal); font-size: 14px; }

.product-documents { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; list-style: none; margin-top: 6px; }
.product-documents a { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--product-line); border-radius: 10px; padding: 13px 15px; }
.product-documents a:is(:hover,:focus-visible) { border-color: var(--product-teal); background: var(--product-paper); }
.product-documents strong { display: block; color: var(--product-ink); }
.product-document__format { flex: none; padding: 3px 7px; border-radius: 5px; color: var(--product-teal); background: var(--product-paper); font-size: 12px; font-weight: 750; }
.product-related .grid-3 { margin-top: 19px; }

.product-zoom { inset: 0; margin: auto; position: fixed; padding: 18px; border: 0; border-radius: 14px; width: min(95vw, 1000px); max-height: 93dvh; overflow: auto; background: #fff; color: var(--navy); }
.product-zoom::backdrop { background: #081d2bd4; }
.product-zoom img { display: block; width: 100%; max-height: 77dvh; object-fit: contain; }
.product-zoom figcaption { font-size: 14px; margin-top: 8px; }
.product-zoom__tools { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-bottom: 8px; }
.product-zoom__close, .product-zoom__scale { min-height: 36px; border: 0; border-radius: 8px; background: #edf4f5; color: var(--navy); }
.product-zoom__close { width: 36px; font-size: 25px; line-height: 1; }
.product-zoom__scale { padding-inline: 10px; font-size: 14px; }
.product-zoom__content { max-height: calc(93dvh - 89px); overflow: auto; overscroll-behavior: contain; }
.product-zoom[data-kind="sample"] img { max-height: none; }
.product-zoom[data-expanded="true"] img { width: max(100%, 1250px); max-width: none; }

@media (max-width: 800px) {
  .product-hero { grid-template-columns: minmax(0,1fr); grid-template-areas: 'title' 'media' 'summary'; grid-template-rows: auto; gap: 14px; }
  .product-hero--text { grid-template-areas: 'title' 'summary'; }
  .product-breadcrumb { margin-block: 13px 16px; }
  .product-overview, .product-support { grid-template-columns: minmax(0,1fr); }
  .product-documents { grid-template-columns: minmax(0,1fr); }
  .product-table th, .product-table td { padding-inline: 10px; }
}

@media (max-width: 480px) {
  .product-detail { --product-nav-height: 48px; }
  .product-nav .wrap { gap: 11px; }
  .product-nav a { font-size: 13px; padding-inline: 2px; }
  .product-gallery__stage { border-radius: 11px; }
  .product-gallery__thumbs { gap: 6px; }
  .product-gallery__thumbs img { width: 29px; }
  .product-facts div { padding: 9px 11px; }
  .product-section h2 { font-size: 24px; }
  .product-table__tools input { width: min(100%, 190px); }
  .product-table__hint { display: block; color: var(--muted); font-size: 12px; padding: 5px 10px; }
}
