:root {
  --nine9-orange: #f05a1a;
  --page-bg: #f3f6fa;
  --text-main: #111;
  --text-muted: #3f4650;
  --border-soft: rgba(0, 0, 0, 0.12);
  --shadow-soft: 0 12px 28px rgba(15, 23, 42, 0.08);
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text-main);
  font-family: Arial, "Microsoft JhengHei", sans-serif;
}

.cutting-data-page {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 34px 24px 88px;
}

.cutting-hero {
  padding: 30px 34px;
  color: #fff;
  background: #111;
  border-radius: 8px;
}

.cutting-hero span {
  display: inline-block;
  margin-bottom: 10px;
  color: #ff9a68;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.cutting-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  line-height: 1;
}

.cutting-hero p {
  max-width: 720px;
  margin: 0;
  color: #e8e8e8;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
}

.cutting-workspace {
  margin-top: 24px;
}

.product-selector {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.product-selector {
  padding: 24px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
}

.section-heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 800;
}

.cutting-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cutting-product-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  grid-template-areas:
    "image category"
    "image title"
    "image status";
  gap: 4px 14px;
  min-height: 118px;
  padding: 16px;
  color: #111;
  background: #f7f8fa;
  border: 1px solid #dfe4eb;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
}

.cutting-product-card:hover,
.cutting-product-card.is-active {
  border-color: var(--nine9-orange);
  background: #fff6f1;
}

.cutting-product-card img {
  grid-area: image;
  width: 64px;
  height: 64px;
  align-self: center;
  object-fit: contain;
}

.cutting-product-card span {
  grid-area: category;
  color: var(--nine9-orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cutting-product-card strong {
  grid-area: title;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
}

.cutting-product-card em {
  grid-area: status;
  color: #66707c;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.cutting-product-card em.is-available {
  color: #12803a;
}

@media (max-width: 900px) {
  .cutting-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .cutting-data-page {
    padding: 18px 12px 54px;
  }

  .cutting-hero,
  .product-selector {
    padding: 20px;
  }

  .cutting-hero p {
    font-size: 16px;
  }

  .section-heading {
    display: grid;
    gap: 4px;
  }

  .cutting-product-grid {
    grid-template-columns: 1fr;
  }
}
