.ty-header, .ty-placeholder {
  --ty-ink: #222321;
  --ty-accent: #ffc107;
  --ty-accent-hover: #f0b400;
  --ty-border: #dfdfda;
  --ty-gutter: clamp(12px, 2.5vw, 24px);
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ty-ink);
}
.ty-header { margin: 0; padding: 0; background: #fff; font-size: 14px; line-height: 1.35; position: relative; z-index: 20; }
.ty-header *, .ty-header *::before, .ty-header *::after { box-sizing: border-box; }
.ty-header a, .ty-placeholder a { color: inherit; text-decoration: none; }
.ty-header a:focus-visible, .ty-header summary:focus-visible, .ty-header button:focus-visible,
.ty-placeholder a:focus-visible { outline: 2px solid #805700; outline-offset: 3px; }
.ty-header ul { list-style: none; padding: 0; margin: 0; }
.ty-header-wrap { width: calc(100% - var(--ty-gutter) * 2); max-width: 1200px; margin-inline: auto; }
.ty-header-top { background: #202220; color: #deded8; }
.ty-header-top-inner { display: flex; align-items: center; gap: 20px; min-height: 44px; font-size: 13px; }
.ty-header-company { margin-left: auto; }
.ty-header-company ul { display: flex; gap: 16px; }
.ty-header-company a, .ty-header-phone { display: inline-flex; align-items: center; min-height: 32px; white-space: nowrap; }
.ty-header-phone { font-size: 14px; font-weight: 700; }
.ty-header-top a:focus-visible { outline-color: var(--ty-accent); }
.ty-header-main { display: grid; grid-template-columns: 200px minmax(0, 1fr) max-content max-content; align-items: center; gap: 20px; min-height: 98px; }
.ty-header-brand { display: flex; align-items: center; width: 100%; grid-area: 1 / 1; }
.ty-header-brand img { display: block; width: 100%; max-width: 200px; height: auto; }
.ty-header-search { min-width: 0; grid-area: 1 / 2; }
.ty-header-main-contact { grid-area: 1 / 4; }
.ty-header .ty-header-mobile-phone, .ty-header .ty-header-mobile-controls { display: none; }
.ty-header .ty-header-search #search {
  min-height: 50px; height: 50px; display: flex; align-items: center; flex-wrap: nowrap;
  margin: 0; padding: 0; background: #f4f4f1; border: 1px solid #e9e9e4; border-radius: 7px;
}
.ty-header .ty-header-search #search:focus-within { outline: 2px solid #b88918; outline-offset: 1px; }
.ty-header .ty-header-search #input_search {
  flex: 1 1 0; min-width: 0; padding: 0 15px; color: var(--ty-ink); background: transparent;
  border: 0; box-shadow: none; font: inherit; border-radius: 7px;
}
.ty-header .ty-header-search #input_search::placeholder { color: #565752; opacity: 1; }
.ty-header .ty-header-search #input_search:focus { outline: none; }
.ty-header .ty-header-search #oct-search-button {
  flex: 0 0 47px; max-width: none; width: 47px; padding: 0; color: #52544f; background: transparent;
  box-shadow: none; border: 0; border-left: 0 !important; border-radius: 7px; font-size: 17px;
}
.ty-header .ty-header-search #us_livesearch {
  display: none; position: absolute; width: 100%; left: 0; right: 0; top: calc(100% + 4px);
}
.ty-header:has(#us_livesearch.expanded) { z-index: 1001; }
.ty-header .ty-header-search #us_livesearch_close {
  display: none;
  top: calc(100% + 4px); right: var(--ty-search-scrollbar, 12px);
  width: 44px; height: 40px;
  border: 0; border-radius: 0 0 0 5px;
  background: var(--ty-accent); color: var(--ty-ink);
  z-index: 1022;
}
.ty-header .ty-header-search #us_livesearch_close.visible { display: grid !important; place-items: center; }
.ty-header .ty-header-search #us_livesearch_close:focus-visible { outline: 2px solid #805700; outline-offset: -3px; }
.ty-header .ty-header-search #us_livesearch.expanded {
  display: block;
  max-height: min(320px, 60vh);
  max-height: min(320px, 60dvh);
  overflow: auto;
  overscroll-behavior-y: contain;
  background: #fff;
  scrollbar-color: #83837d #f4f4f1;
}
.ty-header .ty-header-search #us_livesearch::-webkit-scrollbar { width: 12px; }
.ty-header .ty-header-search #us_livesearch::-webkit-scrollbar-thumb { background: #83837d; border-radius: 6px; }
.ty-header .ty-header-search #us_livesearch::-webkit-scrollbar-track { background: #f4f4f1; }
.ty-header .ty-header-search #us_livesearch .us-livesearch-list-item:first-child .us-livesearch-list-item-info {
  padding-inline-end: 45px;
}
.ty-header .ty-header-search #us_livesearch > div {
  height: auto;
  overflow: visible;
}
.ty-header .ty-header-search #oct-search-button:focus-visible { outline-offset: -4px; }
.ty-header .ty-header-tools { display: flex; align-items: center; gap: 17px; grid-area: 1 / 3; }
.ty-header-tools a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 48px; min-width: 44px; padding: 1px; font-size: 12px; white-space: nowrap;
}
.ty-header-tools svg { display: block; margin-bottom: 3px; }
.ty-header-tools sup { color: #805700; font-size: 9px; top: -.35em; }
.ty-header-tools #oct-cart-quantity { background: transparent; }
.ty-header .ty-header-button, .ty-placeholder .ty-header-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 47px;
  padding: 0 18px; border: 1px solid var(--ty-border); border-radius: 6px; background: #fff;
  color: var(--ty-ink); font-size: 14px; font-weight: 700; white-space: nowrap;
}
.ty-header-nav { border-top: 1px solid #ecece8; }
.ty-header-nav-inner { display: flex; align-items: center; gap: 25px; min-height: 63px; }
.ty-header-nav a, .ty-header-nav summary { font-weight: 700; }
.ty-header-nav .ty-header-primary { background: var(--ty-accent); border-color: var(--ty-accent); color: #20150f; }
.ty-header-nav .ty-header-primary svg { width: 17px; height: 17px; }
.ty-header-nav .ty-header-contact { display: inline-flex; align-items: center; min-height: 44px; }
.ty-header-order { display: flex; align-items: center; gap: 24px; margin-left: auto; white-space: nowrap; }
.ty-header-total { color: var(--ty-ink); font-size: 14px; font-weight: 700; }
.ty-header-dropdown { position: relative; min-width: 0; }
.ty-header-dropdown summary { display: flex; align-items: center; gap: 5px; cursor: pointer; min-height: 44px; list-style: none; }
.ty-header-dropdown summary::-webkit-details-marker { display: none; }
.ty-header-dropdown summary::marker { content: ""; }
.ty-header-dropdown summary > svg { flex: 0 0 auto; width: 14px; height: 14px; }
.ty-header-dropdown[open] > summary:not(.ty-header-primary) > svg { transform: rotate(180deg); }
.ty-header-dropdown[open] > summary:not(.ty-header-primary) { color: #805700; }
.ty-header-panel {
  position: absolute; z-index: 30; top: calc(100% + 6px); left: 0;
  width: min(320px, calc(100vw - var(--ty-gutter) * 2)); max-height: min(65vh, 480px);
  overflow: auto; overscroll-behavior: contain; padding: 9px; background: #fff;
  border: 1px solid #e9e9e4; border-radius: 8px; box-shadow: 0 10px 24px #22232122;
}
.ty-header-panel-wide { width: min(610px, calc(100vw - var(--ty-gutter) * 2)); }
.ty-header-dropdown[open] > .ty-header-panel-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; }
.ty-header-panel p { margin: 0; padding: 9px 10px 3px; color: #805700; font-size: 12px; font-weight: 700; }
.ty-header-panel a {
  display: flex; align-items: center; min-height: 42px; padding: 6px 10px; border-radius: 5px;
  font-weight: 600; overflow-wrap: anywhere;
}
.ty-header-panel a:focus-visible { outline-offset: -2px; }
.ty-header-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.ty-placeholder { max-width: 1200px; margin-inline: auto; padding: clamp(28px, 7vw, 88px) var(--ty-gutter); }
.ty-placeholder > a:first-child { color: #805700; text-decoration: underline; }
.ty-placeholder h1 { margin: 18px 0 10px; font-size: clamp(30px, 5vw, 52px); }
.ty-placeholder p { margin-bottom: 22px; }

@media (hover: hover) {
  .ty-header a, .ty-header summary, .ty-header button { transition: color .16s ease, background-color .16s ease, border-color .16s ease; }
  .ty-header-top a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
  .ty-header-tools a:hover, .ty-header-contact:hover, .ty-header-dropdown summary:hover { color: #805700; }
  .ty-header .ty-header-button:hover, .ty-placeholder .ty-header-button:hover { background: #f5f4f0; border-color: #bdbdb5; }
  .ty-header .ty-header-primary:hover { background: var(--ty-accent-hover); border-color: var(--ty-accent-hover); }
  .ty-header-panel a:hover, .ty-header .ty-header-search #oct-search-button:hover { background: #f4f4f0; }
}
@media (prefers-reduced-motion: reduce) {
  .ty-header a, .ty-header summary, .ty-header button { transition: none; }
}
@media (max-width: 1090px) {
  .ty-header-main { grid-template-columns: clamp(156px, 17vw, 190px) minmax(0, 1fr) max-content max-content; gap: 14px; }
  .ty-header .ty-header-tools { gap: 9px; }
  .ty-header-nav-inner { gap: 17px; }
  .ty-header-order { gap: 12px; }
}
@media (max-width: 991px) {
  body.top.ty-redesign-home { padding-top: 0; }
}
@media (max-width: 1000px) {
  .ty-header { --ty-mobile-toolbar: #272925; }
  .ty-header-top, .ty-header-nav { display: none; }
  .ty-header-main {
    position: relative; width: 100%; grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0; min-height: 0; padding-bottom: 10px;
  }
  .ty-header .ty-header-mobile-controls {
    grid-area: 1 / 1 / 2 / 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    background: var(--ty-mobile-toolbar); color: #fff;
  }
  .ty-header-mobile-controls details { position: static; }
  .ty-header-mobile-controls summary, .ty-header-tools a {
    position: relative; display: grid; place-items: center; justify-content: center;
    width: 100%; height: 48px; min-height: 48px; padding: 0;
    border-right: 1px solid #ffffff1c; color: #fff;
  }
  .ty-header-mobile-controls summary > svg, .ty-header-tools svg { width: 24px; height: 24px; margin: 0; }
  .ty-header .ty-header-mobile-controls details[open] > summary { background: #3a3c36; color: #fff; }
  .ty-header .ty-header-mobile-controls details[open] > summary > svg { transform: none; }
  .ty-header .ty-header-tools {
    grid-area: 1 / 3 / 2 / 7; display: grid; gap: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--ty-mobile-toolbar);
  }
  .ty-header-tools a:focus-visible, .ty-header-mobile-controls summary:focus-visible { outline-color: #fff; outline-offset: -3px; }
  .ty-header-tools a > span { position: absolute; inset: 0; font-size: 0; pointer-events: none; }
  .ty-header-tools sup, .ty-header-tools #oct-cart-quantity {
    position: absolute; top: 5px; left: calc(50% + 6px);
    min-width: 14px; padding: 1px 3px; border-radius: 12px;
    background: var(--ty-accent); color: #20150f;
    font-size: 9px; line-height: 12px; text-align: center;
  }
  .ty-header-brand { grid-area: 2 / 1 / 3 / 4; width: auto; margin: 8px 0 8px var(--ty-gutter); }
  .ty-header-brand img { width: min(100%, 166px); }
  .ty-header-main-contact {
    grid-area: 2 / 4 / 3 / 7; justify-self: end; display: grid; justify-items: end;
    gap: 1px; margin: 6px var(--ty-gutter) 7px 0;
  }
  .ty-header .ty-header-main-contact .ty-header-callback {
    min-height: 30px; padding: 11px 8px; font-size: 12px;
  }
  .ty-header .ty-header-mobile-phone { display: block; font-size: 13px; font-weight: 700; white-space: nowrap; }
  .ty-header-search { grid-area: 3 / 1 / 4 / 7; margin-inline: var(--ty-gutter); }
  .ty-header .ty-header-search #search { min-height: 44px; height: 44px; }
  .ty-header-mobile-panel {
    top: 48px; left: 0; width: min(100%, 420px); max-height: min(480px, 72vh);
    z-index: 1023; padding: 0 12px 12px; border-radius: 0 0 8px 8px; color: var(--ty-ink);
  }
  .ty-header-mobile-panel-title {
    position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between;
    margin-inline: -12px; padding-left: 12px; background: var(--ty-accent); color: #20150f;
  }
  .ty-header-mobile-panel-title button {
    width: 44px; height: 44px; padding: 0; border: 0; background: transparent;
    color: #20150f; font-size: 25px; cursor: pointer;
  }
  .ty-header-mobile-facts { margin: 8px 0 0; border-top: 1px solid var(--ty-border); padding: 8px 10px; }
  .ty-header-mobile-facts dt { margin-top: 4px; }
  .ty-header-mobile-facts dd { margin: 0 0 8px; }
  .ty-header-mobile-facts a { display: inline-flex; min-height: 32px; padding: 0; }
}
@media (max-width: 1000px) and (prefers-reduced-motion: no-preference) {
  .ty-header-mobile-controls details[open] > .ty-header-mobile-panel {
    animation: ty-header-panel-enter .24s cubic-bezier(.2, .65, .3, 1) both;
  }
}
@keyframes ty-header-panel-enter {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}
