.sp-loader-wrap {
  display: none;
}

.sp-modal .sp-modal-container.is-loading {
  height: 50% !important;
}
.sp-modal .sp-modal-container.is-loading .sp-loader-wrap {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  display: block;
}
.sp-modal .sp-modal-container.is-loading .sp-loader {
  animation: spin 1s linear infinite;
  width: 24px;
  height: 24px;
}

.sp-modal .sp-modal-container:has(.sp-qv-summary) {
  --sp-qv-width: 50%;
  height: auto !important;
}
.sp-modal .sp-modal-container:has(.sp-qv-summary) .tns-visually-hidden {
  display: none;
}
.sp-modal .sp-modal-container:has(.sp-qv-summary) .sp-modal-inner-content .product .product:not(tr) {
  display: flex;
  align-items: stretch;
  padding: 0;
}
.sp-modal .sp-modal-container:has(.sp-qv-summary) .sp-modal-inner-content .sp-qv-gallery-wrap {
  width: var(--sp-qv-width) !important;
  overflow: hidden;
  flex-grow: 1;
}
.sp-modal .sp-modal-container:has(.sp-qv-summary) .sp-modal-inner-content .summary {
  margin-bottom: 0 !important;
  flex-grow: 1;
  width: var(--sp-qv-width) !important;
  padding: 0;
  float: none;
  box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: 90vh;
}
.sp-modal .sp-modal-container:has(.sp-qv-summary) .sp-modal-inner-content .summary-content {
  overflow-y: auto;
  padding: 30px;
  flex: 1;
  min-height: 0;
}
.sp-modal .sp-modal-container:has(.sp-qv-summary) .sp-modal-inner-content .quantity {
  display: none;
}
.sp-modal .sp-modal-container:has(.sp-qv-summary) .sp-modal-inner-content form.cart:not(.grouped_form, .variations_form),
.sp-modal .sp-modal-container:has(.sp-qv-summary) .sp-modal-inner-content .woocommerce-variation-add-to-cart {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.sp-modal .sp-modal-container:has(.sp-qv-summary) .sp-modal-inner-content .grouped_form .sp-wl-wrap {
  margin-right: 20px;
  display: inline-flex;
}
.sp-modal .sp-modal-container:has(.sp-qv-summary) .sp-modal-inner-content .sp-wl-wrap {
  margin-top: 0;
  display: flex;
}
.sp-modal .sp-modal-container:has(.sp-qv-summary) .sp-modal-inner-content .button {
  margin-right: 0 !important;
}
.sp-modal .sp-modal-container:has(.sp-qv-summary) .sp-modal-inner-content button[type=submit] {
  margin-bottom: 0;
  float: right;
  width: auto;
  margin-top: 0;
}
.sp-modal .sp-modal-container:has(.sp-qv-summary) .sp-modal-inner-content .sp-qv-gallery-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.sp-modal .sp-modal-container:has(.sp-qv-summary) .sp-modal-inner-content .sp-qv-gallery-wrap .sp-slider-controls {
  position: absolute;
  z-index: 200000;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}
.sp-modal .sp-modal-container:has(.sp-qv-summary) .sp-modal-inner-content .sp-qv-gallery-wrap .sp-slider-controls span {
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.1);
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.sp-modal .sp-modal-container:has(.sp-qv-summary) .sp-modal-inner-content .sp-qv-gallery-wrap .sp-slider-controls span:hover {
  background-color: rgba(0, 0, 0, 0.5);
}
.sp-modal .sp-modal-container:has(.sp-qv-summary) .sp-modal-inner-content .sp-qv-gallery-wrap .sp-slider-controls span polyline {
  stroke: #fff;
}
.sp-modal .sp-modal-container:has(.sp-qv-summary) .sp-modal-inner-content .sp-qv-gallery-wrap .sp-slider-controls .prev {
  float: right;
}
.sp-modal .sp-modal-container:has(.sp-qv-summary) .sp-modal-inner-content .sp-qv-gallery-wrap .sp-slider-controls .next {
  float: left;
}
.sp-modal .sp-modal-container:has(.sp-qv-summary) .sp-modal-inner-content .sp-slider-gallery {
  display: flex;
  align-items: center;
}
.sp-modal .sp-modal-container:has(.sp-qv-summary) .sp-modal-inner-content .more-details {
  display: block;
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sp-modal .sp-modal-container:has(.sp-qv-summary) .sp-modal-inner-content .onsale.outside {
  top: 0;
}

@media (max-width: 960px) {
  .sp-modal-container:has(.sp-qv-summary) {
    --sp-qv-width: 100% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
  }
  .sp-modal-container:has(.sp-qv-summary) .sp-modal-inner-content .product .product {
    flex-direction: column;
  }
  .sp-modal-container:has(.sp-qv-summary) .sp-modal-inner-content .summary {
    max-height: unset !important;
  }
  .sp-modal-container:has(.sp-qv-summary) .sp-modal-inner-content .summary .summary-content {
    overflow-y: unset;
  }
}
.sp-quick-view-product.inline {
  text-decoration: underline;
  cursor: pointer;
  margin: 10px 0;
}
.sp-quick-view-product.inline:hover {
  opacity: 0.8;
}

.sp-product-image:hover .sp-image-buttons {
  opacity: 1;
}

.sp-image-buttons {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transition: 0.2s ease;
  z-index: 10;
}
.sp-image-buttons.sp-btn-on-image div {
  transition: 0.2s;
  visibility: hidden;
}
.sp-image-buttons.sp-btn-on-image:hover div, .sp-image-buttons.sp-btn-on-image:focus div {
  visibility: visible;
}
.sp-image-buttons > div:not(.overlay) {
  padding: 13px 15px;
  z-index: 3;
  line-height: 1;
  margin: 0 0 10px !important;
  max-width: 90%;
}
.sp-image-buttons > div:not(.overlay):last-child {
  margin-bottom: 0 !important;
}
.sp-image-buttons .sp-product-overlay-link {
  display: block;
  position: absolute;
  width: 100%;
  bottom: 0;
  top: 0;
  cursor: pointer;
}
.sp-image-buttons .overlay {
  background-color: rgba(0, 0, 0, 0.7);
}
.sp-image-buttons .overlay > a {
  margin-top: 0 !important;
}
.sp-image-buttons .added_to_cart,
.sp-image-buttons .sp-quick-view-product.top {
  cursor: pointer;
  box-sizing: border-box;
  border-style: solid;
  border-width: 3px;
  border-radius: 3px;
  font-weight: 700;
  padding: 10px 15px !important;
}
.sp-image-buttons .added_to_cart, .sp-image-buttons .added_to_cart:hover,
.sp-image-buttons .sp-quick-view-product.top,
.sp-image-buttons .sp-quick-view-product.top:hover {
  background: 100%;
  color: #fff;
  border-color: #fff;
}
.sp-image-buttons .sp-quick-view-product.bottom {
  padding: 18px 15px;
  text-transform: uppercase;
  position: absolute;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  text-align: center;
  font-weight: 700;
  font-size: 0.9em;
  cursor: pointer;
}
.sp-image-buttons .sp-quick-view-product.bottom:hover {
  opacity: 0.9;
}