.product-page-wrap {
  --product-bg: #f5f8fc;
  --product-surface: #ffffff;
  --product-text: #0f172a;
  --product-muted: #64748b;
  --product-border: #dbe5f2;
  --product-accent: #2563eb;
  --product-accent-dark: #1d4ed8;
  --product-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at 10% 0%, rgba(195, 234, 255, 0.7), rgba(195, 234, 255, 0) 42%),
    radial-gradient(circle at 96% 6%, rgba(224, 236, 255, 0.7), rgba(224, 236, 255, 0) 35%),
    var(--product-bg);
  min-height: calc(100vh - 70px);
  padding: 24px 20px 40px;
}

.product-shell {
  max-width: 1280px;
  margin: 0 auto;
}

.product-hero {
  background: linear-gradient(132deg, #0f172a 0%, #1e293b 52%, #1d4ed8 100%);
  border-radius: 20px;
  padding: 28px;
  color: #fff;
  box-shadow: var(--product-shadow);
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.product-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.product-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}

.product-hero h1 {
  margin: 14px 0 8px;
  font-size: 34px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.product-hero p {
  margin: 0;
  max-width: 780px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
}

.product-hero-links {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 16px;
  transition: all 0.2s ease;
}

.product-hero-link.primary {
  color: #fff;
  background: #2563eb;
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.32);
}

.product-hero-link.primary:hover {
  color: #fff;
  background: #1d4ed8;
  transform: translateY(-2px);
}

.product-hero-link.soft {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.product-hero-link.soft:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.24);
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: #475569;
  font-size: 13px;
}

.product-breadcrumb a {
  color: #334155;
  text-decoration: none;
}

.product-breadcrumb a:hover {
  color: #1d4ed8;
}

.product-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
}

.product-side-card,
.product-main-panel {
  background: var(--product-surface);
  border: 1px solid var(--product-border);
  border-radius: 16px;
  box-shadow: var(--product-shadow);
}

.product-side-card {
  padding: 14px;
  margin-bottom: 14px;
}

.product-side-card:last-child {
  margin-bottom: 0;
}

.product-side-card h3 {
  margin: 0 0 8px;
  color: var(--product-text);
  font-size: 18px;
  letter-spacing: -0.01em;
}

.product-side-card p {
  margin: 0;
  color: var(--product-muted);
  font-size: 13px;
  line-height: 1.7;
}

.product-chip-list {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--product-border);
  background: #edf3fe;
  color: #334155;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  transition: all 0.2s ease;
}

.product-chip:hover {
  color: #fff;
  background: #1e293b;
  border-color: #1e293b;
}

.product-knowledge-list,
.product-feature-list {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.product-knowledge-item,
.product-feature-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-knowledge-item:hover,
.product-feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.1);
}

.product-knowledge-item img,
.product-feature-item img {
  width: 70px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  background: #dce4f2;
}

.product-knowledge-item span,
.product-feature-item span {
  color: #0f172a;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 600;
}

.product-main-panel {
  padding: 16px;
}

.product-main-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.product-main-head h2 {
  margin: 0;
  font-size: 24px;
  color: var(--product-text);
  letter-spacing: -0.01em;
}

.product-main-sub {
  color: var(--product-muted);
  font-size: 13px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  border: 1px solid #dce6f3;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.12);
}

.product-thumb {
  display: block;
  background: #dbe4f1;
}

.product-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.product-card-body {
  padding: 12px;
}

.product-card-body h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.product-card-body h3 a {
  color: #0f172a;
  text-decoration: none;
}

.product-card-body h3 a:hover {
  color: #2563eb;
}

.product-card-body p {
  margin: 8px 0 10px;
  color: #475569;
  font-size: 13px;
  line-height: 1.7;
  min-height: 44px;
}

.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #64748b;
}

.product-card-footer a {
  text-decoration: none;
  color: #1d4ed8;
  font-weight: 700;
}

.product-card-footer a:hover {
  color: #1e3a8a;
}

.product-empty {
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  text-align: center;
  color: #64748b;
  font-size: 14px;
  padding: 30px 16px;
  grid-column: 1 / -1;
}

.product-pagination {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.product-pagination .pagination {
  margin: 0;
  gap: 6px;
}

.product-pagination .page-link {
  border-radius: 10px;
  border-color: #d7e2ef;
  color: #334155;
  min-width: 40px;
  text-align: center;
}

.product-pagination .page-item.active .page-link,
.product-pagination .page-link:hover {
  color: #fff;
  background: #0f172a;
  border-color: #0f172a;
}

@media (max-width: 1199px) {
  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .product-page-wrap {
    padding: 14px 12px 24px;
  }

  .product-hero {
    border-radius: 14px;
    padding: 20px 16px;
  }

  .product-hero h1 {
    font-size: 26px;
  }

  .product-main-panel,
  .product-side-card {
    border-radius: 12px;
  }

  .product-main-head h2 {
    font-size: 20px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}
