/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */


/* The Modal (background) */

.wb-modal {
  position: fixed;
  z-index: -199;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(6 4 4 / 71%);
  opacity: 0;
  transition: all 0.3s;
}


/* width */

div.wb-modal-content::-webkit-scrollbar {
  width: 10px;
}


/* Track */

div.wb-modal-content::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}


/* Handle */

div.wb-modal-content::-webkit-scrollbar-thumb {
  background: #9dc79c;
  border-radius: 10px;
}


/* Handle on hover */

div.wb-modal-content::-webkit-scrollbar-thumb:hover {
  background: #9dc79c;
}

.wb-modal-body {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;    
    transition: opacity 0.6s ease;
    top: 50%;
    margin-top: -300px;
}

.wb-modal-content.with-product-image.with-product-details {
  max-width: 1000px;
  width: 100%;
  padding: 20px;
}
.product-details-only .wb-quick-view-product-summary.summary.entry-summary {
    width: 100%;
    box-shadow: none;
    padding: 0;
    border: none;
}
.woocommerce .product-image-only div.product div.images {
    float: none;
    width: 60%;
    margin: 0 auto !important;
}
.woocommerce .product-image-only .wb-quick-view-product-summary.summary.entry-summary{
  display: none;
}

/* Modal Content */

.wb-modal-content {
  background-color: #fefefe;
  margin: auto;
  width:100%;
  height: 600px;
  overflow-y: scroll;
}

.wb-close-container {
    background: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    vertical-align: middle;
    top: -10px;
    right: -10px;
    cursor: pointer;
    position: absolute;
}
.wb-close {
    font-size: 26px;
    font-weight: bold;
    color: #f40000;
    left: 0;
    line-height: 30px;
}
.wb-close:hover,
.wb-close:focus {
  color: #000;
  text-decoration: none;  
}

a .wb-quick-view-button {
  text-decoration: none;
  color: #ffff;
  background-color: rgba(32, 86, 202, 0.781);
}

.wb-loader {
  text-align: center;
  padding-top: 5px;
  display: none;
  position: fixed;
  z-index: 190;
  left: 645px;
  top: 288px;
  width: 100%;
  height: 100%;
  overflow: auto;
  border: 5px solid #f3f3f3;
  border-radius: 50%;
  border-bottom: 5px solid black;
  width: 40px;
  height: 40px;
  -webkit-animation: spin 1.5s linear infinite;
  animation: spin 1.5s linear infinite;
}

.woocommerce .wb-modal-content div.product form.cart table tr td .reset_variations {
    top: -7px !important;
    right: -25px !important;
}


/* Safari */

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.wb-quick-view-restrict-scroll {
    overflow: hidden;
}
.woocommerce ul.products li.product a.wb-quick-view-button.button {
    -webkit-box-shadow: 1px 3px 3px 0 rgb(0 0 0 / 10%);
    display: inline-block;
    line-height: 2.8;
    padding: 0 20px;
    font-size: 14px;
    text-transform: capitalize;
    transition: all .35s ease-out 0s;
    -webkit-transition: all .35s ease-out 0s;
    white-space: nowrap;
    z-index: 12;
    position: relative;
}
a.wb-quick-view-button.button span.dashicons.dashicons-visibility {
    position: relative;
    margin-top: -4px;
    margin-left: -4px;
    vertical-align: middle;
}
.wb-modal-content.with-product-image.with-product-details .woocommerce div.product .product_title {
  line-height: 1;
}

.wc-quick-view-product-tabs.woocommerce-tabs.wc-tabs-wrapper {
  padding: 0;
  margin: 0 !important;
}

.wc-quick-view-product-tabs div#tab-description {
  margin: 0;
}

/*Hidea Quick View Button*/
.woocommerce ul.products li.product a.wb-quick-view-button.button.wb-hide-quick-view-button{
  display: none;
}

/*Hover Effect*/
.woocommerce ul.products li.product a.wb-quick-view-button.button.wb-quick-view-on-hover {
    flex-direction: column;
    position: absolute;
    right: 50%;
    transform: translateX(-15px);
    top:3rem;
    z-index: 10;
    visibility: hidden;
    display: inline-block !important;    
    opacity: 0;
    margin-right:-65px;
    transition:.35s;
}
.woocommerce ul.products li.product:hover a.wb-quick-view-button.button.wb-quick-view-on-hover{
    visibility: visible;
    opacity: 1;
    transform: translate(0, 0);
}

/* Product Details */
.wb-modal-content.with-product-details.product-details-only{
  padding:25px;
}
.wb-quick-view-restrict-scroll .wb-quick-view-product-summary span.onsale {
  width: auto;
  right: 0;
  left: unset !important;
}


/*Mobile View*/
@media only screen and (max-width:768px) {
  
.wb-modal {
    padding: 0 30px;
}
.wb-modal-body {
    max-width: 600px;
}


}










