header {
  padding: 20px 0;
  background-color: black;
}

header .navbar {
  width: 100%;
  min-height: 82px;
  padding: 0px 12px 0px 24px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50px;
  background: #f8f1e7;
}

header .navbar-brand {
  flex-shrink: 0;
  margin-right: 24px;
  padding: 0;
}

header .navbar-brand img {
  display: block;
  width: 200px;
  height: 94px;
  max-width: 100%;
  object-fit: cover;
}

header .navbar-collapse {
  min-width: 0;
}

header .navbar-nav {
  align-items: center;
  gap: clamp(12px, 1.8vw, 30px);
  margin-bottom: 0;
  padding-left: 0;
}

header .navbar-nav .nav-link {
  padding: 10px 0;
  color: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.header-button-outline {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  margin-left: 24px;
  padding: 7px 7px 7px 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.header-button-outline:hover,
.header-button-outline:focus-visible {
  color: inherit;
}

.header-btn-text {
  line-height: 1.2;
}

.header-button-outline .button-arrow {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: currentColor;
}

.header-button-outline .button-arrow svg {
  color: #fff;
}

.custom-toggler {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  box-shadow: none !important;
}

.custom-toggler .line {
  display: block;
  width: 21px;
  height: 2px;
  margin: 6px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease;
}

.custom-toggler[aria-expanded='true'] .line:first-child {
  transform: translateY(4px) rotate(45deg);
}

.custom-toggler[aria-expanded='true'] .line:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  header .navbar {
    padding-left: 18px;
  }

  header .navbar-brand {
    width: 160px;
    margin-right: 14px;
  }

  header .navbar-nav {
    gap: 12px;
  }

  header .navbar-nav .nav-link {
    font-size: 13px;
  }

  .header-button-outline {
    gap: 10px;
    min-height: 50px;
    margin-left: 14px;
    padding-left: 15px;
    font-size: 13px;
  }

  .header-button-outline .button-arrow {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 991.98px) {
  header {
    padding: 12px 0;
  }

  header .navbar {
    min-height: 70px;
    padding: 10px 12px 10px 18px;
    border-radius: 34px;
  }

  header .navbar-brand {
    width: min(170px, calc(100% - 70px));
    margin-right: 12px;
  }

  header .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
    padding: 18px 4px 6px;
  }

  header .navbar-collapse.show {
    display: block;
  }

  header .navbar-nav {
    align-items: stretch;
    gap: 0;
    margin: 0 0 16px !important;
  }

  header .navbar-nav .nav-link {
    display: block;
    padding: 10px 8px;
    white-space: normal;
  }

  .header-button-outline {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 575.98px) {
  header .container {
    padding-right: 12px;
    padding-left: 12px;
  }

  header .navbar {
    padding-left: 14px;
  }

  header .navbar-brand {
    width: min(145px, calc(100% - 62px));
  }

  .custom-toggler {
    width: 44px;
    height: 44px;
  }

  .header-button-outline {
    min-height: 52px;
    padding-left: 18px;
    font-size: 14px;
  }

  .header-button-outline .button-arrow {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }
}
