@font-face {
  font-family: "RenTech Header";
  src: url("/assets/rubik-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
html:has(.rt-header) { scrollbar-gutter: stable; }
.rt-header {
  --head-height: 66px;
  position: sticky;
  top: 0;
  z-index: 8;
  flex: none;
  background: #191d1b;
  color: white;
  box-shadow: inset 0 -1px #414742;
  font: 400 16px/1.25 Arial, sans-serif;
  text-align: left;
}
.rt-header *, .rt-header *::before, .rt-header *::after { box-sizing: border-box; }
.rt-header .rt-row {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 16px; min-height: var(--head-height);
  margin: 0 clamp(12px, 2vw, 32px);
}
.rt-header .rt-brand {
  display: inline-flex; flex: none; align-items: center; gap: 9px;
  min-height: 44px; min-width: 44px;
  color: white; font: 700 25px/1 "RenTech Header", Arial, sans-serif;
  letter-spacing: -.045em; text-decoration: none;
}
.rt-header .rt-brand img { display: block; width: 33px; height: 33px; }
.rt-header .rt-categories { flex: none; margin-inline-start: 16px; }
.rt-header .rt-nav a[href="/account"] { display: none; }
.rt-header .rt-nav, .rt-header .rt-services { display: flex; align-items: center; }
.rt-header .rt-nav { flex: 0 1 auto; justify-content: flex-start; gap: 24px; margin-left: 12px; }
.rt-header :is(.rt-nav, .rt-mobile-menu) a, .rt-header .rt-categories {
  display: inline-flex; align-items: center; min-height: 44px;
  color: #eceee8; font: 400 14px/1.2 Arial, sans-serif;
  text-decoration: none; white-space: nowrap;
}
.rt-header :is(.rt-nav, .rt-mobile-menu) a:hover, .rt-header .rt-categories:hover { color: white; text-decoration: underline; text-underline-offset: 4px; }
.rt-header .rt-services { margin-left: auto; gap: 8px; }
.rt-header .rt-control {
  position: relative; display: inline-flex; flex: none; align-items: center; justify-content: center;
  gap: 5px; min-width: 42px; height: 44px; padding: 0 10px; margin: 0;
  border: 0; border-radius: 3px; background: #303a34; color: white;
  font: 700 14px/1.2 Arial, sans-serif; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.rt-header .rt-cart { background: #e9ece4; color: #1b2921; }
.rt-header .rt-control:hover { background: #425147; color: white; }
.rt-header .rt-control b { padding: 2px 4px; border-radius: 2px; background: #ffda3f; color: #202521; font: 700 11px/1.2 Arial, sans-serif; }
.rt-header .rt-control svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rt-header :is(.rt-search,.rt-account) svg, .rt-header .rt-menu-button { display: none; }
.rt-header .rt-badge { position: absolute; top: -4px; right: -4px; padding: 1px 4px; min-width: 16px; border-radius: 8px; background: #ffda3f; color: #202521; font: 700 11px/14px Arial,sans-serif; text-align: center; }
.rt-header .rt-badge[hidden], .rt-header .rt-mobile-menu { display: none; }
.rt-header :is(a,button):focus-visible { outline: 2px solid #ffda3f !important; outline-offset: 2px; }
@media (max-width: 80rem) {
  .rt-header .rt-nav { display: none; }
  .rt-header .rt-menu-button { display: inline-flex; }
  .rt-header .rt-mobile-menu:popover-open {
    display: grid; position: fixed; inset: var(--head-height) 0 auto;
    width: 100%; max-width: none; max-height: calc(100dvh - var(--head-height)); overflow: auto;
    margin: 0; padding: 8px max(16px, 5vw) 12px;
    border: 0; border-bottom: 1px solid #48514a; background: #191d1b; color: white;
    box-shadow: 0 6px 14px #0003;
  }
}
@media (max-width: 40rem) {
  .rt-header { --head-height: 60px; }
  .rt-header .rt-row { margin: 0 12px; gap: 4px; }
  .rt-header .rt-brand { gap: 5px; font-size: 21px; }
  .rt-header .rt-categories { margin-inline-start: 8px; }
  .rt-header .rt-brand img { width: 29px; height: 29px; }
  .rt-header .rt-services { gap: 4px; }
  .rt-header .rt-control { width: 42px; padding: 0; }
  .rt-header :is(.rt-search,.rt-account) svg { display: block; }
  .rt-header :is(.rt-account,.rt-search,.rt-cart) > span:not(.rt-badge) { display: none; }
  .rt-header :is(.rt-account,.rt-saved) { display: none; }
  .rt-header .rt-services { margin-left: auto; }
}
@media (max-width: 23rem) {
  .rt-header .rt-row { margin-inline: 8px; }
  .rt-header .rt-services { gap: 2px; }
  .rt-header .rt-control { width: 44px; min-width: 44px; }
  .rt-header .rt-brand { font-size: 19px; }
  .rt-header .rt-brand span { display: none; }
}
@media print { .rt-header { display: none; } }

