/* GanaFans Wallet 4.0.7 — native WooCommerce receipt presentation. */
.woocommerce-breadcrumb,.wd-breadcrumbs,.woodmart-woo-breadcrumbs,.wd-checkout-steps,.woodmart-checkout-steps,.checkout-steps{display:none!important}
.gfw-customer-receipt .woocommerce-customer-details .woocommerce-column--billing-address,
.gfw-customer-receipt .woocommerce-customer-details:not(:has(.woocommerce-column--shipping-address)),
.gfw-customer-receipt .wc-block-order-confirmation-billing-wrapper{display:none!important}
.gfw-wallet-receipt{--gfr-purple:#6519db;--gfr-dark:#271344;--gfr-muted:#625879;--gfr-border:#e8def8;--gfr-soft:#f7f2ff}
.gfw-wallet-receipt .gfw-receipt-hero{position:relative;isolation:isolate;overflow:hidden;box-sizing:border-box;max-width:850px;margin:12px auto 18px;padding:32px 24px 24px;text-align:center;border:1px solid #e5d8fd;border-radius:25px;background:radial-gradient(ellipse at 50% -45%,#e9d7ff 0,transparent 68%),linear-gradient(135deg,#fff,#f9f5ff);box-shadow:0 10px 32px #4b258b0b;color:var(--gfr-dark);font-family:inherit}
.gfw-wallet-receipt .gfw-receipt-symbol{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 15px;border:1px solid #e4d2ff;border-radius:21px;background:linear-gradient(145deg,#fff,#eee3ff);color:var(--gfr-purple);box-shadow:0 5px 15px #702bdc12}
.gfw-wallet-receipt .gfw-receipt-symbol svg{width:31px;height:31px}
.gfw-wallet-receipt .gfw-receipt-state-credited .gfw-receipt-symbol{background:#e9f8ee;border-color:#c7ebd3;color:#168447}
.gfw-wallet-receipt .gfw-receipt-state-failed .gfw-receipt-symbol,.gfw-wallet-receipt .gfw-receipt-state-cancelled .gfw-receipt-symbol{background:#fff0f0;border-color:#ffdbdb;color:#b52d3b}
.gfw-wallet-receipt .gfw-receipt-eyebrow{display:block;font-size:10px;letter-spacing:.16em;font-weight:800;color:var(--gfr-purple);margin:0 0 7px}
.gfw-wallet-receipt .gfw-receipt-hero h2{font-size:clamp(24px,4vw,35px)!important;line-height:1.13;letter-spacing:-.035em;color:var(--gfr-dark)!important;font-weight:850;margin:0 0 9px!important}
.gfw-wallet-receipt .gfw-receipt-hero p{font-size:14px;line-height:1.55;margin:0 0 17px;color:var(--gfr-muted)}
.gfw-wallet-receipt .gfw-receipt-meta{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;margin:15px auto 0}
.gfw-wallet-receipt .gfw-receipt-meta>span{display:inline-flex;align-items:center;gap:5px;padding:6px 11px;border:1px solid var(--gfr-border);border-radius:100px;background:#fff;font-size:12px;line-height:1.3;color:var(--gfr-muted);font-weight:600;max-width:100%;overflow-wrap:anywhere}
.gfw-wallet-receipt .gfw-receipt-meta strong{color:var(--gfr-dark);font-weight:800}
.gfw-wallet-receipt .gfw-receipt-meta .gfw-receipt-status{color:var(--gfr-purple);background:#f3eaff;border-color:#e9d9ff;font-weight:750}
.gfw-wallet-receipt .gfw-receipt-status i{width:7px;height:7px;border-radius:50%;background:currentColor;flex:none}
.gfw-wallet-receipt .gfw-receipt-state-credited .gfw-receipt-status{color:#16753d;background:#e9f8ee;border-color:#c9ead4}
.gfw-wallet-receipt .gfw-receipt-link{display:inline-flex;gap:7px;align-items:center;margin:14px auto 0;color:var(--gfr-purple)!important;font-size:13px;font-weight:750;text-decoration:none}
/* Hide the duplicate native overview only on wallet receipts; the header contains real order/date/status. */
.gfw-wallet-receipt:has(.gfw-receipt-hero) .woocommerce-order-overview.woocommerce-thankyou-order-details{display:none!important}
.gfw-wallet-receipt .woocommerce-thankyou-order-received{max-width:850px;box-sizing:border-box;margin:0 auto 18px!important;padding:13px 17px!important;border:1px solid #e5d7fc!important;border-radius:14px!important;background:#f8f3ff!important;color:#49218a!important;text-align:center;font-size:15px!important;font-weight:700;line-height:1.45}
.gfw-wallet-receipt.gfw-cip-pending .woocommerce-thankyou-order-received:before{display:none!important}
.gfw-wallet-receipt.gfw-cip-pending .woocommerce-thankyou-order-received{background:#f4ecff!important;color:#4e169b!important;border-color:#dec9ff!important}
.gfw-wallet-receipt .woocommerce-order-details{box-sizing:border-box;max-width:850px;margin:18px auto 24px!important;padding:24px!important;border:1px solid var(--gfr-border);border-radius:23px;background:#fff;box-shadow:0 10px 32px #4b258b0c;color:var(--gfr-dark)}
.gfw-wallet-receipt .woocommerce-order-details__title,.gfw-wallet-receipt .woocommerce-order-details>h2{font-size:clamp(20px,3vw,24px)!important;font-weight:800!important;color:var(--gfr-dark)!important;letter-spacing:-.025em;margin:0 0 17px!important;line-height:1.2}
.gfw-wallet-receipt .woocommerce-order-details table.woocommerce-table--order-details,.gfw-wallet-receipt .woocommerce-order-details table.order_details{width:100%;border:0!important;border-collapse:separate!important;border-spacing:0!important;margin:0!important;background:transparent!important;table-layout:auto}
.gfw-wallet-receipt .woocommerce-order-details table :is(th,td){padding:13px 11px!important;vertical-align:middle!important;border:0!important;border-bottom:1px solid #eee8f7!important;color:var(--gfr-dark);font-size:14px;line-height:1.45;background:transparent!important;text-align:left!important;white-space:normal;overflow-wrap:anywhere}
.gfw-wallet-receipt .woocommerce-order-details table tr>:last-child{text-align:right!important}
.gfw-wallet-receipt .woocommerce-order-details table thead th{font-size:11px!important;color:var(--gfr-muted)!important;text-transform:uppercase;letter-spacing:.09em;font-weight:700}
.gfw-wallet-receipt .woocommerce-order-details table tbody .product-name{font-weight:750;color:var(--gfr-dark)!important}
.gfw-wallet-receipt .woocommerce-order-details table .amount{color:var(--gfr-purple)!important;font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums}
.gfw-wallet-receipt .woocommerce-order-details table tfoot th{font-weight:650;color:var(--gfr-muted)}
.gfw-wallet-receipt .woocommerce-order-details table tfoot tr:has(.amount):first-child>:is(th,td){background:var(--gfr-soft)!important;border-bottom:0!important;padding-top:18px!important;padding-bottom:18px!important}
.gfw-wallet-receipt .woocommerce-order-details table tfoot tr:has(.amount):first-child>th{border-radius:12px 0 0 12px;color:var(--gfr-dark);font-weight:800}
.gfw-wallet-receipt .woocommerce-order-details table tfoot tr:has(.amount):first-child>td{border-radius:0 12px 12px 0}
.gfw-wallet-receipt.gfw-receipt-simple .woocommerce-order-details table thead{display:none!important}
.gfw-wallet-receipt.gfw-receipt-simple .woocommerce-order-details table tbody tr.order_item td.product-total{visibility:hidden}
.gfw-wallet-receipt.gfw-receipt-simple .woocommerce-order-details table tbody tr.order_item td.product-name{border-bottom:0!important;padding:12px 10px 18px!important}
.gfw-wallet-receipt.gfw-receipt-simple .woocommerce-order-details table tfoot tr:first-child .amount{font-size:clamp(21px,4vw,30px)!important;letter-spacing:-.04em}
.gfw-wallet-receipt .woocommerce-order-details :is(a.button,button.button,.btn){border-radius:12px!important;background:linear-gradient(135deg,#7934ef,#5d12c9)!important;color:white!important;border:0!important;font-weight:750!important;box-shadow:0 5px 12px #6519db22;text-transform:none!important;white-space:normal}
.gfw-wallet-receipt .woocommerce-order-details :is(a.button,button.button):focus-visible,.gfw-receipt-link:focus-visible{outline:3px solid #9a65f2;outline-offset:3px}
.gfw-wallet-receipt .woocommerce-order-details table .order-actions-button{margin:3px!important}
@media(max-width:600px){.gfw-wallet-receipt .gfw-receipt-hero{padding:24px 14px 19px;border-radius:20px}.gfw-wallet-receipt .woocommerce-order-details{padding:16px!important;border-radius:18px}.gfw-wallet-receipt .woocommerce-order-details table :is(th,td){padding:11px 7px!important;font-size:13px}.gfw-wallet-receipt .gfw-receipt-meta>span{font-size:11px;padding:5px 8px}.gfw-wallet-receipt .woocommerce-thankyou-order-received{font-size:14px!important}.gfw-wallet-receipt .gfw-receipt-symbol{width:55px;height:55px;border-radius:18px}}

/* Confirmation only: collapse the empty WoodMart title/checkout row and theme top spacing. */
.gfw-wallet-confirmation .main-page-wrapper{margin-top:0!important;padding-top:0!important}
.gfw-wallet-confirmation :is(.main-page-wrapper,.main-page-wrapper>.container,.site-content,.wd-content-layout,.entry-content,.woocommerce,.woocommerce-order):has(.gfw-receipt-hero){margin-top:0!important;padding-top:0!important;min-height:0!important}
.gfw-wallet-confirmation .woocommerce-order:has(.gfw-receipt-hero){padding-top:0!important}
.gfw-wallet-confirmation .main-page-wrapper :is(.page-title,.wd-page-title,.wd-checkout-steps,.woodmart-checkout-steps,.checkout-steps,.woocommerce-breadcrumb,.wd-breadcrumbs){display:none!important;margin:0!important;padding:0!important;min-height:0!important}
.gfw-wallet-confirmation .entry-content :is(.wpb_wrapper,.wpb_content_element,.vc_row,.vc_column-inner,.vc_column_container):has(.gfw-receipt-hero){margin-top:0!important;padding-top:0!important;min-height:0!important}
.gfw-wallet-confirmation .woocommerce-order>p:empty{display:none!important;margin:0!important;padding:0!important}
.gfw-wallet-confirmation .gfw-receipt-hero{margin:0 auto 12px!important;padding:25px 22px 21px}
.gfw-wallet-confirmation .woocommerce-thankyou-order-received{margin:0 auto 12px!important}
.gfw-wallet-confirmation .gfw-receipt-mp-ticket{box-sizing:border-box;max-width:850px;width:100%;margin:0 auto 14px;padding:0;text-align:center}
.gfw-wallet-confirmation .gfw-receipt-mp-ticket iframe{display:block;width:100%;height:360px;height:clamp(300px,88vw,360px);border:0;margin:0;padding:0;background:#fff}
.gfw-wallet-confirmation .gfw-receipt-mp-ticket #submit-payment{margin:12px auto 0;max-width:100%;width:75%;min-height:48px;line-height:1.35;text-align:center;white-space:normal;display:inline-flex;align-items:center;justify-content:center;border:0!important;border-radius:12px!important;background:linear-gradient(135deg,#7934ef,#5d12c9)!important;color:#fff!important;font-weight:750!important;text-transform:none!important;text-decoration:none!important;box-shadow:0 5px 12px #6519db22}
.gfw-wallet-confirmation .gfw-receipt-mp-ticket #submit-payment:hover{background:linear-gradient(135deg,#6824de,#4f0caf)!important;color:#fff!important}
.gfw-wallet-confirmation .gfw-receipt-mp-ticket #submit-payment:focus-visible{outline:3px solid #9a65f2;outline-offset:3px}
@media(max-width:600px){
.gfw-wallet-confirmation .woocommerce-order:has(.gfw-receipt-hero){padding-top:0!important}
.gfw-wallet-confirmation .gfw-receipt-hero{padding:19px 14px 17px;margin-bottom:10px!important}
.gfw-wallet-confirmation .gfw-receipt-symbol{margin-bottom:10px}
.gfw-wallet-confirmation .gfw-receipt-meta{margin-top:10px}
.gfw-wallet-confirmation .woocommerce-thankyou-order-received{margin-bottom:10px!important;padding:11px 12px!important}
}

/* 4.0.4: independent non-collapsing top gap, unaffected by theme wrapper resets. */
.gfw-wallet-confirmation .gfw-receipt-top-space{display:flow-root!important;box-sizing:border-box;max-width:850px;margin:0 auto!important;padding:20px 0 0!important;min-height:0!important}
.gfw-wallet-confirmation .gfw-receipt-top-space>.gfw-receipt-hero{margin-top:0!important}

/* Native order-pay: replace only the redundant display table when the safe summary exists. */
/* Match the native line-item display table even when WoodMart wraps it.
   Never hide a table containing payment controls. Require the replacement card. */
body.gfw-wallet-order-pay:has(.gfw-pay-summary) :is(form#order_review,form.woocommerce-order-pay,.woocommerce) table:is(.shop_table,.shop-table,.woocommerce-table,.order_details):has(.product-name):has(.product-quantity):has(:is(.product-total,.product-subtotal)):not(#payment table,.woocommerce-checkout-payment table,.payment_box table):not(:has(input,select,textarea,button,iframe,[contenteditable="true"],[role="button"])) {display:none!important;margin:0!important}
body.gfw-wallet-order-pay .gfw-pay-legacy-display{display:none!important;margin:0!important}
.gfw-wallet-order-pay .gfw-pay-summary{box-sizing:border-box;max-width:820px;margin:16px auto 22px!important;border:1px solid #d9c3ff;border-radius:23px;overflow:hidden;background:#fff;box-shadow:0 10px 28px #48199c12;color:#281740;isolation:isolate;font-family:inherit}
.gfw-wallet-order-pay .gfw-pay-summary-head{display:flex;align-items:center;gap:12px;padding:16px 20px 19px;background:radial-gradient(ellipse at 108% 120%,#b574ef 0,transparent 60%),linear-gradient(115deg,#5008a8,#7732d6);color:#fff}
.gfw-wallet-order-pay .gfw-pay-summary-head h2{font-size:clamp(18px,4.4vw,25px)!important;line-height:1.2;letter-spacing:-.025em;font-weight:800!important;color:#fff!important;margin:0!important}
.gfw-wallet-order-pay .gfw-pay-summary-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:13px;background:#f3eaff;color:#6415c9}
.gfw-wallet-order-pay .gfw-pay-summary-icon svg{width:23px;height:23px;display:block}
.gfw-wallet-order-pay .gfw-pay-summary-head .gfw-pay-summary-icon{background:#ffffff29;color:#fff}
.gfw-wallet-order-pay .gfw-pay-summary-body{position:relative;margin-top:-5px;padding:17px 18px 18px;background:#fff;border-radius:19px 19px 0 0}
.gfw-wallet-order-pay .gfw-pay-summary-product{display:flex;gap:12px;align-items:center;margin-bottom:14px;font-size:16px;font-weight:750;line-height:1.3;color:#281740}
.gfw-wallet-order-pay .gfw-pay-summary-product strong{min-width:0;overflow-wrap:anywhere}
.gfw-wallet-order-pay .gfw-pay-summary-details{margin:0!important;padding:0!important;display:grid;gap:10px}
.gfw-wallet-order-pay .gfw-pay-summary-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:12px;border-radius:14px}
.gfw-wallet-order-pay .gfw-pay-summary-row dt{display:flex;align-items:center;gap:8px;color:#55486b;font-weight:650;font-size:14px;line-height:1.3;margin:0!important;min-width:0}
.gfw-wallet-order-pay .gfw-pay-summary-row dd{margin:0!important;text-align:right;line-height:1.25;min-width:0;max-width:100%;overflow-wrap:anywhere}
.gfw-wallet-order-pay .gfw-pay-summary-row .gfw-pay-summary-icon{width:32px;height:32px;flex-basis:32px;border-radius:9px}
.gfw-wallet-order-pay .gfw-pay-summary-row .gfw-pay-summary-icon svg{width:20px;height:20px}
.gfw-wallet-order-pay .gfw-pay-summary-amount{background:linear-gradient(110deg,#f5edff,#eee1ff)}
.gfw-wallet-order-pay .gfw-pay-summary-amount dd,.gfw-wallet-order-pay .gfw-pay-summary-amount .amount{color:#5b0ec1!important;font-size:clamp(22px,5.4vw,31px)!important;font-weight:850!important;letter-spacing:-.04em;font-variant-numeric:tabular-nums;white-space:nowrap}
.gfw-wallet-order-pay .gfw-pay-summary-method{padding-top:6px;padding-bottom:4px;grid-template-columns:minmax(0,1fr) minmax(0,46%)}
.gfw-wallet-order-pay .gfw-pay-summary-method dd{justify-self:end;padding:7px 10px;border-radius:12px;background:#f4eaff;color:#5b0ec1;font-weight:750;font-size:13px}
.gfw-wallet-order-pay form#order_review #place_order{text-transform:uppercase!important;font-weight:800!important;letter-spacing:.035em}
@media(max-width:600px){.gfw-wallet-confirmation .gfw-receipt-top-space{padding-top:18px!important}.gfw-wallet-order-pay .gfw-pay-summary{border-radius:19px;margin:12px auto 17px!important}.gfw-wallet-order-pay .gfw-pay-summary-head{padding:13px 14px 16px;gap:10px}.gfw-wallet-order-pay .gfw-pay-summary-body{padding:13px 10px 14px}.gfw-wallet-order-pay .gfw-pay-summary-row{padding:10px 8px;gap:6px}.gfw-wallet-order-pay .gfw-pay-summary-row dt{font-size:13px;gap:6px}.gfw-wallet-order-pay .gfw-pay-summary-method dd{font-size:12px;padding:6px 8px}.gfw-wallet-order-pay .gfw-pay-summary-product{font-size:15px}}
@media(max-width:340px){.gfw-wallet-order-pay .gfw-pay-summary-row{grid-template-columns:1fr}.gfw-wallet-order-pay .gfw-pay-summary-row dd{justify-self:end}.gfw-wallet-order-pay .gfw-pay-summary-amount dd{text-align:right}}

/* 4.0.5: compact independent viewport; remote document remains scrollable. */
.gfw-wallet-confirmation .gfw-ticket-viewport{box-sizing:border-box;overflow:hidden;background:#fff;border:1px solid #e8def8;border-radius:17px 17px 0 0}
.gfw-wallet-confirmation .gfw-receipt-mp-ticket.is-expanded iframe{height:760px;height:clamp(480px,90svh,1000px)}
.gfw-wallet-confirmation .gfw-ticket-total{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;padding:13px 16px;border:1px solid #e8def8;border-top:0;border-radius:0 0 17px 17px;text-align:left;color:#271344}
.gfw-wallet-confirmation .gfw-ticket-total>span{display:grid;gap:2px;min-width:0;line-height:1.3}
.gfw-wallet-confirmation .gfw-ticket-total small{font-size:12px;color:#625879}
.gfw-wallet-confirmation .gfw-ticket-total-price,.gfw-wallet-confirmation .gfw-ticket-total-price .amount{color:#6519db!important;font-size:clamp(19px,5vw,24px);font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums}
.gfw-wallet-confirmation .gfw-ticket-expand[hidden]{display:none!important}
.gfw-wallet-confirmation .gfw-ticket-expand:not([hidden]){display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;margin:8px auto 0;padding:10px 14px;border:1px solid #e2d2fc;border-radius:12px;background:#f6efff;color:#6519db;font-size:14px;font-weight:700;text-transform:none;cursor:pointer}
.gfw-wallet-confirmation .gfw-ticket-expand:focus-visible{outline:3px solid #9a65f2;outline-offset:2px}
.gfw-wallet-confirmation .gfw-receipt-mp-ticket #submit-payment{margin-top:8px}
@media(min-width:601px){.gfw-wallet-confirmation .gfw-receipt-mp-ticket:not(.is-expanded) iframe{height:400px}}

/* 4.0.6 — compact summary, no duplicated product title. */
.gfw-wallet-order-pay .gfw-pay-summary-head h2{min-width:0;overflow-wrap:anywhere;font-size:clamp(17px,4.1vw,23px)!important}
.gfw-wallet-order-pay .gfw-pay-summary-body{padding-top:15px}
.gfw-wallet-order-pay .gfw-pay-summary-amount dd,.gfw-wallet-order-pay .gfw-pay-summary-amount .amount{font-size:clamp(21px,5.3vw,31px)!important}

.gfw-wallet-receipt .gfw-receipt-hero.gfw-receipt-state-cancelled{background:linear-gradient(130deg,#e82c49,#a70b25);border-color:#b91b34;box-shadow:0 8px 22px #bc153431;color:#fff}
.gfw-wallet-receipt .gfw-receipt-state-cancelled :is(h2,p,.gfw-receipt-eyebrow){color:#fff!important}
.gfw-wallet-receipt .gfw-receipt-state-cancelled .gfw-receipt-meta>span{background:#ffffff21;color:#fff!important;border-color:#ffffff60}
.gfw-wallet-receipt .gfw-receipt-state-cancelled .gfw-receipt-meta>span strong{color:#fff!important}
