.trust-card-icon svg { width: 15px; height: 15px; color: var(--accent); }
/* ── Meta row ─────── */
.meta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.875rem; font-size: 0.75rem; color: rgba(148,163,184,0.75); }
.meta-row span { display: flex; align-items: center; gap: 5px; }
.meta-row svg { color: var(--accent); flex-shrink: 0; }

/* ── Product image column ───────────────── */
.hero-media .product-variant-grid {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.product-variant-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.product-variant-figure { margin: 0; display: block; }
.product-img-wrap {
  position: relative;
  border-radius: 1.125rem;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 60px rgba(30,78,216,0.18), 0 24px 48px rgba(0,0,0,0.5);
}
.product-img-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-variant-grid .product-img-wrap,
.hero-media--single .product-img-wrap {
  flex: none !important;
  height: 520px !important;
  min-height: 520px !important;
  max-height: 520px !important;
}
.product-variant-grid .product-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  box-sizing: border-box;
}
.product-img-wrap--product-photo {
  background: #eef1f4;
  box-shadow: 0 0 40px rgba(30,78,216,0.12), 0 16px 32px rgba(0,0,0,0.35);
}
.product-variant-grid .product-img-wrap--bayonet img {
  object-fit: cover;
  object-position: 60% 68%;
  padding: 0;
  transform: scale(1.4);
  transform-origin: 60% 68%;
}
.product-variant-grid .gallery-hero-link:hover .product-img-wrap--bayonet img {
  transform: scale(1.45);
}
.product-variant-grid .product-img-wrap--threaded img {
  object-fit: cover;
  object-position: 50% 35%;
  transform: scale(1.6);
  transform-origin: 50% 35%;
}
.product-variant-grid .gallery-hero-link:hover .product-img-wrap--threaded img {
  transform: scale(1.65);
}
.product-variant-caption {
  margin: 0.625rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.product-variant-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.35;
}
.product-variant-meta {
  font-size: 0.6875rem;
  color: var(--muted);
  line-height: 1.45;
}
.gallery-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--accent); text-decoration: none;
  margin-top: 0.75rem;
  transition: opacity 150ms;
}
.gallery-link:hover { opacity: 0.75; }

/* ── Spec table ─────────────────────────── */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 0.625rem 0; font-size: 0.8125rem; vertical-align: top; }
@media (min-width: 768px) {
  .spec-table td:first-child { color: rgba(148,163,184,0.7); width: 1%; white-space: nowrap; font-weight: 400; padding-right: 1.5rem; }
}
.spec-table td:last-child { color: #e2e8f0; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; }
.dark-ref-table .model-cell { white-space: nowrap; }

/* ── Approvals block smaller pills ─────── */
.approvals-block .model-pill { font-size: 0.65rem; padding: 2px 9px; border-radius: 0.25rem; }

/* ── Serial number pills ────────────────── */
.sn-pill { display: inline-flex !important; align-items: center !important; font-family: var(--font-mono) !important; font-size: 0.6875rem !important; letter-spacing: 0.04em !important; color: rgba(148,163,184,0.85) !important; background: rgba(255,255,255,0.04) !important; border: 1px solid rgba(148,163,184,0.15) !important; border-radius: 0.375rem !important; padding: 3px 10px !important; margin: 2px 2px 2px 0; }
.dark-card .sn-pill { margin: 4px 4px 4px 0; }

/* ── Aircraft reference table ───────────── */
.ka-data-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.ka-table-scroll { overflow-x: auto; border: 1px solid rgba(148,163,184,0.15); border-radius: 0.875rem; }
@media (min-width: 768px) {
  .ka-data-table .pn { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent); font-weight: 600; white-space: nowrap; }
  .ka-data-table thead th { padding: 0.75rem 1.25rem; text-align: left; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); border-bottom: 1px solid rgba(148,163,184,0.15); background: rgba(255,255,255,0.05); }
  .ka-data-table tbody tr { border-bottom: 1px solid rgba(148,163,184,0.08); }
  .ka-data-table tbody tr:last-child { border-bottom: none; }
  .ka-data-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.02); }
  .ka-data-table tbody td { padding: 0.875rem 1.25rem; color: var(--body); vertical-align: top; line-height: 1.5; background: transparent; }
  .ka-data-table tbody td:first-child { color: var(--ink); font-weight: 600; }
}

/* ── Note callout ───────────────────────── */
.note-callout { border-left: 3px solid var(--accent); background: rgba(96,165,250,0.06); border-radius: 0 0.5rem 0.5rem 0; padding: 0.75rem 1rem; margin-top: 1rem; }

/* ── Related product cards ──────────────── */
.related-card {
  position: relative; overflow: hidden;
  border-radius: 0.875rem;
  border: 1px solid rgba(148,163,184,0.18);
  background: rgba(255,255,255,0.08);
  height: 280px;
  text-decoration: none;
  display: block;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.related-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.related-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; transition: transform 400ms ease; }
.related-card:hover img { transform: scale(1.04); }

.related-card-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0.875rem 1.125rem;
  background: #0d1f3d;
  border-top: 1px solid rgba(148,163,184,0.12);
  font-size: 0.8125rem; font-weight: 600; color: #e2e8f0;
}

/* ── Responsive ─────────────────────────── */
@media (max-width: 1023px) {
  .hero-grid,
  .product-hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
  }
  .hero-grid > *,
  .product-hero-grid > * {
    min-width: 0;
    max-width: 100%;
  }
  .hero-grid { grid-template-columns: 1fr !important; gap: 0 !important; }
  .hero-media { max-width: 100%; margin: 1.5rem 0 0; height: auto !important; }
  .product-variant-grid .product-img-wrap,
  .hero-media--single .product-img-wrap {
    height: 380px !important;
    min-height: 380px !important;
    max-height: 380px !important;
  }
  .cta-row { flex-wrap: wrap; margin-bottom: 0; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}
@media (max-width: 767px) {
  .trust-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr !important; }
  .related-grid { grid-template-columns: 1fr !important; }

  /* System spec rows — stack long labels like other product pages */
  .dark-card div[style*="justify-content: space-between"] {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.25rem 0.75rem;
  }
  .dark-card div[style*="justify-content: space-between"] > span:first-child {
    flex: 1 1 100%;
    line-height: 1.4;
  }
  .dark-card div[style*="justify-content: space-between"] > span:last-child {
    flex: 1 1 100%;
    text-align: left;
    line-height: 1.4;
  }

  /* Approved aircraft — plain stacked sections, not per-row cards */
  .dark-card .ka-table-scroll {
    overflow: visible !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
  }
  .ice-aircraft-table,
  .ice-aircraft-table tbody {
    display: block;
    width: 100%;
  }
  .ice-aircraft-table thead {
    display: none;
  }
  .ice-aircraft-table tbody tr {
    display: block;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
  }
  .ice-aircraft-table tbody td {
    display: block;
    padding: 0 0 0.75rem;
    border: none !important;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.55;
    color: var(--body);
    overflow-wrap: anywhere;
  }
  .ice-aircraft-table tbody tr:first-child td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 0.35rem;
  }
  .ice-aircraft-table tbody tr:first-child td:last-child {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  }
  .ice-aircraft-table tbody tr:nth-child(2) {
    margin-top: 0.25rem;
  }
  .ice-aircraft-table tbody tr:nth-child(2) td[colspan] {
    padding: 0.65rem 0 0.35rem !important;
    font-size: 0.55rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: var(--muted) !important;
    background: transparent !important;
    line-height: 1.35;
  }
  .ice-aircraft-table tbody tr:nth-child(2) td[colspan]::before {
    content: none;
  }
  .ice-aircraft-table tbody tr:nth-child(3) td[colspan] {
    padding: 0 0 0.25rem !important;
    font-size: 0.8125rem !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    color: var(--body) !important;
    background: transparent !important;
    line-height: 1.55;
  }
  .ice-aircraft-table tbody tr:nth-child(3) td[colspan]::before {
    content: none;
  }
  .dark-card .sn-pill {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
  }

  /* PWI LED vs A7079B24 — match System Specs row styling in dark-card */
  .ice-compare-table {
    display: block;
    width: 100%;
    table-layout: auto !important;
  }
  .ice-compare-table colgroup,
  .ice-compare-table thead {
    display: none;
  }
  .ice-compare-table tbody {
    display: block;
  }
  .ice-compare-table tbody tr {
    display: block;
    padding: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.09);
  }
  .ice-compare-table tbody tr:last-child {
    border-bottom: none;
  }
  .ice-compare-table tbody td {
    display: block;
    width: 100% !important;
    padding: 0;
    white-space: normal !important;
    border: none;
    font-family: var(--font-sans) !important;
    letter-spacing: normal !important;
    line-height: 1.4;
  }
  .ice-compare-table tbody td:first-child {
    font-size: 0.8125rem;
    font-weight: 400;
    color: rgba(148, 163, 184, 0.92);
    padding: 8px 0 4px;
    line-height: 1.4;
  }
  .ice-compare-table tbody td:nth-child(2),
  .ice-compare-table tbody td:nth-child(3) {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.25rem 0.75rem;
    min-height: 32px;
    padding: 8px 0;
    font-size: 0.8125rem;
    color: #e2e8f0;
  }
  .ice-compare-table tbody td:nth-child(3) {
    padding-bottom: 8px;
  }
  .ice-compare-table tbody tr:last-child td:nth-child(3) {
    padding-bottom: 0;
  }
  .ice-compare-table tbody td:nth-child(2)::before,
  .ice-compare-table tbody td:nth-child(3)::before {
    flex: 1 1 100%;
    font-size: 0.8125rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.4;
  }
  .ice-compare-table tbody td:nth-child(2)::before {
    content: "PWI LED";
    color: rgba(148, 163, 184, 0.92);
  }
  .ice-compare-table tbody td:nth-child(3)::before {
    content: "A7079B24";
    color: rgba(148, 163, 184, 0.92);
  }

  .sn-table thead { display: none; }
  .sn-table, .sn-table tbody, .sn-table tr, .sn-table td { display: block; width: 100%; }
  .sn-table tbody tr { padding: 0.625rem 0; }
  .sn-table tbody td { padding: 0.125rem 0; border: none; white-space: normal !important; }
  .sn-table tbody td:first-child { font-size: 0.8125rem; }
  .sn-table tbody td:nth-child(2) { font-size: 0.625rem; }
}
