/* Product-only overrides. Shared MetInfo styles and CMS content stay intact. */
@font-face { font-family: 'Source Sans 3'; src: url('./fonts/source-sans-3-upright.woff2') format('woff2'); font-style: normal; font-weight: 200 900; font-display: swap; }
html:has(#q-product) { font-size: 100%; }
body:has(#q-product) { --q-font: 'Source Sans 3', sans-serif; font-family: var(--q-font); }
body:has(#q-product) :is(h1,h2,h3,h4,h5,h6,button,input,select,textarea) { font-family: var(--q-font); }
body:has(#q-product) { background: #fff; color: #182a3a; }
body:has(#q-product) .met-banner { display: none !important; }
body:has(#q-product) .met-head:not(.q-header-ready) { position: relative; z-index: 20; background: #fff; border-bottom: 1px solid #e4e9ee; }
body:has(#q-product) .met-head .container { max-width: 1320px; width: calc(100% - 80px); }
body:has(#q-product) .met-nav { padding: 0; min-height: 84px; }
body:has(#q-product) .met-logo { height: 84px; }
body:has(#q-product) .met-nav .nav-link { height: 84px; line-height: 84px; padding: 0 7px; font-weight: 500; }
body:has(#q-product) .breadcrumb { background: transparent; padding: 22px 0; margin: 0; font-size: 0.8125rem; color: #607181; }
body:has(#q-product) .breadcrumb a { color: #607181; }
body:has(#q-product) .breadcrumb-item:first-child { display: none; }
body:has(#q-product) .subcolumn-crumbs { border: 0; }
body:has(#q-product) .met-column-nav { border: 0; }

.q-product { --q-blue: #066bd0; --q-ink: #182a3a; --q-muted: #566777; --q-border: #dfe6ed; --q-surface: #f5f7fa; color: var(--q-ink); background: #fff; font-family: var(--q-font); font-size: 1rem; line-height: 1.65; }
.q-product *, .q-product *::before, .q-product *::after { box-sizing: border-box; }
.q-product [hidden] { display: none !important; }
.q-product h1, .q-product h2, .q-product h3, .q-product p { color: inherit; }
.q-product a { color: var(--q-blue); text-decoration: none; }
.q-product button, .q-product a { -webkit-tap-highlight-color: transparent; }
.q-product button { font: inherit; cursor: pointer; }
.q-product :is(a, button, [tabindex]):focus-visible { outline: 3px solid #096dd1; outline-offset: 4px; }
.q-container { width: calc(100% - 80px); max-width: 1320px; margin-inline: auto; }
.q-hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); padding: 12px 0 56px; align-items: start; }
.q-gallery { min-width: 0; }
.q-gallery-stage { position: relative; background: #fff; border: 1px solid var(--q-border); border-radius: 6px; overflow: hidden; }
.q-gallery-image { display: none; aspect-ratio: 1.25; align-items: center; justify-content: center; padding: 24px 24px 36px; cursor: zoom-in; }
.q-gallery-image:first-child { display: flex; }
.q-gallery-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 220ms ease-out; }
.q-gallery-image:hover img { transform: scale(1.035); }
.q-gallery-hint { position: absolute; bottom: 16px; right: 20px; left: 20px; font-size: 0.8125rem; letter-spacing: .01em; color: var(--q-muted); pointer-events: none; display: flex; justify-content: space-between; }
.q-gallery-hint span { font-size: 1.25rem; line-height: 1; }
.q-gallery-bottom { margin-top: 16px; }
.q-image-status { float: right; color: var(--q-muted); font-size: 0.8125rem; margin: 0 0 8px; font-variant-numeric: tabular-nums; }
.q-gallery-thumbnails { display: flex; gap: 8px; overflow-x: auto; clear: both; padding: 4px; margin: -4px; scrollbar-width: thin; }
.q-thumbnail { flex: 0 0 62px; height: 56px; padding: 5px; background: #fff; border: 1px solid var(--q-border); border-radius: 3px; }
.q-thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.q-thumbnail[aria-pressed="true"] { border: 2px solid var(--q-blue); background: #f0f6fd; }
.q-summary { padding: 5px 0 0; }
.q-summary h1 { font-size: clamp(1.75rem, 2.65vw, 2.5rem); line-height: 1.2; letter-spacing: -.025em; font-weight: 650; margin: 0 0 20px; max-width: 18ch; text-wrap: balance; }
.q-description { color: var(--q-muted) !important; font-size: 1rem; line-height: 1.8; margin: 0 0 25px; max-width: 62ch; }
.q-parameters { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 28px; border-top: 1px solid var(--q-border); }
.q-parameter { padding: 15px 20px 15px 0; border-bottom: 1px solid var(--q-border); min-width: 0; }
.q-parameter dt { font-size: 0.8125rem; font-weight: 500; color: var(--q-muted); margin: 0 0 5px; }
.q-parameter dd { font-size: 1rem; line-height: 1.5; font-weight: 600; margin: 0; overflow-wrap: anywhere; }
.q-parameter.is-unavailable dd { color: var(--q-muted); font-weight: 400; }
.q-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; }
.q-product .q-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 50px; padding: 12px 22px; color: #fff; background: var(--q-blue); border: 1px solid var(--q-blue); border-radius: 4px; font-weight: 600; font-size: 1rem; transition: background 160ms ease; }
.q-product .q-button:hover { color: #fff; background: #0556a8; border-color: #0556a8; text-decoration: none; }
.q-button span { font-size: 1.25rem; line-height: 1; }
.q-product .q-text-link { display: inline-flex; gap: 14px; align-items: center; color: var(--q-ink); font-size: 0.875rem; min-height: 44px; }
.q-text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.q-inquiry-note { margin: 12px 0 0; font-size: 0.8125rem; color: var(--q-muted) !important; }
.q-extra-links { display: flex; gap: 20px; margin-top: 14px; flex-wrap: wrap; font-size: 0.875rem; }
.q-extra-links:empty { display: none; }
.q-section-nav { position: sticky; top: 0; z-index: 10; background: #fff; border-block: 1px solid var(--q-border); }
.q-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.q-section-links { display: flex; gap: 30px; overflow-x: auto; min-width: 0; scrollbar-width: none; }
.q-section-links::-webkit-scrollbar { display: none; }
.q-section-links a { display: flex; align-items: center; min-height: 64px; flex-shrink: 0; border-bottom: 3px solid transparent; padding-top: 3px; color: var(--q-muted); font-size: 0.875rem; font-weight: 600; white-space: nowrap; }
.q-section-links a[aria-current="true"] { color: var(--q-blue); border-bottom-color: var(--q-blue); }
.q-product .q-nav-inquiry { flex-shrink: 0; color: var(--q-blue); font-size: 0.875rem; font-weight: 650; padding: 12px 0; }
.q-nav-inquiry span { padding-left: 12px; }
.q-details { padding: 10px 0 0; scroll-margin-top: 90px; }
.q-detail-section { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 44px; padding: 52px 0; border-bottom: 1px solid var(--q-border); scroll-margin-top: 72px; }
.q-section-heading h2 { font-size: 1.5rem; line-height: 1.3; letter-spacing: -.02em; font-weight: 600; margin: 0; text-wrap: balance; }
.q-editor { min-width: 0; font-size: 1rem; line-height: 1.7; color: var(--q-ink); overflow-wrap: anywhere; }
.q-editor > :first-child { margin-top: 0; }
.q-editor h3 { font-family: inherit; font-size: 1.25rem; font-weight: 600; margin: 28px 0 16px; }
.q-editor h3:empty, .q-editor p:empty { display: none; }
.q-editor p { margin: 0 0 12px; }
.q-editor ul { padding-left: 20px; margin: 0; }
.q-editor li { margin-bottom: 10px; padding-left: 4px; }
.q-editor li::marker { color: var(--q-blue); }
.q-editor img { max-width: 100%; height: auto; }
.q-editor .q-table-scroll { width: 100%; max-width: 100%; overflow-x: auto; border: 1px solid var(--q-border); border-radius: 4px; margin: 16px 0; scrollbar-width: thin; }
.q-editor :is(.w-full, .oxa) { max-width: 100%; overflow-x: auto; }
.q-editor table { border-collapse: collapse; width: 100% !important; min-width: 0 !important; margin: 0; table-layout: auto; font-size: 0.875rem; }
.q-detail-section.q-section-wide, .q-detail-section:has(table) { grid-template-columns: minmax(0, 1fr); gap: 22px; }
.q-editor .q-wide-table { min-width: 0 !important; table-layout: fixed; }
.q-editor .q-wide-table col { width: auto !important; }
.q-editor .q-wide-table :is(td, th) { padding: 12px 8px; font-size: 0.875rem; overflow-wrap: anywhere; word-break: normal; }
.q-editor .q-medium-table { min-width: 0 !important; }
.q-records { display: none; }
.q-packing-list { display: none; }
.q-record { border-bottom: 1px solid var(--q-border); }
.q-record:first-child { border-top: 1px solid var(--q-border); }
.q-record summary { display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; align-items: center; gap: 12px; min-height: 62px; padding: 16px 4px; list-style: none; cursor: pointer; }
.q-record summary::-webkit-details-marker { display: none; }
.q-record summary::after { content: '+'; font-size: 1.5rem; color: var(--q-blue); text-align: center; }
.q-record[open] summary::after { content: '−'; }
.q-record summary strong { font-size: 1rem; font-weight: 650; }
.q-record summary strong p { margin: 0; }
.q-record summary > span { color: var(--q-muted); font-size: 0.875rem; }
.q-record summary:focus-visible { outline: 2px solid var(--q-blue); outline-offset: 2px; }
.q-record dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 24px; padding: 8px 4px 24px; margin: 0; }
.q-record dl > div { min-width: 0; }
.q-record dt { color: var(--q-muted); font-size: 0.8125rem; font-weight: 400; margin-bottom: 5px; }
.q-record dd { font-size: 1rem; margin: 0; overflow-wrap: anywhere; }
.q-editor :is(td, th) { padding: 12px 16px; border: 0; border-bottom: 1px solid var(--q-border); color: var(--q-ink); font: inherit; text-transform: none; vertical-align: top; }
.q-editor tr:last-child :is(td, th) { border-bottom: 0; }
.q-editor tr { background: #fff !important; }
.q-editor tr:nth-child(even):not(.firstRow) { background: #f8fafc !important; }
.q-editor tr:hover td { background: #f0f5fa; }
.q-editor .firstRow :is(td, th) { background: #edf2f7; color: #233c53; font-weight: 600; padding-block: 11px; }
.q-editor td:first-child:not([colspan]) { font-weight: 500; }
.q-detail-section:first-child .q-editor > h3 { display: none; }
.q-detail-section:first-child .q-editor ul { columns: 2; column-gap: 48px; }
.q-detail-section:first-child .q-editor li { break-inside: avoid; }
.q-tags { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 24px 0; max-height: 100px; overflow-y: auto; }
.q-related { padding: 40px 0 0; }
.q-related .product-hot { padding: 0; background: transparent; box-shadow: none; border: 0; }
.q-related .sidebar-piclist > h3 { font-size: 1.5rem !important; font-weight: 600 !important; }
.q-related .sidebar-piclist-ul { display: flex; flex-wrap: wrap; gap: 24px; margin: 24px 0 0 !important; padding: 0; }
.q-related .sidebar-piclist-ul li { width: calc(25% - 18px) !important; list-style: none; padding: 0; margin: 0; }
.q-related .sidebar-piclist-ul img { width: 100%; height: 160px; object-fit: contain; background: #fff; }
.q-related h4 { font-size: 0.875rem !important; line-height: 1.6; text-align: left; }
.q-related h4 a { color: var(--q-ink); }
.q-related .hot_box { margin-top: 24px; }
.q-tags a { color: var(--q-muted); font-size: 0.8125rem; text-decoration: underline; text-underline-offset: 3px; }
.q-contact { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 36px 40px; background: var(--q-surface); border-radius: 5px; margin: 20px 0 24px; }
.q-contact h2 { font-size: 1.625rem; font-weight: 600; margin: 0 0 8px; }
.q-contact p { margin: 0; color: var(--q-muted); font-size: 1rem; }
.q-contact .q-button { flex-shrink: 0; }
.q-pagination .met-page { border: 0; padding: 20px 0 36px; }
.q-pagination .met-page .container { width: 100%; padding: 0; }
.q-pagination .page-link { font-size: 0.8125rem; border: 0; max-width: 100%; padding: 12px 0; }
.q-lightbox { width: min(1040px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 50px; border: 0; border-radius: 8px; background: #fff; overflow: auto; }
.q-lightbox::backdrop { background: rgb(14 29 43 / 78%); }
.q-lightbox img { display: block; width: 100%; height: min(65vh, 650px); object-fit: contain; }
.q-lightbox button { position: absolute; width: 44px; height: 44px; border: 1px solid var(--q-border); border-radius: 50%; background: #fff; color: var(--q-ink); font-size: 1.375rem; }
.q-lightbox-close { right: 16px; top: 16px; }
.q-lightbox-prev { left: 12px; top: 48%; }
.q-lightbox-next { right: 12px; top: 48%; }
.q-lightbox-status { text-align: center; font-size: 0.8125rem; margin: 10px 0 0; }
@media (max-width: 1199px) {
  .q-editor .q-model-table { display: none; }
  .q-model-records { display: block; }
  body:has(#q-product) .met-nav { min-height: 68px; height: auto; }
  body:has(#q-product) .met-logo { height: 68px; }
  body:has(#q-product) .met-nav .nav-link { height: 44px; line-height: 44px; }
}
@media (max-width: 1100px) {
  .q-container, body:has(#q-product) .met-head .container { width: calc(100% - 48px); }
  .q-hero { gap: 32px; }
  .q-section-links { gap: 20px; }
  .q-detail-section { grid-template-columns: 180px minmax(0, 1fr); gap: 28px; }
  .q-contact { padding: 28px; }
}
@media (max-width: 767px) {
  .q-record dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
  .q-container, body:has(#q-product) .met-head .container { width: calc(100% - 36px); }
  body:has(#q-product) .breadcrumb { font-size: 0.8125rem; padding: 15px 0; }
  .q-hero { grid-template-columns: 1fr; gap: 28px; padding: 8px 0 34px; }
  .q-gallery-image { aspect-ratio: 1.4; padding: 12px 16px 30px; }
  .q-gallery-hint { font-size: 0.75rem; bottom: 12px; }
  .q-gallery-bottom { margin-top: 10px; }
  .q-thumbnail { flex-basis: 52px; height: 48px; }
  .q-gallery-thumbnails { gap: 7px; }
  .q-summary { padding: 0; }
  .q-summary h1 { font-size: 1.875rem; max-width: 20ch; margin-bottom: 14px; }
  .q-description { font-size: 1rem; margin-bottom: 22px; }
  .q-parameter { padding: 13px 12px 13px 0; }
  .q-parameter dd { font-size: 1rem; }
  .q-parameters { margin-bottom: 22px; }
  .q-actions { gap: 8px 18px; }
  .q-actions .q-button { width: 100%; }
  .q-inquiry-note { margin-top: 6px; }
  .q-nav-inner { gap: 14px; width: 100%; padding-left: 18px; }
  .q-section-links { gap: 22px; }
  .q-section-links a { min-height: 56px; font-size: 0.875rem; }
  .q-product .q-nav-inquiry { align-self: stretch; display: flex; align-items: center; padding: 0 16px; border-left: 1px solid var(--q-border); background: #fff; font-size: 0.875rem; box-shadow: -8px 0 12px #fff; }
  .q-nav-inquiry span { display: none; }
  .q-detail-section { grid-template-columns: 1fr; gap: 22px; padding: 32px 0; scroll-margin-top: 70px; }
  .q-section-heading h2 { font-size: 1.5rem; }
  .q-detail-section:first-child .q-editor ul { columns: 1; }
  .q-editor :is(td, th) { padding: 10px 12px; font-size: 0.875rem; }
  .q-editor td:first-child:not([colspan]) { min-width: 105px; }
  .q-contact { flex-direction: column; align-items: stretch; padding: 24px; }
  .q-contact h2 { font-size: 1.5625rem; }
  .q-related .sidebar-piclist-ul { gap: 20px; }
  .q-related .sidebar-piclist-ul li { width: calc(50% - 10px) !important; }
  .q-related .sidebar-piclist-ul img { height: 120px; }
  .q-contact .q-button { align-self: start; }
  .q-lightbox { padding: 50px 30px 24px; }
}
@media (max-width: 600px) {
  .q-editor .q-compact-table { display: none; }
  .q-compact-records { display: block; }
}
/* Narrow-screen CMS data views: compact rows, with the original table retained on desktop. */
@media (max-width: 767px) {
  #q-product .q-section-records { gap: 14px; padding-block: 28px; }
  #q-product .q-section-records .q-mobile-repeat,
  #q-product .q-section-records .q-mobile-spacer { display: none; }
  #q-product .q-section-records .q-editor > h3 { margin-block: 20px 12px; font-size: 1.125rem; }
  #q-product .q-record summary { min-height: 58px; padding: 12px 0; gap: 10px; }
  #q-product .q-record summary strong { font-size: 1rem; line-height: 1.35; overflow-wrap: anywhere; }
  #q-product .q-record summary > span { max-width: 100px; line-height: 1.35; overflow-wrap: anywhere; }
  #q-product .q-record dl { display: block; padding: 0 0 14px; }
  #q-product .q-record dl > div { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; padding: 6px 0; border-top: 1px solid #eef1f4; }
  #q-product .q-record dt { margin: 0; font-size: .875rem; line-height: 1.4; }
  #q-product .q-record dd { font-size: .9375rem; line-height: 1.4; text-align: right; }
  #q-product .q-record :is(p,span,strong),
  #q-product .q-packing-list :is(p,span,strong) { margin: 0; font-size: inherit !important; line-height: inherit; }
  #q-product .q-record summary > span { font-size: .875rem !important; }
  #q-product .q-record summary strong > p + p { margin-top: 2px; }
}
@media (max-width: 600px) {
  #q-product .q-packing-table { display: none; }
  #q-product .q-packing-list { display: block; font-size: 1rem; line-height: 1.4; }
  #q-product .q-packing-caption { display: flex; justify-content: space-between; padding: 0 0 10px; color: var(--q-muted); font-size: .8125rem; border-bottom: 1px solid var(--q-border); }
  #q-product .q-packing-list ul { padding: 0; margin: 0; list-style: none; }
  #q-product .q-packing-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr) 56px; gap: 10px; align-items: start; padding: 13px 0; margin: 0; border-bottom: 1px solid var(--q-border); }
  #q-product .q-packing-number { color: var(--q-muted); font-size: .8125rem !important; padding-top: 2px; }
  #q-product .q-packing-quantity { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
  #q-product .q-packing-note { margin-top: 3px; color: var(--q-muted); font-size: .8125rem; }
}
@media (prefers-reduced-motion: reduce) {
  .q-product *, .q-product *::before, .q-product *::after { transition: none !important; scroll-behavior: auto !important; }
}
