:root {
  --color-text: #4A4A4A;
  --color-primary: #000000;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 5px 0;
  background: linear-gradient(90deg, #FFFFFF 0%, #FCFCFD 100%);
  transition: all 0.4s ease;
}

.header--scrolled {
  padding: 0px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.header__logo-img {
  height: 50px;
  width: auto;
  transition: all 0.4s ease;
  object-fit: contain;
}

.header--scrolled .header__logo-img {
  transform: scale(0.85);
}

.header__list {
  gap: 30px;
}

.header__link {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease;
  position: relative;
}

.header__link:after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-text);
  transition: width 0.3s ease;
}

.header__link:hover {
  color: #000;
}

.header__link:hover:after {
  width: 100%;
}

.header__actions {
  gap: 20px;
}

.header__action-btn {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.header__action-btn:hover {
  transform: translateY(-2px);
  color: #000;
}

.header__action-btn:active {
  transform: scale(0.95);
}

.header__cart-count {
  position: absolute;
  top: -5px;
  right: -8px;
  background-color: #E63946;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  padding: 0 4px;
  transition: all 0.3s ease;
}

.header__action-btn:hover .header__cart-count {
  transform: scale(1.1);
}

.header__burger {
  width: 30px;
  height: 20px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.header__burger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.header__burger span:nth-child(1) { top: 0px; }
.header__burger span:nth-child(2) { top: 9px; }
.header__burger span:nth-child(3) { top: 18px; }

.header__burger.is-active span:nth-child(1) {
  top: 9px;
  transform: rotate(135deg);
}

.header__burger.is-active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.header__burger.is-active span:nth-child(3) {
  top: 9px;
  transform: rotate(-135deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 1050;
  transition: right 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu.is-active {
  right: 0;
}

.mobile-menu__list {
  text-align: center;
}

.mobile-menu__item {
  margin: 20px 0;
}

.mobile-menu__link {
  font-size: 24px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  transition: color 0.3s ease;
}

.mobile-menu__link:hover {
  color: #000;
}