/**
 * Quick View.
 *
 */
.woocommerce .product .merchant-quick-view-button {
  display: -webkit-inline-box !important;
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
  -webkit-box-pack: center !important;
      -ms-flex-pack: center !important;
          justify-content: center !important;
  -webkit-box-align: center !important;
      -ms-flex-align: center !important;
          align-items: center !important;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  text-decoration: none !important;
  -ms-flex-item-align: start;
      align-self: flex-start;
  color: var(--mrc-qv-button-text-color, #FFF) !important;
  border-width: 1px;
  border-style: solid;
  border-color: var(--mrc-qv-button-border-color, #212121) !important;
  background-color: var(--mrc-qv-button-bg-color, #212121) !important;
  transition: all 0.2s;
}
.woocommerce .product .merchant-quick-view-button svg + span {
  display: inline-block;
  margin-left: 8px;
}
.woocommerce .product .merchant-quick-view-button svg {
  width: 1em;
  height: 1em;
  fill: var(--mrc-qv-button-icon-color, #FFF) !important;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.woocommerce .product .merchant-quick-view-button svg path {
  fill: var(--mrc-qv-button-icon-color, #FFF) !important;
}
.woocommerce .product .merchant-quick-view-button:hover {
  color: var(--mrc-qv-button-text-color-hover, #FFF) !important;
  border-color: var(--mrc-qv-button-border-color-hover, #414141) !important;
  background-color: var(--mrc-qv-button-bg-color-hover, #414141) !important;
}
.woocommerce .product .merchant-quick-view-button:hover svg {
  fill: var(--mrc-qv-button-icon-color-hover, #FFF) !important;
}
.woocommerce .product .merchant-quick-view-button:hover svg path {
  fill: var(--mrc-qv-button-icon-color-hover, #FFF) !important;
}

.products .product {
  position: relative;
}
.products .product .merchant-quick-view-position-overlay {
  position: absolute;
  z-index: 10;
  margin: 0 !important;
  white-space: nowrap !important;
  opacity: 0;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  top: var(--mrc-qv-button-position-top, 50%);
  left: var(--mrc-qv-button-position-left, 50%);
  -webkit-transform: translate(calc(var(--mrc-qv-button-position-top, 50%) * -1), calc(var(--mrc-qv-button-position-left, 50%) * -1)) !important;
          transform: translate(calc(var(--mrc-qv-button-position-top, 50%) * -1), calc(var(--mrc-qv-button-position-left, 50%) * -1)) !important;
}
@media (max-width: 768px) {
  .products .product .merchant-quick-view-position-overlay.merchant-quick-view-position-has-mobile-position {
    top: var(--mrc-qv-button-position-top-mobile, 50%);
    left: var(--mrc-qv-button-position-left-mobile, 50%);
    -webkit-transform: translate(calc(var(--mrc-qv-button-position-top-mobile, 50%) * -1), calc(var(--mrc-qv-button-position-left-mobile, 50%) * -1)) !important;
            transform: translate(calc(var(--mrc-qv-button-position-top-mobile, 50%) * -1), calc(var(--mrc-qv-button-position-left-mobile, 50%) * -1)) !important;
  }
}
.products .product:hover .merchant-quick-view-position-overlay {
  opacity: 1;
}

.merchant-quick-view-modal {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.merchant-quick-view-modal.merchant-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.merchant-quick-view-modal.merchant-loading .merchant-quick-view-loader {
  opacity: 1;
  visibility: visible;
}
.merchant-quick-view-modal .merchant-freespb-wrapper {
  display: none;
}

.merchant-quick-view-overlay {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9);
}

.merchant-quick-view-loader {
  position: absolute;
  z-index: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 26px;
  -webkit-animation: merchant-fa-spin 0.75s linear infinite;
          animation: merchant-fa-spin 0.75s linear infinite;
  opacity: 0;
  visibility: hidden;
}
.merchant-quick-view-loader svg {
  width: 1em;
  height: 1em;
  fill: #fff;
}

.merchant-quick-view-inner {
  position: relative;
  z-index: 3;
  width: var(--mrc-qv-modal-width, 1000px);
  max-height: var(--mrc-qv-modal-height, 500px);
  max-width: 90vw;
  padding: 35px;
  background-color: #FFF;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.merchant-quick-view-inner.merchant-show {
  opacity: 1;
  visibility: visible;
}

.merchant-quick-view-close-button {
  position: absolute;
  z-index: 1;
  right: -7px;
  top: -32px;
  width: 30px;
  height: 30px;
  font-size: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.merchant-quick-view-close-button svg {
  width: 1em;
  height: 1em;
  fill: #fff;
}

@-webkit-keyframes merchant-fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(1turn);
            transform: rotate(1turn);
  }
}

@keyframes merchant-fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(1turn);
            transform: rotate(1turn);
  }
}
.merchant-quick-view-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  grid-gap: 30px;
}

.merchant-quick-view-column {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  width: 50%;
}

.merchant-quick-view-product-gallery .woocommerce-product-gallery__image {
  max-height: calc(var(--mrc-qv-modal-height, 500px) - 70px);
}
.merchant-quick-view-product-gallery .woocommerce-product-gallery__image img {
  max-height: calc(var(--mrc-qv-modal-height, 500px) - 70px);
}
.merchant-quick-view-product-gallery .woocommerce-product-gallery {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

.merchant-quick-view-product-gallery .flex-control-thumbs::-webkit-scrollbar {
  width: 6px;
}
.merchant-quick-view-product-gallery .flex-control-thumbs::-webkit-scrollbar-track {
  background: #ddd;
  border-radius: 6px;
}
.merchant-quick-view-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 6px;
}
.merchant-quick-view-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb:hover {
  background: #000;
}
.merchant-quick-view-product-gallery .flex-control-thumbs li {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  margin: 0 !important;
  width: auto !important;
}
.merchant-quick-view-product-gallery .flex-control-thumbs li img {
  width: 60px !important;
}

.merchant-quick-view-thumbs-at-left .woocommerce-product-gallery {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  grid-gap: 5px !important;
  -webkit-box-orient: horizontal !important;
  -webkit-box-direction: reverse !important;
      -ms-flex-direction: row-reverse !important;
          flex-direction: row-reverse !important;
}
.merchant-quick-view-thumbs-at-left .woocommerce-product-gallery .flex-control-thumbs {
  padding-right: 5px !important;
  -ms-flex-negative: 0 !important;
      flex-shrink: 0 !important;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  grid-gap: 10px !important;
  -webkit-box-orient: vertical !important;
  -webkit-box-direction: normal !important;
      -ms-flex-direction: column !important;
          flex-direction: column !important;
  margin: 0 !important;
  overflow-y: auto !important;
  max-height: calc(var(--mrc-qv-modal-height, 500px) - 70px) !important;
}

.merchant-quick-view-thumbs-at-right .woocommerce-product-gallery {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  grid-gap: 5px !important;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}
.merchant-quick-view-thumbs-at-right .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
  display: none !important;
}
.merchant-quick-view-thumbs-at-right .woocommerce-product-gallery .flex-control-thumbs {
  padding-right: 5px !important;
  -ms-flex-negative: 0 !important;
      flex-shrink: 0 !important;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  grid-gap: 10px !important;
  -webkit-box-orient: vertical !important;
  -webkit-box-direction: normal !important;
      -ms-flex-direction: column !important;
          flex-direction: column !important;
  margin: 0 !important;
  overflow-y: auto !important;
  max-height: calc(var(--mrc-qv-modal-height, 500px) - 70px) !important;
}

.merchant-quick-view-thumbs-at-bottom .woocommerce-product-gallery {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  grid-gap: 10px !important;
  -webkit-box-orient: vertical !important;
  -webkit-box-direction: normal !important;
      -ms-flex-direction: column !important;
          flex-direction: column !important;
  max-height: calc(var(--mrc-qv-modal-height, 500px) - 70px) !important;
}
.merchant-quick-view-thumbs-at-bottom .woocommerce-product-gallery .flex-control-thumbs {
  -ms-flex-negative: 0 !important;
      flex-shrink: 0 !important;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -ms-flex-wrap: wrap !important;
      flex-wrap: wrap !important;
  grid-gap: 10px !important;
  margin: 0 !important;
}

.merchant-quick-view-summary {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  grid-gap: 10px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  max-height: calc(var(--mrc-qv-modal-height, 500px) - 70px);
  overflow-y: auto;
  padding-right: 12px;
  scrollbar-color: #444 #ddd;
}
.merchant-quick-view-summary .woocommerce-variation-price,
.merchant-quick-view-summary .merchant-quick-view-product-price {
  color: var(--mrc-qv-modal-regular-price-color, #999999);
}
.merchant-quick-view-summary .woocommerce-variation-price del,
.merchant-quick-view-summary .merchant-quick-view-product-price del {
  color: var(--mrc-qv-modal-regular-price-color, #999999);
}
.merchant-quick-view-summary .woocommerce-variation-price ins,
.merchant-quick-view-summary .merchant-quick-view-product-price ins {
  color: var(--mrc-qv-modal-sale-price-color, #212121);
  margin: 0;
  font-size: 24px;
}
.merchant-quick-view-summary .woocommerce-variation-price span,
.merchant-quick-view-summary .woocommerce-variation-price strong,
.merchant-quick-view-summary .merchant-quick-view-product-price span,
.merchant-quick-view-summary .merchant-quick-view-product-price strong {
  color: inherit;
}
.merchant-quick-view-summary form.cart,
.merchant-quick-view-summary .woocommerce-variation-add-to-cart {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  grid-gap: 10px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin: 0 !important;
}
.merchant-quick-view-summary form.cart > *,
.merchant-quick-view-summary .woocommerce-variation-add-to-cart > * {
  -ms-flex-item-align: inherit !important;
      align-self: inherit !important;
  justify-self: inherit !important;
  margin: 0 !important;
}
.merchant-quick-view-summary .quantity {
  margin: 0;
  width: auto;
}
.merchant-quick-view-summary > div:empty {
  display: none;
}
.merchant-quick-view-summary::-webkit-scrollbar {
  width: 6px;
}
.merchant-quick-view-summary::-webkit-scrollbar-track {
  background: #ddd;
  border-radius: 6px;
}
.merchant-quick-view-summary::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 6px;
}
.merchant-quick-view-summary::-webkit-scrollbar-thumb:hover {
  background: #000;
}

.merchant-quick-view-product-title h1.product_title {
  margin: 0;
  font-size: 32px;
  font-weight: bold;
  line-height: 1.2;
}

.merchant-quick-view-product-rating .star-rating {
  margin-left: 0;
}

.merchant-quick-view-product-excerpt p:last-child {
  margin-bottom: 0;
}

.merchant-quick-view-product-add-to-cart {
  margin: 10px 0;
  padding: 20px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.merchant-quick-view-product-add-to-cart .button {
  text-decoration: none;
}
.merchant-quick-view-product-add-to-cart .button:hover {
  text-decoration: none;
}
.merchant-quick-view-product-add-to-cart .disabled {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  pointer-events: none;
}

.merchant-hide-quantity .quantity {
  display: none !important;
}

.merchant-quick-view-product-meta .product_meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  grid-gap: 5px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.merchant-quick-view-product-meta .product_meta span {
  font-weight: bold;
}
.merchant-quick-view-product-meta .product_meta span a,
.merchant-quick-view-product-meta .product_meta span span {
  font-weight: normal;
}

@media (max-width: 1024px) and (min-width: 769px) {
  .merchant-quick-view-inner {
    padding-inline: 25px;
  }
  .merchant-quick-view-row {
    grid-gap: 20px;
  }
  .merchant-quick-view-column:first-child {
    width: 40%;
  }
  .merchant-quick-view-column:last-child {
    width: 60%;
  }
}
@media (max-width: 768px) {
  .merchant-quick-view-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .merchant-quick-view-column {
    width: 100%;
  }
  .merchant-quick-view-content {
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .merchant-quick-view-inner {
    padding: 15px;
    max-width: 80vw;
    max-height: 85vh;
    height: 85vh;
  }
  .merchant-quick-view-modal {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    padding-top: 7vh;
  }
  .merchant-quick-view-summary {
    max-height: none;
    overflow: hidden;
  }
  .merchant-quick-view-product-gallery .woocommerce-product-gallery__image {
    max-height: none;
  }
  .merchant-quick-view-product-gallery .woocommerce-product-gallery__image img {
    max-height: none;
  }
  .merchant-quick-view-thumbs-at-left .woocommerce-product-gallery,
  .merchant-quick-view-thumbs-at-right .woocommerce-product-gallery {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    grid-gap: 10px !important;
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
        -ms-flex-direction: column !important;
            flex-direction: column !important;
  }
  .merchant-quick-view-thumbs-at-left .woocommerce-product-gallery .flex-control-thumbs,
  .merchant-quick-view-thumbs-at-right .woocommerce-product-gallery .flex-control-thumbs {
    -ms-flex-negative: 0 !important;
        flex-shrink: 0 !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-wrap: wrap !important;
        flex-wrap: wrap !important;
    -webkit-box-orient: horizontal !important;
    -webkit-box-direction: normal !important;
        -ms-flex-direction: row !important;
            flex-direction: row !important;
    grid-gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    max-height: none !important;
  }
  .merchant-quick-view-thumbs-at-bottom .woocommerce-product-gallery {
    max-height: none !important;
  }
}