.product-page { background: #13181d; }
.product-page button { font: inherit; cursor: pointer; }
.product-page [hidden] { display: none !important; }
.product-page :focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 10; padding: 12px; background: var(--orange); color: #020708; }
.skip-link:focus { top: 12px; }
.product-main { max-width: 1480px; margin: 0 auto; padding: 70px 4% 44px; }
.product-heading { margin-bottom: 40px; }
.product-heading h1 { overflow-wrap: anywhere; margin: 0 0 12px; font-family: Racing, Arial, sans-serif; font-weight: 400; font-size: clamp(1.875rem, 3.5vw, 3.25rem); line-height: 1.08; letter-spacing: .01em; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 0; font-size: 1.125rem; color: #bdc5cb; white-space: nowrap; }
.product-meta > span { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.product-meta b { color: #7f8b95; font-size: 0.75rem; }
.panel { background: #151a1f; border: 1px solid #35414b; border-radius: 8px; }
.overview { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "heading manufacturer" "description description"; gap: 14px 20px; align-items: center; padding: 22px 26px; margin-bottom: 28px; container-type: inline-size; }
.overview-copy { grid-area: description; min-width: 0; overflow-wrap: anywhere; }
.manufacturer-link { grid-area: manufacturer; justify-self: end; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 12px 14px; border: 1px solid #c96923; border-radius: 4px; color: #ff9945; white-space: nowrap; text-decoration: none; transform: translate(12px, -8px); }
.manufacturer-link:hover { background: #293139; }
.manufacturer-label { display: flex; align-items: baseline; gap: 5px; text-align: center; }
.manufacturer-label > span, .manufacturer-label strong { font-size: 0.75rem; font-weight: 700; letter-spacing: 0; }
.panel > h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: Racing, Arial, sans-serif; font-weight: 400; font-size: 1.5625rem; }
.panel > h2::before { content: ""; width: 4px; height: 25px; background: var(--orange); border-radius: 2px; flex-shrink: 0; }
.overview > h2 { grid-area: heading; margin: 0; }
.overview p { margin: 0; font-size: 1rem; line-height: 1.75; color: #bec7cf; }
.overview-toggle { grid-area: more; justify-self: start; border: 0; padding: 0; min-height: 44px; color: var(--orange); background: transparent; white-space: nowrap; }
.overview-toggle span { margin-left: 6px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.gallery { min-width: 0; }
.photo-stage { position: relative; border: 1px solid #35414b; border-radius: 8px; overflow: hidden; background: white; }
.hero-photo { display: block; width: 100%; border: 0; padding: 18px; background: white; aspect-ratio: 4 / 3; touch-action: pan-y; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.zoom-mark { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; background: #151a1fea; border: 1px solid #52616b; border-radius: 6px; color: white; font-size: 30px; line-height: 30px; }
.gallery-arrow, .strip-arrow, .viewer-controls button { display: grid; place-items: center; padding: 0; border: 1px solid #495661; background: #151a1fea; color: white; border-radius: 5px; width: 38px; height: 44px; font-size: 31px !important; line-height: 1; }
.gallery-arrow { position: absolute; top: calc(50% - 22px); opacity: 0; transition: opacity 150ms ease; }
.gallery-arrow:disabled { display: none; }
.viewer-controls button:disabled { opacity: .3; cursor: default; }
.photo-previous { left: 12px; }
.photo-next { right: 12px; }
.photo-stage:hover .gallery-arrow, .photo-stage:focus-within .gallery-arrow { opacity: 1; }
.photo-count { position: absolute; bottom: 12px; right: 14px; padding: 6px 11px; border-radius: 4px; color: white; background: #151a1fea; font-size: 0.8125rem; pointer-events: none; }
.thumbnail-controls { display: flex; align-items: center; gap: 9px; margin-top: 14px; min-width: 0; }
.strip-arrow { flex: 0 0 30px; height: 76px; }
.strip-arrow:disabled { opacity: .3; cursor: default; }
@media (min-width: 651px) and (hover: hover) and (pointer: fine) {
  .gallery-arrow:hover:not(:disabled), .strip-arrow:hover:not(:disabled) { color: var(--orange); }
}
.photo-strip { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; min-width: 0; padding: 4px; margin: -4px; }
.photo-strip::-webkit-scrollbar { display: none; }
.photo-thumb { flex: 0 0 100px; height: 76px; padding: 4px; background: white; border: 2px solid #495661; border-radius: 5px; overflow: hidden; outline: none; }
.product-page .photo-thumb:is([aria-pressed="true"], :hover, :focus-visible) { border: 3px solid var(--orange); padding: 3px; }
.product-page .photo-thumb:is([aria-pressed="true"], :focus-visible) { outline: 2px solid var(--orange); outline-offset: 4px; }
.photo-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gallery-note { margin: 12px 0 0; color: #a6b2bc; font-size: 0.8125rem; line-height: 1.5; }
.gallery-note small { display: block; margin-top: 5px; color: #8f9da7; font-size: 0.75rem; }
.swipe-hint { display: none; }
.information { --first-tab-share: 33.333333%; --first-tab-fraction: .33333333; --second-tab-share: 33.333333%; --tab-panel-inset: 22px; --divider-label-gap: 6px; --data-column-gap: calc(var(--divider-label-gap) + var(--tab-panel-inset)); min-width: 0; overflow: hidden; }
.product-tabs { display: grid; grid-template-columns: var(--first-tab-share) var(--second-tab-share) minmax(0, 1fr); border-bottom: 1px solid #35414b; }
.product-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 10px; min-height: 68px; color: #d0d8dd; background: #1b2229; border: 0; border-right: 1px solid #35414b; font-weight: 600; font-size: 15px; line-height: 1.35; -webkit-text-size-adjust: none; text-size-adjust: none; }
.product-tabs button:last-child { border-right: 0; }
.product-tabs button:focus-visible { outline-offset: -3px; }
.product-tabs button[aria-selected="true"] { color: #fff; background: #bd4c00; }
.product-tabs button[aria-selected="false"]:hover { color: #fff; background: #293139; }
/* The active data tab joins the frame around its information. */
.information.data-tab-active { overflow: visible; border: 2px solid var(--orange); border-top-color: #35414b; border-right: 0; }
.information.data-tab-active:has(#tab-model[aria-selected="false"]) { border-left-color: #35414b; }
.data-tab-active .product-tabs { border-bottom: 0; }
.data-tab-active .product-tabs button { border-top: 2px solid transparent; border-bottom: 2px solid var(--orange); }
.data-tab-active .product-tabs button:first-child { border-top-left-radius: 6px; }
.data-tab-active .product-tabs button:last-child { border-top-right-radius: 6px; }
.data-tab-active .product-tabs button[aria-selected="true"] { border-bottom-color: transparent; border-top: 2px solid var(--orange); border-right: 2px solid var(--orange); }
.data-tab-active .product-tabs button:not(:first-child)[aria-selected="true"] { border-left: 2px solid var(--orange); }
.data-tab-active .product-tabs button:last-child[aria-selected="false"] { border-right: 2px solid #35414b; }
/* Keep the content frame visible without relying on overflow-clip-margin,
   which is unavailable in the iPhone WebKit renderer. */
.data-tab-active .detail-panel { --panel-right-edge: 2px; border-right: 2px solid var(--orange); border-bottom-right-radius: 6px; }
.data-tab-active .detail-panel:not(#panel-model) { margin-left: -2px; border-left: 2px solid var(--orange); border-bottom-left-radius: 6px; }
.tab-icon { display: block; width: 22px; height: 22px; flex: 0 0 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tab-label { min-width: 0; overflow-wrap: anywhere; }
.tab-panel { --panel-right-edge: 0px; position: relative; padding: 6px var(--tab-panel-inset) 16px; font-size: .9375rem; container-type: inline-size; }
.data-panels { display: grid; }
.data-panels .tab-panel { grid-area: 1 / 1; }
.data-panels .is-inactive { visibility: hidden; pointer-events: none; }
.tab-panel:focus-visible { outline-offset: -4px; }
.tab-panel dl { margin: 0; }
.data-row { display: grid; grid-template-columns: minmax(0, calc(var(--first-tab-share) + (var(--tab-panel-inset) * 2 + var(--panel-right-edge)) * var(--first-tab-fraction) - var(--tab-panel-inset) - var(--divider-label-gap))) minmax(0, 1fr); gap: var(--data-column-gap); padding: 16px 0; border-bottom: 1px solid #303b44; font-size: inherit; line-height: 1.45; }
.data-divider { position: absolute; top: 10px; bottom: 20px; left: calc(var(--first-tab-share) + var(--panel-right-edge) * var(--first-tab-fraction)); width: 1px; transform: translateX(-.5px); background: linear-gradient(to bottom, transparent, #303b44 7.5px, #303b44 calc(100% - 15px), transparent); pointer-events: none; }
.data-row:last-child { border-bottom: 0; }
.data-row dt, .data-row dd { min-width: 0; overflow-wrap: anywhere; }
.data-row dt { color: #b0bcc5; }
.model-data dt, .spec-data dt { color: #98a5af; }
.data-row dd { margin: 0; color: #eef2f5; }
.data-row dd small, .value-line { display: block; margin-top: 4px; }
.data-row dd small { color: #9daab5; font-size: 0.75rem; }
.data-row a { color: #ff9945; text-decoration: none; }
.data-row a:hover { text-decoration: underline; }
.contents-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin: 16px 0; }
.contents-columns section { min-width: 0; padding-right: 18px; }
.contents-columns section + section { padding: 0 0 0 18px; border-left: 1px solid #35414b; }
.contents-columns h2 { margin: 0 0 16px; font-size: 0.875rem; color: #ff9945; letter-spacing: .04em; }
.contents-columns ul { margin: 0; padding-left: 17px; color: #d1d9df; }
.contents-columns li { padding: 0 0 13px 2px; font-size: 0.875rem; line-height: 1.6; }
.contents-columns li::marker { color: #ff9945; }
.contents-note { border-top: 1px solid #35414b; padding-top: 16px; font-size: 0.75rem; color: #a6b2bc; line-height: 1.6; }
.resources { container-type: inline-size; padding: 24px 26px 8px; margin-top: 28px; }
.resource-list { padding: 0; margin: 0; list-style: none; }
.resource-row { position: relative; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 22px 0 22px 16px; border-top: 1px solid #303b44; }
.resource-row::before { content: "•"; position: absolute; left: 0; top: 24px; color: #ff9945; }
.video-thumb { position: relative; border: 1px solid #43515e; border-radius: 5px; background: #222d36; padding: 0; overflow: hidden; width: 100%; aspect-ratio: 4 / 3; align-self: start; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-mark { position: absolute; display: grid; place-items: center; inset: 0; width: 48px; height: 36px; margin: auto; color: white; background: #bd4c00; border-radius: 6px; font-size: 1.0625rem; }
.resource-kind { margin: 0 0 7px; color: #9daab5; font-size: 0.6875rem; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; }
.resource-copy { min-width: 0; overflow-wrap: anywhere; }
.resource-copy h3 { margin: 0 0 7px; font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
.resource-copy > p:not(.resource-kind) { margin: 0; max-width: 700px; color: #b0bcc5; font-size: 0.875rem; line-height: 1.6; }
.resource-action { display: inline-flex; gap: 16px; align-items: center; min-height: 44px; max-width: 100%; flex-wrap: wrap; padding: 10px 14px; margin-top: 10px; border: 1px solid #c96923; border-radius: 4px; color: #ff9945; background: transparent; font-size: 0.8125rem !important; }
.resource-action:hover { background: #293139; }
.document-thumb { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; aspect-ratio: 4 / 3; color: #8696a3; background: #1d252d; border: 1px solid #35414b; border-radius: 5px; gap: 8px; }
.document-thumb svg { width: 48px; height: 54px; }
.document-thumb span { font-size: 0.625rem; letter-spacing: .12em; }
.document-preview { display: block; overflow: hidden; background: white; }
.document-preview img { display: block; width: 100%; height: 100%; object-fit: contain; }
.document-preview:hover { border-color: var(--orange); }
.resource-status { display: inline-block; font-size: 0.75rem; color: #99a6b1; margin-top: 14px; }
.media-viewer { color: #eef2f5; background: #151a1f; width: min(1000px, 94vw); max-height: 94dvh; padding: 18px; border: 1px solid #495661; border-radius: 8px; }
.media-viewer::backdrop { background: #000c; }
body.viewer-open { overflow: hidden; }
.viewer-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.viewer-header h2 { font-size: 1rem; margin: 0; }
.viewer-close { background: #222d36; color: white; border: 1px solid #495661; border-radius: 4px; width: 44px; height: 44px; font-size: 26px !important; flex-shrink: 0; }
.viewer-image { display: block; width: 100%; max-height: 68dvh; object-fit: contain; background: white; }
.viewer-controls { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 14px; }
.viewer-content iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.viewer-video-link { display: inline-block; color: #ff9945; padding: 16px 0 0; font-size: 0.8125rem; }
@media (min-width: 1001px) {
  .detail-panel { font-size: 1.0625rem; }
  #panel-included { display: flex; flex-direction: column; }
  #panel-included .contents-note { margin: auto 0 0; }
  .contents-columns h2, .contents-columns li, .contents-note { font-size: 1.0625rem; }
}
@media (min-width: 1001px) and (max-width: 1200px) {
  .product-tabs button { flex-direction: column; }
}
@media (max-width: 1000px) {
  .product-main { padding-top: 40px; }
  .product-layout { grid-template-columns: 1fr; gap: 24px; }
  .gallery { width: 100%; }
  .hero-photo { max-height: 580px; }
}
@media (max-width: 650px) {
  .product-main { padding: 36px 4% 30px; }
  .product-heading { margin-bottom: 38px; }
  .product-heading h1 { font-size: clamp(1.8125rem, 7.7vw, 2.75rem); margin-bottom: 12px; }
  .product-meta { font-size: clamp(0.6875rem, 3.3vw, 1rem); gap: 9px; }
  .product-meta b { font-size: 0.5625rem; }
  .overview { grid-template-areas: "heading heading" "description description" "more manufacturer"; gap: 14px 8px; padding: 18px; margin-bottom: 22px; }
  .manufacturer-link { padding: 10px 8px; gap: 8px; transform: none; }
  .manufacturer-link-long .manufacturer-label { flex-direction: column; align-items: center; gap: 2px; }
  .panel > h2 { font-size: 1.375rem; margin-bottom: 11px; }
  .overview > h2 { margin: 0; }
  .overview p { font-size: 0.875rem; line-height: 1.65; }
  .overview.is-collapsed #overview-more { display: none; }
  .hero-photo { padding: 12px; }
  .gallery-arrow { width: 32px; }
  .thumbnail-controls { gap: 7px; margin-top: 10px; }
  .strip-arrow { flex-basis: 26px; height: 66px; }
  .photo-thumb { flex-basis: 84px; height: 66px; }
  .swipe-hint { display: inline; }
  .gallery-note { font-size: 0.75rem; }
  .information { --first-tab-share: 40%; --first-tab-fraction: .4; --second-tab-share: 26.666667%; --tab-panel-inset: 16px; --divider-label-gap: 4px; }
  .product-tabs button { flex-direction: column; font-size: 12px; gap: 5px; padding: 11px 5px; min-height: 82px; }
  .tab-icon { width: 18px; height: 18px; flex-basis: 18px; }
  .tab-panel { padding: 4px var(--tab-panel-inset) 12px; font-size: .8125rem; }
  .data-panels { display: block; }
  .data-panels .is-inactive { display: none; }
  .data-row { padding: 14px 0; font-size: inherit; }
  .data-row dd small { font-size: 0.6875rem; }
  .contents-columns section { padding-right: 12px; }
  .contents-columns section + section { padding-left: 12px; }
  .contents-columns h2 { font-size: 0.75rem; }
  .contents-columns li { font-size: 0.75rem; padding-bottom: 12px; }
  .resources { padding: 18px 16px 0; margin-top: 24px; }
  .resource-row { grid-template-columns: 96px minmax(0, 1fr); gap: 13px; padding: 18px 0 18px 10px; }
  .resource-copy h3 { font-size: 0.875rem; }
  .resource-copy > p:not(.resource-kind) { font-size: 0.75rem; }
  .resource-kind { font-size: 0.5625rem; }
  .resource-action { padding: 8px 10px; gap: 8px; font-size: 0.75rem !important; }
  .document-thumb svg { width: 32px; height: 37px; }
  .document-thumb { gap: 5px; }
  .document-thumb span { font-size: 0.5rem; }
  .media-viewer { padding: 12px; }
}
/* Font-relative thresholds respond to enlarged text as well as narrow screens. */
@container (max-width: 18em) {
  .data-divider { display: none; }
  .model-data .data-row, .spec-data .data-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .contents-columns { grid-template-columns: minmax(0, 1fr); }
  .contents-columns section { padding-right: 0; }
  .contents-columns section + section { padding: 16px 0 0; border-left: 0; border-top: 1px solid #35414b; }
}
@media (max-width: 360px) {
  .overview { grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "description" "more" "manufacturer"; gap: 8px; }
  .manufacturer-link { justify-self: start; }
}
@container (max-width: 15em) {
  .overview > h2 { grid-column: 1 / -1; }
  .overview-toggle { grid-column: 1 / -1; grid-row: 3; }
  .manufacturer-link { grid-column: 1 / -1; grid-row: 4; justify-self: start; transform: none; max-width: 100%; white-space: normal; }
  .manufacturer-label { flex-wrap: wrap; }
  .resource-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .video-thumb, .document-thumb { max-width: 180px; }
}
@media (hover: none) { .gallery-arrow { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .gallery-arrow { transition: none; } }
