:root {
  --rvh-red: #9f111b;
  --rvh-red-dark: #760c13;
  --rvh-black: #161616;
  --rvh-ink: #21191a;
  --rvh-soft-black: #252020;
  --rvh-cream: #fffaf6;
  --rvh-paper: #ffffff;
  --rvh-line: #eadfda;
  --rvh-muted: #6f6865;
  --rvh-soft: #f7f1ed;
  --rvh-star: #f5b400;
  --rvh-shadow: 0 18px 48px rgba(33, 25, 26, 0.12);
}

.rvh-header-section,
.rvh-header-section * {
  box-sizing: border-box;
}

.rvh-header-section {
  width: 100%;
  max-width: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--rvh-paper);
  color: var(--rvh-ink);
  position: relative;
  z-index: 9999;
  overflow-x: clip;
}

.rvh-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.rvh-header {
  width: 100%;
  background: var(--rvh-paper);
  box-shadow: var(--rvh-shadow);
  position: sticky;
  top: 0;
  z-index: 99999;
}

body.admin-bar .rvh-header {
  top: 32px;
}

.rvh-topbar {
  min-height: 36px;
  background: var(--rvh-black);
  color: #ffffff;
}

.rvh-topbar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.rvh-toplink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.rvh-toplink:hover {
  color: #ffffff;
}

.rvh-toplink svg {
  width: 16px;
  height: 16px;
  color: var(--rvh-red);
}

.rvh-review-pill {
  margin-left: auto;
  min-height: 26px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.rvh-review-pill strong {
  font-weight: 950;
}

.rvh-review-pill span {
  color: var(--rvh-star);
  letter-spacing: 0.06em;
  font-size: 12px;
}

.rvh-review-pill em {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  font-weight: 750;
}

.rvh-mainbar {
  background: linear-gradient(180deg, #ffffff 0%, var(--rvh-cream) 100%);
  border-bottom: 1px solid var(--rvh-line);
}

.rvh-mainbar-inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  align-items: center;
  gap: 26px;
}

.rvh-logo {
  width: 178px;
  min-height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
}

.rvh-logo img {
  width: 166px;
  max-height: 68px;
  object-fit: contain;
  display: block;
}

.rvh-search {
  width: min(100%, 560px);
  height: 52px;
  justify-self: center;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--rvh-line);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(33, 25, 26, 0.06);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.rvh-search:focus-within {
  border-color: rgba(159, 17, 27, 0.45);
  box-shadow: 0 14px 34px rgba(159, 17, 27, 0.12);
}

.rvh-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.rvh-search svg {
  width: 20px;
  height: 20px;
  justify-self: center;
  color: var(--rvh-muted);
}

.rvh-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--rvh-ink);
  font-size: 15px;
  font-weight: 700;
}

.rvh-search input::placeholder {
  color: #9a908c;
}

.rvh-search button {
  height: 42px;
  margin-right: 5px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--rvh-black);
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.rvh-search button:hover {
  background: var(--rvh-red);
  transform: translateY(-1px);
}

.rvh-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.rvh-phone-button {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--rvh-red);
  background: rgba(159, 17, 27, 0.08);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.rvh-phone-button:hover {
  background: var(--rvh-red);
  color: #ffffff;
  transform: translateY(-1px);
}

.rvh-phone-button svg {
  width: 21px;
  height: 21px;
}

.rvh-cta {
  min-height: 46px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--rvh-red);
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 950;
  box-shadow: 0 13px 28px rgba(159, 17, 27, 0.22);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.rvh-cta:hover,
.rvh-cta.is-active {
  background: var(--rvh-red-dark);
  color: #ffffff;
  transform: translateY(-1px);
}

.rvh-cta.is-active {
  box-shadow: 0 15px 30px rgba(118, 12, 19, 0.28);
}

.rvh-menu-toggle {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--rvh-black);
  color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.rvh-menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.rvh-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.rvh-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.rvh-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.rvh-nav {
  background: #ffffff;
  border-bottom: 1px solid var(--rvh-line);
}

.rvh-nav-inner {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.rvh-nav a {
  min-height: 54px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  color: var(--rvh-soft-black);
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  position: relative;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.rvh-nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--rvh-red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.rvh-nav a:hover,
.rvh-nav a.is-active {
  color: var(--rvh-red);
  background: rgba(159, 17, 27, 0.045);
}

.rvh-nav a:hover::after,
.rvh-nav a.is-active::after {
  transform: scaleX(1);
}

.rvh-header.is-scrolled {
  box-shadow: 0 12px 38px rgba(33, 25, 26, 0.16);
}

@media (max-width: 1060px) {
  .rvh-mainbar-inner {
    grid-template-columns: auto 1fr auto;
    gap: 18px;
  }

  .rvh-logo {
    width: 154px;
  }

  .rvh-logo img {
    width: 146px;
  }

  .rvh-search {
    width: 100%;
  }

  .rvh-nav-inner {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .rvh-nav-inner::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 820px) {
  body.admin-bar .rvh-header {
    top: 46px;
  }

  .rvh-shell {
    width: min(100% - 28px, 1240px);
  }

  .rvh-topbar-inner {
    justify-content: center;
    gap: 14px;
  }

  .rvh-hide-mobile {
    display: none;
  }

  .rvh-mainbar-inner {
    min-height: 78px;
    grid-template-columns: auto auto;
    gap: 14px;
  }

  .rvh-logo {
    width: 146px;
    min-height: 64px;
  }

  .rvh-logo img {
    width: 138px;
    max-height: 60px;
  }

  .rvh-search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    height: 48px;
    margin-bottom: 14px;
  }

  .rvh-search button {
    height: 38px;
    padding: 0 14px;
  }

  .rvh-actions {
    justify-self: end;
  }

  .rvh-phone-button {
    display: none;
  }

  .rvh-cta {
    min-height: 42px;
    padding: 0 16px;
    font-size: 14px;
  }

  .rvh-menu-toggle {
    display: inline-flex;
  }

  .rvh-nav {
    display: none;
    box-shadow: 0 18px 34px rgba(33, 25, 26, 0.10);
  }

  .rvh-nav.is-open {
    display: block;
  }

  .rvh-nav-inner {
    min-height: auto;
    padding: 10px 0 16px;
    display: grid;
    gap: 0;
    overflow: visible;
  }

  .rvh-nav a {
    min-height: 48px;
    padding: 0 12px;
    border-bottom: 1px solid var(--rvh-line);
    font-size: 15px;
  }

  .rvh-nav a:last-child {
    border-bottom: 0;
  }

  .rvh-nav a::after {
    display: none;
  }
}

@media (max-width: 520px) {
  .rvh-topbar {
    min-height: 34px;
  }

  .rvh-topbar-inner {
    min-height: 34px;
  }

  .rvh-hide-small {
    display: none;
  }

  .rvh-review-pill {
    display: none;
  }

  .rvh-logo {
    width: 130px;
  }

  .rvh-logo img {
    width: 124px;
  }

  .rvh-cta {
    display: none;
  }

  .rvh-search {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
  }

  .rvh-search button {
    width: 38px;
    padding: 0;
    font-size: 0;
    position: relative;
  }

  .rvh-search button::before {
    content: "→";
    font-size: 18px;
    line-height: 1;
  }

  .rvh-search input {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rvh-header-section *,
  .rvh-header-section *::before,
  .rvh-header-section *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
