:root {
  --rgm-color-white: #ffffff;
  --rgm-color-gray-900: #1b1441;
  --rgm-color-gray-700: #4c476b;
  --rgm-color-gray-500: #535062;
  --rgm-color-gray-300: #c7c4d4;
  --rgm-color-gray-100: #f8f8fc;
  --rgm-color-border: #e3e2e9;
  --rgm-color-primary-700: #3700e5;
  --rgm-color-primary-500: #7a51fb;
  --rgm-color-primary-300: #c9baf7;
  --rgm-color-primary-100: #f8f7fd;
  --rgm-color-secondary-700: #d72652;
  --rgm-color-secondary-500: #f25a80;
  --rgm-radius-large: 24px;
  --rgm-radius-default: 12px;
  --rgm-header-content-max: 1200px;
  --rgm-header-shell-max: var(--rgm-header-content-max);
  --rgm-header-side-gap: clamp(16px, 4vw, 40px);
  --rgm-header-identity-gap: 22px;
  --rgm-header-sticky-offset: 12px;
  --rgm-catalog-panel-height: 327px;
  --rgm-catalog-panel-padding-top: 84px;
  --rgm-catalog-panel-padding-top-tablet: 170px;
  --rgm-catalog-panel-padding-top-mobile: 198px;
  --rgm-catalog-panel-padding-top-compact: 126px;
  --rgm-catalog-panel-padding-top-mobile-narrow: 188px;
  --rgm-catalog-panel-padding-inline: 12px;
  --rgm-catalog-panel-padding-bottom: 29px;
  --rgm-catalog-row-gap: 12px;
  --rgm-catalog-inline-gap: 6px;
  --rgm-catalog-column-gap: 36px;
  --rgm-catalog-link-padding: 12px;
  --rgm-quote-button-width: 137px;
  --rgm-quote-button-height: 32px;
  --rgm-font-size-small: 14px;
  --rgm-font-size-base: 18px;
  --rgm-motion-duration-fast: 180ms;
  --rgm-motion-duration-menu: 360ms;
  --rgm-motion-ease-standard: ease;
  --rgm-motion-ease-menu: cubic-bezier(0.22, 1, 0.36, 1);
}

.rgm-site-header {
  background: var(--rgm-color-white);
  box-sizing: border-box;
  color: var(--rgm-color-gray-900);
  font-family:
    "Wix Madefor Text",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  max-width: 100%;
  padding: 24px var(--rgm-header-side-gap) 24px;
  position: relative;
  width: 100%;
  z-index: 20;
}

.rgm-site-header * {
  box-sizing: border-box;
}

.rgm-site-header a {
  color: inherit;
  text-decoration: none;
}

.rgm-site-header button,
.rgm-site-header input {
  font: inherit;
}

.rgm-site-header button {
  cursor: pointer;
}

.rgm-site-header .rgm-catalog-toggle,
.rgm-site-header .rgm-action-button,
.rgm-site-header .rgm-quote-button {
  font-size: var(--rgm-font-size-base);
  font-weight: 400;
}

.rgm-header__identity {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  margin: 0 auto var(--rgm-header-identity-gap);
  max-width: var(--rgm-header-shell-max);
}

.rgm-brand {
  align-items: center;
  display: inline-flex;
  gap: 14px;
  justify-self: start;
  min-width: 0;
}

.rgm-brand__mark {
  flex: 0 0 auto;
  display: block;
  height: 48px;
  width: 48px;
}

.rgm-brand__text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.rgm-brand__image,
.rgm-header-icon,
.rgm-placeholder-icon {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.rgm-brand__name,
.rgm-city__value,
.rgm-phone__number {
  color: var(--rgm-color-gray-900);
  font-family: "Wix Madefor Display", "Wix Madefor Text", sans-serif;
  font-size: var(--rgm-font-size-base);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
}

.rgm-brand__tagline,
.rgm-city__label,
.rgm-phone__caption {
  color: var(--rgm-color-gray-900);
  font-size: var(--rgm-font-size-small);
  font-weight: 400;
  line-height: 1.25;
}

.rgm-brand__name,
.rgm-brand__tagline {
  white-space: nowrap;
}

.rgm-city {
  background: transparent;
  border: 0;
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 0;
  position: relative;
  text-align: center;
}

.rgm-city__value-row {
  align-items: center;
  display: inline-grid;
  gap: 3px;
  grid-template-columns: 18px auto 18px;
  justify-items: center;
}

.rgm-city__value-row::before {
  content: "";
  display: block;
  height: 18px;
  width: 18px;
}

.rgm-city__value {
  grid-column: 2;
}

.rgm-city__chevron {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  grid-column: 3;
  height: 18px;
  justify-content: center;
  width: 18px;
}

.rgm-city__chevron-icon {
  display: block;
  height: 18px;
  transition: transform var(--rgm-motion-duration-fast)
    var(--rgm-motion-ease-standard);
  width: 18px;
}

.rgm-site-header.is-city-open .rgm-city__chevron-icon {
  transform: rotate(180deg);
}

.rgm-city-popover {
  background: var(--rgm-color-white);
  border: 1px solid var(--rgm-color-border);
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(27, 20, 65, 0.15);
  display: grid;
  gap: 14px;
  left: 50%;
  max-height: min(640px, calc(100vh - 112px));
  max-height: min(640px, calc(100svh - 112px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px;
  position: absolute;
  top: 76px;
  transform: translateX(-50%);
  width: min(408px, calc(100vw - 32px));
  z-index: 1200;
}

.rgm-city-popover[hidden],
.rgm-city-popover__section[hidden],
.rgm-city-popover__status[hidden],
.rgm-city-popover__search-button[hidden],
.rgm-city-popover__search-icon[hidden],
.rgm-city-chip__check-icon[hidden],
.rgm-city-result__check[hidden],
.rgm-city-result__pin[hidden] {
  display: none;
}

.rgm-city-popover__head {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.rgm-city-popover__title {
  color: var(--rgm-color-gray-900);
  font-family: "Wix Madefor Display", "Wix Madefor Text", sans-serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
}

.rgm-city-popover__close {
  align-items: center;
  background: var(--rgm-color-gray-100);
  border: 0;
  border-radius: 50%;
  color: var(--rgm-color-gray-500);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  padding: 0;
  width: 36px;
}

.rgm-city-popover__close-icon {
  display: block;
  height: 24px;
  width: 24px;
}

.rgm-city-popover__search {
  align-items: center;
  background: var(--rgm-color-white);
  border: 1px solid var(--rgm-color-border);
  border-width: 2px;
  border-radius: var(--rgm-radius-default);
  box-shadow: 0 1px 2px rgba(27, 20, 65, 0.04);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  min-height: 48px;
  overflow: hidden;
  padding: 0;
}

.rgm-city-popover__search:focus-within {
  border-color: var(--rgm-color-primary-300);
  box-shadow: none;
}

.rgm-city-popover__search-icon {
  align-items: center;
  display: inline-flex;
  height: 100%;
  justify-content: center;
  width: 48px;
}

.rgm-city-popover__search-label {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.rgm-city-popover__search-field {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--rgm-color-gray-900);
  font-size: 16px;
  font-weight: 400;
  height: 100%;
  min-width: 0;
  outline: 0;
  padding: 0 18px;
  width: 100%;
}

.rgm-city-popover__search-field::-webkit-search-cancel-button {
  appearance: none;
}

.rgm-city-popover__search-field:focus-visible,
.rgm-city-popover__search-button:focus-visible {
  outline: 0;
}

.rgm-city-popover__search-field::placeholder {
  color: var(--rgm-color-gray-300);
  opacity: 1;
}

.rgm-city-popover__search-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--rgm-color-gray-500);
  display: inline-flex;
  height: 100%;
  justify-content: center;
  padding: 0;
  width: 48px;
}

.rgm-city-popover__search-button-icon {
  display: block;
  height: 24px;
  width: 24px;
}

.rgm-city-popover__section {
  display: grid;
  gap: 10px;
}

.rgm-city-popover__section-title,
.rgm-city-popover__status {
  color: var(--rgm-color-gray-500);
  font-size: var(--rgm-font-size-small);
  font-weight: 500;
  line-height: 1.25;
  margin: 0;
}

.rgm-city-popover__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rgm-city-chip {
  align-items: center;
  background: var(--rgm-color-white);
  border: 1px solid var(--rgm-color-border);
  border-radius: var(--rgm-radius-default);
  color: var(--rgm-color-gray-700);
  display: inline-flex;
  font-size: var(--rgm-font-size-small);
  font-weight: 400;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
}

.rgm-city-chip__check-icon {
  display: block;
  flex: 0 0 auto;
  height: 24px;
  margin-left: -2px;
  width: 24px;
}

.rgm-city-chip.is-selected {
  background: var(--rgm-color-white);
  border-color: var(--rgm-color-border);
  color: var(--rgm-color-gray-700);
  font-weight: 500;
}

.rgm-city-results {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rgm-city-result {
  align-items: center;
  background: var(--rgm-color-white);
  border: 1px solid var(--rgm-color-border);
  border-radius: var(--rgm-radius-default);
  color: var(--rgm-color-gray-900);
  display: grid;
  gap: 14px;
  grid-template-columns: 40px minmax(0, 1fr);
  min-height: 62px;
  padding: 10px 14px;
  text-align: left;
  width: 100%;
}

.rgm-city-result.is-selected {
  background: var(--rgm-color-primary-100);
  border-color: var(--rgm-color-primary-300);
}

.rgm-city-result__marker {
  align-items: center;
  background: var(--rgm-color-gray-100);
  border-radius: 50%;
  color: var(--rgm-color-gray-500);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.rgm-city-result.is-selected .rgm-city-result__marker {
  background: var(--rgm-color-gray-100);
}

.rgm-city-result__content {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.rgm-city-result__name {
  color: var(--rgm-color-gray-900);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.rgm-city-result__icon {
  display: block;
  height: 24px;
  width: 24px;
}

.rgm-city-popover__save {
  align-items: center;
  background: var(--rgm-color-gray-900);
  border: 0;
  border-radius: 8px;
  color: var(--rgm-color-white);
  display: inline-flex;
  font-size: 16px;
  font-weight: 500;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  width: 100%;
}

.rgm-city-popover__save:disabled {
  cursor: default;
  opacity: 0.54;
}

.rgm-phone {
  display: grid;
  gap: 4px;
  justify-items: end;
  justify-self: end;
  text-align: right;
}

.rgm-header__sticky {
  margin: 0 auto;
  max-width: var(--rgm-header-shell-max);
  position: relative;
  z-index: 30;
}

.rgm-header__sticky.is-stuck {
  left: 0;
  margin: 0;
  max-width: none;
  padding: var(--rgm-header-sticky-offset) var(--rgm-header-side-gap) 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1000;
}

.rgm-header__sticky.is-stuck::before {
  background: var(--rgm-color-white);
  content: "";
  height: var(--rgm-header-sticky-offset);
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
}

.rgm-header__sticky-shell {
  background: var(--rgm-color-gray-100);
  border-radius: var(--rgm-radius-large);
  margin: 0 auto;
  max-width: var(--rgm-header-shell-max);
  position: relative;
}

.rgm-header__sticky.is-stuck .rgm-header__sticky-shell {
  isolation: isolate;
  pointer-events: auto;
  z-index: 0;
}

.rgm-header__sticky.is-stuck .rgm-header__sticky-shell::before,
.rgm-header__sticky.is-stuck .rgm-header__sticky-shell::after {
  background: var(--rgm-color-white);
  bottom: 0;
  content: "";
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100vw;
  z-index: -1;
}

.rgm-header__sticky.is-stuck .rgm-header__sticky-shell::before {
  right: 100%;
}

.rgm-header__sticky.is-stuck .rgm-header__sticky-shell::after {
  left: 100%;
}

.rgm-site-header.is-catalog-open .rgm-header__sticky.is-stuck {
  min-height: 100vh;
  min-height: 100svh;
  pointer-events: auto;
}

.rgm-header__sticky-spacer {
  display: none;
}

.rgm-header__sticky-spacer.is-active {
  display: block;
  height: var(--rgm-sticky-height, 96px);
}

.rgm-header__bar {
  align-items: center;
  display: grid;
  gap: clamp(14px, 2.2vw, 28px);
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 540px) minmax(
      220px,
      1fr
    );
  min-height: 72px;
  padding: 12px;
  position: relative;
  z-index: 3;
}

.rgm-site-header.is-catalog-open .rgm-header__bar {
  background: var(--rgm-color-gray-100);
  border-radius: inherit;
}

.rgm-catalog-toggle,
.rgm-action-button,
.rgm-header-search {
  background: var(--rgm-color-white);
  border: 1px solid var(--rgm-color-border);
  box-shadow: 0 1px 2px rgba(27, 20, 65, 0.04);
}

.rgm-catalog-toggle {
  align-items: center;
  border-radius: var(--rgm-radius-default);
  color: var(--rgm-color-gray-500);
  display: inline-flex;
  font-size: var(--rgm-font-size-base);
  font-weight: 400;
  gap: 10px;
  justify-self: start;
  min-height: 48px;
  padding: 0 12px;
  transition:
    border-color var(--rgm-motion-duration-fast) var(--rgm-motion-ease-standard),
    color var(--rgm-motion-duration-fast) var(--rgm-motion-ease-standard),
    transform var(--rgm-motion-duration-fast) var(--rgm-motion-ease-standard);
  white-space: nowrap;
}

.rgm-catalog-toggle:hover,
.rgm-catalog-toggle[aria-expanded="true"] {
  border-color: var(--rgm-color-gray-300);
  color: var(--rgm-color-gray-900);
}

.rgm-catalog-toggle__icon {
  display: block;
  flex: 0 0 auto;
  height: 24px;
  position: relative;
  width: 24px;
}

.rgm-catalog-toggle__icon-image {
  display: block;
  height: 24px;
  left: 0;
  position: absolute;
  top: 0;
  width: 24px;
}

.rgm-catalog-toggle__icon--open {
  opacity: 0;
  visibility: hidden;
}

.rgm-catalog-toggle[aria-expanded="true"] .rgm-catalog-toggle__icon--closed {
  opacity: 0;
  visibility: hidden;
}

.rgm-catalog-toggle[aria-expanded="true"] .rgm-catalog-toggle__icon--open {
  opacity: 1;
  visibility: visible;
}

.rgm-catalog-toggle__label-short {
  display: none;
}

.rgm-header-search {
  --rgm-search-row-height: 48px;
  align-items: center;
  border-radius: var(--rgm-radius-default);
  border-width: 2px;
  display: grid;
  grid-template-columns: 1fr 48px;
  justify-self: center;
  min-height: var(--rgm-search-row-height);
  overflow: visible;
  position: relative;
  width: min(100%, 540px);
}

.rgm-header-search:focus-within {
  border-color: var(--rgm-color-primary-300);
  box-shadow: none;
}

.rgm-header-search.is-search-open {
  background: transparent;
  border-color: transparent;
  border-radius: var(--rgm-radius-default);
  box-shadow: none;
  width: min(100%, 960px);
}

.rgm-header-search.is-search-open:focus-within {
  box-shadow: none;
}

.rgm-header-search.is-search-open .rgm-header-search__submit {
  border-radius: 0 var(--rgm-radius-default) var(--rgm-radius-default) 0;
}

.rgm-header-search__label {
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.rgm-header-search__field {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--rgm-color-gray-900);
  height: 100%;
  min-width: 0;
  outline: 0;
  padding: 0 18px;
  width: 100%;
}

.rgm-header-search__field:focus-visible {
  outline: 0;
}

.rgm-header-search__field::-webkit-search-cancel-button {
  appearance: none;
}

.rgm-header-search__submit {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0 var(--rgm-radius-default) var(--rgm-radius-default) 0;
  color: var(--rgm-color-gray-500);
  display: inline-flex;
  height: 100%;
  justify-content: center;
  padding: 0;
  transition: color var(--rgm-motion-duration-fast)
    var(--rgm-motion-ease-standard);
}

.rgm-header-search__submit:hover {
  color: var(--rgm-color-gray-900);
}

.rgm-header-search__submit-icon[hidden] {
  display: none;
}

.rgm-header-search.is-search-open .rgm-header-search__field,
.rgm-header-search.is-search-open .rgm-header-search__submit {
  position: relative;
  z-index: 2;
}

.rgm-search-results {
  background: var(--rgm-color-white);
  border: 1px solid var(--rgm-color-border);
  border-radius: 18px;
  box-shadow: 0 24px 46px rgba(27, 20, 65, 0.1);
  color: var(--rgm-color-gray-900);
  left: -2px;
  padding: calc(var(--rgm-search-row-height) + 6px) 12px 12px;
  position: absolute;
  right: -2px;
  top: -2px;
  z-index: 1;
}

.rgm-header-search.is-search-open .rgm-search-results {
  border-color: var(--rgm-color-primary-300);
  border-width: 2px;
}

.rgm-search-results[hidden] {
  display: none;
}

.rgm-search-results__list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rgm-search-results__item {
  margin: 0;
}

.rgm-search-results__link {
  align-items: center;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 66px minmax(0, 1fr);
  min-height: 66px;
  padding: 0;
  transition:
    background-color var(--rgm-motion-duration-fast)
      var(--rgm-motion-ease-standard),
    color var(--rgm-motion-duration-fast) var(--rgm-motion-ease-standard);
}

.rgm-search-results__link:hover {
  background: var(--rgm-color-gray-100);
}

.rgm-search-results__thumb {
  align-items: center;
  background: var(--rgm-color-white);
  border: 1px solid var(--rgm-color-border);
  border-radius: 8px;
  display: inline-flex;
  height: 66px;
  justify-content: center;
  overflow: hidden;
  width: 66px;
}

.rgm-search-results__thumb img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.rgm-search-results__content {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.rgm-search-results__meta-row {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-width: 0;
}

.rgm-search-results__price {
  color: var(--rgm-color-gray-500);
  flex: 1 1 auto;
  font-family: "Wix Madefor Display", "Wix Madefor Text", sans-serif;
  font-size: var(--rgm-font-size-base);
  font-weight: 400;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rgm-search-results__title {
  color: var(--rgm-color-gray-500);
  font-size: var(--rgm-font-size-small);
  font-weight: 400;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rgm-search-results__subtitle {
  color: var(--rgm-color-gray-500);
  font-size: var(--rgm-font-size-small);
  font-weight: 400;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rgm-search-results__brand {
  align-items: center;
  --rgm-brand-color: var(--rgm-color-gray-500);
  background: color-mix(in srgb, var(--rgm-brand-color) 14%, #ffffff);
  border-radius: 7px;
  color: var(--rgm-brand-color);
  display: inline-flex;
  flex: 0 1 auto;
  font-size: var(--rgm-font-size-small);
  font-weight: 400;
  justify-content: center;
  line-height: 1.15;
  max-width: 128px;
  overflow: hidden;
  padding: 6px 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rgm-search-results__status,
.rgm-search-results__empty {
  color: var(--rgm-color-gray-500);
  font-size: var(--rgm-font-size-small);
  font-weight: 400;
  line-height: 1.3;
}

.rgm-search-results__price[hidden],
.rgm-search-results__brand[hidden],
.rgm-search-results__subtitle[hidden],
.rgm-search-results__status[hidden],
.rgm-search-results__count[hidden],
.rgm-search-results__empty[hidden],
.rgm-search-results__footer[hidden],
.rgm-search-results__all[hidden] {
  display: none;
}

.rgm-search-results__status,
.rgm-search-results__empty {
  margin: 0;
  padding: 0;
}

.rgm-search-results__footer {
  align-items: center;
  color: var(--rgm-color-gray-500);
  display: flex;
  font-size: var(--rgm-font-size-small);
  font-weight: 400;
  gap: 16px;
  justify-content: space-between;
  line-height: 1.25;
  margin-top: 12px;
}

.rgm-search-results__count {
  min-width: 0;
}

.rgm-search-results__all {
  align-items: center;
  color: var(--rgm-color-gray-500);
  display: flex;
  gap: 10px;
  font-size: var(--rgm-font-size-small);
  font-weight: 400;
  justify-content: flex-end;
  line-height: 1.25;
  padding: 0;
  white-space: nowrap;
}

.rgm-search-results__all-icon {
  color: var(--rgm-color-gray-500);
  font-size: 30px;
  line-height: 0.8;
}

.rgm-header-actions {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  justify-self: end;
  position: relative;
}

.rgm-action-button {
  align-items: center;
  border-radius: var(--rgm-radius-default);
  color: var(--rgm-color-gray-500);
  display: inline-flex;
  font-size: var(--rgm-font-size-base);
  font-weight: 400;
  gap: 8px;
  justify-content: center;
  min-height: 48px;
  min-width: 52px;
  padding: 0 14px;
  transition:
    border-color var(--rgm-motion-duration-fast) var(--rgm-motion-ease-standard),
    color var(--rgm-motion-duration-fast) var(--rgm-motion-ease-standard),
    transform var(--rgm-motion-duration-fast) var(--rgm-motion-ease-standard);
}

.rgm-action-button:hover {
  border-color: var(--rgm-color-gray-300);
  color: var(--rgm-color-gray-900);
}

.rgm-action-button--chat {
  padding-inline: 14px 10px;
}

.rgm-header-search__submit .rgm-header-icon,
.rgm-action-button .rgm-header-icon {
  height: 24px;
  width: 24px;
}

.rgm-header-actions__sparkles {
  height: 35px;
  object-fit: contain;
  pointer-events: none;
  position: absolute;
  right: -21px;
  top: -24px;
  width: 31px;
}

.rgm-catalog-panel {
  background: var(--rgm-color-gray-100);
  border-radius: var(--rgm-radius-large);
  box-shadow: 0 20px 60px rgba(27, 20, 65, 0.08);
  clip-path: inset(0 0 100% 0 round var(--rgm-radius-large));
  height: var(--rgm-catalog-panel-height);
  left: 0;
  opacity: 0;
  overflow: hidden;
  padding: var(--rgm-catalog-panel-padding-top)
    var(--rgm-catalog-panel-padding-inline)
    var(--rgm-catalog-panel-padding-bottom);
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  transform: translateY(0);
  transform-origin: top center;
  transition:
    clip-path var(--rgm-motion-duration-menu) var(--rgm-motion-ease-menu),
    opacity 240ms var(--rgm-motion-ease-standard),
    visibility 0s linear var(--rgm-motion-duration-menu);
  visibility: hidden;
  will-change: clip-path, opacity;
  z-index: 2;
}

.rgm-site-header.is-catalog-open .rgm-catalog-panel {
  clip-path: inset(0 0 0 0 round var(--rgm-radius-large));
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    clip-path var(--rgm-motion-duration-menu) var(--rgm-motion-ease-menu),
    opacity 240ms var(--rgm-motion-ease-standard),
    visibility 0s linear 0s;
  visibility: visible;
}

.rgm-catalog-panel__top {
  align-items: center;
  display: flex;
  gap: var(--rgm-catalog-row-gap);
  justify-content: space-between;
  margin-bottom: var(--rgm-catalog-row-gap);
  padding-right: var(--rgm-catalog-link-padding);
}

.rgm-catalog-quicklinks {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--rgm-catalog-inline-gap);
}

.rgm-catalog-quicklinks a {
  align-items: center;
  color: var(--rgm-color-gray-900);
  display: inline-flex;
  font-size: var(--rgm-font-size-base);
  font-weight: 400;
  gap: var(--rgm-catalog-inline-gap);
  line-height: normal;
  padding-inline: var(--rgm-catalog-link-padding);
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
}

.rgm-flag-ru {
  display: block;
  height: 26px;
  width: 26px;
}

.rgm-quote-button {
  background: var(--rgm-color-gray-900);
  border: 0;
  border-radius: 6px;
  color: var(--rgm-color-white);
  font-size: var(--rgm-font-size-base);
  font-weight: 400;
  height: var(--rgm-quote-button-height);
  line-height: normal;
  min-height: 0;
  padding: 9px var(--rgm-catalog-link-padding) 10px;
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
  white-space: nowrap;
  width: var(--rgm-quote-button-width);
}

.rgm-catalog-panel__categories {
  position: relative;
  z-index: 2;
}

.rgm-catalog-panel__categories > .wp-block-woocommerce-customer-account,
.rgm-catalog-panel__categories > .wp-block-woocommerce-mini-cart {
  display: none;
}

.rgm-catalog-menu {
  width: 100%;
}

.rgm-catalog-menu .wp-block-navigation__container {
  align-items: start;
  display: grid !important;
  grid-auto-flow: column;
  grid-template-columns: 275px 296px minmax(0, 1fr) 207px;
  grid-template-rows: repeat(5, auto);
  column-gap: var(--rgm-catalog-column-gap);
  row-gap: 0;
  width: 100%;
}

.rgm-catalog-menu .wp-block-navigation-item {
  margin: 0;
}

.rgm-catalog-menu .wp-block-navigation-item__content {
  color: var(--rgm-color-gray-500);
  font-size: var(--rgm-font-size-small);
  font-weight: 400;
  line-height: normal;
  padding: var(--rgm-catalog-link-padding);
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
  white-space: nowrap;
}

.rgm-catalog-menu .wp-block-navigation-item__content:hover {
  color: var(--rgm-color-gray-900);
}

.rgm-site-header
  :focus-visible:not(.rgm-header-search__field):not(
    .rgm-header-search__submit
  ):not(.rgm-city-popover__search-field):not(.rgm-city-popover__search-button) {
  border-radius: 8px;
  outline: 3px solid rgba(122, 81, 251, 0.36);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .rgm-catalog-panel,
  .rgm-catalog-toggle,
  .rgm-action-button,
  .rgm-city__chevron-icon,
  .rgm-header-search__submit {
    transition: none;
  }
}

@media (max-width: 1240px) {
  .rgm-site-header {
    padding-top: 26px;
  }

  .rgm-header__identity {
    gap: 24px;
    grid-template-columns: minmax(270px, 1fr) auto minmax(270px, 1fr);
    margin-bottom: 14px;
  }

  .rgm-brand {
    gap: 16px;
    grid-column: auto;
  }

  .rgm-brand__mark {
    height: 62px;
    width: 62px;
  }

  .rgm-brand__name,
  .rgm-city__value,
  .rgm-phone__number {
    font-size: 24px;
  }

  .rgm-brand__tagline,
  .rgm-city__label,
  .rgm-phone__caption {
    font-size: 18px;
  }

  .rgm-city {
    justify-items: center;
    text-align: center;
  }

  .rgm-phone {
    justify-items: end;
  }

  .rgm-header__sticky {
    margin-inline: calc(-1 * var(--rgm-header-side-gap));
    max-width: none;
  }

  .rgm-header__sticky-shell {
    max-width: none;
  }

  .rgm-header__bar {
    gap: 20px;
    grid-template-columns: minmax(240px, max-content) minmax(0, 1fr) auto;
    min-height: var(--rgm-catalog-panel-padding-top-tablet);
    padding: 14px 18px;
  }

  .rgm-catalog-toggle {
    grid-column: 1;
    grid-row: 2;
    min-height: 60px;
  }

  .rgm-header-search {
    --rgm-search-row-height: 60px;
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: var(--rgm-search-row-height);
    width: 100%;
  }

  .rgm-header-actions {
    grid-column: 3;
    grid-row: 2;
    gap: 12px;
  }

  .rgm-action-button {
    border-radius: 18px;
    min-height: 60px;
    min-width: 60px;
  }

  .rgm-action-button--chat {
    padding-inline: 12px;
  }

  .rgm-catalog-toggle__icon,
  .rgm-catalog-toggle__icon-image,
  .rgm-header-search__submit .rgm-header-icon,
  .rgm-action-button .rgm-header-icon {
    height: 32px;
    width: 32px;
  }

  .rgm-header-actions__sparkles {
    display: block;
    right: -21px;
    top: -24px;
  }

  .rgm-catalog-panel {
    height: auto;
    overflow: visible;
    padding-top: var(--rgm-catalog-panel-padding-top-tablet);
  }

  .rgm-catalog-panel__top {
    align-items: center;
    flex-direction: row;
  }

  .rgm-catalog-menu .wp-block-navigation__container {
    grid-auto-flow: column;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(9, auto);
  }

  .rgm-catalog-menu .wp-block-navigation-item__content {
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .rgm-site-header {
    padding-bottom: 24px;
    padding-top: 30px;
  }

  .rgm-site-header.is-city-open::before {
    background: rgba(27, 20, 65, 0.42);
    content: "";
    inset: 0;
    position: fixed;
    z-index: 1100;
  }

  .rgm-header__identity {
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 15px;
  }

  .rgm-brand {
    gap: 18px;
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .rgm-brand__mark {
    height: 72px;
    transform: none;
    width: 72px;
  }

  .rgm-brand__name,
  .rgm-city__value,
  .rgm-phone__number {
    font-size: 28px;
  }

  .rgm-brand__tagline,
  .rgm-city__value,
  .rgm-city__label,
  .rgm-phone__caption {
    font-size: 22px;
  }

  .rgm-city {
    align-self: end;
    display: grid;
    grid-column: 2;
    grid-row: 1;
    justify-items: end;
    justify-self: end;
    text-align: right;
  }

  .rgm-city__label,
  .rgm-phone__caption {
    display: none;
  }

  .rgm-city__value {
    font-family: "Wix Madefor Text", sans-serif;
    font-weight: 400;
  }

  .rgm-city-popover {
    border-radius: 22px 22px 0 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    left: 0;
    max-height: min(620px, calc(100vh - 96px));
    max-height: min(620px, calc(100svh - 96px));
    overflow: hidden;
    padding: 18px;
    position: fixed;
    right: 0;
    top: auto;
    transform: none;
    width: 100%;
  }

  .rgm-city-popover__title {
    font-size: 28px;
  }

  .rgm-city-popover__search {
    min-height: 58px;
  }

  .rgm-city-popover__section {
    flex: 0 0 auto;
  }

  .rgm-city-popover__section:not([hidden]):has(.rgm-city-results) {
    display: grid;
    flex: 1 1 auto;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
    overflow: hidden;
  }

  .rgm-city-results {
    max-height: min(320px, 42svh);
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .rgm-city-result {
    min-height: 62px;
  }

  .rgm-phone {
    align-self: start;
    grid-column: 2;
    grid-row: 1;
    justify-items: end;
    text-align: right;
  }

  .rgm-header__bar {
    gap: 20px 16px;
    grid-template-columns: minmax(180px, max-content) minmax(0, 1fr) auto;
    min-height: var(--rgm-catalog-panel-padding-top-mobile);
    padding: 18px;
  }

  .rgm-catalog-toggle {
    grid-column: 1;
    grid-row: 2;
    justify-content: center;
    justify-self: stretch;
    min-height: 72px;
  }

  .rgm-header-search {
    --rgm-search-row-height: 72px;
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: var(--rgm-search-row-height);
    width: 100%;
  }

  .rgm-header-search.is-search-open {
    width: 100%;
  }

  .rgm-search-results {
    padding: calc(var(--rgm-search-row-height) + 24px) 18px 22px;
  }

  .rgm-search-results__link {
    grid-template-columns: 66px minmax(0, 1fr);
    min-height: 66px;
  }

  .rgm-search-results__thumb {
    height: 66px;
    width: 66px;
  }

  .rgm-search-results__brand {
    align-self: center;
    justify-self: start;
    max-width: 100%;
  }

  .rgm-search-results__footer,
  .rgm-search-results__all {
    font-size: var(--rgm-font-size-small);
  }

  .rgm-header-actions {
    display: inline-flex;
    gap: 12px;
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
  }

  .rgm-action-button {
    border-radius: 18px;
    min-height: 72px;
    min-width: 0;
    padding: 0;
    width: 72px;
  }

  .rgm-action-button--chat {
    padding-inline: 12px;
    width: auto;
  }

  .rgm-action-button--chat span {
    display: inline;
  }

  .rgm-catalog-toggle__label-full {
    display: none;
  }

  .rgm-catalog-toggle__label-short {
    display: inline;
  }

  .rgm-header-actions__sparkles {
    display: none;
  }

  .rgm-catalog-panel {
    -webkit-overflow-scrolling: touch;
    max-height: calc(100vh - 24px);
    max-height: calc(100svh - 24px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: var(--rgm-catalog-panel-padding-top-mobile) 18px 24px;
    touch-action: pan-y;
  }

  .rgm-catalog-panel__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .rgm-catalog-quicklinks {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .rgm-catalog-quicklinks a,
  .rgm-catalog-menu .wp-block-navigation-item__content {
    padding-inline: 0;
  }

  .rgm-catalog-menu .wp-block-navigation__container {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    row-gap: 0;
  }
}

@media (max-width: 520px) {
  .rgm-site-header {
    padding-bottom: 12px;
    padding-inline: 12px;
    padding-top: 16px;
  }

  .rgm-header__identity {
    gap: 10px 12px;
    margin-bottom: 12px;
  }

  .rgm-brand {
    gap: 12px;
  }

  .rgm-brand__mark {
    height: 40px;
    width: 40px;
  }

  .rgm-brand__name,
  .rgm-phone__number {
    font-size: 16px;
  }

  .rgm-brand__tagline,
  .rgm-city__value,
  .rgm-city__label,
  .rgm-phone__caption {
    font-size: 12px;
  }

  .rgm-header__bar {
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: var(--rgm-catalog-panel-padding-top-compact);
    padding: 10px;
  }

  .rgm-header__sticky {
    margin-inline: -12px;
  }

  .rgm-catalog-toggle {
    grid-column: 1;
    grid-row: 2;
    min-height: 48px;
  }

  .rgm-header-search {
    --rgm-search-row-height: 48px;
    grid-row: 1;
    min-height: var(--rgm-search-row-height);
  }

  .rgm-search-results {
    padding: calc(var(--rgm-search-row-height) + 18px) 14px 18px;
  }

  .rgm-search-results__list {
    gap: 12px;
  }

  .rgm-search-results__link {
    gap: 10px;
    grid-template-columns: 66px minmax(0, 1fr);
    min-height: 66px;
  }

  .rgm-search-results__thumb {
    height: 66px;
    width: 66px;
  }

  .rgm-search-results__content {
    gap: 5px;
  }

  .rgm-search-results__footer,
  .rgm-search-results__all {
    font-size: var(--rgm-font-size-small);
  }

  .rgm-search-results__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
  }

  .rgm-header-actions {
    gap: 6px;
    grid-column: 2;
    grid-row: 2;
  }

  .rgm-action-button {
    border-radius: var(--rgm-radius-default);
    min-height: 48px;
    width: 48px;
  }

  .rgm-action-button--chat span {
    display: none;
  }

  .rgm-catalog-toggle__icon,
  .rgm-catalog-toggle__icon-image,
  .rgm-header-search__submit .rgm-header-icon,
  .rgm-action-button .rgm-header-icon {
    height: 24px;
    width: 24px;
  }

  .rgm-catalog-panel {
    padding: var(--rgm-catalog-panel-padding-top-compact) 10px 24px;
  }

  .rgm-city-popover {
    padding: 16px 12px 14px;
  }

  .rgm-city-popover__title {
    font-size: 24px;
  }

  .rgm-city-popover__chips {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .rgm-city-chip {
    flex: 0 1 auto;
  }
}

@media (max-width: 374px) {
  .rgm-brand {
    gap: 8px;
  }

  .rgm-brand__mark {
    height: 36px;
    width: 36px;
  }

  .rgm-brand__name,
  .rgm-phone__number {
    font-size: 15px;
  }

  .rgm-brand__tagline,
  .rgm-city__value,
  .rgm-city__label,
  .rgm-phone__caption {
    font-size: 11px;
  }

  .rgm-header__bar {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: var(--rgm-catalog-panel-padding-top-mobile-narrow);
  }

  .rgm-header-search {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: stretch;
    width: 100%;
  }

  .rgm-catalog-toggle {
    gap: 6px;
  }

  .rgm-header-actions {
    display: grid;
    grid-column: 2;
    grid-row: 2;
    grid-template-columns: repeat(3, 44px);
  }

  .rgm-action-button {
    min-height: 44px;
    width: 44px;
  }

  .rgm-catalog-panel {
    padding-top: var(--rgm-catalog-panel-padding-top-mobile-narrow);
  }
}

@media (max-width: 360px) {
  .rgm-header-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: end;
  }

  .rgm-catalog-toggle {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: stretch;
  }
}
