/* Fire by Design header (developer handoff 2026-11-03). Selectors are isolated
   from the legacy Polo header. Load after typography.css. */

.fbd-site-header,
.fbd-site-header *,
.fbd-dialog,
.fbd-dialog * {
  box-sizing: border-box;
}

.fbd-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}

.fbd-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Topbar */
.fbd-utility {
  height: 36px;
  background: #252727;
  color: #e4e5e2;
  font-family: Poppins, Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}

.fbd-utility-inner {
  max-width: 1344px;
  height: 100%;
  margin: auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.fbd-utility-contact,
.fbd-utility-account {
  display: flex;
  align-items: center;
  gap: 21px;
}

.fbd-utility a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  color: #fff;
  white-space: nowrap;
  text-decoration: none;
}

.fbd-utility a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fbd-utility a:focus-visible {
  outline: 3px solid #e6a238;
  outline-offset: 2px;
}

.fbd-utility .fbd-icon {
  width: 13px;
  height: 13px;
  color: #e6a238;
}

.fbd-hours {
  font-size: 10px;
  color: #cbcec9;
  letter-spacing: 0.02em;
}

.fbd-utility-account a + a {
  border-left: 1px solid #535751;
  padding-left: 20px;
}

/* Header shell */
.fbd-site-header,
.fbd-dialog {
  font-family: Poppins, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: #242729;
  letter-spacing: 0;
  text-transform: none;
}
.fbd-site-header a,
.fbd-dialog a {
  color: inherit;
  text-decoration: none;
}
.fbd-site-header :where(button),
.fbd-dialog :where(button, input) {
  font: inherit;
  letter-spacing: inherit;
}
.fbd-site-header button,
.fbd-dialog button {
  cursor: pointer;
}
.fbd-site-header button,
.fbd-dialog button,
.fbd-site-header a,
.fbd-dialog a {
  -webkit-tap-highlight-color: transparent;
}
.fbd-site-header :focus-visible,
.fbd-dialog :focus-visible {
  outline: 3px solid #9b5700;
  outline-offset: 4px;
}
.fbd-site-header [hidden],
.fbd-dialog [hidden] {
  display: none !important;
}
.fbd-skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 150;
  background: #fff;
  color: #242729;
  padding: 12px 20px;
  border: 2px solid #9b5700;
  border-radius: 4px;
  font:
    500 15px Poppins,
    Arial,
    sans-serif;
}
.fbd-skip-link:focus {
  top: 8px;
}
.fbd-site-header {
  position: sticky;
  top: -36px;
  z-index: 100;
  background: #fff;
  isolation: isolate;
  box-shadow: 0 1px 0 #0000000c;
  transition: box-shadow 0.2s ease;
}
.fbd-site-header.is-scrolled {
  box-shadow: 0 3px 15px #1e202214;
}
.fbd-header-inner {
  max-width: 1344px;
  height: 96px;
  margin: auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}
.fbd-brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  margin-right: auto;
  min-width: 110px;
}
.fbd-brand img {
  display: block;
  width: 110px;
  height: auto;
}

/* Primary navigation */
.fbd-primary-nav {
  margin: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.fbd-nav-list {
  list-style: none;
  display: flex;
  align-items: stretch;
  gap: 6px;
  margin: 0;
  padding: 0;
  height: 100%;
}
.fbd-nav-item {
  display: flex;
  align-items: center;
}
.fbd-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 12px 10px;
  min-height: 44px;
  border-radius: 4px;
  color: #282c29;
  font-weight: 500 !important;
  font-size: 14px;
  white-space: nowrap;
  transition:
    color 0.15s,
    background 0.15s;
}
.fbd-nav-link:hover,
.fbd-nav-link[aria-expanded='true'] {
  background: #f6f1e9;
  color: #8c4e00;
}
.fbd-nav-link .fbd-icon {
  width: 12px;
  height: 12px;
  stroke-width: 2;
  transition: transform 0.16s;
}
.fbd-nav-link[aria-expanded='true'] .fbd-icon {
  transform: rotate(180deg);
}
.fbd-main-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.fbd-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  padding: 0;
  background: none;
  color: #242729;
  border: 1px solid transparent;
  border-radius: 5px;
}
.fbd-icon-button:hover {
  background: #f5f1e9;
  border-color: #ede3d2;
}
.fbd-icon-button .fbd-icon {
  width: 21px;
  height: 21px;
}
.fbd-quote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  background: #df8800;
  color: #1f211e !important;
  border: 1px solid #df8800;
  border-radius: 4px;
  padding: 11px 17px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
.fbd-quote-button:hover {
  background: #f09a13;
  border-color: #f09a13;
  box-shadow: 0 2px 7px #6638001a;
}
.fbd-quote-button .fbd-icon {
  width: 17px;
  height: 17px;
}
.fbd-quote-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 50px;
  background: #1f211e;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.fbd-mobile-quote-label,
.fbd-menu-toggle {
  display: none;
}

/* Dropdown panels */
.fbd-dropdown {
  position: absolute;
  top: 100%;
  left: 190px;
  width: min(760px, calc(100vw - 64px));
  border: 1px solid #e6e1d8;
  border-top: 3px solid #df8800;
  background: #fff;
  box-shadow: 0 18px 36px #20231e26;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
  z-index: 3;
}
.fbd-dropdown-inner {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  min-height: 240px;
}
.fbd-dropdown-main {
  padding: 28px 30px;
}
.fbd-dropdown-kicker {
  margin: 0 0 15px;
  color: #7f653f;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.fbd-dropdown-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.fbd-dropdown-links a {
  display: block;
  padding: 10px 8px;
  margin-left: -8px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 4px;
}
.fbd-dropdown-links a:hover {
  color: #8c4e00;
  background: #faf5eb;
}
.fbd-dropdown-feature {
  padding: 26px;
  background: #f6f3ed;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-left: 1px solid #eee6db;
}
.fbd-dropdown-feature > span {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  max-width: 190px;
}
.fbd-dropdown-description {
  font-size: 12px;
  line-height: 1.7;
  color: #62665f;
  margin: 0;
}
.fbd-dropdown-feature .fbd-icon {
  width: 25px;
  height: 25px;
  color: #a45f00;
}
.fbd-dropdown-feature a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #824900;
  padding: 7px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.fbd-dropdown-feature a .fbd-icon {
  width: 16px;
  height: 16px;
}
.fbd-support-panel {
  left: auto;
  right: 210px;
  width: 630px;
}

/* Dialog base and mobile drawer */
.fbd-dialog {
  padding: 0;
  border: 0;
  background: #fff;
  box-shadow: 0 25px 90px #0004;
  color: #242729;
  max-height: calc(100dvh - 40px);
}
.fbd-dialog::backdrop {
  background: #141917a6;
  backdrop-filter: blur(3px);
}
.fbd-drawer {
  width: min(420px, 100%);
  height: 100dvh;
  max-height: 100dvh;
  max-width: 100%;
  margin: 0 0 0 auto;
  border-radius: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.fbd-drawer-top {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid #ebece5;
  gap: 10px;
}
.fbd-drawer-top img {
  width: 82px;
  height: auto;
  display: block;
}
.fbd-drawer-heading {
  font-size: 12px;
  font-weight: 500;
  color: #72786c;
  margin: 0 0 0 auto;
}
.fbd-drawer-nav {
  padding: 16px 22px 10px;
}
.fbd-drawer-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fbd-drawer-nav > ul > li {
  border-bottom: 1px solid #eaebe5;
}
.fbd-drawer-link,
.fbd-drawer-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  min-height: 56px;
  border: 0;
  background: none;
  font-size: 17px;
  font-weight: 500 !important;
  text-align: left;
  color: #242729;
}
.fbd-drawer-link:hover,
.fbd-drawer-toggle:hover {
  color: #955500;
}
.fbd-drawer-toggle .fbd-icon {
  width: 17px;
  height: 17px;
  transition: transform 0.15s;
}
.fbd-drawer-toggle[aria-expanded='true'] .fbd-icon {
  transform: rotate(180deg);
}
.fbd-drawer-submenu {
  list-style: none;
  margin: 0;
  padding: 0 0 14px 14px;
  border-left: 2px solid #e5a441;
}
.fbd-drawer-submenu a {
  display: block;
  font-size: 13px;
  padding: 10px 10px;
  min-height: 40px;
}
.fbd-drawer-submenu a:hover {
  color: #955500;
  background: #f9f5ec;
}
.fbd-drawer-bottom {
  padding: 20px 22px 30px;
}
.fbd-drawer-bottom > .fbd-quote-button {
  width: 100%;
  min-height: 48px;
  font-size: 14px;
  justify-content: space-between;
  padding: 12px 16px;
}
.fbd-drawer-account {
  display: flex;
  gap: 20px;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 500;
}
.fbd-drawer-account a {
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 8px 0;
}
.fbd-drawer-contact {
  border-top: 1px solid #e5e8df;
  margin-top: 20px;
  padding-top: 22px;
}
.fbd-drawer-contact > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 9px;
}
.fbd-drawer-contact .fbd-icon {
  width: 16px;
  height: 16px;
  color: #8a5100;
}
.fbd-drawer-hours {
  font-size: 11px;
  color: #6a7364;
  line-height: 1.8;
  margin: 0;
}
html.fbd-modal-open {
  overflow: hidden;
}

/* theme.css colors every non-.btn link #DF8800 on hover/focus/active
   (a:not(.btn):not(.badge):hover, specificity 0,3,1). Match that specificity
   here so the header keeps its own link colors. */
.fbd-site-header a:not(.fbd-quote-button):is(:focus, :active),
.fbd-dialog a:not(.fbd-quote-button):is(:focus, :active) {
  color: inherit;
}
.fbd-site-header a.fbd-nav-link:is(:hover, :focus-visible),
.fbd-site-header .fbd-dropdown-links a:is(:hover, :focus-visible) {
  color: #8c4e00;
}
.fbd-site-header .fbd-dropdown-feature a:is(:hover, :focus, :active) {
  color: #824900;
}
.fbd-dialog a.fbd-drawer-link:is(:hover, :focus-visible),
.fbd-dialog .fbd-drawer-submenu a:is(:hover, :focus-visible),
.fbd-dialog .fbd-drawer-account a:is(:hover, :focus-visible),
.fbd-dialog .fbd-drawer-contact a:is(:hover, :focus-visible) {
  color: #955500;
}
.fbd-site-header .fbd-utility a:is(:hover, :focus, :active) {
  color: #fff;
}

@media (min-width: 1450px) {
  .fbd-nav-list {
    gap: 12px;
  }
  .fbd-header-inner {
    gap: 30px;
  }
  .fbd-nav-link {
    font-size: 15px;
  }
  .fbd-quote-button {
    font-size: 14px;
  }
}
@media (max-width: 1119px) {
  .fbd-site-header {
    top: 0;
  }
  .fbd-utility,
  .fbd-primary-nav {
    display: none;
  }
  .fbd-header-inner {
    height: 80px;
    padding: 0 28px;
    gap: 16px;
  }
  .fbd-brand {
    min-width: 88px;
  }
  .fbd-brand img {
    width: 88px;
  }
  .fbd-main-actions {
    gap: 7px;
  }
  .fbd-menu-toggle {
    display: inline-flex;
  }
  .fbd-quote-button {
    min-height: 42px;
    padding: 10px 15px;
  }
  .fbd-quote-button > .fbd-icon {
    display: none;
  }
}
@media (max-width: 599px) {
  .fbd-header-inner {
    padding: 0 18px;
    height: 76px;
    gap: 10px;
  }
  .fbd-brand {
    min-width: 80px;
  }
  .fbd-brand img {
    width: 80px;
  }
  .fbd-main-actions {
    gap: 2px;
  }
  .fbd-main-actions > .fbd-quote-button {
    order: -1;
    gap: 6px;
    min-height: 38px;
    padding: 9px 11px;
    font-size: 12px;
    margin-right: 5px;
  }
  .fbd-desktop-quote-label {
    display: none;
  }
  .fbd-mobile-quote-label {
    display: inline;
  }
  .fbd-icon-button {
    width: 40px;
    height: 40px;
  }
  .fbd-quote-count {
    min-width: 19px;
    height: 19px;
    font-size: 9px;
    padding: 0 5px;
  }
  .fbd-drawer-top,
  .fbd-drawer-nav,
  .fbd-drawer-bottom {
    padding-left: 22px;
    padding-right: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fbd-site-header,
  .fbd-site-header *,
  .fbd-dialog * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Search dialog */
.fbd-dialog-close {
  margin-left: auto;
}
.fbd-search-dialog {
  width: min(720px, calc(100vw - 40px));
  margin: 100px auto auto;
  border-radius: 8px;
  overflow: auto;
}
.fbd-dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px 16px;
  gap: 16px;
}
.fbd-dialog-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}
.fbd-search-body {
  padding: 0 28px 30px;
}
.fbd-search-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #4b5149;
  margin: 0 0 9px;
}
.fbd-search-field {
  display: flex;
  align-items: center;
  border: 1px solid #bfc2ba;
  border-radius: 5px;
  padding: 5px 5px 5px 15px;
  gap: 10px;
  background: #fff;
}
.fbd-search-field:focus-within {
  border-color: #9b5700;
  box-shadow: 0 0 0 2px #b778201f;
}
.fbd-search-field > .fbd-icon {
  color: #757b70;
}
.fbd-dialog .fbd-search-field input {
  min-width: 0;
  width: 100%;
  height: 46px;
  border: 0;
  color: #242729;
  background: none;
  padding: 0 2px;
  font-size: 16px;
  line-height: 1.5;
  outline: none;
  box-shadow: none;
}
.fbd-search-field input:focus-visible {
  outline: 0;
}
.fbd-dialog .fbd-search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 3px;
  background: #df8800;
  color: #20241e;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}
.fbd-dialog .fbd-search-submit:hover {
  background: #ee9915;
}
.fbd-search-error {
  color: #a12820;
  font-size: 12px;
  margin: 9px 0;
}
.fbd-popular-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #767c72;
  margin: 27px 0 12px;
}
.fbd-search-suggestions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.fbd-search-suggestions a {
  font-size: 12px;
  padding: 9px 12px;
  border: 1px solid #e2e4dc;
  border-radius: 4px;
  min-height: 38px;
  background: #f9f9f6;
}
.fbd-search-suggestions a:hover {
  background: #f7efdf;
  border-color: #d9bb88;
}
.fbd-dialog .fbd-search-suggestions a:is(:hover, :focus-visible) {
  color: #8c4e00;
}
@media (max-width: 599px) {
  .fbd-search-dialog {
    width: calc(100vw - 24px);
    margin-top: 30px;
    max-height: calc(100dvh - 60px);
  }
  .fbd-dialog-heading {
    padding: 16px 18px 14px;
  }
  .fbd-dialog-title {
    font-size: 19px;
  }
  .fbd-search-body {
    padding: 0 18px 24px;
  }
  .fbd-search-field {
    padding-left: 11px;
    gap: 6px;
  }
  .fbd-search-field > .fbd-icon {
    display: none;
  }
  .fbd-dialog .fbd-search-submit {
    padding: 10px 13px;
  }
}
