/* Shared site header. Generated from index2.html by tools/build-shared-header-css.mjs. */
.topbar {
  min-height: 28px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1320px, calc(100% - 56px));
  min-height: 62px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  position: relative;
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav a:hover {
  color: var(--red);
}

.nav a,
.nav-trigger {
  white-space: nowrap;
}

.nav.right {
  justify-content: flex-end;
}

.nav-item {
  position: static;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 62px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.nav-trigger:hover {
  color: var(--red);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: calc(100vw - 32px);
  gap: 1px;
  padding: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 0 28px 70px rgba(0,0,0,0.22);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.mega-menu.shop-mega,
.mega-menu.hair-mega {
  grid-template-columns: 1fr;
}

.mega-shell {
  display: grid;
  gap: 1px;
  background: var(--ink);
}

.shop-shell {
  grid-template-columns: minmax(380px, 0.95fr) minmax(460px, 1.18fr) minmax(260px, 0.68fr);
}

.hair-shell {
  grid-template-columns: minmax(640px, 1.05fr) minmax(420px, 0.8fr);
}

.mega-list-panel,
.mega-visual-panel,
.mega-quick-panel {
  min-height: 474px;
  padding: 30px;
  background: var(--white);
}

.mega-panel-head {
  display: grid;
  gap: 8px;
  max-width: 620px;
}

.mega-panel-head strong {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.mega-panel-head h3 {
  margin: 0;
  font-size: clamp(34px, 3.5vw, 58px);
  line-height: 0.95;
  text-transform: uppercase;
}

.mega-panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.mega-thumb-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.hair-thumb-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.mega-thumb-link,
.mega-quick-link {
  display: grid;
  align-items: center;
  border: 1px solid var(--ink);
  background: #fbfaf6;
  color: var(--ink);
  overflow: hidden;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  transition: background 0.22s ease, color 0.22s ease, opacity 0.22s ease, grid-template-columns 0.28s ease, box-shadow 0.22s ease;
}

.mega-thumb-link {
  grid-template-columns: 56px minmax(0, 1fr) 18px;
  min-height: 66px;
  gap: 12px;
  padding: 7px;
}

.hair-thumb-list .mega-thumb-link {
  grid-template-columns: 50px minmax(0, 1fr);
  min-height: 74px;
  gap: 10px;
}

.mega-thumb-link img,
.mega-quick-link img {
  width: 100%;
  height: 48px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.02);
  overflow: hidden;
  transition: transform 0.35s ease, filter 0.22s ease;
}

.hair-thumb-list .mega-thumb-link img {
  height: 56px;
}

.mega-thumb-link i,
.mega-quick-link i {
  width: 17px;
  height: 17px;
  transition: transform 0.22s ease;
}

.mega-thumb-list:hover .mega-thumb-link,
.mega-quick-list:hover .mega-quick-link {
  opacity: 0.66;
}

.mega-thumb-list .mega-thumb-link:hover,
.mega-quick-list .mega-quick-link:hover {
  opacity: 1;
  background: var(--ink);
  color: var(--white);
  box-shadow: inset 0 -4px 0 var(--red);
}

.mega-thumb-link:hover {
  grid-template-columns: 92px minmax(0, 1fr) 18px;
}

.hair-thumb-list .mega-thumb-link:hover {
  grid-template-columns: 78px minmax(0, 1fr);
}

.mega-thumb-link:hover img,
.mega-quick-link:hover img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.08);
}

.mega-thumb-link:hover i,
.mega-quick-link:hover i {
  transform: translateX(4px);
}

.mega-expand-row {
  display: flex;
  min-height: 302px;
  margin-top: 24px;
  border: 1px solid var(--ink);
  background: var(--ink);
  overflow: hidden;
}

.mega-expand-card {
  position: relative;
  flex: 1 1 0;
  min-width: 90px;
  overflow: hidden;
  color: var(--white);
  transition: flex 0.38s ease, filter 0.22s ease;
}

.hair-shell .mega-expand-card {
  min-width: 118px;
}

.mega-expand-row:hover .mega-expand-card {
  flex: 0.74 1 0;
  filter: grayscale(0.45) brightness(0.82);
}

.mega-expand-row .mega-expand-card:hover {
  flex: 2.15 1 0;
  filter: none;
}

.mega-expand-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
  transition: transform 0.42s ease;
}

.mega-expand-card:hover img {
  transform: scale(1.08);
}

.mega-expand-card span {
  position: absolute;
  inset: auto 14px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-width: min(260px, calc(100% - 28px));
  padding: 12px 14px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  z-index: 1;
  transition: background 0.22s ease, color 0.22s ease;
}

.mega-expand-card:hover span {
  background: var(--red);
  color: var(--white);
}

.mega-quick-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.mega-quick-link {
  grid-template-columns: 82px minmax(0, 1fr) 18px;
  min-height: 76px;
  gap: 12px;
  padding: 8px;
}

@media (max-width: 1280px) {
  .mega-list-panel,
  .mega-visual-panel,
  .mega-quick-panel {
    padding: 24px;
  }

  .shop-shell {
    grid-template-columns: minmax(360px, 0.95fr) minmax(390px, 1fr) minmax(230px, 0.62fr);
  }

  .hair-shell {
    grid-template-columns: minmax(590px, 1.06fr) minmax(360px, 0.76fr);
  }

  .mega-panel-head h3 {
    font-size: clamp(30px, 3vw, 46px);
  }

  .mega-thumb-link {
    grid-template-columns: 48px minmax(0, 1fr) 16px;
    gap: 9px;
    font-size: 10px;
  }

  .mega-thumb-link:hover {
    grid-template-columns: 74px minmax(0, 1fr) 16px;
  }

  .hair-thumb-list .mega-thumb-link {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 70px;
  }

  .hair-thumb-list .mega-thumb-link:hover {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .mega-expand-row {
    min-height: 274px;
  }
}

.brand {
  display: grid;
  justify-items: center;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.brand strong {
  font-size: 20px;
  font-weight: 900;
}

.brand span {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.icon-btn:hover {
  border-color: var(--ink);
  background: var(--red);
  color: var(--white);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}
/* Shared header action standard */
.brand strong {
  white-space: nowrap;
}

.icon-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.2;
}

.header .nav.right > a.icon-btn:hover,
.header .nav.right > a.icon-btn[aria-current="page"] {
  border-color: var(--ink, #070707);
  background: var(--ink, #070707);
  color: var(--white, #fff);
  box-shadow: 4px 4px 0 var(--red, #e22b1a);
}

.header-search {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  z-index: 12;
}

.header-search input {
  position: absolute;
  top: 0;
  right: 0;
  width: 42px;
  height: 42px;
  border: 1px solid transparent;
  padding: 0 42px 0 12px;
  background: var(--white, #fff);
  color: var(--ink, #070707);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  outline: none;
  pointer-events: none;
  text-transform: none;
  transition: width 0.22s ease, opacity 0.16s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.header-search input::placeholder {
  color: var(--muted, #66615b);
}

.header-search .icon-btn {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}

.header-search:hover input,
.header-search:focus-within input {
  width: 240px;
  border-color: var(--ink, #070707);
  opacity: 1;
  pointer-events: auto;
  box-shadow: 4px 4px 0 var(--ink, #070707);
}

.header-search:hover .icon-btn,
.header-search:focus-within .icon-btn {
  border-color: var(--ink, #070707);
  background: var(--ink, #070707);
  color: var(--white, #fff);
  transform: none;
  box-shadow: none;
}

/* Shared locale selector */
.header-locale {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.header-locale-menu {
  position: relative;
}

.header-locale-menu summary {
  min-width: 94px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--ink, #070707);
  padding: 0 11px;
  background: var(--white, #fff);
  color: var(--ink, #070707);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  list-style: none;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.header-locale-menu summary::-webkit-details-marker {
  display: none;
}

.header-locale-menu summary svg {
  width: 14px;
  height: 14px;
}

.header-locale-menu[open] summary,
.header-locale-menu summary:hover {
  color: var(--red, #e22b1a);
  box-shadow: 3px 3px 0 var(--ink, #070707);
}

.header-locale-list {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 95;
  width: 232px;
  border: 1px solid var(--ink, #070707);
  background: var(--white, #fff);
  box-shadow: 6px 6px 0 var(--ink, #070707);
}

.header-locale-list button,
.header-locale-list a {
  width: 100%;
  min-height: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid var(--line, #d9d5ce);
  padding: 0 12px;
  background: var(--white, #fff);
  color: var(--ink, #070707);
  text-align: left;
  cursor: pointer;
}

.header-locale-list button:last-child,
.header-locale-list a:last-child {
  border-bottom: 0;
}

.header-locale-list span {
  min-width: 0;
  font-size: 12px;
  font-weight: 850;
}

.header-locale-list b {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.header-locale-list button:hover,
.header-locale-list a:hover,
.header-locale-list button.is-active,
.header-locale-list a.is-active {
  background: var(--paper, #f7f5f0);
  color: var(--red, #e22b1a);
}

.mobile-menu {
  display: none;
}

.mobile-menu-toggle {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--ink, #070707);
  background: var(--white, #fff);
  color: var(--ink, #070707);
  cursor: pointer;
  list-style: none;
}

.mobile-menu-toggle::-webkit-details-marker {
  display: none;
}

.mobile-menu-toggle span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.mobile-menu-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-menu[open] .mobile-menu-toggle,
.mobile-menu-toggle:hover {
  background: var(--ink, #070707);
  color: var(--white, #fff);
}

@media (max-width: 1020px) {
  .header .nav.left {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .brand {
    justify-items: start;
  }

  .mega-menu {
    display: none;
  }
}

@media (max-width: 760px) {
  .topbar {
    padding: 8px 12px;
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
  }

  .header-inner {
    width: calc(100vw - 20px);
    min-height: 62px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .header .nav.right {
    display: none;
  }

  .brand {
    min-width: 0;
    justify-items: start;
  }

  .brand strong {
    font-size: 19px;
  }

  .brand span {
    font-size: 10px;
  }

  .mobile-menu {
    display: block;
    justify-self: end;
    position: static;
    z-index: 90;
  }

  .mobile-menu-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 120;
    width: 100vw;
    height: calc(100dvh - 62px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: auto;
    border-top: 1px solid var(--ink, #070707);
    background: var(--ink, #070707);
    color: var(--white, #fff);
    transform: translateX(-50%);
    box-shadow: none;
  }

  .mobile-menu-list {
    display: grid;
    gap: 1px;
    background: var(--ink, #070707);
  }

  .mobile-menu-panel a,
  .mobile-submenu summary {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 0;
    padding: 0 18px;
    background: var(--white, #fff);
    color: var(--ink, #070707);
    font-size: 12px;
    font-weight: 900;
    list-style: none;
    text-transform: uppercase;
    cursor: pointer;
  }

  .mobile-submenu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-submenu summary svg,
  .mobile-menu-panel a svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
  }

  .mobile-submenu[open] summary {
    background: var(--ink, #070707);
    color: var(--white, #fff);
    box-shadow: inset 0 -4px 0 var(--red, #e22b1a);
  }

  .mobile-submenu[open] summary svg {
    transform: rotate(180deg);
  }

  .mobile-submenu-links {
    display: grid;
    gap: 1px;
    background: var(--line, #d9d5ce);
  }

  .mobile-submenu-links a {
    min-height: 48px;
    padding-left: 34px;
    background: #fbfaf7;
    color: var(--ink, #070707);
    font-size: 11px;
  }

  .mobile-menu-panel a:hover {
    background: var(--ink, #070707);
    color: var(--white, #fff);
  }

  .mobile-menu-panel a:hover svg {
    transform: translateX(4px);
  }

  .mobile-menu-bottom {
    display: grid;
    gap: 14px;
    border-top: 1px solid rgba(255,255,255,0.18);
    padding: 16px;
    background: #070707;
  }

  .mobile-locale-label {
    color: #aaa39b;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .mobile-locale-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
  }

  .mobile-locale-row button,
  .mobile-locale-row a,
  .mobile-checkout {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.28);
    background: transparent;
    color: var(--white, #fff);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .mobile-locale-row button.is-active,
  .mobile-locale-row a.is-active,
  .mobile-locale-row button:hover,
  .mobile-locale-row a:hover {
    border-color: var(--white, #fff);
    background: var(--white, #fff);
    color: var(--ink, #070707);
  }

  .mobile-checkout {
    min-height: 50px;
    border-color: var(--white, #fff);
    background: var(--white, #fff);
    color: var(--ink, #070707);
  }

  .mobile-checkout:hover {
    background: var(--red, #e22b1a);
    border-color: var(--red, #e22b1a);
    color: var(--white, #fff);
  }
}

/* Approved compact mega menu layout */
.header .mega-shell {
  width: 100%;
}

.header .mega-menu a {
  white-space: normal;
}

.header .shop-shell {
  grid-template-columns: minmax(360px, 0.95fr) minmax(430px, 1.08fr) minmax(220px, 0.48fr);
}

.header .hair-shell,
.header .concern-shell {
  grid-template-columns: 1fr;
}

.header .hair-mega .mega-list-panel,
.header .concern-mega .mega-list-panel {
  grid-column: 1 / -1;
  min-height: auto;
}

.header .mega-list-panel,
.header .mega-visual-panel,
.header .mega-quick-panel {
  min-height: 360px;
  padding: 24px;
}

.header .mega-panel-head {
  gap: 6px;
}

.header .mega-panel-head h3 {
  font-size: clamp(28px, 2.4vw, 42px);
  line-height: 1;
  white-space: nowrap;
}

.header .mega-thumb-list,
.header .mega-expand-row,
.header .mega-quick-list,
.header .concern-mega-grid {
  margin-top: 18px;
}

.header .mega-expand-row,
.header .quiz-list,
.header .mega-quick-link.quiz-card {
  min-height: 220px;
}

.header .quiz-panel .mega-quick-list {
  margin-top: 42px;
}

.header .mega-quick-link.quiz-card {
  position: relative;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-content: end;
  align-items: end;
  min-height: 220px;
  padding: 14px;
  color: var(--white, #fff);
  background: var(--ink, #070707);
}

.header .mega-quick-link.quiz-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.88;
}

.header .mega-quick-link.quiz-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,7,7,0.05), rgba(7,7,7,0.78));
}

.header .mega-quick-link.quiz-card span,
.header .mega-quick-link.quiz-card i {
  position: relative;
  z-index: 1;
}

.header .mega-quick-link.quiz-card span {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.header .mega-quick-link.quiz-card b {
  font-size: 17px;
  white-space: nowrap;
}

.header .mega-quick-link.quiz-card small {
  color: rgba(255,255,255,0.78);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.header .concern-panel {
  min-height: auto;
}

.header .concern-mega-grid {
  display: flex;
  align-items: stretch;
  gap: 1px;
  background: var(--ink, #070707);
  border: 1px solid var(--ink, #070707);
}

.header .concern-mega-grid:hover .concern-mega-card {
  flex: 0.9 1 0;
}

.header .concern-mega-grid .concern-mega-card:hover {
  flex: 1.45 1 0;
}

.header .concern-mega-card {
  min-width: 0;
  flex: 1 1 0;
  display: grid;
  grid-template-rows: 176px auto;
  min-height: 0;
  background: #fbfaf6;
  color: var(--ink, #070707);
  overflow: hidden;
  transition: flex 0.34s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.header .concern-mega-card img {
  width: 100%;
  height: 176px;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
  transition: transform 0.35s ease, filter 0.22s ease;
}

.header .concern-mega-card div {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 0;
  padding: 11px 12px 13px;
}

.header .concern-mega-card span {
  color: var(--red, #e22b1a);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.header .concern-mega-card strong {
  font-size: 14px;
  font-weight: 950;
  line-height: 1.04;
  text-transform: uppercase;
}

.header .concern-mega-card small {
  color: var(--muted, #625c56);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.header .concern-mega-card:hover {
  color: var(--white, #fff);
  background: var(--ink, #070707);
  box-shadow: inset 0 -5px 0 var(--red, #e22b1a);
}

.header .concern-mega-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.08);
}

.header .concern-mega-card:hover span {
  color: var(--white, #fff);
}

.header .concern-mega-card:hover small {
  color: rgba(255,255,255,0.76);
}

/* ── Мега-меню «Каталог»: 10 реальних категорій ────────────────────────── */
/* Швидкі посилання в шапці панелі (Усі продукти / Бестселери / Новинки) —
   раніше вони займали три плитки в сітці, тепер сітка віддана категоріям. */
.mega-head-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.mega-head-links a {
  padding: 5px 10px;
  border: 1px solid var(--ink, #070707);
  color: var(--ink, #070707);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.22s ease, color 0.22s ease;
}

.mega-head-links a:hover {
  background: var(--ink, #070707);
  color: var(--white, #fff);
}

/* 10 категорій у дві колонки = 5 рядів; трохи стискаємо плитку,
   щоб панель лишалась у своїй висоті. */
.header .shop-mega .mega-thumb-link {
  min-height: 56px;
}

.header .shop-mega .mega-thumb-link img {
  height: 42px;
}

.header .shop-mega .mega-thumb-list {
  gap: 8px;
  margin-top: 14px;
}

/* Шапка вилазила за екран у діапазоні приблизно 1050–1400px: бургер
   вмикається лише на 1020px, а повне меню (чотири пункти ліворуч, три
   праворуч, перемикач мови, пошук і кошик) на цій ширині вже не
   вміщується. Треки сітки при цьому не мали minmax(0, ...) і не
   стискались — тому вміст просто вилітав, даючи горизонтальний скрол на
   кожній сторінці. */
@media (max-width: 1400px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 10px;
  }

  .nav {
    gap: 8px;
    font-size: 11px;
  }
}

@media (max-width: 1180px) {
  .nav {
    gap: 6px;
    font-size: 10px;
  }
}

/* Перемикач мови й валюти став посиланнями замість кнопок: у <a> немає
   рамки й вирівнювання від <button>, тому задаємо їх явно. */
.header-locale-list a,
.mobile-locale-row a,
.footer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.header-locale-list a {
  display: grid;
  justify-content: stretch;
}
