/* Shared site chrome — upper hub + bottom dock */
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  height: 34px;
  width: auto;
  max-width: 140px;
  display: block;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  gap: 12px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
}

.nav-link:hover,
.nav-link.is-active {
  background: rgba(238, 204, 140, 0.45);
}

.lang-toggle {
  font-size: 0.9rem;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.lang-toggle:hover {
  background: rgba(238, 204, 140, 0.45);
}

.dock-wrap {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 40;
  width: min(920px, calc(100% - 24px));
  pointer-events: none;
}

.dock {
  pointer-events: auto;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(146, 9, 50, 0.16);
  background: rgba(252, 246, 242, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  overflow-x: auto;
}

.dock a {
  text-decoration: none;
  color: inherit;
  flex: 1 1 0;
  min-width: 0;
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 72px;
  height: 56px;
  border-radius: 12px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.dock-item img {
  width: 22px;
  height: 22px;
  display: block;
  transition: transform 0.15s ease;
}

.dock-item span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.dock-item:hover {
  background: rgba(238, 204, 140, 0.45);
  transform: translateY(-1px);
}

.dock-item:hover img {
  transform: scale(1.06);
}

body.has-site-dock {
  padding-bottom: 110px;
}

@media (max-width: 720px) {
  .nav-actions {
    gap: 6px;
  }

  .nav-link,
  .lang-toggle {
    font-size: 0.82rem;
    padding: 7px 10px;
  }

  .dock-item {
    min-width: 64px;
    height: 52px;
  }

  .dock-item img {
    width: 20px;
    height: 20px;
  }
}
