#sved-product-button {
  display: none;
  order: 1;
}

#sved-rx-only-product-button{
  display: none;
  order: 2;
}

.rx-by-sved {
  display: flex;
  align-items: center;
  justify-content: center;
  order: 0;
  img {
    width: 100%;
  }
}

#sved-need-prescription{
  display: none;
  align-items: center;
  justify-content: center;
}

.sved-product-add-to-cart-buttons {
  grid-template-columns: 1fr 1fr;
  grid-gap: 15px;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 5; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100vh; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 65%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.sved-badge-group {
  display: flex;
  flex-wrap: wrap;
}

.sved-style-description{
  margin: 1rem 5px;
}

.sved-badge {
  border: 1px solid #d9d9d9;
  border-radius: 15px;
  background-color: #d9d9d9;
  padding: 1px 14px;
  margin: 5px;
  cursor: pointer;
}


.sved-badge.selected {
  border: 1px solid #000;
  background-color: #fff;
}

.sved-add-to-cart-wrapper{
  margin-top: -1.5rem;
}

.sved-add-to-cart-action {
  margin-top: 1em;
  display: flex;
  position: relative;
}

.sved-add-to-cart-action button, .sved-add-to-cart-action .crafted-by-sved {
  display: flex;
  width: 50%;
}

#sved-product-modal .button-content {
  width: 100%;
}

.crafted-by-sved img {
  position: absolute;
  right: 0px;
  bottom: 8px;
}

.sved-modal-wrapper{
  position: absolute;
  width: 100%;
}

.sved-rx-confirmation-action div {
  display: flex;
  justify-content: space-between;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  padding: 2rem;
  margin: 1rem;
}

.sved-rx-confirmation-action div:last-child{
  margin: 1rem 1rem 2.5rem;
  vertical-align: middle;
}

.sved-rx-confirmation-action div:hover, .sved-rx-confirmation-action div:last-child:hover{
  cursor: pointer;
  border-color: #000;
}

.sved-rx-confirmation-action div .sved-rx-confirmation-action-title{
  font-weight: bold;
}

@media (max-width: 480px) {
  .sved-rx-confirmation-action div{
    display: block;
  }
}
