@import '../../../core/src/style/variables';

.ListItem {
  &-pricelist {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: $font-size-s;
    overflow: hidden;
    display: block;

    &-range,
    &-price {
      text-align: left;
      width: 50%;
      display: inline-block;
      float: left;
    }

    &-price {
      text-align: right;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    &-hidden {
      display: none;
    }
  }

  &-priceRange {
    &.is-selected {
      font-weight: bold;
    }
  }

  &-viewMore {
    display: block;
    text-align: center;
    clear: both;
    line-height: 10px;

    .BomIcon {
      font-size: 10px;
      display: inline-block;
      &.is-open {
        display: inline-block;
        transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -o-transform: rotate(180deg);
      }
    }
  }

  &-buyingOptions {
    display: inline-block;
    font-size: 12px;
    margin-top: 0.5em;
  }
}

.tiered-pricing {
  color: $green;
}

.Price {
  .BomIcon--error {
    display: inline-block;
  }
}

.default-price {
  .ListItem-buyingOptions {
    text-decoration: underline;

    &:not(.color-red) {
      color: $lochmara;
      padding-bottom: 5px;
    }
  }

  wpt-pricing {
    padding: 0;
    margin: 0;
  }
}
