


.masthead-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px max(24px, calc((100% - 1200px) / 2));
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  --mm-bg: #ffffff;
  --mm-text: #3a1733;
  --mm-primary: #4d1f45;
  --mm-overlay-bg: rgba(43, 18, 38, 0.55);
}
.masthead-bar--sticky { position: sticky; top: 0; z-index: 900; }

.masthead-bar__logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.masthead-bar__logo:hover { text-decoration: none; }
.masthead-bar__logo img { height: 36px; width: auto; display: block; }
.masthead-bar__wordmark {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--plum);
}

.masthead-bar__nav { margin-left: auto; }
.masthead-bar__list { list-style: none; margin: 0; padding: 0; }
.masthead-bar__item { margin: 0; }
.masthead-bar__link {
  position: relative;
  color: var(--ink);
  font-size: 15px;
  letter-spacing: 0.02em;
  font-weight: 700;
}
.masthead-bar__link:hover { color: var(--plum); text-decoration: none; }
.masthead-bar__link::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 4px;
  background: var(--plum);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.masthead-bar__link:hover::after { transform: translateX(0); }
.masthead-bar__link--current::after { transform: translateX(0); background: var(--lilac-glow); }

.masthead-bar__aux { display: flex; align-items: center; gap: 16px; }
.masthead-bar__phone {
  font-size: 15px;
  font-weight: 700;
  color: var(--plum);
  white-space: nowrap;
}
.masthead-bar__bag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--plum);
  border-radius: 16px;
  color: var(--plum);
  font-weight: 700;
  font-size: 15px;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.masthead-bar__bag:hover { text-decoration: none; box-shadow: 0 6px 25px var(--halo); transform: translateY(-2px); }
.masthead-bar__bag svg { width: 18px; height: 18px; }
.masthead-bar__count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 8px;
  border-radius: 16px;
  background: var(--plum);
  color: #ffffff;
  font-size: 13px;
}
.masthead-bar__scrim { cursor: pointer; }
.masthead-bar__toggle { margin-left: auto; min-width: 44px; min-height: 44px; }
.masthead-bar__toggle span { background: var(--plum); border-radius: 2px; }
.masthead-bar__close { min-width: 44px; min-height: 44px; }


@media (max-width: 768px) {
  .masthead-bar { padding: 12px 16px; gap: 12px; }
  .masthead-bar__phone { display: none; }
  .masthead-bar__aux { margin-left: auto; }
  .masthead-bar__nav { margin-left: 0; }
  .masthead-bar__link::after { display: none; }
}
@media (max-width: 480px) {
  .masthead-bar__wordmark { font-size: 18px; }
  .masthead-bar__bag { padding: 8px 12px; }
}
