.pdp-price-container {
  .pdp-price {
    padding: 20px;
    background: $gray-bg;

    &__calculator-wrapper {
      color: $blue;
      display: inline-block;
      font-weight: 500;

      &:hover {
        color: $blue-dark;
      }
    }
  }

  .pdp-price__from {
    font-size: .6em;
    margin-right: 4px;
  }

  .pdp-price-out-of-stock {
    padding: 20px;
    margin-bottom: 20px;
    background: $gray-bg;
  }

  .pdp-price__value,
  .pdp-price__oos,
  .pdp-price__in-store-only {
    border-bottom: 1px solid $gray;
  }

  .pdp-price__value {
    padding-bottom: 10px;
  }

  .pdp-price__value_extended,
  .pdp-price__oos,
  .pdp-price__in-store-only {
    padding: 10px 0;

    p {
      margin-bottom: 0;
    }
  }

  .pdp-price__oos {
    strong {
      font-size: 1.1em;
    }

    .btn {
      margin-bottom: 10px;
    }
  }

  .pdp-price__in-store-only {
    p {
      font-size: 1.2em;
      font-weight: bold;
    }
  }

  .schinstoreonly {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 0;
  }

  .pdp-price__value-out-of-of-stock {
    padding-bottom: 10px;

    &_extended {
      padding: 10px 0;
    }
  }

  .schoutstock {
    font-weight: 700;
    font-size: 1.1em;
  }

  .pdp-price__old-price,
  .pdp-price__remainder,
  .pdp-price__offer {
    @include heading-5;
  }

  .pdp-price__old-price,
  .pdp-price__new-price,
  .pdp-price__offer,
  .pdp-price__availability,
  .quantity-label {
    font-weight: bold;
  }

  .pdp-price-sale__value .pdp-price__old-price {
    color: $warm-grey;
    font-weight: 500;

    s {
      text-decoration-color: $line-through;
    }
  }

  .pdp-price-sale__value .pdp-price__new-price {
    color: $red;
  }

  .pdp-price__availability,
  .quantity-label {
    @include normal-text;
  }

  .delivery-link,
  .link-secondary {
    font-weight: 500;
  }

  .pdp-price__new-price {
    font-size: 2.125rem;
    line-height: 2.25rem;
    padding: 8px 0;
    color: $blue-dark;
  }

  .pdp-price__remainder {
    font-weight: normal;
  }

  .pdp-price__offer,
  .pdp-price__items {
    color: $red;
  }

  .pdp-price__items {
    @include info-text;
    line-height: 1.25rem;
  }

  ul {
    padding-left: 0;
    margin-bottom: 0;
  }

  li {
    list-style: none;

    &::before {
      content: '· ';
      font-size: 1rem;
      font-weight: bold;
      position: relative;
      top: 2px;
    }
  }
  //custom dots for list items

  .pdp-price__availability,
  .schinstock {
    color: $green;
    padding-bottom: 8px;
  }

  .schinstock {
    font-weight: 700;
  }

  .delivery-link {
    padding-right: 12px;

    a {
      color: $gray-dark;
    }
  }

  .quantity-label {
    padding-right: 17px;
  }

  .tbx_quantity {
    margin-right: 15px;
  }

  .pdp-price__actions {
    text-align: center;
  }

  .pdp-price__control-holder,
  .pdp-price__control-installation {
    padding-top: 20px;

    &.control-holder__big-wins {
      padding-bottom: 15px;
      border-bottom: 1px solid $gray;
    }

    p {
      margin-bottom: 10px;
      font-weight: bold;
    }
  }

  .pdp-price__size {
    margin-top: 5px;
    position: relative;

    .form-row {
      margin-bottom: 0;
    }

    .pdp-price__notification {
      position: absolute;
      z-index: 9;
      padding: 5px 10px;
      font-size: 12px;
      font-weight: 800;
      border: 1px solid;
      color: $red;
      top: -25px;
      left: 30px;

      &::before {
        content: '';
        width: 10px;
        height: 10px;
        border: 1px solid;
        transform: rotate(45deg);
        position: absolute;
        left: 10px;
        bottom: -5px;
        z-index: 100;
        border-top-color: transparent;
        border-left-color: transparent;
      }

      &.error {
        background-color: $error-bg;
        border-color: $red;

        &::before {
          background-color: $error-bg;
          border-right-color: $red;
          border-bottom-color: $red;
        }
      }

    }
  }
}

.pdp-price__call-to-actions {
  display: flex;
  flex-direction: column;
}

@include media-breakpoint-up(md) {
  .pdp-price-container {
    .pdp-price__size {
      .pdp-price__notification {
        top: -42px;
        left: 10px;
      }
    }
  }
}

@include media-breakpoint-down(lg) {
  .pdp-price-container {
    .pdp-price__size {
      .pdp-price__notification {
        top: -25px;
        left: 0;
      }
    }
  }
}

@include media-breakpoint-up(xl) {
  .pdp-price-container {
    .pdp-price__size {
      .pdp-price__notification {
        top: -25px;
        left: 30px;
      }
    }
  }
}

@include media-breakpoint-only(md) {
  .pdp-price-container {
    .pdp-price {
      padding: 20px 45px;
    }

    .pdp-price-out-of-stock {
      padding: 20px 45px;
    }
  }
}

@include media-breakpoint-down(sm) {
  .pdp-price-container {
    .pdp-price {
      padding: 20px 15px;
    }

    .pdp-price-out-of-stock {
      padding: 20px 15px;
    }

    .pdp-price__size {
      .form-row__field {
        padding: 0;
      }
    }
  }

  .pdp-price__call-to-actions {
    flex-direction: column-reverse;
  }
}

@include media-breakpoint-down(xs) {
  .pdp-price-container {
    // Stick background to the edges
    margin: 0 -15px;
  }
}
