:root {
  --g100: #fdfaf3;
  --g200: #f9e9b8;
  --g400: #f5c842;
  --g600: #d4a017;
  --g800: #b8860b;
  --g900: #7a5500;
  --dark: #1a1005;
}

.sv-page { background: var(--g100); min-height: 80vh; font-family: 'Kanit', sans-serif; }

/* Hero */
.sv-hero {
  background: linear-gradient(135deg, #2a1b05 0%, #4a3008 60%, #2a1b05 100%);
  padding: 64px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sv-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, #f5c842 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  opacity: 0.06;
}
.sv-hero-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.sv-hero-label {
  display: inline-block;
  font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--g400);
  border: 1px solid rgba(245,200,66,.35);
  background: rgba(245,200,66,.08);
  border-radius: 9999px; padding: 5px 18px; margin-bottom: 18px;
}
.sv-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600; color: #fdf3d0; line-height: 1.2; margin: 0 0 12px;
}
.sv-hero-desc { font-size: 15px; color: rgba(253,243,208,.65); margin: 0; }

/* Filter tabs */
.sv-filter-wrap {
  max-width: 80rem; margin: 0 auto; padding: 32px 24px 0;
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.sv-filter-btn {
  padding: 7px 20px; border-radius: 9999px; font-size: 13px; cursor: pointer;
  border: 1.5px solid transparent;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
  background: transparent; color: #6b7280; font-family: 'Kanit', sans-serif;
}
.sv-filter-btn.active, .sv-filter-btn:hover {
  border-color: var(--g400);
  background: rgba(245,200,66,.1);
  color: var(--g800);
}

/* Grid */
.sv-grid-wrap { max-width: 80rem; margin: 0 auto; padding: 28px 24px 80px; }
.sv-dept-label {
  font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--g800); margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(245,200,66,.3);
  display: flex; align-items: center; gap: 8px;
}
.sv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.sv-card {
  background: #fff;
  border: 1px solid #e9d5a0;
  border-radius: 16px;
  padding: 20px 16px 16px;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
  will-change: transform;
}
.sv-card:hover {
  border-color: var(--g400);
  box-shadow: 0 6px 24px rgba(245,200,66,.2);
  transform: translateY(-4px);
}
.sv-card-img {
  width: 56px; height: 56px; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
}
.sv-card-img img { width: 100%; height: 100%; object-fit: contain; }
.sv-card-name {
  font-size: 13px; font-weight: 500; color: #1f2937;
  line-height: 1.4; margin-bottom: 4px;
}
.sv-card-sub { font-size: 11px; color: #9ca3af; }

/* Empty */
.sv-empty {
  text-align: center; padding: 80px 20px;
  border: 1px dashed rgba(245,200,66,.35); border-radius: 20px;
  color: #9ca3af; font-size: 14px;
}

@media (max-width: 640px) {
  .sv-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
}
