.wrfp-background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5019607843);
z-index: 999990;
}
.wrfp-dialog {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 0 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
z-index: 999991;
width: auto;
min-height: 40px;
min-width: min(100% - 2rem, 40rem);
max-width: min(100% - 2rem, 70rem);
max-height: min(100% - 2rem, 80rem);
background-color: rgba(255, 255, 255, 0.8);
border-radius: 4px;
display: flex;
flex-direction: column;
}
.wrfp-dialog .wrfp-suspenser {
display: flex;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(255, 255, 255, 0.5019607843);
z-index: 999999;
align-items: center;
justify-content: center;
}
.wrfp-dialog .wrfp-suspenser svg {
overflow: visible;
}
.wrfp-dialog .wrfp-title-line {
position: relative;
}
.wrfp-dialog .wrfp-title-line .wrfp-close {
position: absolute;
top: 0;
right: -15px;
padding: 5px;
cursor: pointer;
}
.wrfp-dialog .wrfp-title-line .wrfp-close:hover {
color: #ff0000;
}
.wrfp-dialog .wrfp-buttons-line {
display: flex;
justify-content: flex-end;
gap: 10px;
padding: 10px;
}
.wrfp-dialog .wrfp-buttons-line .wrfp-button {
padding: 5px 10px;
border-radius: 4px;
border: 0 solid;
cursor: pointer;
}
.wrfp-dialog .wrfp-buttons-line .wrfp-button:hover {
opacity: 0.8;
}
.wrfp-dialog .wrfp-buttons-line .wrfp-button.disabled {
opacity: 0.5;
cursor: not-allowed;
}
.wrfp-dialog .wrfp-buttons-line .wrfp-button.primary {
font-size: var(--wp--preset--font-size--medium);
}
.wrfp-dialog .wrfp-buttons-line .wrfp-button.primary:not([disabled]) {
font-weight: bold;
background-color: var(--wc-primary, #2271b1);
color: var(--wc-primary-text, #fff);
}
.wrfp-dialog .wrfp-buttons-line .wrfp-button.primary[disabled] {
cursor: not-allowed;
}
.wrfp-dialog .wrfp-buttons-line .wrfp-button.secondary {
font-weight: bold;
background-color: var(--wc-secondary, #e9e6ed);
color: var(--wc-secondary-text, #515151);
}
.wrfp-dialog .wrfp-nav {
text-align: center;
cursor: pointer;
border: 1px solid rgb(128, 128, 128);
border-radius: 4px;
}
.wrfp-dialog .wrfp-nav:hover {
background: #ddd;
opacity: 0.8;
}
.wrfp-dialog .wrfp-nav.hidden {
opacity: 0 !important;
cursor: default;
}
.wrfp-dialog .wrfp-content {
overflow-y: auto;
}
.wrfp-dialog .wrfp-content .lws-popup-item {
margin-bottom: 0;
position: relative;
}
.wrfp-dialog .wrfp-content .lws-popup-item input[type=radio] {
opacity: 0;
position: fixed;
width: 0;
}
.wrfp-dialog .wrfp-content .lws-popup-item label {
position: relative;
background-color: #cccccc;
color: #444444;
padding: 10px;
border-radius: 4px;
cursor: pointer;
}
.wrfp-dialog .wrfp-content .lws-popup-item label.checked {
background-color: hsl(200, 40%, 30%);
color: #ffffff;
}
.wrfp-dialog .wrfp-content .lws-popup-item label.focus {
background-color: hsl(200, 40%, 20%);
color: #ffffff;
}
.wrfp-dialog .wrfp-content .lws-popup-item label:hover {
background-color: hsl(200, 40%, 50%);
color: #ffffff;
}
@keyframes lws-item-shake {
10%, 90% {
transform: translate3d(-1px, 0, 0);
}
20%, 80% {
transform: translate3d(2px, 0, 0);
}
30%, 50%, 70% {
transform: translate3d(-4px, 0, 0);
}
40%, 60% {
transform: translate3d(4px, 0, 0);
}
}
.wrfp-dialog .wrfp-content .lws-popup-item label.apply_lws_item_shake {
animation: lws-item-shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
.wrfp-dialog .wrfp-content .lws-popup-item.lws_out_of_stock .product-name {
text-decoration: line-through;
}
.wrfp-dialog .wrfp-content .lws-popup-item.lws_out_of_stock .lws-label-out-of-stock {
border: 1px solid rgba(204, 0, 0, 0.8);
border-radius: 3px;
padding: 0 7px;
background: #eee;
color: rgba(204, 0, 0, 0.8);
transform: rotate(11deg);
font-size: 11px;
user-select: none;
}
.wrfp-dialog .wrfp-content .lws-popup-item.lws_out_of_stock label.checked, .wrfp-dialog .wrfp-content .lws-popup-item.lws_out_of_stock label.focus, .wrfp-dialog .wrfp-content .lws-popup-item.lws_out_of_stock label:hover {
background-color: hsl(200, 40%, 50%);
background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.5) 10px, rgba(255, 255, 255, 0.5) 20px);
}
.wrfp-dialog .wrfp-content .lws-popup-items {
margin-top: 3px;
margin-bottom: 3px;
}
.wrfp-dialog .wrfp-content.all .wrfp-nav, .wrfp-dialog .wrfp-content.grid .wrfp-nav {
display: none;
}
.wrfp-dialog .wrfp-content.all .lws-popup-item, .wrfp-dialog .wrfp-content.onebyone .lws-popup-item, .wrfp-dialog .wrfp-content.threebythree .lws-popup-item {
margin-bottom: 3px;
}
.wrfp-dialog .wrfp-content.all .lws-popup-item label, .wrfp-dialog .wrfp-content.onebyone .lws-popup-item label, .wrfp-dialog .wrfp-content.threebythree .lws-popup-item label {
display: flex;
align-items: center;
justify-content: left;
gap: 10px;
}
.wrfp-dialog .wrfp-content.all .lws-popup-item label img, .wrfp-dialog .wrfp-content.onebyone .lws-popup-item label img, .wrfp-dialog .wrfp-content.threebythree .lws-popup-item label img {
max-width: 40px;
max-height: 40px;
}
.wrfp-dialog .wrfp-content.grid .lws-popup-items {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 5px;
}
.wrfp-dialog .wrfp-content.grid .lws-popup-item img {
height: auto;
max-width: 100%;
}
.wrfp-dialog .wrfp-content.grid .lws-popup-item label {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
gap: 10px;
}
.wrfp-dialog .wrfp-content.grid .lws-popup-item .product-name {
text-align: center;
}
.wc-block-cart-items .woorewards-pro-freeproduct-cartitem.replaced .wc-block-cart-item__total .wc-block-components-product-price__value, .wc-block-cart-items .woorewards-pro-freeproduct-cartitem.replaced .wc-block-components-order-summary-item__total-price .wc-block-components-product-price__value, .wp-block-woocommerce-checkout-order-summary-block .woorewards-pro-freeproduct-cartitem.replaced .wc-block-cart-item__total .wc-block-components-product-price__value, .wp-block-woocommerce-checkout-order-summary-block .woorewards-pro-freeproduct-cartitem.replaced .wc-block-components-order-summary-item__total-price .wc-block-components-product-price__value {
display: none;
}
.wc-block-cart-items .woorewards-pro-freeproduct-cartitem.striked .wc-block-cart-item__total .wc-block-components-product-price__value, .wc-block-cart-items .woorewards-pro-freeproduct-cartitem.striked .wc-block-components-order-summary-item__total-price .wc-block-components-product-price__value, .wp-block-woocommerce-checkout-order-summary-block .woorewards-pro-freeproduct-cartitem.striked .wc-block-cart-item__total .wc-block-components-product-price__value, .wp-block-woocommerce-checkout-order-summary-block .woorewards-pro-freeproduct-cartitem.striked .wc-block-components-order-summary-item__total-price .wc-block-components-product-price__value {
text-decoration-line: line-through;
}