.glowTopNote {
  --mm-bg: #ffffff;
  --mm-text: #13235b;
  --mm-primary: #0b5f73;
  --mm-overlay-bg: rgba(19, 35, 91, 0.5);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.topNoteWrap {
  width: 100%;
}

.topNoteBar {
  width: var(--frame);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2vw;
  padding: 1.4vh 0;
}

.topNoteLogo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.topNoteLogo img {
  height: 2.7rem;
  width: auto;
  display: block;
}

.topNoteCall {
  margin: 0 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.25;
}

.topNoteCall a {
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.05rem;
}

.topNoteCall span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.topNoteCart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-aqua);
  color: var(--text-primary);
  transition: background-color 0.2s ease;
}

.topNoteCart:hover {
  background: var(--bg-hero);
  color: var(--text-primary);
}

.topNoteCount {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


.topNoteTabs {
  flex: 1 0 100%;
  border-top: 1px solid var(--line);
}

.topNoteTabs .tabList {
  width: var(--frame);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: flex-start;
  border-bottom: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.topNoteTabs .tabList .tabLink {
  display: block;
  padding: 0.95rem 1.2vw;
  border-bottom: 3px solid transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.98rem;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.topNoteTabs .tabList .tabLink:hover {
  color: var(--accent);
  border-bottom-color: rgba(11, 95, 115, 0.35);
}

.topNoteTabs .tabList .tabLink.isCurrent {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.topNoteTabs .tabList .tabCartLink {
  display: none;
}

.topNoteClose {
  color: var(--text-primary);
  width: 48px;
  height: 48px;
}

.topNoteToggle {
  width: 46px;
  height: 46px;
  align-items: center;
  margin-left: auto;
}

.topNoteToggle span {
  border-radius: 2px;
}

@media (max-width: 1024px) {
  .topNoteTabs .tabList .tabLink {
    font-size: 0.9rem;
    padding: 0.85rem 1.6vw;
  }
}

@media (max-width: 767px) {
  .glowTopNote {
    flex-wrap: nowrap;
    padding: 0 4vw;
    gap: 2vw;
  }
  .topNoteWrap {
    flex: 1;
    min-width: 0;
  }
  .topNoteBar {
    width: auto;
    padding: 1vh 0;
    gap: 3vw;
  }
  .topNoteLogo img {
    height: 2.1rem;
  }
  .topNoteCall {
    display: none;
  }
  .topNoteCart {
    margin-left: auto;
  }
  .topNoteTabs {
    flex: none;
    border-top: 0;
  }
  .topNoteTabs .tabList {
    width: auto;
    overflow: visible;
  }
  .topNoteTabs .tabList .tabLink {
    font-family: var(--font-display);
    font-size: 1.45rem;
    padding: 0.7rem 1.5rem;
    border-bottom: 0;
    text-align: center;
  }
  .topNoteTabs .tabList .tabLink.isCurrent {
    text-decoration: underline;
    text-decoration-color: var(--sun);
    text-decoration-thickness: 3px;
    text-underline-offset: 0.3em;
  }
  .topNoteTabs .tabList .tabCartLink {
    display: block;
  }
}
