/*
*
*
*/

.additional-products-container {
  margin-bottom: 2em;
  /* display: none; */
}

#additionals-title {
  margin-bottom: 1em;
}

.additional-container {
  display: grid;
  grid-template-columns: 1fr 46px 10fr 2fr 66px;
  align-items: center;
  margin: -1px 0 0 -1px;
  padding: 0.3rem;
  border: 1px solid #ebebeb;
  font-size: 0.9em;
}

.additional-container-for-variation {
  display: none;
}

.additional-label {
  margin-left: 0.5em;
}

.additional-price {
  margin-left: 0.5em;
}

.additional-price :not(del) .woocommerce-Price-amount,
.additional-price>.woocommerce-Price-amount {
  color: var(--global-palette1, red);
  font-weight: bold;
}

.additional-price del .woocommerce-Price-amount {
  opacity: 0.7;
}

.additional_info_button {
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  justify-self: center;
}

.additional_info_button>img {
  width: 0.9em;
  height: 0.9em;
  display: inline-block;
  margin-left: 0.5em;
}

.additional_info_button>small {
  white-space: nowrap;
  margin-left: 0.5em;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.8);
  width: 100vw;
  height: 100%;
  z-index: 99;
  align-items: center;
  justify-content: center;
}

.additional_info_modal {
  padding: 2em;
  box-shadow: 0 0 3em rgba(0, 0, 0, 0.2);
  background: white;
  max-width: 36em;
  max-height: 100%;
  overflow-y: auto;
}

.modal-close {
  float: right;
  cursor: pointer;
}

.modal-product-image {
  margin-bottom: 1em;
}

.additional-container img.pwccs-image {
  display: inline-block;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

@media(max-width:768px) {
  .additional-container {
    grid-template-columns: 1fr 46px 10fr 2fr 46px;
  }

  .additional_info_button>small {
    display: none;
  }

  .additional_info_button>img {
    width: 1.1em;
    height: 1.1em;
  }
}