@font-face {
  font-family: "Baoyue Pilot Serif";
  src: url("/assets/b2b-tin-pilot-20261117/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

.b2b-pilot {
  --pilot-ink: #27211d;
  --pilot-muted: #61574e;
  --pilot-rust: #913c2d;
  --pilot-line: #d9cbbe;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .94fr);
  align-items: start;
  gap: clamp(28px, 5vw, 75px);
  width: min(1248px, 100% - 80px);
  margin: 7px auto 48px;
  color: var(--pilot-ink);
}
.b2b-pilot .pilot-photo { margin: 0; border: 1px solid #e7ddcf; border-radius: 7px; overflow: hidden; background: #f0e7dc; }
.pilot-zoom { display: grid; position: relative; place-items: center; width: 100%; aspect-ratio: 1.06; padding: 24px; border: 0; background: transparent; cursor: zoom-in; }
.pilot-zoom img { display: block; width: 100%; height: 100%; max-height: 580px; min-height: 0; object-fit: contain; }
.pilot-zoom span { position: absolute; bottom: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; color: #27211d; background: #fcfaf6; border: 1px solid #b9aa9b; border-radius: 50%; font-size: 23px; }
.pilot-photo figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 11px 14px; border-top: 1px solid #e0d3c4; color: var(--pilot-muted); font-size: 12px; }
.pilot-label { margin: 9px 0 5px; color: var(--pilot-rust); font-size: .72rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.b2b-pilot .pilot-product h1 { font: 400 clamp(2.65rem, 5vw, 5.25rem)/.98 "Baoyue Pilot Serif", Georgia, serif; letter-spacing: -.025em; color: var(--pilot-ink); margin: 7px 0 13px; }
.pilot-description { max-width: 51ch; margin: 0 0 17px; color: var(--pilot-muted); font-size: 15px; }
.pilot-spec-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 13px; border-top: 1px solid var(--pilot-line); }
.b2b-pilot .pilot-spec-bar h2 { margin: 0; font-size: 16px; line-height: 1.3; letter-spacing: 0; }
.pilot-units, .pilot-choices { position: relative; margin: 0; padding: 0; min-width: 0; border: 0; }
.pilot-units input, .pilot-choices input, .pilot-units legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.pilot-units label, .pilot-choices label { cursor: pointer; }
.pilot-units { display: inline-flex; border: 1px solid var(--pilot-line); border-radius: 5px; background: white; padding: 2px; flex: none; }
.pilot-units span { display: grid; place-items: center; width: 44px; height: 42px; font-size: 13px; font-weight: 650; }
.pilot-units input:checked + span { color: white; background: var(--pilot-ink); border-radius: 3px; }
.pilot-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 9px; }
.pilot-choices legend { font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.pilot-choices label span { display: grid; gap: 2px; min-height: 52px; border: 1px solid #c7b6a7; border-radius: 4px; padding: 8px 11px; background: #fffcf8; }
.pilot-choices small { color: var(--pilot-muted); font-size: 11px; }
.pilot-choices input:checked + span { border-color: var(--pilot-rust); box-shadow: inset 0 0 0 1px var(--pilot-rust); background: #f7ece3; }
.pilot-units input:focus-visible + span, .pilot-choices input:focus-visible + span, .b2b-pilot button:focus-visible, .pilot-primary:focus-visible { outline: 2px solid var(--pilot-rust); outline-offset: 3px; }
.pilot-spec-list { margin: 10px 0; }
.pilot-spec-list > div { border-bottom: 1px solid #e9ded4; display: grid; gap: 9px; grid-template-columns: minmax(0,.68fr) minmax(0,1fr); padding: 7px 0; font-size: 13px; }
.pilot-spec-list dt { color: var(--pilot-muted); }
.pilot-spec-list dd { margin: 0; font-weight: 550; overflow-wrap: anywhere; }
.pilot-note { font-size: 12px; color: var(--pilot-muted); margin: 10px 0; }
.pilot-primary { display: flex; gap: 13px; align-items: center; justify-content: center; min-height: 47px; text-align: center; padding: 10px; border-radius: 5px; background: var(--pilot-ink); color: white; text-decoration: none; font-size: 14px; font-weight: 650; }
.pilot-primary:hover { background: var(--pilot-rust); color: white; }
.b2b-pilot .pilot-dialog { max-width: calc(100% - 28px); max-height: calc(100% - 28px); padding: 16px; border: 1px solid var(--pilot-line); border-radius: 7px; background: #fcfaf6; }
.pilot-dialog::backdrop { background: rgb(27 21 17 / 72%); }
.pilot-dialog img { display: block; margin: auto; width: min(600px, 78vw); height: auto; max-height: 79vh; object-fit: contain; }
.pilot-close { position: absolute; top: 9px; right: 9px; width: 44px; height: 44px; border: 1px solid #d9cbbe; background: white; color: #27211d; border-radius: 50%; font-size: 24px; cursor: pointer; }
.pilot-form-size { margin: 0; overflow-wrap: anywhere; }
.pilot-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.pilot-form-grid label { min-width: 0; }
.pilot-form-grid small { font-weight: normal; opacity: .8; }
.pilot-form-grid input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; }
form:has(.pilot-form-size) .enquiry-reference { display: none; }
@media (max-width: 780px) {
  .b2b-pilot { grid-template-columns: minmax(0,1fr); gap: 14px; width: min(560px, 100% - 30px); margin-bottom: 31px; }
  .b2b-pilot .pilot-product h1 { font-size: clamp(2.75rem,10.3vw,4.5rem); }
  .pilot-zoom { aspect-ratio: 1.4; padding: 13px; }
  .pilot-zoom img { max-height: 390px; }
}
@media (max-width: 430px) {
  .pilot-form-grid { grid-template-columns: minmax(0,1fr); gap: 8px; }
}
