/* =========================================================
   A-IAC.css  — Immunoaffinity Column product detail page
   Header/footer styles provided by header.css + common.css
   ========================================================= */

:root {
  --bg: #f4f7fc;
  --card: #ffffff;
  --soft: #eef4ff;
  --line: #dbe5f3;
  --text: #173a72;
  --muted: #617697;
  --primary: #2f6fec;
  --primary-dark: #1f56c4;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(27, 65, 133, 0.08);
  --container: 1180px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family:'Inter', Arial, Helvetica, sans-serif;
  color: #173a72;
  background: linear-gradient(180deg, #f7f9fd 0%, #f2f6fc 100%);
  line-height: 1.5;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; font-family:'Inter', Arial, Helvetica, sans-serif;}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* ---- Hero ---- */
.hero { padding: 38px 0 40px; }

.breadcrumb {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  color: #536d98;
  margin-bottom: 25px;
}

.breadcrumb span { color: var(--text); font-weight: 700; }
.breadcrumb b { margin: 0 11px; color: #536d98; font-weight: 700; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(420px, 0.84fr);
  gap: 36px;
  align-items: center;
}

.hero-title-block {
  border-left: 4px solid #2f6fec;
  padding-left: 23px;
  margin-bottom: 25px;
}

h1 {
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: #173f7b;
  margin: 0 0 11px;
  max-width: 700px;
}

.product-type {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 400;
  color: #2f6fec;
}

.lead {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  color: #5f79a3;
  margin: 0 0 29px;
  max-width: 710px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
  margin-top: 30px;
}

.tag {
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  border: 1px solid #d5e1f2;
  background: rgba(255,255,255,0.45);
  color: var(--text);
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 16px 27px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 17px;
  line-height: 1;
  transition: 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 22px rgba(47, 111, 236, 0.22);
}

.btn-secondary {
  background: white;
  color: var(--primary-dark);
  border: 1px solid var(--line);
}

/* ---- Hero media / column visual ---- */
.hero-media {
  aspect-ratio: auto;
  min-height: 360px;
  padding: 20px;
  border-radius: 30px;
  border: 1px solid #dbe5f3;
  background: #fff;
  box-shadow: 0 12px 32px rgba(27, 65, 133, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}



.column-visual {
  position: relative;
  width: 104px;
  height: 230px;
  z-index: 2;
}

.column-cap {
  width: 100px;
  height: 36px;
  border-radius: 12px;
  border: 2px solid #c6dbea;
  background: #f7fbfd;
  margin: 0 auto -3px;
}

.column-body {
  width: 72px;
  height: 156px;
  margin: 0 auto;
  border: 2px solid #b7d0df;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbfd 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.column-gel {
  width: 54px;
  height: 48px;
  border-radius: 16px;
  margin-bottom: 18px;
  background: #d8eff0;
  position: relative;
}

.column-gel::before,
.column-gel::after {
  content: "";
  position: absolute;
  left: 10px;
  width: 34px;
  height: 8px;
  border-top: 3px solid #5fb7c0;
  border-radius: 50%;
}

.column-gel::before { top: 12px; }
.column-gel::after { top: 26px; }

.column-tip {
  width: 26px;
  height: 43px;
  margin: -1px auto 0;
  background: #f4fbfd;
  border: 2px solid #b7d0df;
  clip-path: polygon(0 0, 100% 0, 72% 100%, 28% 100%);
}

.hero-product-img {
  max-width: 78%;
  max-height: 320px;
  height: auto;
  border-radius: 14px;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(27, 65, 133, .12);
}

/* ---- Sections ---- */
section { padding: 24px 0 34px; }

.section-head { margin-bottom: 19px; }

.section-head h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #173f7b;
  text-align: center;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 900px;
}

.section-head.centered-copy p {
  max-width: 940px;
  margin: 12px auto 0;
  text-align: center;
  font-size: 18px;
  line-height: 1.55;
  color: #5f79a3;
}

/* ---- Data grid ---- */
.data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 23px 21px;
  box-shadow: var(--shadow);
  min-height: 146px;
}

.metric .label {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 9px;
  font-weight: 700;
  line-height: 1.25;
}

.metric .value {
  font-size: 31px;
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.metric .value.small { font-size: 22px; line-height: 1.25; }

.metric .note { color: var(--muted); font-size: 14px; line-height: 1.45; }

/* ---- Tables ---- */
table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

th, td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.55;
  vertical-align: top;
}

th {
  color: var(--text);
  background: #f8fbff;
  font-size: 14px;
  font-weight: 800;
  width: 27%;
}

.specifications-table th {
  text-align: left;
  vertical-align: middle;
}

.specifications-table td {
  vertical-align: middle;
}

tr:last-child th,
tr:last-child td { border-bottom: none; }

/* ---- Components ---- */
.components-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: stretch;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 22px;
  box-shadow: var(--shadow);
}

.card h3
.card h4 { margin: 0 0 10px; }

.card h3 { font-size: 20px;color:#173a72; }

.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

.component-list,
.required-list {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.component-list li + li,
.required-list li + li { margin-top: 8px; }

/* ---- Features ---- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mini-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 54px;
  margin: 0;
  box-shadow: 0 8px 20px rgba(47, 111, 236, 0.18);
}

.mini-icon svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.feature-top h3 {
  margin: 4px 0 0;
  line-height: 1.15;
}

.workflow-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 13px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}

.workflow-line span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #f4f8ff;
  border: 1px solid var(--line);
}

.workflow-line b { color: #91a1ba; }

/* ===== Automation module ===== */
.automation-section {
  padding-top: 30px;
  padding-bottom: 46px;
}

.automation-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 34px;
  align-items: stretch;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.automation-copy {
  padding: 34px 10px 34px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.automation-kicker {
  margin-bottom: 9px;
  color: var(--primary);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.automation-copy h3 {
  margin: 0 0 13px;
  color: #173f7b;
  font-size: 27px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.automation-copy > p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.automation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 20px 0 18px;
}

.automation-tags span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fbff;
  color: #355b86;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 700;
}

.automation-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
  color: #173a72;
  font-size: 12px;
  font-weight: 800;
}

.automation-flow span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.automation-flow b {
  color: #91a1ba;
  font-size: 13px;
}

.automation-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(47,111,236,0.18);
}

.automation-media {
  min-height: 330px;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(145deg, #f6faff 0%, #edf5fc 100%);
  border-left: 1px solid var(--line);
}

.automation-media img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.automation-image-placeholder {
  width: 100%;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px;
  background: linear-gradient(145deg, #f7fbff 0%, #eaf3fd 100%);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.automation-image-placeholder strong {
  color: #173f7b;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.automation-image-placeholder span {
  max-width: 260px;
  line-height: 1.5;
}


.related-products {
  padding: 60px 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.related-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(27, 65, 133, 0.12);
}

.related-image {
  aspect-ratio: 1;
  background: #f7faff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card h3 {
  padding: 16px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #17335d;
  text-align: left;
}

.related-card h3 a {
  color: inherit;
  text-decoration: none;
}

.related-card h3 a:hover {
  color: var(--primary);
}



/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .automation-panel { grid-template-columns: 1fr; }
  .automation-copy { padding: 30px; }
  .automation-media { min-height: 280px; border-left: 0; border-top: 1px solid var(--line); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: none; min-height: 360px; }
  h1 { font-size: 44px; }
  .data-grid,
  .components-wrap,
  .grid-3 { grid-template-columns: 1fr; }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
}

@media (max-width: 720px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .hero { padding-top: 30px; }
  .hero-grid { gap: 28px; }
  .hero-title-block { padding-left: 18px; }
  h1 { font-size: 36px; }
  .product-type { font-size: 20px; }
  .lead { font-size: 17px; }
  .tag { font-size: 14px; padding: 11px 16px; }
  .btn { font-size: 15px; padding: 14px 22px; }
  .section-head h2 { font-size: 28px; }
  th, td { padding: 12px; font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .automation-copy { padding: 24px 20px; }
  .automation-copy h3 { font-size: 23px; }
  .automation-media { min-height: 240px; padding: 0; }
}
