body {
  margin: 0;
  background: #0f1419;
  color: #e7edf4;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.dash-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px clamp(14px, 4vw, 28px);
  border-bottom: 1px solid #232b36;
  position: sticky;
  top: 0;
  background: rgba(15, 20, 25, 0.97);
  z-index: 10;
}

.badge {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: #5ce0a0;
  border: 1px solid #2a3d32;
  padding: 8px 12px;
  flex: 1;
}

#bt {
  display: none;
  background: #1e2d3d;
  color: #fff;
  border: 1px solid #3d5569;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 4px;
}

.lnk { display: flex; gap: 16px; flex-wrap: wrap; }
.lnk a { color: #9db4c9; text-decoration: none; font-weight: 600; font-size: 0.88rem; }
.lnk a:hover { color: #fff; }

@media (max-width: 720px) {
  #bt { display: inline-block; }
  .lnk { width: 100%; flex-direction: column; display: none; }
  .lnk.open { display: flex; padding-bottom: 8px; }
}

.dash {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  padding: clamp(18px, 4vw, 32px);
  max-width: 1280px;
  margin: 0 auto;
}

.widget {
  background: #171d24;
  border: 1px solid #252d38;
  border-radius: 8px;
  overflow: hidden;
}

.hero-w {
  grid-column: span 8;
  grid-row: span 2;
  position: relative;
  min-height: 280px;
}

.hero-w img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  background: #222;
}

.overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(14px, 3vw, 24px);
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

.overlay h1 {
  margin: 0;
  font-size: clamp(1.2rem, 2.8vw, 1.75rem);
  line-height: 1.2;
}

.stat {
  grid-column: span 4;
  padding: 18px 20px;
  align-self: start;
}

.stat h2 { margin: 0 0 10px; font-size: 1.05rem; color: #5ce0a0; }
.stat p { margin: 0; line-height: 1.65; color: #9db4c9; font-size: 0.92rem; }

.prod {
  grid-column: span 4;
}

.prod.wide { grid-column: span 8; }

.prod img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.prod.wide img { height: 180px; }

.prod h3 {
  margin: 0;
  padding: 10px 12px;
  font-size: 0.92rem;
  border-top: 1px solid #252d38;
}

.img-only { grid-column: span 6; min-height: 200px; }
.img-only img { width: 100%; height: 240px; object-fit: cover; display: block; }

.full {
  grid-column: 1 / -1;
  padding: 22px;
}

.full h2 { margin-top: 0; font-size: 1.08rem; }
.full p { margin: 0; line-height: 1.72; color: #9db4c9; }

@media (max-width: 900px) {
  .dash { grid-template-columns: repeat(6, 1fr); }
  .hero-w { grid-column: 1 / -1; grid-row: auto; }
  .stat { grid-column: 1 / -1; }
  .prod, .prod.wide { grid-column: span 6; }
  .img-only { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .dash { grid-template-columns: 1fr; }
  .prod, .prod.wide { grid-column: 1; }
}

.foot {
  text-align: center;
  padding: 2rem 1rem 3rem;
  font-size: 0.82rem;
  color: #5c6d7f;
}

/* บล็อกนโยบายร่วม: ติดต่อ / นโยบายความเป็นส่วนตัว / ข้อกำหนด */
.policy-std-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.25rem) clamp(14px, 4vw, 32px);
  font-size: 0.93rem;
  line-height: 1.75;
}
.policy-std-wrap h2 {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  margin: 0 0 0.75rem;
}
.policy-std-wrap p { margin: 0 0 0.75rem; }
.policy-std-wrap p:last-child { margin-bottom: 0; }
.foot-pol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.88rem;
}
.foot-pol a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}