/* September 2026: client annotations; preserve the established catalogue grid. */
:root { --catalog-filter-top: 86px; --catalog-panel-top: 154px; --catalog-panel-height: calc(100dvh - 170px); }
.sticky-shape-nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); min-height: 48px; border: 1px solid #e2e5e9; border-radius: 7px; background: #fff; box-shadow: 0 4px 12px #1b27390a; overflow: hidden; }
.sticky-shape-nav[hidden] { display: none; }
.sticky-shape-nav button { min-width: 0; padding: 7px 10px; border: 0; border-right: 1px solid #e5e7eb; color: #47505d; font: 600 12px/1.2 inherit; background: #fff; cursor: pointer; }
.sticky-shape-nav button:last-child { border-right: 0; }
.sticky-shape-nav button.active, .shape-button.active, .shape-button[aria-pressed="true"], .catalog-mode.active, .catalog-mode[aria-pressed="true"] { background: #fff6e7; }
.sticky-shape-nav button:hover { background: #fff6e4; }
.filter-bar { background: #fff6e7; border-color: #f0d8aa; }
.active-filter { background-color: #fff6e7; }
.clear-request { min-height: 32px; border: 1px solid #dce0e6; border-radius: 5px; padding: 5px 10px; color: #555e69; background: #fff; font: inherit; font-size: 12px; cursor: pointer; }
.clear-request:hover { border-color: #efb855; color: #1c2633; background: #fff5e1; }
.request-lines-section > header { flex-wrap: wrap; gap: 10px; }
.other-warehouses-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 17px 20px; margin: 12px 0 20px; border: 1px solid #eed6ab; border-radius: 7px; background: #fff8ea; }
.other-warehouses-notice small { display: block; color: #8d7450; font-size: 12px; margin-bottom: 3px; }
.other-warehouses-notice strong { color: #263241; font-size: 17px; }
.other-warehouses-notice p { margin: 0; color: #5a626e; font-size: 13px; }
.manufacture-invitation { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; margin: 24px 0 10px; border: 1px solid #e9dbc2; border-radius: 7px; background: #fffaf1; }
.manufacture-invitation strong, .manufacture-invitation span { display: block; }
.manufacture-invitation strong { margin-bottom: 4px; font-size: 17px; color: #303944; }
.manufacture-invitation span { color: #77808b; font-size: 13px; }
.manufacture-invitation button { flex-shrink: 0; display: flex; align-items: center; gap: 18px; padding: 10px 14px; border: 1px solid #f0bd5a; border-radius: 5px; background: #fff; color: #414955; font: inherit; font-size: 13px; cursor: pointer; }
.manufacture-invitation button:hover { background: #fff6e7; }
.catalog-empty-result { padding: 28px 20px; background: #f8f9fa; border-radius: 7px; color: #414d5b; }
.catalog-empty-result p { font-size: 14px; color: #7c8490; }
.material-reference h3 { margin-bottom: 10px; }
.material-source { display: inline-block; color: #9b701d; font-size: 12px; text-underline-offset: 3px; }
.material-reference .property-table td:first-child { width: 35%; }
.material-candidates { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.material-candidates button { background: #fff8e9; border: 1px solid #efd9aa; border-radius: 4px; padding: 5px 9px; color: #6d5628; font: inherit; font-size: 12px; cursor: pointer; }
.material-reference summary { cursor: pointer; font-weight: 600; font-size: 14px; padding: 9px 0; }
.material-reference .mechanical-example { padding: 12px; margin: 10px 0; border-radius: 5px; background: #f7f8fa; }
.material-reference .mechanical-example p { font-size: 12px; margin: 6px 0; }
.m-contact-navigation { text-align: right; padding: 9px 2px 0; }
.m-contact-navigation a { color: #806123; font-size: 12px; text-decoration: none; }
.footer-contact-link { color: inherit; text-decoration: none; }
.sticky-shape-nav button { font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1.2; }
.forging-capabilities { margin: 24px 0; border: 1px solid #e1e5e9; border-radius: 7px; background: #fff; }
.forging-capabilities > summary { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding: 18px 20px; cursor: pointer; font-size: 17px; font-weight: 600; }
.forging-capabilities > summary small { font-size: 12px; font-weight: 400; color: #78828c; }
.forging-table-wrap { overflow-x: auto; padding: 0 20px; }
.forging-capabilities table { border-collapse: collapse; width: 100%; font-size: 13px; text-align: left; }
.forging-capabilities td, .forging-capabilities th { padding: 14px 12px; border-top: 1px solid #e6e9ed; vertical-align: middle; }
.forging-capabilities thead th { font-size: 12px; color: #75808b; }
.forging-capabilities td:last-child { width: 40%; line-height: 1.5; }
.forging-capabilities img { object-fit: contain; max-width: 130px; height: 90px; }
.forging-capabilities > p { font-size: 12px; line-height: 1.5; color: #78828c; padding: 0 20px 14px; }
@media (min-width: 901px) {
  body .header-inner { grid-template-columns: 188px minmax(315px, 390px) minmax(170px, 1fr) 245px; }
  body .city-nav { gap: 20px; }
  body .phone-cluster a { grid-template-columns: 87px 1fr; }
  body .phone-cluster small { width: auto; white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.15; }
  body .filter-bar { top: var(--catalog-filter-top); }
  body .grade-sidebar { top: var(--catalog-panel-top); height: var(--catalog-panel-height); max-height: var(--catalog-panel-height); }
  body .details-panel, body .catalog-layout.with-details > .details-panel { top: var(--catalog-panel-top); max-height: var(--catalog-panel-height); }
  body .shape-strip > .shape-button.active { background: #fff6e7 !important; }
}
@media (min-width: 1800px) {
  /* Match the established 1.25 body zoom without making the backdrop wider than the viewport. */
  .catalog-head::before { width: 80vw; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  body .header-inner { grid-template-columns: 158px 1fr 220px; }
  body .header-inner .certificates { display: none; }
  body .city-nav { gap: 12px; }
}
@media (max-width: 900px) {
  .sticky-shape-nav { display: none; }
  .manufacture-invitation { align-items: stretch; flex-direction: column; margin-top: 16px; padding: 16px; }
  .manufacture-invitation button { justify-content: space-between; }
  .other-warehouses-notice { padding: 14px; margin-top: 0; }
  .material-reference { padding: 18px 16px; background: #fff; margin: 12px 0; border-radius: 12px; }
  .material-reference .property-table { width: 100%; border-collapse: collapse; }
  .material-reference td { font-size: 13px; padding: 7px 0; border-bottom: 1px solid #eceff2; }
  .material-reference p { font-size: 13px; line-height: 1.5; color: #717987; }
}
/* Selection documents and consistent, restrained active states. */
body .catalog-mode.active, body .catalog-mode[aria-pressed="true"], body .m-mode-switch button.active,
body .m-shape-chip.active { background: #fff6e7 !important; border-color: #efd5a8; box-shadow: none; }
body .catalog-mode.active::after { display: none; }
body .group-more { width: 100%; margin: 0; min-height: 58px; padding: 12px 18px; border: 0; border-top: 1px solid #ead8b9; border-radius: 0 0 7px 7px; background: #fff8ed; box-shadow: none; grid-template-columns: minmax(0,1fr) auto 26px; }
body .group-more:hover { background: #fff1d9; }
body .group-more:focus-visible { outline: 2px solid #c89431; outline-offset: -3px; }
body .group-more span { font-size: 14px; }
body .group-more small { font-size: 12px; }
body .product-list > .manufacture-invitation { margin: 0; border: 0; border-top: 1px solid #e9dbc2; border-radius: 0 0 7px 7px; padding: 20px; }
body .request-line { grid-template-columns: 65px minmax(0,1fr) 32px; gap: 10px 14px; padding: 18px 0; align-items: start; }
body .request-line > button { width: 32px; height: 32px; font-size: 23px; }
.request-editor { grid-column: 1 / -1; min-width: 0; width: 100%; }
.request-price-grid { display: grid; grid-template-columns: minmax(80px,1fr) 68px minmax(120px,1.3fr) minmax(120px,1.1fr); gap: 12px; align-items: end; }
.request-editor label { display: grid; gap: 6px; min-width: 0; }
.request-editor label > span, .request-line-total > span, .request-export-actions label > span { color: #68737d; font-size: 12px; line-height: 1.3; }
body .request-editor input, body .request-editor select, .request-export-actions select { width: 100%; min-width: 0; height: 42px; padding: 9px 10px; border: 1px solid #dce2e7; border-radius: 5px; background: #fff; color: #2b343e; font: inherit; font-size: 15px; }
body .request-editor input[type="number"] { background: #fffaf1; font-variant-numeric: tabular-nums; }
.request-editor input:focus, .request-editor select:focus, .request-export-actions select:focus { outline: 2px solid #e4bc71; outline-offset: 1px; }
.request-line-total { display: grid; gap: 6px; align-self: stretch; align-content: end; min-width: 0; }
.request-line-total strong { display: flex; min-height: 42px; align-items: center; font-size: 17px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.request-edit-details { margin-top: 13px; }
.request-edit-details summary { display: list-item; cursor: pointer; padding: 7px 0; color: #636e79; font-size: 13px; }
.request-edit-details[open] summary { margin-bottom: 10px; }
.request-edit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.request-edit-grid label:first-child, .request-edit-grid label:last-child { grid-column: 1 / -1; }
.request-source { font-size: 12px; color: #7b858e; line-height: 1.5; margin: 14px 0 0; }
.request-summary { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; justify-content: space-between; padding: 18px 0; border-top: 1px solid #e5e9ec; color: #414d58; }
.request-summary > strong { font-size: 24px; color: #232d36; font-variant-numeric: tabular-nums; }
.request-summary > small { width: 100%; color: #7b858f; font-size: 12px; }
.request-export-actions { display: grid; grid-template-columns: minmax(150px,1fr) minmax(150px,1fr) auto; gap: 10px; align-items: end; margin-top: 22px; }
.request-export-actions label { display: grid; gap: 6px; min-width: 0; }
.request-export-actions button { height: 42px; padding: 9px 14px; border: 1px solid #eac483; border-radius: 5px; font: inherit; font-size: 14px; color: #3e4751; background: #fff6e7; cursor: pointer; }
.request-export-actions .request-print { background: white; border-color: #dce2e7; }
.request-export-actions button:disabled { opacity: .6; cursor: wait; }
.request-export-note { font-size: 12px; color: #7b858e; line-height: 1.5; margin: 10px 0 20px; }
@media(max-width:900px) {
  body .m-request-item { grid-template-columns: minmax(0,1fr) 36px; padding: 18px 16px; gap: 14px 8px; }
  .m-request-item-copy { min-width: 0; }
  .m-request-item-copy strong, .m-request-item-copy span { overflow-wrap: anywhere; }
  .m-request-section .request-summary { margin-bottom: 14px; }
  .request-price-grid { grid-template-columns: minmax(0,1fr) 70px minmax(0,1.3fr); gap: 10px; }
  .request-line-total { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; }
  .request-line-total strong { min-height: 0; font-size: 18px; }
  .request-editor label > span { font-size: 11px; }
  body .request-editor input, body .request-editor select { font-size: 16px; }
  .request-export-actions { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .request-export-actions .request-print { grid-column: 1 / -1; }
  .request-edit-grid { grid-template-columns: minmax(0,1fr); }
  .request-summary > strong { font-size: 22px; }
  body .m-mode-switch button.active { color: #57431f; }
}
body .request-line-copy strong { font-size: 16px; line-height: 1.35; }
body .request-line-copy > span { font-size: 13px; line-height: 1.4; }
body .request-line-code small { font-size: 11px; line-height: 1.4; }
body .request-line-code span { font-size: 10px; }
body .request-contact-section .request-export-note { text-align: left; font-size: 12px; line-height: 1.5; }
@media(max-width:900px) {
  body .m-request-item-copy { grid-column: 1; grid-row: 1; align-content: start; }
  body .m-request-item > button { grid-column: 2; grid-row: 1; width: 36px; height: 36px; }
  body .m-request-item-copy strong { display: block; font-size: 15px; line-height: 1.35; -webkit-line-clamp: unset; overflow: visible; }
  body .m-request-item-copy small, body .m-request-item-copy > span { font-size: 11px; line-height: 1.45; white-space: normal; overflow: visible; text-overflow: clip; }
  .m-request-section > .request-summary { margin: 0 14px 6px; }
  .m-request-section > .request-export-actions { margin: 18px 14px 0; }
  .m-request-section > .request-export-note { margin: 10px 14px 18px; }
  .m-request-section > header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; }
  .m-request-section > header small { width: 100%; }
  .m-request-section > header .clear-request { font-size: 11px; }
}
.request-handoff { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin: 20px 0; }
.request-handoff > a { color: #35404b; font-size: 15px; text-decoration: none; }
.request-lines-section > .request-export-actions { margin-top: 8px; }
.m-success-page .request-export-actions { width: 100%; text-align: left; }
.m-success-page .request-handoff { justify-content: center; }
@media(max-width:360px) {
  .request-export-actions .request-download-noun { display: none; }
  .request-export-actions button { font-size: 12px; white-space: nowrap; line-height: 1.2; padding-left: 8px; padding-right: 8px; }
}
