:root {
  --stillon-ink: #151922;
  --stillon-muted: #69717d;
  --stillon-yellow: #f8b629;
  --stillon-orange: #f47721;
  --stillon-soft: #fffdf8;
  --stillon-line: #e5e8ed;
}

body {
  color: var(--stillon-ink);
  background: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
  overflow: hidden;
}

.stillon-topbar {
  background: linear-gradient(90deg, #fff6ef 0%, #fff 45%, #fff 100%);
  border-bottom: 1px solid var(--stillon-line);
  font-size: 1.05rem;
}

.stillon-topbar .container,
.navbar .container {
  max-width: 1840px;
}

.stillon-brand-logo {
  width: auto;
  max-width: 300px;
  height: 48px;
  object-fit: contain;
}

.navbar {
  box-shadow: none;
  min-height: 76px;
}

.navbar .nav-link {
  color: #5d5f66;
  padding: .44rem .66rem;
  border-radius: .9rem;
  font-size: 1rem;
  font-weight: 650;
}

.navbar .nav-link.active {
  color: #111827;
}

.navbar .dropdown-toggle.active,
.navbar .dropdown-toggle.show {
  color: #111827;
  background: #fff4eb;
  padding: .58rem .72rem;
  border-radius: 1rem;
}

.navbar .dropdown-toggle.active::after,
.navbar .dropdown-toggle.show::after {
  display: none;
}

.navbar .dropdown-toggle.active {
  box-shadow: inset 0 -4px 0 #111827;
}

.btn-primary {
  --bs-btn-bg: var(--stillon-orange);
  --bs-btn-border-color: var(--stillon-orange);
  --bs-btn-hover-bg: #df6417;
  --bs-btn-hover-border-color: #df6417;
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
}

.navbar .btn {
  min-height: 38px;
  padding: .34rem .68rem;
  border-radius: .42rem;
  font-size: .95rem;
  font-weight: 750;
}

.stillon-card {
  border: 1px solid var(--stillon-line);
  border-radius: 1.25rem;
  box-shadow: 0 18px 45px rgba(31, 41, 51, .08);
  background: #fff;
  overflow: hidden;
}

.stillon-badge {
  color: #8a4c10;
  background: #fff4e2;
  border: 1px solid #ffd59a;
}

.stillon-cart-btn {
  min-width: 158px;
  color: #6b717a;
  background: #fff;
  border-color: #8d96a2;
  text-align: left;
}

.stillon-cart-badge {
  position: absolute;
  top: 50%;
  right: 8px;
  min-width: 28px;
  color: #111827 !important;
  background: #ffc928 !important;
  transform: translateY(-50%);
}

.auth-secret-box {
  padding: 1rem;
  color: #111827;
  background: #fff8ed;
  border: 1px solid #ffd59a;
  border-radius: .9rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
  word-break: break-all;
}

.hero-card,
.stillon-hero-card {
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #fffdf8, #f6f8fb);
  border: 1px solid var(--stillon-line);
}

.stillon-hero {
  position: relative;
  background:
    radial-gradient(circle at 10% 10%, rgba(244, 119, 33, .10), transparent 30%),
    linear-gradient(180deg, #fff 0%, #fffdf8 100%);
}

.stillon-hero .display-5 {
  color: #111827;
  font-size: clamp(2.35rem, 4.8vw, 4.25rem);
  letter-spacing: 0;
}

.stillon-accent {
  color: var(--stillon-orange);
}

.stillon-kpi {
  min-height: 92px;
  background: #fff;
  border: 1px solid var(--stillon-line);
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(31, 41, 51, .06);
}

.stillon-img-cover {
  width: 100%;
  min-height: 420px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, .12), rgba(244, 119, 33, .10)),
    linear-gradient(145deg, #eef1f4 0%, #cbd3dc 48%, #9fa9b5 100%);
}

.rounded-4,
.card.rounded-4 {
  border-radius: 1rem !important;
}

.badge.text-bg-light {
  color: #222831 !important;
  background: #fff !important;
}

.list-unstyled li {
  margin-bottom: .45rem;
}

.display-5,
.fw-bold {
  letter-spacing: 0;
}

section.bg-body-tertiary {
  background-color: #f7f8fa !important;
}

.form-control,
.form-select,
.btn {
  border-radius: .7rem;
}

.form-control-lg {
  min-height: 54px;
}

.alert {
  border-radius: 1rem;
}

.text-muted {
  color: var(--stillon-muted) !important;
}

img.rounded-4 {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, .10), rgba(244, 119, 33, .08)),
    linear-gradient(145deg, #eef1f4 0%, #cfd6de 50%, #a4afbb 100%);
}

img.stillon-image-missing {
  display: block;
  min-height: 320px;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, .10), rgba(244, 119, 33, .08)),
    linear-gradient(145deg, #eef1f4 0%, #cfd6de 50%, #a4afbb 100%);
}

.dropdown-menu {
  border-radius: 1rem;
  border-color: var(--stillon-line);
  box-shadow: 0 18px 45px rgba(31, 41, 51, .10);
}

.navbar .nav-item.dropdown:hover > .dropdown-menu,
.navbar .nav-item.dropdown:focus-within > .dropdown-menu,
.navbar .nav-item.dropdown .dropdown-menu.show {
  display: block;
}

.dropdown-item i,
.nav-link i,
.btn i,
.badge i,
li i {
  margin-right: .25rem;
}

@media (min-width: 992px) {
  .navbar .container {
    min-height: 76px;
  }

  .navbar-nav {
    gap: .62rem !important;
  }
}

@media (max-width: 991.98px) {
  .navbar {
    min-height: 78px;
  }

  .stillon-cart-btn {
    min-width: auto;
  }

  .stillon-img-cover {
    min-height: 280px;
  }
}

/* Header controls: match the original compact top navigation. */
.navbar .d-flex.align-items-center.gap-2 {
  gap: .65rem !important;
}

.navbar .btn.btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: .92rem;
  line-height: 1;
  font-weight: 650;
}

.navbar .stillon-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 190px;
  min-width: 190px;
  padding-right: 10px;
  color: #6b717a;
  border: 1px solid #8d96a2;
  background: #fff;
}

.navbar .btn-primary.btn-sm {
  width: 118px;
  color: #fff;
}

.navbar .stillon-cart-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  min-width: 26px;
  height: 22px;
  padding: 0 7px;
  border-radius: 8px;
  color: #111827 !important;
  background: #ffc928 !important;
  font-size: .8rem;
  line-height: 1;
  transform: none;
}

.stillon-footer-logo {
  max-width: 120px;
  height: auto;
}
