/* Brute B2B shop. Built only from the site's own tokens in styles.css,
   so it inherits every colour, type and spacing decision. Loaded only on pages
   that carry a [data-shop] mount, the shop page and the quote page. */

/* ---- product grid ------------------------------------------------------ */
.shop__toolbar { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: end; margin-bottom: var(--sp-6); }
.shop__toolbar label { display: grid; gap: var(--sp-2); font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }  /* as the quote form's labels: grey, not purple */
.shop__toolbar input[type="search"], .shop__toolbar select { min-width: 220px; padding: 0.7rem 0.9rem; border-radius: var(--radius);
  background: var(--surface-2); border: 1px solid var(--line-control); color: var(--ink); font-family: var(--font-body); font-size: 0.9375rem;
  font-weight: 400; letter-spacing: normal; text-transform: none; }
.shop__toolbar .shop__toggle { display: inline-flex; flex-direction: row; align-items: center; gap: var(--sp-2); padding: 0.7rem 0;
  color: var(--muted); font-family: var(--font-body); font-size: 0.9375rem; letter-spacing: normal; text-transform: none; }
.shop__toggle input { width: 1.05rem; height: 1.05rem; accent-color: var(--accent); }
.shop__label { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; }
.shop__field { display: grid; gap: var(--sp-2); position: relative; }
.shop__price { display: flex; align-items: center; gap: var(--sp-2); color: var(--faint); font-size: 0.875rem; }
.shop__toolbar input[type="number"] { width: 6.5rem; padding: 0.7rem 0.9rem; border-radius: var(--radius); background: var(--surface-2);
  border: 1px solid var(--line-control); color: var(--ink); font-family: var(--font-body); font-size: 0.9375rem; }
.shop__brands { position: relative; }
.shop__brand-summary { list-style: none; cursor: pointer; min-width: 180px; padding: 0.7rem 2rem 0.7rem 0.9rem; border-radius: var(--radius);
  background: var(--surface-2); border: 1px solid var(--line-control); color: var(--ink); font-size: 0.9375rem; position: relative; }
.shop__brand-summary::-webkit-details-marker { display: none; }
.shop__brand-summary::after { content: ""; position: absolute; right: 0.9rem; top: 50%; width: 0.45rem; height: 0.45rem; margin-top: -0.35rem;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); }
.shop__brand-list { position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; width: max(100%, 260px); max-height: 320px; overflow-y: auto;
  padding: var(--sp-2); background: var(--surface); border: 1px solid var(--line-control); border-radius: var(--radius); }
.shop__brand { display: flex; align-items: center; gap: var(--sp-2); padding: 0.4rem 0.5rem; border-radius: var(--radius); color: var(--ink);
  font-size: 0.9rem; cursor: pointer; }
.shop__toolbar .shop__brand { display: flex; font-family: var(--font-body); font-weight: 400; letter-spacing: normal; text-transform: none;
  font-size: 0.9rem; color: var(--ink); }
.shop__brand:hover { background: var(--surface-2); }
.shop__brand input { width: 1rem; height: 1rem; accent-color: var(--accent); }
.shop__brand-n { margin-left: auto; color: var(--faint); font-family: var(--font-mono); font-size: 0.75rem; }
.shop__more { grid-column: 1 / -1; justify-self: center; }
.shop__count { margin-left: auto; color: var(--faint); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; }

.shop__grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); }
.shop__status { color: var(--muted); }
.shop__empty { grid-column: 1 / -1; padding: var(--sp-6); border: 1px dashed var(--line); border-radius: var(--radius-lg);
  color: var(--muted); display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; justify-content: space-between; }

.pcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; transition: border-color 0.16s var(--ease), transform 0.16s var(--ease); }
.pcard:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.pcard__art { position: relative; aspect-ratio: 4 / 3; background:
    linear-gradient(var(--line-soft) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px) 0 0 / 20px 20px, var(--surface-2);
  border: 0; border-bottom: 1px solid var(--line); display: grid; place-items: center; cursor: pointer; width: 100%; padding: 0; color: inherit; }
.pcard__art svg { width: 34%; height: auto; stroke: var(--accent-lo); fill: none; stroke-width: 1.4; opacity: 0.9; }
/* A real product photo (manufacturer images sit on white): a light panel, the photo contained, never cropped. */
.pcard__art--photo { background: #F4F5F7; }
.pcard__art { overflow: hidden; }  /* the 4:3 box (suits square supplier photos; was 16:10, Isaac 2026-11-28: "why so little laptop") never grows with a large photo, so cards in a row line up */
.pcard__art--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: var(--sp-2); box-sizing: border-box;
  mix-blend-mode: multiply; }  /* a photo's own white background melts into the light panel */
.pcard__art--photo .pcard__sku, .pcard__art--photo .pcard__brand-tag { color: #5B6170; }
.pcard__brand-tag { position: absolute; left: var(--sp-3); bottom: var(--sp-3); font-family: var(--font-mono); font-size: 0.6875rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pcard__sku { position: absolute; right: var(--sp-3); top: var(--sp-3); font-family: var(--font-mono); font-size: 0.625rem;
  letter-spacing: 0.1em; color: var(--faint); }
.pcard__body { padding: var(--sp-4) var(--sp-4) var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.pcard__brand { font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.02em; color: var(--ink); }
/* The logo file as supplied (on the light card since 2026-11-29; see "light product cards" below). */
.pcard__logo { display: inline-flex; align-items: center; align-self: flex-start; height: 24px; }
.pcard__logo img { height: 100%; width: auto; max-width: 110px; object-fit: contain; display: block; border-radius: 3px; }
.pdialog__body .pcard__logo { margin-bottom: var(--sp-3); }
.pcard__name { margin: 0; font-size: 1rem; line-height: 1.35; color: var(--ink); font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pcard__name button { all: unset; cursor: pointer; }
.pcard__name button:hover { color: var(--accent-lo); }
.pcard__name a { color: inherit; text-decoration: none; }
.pcard__name a:hover, .pcard__name a:focus-visible { color: var(--accent-lo); text-decoration: underline; }
.pcard__name button:focus-visible { outline: 2px solid var(--accent-lo); outline-offset: 2px; }
.pcard__mpn { font-family: var(--font-mono); font-size: 0.75rem; color: var(--faint); }
/* 2026-11-29 (Isaac): the price row wraps (MSRP and Save stay beside the price, the note goes below) instead of running out
   of the card; the stock line sits just above the button, so every card in a row lines up the same way. */
.pcard__price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: var(--sp-2); row-gap: 2px; margin-top: var(--sp-2); }
.pcard__price .pcard__note { flex-basis: 100%; }
.pcard__amount { font-family: var(--font-display); font-size: 1.375rem; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.pcard__note { font-size: 0.75rem; color: var(--faint); }
.pcard__meta { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; font-size: 0.8125rem; color: var(--muted); }
.pcard__body > .pcard__meta { margin-top: auto; padding-top: var(--sp-2);
  /* 2026-11-29 (Isaac): the stock label, then the lead time under it, on every card, so a long label ("Confirm
     availability") no longer wraps and sits higher than "In stock" on the card beside it. */
  flex-direction: column; align-items: flex-start; flex-wrap: nowrap; gap: 4px; }
/* Shop filters (2026-11-29): every box the same height, and the dropdowns drawn like the Brand box (no browser
   default), so the labels and boxes line up in one row. */
.shop__toolbar input[type="search"], .shop__toolbar select, .shop__toolbar input[type="number"], .shop__brand-summary {
  height: 46px; box-sizing: border-box; }
.shop__toolbar select { -webkit-appearance: none; appearance: none; padding-right: 2.2rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 6 8.5 10 4.5' fill='none' stroke='%23A3A7B7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 12px 12px; }
.pcard .btn { margin-top: auto; }
.pcard__actions { padding-top: var(--sp-3); display: grid; gap: var(--sp-2); }

.chip { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.2rem 0.55rem; border-radius: 999px; font-size: 0.75rem;
  border: 1px solid var(--line); color: var(--muted); background: var(--bg-2); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.chip--ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); }
.chip--ok::before { background: var(--ok); }
.chip--confirm { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 35%, var(--line)); }
.chip--confirm::before { background: var(--warn); }
.chip--plain::before { display: none; }
/* Built to order: the site accent (violet-blue), so it reads apart from in stock (green) and confirm (amber). */
.chip--build { color: var(--accent-lo); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.chip--build::before { background: var(--accent-lo); }

/* ---- product detail ---------------------------------------------------- */
.pdialog { width: min(920px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg); background: var(--bg); color: var(--body); }
.pdialog::backdrop { background: rgba(8, 9, 14, 0.72); backdrop-filter: blur(2px); }
.pdialog__grid { display: grid; grid-template-columns: 1fr 1.1fr; }
.pdialog__art { min-height: 320px; border-right: 1px solid var(--line); cursor: default; aspect-ratio: auto; }
.pdialog__body { padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); }
.pdialog__body h2 { font-size: var(--step-2); margin: 0; max-width: none; }
.pdialog__close { position: absolute; right: var(--sp-3); top: var(--sp-3); z-index: 3; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--bg-3); color: var(--ink); cursor: pointer; font-size: 1.1rem; line-height: 1; }
.pdialog__specs { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-2) var(--sp-4); margin: var(--sp-2) 0 0; font-size: 0.875rem; }
.pdialog__specs dt { color: var(--faint); font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 0.2em; }
.pdialog__specs dd { margin: 0; color: var(--ink); }
.pdialog__buy { display: flex; gap: var(--sp-3); align-items: stretch; margin-top: var(--sp-3); }
.qty { display: inline-flex; border: 1px solid var(--line-control); border-radius: var(--radius); overflow: hidden; }
.qty button { width: 2.4rem; background: var(--surface-2); border: 0; color: var(--ink); cursor: pointer; font-size: 1rem; }
.qty input { width: 3rem; text-align: center; background: var(--surface); border: 0; color: var(--ink); font: inherit; }
.pdialog__fine { font-size: 0.8125rem; color: var(--faint); }

/* ---- cart -------------------------------------------------------------- */
.cart-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem;
  border-radius: var(--radius); border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; margin-left: var(--sp-3); }
/* Never squeezed by the header search box (2026-11-29: it shrank to a sliver with no icon). */
.cart-btn { flex: none; }
.site-header .hsearch { flex: 0 1 10.5rem; min-width: 0; }
.cart-btn:hover { background: var(--surface-2); }
.cart-btn svg { width: 1.2rem; height: 1.2rem; stroke: currentColor; fill: none; stroke-width: 1.6; }
.cart-btn__count { position: absolute; top: -6px; right: -6px; min-width: 1.15rem; height: 1.15rem; padding: 0 0.25rem; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 0.6875rem; font-weight: 700; display: grid; place-items: center; }
.cart-btn__count[hidden] { display: none; }

.cart { position: fixed; inset: 0; z-index: 300; display: none; }
.cart.is-open { display: block; }
.cart__scrim { position: absolute; inset: 0; background: rgba(8, 9, 14, 0.6); }
.cart__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--bg-3);
  border-left: 1px solid var(--line-strong); display: flex; flex-direction: column; }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-5); border-bottom: 1px solid var(--line); }
.cart__head h2 { font-size: var(--step-1); margin: 0; }
.cart__body { flex: 1; overflow: auto; padding: var(--sp-4) var(--sp-5); display: grid; align-content: start; gap: var(--sp-5); }
.cart__group h3 { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase;  margin: 0 0 var(--sp-2); }
.cart__group p { margin: 0 0 var(--sp-3); font-size: 0.8125rem; color: var(--faint); }
.cline { display: grid; grid-template-columns: 1fr auto; gap: var(--sp-1) var(--sp-3); padding: var(--sp-3) 0; border-top: 1px solid var(--line-soft); }
.cline__name { color: var(--ink); font-size: 0.9375rem; }
.cline__meta { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--faint); }
.cline__price { text-align: right; color: var(--ink); }
.cline__controls { display: flex; gap: var(--sp-2); align-items: center; }
.cline__remove { background: none; border: 0; color: var(--faint); cursor: pointer; font-size: 0.8125rem; text-decoration: underline; }
.cart__foot { padding: var(--sp-5); border-top: 1px solid var(--line); display: grid; gap: var(--sp-3); }
.cart__total { display: flex; justify-content: space-between; color: var(--ink); font-size: 1.0625rem; }
.cart__empty { color: var(--muted); }

.checkout-steps { display: grid; gap: var(--sp-3); counter-reset: step; margin: 0; padding: 0; list-style: none; }
.checkout-steps li { counter-increment: step; display: grid; grid-template-columns: 1.8rem 1fr; gap: var(--sp-3); font-size: 0.875rem; color: var(--muted); }
.checkout-steps li::before { content: counter(step); width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; color: var(--accent-lo); font-family: var(--font-mono); font-size: 0.75rem; }
.checkout-steps strong { color: var(--ink); display: block; }

@media (max-width: 760px) {
  .pdialog__grid { grid-template-columns: 1fr; }
  .pdialog__art { min-height: 180px; border-right: 0; border-bottom: 1px solid var(--line); }
  .shop__toolbar input[type="search"], .shop__toolbar select { min-width: 0; width: 100%; }
  .shop__toolbar label, .shop__field { flex: 1 1 100%; }
  .shop__brand-summary { width: 100%; }
  .shop__brand-list { position: static; width: 100%; margin-top: 4px; }
  .shop__count { margin-left: 0; }
}

/* ---- light product cards (Isaac, 2026-11-29: "a lighter grey ... dark themed logos which are majority more visible") ----
   The card is a light panel on the dark page: dark text, manufacturer logos as supplied (most are made for white).
   The few logos that exist only in white sit on a small dark plate (.pcard__logo--dark). Text contrast >= 4.5:1. */
.pcard { color: #2B303B; border-color: #CFCBDD;  /* pearl (Isaac, 2026-11-29): soft white with a faint pink-lavender-blue sheen */
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.75) 45%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(110% 70% at 0% 0%, rgba(255, 228, 242, 0.85) 0%, rgba(255, 228, 242, 0) 55%),
    radial-gradient(100% 70% at 100% 100%, rgba(205, 224, 252, 0.9) 0%, rgba(205, 224, 252, 0) 60%),
    radial-gradient(80% 60% at 100% 0%, rgba(222, 246, 236, 0.75) 0%, rgba(222, 246, 236, 0) 55%),
    linear-gradient(135deg, #F8F2F8 0%, #EEEAF9 35%, #F2F0FA 55%, #E6EEFA 80%, #EDE8F7 100%); }
.pcard:hover { border-color: #B7B0CC; box-shadow: 0 6px 22px rgba(120, 110, 170, 0.18); }
.pcard:hover { border-color: #A9B1BF; }
.pcard__art, .pcard__art--photo { background: #F4F5F7; border-bottom-color: #D3D8E0; }  /* one plain light panel for photos and drawings alike */
.pcard__art svg { stroke: var(--accent); opacity: 0.85; }
.pcard .pcard__sku, .pcard .pcard__brand-tag { color: #5B6170; }
.pcard .pcard__brand { color: #14171F; }
.pcard .pcard__name { color: #14171F; }
.pcard .pcard__name button:hover, .pcard .pcard__name a:hover, .pcard .pcard__name a:focus-visible { color: var(--accent); }
.pcard .pcard__name button:focus-visible { outline-color: var(--accent); }
.pcard .pcard__mpn { color: #555B69; }
.pcard .pcard__amount { color: #14171F; }
.pcard .pcard__note { color: #555B69; }
.pcard .pcard__msrp { color: #6B7180; }
.pcard .pcard__save { color: #0B7A4B; }
.pcard .pcard__meta { color: #3F4554; }
.pcard .chip { background: #F6F7F9; border-color: #C9CFD9; color: #3F4554; }
.pcard .chip--ok { color: #0B7A4B; border-color: #9FD3BA; }
.pcard .chip--ok::before { background: #12A065; }
.pcard .chip--confirm { color: #8A5200; border-color: #E2C08A; }
.pcard .chip--confirm::before { background: #D08A16; }
.pcard .chip--build { color: #3F37C9; border-color: #B9B5F2; }
.pcard .chip--build::before { background: var(--accent); }
.pcard__logo--dark { background: #1E2130; padding: 3px 8px; border-radius: 4px; height: 30px; box-sizing: border-box; }
/* On the dark product page and quick view, every logo gets a light plate (white-only logos keep their dark one). */
.pproduct__info .pcard__logo, .pdialog .pcard__logo { background: #E9ECF1; padding: 4px 10px; border-radius: 6px; height: 34px; box-sizing: border-box; }
.pproduct__info .pcard__logo--dark, .pdialog .pcard__logo--dark { background: #1E2130; }

.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.co__split { margin: 0 0 var(--sp-2); font-size: 0.8125rem; color: var(--muted); }
.co__later { margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px dashed var(--line); color: var(--muted); }

/* ---- shop colour (Isaac, 2026-11-24) ----------------------------------------
   The shop uses the site's own accent, the violet-blue of the header's Request
   a Quote button (#4F46E5, white text 6.3:1), so it needs no tokens of its own. */
.cart-btn__count { color: #fff; }

/* ---- checkout: the customer's details (in the cart panel) ------------------ */
.co h3 { font-size: 1rem; margin: 0 0 var(--sp-3); }
.co__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--sp-3); }
.co__grid .field { margin-bottom: var(--sp-3); }
.co__full { grid-column: 1 / -1; }
.co .field.has-error .input, .co .field.has-error .textarea { border-color: var(--warn); }
.co__agree { display: flex; gap: var(--sp-2); align-items: flex-start; margin: var(--sp-2) 0 var(--sp-3); font-size: 0.875rem; color: var(--ink); }
.co__agree input { margin-top: 0.2rem; }
.co__agree a { color: var(--accent-lo); }
.co__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.co__status { margin: var(--sp-3) 0 0; font-size: 0.875rem; }
.co__status.is-bad { color: var(--warn); }
.co__done p { margin: 0 0 var(--sp-3); }
@media (max-width: 480px) { .co__grid { grid-template-columns: 1fr; } }

/* ---- detail view: several photos of one product -------------------------- */
.pgallery { display: flex; flex-direction: column; border-right: 1px solid var(--line); background: #F4F5F7; }
.pgallery .pdialog__art { border-right: 0; flex: 1; }
.pgallery__thumbs { display: flex; gap: 6px; padding: 8px; overflow-x: auto; }
.pgallery__thumb { flex: 0 0 56px; height: 56px; padding: 3px; border: 1px solid #D5D8E0; border-radius: 6px; background: #fff; cursor: pointer; }
.pgallery__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pgallery__thumb[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
@media (max-width: 760px) { .pgallery { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---- product page (/shop/<slug>) ------------------------------------------- */
.page-head--product { padding-bottom: 0; }
.pproduct-section { padding-top: var(--sp-6); }
.pproduct { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--sp-8, 3rem); align-items: start; }
.pproduct__media { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #F4F5F7; }
.pproduct__media > img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: var(--sp-5); box-sizing: border-box; }
.pproduct__media .pgallery { border-right: 0; }
.pproduct__media .pdialog__art { min-height: 0; aspect-ratio: 1 / 1; }
.pproduct__info h1 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: var(--sp-3) 0 var(--sp-2); }
.pproduct__info .lede { margin-top: var(--sp-4); }
.pproduct__buy { margin: var(--sp-5) 0; padding: var(--sp-5); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.pproduct__buy .pdialog__buy { margin-top: var(--sp-4); }
/* 1WorldSync content is made for a light page: it sits on a white panel so its text and images read as designed. */
.ccs-panel { background: #fff; color: #1a1a1a; border-radius: var(--radius); padding: var(--sp-5); min-height: 120px; }
/* Headings inside 1WorldSync's panel take its dark text instead of the site's light heading colour. Same low priority as the
   site's own h1-h6 rule (and later), so any colour 1WorldSync's stylesheet sets for a heading still wins. */
:where(.ccs-panel) :is(h1, h2, h3, h4, h5, h6) { color: inherit; }
#details[hidden] { display: none; }  /* shown by the page only once 1WorldSync sends content */
@media (max-width: 860px) { .pproduct { grid-template-columns: 1fr; } }
.pproduct__info .pcard__logo { height: 36px; }
.pproduct__info .pcard__logo img { max-width: 160px; }

/* ---- B2B checkout: addresses, totals and Square's card box ------------------ */
.co h3 { margin-top: var(--sp-5); }
.co h3:first-child { margin-top: 0; }
.co .select { width: 100%; }
.co__ship[hidden] { display: none; }
.co__totals { margin: var(--sp-4) 0; padding: var(--sp-3) var(--sp-4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.co__totals .cart__total { margin: 0.25rem 0; font-size: 0.9rem; }
.co__card { margin: var(--sp-4) 0; }
.co__card-field { min-height: 90px; border-radius: var(--radius); background: transparent; }  /* Square draws its own dark box (2026-11-29) */
/* MSRP struck through and the % saved (Isaac, 2026-11-28) */
.pcard__msrp { text-decoration: line-through; color: #8A90A2; font-size: 0.85em; }
.pcard__save { color: #3ECF8E; font-weight: 600; font-size: 0.85em; }


/* White-background logo artwork blends into the light card/plate without
   redrawing, recoloring or replacing the supplied manufacturer logo files.
   Limit this to audited white-background assets, never white-only wordmarks. */
.pcard { isolation: isolate; }
.pcard__logo img:is([src$="/amd.png"], [src$="/asrock.png"], [src$="/broadcom.png"],
  [src$="/hgst.png"], [src$="/ibuypower.png"], [src$="/lg.png"], [src$="/micron.png"],
  [src$="/microsoft.png"], [src$="/startech.png"], [src$="/toshiba.png"], [src$="/zotac.png"]) {
  mix-blend-mode: multiply;
}
/* Black-backed white marks keep a deliberate dark plate rather than a
   mismatched black rectangle. Colored brand lockups retain their own artwork. */
.pcard__logo:has(img:is([src$="/seagate.png"], [src$="/epower-technology.png"])) {
  background: #1E2130; padding: 3px 8px; border-radius: 4px; height: 30px;
  box-sizing: border-box; isolation: isolate;
}
.pcard__logo img:is([src$="/seagate.png"], [src$="/epower-technology.png"]) { mix-blend-mode: screen; }
