.product-detail-page .reference-mast #nav .head-link > a[aria-current] { color: #e60014; }

.detail {
  --pdp-red: #e60014;
  --pdp-ink: #4d4f53;
  --pdp-rule: #dddeda;
  --pdp-gutter: 22px;
  --pdp-sticky: 82px;
  width: 100%;
  padding: 0;
  color: var(--pdp-ink);
  font-size: 16px;
  line-height: 1.625;
}
.detail-hero, .product-nav-inner, .detail-inner {
  width: 100%;
  max-width: 2000px;
  margin-inline: auto;
  padding-inline: var(--pdp-gutter);
}
.detail p { color: inherit; }
.detail .crumb {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 53px;
  margin: 0;
  color: var(--pdp-ink);
  font-size: 16px;
  line-height: 26px;
}
.detail .crumb a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  color: inherit;
}
.detail .crumb a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 2px solid var(--pdp-red);
  border-bottom: 2px solid var(--pdp-red);
  transform: rotate(45deg);
}
.detail .crumb a:hover { color: var(--pdp-red); }
.detail-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 30px;
  padding-bottom: 50px;
}
.detail-heading { min-width: 0; }
.detail .detail-heading h1 {
  margin: 0 0 20px;
  color: var(--pdp-red);
  font-size: 35px;
  line-height: 45px;
  font-weight: 700;
  letter-spacing: normal;
}
.detail-heading .product-kind {
  margin: 0 0 25px;
  font-size: 22px;
  font-weight: 300;
  line-height: 32px;
}
.product-points { margin: 0; padding: 0; list-style: none; }
.product-points li { position: relative; padding-left: 27px; line-height: 26px; }
.product-points li + li { margin-top: 15px; }
.product-points li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 11px;
  width: 5px;
  height: 5px;
  background: var(--pdp-red);
}
.product-gallery {
  width: calc(86% - 1px);
  min-width: 0;
  margin-left: auto;
  margin-right: calc(-1 * var(--pdp-gutter));
}
.open-photo, .gallery-item { cursor: zoom-in; }
.open-photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f6f6f6;
}
#active-photo, .photo-grid img, .product-gallery .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.photo-number { display: none; }
.open-photo .photo-expand {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 3px 8px;
  background: #fff;
  color: var(--pdp-ink);
  font-size: 13px;
  opacity: 0;
}
.open-photo:is(:hover, :focus-visible) .photo-expand { opacity: 1; }
.product-gallery .thumbs {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 20px;
  margin-top: 30px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.product-gallery .thumb {
  flex: 0 0 calc((100% - 60px) / 4);
  width: auto;
  height: auto;
  min-width: 50px;
  min-height: 44px;
  margin: 0;
  padding: 0 0 15px;
  border: none;
  border-bottom: 2px solid transparent;
  background: white;
  scroll-snap-align: start;
}
.product-gallery .thumb img { aspect-ratio: 3 / 2; height: auto; background: #f6f6f6; }
.product-gallery .thumb:hover { border-color: #b8b8b8; }
.product-gallery .thumb[aria-pressed="true"] { border-bottom-color: var(--pdp-red); }
.product-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  width: 100%;
  background: #fff;
  box-shadow: 10px 10px 25px rgba(0,0,0,.2);
}
.product-nav-inner {
  display: flex;
  align-items: center;
  min-height: var(--pdp-sticky);
}
.nav-model {
  position: relative;
  flex-shrink: 0;
  padding-right: 45px;
  border: 0;
  background: transparent;
  color: var(--pdp-red);
  font-size: 22px;
  font-weight: 600;
  line-height: 32px;
  white-space: nowrap;
}
.nav-model::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  height: 20px;
  border-right: 1px solid var(--pdp-rule);
  transform: translateY(-50%);
}
.section-track {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 30px;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}
.section-track::-webkit-scrollbar { display: none; }
.section-track a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
  color: var(--pdp-ink);
  white-space: nowrap;
  line-height: 26px;
}
.section-track a:is([aria-current="location"], [aria-current="true"], .active, :hover) { color: var(--pdp-red); }
.section-track .mobile-enquire { display: none; }
.detail .nav-enquire, .enquiry .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 58px;
  padding: 14px 21px;
  border: 0;
  border-radius: 0;
  background: var(--pdp-red);
  color: white;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  text-align: center;
}
.detail .nav-enquire { margin: 0 15px 0 27px; }
.detail .nav-enquire:hover, .enquiry .button:hover { background: #ba0010; }

.detail-inner { padding-bottom: 80px; }
.detail-inner > section {
  margin: 0;
  padding: 50px 0;
  scroll-margin-top: calc(var(--pdp-sticky) + 12px);
}
.detail-inner #features { padding-top: 48px; scroll-margin-top: var(--pdp-sticky); }
.detail-inner > section + section { border-top: 1px solid var(--pdp-rule); }
.detail-inner h2 {
  margin: 0 0 24px;
  color: var(--pdp-ink);
  font-size: 30px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: normal;
}
.detail-inner .model-description { max-width: 1050px; margin: 0; line-height: 26px; }
.model-facts { max-width: 690px; margin: 28px 0 0; }
.model-facts > div {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(0, 2fr);
  gap: 15px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--pdp-rule);
}
.model-facts > div:nth-child(odd) { background: #f5f5f5; }
.model-facts dt { font-weight: 600; }
.model-facts a:hover, .detail .source-product:hover { color: var(--pdp-red); text-decoration: underline; }
.download-list { display: flex; flex-wrap: wrap; gap: 25px; }
.download-card {
  display: inline-flex;
  align-items: flex-start;
  gap: 25px;
  max-width: 100%;
  min-height: 56px;
  color: var(--pdp-ink);
}
.download-icon {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--pdp-red);
  color: white;
  font-size: 13px;
  font-weight: 700;
}
.download-icon { font-size: 25px; line-height: 1; }
.download-card strong, .download-card small { display: block; }
.download-card strong { line-height: 1.4; font-weight: 600; }
.download-card small { color: #626467; font-size: 14px; }
.download-card:hover strong { color: var(--pdp-red); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.gallery-item, .related-grid a { display: block; min-width: 0; }
.photo-grid img, .related-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  background: #f6f6f6;
  object-fit: contain;
}
.gallery-item > span, .related-grid a > span { display: block; padding-top: 9px; }
.gallery-item:hover > span, .related-grid a:hover strong { color: var(--pdp-red); }
.detail .model-demo video { width: min(850px, 100%); aspect-ratio: 16 / 9; background: #262626; }
.detail-inner .enquiry { padding-block: 60px; }
.enquiry p { margin: 0 auto 23px; }
.enquiry .source-product { display: block; width: fit-content; margin: 16px auto 0; text-decoration: underline; text-underline-offset: 3px; }
.related-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 5px 20px; margin-bottom: 22px; }
.related-heading h2 { margin: 0; }
.related-heading > a { color: var(--pdp-ink); text-decoration: underline; text-underline-offset: 3px; }
.related-heading > a:hover { color: var(--pdp-red); }
.related-grid small, .related-grid strong { display: block; }
.related-grid small { font-size: 14px; }
.related-grid strong { color: var(--pdp-ink); font-size: 21px; font-weight: 600; }
.model .card-detail { display: inline-block; margin-top: 6px; color: #ae0016; font-size: 14px; font-weight: 600; }
.model:hover .card-detail { text-decoration: underline; text-underline-offset: 3px; }

#downloads > h2, #gallery > h2, .detail-inner .enquiry > h2 {
  margin-bottom: 55px;
  text-align: center;
}
.gallery-stage { position: relative; container-type: inline-size; }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 30px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.photo-grid::-webkit-scrollbar { display: none; }
.gallery-item { scroll-snap-align: start; }
.gallery-controls { display: none; }
.gallery-controls [data-gallery-step] {
  position: absolute;
  top: calc((100cqw - 60px) / 9);
  display: grid;
  place-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  background: rgb(255 255 255 / 92%);
  color: var(--pdp-red);
  font-size: 0;
  transform: translateY(-50%);
}
.gallery-controls [data-gallery-step="-1"] { left: 0; }
.gallery-controls [data-gallery-step="1"] { right: 0; }
.gallery-controls [data-gallery-step]::after {
  content: "";
  width: 14px;
  height: 14px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}
.gallery-controls [data-gallery-step="-1"]::after { transform: rotate(-135deg); }
.gallery-controls [data-gallery-step]:is(:hover, :focus-visible) { background: white; color: #a0000e; }
.gallery-controls [data-gallery-step]:disabled { opacity: .35; cursor: default; }
.gallery-position {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.gallery-dots { display: flex; justify-content: center; gap: 1px; }
.gallery-dots button {
  display: grid;
  place-content: center;
  width: 28px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
}
.gallery-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #c6c7c5; }
.gallery-dots button:is([aria-current="true"], [aria-pressed="true"], .active)::before { background: var(--pdp-red); }
.contact-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 30px; }
.contact-details p, .enquiry-form p { margin: 0 0 16px; }
.contact-details .source-product { margin: 18px 0 0; }
.contact-details h3 { margin: 0 0 14px; font-size: 22px; font-weight: 600; letter-spacing: normal; }
.contact-details address { margin-bottom: 20px; font-style: normal; }
.contact-details > a { display: block; width: fit-content; margin-block: 5px; }
.contact-details a:hover { color: var(--pdp-red); }
.contact-details .source-product { margin-top: 17px; }
.contact-details img { max-width: 100%; height: auto; }
.enquiry-form { display: grid; gap: 8px; }
.enquiry-form > :is(input, textarea) + label { margin-top: 9px; }
.enquiry-form label { display: grid; gap: 5px; font-size: 15px; font-weight: 500; }
.enquiry-form input, .enquiry-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 0;
  background: #f3f3f3;
  color: #36383a;
  font: inherit;
}
.enquiry-form textarea { min-height: 200px; resize: vertical; }
.enquiry-form input:hover, .enquiry-form textarea:hover { border-color: #c6c7c6; }
.enquiry-form button { justify-self: start; margin-top: 13px; }
#photo-viewer {
  position: fixed;
  inset: 0;
  width: min(72vw, 1450px);
  height: fit-content;
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  overflow: visible;
  background: white;
  color: #4d4f53;
}
#photo-viewer:not([open]) { display: none; }
#photo-viewer::backdrop { background: rgb(16 17 18 / 82%); }
.viewer-shell { display: grid; grid-template-columns: 1fr auto; align-items: center; }
#viewer-photo {
  grid-area: 1 / 1 / auto / -1;
  width: 100%;
  height: min(64dvh, 48vw);
  object-fit: contain;
  background: white;
}
.viewer-heading, .viewer-controls {
  grid-row: 2;
  padding: 18px 25px;
  border-top: 1px solid #dadbd9;
  background: white;
  font-size: 15px;
  line-height: 24px;
}
.viewer-heading { grid-column: 1; }
.viewer-heading strong { font-weight: 400; }
.viewer-controls { grid-column: 2; }
.viewer-counter { white-space: nowrap; font-variant-numeric: tabular-nums; }
#photo-viewer button {
  position: fixed;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  background: var(--pdp-red);
  color: white;
  font-size: 0;
}
#photo-viewer button:is(:hover, :focus-visible) { background: #be0011; }
#photo-viewer [data-close-photo] { top: 0; right: 0; }
#photo-viewer [data-close-photo]::after { content: "×"; font-size: 28px; font-weight: 300; }
#photo-viewer [data-step] { top: 50%; transform: translateY(-50%); }
#photo-viewer [data-step="-1"] { left: 0; }
#photo-viewer [data-step="1"] { right: 0; }
#photo-viewer [data-step]::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid white;
  border-top: 2px solid white;
  transform: rotate(45deg);
}
#photo-viewer [data-step="-1"]::after { transform: rotate(-135deg); }
.detail :focus-visible, #photo-viewer :focus-visible { outline: 2px solid #a60010; outline-offset: -2px; }
#photo-viewer button:focus-visible { outline-color: white; }

@media (max-width: 1199px) {
  .detail { --pdp-sticky: 52px; }
  .detail .nav-enquire { display: none; }
  .section-track .mobile-enquire { display: inline-flex; }
}
@media (max-width: 991px) {
  .detail .crumb { min-height: 40px; }
  .detail-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; padding-bottom: 30px; }
  .detail .detail-heading h1 { margin-bottom: 15px; font-size: 32px; line-height: 42px; }
  .detail-heading .product-kind { font-size: 19px; line-height: 28px; }
  .product-gallery { width: 100%; margin: 0; }
  .nav-model { display: none; }
  .detail-inner #features { padding-top: 78px; }
  .product-nav-inner { padding-right: 0; }
  .section-track { padding-right: var(--pdp-gutter); }
}
@media (max-width: 767px) {
  .photo-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 100%; gap: 12px; scroll-padding-inline: 6px; padding-inline: 6px; }
  .gallery-controls { display: flex; justify-content: center; align-items: center; min-height: 44px; }
  .gallery-controls [data-gallery-step] { top: calc((100cqw - 12px) / 3); }
  .gallery-controls [data-gallery-step="-1"] { left: 6px; }
  .gallery-controls [data-gallery-step="1"] { right: 6px; }
}
@media (max-width: 575px) {
  .detail { line-height: 1.5; }
  .detail .detail-heading h1 { font-size: 28px; line-height: 38px; }
  .detail-heading .product-kind { font-size: 16px; line-height: 24px; }
  .product-gallery .thumbs { gap: 14px; margin-top: 30px; }
  .product-gallery .thumb { flex-basis: calc((100% - 14px) / 2); padding-bottom: 13px; }
  .detail-inner { padding-bottom: 32px; }
  .detail-inner > section { padding: 38px 0; }
  .detail-inner .model-description { line-height: 24px; }
  .detail-inner h2 { font-size: 24px; }
  .detail-inner .enquiry { padding-block: 45px; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .gallery-item > span, .related-grid small { font-size: 14px; }
  .related-grid strong { font-size: 18px; }
  .related-heading { display: block; }
  .related-heading a { display: inline-block; margin-top: 8px; }
  #downloads > h2, #gallery > h2, .detail-inner .enquiry > h2 { margin-bottom: 30px; }
  .contact-columns { grid-template-columns: 1fr; gap: 32px; }
  .enquiry-form { grid-row: 1; }
  #photo-viewer { width: 100%; }
  #viewer-photo { height: min(60dvh, 68vw); }
  #photo-viewer button { width: 44px; height: 44px; }
  .viewer-heading, .viewer-controls { padding: 14px; }
}
