.site-header {
  width: 100%;
  height: 60px;
  background-color: rgba(249, 246, 240, 0.3);
  backdrop-filter: blur(12px);
  color: var(--text-main);
  transition:
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.3s ease,
    background-color 0.5s ease,
    color 0.5s ease,
    border-color 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 997;
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.site-header.header-show {
  transform: translateY(0);
  box-shadow: var(--shadow-md);
}

.site-header a {
  color: var(--text-main);
  text-decoration: none;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  cursor: default;
}

.logo a {
  display: flex;
  align-items: center;
  height: 100%;
  cursor: default;
}

.logo img {
  height: 50px;
  width: 50px;
  object-fit: contain;
  margin-right: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
}

.burger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.burger-menu span {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
}

.header-left-side,
.header-right-side {
  flex: 1;
}

.header-left-side {
  display: flex;
  justify-content: flex-start;
  font-size: 1.5rem;
}

.header-right-side {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
  position: relative;
}

.header-icon-link {
  color: var(--text-main);
  font-size: 1.3rem;
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.header-icon-link:hover {
  color: var(--text-secondary);
  transform: scale(1.05);
}

.cart-badge {
  position: absolute;
  top: -7px;
  right: -9px;
  background-color: var(--accent-red);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 6px;
  min-width: 10px;
  text-align: center;
  line-height: 1;
}

.cart-badge.hidden {
  display: none !important;
}
