.woosb-wrap {
display: block;
width: 100%;
clear: both;
}
.woosb-wrap .woosb-text, .woosb-wrap .woosb-products, .woosb-bundles .woosb-text, .woosb-bundles .woosb-products {
margin: 0 0 15px 0;
}
.woosb-wrap .woosb-text, .woosb-bundles .woosb-text {
white-space: pre-line;
}
.woosb-wrap .woosb-summary {
display: flex;
align-items: center;
justify-content: space-between;
}
.woosb-wrap .woosb-summary .woosb-total {
flex-grow: 1;
}
.woosb-products {
border-width: 1px 0 0 0;
border-style: dotted;
border-color: #e5e5e5;
}
.woosb-products .woosb-item-text {
padding: 10px 0;
margin: 0;
border-bottom: 1px dotted #e5e5e5;
}
.woosb-item-text-type-h1 > h1, .woosb-item-text-type-h2 > h2, .woosb-item-text-type-h3 > h3, .woosb-item-text-type-h4 > h4, .woosb-item-text-type-h5 > h5, .woosb-item-text-type-h6 > h6, .woosb-item-text-type-p > p {
margin: 0 !important;
}
.woosb-products .woosb-product {
display: flex;
align-items: center;
padding: 10px 0;
margin: 0;
border-bottom: 1px dotted #e5e5e5;
}
.woosb-products .woosb-product.woosb-product-hidden {
display: none;
}
.woosb-products[data-exclude-unpurchasable="yes"] .woosb-product.woosb-product-unpurchasable {
display: none;
}
.woosb-products .woosb-product > div {
padding: 0 5px;
}
.woosb-products .woosb-product .woosb-thumb {
width: 50px;
flex: 0 0 50px;
}
.woosb-products .woosb-product .woosb-thumb img {
width: 100%;
max-width: 100%;
height: auto;
display: block;
}
.woosb-products .woosb-product .woosb-quantity {
width: 80px;
flex: 0 0 80px;
}
.woosb-products .woosb-product .woosb-quantity.woosb-quantity-plus-minus {
width: 130px;
flex: 0 0 130px;
}
.woosb-products .woosb-product .woosb-quantity label {
display: none;
}
.woosb-products .woosb-product .woosb-quantity input {
width: 100%;
min-width: 40px;
text-align: center;
}
.woosb-products .woosb-product .woosb-price {
width: 100px;
flex: 0 0 100px;
text-align: end;
}
.woosb-products .woosb-product .woosb-price * {
font-size: inherit !important;
}
.woosb-products .woosb-product .woosb-price del {
opacity: .5;
text-decoration: line-through;
}
.woosb-products .woosb-product .woosb-price del span {
text-decoration: line-through;
}
.woosb-products .woosb-product .woosb-price ins {
font-weight: normal;
}
.woosb-products .woosb-product .woosb-price .amount {
display: inline-block;
}
.woosb-products .woosb-product .woosb-title {
flex-grow: 1;
text-align: start;
}
.woosb-products .woosb-product .woosb-title .woosb-name {
display: block;
overflow: hidden;
}
.woosb-products .woosb-product .woosb-title .woosb-name a {
text-decoration: none;
box-shadow: none;
}
.woosb-products .woosb-product .woosb-title .woosb-price {
width: auto;
flex: 0 0 auto;
text-align: inherit;
}
.woosb-products .woosb-product .woosb-title .woovr-variations-select .woovr-variation-image, .woosb-products .woosb-product .woosb-title .woovr-variations-select .woovr-variation-price {
display: none !important;
}
.woosb-products .woosb-product .variations_form {
margin: 0;
padding: 0;
}
.woosb-products .woosb-product .woosb-title .stock {
font-size: 14px;
margin: 0;
padding: 0;
}
.woosb-products .woosb-product .woosb-title .stock.in-stock {
color: green;
}
.woosb-products .woosb-product .woosb-title .stock.available-on-backorder {
color: orange;
}
.woosb-products .woosb-product .woosb-title .stock.out-of-stock {
color: red;
}
.woosb-products .woosb-product .woosb-description, .woosb-products .woosb-product .woosb-variation-description {
font-size: 14px;
}
.woosb-products .woosb-product .variations_form .variations {
display: inline-block;
margin: 0 -3px;
padding: 0;
}
.woosb-products .woosb-product .variations_form .variations .variation {
display: inline-block;
border-width: 1px;
border-style: solid;
border-color: #e5e5e5;
padding: 5px 10px;
margin: 5px 3px 0 3px;
max-width: 100%;
border-radius: 2px;
float: none;
vertical-align: top;
}
.woosb-products .woosb-product .variations_form .variations .variation > div {
display: block;
}
.woosb-products .woosb-product .variations_form .variations .reset {
display: inline-block;
}
.woosb-products .woosb-product .variations_form .variations .variation:last-child {
margin-bottom: 0;
}
.woosb-products .woosb-product .variations_form .variations .variation .label {
font-size: 12px;
line-height: 1;
}
.woosb-products .woosb-product .variations_form .variations .variation .value {
line-height: 1;
}
.woosb-products .woosb-product .variations_form .variations .variation .value select {
width: 100%;
height: auto;
line-height: 1;
padding: 0 16px 0 0;
margin: 0;
background-color: transparent;
border-radius: 0;
border: none;
-webkit-appearance: none;
-moz-appearance: none;
outline: none;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAYAAACtBE5DAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpGNEQzN0Y2NTY0NjcxMUU3QjU5NUI5N0U0NjlDMTIzNiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpGNEQzN0Y2NjY0NjcxMUU3QjU5NUI5N0U0NjlDMTIzNiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkY0RDM3RjYzNjQ2NzExRTdCNTk1Qjk3RTQ2OUMxMjM2IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkY0RDM3RjY0NjQ2NzExRTdCNTk1Qjk3RTQ2OUMxMjM2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+pzgqpQAAADdJREFUeNpirKioWMDAwBDPgAoWMQGJLCC+hiR4HYgzQRLfgDgUSoNwCIhmgaq6BtXJCNMNEGAAbM0MK7OUU3AAAAAASUVORK5CYII=);
background-repeat: no-repeat;
background-position: 100% 50%;
background-size: auto;
}
.woosb-products .woosb-product .variations_form .variations a.reset_variations {
margin: 0;
font-size: 12px;
}
.woosb-item-child .product-price .amount, .woosb-item-child .product-price .tax_label,
.woosb-item-child .product-subtotal .amount, .woosb-item-child .product-subtotal .tax_label,
.woosb-item-child .product-total .amount, .woosb-item-child .product-total .tax_label {
opacity: .3;
}
.woosb-alert {
padding: 6px 10px 6px 14px;
border-left: 4px solid #222;
background-color: #eeeeee;
font-size: 14px;
}
body.woocommerce-no-js .woosb-wrap + form.cart {
display: none;
}
.woosb-disabled {
opacity: .5 !important;
pointer-events: none !important;
cursor: not-allowed !important;
}
.woosb-quantity-input {
display: flex;
align-items: center;
}
.woosb-quantity-input .quantity {
flex-grow: 1;
height: auto;
margin: 0;
}
.woosb-quantity-plus-minus .plus, .woosb-quantity-plus-minus .minus, .woosb-quantity-plus-minus .quantity-minus, .woosb-quantity-plus-minus .quantity-plus, .woosb-quantity-plus-minus .plus-btn, .woosb-quantity-plus-minus .minus-btn {
display: none !important;
}
.woosb-quantity-input-plus, .woosb-quantity-input-minus {
width: 40px;
height: 40px;
flex: 0 0 40px;
line-height: 38px;
text-align: center;
cursor: pointer;
background-color: #fefefe;
border: 1px solid #e5e5e5;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.woosb-quantity-input .woosb-qty {
width: 100%;
min-width: 40px;
height: 40px;
line-height: 38px;
margin: 0;
padding: 0 5px;
box-shadow: none;
border-width: 1px 0;
border-style: solid;
border-color: #e5e5e5;
border-radius: 0;
background-color: #fefefe;
-moz-appearance: textfield;
}
.woosb-quantity-input .woosb-qty:focus {
outline: none;
outline-color: transparent;
}
.woosb-quantity-input-plus:hover, .woosb-quantity-input-minus:hover {
background-color: #f0f0f0;
}
.woosb-quantity-input input::-webkit-outer-spin-button, .woosb-quantity-input input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
} .woosb-products[class*="woosb-products-layout-grid"] {
display: flex;
flex-wrap: wrap;
margin-left: -10px;
margin-right: -10px;
border: none;
}
.woosb-products[class*="woosb-products-layout-grid"] .woosb-item-text {
width: 100%;
margin: 10px;
padding: 10px 0;
}
.woosb-products[class*="woosb-products-layout-grid"] .woosb-product {
width: calc(50% - 20px);
margin: 10px;
padding: 10px;
border: 1px solid #dddddd;
font-size: 14px;
text-align: center;
position: relative;
display: flex;
flex-direction: column;
}
.woosb-products[class*="woosb-products-layout-grid"] .woosb-product:hover {
border-color: green;
}
.woosb-products[class*="woosb-products-layout-grid"] .woosb-product .woosb-name {
font-weight: 700;
}
.woosb-products.woosb-products-layout-grid-1 .woosb-product {
width: calc(100% - 20px);
}
.woosb-products.woosb-products-layout-grid-3 .woosb-product {
width: calc(100% / 3 - 20px);
}
.woosb-products.woosb-products-layout-grid-4 .woosb-product {
width: calc(25% - 20px);
}
.woosb-products[class*="woosb-products-layout-grid"] .woosb-product > div {
width: 100% !important;
flex: 0 0 auto !important;
text-align: center;
margin-left: 0;
margin-right: 0;
padding-left: 0;
padding-right: 0;
margin-bottom: 5px;
}
.woosb-products[class*="woosb-products-layout-grid"] .woosb-product > div:last-child {
margin-bottom: 0;
}
.woosb-products[class*="woosb-products-layout-grid"] .woosb-product select {
text-align: center;
}
.woosb-products[class*="woosb-products-layout-grid"] .woosb-product .variations_form .variations .reset {
display: none;
}
.woosb-cart-item-edit:before {
content: '✎';
display: inline-block;
margin-right: 5px;
}
@media only screen and (max-width: 767px) {
.woosb-products[class*="woosb-products-layout-grid"] .woosb-product {
width: calc(50% - 20px);
}
}
@media only screen and (max-width: 479px) {
.woosb-products[class*="woosb-products-layout-grid"] .woosb-product {
width: calc(100% - 20px);
}
} body.rtl .woosb-alert {
padding: 6px 14px 6px 10px;
border-right: 4px solid #222;
border-left: none;
}.power-coupons-drawer-coupons-list .power-coupons-list {
margin: 0;
padding: 0;
}
.power-coupons-list[data-context="slideout"] .power-coupon-title .coupon-code {
font-size: 16px !important;
max-width: 151px !important;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
text-align: left;
}
.power-coupons-list[data-context="slideout"] .power-coupon-card {
max-width: 100%;
height: 134px;
} .power-coupons-drawer-trigger-wrapper {
margin: 0.5em 0 0.5em;
padding: 0;
text-align: center;
width: 100%;
} .wcf-embed-checkout-form.wcf-embed-checkout-form-instant-checkout div.power-coupons-drawer-trigger-wrapper {
margin: 1em 0 0.5em;
}
.wc-block-components-totals-wrapper .power-coupons-drawer-trigger-wrapper {
margin-bottom: 0;
}
.power-coupons-drawer-button-wrapper.wc-block-components-totals-wrapper {
padding: 0;
}
.power-coupons-drawer-button-wrapper.wc-block-components-totals-wrapper .power-coupons-view-coupons-btn {
border: none;
}
div.power-coupons-drawer-trigger-wrapper .power-coupons-view-coupons-btn {
display: block;
width: 100%;
padding: 12px 24px;
background: #fff;
color: #111827;
border: 1px solid #d1d5db;
line-height: 16px;
border-radius: 4px;
font-size: 14px;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
text-align: center;
box-sizing: border-box;
}
div.power-coupons-drawer-trigger-wrapper .power-coupons-view-coupons-btn:hover {
opacity: 0.9;
transform: translateY( -1px );
box-shadow: 0 4px 8px rgba( 0, 0, 0, 0.1 );
}
div.power-coupons-drawer-trigger-wrapper .power-coupons-view-coupons-btn:focus {
outline: 2px solid #2196f3;
outline-offset: 2px;
}
div.power-coupons-drawer-trigger-wrapper .power-coupons-view-coupons-btn:focus:not( :focus-visible ) {
outline: none;
}
div.power-coupons-drawer-trigger-wrapper .power-coupons-view-coupons-btn svg {
flex-shrink: 0;
} .power-coupons-drawer {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 999999;
pointer-events: none;
opacity: 0;
transition: opacity 0.3s ease;
}
.power-coupons-drawer.is-open {
opacity: 1;
pointer-events: all;
} .power-coupons-drawer-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba( 0, 0, 0, 0.5 );
opacity: 0;
transition: opacity 0.3s ease;
}
.power-coupons-drawer.is-open .power-coupons-drawer-overlay {
opacity: 1;
} .power-coupons-drawer-content {
position: absolute;
top: 0;
right: 0;
width: 100%;
max-width: 365px;
height: 100%;
background: #fff;
box-shadow: -2px 0 8px rgba( 0, 0, 0, 0.15 );
display: flex;
flex-direction: column;
transform: translateX( 100% );
transition: transform 0.3s ease;
}
.power-coupons-drawer.is-open .power-coupons-drawer-content {
transform: translateX( 0 );
}
.power-coupons-drawer.is-open .power-coupons-list .power-coupons-section {
display: flex;
flex-direction: column;
gap: 16px;
} .power-coupons-drawer-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px 24px;
border-bottom: 1px solid #e5e5e5;
background: #fff;
flex-shrink: 0;
}
.power-coupons-drawer-header h3 {
margin: 0;
font-size: 20px;
font-weight: 700;
color: #111827;
}
.power-coupons-drawer-close {
background: transparent;
border: none;
padding: 8px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
border-radius: 4px;
transition: background 0.2s ease;
color: #6b7280;
}
.power-coupons-drawer-close:hover {
background: #f3f4f6;
color: #111827;
}
.power-coupons-drawer-close:focus {
background: #f3f4f6;
color: #111827;
outline: 2px solid #2196f3;
outline-offset: 2px;
}
.power-coupons-drawer-close:focus:not( :focus-visible ) {
outline: none;
}
.power-coupons-drawer-close svg {
width: 24px;
height: 24px;
} .power-coupons-drawer-body {
flex: 1;
overflow-y: auto;
padding: 24px;
background: #f9fafb;
} .power-coupons-drawer-loading {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 60px 20px;
text-align: center;
}
.power-coupons-drawer-loading.hidden {
display: none;
}
.power-coupons-spinner {
width: 48px;
height: 48px;
border: 4px solid #e5e5e5;
border-top-color: var( --pc-primary-color, #f06434 );
border-radius: 50%;
animation: power-coupons-spin 0.8s linear infinite;
margin-bottom: 16px;
}
@keyframes power-coupons-spin {
to {
transform: rotate( 360deg );
}
}
.power-coupons-drawer-loading p {
margin: 0;
color: #6b7280;
font-size: 14px;
} .power-coupons-drawer-coupons-list {
display: none;
}
.power-coupons-drawer-coupons-list.loaded {
display: block;
} .power-coupons-no-coupons {
text-align: center;
padding: 40px 20px;
color: #6b7280;
}
.power-coupons-no-coupons p {
margin: 0;
font-size: 14px;
}
.power-coupon-drawer-item:hover {
border-color: var( --pc-primary-color, #f06434 );
box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.08 );
}
.power-coupon-drawer-item.is-applied {
background: #f0fdf4;
border-color: #86efac;
} .power-coupon-drawer-item-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
margin-bottom: 8px;
}
.power-coupon-drawer-item-code {
flex: 1;
}
.power-coupon-code-label {
display: inline-block;
background: #f3f4f6;
color: #111827;
padding: 6px 12px;
border-radius: 4px;
font-family: monospace;
font-size: 14px;
font-weight: 700;
margin-bottom: 8px;
border: 1px dashed #d1d5db;
}
.power-coupon-discount {
display: block;
color: var( --pc-primary-color, #f06434 );
font-size: 18px;
font-weight: 700;
margin-top: 4px;
}
.power-coupon-applied-badge {
display: inline-block;
background: #86efac;
color: #166534;
padding: 4px 12px;
border-radius: 12px;
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
} .power-coupon-drawer-item-description {
color: #6b7280;
font-size: 14px;
line-height: 1.5;
margin-bottom: 8px;
} .power-coupon-drawer-item-expiry {
color: #6b7280;
font-size: 12px;
margin-bottom: 12px;
} .power-coupon-drawer-item-actions {
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid #e5e5e5;
}
.power-coupon-apply-btn,
.power-coupon-remove-btn {
width: 100%;
padding: 10px 20px;
border: none;
border-radius: 4px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
text-align: center;
}
.power-coupon-apply-btn {
background: var( --pc-primary-color, #f06434 );
color: var( --pc-button-text-color, #fff );
}
.power-coupon-apply-btn:hover {
opacity: 0.9;
transform: translateY( -1px );
}
.power-coupon-apply-btn:focus {
outline: 2px solid #2196f3;
outline-offset: 2px;
}
.power-coupon-apply-btn:focus:not( :focus-visible ) {
outline: none;
}
.power-coupon-apply-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
transform: none;
}
.power-coupon-remove-btn {
background: #fee2e2;
color: #dc2626;
}
.power-coupon-remove-btn:hover {
background: #fecaca;
}
.power-coupon-remove-btn:focus {
outline: 2px solid #2196f3;
outline-offset: 2px;
}
.power-coupon-remove-btn:focus:not( :focus-visible ) {
outline: none;
}
.power-coupon-remove-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
} .power-coupon-apply-btn.loading,
.power-coupon-remove-btn.loading {
opacity: 0.7;
cursor: wait;
position: relative;
}
.power-coupon-apply-btn.loading::after,
.power-coupon-remove-btn.loading::after {
content: "";
position: absolute;
right: 12px;
top: 50%;
transform: translateY( -50% );
width: 14px;
height: 14px;
border: 2px solid currentcolor;
border-top-color: transparent;
border-radius: 50%;
animation: power-coupons-spin 0.6s linear infinite;
} @media ( max-width: 768px ) {
.power-coupons-drawer-content {
max-width: 100%;
}
.power-coupons-drawer-header {
padding: 16px 20px;
}
.power-coupons-drawer-header h3 {
font-size: 18px;
}
.power-coupons-drawer-body {
padding: 16px;
}
} .power-coupons-drawer-body::-webkit-scrollbar {
width: 8px;
}
.power-coupons-drawer-body::-webkit-scrollbar-track {
background: #f1f1f1;
}
.power-coupons-drawer-body::-webkit-scrollbar-thumb {
background: #d1d5db;
border-radius: 4px;
}
.power-coupons-drawer-body::-webkit-scrollbar-thumb:hover {
background: #9ca3af;
} .power-coupons-drawer[data-display-mode="modal"] .power-coupons-drawer-content {
position: absolute;
top: 50%;
left: 50%;
right: auto;
transform: translate( -50%, -50% ) scale( 0.95 );
width: 90%;
max-width: 720px;
height: auto;
max-height: 80vh;
border-radius: 12px;
box-shadow: 0 25px 50px -12px rgba( 0, 0, 0, 0.25 );
opacity: 0;
transition:
transform 0.3s ease,
opacity 0.3s ease;
}
.power-coupons-drawer[data-display-mode="modal"].is-open .power-coupons-drawer-content {
transform: translate( -50%, -50% ) scale( 1 );
opacity: 1;
}
.power-coupons-drawer[data-display-mode="modal"] .power-coupons-drawer-body {
max-height: calc( 80vh - 72px );
border-radius: 0 0 12px 12px;
}
.power-coupons-drawer[data-display-mode="modal"] .power-coupons-drawer-header {
border-radius: 12px 12px 0 0;
} .power-coupons-drawer[data-display-mode="modal"].is-open .power-coupons-list .power-coupons-section {
display: grid;
grid-template-columns: repeat( 2, 1fr );
gap: 16px;
}
.power-coupons-drawer[data-display-mode="modal"] .power-coupons-list .power-coupons-apply-coupon-btn {
width: 100%;
}
.power-coupons-drawer[data-display-mode="modal"] .power-coupons-list .power-coupons-apply-coupon-btn svg {
width: 100%;
height: auto;
} @media ( max-width: 768px ) {
.power-coupons-drawer[data-display-mode="modal"] .power-coupons-drawer-content {
width: 95%;
max-height: 90vh;
}
.power-coupons-drawer[data-display-mode="modal"] .power-coupons-drawer-body {
max-height: calc( 90vh - 72px );
}
.power-coupons-drawer[data-display-mode="modal"].is-open .power-coupons-list .power-coupons-section {
grid-template-columns: 1fr;
}
} @media ( prefers-reduced-motion: reduce ) {
.power-coupons-drawer,
.power-coupons-drawer-content,
.power-coupons-drawer-overlay,
.power-coupon-apply-btn,
.power-coupon-remove-btn,
div.power-coupons-drawer-trigger-wrapper .power-coupons-view-coupons-btn {
transition: none;
}
div.power-coupons-drawer-trigger-wrapper .power-coupons-view-coupons-btn:hover {
transform: none;
}
.power-coupon-apply-btn:hover {
transform: none;
}
.power-coupons-spinner {
animation: none;
}
}.power-coupons-list {
--pc-primary: #2196f3;
--pc-secondary: #4caf50;
--pc-danger: #f44336;
--pc-accent: #e91e63;
--pc-bg: #fff;
--pc-text: #4b5563;
--pc-muted: #6b7280;
--pc-border: var( --pc-primary );
--pc-radius: 8px;
--pc-space: 15px;
--pc-font-base: 14px;
--pc-font-heading: 18px;
--pc-shadow: 0 4px 12px rgba( 0, 0, 0, 0.1 );
--pc-transition: all 0.3s ease;
} .power-coupons-list {
margin: calc( var( --pc-space ) + 5px ) 0;
padding: calc( var( --pc-space ) + 5px ) 0;
}
.power-coupons-list .power-coupon-header,
.power-coupons-list .power-coupon-content {
width: 100%;
padding: 0 16px;
border-left: 1px transparent solid;
}
.power-coupons-list .power-coupon-content {
display: flex;
flex-direction: column;
gap: 4px;
} .power-coupons-list .power-coupons-section {
margin-bottom: calc( var( --pc-space ) * 2 );
}
.power-coupons-list .power-coupons-section:last-child {
margin-bottom: 0;
}
.power-coupons-list .power-coupons-section h4 {
margin: 0 0 var( --pc-space );
font-size: var( --pc-font-heading );
font-weight: 500;
color: #555;
} .power-coupons-list .power-coupons-wrapper {
display: flex;
gap: var( --pc-space );
flex-wrap: wrap;
}
.power-coupons-list .power-coupons-wrapper.power-coupons-list .power-coupon-card {
width: 30%;
} .power-coupons-list .power-coupon-card {
display: flex;
flex: 1;
max-width: 32%;
min-width: 300px;
padding: calc( var( --pc-space ) );
background: var( --pc-bg );
border: 1px solid var( --pc-border );
border-radius: var( --pc-radius );
transition: var( --pc-transition );
align-items: center; cursor: pointer;
}
.power-coupons-list .power-coupon-card:hover {
box-shadow: var( --pc-shadow );
transform: translateY( -2px );
}
.power-coupons-list .power-coupon-card.expired {
border-color: #ccc;
background: #f5f5f5;
opacity: 0.7;
} .power-coupons-list .coupon-code {
font-size: var( --pc-font-heading );
font-weight: 700;
color: var( --pc-text );
text-transform: uppercase;
padding: 5px 8px;
border-radius: 5px;
text-align: center;
border: 1px solid var( --pc-border );
} .power-coupons-list .coupon-description {
font-size: var( --pc-font-base );
font-weight: 500;
color: #666; line-height: 1.5;
}
.power-coupons-list .power-coupon-expiry {
font-size: 12px;
line-height: 14px;
font-weight: 400;
margin: 10px 0 0 0;
} .power-coupons-list .coupon-amount {
font-size: 22px;
line-height: 28px;
font-weight: 600;  }
.power-coupons-list .power-coupon-type {
font-size: 14px;
font-weight: 600;
line-height: 18px;
}
.power-coupons-list .power-coupon-status {
color: #15803d;
font-weight: 500;
font-size: 14px;
line-height: 20px;
display: flex;
align-items: center;
gap: 4px;
margin: 10px 0 0 0;
}
.power-coupons-list .power-coupon-status > .pc-coupon-status-icon {
width: 16px;
height: 16px;
} .power-coupons-list .coupon-expiry {
font-size: 12px;
color: var( --pc-muted );
margin-bottom: 12px;
}
.power-coupons-section {
display: grid;
grid-template-columns: repeat( auto-fit, minmax( 250px, 1fr ) );
gap: 16px;
} .power-coupons-list .power-coupons-apply-coupon-btn {
all: unset;
font-family: Inter, sans-serif;
background: none;
border: none;
margin: 0;
padding: 0;
cursor: pointer;
color: #374151;
direction: ltr;
width: fit-content;
line-height: 0;
}
.power-coupons-list .power-coupons-apply-coupon-btn:hover,
.power-coupons-list .power-coupons-apply-coupon-btn:active {
border: none;
background: none;
color: #374151;
}
.power-coupons-list .power-coupons-apply-coupon-btn:focus {
border: none;
background: none;
color: #374151;
outline: 2px solid #2196f3;
outline-offset: 2px;
border-radius: 4px;
}
.power-coupons-list .power-coupons-apply-coupon-btn:focus:not( :focus-visible ) {
outline: none;
}
.power-coupons-list .power-coupons-apply-coupon-btn:disabled {
cursor: not-allowed;
opacity: 0.6;
}
.power-coupons-list .power-coupons-apply-coupon-btn .power-coupons-coupon-status {
fill: #374151;
font-family: Inter, sans-serif;
font-weight: 400;
font-size: 12px;
line-height: 14px;
}
.power-coupons-list .power-coupons-apply-coupon-btn[data-coupon-status="applied"] .power-coupons-coupon-status {
fill: #15803d;
font-weight: 500 !important;
font-size: 14px !important;
line-height: 20px !important;
}
.power-coupons-apply-coupon-btn .power-coupons-coupon-code {
text-overflow: ellipsis;
overflow: hidden;
padding: 5px 8px;
line-height: normal;
}
.power-coupons-list .auto-applied-label,
.power-coupons-list .auto-applied-label:hover,
.power-coupons-list .auto-applied-label:active,
.power-coupons-list .auto-applied-label:focus {
display: inline-block;
width: 100%;
padding: 10px calc( var( --pc-space ) + 5px );
background: var( --pc-secondary );
color: var( --pc-bg );
text-align: center;
border-radius: 4px;
font-size: var( --pc-font-base );
font-weight: 600;
border: none;
cursor: default;
} .power-coupons-list .power-coupons-title {
margin: 0 0 calc( var( --pc-space ) + 5px );
font-size: 24px;
font-weight: 600;
color: var( --pc-text );
}
.power-coupons-list .coupon-status {
font-size: var( --pc-font-base );
color: var( --pc-muted );
font-weight: 500;
} .woocommerce-cart .cart_totals .woocommerce-remove-coupon[data-auto-apply="yes"],
.woocommerce-checkout .woocommerce-remove-coupon[data-auto-apply="yes"] {
display: none !important;
} @media ( max-width: 768px ) {
.power-coupons-list .power-coupons-wrapper {
width: 100%;
}
.power-coupons-list .power-coupon-card {
max-width: 100%;
}
} @media ( prefers-reduced-motion: reduce ) {
.power-coupons-list .power-coupon-card,
.power-coupons-list .power-coupons-apply-coupon-btn {
transition: none;
}
.power-coupons-list .power-coupon-card:hover {
transform: none;
}
}