.product_info {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;

  padding: 3rem;
}

.product_info img {
  height: 30rem;
  width: auto;
}

/* Number Clicker */

.reset-btn {
  cursor: pointer;
  color: var(--Orange_main);
  border: 2px solid var(--Orange_main);
  background-color: transparent;
  font-family: Bebas;
  display: inline-block; /* Ensure it doesn't take full width */
  width: auto; /* Set width to auto */
  padding: 0.5rem 2rem;
  font-size: 24px;
}

.payment_option img {
  height: 2rem;
  width: auto;
}

.back {
  display: flex;
  align-items: center;
  width: 100%;
  height: auto;
  justify-content: center;
  margin: 5rem 0rem;
}

.back p {
  font-size: 24px;
  font-family: Bebas;
  color: var(--Navy_main);
}

.product_details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 3rem;
}

.product_details > * {
  margin-bottom: 1.5rem; /* Add more bottom margin to all direct children */
}

.product_details h1 {
  font-family: Bebas;
  color: var(--Navy_main);
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

.product_details h3 {
  margin-bottom: 2rem;
  font-size: 2rem;
  font-family: Bebas;
}

#price {
  color: var(--Orange_main);
}

.product_details p {
  height: auto;
  font-family: Bebas;
  font-size: 1.2rem;
}

.payment_option {
  display: flex;
  align-items: center;
  width: 40%; /* Adjust width as needed */
  margin-bottom: 1.5rem;
}

.payment_option p {
  font-family: Bebas;
  font-size: 1.2rem;
  color: rgb(107, 106, 106);
  white-space: nowrap;
  justify-content: space-between;
}
.payment_option p span {
  margin-left: 1rem;
  white-space: nowrap;
  color: var(--Orange_main);
  text-decoration: underline;
  cursor: pointer;
}

.sub_text_thing p {
  width: 75%;
}

.close_img {
  display: none;
}

@media only screen and (max-width: 850px) {
  .product_info {
    flex-direction: column;
    align-items: center;
  }

  /* .product_info img {
    margin-bottom: 1.5rem; 
  } */

  .product_details {
    margin-left: 0; /* Reset the left margin for details in smaller view */
    /* align-items: center;  */
  }

  .payment_option {
    width: 100%; /* Adjust width to span the full container */
  }

  /* Reset other styles as needed */
  .product_details h1 {
    font-size: 3.5rem;
  }
  .close_img {
    display: block;
  }

  .open_img {
    display: none;
  }

  .payment_option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%; /* Adjust width to your preference */
    margin-bottom: 1.5rem;
  }

  /* .payment_option img {
    margin-right: 1rem; /* Add margin to the right side of the image */
}

@media only screen and (max-width: 900px) {
  .payment_option {
    width: 50%;
  }
}
