.pvtfw_variant_table_block .item img.pvtfw_pro_img_size{
	width: auto;
}

.pvtfw-popup-table {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.5);
    visibility: hidden;
    opacity: 0;
    z-index: -9;
/*    transition: 0.5s opacity ease-in-out;*/
}

.pvtfw-popup-table.open {
	visibility: visible;
	z-index: 1000;
	opacity: 1;
}

.pvtfw-popup-table-inner {
    max-width: 100%;
    width: var( --pvtfw-table-popup-width, 1200px );
    max-height: 100%;
    height: var( --pvtfw-table-popup-height, 600px );;
    overflow: scroll;
    top: 50%;
    position: relative;
    left: 50%;
    margin-left: calc( var( --pvtfw-table-popup-width, 1200px ) / 2 * -1 );
    margin-top: calc( var( --pvtfw-table-popup-height, 600px ) / 2 * -1 );
    background-color: #ffffff;
    padding: 10px;
    display: block;
}

/* Pagination Style  */
.pvtfw_variant_table_block table.variant a.btn.active {
    background-color: var(--pvtfw-table-footer-pagination-selected-number-bg-color, '#abb8c3');
    color: var(--pvtfw-table-footer-pagination-selected-number-color, '#ffffff');
}

.pvtfw_variant_table_block table.variant tfoot tr {
  background-color: var( --pvtfw-table-footer-bg-color, #ffffff );
}

.pvtfw_variant_table_block table.variant a.btn{
    color: var(--pvtfw-table-footer-pagination-number-color, '#222222');
    margin: 0 3px 0 0;
    display: inline-block;
    width: 25px;
    text-align: center;
    cursor: pointer;
}

/* Dropdown Style  */

.pvtfw_init_variation_table .pvtfw-attribute-filters{
    clear: both;
}

.pvtfw_init_variation_table .pvtfw-attribute-filters select{
    margin: 0 5px 15px 0;
    display: inline-block;
    padding: 5px;
    max-width: fit-content;
}

/* Progress Bar  */
.pvtfw_qty_progress_bar {
    width: 100%;
    max-width: 100px;
    height: 4px;
    background-color: #0073aa;
    margin-top: 2px;
    transition: width 0.1s linear;
    display: block;
    visibility: hidden;
}

/* Toast CSS  */
.pvtfw_added_to_cart_toast {
  display: none;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 6px 10px;
  font-size: 0.9em;
  border-radius: 4px;
  margin-top: 5px;
  animation: fadeOut 2s ease-out 1 forwards;
  position: absolute;
  top: 0;
  left: 0;
}

@keyframes fadeOut {
  0% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; display: none; }
}

.pvtfw_added_to_cart_toast.toast_visible {
    display: inline-block;
    animation: fadeOut 2s ease-out 1 forwards;
}

/* Remove margin for out-of-stock p tag */
table.variant p.stock.out-of-stock{
    margin-bottom: 0;
}


/* Mobile CSS */

@media screen and (max-width: 800px){
    .pvtfw_init_variation_table .pvtfw-attribute-filters span{
        display: block;
    }
}