*{box-sizing:border-box}
body{margin:0;font-family:Segoe UI,Arial,sans-serif;background:#fff}

.content{padding:28px 0 60px;}

/* Shared centered page width */
.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 28px;
}
.header{
  background: linear-gradient(90deg,#0f2027,#203a43,#2c5364);
  padding:22px 0;
  box-shadow:0 4px 14px rgba(0,0,0,.28);
}
.header-inner{
  max-width:1400px;
  margin:0 auto;
  padding:0 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.brand-left{
  display:flex;
  align-items:center;
  gap:18px;
  min-width:420px;
}
.brand-left img{
  height:86px;
  width:auto;
  display:block;
}
.brand-name{
  font-size:46px;
  font-weight:800;
  letter-spacing:1.2px;
  background: linear-gradient(90deg,#5eead4,#22d3ee,#6366f1);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
nav{display:flex;gap:34px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
nav a{
  color:#fff;text-decoration:none;font-size:18px;font-weight:500;
  position:relative;padding-bottom:7px;
}
nav a::after{
  content:'';position:absolute;left:0;bottom:0;width:0;height:2px;
  background:#22d3ee;transition:width .25s ease;
}
nav a:hover::after, nav a.active::after{width:100%}
nav a:hover{color:#22d3ee}
@media (max-width: 980px){
  .header-inner{flex-wrap:wrap}
  .brand-left{min-width:unset}
  .brand-name{font-size:38px}
  .brand-left img{height:74px}
}


/* Header brand typography (shared across all pages) */
.acosil-brand{font-family:'Playfair Display',serif;letter-spacing:1.6px;font-weight:700;}
.tagline{font-size:13px;margin-top:4px;letter-spacing:1px;color:#cdeff5;opacity:0.95;}


/* PRODUCTS PAGE */
.products-wrap{padding:28px 0 42px;}
.products-grid{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:18px;align-items:stretch;}
.prod-card{background:#fff;border-radius:16px;box-shadow:0 10px 28px rgba(0,0,0,.08);overflow:hidden;border:1px solid rgba(0,0,0,.06);min-height:160px;}
.prod-card.pad{padding:20px;}
.prod-card h2{margin:0 0 8px;font-size:22px;letter-spacing:.2px;}
.prod-card p{margin:0;color:#4b5563;line-height:1.5;}
.prod-card.empty{background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,0));border:1px dashed rgba(0,0,0,.18);box-shadow:none;}
.prod-image{display:flex;align-items:center;justify-content:center;background: linear-gradient(135deg, rgba(3,150,165,.08), rgba(17,24,39,.06));flex-direction:column;align-items:stretch;}
.prod-image img{max-width:92%;height:auto;display:block;filter:drop-shadow(0 10px 18px rgba(0,0,0,.18));}
@media (max-width: 900px){
  .products-grid{grid-template-columns:1fr;}
  .prod-card{min-height:200px;}
}

/* PRODUCTS PAGE placeholders */
.prod-card.empty{min-height:220px;display:flex;align-items:center;justify-content:center;}
.prod-card.empty:before{content:"";display:block;height:0;}

/* PRODUCTS PAGE – 2 boxes per row (Image | Content) */
.products-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(340px, 1fr));
  gap: 22px;
  max-width: 1200px;
  margin: 18px auto 0;
  padding: 0 22px;
  align-items: stretch;
}
@media (max-width: 980px){
  .products-grid{grid-template-columns: 1fr;}
}

}

/* Global footer */
.footer{background:#0b1c25;color:#ffffff;padding:14px 18px;}
.footer a{color:#ffffff;text-decoration:none;}
.footer .container{max-width:1200px;margin:0 auto;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;}


/* Products page: make image boxes slightly light-blue so columns stand out */
.products-page .prod-card.prod-image{
  background: #eaf4ff; /* light blue */
  border: 1px solid #cfe6ff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
}

/* Keep images crisp; subtle shadow only */
.products-page .prod-card.prod-image img{
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.18));
  max-width:100%;
  height:auto;
}

/* Title label shown inside image box under the column image */
.products-page .img-label{
  background:#cfe9ff;
  border:1px solid #b6dcff;
  color:#0b2a3f;
  font-weight:700;
  padding:10px 14px;
  border-radius:12px;
  width:100%;
  text-align:center;
  box-shadow:0 8px 18px rgba(0,0,0,0.08);
}


/* Make image-card titles sit at the top (for all first-row image cards) */
.products-page .prod-card.prod-image{padding:14px 14px 12px 14px;gap:12px;}
.products-page .prod-card.prod-image .img-label{order:-1;margin:0;}
.products-page .prod-card.prod-image img{max-width:100%;height:auto;}
/* Light blue background ONLY for first (image) card */
.product-image-box{
  background-color: #eaf4ff;
  border-radius: 14px;
  padding: 18px;
}


.prod-empty{
  background: linear-gradient(180deg, rgba(10,132,255,0.06), rgba(0,0,0,0));
  border: 1px dashed rgba(11,42,63,0.25);
  box-shadow: none;
  min-height: 260px;
}

/* --- Products: content boxes (tech data / applications / method) --- */
.prod-filled{
  padding:14px 14px 12px 14px;
  overflow: hidden;
}
.box-content{ height: 100%; }

.mini-header{
  font-weight: 800;
  font-size:14px;
  margin-bottom: 10px;
  padding:8px 10px;
  border-radius: 12px;
  background: rgba(10, 132, 255, 0.10);
  border: 1px solid rgba(10, 132, 255, 0.18);
}

.spec-table{
  width: 100%;
  border-collapse: separate;
  border-spacing:0 6px;
  font-size: 14px;
}
.spec-table td{
  padding:5px 7px;
  vertical-align: top;
}
.spec-table td:first-child{
  font-weight: 700;
  width: 48%;
  color: #1d2b36;
}
.spec-table td:last-child{
  width: 52%;
  color: #1d2b36;
}
.spec-table-compact{
  border-spacing: 0 6px;
}

.apps-list{
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
}
.apps-list li{ margin: 8px 0; }

.chrom-img{
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  display: block;
  margin: 10px 0 12px 0;
  background: #ffffff;
  border: 1px solid #e6eef6;
  border-radius: 12px;
}

.method-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  align-items: start;
}
.method-title{
  font-weight: 800;
  margin: 4px 0 8px 0;
}
.analytes{
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
}
@media (max-width: 900px){
  .method-grid{ grid-template-columns: 1fr; }
}

/* FORCE PRODUCT CARD IMAGE TO TOP */
.product-card.image-top {
    display: flex;
    flex-direction: column;
}
.product-card.image-top img {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    margin-bottom: 12px;
}

/* IMAGE AT TOP FIX */
.product-card,
.image-top {
    justify-content: flex-start !important;
    align-items: stretch !important;
}

.product-card img {
    display: block;
    margin: 0 auto 12px auto;
    align-self: flex-start;
}

/* FIRST CARD FIX */
.product-card:first-child {
    justify-content: flex-start !important;
    min-height: auto !important;
}
.product-card:first-child img {
    margin-top: 0 !important;
}


/* FIX: keep product family images at TOP (not vertically centered) */
.prod-image{
  justify-content: flex-start !important;
  padding-top: 18px;
}
.prod-image img{
  margin-top: 0 !important;
}



/* === PRODUCTS PAGE – 2-CARD GRID ENFORCEMENT === */
.products-page .products-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(340px, 1fr));
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 980px){
  .products-page .products-grid{grid-template-columns: 1fr;}
}

/* Keep all product images fully visible */
.products-page .prod-card img{
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}


/* Unified Products Page Typography */
body {
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

.products-page h2,
.products-page h3,
.product-card h3 {
    font-weight: 600;
    letter-spacing: 0.2px;
}

.products-page p,
.product-card p,
.product-card li {
    font-size: 15px;
    line-height: 1.55;
    color: #333333;
}

.product-card {
    font-size: 15px;
}


/* Products page font normalization fix */
.products-page,
.products-page p,
.products-page span,
.products-page div {
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    font-weight: 400;
}

.products-page .tech-data-title,
.products-page h2,
.products-page h3 {
    font-weight: 600;
}

.products-page .tech-data-content,
.products-page .tech-data-content p {
    font-weight: 400;
    font-size: 15px;
    line-height: 1.55;
    color: #333333;
}


/* Tech paragraph inside spec-table should not inherit label-bold */
.spec-table td.tech-paragraph{
  font-weight: 400 !important;
  color: #333333 !important;
  font-size: 15px;
  line-height: 1.55;
}


/* ===== Global Footer (Shared Across All Pages) ===== */
.footer{
  background:#0f2027;
  color:#e9f2f5;
  padding:18px 0;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.footer .small{font-size:13px}
.footer .muted{opacity:0.8}


/* ===== Global Content Wrap ===== */
.wrap{
  max-width:1200px;
  margin:0 auto;
  padding:0 28px;
}


/* ===== Footer alignment enforcement ===== */
.wrap{ padding:0 28px !important; }
.footer .wrap{ padding:0 28px !important; }


/* ===== Footer margin fix (force same as About Us) ===== */
.footer{ padding-left:0 !important; padding-right:0 !important; }
.footer-inner{ padding:0 28px !important; box-sizing:border-box; width:100%; }
