header.header .mc-menu-tools > a.mc-holiday-discount {
  flex: 0 0 auto;
  padding-inline: 12px;
  color: #fff;
  background: #a94a12;
  border-color: #a94a12;
  font-weight: 700;
  text-decoration: none;
}
header.header .mc-menu-tools > a.mc-holiday-discount:hover {
  color: #fff;
  background: #8d3c0e;
  border-color: #8d3c0e;
}
header.header .mc-menu-tools > a.mc-holiday-discount:focus-visible {
  outline: 2px solid #8d3c0e;
  outline-offset: 2px;
}
@media (max-width: 480px) {
  header.header .mc-menu-tools > a.mc-holiday-discount {
    min-height: 44px;
    padding-inline: 9px;
  }
}

header.header nav.mc-holiday-fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0;
}
header.header nav.mc-holiday-fallback > a.mc-holiday-discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 38px;
  border: 1px solid #a94a12;
  border-radius: 6px;
  padding: 6px 12px;
}
@media (max-width: 820px) {
  header.header nav.mc-holiday-fallback > a.mc-holiday-discount { min-height: 44px; }
}

/* Keep the three storefront actions on the same row in the mobile header. */
header.header nav.mc-holiday-fallback > a.mc-holiday-mobile-tool {
  display: none;
}

@media (max-width: 820px) {
  header.header nav.mc-menu-tools:has(> a.mc-holiday-discount):has(> a[href="/catalog/garderobnye/konstruktor-bella/"]) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(44px, auto);
    align-items: stretch;
    gap: 5px;
  }

  header.header nav.mc-menu-tools:has(> a.mc-holiday-discount):has(> a[href="/catalog/garderobnye/konstruktor-bella/"]) > a {
    box-sizing: border-box;
    min-width: 0;
    min-height: 44px;
    height: auto;
    margin: 0;
    padding: 4px 5px;
    font-size: clamp(11px, 2vw, 12px);
    line-height: 1.15;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  header.header nav.mc-holiday-fallback > a.mc-holiday-mobile-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #aab8ab;
    border-radius: 8px;
    color: #254842;
    background: #edf0e8;
    font-weight: 650;
    text-decoration: none;
  }
}
