.product {
  //margin-bottom: 1rem;
}

.iso--product-box {

  padding-bottom: 60px;
  height: 100%;

  .button_container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .image_container {
    //height:400px;
    @include aspect-ratio(1,1);
  }

  &.variant-v1 {
    background-color: var(--bs-white);
    height: 100%;
    transition: all 0.3s ease;

    &:hover {
      transform: scale(1.01);
      box-shadow: $box-shadow;
    }

    form {
      height: 100%;

      .formbody {
        height: 100%;
        //display: flex;
        //flex-flow: column wrap;

        .image_container {
          padding: 1rem 1rem 2rem 1rem;
          margin: 0px;
        }

        .content_container {
          border-top: calc(#{$grid-gutter-width} / 4) solid var(--bs-gray-200);
          padding: 1rem 1rem 2rem 1rem;
          display: flex;
          flex-flow: column wrap;
          flex: 1;

          h3 {
            margin-bottom: 0px;

            a {
              text-decoration: none;
              @include font-size(18px);
              color: var(--bs-body-color);
            }
          }

          .offer {
            flex: 1;
            display: flex;
            flex-flow: column wrap;
            justify-content: flex-end;

            .price {
              margin-top: 1.25rem;
              line-height: 1;
              color: var(--bs-primary);
              @include font-size(30px);
              font-weight: $font-weight-semibold;
            }

            .tax-note {
              @include font-size(10px);
              margin-top: 5px;
            }
          }

          .details {
            margin-top: 1.5rem;
          }
        }

        .submit_container {
          margin-top: 0.5rem;

          .submit {
            //@extend .btn, .btn-primary;
            //@extend .btn-lg;
          }
        }
      }
    }
  }

  &.variant-v2 {
    text-align: center;
    font-size: .85rem;

    a {
      text-decoration: none;
    }

    h3 {
      margin-bottom: .5rem;
      min-height: rfs-value(60px);
    }

    .price {
      margin: 0.5rem 0 0.25rem;

      span {
        display: inline-block;
      }
    }

    .baseprice {
      margin-bottom: 5px;
    }

    .button_container {
      margin-top: 1.25rem;

      button + button {
        margin-left: 1rem;
      }
    }
  }

  &.variant-slider {
    h3 {
      text-align: center;

      a {
        text-decoration: none;
        @include font-size(18px);
        color: var(--bs-body-color);
      }
    }
  }
}