/* Product pages — sit on the same light Softx canvas as the homepage */
.pl-page { --pl-ink: #0f172a; --pl-muted: #64748b; --pl-line: #e8edf6; }
.pl-page.pl-school { --pl-a: #1962f1; --pl-b: #3b82f6; }
.pl-page.pl-rms { --pl-a: #16a34a; --pl-b: #22c55e; }
.pl-page.pl-erp { --pl-a: #7c3aed; --pl-b: #8b5cf6; }

.pl-banner-copy { position: relative; z-index: 5; }
.pl-banner-copy h1,
.pl-banner-copy p { color: var(--themeht-text-color); }
.pl-page .banner-img.pl-banner-visual { max-width: 100%; }
.pl-page .pl-dash { max-width: 100%; min-height: 380px; }
@media (min-width: 992px) {
  .pl-page .banner-1 .banner-img2 { left: 40px; width: 200px; }
}

.pl-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pl-chip {
  padding: 8px 16px;
  border-radius: 100px;
  background: #fff;
  border: 1px solid var(--themeht-border-light-color, #e8edf6);
  color: var(--themeht-text-color);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(64, 69, 79, .06);
}

/* Dashboard infographic — homepage macbook card + product data */
.pl-dash {
  display: flex;
  min-height: 420px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
}
.pl-dash-side {
  width: 58px;
  flex-shrink: 0;
  background: #f6f8fc;
  padding: 18px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.pl-dash-side i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 16px;
}
.pl-dash-side i.is-on {
  background: linear-gradient(115deg, var(--themeht-primary-color), var(--themeht-secondary-color));
  color: #fff;
}
.pl-dash-main { flex: 1; padding: 16px 18px 18px; background: #f4f7fb; }
.pl-dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.pl-dash-top strong { display: block; font-size: 14px; color: var(--pl-ink); }
.pl-dash-top span { font-size: 11px; color: var(--pl-muted); }
.pl-dash-search {
  width: 42%;
  height: 28px;
  border-radius: 100px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(64, 69, 79, .06);
}
.pl-dash-row { display: grid; grid-template-columns: 1.4fr .8fr; gap: 10px; }
.pl-dash-card {
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 10px 28px rgba(64, 69, 79, .06);
}
.pl-dash-chart em {
  display: block;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--pl-muted);
  margin-bottom: 8px;
}
.pl-bars {
  height: 92px;
  display: flex;
  align-items: flex-end;
  gap: 7px;
}
.pl-bars span {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--themeht-primary-color), var(--themeht-secondary-color));
  min-height: 12px;
}
.pl-bars span:nth-child(even) { opacity: .55; }
.pl-dash-ring { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pl-ring {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: conic-gradient(var(--themeht-primary-color) calc(var(--pct) * 1%), #e8eef8 0);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.pl-ring::after {
  content: '';
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #fff;
  grid-area: 1 / 1;
}
.pl-ring b {
  grid-area: 1 / 1;
  z-index: 1;
  font-size: 16px;
  color: var(--pl-ink);
}
.pl-dash-ring small { color: var(--pl-muted); font-weight: 600; }
.pl-dash-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.pl-dash-kpis div {
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 8px 20px rgba(64, 69, 79, .05);
}
.pl-dash-kpis strong { display: block; font-size: 18px; color: var(--pl-ink); line-height: 1.1; }
.pl-dash-kpis span { font-size: 11px; color: var(--pl-muted); font-weight: 600; }
.pl-dash-meters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
  text-align: center;
}
.pl-meter-dot {
  width: 34px;
  height: 34px;
  margin: 0 auto 4px;
  border-radius: 50%;
  background: conic-gradient(var(--themeht-primary-color) calc(var(--pct) * 1%), #e8eef8 0);
  -webkit-mask: radial-gradient(farthest-side, transparent 56%, #000 57%);
  mask: radial-gradient(farthest-side, transparent 56%, #000 57%);
}
.pl-meter small { display: block; font-size: 10px; font-weight: 600; color: var(--pl-muted); }

.pl-page .featured-item.style-1 h4,
.pl-page .featured-item.style-4 h4 { margin-bottom: 6px; }
.pl-page .featured-item.style-2 { height: 100%; }
.pl-page .featured-item.style-2 .featured-icon { width: 90px; flex-shrink: 0; }
.pl-page .featured-item.style-4 .featured-icon i { font-size: 28px; line-height: 70px; }

.pl-mod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pl-mod {
  background: #fff;
  border-radius: 20px;
  padding: 26px 22px;
  box-shadow: 0 10px 35px rgba(64, 69, 79, .06);
  min-height: 150px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pl-mod:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(64, 69, 79, .1); }
.pl-mod i {
  font-size: 26px;
  background: linear-gradient(115deg, var(--themeht-primary-color), var(--themeht-secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pl-mod h5 { margin: 12px 0 6px; font-size: 1.05rem; }
.pl-mod p { margin: 0; color: var(--pl-muted); font-size: 14px; }

.pl-custom { padding: 40px !important; }

@media (max-width: 991px) {
  .pl-mod-grid { grid-template-columns: repeat(2, 1fr); }
  .pl-dash { min-height: 360px; }
}
@media (max-width: 575px) {
  .pl-mod-grid { grid-template-columns: 1fr; }
  .pl-dash-row { grid-template-columns: 1fr; }
  .pl-dash-meters { grid-template-columns: repeat(2, 1fr); }
}
