.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__oos,
  .pdp-price__in-store-only {
    border-bottom: 1px solid $gray;
  }

  .pdp-price__oos {
    border-top: 1px solid $gray;
    margin-bottom: 8px;
  }

  .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__value-out-of-of-stock {
    padding-bottom: 10px;

    &_extended {
      padding: 10px 0;
    }
  }

  .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;
  }

  .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 {
    flex-flow: wrap;
  }

  .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;
        }
      }
    }
  }

  .main-price {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: baseline;

    &__value {
      width: auto;
      margin-right: 6px;
      white-space: nowrap;
    }

    &__vat {
      font-size: 1rem;
      font-weight: 500;
    }
  }

  .pdp-price__quantity-calculator {
    margin-top: 8px;
  }
}

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

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

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

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

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