/* HANSCNC Product Template (modern) */
.hanscnc-product-page .hans-product-hero{
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(255,255,255,.9), rgba(255,255,255,0) 60%),
    url("hero-machine.png");
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center;
  padding:40px 0 26px;
}
.hanscnc-product-page .hans-product-wrap{
  max-width:1100px;
  margin:0 auto;
  padding:0 22px;
}
.hanscnc-product-page .hans-hero-card{
  border-radius:22px;
  box-shadow: 0 12px 30px rgba(13,27,42,.10);
  background:rgba(255,255,255,.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border:1px solid rgba(13,27,42,.10);
  padding:28px;
}
.hanscnc-product-page .hans-hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:22px;
  align-items:center;
}
.hanscnc-product-page h1.hans-title{
  margin:0;
  font-size:40px;
  line-height:1.15;
  letter-spacing:-.4px;
  color:#1b3e86;
  font-weight:900;
}
.hanscnc-product-page .hans-sub{
  margin:10px 0 0;
  font-size:18px;
  color:rgba(13,27,42,.70);
  font-weight:800;
}
.hanscnc-product-page .hans-chiprow{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.hanscnc-product-page .hans-chip{
  background:rgba(255,255,255,.78);
  border:1px solid rgba(13,27,42,.10);
  border-radius:999px;
  padding:8px 10px;
  font-weight:900;
  color:#173673;
  font-size:13px;
}
.hanscnc-product-page .hans-cta{
  margin-top:18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.hanscnc-product-page .hans-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 14px;
  border-radius:12px;
  text-decoration:none;
  font-weight:900;
  border:1px solid rgba(0,0,0,.06);
}
.hanscnc-product-page .hans-btn.primary{
  background:#1e3f86;
  color:#fff;
  box-shadow:0 10px 18px rgba(30,63,134,.22);
}
.hanscnc-product-page .hans-btn.primary:hover{filter:brightness(1.05)}
.hanscnc-product-page .hans-btn.secondary{
  background:rgba(255,255,255,.85);
  color:#1e3f86;
}
.hanscnc-product-page .hans-btn.secondary:hover{background:#fff}
.hanscnc-product-page .hans-hero-media{
  display:flex;
  justify-content:center;
}
.hanscnc-product-page .hans-hero-media img{
  max-width:100%;
  height:auto;
  filter: drop-shadow(0 18px 22px rgba(0,0,0,.18));
}

/* Sections */
.hanscnc-product-page .hans-section{
  padding:34px 0;
  background:#fff;
}
.hanscnc-product-page .hans-section.alt{
  background: radial-gradient(1200px 600px at 40% 0%, #f8fbff, #ffffff 55%);
}
.hanscnc-product-page .hans-section h2{
  margin:0 0 12px;
  font-size:26px;
  color:#173673;
  font-weight:900;
  letter-spacing:-.2px;
}
.hanscnc-product-page .hans-grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.hanscnc-product-page .hans-card{
  background:#fff;
  border:1px solid rgba(13,27,42,.10);
  border-radius:18px;
  box-shadow: 0 14px 26px rgba(13,27,42,.10);
  padding:16px;
}
.hanscnc-product-page .hans-card b{display:block; font-size:16px; font-weight:900; color:#173673}
.hanscnc-product-page .hans-card p{margin:8px 0 0; color:rgba(13,27,42,.72); font-weight:800; font-size:13px; line-height:1.6}

/* Specs */
.hanscnc-product-page .hans-spec-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
.hanscnc-product-page .hans-spec{
  border-radius:16px;
  border:1px solid rgba(13,27,42,.10);
  background:rgba(255,255,255,.86);
  padding:12px 12px;
}
.hanscnc-product-page .hans-spec .k{font-size:12px; color:rgba(13,27,42,.60); font-weight:900}
.hanscnc-product-page .hans-spec .v{margin-top:4px; font-size:14px; color:#173673; font-weight:900}

/* Table */
.hanscnc-product-page .hans-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius:16px;
  border:1px solid rgba(13,27,42,.12);
  background:#fff;
  box-shadow: 0 12px 24px rgba(13,27,42,.08);
}
.hanscnc-product-page .hans-table td{
  padding:12px 14px;
  border-bottom:1px solid rgba(13,27,42,.10);
  font-weight:800;
}
.hanscnc-product-page .hans-table tr:last-child td{border-bottom:none}
.hanscnc-product-page .hans-table td:first-child{
  width:220px;
  background:linear-gradient(180deg, #f8faff, #eef4ff);
  color:#173673;
  font-weight:900;
}

/* Apps */
.hanscnc-product-page .hans-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.hanscnc-product-page .hans-tag{
  border-radius:999px;
  border:1px solid rgba(13,27,42,.12);
  background:#fff;
  padding:10px 12px;
  font-weight:900;
  color:#173673;
  box-shadow: 0 8px 14px rgba(13,27,42,.06);
}

/* Gallery */
.hanscnc-product-page .hans-gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
.hanscnc-product-page .hans-gallery a{
  display:block;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(13,27,42,.10);
  background:#fff;
  box-shadow: 0 12px 20px rgba(13,27,42,.08);
}
.hanscnc-product-page .hans-gallery img{display:block; width:100%; height:170px; object-fit:cover}

/* CTA banner */
.hanscnc-product-page .hans-cta-banner{
  margin-top:16px;
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(13,27,42,.10);
  background: linear-gradient(180deg, rgba(248,250,255,1), rgba(238,244,255,1));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.hanscnc-product-page .hans-cta-banner p{margin:0; font-weight:900; color:#173673}
.hanscnc-product-page .hans-cta-banner .hans-btn{white-space:nowrap}

/* Responsive */
@media (max-width:980px){
  .hanscnc-product-page .hans-hero-grid{grid-template-columns:1fr}
  .hanscnc-product-page h1.hans-title{font-size:32px}
  .hanscnc-product-page .hans-grid-3{grid-template-columns:1fr}
  .hanscnc-product-page .hans-spec-grid{grid-template-columns:repeat(2,1fr)}
  .hanscnc-product-page .hans-gallery{grid-template-columns:repeat(2,1fr)}
  .hanscnc-product-page .hans-table td:first-child{width:140px}
}
@media (max-width:560px){
  .hanscnc-product-page .hans-spec-grid{grid-template-columns:1fr}
  .hanscnc-product-page .hans-gallery{grid-template-columns:1fr}
  .hanscnc-product-page .hans-gallery img{height:200px}
}