.cj-product-detail {
  --pd-ink: #153858;
  --pd-blue: #0754a6;
  --pd-line: #d8e4ee;
  padding: 3rem 0 4rem;
  color: var(--pd-ink);
  background: #f7fafc;
  font-size: 1rem;
  line-height: 1.65;
}
.cj-product-detail *, .cj-product-detail *::before, .cj-product-detail *::after { box-sizing: border-box; }
.cj-product-detail [hidden] { display: none !important; }
.cj-product-detail .cj-pd-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.cj-product-detail .cj-pd-media, .cj-product-detail .cj-pd-summary { min-width: 0; }
.cj-product-detail .cj-pd-media { position: sticky; top: calc(82px + 1rem); }
.cj-product-detail .cj-pd-figure { margin: 0; }
.cj-product-detail .cj-pd-image-frame { aspect-ratio: 4 / 3; display: grid; width: 100%; overflow: hidden; background: #fff; border: 1px solid var(--pd-line); border-radius: 1.125rem; }
.cj-product-detail .cj-pd-original { display: flex; width: 100%; height: 100%; min-height: 0; align-items: center; justify-content: center; padding: clamp(.75rem, 2vw, 1.5rem); }
.cj-product-detail .cj-pd-original img { display: block; width: 100%; height: 100%; min-height: 0; max-height: 100%; object-fit: contain; }
.cj-product-detail .cj-pd-image-empty { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .625rem; padding: 1.5rem; text-align: center; background: #f1f6fa; }
.cj-product-detail .cj-pd-image-empty strong { max-width: 27rem; color: #1a4972; font-size: 1.1rem; }
.cj-product-detail .cj-pd-image-empty span { color: #52677b; }
.cj-product-detail .cj-pd-figure figcaption { margin-top: .75rem; color: #52677b; font-size: .9375rem; white-space: pre-line; overflow-wrap: anywhere; }
.cj-product-detail .cj-pd-gallery { margin-top: 1rem; }
.cj-product-detail .cj-pd-gallery-heading { display: flex; justify-content: space-between; gap: .75rem; margin-bottom: .625rem; color: #425d74; font-size: .9375rem; }
.cj-product-detail .cj-pd-thumbnails { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2.25rem) / 4); gap: .75rem; padding: .25rem .1875rem .625rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-color: #9fb8cd #edf3f8; scrollbar-width: thin; }
.cj-product-detail .cj-pd-thumbnail { display: flex; align-items: center; justify-content: center; min-width: 0; aspect-ratio: 4 / 3; padding: .4375rem; border: 2px solid var(--pd-line); border-radius: .625rem; background: #fff; scroll-snap-align: start; transition: border-color .15s ease, box-shadow .15s ease; }
.cj-product-detail .cj-pd-thumbnail img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cj-product-detail .cj-pd-thumbnail:hover { border-color: #7da5ca; }
.cj-product-detail .cj-pd-thumbnail.is-selected { border-color: var(--pd-blue); box-shadow: 0 0 0 1px var(--pd-blue); }
.cj-product-detail .cj-pd-gallery-hint { margin: .375rem 0 0; color: #52677b; font-size: .875rem; }
.cj-product-detail .cj-pd-category { display: inline-block; margin-bottom: .625rem; color: #0754a6; font-size: .875rem; font-weight: 700; letter-spacing: .045em; }
.cj-product-detail .cj-pd-summary h2 { margin: 0 0 1.25rem; color: #073b7d; font-size: clamp(1.75rem, 2.5vw, 2.5rem); line-height: 1.2; letter-spacing: -.02em; overflow-wrap: anywhere; }
.cj-product-detail h3 { margin: 0 0 .75rem; color: #123e66; font-size: 1.25rem; font-weight: 700; line-height: 1.35; }
.cj-product-detail .cj-pd-meta { display: flex; flex-wrap: wrap; gap: .625rem 1.5rem; margin: 0 0 1.5rem; }
.cj-product-detail .cj-pd-meta > div { display: flex; flex-wrap: wrap; gap: .35rem; min-width: 0; }
.cj-product-detail .cj-pd-meta dt { color: #52677b; font-size: 1rem; }
.cj-product-detail .cj-pd-meta dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; color: var(--pd-ink); font-size: 1rem; }
.cj-product-detail .cj-pd-variant-picker { margin: 0 0 1.25rem; padding: 1rem; border: 1px solid #bcd3e8; border-radius: .875rem; background: #edf5fc; }
.cj-product-detail .cj-pd-variant-picker label { display: block; margin-bottom: .5rem; font-size: 1rem; color: #153858; font-weight: 700; }
.cj-product-detail .cj-pd-variant-picker select { display: block; width: 100%; max-width: 100%; min-height: 3rem; padding: .65rem .875rem; border: 1px solid #a9bfd2; border-radius: .5rem; background: #fff; color: #153858; font: inherit; }
.cj-product-detail .cj-pd-variant-picker noscript .cj-pd-button { margin-top: .75rem; }
.cj-product-detail .cj-pd-attributes { display: grid; gap: 0; margin: 0 0 1.5rem; border: 1px solid var(--pd-line); border-radius: .75rem; overflow: hidden; }
.cj-product-detail .cj-pd-attributes > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1rem; padding: .75rem 1rem; background: #fff; }
.cj-product-detail .cj-pd-attributes > div + div { border-top: 1px solid var(--pd-line); }
.cj-product-detail .cj-pd-attributes dt, .cj-product-detail .cj-pd-attributes dd { overflow-wrap: anywhere; }
.cj-product-detail .cj-pd-attributes dt { color: #52677b; font-size: 1rem; }
.cj-product-detail .cj-pd-attributes dd { margin: 0; font-weight: 600; color: var(--pd-ink); font-size: 1rem; }
.cj-product-detail .cj-pd-text-section + .cj-pd-text-section { margin-top: 1.5rem; }
.cj-product-detail .cj-pd-prose { margin: 0; color: #344f67; font-size: 1rem; white-space: pre-line; overflow-wrap: anywhere; }
.cj-product-detail .cj-pd-supplier-note { margin: 1.5rem 0; color: #52677b; font-size: .875rem; line-height: 1.6; }
.cj-product-detail .cj-pd-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cj-product-detail .cj-pd-button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: .7rem 1.125rem; border: 1px solid #a9bfd2; border-radius: .625rem; background: #fff; color: #153858; font: inherit; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; }
.cj-product-detail .cj-pd-button-primary { color: #fff; background: var(--pd-blue); border-color: var(--pd-blue); }
.cj-product-detail .cj-pd-button-primary:hover { background: #063f7b; border-color: #063f7b; }
.cj-product-detail .cj-pd-button-secondary { color: #963d0c; border-color: #d8895a; background: #fff9f4; }
.cj-product-detail .cj-pd-button-secondary:hover { background: #ffeddf; }
.cj-product-detail .cj-pd-status { min-height: 0; margin: .75rem 0 0; color: #425d74; font-size: .875rem; }
.cj-product-detail .cj-pd-status:empty { display: none; }
.cj-product-detail .cj-pd-information, .cj-product-detail .cj-pd-resources { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; margin-top: 2rem; }
.cj-product-detail .cj-pd-card { min-width: 0; margin: 0; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--pd-line); border-radius: 1rem; background: #fff; }
.cj-product-detail .cj-pd-specifications { grid-column: 1 / -1; }
.cj-product-detail .cj-pd-resource-list { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.cj-product-detail .cj-pd-resource-list a { display: flex; flex-direction: column; gap: .25rem; min-height: 3rem; padding: .875rem 1rem; border: 1px solid #d8e4ee; border-radius: .625rem; background: #f8fbfd; color: #153858; text-decoration: none; overflow-wrap: anywhere; }
.cj-product-detail .cj-pd-resource-list a:hover { border-color: #8cb4d7; background: #edf5fc; }
.cj-product-detail .cj-pd-resource-list a > span:first-child { font-weight: 650; }
.cj-product-detail .cj-pd-resource-list small { color: #52677b; font-size: .875rem; }
.cj-product-detail .cj-pd-resource-action { color: #0754a6; font-size: .9375rem; font-weight: 700; }
.cj-product-detail .cj-pd-video-player { margin-top: 1.25rem; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: .75rem; background: #10263e; }
.cj-product-detail .cj-pd-video-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.cj-product-detail a:focus-visible, .cj-product-detail button:focus-visible, .cj-product-detail select:focus-visible { outline: 3px solid #db671c; outline-offset: 3px; }
@media (max-width: 900px) {
  .cj-product-detail { padding-top: 2rem; }
  .cj-product-detail .cj-pd-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .cj-product-detail .cj-pd-media { position: static; }
  .cj-product-detail .cj-pd-image-frame { max-height: 38rem; }
}
@media (max-width: 600px) {
  .cj-product-detail .container { width: calc(100% - 2rem); }
  .cj-product-detail .cj-pd-information, .cj-product-detail .cj-pd-resources { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .cj-product-detail .cj-pd-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .cj-product-detail .cj-pd-thumbnails { grid-auto-columns: calc((100% - 1.5rem) / 4); gap: .5rem; }
  .cj-product-detail .cj-pd-attributes > div { gap: .75rem; padding: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cj-product-detail .cj-pd-thumbnail { transition: none; }
}

/* Approved product configuration; source text stays readable without JavaScript. */
.cj-product-detail .cj-pd-configuration { min-width: 0; margin: 0 0 1.75rem; }
.cj-product-detail .cj-pd-config-form { margin: 0; }
.cj-product-detail .cj-pd-config-table-wrap { width: 100%; max-width: 100%; overflow: hidden; border: 1px solid var(--pd-line); border-radius: .875rem; background: #fff; }
.cj-product-detail .cj-pd-config-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 0; color: var(--pd-ink); font-size: 1rem; line-height: 1.55; }
.cj-product-detail .cj-pd-config-table th, .cj-product-detail .cj-pd-config-table td { padding: .875rem; border: 0; text-align: left; vertical-align: top; overflow-wrap: anywhere; font-size: 1rem; line-height: 1.55; text-transform: none; letter-spacing: normal; }
.cj-product-detail .cj-pd-config-table th:first-child { width: 37%; }
.cj-product-detail .cj-pd-config-table thead th { background: #123e66; color: #fff; font-weight: 750; }
.cj-product-detail .cj-pd-config-table tbody th { color: #36546e; background: #f6f9fc; font-weight: 650; }
.cj-product-detail .cj-pd-config-table tbody tr + tr > * { border-top: 1px solid var(--pd-line); }
.cj-product-detail .cj-pd-config-table td { background: #fff; color: var(--pd-ink); }
.cj-product-detail .cj-pd-config-table label { display: inline; margin: 0; color: inherit; font: inherit; }
.cj-product-detail .cj-pd-config-table select, .cj-product-detail .cj-pd-config-order input { width: 100%; min-width: 0; max-width: 100%; min-height: 2.75rem; margin: 0; padding: .625rem .75rem; border: 1px solid #9eb8cc; border-radius: .5rem; color: var(--pd-ink); background-color: #fff; font: inherit; font-size: 1rem; line-height: 1.4; }
.cj-product-detail .cj-pd-config-table select { padding-right: 1.75rem; }
.cj-product-detail .cj-pd-config-table select[aria-invalid="true"], .cj-product-detail .cj-pd-config-order input[aria-invalid="true"] { border-color: #a63c1e; box-shadow: 0 0 0 1px #a63c1e; }
.cj-product-detail .cj-pd-config-text { white-space: pre-line; overflow-wrap: anywhere; }
.cj-product-detail .cj-pd-config-list { margin: 0; padding-left: 1.125rem; color: inherit; font-size: 1rem; }
.cj-product-detail .cj-pd-config-list li + li { margin-top: .35rem; }
.cj-product-detail .cj-pd-config-unit { color: #52677b; }
.cj-product-detail .cj-pd-config-selection { margin-top: 1rem; }
.cj-product-detail .cj-pd-config-summary { margin: 0 0 .625rem; color: #123e66; font-size: 1.0625rem; font-weight: 750; overflow-wrap: anywhere; }
.cj-product-detail .cj-pd-config-status { margin: 0 0 .875rem; padding: .75rem .875rem; border: 1px solid #e4b38c; border-radius: .625rem; color: #79300e; background: #fff4e9; font-size: 1rem; overflow-wrap: anywhere; }
.cj-product-detail .cj-pd-config-status:empty { display: none; }
.cj-product-detail .cj-pd-config-commercial { display: grid; gap: .375rem; margin: .75rem 0 1rem; }
.cj-product-detail .cj-pd-config-commercial > div { display: flex; flex-wrap: wrap; gap: .375rem .75rem; }
.cj-product-detail .cj-pd-config-commercial dt { color: #52677b; font-size: 1rem; }
.cj-product-detail .cj-pd-config-commercial dd { margin: 0; color: var(--pd-ink); font-size: 1rem; font-weight: 650; overflow-wrap: anywhere; }
.cj-product-detail .cj-pd-config-order { display: grid; grid-template-columns: minmax(0, 1fr) minmax(4.5rem, 7rem); align-items: center; gap: .5rem 1rem; max-width: 25rem; }
.cj-product-detail .cj-pd-config-order label { margin: 0; color: var(--pd-ink); font-size: 1rem; font-weight: 700; }
.cj-product-detail .cj-pd-config-order > span { grid-column: 1 / -1; color: #52677b; font-size: .9375rem; }
.cj-product-detail .cj-pd-config-reset { min-height: 2.75rem; margin: 1rem 0 0; padding: .625rem .875rem; border: 1px solid #a9bfd2; border-radius: .5rem; background: #fff; color: #0754a6; font: inherit; font-weight: 700; cursor: pointer; }
.cj-product-detail .cj-pd-config-empty { color: #52677b; font-size: 1rem; }
.cj-product-detail .cj-pd-config-form noscript .cj-pd-button { margin-top: 1rem; }
.cj-product-detail .cj-pd-button[aria-disabled="true"] { color: #5c6670; background: #edf0f3; border-color: #b5c0c9; cursor: not-allowed; }
.cj-product-detail input:focus-visible, .cj-product-detail [data-configuration-status-message]:focus { outline: 3px solid #db671c; outline-offset: 3px; }

/* The dialog reuses the exact product section and shared selection controller. */
html.cj-product-quickview-open { overflow: hidden; }
.cj-product-quickview { box-sizing: border-box; width: min(76rem, calc(100% - 2rem)); max-width: none; max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); margin: auto; padding: 0; border: 1px solid #b7ccdc; border-radius: 1rem; background: #f7fafc; color: #153858; box-shadow: 0 1.5rem 6rem #0d2b5266; font-size: 1rem; }
.cj-product-quickview[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.cj-product-quickview::backdrop { background: #092b4bb8; }
.cj-product-quickview .cj-qv-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: .875rem 1.25rem; border-bottom: 1px solid #cbdce8; background: #fff; }
.cj-product-quickview .cj-qv-header h2 { margin: 0; color: #123e66; font-size: 1.25rem; line-height: 1.4; }
.cj-product-quickview .cj-qv-header-actions { display: flex; flex-wrap: wrap; gap: .625rem; }
.cj-product-quickview .cj-qv-header a, .cj-product-quickview .cj-qv-header button { display: inline-flex; box-sizing: border-box; min-height: 2.75rem; align-items: center; justify-content: center; padding: .5rem .875rem; border: 1px solid #9fb9cf; border-radius: .5rem; color: #153858; background: #fff; font: inherit; font-size: 1rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.cj-product-quickview .cj-qv-header a { color: #fff; background: #0754a6; border-color: #0754a6; }
.cj-product-quickview .cj-qv-header a:focus-visible, .cj-product-quickview .cj-qv-header button:focus-visible { outline: 3px solid #db671c; outline-offset: 3px; }
.cj-product-quickview .cj-qv-body { min-width: 0; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.cj-product-quickview .cj-qv-status { margin: 0; padding: 2rem; color: #36546e; font-size: 1rem; line-height: 1.6; }
.cj-product-quickview .cj-product-detail { padding: 1.5rem 0 2rem; }
.cj-product-quickview .cj-product-detail .container { box-sizing: border-box; width: calc(100% - 3rem); max-width: none; margin: 0 auto; }
.cj-product-quickview .cj-product-detail .cj-pd-media { position: static; }

/* Authoritative inquiry context is separate from the approved head configuration. */
.cj-inquiry-configuration { box-sizing: border-box; min-width: 0; max-width: 100%; margin: 0 0 1rem; padding: 1rem; border: 1px solid #b9cfdf; border-radius: .75rem; background: #f4f8fc; color: #153858; font-size: 1rem; line-height: 1.6; overflow-wrap: anywhere; }
.cj-inquiry-configuration *, .cj-inquiry-configuration *::before, .cj-inquiry-configuration *::after { box-sizing: border-box; }
.cj-inquiry-configuration legend { padding: 0 .4rem; color: #123e66; font-size: 1.0625rem; font-weight: 750; }
.cj-inquiry-configuration p { margin: .5rem 0; color: #344f67; font-size: 1rem; }
.cj-inquiry-configuration p[role="alert"] { padding: .75rem; border: 1px solid #e4b38c; border-radius: .5rem; color: #79300e; background: #fff4e9; }
.cj-inquiry-configuration label, .contactForm .cj-inquiry-configuration label { display: block; margin-top: .875rem; color: #153858; font-size: 1rem; font-weight: 700; }
.cj-inquiry-configuration input[type="number"], .contactGrid .contactForm .cj-inquiry-configuration input[type="number"] { display: block; box-sizing: border-box; width: 100%; min-width: 0; max-width: 12rem; min-height: 2.75rem; margin: .375rem 0; padding: .625rem .75rem; border: 1px solid #9eb8cc; border-radius: .5rem; background: #fff; color: #153858; font: inherit; font-size: 1rem; }
.cj-inquiry-configuration small { display: block; color: #52677b; font-size: .9375rem; line-height: 1.6; }
.cj-inquiry-configuration a { display: inline-flex; min-height: 2.75rem; align-items: center; padding: .5rem 0; color: #0754a6; font-size: 1rem; font-weight: 700; }
.cj-inquiry-configuration a:focus-visible, .cj-inquiry-configuration input:focus-visible { outline: 3px solid #db671c; outline-offset: 3px; }
@media (max-width: 600px) {
  .cj-product-detail .cj-pd-config-table th:first-child { width: 35%; }
  .cj-product-detail .cj-pd-config-table th, .cj-product-detail .cj-pd-config-table td { padding: .625rem; }
  .cj-product-quickview { width: calc(100% - 1rem); max-height: calc(100vh - 1rem); max-height: calc(100dvh - 1rem); border-radius: .75rem; }
  .cj-product-quickview .cj-qv-header { padding: .75rem; }
  .cj-product-quickview .cj-product-detail .container { width: calc(100% - 1.5rem); }
  .cj-product-quickview .cj-qv-header-actions { width: 100%; }
  .cj-product-quickview .cj-qv-header-actions a { flex: 1; }
  .cj-product-quickview .cj-product-detail .cj-pd-grid { gap: 1.5rem; }
}
