.product-header-subnav {
  order: 1;
  z-index: 10;

  @media all and (max-width: 991px) {
    .tui-subnav-section {
      margin: 0;
    }

    .hotel-sub-nav-bar {
      height: 60px;
      align-items: center;
      justify-content: center;
      display: flex;

      .pictogram {
        position: absolute;
        right: $margin-double;
        color: $color-white;
      }
    }

    .sub-navigation {
      display: none;
      visibility: hidden;
      opacity: 0;
      transition: visibility 0s, opacity .5s linear;

      &.open {
        display: flex;
        flex-direction: column;
        visibility: visible;
        opacity: 1;
        position: absolute;
        top: $margin-quadruple;
        left: -$margin-double;
        width: 100%;
        background: inherit;
      }
    }

    .tui-container {
      width: 100%;
    }
  }
}

.hotel-sub-nav-toggler {
  text-transform: uppercase;
  color: $color-white;
  font-weight: bold;
}

.tui-subnav-section {
  background: $color-blue-400;
  box-shadow: $box-shadow-card;
  border-radius: $border-radius-double;
  overflow: visible;
  padding: 0;
  margin: 0 auto $margin-double;
  position: relative;
  z-index: 1;
  order: 5;

  &:nth-child(1),
  .tui-hero & {
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    padding: 0;
  }

  &.sticked {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    .sub-navigation {
      @extend .tui-container;
    }
  }
}

.sub-navigation-heading {
  @extend %flexbox-row;
  @include font-size(14);
  background: $color-blue-300;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  padding: $margin-normal;
  margin: 0;
  color: $color-white;

  @include breakpoint(sm) {
    display: none;
  }
}

.sub-navigation {
  @extend %flexbox-column;
  margin: 0 $margin-double;
  color: $color-white;
  display: none;

  @include breakpoint(sm) {
    display: flex;
    flex-flow: row wrap;
  }

  a {
    @extend %flexbox-row;
    @include font-size(16);
    font-weight: bold;
    color: $color-white;
    padding: $margin-normal;

    @include breakpoint(sm) {
      @include font-size(18);
      padding: $margin-double $margin-normal;
    }
  }

  .pictogram {
    vertical-align: -.35em;
    margin-right: $margin-half;
  }
}
