.b2b-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 5px;
  margin-top: 10px;
}
.b2b-qty, .b2b-quick-button {
  border: 1px solid var(--line);
  min-height: 42px;
  background: transparent;
  font-size: .875rem;
}
.b2b-qty { width: 55px; text-align: center; padding-inline: 3px; }
.b2b-quick-button { padding: 5px 11px; font-weight: 600; }
.b2b-quick-button:hover, .b2b-thumb:hover { background: var(--soft); }
.b2b-quick-result:not(:empty), [data-set-status]:not(:empty) {
  display: block;
  flex-basis: 100%;
  margin-block-start: 5px;
  color: var(--clay);
  font-size: .875rem;
}
.b2b-gallery { min-width: 0; }
.b2b-gallery figure { margin: 0; }
.b2b-gallery-stage { position: relative; background: var(--soft); }
.b2b-gallery-stage img { width: 100%; aspect-ratio: 1; height: auto; object-fit: contain; }
.b2b-zoom {
  position: absolute;
  inset-inline-end: 12px;
  inset-block-end: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
}
.b2b-gallery figcaption, .b2b-source {
  font-size: .875rem;
  color: var(--muted);
  margin-top: 7px;
}
.b2b-thumbs { display: flex; gap: 8px; margin-block: 12px 0; flex-wrap: wrap; }
.b2b-thumb {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 4px;
  padding-inline-end: 10px;
  text-align: start;
  font-size: .875rem;
  line-height: 1.25;
}
.b2b-thumb[aria-pressed=true] { border-color: var(--clay); }
.b2b-thumb img { width: 50px; height: 50px; object-fit: cover; }
.b2b-source { display: inline-block; text-decoration: underline; text-underline-offset: 3px; }
.b2b-specs { width: 100%; flex-basis: 100%; margin-block: 8px; border-block: 1px solid var(--line); }
.b2b-specs summary { padding-block: 13px; font-weight: 600; cursor: pointer; }
.b2b-specs summary:focus-visible { outline: 3px solid var(--clay); }
.b2b-specs .fine { margin: 0 0 12px; }
.b2b-spec-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; margin-bottom: 12px; }
.b2b-spec-grid label { display: grid; align-content: start; gap: 4px; font-size: .875rem; }
.b2b-spec-grid input, .b2b-spec-grid textarea {
  width: 100%;
  min-height: 42px;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.b2b-spec-grid textarea { resize: vertical; }
.b2b-sets { padding-block-start: clamp(30px,5vw,80px); }
.b2b-set-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px,3vw,45px); margin-block-start: 34px; }
.b2b-set-card { display: flex; flex-direction: column; align-items: flex-start; }
.b2b-set-card img { aspect-ratio: 1.4; height: auto; }
.b2b-set-card h2 { margin-block: 18px 9px; font-size: clamp(1.55rem,2.4vw,2.25rem); }
.b2b-set-card p, .b2b-guide-copy p { color: var(--muted); line-height: 1.65; }
.b2b-set-card .textlink { margin-top: 14px; }
.b2b-set-card:hover .textlink { border-color: var(--clay); color: var(--clay); }
.b2b-guide-intro {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: stretch;
  background: var(--soft);
}
.b2b-guide-intro > div { padding: clamp(24px,4vw,64px); align-self: center; }
.b2b-guide-intro h1 { font-size: clamp(2.35rem,4.7vw,4.7rem); }
.b2b-guide-intro .intro { margin-bottom: 0; }
.b2b-guide-intro > img { height: 100%; min-height: 280px; max-height: 510px; }
.b2b-guide-layout { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(28px,6vw,96px); margin-block-start: clamp(34px,5vw,75px); align-items: start; }
.b2b-guide-copy section + section { margin-top: 30px; }
.b2b-guide-layout h2 { font-size: clamp(1.6rem,2.6vw,2.65rem); }
.b2b-guide-copy p, .b2b-set-products .fine { margin-top: 12px; }
.b2b-set-products { background: #eee9e0; padding: clamp(20px,3vw,42px); }
.b2b-set-products ul { list-style: none; margin-block: 18px 20px; padding: 0; }
.b2b-set-products li { display: flex; align-items: center; gap: 10px; border-block-start: 1px solid var(--line); padding-block: 10px; }
.b2b-set-products li:last-child { border-block-end: 1px solid var(--line); }
.b2b-set-products li a { display: flex; align-items: center; gap: 12px; flex: 1; }
.b2b-set-products li a:hover span { text-decoration: underline; }
.b2b-set-products li img { flex: none; width: 56px; height: 56px; }
.b2b-set-products li small { display: block; color: var(--muted); font-size: .8125rem; text-align: start; }
.b2b-line-qty { white-space: nowrap; font-variant-numeric: tabular-nums; }
.b2b-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 760px) {
  .b2b-set-grid, .b2b-guide-intro, .b2b-guide-layout { grid-template-columns: 1fr; }
  .b2b-set-grid { gap: 30px; }
  .b2b-guide-intro > img { min-height: 0; max-height: 240px; aspect-ratio: 1.8; height: auto; }
}
@media (max-width: 460px) {
  .b2b-spec-grid { grid-template-columns: 1fr; }
  .b2b-thumb { max-width: 100%; }
}
