/* Compact horizontal navigation for the landing-page header. */
body.gift-home .gift-nav {
  gap: 5px;
}

body.gift-home .gift-nav .gift-nav__item {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border-radius: 10px;
  color: #5f586f;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

body.gift-home .gift-nav .gift-nav__item:hover {
  background: rgba(239, 232, 244, .56);
  color: #453d58;
}

body.gift-home .gift-nav .gift-nav__item--gift {
  padding-inline: 12px;
  background: linear-gradient(115deg, rgba(255, 246, 241, .96), rgba(251, 235, 247, .88));
  color: #d33f72;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(232, 108, 150, .1), 0 7px 18px rgba(187, 80, 126, .06);
}

body.gift-home .gift-nav .gift-nav__item--gift:hover {
  background: linear-gradient(115deg, rgba(255, 241, 235, .98), rgba(249, 226, 242, .94));
  color: #c62f67;
}

.gift-nav__icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gift-nav__studio {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 16px;
  margin-right: 16px;
}

.gift-nav__label {
  position: absolute;
  top: auto;
  right: 0;
  bottom: -7px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  color: rgba(105, 98, 116, .43);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: .045em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.gift-nav__label::before,
.gift-nav__label::after {
  width: 28px;
  height: 1px;
  flex: 0 1 28px;
  background: linear-gradient(90deg, transparent, rgba(137, 128, 148, .24));
  content: "";
}

.gift-nav__label::after {
  background: linear-gradient(90deg, rgba(137, 128, 148, .24), transparent);
}

.gift-nav__studio::before {
  position: absolute;
  top: -8px;
  bottom: -8px;
  left: -9px;
  width: 1px;
  border-radius: 999px;
  background: linear-gradient(to bottom, transparent, rgba(137, 119, 151, .32) 24%, rgba(137, 119, 151, .32) 76%, transparent);
  box-shadow: 0 0 6px rgba(196, 135, 178, .12);
  content: "";
}

.gift-nav__studio::after {
  position: absolute;
  top: -8px;
  bottom: -8px;
  right: -9px;
  width: 1px;
  border-radius: 999px;
  background: linear-gradient(to bottom, transparent, rgba(137, 119, 151, .32) 24%, rgba(137, 119, 151, .32) 76%, transparent);
  box-shadow: 0 0 6px rgba(196, 135, 178, .12);
  content: "";
}

/* Compact landing navigation: one music item followed by the Ai-studio mark. */
body.gift-home .gift-nav__studio::before,
body.gift-home .gift-nav__studio::after {
  display: none;
}

body.gift-home .gift-nav__divider {
  width: 1px;
  height: 22px;
  flex: 0 0 1px;
  border-radius: 999px;
  background: linear-gradient(to bottom, transparent, rgba(137, 119, 151, .36) 22%, rgba(137, 119, 151, .36) 78%, transparent);
}

body.gift-home .gift-nav__ai-brand {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border-radius: 10px;
  color: #71647e;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease;
}

body.gift-home .gift-nav__ai-brand:hover {
  background: rgba(239, 232, 244, .56);
  color: #453d58;
}

body.gift-home .gift-nav__ai-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1230px) {
  body.gift-home .gift-nav .gift-nav__item {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    font-size: 13px;
  }

  body.gift-home .gift-nav .gift-nav__item--gift {
    margin-bottom: 3px;
  }

  body.gift-home .gift-nav > .gift-nav__studio {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    margin-right: 0;
    padding-top: 0;
  }

  body.gift-home .gift-nav .gift-nav__label {
    position: static;
    order: 2;
    display: flex;
    min-height: 32px;
    align-items: center;
    justify-content: flex-start;
    padding: 3px 12px 8px;
    font-size: 11px;
  }

  body.gift-home .gift-nav .gift-nav__label::before,
  body.gift-home .gift-nav .gift-nav__label::after,
  body.gift-home .gift-nav > .gift-nav__studio::before,
  body.gift-home .gift-nav > .gift-nav__studio::after {
    display: none;
  }

  body.gift-home .gift-nav__divider {
    width: auto;
    height: 1px;
    margin: 5px 12px;
    background: linear-gradient(90deg, transparent, rgba(137, 119, 151, .3), transparent);
  }

  body.gift-home .gift-nav__ai-brand {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
  }
}

@media (min-width: 761px) and (max-width: 1230px) {
  body.gift-home .gift-nav > .gift-nav__studio {
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }

  body.gift-home .gift-nav__divider {
    width: 1px;
    height: 22px;
    margin: 0;
  }

  body.gift-home .gift-nav__ai-brand {
    width: auto;
    min-height: 36px;
    padding: 0 9px;
  }
}
