:root {
  --hb-ink: #111820;
  --hb-ink-soft: #2d3742;
  --hb-navy: #0d1826;
  --hb-navy-2: #132235;
  --hb-amber: #f6b51b;
  --hb-amber-strong: #e8a600;
  --hb-cyan: #2aa7b8;
  --hb-paper: #f7f5ef;
  --hb-surface: #ffffff;
  --hb-line: #e6e2d8;
  --hb-muted: #6c7680;
  --hb-radius-sm: 6px;
  --hb-radius: 10px;
  --hb-shadow-sm: 0 6px 20px rgba(17, 24, 32, .07);
  --hb-shadow: 0 18px 45px rgba(17, 24, 32, .11);
  --hb-container: 1360px;
}

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--hb-paper);
  color: var(--hb-ink);
}

body, button, input, select, textarea {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.container {
  max-width: var(--hb-container);
}

a {
  color: var(--hb-ink);
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

a:hover, a:focus {
  color: var(--hb-amber-strong);
  text-decoration: none;
}

/* Utility bar */
#top.hb-utility-bar {
  min-height: 34px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: var(--hb-navy);
  color: rgba(255,255,255,.78);
}

#top.hb-utility-bar .container {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hb-utility-preferences,
.hb-utility-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

#top.hb-utility-bar #form-currency,
#top.hb-utility-bar #form-language,
#top.hb-utility-bar .pull-left {
  float: none !important;
  margin: 0;
}

#top.hb-utility-bar .btn-group {
  display: block;
}

#top.hb-utility-bar .btn-link,
#top.hb-utility-bar .hb-utility-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  color: rgba(255,255,255,.78);
  background: transparent;
  font-size: 12px;
  line-height: 34px;
  font-weight: 500;
}

#top.hb-utility-bar .btn-link:hover,
#top.hb-utility-bar .btn-link:focus,
#top.hb-utility-bar .hb-utility-link:hover,
#top.hb-utility-bar .hb-utility-link:focus {
  color: #fff;
  background: transparent;
  text-decoration: none;
}

#top.hb-utility-bar .dropdown-menu {
  top: 32px;
  min-width: 170px;
  padding: 7px 0;
  border: 1px solid var(--hb-line);
  border-radius: 8px;
  box-shadow: var(--hb-shadow-sm);
}

#top.hb-utility-bar .dropdown-menu a,
#top.hb-utility-bar .dropdown-menu .btn-link {
  width: 100%;
  height: auto;
  padding: 8px 14px;
  color: var(--hb-ink-soft);
  line-height: 1.35;
  text-align: left;
}

#top.hb-utility-bar .dropdown-menu a:hover,
#top.hb-utility-bar .dropdown-menu .btn-link:hover {
  color: var(--hb-ink);
  background: #faf7ef;
}

.hb-account-dropdown {
  display: inline-flex;
}

/* Main header */
.hb-site-header {
  position: relative;
  z-index: 1000;
  background: var(--hb-surface);
  border-bottom: 1px solid var(--hb-line);
  box-shadow: 0 4px 16px rgba(17,24,32,.035);
}

.hb-primary-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.hb-brand-wrap {
  flex: 0 0 220px;
}

.hb-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--hb-ink);
  line-height: 1;
}

.hb-wordmark:hover,
.hb-wordmark:focus {
  color: var(--hb-ink);
}

.hb-wordmark-name {
  font-size: 28px;
  line-height: .95;
  font-weight: 800;
  letter-spacing: -.045em;
}

.hb-wordmark-name > span {
  color: var(--hb-amber-strong);
}

.hb-wordmark small {
  margin-top: 7px;
  color: var(--hb-muted);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .13em;
}

.hb-primary-navigation {
  flex: 1 1 auto;
  min-width: 0;
}

.hb-header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.hb-header-search {
  width: 205px;
}

.hb-site-header #search {
  width: 100%;
  margin: 0;
}

.hb-site-header #search .form-control {
  height: 38px;
  border: 1px solid #d8dde1;
  border-right: 0;
  border-radius: var(--hb-radius-sm) 0 0 var(--hb-radius-sm);
  background: #fbfbfa;
  box-shadow: none;
  font-size: 12px;
}

.hb-site-header #search .btn {
  height: 38px;
  min-width: 40px;
  padding: 0 12px;
  border: 1px solid var(--hb-navy);
  border-radius: 0 var(--hb-radius-sm) var(--hb-radius-sm) 0;
  background: var(--hb-navy);
  color: #fff;
}

.hb-mini-cart {
  width: 128px;
}

.hb-mini-cart #cart {
  width: 100%;
  margin: 0;
}

.hb-mini-cart #cart > .btn,
.hb-mini-cart #cart > button {
  width: 100%;
  min-height: 38px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #d8dde1;
  border-radius: var(--hb-radius-sm);
  background: #fff;
  color: var(--hb-ink);
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
}

.hb-mini-cart #cart > .btn:hover,
.hb-mini-cart #cart > button:hover {
  border-color: #bbc2c8;
  background: #fbfaf6;
}

.hb-mini-cart #cart .dropdown-menu {
  right: 0;
  left: auto;
  min-width: 330px;
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius);
  box-shadow: var(--hb-shadow);
}

.hb-header-icon {
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hb-line);
  border-radius: 7px;
  background: #fff;
  color: var(--hb-ink);
  font-size: 16px;
}

button.hb-header-icon {
  padding: 0;
}

.hb-header-icon:hover,
.hb-header-icon:focus {
  border-color: #cdd1d5;
  background: #faf7ef;
  color: var(--hb-ink);
}

/* Primary navigation */
.hb-main-nav {
  margin: 0;
  padding: 0;
}

.hb-main-nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  margin: 0;
}

.hb-main-nav-list > li {
  position: relative;
  margin: 0;
}

.hb-main-nav-list > li > a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 0 10px;
  color: var(--hb-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .005em;
  white-space: nowrap;
}

.hb-main-nav-list > li > a:after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 2px;
  background: var(--hb-amber);
  opacity: 0;
  transform: scaleX(.45);
  transition: opacity .18s ease, transform .18s ease;
}

.hb-main-nav-list > li > a:hover,
.hb-main-nav-list > li.open > a,
.hb-main-nav-list > li > a:focus {
  color: var(--hb-ink);
  background: #fbfaf6;
}

.hb-main-nav-list > li > a:hover:after,
.hb-main-nav-list > li.open > a:after,
.hb-main-nav-list > li > a:focus:after {
  opacity: 1;
  transform: scaleX(1);
}

.hb-main-nav-list .caret {
  margin-left: 6px;
  opacity: .55;
}

.hb-main-nav .dropdown-menu {
  top: 68px;
  padding: 0;
  border: 1px solid var(--hb-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--hb-shadow);
}

.hb-nav-mega {
  position: static !important;
}

.hb-mega-menu {
  left: 0 !important;
  right: auto;
  width: min(790px, calc(100vw - 70px));
  overflow: hidden;
}

.hb-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 24px 26px 20px;
}

.hb-mega-column {
  min-width: 0;
}

.hb-mega-heading {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--hb-ink);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

.hb-mega-column ul {
  margin: 0;
}

.hb-mega-column li + li {
  margin-top: 2px;
}

.hb-mega-column li a {
  display: block;
  padding: 5px 0;
  color: var(--hb-muted);
  font-size: 12px;
  line-height: 1.35;
}

.hb-mega-column li a:hover {
  color: var(--hb-ink);
}

.hb-mega-footer {
  padding: 12px 26px;
  border-top: 1px solid var(--hb-line);
  background: #faf8f3;
}

.hb-mega-footer a {
  color: var(--hb-ink);
  font-size: 12px;
  font-weight: 800;
}

.hb-mega-footer i {
  margin-left: 6px;
  color: var(--hb-amber-strong);
}

.hb-services-menu {
  width: 315px;
  padding: 8px !important;
}

.hb-services-menu > li > a {
  display: block;
  padding: 11px 12px;
  border-radius: 7px;
  white-space: normal;
}

.hb-services-menu > li > a:hover {
  background: #faf7ef;
}

.hb-services-menu strong,
.hb-services-menu span {
  display: block;
}

.hb-services-menu strong {
  margin-bottom: 3px;
  color: var(--hb-ink);
  font-size: 12px;
}

.hb-services-menu span {
  color: var(--hb-muted);
  font-size: 12px;
  line-height: 1.45;
}

/* Generic Trust Ledger surfaces */
.hb-section {
  padding: clamp(42px, 6vw, 84px) 0;
}

.hb-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--hb-cyan);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hb-card {
  background: var(--hb-surface);
  border: 1px solid var(--hb-line);
  border-radius: var(--hb-radius);
  box-shadow: var(--hb-shadow-sm);
}

/* Buttons
   Restrained HuntBee treatment: primary actions use brand amber while semantic
   actions use quiet tinted surfaces instead of Bootstrap's traffic-light blocks. */
.hb-theme .btn {
  min-height: 34px;
  padding: 7px 12px;
  border-width: 1px;
  border-style: solid;
  border-radius: 7px;
  background-image: none !important;
  box-shadow: 0 1px 2px rgba(17, 24, 32, .035);
  text-shadow: none !important;
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: .005em;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.hb-theme .btn:hover,
.hb-theme .btn:focus,
.hb-theme .btn:active,
.hb-theme .btn.active {
  background-image: none !important;
  text-shadow: none !important;
  box-shadow: 0 3px 10px rgba(17, 24, 32, .07);
}

.hb-theme .btn:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(42, 167, 184, .14);
}

.hb-theme .btn-xs {
  min-height: 28px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 18px;
}

.hb-theme .btn-sm {
  min-height: 31px;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 19px;
}

.hb-theme .btn-lg {
  min-height: 42px;
  padding: 10px 17px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 20px;
}

/* Neutral / secondary */
.hb-theme .btn.btn-default {
  border-color: #d9d5cc !important;
  background-color: #fff !important;
  color: #37424c !important;
}

.hb-theme .btn.btn-default:hover,
.hb-theme .btn.btn-default:focus,
.hb-theme .btn.btn-default:active,
.hb-theme .btn.btn-default.active,
.hb-theme .open > .dropdown-toggle.btn-default {
  border-color: #c8c2b6 !important;
  background-color: #f7f5ef !important;
  color: #111820 !important;
}

/* Brand primary */
.hb-theme .btn.btn-primary,
.hb-theme .hb-btn-primary {
  border-color: #e3a313 !important;
  background-color: var(--hb-amber) !important;
  color: #171717 !important;
}

.hb-theme .btn.btn-primary:hover,
.hb-theme .btn.btn-primary:focus,
.hb-theme .btn.btn-primary:active,
.hb-theme .btn.btn-primary.active,
.hb-theme .open > .dropdown-toggle.btn-primary,
.hb-theme .hb-btn-primary:hover,
.hb-theme .hb-btn-primary:focus {
  border-color: #d39508 !important;
  background-color: var(--hb-amber-strong) !important;
  color: #111 !important;
}

/* Positive action */
.hb-theme .btn.btn-success {
  border-color: #b8d7c7 !important;
  background-color: #eef7f2 !important;
  color: #226a50 !important;
}

.hb-theme .btn.btn-success:hover,
.hb-theme .btn.btn-success:focus,
.hb-theme .btn.btn-success:active,
.hb-theme .btn.btn-success.active,
.hb-theme .open > .dropdown-toggle.btn-success {
  border-color: #91bea8 !important;
  background-color: #e2f1e9 !important;
  color: #18563f !important;
}

/* Caution */
.hb-theme .btn.btn-warning {
  border-color: #e7d29a !important;
  background-color: #fff7e3 !important;
  color: #876000 !important;
}

.hb-theme .btn.btn-warning:hover,
.hb-theme .btn.btn-warning:focus,
.hb-theme .btn.btn-warning:active,
.hb-theme .btn.btn-warning.active,
.hb-theme .open > .dropdown-toggle.btn-warning {
  border-color: #d9bd6d !important;
  background-color: #ffefc6 !important;
  color: #6d4c00 !important;
}

/* Destructive */
.hb-theme .btn.btn-danger {
  border-color: #e4bbb8 !important;
  background-color: #fff2f1 !important;
  color: #9a403b !important;
}

.hb-theme .btn.btn-danger:hover,
.hb-theme .btn.btn-danger:focus,
.hb-theme .btn.btn-danger:active,
.hb-theme .btn.btn-danger.active,
.hb-theme .open > .dropdown-toggle.btn-danger {
  border-color: #cf918c !important;
  background-color: #fce6e4 !important;
  color: #7f302c !important;
}

/* Informational / alternate action */
.hb-theme .btn.btn-info {
  border-color: #b7dbe1 !important;
  background-color: #eef8fa !important;
  color: #1f7482 !important;
}

.hb-theme .btn.btn-info:hover,
.hb-theme .btn.btn-info:focus,
.hb-theme .btn.btn-info:active,
.hb-theme .btn.btn-info.active,
.hb-theme .open > .dropdown-toggle.btn-info {
  border-color: #8fc7d0 !important;
  background-color: #e2f3f6 !important;
  color: #175e69 !important;
}

.hb-theme .btn.disabled,
.hb-theme .btn[disabled],
.hb-theme fieldset[disabled] .btn {
  opacity: .5;
  box-shadow: none;
  cursor: not-allowed;
}

/* Keep adjacent action buttons clean when Bootstrap button groups are used. */
.hb-theme .btn-group > .btn + .btn,
.hb-theme .btn-group > .btn + .btn-group,
.hb-theme .btn-group > .btn-group + .btn,
.hb-theme .btn-group > .btn-group + .btn-group {
  margin-left: -1px;
}

/* Breadcrumbs and content */
.breadcrumb {
  background: transparent;
  padding-left: 0;
  padding-right: 0;
  font-size: 12px;
}

#content {
  min-height: 420px;
}

/* Mobile navigation */
.hb-mobile-search {
  padding-bottom: 10px;
}

#offcanvas-menu {
  background: var(--hb-surface);
}

#offcanvas-menu .offcanvas-menu-header {
  min-height: 58px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--hb-navy);
  color: #fff;
}

.hb-mobile-menu-brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.03em;
}

#offcanvas-menu .close-btn {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 26px;
  line-height: 1;
}

.hb-mobile-preferences {
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  border-bottom: 1px solid var(--hb-line);
  background: #faf8f3;
}

.hb-mobile-preferences .pull-left {
  float: none !important;
}

.hb-mobile-preferences .btn-link,
.hb-mobile-preferences > a {
  padding: 0;
  color: var(--hb-ink-soft);
  font-size: 12px;
}

.hb-mobile-account-links,
.hb-mobile-nav {
  margin: 0;
  padding: 0;
}

.hb-mobile-account-links {
  border-bottom: 1px solid var(--hb-line);
}

#offcanvas-menu .offcanvas-dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 18px;
  color: var(--hb-ink);
  border-bottom: 1px solid #efede8;
  font-size: 13px;
  font-weight: 700;
}

#offcanvas-menu .offcanvas-dropdown-inner {
  padding: 8px 18px 14px;
  background: #faf9f5;
}

#offcanvas-menu .offcanvas-dropdown-inner li a {
  display: block;
  padding: 7px 0;
  color: var(--hb-ink-soft);
  font-size: 12px;
}

#offcanvas-menu .hb-mobile-child a {
  padding-left: 14px;
  color: var(--hb-muted);
}

@media (max-width: 1199px) and (min-width: 992px) {
  .hb-brand-wrap {
    flex-basis: 190px;
  }

  .hb-wordmark-name {
    font-size: 25px;
  }

  .hb-wordmark small {
    font-size: 12px;
  }

  .hb-main-nav-list > li > a {
    padding-left: 7px;
    padding-right: 7px;
    font-size: 12px;
  }

  .hb-header-search {
    width: 170px;
  }

  .hb-mini-cart {
    width: 110px;
  }
}

@media (max-width: 991px) {
  body {
    padding-bottom: 0;
  }

  .hb-site-header {
    padding: 0;
  }

  .hb-primary-row {
    min-height: 62px;
    gap: 12px;
  }

  .hb-brand-wrap {
    flex: 1 1 auto;
  }

  .hb-wordmark-name {
    font-size: 25px;
  }

  .hb-wordmark small {
    font-size: 12px;
    letter-spacing: .11em;
  }

  .hb-header-actions {
    gap: 6px;
  }

  .hb-header-icon {
    display: inline-flex !important;
    width: 36px;
    height: 36px;
  }

  .hb-mobile-search #search {
    margin: 0;
  }

  .hb-mobile-search #search .form-control,
  .hb-mobile-search #search .btn {
    height: 40px;
  }

  .sticky-footer {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .hb-wordmark small {
    display: none;
  }

  .hb-wordmark-name {
    font-size: 24px;
  }

  .hb-header-icon {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
