@charset "utf-8";

#header {
  .inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    height: inherit;
    text-align: center;
  }

  @media screen and (min-width: 1100px) {
    height: 170px;

    nav {
      margin-left: auto;
    }
  }

  ul {
    max-width: 300px;
    width: 100%;
    margin-left: auto;
    padding: 0;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    -webkit-text-orientation: upright;
    text-orientation: upright;
    list-style: none;
    text-align: start;

    @media screen and (max-width: 1099px) {
      display: flex;
      flex-direction: column;
      flex-wrap: nowrap;
      justify-content: space-evenly;
    }

    @media screen and (min-width: 1100px) {
      margin-right: 1em;
    }

    &::before,
    &::after #header li:not(.online-shop)::after {
      display: none;
    }
  }

  li {
    padding: 30px 0;
    white-space: nowrap;

    @media screen and (max-width: 320px) {
      line-height: 1;
    }

    @media screen and (max-width: 1099px) {
      padding: 1em 0;
    }

    @media screen and (min-width: 1100px) {
      line-height: 2.66;
    }
  }

  .headline p {
    display: none;

    @media screen and (min-width: 1100px) {
      display: inline-block;
    }
  }
}

#header .online-shop {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  width: 70px;
  height: 100%;
  padding: 30px 0;
  background: #f04b14;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  -webkit-text-orientation: upright;
  text-orientation: upright;
  text-align: start;
  line-height: 1.55;

  @media screen and (max-width: 1099px) {
    right: 0;
    width: 50px;
    padding: 1em 0;
    font-size: 0.9rem;
  }

  &::after {
    content: "";
    position: absolute;
    bottom: 1px;
    left: 0;
    display: block;
    width: 70px;
    height: 64px;
    background-image: url(../../img/cart_ribbon.svg);
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(100%);

    @media screen and (max-width: 1099px) {
      width: 50px;
    }
  }

  @media screen and (max-width: 1099px) {
    img {
      bottom: -55px;
    }
  }
}

#drawer {
  position: relative;
  font-size: 18px;

  @media screen and (max-width: 1099px) {
    width: 79%;
    margin-left: auto;
    padding-right: 50px;
    font-size: 15px;
  }

  @media screen and (min-width: 1100px) {
    height: inherit;
    padding-right: 70px;
  }
}

@media screen and (orientation: landscape) {
  footer .address dt::after {
    display: none;
  }

  footer .secondary > .inner {
    width: 24.125em;
    height: 9.375em;
  }
}

@media screen and (min-width: 1100px) {
  footer .secondary {
    li.no-caret {
      position: absolute;
      bottom: 0;
      right: 0;
    }
  }
}
