/* Site header. On the homepage it overlays the hero (variant --overlay). */

.dn-header {
  position: relative;
  z-index: 10;
  padding-top: 50px;
}
.dn-header--overlay {
  position: absolute;
  top: 0; left: 0; right: 0;
}

.dn-header__row {
  display: flex;
  align-items: center;
  gap: 227px;
}

.dn-header__logo { flex: none; width: 102px; height: 65.247px; }
.dn-header__logo img { width: 100%; height: 100%; }

.dn-header__bar {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dn-nav__list { display: flex; align-items: center; gap: 40px; }

.dn-nav__link,
.dn-lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--typography-tertiary);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.9px;
}

.dn-header__actions { display: flex; align-items: center; gap: 36px; }

.dn-header__phone {
  color: var(--typography-tertiary);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: var(--ls-text);
}

.dn-nav__toggle { display: none; }

/* Dropdowns: Services submenu and language list (TZ: Delivery / Catering / Food Truck; ENG / RU / GR) */
.dn-nav__item--sub, .dn-lang { position: relative; display: flex; align-items: center; gap: 8px; }

.dn-nav__caret {
  display: grid; place-items: center;
  padding: 4px; margin: -4px;
  border: 0; background: none;
  color: var(--typography-tertiary);
}
.dn-nav__caret .dn-icon, .dn-lang__toggle .dn-icon { transition: transform 0.15s; }
[aria-expanded="true"] > .dn-icon { transform: rotate(180deg); }

.dn-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: -24px;
  z-index: 20;
  min-width: 200px;
  padding: 12px 0;
  border-radius: var(--radius);
  background: var(--background-secondary);
  box-shadow: var(--shadow-popup);
  display: none;
}
.dn-dropdown--right { left: auto; right: -16px; min-width: 120px; }
.dn-dropdown a {
  display: block;
  padding: 10px 24px;
  color: var(--typography-tertiary);
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
}
.dn-dropdown a:hover, .dn-dropdown a[aria-current="true"] { color: var(--typography-secondary); }

/* open via JS (.is-open, toggled by the button: click / Enter / Space) or on pointer hover */
[data-dn-dropdown].is-open > .dn-dropdown,
[data-dn-dropdown]:hover > .dn-dropdown { display: block; }
.dn-dropdown::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
