/* ===== Мобильная шапка ===== */
.headermob {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  z-index: 998;
  background: #5686da;
  border-bottom: 1px solid #ddd;
  padding: 10px;
  color: #fff;
  display: none;
}



.headermob-inner {
  display: flex;
  align-items: center;
  justify-content: space-between; /* бургер+лого слева, поиск+корзина справа */
  gap: 6px;
}


.headermob-inner div {
 flex: 1; 
}


/* кнопки (бургер, поиск) */
.headermob-inner button {
  background: none;
  border: none;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.headermob-inner button img {
  width: 22px;
  height: 22px;
}

/* логотип */
.headermob-inner .logo img {
  height: 22px;
  width: auto;
}

/* корзина */
.headermob .cart-link {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #fff;
}



.headermob-inner .cart-link img {
  width: 22px;
  height: 22px;
}

/* сумма и валюта */
.headermob-inner .backet_sum {
  font-size: 13px;
}
.headermob-inner .currency {
  font-size: 12px;
  opacity: 0.9;
}

/* подсветка при активном состоянии */
.headermob-inner button.active {
  background: rgba(255,255,255,0.2);
}

/* показываем шапку только до 1200px */
@media (max-width: 1200px) {
  .headermob { display: block; }
  .header-box {display: none;}
}



/* ===== Поиск ===== */
.search-mob {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  display: none;
  z-index: 999;
}
.search-mob.active {
  display: block;
  animation: slideDown 0.3s ease;
}
.search-mob form {
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-field-mob {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}
.search-button-mob {
  background: #5686da;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-button-mob img {
  width: 20px;
  height: 20px;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.filter-icon{
	margin-right: 3px;
}