body.mobile-price-view-active { background: #f7f8fb; }
.tablet-price-list { display: none; }
@media (min-width: 641px) and (max-width: 900px) {
  .tablet-price-list { min-height: 42px; display: flex; align-items: center; gap: 4px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--brand-dark); background: white; font-size: 12px; cursor: pointer; }
  .tablet-price-list svg { width: 18px; height: 18px; }
}
body.mobile-price-view-active .site-header,
body.mobile-price-view-active main > .hero,
body.mobile-price-view-active main > .service-strip,
body.mobile-price-view-active main > .department-section,
body.mobile-price-view-active main > .catalog-section,
body.mobile-price-view-active .mobile-portal,
body.mobile-price-view-active .mobile-discovery-intro { display: none; }
body.mobile-price-view-active .mobile-price-view { display: block; }
.mobile-price-view { max-width: 1100px; min-height: 80vh; margin: 0 auto; padding: 0 24px 48px; }
.mobile-price-sticky-head { position: sticky; top: 0; z-index: 20; height: var(--quote-expanded-height, auto); pointer-events: none; }
.mobile-price-sticky-layers { display: flow-root; background: #f7f8fb; box-shadow: 0 1px 0 #d9e4e9; pointer-events: auto; }
.mobile-price-primary-layer { display: flow-root; padding-top: calc(20px + env(safe-area-inset-top)); }
.mobile-price-category-layer { height: var(--quote-category-height, 60px); overflow: hidden; opacity: 1; transition: height 160ms ease, opacity 160ms ease; }
.mobile-price-category-layer.is-collapsed { height: 0; opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .mobile-price-category-layer { transition: none; } }
.mobile-price-view .mobile-view-header { min-height: 60px; display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; align-items: center; gap: 8px; }
.mobile-price-view .mobile-view-header > button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 6px; color: var(--ink); background: transparent; cursor: pointer; }
.mobile-price-view .mobile-view-header > button svg { width: 22px; height: 22px; }
.mobile-price-view .mobile-view-header > .mobile-price-download { height: 44px; gap: 0; align-content: center; border: 1px solid #b4cddb; background: white; color: var(--brand-dark); }
.mobile-price-download small { font: 700 9px/1.1 Arial,sans-serif; }
.mobile-price-download:disabled { opacity: .55; cursor: wait; }
.quote-pdf-dialog { width: min(480px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); overflow: hidden; }
.quote-pdf-dialog[open] { display: flex; }
.quote-pdf-confirm-form { display: flex; flex-direction: column; width: 100%; min-width: 0; max-height: inherit; margin: 0; }
.quote-pdf-dialog-header { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 8px 20px; border-bottom: 1px solid #e5ecef; }
.quote-pdf-dialog-header h2 { margin: 0; font-size: 20px; color: #254f65; }
.quote-pdf-dialog-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 6px; color: #526771; background: transparent; cursor: pointer; }
.quote-pdf-dialog-close svg { width: 22px; height: 22px; }
.quote-pdf-dialog-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 20px; font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.quote-pdf-dialog-body p { margin: 0; }
.quote-export-format { display: flex; gap: 12px; margin: 16px 0 0; padding: 0; border: 0; }
.quote-export-format[hidden] { display: none; }
.quote-export-format legend { margin-bottom: 8px; color: #254f65; font-weight: 700; }
.quote-export-format label { display: flex; align-items: center; gap: 8px; min-width: 100px; padding: 8px 12px; border: 1px solid #b4cddb; border-radius: 6px; cursor: pointer; }
.quote-export-format input { accent-color: var(--brand); }
.quote-pdf-dialog-body ul { display: grid; gap: 12px; margin: 14px 0; padding: 0; list-style: none; }
.quote-pdf-dialog-body li strong, .quote-pdf-dialog-body li span { display: block; }
.quote-pdf-dialog-body li strong { color: #254f65; }
.quote-pdf-dialog-current { flex-shrink: 0; margin: 12px 20px 0; padding: 10px 12px; border: 1px solid #cbdfe9; border-radius: 6px; background: #edf5fa; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.quote-pdf-dialog-current strong { display: block; color: #206387; font-size: 16px; }
.quote-pdf-dialog-body .quote-pdf-dialog-hint { margin-top: 12px; color: #526771; font-size: 14px; }
.quote-pdf-dialog-actions { display: grid; flex-shrink: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px 20px 16px; border-top: 1px solid #e5ecef; }
.quote-pdf-dialog-actions button { min-width: 0; min-height: 46px; padding: 10px 6px; border: 1px solid #b4cddb; border-radius: 6px; color: #254f65; background: white; font: inherit; font-weight: 700; cursor: pointer; }
.quote-pdf-dialog-actions #quote-pdf-confirm { color: white; background: var(--brand); border-color: var(--brand); }
.quote-pdf-dialog button:focus-visible { outline: 2px solid var(--brand-dark); outline-offset: 2px; }
.mobile-price-view .mobile-view-header > div { min-width: 0; text-align: center; }
.mobile-price-view .mobile-view-header span { display: block; color: var(--brand); font: 800 10px/1.2 Arial,sans-serif; }
.mobile-price-view .mobile-view-header h1 { margin: 4px 0; font-size: 24px; line-height: 1.4; }
.mobile-price-search { height: 46px; display: flex; align-items: center; margin: 12px 0; border: 1px solid #cedce3; border-radius: 6px; background: white; }
.mobile-price-search > svg { width: 18px; margin-left: 13px; color: #74868f; }
.mobile-price-search input { min-width: 0; flex: 1; height: 100%; padding: 0 10px; border: 0; outline: 0; background: transparent; font-size: 16px; }
.mobile-price-search button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; color: #788890; background: transparent; cursor: pointer; }
.mobile-price-search button svg { width: 16px; }
.mobile-price-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); height: auto; min-height: 46px; border: 1px solid #cbdbe3; border-radius: 6px; background: white; }
.mobile-price-tabs button { min-width: 0; min-height: 44px; padding: 8px 4px; border: 0; border-right: 1px solid #cbdbe3; background: transparent; font-size: 14px; font-weight: 800; cursor: pointer; }
.mobile-price-tabs button:last-child { border-right: 0; }
.mobile-price-tabs button.active { color: white; background: var(--brand); }
.mobile-price-category-jump { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 0; color: #254f65; font-size: 14px; font-weight: 700; }
.mobile-price-category-jump > span { flex-shrink: 0; }
.mobile-price-category-jump select { display: block; flex: 1; min-width: 0; width: 0; min-height: 44px; padding: 8px; border: 1px solid #b4cddb; border-radius: 6px; color: #254f65; background: white; font: inherit; font-size: 16px; cursor: pointer; }
.mobile-price-category-jump select:disabled { opacity: .6; cursor: default; }
.mobile-price-category-jump select:focus-visible { outline: 2px solid var(--brand-dark); outline-offset: 1px; }
.mobile-price-category h2:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.mobile-price-summary { min-height: 44px; display: flex; align-items: center; padding: 8px 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.mobile-price-table-heading, .mobile-price-row { display: grid; grid-template-columns: minmax(0,1fr) 180px 160px; gap: 16px; }
.mobile-price-table-heading { align-items: center; padding: 4px 14px; color: #526771; background: #e9f0f3; font-size: 13px; font-weight: 800; }
.mobile-price-table-heading > span:last-child { text-align: right; }
#mobile-price-unit-toggle { display: flex; align-items: center; justify-content: flex-end; gap: 3px; min-height: 40px; padding: 0; border: 0; color: #536b78; background: transparent; font: inherit; cursor: pointer; }
#mobile-price-unit-toggle svg { width: 14px; height: 14px; flex-shrink: 0; margin-left: 2px; }
#mobile-price-unit-toggle[aria-pressed="false"] > span:first-child,
#mobile-price-unit-toggle[aria-pressed="true"] > span:nth-child(3) { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 4px; }
.mobile-price-list { border: 1px solid #d9e4e9; border-top: 0; background: white; }
.quote-pagination { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 10px 0; }
.quote-pagination > span { min-width: 0; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; overflow-wrap: anywhere; }
.quote-pagination button, #mobile-price-retry { min-height: 44px; min-width: 60px; padding: 8px 10px; border: 1px solid #b4cddb; border-radius: 6px; color: var(--brand-dark); background: white; font: inherit; cursor: pointer; }
.quote-pagination button:disabled { color: #84929b; background: #f1f4f6; cursor: default; }
#mobile-price-pagination-bottom { margin-top: 8px; }
.mobile-price-category h2 { position: sticky; top: var(--quote-sticky-height, 280px); z-index: 10; display: flex; align-items: baseline; gap: 12px; margin: 0; padding: 11px 14px; color: #254f65; background: #f0f5f8; border-bottom: 1px solid #d9e4e9; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.mobile-price-category .mobile-price-row { scroll-margin-top: calc(var(--quote-sticky-height, 280px) + 68px); }
.mobile-price-category h2 > span { flex-shrink: 0; margin-left: auto; color: #687f8b; font-size: 12px; font-weight: 400; }
.mobile-price-row { width: 100%; min-height: 96px; align-items: start; padding: 22px 14px; border: 0; border-bottom: 1px solid #e5ecef; background: white; text-align: left; cursor: pointer; scroll-margin-top: calc(var(--quote-sticky-height, 280px) + 8px); scroll-margin-bottom: calc(84px + env(safe-area-inset-bottom)); }
.mobile-price-row:hover { background: #f7fafc; }
.mobile-price-row:last-child { border-bottom: 0; }
.quote-price-notice { grid-column: 1 / -1; display: grid; gap: 3px; padding: 9px 10px; border-radius: 4px; background: #f7f8fb; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.quote-price-notice strong { font-size: 13px; }
.quote-price-notice.up { color: #a34219; background: #fff3ec; }
.quote-price-notice.down { color: #216547; background: #edf8f1; }
.quote-price-notice small, .quote-price-notice.review { color: #687c86; font-size: 12px; }
.mobile-price-product, .mobile-price-amount, .mobile-price-stock { min-width: 0; display: grid; }
.mobile-price-product strong { overflow: visible; font-size: 16px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.mobile-price-product small { margin-top: 4px; color: var(--muted); white-space: normal; overflow-wrap: anywhere; font: 12px/1.4 Arial,sans-serif; }
.mobile-price-amount, .mobile-price-stock { justify-items: end; text-align: right; }
.mobile-price-amount > .order-standard-price, .mobile-price-amount strong { color: #206387; white-space: normal; overflow-wrap: normal; font: 800 16px/1.5 Arial,sans-serif; }
.mobile-price-amount > .order-discount-price { display: grid; grid-template-columns: minmax(0,1fr); justify-items: end; gap: 2px; white-space: normal; }
.mobile-price-amount del { color: #84929b; font: 12px/1.3 Arial,sans-serif; }
.mobile-price-amount small, .mobile-price-stock small { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.mobile-price-amount .order-discount-price small { margin-top: 0; color: #ac5b0b; }
.mobile-price-stock strong { color: var(--green-dark); font-size: 13px; line-height: 24px; overflow-wrap: anywhere; }
.mobile-price-stock.out-of-stock strong, .mobile-price-stock.wholesale-suspended strong { color: var(--red); }
.mobile-price-stock.stock-review strong { color: #9a5b00; }
body.sales-stock-tool .mobile-price-table-heading,
body.sales-stock-tool .mobile-price-row { grid-template-columns: minmax(0,1fr) minmax(190px,220px) minmax(230px,280px); }
body.sales-stock-tool #mobile-price-unit-toggle { cursor: default; opacity: 1; }
.sales-stock-prices { gap: 5px; }
.sales-stock-prices > span { display: grid; grid-template-columns: 64px minmax(0,1fr); align-items: baseline; gap: 8px; }
.sales-stock-prices > span > small { margin: 0; color: #657984; font-size: 11px; font-weight: 800; }
.sales-stock-prices > span > strong { color: #206387; font-size: 15px; }
.sales-stock-prices > span > .sales-stock-price-unavailable { color: #a04c31; font-size: 13px; }
.sales-stock-prices > em { color: var(--muted); font-size: 11px; font-style: normal; }
.sales-stock-inventory { gap: 3px; }
.sales-stock-inventory strong { font-size: 14px; }
.sales-stock-inventory small { margin-top: 0; }
.mobile-price-empty { min-height: 210px; display: grid; place-items: center; align-content: center; gap: 8px; color: var(--muted); text-align: center; }
.mobile-price-empty svg { width: 34px; height: 34px; color: #8399a4; }
.mobile-price-empty strong { color: var(--ink); }
.mobile-price-empty span { font-size: 13px; }
.mobile-price-view button:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.product-dialog.quote-images-only { width: min(680px,calc(100vw - 24px)); }
.quote-images-only .product-detail-media { padding: 48px 18px 18px; }
.quote-images-only .detail-gallery-stage { max-height: min(55dvh,520px); }
.quote-images-only .detail-gallery-count { display: flex; align-items: center; justify-content: center; gap: 3px; }
.quote-images-only .product-detail-media > .image-placeholder { min-height: 240px; }
@media (max-width: 640px) {
  .mobile-price-view { padding: 0 max(10px,env(safe-area-inset-right)) 32px max(10px,env(safe-area-inset-left)); min-height: calc(100dvh - 64px - env(safe-area-inset-bottom)); }
  .mobile-price-primary-layer { padding-top: calc(10px + env(safe-area-inset-top)); }
  .mobile-price-view .mobile-view-header h1 { font-size: 20px; }
  .mobile-price-tabs button { min-height: 48px; padding: 10px 4px; font-size: 14px; line-height: 1.5; }
  .mobile-price-summary { font-size: 12px; }
  .mobile-price-table-heading { grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 6px 12px; font-size: 13px; }
  .mobile-price-table-heading > span:last-child { display: none; }
  #mobile-price-unit-toggle { min-width: 132px; min-height: 44px; justify-content: center; padding: 8px 10px; border: 1px solid #b4cddb; border-radius: 6px; background: white; font-size: 14px; }
  .mobile-price-category h2 { padding: 11px 12px; font-size: 14px; }
  .mobile-price-category h2 > span { font-size: 12px; }
  .mobile-price-row { grid-template-columns: minmax(0,1fr) clamp(96px,20vw,122px) clamp(78px,24vw,136px); gap: 12px; padding: 22px 12px; }
  .mobile-price-product strong { font-size: 15px; line-height: 1.6; }
  .mobile-price-product small { font-size: 12px; }
  .mobile-price-amount > .order-standard-price, .mobile-price-amount strong { font-size: 16px; }
  .mobile-price-amount del, .mobile-price-amount small, .mobile-price-stock small { font-size: 12px; }
  .mobile-price-stock strong { font-size: 13px; }
  body.sales-stock-tool .mobile-price-table-heading { grid-template-columns: minmax(0,1fr) minmax(114px, 42vw); }
  body.sales-stock-tool .mobile-price-table-heading > span:last-child { display: none; }
  body.sales-stock-tool .mobile-price-row { grid-template-columns: minmax(0,1fr) minmax(126px,44vw); gap: 10px; padding-block: 15px; }
  body.sales-stock-tool .sales-stock-row .mobile-price-product { grid-column: 1; grid-row: 1; }
  body.sales-stock-tool .sales-stock-prices { grid-column: 2; grid-row: 1 / span 2; }
  body.sales-stock-tool .sales-stock-inventory { grid-column: 1 / -1; grid-row: 2; justify-items: start; padding-top: 8px; border-top: 1px solid #e5ecef; text-align: left; }
  .sales-stock-prices > span { grid-template-columns: 52px minmax(0,1fr); gap: 5px; }
  .sales-stock-prices > span > strong { font-size: 13px; }
  .sales-stock-inventory strong { font-size: 13px; }
}
@media (max-height: 500px) {
  .mobile-price-primary-layer { padding-top: env(safe-area-inset-top); }
  .mobile-price-view .mobile-view-header { min-height: 44px; }
  .mobile-price-view .mobile-view-header h1 { margin: 2px 0; font-size: 18px; }
  .mobile-price-search { height: 44px; margin: 6px 0; }
  .mobile-price-tabs, .mobile-price-tabs button { min-height: 44px; }
  .mobile-price-tabs button { padding: 6px 4px; }
  .mobile-price-summary { min-height: 32px; padding: 5px 0; font-size: 12px; }
}

body.sales-tool-embedded .mobile-price-primary-layer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 8px; }
body.sales-tool-embedded .mobile-price-view .mobile-view-header { order: 2; flex: 0 0 44px; display: block; height: 46px; min-height: 0; }
body.sales-tool-embedded #mobile-price-back,
body.sales-tool-embedded .mobile-price-view .mobile-view-header > div { display: none; }
body.sales-tool-embedded .mobile-price-search { order: 1; flex: 1 1 200px; margin: 0; }
body.sales-tool-embedded .mobile-price-tabs { order: 3; flex: 1 1 100%; }
body.sales-tool-embedded .mobile-price-summary { order: 4; flex: 1 1 100%; }
