
/* =========================================================
   Commercial Touchscreen Display Product Page
   Scoped CSS - Mobile Responsive
========================================================= */

.ct-display-page {
  --ct-text: #222;
  --ct-muted: #666;
  --ct-border: #e5e5e5;
  --ct-bg: #f7f7f7;
  --ct-white: #fff;
  --ct-max: 1200px;

  max-width: var(--ct-max);
  margin: 0 auto;
  padding: 20px 20px 60px;
  color: var(--ct-text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
  box-sizing: border-box;
}

.ct-display-page *,
.ct-display-page *::before,
.ct-display-page *::after {
  box-sizing: border-box;
}

/* ---------- Typography ---------- */

.ct-display-page h1,
.ct-display-page h2,
.ct-display-page h3 {
  margin: 0 0 16px;
  line-height: 1.25;
  color: var(--ct-text);
}

.ct-display-page h1 {
  font-size: 38px;
  font-weight: 700;
}

.ct-display-page h2 {
  font-size: 30px;
  margin-top: 0;
}

.ct-display-page h3 {
  font-size: 20px;
}

.ct-display-page p {
  margin: 0 0 16px;
  color: var(--ct-muted);
}

.ct-display-page ul {
  margin: 0;
  padding-left: 20px;
}

.ct-display-page li {
  margin-bottom: 8px;
  color: var(--ct-muted);
}

/* ---------- Intro ---------- */

.ct-product-intro {
  padding: 30px 0 45px;
  border-bottom: 1px solid var(--ct-border);
}

.ct-product-eyebrow {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #777;
}

.ct-product-intro h1 {
  max-width: 850px;
}

.ct-product-subtitle {
  max-width: 850px;
  font-size: 19px;
  color: #555;
}

/* ---------- Content Sections ---------- */

.ct-section {
  padding: 55px 0;
  border-bottom: 1px solid var(--ct-border);
}

.ct-section:last-child {
  border-bottom: 0;
}

.ct-section-lead {
  max-width: 850px;
  margin-bottom: 30px;
}

/* ---------- Two Column ---------- */

.ct-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.ct-info-box {
  padding: 30px;
  background: var(--ct-bg);
  border: 1px solid var(--ct-border);
}

.ct-info-box h3 {
  margin-bottom: 10px;
}

/* ---------- Size List ---------- */

.ct-size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.ct-size-item {
  padding: 10px 18px;
  border: 1px solid #d8d8d8;
  background: #fff;
  font-weight: 600;
  font-size: 15px;
}

/* ---------- Features Grid ---------- */

.ct-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ct-feature-card {
  padding: 24px;
  border: 1px solid var(--ct-border);
  background: #fff;
}

.ct-feature-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

/* ---------- Applications ---------- */

.ct-application-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ct-application-item {
  padding: 18px 20px;
  border: 1px solid var(--ct-border);
  background: #fff;
  font-weight: 600;
}

/* ---------- Specification Table ---------- */

.ct-spec-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--ct-border);
}

.ct-spec-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  background: #fff;
}

.ct-spec-table th,
.ct-spec-table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--ct-border);
}

.ct-spec-table th {
  width: 32%;
  font-weight: 700;
  background: var(--ct-bg);
}

.ct-spec-table tr:last-child th,
.ct-spec-table tr:last-child td {
  border-bottom: 0;
}

/* ---------- OEM Section ---------- */

.ct-oem-box {
  padding: 35px;
  background: var(--ct-bg);
  border: 1px solid var(--ct-border);
}

.ct-oem-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 30px;
  margin-top: 20px;
}

.ct-oem-list li {
  margin-bottom: 4px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {

  .ct-display-page {
    padding: 15px 16px 45px;
  }

  .ct-display-page h1 {
    font-size: 32px;
  }

  .ct-display-page h2 {
    font-size: 27px;
  }

  .ct-two-col {
    grid-template-columns: 1fr;
  }

  .ct-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ct-application-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {

  .ct-display-page {
    padding: 10px 14px 35px;
  }

  .ct-display-page h1 {
    font-size: 28px;
  }

  .ct-display-page h2 {
    font-size: 24px;
  }

  .ct-display-page h3 {
    font-size: 19px;
  }

  .ct-product-subtitle {
    font-size: 17px;
  }

  .ct-section {
    padding: 38px 0;
  }

  .ct-info-box {
    padding: 22px;
  }

  .ct-feature-grid,
  .ct-application-grid,
  .ct-oem-list {
    grid-template-columns: 1fr;
  }

  .ct-size-list {
    gap: 8px;
  }

  .ct-size-item {
    padding: 9px 14px;
    font-size: 14px;
  }

  .ct-oem-box {
    padding: 24px;
  }

  .ct-spec-table {
    min-width: 600px;
  }

  .ct-spec-table th,
  .ct-spec-table td {
    padding: 12px 14px;
    font-size: 14px;
  }
}
