/* One quiet interaction language for catalogue, selection and supporting tools. */
:root { --ui-line: #e4e8ec; --ui-ink: #34414d; --ui-muted: #808b96; --ui-wash: #f7f8fa; --ui-accent: #b98a35; --ui-selection: #fff5e3; }
.product-group-head { padding: 0 0 12px; }
body .product-group-head .group-title { margin: 0 0 8px; min-height: 32px; }
body .group-filter-inline { display: flex; flex-wrap: nowrap; align-items: center; gap: 7px; position: relative; margin: 0; padding: 0; width: 100%; min-height: 32px; border: 0; border-radius: 0; background: none; }
body .group-filter-inline select, body .group-filter-inline .group-size-value { height: 30px; padding: 4px 8px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #64717d; font: inherit; font-size: 12px; line-height: 1.3; cursor: pointer; }
body .group-filter-inline select { appearance: auto; padding-right: 3px; }
body .group-filter-inline select:hover, body .group-filter-inline .group-size-value:hover { background: var(--ui-wash); border-color: var(--ui-line); }
body .group-filter-inline select:focus-visible, body .group-filter-inline input:focus-visible { outline: 2px solid #dcc18f; outline-offset: 1px; }
body .group-filter-inline .group-subform { flex: 0 1 165px; width: 165px; min-width: 110px; color: #43515e; }
.group-size-control { display: flex; align-items: center; flex: 1 1 auto; min-width: 210px; max-width: 460px; gap: 6px; }
body .group-filter-inline .group-metric { flex: 0 1 108px; width: 108px; min-width: 64px; font-size: 12px; }
body .group-filter-inline .group-size-value { flex: 0 0 99px; width: 99px; cursor: text; border-color: #e8ebee; background: #fafbfc; color: #44515e; font-variant-numeric: tabular-nums; text-align: center; }
body .group-filter-inline .group-size-value::placeholder { color: #8b959f; }
body .group-filter-inline .group-sort { flex: 0 0 87px; width: 87px; min-width: 0; font-size: 11px; color: #8a949e; margin-left: auto; }
.group-range { position: relative; flex: 1 1 140px; min-width: 75px; height: 30px; margin: 0 8px; touch-action: pan-y; }
.group-range-rail, .group-range-fill { position: absolute; pointer-events: none; top: 14px; height: 2px; border-radius: 2px; }
.group-range-rail { left: 0; right: 0; background: #e4e8ed; }
.group-range-fill { left: var(--range-from); right: calc(100% - var(--range-to)); background: #b79c70; }
body .group-filter-inline .group-range input { position: absolute; inset: 0; width: 100%; height: 30px; min-width: 0; margin: 0; padding: 0; border: 0; background: none; pointer-events: none; appearance: none; -webkit-appearance: none; outline: none; box-shadow: none; }
.group-range input::-webkit-slider-runnable-track { height: 2px; background: transparent; border: 0; }
.group-range input::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; pointer-events: auto; margin-top: -6px; width: 14px; height: 14px; border: 1.5px solid #a99471; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #36435012; cursor: ew-resize; }
.group-range input::-moz-range-track { height: 2px; background: transparent; border: 0; }
.group-range input::-moz-range-thumb { pointer-events: auto; width: 12px; height: 12px; border: 1.5px solid #a99471; border-radius: 50%; background: #fff; cursor: ew-resize; }
.group-range input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px #b99b6430; }
.group-range input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px #b99b6430; }
.group-range input.is-active-thumb { z-index: 2; }
.group-range.is-disabled { opacity: .3; }
body .group-filter-inline .group-filter-clear { flex: 0 0 24px; width: 24px; height: 26px; padding: 0 0 2px; border: 0; background: transparent; color: #7f8a95; border-radius: 6px; font: 20px/1 Arial,sans-serif; cursor: pointer; }
body .group-filter-inline .group-filter-clear:hover { background: var(--ui-wash); }
body .group-filter-inline .group-filter-clear[hidden] { display: block !important; visibility: hidden; }
.group-size-info { display: grid; place-items: center; width: 13px; height: 13px; color: #a3acb5; border: 1px solid #cbd1d7; border-radius: 50%; font: 9px/1 Arial,sans-serif; cursor: help; flex-shrink: 0; }
body .group-filter-inline .group-filter-error { position: absolute; right: 0; top: calc(100% + 3px); z-index: 4; padding: 7px 10px; border: 1px solid #efd6ce; border-radius: 7px; background: #fffaf8; color: #995e51; box-shadow: 0 3px 10px #533c3410; font-size: 12px; }
body .group-filter-inline .group-filter-error[hidden] { display: none; }

body .request-handoff .company-button.primary { background: #fff1d8; border-color: #e5cfaa; color: #70552a; border-radius: 7px; font-weight: 600; }

/* A compact separate dock, never a multi-row footer occupying the card. */
@media(min-width:901px) {
  body .refined-panel-actions { position: sticky; bottom: 8px; z-index: 12; display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 44px; margin: 16px 0 8px; padding: 5px; border: 1px solid #e1e6eb; border-radius: 9px; background: #fff; box-shadow: 0 3px 12px #2334420a; backdrop-filter: none; }
  body .refined-panel-actions .manager-action, body .refined-panel-actions .manager-secondary { width: auto; min-width: 0; min-height: 32px; height: 32px; margin: 0; padding: 6px 10px; border: 0; border-radius: 6px; font: inherit; font-size: 12px; line-height: 1.3; white-space: nowrap; }
  body .refined-panel-actions .manager-action { flex: 1 1 auto; background: #fff1d8; color: #70552a; font-weight: 600; }
  body .refined-panel-actions .manager-action:hover { background: #ffe8c1; }
  body .refined-panel-actions .manager-action.is-added { background: #f0f3f5; color: #687582; }
  body .refined-panel-actions .manager-secondary { flex: 0 1 auto; background: transparent; color: #627181; font-weight: 500; }
  body .refined-panel-actions .manager-secondary:hover { background: #f5f7f9; }
  body .panel-refined { padding-bottom: 1px; }
  body .catalog-head::before { bottom: 0; height: auto; }
  body .sticky-shape-nav { top: calc(100% + 2px); min-height: 42px; border-color: #e5e9ec; border-radius: 9px; box-shadow: 0 3px 10px #23334408; opacity: 0; visibility: hidden; transform: translateY(-100%); clip-path: inset(100% -12px 0); pointer-events: none; transition: opacity 320ms cubic-bezier(.2,.7,.2,1), transform 320ms cubic-bezier(.2,.7,.2,1), clip-path 320ms cubic-bezier(.2,.7,.2,1), visibility 0s linear 320ms; }
  body .sticky-shape-nav.is-visible { opacity: 1; visibility: visible; transform: translateY(0); clip-path: inset(0 -12px 0); pointer-events: auto; transition-delay: 0s; }
  body .sticky-shape-nav button { padding: 7px 10px; font-size: 11px; font-weight: 500; border-color: #edf0f3; }
  body .filter-bar { transition: top 320ms cubic-bezier(.2,.7,.2,1); }
  body .price-row .details-trigger { border-color: #dce2e8; color: #526170; border-radius: 7px; }
  body .price-row .add-button { border-color: #dfe5e9; background: #fff; color: #907345; border-radius: 7px; }
  body .price-row .add-button:hover, body .price-row .add-button.added { border-color: #d9bf91; background: #fff7e9; }
  body .price-row.selected .details-trigger { background: #fff0d5; border-color: #ebd1a0; color: #6b522d; }
  body .selected-row-toolbar { padding: 12px 14px; background: #fafbfc; border-top: 1px solid #e7ebee; gap: 8px 14px; }
  body .selected-row-toolbar .row-primary { background: #fff0d5; color: #755b31; border: 1px solid #ead3ab; border-radius: 6px; }
  .analogue-options { grid-column: 1/-1; margin-top: 2px; }
  .analogue-options > summary { display: flex; justify-content: space-between; cursor: pointer; color: #7c8894; font-size: 12px; line-height: 1.4; list-style: none; padding: 4px 0; }
  .analogue-options > summary::-webkit-details-marker { display: none; }
  .analogue-options[open] > summary { margin-bottom: 10px; }
  body .analogue-offer-grid { gap: 8px; }
  body .analogue-intro, body .analogue-stock-card, body .analogue-manufacture-card { border-radius: 8px; border-color: #e3e8ed; background: #fff; box-shadow: none; }
  body .panel-refined.assistant-panel-inner .details-top { margin: -18px -18px 18px; padding: 18px 45px 18px 18px; }
  body .panel-refined.assistant-panel-inner .details-top h2 { font-size: 23px; }
  body .panel-refined .assistant-form-section { border: 0; background: none; padding: 0; }
  body .panel-refined .assistant-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; border: 0; background: none; padding: 0; }
  body .panel-refined .assistant-form .wide { grid-column: 1/-1; }
  body .panel-refined .assistant-form-section > .panel-fold { margin-top: 16px; }
  body .panel-refined .assistant-form label { padding: 0; border: 0; background: none; }
  body .panel-refined .assistant-form textarea { font-family: inherit; }
  body .panel-refined .assistant-evaluate { min-height: 38px; margin-top: 14px; border: 1px solid #e5cfaa; border-radius: 8px; background: #fff1d8; color: #70552a; font-size: 13px; font-weight: 600; }
  body .panel-refined .assistant-result { border: 1px solid #e2e7ec; border-radius: 9px; padding: 14px; background: #f9fafb; }
  body .panel-refined .assistant-result > span { color: #909aa4; font-size: 11px; letter-spacing: 0; text-transform: none; }
  body .panel-refined .assistant-result h3 { font-size: 17px; margin: 7px 0; }
  body .panel-refined .assistant-result p { font-size: 13px; line-height: 1.5; color: #73808c; }
  body .panel-refined .assistant-result button { min-height: 36px; padding: 8px 12px; border: 1px solid #dde4e9; border-radius: 7px; color: #526371; background: #fff; font: inherit; font-size: 12px; }

  /* Selection is a single sheet, with the same fields and spacing as the catalogue. */
  body:has(.catalog-layout.with-details) .back-to-top, body.request-open .back-to-top { opacity: 0; visibility: hidden; pointer-events: none; }
  body .request-backdrop { background: #25313d38; backdrop-filter: none; }
  body .request-drawer { top: 12px; right: 12px; bottom: 12px; width: min(650px,calc(100vw - 24px)); border: 1px solid #dfe5ea; border-radius: 12px; background: #fff; box-shadow: 0 16px 60px #18293820; }
  body .request-drawer-head { min-height: 68px; padding: 14px 22px; border-bottom: 1px solid #edf0f3; border-radius: 12px 12px 0 0; }
  body .request-drawer-head span { color: #8d98a3; font-size: 10px; font-weight: 500; letter-spacing: .03em; }
  body .request-drawer-head h2 { font-size: 23px; font-weight: 600; }
  body .request-drawer-head > button { width: 30px; height: 30px; border: 0; border-radius: 7px; color: #788491; font: 23px/1 Arial,sans-serif; padding-bottom: 2px; }
  body .request-drawer-body { display: block; min-height: 0; padding: 18px 22px 24px; background: #fff; }
  body .request-lines-section, body .request-contact-section, body .bulk-entry { margin: 0; padding: 0; border: 0; border-radius: 0; background: #fff; }
  body .request-lines-section > header { min-height: 28px; margin: 0 0 12px; }
  body .request-lines-section > header h3 { font-size: 15px; font-weight: 600; }
  .request-heading-actions { display: flex; gap: 10px; }
  .request-heading-actions button { min-height: 28px; border: 0; padding: 4px 6px; background: transparent; color: #81909d; font: inherit; font-size: 12px; cursor: pointer; }
  .request-heading-actions button:hover { color: #5c6b79; background: #f7f8fa; border-radius: 5px; }
  .request-document-bar { display: grid; grid-template-columns: minmax(110px,1fr) auto; gap: 14px; align-items: center; padding: 12px 0 16px; margin-bottom: 0; border-top: 1px solid #edf0f3; }
  .request-document-bar .request-summary { display: flex; flex-direction: column; gap: 3px; padding: 0; border: 0; }
  .request-document-bar .request-summary > span { font-size: 11px; color: #8b96a0; }
  .request-document-bar .request-summary > strong { font-size: 23px; line-height: 1.25; font-weight: 600; color: #354351; }
  .request-document-bar .request-summary > small { display: none; }
  .request-document-bar .request-export-actions { display: flex; gap: 6px; margin: 0; align-items: center; }
  .request-document-bar .request-export-actions label { width: 104px; }
  .request-document-bar .request-export-actions label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .request-document-bar .request-export-actions select, .request-document-bar .request-export-actions button { height: 34px; padding: 6px 9px; border-color: #e1e6eb; border-radius: 7px; background: #fff; color: #65727f; font-size: 12px; }
  .request-document-bar .request-export-actions [data-download-request] { background: #fff3df; border-color: #e8d4b1; color: #765c33; }
  .request-document-bar .request-export-note { display: none; }
  body .request-line { grid-template-columns: 52px minmax(0,1fr) 28px; gap: 10px 12px; padding: 17px 0; border-color: #edf0f3; }
  body .request-line-copy strong { color: #354350; font-size: 17px; font-weight: 600; }
  body .request-line-copy > span { color: #8a96a1; font-size: 13px; }
  body .request-line-code small { color: #85929e; font-size: 10px; font-weight: 500; }
  body .request-line-code span { color: #a0a9b2; font-size: 9px; }
  body .request-line > button { width: 28px; height: 28px; background: transparent; border: 0; border-radius: 6px; color: #87939e; font: 20px/1 Arial,sans-serif; }
  body .request-line > button:hover { background: #f4f6f8; }
  .request-price-grid { gap: 10px; grid-template-columns: minmax(70px,1fr) 56px minmax(100px,1.2fr) minmax(100px,1.1fr); }
  body .request-editor input, body .request-editor select { height: 36px; padding: 7px 9px; border-color: #e1e6eb; border-radius: 7px; background: #fff; font-size: 14px; }
  body .request-editor input[type=number] { background: #fafbfc; }
  .request-editor label > span, .request-line-total > span { font-size: 11px; color: #89959f; }
  .request-line-total strong { min-height: 36px; font-size: 17px; font-weight: 600; color: #52616f; }
  .request-edit-details { margin-top: 6px; }
  .request-edit-details summary { font-size: 12px; color: #8a96a1; padding: 5px 0; }
  .request-edit-grid { gap: 12px; padding: 12px; border-radius: 8px; background: #f9fafb; }
  body .request-contact-section { margin-top: 14px; padding-top: 18px; border-top: 1px solid #e9edf0; }
  body .request-contact-section h3 { font-size: 17px; font-weight: 600; }
  body .request-contact-section .request-contact-note { text-align: left; margin: 3px 0 4px; color: #74828e; font-size: 14px; line-height: 1.5; }
  body .request-contact-grid label > span { font-size: 12px; text-transform: none; letter-spacing: 0; font-weight: 500; color: #7d8a96; }
  body .request-contact-grid input { height: 38px; padding: 8px 10px; font-family: inherit; font-size: 14px; border-color: #dfe5ea; border-radius: 7px; }
  body .request-submit { min-height: 36px; width: auto; justify-self: start; padding: 8px 16px; margin-top: 12px; border: 1px solid #e5cfaa; border-radius: 7px; background: #fff1d8; color: #70552a; font-size: 13px; font-weight: 600; }
  body .bulk-entry { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid #edf0f3; }
  body .bulk-entry[hidden] { display: none; }
  body .bulk-entry > div span { font-size: 17px; font-weight: 600; color: #425261; }
  body .bulk-entry > div small { margin-top: 4px; color: #88949f; font-size: 12px; }
  body .bulk-entry textarea { min-height: 110px; padding: 12px; border: 1px solid #dfe5ea; border-radius: 8px; background: #fbfcfd; color: #526371; font: inherit; font-size: 14px; line-height: 1.6; }
  body .bulk-entry button { min-height: 36px; border: 1px solid #e5cfaa; border-radius: 7px; background: #fff1d8; color: #70552a; font: inherit; font-size: 13px; padding: 7px 13px; }
  body .request-ready { padding: 20px 0; text-align: left; }
  body .request-ready > span { color: #87939e; font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none; }
  body .request-ready h3 { color: #344451; font-size: 24px; font-weight: 600; }
  body .request-ready p { font-size: 14px; line-height: 1.5; }
  body .request-ready > button { border: 1px solid #dfe5ea; border-radius: 7px; color: #637382; font: inherit; font-size: 13px; }
  body .request-ready .request-export-actions button { border-radius: 7px; font-size: 13px; }
  body .request-empty { display: grid; grid-template-columns: 1fr; gap: 16px; min-height: 170px; padding: 26px 0; border: 0; background: none; }
  body .request-empty strong { font-size: 21px; font-weight: 600; color: #445462; }
  body .request-empty p { font-size: 14px; color: #8b96a0; max-width: 390px; }
  body .request-empty-actions { display: flex; gap: 8px; }
  body .request-empty-actions button { height: 34px; min-width: 0; font-size: 12px; border-color: #e0e5e9; border-radius: 7px; color: #647482; font-weight: 500; }
  body .city-filter-menu, body .price-warehouse-menu, body .search-suggestions { border: 1px solid #e1e6eb; border-radius: 9px; box-shadow: 0 6px 20px #26384612; background: #fff; }
}
@media(max-width:1150px) {
  body .group-filter-inline { display: grid; grid-template-columns: minmax(0,1fr) 87px 24px; gap: 4px 6px; }
  body .group-filter-inline .group-subform { grid-column: 1; grid-row: 1; width: 100%; max-width: 240px; }
  .group-size-control { grid-column: 1/-1; grid-row: 2; width: 100%; max-width: none; }
  body .group-filter-inline .group-sort { grid-column: 2; grid-row: 1; margin: 0; }
  body .group-filter-inline .group-filter-clear { grid-column: 3; grid-row: 1; }
  .group-size-info { display: none; }
}
@media(max-width:900px) {
  body .m-stock-group > header { align-items: stretch; gap: 4px; margin-bottom: 8px; }
  body .m-stock-group > header h3 { font-size: 16px; }
  body .m-stock-group > header > span { font-size: 11px; }
  body .group-filter-inline { margin-top: 4px; min-height: 0; padding: 0; border: 0; background: none; }
  body .group-filter-inline select { height: 34px; font-size: 13px; }
  body .group-filter-inline .group-metric { flex-basis: 85px; width: 85px; min-width: 60px; font-size: 12px; }
  body .group-filter-inline .group-size-value { flex-basis: 95px; height: 34px; width: 95px; font-size: 16px; padding: 4px; }
  .group-size-control { gap: 3px; min-width: 0; }
  .group-range { height: 36px; min-width: 65px; margin-right: 7px; }
  .group-range-rail, .group-range-fill { top: 17px; }
  body .group-filter-inline .group-range input { height: 36px; }
  .group-range input::-webkit-slider-thumb { width: 18px; height: 18px; margin-top: -8px; }
  .group-range input::-moz-range-thumb { width: 16px; height: 16px; }
  body .m-assistant-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 10px; padding: 0; border: 0; background: transparent; }
  body .m-assistant-form > .wide, body .m-assistant-form > .panel-fold { grid-column: 1/-1; }
  body .m-assistant-form label { min-width: 0; margin: 0; }
  body .m-assistant-form .panel-fold { margin: 0; }
  body .m-assistant-form .panel-fold .m-mobile-form { padding: 0; gap: 14px; border: 0; }
  body .m-assistant-form input, body .m-assistant-form select, body .m-assistant-form textarea { min-width: 0; font: inherit; font-size: 16px; }
  body .m-assistant-form label > span { font-size: 12px; }
  .refined-mobile-detail .m-mobile-form, .m-assistant-form, .m-request-section, .m-request-contact, .m-bulk-field { box-shadow: none; }
  .refined-mobile-detail .m-mobile-form { border: 0; padding: 0; background: none; }
  .refined-mobile-detail .m-mobile-form input, .refined-mobile-detail .m-mobile-form textarea, .m-assistant-form input, .m-assistant-form textarea { background: #fff; font-family: inherit; border-color: #e1e6eb; border-radius: 8px; }
  body .m-overlay-action-bar { padding-top: 8px; padding-bottom: max(8px,env(safe-area-inset-bottom)); box-shadow: 0 -3px 12px #27354306; border-color: #e5eaee; }
  body .m-overlay-action-bar .primary, body .m-page-action-bar .primary { background: #fff0d5 !important; color: #755a30 !important; border: 1px solid #e8cfa3 !important; border-radius: 8px; }
  body .m-service-list button { border-color: #e4e9ed; }
  body .m-service-list button.active { background: #fff7e9; color: #806138; }
  body .m-request-item { border-color: #e4e9ed; border-radius: 10px; box-shadow: none; }
  body .request-editor input[type=number] { background: #fafbfc; }
  .m-request-section .request-export-actions button { border-radius: 8px; background: #fff3df; border-color: #e8d4b1; }
  .m-request-section .request-export-actions .request-print { background: #fff; border-color: #e1e6eb; }
  body .m-mobile-form label > span { color: #7c8b98; letter-spacing: 0; text-transform: none; }
  body .m-mobile-form textarea { font-family: inherit; }
}
@media(prefers-reduced-motion:reduce) {
  body .sticky-shape-nav, body .filter-bar { transition: none; }
}

/* Shared finish: keep the catalogue grid; unify borders, surfaces and controls. */
:root {
  --ink: #25313b; --muted: #6e7a86; --line: #e3e8ed; --line-strong: #d6dee5;
  --surface: #f7f9fb; --amber: #d3af74; --amber-soft: #fff7ea;
  --ui-line: #e0e6ec; --ui-ink: #34414d; --ui-muted: #6e7b87;
  --ui-wash: #f7f9fb; --ui-selection: #fff7ea; --ui-radius: 8px;
  --ui-control-shadow: 0 1px 2px #24354806;
}
body :is(.city-nav a,.company-site-header nav a,.company-back,.footer-contact-link) { transition: color 160ms ease; }
body :is(.company-button,.contact-city-links a,.manufacture-invitation button,.panel-order-note button) { border: 1px solid var(--ui-line); border-radius: var(--ui-radius); background: #fff; color: var(--ui-ink); box-shadow: var(--ui-control-shadow); transition: background-color 160ms ease,border-color 160ms ease,box-shadow 160ms ease; }
body :is(.company-button,.contact-city-links a,.manufacture-invitation button,.panel-order-note button):hover { border-color: #c7d0da; background: #f7f9fb; box-shadow: 0 2px 5px #24354809; }
body .company-button.primary { background: var(--ui-selection); border-color: #e6d3b3; color: #745b36; }
body .company-button.primary:hover { background: #fff0d8; border-color: #d9be90; }
body :is(.contact-card,.workshop-card,.company-metrics > div,.production-contacts,.branch-hero,.branch-card) { border-color: var(--ui-line); border-radius: 10px; box-shadow: var(--ui-control-shadow); }
body .production-contacts, body .branch-hero { background: #f8fafb; }
body .company-eyebrow { color: #81704f; font-weight: 600; letter-spacing: .055em; }
body .contact-map { border-color: var(--ui-line); }
body .panel-order-note { padding: 12px; background: #f7f9fb; border: 1px solid #e9edf1; border-radius: 9px; }
body .panel-order-note button { min-height: 36px; padding: 8px 12px; gap: 14px; text-align: left; line-height: 1.4; }
body .panel-order-note button > span { flex-shrink: 0; }
body .group-filter-inline { gap: 10px; }
body .group-filter-inline .group-subform, body .group-filter-inline .group-sort { height: 36px; border: 1px solid var(--ui-line); border-radius: 7px; background: #fff; box-shadow: var(--ui-control-shadow); color: #596977; padding-left: 10px; }
body .group-filter-inline .group-sort { width: 95px; flex-basis: 95px; font-size: 12px; }
body .group-size-control { height: 36px; padding: 3px 9px 3px 3px; gap: 5px; max-width: 460px; min-width: 245px; border: 1px solid var(--ui-line); border-radius: 7px; background: #fff; box-shadow: var(--ui-control-shadow); }
body .group-size-control:focus-within { border-color: #d4bd95; }
body .group-filter-inline .group-metric { height: 28px; flex-basis: 90px; width: 90px; min-width: 60px; border: 0; background: transparent; font-size: 12px; padding-left: 6px; }
body .group-filter-inline .group-size-value { flex-basis: 98px; width: 98px; height: 24px; padding: 2px 6px; border: 0; border-left: 1px solid #e7ecf0; border-right: 1px solid #e7ecf0; border-radius: 0; background: transparent; color: #435361; font-size: 12px; }
body .group-filter-inline .group-size-value::placeholder { color: #83909d; }
body .group-filter-inline .group-size-value:focus { outline: none; background: #f9fafb; }
body .group-filter-inline .group-size-value[aria-invalid=true] { background: #fff4f0; box-shadow: inset 0 -1px #bd7667; }
body .group-range { margin: 0 3px 0 7px; height: 28px; min-width: 64px; }
body .group-range-rail, body .group-range-fill { top: 13px; height: 2px; }
body .group-range-fill { background: #aa906b; }
body .group-filter-inline .group-range input { height: 28px; }
body .group-range input::-webkit-slider-thumb { width: 13px; height: 13px; margin-top: -5.5px; border: 1px solid #92a0ae; box-shadow: 0 1px 3px #25354818; }
body .group-range input::-moz-range-thumb { width: 11px; height: 11px; border: 1px solid #92a0ae; box-shadow: 0 1px 3px #25354818; }
body .group-range input:hover::-webkit-slider-thumb { border-color: #8f7753; }
body .group-range input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px #dbc7a847; }
@media(min-width:901px) {
  body :is(.global-search,.city-filter-toggle,.request-button,.search-shortcuts,.status-filter-toggle,.filter-reset,.grade-search,.price-warehouse-toggle) { border: 1px solid var(--ui-line); border-radius: var(--ui-radius); background: #fff; box-shadow: var(--ui-control-shadow); }
  body :is(.city-filter-toggle,.request-button,.search-shortcuts button,.status-filter-toggle,.filter-reset,.grade-row,.price-row .details-trigger,.price-row .add-button,.catalog-mode,.group-more) { transition: background-color 160ms ease,border-color 160ms ease,color 160ms ease,box-shadow 160ms ease; }
  body :is(.global-search,.grade-search):focus-within { border-color: #d2bb94; box-shadow: 0 0 0 2px #f5ecdc; }
  body :is(.city-filter-toggle,.request-button,.status-filter-toggle,.filter-reset):hover { border-color: #c7d1db; background: #fafbfc; }
  body .search-shortcuts { overflow: hidden; }
  body .search-shortcuts button { border: 0; border-radius: 0; background: #fff; color: #465462; }
  body .search-shortcuts button + button { border-top: 1px solid var(--ui-line); }
  body .search-shortcuts button:hover { background: #f6f8fa; }
  body .request-button.has-items { border-color: #d8bc8d; background: #fffbf3; }
  body .request-button #requestCount { border: 1px solid #e1e6eb; background: #f5f7f9; color: #4d5e6d; border-radius: 5px; }
  body .request-button.has-items #requestCount { background: #fff0d5; border-color: #ead1a5; color: #72592e; }
  body .shape-strip { border-color: var(--ui-line); border-radius: 9px; box-shadow: var(--ui-control-shadow); }
  body .shape-strip > .shape-button { transition: background-color 160ms ease,border-color 160ms ease; }
  body .shape-strip > .shape-button:hover { background: #f9fafb; }
  body .shape-strip > .shape-button.active, body .shape-strip > .shape-button:first-child.active, body .shape-strip > .shape-button:last-child.active { border-color: #d8bb8c !important; background: #fffbf3 !important; }
  body .catalog-mode { border: 1px solid var(--ui-line); border-radius: var(--ui-radius); box-shadow: var(--ui-control-shadow); background: #fff; }
  body .catalog-mode:not(.active):hover { border-color: #c7d1db; background: #f9fafb; }
  body .catalog-mode.active, body .catalog-mode[aria-pressed=true] { border-color: #e5d0ad; background: #fff7ea !important; }
  body .catalog-mode b { border-color: #e2e7ed; border-radius: 5px; color: #71808c; background: #fff; }
  body .catalog-mode.active b { border-color: #e7d6b9; color: #866b3e; }
  body .filter-bar { border-color: #e9dcc5; border-radius: var(--ui-radius); background: #fff8ec; }
  body .active-chip { border: 1px solid #e1d5bf; border-radius: 6px; background: #fffdf8; box-shadow: var(--ui-control-shadow); }
  body .active-chip-remove { background: transparent; border-left-color: #ece3d5; }
  body .grade-sidebar, body .price-list-head, body .product-list, body .details-panel { border-color: var(--ui-line); border-radius: 9px; }
  body .grade-sidebar { box-shadow: var(--ui-control-shadow); }
  body .grade-row:hover { background: #f6f8fa; }
  body #gradeList .grade-row.active { background: #fff8eb; color: #745e3b; }
  body #gradeList .grade-row.active .grade-entry { box-shadow: none; }
  body .remelt-filter { border-color: var(--ui-line); border-radius: 7px; background: #fafbfc; }
  body .remelt-filter.active { background: #fff7ea; border-color: #ddc69f; }
  body .price-list-head { background: #f7f9fb; color: #7a8793; }
  body .price-row { border-color: #e9edf1; }
  body .price-row:not(.selected):hover { background: #fafbfc; }
  body .price-row .details-trigger, body .price-row .add-button { box-shadow: var(--ui-control-shadow); border-color: #dce3e9; }
  body .price-row .details-trigger:hover { background: #f7f9fb; border-color: #c5ced8; }
  body .product-entry.selected-entry { border-color: #d7bd94 !important; }
  body .price-row.selected .details-trigger { background: #fff7e9; border-color: #e3cda9; color: #795f36; }
  body .services-cell button { border-color: #e3e8ed; border-radius: 5px; background: #fff; color: #73808c; }
  body .services-cell button:hover { background: #f6f8fa; border-color: #ccd6df; }
  body .group-more { min-height: 48px; padding: 10px 16px; border-color: var(--ui-line); background: #fafbfc; color: #526271; }
  body .group-more:hover { background: #f4f7f9; }
  body .group-more i { width: 24px; height: 24px; border-color: #dce3e9; background: #fff; color: #778491; }
  body .group-more span { font-weight: 500; font-size: 13px; }
  body .group-more small { color: #788592; }
  body .product-list > .manufacture-invitation { padding: 16px; border-color: var(--ui-line); background: #fafbfc; }
  body :is(.city-filter-menu,.status-filter-menu,.price-warehouse-menu,.search-suggestions) { border: 1px solid var(--ui-line); border-radius: 8px; box-shadow: 0 6px 20px #25394b12; }
  body :is(.city-filter-menu,.status-filter-menu,.price-warehouse-menu) button { border-radius: 5px; }
  body .selection-workspace { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 10px; padding: 13px 16px; background: #f9fbfc; border-top: 1px solid var(--ui-line); }
  .selection-order-line { width: 100%; display: flex; align-items: center; gap: 12px; min-width: 0; }
  .selection-quantity { flex: 0 0 100px; width: 100px; display: grid; gap: 4px; }
  .selection-quantity > span { font-size: 11px; color: #6e7d89; }
  .selection-quantity > div { display: flex; align-items: center; height: 32px; border: 1px solid #dce3e9; border-radius: 6px; background: #fff; padding-right: 9px; }
  .selection-quantity input { width: 100%; min-width: 0; padding: 5px 8px; height: 30px; border: 0; border-radius: 6px; background: transparent; color: #435361; font: inherit; font-size: 14px; outline: 0; }
  .selection-quantity > div:focus-within { outline: 2px solid #ede0cb; border-color: #d2b586; }
  .selection-quantity input:disabled { color: #6c7a86; opacity: 1; }
  .selection-quantity > div > span { font-size: 12px; color: #8a96a1; }
  .selection-order-note { flex: 1 1 auto; max-width: 320px; font-size: 12px; line-height: 1.5; color: #73818d; margin: 0; }
  body .selection-workspace .row-primary { display: flex; gap: 12px; align-items: center; justify-content: center; flex-shrink: 0; margin-left: auto; height: 34px; padding: 7px 11px; border: 1px solid #e3cda8; border-radius: 7px; background: #fff5e4; color: #745a32; box-shadow: var(--ui-control-shadow); font: inherit; font-size: 12px; font-weight: 600; }
  .selection-alternatives { width: 100%; display: flex; flex-wrap: wrap; gap: 7px; padding-top: 10px; border-top: 1px solid #e8edf1; }
  body .selection-alternatives button { display: inline-flex; align-items: center; gap: 12px; min-height: 32px; height: 32px; margin: 0; padding: 6px 9px; border: 1px solid #e0e6ec; border-radius: 6px; background: #fff; color: #647481; font: inherit; font-size: 12px; line-height: 1.4; cursor: pointer; box-shadow: var(--ui-control-shadow); transition: background-color 160ms ease,border-color 160ms ease; }
  body .selection-alternatives button:hover { border-color: #c7d0da; background: #f5f8fa; }
  .selection-candidate-note { margin: 0; color: #7d8a96; font-size: 11px; line-height: 1.4; }
  body .selection-workspace .selection-remove { flex-shrink: 0; width: 28px; height: 30px; padding: 0; border: 0; border-radius: 6px; background: none; color: #87939e; font: 20px/1 Arial,sans-serif; cursor: pointer; }
  body .selection-workspace .selection-remove:hover { background: #edf1f4; }
}
@media(min-width:901px) and (max-width:1150px) {
  body .selection-order-line { flex-wrap: wrap; gap: 8px; }
  .selection-order-note { font-size: 11px; max-width: none; flex: 1 1 140px; }
  body .selection-workspace .row-primary { margin-left: 0; }
}
@media(max-width:1150px) {
  body .group-filter-inline { grid-template-columns: minmax(0,1fr) 95px 24px; gap: 6px; }
  body .group-size-control { max-width: none; width: 100%; }
}
@media(max-width:900px) {
  body .group-filter-inline .group-subform { font-size: 13px; }
  body .group-size-control { height: 40px; padding-right: 7px; min-width: 0; }
  body .group-filter-inline .group-size-value { font-size: 16px; width: 98px; flex-basis: 98px; }
  body .group-filter-inline .group-metric { width: 70px; flex-basis: 70px; min-width: 60px; }
  body .group-range, body .group-filter-inline .group-range input { height: 34px; }
  body .group-range-rail, body .group-range-fill { top: 16px; }
  body .group-range input::-webkit-slider-thumb { width: 18px; height: 18px; margin-top: -8px; }
  body .group-range input::-moz-range-thumb { width: 16px; height: 16px; }
  body .m-product-card, body .m-request-item, body .m-category-chip, body .m-filter-link { border-color: var(--ui-line); border-radius: 9px; box-shadow: var(--ui-control-shadow); }
  body .m-mode-switch { background: #f1f4f6; border-color: var(--ui-line); border-radius: 9px; }
  body .m-load-more { border-color: var(--ui-line); border-radius: 7px; color: #586b7b; background: #f8fafb; }
  body .m-load-more:hover { background: #f2f6f8; }
  body .m-service-list button, body .m-mobile-form input, body .m-mobile-form select, body .m-mobile-form textarea { border-color: #dce3e9; border-radius: 7px; }
}
@media(prefers-reduced-motion:reduce) {
  body :is(button,a,input,select,.filter-bar,.sticky-shape-nav) { transition: none !important; }
}
