.closeMyAccountButton,
.showMyAccountButton {
  cursor: pointer;
}

.my-account-flyout {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999999;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s linear;
}

.my-account-wrapper {
  position: absolute;
  top: 0;
  right: -30vw;
  height: 100%;
  width: 30vw;
  background: #fff;
  transition: all 0.5s ease-in-out;
}

.my-account-header {
  padding: 20px 5%;
  display: flex;
  flex-wrap: wrap;
  flex-grow: 1;
  align-items: center;
  justify-content: space-between;
}

.my-account-header h2 {
  width: 100%;
}

.my-account-links {
  padding: 20px 5%;
}

.my-account-flyout .my-account-wrapper .my-account-header .my-account-heading {
  display: flex;
}

.my-account-flyout
  .my-account-wrapper
  .my-account-header
  .my-account-heading
  .icon-account {
  height: 20px;
  width: 18px;
  margin-right: 10px;
}

.my-account-link-item a {
  position: relative;
}

.my-account-link-item a:before {
  width: 22px;
  height: 17px;
  background-image: url(../images/icon-arrow.svg);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 50%;
  right: 0;
  content: "";
  transform: translateY(-50%);
}

#showmycartButton {
  background-image: none !important;
}

#showmycartButton svg {
  width: 20px;
  margin-top: -3px;
}

.showmycartButton .countWrap .count > .count {
  box-shadow: 0 0 2px;
}

@media (max-width: 1024px) {
  .my-account-wrapper {
    position: absolute;
    top: 0;
    right: -80vw;
    height: 100%;
    width: 80vw;
    background: #fff;
    transition: all 0.5s ease-in-out;
  }
}

@media (max-width: 590px) {
  .my-account-wrapper {
    position: absolute;
    top: 0;
    right: -98vw;
    height: 100%;
    width: 90vw;
    background: #fff;
    transition: all 0.5s ease-in-out;
  }
}
