/*!
 * Duplicate Variations for WooCommerce
 *
 * Author: Emran Ahmed ( emran.bd.08@gmail.com )
 * Date: 9/4/2023, 5:34:39 PM
 * Released under the GPLv3 license.
 */
.variation-duplicator-for-woocommerce-works {
  padding: 4px;
  display: none;
  text-decoration: none;
  line-height: 1;
  color: var(--wc-secondary-text);
}
.variation-duplicator-for-woocommerce-works.show {
  display: inline-block;
}

#woocommerce-product-data .wc-metaboxes-wrapper .woo-variable-image-duplicator-wrapper .wc-radios li input {
  height: 1rem;
  width: 1rem;
  /* Small Devices, Tablets */
}
@media only screen and (max-width: 768px) {
  #woocommerce-product-data .wc-metaboxes-wrapper .woo-variable-image-duplicator-wrapper .wc-radios li input {
    height: 1.5625rem;
    width: 1.5625rem;
  }
}
.woocommerce_variation.wc-metabox .clone-checkbox {
  float: right;
  margin: 0.6em 1em;
  display: inline-block;
  color: #72777c;
  visibility: hidden;
}
.woocommerce_variation.wc-metabox .clone-checkbox.checked {
  visibility: visible;
}
.woocommerce_variation.wc-metabox .clone-checkbox:hover {
  color: #23282d;
}
.woocommerce_variation.wc-metabox .clone-checkbox span.clone-text {
  display: inline-block;
}
.woocommerce_variation.wc-metabox .clone-checkbox span.clone-text:after {
  content: attr(data-clone-text);
  display: inline-block;
}
.woocommerce_variation.wc-metabox .clone-checkbox span.woocommerce-help-tip {
  margin: 0;
}
.woocommerce_variation.wc-metabox.variation-needs-update .clone-checkbox {
  pointer-events: none;
}
.woocommerce_variation.wc-metabox.variation-needs-update .clone-checkbox .variation_is_cloneable {
  pointer-events: none;
}
.woocommerce_variation.wc-metabox.variation-needs-update .clone-checkbox span.clone-text:after {
  content: attr(data-clone-save-text);
}
.woocommerce_variation.wc-metabox.variation-needs-update .clone-checkbox span.woocommerce-help-tip {
  pointer-events: all;
}
.woocommerce_variation.wc-metabox h3:hover .clone-checkbox {
  visibility: visible;
}
.woocommerce_variation.wc-metabox.blink {
  background-color: #eee;
  -webkit-animation: blink 300ms infinite alternate;
          animation: blink 300ms infinite alternate;
}

@-webkit-keyframes blink {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes blink {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.woo-variable-image-duplicator-wrapper {
  border-top: 1px solid #eee;
  padding: 5px;
  background-color: #f0f8ff;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.woo-variable-image-duplicator-wrapper .form-row-first {
  padding: 20px 0 10px;
}
.woo-variable-image-duplicator-wrapper .variable-image-duplicate-from span.select2 .select2-selection__rendered {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  line-height: 38px;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}
.woo-variable-image-duplicator-wrapper .variable-image-duplicate-from span.select2 .select2-selection__rendered .select2-selection__clear {
  -webkit-box-ordinal-group: 4;
      -ms-flex-order: 3;
          order: 3;
  text-align: right;
  -webkit-box-flex: 5%;
      -ms-flex: 5%;
          flex: 5%;
}
.woo-variable-image-duplicator-wrapper .variable-image-duplicate-from span.select2 .select2-selection__rendered img {
  margin-right: 8px;
  border-radius: 3px;
}
.woo-variable-image-duplicator-wrapper .variable-image-duplicate-from span.select2 .select2-selection__rendered span {
  overflow: hidden;
  -o-text-overflow: ellipsis;
     text-overflow: ellipsis;
  -webkit-box-flex: 95%;
      -ms-flex: 95%;
          flex: 95%;
}
.woo-variable-image-duplicator-wrapper .variable-image-duplicate-from span.select2 .select2-selection__arrow {
  height: 36px;
}
.woo-variable-image-duplicator-wrapper .variable-image-duplicate-from span.select2-selection {
  min-height: 40px;
  border-radius: 3px;
  line-height: 22px;
}
.woo-variable-image-duplicator-wrapper label {
  display: block !important;
}
.woo-variable-image-duplicator-wrapper .variable-list {
  width: 100%;
  max-width: 100%;
  display: none;
}
.woo-variable-image-duplicator-wrapper .variable-list.show {
  display: inline-block;
}
.woo-variable-image-duplicator-wrapper .variable-list .select2 {
  display: block;
}
.woo-variable-image-duplicator-wrapper .variable-list .button-wrapper .button {
  margin-top: 5px;
}

.wp-admin.woocommerce-page.post-type-product .select2-results__options--nested li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.wp-admin.woocommerce-page.post-type-product .select2-results__options--nested li img {
  margin-right: 8px;
  border-radius: 3px;
}
