:root {
  --demak-primary: #0d5c63;
  --demak-primary-dark: #073e42;
  --demak-accent: #f4b400;
  --demak-bg-light: #f7f9f9;
  --demak-text-muted: #667;
}

/* ============ HEADER ============ */
.masthead {
  background: linear-gradient(90deg, var(--demak-primary-dark), var(--demak-primary)) !important;
}
.masthead .navbar-nav a,
.account-masthead a {
  color: #ffffff !important;
}
.masthead .navbar-nav a:hover {
  color: var(--demak-accent) !important;
}

/* ============ HERO SEARCH-FIRST ============ */
.demak-hero-min {
  background: #ffffff;
  padding: 72px 0 40px;
  text-align: center;
  border-bottom: 1px solid #eef1f1;
}

.demak-hero-min-inner {
  max-width: 640px;
  margin: 0 auto;
}

.demak-hero-min-eyebrow {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--demak-primary);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.demak-search-min {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #e2e6e6;
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.demak-search-min:focus-within {
  border-color: var(--demak-primary);
  box-shadow: 0 4px 18px rgba(13,92,99,0.12);
}

.demak-search-min-icon {
  color: #9aa4a4;
  margin-right: 12px;
  font-size: 1rem;
}

.demak-search-min-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.05rem;
  padding: 12px 0;
  background: transparent;
}

.demak-search-min-btn {
  background: var(--demak-primary);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.demak-search-min-btn:hover {
  background: var(--demak-primary-dark);
}

.demak-stats-inline {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--demak-text-muted);
}

.demak-stats-inline a {
  color: var(--demak-text-muted);
  text-decoration: none;
}

.demak-stats-inline a strong {
  color: var(--demak-primary-dark);
  font-weight: 700;
}

.demak-stats-inline a:hover {
  color: var(--demak-primary);
  text-decoration: none;
}

.demak-stats-dot {
  margin: 0 10px;
  color: #ccd2d2;
}

/* ============ KATEGORI: CHIP HORIZONTAL ============ */
.demak-chips-section {
  background: var(--demak-bg-light);
  padding: 28px 0 36px;
}

.demak-chips-label {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #99a3a3;
  margin-bottom: 16px;
}

.demak-chips-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}

.demak-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #dde3e3;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--demak-primary-dark);
  text-decoration: none;
  transition: all 0.15s ease;
}

.demak-chip:hover {
  background: var(--demak-primary);
  border-color: var(--demak-primary);
  color: #ffffff;
  text-decoration: none;
}

.demak-chip:hover .demak-chip-count {
  background: rgba(255,255,255,0.25);
  color: #ffffff;
}

.demak-chip-count {
  background: var(--demak-bg-light);
  color: var(--demak-text-muted);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 0.75rem;
  font-weight: 700;
}

.demak-chip--all {
  background: transparent;
  border-style: dashed;
  color: var(--demak-primary);
}

.demak-chip--all:hover {
  background: var(--demak-accent);
  border-color: var(--demak-accent);
  border-style: solid;
  color: var(--demak-primary-dark);
}

/* ============ FOOTER (tetap dari kustomisasi sebelumnya) ============ */
.demak-footer {
  background-color: var(--demak-primary-dark) !important;
  color: #e8eef0;
  padding: 40px 0 0;
}

.demak-footer h4 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 14px;
}

.demak-footer a {
  color: var(--demak-accent) !important;
}

.demak-footer-logo {
  max-height: 48px;
  margin-bottom: 12px;
}

.demak-footer-text {
  font-size: 0.9rem;
  opacity: 0.85;
}

.demak-footer-contact li {
  margin-bottom: 6px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.demak-footer-social {
  margin-top: 14px;
}

.demak-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  margin-right: 8px;
  color: #ffffff !important;
}

.demak-footer-social a:hover {
  background: var(--demak-accent);
  color: var(--demak-primary-dark) !important;
}

.demak-footer-bottom {
  margin-top: 24px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.75;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 767px) {
  .demak-hero-min {
    padding: 48px 0 32px;
  }
  .demak-search-min {
    flex-wrap: wrap;
    border-radius: 18px;
    padding: 14px;
  }
  .demak-search-min-input {
    width: 100%;
    padding: 8px 0;
  }
  .demak-search-min-btn {
    width: 100%;
    margin-top: 8px;
  }
  .demak-stats-inline {
    font-size: 0.82rem;
  }
  .demak-stats-dot {
    margin: 0 6px;
  }
}
