/* Fixed link to the online shop */
.purchase-button {
  position: fixed;
  z-index: 25;
  top: 50%;
  left: 0;
  width: 65px;
  min-height: 0;
  padding: 30px 20px 27px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: translateY(-50%);
  background: #718d69;
  border: 0;
  border-radius: 0 10px 10px 0;
  box-shadow: none;
  color: #fff;
  text-decoration: none;
  transition: background-color .2s ease;
}

.purchase-button:hover,
.purchase-button:focus-visible {
  background: #8ca482;
}

.purchase-button:focus-visible { outline: 3px solid #253b25; outline-offset: 3px; }

.purchase-button__icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.purchase-button span {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--jp);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.2em;
  line-height: 1.2;
}

.menu-open .purchase-button { z-index: 21; }

@media (max-width: 1023px) {
  .purchase-button {
    top: auto;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: 16px;
    width: auto;
    padding: 10px 16px;
    flex-direction: row;
    gap: 8px;
    transform: none;
    border-radius: 999px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .2);
  }

  .purchase-button:hover,
  .purchase-button:focus-visible { transform: none; }
  .purchase-button__icon { width: 25px; height: 25px; }
  .purchase-button span { writing-mode: horizontal-tb; font-size: 14px; letter-spacing: .08em; }
}
