.cb-header-desktop {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  padding: 12px 20px;
  pointer-events: none;
  transform: translateY(0);
}

.cb-header-desktop.is-fixed {
  position: fixed;
}

.cb-header-desktop.is-hidden {
  transform: translateY(-115%);
}

.cb-header-desktop.is-animating {
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.cb-header-desktop__art {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1700px;
  max-width: none;
  top: 0;
  height: 210px;
  background-image: url("../assets/header-graffiti.png");
  background-size: 112% auto;
  background-position: center 42%;
  background-repeat: no-repeat;
  opacity: 0.07;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 46%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 46%, transparent 100%);
  pointer-events: none;
}

.cb-header-desktop__bar {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  pointer-events: auto;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  backdrop-filter: saturate(160%) blur(8px);
  box-shadow: 0 10px 30px rgba(33, 32, 31, 0.05);
}

.cb-header-desktop.is-scrolled .cb-header-desktop__bar {
  background: rgba(255, 255, 255, 0.46);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
}

.cb-header-desktop__row {
  padding: 12px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
}

.cb-header-desktop__logo {
  flex-shrink: 0;
  display: block;
}

.cb-header-desktop__logo img {
  height: 42px;
  width: auto;
  display: block;
}

.cb-header-desktop__search {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
}

.cb-header-desktop__search svg {
  position: absolute;
  left: 18px;
  pointer-events: none;
}

.cb-header-desktop__search input {
  width: 100%;
  background: #f6f6f6;
  border: none;
  border-radius: 16px;
  padding: 16px 20px 16px 50px;
  font-size: 15px;
  font-weight: 500;
  color: #21201f;
  outline: none;
  appearance: none;
}

.cb-header-desktop__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.cb-header-desktop__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cb-header-desktop__icon:hover,
.cb-header-desktop__account:hover {
  background: #f6f6f6;
  color: #21201f;
}

.cb-header-desktop__icon img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.cb-header-desktop__count {
  position: absolute;
  top: 8px;
  right: 7px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: #fc3f1d;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cb-header-desktop__account {
  color: #21201f;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 0 16px;
  height: 58px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.cb-header-desktop__nav {
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 26px;
  position: relative;
  overflow: hidden;
  height: 46px;
  opacity: 1;
  transition: height 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s;
}

.cb-header-desktop.is-compact:not(.is-nav-open) .cb-header-desktop__nav {
  height: 0;
  opacity: 0;
}

.cb-header-desktop__nav a {
  font-size: 15px;
  font-weight: 500;
  color: #21201f;
  white-space: nowrap;
  padding: 4px 0;
}

.cb-header-desktop__nav a:hover,
.cb-header-desktop__nav a.is-active {
  color: #fc3f1d;
}

.cb-header-desktop__note {
  margin-left: auto;
  font-size: 13px;
  color: #8f8f8f;
  white-space: nowrap;
}

.cb-header-spacer {
  display: none;
  height: 146px;
}

.cb-header-desktop.is-fixed + .cb-header-spacer,
body.is-header-fixed .cb-header-spacer {
  display: block;
}

.cb-header-mobile-wrap {
  position: sticky;
  top: 0;
  z-index: 70;
  padding: 10px 10px 0;
  pointer-events: none;
}

.cb-header-mobile {
  background: rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px 14px;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(33, 32, 31, 0.05);
  transition: background 0.25s, box-shadow 0.25s;
  pointer-events: auto;
}

.cb-header-mobile.is-scrolled {
  background: rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 10px 30px rgba(33, 32, 31, 0.1);
}

.cb-header-mobile__left,
.cb-header-mobile__right {
  display: flex;
}

.cb-header-mobile__left {
  justify-content: flex-start;
}

.cb-header-mobile__right {
  justify-content: flex-end;
  gap: 6px;
}

.cb-header-mobile__logo {
  width: 42px;
  height: 34px;
  object-fit: contain;
}

.cb-header-mobile__btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(246, 246, 246, 0.32);
  border: 0;
  color: inherit;
  position: relative;
}

.cb-header-mobile__btn:hover,
.cb-header-mobile__btn:active {
  background: #ececec;
}

.cb-header-mobile__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #21201f;
  border-radius: 2px;
}

.cb-header-mobile__burger span + span {
  margin-top: 5px;
}

.cb-header-mobile__count {
  position: absolute;
  top: 2px;
  right: 0;
  background: #fc3f1d;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.cb-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(33, 32, 31, 0.45);
  z-index: 60;
}

.cb-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: 400px;
  max-height: calc(100vh - 92px);
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: saturate(160%) blur(28px);
  backdrop-filter: saturate(160%) blur(28px);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(33, 32, 31, 0.1);
  z-index: 65;
  overflow: auto;
  padding: 14px 16px 20px;
}

body.is-menu-open .cb-menu-backdrop,
body.is-menu-open .cb-menu {
  display: block;
}

.cb-menu__login {
  display: block;
  background: #21201f;
  color: #fff;
  border-radius: 14px;
  text-align: center;
  padding: 15px 0;
  font-size: 16px;
  font-weight: 600;
  margin: 8px 0 14px;
}

.cb-menu__login:hover {
  background: #3a3938;
  color: #fff;
}

.cb-menu__group {
  background: #f6f6f6;
  border-radius: 20px;
  padding: 16px 18px 4px;
  margin-bottom: 12px;
}

.cb-menu__label {
  font-size: 14px;
  color: #8f8f8f;
  padding-bottom: 4px;
}

.cb-menu__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #e7e6e5;
}

.cb-menu__item:last-child {
  border-bottom: none;
}

.cb-menu__item.is-soon {
  color: #8f8f8f;
  pointer-events: none;
}

.cb-menu__title {
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cb-menu__sub {
  font-size: 13px;
  color: #8f8f8f;
  margin-top: 3px;
}

.cb-menu__badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 7px;
  border-radius: 20px;
  background: #fc3f1d;
  color: #fff;
}

.cb-menu__badge--soon {
  background: #b3b2b1;
}

.cb-menu__chevron {
  color: #b3b2b1;
  font-size: 18px;
}
