.kh-pgr-product-box,.kh-pgr-status-panel{--kh-blue:#1c61e7;--kh-dark:#071735;--kh-border:#e6ecf8;font-family:inherit}.kh-pgr-product-box{margin:18px 0;padding:17px;border-radius:18px;background:linear-gradient(135deg,#f8fbff,#fff);border:1px solid var(--kh-border);box-shadow:0 10px 30px rgba(28,97,231,.08)}.kh-pgr-product-title{font-weight:900;margin-bottom:13px;color:var(--kh-dark)}.kh-pgr-product-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:11px}.kh-pgr-method{position:relative;display:flex;align-items:center;gap:11px;padding:13px;border-radius:16px;border:1px solid #e9edf5;background:#fff;min-height:76px}.kh-pgr-logo,.kh-pgr-pay-icon{width:46px;height:46px;flex:0 0 46px;border-radius:14px;background:#f7f9fc;border:1px solid #eef1f7;display:flex;align-items:center;justify-content:center;overflow:hidden}.kh-pgr-logo img,.kh-pgr-pay-icon img{max-width:36px;max-height:36px;width:auto;height:auto;display:block}.kh-pgr-fallback-icon{width:34px;height:34px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:#eef4ff;color:#1c61e7;font-weight:900}.kh-pgr-method-body{min-width:0;padding-left:52px}.kh-pgr-method strong,.kh-pgr-pay-card strong{display:block;color:#111827;font-size:13px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kh-pgr-method small,.kh-pgr-pay-card small{display:block;margin-top:5px;color:#667085;font-size:11px;line-height:1.8}.kh-pgr-badge,.kh-pgr-pay-card b{border-radius:999px;padding:4px 9px;font-size:11px;font-weight:900;white-space:nowrap}.kh-pgr-badge{position:absolute;left:10px;top:10px}.kh-pgr-method.is-ok{border-color:#a7efca;background:linear-gradient(135deg,#f5fffa,#fff)}.kh-pgr-method.is-ok .kh-pgr-badge{background:#dcfae6;color:#067647}.kh-pgr-method.is-blocked{border-color:#e4e7ec;background:#fafafa}.kh-pgr-method.is-blocked .kh-pgr-logo,.kh-pgr-method.is-blocked .kh-pgr-method-body{filter:grayscale(1);opacity:.5}.kh-pgr-method.is-blocked .kh-pgr-badge{background:#f2f4f7;color:#667085}.kh-pgr-status-panel{margin:16px 0 20px;padding:16px;border-radius:20px;background:linear-gradient(135deg,#f8fbff,#fff);border:1px solid var(--kh-border);box-shadow:0 10px 34px rgba(28,97,231,.08)}.kh-pgr-status-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid #edf1f8}.kh-pgr-status-head span{font-weight:900;color:var(--kh-dark)}.kh-pgr-status-head small{color:#667085;line-height:1.7}.kh-pgr-status-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.kh-pgr-status-col{min-width:0}.kh-pgr-status-title{display:inline-flex;align-items:center;gap:7px;margin-bottom:9px;font-size:13px;font-weight:900;border-radius:999px;padding:6px 11px}.kh-pgr-status-title:before{content:"";width:8px;height:8px;border-radius:50%}.kh-pgr-status-title.ok{background:#ecfdf3;color:#067647}.kh-pgr-status-title.ok:before{background:#12b76a}.kh-pgr-status-title.blocked{background:#fff1f3;color:#b42318}.kh-pgr-status-title.blocked:before{background:#f04438}.kh-pgr-pay-card{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:11px;margin:9px 0;padding:12px;border-radius:16px;background:#fff;border:1px solid #edf1f7}.kh-pgr-pay-card.is-active{border-color:#b7efd2;background:linear-gradient(135deg,#f6fffa,#fff)}.kh-pgr-pay-card.is-active b{background:#dcfae6;color:#067647}.kh-pgr-pay-card.is-inactive{border-color:#ffd0d5;background:linear-gradient(135deg,#fff8f8,#fff)}.kh-pgr-pay-card.is-inactive .kh-pgr-pay-icon{filter:grayscale(1);opacity:.5}.kh-pgr-pay-card.is-inactive b{background:#fee4e2;color:#b42318}.kh-pgr-empty{padding:14px;border-radius:14px;background:#f8fafc;border:1px dashed #d0d5dd;color:#667085;font-size:12px;line-height:1.8}.kh-pgr-cart-reasons td{padding:0!important;border:0!important}@media(max-width:768px){.kh-pgr-product-box,.kh-pgr-status-panel{padding:13px;border-radius:16px}.kh-pgr-product-list,.kh-pgr-status-columns{grid-template-columns:1fr}.kh-pgr-method,.kh-pgr-pay-card{padding:11px}.kh-pgr-status-head{display:block}.kh-pgr-status-head small{display:block;margin-top:5px}.kh-pgr-method-body{padding-left:48px}}
.kh-pgr-fee-badge{display:inline-flex;align-items:center;justify-content:center;margin:6px 0 0 6px;padding:3px 9px;border-radius:999px;background:#fff7ed;color:#b45309;border:1px solid #fed7aa;font-style:normal;font-size:11px;font-weight:900;line-height:1.7;white-space:nowrap}.kh-pgr-fee-help{color:#92400e!important;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:5px 8px;margin-top:7px!important}.kh-pgr-method.is-blocked .kh-pgr-fee-badge,.kh-pgr-method.is-blocked .kh-pgr-fee-help,.kh-pgr-pay-card.is-inactive .kh-pgr-fee-badge,.kh-pgr-pay-card.is-inactive .kh-pgr-fee-help{filter:grayscale(1);opacity:.75}@media(max-width:768px){.kh-pgr-fee-badge{font-size:10px;padding:2px 7px}}
.kh-pgr-pay-card.is-selectable{cursor:pointer;transition:.2s ease;outline:none}.kh-pgr-pay-card.is-selectable:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(28,97,231,.10)}.kh-pgr-pay-card.is-selectable.is-selected{border-color:#1c61e7!important;box-shadow:0 0 0 3px rgba(28,97,231,.12),0 12px 28px rgba(28,97,231,.12)}.kh-pgr-pay-card.is-selectable.is-selected b{background:#1c61e7;color:#fff}.kh-pgr-pay-main{min-width:0}.kh-pgr-card-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:5px}.kh-pgr-card-meta small{margin-top:0!important}.kh-pgr-pay-card .kh-pgr-fee-badge{margin:0;padding:2px 7px;font-size:10px;line-height:1.55;background:#fff7ed}.kh-pgr-pay-card .kh-pgr-fee-help{display:inline-flex!important;margin:0!important;padding:2px 7px;border-radius:999px;font-size:10px;line-height:1.55}.kh-pgr-pay-card{grid-template-columns:42px minmax(0,1fr) auto;padding:10px 11px;gap:9px}.kh-pgr-pay-icon{width:42px;height:42px;flex-basis:42px;border-radius:12px}.kh-pgr-pay-icon img{max-width:32px;max-height:32px}.kh-pgr-pay-card b{padding:4px 8px;font-size:10px}.kh-pgr-pay-card small{font-size:11px}.kh-pgr-pay-card strong{font-size:13px}@media(max-width:768px){.kh-pgr-pay-card{grid-template-columns:40px minmax(0,1fr);align-items:flex-start}.kh-pgr-pay-card>b{grid-column:2;margin-top:2px;justify-self:start}.kh-pgr-card-meta{display:block}.kh-pgr-card-meta .kh-pgr-fee-badge,.kh-pgr-card-meta .kh-pgr-fee-help{margin-top:5px!important}}
/* v1.7 checkout cards */
.woocommerce-checkout #payment ul.wc_payment_methods,
.woocommerce-checkout #payment .payment_methods,
.woocommerce-checkout-review-order #payment ul.payment_methods{display:none!important}
.kh-pgr-no-inactive .kh-pgr-status-columns{grid-template-columns:1fr}.kh-pgr-no-inactive .kh-pgr-status-col{max-width:760px}.kh-pgr-selected-desc{display:none;margin-top:8px;padding:8px 10px;border-radius:12px;background:#f5f8ff;border:1px solid #dbe7ff;color:#344054;font-size:12px;line-height:1.9}.kh-pgr-pay-card.is-selected .kh-pgr-selected-desc{display:block}.kh-pgr-pay-card .kh-pgr-fee-badge{background:#fff7ed;border-color:#fed7aa}.kh-pgr-pay-card .kh-pgr-fee-help{max-width:100%;white-space:normal}.kh-pgr-card-meta{row-gap:4px}.kh-pgr-status-checkout .kh-pgr-pay-card{min-height:64px}.kh-pgr-status-checkout .kh-pgr-pay-card.is-selected{background:linear-gradient(135deg,#f3f7ff,#fff)}
@media(max-width:768px){.kh-pgr-no-inactive .kh-pgr-status-col{max-width:none}.kh-pgr-selected-desc{font-size:11px;padding:7px 9px}}

/* v1.8 product shortcode premium UI */
.kh-pgr-product-box-v18{position:relative;overflow:hidden;padding:0!important;border:1px solid #e3eaf8!important;background:#fff!important;box-shadow:0 16px 42px rgba(7,23,53,.08)!important}.kh-pgr-product-box-v18:before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,#1c61e7,#63a4ff,#12b76a)}.kh-pgr-product-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 18px 15px;background:linear-gradient(135deg,#f7faff,#fff);border-bottom:1px solid #edf2fb}.kh-pgr-product-kicker{display:inline-flex;margin-bottom:6px;padding:4px 9px;border-radius:999px;background:#eef4ff;color:#1c61e7;font-size:11px;font-weight:900}.kh-pgr-product-head .kh-pgr-product-title{margin:0!important;font-size:16px;font-weight:950;color:#071735}.kh-pgr-product-head p{margin:6px 0 0;color:#667085;font-size:12px;line-height:1.9}.kh-pgr-product-count{min-width:82px;text-align:center;border-radius:16px;background:#071735;color:#fff;padding:9px 10px;box-shadow:0 10px 20px rgba(7,23,53,.14)}.kh-pgr-product-count strong{display:block;font-size:21px;line-height:1;font-weight:950}.kh-pgr-product-count span{display:block;margin-top:4px;font-size:10px;color:rgba(255,255,255,.78);white-space:nowrap}.kh-pgr-product-box-v18 .kh-pgr-product-list{padding:14px;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.kh-pgr-product-box-v18 .kh-pgr-method{display:block;min-height:0;padding:13px;border-radius:18px;transition:.2s ease;overflow:hidden}.kh-pgr-product-box-v18 .kh-pgr-method:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(7,23,53,.08)}.kh-pgr-method-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.kh-pgr-product-box-v18 .kh-pgr-logo{width:48px;height:48px;flex-basis:48px;border-radius:16px;background:#fff;box-shadow:inset 0 0 0 1px #eef1f7}.kh-pgr-product-box-v18 .kh-pgr-logo img{max-width:38px;max-height:38px}.kh-pgr-product-box-v18 .kh-pgr-badge{position:static!important;display:inline-flex;align-items:center;gap:5px;padding:5px 9px;font-size:10px}.kh-pgr-product-box-v18 .kh-pgr-badge i{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;font-style:normal;background:rgba(255,255,255,.75)}.kh-pgr-product-box-v18 .kh-pgr-method-body{padding-left:0!important}.kh-pgr-product-box-v18 .kh-pgr-method strong{font-size:14px;margin-bottom:4px}.kh-pgr-product-box-v18 .kh-pgr-method small{font-size:11.5px;line-height:1.9;color:#667085}.kh-pgr-product-box-v18 .kh-pgr-method.is-ok{background:linear-gradient(135deg,#f4fff9,#fff);border-color:#b7efd2}.kh-pgr-product-box-v18 .kh-pgr-method.is-ok .kh-pgr-badge{background:#dcfae6;color:#067647}.kh-pgr-product-box-v18 .kh-pgr-method.is-blocked{background:linear-gradient(135deg,#f9fafb,#fff);border-color:#e4e7ec}.kh-pgr-product-box-v18 .kh-pgr-method.is-blocked .kh-pgr-badge{background:#f2f4f7;color:#667085}.kh-pgr-product-box-v18 .kh-pgr-method.is-blocked .kh-pgr-logo{filter:grayscale(1);opacity:.58}.kh-pgr-product-box-v18 .kh-pgr-method.is-blocked .kh-pgr-method-body{filter:none!important;opacity:1!important}.kh-pgr-product-box-v18 .kh-pgr-method.is-blocked strong{color:#667085}.kh-pgr-product-box-v18 .kh-pgr-fee-badge{margin:4px 0 4px 6px;padding:2px 8px;font-size:10px}.kh-pgr-product-box-v18 .kh-pgr-fee-help{display:block!important;margin-top:7px!important;padding:6px 8px;font-size:10.5px;line-height:1.8}
@media(max-width:768px){.kh-pgr-product-head{padding:16px 14px;align-items:flex-start}.kh-pgr-product-count{min-width:74px;padding:8px}.kh-pgr-product-count strong{font-size:18px}.kh-pgr-product-count span{font-size:9px}.kh-pgr-product-box-v18 .kh-pgr-product-list{padding:12px;grid-template-columns:1fr}.kh-pgr-product-box-v18 .kh-pgr-method{padding:12px}.kh-pgr-product-head .kh-pgr-product-title{font-size:14px}.kh-pgr-product-head p{font-size:11px}}

/* v1.9 installment plans on product shortcode */
.kh-pgr-installment-section{padding:0 14px 15px;border-top:1px solid #edf2fb;background:linear-gradient(180deg,#fff,#fbfdff)}
.kh-pgr-installment-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin:14px 0 11px}
.kh-pgr-installment-head span{font-weight:950;color:#071735;font-size:14px}
.kh-pgr-installment-head small{color:#667085;font-size:11px;line-height:1.8;text-align:left}
.kh-pgr-installment-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.kh-pgr-installment-card{display:grid;grid-template-columns:48px minmax(0,1fr);gap:11px;align-items:start;padding:13px;border-radius:18px;background:linear-gradient(135deg,#fff7ed,#fff);border:1px solid #fed7aa;box-shadow:0 10px 24px rgba(180,83,9,.07)}
.kh-pgr-installment-logo{width:48px;height:48px;border-radius:16px;background:#fff;border:1px solid #ffedd5;display:flex;align-items:center;justify-content:center;overflow:hidden}
.kh-pgr-installment-logo img{max-width:38px;max-height:38px;width:auto;height:auto;display:block}
.kh-pgr-installment-main strong{display:block;color:#111827;font-size:13px;font-weight:950;margin-bottom:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kh-pgr-installment-price{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:7px}
.kh-pgr-installment-price b{font-size:15px;color:#b45309;font-weight:950;line-height:1.5}
.kh-pgr-installment-price span{font-size:10.5px;color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:999px;padding:2px 7px;font-weight:800}
.kh-pgr-installment-meta{display:flex;flex-wrap:wrap;gap:5px}
.kh-pgr-installment-meta small{display:inline-flex!important;margin:0!important;padding:3px 7px;border-radius:999px;background:#fff;color:#667085;border:1px solid #ffedd5;font-size:10px;line-height:1.6}
.kh-pgr-installment-main p{margin:8px 0 0;padding:7px 9px;border-radius:12px;background:#fff;border:1px dashed #fdba74;color:#92400e;font-size:10.5px;line-height:1.8}
@media(max-width:768px){.kh-pgr-installment-section{padding:0 12px 13px}.kh-pgr-installment-head{display:block}.kh-pgr-installment-head small{display:block;text-align:right;margin-top:4px}.kh-pgr-installment-list{grid-template-columns:1fr}.kh-pgr-installment-card{padding:12px}.kh-pgr-installment-price b{font-size:14px}}

.kh-pgr-credit-section{margin-top:18px;padding:16px;border:1px solid #e5e7eb;border-radius:18px;background:linear-gradient(135deg,#fff7ed,#fff)}
.kh-pgr-credit-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;margin-top:12px}
.kh-pgr-credit-card{display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:16px;background:#fff;border:1px solid #fed7aa;box-shadow:0 8px 24px rgba(15,23,42,.06)}
.kh-pgr-credit-pay-first{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0;padding:10px 12px;border-radius:14px;background:#fff7ed;color:#9a3412}
.kh-pgr-credit-pay-first span{font-size:12px;font-weight:700}
.kh-pgr-credit-pay-first b{font-size:15px;font-weight:900}
.kh-pgr-credit-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}
.kh-pgr-credit-grid small{background:#f8fafc;border:1px solid #eef2f7;border-radius:10px;padding:7px 8px;color:#475569;font-size:11px;line-height:1.8}
.kh-pgr-credit-grid .kh-pgr-warning{grid-column:1/-1;background:#fff1f2;border-color:#fecdd3;color:#be123c}
.kh-pgr-credit-card p{margin:8px 0 0;color:#64748b;font-size:12px;line-height:1.9}
@media(max-width:640px){.kh-pgr-credit-card{flex-direction:column}.kh-pgr-credit-grid{grid-template-columns:1fr}}

/* v1.11 compact customer credit estimator */
.kh-pgr-credit-estimator{margin:0 14px 15px!important;padding:14px!important;background:linear-gradient(135deg,#fff7ed,#fff)!important;border-color:#fed7aa!important}
.kh-pgr-credit-control{display:grid;grid-template-columns:150px minmax(0,1fr);gap:8px 12px;align-items:center;margin:10px 0 12px;padding:10px;border-radius:16px;background:#fff;border:1px solid #ffedd5}
.kh-pgr-credit-control label{font-size:12px;font-weight:950;color:#9a3412;white-space:nowrap}
.kh-pgr-credit-control>div{display:flex;gap:7px;align-items:center;min-width:0}
.kh-pgr-credit-control input{width:100%;height:38px;border:1px solid #fed7aa!important;border-radius:12px!important;padding:0 12px!important;background:#fff!important;box-shadow:none!important;text-align:center;font-weight:900;color:#111827}
.kh-pgr-credit-control button{height:38px;border:0;border-radius:12px;background:#1c61e7;color:#fff;padding:0 14px;font-size:12px;font-weight:900;cursor:pointer;white-space:nowrap}
.kh-pgr-credit-control small{grid-column:1/-1;color:#9a3412;font-size:10.5px;line-height:1.8}
.kh-pgr-credit-compact{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))!important;gap:10px!important;margin-top:0!important}
.kh-pgr-credit-card-calc{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:10px!important;padding:11px!important;border-radius:16px!important;box-shadow:0 8px 18px rgba(180,83,9,.06)!important}
.kh-pgr-credit-card-calc .kh-pgr-installment-logo{width:42px;height:42px;border-radius:14px}.kh-pgr-credit-card-calc .kh-pgr-installment-logo img{max-width:33px;max-height:33px}
.kh-pgr-credit-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}.kh-pgr-credit-title-row strong{margin:0!important;font-size:12.5px!important}.kh-pgr-credit-title-row span{font-size:9.5px;color:#b45309;background:#fff7ed;border:1px solid #fed7aa;border-radius:999px;padding:2px 7px;white-space:nowrap}
.kh-pgr-credit-empty{padding:8px 9px;border-radius:12px;background:#f8fafc;border:1px dashed #cbd5e1;color:#64748b;font-size:10.5px;line-height:1.8;text-align:center}
.kh-pgr-credit-card-calc .kh-pgr-credit-pay-first{margin:0 0 7px!important;padding:8px 10px!important;border-radius:12px!important}.kh-pgr-credit-card-calc .kh-pgr-credit-pay-first span{font-size:10.5px}.kh-pgr-credit-card-calc .kh-pgr-credit-pay-first b{font-size:13px}
.kh-pgr-credit-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px}.kh-pgr-credit-mini-grid small{padding:6px 7px;border-radius:10px;background:#fff;border:1px solid #ffedd5;color:#64748b;font-size:10px;line-height:1.7}.kh-pgr-credit-mini-grid b{display:block;color:#111827;font-size:10.5px;margin-top:1px}
.kh-pgr-credit-card-calc p{margin-top:7px!important;font-size:10px!important;color:#78716c!important;line-height:1.8!important}.kh-pgr-credit-estimator.has-credit-value .kh-pgr-credit-control{border-color:#fdba74;box-shadow:0 6px 16px rgba(180,83,9,.06)}
@media(max-width:640px){.kh-pgr-credit-estimator{margin:0 12px 13px!important;padding:12px!important}.kh-pgr-credit-control{grid-template-columns:1fr}.kh-pgr-credit-control>div{display:grid;grid-template-columns:1fr auto}.kh-pgr-credit-compact{grid-template-columns:1fr!important}.kh-pgr-credit-mini-grid{grid-template-columns:1fr}.kh-pgr-credit-title-row{display:block}.kh-pgr-credit-title-row span{display:inline-flex;margin-top:5px}.kh-pgr-credit-card-calc{grid-template-columns:38px minmax(0,1fr)!important}}

/* v1.15 cart-only credit estimator redesign */
.kh-pgr-status-cart .kh-pgr-credit-estimator{margin:14px 0 2px!important;padding:14px!important;border-radius:18px!important;background:linear-gradient(135deg,#fffaf4,#fff)!important;border:1px solid #fed7aa!important;box-shadow:0 12px 28px rgba(180,83,9,.07)!important}
.kh-pgr-status-cart .kh-pgr-installment-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}
.kh-pgr-status-cart .kh-pgr-installment-head span{font-size:14px;font-weight:950;color:#7c2d12}.kh-pgr-status-cart .kh-pgr-installment-head small{font-size:11px;color:#9a3412;line-height:1.8;text-align:left;max-width:390px}
.kh-pgr-status-cart .kh-pgr-credit-control{grid-template-columns:135px minmax(0,1fr);margin:8px 0 10px;padding:8px;border-radius:14px;background:#fffdf8}
.kh-pgr-status-cart .kh-pgr-credit-control input{height:36px;font-size:13px}.kh-pgr-status-cart .kh-pgr-credit-control button{height:36px;padding:0 13px;font-size:11.5px}
.kh-pgr-status-cart .kh-pgr-credit-compact{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;gap:9px!important}.kh-pgr-status-cart .kh-pgr-credit-card-calc{padding:10px!important;border-radius:15px!important;background:#fff!important}.kh-pgr-status-cart .kh-pgr-credit-mini-grid{grid-template-columns:1fr 1fr}.kh-pgr-status-cart .kh-pgr-credit-pay-first b{white-space:nowrap}
@media(max-width:640px){.kh-pgr-status-cart .kh-pgr-credit-estimator{margin:12px -2px 0!important;padding:11px!important;border-radius:16px!important}.kh-pgr-status-cart .kh-pgr-installment-head{display:block}.kh-pgr-status-cart .kh-pgr-installment-head small{display:block;text-align:right;margin-top:4px;max-width:none;font-size:10.5px}.kh-pgr-status-cart .kh-pgr-credit-control{display:block;padding:9px}.kh-pgr-status-cart .kh-pgr-credit-control label{display:block;margin-bottom:7px}.kh-pgr-status-cart .kh-pgr-credit-control>div{display:grid;grid-template-columns:1fr;gap:7px}.kh-pgr-status-cart .kh-pgr-credit-control button{width:100%}.kh-pgr-status-cart .kh-pgr-credit-compact{grid-template-columns:1fr!important}.kh-pgr-status-cart .kh-pgr-credit-card-calc{grid-template-columns:36px minmax(0,1fr)!important;gap:8px!important;padding:9px!important}.kh-pgr-status-cart .kh-pgr-credit-mini-grid{grid-template-columns:1fr}.kh-pgr-status-cart .kh-pgr-credit-title-row span{font-size:9px}.kh-pgr-status-cart .kh-pgr-credit-card-calc p{font-size:9.5px!important}}

/* v1.16 automatic credit estimator */
.kh-pgr-credit-control label small{display:block;margin-top:3px;color:#a16207;font-size:10px;font-weight:800;white-space:normal;line-height:1.6}
.kh-pgr-credit-currency{height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0 10px;border-radius:12px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:11px;font-weight:950;white-space:nowrap}
.kh-pgr-credit-control>div{grid-template-columns:minmax(0,1fr) auto}
@media(max-width:640px){.kh-pgr-credit-control label{white-space:normal}.kh-pgr-credit-currency{height:36px;padding:0 9px}.kh-pgr-credit-control input{height:36px}}

/* v1.17 product gateway credit estimator */
.kh-pgr-method.has-credit-estimator{cursor:pointer;position:relative}.kh-pgr-method.has-credit-estimator:after{content:"";display:none;align-items:center;justify-content:center;margin:0 14px 12px auto;padding:5px 9px;border-radius:999px;background:#eef4ff;color:#1c61e7;font-size:10px;font-weight:950;border:1px solid #dbe8ff}.kh-pgr-method.has-credit-estimator.is-credit-selected{border-color:#1c61e7!important;box-shadow:0 10px 28px rgba(28,97,231,.16)!important}.kh-pgr-method.has-credit-estimator.is-credit-selected:after{background:#1c61e7;color:#fff;border-color:#1c61e7}.kh-pgr-product-credit-estimator{margin-top:14px!important;border:1px solid #dbe8ff!important;background:linear-gradient(135deg,#f8fbff,#fff)!important}.kh-pgr-product-credit-estimator .kh-pgr-credit-list{grid-template-columns:1fr!important}.kh-pgr-product-credit-estimator .kh-pgr-credit-card-calc{animation:khPgrFadeUp .18s ease both}@keyframes khPgrFadeUp{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:640px){.kh-pgr-method.has-credit-estimator:after{margin:0 10px 10px auto;font-size:9.5px}.kh-pgr-product-credit-estimator{padding:11px!important;border-radius:16px!important}.kh-pgr-product-credit-estimator .kh-pgr-credit-control{display:block}.kh-pgr-product-credit-estimator .kh-pgr-credit-control>div{display:grid;grid-template-columns:1fr auto;gap:7px}}

/* v1.18 installment availability labels */
.kh-pgr-installment-label{display:inline-flex;align-items:center;justify-content:center;gap:5px;border-radius:999px;background:linear-gradient(135deg,#7c2d12,#f97316);color:#fff!important;font-family:inherit;font-weight:950;letter-spacing:-.1px;box-shadow:0 10px 24px rgba(249,115,22,.22);border:1px solid rgba(255,255,255,.24);white-space:nowrap;line-height:1.4;z-index:5}.kh-pgr-installment-label-icon{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:50%;background:rgba(255,255,255,.18);font-size:11px;font-weight:950}.kh-pgr-loop-installment-label{position:absolute;top:10px;right:10px;padding:5px 9px;font-size:11px}.products .product,.woocommerce ul.products li.product,.wd-product,.product-grid-item{position:relative}.kh-pgr-single-installment-label{margin:0 0 10px;padding:7px 12px;font-size:12px;vertical-align:middle}.kh-pgr-single-installment-label + *{clear:both}@media(max-width:768px){.kh-pgr-loop-installment-label{top:7px;right:7px;padding:4px 7px;font-size:10px}.kh-pgr-installment-label-icon{width:15px;height:15px;font-size:10px}.kh-pgr-single-installment-label{padding:6px 10px;font-size:11px;margin-bottom:8px}}

/* v1.19 Woodmart label ordering: inside .product-labels below New, fallback below Sale */
.product-labels .kh-pgr-loop-installment-label,
.product-labels .kh-pgr-installment-label.kh-pgr-loop-installment-label{
    position:static!important;
    inset:auto!important;
    display:inline-flex!important;
    width:max-content!important;
    max-width:100%;
    margin-top:4px!important;
    padding:5px 9px!important;
    font-size:11px!important;
    transform:none!important;
    z-index:auto!important;
}
.product-labels .kh-pgr-loop-installment-label .kh-pgr-installment-label-icon{width:16px;height:16px;font-size:10px}.kh-pgr-created-labels{position:absolute;top:10px;right:10px;z-index:5;display:flex;flex-direction:column;align-items:flex-start;gap:4px}.wd-product-thumb .kh-pgr-created-labels .kh-pgr-loop-installment-label{margin-top:0!important}
@media(max-width:768px){.product-labels .kh-pgr-loop-installment-label{padding:4px 7px!important;font-size:10px!important}.product-labels .kh-pgr-loop-installment-label .kh-pgr-installment-label-icon{width:15px;height:15px;font-size:9px}.kh-pgr-created-labels{top:7px;right:7px}}

/* v4.1 installment label: simple, no percent icon, follows Woodmart label visibility */
.kh-pgr-installment-label,
.product-labels .kh-pgr-loop-installment-label,
.product-labels .kh-pgr-installment-label.kh-pgr-loop-installment-label{
    gap:0!important;
    background:#fff!important;
    color:#374151!important;
    border:1px solid #e5e7eb!important;
    box-shadow:none!important;
    font-weight:400!important;
    letter-spacing:0!important;
    line-height:1.5!important;
}
.kh-pgr-installment-label-icon,
.product-labels .kh-pgr-loop-installment-label .kh-pgr-installment-label-icon{display:none!important}
.kh-pgr-loop-installment-label{padding:4px 8px!important;font-size:11px!important}
.kh-pgr-single-installment-label{padding:5px 10px!important;font-size:12px!important;font-weight:400!important}
@media(max-width:768px){.kh-pgr-loop-installment-label{padding:3px 7px!important;font-size:10px!important}.kh-pgr-single-installment-label{padding:4px 8px!important;font-size:11px!important}}

/* v4.2 premium orange installment label + hover payment gateway icons */
.products .product,
.woocommerce ul.products li.product,
.wd-product,
.product-grid-item,
.wd-product-thumb,
.product-element-top{position:relative!important}
.kh-pgr-installment-label,
.product-labels .kh-pgr-loop-installment-label,
.product-labels .kh-pgr-installment-label.kh-pgr-loop-installment-label{
    background:#f97316!important;
    color:#fff!important;
    border:1px solid rgba(255,255,255,.35)!important;
    box-shadow:0 8px 20px rgba(249,115,22,.22)!important;
    font-weight:400!important;
    letter-spacing:0!important;
    line-height:1.45!important;
    gap:0!important;
}
.kh-pgr-label-text{display:inline-flex;align-items:center;justify-content:center;position:relative;z-index:2;font-weight:400!important}
.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left,
.product-labels .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left,
.wd-product-thumb .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left{
    position:absolute!important;
    top:auto!important;
    right:auto!important;
    bottom:10px!important;
    left:10px!important;
    width:auto!important;
    max-width:calc(100% - 20px)!important;
    margin:0!important;
    padding:5px 10px!important;
    border-radius:999px!important;
    font-size:11px!important;
    z-index:9!important;
    overflow:visible!important;
    transform:none!important;
}
.kh-pgr-single-installment-label{
    background:#f97316!important;
    color:#fff!important;
    border-color:#fb923c!important;
    box-shadow:0 8px 20px rgba(249,115,22,.18)!important;
    font-weight:400!important;
}
.kh-pgr-label-gateway-icons{
    position:absolute;
    left:0;
    bottom:calc(100% + 7px);
    display:flex;
    align-items:center;
    gap:5px;
    pointer-events:none;
    opacity:0;
    transform:translateY(10px) scale(.88);
    transform-origin:left bottom;
    transition:opacity .22s ease, transform .28s cubic-bezier(.2,.9,.2,1);
    z-index:10;
}
.kh-pgr-label-gateway-icon{
    width:27px;
    height:27px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.96);
    border:1px solid rgba(249,115,22,.24);
    box-shadow:0 8px 18px rgba(15,23,42,.14);
    opacity:0;
    transform:translateY(12px) translateX(-6px) scale(.62);
    transition:opacity .22s ease, transform .34s cubic-bezier(.2,.95,.2,1);
    transition-delay:calc(var(--kh-pgr-i,0) * 45ms);
    overflow:hidden;
}
.kh-pgr-label-gateway-icon img{max-width:21px;max-height:21px;width:auto;height:auto;display:block}.kh-pgr-label-gateway-icon .kh-pgr-fallback-icon{width:21px;height:21px;font-size:10px;border-radius:50%;background:#fff7ed;color:#ea580c}
.wd-product:hover .kh-pgr-label-gateway-icons,
.product-grid-item:hover .kh-pgr-label-gateway-icons,
li.product:hover .kh-pgr-label-gateway-icons,
.product:hover .kh-pgr-label-gateway-icons,
.hover-ready:hover .kh-pgr-label-gateway-icons{opacity:1;transform:translateY(0) scale(1)}
.wd-product:hover .kh-pgr-label-gateway-icon,
.product-grid-item:hover .kh-pgr-label-gateway-icon,
li.product:hover .kh-pgr-label-gateway-icon,
.product:hover .kh-pgr-label-gateway-icon,
.hover-ready:hover .kh-pgr-label-gateway-icon{opacity:1;transform:translateY(0) translateX(0) scale(1)}
.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left:before{content:"";position:absolute;inset:-6px -8px 100% -8px;border-radius:999px;background:radial-gradient(circle at left bottom,rgba(249,115,22,.18),transparent 68%);opacity:0;transition:opacity .24s ease;pointer-events:none}.wd-product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left:before,.product-grid-item:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left:before,li.product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left:before{opacity:1}
@media(max-width:768px){.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left,.product-labels .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left,.wd-product-thumb .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left{bottom:7px!important;left:7px!important;padding:4px 8px!important;font-size:10px!important}.kh-pgr-label-gateway-icons{display:none!important}.kh-pgr-single-installment-label{font-size:11px!important;padding:5px 9px!important}}

/* v4.3 connected installment label animation */
.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left,
.product-labels .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left,
.wd-product-thumb .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left{
    display:inline-flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:0!important;
    direction:ltr!important;
    overflow:hidden!important;
    background:#f97316!important;
    border-radius:999px!important;
    transition:transform .34s cubic-bezier(.2,.95,.2,1), padding .34s cubic-bezier(.2,.95,.2,1), box-shadow .24s ease!important;
    will-change:transform,padding!important;
}
.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left .kh-pgr-label-text{
    direction:rtl!important;
    order:2!important;
    flex:0 0 auto!important;
    padding:0!important;
    transition:transform .34s cubic-bezier(.2,.95,.2,1)!important;
}
.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left .kh-pgr-label-gateway-icons{
    order:1!important;
    position:relative!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    top:auto!important;
    display:inline-flex!important;
    align-items:center!important;
    gap:4px!important;
    max-width:0!important;
    margin:0!important;
    padding:0!important;
    opacity:0!important;
    transform:translateX(-12px) scale(.86)!important;
    overflow:hidden!important;
    pointer-events:none!important;
    transition:max-width .38s cubic-bezier(.2,.95,.2,1), opacity .22s ease, transform .34s cubic-bezier(.2,.95,.2,1), margin .34s ease!important;
    z-index:2!important;
}
.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left .kh-pgr-label-gateway-icon{
    position:relative!important;
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    opacity:0!important;
    transform:translateX(-10px) scale(.7)!important;
    background:rgba(255,255,255,.98)!important;
    border:1px solid rgba(255,255,255,.7)!important;
    box-shadow:0 4px 10px rgba(124,45,18,.18)!important;
}
.wd-product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left,
.product-grid-item:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left,
li.product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left,
.product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left,
.hover-ready:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left{
    transform:translateX(7px)!important;
    padding-left:7px!important;
    box-shadow:0 12px 28px rgba(249,115,22,.32)!important;
}
.wd-product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left .kh-pgr-label-gateway-icons,
.product-grid-item:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left .kh-pgr-label-gateway-icons,
li.product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left .kh-pgr-label-gateway-icons,
.product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left .kh-pgr-label-gateway-icons,
.hover-ready:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left .kh-pgr-label-gateway-icons{
    max-width:170px!important;
    margin-right:7px!important;
    opacity:1!important;
    transform:translateX(0) scale(1)!important;
}
.wd-product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left .kh-pgr-label-gateway-icon,
.product-grid-item:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left .kh-pgr-label-gateway-icon,
li.product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left .kh-pgr-label-gateway-icon,
.product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left .kh-pgr-label-gateway-icon,
.hover-ready:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left .kh-pgr-label-gateway-icon{
    opacity:1!important;
    transform:translateX(0) scale(1)!important;
}
.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left:before{display:none!important}

/* Single product: opened label over image top-right */
.woocommerce-product-gallery,
.wd-single-gallery,
.product-images,
.images{position:relative!important}
.woocommerce-product-gallery .kh-pgr-single-installment-label,
.wd-single-gallery .kh-pgr-single-installment-label,
.product-images .kh-pgr-single-installment-label,
.images .kh-pgr-single-installment-label{
    position:absolute!important;
    top:12px!important;
    right:12px!important;
    z-index:20!important;
    display:inline-flex!important;
    flex-direction:row!important;
    direction:ltr!important;
    align-items:center!important;
    gap:7px!important;
    margin:0!important;
    padding:6px 8px 6px 11px!important;
    background:#f97316!important;
    color:#fff!important;
    border-radius:999px!important;
    font-weight:400!important;
    box-shadow:0 12px 28px rgba(249,115,22,.28)!important;
}
.woocommerce-product-gallery .kh-pgr-single-installment-label .kh-pgr-label-text,
.wd-single-gallery .kh-pgr-single-installment-label .kh-pgr-label-text,
.product-images .kh-pgr-single-installment-label .kh-pgr-label-text,
.images .kh-pgr-single-installment-label .kh-pgr-label-text{
    order:2!important;
    direction:rtl!important;
}
.woocommerce-product-gallery .kh-pgr-single-installment-label .kh-pgr-label-gateway-icons,
.wd-single-gallery .kh-pgr-single-installment-label .kh-pgr-label-gateway-icons,
.product-images .kh-pgr-single-installment-label .kh-pgr-label-gateway-icons,
.images .kh-pgr-single-installment-label .kh-pgr-label-gateway-icons{
    order:1!important;
    position:relative!important;
    left:auto!important;
    bottom:auto!important;
    display:inline-flex!important;
    align-items:center!important;
    gap:4px!important;
    opacity:1!important;
    max-width:none!important;
    transform:none!important;
    overflow:visible!important;
}
.woocommerce-product-gallery .kh-pgr-single-installment-label .kh-pgr-label-gateway-icon,
.wd-single-gallery .kh-pgr-single-installment-label .kh-pgr-label-gateway-icon,
.product-images .kh-pgr-single-installment-label .kh-pgr-label-gateway-icon,
.images .kh-pgr-single-installment-label .kh-pgr-label-gateway-icon{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    opacity:1!important;
    transform:none!important;
    background:#fff!important;
    border:1px solid rgba(255,255,255,.75)!important;
    box-shadow:0 4px 10px rgba(124,45,18,.18)!important;
}
.woocommerce-product-gallery .kh-pgr-single-installment-label .kh-pgr-label-gateway-icon img,
.wd-single-gallery .kh-pgr-single-installment-label .kh-pgr-label-gateway-icon img,
.product-images .kh-pgr-single-installment-label .kh-pgr-label-gateway-icon img,
.images .kh-pgr-single-installment-label .kh-pgr-label-gateway-icon img{max-width:19px!important;max-height:19px!important}
@media(max-width:768px){
    .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left,
    .product-labels .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left,
    .wd-product-thumb .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left{
        display:inline-flex!important;
        padding:4px 7px 4px 9px!important;
        transform:none!important;
        max-width:calc(100% - 14px)!important;
    }
    .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left .kh-pgr-label-gateway-icons{
        display:inline-flex!important;
        max-width:150px!important;
        margin-right:6px!important;
        opacity:1!important;
        transform:none!important;
    }
    .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left .kh-pgr-label-gateway-icon{
        width:21px!important;
        height:21px!important;
        min-width:21px!important;
        opacity:1!important;
        transform:none!important;
    }
    .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left .kh-pgr-label-gateway-icon img{max-width:17px!important;max-height:17px!important}
    .woocommerce-product-gallery .kh-pgr-single-installment-label,
    .wd-single-gallery .kh-pgr-single-installment-label,
    .product-images .kh-pgr-single-installment-label,
    .images .kh-pgr-single-installment-label{top:8px!important;right:8px!important;padding:5px 7px 5px 9px!important;font-size:10px!important}
    .woocommerce-product-gallery .kh-pgr-single-installment-label .kh-pgr-label-gateway-icon,
    .wd-single-gallery .kh-pgr-single-installment-label .kh-pgr-label-gateway-icon,
    .product-images .kh-pgr-single-installment-label .kh-pgr-label-gateway-icon,
    .images .kh-pgr-single-installment-label .kh-pgr-label-gateway-icon{width:21px!important;height:21px!important;min-width:21px!important}
}

/* v4.4 smaller, shadowless installment labels + compact-card safety */
.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left,
.product-labels .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left,
.wd-product-thumb .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left{
    bottom:8px!important;
    left:8px!important;
    padding:3px 7px!important;
    min-height:0!important;
    font-size:9.5px!important;
    line-height:1.6!important;
    font-weight:400!important;
    box-shadow:none!important;
    text-shadow:none!important;
}
.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left .kh-pgr-label-text{font-weight:400!important;line-height:1.6!important}
.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left .kh-pgr-label-gateway-icons{gap:3px!important}
.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left .kh-pgr-label-gateway-icon{
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    box-shadow:none!important;
}
.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left .kh-pgr-label-gateway-icon img{max-width:16px!important;max-height:16px!important}
.wd-product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left,
.product-grid-item:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left,
li.product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left,
.product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left,
.hover-ready:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left{
    box-shadow:none!important;
    transform:translateX(5px)!important;
    padding-left:6px!important;
}
.woocommerce-product-gallery .kh-pgr-single-installment-label,
.wd-single-gallery .kh-pgr-single-installment-label,
.product-images .kh-pgr-single-installment-label,
.images .kh-pgr-single-installment-label{
    box-shadow:none!important;
    font-size:10px!important;
    padding:4px 6px 4px 8px!important;
    font-weight:400!important;
}
.woocommerce-product-gallery .kh-pgr-single-installment-label .kh-pgr-label-gateway-icon,
.wd-single-gallery .kh-pgr-single-installment-label .kh-pgr-label-gateway-icon,
.product-images .kh-pgr-single-installment-label .kh-pgr-label-gateway-icon,
.images .kh-pgr-single-installment-label .kh-pgr-label-gateway-icon{
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    box-shadow:none!important;
}
.woocommerce-product-gallery .kh-pgr-single-installment-label .kh-pgr-label-gateway-icon img,
.wd-single-gallery .kh-pgr-single-installment-label .kh-pgr-label-gateway-icon img,
.product-images .kh-pgr-single-installment-label .kh-pgr-label-gateway-icon img,
.images .kh-pgr-single-installment-label .kh-pgr-label-gateway-icon img{max-width:16px!important;max-height:16px!important}
@media(max-width:768px){
    .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left,
    .product-labels .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left,
    .wd-product-thumb .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left{
        bottom:6px!important;
        left:6px!important;
        padding:3px 6px!important;
        font-size:9px!important;
        box-shadow:none!important;
    }
    .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left .kh-pgr-label-gateway-icons{max-width:118px!important;margin-right:4px!important;gap:3px!important}
    .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left .kh-pgr-label-gateway-icon{width:18px!important;height:18px!important;min-width:18px!important;box-shadow:none!important}
    .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left .kh-pgr-label-gateway-icon img{max-width:14px!important;max-height:14px!important}
}

/* v4.5 fix loop label visibility + remove legacy vertical icon behavior */
.kh-pgr-loop-installment-label.kh-pgr-label-hidden-on-compact,
.product-labels .kh-pgr-loop-installment-label.kh-pgr-label-hidden-on-compact,
.wd-product-thumb .kh-pgr-loop-installment-label.kh-pgr-label-hidden-on-compact{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
}
.wd-product-thumb .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready,
.product-element-top .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready,
.product-image-link .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready,
.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    direction:rtl!important;
    bottom:7px!important;
    left:7px!important;
    right:auto!important;
    top:auto!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    width:auto!important;
    max-width:calc(100% - 14px)!important;
    padding:3px 7px!important;
    background:#f97316!important;
    color:#fff!important;
    border-radius:999px!important;
    border:0!important;
    box-shadow:none!important;
    text-shadow:none!important;
    line-height:1.6!important;
    font-size:9.5px!important;
    font-weight:400!important;
    overflow:hidden!important;
    z-index:12!important;
}
.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-text{
    display:inline-flex!important;
    align-items:center!important;
    font-weight:400!important;
    white-space:nowrap!important;
    line-height:1.6!important;
    order:1!important;
}
.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icons{
    order:2!important;
    position:static!important;
    display:inline-flex!important;
    flex-direction:row!important;
    align-items:center!important;
    gap:3px!important;
    margin:0 5px 0 0!important;
    padding:0!important;
    max-width:0!important;
    opacity:0!important;
    overflow:hidden!important;
    transform:translateX(-8px) scale(.96)!important;
    transition:max-width .32s ease,opacity .22s ease,transform .28s ease,margin .28s ease!important;
}
.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icon{
    position:relative!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:19px!important;
    height:19px!important;
    min-width:19px!important;
    padding:0!important;
    border-radius:50%!important;
    background:#fff!important;
    border:0!important;
    box-shadow:none!important;
    opacity:1!important;
    transform:none!important;
}
.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icon img{
    max-width:14px!important;
    max-height:14px!important;
    width:auto!important;
    height:auto!important;
    display:block!important;
}
.wd-product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready,
.product-grid-item:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready,
li.product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready,
.product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready,
.hover-ready:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready{
    transform:translateX(5px)!important;
    box-shadow:none!important;
}
.wd-product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icons,
.product-grid-item:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icons,
li.product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icons,
.product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icons,
.hover-ready:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icons{
    max-width:130px!important;
    opacity:1!important;
    transform:translateX(0) scale(1)!important;
    margin-right:5px!important;
}
@media(max-width:768px){
    .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready{
        display:inline-flex!important;
        bottom:6px!important;
        left:6px!important;
        font-size:9px!important;
        padding:3px 6px!important;
        max-width:calc(100% - 12px)!important;
    }
    .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icons{
        max-width:120px!important;
        opacity:1!important;
        transform:none!important;
        margin-right:4px!important;
    }
    .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icon{
        width:18px!important;
        height:18px!important;
        min-width:18px!important;
    }
    .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icon img{max-width:13px!important;max-height:13px!important}
}

/* v4.6 hard fix: restore normal-card label visibility and kill legacy vertical icon layout */
.wd-product-thumb,
.product-element-top,
.wd-product-img-link,
.product-image-link{position:relative!important;overflow:hidden!important}
.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact){display:inline-flex!important;visibility:visible!important;opacity:1!important;position:absolute!important;bottom:7px!important;left:7px!important;right:auto!important;top:auto!important;z-index:25!important;flex-direction:row!important;align-items:center!important;gap:0!important;background:#f97316!important;color:#fff!important;border:0!important;border-radius:999px!important;box-shadow:none!important;text-shadow:none!important;padding:3px 7px!important;font-size:9.5px!important;font-weight:400!important;line-height:1.6!important;width:auto!important;height:auto!important;max-width:calc(100% - 14px)!important;min-width:0!important;min-height:0!important;overflow:hidden!important;transform:none!important}.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact) .kh-pgr-label-text{display:inline-flex!important;align-items:center!important;font-size:inherit!important;font-weight:400!important;line-height:inherit!important;white-space:nowrap!important;order:1!important}.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact) .kh-pgr-label-gateway-icons{position:static!important;display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:3px!important;margin:0 5px 0 0!important;padding:0!important;width:auto!important;height:auto!important;max-width:0!important;opacity:0!important;overflow:hidden!important;transform:translateX(-8px) scale(.96)!important;transition:max-width .28s ease,opacity .2s ease,transform .25s ease!important;order:2!important}.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact) .kh-pgr-label-gateway-icon{position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:18px!important;height:18px!important;min-width:18px!important;margin:0!important;padding:0!important;border-radius:50%!important;background:#fff!important;border:0!important;box-shadow:none!important;opacity:1!important;transform:none!important}.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact) .kh-pgr-label-gateway-icon img{display:block!important;max-width:13px!important;max-height:13px!important;width:auto!important;height:auto!important}.wd-product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact),.product-grid-item:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact),li.product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact),.product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact),.hover-ready:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact){transform:translateX(5px)!important}.wd-product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact) .kh-pgr-label-gateway-icons,.product-grid-item:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact) .kh-pgr-label-gateway-icons,li.product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact) .kh-pgr-label-gateway-icons,.product:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact) .kh-pgr-label-gateway-icons,.hover-ready:hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact) .kh-pgr-label-gateway-icons{max-width:125px!important;opacity:1!important;transform:translateX(0) scale(1)!important}.kh-pgr-loop-installment-label.kh-pgr-label-hidden-on-compact{display:none!important;visibility:hidden!important;opacity:0!important}@media(max-width:768px){.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact){bottom:6px!important;left:6px!important;padding:3px 6px!important;font-size:9px!important;transform:none!important}.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact) .kh-pgr-label-gateway-icons{max-width:118px!important;opacity:1!important;transform:none!important;margin-right:4px!important}.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact) .kh-pgr-label-gateway-icon{width:17px!important;height:17px!important;min-width:17px!important}.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact) .kh-pgr-label-gateway-icon img{max-width:12px!important;max-height:12px!important}}


/* v4.7 FINAL: single stable installment label layout for Woodmart loop cards */
.kh-pgr-label-host{position:relative!important;overflow:hidden!important}
.kh-pgr-loop-installment-label.kh-pgr-label-hidden-on-compact,
.kh-pgr-label-hidden-on-compact.kh-pgr-loop-installment-label,
.wd-product .kh-pgr-loop-installment-label.kh-pgr-label-hidden-on-compact,
.product-grid-item .kh-pgr-loop-installment-label.kh-pgr-label-hidden-on-compact{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
.kh-pgr-loop-installment-label:not(.kh-pgr-label-hidden-on-compact),
.kh-pgr-loop-installment-label.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact),
.wd-product-thumb .kh-pgr-loop-installment-label.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact),
.product-element-top .kh-pgr-loop-installment-label.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact){display:inline-flex!important;visibility:visible!important;opacity:1!important;position:absolute!important;top:auto!important;right:auto!important;bottom:7px!important;left:7px!important;z-index:50!important;align-items:center!important;justify-content:flex-start!important;flex-direction:row!important;gap:0!important;width:auto!important;min-width:0!important;max-width:calc(100% - 14px)!important;height:auto!important;min-height:0!important;margin:0!important;padding:3px 7px!important;border:0!important;border-radius:999px!important;background:#f97316!important;color:#fff!important;box-shadow:none!important;text-shadow:none!important;line-height:1.55!important;font-size:9.5px!important;font-weight:400!important;letter-spacing:0!important;white-space:nowrap!important;overflow:hidden!important;transform:none!important;transition:transform .25s ease,max-width .28s ease,background .2s ease!important;pointer-events:auto!important}
.kh-pgr-loop-installment-label:not(.kh-pgr-label-hidden-on-compact) .kh-pgr-label-text{display:inline-flex!important;align-items:center!important;justify-content:center!important;order:1!important;font-size:inherit!important;font-weight:400!important;line-height:inherit!important;color:#fff!important;white-space:nowrap!important;margin:0!important;padding:0!important}
.kh-pgr-loop-installment-label:not(.kh-pgr-label-hidden-on-compact) .kh-pgr-label-gateway-icons{display:inline-flex!important;position:static!important;order:2!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:3px!important;width:auto!important;height:auto!important;min-width:0!important;max-width:0!important;margin:0 5px 0 0!important;padding:0!important;opacity:0!important;overflow:hidden!important;transform:translateX(-7px)!important;transition:max-width .26s ease,opacity .18s ease,transform .24s ease!important}
.kh-pgr-loop-installment-label:not(.kh-pgr-label-hidden-on-compact) .kh-pgr-label-gateway-icon{display:inline-flex!important;position:static!important;align-items:center!important;justify-content:center!important;width:17px!important;height:17px!important;min-width:17px!important;max-width:17px!important;margin:0!important;padding:0!important;border-radius:50%!important;background:#fff!important;border:0!important;box-shadow:none!important;opacity:1!important;transform:none!important;overflow:hidden!important}
.kh-pgr-loop-installment-label:not(.kh-pgr-label-hidden-on-compact) .kh-pgr-label-gateway-icon img{display:block!important;width:auto!important;height:auto!important;max-width:12px!important;max-height:12px!important;margin:0!important;padding:0!important;object-fit:contain!important}
.wd-product:hover .kh-pgr-loop-installment-label.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact),
.product-grid-item:hover .kh-pgr-loop-installment-label.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact),
li.product:hover .kh-pgr-loop-installment-label.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact),
.product:hover .kh-pgr-loop-installment-label.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact),
.hover-ready:hover .kh-pgr-loop-installment-label.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact){transform:translateX(5px)!important;box-shadow:none!important}
.wd-product:hover .kh-pgr-loop-installment-label.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact) .kh-pgr-label-gateway-icons,
.product-grid-item:hover .kh-pgr-loop-installment-label.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact) .kh-pgr-label-gateway-icons,
li.product:hover .kh-pgr-loop-installment-label.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact) .kh-pgr-label-gateway-icons,
.product:hover .kh-pgr-loop-installment-label.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact) .kh-pgr-label-gateway-icons,
.hover-ready:hover .kh-pgr-loop-installment-label.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact) .kh-pgr-label-gateway-icons{max-width:112px!important;opacity:1!important;transform:translateX(0)!important}
@media(max-width:768px){.kh-pgr-loop-installment-label:not(.kh-pgr-label-hidden-on-compact),.kh-pgr-loop-installment-label.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact){bottom:6px!important;left:6px!important;padding:3px 6px!important;font-size:9px!important;max-width:calc(100% - 12px)!important;transform:none!important}.kh-pgr-loop-installment-label:not(.kh-pgr-label-hidden-on-compact) .kh-pgr-label-gateway-icons{max-width:108px!important;opacity:1!important;transform:none!important;margin-right:4px!important}.kh-pgr-loop-installment-label:not(.kh-pgr-label-hidden-on-compact) .kh-pgr-label-gateway-icon{width:16px!important;height:16px!important;min-width:16px!important}.kh-pgr-loop-installment-label:not(.kh-pgr-label-hidden-on-compact) .kh-pgr-label-gateway-icon img{max-width:11px!important;max-height:11px!important}}

/* v4.8 final override: hide labels only on Woodmart small cards; show on all other eligible cards */
.wd-product.wd-hover-small .kh-pgr-loop-installment-label,
.wd-hover-small .kh-pgr-loop-installment-label,
.kh-pgr-installment-label-disabled .kh-pgr-loop-installment-label{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
}
.wd-product:not(.wd-hover-small) .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready,
.product-grid-item:not(.wd-hover-small) .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready,
li.product:not(.wd-hover-small) .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    position:absolute!important;
    left:7px!important;
    bottom:7px!important;
    right:auto!important;
    top:auto!important;
    z-index:35!important;
    background:#f97316!important;
    color:#fff!important;
    border:0!important;
    box-shadow:none!important;
    text-shadow:none!important;
    border-radius:999px!important;
    padding:3px 7px!important;
    font-size:9.5px!important;
    font-weight:400!important;
    line-height:1.6!important;
    width:auto!important;
    height:auto!important;
    min-width:0!important;
    min-height:0!important;
    max-width:calc(100% - 14px)!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    overflow:hidden!important;
}
.wd-product:not(.wd-hover-small) .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icons,
.product-grid-item:not(.wd-hover-small) .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icons,
li.product:not(.wd-hover-small) .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icons{
    position:static!important;
    display:inline-flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:3px!important;
    margin:0 5px 0 0!important;
    padding:0!important;
    max-width:0!important;
    opacity:0!important;
    overflow:hidden!important;
    transform:translateX(-8px) scale(.96)!important;
    transition:max-width .28s ease,opacity .2s ease,transform .24s ease!important;
}
.wd-product:not(.wd-hover-small):hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icons,
.product-grid-item:not(.wd-hover-small):hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icons,
li.product:not(.wd-hover-small):hover .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icons{
    max-width:130px!important;
    opacity:1!important;
    transform:translateX(0) scale(1)!important;
}
.wd-product:not(.wd-hover-small) .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icon,
.product-grid-item:not(.wd-hover-small) .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icon,
li.product:not(.wd-hover-small) .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icon{
    position:static!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
    background:#fff!important;
    border:0!important;
    border-radius:50%!important;
    box-shadow:none!important;
    padding:0!important;
    margin:0!important;
    transform:none!important;
    opacity:1!important;
}
.wd-product:not(.wd-hover-small) .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icon img,
.product-grid-item:not(.wd-hover-small) .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icon img,
li.product:not(.wd-hover-small) .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icon img{
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:13px!important;
    max-height:13px!important;
}
@media(max-width:768px){
    .wd-product:not(.wd-hover-small) .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready,
    .product-grid-item:not(.wd-hover-small) .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready,
    li.product:not(.wd-hover-small) .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready{
        left:6px!important;
        bottom:6px!important;
        font-size:9px!important;
        padding:3px 6px!important;
    }
    .wd-product:not(.wd-hover-small) .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icons,
    .product-grid-item:not(.wd-hover-small) .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icons,
    li.product:not(.wd-hover-small) .kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready .kh-pgr-label-gateway-icons{
        max-width:120px!important;
        opacity:1!important;
        transform:none!important;
        margin-right:4px!important;
    }
}


/* v4.9 single product opened badge inside gallery figure - top left */
figure.woocommerce-product-gallery__image{position:relative!important}
figure.woocommerce-product-gallery__image > .kh-pgr-single-installment-label.kh-pgr-single-gallery-badge,
.woocommerce-product-gallery figure.woocommerce-product-gallery__image > .kh-pgr-single-installment-label.kh-pgr-single-gallery-badge,
.wd-single-gallery figure.woocommerce-product-gallery__image > .kh-pgr-single-installment-label.kh-pgr-single-gallery-badge,
.product-images figure.woocommerce-product-gallery__image > .kh-pgr-single-installment-label.kh-pgr-single-gallery-badge,
.images figure.woocommerce-product-gallery__image > .kh-pgr-single-installment-label.kh-pgr-single-gallery-badge{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    position:absolute!important;
    top:14px!important;
    left:14px!important;
    right:auto!important;
    bottom:auto!important;
    z-index:9999!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex-direction:row!important;
    gap:0!important;
    width:auto!important;
    min-width:0!important;
    max-width:calc(100% - 28px)!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:7px 10px!important;
    border-radius:999px!important;
    border:0!important;
    background:#f97316!important;
    color:#fff!important;
    box-shadow:none!important;
    text-shadow:none!important;
    font-size:12px!important;
    font-weight:400!important;
    line-height:1.55!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    transform:none!important;
    pointer-events:auto!important;
}
figure.woocommerce-product-gallery__image > .kh-pgr-single-installment-label.kh-pgr-single-gallery-badge .kh-pgr-label-text{
    display:inline-flex!important;
    align-items:center!important;
    order:1!important;
    color:#fff!important;
    font-size:inherit!important;
    font-weight:400!important;
    line-height:inherit!important;
    margin:0!important;
    padding:0!important;
}
figure.woocommerce-product-gallery__image > .kh-pgr-single-installment-label.kh-pgr-single-gallery-badge .kh-pgr-label-gateway-icons{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    position:static!important;
    order:2!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:5px!important;
    width:auto!important;
    max-width:none!important;
    height:auto!important;
    margin:0 7px 0 0!important;
    padding:0!important;
    overflow:visible!important;
    transform:none!important;
}
figure.woocommerce-product-gallery__image > .kh-pgr-single-installment-label.kh-pgr-single-gallery-badge .kh-pgr-label-gateway-icon{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    position:static!important;
    align-items:center!important;
    justify-content:center!important;
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    max-width:24px!important;
    margin:0!important;
    padding:0!important;
    border-radius:50%!important;
    background:#fff!important;
    border:0!important;
    box-shadow:none!important;
    transform:none!important;
    overflow:hidden!important;
}
figure.woocommerce-product-gallery__image > .kh-pgr-single-installment-label.kh-pgr-single-gallery-badge .kh-pgr-label-gateway-icon img{
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:17px!important;
    max-height:17px!important;
    margin:0!important;
    padding:0!important;
    object-fit:contain!important;
}
figure.woocommerce-product-gallery__image > .kh-pgr-single-installment-label.kh-pgr-single-gallery-badge .kh-pgr-label-gateway-icon img[style]{
    width:auto!important;
    max-width:17px!important;
}
@media(max-width:768px){
    figure.woocommerce-product-gallery__image > .kh-pgr-single-installment-label.kh-pgr-single-gallery-badge{
        top:10px!important;
        left:10px!important;
        padding:6px 9px!important;
        font-size:11px!important;
        max-width:calc(100% - 20px)!important;
    }
    figure.woocommerce-product-gallery__image > .kh-pgr-single-installment-label.kh-pgr-single-gallery-badge .kh-pgr-label-gateway-icons{gap:4px!important;margin-right:6px!important}
    figure.woocommerce-product-gallery__image > .kh-pgr-single-installment-label.kh-pgr-single-gallery-badge .kh-pgr-label-gateway-icon{width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important}
    figure.woocommerce-product-gallery__image > .kh-pgr-single-installment-label.kh-pgr-single-gallery-badge .kh-pgr-label-gateway-icon img{max-width:16px!important;max-height:16px!important}
}

/* v4.11 final single product badge placement: open, top-left, Woodmart gallery safe */
.single-product .woocommerce-product-gallery figure.woocommerce-product-gallery__image,
.single-product .wd-single-gallery figure.woocommerce-product-gallery__image,
.single-product .product-images figure.woocommerce-product-gallery__image,
.single-product .images figure.woocommerce-product-gallery__image{
    position:relative!important;
}
.single-product figure.woocommerce-product-gallery__image > .kh-pgr-single-installment-label.kh-pgr-single-force-mounted,
.single-product .woocommerce-product-gallery .kh-pgr-single-installment-label.kh-pgr-single-force-mounted,
.single-product .wd-single-gallery .kh-pgr-single-installment-label.kh-pgr-single-force-mounted,
.single-product .product-images .kh-pgr-single-installment-label.kh-pgr-single-force-mounted,
.single-product .images .kh-pgr-single-installment-label.kh-pgr-single-force-mounted{
    position:absolute!important;
    top:12px!important;
    left:12px!important;
    right:auto!important;
    bottom:auto!important;
    z-index:9999!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:row!important;
    direction:rtl!important;
    gap:7px!important;
    margin:0!important;
    min-height:32px!important;
    padding:6px 9px 6px 11px!important;
    border-radius:999px!important;
    background:#f97316!important;
    color:#fff!important;
    border:1px solid rgba(255,255,255,.42)!important;
    box-shadow:none!important;
    font-family:inherit!important;
    font-size:12px!important;
    font-weight:400!important;
    line-height:1.6!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:none!important;
    max-width:calc(100% - 24px)!important;
}
.single-product .kh-pgr-single-installment-label.kh-pgr-single-force-mounted .kh-pgr-label-text{
    order:1!important;
    font-size:12px!important;
    font-weight:400!important;
    line-height:1.6!important;
    color:#fff!important;
    white-space:nowrap!important;
}
.single-product .kh-pgr-single-installment-label.kh-pgr-single-force-mounted .kh-pgr-label-gateway-icons{
    order:2!important;
    display:inline-flex!important;
    align-items:center!important;
    gap:4px!important;
    max-width:none!important;
    width:auto!important;
    overflow:visible!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
    margin:0!important;
    position:relative!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
}
.single-product .kh-pgr-single-installment-label.kh-pgr-single-force-mounted .kh-pgr-label-gateway-icon{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:50%!important;
    background:#fff!important;
    border:1px solid rgba(255,255,255,.75)!important;
    box-shadow:none!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
    overflow:hidden!important;
}
.single-product .kh-pgr-single-installment-label.kh-pgr-single-force-mounted .kh-pgr-label-gateway-icon img{
    max-width:18px!important;
    max-height:18px!important;
    width:auto!important;
    height:auto!important;
    display:block!important;
}
@media(max-width:768px){
    .single-product figure.woocommerce-product-gallery__image > .kh-pgr-single-installment-label.kh-pgr-single-force-mounted,
    .single-product .woocommerce-product-gallery .kh-pgr-single-installment-label.kh-pgr-single-force-mounted,
    .single-product .wd-single-gallery .kh-pgr-single-installment-label.kh-pgr-single-force-mounted,
    .single-product .product-images .kh-pgr-single-installment-label.kh-pgr-single-force-mounted,
    .single-product .images .kh-pgr-single-installment-label.kh-pgr-single-force-mounted{
        top:8px!important;
        left:8px!important;
        min-height:28px!important;
        padding:5px 7px 5px 9px!important;
        font-size:10.5px!important;
        gap:5px!important;
    }
    .single-product .kh-pgr-single-installment-label.kh-pgr-single-force-mounted .kh-pgr-label-text{font-size:10.5px!important}
    .single-product .kh-pgr-single-installment-label.kh-pgr-single-force-mounted .kh-pgr-label-gateway-icon{width:21px!important;height:21px!important;min-width:21px!important}
    .single-product .kh-pgr-single-installment-label.kh-pgr-single-force-mounted .kh-pgr-label-gateway-icon img{max-width:15px!important;max-height:15px!important}
}


/* v4.12 single product badge final position: top-right of gallery image */
.single-product figure.woocommerce-product-gallery__image > .kh-pgr-single-installment-label.kh-pgr-single-force-mounted,
.single-product figure.woocommerce-product-gallery__image > .kh-pgr-single-installment-label.kh-pgr-single-gallery-badge,
.single-product .woocommerce-product-gallery .kh-pgr-single-installment-label.kh-pgr-single-force-mounted,
.single-product .wd-single-gallery .kh-pgr-single-installment-label.kh-pgr-single-force-mounted,
.single-product .product-images .kh-pgr-single-installment-label.kh-pgr-single-force-mounted,
.single-product .images .kh-pgr-single-installment-label.kh-pgr-single-force-mounted{
    top:12px!important;
    right:12px!important;
    left:auto!important;
    bottom:auto!important;
    transform:none!important;
    direction:rtl!important;
}
@media(max-width:768px){
    .single-product figure.woocommerce-product-gallery__image > .kh-pgr-single-installment-label.kh-pgr-single-force-mounted,
    .single-product figure.woocommerce-product-gallery__image > .kh-pgr-single-installment-label.kh-pgr-single-gallery-badge,
    .single-product .woocommerce-product-gallery .kh-pgr-single-installment-label.kh-pgr-single-force-mounted,
    .single-product .wd-single-gallery .kh-pgr-single-installment-label.kh-pgr-single-force-mounted,
    .single-product .product-images .kh-pgr-single-installment-label.kh-pgr-single-force-mounted,
    .single-product .images .kh-pgr-single-installment-label.kh-pgr-single-force-mounted{
        top:8px!important;
        right:8px!important;
        left:auto!important;
    }
}

/* v4.13.3 frontend-only checkout payment mode selector */
.kh-pgr-front-mode-selector{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 14px;padding:10px;border-radius:18px;background:linear-gradient(135deg,#f8fbff,#fff);border:1px solid #e4eaf7;box-shadow:0 10px 28px rgba(7,23,53,.06);font-family:inherit}.kh-pgr-front-mode-btn{appearance:none;border:1px solid #e5e7eb;background:#fff;border-radius:15px;padding:12px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:62px;cursor:pointer;transition:.2s ease;font-family:inherit}.kh-pgr-front-mode-btn span{font-size:13px;font-weight:900;color:#111827}.kh-pgr-front-mode-btn small{font-size:10.5px;color:#667085;line-height:1.5}.kh-pgr-front-mode-btn.is-active{background:linear-gradient(135deg,#1c61e7,#0b3fb3);border-color:#1c61e7;box-shadow:0 10px 22px rgba(28,97,231,.18)}.kh-pgr-front-mode-btn.is-active span,.kh-pgr-front-mode-btn.is-active small{color:#fff}.kh-pgr-front-mode-btn:disabled,.kh-pgr-front-mode-btn[aria-disabled="true"]{opacity:.48;cursor:not-allowed;background:#f8fafc}.kh-pgr-status-checkout .kh-pgr-mode-empty-col{display:none!important}.kh-pgr-status-checkout[data-kh-pgr-current-mode="cash"] .kh-pgr-status-head small:after{content:""}.kh-pgr-status-checkout[data-kh-pgr-current-mode="installment"] .kh-pgr-status-head small:after{content:""}.kh-pgr-status-checkout .kh-pgr-pay-card[data-kh-pgr-kind]{will-change:opacity,transform}.kh-pgr-status-checkout .kh-pgr-pay-card[style*="display: none"]{pointer-events:none}@media(max-width:640px){.kh-pgr-front-mode-selector{grid-template-columns:1fr;gap:8px;margin:0 0 12px;padding:9px;border-radius:16px}.kh-pgr-front-mode-btn{min-height:54px;padding:10px 9px;border-radius:14px;align-items:flex-start;text-align:right}.kh-pgr-front-mode-btn span{font-size:12.5px}.kh-pgr-front-mode-btn small{font-size:10px}.kh-pgr-status-checkout .kh-pgr-status-columns{grid-template-columns:1fr!important}.kh-pgr-status-checkout .kh-pgr-status-head{margin-bottom:10px}}

/* v4.15 cart/checkout per-product payment fee badge */
.kh-pgr-line-fee{
    display:inline-flex;
    align-items:center;
    justify-content:flex-start;
    gap:6px;
    vertical-align:middle;
    margin-inline-start:8px;
    padding:4px 7px;
    border-radius:999px;
    background:linear-gradient(135deg,#fff7ed,#fffbeb);
    border:1px solid rgba(251,146,60,.38);
    color:#9a3412;
    font-family:inherit;
    font-size:11px;
    font-weight:700;
    line-height:1.6;
    box-shadow:0 7px 18px rgba(154,52,18,.08);
    white-space:nowrap;
}
.kh-pgr-line-fee-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:18px;
    height:18px;
    min-width:18px;
    border-radius:50%;
    background:#f97316;
    color:#fff;
    font-size:11px;
    font-weight:900;
    line-height:1;
}
.kh-pgr-line-fee-text{
    display:inline-flex;
    align-items:center;
    gap:3px;
    color:#9a3412;
}
.kh-pgr-line-fee-text b{
    color:#c2410c;
    font-weight:900;
}
.kh-pgr-line-fee strong{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:2px 6px;
    border-radius:999px;
    background:#fff;
    color:#7c2d12;
    border:1px solid rgba(251,146,60,.28);
    font-size:10.5px;
    font-weight:900;
}
.woocommerce-cart-form .product-name .kh-pgr-line-fee,
.woocommerce-checkout-review-order-table .product-name .kh-pgr-line-fee{
    margin-top:5px;
}
@media(max-width:768px){
    .kh-pgr-line-fee{
        display:flex;
        width:max-content;
        max-width:100%;
        margin-inline-start:0;
        margin-top:7px;
        padding:5px 7px;
        gap:5px;
        font-size:10.5px;
        white-space:normal;
        flex-wrap:wrap;
        border-radius:14px;
    }
    .kh-pgr-line-fee-icon{
        width:17px;
        height:17px;
        min-width:17px;
        font-size:10px;
    }
    .kh-pgr-line-fee strong{
        font-size:10px;
        padding:2px 5px;
    }
    .woocommerce-checkout-review-order-table .product-name .kh-pgr-line-fee,
    .woocommerce-cart-form .product-name .kh-pgr-line-fee{
        clear:both;
    }
}

/* v4.16 checkout/cart loading + grouped fee UI */
.kh-pgr-status-panel,
.woocommerce-checkout-review-order,
.woocommerce-checkout-review-order-table,
#payment{
    position:relative;
}
.kh-pgr-is-loading{
    pointer-events:none;
}
.kh-pgr-status-checkout.kh-pgr-is-loading:before,
.woocommerce-checkout-review-order.kh-pgr-is-loading:before{
    content:"";
    position:absolute;
    inset:0;
    z-index:80;
    border-radius:18px;
    background:rgba(255,255,255,.72);
    backdrop-filter:blur(3px);
}
.kh-pgr-status-checkout.kh-pgr-is-loading:after,
.woocommerce-checkout-review-order.kh-pgr-is-loading:after{
    content:attr(data-kh-pgr-loading-text);
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    z-index:81;
    min-width:220px;
    max-width:calc(100% - 28px);
    padding:12px 16px 12px 42px;
    border-radius:999px;
    background:#111827;
    color:#fff;
    font-size:12px;
    font-weight:800;
    line-height:1.7;
    text-align:center;
    box-shadow:0 18px 40px rgba(15,23,42,.22);
    font-family:inherit;
}
.kh-pgr-status-checkout.kh-pgr-is-loading:after{content:attr(data-kh-pgr-loading-text)}
.woocommerce-checkout-review-order.kh-pgr-is-loading:after{content:"در حال بروزرسانی خلاصه سفارش..."}
.kh-pgr-payment-loading .kh-pgr-front-mode-btn,
.kh-pgr-payment-loading .kh-pgr-pay-card{
    cursor:wait!important;
}
.kh-pgr-fee-breakdown{
    margin:0 0 14px;
    padding:12px;
    border-radius:20px;
    background:linear-gradient(135deg,#fff7ed 0%,#fff 48%,#f8fbff 100%);
    border:1px solid rgba(251,146,60,.26);
    box-shadow:0 14px 34px rgba(154,52,18,.07);
    font-family:inherit;
    overflow:hidden;
}
.kh-pgr-fee-breakdown-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin-bottom:10px;
}
.kh-pgr-fee-breakdown-head span{
    color:#111827;
    font-size:13px;
    font-weight:950;
    line-height:1.7;
}
.kh-pgr-fee-breakdown-head small{
    max-width:560px;
    color:#667085;
    font-size:10.5px;
    line-height:1.9;
    text-align:left;
}
.kh-pgr-fee-groups{
    display:flex;
    align-items:stretch;
    gap:8px;
    overflow-x:auto;
    padding:2px 1px 10px;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
}
.kh-pgr-fee-group-chip{
    appearance:none;
    border:1px solid #fed7aa;
    background:#fff;
    color:#9a3412;
    border-radius:16px;
    padding:9px 10px;
    min-width:178px;
    display:grid;
    grid-template-columns:1fr;
    gap:4px;
    text-align:right;
    cursor:pointer;
    font-family:inherit;
    box-shadow:0 8px 20px rgba(154,52,18,.055);
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.kh-pgr-fee-group-chip:hover,
.kh-pgr-fee-group-chip.is-open{
    transform:translateY(-1px);
    border-color:#fb923c;
    background:linear-gradient(135deg,#fff7ed,#fff);
    box-shadow:0 12px 26px rgba(154,52,18,.11);
}
.kh-pgr-fee-group-chip b{
    color:#7c2d12;
    font-size:12px;
    font-weight:950;
    line-height:1.6;
}
.kh-pgr-fee-group-chip small{
    color:#667085;
    font-size:10.5px;
    font-weight:700;
    line-height:1.5;
}
.kh-pgr-fee-group-chip strong{
    justify-self:start;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:3px 8px;
    border-radius:999px;
    background:#fff;
    border:1px solid rgba(251,146,60,.32);
    color:#9a3412;
    font-size:11px;
    font-weight:950;
    line-height:1.5;
}
.kh-pgr-fee-group-chip.is-product-fee{
    border-color:rgba(28,97,231,.22);
    color:#1c61e7;
}
.kh-pgr-fee-group-chip.is-product-fee:hover,
.kh-pgr-fee-group-chip.is-product-fee.is-open{
    background:linear-gradient(135deg,#eff6ff,#fff);
    border-color:rgba(28,97,231,.45);
    box-shadow:0 12px 26px rgba(28,97,231,.10);
}
.kh-pgr-fee-group-chip.is-product-fee b,
.kh-pgr-fee-group-chip.is-product-fee strong{
    color:#1d4ed8;
}
.kh-pgr-fee-group-products{
    border-top:1px dashed rgba(148,163,184,.42);
    padding-top:9px;
}
.kh-pgr-fee-product-list{
    display:grid;
    gap:7px;
}
.kh-pgr-fee-product-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto auto;
    gap:8px;
    align-items:center;
    padding:8px 9px;
    border-radius:14px;
    background:rgba(255,255,255,.78);
    border:1px solid rgba(226,232,240,.9);
}
.kh-pgr-fee-product-row span{
    min-width:0;
    color:#111827;
    font-size:11.5px;
    font-weight:850;
    line-height:1.7;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.kh-pgr-fee-product-row small{
    color:#667085;
    font-size:10.5px;
    font-weight:750;
    white-space:nowrap;
}
.kh-pgr-fee-product-row b{
    color:#9a3412;
    font-size:11px;
    font-weight:950;
    white-space:nowrap;
}
.kh-pgr-line-fee.is-product-fee{
    background:linear-gradient(135deg,#eff6ff,#fff);
    border-color:rgba(28,97,231,.28);
    color:#1d4ed8;
}
.kh-pgr-line-fee.is-product-fee .kh-pgr-line-fee-icon{
    background:#1c61e7;
}
.kh-pgr-line-fee.is-product-fee .kh-pgr-line-fee-text,
.kh-pgr-line-fee.is-product-fee .kh-pgr-line-fee-text b,
.kh-pgr-line-fee.is-product-fee strong{
    color:#1d4ed8;
}
.kh-pgr-line-fee-text em{
    font-style:normal;
    font-weight:900;
}
.kh-pgr-line-fee-text small{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:1px 5px;
    border-radius:999px;
    background:rgba(255,255,255,.8);
    color:inherit;
    font-size:9.5px;
    font-weight:900;
}
.kh-pgr-line-fee-focus{
    animation:khPgrFeePulse 1.15s ease-in-out 2;
}
@keyframes khPgrFeePulse{
    0%,100%{transform:scale(1);box-shadow:0 7px 18px rgba(154,52,18,.08)}
    50%{transform:scale(1.035);box-shadow:0 12px 28px rgba(28,97,231,.22)}
}
@media(max-width:768px){
    .kh-pgr-status-checkout.kh-pgr-is-loading:after,
    .woocommerce-checkout-review-order.kh-pgr-is-loading:after{
        min-width:0;
        width:calc(100% - 38px);
        padding:11px 12px;
        font-size:11px;
        border-radius:16px;
    }
    .kh-pgr-fee-breakdown{
        margin:0 0 12px;
        padding:10px;
        border-radius:18px;
    }
    .kh-pgr-fee-breakdown-head{
        display:block;
        margin-bottom:9px;
    }
    .kh-pgr-fee-breakdown-head span{
        display:block;
        font-size:12.5px;
        margin-bottom:3px;
    }
    .kh-pgr-fee-breakdown-head small{
        display:block;
        text-align:right;
        font-size:10px;
    }
    .kh-pgr-fee-groups{
        gap:7px;
        padding-bottom:8px;
    }
    .kh-pgr-fee-group-chip{
        min-width:152px;
        padding:8px 9px;
        border-radius:15px;
    }
    .kh-pgr-fee-group-chip b{
        font-size:11px;
    }
    .kh-pgr-fee-group-chip small,
    .kh-pgr-fee-group-chip strong{
        font-size:10px;
    }
    .kh-pgr-fee-product-row{
        grid-template-columns:1fr;
        gap:3px;
        padding:8px;
    }
    .kh-pgr-fee-product-row span{
        white-space:normal;
        font-size:11px;
    }
    .kh-pgr-fee-product-row small,
    .kh-pgr-fee-product-row b{
        justify-self:start;
        font-size:10px;
    }
    .kh-pgr-line-fee-text{
        flex-wrap:wrap;
    }
}


/* v4.17 refined gateway fee labels: smaller gateway-fee UI and no cart gateway percent */
.kh-pgr-line-fee.is-gateway-fee{
    padding:2px 5px;
    gap:4px;
    font-size:10px;
    font-weight:750;
    box-shadow:0 4px 12px rgba(154,52,18,.055);
}
.kh-pgr-line-fee.is-gateway-fee .kh-pgr-line-fee-icon{
    width:15px;
    height:15px;
    min-width:15px;
    font-size:8.5px;
}
.kh-pgr-line-fee.is-gateway-fee strong{
    padding:1px 5px;
    font-size:9.5px;
}
.kh-pgr-line-fee.is-gateway-fee .kh-pgr-line-fee-text{
    gap:2px;
}
.kh-pgr-fee-group-chip.is-gateway-fee{
    min-width:145px;
    padding:6px 8px;
    border-radius:13px;
    gap:2px;
    box-shadow:0 5px 14px rgba(154,52,18,.05);
}
.kh-pgr-fee-group-chip.is-gateway-fee b{
    font-size:10.8px;
    line-height:1.55;
}
.kh-pgr-fee-group-chip.is-gateway-fee small{
    font-size:9.5px;
}
.kh-pgr-fee-group-chip.is-gateway-fee strong{
    padding:2px 6px;
    font-size:9.7px;
}
@media(max-width:768px){
    .kh-pgr-line-fee.is-gateway-fee{
        padding:4px 6px;
        gap:4px;
        font-size:9.8px;
        border-radius:12px;
    }
    .kh-pgr-line-fee.is-gateway-fee .kh-pgr-line-fee-icon{
        width:14px;
        height:14px;
        min-width:14px;
        font-size:8px;
    }
    .kh-pgr-line-fee.is-gateway-fee strong{
        font-size:9px;
        padding:1px 5px;
    }
    .kh-pgr-fee-group-chip.is-gateway-fee{
        min-width:126px;
        padding:6px 7px;
        border-radius:12px;
    }
    .kh-pgr-fee-group-chip.is-gateway-fee b,
    .kh-pgr-fee-group-chip.is-gateway-fee small,
    .kh-pgr-fee-group-chip.is-gateway-fee strong{
        font-size:9.5px;
    }
}


/* v4.18 product compact payment methods + checkout-only fee labels */
.kh-pgr-product-box-compact{
    margin:10px 0!important;
    padding:0!important;
    border-radius:16px!important;
    box-shadow:0 8px 22px rgba(7,23,53,.055)!important;
}
.kh-pgr-product-box-compact:before{height:3px!important;background:linear-gradient(90deg,#f97316,#fb923c,#fdba74)!important}
.kh-pgr-product-box-compact .kh-pgr-product-head{
    padding:10px 12px!important;
    align-items:center!important;
    background:linear-gradient(135deg,#fffaf5,#fff)!important;
}
.kh-pgr-product-box-compact .kh-pgr-product-kicker{
    margin:0 0 3px!important;
    padding:2px 7px!important;
    font-size:9.5px!important;
    background:#fff7ed!important;
    color:#c2410c!important;
}
.kh-pgr-product-box-compact .kh-pgr-product-title{
    font-size:12.5px!important;
    line-height:1.7!important;
}
.kh-pgr-product-box-compact .kh-pgr-product-head p{display:none!important}
.kh-pgr-product-box-compact .kh-pgr-product-count{
    min-width:54px!important;
    padding:5px 7px!important;
    border-radius:12px!important;
    background:#111827!important;
}
.kh-pgr-product-box-compact .kh-pgr-product-count strong{font-size:14px!important}
.kh-pgr-product-box-compact .kh-pgr-product-count span{font-size:8.5px!important;margin-top:1px!important}
.kh-pgr-product-box-compact .kh-pgr-product-list{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:7px!important;
    padding:10px 12px!important;
}
.kh-pgr-product-box-compact .kh-pgr-method{
    display:inline-flex!important;
    align-items:center!important;
    gap:7px!important;
    width:auto!important;
    min-width:0!important;
    min-height:0!important;
    padding:6px 8px!important;
    border-radius:999px!important;
    box-shadow:none!important;
    transform:none!important;
}
.kh-pgr-product-box-compact .kh-pgr-method:hover{transform:none!important;box-shadow:0 7px 16px rgba(7,23,53,.06)!important}
.kh-pgr-product-box-compact .kh-pgr-method-top{
    margin:0!important;
    display:inline-flex!important;
    align-items:center!important;
    gap:5px!important;
}
.kh-pgr-product-box-compact .kh-pgr-logo{
    width:26px!important;
    height:26px!important;
    flex:0 0 26px!important;
    border-radius:9px!important;
    box-shadow:inset 0 0 0 1px #eef1f7!important;
}
.kh-pgr-product-box-compact .kh-pgr-logo img{
    max-width:21px!important;
    max-height:21px!important;
}
.kh-pgr-product-box-compact .kh-pgr-fallback-icon{
    width:20px!important;
    height:20px!important;
    border-radius:7px!important;
    font-size:10px!important;
}
.kh-pgr-product-box-compact .kh-pgr-method-body{
    padding:0!important;
    min-width:0!important;
}
.kh-pgr-product-box-compact .kh-pgr-method strong{
    margin:0!important;
    font-size:10.8px!important;
    max-width:92px!important;
}
.kh-pgr-product-box-compact .kh-pgr-method small{
    display:none!important;
}
.kh-pgr-product-box-compact .kh-pgr-method.is-blocked small{
    display:block!important;
    margin:2px 0 0!important;
    font-size:9px!important;
    max-width:110px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}
.kh-pgr-product-box-compact .kh-pgr-badge{
    padding:2px 5px!important;
    font-size:8.5px!important;
}
.kh-pgr-product-box-compact .kh-pgr-badge i{display:none!important}
.kh-pgr-product-box-compact .kh-pgr-fee-badge,
.kh-pgr-product-box-compact .kh-pgr-fee-help,
.kh-pgr-method.has-credit-estimator:after,
.kh-pgr-credit-section,
.kh-pgr-credit-estimator{
    display:none!important;
}
.woocommerce-cart-form .product-name .kh-pgr-line-fee,
body.woocommerce-cart .kh-pgr-line-fee,
.kh-pgr-status-cart .kh-pgr-fee-breakdown{
    display:none!important;
}
.woocommerce-checkout-review-order-table .product-name .kh-pgr-line-fee{
    display:inline-flex!important;
}
.kh-pgr-line-fee-text em{
    font-style:normal!important;
}
@media(max-width:640px){
    .kh-pgr-product-box-compact{border-radius:14px!important;margin:8px 0!important}
    .kh-pgr-product-box-compact .kh-pgr-product-head{padding:9px 10px!important}
    .kh-pgr-product-box-compact .kh-pgr-product-list{padding:9px 10px!important;gap:6px!important;overflow-x:auto!important;flex-wrap:nowrap!important;-webkit-overflow-scrolling:touch!important}
    .kh-pgr-product-box-compact .kh-pgr-method{flex:0 0 auto!important;padding:5px 7px!important;gap:6px!important}
    .kh-pgr-product-box-compact .kh-pgr-method strong{font-size:10px!important;max-width:80px!important}
    .kh-pgr-product-box-compact .kh-pgr-logo{width:24px!important;height:24px!important;flex-basis:24px!important}
    .kh-pgr-product-box-compact .kh-pgr-logo img{max-width:19px!important;max-height:19px!important}
    .woocommerce-checkout-review-order-table .product-name .kh-pgr-line-fee{display:flex!important;width:max-content;max-width:100%;}
}

/* v4.19 checkout simplified payment methods + disabled column */
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-fee-breakdown,
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-card .kh-pgr-fee-badge,
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-card .kh-pgr-fee-help{
    display:none!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19{
    padding:14px!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 10px 30px rgba(7,23,53,.06)!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-status-head{
    margin-bottom:10px!important;
    padding-bottom:10px!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-status-head small{
    font-size:11px!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-status-columns{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 265px!important;
    gap:12px!important;
    align-items:start!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19.kh-pgr-no-inactive .kh-pgr-status-columns{
    grid-template-columns:1fr!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-status-col:first-child{
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(138px,1fr))!important;
    gap:8px!important;
    align-items:stretch!important;
    max-width:none!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-status-col:first-child .kh-pgr-status-title,
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-status-col:first-child .kh-pgr-empty{
    grid-column:1/-1!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-status-title{
    margin:0 0 2px!important;
    padding:4px 9px!important;
    font-size:11.5px!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-status-col:last-child{
    display:flex!important;
    flex-direction:column!important;
    gap:7px!important;
    min-width:0!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-card{
    margin:0!important;
    min-height:0!important;
    border-radius:14px!important;
    box-shadow:none!important;
    transition:.18s ease!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-card.is-active{
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr) auto!important;
    gap:8px!important;
    align-items:center!important;
    padding:8px 9px!important;
    background:#fff!important;
    border:1px solid #e5eaf4!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-card.is-active:hover{
    transform:translateY(-1px)!important;
    box-shadow:0 8px 18px rgba(7,23,53,.07)!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-card.is-active.is-selected{
    border-color:#1c61e7!important;
    background:linear-gradient(135deg,#f5f8ff,#fff)!important;
    box-shadow:0 0 0 2px rgba(28,97,231,.10)!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-icon{
    width:34px!important;
    height:34px!important;
    flex:0 0 34px!important;
    border-radius:10px!important;
    background:#f8fafc!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-icon img{
    max-width:27px!important;
    max-height:27px!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-card strong{
    font-size:12px!important;
    line-height:1.6!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-card.is-active .kh-pgr-card-meta,
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-card.is-active .kh-pgr-selected-desc{
    display:none!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-card>b{
    padding:3px 7px!important;
    font-size:9.5px!important;
    border-radius:999px!important;
    line-height:1.55!important;
    white-space:nowrap!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-card.is-active>b{
    background:#eef4ff!important;
    color:#1c61e7!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-card.is-active.is-selected>b{
    background:#1c61e7!important;
    color:#fff!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-card.is-inactive{
    display:grid!important;
    grid-template-columns:32px minmax(0,1fr) auto!important;
    gap:7px!important;
    align-items:center!important;
    padding:8px!important;
    background:#f8fafc!important;
    border:1px solid #e5e7eb!important;
    opacity:.82!important;
    filter:grayscale(1)!important;
    pointer-events:none!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-card.is-inactive .kh-pgr-pay-icon{
    width:32px!important;
    height:32px!important;
    flex-basis:32px!important;
    opacity:.65!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-card.is-inactive strong{
    color:#667085!important;
    font-size:11.5px!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-card.is-inactive .kh-pgr-card-meta{
    display:block!important;
    margin-top:1px!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-card.is-inactive .kh-pgr-card-meta small{
    display:block!important;
    color:#98a2b3!important;
    font-size:9.5px!important;
    line-height:1.6!important;
    margin:1px 0 0!important;
    white-space:normal!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-card.is-inactive>b{
    background:#eef2f6!important;
    color:#667085!important;
    font-size:9px!important;
}
@media(max-width:768px){
    .kh-pgr-status-checkout.kh-pgr-status-v19{
        padding:11px!important;
        border-radius:16px!important;
    }
    .kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-status-columns{
        grid-template-columns:1fr!important;
        gap:10px!important;
    }
    .kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-status-col:first-child{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:7px!important;
    }
    .kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-card.is-active{
        grid-template-columns:30px minmax(0,1fr)!important;
        padding:8px!important;
        gap:7px!important;
        border-radius:13px!important;
    }
    .kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-card.is-active>b{
        grid-column:1/-1!important;
        justify-self:start!important;
        margin-top:2px!important;
    }
    .kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-icon{
        width:30px!important;
        height:30px!important;
        flex-basis:30px!important;
    }
    .kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-icon img{
        max-width:24px!important;
        max-height:24px!important;
    }
    .kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-card strong{
        font-size:11px!important;
    }
    .kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-status-col:last-child{
        gap:6px!important;
    }
    .kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-card.is-inactive{
        grid-template-columns:30px minmax(0,1fr) auto!important;
        padding:7px 8px!important;
    }
}
@media(max-width:420px){
    .kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-status-col:first-child{
        grid-template-columns:1fr 1fr!important;
    }
    .kh-pgr-status-checkout.kh-pgr-status-v19 .kh-pgr-pay-card.is-active{
        min-width:0!important;
    }
}

/* v4.20 checkout: simple tabs + one-column gateway list */
.kh-pgr-status-checkout.kh-pgr-status-v20{
    margin:10px 0 16px!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-status-head,
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-status-title{
    display:none!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-front-mode-selector{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:4px!important;
    margin:0 0 10px!important;
    padding:4px!important;
    border-radius:12px!important;
    border:1px solid #e5e7eb!important;
    background:#f3f4f6!important;
    box-shadow:none!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-front-mode-btn{
    min-height:42px!important;
    padding:8px 10px!important;
    border:0!important;
    border-radius:9px!important;
    background:transparent!important;
    box-shadow:none!important;
    gap:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-front-mode-btn span{
    font-size:12.5px!important;
    font-weight:850!important;
    color:#4b5563!important;
    line-height:1.6!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-front-mode-btn small{
    display:none!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-front-mode-btn.is-active{
    background:#fff!important;
    border-color:transparent!important;
    box-shadow:0 1px 3px rgba(15,23,42,.08)!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-front-mode-btn.is-active span{
    color:#1c61e7!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-front-mode-btn:disabled,
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-front-mode-btn[aria-disabled="true"]{
    opacity:.45!important;
    cursor:not-allowed!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-status-columns,
.kh-pgr-status-checkout.kh-pgr-status-v20.kh-pgr-no-inactive .kh-pgr-status-columns{
    display:block!important;
    grid-template-columns:none!important;
    gap:0!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-status-col,
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-status-col:first-child,
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-status-col:last-child,
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-status-all{
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
    max-width:none!important;
    min-width:0!important;
    width:100%!important;
    grid-template-columns:none!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-status-col.kh-pgr-mode-empty-col{
    display:none!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card{
    width:100%!important;
    margin:0!important;
    min-height:72px!important;
    border-radius:14px!important;
    box-shadow:none!important;
    transition:.16s ease!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card.is-active{
    display:grid!important;
    grid-template-columns:48px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:11px!important;
    padding:13px 14px!important;
    border:1px solid #e5eaf4!important;
    background:#fff!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card.is-active:hover{
    transform:none!important;
    box-shadow:0 6px 16px rgba(15,23,42,.06)!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card.is-active.is-selected{
    border-color:#1c61e7!important;
    background:#f8fbff!important;
    box-shadow:0 0 0 2px rgba(28,97,231,.11)!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-icon{
    width:48px!important;
    height:48px!important;
    flex:0 0 48px!important;
    border-radius:12px!important;
    background:#f8fafc!important;
    border:1px solid #eef2f7!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-icon img{
    max-width:38px!important;
    max-height:38px!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card strong{
    font-size:13.5px!important;
    font-weight:900!important;
    color:#111827!important;
    line-height:1.7!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card.is-active .kh-pgr-card-meta,
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card.is-active .kh-pgr-selected-desc{
    display:none!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card>b{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:5px 10px!important;
    border-radius:999px!important;
    font-size:10px!important;
    font-weight:850!important;
    line-height:1.5!important;
    white-space:nowrap!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card.is-active>b{
    background:#eef4ff!important;
    color:#1c61e7!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card.is-active.is-selected>b{
    background:#1c61e7!important;
    color:#fff!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card.is-inactive{
    display:grid!important;
    grid-template-columns:48px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:11px!important;
    padding:13px 14px!important;
    min-height:72px!important;
    border-radius:14px!important;
    background:#f6f7f9!important;
    border:1px solid #e5e7eb!important;
    opacity:.78!important;
    filter:grayscale(1)!important;
    pointer-events:none!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card.is-inactive .kh-pgr-pay-icon{
    width:48px!important;
    height:48px!important;
    flex-basis:48px!important;
    opacity:.72!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card.is-inactive .kh-pgr-pay-icon img{
    max-width:38px!important;
    max-height:38px!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card.is-inactive strong{
    color:#667085!important;
    font-size:13px!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card.is-inactive .kh-pgr-card-meta{
    display:block!important;
    margin-top:2px!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card.is-inactive .kh-pgr-card-meta small{
    color:#98a2b3!important;
    font-size:10.5px!important;
    line-height:1.6!important;
    margin:0!important;
}
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card.is-inactive>b{
    background:#e5e7eb!important;
    color:#667085!important;
}
@media(max-width:640px){
    .kh-pgr-status-checkout.kh-pgr-status-v20{margin:8px 0 14px!important}
    .kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-front-mode-selector{
        grid-template-columns:1fr 1fr!important;
        gap:3px!important;
        padding:3px!important;
        border-radius:11px!important;
    }
    .kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-front-mode-btn{
        min-height:40px!important;
        padding:7px 5px!important;
        border-radius:8px!important;
    }
    .kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-front-mode-btn span{
        font-size:11.5px!important;
    }
    .kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-status-all{
        gap:7px!important;
    }
    .kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card.is-active,
    .kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card.is-inactive{
        grid-template-columns:44px minmax(0,1fr) auto!important;
        min-height:66px!important;
        padding:11px 10px!important;
        gap:9px!important;
        border-radius:13px!important;
    }
    .kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-icon,
    .kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card.is-inactive .kh-pgr-pay-icon{
        width:44px!important;
        height:44px!important;
        flex-basis:44px!important;
    }
    .kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-icon img,
    .kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card.is-inactive .kh-pgr-pay-icon img{
        max-width:34px!important;
        max-height:34px!important;
    }
    .kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card strong{
        font-size:12.5px!important;
    }
    .kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card>b{
        padding:4px 8px!important;
        font-size:9.5px!important;
    }
    .kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card.is-inactive .kh-pgr-card-meta small{
        font-size:10px!important;
    }
}

/* v4.21 checkout simplification and strict tab visibility */
.kh-pgr-status-checkout .kh-pgr-pay-card.kh-pgr-mode-hidden,
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card.kh-pgr-mode-hidden,
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card.is-active.kh-pgr-mode-hidden,
.kh-pgr-status-checkout.kh-pgr-status-v20 .kh-pgr-pay-card.is-inactive.kh-pgr-mode-hidden{
    display:none!important;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.fee{
    display:none!important;
}
.woocommerce-checkout-review-order-table .product-name .kh-pgr-line-fee.kh-pgr-line-fee-simple{
    display:inline-flex!important;
    align-items:center!important;
    gap:5px!important;
    margin:5px 0 0!important;
    padding:2px 7px!important;
    border-radius:999px!important;
    background:#fff7ed!important;
    border:1px solid #fed7aa!important;
    color:#9a3412!important;
    font-size:10px!important;
    font-weight:750!important;
    line-height:1.7!important;
    box-shadow:none!important;
    width:max-content!important;
    max-width:100%!important;
}
.kh-pgr-line-fee.kh-pgr-line-fee-simple .kh-pgr-line-fee-icon{
    width:15px!important;
    height:15px!important;
    min-width:15px!important;
    border-radius:50%!important;
    background:#ffedd5!important;
    color:#c2410c!important;
    font-size:9px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
}
.kh-pgr-line-fee.kh-pgr-line-fee-simple .kh-pgr-line-fee-text,
.kh-pgr-line-fee.kh-pgr-line-fee-simple .kh-pgr-line-fee-text em{
    font-size:10px!important;
    font-style:normal!important;
    font-weight:750!important;
    color:#9a3412!important;
    white-space:nowrap!important;
}
.kh-pgr-line-fee.kh-pgr-line-fee-simple strong,
.kh-pgr-line-fee.kh-pgr-line-fee-simple b,
.kh-pgr-line-fee.kh-pgr-line-fee-simple small{
    display:none!important;
}
body.woocommerce-checkout .kh-pgr-fee-breakdown,
body.woocommerce-checkout .kh-pgr-fee-summary,
body.woocommerce-checkout .kh-pgr-fee-group-list{
    display:none!important;
}
@media(max-width:640px){
    .woocommerce-checkout-review-order-table .product-name .kh-pgr-line-fee.kh-pgr-line-fee-simple{
        font-size:9.5px!important;
        padding:2px 6px!important;
        margin-top:4px!important;
    }
    .kh-pgr-line-fee.kh-pgr-line-fee-simple .kh-pgr-line-fee-text,
    .kh-pgr-line-fee.kh-pgr-line-fee-simple .kh-pgr-line-fee-text em{
        font-size:9.5px!important;
    }
}

/* v4.22 final checkout/cart fee display */
body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.fee{
    display:table-row!important;
}
body.woocommerce-cart tr.kh-pgr-cart-fee-hidden,
body.woocommerce-cart .cart_totals tr.kh-pgr-cart-fee-hidden{
    display:none!important;
}
.woocommerce-checkout-review-order-table .product-name .kh-pgr-line-fee,
body.woocommerce-checkout .kh-pgr-line-fee{
    display:none!important;
}
.kh-pgr-checkout-price-stack{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-end!important;
    gap:3px!important;
    line-height:1.7!important;
}
.kh-pgr-checkout-price-new{
    display:block!important;
    color:#111827!important;
    font-weight:900!important;
    font-size:13px!important;
}
.kh-pgr-checkout-price-new .amount,
.kh-pgr-checkout-price-new bdi{
    font-weight:900!important;
}
.kh-pgr-checkout-price-old{
    display:block!important;
    color:#98a2b3!important;
    font-size:10.5px!important;
    font-weight:600!important;
    text-decoration:none!important;
    white-space:nowrap!important;
}
.kh-pgr-checkout-price-old .amount,
.kh-pgr-checkout-price-old bdi{
    color:#98a2b3!important;
    font-size:10.5px!important;
    font-weight:600!important;
}
.kh-pgr-installment-update-popup{
    position:fixed!important;
    left:50%!important;
    bottom:22px!important;
    transform:translate(-50%,18px) scale(.98)!important;
    z-index:999999!important;
    min-width:min(420px,calc(100vw - 28px))!important;
    max-width:calc(100vw - 28px)!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
    padding:13px 16px!important;
    border-radius:18px!important;
    background:rgba(17,24,39,.96)!important;
    color:#fff!important;
    box-shadow:0 18px 45px rgba(15,23,42,.28)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:.22s ease!important;
    text-align:center!important;
}
.kh-pgr-installment-update-popup.is-visible{
    opacity:1!important;
    visibility:visible!important;
    transform:translate(-50%,0) scale(1)!important;
}
.kh-pgr-installment-update-popup-icon{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    border-radius:50%!important;
    background:#f97316!important;
    color:#fff!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-weight:900!important;
    font-size:13px!important;
}
.kh-pgr-installment-update-popup strong{
    color:#fff!important;
    font-size:13px!important;
    font-weight:850!important;
    line-height:1.9!important;
}
@media(max-width:640px){
    .kh-pgr-checkout-price-stack{align-items:flex-start!important;gap:2px!important}
    .kh-pgr-checkout-price-new{font-size:12.5px!important}
    .kh-pgr-checkout-price-old,
    .kh-pgr-checkout-price-old .amount,
    .kh-pgr-checkout-price-old bdi{font-size:9.7px!important}
    .kh-pgr-installment-update-popup{
        bottom:14px!important;
        border-radius:15px!important;
        padding:11px 13px!important;
    }
    .kh-pgr-installment-update-popup strong{font-size:12px!important}
}

/* v4.23 redesigned single-product payment UI */
.kh-pgr-product-box-v423{--khp-ink:#172033;--khp-muted:#6b7280;--khp-line:#e8ebf1;--khp-soft:#f7f8fb;--khp-purple:#6d28d9;--khp-amber:#d97706;margin:16px 0!important;padding:0!important;border:1px solid var(--khp-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 34px rgba(23,32,51,.055)!important;overflow:hidden!important;font-family:inherit!important}
.kh-pgr-product-box-v423 .kh-pgr-product-v423-head{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;border-bottom:1px solid #eef0f4;background:linear-gradient(180deg,#fff,#fbfcfe)}
.kh-pgr-product-v423-title{display:flex;align-items:center;gap:10px}.kh-pgr-product-v423-title>div{min-width:0}.kh-pgr-product-v423-title strong{display:block;color:var(--khp-ink);font-size:13.5px;font-weight:850;line-height:1.6}.kh-pgr-product-v423-title small{display:block;color:var(--khp-muted);font-size:10.5px;margin-top:1px}
.kh-pgr-product-v423-mark{display:flex;align-items:flex-end;gap:2px;width:31px;height:31px;padding:7px;border-radius:10px;background:#f3efff}.kh-pgr-product-v423-mark i{display:block;width:4px;border-radius:4px;background:var(--khp-purple)}.kh-pgr-product-v423-mark i:nth-child(1){height:8px;opacity:.45}.kh-pgr-product-v423-mark i:nth-child(2){height:14px;opacity:.7}.kh-pgr-product-v423-mark i:nth-child(3){height:18px}
.kh-pgr-product-v423-methods{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(142px,1fr))!important;gap:7px!important;padding:11px!important}
.kh-pgr-product-v423-method{display:grid!important;grid-template-columns:34px minmax(0,1fr) auto!important;align-items:center!important;gap:7px!important;min-height:48px!important;padding:7px 8px!important;border:1px solid #e8ebf1!important;border-radius:12px!important;background:#fff!important;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease!important;overflow:hidden!important}
.kh-pgr-product-v423-method.is-available:hover{border-color:#cfc5f7!important;box-shadow:0 7px 18px rgba(109,40,217,.07)!important;transform:translateY(-1px)!important}.kh-pgr-product-v423-method.is-disabled{background:#f7f7f8!important;filter:grayscale(1)!important;opacity:.58!important}
.kh-pgr-product-v423-logo{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;border:1px solid #eceef3!important;border-radius:9px!important;background:#fff!important;overflow:hidden!important}.kh-pgr-product-v423-logo img{max-width:28px!important;max-height:28px!important;width:auto!important;height:auto!important;margin:0!important}.kh-pgr-product-v423-logo .kh-pgr-fallback-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:7px;background:#f3efff;color:#6d28d9;font-weight:900}
.kh-pgr-product-v423-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#27324a;font-size:11px;font-weight:750}.kh-pgr-product-v423-method em{font-style:normal!important;white-space:nowrap;border-radius:999px;padding:3px 5px;font-size:8.5px;font-weight:850}.kh-pgr-product-v423-method em.is-cash{background:#edf4ff;color:#2556b5}.kh-pgr-product-v423-method em.is-installment{background:#fff2e8;color:#b54708}.kh-pgr-product-v423-method em.is-bank_loan{background:#f2edff;color:#6d28d9}
.kh-pgr-product-v423-installments{padding:12px 13px 13px;border-top:1px solid #eef0f4;background:#fafbfc}.kh-pgr-product-v423-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.kh-pgr-product-v423-section-title strong{color:#27324a;font-size:12px}.kh-pgr-product-v423-section-title small{color:#8a92a3;font-size:9.5px}.kh-pgr-product-v423-plan-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:7px}.kh-pgr-product-v423-plan{display:grid;grid-template-columns:37px minmax(0,1fr);gap:8px;align-items:center;padding:8px 9px;border:1px solid #e5e9f0;border-radius:11px;background:#fff}.kh-pgr-product-v423-plan-logo{display:grid;place-items:center;width:37px;height:37px;border-radius:9px;background:#fff;border:1px solid #eceef2;overflow:hidden}.kh-pgr-product-v423-plan-logo img{max-width:30px;max-height:30px;width:auto;height:auto;margin:0}.kh-pgr-product-v423-plan-copy strong{display:block;color:#344054;font-size:10.5px;margin-bottom:2px}.kh-pgr-product-v423-plan-copy span{display:block;color:#6b7280;font-size:9.5px}.kh-pgr-product-v423-plan-copy span b{color:#b54708;font-size:11px}.kh-pgr-product-v423-plan-copy small{display:block;color:#98a2b3;font-size:8.5px;margin-top:2px}

/* v4.23 bank-loan product module */
.kh-pgr-bank-loan-product{margin:0;border-top:1px solid #eceaf4;background:#fff}
.kh-pgr-bank-loan-hero{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;padding:15px;background:radial-gradient(circle at 10% 15%,rgba(255,255,255,.16),transparent 34%),linear-gradient(135deg,#26154a 0%,#4c1d95 58%,#6d28d9 100%);color:#fff;overflow:hidden}.kh-pgr-bank-loan-hero:after{content:"";position:absolute;left:-35px;bottom:-75px;width:150px;height:150px;border-radius:50%;border:24px solid rgba(255,255,255,.06);pointer-events:none}
.kh-pgr-bank-loan-hero-icon{position:relative;z-index:1;display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);box-shadow:inset 0 1px rgba(255,255,255,.12)}.kh-pgr-bank-loan-hero-icon svg{width:27px;height:27px;color:#f7d98c}
.kh-pgr-bank-loan-hero-copy{position:relative;z-index:1;min-width:0}.kh-pgr-bank-loan-eyebrow{display:block;color:#ddd2ff;font-size:9.5px;font-weight:800;margin-bottom:3px}.kh-pgr-bank-loan-hero-copy strong{display:block;color:#fff;font-size:14px;font-weight:900;line-height:1.7}.kh-pgr-bank-loan-hero-copy small{display:block;color:#d9d1ee;font-size:9.5px;margin-top:2px}
.kh-pgr-bank-loan-toggle{position:relative;z-index:1;display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.11);color:#fff;border-radius:10px;min-height:38px;padding:0 11px;font:inherit;font-size:10px;font-weight:850;cursor:pointer;transition:.18s}.kh-pgr-bank-loan-toggle:hover{background:rgba(255,255,255,.18)}.kh-pgr-bank-loan-toggle i{display:block;width:7px;height:7px;border-left:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);transition:.2s}.kh-pgr-bank-loan-toggle[aria-expanded="true"] i{transform:rotate(135deg)}
.kh-pgr-bank-loan-details{padding:12px;background:#faf9fe}.kh-pgr-bank-loan-details[hidden]{display:none!important}.kh-pgr-bank-loan-gateways{display:grid;gap:9px}.kh-pgr-bank-loan-gateway{border:1px solid #e4def1;border-radius:13px;background:#fff;overflow:hidden}.kh-pgr-bank-loan-gateway>header{display:flex;align-items:center;gap:9px;padding:9px 10px;border-bottom:1px solid #eeeaf5;background:#fdfcff}.kh-pgr-bank-loan-logo{display:grid;place-items:center;width:38px;height:38px;border:1px solid #ece8f3;border-radius:10px;background:#fff;overflow:hidden}.kh-pgr-bank-loan-logo img{max-width:31px;max-height:31px;width:auto;height:auto;margin:0}.kh-pgr-bank-loan-gateway header strong{display:block;color:#2f2642;font-size:11.5px}.kh-pgr-bank-loan-gateway header small{display:block;color:#8b8498;font-size:9px;margin-top:2px}
.kh-pgr-bank-loan-plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:7px;padding:9px}.kh-pgr-bank-loan-plan-card{padding:9px;border:1px solid #ece8f2;border-radius:10px;background:#fff}.kh-pgr-bank-loan-plan-price{display:flex;align-items:flex-end;justify-content:space-between;gap:7px;padding-bottom:7px;margin-bottom:6px;border-bottom:1px dashed #e7e2ee}.kh-pgr-bank-loan-plan-price b{color:#6d28d9;font-size:12.5px}.kh-pgr-bank-loan-plan-price span{color:#7b7486;font-size:8.5px}.kh-pgr-bank-loan-plan-meta{display:grid;gap:3px}.kh-pgr-bank-loan-plan-meta span{color:#625b6d;font-size:8.5px;line-height:1.6}.kh-pgr-bank-loan-plan-card p{margin:6px 0 0;padding-top:6px;border-top:1px dashed #eeeaf3;color:#8b8495;font-size:8.5px;line-height:1.7}.kh-pgr-bank-loan-disclaimer{margin:9px 2px 0;color:#827b8c;font-size:8.5px;line-height:1.8}
@media(max-width:680px){.kh-pgr-product-box-v423{margin:12px 0!important;border-radius:15px!important}.kh-pgr-product-v423-methods{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:8px!important;gap:6px!important}.kh-pgr-product-v423-method{grid-template-columns:30px minmax(0,1fr)!important;min-height:44px!important;padding:6px!important}.kh-pgr-product-v423-method em{display:none!important}.kh-pgr-product-v423-logo{width:30px!important;height:30px!important}.kh-pgr-product-v423-logo img{max-width:25px!important;max-height:25px!important}.kh-pgr-product-v423-name{font-size:9.5px}.kh-pgr-product-v423-section-title{display:block}.kh-pgr-product-v423-section-title small{display:block;margin-top:2px}.kh-pgr-product-v423-plan-list{grid-template-columns:1fr}.kh-pgr-bank-loan-hero{grid-template-columns:42px minmax(0,1fr);gap:9px;padding:12px}.kh-pgr-bank-loan-hero-icon{width:42px;height:42px;border-radius:12px}.kh-pgr-bank-loan-hero-icon svg{width:23px;height:23px}.kh-pgr-bank-loan-hero-copy strong{font-size:12px}.kh-pgr-bank-loan-toggle{grid-column:1/-1;justify-content:center;width:100%;min-height:35px}.kh-pgr-bank-loan-plans{grid-template-columns:1fr}.kh-pgr-bank-loan-plan-price b{font-size:11.5px}}
.kh-pgr-bank-loan-plan-title{display:block;color:#3e3351;font-size:9.5px;font-weight:850;margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* v4.24 gateway supporting both installment and bank loan */
.kh-pgr-product-v423-method em.is-installment_bank_loan{background:#f4ecff;color:#6d28d9}

/* v4.25 reliable standalone bank-loan offer on single product */
.single-product .kh-pgr-bank-loan-product-standalone{
    margin:14px 0!important;
    border:1px solid #e4def1!important;
    border-radius:16px!important;
    overflow:hidden!important;
    box-shadow:0 10px 30px rgba(61,31,105,.08)!important;
}
.single-product .kh-pgr-bank-loan-product-standalone .kh-pgr-bank-loan-hero{
    border-radius:0!important;
}
@media(max-width:680px){
    .single-product .kh-pgr-bank-loan-product-standalone{
        margin:11px 0!important;
        border-radius:14px!important;
    }
}

/* v4.26 loan calculation summary */
.kh-pgr-bank-loan-summary-details{line-height:1.85!important}
.kh-pgr-bank-loan-plan-meta span:first-child{font-weight:800;color:#4c1d95}
@media(max-width:680px){
    .kh-pgr-bank-loan-summary-details{font-size:8.5px!important;line-height:1.75!important}
}


/* v4.32 mobile-safe loan disclosure and unified purple installment badge */
.kh-pgr-bank-loan-toggle{
    border-radius:14px!important;
    touch-action:manipulation!important;
    -webkit-tap-highlight-color:transparent!important;
    user-select:none!important;
}
.kh-pgr-bank-loan-details.is-open,
.kh-pgr-bank-loan-product.kh-pgr-bank-loan-is-open .kh-pgr-bank-loan-details{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
}
@media(max-width:680px){
    .kh-pgr-bank-loan-toggle{
        border-radius:14px!important;
        min-height:42px!important;
        padding:0 14px!important;
        font-size:11px!important;
    }
    .kh-pgr-bank-loan-details.is-open,
    .kh-pgr-bank-loan-product.kh-pgr-bank-loan-is-open .kh-pgr-bank-loan-details{
        display:block!important;
        width:100%!important;
        overflow:visible!important;
    }
}

/* The installment badge is purple for every eligible installment/credit product. */
.kh-pgr-installment-label,
.product-labels .kh-pgr-loop-installment-label,
.product-labels .kh-pgr-installment-label.kh-pgr-loop-installment-label,
.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left,
.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left.kh-pgr-label-ready,
.product-element-top .kh-pgr-loop-installment-label.kh-pgr-label-ready:not(.kh-pgr-label-hidden-on-compact),
.single-product .kh-pgr-single-installment-label,
.single-product .kh-pgr-single-installment-label.kh-pgr-single-force-mounted,
.single-product figure.woocommerce-product-gallery__image > .kh-pgr-single-installment-label.kh-pgr-single-gallery-badge{
    background:#6d28d9!important;
    background-image:linear-gradient(135deg,#4c1d95 0%,#6d28d9 58%,#7c3aed 100%)!important;
    color:#fff!important;
    border-color:rgba(255,255,255,.22)!important;
    box-shadow:none!important;
}
.kh-pgr-label-gateway-icon .kh-pgr-fallback-icon,
.kh-pgr-installment-label .kh-pgr-fallback-icon{
    color:#6d28d9!important;
    background:#f4efff!important;
}
.kh-pgr-loop-installment-label.kh-pgr-label-bottom-left:before{
    background:radial-gradient(circle at left bottom,rgba(109,40,217,.2),transparent 68%)!important;
}


/* v4.33 native bank-loan disclosure: no JavaScript dependency */
.kh-pgr-bank-loan-native-disclosure{
    display:block!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
}
.kh-pgr-bank-loan-native-disclosure>summary.kh-pgr-bank-loan-hero{
    display:grid!important;
    list-style:none!important;
    cursor:pointer!important;
    outline:0!important;
    -webkit-tap-highlight-color:transparent!important;
    touch-action:manipulation!important;
}
.kh-pgr-bank-loan-native-disclosure>summary.kh-pgr-bank-loan-hero::-webkit-details-marker{
    display:none!important;
}
.kh-pgr-bank-loan-native-disclosure>summary.kh-pgr-bank-loan-hero::marker{
    content:""!important;
    display:none!important;
}
.kh-pgr-bank-loan-summary-action{
    position:relative;
    z-index:2;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    min-height:38px!important;
    padding:0 12px!important;
    border:1px solid rgba(255,255,255,.24)!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.12)!important;
    color:#fff!important;
    font-size:10px!important;
    font-weight:850!important;
    line-height:1!important;
    white-space:nowrap!important;
    user-select:none!important;
    transition:background .18s ease,border-color .18s ease,transform .18s ease!important;
}
.kh-pgr-bank-loan-native-disclosure>summary:hover .kh-pgr-bank-loan-summary-action,
.kh-pgr-bank-loan-native-disclosure>summary:focus-visible .kh-pgr-bank-loan-summary-action{
    background:rgba(255,255,255,.2)!important;
    border-color:rgba(255,255,255,.38)!important;
}
.kh-pgr-bank-loan-summary-action i{
    display:block!important;
    width:7px!important;
    height:7px!important;
    border-left:1.5px solid currentColor!important;
    border-bottom:1.5px solid currentColor!important;
    transform:rotate(-45deg)!important;
    transition:transform .2s ease!important;
}
.kh-pgr-bank-loan-summary-action-open{
    display:none!important;
}
.kh-pgr-bank-loan-native-disclosure[open] .kh-pgr-bank-loan-summary-action-closed{
    display:none!important;
}
.kh-pgr-bank-loan-native-disclosure[open] .kh-pgr-bank-loan-summary-action-open{
    display:inline!important;
}
.kh-pgr-bank-loan-native-disclosure[open] .kh-pgr-bank-loan-summary-action i{
    transform:rotate(135deg)!important;
}
.kh-pgr-bank-loan-native-disclosure:not([open])>.kh-pgr-bank-loan-details{
    display:none!important;
}
.kh-pgr-bank-loan-native-disclosure[open]>.kh-pgr-bank-loan-details{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
}
@media(max-width:680px){
    .kh-pgr-bank-loan-summary-action{
        grid-column:1/-1!important;
        width:100%!important;
        min-height:44px!important;
        padding:0 15px!important;
        border-radius:15px!important;
        font-size:11px!important;
    }
    .kh-pgr-bank-loan-native-disclosure[open]>.kh-pgr-bank-loan-details{
        width:100%!important;
        overflow:visible!important;
    }
}

/* v4.34 bank-loan application CTA per gateway */
.kh-pgr-bank-loan-gateway-action{
    margin-top:10px;
    padding-top:10px;
    border-top:1px dashed #e7e1ef;
}
.kh-pgr-bank-loan-apply-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:38px;
    padding:8px 15px;
    border:1px solid #7c3aed;
    border-radius:12px;
    background:linear-gradient(135deg,#7c3aed,#6d28d9);
    color:#fff!important;
    font-size:10.5px;
    font-weight:850;
    line-height:1.4;
    text-decoration:none!important;
    box-shadow:0 7px 18px rgba(109,40,217,.16);
    transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
}
.kh-pgr-bank-loan-apply-button:hover,
.kh-pgr-bank-loan-apply-button:focus-visible{
    color:#fff!important;
    transform:translateY(-1px);
    box-shadow:0 10px 24px rgba(109,40,217,.23);
    filter:brightness(1.04);
}
.kh-pgr-bank-loan-apply-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:18px;
    height:18px;
    border-radius:6px;
    background:rgba(255,255,255,.15);
}
.kh-pgr-bank-loan-apply-icon svg{width:13px;height:13px}
@media(max-width:680px){
    .kh-pgr-bank-loan-gateway-action{margin-top:9px;padding-top:9px}
    .kh-pgr-bank-loan-apply-button{
        width:100%;
        min-height:42px;
        border-radius:13px;
        font-size:11px;
        padding:9px 13px;
    }
}

/* v4.35 move bank-loan CTA opposite gateway title */
.kh-pgr-bank-loan-gateway>header{
    display:grid!important;
    grid-template-columns:38px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:9px!important;
}
.kh-pgr-bank-loan-gateway-title{
    min-width:0;
}
.kh-pgr-bank-loan-gateway-action{
    margin:0!important;
    padding:0!important;
    border:0!important;
    justify-self:start;
    align-self:center;
}
.kh-pgr-bank-loan-gateway-action .kh-pgr-bank-loan-apply-button{
    min-height:34px;
    padding:7px 12px;
    border-radius:11px;
    white-space:nowrap;
}
@media(max-width:680px){
    .kh-pgr-bank-loan-gateway>header{
        grid-template-columns:38px minmax(0,1fr)!important;
    }
    .kh-pgr-bank-loan-gateway-action{
        grid-column:1/-1;
        width:100%;
        margin-top:3px!important;
    }
    .kh-pgr-bank-loan-gateway-action .kh-pgr-bank-loan-apply-button{
        width:100%;
        min-height:42px;
        border-radius:13px;
    }
}


/* v4.36 bank-loan transfer loader */
.kh-pgr-bank-loan-apply-button.is-loading{
    pointer-events:none!important;
    opacity:.88;
    cursor:wait!important;
    transform:none!important;
}
.kh-pgr-bank-loan-apply-button.is-loading .kh-pgr-bank-loan-apply-icon{
    position:relative;
}
.kh-pgr-bank-loan-apply-button.is-loading .kh-pgr-bank-loan-apply-icon svg{
    opacity:0;
}
.kh-pgr-bank-loan-apply-button.is-loading .kh-pgr-bank-loan-apply-icon:after{
    content:"";
    position:absolute;
    inset:2px;
    border:2px solid rgba(255,255,255,.42);
    border-top-color:#fff;
    border-radius:50%;
    animation:khPgrLoanTransferSpin .75s linear infinite;
}
html.kh-pgr-loan-transfer-lock,
body.kh-pgr-loan-transfer-lock{
    overflow:hidden!important;
}
.kh-pgr-loan-transfer-overlay{
    position:fixed;
    inset:0;
    z-index:2147483000;
    display:grid;
    place-items:center;
    padding:20px;
    background:rgba(24,16,39,.52);
    -webkit-backdrop-filter:blur(5px);
    backdrop-filter:blur(5px);
    opacity:0;
    visibility:hidden;
    transition:opacity .18s ease,visibility .18s ease;
}
.kh-pgr-loan-transfer-overlay.is-visible{
    opacity:1;
    visibility:visible;
}
.kh-pgr-loan-transfer-panel{
    width:min(92vw,390px);
    padding:27px 22px 24px;
    border:1px solid rgba(124,58,237,.16);
    border-radius:24px;
    background:#fff;
    box-shadow:0 28px 85px rgba(20,10,35,.28);
    text-align:center;
    direction:rtl;
    animation:khPgrLoanTransferIn .28s ease both;
}
.kh-pgr-loan-transfer-logo{
    display:grid;
    place-items:center;
    width:78px;
    height:78px;
    margin:0 auto 15px;
    border:1px solid #ece5fa;
    border-radius:20px;
    background:#fff;
    overflow:hidden;
}
.kh-pgr-loan-transfer-logo img{
    max-width:62px!important;
    max-height:62px!important;
    width:auto!important;
    height:auto!important;
    margin:0!important;
}
.kh-pgr-loan-transfer-fallback{
    color:#6d28d9;
    font-size:13px;
    font-weight:850;
}
.kh-pgr-loan-transfer-spinner{
    display:block;
    width:32px;
    height:32px;
    margin:0 auto 14px;
    border:3px solid #e9ddff;
    border-top-color:#7c3aed;
    border-radius:50%;
    animation:khPgrLoanTransferSpin .8s linear infinite;
}
.kh-pgr-loan-transfer-title{
    display:block;
    color:#2f2642;
    font-size:16px;
    font-weight:900;
    line-height:1.8;
}
.kh-pgr-loan-transfer-provider{
    display:block;
    margin-top:5px;
    color:#7d748c;
    font-size:11.5px;
    line-height:1.8;
}
@keyframes khPgrLoanTransferSpin{to{transform:rotate(360deg)}}
@keyframes khPgrLoanTransferIn{
    from{opacity:0;transform:translateY(10px) scale(.97)}
    to{opacity:1;transform:none}
}
@media(max-width:680px){
    .kh-pgr-loan-transfer-panel{
        width:min(94vw,360px);
        padding:24px 18px 22px;
        border-radius:21px;
    }
    .kh-pgr-loan-transfer-logo{
        width:70px;
        height:70px;
        border-radius:18px;
    }
    .kh-pgr-loan-transfer-logo img{
        max-width:55px!important;
        max-height:55px!important;
    }
    .kh-pgr-loan-transfer-title{font-size:14px}
}
