/* Two-level shop header, following the reference hierarchy. */
.site-header {
  display: block;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #ded3bb;
  background: #fffcf6;
}
.header-main, .header-nav {
  width: min(1440px, calc(100% - 64px));
  margin-inline: auto;
}
.header-main {
  display: grid;
  grid-template-columns: 148px minmax(180px, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  min-height: 86px;
  padding-block: 10px;
}
.site-header .brand { display: block; min-width: 0; justify-self: start; text-decoration: none; }
.site-header .brand img {
  width: 144px;
  height: auto;
  aspect-ratio: 1620 / 699;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.header-search.search-field { min-width: 0; margin: 0; }
.header-search.search-field input {
  width: 100%;
  min-height: 46px;
  padding: 11px 55px 11px 18px;
  border: 1px solid #d6d6cb;
  border-radius: 24px;
  background: #f8f7f3;
  color: #193c30;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.5;
}
.header-search.search-field input::placeholder { color: #788076; }
.header-search.search-field > svg { width: 17px; height: 17px; top: 14px; left: 16px; color: #718377; }
.header-search.search-field:focus-within input { outline: 2px solid #a78a4d; outline-offset: 2px; border-color: #a78a4d; background: #fffdf8; }
.header-search-submit {
  position: absolute;
  top: 1px;
  right: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #103f35;
  color: #fffaf0;
  cursor: pointer;
}
.header-search-submit:hover { background: #285b48; }
.header-search-submit svg { width: 17px; height: 17px; }
.header-contact {
  display: grid;
  gap: 3px;
  color: #173e31;
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
}
.header-contact > span, .header-contact-label { color: #6d766a; font-size: 10px; font-weight: 500; }
.header-contact a { color: #173e31; font-size: 12px; font-weight: 600; text-decoration: none; }
.header-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 25px;
  min-height: 45px;
  padding-block: 2px;
  border-top: 1px solid #e9e1d1;
}
.header-season, .header-nav__season {
  flex: none;
  margin: 0 3px 0 0;
  padding-right: 24px;
  border-right: 1px solid #ded0b0;
  color: #8a6b31;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  white-space: nowrap;
}
.header-nav a {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 0;
  color: #35574a;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  text-underline-offset: 5px;
}
.header-nav a:hover { color: #103f35; text-decoration: underline; }
.header-nav a[aria-current="true"] {
  color: #103f35;
  font-weight: 700;
  box-shadow: inset 0 -2px #ad8d49;
}
.header-nav .header-nav-pdf { margin-left: auto; color: #745c2a; }
.header-nav .header-nav-contact { color: #745c2a; }
.header-nav a svg { width: 15px; height: 15px; flex: none; }
.site-header .basket-link {
  justify-self: end;
  gap: 9px;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid #d9cdae;
  border-radius: 9px;
  background: #fffcf5;
  color: #103f35;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
}
.site-header .basket-link:hover { background: #f1ead9; border-color: #bca268; }
.site-header .basket-link > svg { width: 19px; height: 19px; flex: none; }
.site-header .basket-count { min-width: 22px; height: 22px; padding-inline: 3px; background: #e9ecdf; font-size: 11px; }
.site-header a:focus-visible, .header-search-submit:focus-visible { outline: 2px solid #927236; outline-offset: 4px; border-radius: 5px; }

@media (max-width: 1150px) {
  .header-main, .header-nav { width: calc(100% - 48px); }
  .header-main { grid-template-columns: 132px minmax(140px, 1fr) auto auto; gap: 18px; }
  .site-header .brand img { width: 132px; }
  .header-nav { gap: 21px; }
}
@media (max-width: 900px) {
  .header-main { grid-template-columns: 132px minmax(0, 1fr) auto; gap: 4px 18px; padding-block: 10px; }
  .site-header .brand { grid-column: 1; grid-row: 1 / 3; }
  .header-search { grid-column: 2; grid-row: 1; }
  .header-contact { grid-column: 2; grid-row: 2; display: flex; align-items: baseline; gap: 7px; }
  .site-header .basket-link { grid-column: 3; grid-row: 1 / 3; }
  .header-contact a { font-size: 11px; }
  .header-nav { gap: 20px; overflow-x: auto; scrollbar-width: thin; }
  .header-nav .header-nav-pdf { margin-left: 0; }
}
@media (max-width: 650px) {
  .header-main, .header-nav { width: calc(100% - 32px); }
  .header-main { grid-template-columns: minmax(0, 1fr) auto; gap: 9px 12px; padding-block: 6px 9px; }
  .site-header .brand { grid-column: 1; grid-row: 1; }
  .site-header .brand img { width: 128px; height: auto; }
  .site-header .basket-link { grid-column: 2; grid-row: 1; padding-inline: 10px; gap: 7px; }
  .header-search { grid-column: 1 / -1; grid-row: 2; }
  .header-contact { grid-column: 1 / -1; grid-row: 3; justify-content: flex-end; gap: 6px; }
  .header-contact > span, .header-contact-label { font-size: 9px; }
  .header-contact a { font-size: 10px; }
  .header-nav { gap: 20px; min-height: 42px; }
  .header-nav a { min-height: 38px; padding-block: 6px; font-size: 10px; }
  .header-season, .header-nav__season { padding-right: 18px; font-size: 9px; letter-spacing: .7px; }
}
@media (max-width: 380px) {
  .header-main, .header-nav { width: calc(100% - 24px); }
  .site-header .brand img { width: 118px; }
  .site-header .basket-link { padding-inline: 8px; gap: 6px; font-size: 11px; }
}
@media print {
  .site-header { display: block; width: 100%; margin: 0; border: 0; background: #fff; }
  .header-main { display: block; width: 100%; padding: 0; }
  .header-search, .header-contact, .header-nav { display: none !important; }
}
