:root {
  --rv-shell-berry: #b92f63;
  --rv-shell-berry-light: #e8a5bf;
  --rv-shell-gold: #dfa95f;
  --rv-shell-ink: #21191d;
  --rv-shell-muted: #746b6d;
  --rv-shell-paper: #fffaf6;
  --rv-shell-line: #eaded6;
}

.rv-shell-header,
.rv-shell-header *,
.rv-shell-mobile,
.rv-shell-mobile *,
.rv-shell-search,
.rv-shell-search * {
  box-sizing: border-box;
}

.rv-shell-header a,
.rv-shell-mobile a {
  color: inherit;
  text-decoration: none;
}

.rv-shell-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 72px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(234, 222, 214, .5);
  background: rgba(255, 250, 246, .92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: var(--rv-shell-ink);
  font-family: "DM Sans", sans-serif;
  transition: box-shadow .3s ease;
}

.rv-shell-header.is-scrolled {
  box-shadow: 0 4px 30px rgba(73, 43, 53, .08);
}

.rv-shell-header__left {
  display: flex;
  align-items: center;
  gap: 32px;
  min-width: 0;
}

.rv-shell-logo {
  flex: 0 0 auto;
  color: var(--rv-shell-ink) !important;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
}

.rv-shell-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.rv-shell-nav a {
  position: relative;
  padding: 5px 0;
  color: var(--rv-shell-muted) !important;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  transition: color .2s ease;
}

.rv-shell-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--rv-shell-berry);
  transition: width .2s ease;
}

.rv-shell-nav a:hover,
.rv-shell-nav a:focus-visible,
.rv-shell-nav a[aria-current="page"] {
  color: var(--rv-shell-berry) !important;
}

.rv-shell-nav a:hover::after,
.rv-shell-nav a:focus-visible::after,
.rv-shell-nav a[aria-current="page"]::after {
  width: 100%;
}

.rv-shell-search-toggle {
  min-height: 38px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--rv-shell-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--rv-shell-muted);
  font: 500 14px/1.2 "DM Sans", sans-serif;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}

.rv-shell-search-toggle:hover,
.rv-shell-search-toggle:focus-visible {
  border-color: var(--rv-shell-berry-light);
  color: var(--rv-shell-berry);
}

.rv-shell-search-toggle svg,
.rv-shell-search__row svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.rv-shell-menu-toggle {
  display: none;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.rv-shell-menu-toggle span {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--rv-shell-ink);
}

.rv-shell-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 1998;
  background: rgba(33, 25, 29, .6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

.rv-shell-mobile-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rv-shell-mobile {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1999;
  width: min(320px, 88vw);
  height: 100dvh;
  padding: 80px 32px 32px;
  overflow-y: auto;
  background: var(--rv-shell-paper);
  color: var(--rv-shell-ink);
  font-family: "DM Sans", sans-serif;
  transform: translateX(105%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), visibility .35s ease;
}

.rv-shell-mobile.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.rv-shell-mobile__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--rv-shell-ink);
  font: 400 28px/1 "DM Sans", sans-serif;
  cursor: pointer;
}

.rv-shell-mobile__close:hover,
.rv-shell-mobile__close:focus-visible {
  background: rgba(0, 0, 0, .06);
}

.rv-shell-mobile > a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--rv-shell-line);
  color: var(--rv-shell-ink) !important;
  font-size: 18px;
  font-weight: 500;
}

.rv-shell-mobile > a:hover,
.rv-shell-mobile > a:focus-visible,
.rv-shell-mobile > a[aria-current="page"] {
  color: var(--rv-shell-berry) !important;
}

.rv-shell-mobile__search {
  margin-top: 24px;
  display: flex;
  gap: 8px;
}

.rv-shell-mobile__search input {
  min-width: 0;
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--rv-shell-line);
  border-radius: 999px;
  background: #fff;
  color: var(--rv-shell-ink);
  font: 400 15px/1.2 "DM Sans", sans-serif;
}

.rv-shell-mobile__search button {
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--rv-shell-berry);
  color: #fff;
  font: 600 14px/1.2 "DM Sans", sans-serif;
  cursor: pointer;
}

.rv-shell-search {
  position: fixed;
  inset: 0;
  z-index: 2200;
  padding-top: 120px;
  display: none;
  align-items: flex-start;
  justify-content: center;
  background: rgba(33, 25, 29, .5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.rv-shell-search.is-open {
  display: flex;
  pointer-events: auto;
}

.rv-shell-search__panel {
  width: min(560px, 90vw);
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  color: var(--rv-shell-ink);
  box-shadow: 0 24px 60px rgba(33, 25, 29, .2);
  font-family: "DM Sans", sans-serif;
}

.rv-shell-search__row {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--rv-shell-line);
  color: var(--rv-shell-muted);
}

.rv-shell-search__row input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--rv-shell-ink);
  font: 400 16px/1.4 "DM Sans", sans-serif;
}

.rv-shell-search__close {
  padding: 4px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--rv-shell-muted);
  font: 400 13px/1.2 "DM Sans", sans-serif;
  cursor: pointer;
}

.rv-shell-search__results {
  max-height: 360px;
  padding: 8px;
  overflow-y: auto;
}

.rv-shell-search__hint {
  padding: 16px 20px;
  border-top: 1px solid #f0e6e1;
  color: var(--rv-shell-muted);
  font-size: 12px;
  text-align: center;
}

.rv-shell-result {
  width: 100%;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--rv-shell-ink);
  text-align: left;
  cursor: pointer;
}

.rv-shell-result:hover,
.rv-shell-result:focus-visible,
.rv-shell-result.is-focused {
  background: #fdf2f0;
}

.rv-shell-result__image {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f6e2e6;
  color: var(--rv-shell-berry);
  font-weight: 700;
}

.rv-shell-result__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rv-shell-result__name {
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .rv-shell-nav {
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .rv-shell-header {
    padding: 0 16px;
  }

  .rv-shell-nav,
  .rv-shell-search-toggle {
    display: none;
  }

  .rv-shell-menu-toggle {
    display: flex;
  }


}

@media (prefers-reduced-motion: reduce) {
  .rv-shell-header,
  .rv-shell-mobile,
  .rv-shell-mobile-overlay,
  .rv-shell-nav a::after {
    transition: none !important;
  }
}
