@charset "UTF-8";
.button.button-danger {
  color: #FFFFFF;
  background-color: #AF2D2B;
  border-color: #A62D2B;
  box-shadow: 0 1px 0 #A72D2B;
  vertical-align: top;
}
.button.button-danger:hover, .button.button-danger:focus, .button.button-danger:active, .button.button-danger.active {
  color: #FFFFFF;
  background: #C9302C;
}

.rtwpvg-gallery-wrapper .rtwpvg-images {
  *zoom: 1;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.rtwpvg-gallery-wrapper .rtwpvg-images:before, .rtwpvg-gallery-wrapper .rtwpvg-images:after {
  content: " ";
  display: table;
}
.rtwpvg-gallery-wrapper .rtwpvg-images:after {
  clear: both;
}
.rtwpvg-gallery-wrapper .rtwpvg-images li {
  list-style: none;
  position: relative;
  cursor: move;
  float: left;
  box-sizing: border-box;
  margin: 3px;
  background: #F7F7F7;
  border-radius: 2px;
  width: 125px;
}
.rtwpvg-gallery-wrapper .rtwpvg-images li:hover .rtwpvg-action-button {
  visibility: visible;
  opacity: 1;
}
.rtwpvg-gallery-wrapper .rtwpvg-images li.rtwpvg-sortable-placeholder {
  position: relative;
  border: 3px dashed #DDDDDD;
  margin: 0;
  background: #F7F7F7;
}
.rtwpvg-gallery-wrapper .rtwpvg-images li.rtwpvg-sortable-placeholder:after {
  font-family: "Dashicons", serif;
  speak: none;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  text-indent: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  content: "\f161";
  font-size: 2.618em;
  line-height: 80px;
  color: #DDDDDD;
}
.rtwpvg-gallery-wrapper .rtwpvg-images li img {
  width: 100%;
  display: block;
  height: auto;
  border: 1px solid #D5D5D5;
}
.rtwpvg-gallery-wrapper .rtwpvg-images li .rtwpvg-media-video-popup,
.rtwpvg-gallery-wrapper .rtwpvg-images li .rtwpvg-gallery-edit,
.rtwpvg-gallery-wrapper .rtwpvg-images li .delete {
  cursor: pointer;
  z-index: 1;
  text-decoration: none;
  width: 30px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  font-size: 17px;
  border-radius: 3px;
  margin: 0;
}
.rtwpvg-gallery-wrapper .rtwpvg-images li .rtwpvg-media-video-popup span,
.rtwpvg-gallery-wrapper .rtwpvg-images li .rtwpvg-gallery-edit span,
.rtwpvg-gallery-wrapper .rtwpvg-images li .delete span {
  color: #fff;
  font-size: 18px;
  width: initial;
  height: initial;
}
.rtwpvg-gallery-wrapper .rtwpvg-images li .rtwpvg-action-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 99;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: space-between;
  gap: 5px;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s all;
}
.rtwpvg-gallery-wrapper .rtwpvg-images li .rtwpvg-action-button .woocommerce-help-tip::after, .rtwpvg-gallery-wrapper .rtwpvg-images li .rtwpvg-action-button .woocommerce-product-type-tip::after {
  content: "";
  cursor: pointer;
}
.rtwpvg-gallery-wrapper .rtwpvg-images li.video::after {
  content: "\f236";
  position: absolute;
  font-family: dashicons, serif;
  font-size: 30px;
  top: 50%;
  left: 50%;
  color: #fff;
  margin: 0;
  padding: 0;
  line-height: 30px;
  transform: translate(-50%, -50%);
}
.rtwpvg-gallery-wrapper .rtwpvg-images li.video::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.2;
  margin: 0;
  padding: 0;
}
.rtwpvg-gallery-wrapper .rtwpvg-add-image {
  clear: both;
}
.rtwpvg-gallery-wrapper .rtwpvg-add-image-wrapper {
  display: block;
  clear: both;
}

/*
 * Layout for the variation's image + fields row.
 *
 * WooCommerce lays this out as `justify-content: space-between` with a 128px image
 * column and a `width: 48%` field column, so roughly 40% of the row collapses into
 * dead space in the middle. Core corrects this only under
 * `:has(.wc-variation-gallery-field)` — a field this plugin removes — so the
 * equivalent is applied here against our own class instead.
 */
#variable_product_options .form-flex-box.rtwpvg-variation-image-layout {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
}
#variable_product_options .form-flex-box.rtwpvg-variation-image-layout > .form-row.upload_image {
  flex: 0 0 200px;
  width: 200px;
  margin: 0;
  padding: 0;
}
#variable_product_options .form-flex-box.rtwpvg-variation-image-layout > .form-row.form-row-last {
  flex: 1 1 auto;
  width: auto;
  float: none;
  margin: 0;
}
#variable_product_options .form-flex-box.rtwpvg-variation-image-layout .upload_image_button {
  float: none;
  width: 100%;
  height: auto;
  margin-right: 0;
}
#variable_product_options .form-flex-box.rtwpvg-variation-image-layout .upload_image_button:not(.remove) {
  height: 200px;
}
#variable_product_options .form-flex-box.rtwpvg-variation-image-layout .upload_image_button:not(.remove)::before {
  line-height: 200px;
  font-size: 200px;
}

/*
 * Hover actions for the variation's main/featured image.
 *
 * Deliberately a standalone block rather than an extra selector on the gallery
 * thumbnail rules above: the compiled gallery CSS has to stay byte-identical.
 */
#variable_product_options .form-row.upload_image .upload_image_button {
  position: relative;
}
#variable_product_options .form-row.upload_image .upload_image_button:hover .rtwpvg-variation-image-actions {
  visibility: visible;
  opacity: 1;
}
#variable_product_options .form-row.upload_image .upload_image_button.remove:hover::before {
  display: none;
}
#variable_product_options .form-row.upload_image .rtwpvg-variation-image-actions.is-empty .rtwpvg-variation-image-video,
#variable_product_options .form-row.upload_image .rtwpvg-variation-image-actions.is-empty .rtwpvg-variation-image-remove {
  display: none;
}

/*
 * Shared hover overlay, used by the variation main image, the product featured
 * image and each product gallery item. Children are matched by element rather than
 * class so every caller gets the same treatment without repeating it.
 */
.rtwpvg-media-actions {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 99;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  gap: 2px;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s all;
}
.rtwpvg-media-actions .woocommerce-help-tip::after,
.rtwpvg-media-actions .woocommerce-product-type-tip::after {
  content: "";
  cursor: pointer;
}
.rtwpvg-media-actions > span,
.rtwpvg-media-actions > a {
  margin: 0 !important;
  cursor: pointer;
  z-index: 1;
  text-decoration: none;
  width: 30px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  font-size: 17px;
  border-radius: 3px;
}
.rtwpvg-media-actions > span span,
.rtwpvg-media-actions > a span {
  color: #fff;
  font-size: 18px;
  width: initial;
  height: initial;
}

/* Product featured image box (WordPress core #postimagediv). */
#postimagediv #set-post-thumbnail {
  position: relative;
  display: inline-block;
}
#postimagediv #set-post-thumbnail:hover .rtwpvg-media-actions {
  visibility: visible;
  opacity: 1;
}

/* Product gallery metabox items. */
#product_images_container ul.product_images > li.image {
  position: relative;
}
#product_images_container ul.product_images > li.image:hover .rtwpvg-media-actions {
  visibility: visible;
  opacity: 1;
}

.wp-picker-container .rtwpvg-color-picker.wp-color-picker {
  width: 70px;
}

.wp-picker-container .rtwpvg-color-picker.wp-color-picker[data-alpha=true] {
  width: 180px;
}

.rt-btn {
  text-align: center;
  background-color: #5d3dfd;
  display: inline-block;
  font-size: 15px;
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 4px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease-in-out;
}
.rt-btn:hover {
  background-color: #4e35cc;
  color: #ffffff;
  text-decoration: none;
}
.rt-btn:focus {
  color: #fff;
}

#wpwrap .woocommerce > form > h2 {
  font-size: 18px;
  color: #000000;
  background-color: #ffffff;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 20px;
}
#wpwrap .woocommerce > form .submit .woocommerce-save-button {
  text-align: center;
  background-color: #5d3dfd;
  display: inline-block;
  font-size: 15px;
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  position: relative;
  z-index: 2;
  padding: 9px 18px;
  line-height: initial;
  transition: all 0.3s ease-in-out;
}
#wpwrap .woocommerce > form .submit .woocommerce-save-button:hover {
  background-color: #4e35cc;
  color: #ffffff;
  text-decoration: none;
}

.rt-product-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 400px));
  grid-column-gap: 25px;
  grid-row-gap: 25px;
  background: #fff;
}
.rt-product-list .rt-product {
  border: 1px solid #dcdada;
  border-radius: 5px;
}
.rt-product-list .rt-product .rt-media img {
  max-width: 100%;
  border-radius: 5px 5px 0 0;
}
.rt-product-list .rt-product .rt-product-info {
  padding: 15px;
}
.rt-product-list .rt-product .rt-product-info h3.rt-product-title {
  margin: 0 0 15px 0 !important;
}
.rt-product-list .rt-product .rt-product-info h3.rt-product-title a {
  font-size: 18px;
  line-height: 1.4;
  color: #000000;
  font-weight: 600;
  text-decoration: none;
}
.rt-product-list .rt-product .rt-product-info .rt-product-action {
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 15px;
}
.rt-product-list .rt-product .rt-product-info .rt-product-action a {
  text-align: center;
}

body .rt-admin-btn,
body .rt-admin-btn.button-primary {
  text-align: center;
  display: inline-block;
  font-size: 15px;
  font-weight: 400;
  color: #5d3dfd;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 4px;
  position: relative;
  z-index: 2;
  line-height: 1.4;
  transition: all 0.3s ease-in-out;
  height: auto;
  border: 2px solid #5d3dfd;
}

body .rt-admin-btn.button-primary,
body .rt-admin-btn:hover {
  background-color: #4e35cc;
  color: #ffffff;
  text-decoration: none;
}

.rt-icon-spinner:after {
  font-family: dashicons, serif;
  display: inline-block;
  line-height: 1;
  font-weight: 400;
  font-style: normal;
  speak: none;
  text-decoration: inherit;
  text-transform: none;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 20px;
  height: 20px;
  font-size: 20px;
  vertical-align: top;
  text-align: center;
  transition: color 0.1s ease-in;
  content: "\f113";
}

.animate-spin {
  -webkit-animation: rt-spin 2s infinite linear;
  animation: rt-spin 2s infinite linear;
  display: inline-block;
}

@-webkit-keyframes rt-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}
@keyframes rt-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}
.rtvg-document-box {
  background-color: #ffffff;
  -webkit-box-shadow: 0 1px 18px 0 rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 18px 0 rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  padding: 30px 20px;
}

.rtvg-document-box ol {
  margin-left: 1em;
}

.rtvg-document-box + .rtvg-document-box {
  margin-top: 30px;
}

.rtvg-document-box .rtvg-box-icon {
  height: 30px;
  width: 30px;
  background-color: #ecf1ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  margin-right: 10px;
}

.rtvg-document-box .rtvg-box-icon i {
  font-size: 20px;
  color: #5d3dfd;
}

.rtvg-document-box .rtvg-box-content {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.rtvg-document-box .rtvg-box-content .rtvg-box-title {
  margin: 0 0 12px 0;
  font-size: 20px;
  color: #000000;
  font-weight: 600;
}

.rtvg-document-box .rtvg-box-content p {
  font-size: 14px;
  color: #646464;
  margin: 0 0 25px 0;
}

.rtvg-update-pro-btn-wrap .rtvg-update-pro-btn:hover {
  background-color: #4e35cc;
  text-decoration: none;
  color: #ffffff;
}

.rtvg-pro {
  color: red;
}

.rtvg-alert {
  width: 300px;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 9999;
  display: none;
  text-align: center;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  margin: auto;
}

.rtvg-alert .rtvg-box-icon {
  margin: auto;
  margin-bottom: 15px;
  height: 40px;
  width: 40px;
}

.rtvg-alert .rtvg-alert-close {
  position: absolute;
  top: 0;
  right: 0;
  background: #b30202;
  color: white;
  line-height: 1;
  padding: 2px 9px 8px;
  font-size: 18px;
  text-decoration: none;
}

.rtvg-tooltip {
  position: relative;
  display: inline-block;
}

.rtvg-tooltip .rtvg-tooltiptext {
  visibility: hidden;
  min-width: 80px;
  width: max-content;
  max-width: 300px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 2px 10px 10px;
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 70%;
  margin-left: -60px;
  line-height: 1.3;
  font-size: 15px;
}

.rtvg-tooltip:hover .rtvg-tooltiptext {
  visibility: visible;
}

.rtvg-tooltiptext.rtvg-review-info {
  background: white;
  border: 1px solid #dfdfdf;
}

.rtvg-review-info table tr th {
  font-weight: bold;
}

.rtvg-tooltip-doc {
  color: blue;
}

.rtvg-tooltip-required {
  color: red;
}

.rtvg-tooltip-recommended {
  color: #721c24;
}

.rtvg-tooltip-required i, .rtvg-tooltip-recommended i {
  font-size: 10px;
  line-height: 1.8;
}

.rtvg-pro.rtvg-tooltip .rtvg-tooltiptext {
  font-weight: normal;
  padding: 5px 10px 7px;
}

.pro-field {
  position: relative;
}

.pro-field-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  z-index: 9;
}

.pro-field input[type=checkbox]:checked::before {
  visibility: hidden;
}

/**
* Image upload 
*/
.rtwpvg-settings .image-preview-wrapper img {
  max-width: 150px;
  max-height: 85px;
  border: 1px solid #dfdfdf;
}

.rtwpvg-upload-box {
  background: #eceaea;
  display: inline-block;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 4px;
  border: none;
}

.rtwpvg-preview-imgs .rtwpvg-preview-img img, .rtwpvg-preview-videos .rtwpvg-preview-video .name {
  width: auto;
  max-width: 130px;
  background: white;
  padding: 10px;
  margin-right: 10px;
  display: inline-block;
  margin-bottom: 15px;
  border: 1px solid #dfdfdf;
}

.rtwpvg-preview-imgs .rtwpvg-preview-img, .rtwpvg-preview-videos .rtwpvg-preview-video {
  position: relative;
  display: inline;
}

.rtwpvg-preview-imgs .rtwpvg-preview-img .rtwpvg-file-remove, .rtwpvg-preview-videos .rtwpvg-preview-video .rtwpvg-file-remove {
  background: red;
  line-height: 20px;
  padding: 0 8px 5px;
  color: white;
  position: absolute;
  right: 10px;
  cursor: pointer;
  border: none;
}

.rtwpvg-upload-box:focus, .rtwpvg-file-remove:focus {
  outline: none;
}

/* The rtwpvg-switch - the box around the rtwpvg-switch-slider */
.rtwpvg-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

/* Hide default HTML checkbox */
.rtwpvg-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The rtwpvg-switch-slider */
.rtwpvg-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.rtwpvg-switch-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .rtwpvg-switch-slider {
  background-color: #5d3dfd;
}

input:focus + .rtwpvg-switch-slider {
  box-shadow: 0 0 1px #5d3dfd;
}

input:checked + .rtwpvg-switch-slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded rtwpvg-switch-sliders */
.rtwpvg-switch-slider.round {
  border-radius: 34px;
}

.rtwpvg-switch-slider.round:before {
  border-radius: 50%;
}

#product_images_container .image span.has-video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

#product_images_container .image span.has-video::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.2;
  margin: 0;
  padding: 0;
}

#product_images_container .image span.has-video::after {
  content: "\f236";
  position: absolute;
  font-family: dashicons, serif;
  font-size: 30px;
  top: 30px;
  left: 23px;
  color: #fff;
  margin: 0;
  padding: 0;
  line-height: 30px;
}

#woocommerce-product-images .inside #product_images_container ul ul.actions {
  z-index: 99999;
}

.custom-edit-modal p {
  margin: 5px 0;
}
.custom-edit-modal input {
  height: 40px;
  padding: 5px;
}
.custom-edit-modal input:disabled {
  background: #eee;
}

/* Variation Gallery — Pro upsell placeholder (product data tab) */
.rtwpvg-pro-placeholder-wrapper {
  position: relative;
  margin: 12px;
  border: 1px solid #e2e4e7;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.rtwpvg-pro-placeholder-wrapper .rtwpvg-pro-blurred-content {
  filter: blur(2px);
  opacity: 0.7;
  pointer-events: none;
  user-select: none;
  padding: 14px 12px;
}
.rtwpvg-pro-placeholder-wrapper .rtwpvg-pro-blurred-content .form-field {
  margin: 0 0 14px;
}
.rtwpvg-pro-placeholder-wrapper .rtwpvg-pro-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: transparent;
}
.rtwpvg-pro-placeholder-wrapper .rtwpvg-pro-card {
  width: 100%;
  max-width: 360px;
  text-align: center;
  background: #fff;
  border: 1px solid #e7e7ef;
  border-radius: 12px;
  padding: 26px 24px;
  box-shadow: 0 8px 28px rgba(31, 25, 80, 0.18);
}
.rtwpvg-pro-placeholder-wrapper .rtwpvg-pro-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin: 0 auto 14px;
  color: #fff;
  background: linear-gradient(135deg, #6a5cff 0%, #8b5cf6 100%);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(106, 92, 255, 0.35);
}
.rtwpvg-pro-placeholder-wrapper .rtwpvg-pro-icon::before {
  font-size: 26px;
  width: 26px;
  height: 26px;
  line-height: 26px;
}
.rtwpvg-pro-placeholder-wrapper .rtwpvg-pro-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6a5cff;
  background: rgba(106, 92, 255, 0.1);
  border-radius: 999px;
}
.rtwpvg-pro-placeholder-wrapper .rtwpvg-pro-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: #1d2327;
}
.rtwpvg-pro-placeholder-wrapper .rtwpvg-pro-desc {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.6;
  color: #50575e;
}
.rtwpvg-pro-placeholder-wrapper .rtwpvg-pro-btn.button.button-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: auto;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 6px;
  background: linear-gradient(135deg, #6a5cff 0%, #8b5cf6 100%);
  border-color: #6a5cff;
  box-shadow: 0 4px 12px rgba(106, 92, 255, 0.3);
}
.rtwpvg-pro-placeholder-wrapper .rtwpvg-pro-btn.button.button-primary:hover {
  background: linear-gradient(135deg, #5b4ce6 0%, #7c4ee0 100%);
  border-color: #5b4ce6;
}
.rtwpvg-pro-placeholder-wrapper .rtwpvg-pro-btn.button.button-primary, .rtwpvg-pro-placeholder-wrapper .rtwpvg-pro-btn.button.button-primary:hover, .rtwpvg-pro-placeholder-wrapper .rtwpvg-pro-btn.button.button-primary:focus {
  color: #fff;
}
.rtwpvg-pro-placeholder-wrapper .rtwpvg-pro-btn.button.button-primary .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  line-height: 16px;
  color: #ffd54a;
}