/* Marketplace detail and comparison integration; existing gallery and shared chrome stay authoritative. */
/* Product detail: three-column product imagery, verified specifications and B2B actions. */
@media (min-width: 1100px) {
  .products-pilot.tao-editorial--catalog .pilot-detail.pilot-detail--with-enquiry {
    grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr) minmax(250px,.62fr);
    gap: clamp(16px,2vw,30px);
    align-items: start;
  }
}
.products-pilot.tao-editorial--catalog .pilot-b2b-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid #dedee4;
  border-radius: 14px;
  background: #fff;
}
.products-pilot.tao-editorial--catalog .pilot-b2b-panel h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.3;
}
.products-pilot.tao-editorial--catalog .pilot-b2b-panel p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
}
.products-pilot.tao-editorial--catalog .pilot-b2b-panel .pilot-experience-actions {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 8px;
  margin: 14px 0;
}
.products-pilot.tao-editorial--catalog .pilot-b2b-panel .pilot-experience-action {
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 1100px) {
  .products-pilot.tao-editorial--catalog .pilot-b2b-panel {
    position: sticky;
    top: 112px;
  }
}
@media (min-width: 641px) and (max-width: 1099px) {
  .products-pilot.tao-editorial--catalog .pilot-detail.pilot-detail--with-enquiry {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  }
  .products-pilot.tao-editorial--catalog .pilot-b2b-panel {
    grid-column: 1 / -1;
  }
  .products-pilot.tao-editorial--catalog .pilot-b2b-panel .pilot-experience-actions {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 640px) {
  .products-pilot.tao-editorial--catalog .pilot-b2b-panel {
    padding: 14px;
  }
}

/* Compact technical summary: generated solely from the page's existing spec table. */
.products-pilot.tao-editorial--catalog .pilot-spec-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 22px;
}
.products-pilot.tao-editorial--catalog .pilot-spec-highlights > div {
  display: flex;
  flex-direction: column;
  min-width: 120px;
  gap: 4px;
  padding: 10px 14px;
  border: 1px solid #e6e3ea;
  border-radius: 10px;
  background: #faf9fb;
}
.products-pilot.tao-editorial--catalog .pilot-spec-highlights span {
  color: #625c69;
  font-size: 12px;
  line-height: 1.35;
}
.products-pilot.tao-editorial--catalog .pilot-spec-highlights strong {
  color: #26212e;
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
@media (max-width: 480px) {
  .products-pilot.tao-editorial--catalog .pilot-spec-highlights > div {
    min-width: 0;
    flex: 1 1 42%;
  }
}

/* Catalog QA: hidden must win over later high-specificity grid/flex rules. */
.products-pilot.tao-editorial--catalog [hidden]:not([hidden="until-found"]) { display: none !important; }
.products-pilot.tao-editorial--catalog { --pilot-media-ratio: 1 / 1; }
.products-pilot.tao-editorial--catalog .pilot-card-media,
.products-pilot.tao-editorial--catalog .pilot-compare-media {
  display: grid; place-items: center; width: 100%; min-width: 0;
  aspect-ratio: var(--pilot-media-ratio); box-sizing: border-box; flex-shrink: 0;
  padding: 10px; background: #fafafa; border-bottom: 1px solid #efeff2;
  text-decoration: none; overflow: hidden;
}
.products-pilot.tao-editorial--catalog :is(.pilot-card-media,.pilot-compare-media) img {
  display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain;
  aspect-ratio: var(--pilot-media-ratio);
}
.products-pilot.tao-editorial--catalog :is(.pilot-card-media,.pilot-compare-media):focus-visible {
  outline: 2px solid var(--tao-color-focus-ring); outline-offset: -3px;
}
.products-pilot.tao-editorial--catalog .pilot-compare-media { margin-bottom: 12px; }
.products-pilot.tao-editorial--catalog .pilot-compare-media span { font-size: 13px; padding: 12px; }
.products-pilot.tao-editorial--catalog.pilot-catalog--detail { padding-top: 24px; }
.products-pilot.tao-editorial--catalog.pilot-catalog--detail .pilot-breadcrumb { width: 100%; margin-bottom: 12px; }
.products-pilot.tao-editorial--catalog .pilot-detail-information { min-width: 0; }
.products-pilot.tao-editorial--catalog .pilot-detail-information .pilot-intro { width: 100%; margin: 0 0 20px; }
.products-pilot.tao-editorial--catalog .pilot-detail-information h1 { font-size: clamp(24px,2.1vw,32px); line-height: 1.2; margin: 8px 0 12px; }
.products-pilot.tao-editorial--catalog .pilot-detail-information h2 { font-size: 20px; margin: 12px 0; }
.products-pilot.tao-editorial--catalog .pilot-detail-information .pilot-specs > div { padding: 10px 0; gap: 12px; }
.products-pilot.tao-editorial--catalog .pilot-detail-information :is(dt,dd) { font-size: 14px; line-height: 1.5; }
.products-pilot.tao-editorial--catalog .pilot-detail-information .pilot-notice { padding: 10px 12px; margin-top: 12px; font-size: 13px; }
.products-pilot.tao-editorial--catalog .pilot-detail-information .pilot-spec-highlights { gap: 6px; margin: 12px 0; }
.products-pilot.tao-editorial--catalog .pilot-detail-information .pilot-spec-highlights > div { min-width: 0; flex: 1 1 100px; padding: 8px; }
.products-pilot.tao-editorial--catalog.pilot-catalog--detail .pilot-section-nav { margin: 8px 0 16px; padding-block: 4px; }
.products-pilot.tao-editorial--catalog[data-session-selected] .pilot-b2b-panel { position: static; }
@media (min-width:1100px) and (max-height:700px) {
  .products-pilot.tao-editorial--catalog .pilot-b2b-panel { position: static; }
}
@media (max-width:640px) {
  .products-pilot.tao-editorial--catalog .pilot-detail-information { display: contents; }
  .products-pilot.tao-editorial--catalog .pilot-detail-information > .pilot-intro { grid-row: 1; }
  .products-pilot.tao-editorial--catalog .pilot-detail--with-enquiry > .pilot-photo { grid-row: 2; }
  .products-pilot.tao-editorial--catalog .pilot-detail-information > section[aria-labelledby="technical-data"] { grid-row: 3; }
  .products-pilot.tao-editorial--catalog .pilot-detail--with-enquiry > .pilot-b2b-panel { grid-row: 4; }
}


/* Match the already accepted storefront widths and 1/2/3/4/5 column breakpoints. */
.products-pilot.tao-editorial--catalog { --market-columns:1; --market-width:100%; }
@media(min-width:360px){.products-pilot.tao-editorial--catalog{--market-columns:2}}
@media(min-width:700px){.products-pilot.tao-editorial--catalog{--market-columns:3;--market-width:790px}}
@media(min-width:1200px){.products-pilot.tao-editorial--catalog{--market-columns:4;--market-width:930px}}
@media(min-width:1680px){.products-pilot.tao-editorial--catalog{--market-columns:5;--market-width:1200px}}
.products-pilot.tao-editorial--catalog .pilot-selection {padding:0;border:0;background:transparent;}
.products-pilot.tao-editorial--catalog .pilot-selection #product-comparison-results,
.products-pilot.tao-editorial--catalog .pilot-selection #product-comparison-results[data-compare-count] {
  width:100%;max-width:var(--market-width);margin-inline:auto;
  grid-template-columns:repeat(var(--market-columns),minmax(0,1fr));gap:12px;
}
.products-pilot.tao-editorial--catalog .pilot-compare-record {padding:0;overflow:hidden;border-radius:12px;}
.products-pilot.tao-editorial--catalog .pilot-compare-record > :not(.pilot-compare-media) {margin-inline:12px;}
.products-pilot.tao-editorial--catalog .pilot-compare-record h3 {font-size:17px;margin-top:12px;}
.products-pilot.tao-editorial--catalog .pilot-card-media {padding:0;}
.products-pilot.tao-editorial--catalog .pilot-compare-media {padding:0;}
.products-pilot.tao-editorial--catalog .pilot-commerce-grid .pilot-card-media img {aspect-ratio:1/1;object-fit:contain;}
@media(max-width:699px){.products-pilot.tao-editorial--catalog .pilot-selection #product-comparison-results[data-compare-count]{gap:9px;}}
