.pec-purchase-options{margin:18px 0}.pec-purchase-options h3,.pec-plan-box h3{margin:0 0 12px}.pec-purchase-card,.pec-plan-card{display:block;position:relative;border:1px solid #d7d7d7;border-radius:8px;padding:15px;margin:9px 0;cursor:pointer;background:#fff;transition:border-color .15s,box-shadow .15s}.pec-purchase-card:hover,.pec-plan-card:hover{border-color:#888}.pec-purchase-card.is-selected,.pec-plan-card.is-selected{border-color:#2271b1;box-shadow:0 0 0 1px rgba(34,113,177,.08)}.pec-purchase-card input,.pec-plan-card input{margin-right:9px;vertical-align:top;cursor:pointer}.pec-purchase-card>span,.pec-plan-card>span{display:inline-block;vertical-align:top;width:calc(100% - 30px)}.pec-purchase-card strong,.pec-plan-card strong{display:block;font-size:15px;margin-bottom:4px}.pec-purchase-card small,.pec-plan-card small{display:block;color:#666;line-height:1.45}.pec-purchase-card b,.pec-plan-card b{display:block;margin-top:8px;font-size:16px}.pec-package-components{display:block;margin-top:10px;color:#444}.pec-package-component-list{margin:6px 0 0 18px;padding:0}.pec-package-component-list li{margin:3px 0;font-size:13px}.pec-package-component-list a{text-decoration:underline}.pec-package-link{display:block;margin-top:8px;font-weight:600}.pec-package-price{display:block}.pec-plan-box{margin:18px 0;padding:0}.pec-plan-card .pec-plan-numbers{display:block;margin-top:8px;font-weight:600}.pec-plan-card .pec-plan-dynamic{display:inline}.pec-plan-card .woocommerce-Price-amount{font-weight:600}.pec-selected-purchase-label{display:block;margin:8px 0;font-size:13px;color:#666}.pec-package-quantity{display:none}.pec-purchase-options .pec-single-card b{color:inherit}.pec-purchase-options .pec-package-card b{color:#b40000}.pec-package-card{user-select:none}.pec-package-card a{position:relative;z-index:4}.pec-package-card input{position:relative;z-index:5}.quantity input.qty:disabled{opacity:.65}

.pec-package-thumb{width:64px;height:64px;object-fit:cover;border-radius:6px;display:block;margin:0 0 8px}.pec-package-price-note{font-size:12px;color:#777!important}.pec-package-total-row{display:flex;justify-content:space-between;gap:12px;margin-top:8px;padding-top:8px;border-top:1px solid #eee;font-weight:700}.pec-package-link{border:0;background:none;padding:0;color:#2271b1;text-decoration:underline;font:inherit;text-align:left}.pec-package-modal{display:none;position:fixed;inset:0;z-index:999999}.pec-package-modal.is-open{display:block}.pec-package-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55)}.pec-package-modal-dialog{position:relative;width:min(620px,calc(100vw - 32px));max-height:calc(100vh - 50px);overflow:auto;margin:25px auto;background:#fff;border-radius:10px;box-shadow:0 15px 50px rgba(0,0,0,.25)}.pec-package-modal-header{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid #eee}.pec-package-modal-close{border:0;background:none;font-size:28px;line-height:1;cursor:pointer}.pec-package-modal-body{padding:18px}.pec-package-modal-body h4{margin:16px 0 8px}.pec-package-modal-body ul{margin:0;padding-left:20px}.pec-package-modal-body li{margin:7px 0}.pec-package-modal-body a{text-decoration:underline}.pec-package-detail-price{font-size:20px;font-weight:700;color:#b40000}
.pec-purchase-mode{margin:18px 0}.pec-purchase-mode h3,.pec-package-options h3,.pec-plan-box h3{margin:0 0 12px}.pec-mode-card{display:block;position:relative;border:1px solid #d7d7d7;border-radius:8px;padding:14px;margin:8px 0;cursor:pointer;background:#fff}.pec-mode-card.is-selected{border-color:#2271b1;box-shadow:0 0 0 1px rgba(34,113,177,.08)}.pec-mode-card input{margin-right:9px;vertical-align:top}.pec-mode-card>span{display:inline-block;vertical-align:top}.pec-mode-card strong{display:block;font-size:15px}.pec-mode-card b{display:block;margin-top:4px;font-size:16px}.pec-cash-price-note{padding:12px 14px;border:1px solid #ddd;border-radius:6px;background:#fafafa}.pec-package-options{margin:18px 0}.pec-package-help{font-size:13px;color:#666;margin-top:-5px}.pec-package-card{user-select:none}.pec-plan-sale-line{display:block;margin-top:8px}.pec-plan-sale-line .pec-plan-sale{font-size:17px}.pec-plan-sale-label{font-weight:400;color:#666}.pec-plan-monthly-line{display:block;margin-top:6px;font-weight:600}.pec-plan-advance-line{display:block;margin-top:6px}.pec-no-advance{color:#555}.pec-plan-card small{line-height:1.4}.pec-plan-card .pec-plan-dynamic{font-size:16px}
.pec-selected-plan-price{display:block;margin:8px 0 14px;padding:10px 12px;border:1px solid #e1e1e1;border-radius:6px;background:#fafafa}.pec-selected-plan-price span{font-size:12px;color:#666;margin-right:8px}.pec-selected-plan-price strong{font-size:18px}.pec-selected-plan-sale{font-weight:700}

.pec-store-price{display:block}.pec-store-cash,.pec-store-installment{display:block}.pec-store-installment{margin-top:4px;font-size:12px}.pec-store-installment strong{font-size:14px}.pec-plan-cash-reference{display:block;margin-top:8px;font-size:12px;color:#777}.pec-plan-cash-reference del{margin-right:4px}.pec-plan-sale-label{font-weight:400;color:#666;text-transform:none}.pec-plan-sale-line{display:block;margin-top:4px}.pec-plan-monthly-line{display:block;margin-top:6px;font-weight:600}.pec-plan-advance-line{display:block;margin-top:6px}

/* v1.5.3: installment-only products expose one customer-facing selling price. */
body.pec-purchase-mode-installment.single-product .summary > .price,
body.pec-purchase-mode-installment.single-product .summary .price:not(.pec-store-price) { display:none !important; }
.pec-authoritative-price{margin:0 0 14px;font-size:22px;line-height:1.2;}
.pec-authoritative-price strong{font-weight:700;}

/* v1.5.10: the plugin owns the active product price for financing modes. */
body.pec-purchase-mode-installment.single-product .summary > .price,
body.pec-purchase-mode-installment.single-product .summary .price:not(.pec-store-price),
body.pec-purchase-mode-both.single-product .summary > .price,
body.pec-purchase-mode-both.single-product .summary .price:not(.pec-store-price) { display:none !important; }
.pec-authoritative-price { display:block; margin:0 0 14px; font-size:22px; line-height:1.2; }
.pec-authoritative-price-value { font-weight:700; }
.pec-plan-sale-line { display:block; margin-top:8px; }
.pec-plan-sale-line .pec-plan-sale { font-size:17px; }

/* Keep third-party/theme price markup from leaking through on the financing product page. */
body.pec-purchase-mode-installment.single-product .product .summary .price,
body.pec-purchase-mode-both.single-product .product .summary .price { display:none !important; }

/* v1.5.11: financing price authority belongs to PEC; prevent theme price duplication. */
body.pec-purchase-mode-installment.single-product .summary .martfury-product-price,
body.pec-purchase-mode-both.single-product .summary .martfury-product-price { display:none !important; }
body.pec-purchase-mode-installment.single-product .summary .woocommerce-variation-price,
body.pec-purchase-mode-both.single-product .summary .woocommerce-variation-price { display:none !important; }


/* v1.5.13: native WooCommerce checkout review table is the single order summary. */
.woocommerce-checkout .woocommerce-checkout-review-order-table{width:100%;}
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name{vertical-align:top;}
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total{white-space:nowrap;text-align:right;vertical-align:top;}
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total .pec-checkout-payable-cell{font-weight:700;}
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total .woocommerce-Price-amount{font-weight:700;}
.woocommerce-checkout .woocommerce-checkout-review-order-table .wc-item-meta{margin:6px 0 0;padding:0;list-style:none;font-size:12px;line-height:1.55;}
.woocommerce-checkout .woocommerce-checkout-review-order-table .wc-item-meta li{margin:2px 0;color:#777;}
.woocommerce-checkout .woocommerce-checkout-review-order-table .wc-item-meta strong{color:#555;font-weight:600;}
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.pec-checkout-contract-total th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.pec-checkout-financed-balance th{font-weight:600;}
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.pec-checkout-contract-total td,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.pec-checkout-financed-balance td{text-align:right;}
.woocommerce-checkout .woocommerce-checkout-review-order-table thead .product-total{font-size:0;}
.woocommerce-checkout .woocommerce-checkout-review-order-table thead .product-total:after{content:'Payable today';font-size:14px;}
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total th{font-size:0;}
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total th:after{content:'Total payable today';font-size:14px;}
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total td{font-weight:700;}
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total td .woocommerce-Price-amount{font-size:1.1em;}
@media(max-width:767px){
 .woocommerce-checkout .woocommerce-checkout-review-order-table .product-name{width:70%;}
 .woocommerce-checkout .woocommerce-checkout-review-order-table .product-total{width:30%;}
}

/* v1.16.0 — native checkout/mini-cart refinement; calculations remain unchanged. */
.woocommerce-checkout .woocommerce-checkout-review-order-table .wc-item-meta{font-size:12px;line-height:1.6;margin-top:7px}
.woocommerce-checkout .woocommerce-checkout-review-order-table .wc-item-meta li{padding-left:0}
.woocommerce-checkout .woocommerce-checkout-review-order-table .wc-item-meta strong{font-weight:600;color:#555}
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.pec-checkout-contract-total th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.pec-checkout-financed-balance th{font-size:13px;color:#50575e}
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.pec-checkout-contract-total td,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.pec-checkout-financed-balance td{font-weight:600;font-variant-numeric:tabular-nums}
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total{border-top:2px solid #dcdcde}
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total td .woocommerce-Price-amount{font-size:1.25em}
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name .variation{margin-top:4px}
@media(max-width:767px){
 .woocommerce-checkout .woocommerce-checkout-review-order-table .wc-item-meta{font-size:11px}
 .woocommerce-checkout .woocommerce-checkout-review-order-table tr.pec-checkout-contract-total th,
 .woocommerce-checkout .woocommerce-checkout-review-order-table tr.pec-checkout-financed-balance th{font-size:12px}
}

/* v1.17.1: preserve WooCommerce-style regular/sale presentation while PEC owns the active price. */
.pec-authoritative-price .pec-original-price{margin-right:8px;color:#777;font-size:.78em;font-weight:400;}
.pec-authoritative-price .pec-current-price{text-decoration:none;color:inherit;background:none;}
.pec-authoritative-price ins{background:transparent;}

/* v1.17.1: clarify pre-payment vs projected post-payment financing balance. */
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.pec-checkout-balance-after-today th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tr.pec-checkout-balance-after-today td{font-weight:600;}

/* v1.18.5 — free gift promotion. */
.pec-free-gift-box{display:flex;align-items:center;gap:12px;margin:12px 0 18px;padding:12px 14px;border:1px solid #dfe3e7;border-radius:8px;background:#fafafa}.pec-free-gift-media{width:58px;min-width:58px;height:58px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:6px;background:#fff}.pec-free-gift-media img{max-width:100%;max-height:100%;object-fit:contain}.pec-free-gift-copy{display:flex;flex-direction:column;gap:3px}.pec-free-gift-badge{font-size:11px;letter-spacing:.04em}.pec-free-gift-title{font-size:15px}.pec-free-gift-text,.pec-free-gift-value{font-size:12px;color:#666}.pec-free-gift-value del{margin-right:3px}

/* v1.21.0: simple customer-facing financing maths on checkout */
body.pec-installment-checkout .cart-subtotal { display:none !important; }
.pec-checkout-payable-today td strong { font-size:1.08em; }
.pec-simple-monthly-line { display:block; margin-top:4px; }
.pec-plan-simple-monthly-line { display:block; margin-top:3px; }


/* v1.21.2 — customer checkout assurance */
.pec-customer-assurance{margin:14px 0 18px;padding:13px 14px;border:1px solid #e2e2e2;border-radius:6px;background:#fff;font-size:13px;line-height:1.55;}
.pec-assurance-item{display:flex;align-items:flex-start;gap:8px;margin:3px 0;font-weight:600;}
.pec-assurance-item>span:first-child{font-weight:700;}
.pec-assurance-terms{margin-top:10px;padding-top:9px;border-top:1px solid #eee;font-size:12px;color:#666;}
.pec-assurance-terms a{text-decoration:underline;}


/* v1.21.4 — clean customer-facing order confirmation financing card */
.pec-order-received-financing{margin:28px 0 36px;padding:24px;border:1px solid #e5e5e5;border-radius:10px;background:#fff;box-shadow:0 3px 14px rgba(0,0,0,.04)}
.pec-order-received-financing-heading{margin-bottom:18px}.pec-order-received-eyebrow{display:block;font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;opacity:.65}.pec-order-received-financing-heading h2{margin:4px 0 5px}.pec-order-received-financing-heading p{margin:0;color:#777;font-size:13px}
.pec-order-received-contracts{display:grid;gap:10px}.pec-order-received-contract{padding:14px 15px;border:1px solid #ededed;border-radius:7px;background:#fafafa}.pec-order-received-contract h3{margin:0 0 10px;font-size:14px}.pec-order-received-line{display:grid;grid-template-columns:1fr auto;gap:2px 12px;align-items:baseline;padding:6px 0}.pec-order-received-line+ .pec-order-received-line{border-top:1px solid #eee}.pec-order-received-line span{font-size:13px}.pec-order-received-line strong{font-size:14px}.pec-order-received-line small{grid-column:1 / -1;color:#777;font-size:11px}
.pec-order-received-total{display:flex;justify-content:space-between;align-items:center;margin-top:14px;padding:15px 16px;border-radius:7px;background:#f6f6f6}.pec-order-received-total span{font-weight:700}.pec-order-received-total strong{font-size:18px}.pec-order-received-assurance{display:grid;gap:4px;margin-top:14px;padding-top:13px;border-top:1px solid #eee}.pec-order-received-assurance div{font-size:12px;font-weight:600}.pec-order-received-assurance span{margin-right:7px}.pec-order-received-terms{margin-top:13px;color:#777;font-size:11px}
@media(max-width:600px){.pec-order-received-financing{padding:17px}.pec-order-received-total{align-items:flex-start;gap:10px}.pec-order-received-total strong{font-size:16px}}
