.ex-qpv-main {
    text-align: center;
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0; /* z-index: 1050; */
    -webkit-overflow-scrolling: touch;
    outline: 0;
    opacity: 0;
    -webkit-transition: opacity 0.15s linear, z-index 0.15;
    -o-transition: opacity 0.15s linear, z-index 0.15;
    transition: opacity 0.15s linear, z-index 0.15;
    z-index: -1;
    overflow-x: hidden;
    overflow-y: auto;
}

.model-open {
  z-index: 99999;
  opacity: 1;
  overflow: hidden;
}
.ex-qpv-mini-cart-wrap {
  display: inline-block;
  vertical-align: middle;
  width: 800px;
  margin: 30px auto;
  max-width: 97%;
}
.ex-qpv-mini-cart-contents {
  display: block;
  width: 100%;
  position: relative;
  background-color: #fff;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  background-clip: padding-box;
  outline: 0;
  text-align: left;
  padding: 20px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  max-height: calc(100vh - 70px);
    overflow-y: auto;
}

.model-open .ex-qpv-mini-cart-wrap {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  position: relative;
  z-index: 999;
}

.model-open .ex-qpv-bg-overlay {
  background: rgba(0, 0, 0, 0.6);
  z-index: 99;
}
.ex-qpv-bg-overlay {
  background: rgba(0, 0, 0, 0);
  height: 100vh;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  -webkit-transition: background 0.15s linear;
  -o-transition: background 0.15s linear;
  transition: background 0.15s linear;
}
.ex-qpv-close-btn {
  position: absolute;
  right: 0;
  top: -40px;
  cursor: pointer;
  z-index: 99;
  font-size: 30px;
  color: #fff;
}

@media screen and (min-width:800px){
    .ex-qpv-main:before {
      content: "";
      display: inline-block;
      height: auto;
      vertical-align: middle;
      margin-right: -0px;
      height: 100%;
    }
}
@media screen and (max-width:799px){
  .ex-qpv-mini-cart-wrap{margin-top: 45px;}
}
.ex-qpv-mini-cart-contents div.product {
    position: relative;
    overflow: hidden;
}

.ex-qpv-mini-cart-contents .onsale:first-child{
    border: 1px solid;
    border-color: #43454b;
    color: #43454b;
    padding: .202em .6180469716em;
    font-size: .875em;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1em;
    border-radius: 3px;
    
}
.onsale-parent {
    position: relative;
    top: 55px;
    left: 240px;
    z-index: 1;
}

.ex-qpv-mini-cart-contents div.product .woocommerce-product-gallery{
    width: 41.1764705882% !important;
    float: left;
    margin-right: 5.8823529412%;
    margin-bottom: 3.706325903em;
    position: relative;
}

.ex-qpv-mini-cart-contents div.product .images, .ex-qpv-mini-cart-contents div.product .summary, .ex-qpv-mini-cart-contents div.product .woocommerce-product-gallery {
    margin-top: 0;
}
.ex-qpv-mini-cart-contents div.product .woocommerce-product-gallery img {
    margin: 0;
}
.extify-product-gallery-thumbnails {
    display: flex;
    margin-top: 10px;
    flex-wrap: wrap;
}

.extify-product-gallery-thumbnails .woocommerce-product-gallery__image {
    width: 90px;
    padding: 5px;
}

.ex-qpv-mini-cart-contents form.cart .quantity{
    margin-right: 9px;
}

.extify-quick-view-summary {
    display: inline-block;
    width: 50%;
}

.ex-qpv-mini-cart-contents .related.products{
    margin-top: 20px;
}

.ex-qpv-mini-cart-contents .related.products ul.products {
    display: flex;
}

.ex-qpv-mini-cart-contents .related.products ul.products li{
    padding: 10px;
}

button.ex-qpv-btn {
    margin: 2px;
}

.fancybox__container {
    z-index: 99999 !important;
}
.fancybox__toolbar.is-absolute, .is-compact .fancybox__toolbar {
    top: 20px !important;
}

.ex-qpv-mini-cart-contents::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

.ex-qpv-mini-cart-contents::-webkit-scrollbar
{
    width: 12px;
    background-color: #F5F5F5;
}

.ex-qpv-mini-cart-contents::-webkit-scrollbar-thumb
{
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
}

.ex-qpv-mini-cart-contents .related.products ul.products li {
    width: 31%;
}

@media screen and (max-width:780px){
	.extify-quick-view-summary{
		width: 100%;
	}
	
	.ex-qpv-mini-cart-contents div.product .woocommerce-product-gallery {
		width: 100%;
	}
	.ex-qpv-mini-cart-contents .related.products ul.products {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.ex-qpv-mini-cart-contents .related.products ul.products li {
		width: 75%;
	}
	
	.extify-product-gallery__wrapper .featured:nth-child(1){
		width: unset;
	}
}