.ac-site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.05);
}

.ac-site-header__inner {
  box-sizing: border-box;
  width: min(100% - 32px, 1200px);
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px minmax(320px, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.ac-site-header__brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #111827;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.ac-site-header__brand:hover,
.ac-site-header__brand:focus {
  color: #f97316;
  text-decoration: none;
}

.ac-site-header__search {
  min-width: 0;
}

.ac-site-header__search .autocore-filters {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  position: relative;
}

.ac-site-header__search .autocore-filters input[name="ac_q"] {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 46px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid #d1d5db;
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background: #ffffff;
  color: #111827;
  font-size: 15px;
  line-height: 46px;
  box-shadow: none;
}

.ac-site-header__search .autocore-filters input[name="ac_q"]:focus {
  outline: none;
  border-color: #f97316;
}

.ac-site-header__search .autocore-filters button[type="submit"] {
  box-sizing: border-box;
  height: 46px;
  margin: 0;
  padding: 0 22px;
  border: 1px solid #f97316;
  border-radius: 0 12px 12px 0;
  background: #f97316;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 44px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
}

.ac-site-header__search .autocore-filters button[type="submit"]:hover,
.ac-site-header__search .autocore-filters button[type="submit"]:focus {
  background: #ea580c;
  border-color: #ea580c;
}

.ac-site-header__search .autocore-filters > a {
  align-self: center;
  margin-left: 10px;
  color: #6b7280;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.ac-site-header__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: max-content;
}

.ac-site-header__action {
  box-sizing: border-box;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.ac-site-header__action:hover,
.ac-site-header__action:focus {
  border-color: #f97316;
  color: #f97316;
  text-decoration: none;
}

.ac-site-header__cart {
  border-color: #f97316;
  background: #f97316;
  color: #ffffff;
}

.ac-site-header__cart:hover,
.ac-site-header__cart:focus {
  border-color: #ea580c;
  background: #ea580c;
  color: #ffffff;
}

.ac-site-header__cart-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ffffff;
  color: #f97316;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 1100px) {
  .ac-site-header__inner {
    width: min(100% - 24px, 1200px);
    grid-template-columns: 160px minmax(260px, 1fr) auto;
    gap: 14px;
  }

  .ac-site-header__brand {
    font-size: 19px;
  }

  .ac-site-header__actions {
    gap: 8px;
  }

  .ac-site-header__action {
    padding: 0 10px;
    font-size: 13px;
  }
}