#market-desktop-header {
  display: none;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 70;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #000000;
  border: 0;
  box-shadow: none;
}

#cookiePolicyRoot {
  position: fixed;
  left: var(--page-margin);
  right: var(--page-margin);
  bottom: 24px;
  z-index: 88;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

#cookiePolicyRoot.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fixed-block__cookies {
  pointer-events: auto;
  width: min(100%, 880px);
}

.cookies {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: #111214;
  color: #f5f5f6;
  padding: 18px 18px 18px 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.cookies__text {
  margin: 0;
  color: #c8c9ce;
  font-size: 14px;
  line-height: 1.42;
  letter-spacing: -0.01em;
}

.cookies__link {
  color: #ffffff;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}

.cookies__btn {
  flex: 0 0 auto;
  min-width: 104px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: #f5f5f6;
  color: #101010;
  padding: 0 22px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.market-desktop-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 82px;
  padding: 0 var(--page-margin);
  background: #000000;
  box-shadow: none;
}

.market-desktop-header__left,
.market-desktop-header__right {
  display: flex;
  align-items: center;
  min-width: 0;
}

.market-desktop-header__right {
  justify-content: flex-end;
}

.market-desktop-header__center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.market-desktop-header__search-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.market-desktop-header__search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  border: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.market-desktop-header__search-shell.is-active .market-desktop-header__search-overlay {
  opacity: 1;
  pointer-events: auto;
}

.market-desktop-header__logo {
  color: #ffffff;
  font-family: Inter, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.market-desktop-header__nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 22px;
}

.market-desktop-header__link {
  color: #8f8f94;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  transition: color 160ms ease;
}

.market-desktop-header__link:hover,
.market-desktop-header__link--active {
  color: #f5f5f7;
}

.market-catalog-card-meta {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px 0 18px;
}

body.market-home-view .market-catalog-card-meta {
  display: none !important;
}

body.market-catalog-view .grid-item {
  overflow: visible;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

body.market-catalog-view .grid-item > a {
  display: block;
  color: #f5f5f7;
}

body.market-catalog-view .market-catalog-card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 0 18px;
}

.market-catalog-card-title {
  color: #f5f5f7;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.market-catalog-card-price {
  display: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.035em;
}

body.market-catalog-view .market-catalog-card-price {
  display: block;
}

.market-catalog-card-category {
  display: none;
}

.market-desktop-header__search {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
  width: 348px;
  max-width: 100%;
  padding: 0 16px;
  height: 44px;
  border-radius: 999px;
  background: #1d1d1d;
  border: 0;
  box-shadow: none;
  color: #8f8f94;
}

.market-desktop-header__search:focus-within {
  border: 0;
  outline: none;
  box-shadow: none;
}

.market-desktop-header__search svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.market-desktop-header__search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #f3f3f4;
  font-size: 15px;
  line-height: 1;
}

.market-desktop-header__search input:focus,
.market-desktop-header__search input:focus-visible,
.market-desktop-header__search input:active {
  border: 0;
  outline: none;
  box-shadow: none;
}

.market-desktop-header__search input::placeholder {
  color: #8f8f94;
}

.market-desktop-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.market-desktop-header__view-control {
  display: inline-flex;
  align-items: center;
  height: 18px;
  margin-right: 4px;
  color: #ffffff;
  user-select: none;
}

.market-desktop-header__view-slider {
  width: 58px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  accent-color: #ffffff;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.market-desktop-header__view-slider:focus,
.market-desktop-header__view-slider:focus-visible {
  outline: none;
  box-shadow: none;
}

.market-desktop-header__view-slider::-webkit-slider-runnable-track {
  height: 1px;
  border-radius: 0;
  background: #ffffff;
}

.market-desktop-header__view-slider::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  margin-top: -5.5px;
  border: 1.5px solid #ffffff;
  border-radius: 999px;
  background: #000000;
  box-shadow: none;
  -webkit-appearance: none;
}

.market-desktop-header__view-slider::-moz-range-track {
  height: 1px;
  border-radius: 0;
  background: #ffffff;
}

.market-desktop-header__view-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 1.5px solid #ffffff;
  border-radius: 999px;
  background: #000000;
  box-shadow: none;
}

.market-desktop-header__icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #d6d6da;
  cursor: pointer;
}

.market-desktop-header__icon-button svg {
  width: 18px;
  height: 18px;
}

.market-desktop-header__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: #8698a8;
  box-shadow: none;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.market-mobile-nav-indicator {
  transition: left 180ms ease, transform 180ms ease;
}

.market-mobile-nav-item .market-mobile-nav-clickable {
  color: #c7c7cc !important;
  transition: color 160ms ease;
}

.market-mobile-nav-item--active.market-mobile-nav-clickable {
  color: #111111 !important;
}

.market-mobile-nav-item--active .market-mobile-nav-clickable,
.market-mobile-nav-item--active .market-mobile-nav-clickable *,
.market-mobile-nav-clickable.market-mobile-nav-item--active,
.market-mobile-nav-clickable.market-mobile-nav-item--active * {
  color: #111111 !important;
}

.market-mobile-bottom-nav {
  z-index: 90 !important;
}

body.market-cart-open .market-mobile-bottom-nav {
  z-index: 120 !important;
}

body.market-account-open .market-mobile-bottom-nav {
  z-index: 120 !important;
}

body.market-favorites-open .market-mobile-bottom-nav {
  z-index: 120 !important;
}

body.market-mobile-product-open .market-mobile-bottom-nav {
  z-index: 120 !important;
  pointer-events: none;
}

body.market-mobile-product-open .market-mobile-bottom-nav .from-background {
  display: none;
}

body.market-mobile-product-open .market-mobile-nav-track {
  pointer-events: auto;
}

body.market-mobile-search-open {
  overflow: hidden;
}

body.market-mobile-product-open {
  overflow: hidden;
}

body.market-desktop-product-open {
  overflow: hidden;
}

body.market-cart-open {
  overflow: hidden;
}

body.market-account-open {
  overflow: hidden;
}

body.market-favorites-open,
body.market-pin-modal-open {
  overflow: hidden;
}

#market-mobile-search {
  display: none;
}

#market-mobile-product {
  display: none;
}

#market-desktop-product {
  display: none;
}

#market-cart {
  display: none;
}

#market-account {
  display: none;
}

#market-favorites,
#market-pin-modal {
  display: none;
}
