.dlm-site-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 7px 14px;
  box-sizing: border-box;
  border: 1px solid #e88c475e;
  border-radius: 9px;
  background: linear-gradient(135deg, #362318, #1b1511 82%);
  color: #ffe2c6;
  font: 700 13px/1 "Segoe UI", system-ui, sans-serif;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 2px 14px #f2833b14, inset 0 1px #ffcd9b19;
  transition: background-color .18s, border-color .18s, box-shadow .18s;
}

.dlm-site-link:hover,
.dlm-site-link:focus-visible {
  border-color: #ffab64;
  color: #fff2e5;
  box-shadow: 0 3px 18px #ff944341, inset 0 1px #ffcd9b22;
}

.dlm-site-link:focus-visible {
  outline: 2px solid #ffc18d;
  outline-offset: 3px;
}

.dlm-site-link img {
  display: block;
  width: 23px;
  height: 23px;
}

.dlm-site-link .dlm-arrow {
  color: #ffb274;
  font-size: 14px;
}

.dlm-site-header > .dlm-site-link {
  min-width: 156px;
}

.dlm-account-header > .dlm-site-link {
  margin-inline-start: auto;
}

.dlm-account-header > .header-label {
  margin-inline-start: 0;
}

@media (min-width: 1770px) {
  .dlm-site-header > .dlm-site-link {
    position: absolute;
    left: calc(100% - 25px);
    width: 174px;
  }
}

@media (min-width: 861px) and (max-width: 1180px) {
  .dlm-site-header {
    padding-inline: 22px;
    gap: 15px;
  }

  .dlm-site-header > nav {
    gap: 13px;
  }

  .dlm-site-header > .dlm-site-link {
    min-width: auto;
    padding-inline: 10px;
  }

  .dlm-site-header > .dlm-site-link .dlm-arrow {
    display: none;
  }
}

@media (min-width: 861px) and (max-width: 990px) {
  .dlm-site-header > .dlm-site-link .dlm-label {
    display: none;
  }
}

@media (max-width: 860px) {
  .dlm-site-header {
    justify-content: space-between;
    gap: 14px;
  }

  .dlm-site-header > .menu-toggle {
    display: block;
    order: 3;
  }

  .dlm-site-header > nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 24px;
    flex-direction: column;
    background: #1c1511;
    border-bottom: 1px solid #724629;
  }

  .dlm-site-header > nav.open {
    display: flex;
  }

  .dlm-site-header > .dlm-site-link {
    min-width: auto;
  }

  .dlm-account-header {
    gap: 16px;
  }
}

@media (max-width: 540px) {
  .dlm-site-header,
  .dlm-account-header {
    padding-inline: 12px;
    gap: 9px;
  }

  .dlm-site-header > .dlm-site-link,
  .dlm-account-header > .dlm-site-link {
    min-width: 44px;
    min-height: 44px;
    padding: 6px;
  }

  .dlm-site-link .dlm-label,
  .dlm-site-link .dlm-arrow {
    display: none;
  }
}

@media (max-width: 350px) {
  .dlm-site-header > .header-download {
    padding-inline: 8px;
    gap: 4px;
  }

  .dlm-site-header > .brand {
    gap: 7px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dlm-site-link {
    transition: none;
  }
}
