body {
  background: radial-gradient(
    circle at top right,
    #f6efe7,
    #f3efe8 48%,
    #edf2ef 100%
  );
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  color: #4f5f5b;
}

.market-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(252, 250, 246, 0.94);
  border-bottom: 1px solid rgba(111, 143, 135, 0.12);
  box-shadow: 0 8px 20px rgba(103, 112, 106, 0.04);
}
body {
  background: radial-gradient(
    circle at top right,
    #f2f6ff,
    #f7faff 48%,
    #eef4fe 100%
  );
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  color: #4b5f7a;
}

.market-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(130, 160, 208, 0.22);
  box-shadow: 0 8px 20px rgba(35, 76, 140, 0.06);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #1f4a89;
}

.brand-link strong {
  display: block;
  font-size: 1.05rem;
}

.brand-link small {
  display: block;
  color: #6f83a3;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2f6fdd, #1f4e9f);
  color: #fff;
  box-shadow: 0 10px 22px rgba(33, 81, 156, 0.22);
}

.nav-links a {
  color: #294f8a;
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:not(.btn-dark) {
  position: relative;
}

.nav-links a:not(.btn-dark)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #2f6fdd;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.nav-links a:not(.btn-dark):hover::after {
  transform: scaleX(1);
}

.nav-links .btn-dark {
  background-color: #2f6fdd;
  border-color: #2f6fdd;
  border-radius: 12px;
  padding-inline: 16px;
}

.nav-links .btn-dark:hover,
.nav-links .btn-dark:focus {
  background-color: #1f55b5;
  border-color: #1f55b5;
}

.hero {
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.18),
      transparent 24%
    ),
    linear-gradient(120deg, #1f4e9f, #2f6fdd 58%, #5b8ee4 100%);
  color: #fff;
  border-radius: 24px;
  padding: 42px;
  box-shadow: 0 24px 46px rgba(35, 76, 140, 0.2);
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.04;
  max-width: 8ch;
}

.hero .btn-light {
  color: #1f4e9f;
  border-radius: 14px;
  padding: 12px 18px;
}

.hero-actions .btn-outline-light {
  border-width: 2px;
  border-radius: 14px;
  padding: 12px 18px;
}

.filter-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(160, 187, 226, 0.45);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 18px 36px rgba(35, 76, 140, 0.08);
}

.search-box .input-group-text {
  background: #f7faff;
  border-right: 0;
  color: #6883ab;
}

.search-box .form-control,
.form-select {
  background: #ffffff;
  border-color: #cbdcf3;
  min-height: 50px;
  border-radius: 14px;
}

.search-box .form-control {
  border-left: 0;
}

.search-box .form-control:focus,
.form-select:focus {
  border-color: #5f89cf;
  box-shadow: 0 0 0 0.2rem rgba(95, 137, 207, 0.15);
}

.chip {
  border: 0;
  background: #edf3fd;
  color: #456a9e;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: 0.2s ease;
}

.chip.active,
.chip:hover {
  background: #2f6fdd;
  color: #fff;
}

.section-head h4 {
  color: #1f4e9f;
  font-weight: 800;
  font-size: 2rem;
}

.result-count {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ebf3ff;
  color: #305f9f;
  font-weight: 700;
}

.product-card {
  border: none;
  border-radius: 22px;
  box-shadow: 0 12px 26px rgba(35, 76, 140, 0.08);
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(199, 216, 241, 0.72);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(35, 76, 140, 0.12);
}

.product-card .card-body {
  padding: 22px;
}

.product-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #1f4a89;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: #2f6fdd;
}

.product-code {
  font-size: 0.75rem;
  color: #6d82a3;
  background: #eef4ff;
  padding: 5px 8px;
  border-radius: 8px;
}

.text-bg-primary {
  background-color: #2f6fdd !important;
}

.empty-state {
  margin: 36px auto 0;
  max-width: 480px;
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 22px;
  padding: 36px 24px;
  box-shadow: 0 14px 30px rgba(35, 76, 140, 0.08);
}

.empty-state i {
  font-size: 2.5rem;
  color: #2f6fdd;
}

@media (max-width: 767.98px) {
  .market-nav .container {
    align-items: flex-start !important;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .filter-panel {
    padding: 20px;
  }

  .section-head h4 {
    font-size: 1.6rem;
  }
}
