.tq-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 0 max(28px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid rgba(24, 22, 15, .13);
  background: rgba(247, 243, 237, .96);
  color: #18160f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.tq-site-header *, .tq-site-header *::before, .tq-site-header *::after { box-sizing: border-box; }
.tq-site-header a { color: inherit; text-decoration: none; }
.tq-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 850; white-space: nowrap; }
.tq-brand img { width: 36px; height: 36px; display: block; }
.tq-primary-nav { justify-self: end; display: flex; align-items: center; gap: 24px; font-size: 14px; }
.tq-primary-nav > a, .tq-nav-menu > summary { transition: color .18s ease; }
.tq-primary-nav > a:hover, .tq-nav-menu > summary:hover, .tq-nav-menu[open] > summary { color: #e8742c; }
.tq-nav-menu { position: relative; }
.tq-nav-menu > summary { display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; }
.tq-nav-menu > summary::-webkit-details-marker, .tq-mobile-menu > summary::-webkit-details-marker { display: none; }
.tq-nav-caret { font-size: 12px; transition: transform .18s ease; }
.tq-nav-menu[open] .tq-nav-caret { transform: rotate(180deg); }
.tq-nav-popover {
  position: absolute;
  top: calc(100% + 22px);
  right: -18px;
  width: 260px;
  padding: 12px;
  border: 1px solid rgba(24, 22, 15, .13);
  border-radius: 18px;
  background: #fffdfa;
  box-shadow: 0 24px 60px rgba(24, 22, 15, .17);
}
.tq-nav-popover::before { content: ""; position: absolute; top: -23px; left: 0; right: 0; height: 24px; }
.tq-products-menu { width: 540px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tq-product-link { min-height: 92px; display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 12px; padding: 10px; border-radius: 13px; transition: background .18s ease, transform .18s ease; }
.tq-product-link:hover { background: #f2ece4; transform: translateY(-1px); }
.tq-product-thumb { width: 58px; height: 66px; display: grid; place-items: center; overflow: hidden; border-radius: 10px; background: #f4efe8; }
.tq-product-thumb img { max-width: 88%; max-height: 58px; object-fit: contain; filter: drop-shadow(0 7px 8px rgba(24,22,15,.18)); }
.tq-product-copy strong { display: block; margin-bottom: 4px; font-size: 14px; }
.tq-product-copy span { display: block; color: #716c63; font-size: 12px; line-height: 1.35; }
.tq-menu-footer { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 4px; padding: 12px 13px 5px; border-top: 1px solid rgba(24, 22, 15, .1); color: #e8742c !important; font-size: 12px; font-weight: 800; }
.tq-resource-link { display: block; padding: 11px 12px; border-radius: 10px; font-size: 13px; font-weight: 700; }
.tq-resource-link:hover { background: #f2ece4; color: #e8742c; }
.tq-resource-link span { display: block; margin-top: 2px; color: #8a847a; font-size: 11px; font-weight: 500; }
.tq-header-actions { display: flex; align-items: center; gap: 10px; }
.tq-button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 17px; border: 1px solid #e8742c; border-radius: 11px; background: #e8742c; color: #fff !important; font-size: 11px; font-weight: 850; letter-spacing: .045em; text-transform: uppercase; white-space: nowrap; transition: transform .18s ease, background .18s ease; }
.tq-button:hover { transform: translateY(-1px); background: #d8641f; }
.tq-button-secondary { border-color: rgba(24, 22, 15, .16); background: transparent; color: #18160f !important; }
.tq-button-secondary:hover { background: rgba(24, 22, 15, .045); }
.tq-mobile-app, .tq-mobile-menu { display: none; }
.tq-product-return { justify-self: end; font-size: 14px; font-weight: 720; }
.tq-product-return a { display: inline-flex; align-items: center; gap: 7px; transition: color .18s ease; }
.tq-product-return a:hover { color: #e8742c; }
.tq-product-cta { justify-self: end; }

@media (max-width: 1080px) {
  .tq-site-header { gap: 18px; }
  .tq-primary-nav { gap: 17px; }
  .tq-header-actions .tq-button { padding-inline: 13px; }
}
@media (max-width: 900px) {
  .tq-site-header { min-height: 64px; grid-template-columns: 1fr auto auto; gap: 10px; padding: 0 18px; }
  .tq-primary-nav, .tq-header-actions { display: none; }
  .tq-mobile-app { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; padding: 0 14px; border-radius: 10px; background: #e8742c; color: #fff !important; font-size: 11px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
  .tq-mobile-menu { position: static; display: block; }
  .tq-mobile-menu > summary { width: 38px; height: 38px; display: grid; place-content: center; gap: 4px; cursor: pointer; list-style: none; border: 1px solid rgba(24, 22, 15, .14); border-radius: 10px; background: #fffdfa; }
  .tq-mobile-menu > summary span { width: 17px; height: 2px; display: block; border-radius: 99px; background: #18160f; transition: transform .2s ease, opacity .2s ease; }
  .tq-mobile-menu[open] > summary span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .tq-mobile-menu[open] > summary span:nth-child(2) { opacity: 0; }
  .tq-mobile-menu[open] > summary span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .tq-mobile-panel { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 64px); overflow-y: auto; padding: 18px; border-top: 1px solid rgba(24, 22, 15, .1); background: #fffdfa; box-shadow: 0 28px 50px rgba(24, 22, 15, .16); }
  .tq-mobile-panel > a, .tq-mobile-group > a { display: block; padding: 12px 4px; border-bottom: 1px solid rgba(24, 22, 15, .09); font-size: 15px; font-weight: 750; }
  .tq-mobile-group { margin: 8px 0 4px; padding: 10px 14px 8px; border-radius: 14px; background: #f4efe8; }
  .tq-mobile-group > span { display: block; padding: 3px 4px 7px; color: #e8742c; font-size: 10px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
  .tq-mobile-group > a { padding: 10px 4px; font-size: 14px; }
  .tq-mobile-group > a:last-child { border-bottom: 0; }
  .tq-mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 16px; }
  .tq-mobile-actions .tq-button { min-height: 46px; padding-inline: 10px; }
}
@media (max-width: 420px) {
  .tq-brand { font-size: 18px; }
  .tq-brand img { width: 32px; height: 32px; }
  .tq-mobile-app { padding-inline: 11px; }
  .tq-site-header[data-tq-product-navigation] { grid-template-columns: auto 1fr auto; padding-inline: 12px; }
  .tq-site-header[data-tq-product-navigation] .tq-brand span { display: none; }
  .tq-product-return { justify-self: center; font-size: 12px; }
  .tq-product-return a span { display: none; }
  .tq-product-cta { min-height: 36px; padding-inline: 11px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .tq-site-header *, .tq-site-header *::before, .tq-site-header *::after { transition-duration: .01ms !important; }
}
