/* Loial — header */

.header-header-1 {
  display: block;
}

.header-box-1 {
  background: #0b3b8f;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
}

.header-box-2 {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 38px;
  overflow: hidden;
}

.header-text-1 {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.header-link-1 {
  color: #ffffff;
  white-space: nowrap;
  font-weight: 500;
}

.header-box-3 {
  margin-left: auto;
  display: flex;
  gap: 2px;
}

.header-btn-1 {
  border: 0;
  padding: 4px 9px;
  border-radius: 6px;
  font: 600 12px 'Golos Text',sans-serif;
  cursor: pointer;
  color: #ffffff;
  opacity: .95;
}

.header-nav-1 {
  position: relative;
  background: #ffffff;
  box-shadow: 0 1px 0 #ececf0;
}

.header-box-4 {
  display: flex;
  align-items: center;
  gap: clamp(10px,1.6vw,22px);
  padding-top: 14px;
  padding-bottom: 14px;
}

.header-link-2 {
  cursor: pointer;
  display: flex;
  align-items: center;
  flex: none;
}

.header-img-1 {
  height: 32px;
  width: auto;
  display: block;
}

.header-link-3 {
  cursor: pointer;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.04em;
  color: #0b3b8f;
}

.header-btn-2 {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: 0;
  background: #111111;
  color: #ffffff;
  font: 600 15px 'Golos Text',sans-serif;
  cursor: pointer;
  transition: background .2s;
}

.header-btn-2:hover {
  background: #0b3b8f;
}

.header-box-5 {
  position: relative;
  flex: 1;
  min-width: 0;
}

.header-box-6 {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 6px 0 16px;
  border-radius: 12px;
  background: #f2f2f5;
  border: 1px solid #f2f2f5;
  transition: border-color .2s;
}

.header-box-6:hover {
  border-color: #d5d5dc;
}

.header-icon-1 {
  font-size: 19px;
  color: #77777f;
}

.header-field-1 {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  color: #111111;
  font: 400 15px 'Golos Text',sans-serif;
  height: 100%;
}

/* live search under the field (theme.js) */
.header-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  max-height: min(70vh,620px);
  overflow-y: auto;
  padding: 8px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(0,0,0,.14);
  animation: down .2s both;
  z-index: 30;
}

.header-suggest[hidden] {
  display: none;
}

.header-suggest-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 12px;
  color: #111111;
  text-decoration: none;
}

.header-suggest-item:hover,
.header-suggest-item.is-on,
.header-suggest-all:hover,
.header-suggest-all.is-on {
  background: #f2f2f5;
}

.header-suggest-img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #f6f6f8;
  overflow: hidden;
}

.header-suggest-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-suggest-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.header-suggest-name {
  font: 400 15px/1.3 'Golos Text',sans-serif;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.header-suggest-name b {
  font-weight: 700;
}

.header-suggest-brand {
  font: 400 13px 'Golos Text',sans-serif;
  color: #77777f;
}

.header-suggest-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font: 700 15px 'Golos Text',sans-serif;
  white-space: nowrap;
}

.header-suggest-price s {
  font-weight: 400;
  font-size: 13px;
  color: #9a9aa2;
}

.header-suggest-all {
  display: block;
  margin-top: 4px;
  padding: 14px 10px;
  border-top: 1px solid #ececf0;
  border-radius: 0 0 12px 12px;
  text-align: center;
  font: 600 15px 'Golos Text',sans-serif;
  color: #0b3b8f;
  text-decoration: none;
}

.header-suggest-none {
  padding: 16px 12px;
  font: 400 15px 'Golos Text',sans-serif;
  color: #77777f;
}

@media (max-width: 640px) {
  .header-suggest-item {
    grid-template-columns: 44px 1fr auto;
    gap: 10px;
  }
  .header-suggest-img {
    width: 44px;
    height: 44px;
  }
}

.header-box-7 {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  padding: 8px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(0,0,0,.14);
  animation: down .2s both;
  z-index: 5;
}

.header-btn-3 {
  width: 100%;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 8px;
  border: 0;
  border-radius: 10px;
  background: none;
  text-align: left;
  cursor: pointer;
  color: #111111;
  font: inherit;
}

.header-btn-3:hover {
  background: #f2f2f5;
}

.header-text-2 {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 8px;
  background-color: #f2f2f5;
  background-size: cover;
  background-position: center;
}

.header-text-3 {
  flex: 1;
  font-size: 15px;
  line-height: 1.3;
}

.header-text-4 {
  font-weight: 700;
  white-space: nowrap;
}

.header-text-5 {
  margin: 8px;
  font-size: 15px;
  color: #77777f;
}

.header-box-8 {
  display: flex;
  align-items: center;
  gap: clamp(2px,1vw,14px);
}

.header-btn-4 {
  border: 0;
  background: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 52px;
  font: 500 12px 'Golos Text',sans-serif;
  color: #111111;
}

.header-icon-2 {
  font-size: 24px;
}

.header-btn-5 {
  position: relative;
  border: 0;
  background: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 52px;
  font: 500 12px 'Golos Text',sans-serif;
  color: #111111;
}

.header-text-6 {
  position: absolute;
  top: -4px;
  right: 6px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: #e5175c;
  color: #fff;
  font: 700 11px/18px 'Golos Text',sans-serif;
  padding: 0 5px;
  box-sizing: border-box;
}

.header-text-7 {
  position: absolute;
  top: -4px;
  right: 6px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: #0b3b8f;
  color: #fff;
  font: 700 11px/18px 'Golos Text',sans-serif;
  padding: 0 5px;
  box-sizing: border-box;
}

.header-box-9 {
  display: flex;
  gap: clamp(14px,2vw,28px);
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 12px;
}

.header-btn-6 {
  flex: none;
  border: 0;
  background: none;
  padding: 4px 0;
  font: 700 15px 'Golos Text',sans-serif;
  cursor: pointer;
  color: #e5175c;
  white-space: nowrap;
}

.header-btn-7 {
  flex: none;
  border: 0;
  background: none;
  padding: 4px 0;
  font: 500 15px 'Golos Text',sans-serif;
  cursor: pointer;
  color: #55555d;
  white-space: nowrap;
}

.header-btn-7:hover {
  color: #111111;
}

.header-link-4 {
  flex: none;
  margin-left: auto;
  width: 40px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  align-self: center;
}

.header-img-2 {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.header-box-10 {
  position: fixed;
  left: 0;
  right: 0;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  z-index: 63;
  background: #ffffff;
  box-shadow: 0 30px 60px rgba(0,0,0,.14);
  animation: down .22s both;
}

.header-box-11 {
  display: grid;
  gap: clamp(16px,3vw,48px);
  padding-top: 20px;
  padding-bottom: 32px;
}

.header-btn-8 {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 10px;
  border: 0;
  font: 600 16px 'Golos Text',sans-serif;
  cursor: pointer;
  text-align: left;
  white-space: nowrap;
  transition: background .15s;
}

.header-icon-3 {
  font-size: 13px;
  opacity: .5;
}

.header-box-12 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  padding-top: 8px;
}

.header-box-13 {
  font-weight: 700;
  font-size: clamp(24px,2.4vw,32px);
  letter-spacing: -0.02em;
  line-height: 1;
}

.header-box-14 {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 24px 40px;
}

.header-box-15 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.header-btn-9 {
  align-self: flex-start;
  border: 0;
  background: none;
  padding: 0 0 10px;
  color: #111111;
  font: 700 15px 'Golos Text',sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-icon-4 {
  font-size: 12px;
}

.header-box-16 {
  column-gap: 40px;
}

.header-btn-10 {
  display: block;
  width: 100%;
  break-inside: avoid;
  border: 0;
  background: none;
  padding: 7px 0;
  text-align: left;
  color: #55555d;
  font: 400 15px/1.3 'Golos Text',sans-serif;
  cursor: pointer;
  transition: color .15s;
}

.header-btn-10:hover {
  color: #0b3b8f;
}

.header-box-17 {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(130px,1fr));
  gap: 8px;
}

.header-btn-11 {
  height: 76px;
  border: 1px solid #ececf0;
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s,box-shadow .2s;
}

.header-btn-11:hover {
  border-color: #0b3b8f;
  box-shadow: 0 6px 18px rgba(11,59,143,.12);
}

.header-img-3 {
  max-width: 100%;
  max-height: 44px;
  object-fit: contain;
  display: block;
  font: 600 13px 'Golos Text',sans-serif;
  color: #111111;
}
