/* Changes made on the new site, loaded after the old theme's stylesheets. */

/* #64: compact mini-cart, one row per item; the list scrolls after about 8 items so the subtotal
   and "View Quoting Cart" stay on screen. */
.header-minicart .mc-head,
.header-minicart .mc-compact li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-minicart .mc-head {
  padding: 4px 15px 4px 16px;
  font-size: 11px;
  text-transform: uppercase;
  color: #636363;
  border-bottom: 1px solid #DDDDDD;
}
.header-minicart .mc-scroll {
  max-height: 272px; /* about 8 rows */
  overflow-y: auto;
}
.header-minicart .mini-products-list.mc-compact { padding: 0 10px; }
.header-minicart .mini-products-list.mc-compact li { padding: 6px 5px 6px 6px; margin: 0; line-height: 1.3; }
.header-minicart .mini-products-list.mc-compact li:after { display: none; }
.header-minicart .mc-pn { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-minicart .mc-compact .mc-pn { font-weight: bold; color: #3399cc; font-size: 11px; }
.header-minicart .mc-qty { flex: 0 0 30px; text-align: right; }
.header-minicart .mc-price { flex: 0 0 68px; text-align: right; }
.header-minicart .mc-compact .mc-price { color: #3399cc; }
.header-minicart .mc-remove { flex: 0 0 14px; text-align: center; }
.header-minicart .mc-compact .mc-remove { color: #636363; font-size: 18px; line-height: 1; text-decoration: none; }
.header-minicart .mc-compact .mc-remove:hover { color: #cc0000; }

/* #77–#80: Register page. The "done business with us" question on top (with the optional Customer ID
   box), First and Last Name on one line, and slightly tighter rows. */
.register-compact .form-list > li,
.register-compact ul > li { margin-bottom: 3px; }
.register-compact .form-list .field,
.register-compact .form-list .wide,
.register-compact .field { margin-bottom: 2px; }
.register-compact label { margin-bottom: 1px; }
.register-compact .name-row { display: flex; gap: 10px; max-width: 365px; }
.register-compact .name-row .field { flex: 1 1 0; min-width: 0; margin-bottom: 0; }
.register-compact .name-row .field label { width: auto !important; }
.register-compact .name-row .input-text { width: 100%; }
@media only screen and (max-width: 479px) {
  .register-compact .name-row { display: block; }
  .register-compact .name-row .field { margin-bottom: 4px; }
}
.register-compact .business-question { margin: 0 0 10px; }
.register-compact .business-question > label { display: block; font-weight: bold; margin-bottom: 4px; width: auto !important; }
.register-compact .bq-option { display: flex; align-items: flex-start; gap: 5px; margin-bottom: 3px; }
.register-compact .bq-option input { margin-top: 3px; }
.register-compact .bq-option label { font-weight: normal; width: auto !important; margin: 0; }
.register-compact .bq-customer-id { margin: 6px 0 0 18px; max-width: 347px; }
.register-compact .bq-customer-id .input-text { width: 100%; }
.register-compact .bq-customer-id label { width: auto !important; }

/* #65: the read-only sales-rep box on Account Information. */
.amcustomerattr .sales-rep-box,
.fieldset .sales-rep-box { margin: 4px 0 8px; }
.fieldset .sales-rep-box h3 { font-size: 13px; font-weight: bold; margin: 0 0 4px; text-transform: none; }

/* #86: Register page: State/Province and Country drop-downs as tall and wide as the text boxes. */
.register-compact select {
  height: 30px;
  width: 365px;
  max-width: 100%;
  padding: 0 6px;
  border: 1px solid #c0c0c0;
  font-size: 14px;
  margin-top: 0;
}
/* The replacement part shown under an incorrect part number's page (#98). */
.replacement-parts { margin-top: 20px; clear: both; }
.replacement-parts .replacement-title { font-size: 16px; color: #3399cc; text-transform: uppercase; margin-bottom: 8px; }

/* #206: Register page, "Company Accreditations" (business size, ASA-100, ISO/AS with certificates). */
.accreditation-fields .field label,
.accreditation-fields .wide > label { width: auto !important; }
.accreditation-fields .cert-row { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-left: 18px; }
.accreditation-fields .cert-row .field { float: none; width: auto; }
.accreditation-fields .cert-other { margin-left: 0; }
.accreditation-fields .cert-other > ul { margin: 0; padding: 0; list-style: none; }
.accreditation-fields input[type="date"] { height: 30px; width: 170px; padding: 0 6px; }
.accreditation-fields .iso-standards { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 2px 0 4px 18px; }
.accreditation-fields .iso-std { font-weight: normal; width: auto !important; }
.cert-upload { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.cert-upload .cert-file-name { width: 200px; background: #f6f6f6; cursor: default; }
.cert-upload .cert-pick { cursor: pointer; margin: 0; }
.cert-upload .cert-hint { font-size: 11px; color: #777; }
.cert-upload .cert-problem { flex-basis: 100%; }
@media only screen and (max-width: 479px) {
  .accreditation-fields .cert-row { display: block; margin-left: 0; }
  .cert-upload .cert-file-name { width: 100%; }
}

/* #198: Account Information, the email can't be changed by the customer. #206: read-only accreditations box. */
.email-locked-note { font-size: 11px; color: #777; margin: 3px 0 0; }
.fieldset .accreditation-box { margin: 4px 0 8px; }
.fieldset .accreditation-box h3 { font-size: 13px; font-weight: bold; margin: 0 0 4px; text-transform: none; }
.accreditation-box .accreditation-note { font-size: 11px; color: #777; }
.cert-upload .cert-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }

/* #207: Register page, Business Classification is the first question (same look as "Please choose one of three"). */
.register-compact .business-classification { border: 0; margin: 0 0 10px; padding: 0; }
.register-compact .business-classification > .field-row > label { display: block; font-weight: bold; margin-bottom: 4px; width: auto !important; float: none; }
.register-compact .bc-options { display: flex; flex-wrap: wrap; gap: 3px 14px; }
.register-compact .bc-option { display: flex; align-items: center; gap: 5px; float: none !important; }
.register-compact .bc-option label { font-weight: normal; width: auto !important; margin: 0; float: none; }

/* #208: Account Information, a clear gap between the left column (name, email, password) and the right
   column (Your Sales Representative, Company Accreditations). On a phone they stack as before. */
@media only screen and (min-width: 480px) {
  .customer-account-edit #form-validate > .fieldset { vertical-align: top; }
  .customer-account-edit #form-validate > .fieldset:first-of-type { margin-right: 30px; } /* no effect when the columns wrap */
}

/* #214: Availability Notices. Only drawn on parts a switched-on notice matches. */
.avail-notice { clear: both; margin: 8px 0 4px; padding: 7px 10px; font-size: 13px; line-height: 1.4; border-radius: 2px; text-align: left; text-transform: none; font-weight: normal; }
.avail-notice p { margin: 0 0 4px; }
.avail-notice p:last-child { margin-bottom: 0; }
.avail-amber { background: #fff7e0; border-left: 4px solid #e0a100; color: #6b4d00; }
.avail-red { background: #fdecea; border-left: 4px solid #df280a; color: #8a1c0a; }
.avail-blue { background: #eaf4fb; border-left: 4px solid #3399cc; color: #1f5f80; }
.avail-plain { background: transparent; border-left: 0; padding-left: 0; color: #636363; }
.avail-notice a { text-decoration: underline; }
.avail-ico { position: relative; display: inline-block; width: 16px; height: 16px; margin-left: 4px; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 700; line-height: 16px; text-align: center; vertical-align: text-bottom; cursor: help; outline: none; }
.avail-ico-amber { background: #e0a100; }
.avail-ico-red { background: #df280a; }
.avail-ico-blue { background: #3399cc; }
.avail-ico-plain { background: #999; }
.avail-ico .avail-tip { display: none; position: absolute; left: 0; top: 20px; z-index: 50; width: 280px; max-width: 70vw; margin: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); cursor: auto; }
.avail-ico .avail-tip.avail-plain { background: #fff; padding: 7px 10px; border: 1px solid #ccc; }
.avail-ico:hover .avail-tip, .avail-ico:focus .avail-tip, .avail-ico:focus-within .avail-tip { display: block; }
.avail-note { margin: 4px 0 0; padding: 3px 6px; font-size: 12px; line-height: 1.35; text-transform: none; font-weight: normal; }
.avail-note.avail-plain { padding-left: 0; }
/* #214: the part page shows the notice under the stock line on wide screens, and under the Qty / Add to
   RFQ row at 1024 px or narrower, where the old theme places the price box over the space below the stock. */
.avail-notice.avail-at-add, .avail-btn.avail-btn-at-add { display: none; }
@media only screen and (max-width: 1024px) {
  .product-view .avail-notice.avail-at-shop, .product-view .avail-btn.avail-btn-at-shop { display: none; }
  .product-view .avail-notice.avail-at-add { display: block; margin-top: 10px; }
  .product-view .avail-btn.avail-btn-at-add { display: block; }
}
/* #221: a notice icon with text ("AOG Only") is a small rounded label instead of a circle. */
.avail-ico.avail-ico-label { width: auto; height: auto; padding: 1px 7px; border-radius: 9px; font-size: 11px; line-height: 15px; letter-spacing: 0.2px; white-space: nowrap; text-transform: none; }
/* #220: the price box's prices in one right-aligned column (same-width digits), so the decimals line up. */
.tier-prices.product-pricing li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tier-prices.product-pricing li .price { margin-left: auto; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* #231: the notice pop-up wraps its text inside the box (it used to inherit the label's "don't wrap"). */
.avail-ico .avail-tip { white-space: normal; font-weight: normal; font-size: 13px; line-height: 1.4; letter-spacing: normal; text-align: left; text-transform: none; width: 300px; max-width: calc(100vw - 32px); padding: 8px 11px; }
.avail-ico .avail-tip strong, .avail-ico .avail-tip b { font-weight: bold; }

/* #254 (Alon, 2026-09-27): search results: the yellow price box starts level with the part number line
   (it used to drop below the description), and #253: "Update my price" sits under the details link.
   Search results only (#products-list), on the computer view, in windows wide enough for it. */
@media (min-width: 771px) {
  html:not([data-m]) #products-list .prd-detail { display: flex; align-items: flex-start; gap: 16px; }
  html:not([data-m]) #products-list .prd-detail > .product-primary { flex: 1 1 auto; min-width: 0; }
  html:not([data-m]) #products-list .prd-detail > .tier-prices.product-pricing { flex: none; float: none !important; margin: 0 48px 0 0; } /* #352: was 95px */
}
#products-list .product-primary .price-update { display: inline-block; max-width: 100%; box-sizing: border-box; }
#products-list .product-primary .price-update > .button { margin-left: 8px; }

/* #264: the "Update my price" pop-up (Submit / Cancel). */
.pu-dialog-back { position: fixed; inset: 0; z-index: 1000; background: rgba(15, 23, 32, .45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.pu-dialog { box-sizing: border-box; width: 100%; max-width: 420px; background: #fff; border-radius: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.3); padding: 18px 20px 16px; text-align: left; color: #333; }
.pu-dialog h3 { margin: 0 0 8px; font-size: 17px; text-transform: none; color: #222; }
.pu-dialog p { margin: 0 0 12px; font-size: 14px; line-height: 1.45; }
.pu-dialog-check { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; font-weight: normal; cursor: pointer; margin: 0 0 12px; }
.pu-dialog-customer { display: block; margin: 0 0 12px; font-size: 14px; font-weight: normal; }
.pu-dialog-customer span { display: block; margin-bottom: 4px; }
.pu-dialog-customer input { width: 100%; box-sizing: border-box; height: 32px; padding: 4px 8px; font-size: 16px; }
.pu-dialog-check { align-items: center; }
.pu-dialog-check input[type="checkbox"] { flex: none; width: 24px; height: 24px; margin: 0; cursor: pointer; accent-color: #3399cc; } /* #271: bigger tick box */
.pu-dialog-error { color: #b30000; font-size: 13px; margin: 0 0 10px; }
.pu-dialog-buttons { display: flex; justify-content: flex-end; gap: 10px; }
.pu-dialog-buttons .button { float: none; margin: 0; }
.pu-dialog-buttons .pu-dialog-cancel { background: #fff; color: #3399cc; border: 1px solid #3399cc; }

/* #287 (Alon, 2026-09-27): the blue bar at the top is the FDH Electronics blue. */
body .header-language-background { background-color: #0d65fe; }

/* #305: FT | M switch on parts sold per foot */
.len-switch { display: inline-flex; vertical-align: middle; margin-left: 6px; border: 1px solid #3399cc; border-radius: 3px; overflow: hidden; line-height: 1; text-transform: none; }
.len-switch button { border: 0; background: #fff; color: #3399cc; font: bold 11px/1 Arial, Helvetica, sans-serif; padding: 3px 7px; cursor: pointer; }
.len-switch button.on { background: #3399cc; color: #fff; cursor: default; }
.len-ft-note { display: block; font-size: 11px; color: #777; margin-top: 2px; white-space: nowrap; }

/* #316: an Availability Notice's customer button */
.notice-req-btn { margin: 6px 0 0; }
.avail-ico + .notice-req-btn, .avail-ico ~ .notice-req-btn { margin: 0 0 0 6px; vertical-align: middle; }
.notice-req-sent { display: inline-block; margin: 6px 0 0; font-size: 13px; color: #25601d; }

/* #317: "My recent searches" panel (computers; phones use the menu's "Recent searches") */
.shp-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 18px; align-items: start; }
.shp-wrap.shp-closed { grid-template-columns: minmax(0, 1fr) 30px; }
.shp-main { min-width: 0; }
.shp-panel { position: sticky; top: 12px; border: 1px solid #d6dde6; border-radius: 4px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.06); font-family: Arial, Helvetica, sans-serif; }
.shp-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 6px 8px 6px 10px; background: #f3f6fa; border-bottom: 1px solid #d6dde6; font: bold 11px Arial, Helvetica, sans-serif; color: #1b3a6b; text-transform: uppercase; white-space: nowrap; }
.shp-hide { flex: none; height: 20px; border: 1px solid #bbb; background: #fff; color: #555; border-radius: 3px; font: bold 10.5px Arial, Helvetica, sans-serif; padding: 0 5px; cursor: pointer; text-transform: none; }
.shp-hide:hover { background: #eef5fb; }
.shp-seg { display: flex; margin: 7px 6px; border: 1px solid #3399cc; border-radius: 3px; overflow: hidden; }
.shp-seg button { flex: 1 1 auto; white-space: nowrap; border: 0; background: #fff; color: #3399cc; padding: 3px 6px; font: bold 10.5px Arial, Helvetica, sans-serif; cursor: pointer; }
.shp-seg button.on { background: #3399cc; color: #fff; cursor: default; }
.shp-list { list-style: none; margin: 0 0 6px; padding: 0 4px; max-height: 400px; overflow: auto; }
.shp-list li a { display: flex; align-items: center; gap: 6px; padding: 4px 7px; border-radius: 3px; font: 12px Arial, Helvetica, sans-serif; color: #333; text-decoration: none; text-transform: uppercase; word-break: break-all; }
.shp-list li a:hover { background: #eef5fb; }
.shp-list li.cur a { background: #e3f0fb; font-weight: bold; }
.shp-list li.nf a { color: #999; }
.shp-list .ok { color: #11b400; font-size: 11px; width: 11px; flex: none; }
.shp-list .no { color: #c0392b; font-size: 11px; width: 11px; flex: none; }
.shp-empty { margin: 4px 10px 8px; font-size: 12px; color: #888; }
.shp-legend { font-size: 10px; color: #888; padding: 0 10px 7px; }
.shp-foot { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 7px 10px; border-top: 1px solid #eee; font-size: 11px; }
.shp-foot a { color: #3399cc; text-decoration: none; }
.shp-clear, .shp-confirm button { border: 0; background: none; padding: 0; color: #999; font: 11px Arial, Helvetica, sans-serif; cursor: pointer; }
.shp-clear:hover { color: #b30000; text-decoration: underline; }
.shp-confirm { color: #b30000; } .shp-confirm button { color: #3399cc; font-weight: bold; }
.shp-tab { position: sticky; top: 12px; width: 30px; height: 170px; display: flex; align-items: center; justify-content: center; border: 1px solid #d6dde6; border-radius: 4px; background: #f3f6fa; cursor: pointer; color: #1b3a6b; font: bold 11px Arial, Helvetica, sans-serif; text-transform: uppercase; letter-spacing: .5px; padding: 0; }
.shp-tab span { writing-mode: vertical-rl; transform: rotate(180deg); }
.shp-tab:hover { background: #e3f0fb; }
.shp-list li .shp-add { display: flex; align-items: center; gap: 6px; width: 100%; padding: 4px 7px; border: 0; border-radius: 3px; background: none; font: 12px Arial, Helvetica, sans-serif; color: #333; text-align: left; text-transform: uppercase; word-break: break-all; cursor: pointer; }
.shp-list li .shp-add:hover { background: #eef5fb; }
.shp-list li.cur .shp-add { background: #e3f0fb; font-weight: bold; }
.shp-list li.nf .shp-add { color: #999; }
.shp-add .shp-term { flex: 1 1 auto; }
.shp-add .shp-plus { flex: none; color: #3399cc; font-weight: bold; font-size: 13px; visibility: hidden; }
.shp-add:hover .shp-plus, .shp-add:focus .shp-plus { visibility: visible; }
.shp-list li.cur .shp-plus { visibility: hidden; }
.shp-main .multi-search { max-width: calc(100% - 50px); }
/* phones and narrow windows: no side panel (the menu has "Recent searches") */
@media only screen and (max-width: 770px) { .shp-wrap, .shp-wrap.shp-closed { display: block; } .shp-panel, .shp-tab { display: none; } }
html[data-m] .shp-wrap, html[data-m] .shp-wrap.shp-closed { display: block; }
html[data-m] .shp-panel, html[data-m] .shp-tab { display: none; }

.shh-bar { overflow: hidden; margin: 0 0 10px; } /* #317 */

/* #320: the notice's customer button under Add to RFQ; after sending, a link to what was sent */
.notice-req-under { margin: 8px 0 0; text-align: center; }
.notice-req-under .notice-req-btn { margin: 0; }
.notice-req-under .notice-req-sent { margin: 0; max-width: 170px; text-align: center; line-height: 1.35; }
.notice-req-done { border: 0; background: none; padding: 0; color: #25601d; font: bold 12px/1.35 Arial, Helvetica, sans-serif; text-decoration: underline; cursor: pointer; max-width: 170px; }
.notice-req-done:hover { color: #1b3a6b; }
/* #326 (Alon, 2026-09-28): the customer button in the notice label's yellow ("AOG Only", .avail-ico-amber), so the
   two read as one; as wide as Add to RFQ above it (set by NoticeRequestButton), the text wraps if it must. */
.button.notice-req-btn { white-space: normal; }
.button.notice-req-amber, html[data-m] button.button.notice-req-amber { background: #e0a100; color: #fff; }
.button.notice-req-amber:hover, html[data-m] button.button.notice-req-amber:hover { background: #c98f00; }
.button.notice-req-amber:active, html[data-m] button.button.notice-req-amber:active { background: #b38000; }
.button.notice-req-red, html[data-m] button.button.notice-req-red { background: #df280a; color: #fff; }
.button.notice-req-blue { background: #3399cc; color: #fff; }
.button.notice-req-blue:hover { background: #2e8ab8; }
.button.notice-req-red:hover, html[data-m] button.button.notice-req-red:hover { background: #c22308; }
.button.notice-req-plain, html[data-m] button.button.notice-req-plain { background: #999; color: #fff; }
.button.notice-req-plain:hover, html[data-m] button.button.notice-req-plain:hover { background: #858585; }
.notice-req-under .notice-req-btn { box-sizing: border-box; }
.product-view .notice-req-under { text-align: left; clear: both; }
html[data-m] .m-notice-req { text-align: left; margin: 6px 0 0; }
/* #334: a rep's Update My Price box on the part page, on its own line under the details and the price box. */
.product-view .pu-under { clear: both; max-width: 560px; padding-top: 6px; }
.product-view .pu-under .price-update { margin: 0 0 6px; }
/* #329: the Multiple Part Search counter under the box. */
.ms-count { margin: 4px 0 0; font-size: 12px; color: #777; }
.ms-count.ms-over { color: #b30000; font-weight: bold; }
/* #332 (Alon, 2026-09-28): search results (computer view): "Qty:" and its box on one line, then ADD TO RFQ and
   the notice button under it, with a small gap, their left edges on the Qty box's left edge. */
html:not([data-m]) #products-list .add-to-cart { display: grid !important; grid-template-columns: auto auto; column-gap: 6px; row-gap: 8px; justify-content: center; align-items: center; }
html:not([data-m]) #products-list .add-to-cart > * { grid-column: 2; justify-self: start; float: none !important; margin: 0 !important; }
html:not([data-m]) #products-list .add-to-cart > label:first-child { grid-column: 1; grid-row: 1; width: auto !important; padding: 0; line-height: normal; }
html:not([data-m]) #products-list .add-to-cart > input.qty { grid-row: 1; width: 44px !important; height: 32px; text-align: center; }
html:not([data-m]) #products-list .add-to-cart > .min-note, html:not([data-m]) #products-list .add-to-cart > .len-ft-note { margin-top: -4px !important; }
html:not([data-m]) #products-list .add-to-cart > .notice-req-under { text-align: left; }
html:not([data-m]) #products-list .add-to-cart > .min-note { max-width: 150px; }
/* #334: in narrower windows the old theme lifts the part page's price box out of the flow (position:absolute);
   with a rep's update box under it, the price box stays in the flow so the two never overlap. */
@media only screen and (max-width: 1024px) {
  html:not([data-m]) .product-view .product-shop:has(.pu-under) .tier-prices.product-pricing { position: static !important; float: right; margin-top: 0 !important; }
}
/* #338: the rep's customer picker in the Update My Price pop-up */
.pu-dialog-customer .pu-cust-wrap { position: relative; display: block; margin: 0; }
.pu-cust-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; margin: 2px 0 0; padding: 3px 0; list-style: none; background: #fff; border: 1px solid #bbb; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,.15); max-height: 220px; overflow: auto; }
.pu-cust-list li { padding: 5px 9px; font-size: 14px; cursor: pointer; color: #333; }
.pu-cust-list li:hover, .pu-cust-list li.on { background: #e3f0fb; }
.pu-cust-recent { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: -6px 0 12px; font-size: 12px; color: #777; }
.pu-cust-recent button { border: 1px solid #3399cc; background: #fff; color: #3399cc; border-radius: 12px; padding: 2px 9px; font-size: 12px; cursor: pointer; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pu-cust-recent button:hover, .pu-cust-recent button.on { background: #3399cc; color: #fff; }
/* #340 (Alon, 2026-09-28): an internal rep's Update My Price box directly under the price box, the same width. */
#products-list .pu-price-col { float: right; margin-right: 95px; }
#products-list .pu-price-col > .tier-prices.product-pricing { float: none !important; margin: 0 !important; }
@media (min-width: 771px) {
  html:not([data-m]) #products-list .prd-detail > .pu-price-col { flex: none; float: none; margin: 0 48px 0 0; } /* #352 */
}
#products-list .pu-under-price { width: 0; min-width: 100%; }
#products-list .pu-under-price .price-update { display: block; box-sizing: border-box; margin: 6px 0 0 !important; }
#products-list .pu-under-price .price-update > .button { display: block; width: 100%; margin: 6px 0 0 !important; padding-left: 6px; padding-right: 6px; white-space: normal; }
/* #339: "Include in one request" */
.price-update .pu-tick { display: flex; align-items: center; gap: 5px; margin: 6px 0 0; font-weight: normal; font-size: 12px; cursor: pointer; }
.price-update .pu-tick input { margin: 0; }
#products-list .pu-under-price .price-update { padding: 6px 7px !important; font-size: 12px !important; line-height: 1.35 !important; }
#products-list .pu-under-price .price-update > .button { font-size: 11.5px; line-height: 16px; padding-top: 5px; padding-bottom: 5px; }
/* #344 (Alon, 2026-09-28): the rep's price column never narrower than 150 px (small prices make the price box
   narrow; the Update My Price box and its button must still fit inside). */
#products-list .pu-price-col { min-width: 150px; }
#products-list .pu-price-col > .tier-prices.product-pricing { box-sizing: border-box; width: 100%; }
#products-list .pu-under-price .price-update > .button span { white-space: normal; }
/* #348: partial search results: "Price update requested" chip after the part number */
.pu-chip { display: inline-block; margin-left: 8px; padding: 1px 7px; border: 1px solid #e8c766; border-radius: 9px; background: #fff7e0; color: #7a5a00; font: bold 11px/15px Arial, Helvetica, sans-serif; text-transform: none; letter-spacing: 0; vertical-align: middle; white-space: nowrap; }
/* #353 (Alon, 2026-09-28): part page: the old theme sizes the details in percentages (details = 37% of an area
   that is 55% of the page), so a narrower page (e.g. with "My recent searches") wrapped "QTY AVAILABLE IN
   STOCK : 5". Minimum widths only: wide screens are unchanged; the price box stays beside the details. */
html:not([data-m]) .product-view .product-shop .extra-info { min-width: 540px; }
html:not([data-m]) .product-view .product-shop .extra-info p.availability { min-width: 280px; }
html:not([data-m]) .product-view .product-shop .extra-info p.availability > .value { white-space: nowrap; }
/* #351: My Price Requests filters */
.mpr-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; margin: 0 0 12px; font-size: 13px; }
.mpr-filters label { display: flex; flex-direction: column; gap: 3px; margin: 0; font-weight: normal; }
.mpr-filters label > span { font-size: 12px; color: #666; }
.mpr-filters input, .mpr-filters select { height: 30px; border: 1px solid #bbb; padding: 0 6px; font-size: 14px; box-sizing: border-box; }
.mpr-filters .mpr-search input { width: 220px; max-width: 100%; }
.mpr-clear { height: 30px; border: 1px solid #3399cc; background: #fff; color: #3399cc; padding: 0 12px; cursor: pointer; }
.mpr-count { margin-left: auto; color: #777; font-size: 12px; align-self: center; }
html[data-m] .mpr-filters .mpr-search { flex: 1 1 100%; } html[data-m] .mpr-filters .mpr-search input { width: 100%; font-size: 16px; }

/* #375: Register page: approvals tick list, certificate boxes, notes, colleagues pop-up */
.register-compact .field-note { font-size: 11px; color: #888; margin: 3px 0 0; clear: both; }
.register-compact .login-note { color: #8a5a00; }
.accreditation-fields .approval-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 16px; margin: 4px 0 2px; }
.accreditation-fields .approval-group { border: 1px solid #e3e6ea; border-radius: 4px; padding: 7px 10px; }
.accreditation-fields .approval-group b { display: block; font-size: 11px; color: #3c4b5c; text-transform: uppercase; margin-bottom: 4px; }
.accreditation-fields .approval-item { display: block; font-weight: normal; width: auto !important; float: none !important; margin: 2px 0; }
.accreditation-fields .approval-extra { display: flex; gap: 18px; margin-top: 6px; }
.accreditation-fields .approval-extra .approval-item { display: inline-block; }
.accreditation-fields .approval-hint { font-size: 11px; color: #888; margin: 4px 0 0; }
.accreditation-fields .cert-block { background: #f7f9fb; border: 1px solid #e3e6ea; border-radius: 4px; padding: 7px 10px 2px; margin: 6px 0; list-style: none; }
.accreditation-fields .cert-block-title { font-weight: bold; margin-bottom: 4px; }
.accreditation-fields .cert-block .cert-row { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.accreditation-fields .cert-block .cert-row .field { float: none; width: auto; min-width: 180px; }
.buttons-set .colleagues-button { margin-right: 10px; background: #fff; }
.buttons-set .colleagues-button span span { color: #3399cc; }
.colleagues-note { clear: both; font-size: 12px; color: #a12622; margin: 8px 0 0; text-align: right; }
.colleagues-note.ok { color: #25601d; }
.colleagues-note .linklike { background: none; border: 0; color: #3399cc; text-decoration: underline; cursor: pointer; padding: 0; font-size: 12px; }
.colleagues-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1000; display: flex; align-items: flex-start; justify-content: center; padding: 40px 12px; overflow: auto; }
.colleagues-box { background: #fff; border-radius: 6px; max-width: 860px; width: 100%; padding: 16px 18px; box-shadow: 0 8px 30px rgba(0,0,0,.3); text-align: left; }
.colleagues-head { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.colleagues-x { background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: #888; }
.colleagues-sub { font-size: 12px; color: #666; margin: 6px 0; }
.colleagues-table-wrap { overflow-x: auto; }
.colleagues-table { width: 100%; border-collapse: collapse; }
.colleagues-table th { font-size: 12px; text-align: left; padding: 4px; background: #f3f5f7; }
.colleagues-table td { padding: 3px 4px; vertical-align: top; }
.colleagues-table input { width: 100%; box-sizing: border-box; height: 28px; border: 1px solid #c4c4c4; padding: 0 5px; font-size: 13px; min-width: 90px; }
.colleagues-table input.bad { border-color: #c62828; }
.colleagues-err { color: #c62828; font-size: 11px; margin-top: 2px; }
.colleagues-remove { background: none; border: 0; color: #c62828; font-size: 18px; cursor: pointer; }
.colleagues-add { background: none; border: 0; color: #3399cc; cursor: pointer; padding: 6px 0; font-size: 13px; }
.colleagues-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
@media (max-width: 770px) { .accreditation-fields .approval-groups { grid-template-columns: 1fr; } }
/* #376: Register page polish */
.register-compact li.one-line label { width: auto !important; white-space: nowrap; }
.register-compact .field-note { width: auto !important; max-width: 365px; white-space: normal; overflow: visible; height: auto; }
#form-validate .fieldset.accreditation-set { max-width: none; display: block; } /* beats the old theme's #form-validate .fieldset (350px, inline-table) */
.accreditation-fields .approval-question { border: 2px solid #cfd8e0; border-radius: 6px; padding: 8px 10px 10px; background: #fafcfe; margin: 6px 0 8px; }
.accreditation-fields .approval-question > label { width: auto !important; float: none !important; display: block; font-weight: bold; }
.accreditation-fields .approval-extra .approval-none { font-size: 15px; font-weight: bold; }
.accreditation-fields .approval-extra .approval-none input { transform: scale(1.2); margin-right: 3px; }
#business_classification .bc-other { display: none; margin-top: 4px; }
#business_classification:has(#business_classification___other:checked) .bc-other { display: block; }
#business_classification .bc-other label { width: auto !important; }
.colleagues-backdrop { background: rgba(0,0,0,.62); }
html[data-m] .register-compact li.one-line label { white-space: normal; }

/* #403: "I can't upload it here: I'll email it" under a sign-up certificate */
.accreditation-fields .cert-later { display: block; margin: 6px 0 0; font-weight: normal; font-size: 12px; cursor: pointer; }
.accreditation-fields .cert-later input { vertical-align: middle; }
.accreditation-fields .cert-later-flag { background: #fff4d6; border-radius: 3px; padding: 3px 6px; }
.accreditation-fields .cert-later-note { font-size: 12px; color: #555; margin-top: 4px; }
/* #416: Broker and Distributor can't both be ticked (the other one is greyed out); distributors answer the stock questions. */
#business_classification:has(#business_classification___136:checked) .bc-option:has(#business_classification___137),
#business_classification:has(#business_classification___137:checked) .bc-option:has(#business_classification___136) { opacity: .4; pointer-events: none; }
#business_classification .bc-stock, #business_classification .bc-warehouse { display: none; }
#business_classification:has(#business_classification___137:checked) .bc-stock { display: block; margin-top: 6px; }
#business_classification:has(#holds_stock_yes:checked) .bc-warehouse { display: block; margin-top: 6px; }
#business_classification .bc-stock-q { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
#business_classification .bc-radio { width: auto !important; font-weight: normal; }
#business_classification .bc-warehouse label { width: auto !important; display: block; }
/* #419: a wide size box next to the unit */
#business_classification .bc-size { display: flex; gap: 8px; align-items: center; width: 100%; max-width: 420px; }
#business_classification .bc-size input.input-text { flex: 1 1 auto; width: auto !important; min-width: 180px; height: 32px; padding: 4px 8px; }
#business_classification .bc-size select { flex: 0 0 110px; width: 110px !important; height: 32px; }
