#wc-popup-overlay {
  display: none;
}

#wc-popup-content img {
  max-height: 50px;
  margin-right: 8px;
}

/* Hide colon for the selected version wrapper only */
/* Popup overlay: full screen, semi-transparent */
#wc-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Popup content box: centered with padding, border-radius, shadow */
#wc-popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  text-align: left;
}

/* Popup buttons container */
#wc-popup-content .button {
  cursor: pointer;
}

#wc-popup-content button {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
}

#wc-popup-content button.button-primary {
  background-color: #0073aa;
  color: #fff;
}

#wc-popup-content button.button:hover {
  opacity: 0.9;
}

/* Option styling */
#wc-popup-form label {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 8px;
  cursor: pointer;
}

#wc-popup-form label input {
  margin: 0 14px 0 0;
  opacity: 0;
  position: absolute;
}

#wc-popup-form img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}

#wc-version-popup .button {
  cursor: pointer;
}

#wc-version-popup .button:hover {
  background-color: #ed1c24;
  color: #fff;
}

/* Popup overlay */
#wc-version-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(0, 0, 0, 0.5);
}

/* Popup container */
#wc-version-popup {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #585757;
  border-radius: 8px;
  width: 100vw;
  max-width: 550px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Title */
#wc-version-popup h3 {
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 14px;

}

/* Labels */
#wc-version-popup label {
  margin-bottom: 0px;
  font-size: 16px;
  color: #fff;
  line-height: 1.2;
  flex-direction: column;
  width: 100%;
  max-width: 50%;
  padding: 16px;
}

/* Images */
#wc-version-popup img {
  width: 100%;
  height: 100%;
  max-width: 150px;
  margin-top: 0;
}

/* Actions row */
.wc-popup-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

/* Buttons */
#wc-popup-cancel,
#wc-popup-confirm {
  min-width: 100px;
}

#wc-popup-confirm {
  min-width: 120px;
}

#wc-version-popup .wc-popup-notice {
  color: red;
  margin-bottom: 10px;
}

.wc-popup-version-types {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 24px;
}

#wc-version-popup label.selected {
  background: #E51515;
  border-color: #E51515;
  color: #fff;
  position: relative;
}

#wc-version-popup label.selected .checkmark {
  position: absolute;
  width: 100%;
  max-width: 24px;
  height: 24px;
  right: 16px;
  display: block;
}

#wc-version-popup .checkmark {
  display: none;
}

/* single product price and size to chart */
.single-product .woo_sc_frontend_btn{
    display: none;
}
.product-type-variable p.price.partspage {
    display: none;
}
.product-type-simple p.price.partspage{
  display: none;
}
.product-type-simple .wcpd-custom-price p.price.partspage {
    display: block;
}
.product-type-variable form.variations_form .partspage{
   display: block;
} 

/* My Account Order history */
/* .woocommerce-account .woocommerce-MyAccount-content section.woocommerce-order-details ul.wc-item-meta {
    margin: 0;
    padding: 0;
} */

/* My Account Order History */
.woocommerce-account .woocommerce-MyAccount-content section.woocommerce-order-details ul.wc-item-meta,
.woocommerce-account .woocommerce-MyAccount-content section.woocommerce-order-details p {
    margin: 0;
    padding: 0;
}
/* .woocommerce-account .woocommerce-table__product-name p {
    display: none;
}
.woocommerce-account .woocommerce-table__product-name ul.wc-item-meta p {
    display: block;
} */


@media (max-width: 1024px) {

  #wc-version-popup h3 {
    font-size: 20px;
    margin: 0 0 8px;
  }

}

@media (max-width: 767px) {

  #wc-version-popup {
    max-width: 90%;
  }

  #wc-version-popup .button {
    font-size: 14px;
  }

}

@media (max-width: 576px) {

  #wc-version-popup img {
    max-width: 100px;
  }

  #wc-version-popup label {
    font-size: 14px;
  }

  .wc-popup-version-types {
    gap: 10px;
  }

  #wc-version-popup label {
    padding: 10px;
  }

  #wc-version-popup label.selected .checkmark {
    max-width: 14px;
    height: 14px;
    right: 10px;
  }

  #wc-version-popup {
    padding: 14px;
  }

}


@media (max-width: 360px) {

  #wc-version-popup label.selected .checkmark {
    right: 5px;
  }

}