:root {
  --custom-navy: #3a3e99;
  --custom-gold: #d4a531;
  --custom-gold-light: #f6c32f;
}

.custom-header.custom-style {
  background: var(--custom-navy);
  color: #fff;
  padding: 20px 30px;
  border-bottom: 5px solid var(--custom-gold);
  border-end-start-radius: 30px;
  border-end-end-radius: 30px;
  margin-bottom: 15px;
}

.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header-content h1 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.top-menu { flex: 1; text-align: center; }

.top-menu ul {
  display: inline-flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.top-menu li {
  position: relative;
  padding: 0 35px;
}

.top-menu li:not(:last-child)::after {
  content: "|";
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .3);
  font-size: 20px;
  font-weight: 300;
}

.top-menu a {
  text-decoration: none;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all .3s ease;
  padding-bottom: 3px;
}

.top-menu a.active {
  color: var(--custom-gold-light);
  border-bottom: 3px solid var(--custom-gold-light);
}

.top-menu a:hover { color: var(--custom-gold-light); }

@media (max-width: 768px) {
  .custom-header.custom-style { display: block; }

  .header-bar {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .header-content {
    display: block;
    text-align: center;
    width: 100%;
  }

  .header-content h1 { font-size: 1.4rem; }

  .top-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--custom-navy);
    border-top: 4px solid var(--custom-gold);
    padding: 15px 5px;
    z-index: 999;
    border-start-start-radius: 20px;
    border-start-end-radius: 20px;
  }

  .top-menu ul {
    display: flex;
    justify-content: space-around;
    width: 100%;
  }

  .top-menu li { padding: 0 10px; }
  .top-menu li:not(:last-child)::after { display: none; }
  .top-menu a { font-size: .9rem; }

  body { padding-bottom: 80px; }
  .a-DevToolbar-list { display: none; }
}
