/* TI header navigation. Does not inherit the old ti-nav-inner link rules. */
.ti-shop .tihn-inner { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; padding-block: 8px; min-height: 62px; }
.ti-shop .tihn-icon { flex: 0 0 auto; width: 22px; height: 22px; vertical-align: middle; }
.ti-shop .tihn-link, .ti-shop .tihn-trigger { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; margin: 0; padding: 10px 15px; border: 1px solid transparent; border-radius: 7px; color: #182b49; background: transparent; font: 600 16px/1.4 Arial, Helvetica, sans-serif; text-decoration: none; cursor: pointer; }
.ti-shop .tihn-link[aria-current="page"] { background: #edf2f8; }
.ti-shop .tihn-link.tihn-business { margin-left: auto; color: #b94a1e; font-weight: 700; white-space: nowrap; }
.ti-shop .tihn-disclosure { position: relative; min-width: 0; }
.ti-shop .tihn-trigger { list-style: none; }
.ti-shop .tihn-trigger::-webkit-details-marker { display: none; }
.ti-shop .tihn-trigger::marker { content: ""; }
.ti-shop .tihn-chevron { display: inline-flex; flex: 0 0 auto; margin-left: 1px; }
.ti-shop .tihn-chevron .tihn-icon { width: 16px; height: 16px; }
.ti-shop .tihn-disclosure[open] > .tihn-trigger { background: #edf2f8; }
.ti-shop .tihn-disclosure[open] > .tihn-trigger .tihn-chevron { transform: rotate(180deg); }
.ti-shop .tihn-disclosure--accent > .tihn-trigger { background: #b94a1e; border-color: #b94a1e; color: #fff; }
.ti-shop .tihn-disclosure--accent[open] > .tihn-trigger { background: #963916; border-color: #963916; }
.ti-shop .tihn-panel { position: absolute; z-index: 1040; top: calc(100% + 8px); left: 0; display: flex; flex-direction: column; box-sizing: border-box; width: 384px; max-width: calc(100vw - 24px); max-height: min(65vh, 650px); overflow: hidden; border: 1px solid #dce2e9; border-radius: 12px; background: #fff; color: #182b49; box-shadow: 0 14px 44px rgba(16,33,57,.19); font: 16px/1.45 Arial, Helvetica, sans-serif; }
.ti-shop .tihn-disclosure:not([open]) > .tihn-panel { display: none; }
.ti-shop .tihn-disclosure[data-tihn-ready] > .tihn-panel { position: fixed; right: auto; }
.ti-shop .tihn-panel-head { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 10px 10px 19px; border-bottom: 1px solid #e8edf3; }
.ti-shop .tihn-panel-head h2 { margin: 0; color: #182b49; font: 700 18px/1.35 Arial, Helvetica, sans-serif; }
.ti-shop .tihn-close { flex: 0 0 44px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #182b49; cursor: pointer; }
.ti-shop .tihn-list { flex: 1 1 auto; min-height: 0; margin: 0; padding: 7px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; -webkit-overflow-scrolling: touch; list-style: none; }
.ti-shop .tihn-list li { margin: 0; padding: 0; list-style: none; }
.ti-shop .tihn-sub-link { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 11px 12px; border-radius: 7px; color: #182b49; font: 400 16px/1.45 Arial, Helvetica, sans-serif; text-decoration: none; }
.ti-shop .tihn-sub-link > span { min-width: 0; overflow-wrap: anywhere; }
.ti-shop .tihn-sub-link > .tihn-icon { color: #61748a; }
.ti-shop .tihn-sub-link[aria-current="page"] { background: #edf2f8; font-weight: 700; }
.ti-shop .tihn-trigger:focus-visible, .ti-shop .tihn-link:focus-visible, .ti-shop .tihn-sub-link:focus-visible, .ti-shop .tihn-close:focus-visible { outline: 2px solid #315f93; outline-offset: -3px; }
.ti-shop .tihn-disclosure--accent > .tihn-trigger:focus-visible { outline-color: #fff; }
.ti-shop .ti-toplinks .tihn-icon { width: 16px; height: 16px; margin-right: 6px; }
.ti-shop .tihn-catalog-label { display: inline-flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.ti-shop .tihn-catalog-label > .tihn-icon { color: #61748a; }
@media (hover: hover) {
  .ti-shop .tihn-link:hover, .ti-shop .tihn-trigger:hover, .ti-shop .tihn-sub-link:hover, .ti-shop .tihn-close:hover { background: #edf2f8; color: #182b49; }
  .ti-shop .tihn-disclosure--accent > .tihn-trigger:hover { background: #963916; color: #fff; }
  .ti-shop .tihn-link.tihn-business:hover { color: #963916; }
}
@media (max-width: 800px) {
  .ti-shop .tihn-inner { gap: 7px; }
  .ti-shop .tihn-link, .ti-shop .tihn-trigger { font-size: 15px; padding-inline: 10px; }
}
@media (max-width: 620px) {
  .ti-shop .tihn-inner { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: stretch; gap: 7px; padding-block: 9px; }
  .ti-shop .tihn-disclosure { position: static; grid-column: span 3; }
  .ti-shop .tihn-disclosure--accent { grid-column: span 3; }
  .ti-shop .tihn-trigger { width: 100%; height: 100%; min-height: 48px; box-sizing: border-box; padding: 9px 8px; gap: 7px; }
  .ti-shop .tihn-trigger > span:not(.tihn-chevron) { min-width: 0; text-align: left; }
  .ti-shop .tihn-trigger > .tihn-icon { width: 20px; height: 20px; }
  .ti-shop .tihn-chevron .tihn-icon { width: 14px; height: 14px; }
  .ti-shop .tihn-link { grid-column: span 2; flex-direction: column; gap: 4px; min-height: 59px; padding: 6px 3px; text-align: center; line-height: 1.3; }
  .ti-shop .tihn-link.tihn-business { grid-column: 1 / -1; flex-direction: row; justify-content: flex-end; gap: 9px; min-height: 44px; margin-left: 0; padding: 8px 4px; white-space: normal; text-align: right; }
  .ti-shop .tihn-panel { top: calc(100% + 5px); left: 0; right: 0; width: auto; max-width: none; }
}
