.dynamicPopup {
  .product-card {
    border: 1px solid darkgray;
    border-radius: 12px;
    min-width: 100%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  .product-card input[type="checkbox"] {
    cursor: pointer;
    width: 23px;
    height: 23px;
  }

  .cardLayout {
    margin: 12px 0 0 0;
  }

  .product-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .product-header {
    padding-bottom: 5px;
    border-bottom: 1px solid;
    min-height: 84%;

    .prod-card-link {
      font-size: 13px;
      padding: 0 10px;
    }

    .product-card-image img {
      width: 100%;
      min-height: 20rem;
      max-height: 20rem;
      object-fit: cover;
      border-radius: 12px 12px 0 0;
    }

    .product-card-price {
      display: flex;
      justify-content: space-between;
      margin: 5px 0 0 0;
      padding: 0 10px;
      font-size: 13px;
    }
  }

  .product-card-checkbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-height: 68px;
  }

  .card-checkbox {
    margin-left: 10px;
    cursor: pointer;
  }

  @media (min-width: 768px) {
    .product-card {
      min-width: 48%;
      max-width: 48%
    }
  }

  @media (min-width: 784px) {
    .product-card {
      min-width: 48.5%;
      max-width: 48.9%
    }
  }

  @media (min-width: 1280px) {
    .product-card {
      min-width: 32%;
      max-width: 32.19%;
    }
  }

  @media (min-width: 1438px) {
    .product-card {
      min-width: 32.33%;
      max-width: 32%;
    }
  }

  @media (min-width: 1610px) {
    .product-card {
      min-width: 24%; /* 4 cards per row for large screens */
      max-width: 24%;
    }
  }

  @media (min-width: 1791px) {
    .product-card {
      min-width: 24%; /* 4 cards per row for large screens */
      max-width: 24.10%;
    }
  }
}

