:root {
  --pr-header-bg: rgba(5, 5, 7, 0.94);
  --pr-header-border: rgba(255, 255, 255, 0.1);
  --pr-header-text: #f8f3e8;
  --pr-header-muted: rgba(248, 243, 232, 0.72);
  --pr-header-faint: rgba(248, 243, 232, 0.12);
  --pr-header-gold: #c8a24a;
  --pr-header-field: rgba(255, 255, 255, 0.08);
}

#shared-header-root,
#shared-header-root * {
  box-sizing: border-box;
}

#shared-header-root {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  color: var(--pr-header-text);
  background: var(--pr-header-bg);
  border-bottom: 1px solid var(--pr-header-border);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.pr-header {
  width: 100%;
}

.pr-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1440px);
  min-height: 74px;
  margin: 0 auto;
  padding: 14px clamp(18px, 4vw, 52px);
  gap: 24px;
}

.pr-header__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--pr-header-text);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.pr-header__brand:hover,
.pr-header__brand:focus-visible {
  color: #fff7df;
}

.pr-header__search {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  gap: 12px;
  min-width: 0;
  margin: 0;
}

.pr-header__cta {
  flex: 0 0 auto;
  margin: 0 2px 0 0;
  color: var(--pr-header-muted);
  font-size: 0.76rem;
  line-height: 1.18;
  letter-spacing: 0.02em;
  text-align: right;
  white-space: nowrap;
}

.pr-header__near {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--pr-header-faint);
  border-radius: 999px;
  color: var(--pr-header-text);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  cursor: pointer;
}

.pr-header__near:hover,
.pr-header__near:focus-visible {
  border-color: rgba(200, 162, 74, 0.65);
  background: rgba(200, 162, 74, 0.1);
}

.pr-header__near-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
}

.pr-header__dot {
  width: 9px;
  height: 9px;
  border: 1px solid var(--pr-header-gold);
  border-radius: 999px;
  background: var(--pr-header-gold);
  box-shadow: 0 0 0 3px rgba(200, 162, 74, 0.16);
}

.pr-header__divider {
  flex: 0 0 auto;
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, transparent, var(--pr-header-gold), transparent);
  opacity: 0.9;
}

.pr-header__input {
  flex: 0 1 340px;
  width: min(340px, 34vw);
  min-width: 220px;
  min-height: 38px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px 0 0 999px;
  border-right: 0;
  padding: 0 18px;
  color: var(--pr-header-text);
  background: var(--pr-header-field);
  font: inherit;
  font-size: 0.92rem;
  outline: none;
}

.pr-header__input::placeholder {
  color: rgba(248, 243, 232, 0.46);
}

.pr-header__input:focus {
  border-color: rgba(200, 162, 74, 0.82);
  box-shadow: inset 0 0 0 1px rgba(200, 162, 74, 0.28);
}

.pr-header__find {
  flex: 0 0 auto;
  min-height: 38px;
  margin: 0;
  border: 1px solid var(--pr-header-gold);
  border-radius: 0 999px 999px 0;
  padding: 0 20px;
  color: #0b0b0c;
  background: var(--pr-header-gold);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.pr-header__find:hover,
.pr-header__find:focus-visible {
  background: #e0be67;
  border-color: #e0be67;
}

.pr-header__visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#shared-header-root :is(a, button, input):focus-visible {
  outline: 2px solid var(--pr-header-gold);
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .pr-header__inner {
    gap: 20px;
    padding-inline: clamp(16px, 3vw, 34px);
  }

  .pr-header__search {
    gap: 10px;
  }

  .pr-header__cta {
    font-size: 0.7rem;
  }

  .pr-header__input {
    flex-basis: 280px;
    width: min(280px, 30vw);
    min-width: 190px;
  }
}

@media (max-width: 780px) {
  .pr-header__inner {
    gap: 12px;
    padding-block: 10px;
  }

  .pr-header__cta {
    display: none;
  }

  .pr-header__search {
    gap: 8px;
  }

  .pr-header__near {
    padding-inline: 9px;
  }

  .pr-header__divider {
    height: 36px;
  }

  .pr-header__input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    min-height: 40px;
    padding-inline: 14px;
  }

  .pr-header__find {
    min-height: 40px;
    padding-inline: 16px;
  }
}

@media (max-width: 460px) {
  .pr-header__inner {
    flex-wrap: wrap;
    align-items: flex-start;
    min-height: 0;
    padding-block: 10px 12px;
    padding-inline: 14px;
    gap: 8px;
  }

  .pr-header__brand {
    width: 100%;
  }

  .pr-header__search {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1px minmax(0, 1fr) auto;
    align-items: center;
  }

  .pr-header__near {
    padding-inline: 8px;
  }

  .pr-header__near-label {
    font-size: 0.56rem;
  }

  .pr-header__input {
    font-size: 16px;
  }

  .pr-header__find {
    padding-inline: 13px;
  }
}
