/* Scoped to the Fast Order dialog and its confirmed-order page. */
#threevg-dfo-overlay .threevg-dfo-modal.threevg-dfo-loading{opacity:1!important;background:#fff!important}
#threevg-dfo-overlay.dfo-submitting .threevg-dfo-modal{visibility:hidden!important}
#dfo-submission-status{position:absolute;inset:0;display:grid;place-items:center;padding:20px;box-sizing:border-box;color:#14213b}
#dfo-submission-status .dfo-submission-card{box-sizing:border-box;width:100%;max-width:440px;background:#fff;border:1px solid #ececf1;border-radius:24px;padding:36px 28px;text-align:center;box-shadow:0 18px 60px #10182b26}
#dfo-submission-status h2{font-size:23px;line-height:1.25;margin:20px 0 10px;letter-spacing:-.025em;color:#14213b}
#dfo-submission-status p{font-size:15px;line-height:1.55;margin:0;color:#586479}
.dfo-submission-spinner{display:inline-block;width:36px;height:36px;border:3px solid #f9dbe8;border-top-color:#e2136f;border-radius:50%;animation:dfo-wait 1s linear infinite}
.dfo-order-error{padding:16px;border:1px solid #dfb27f;background:#fff8ec;color:#713f12;border-radius:12px;line-height:1.5;margin-bottom:14px}
.dfo-performance-status{display:block;margin:10px 0;font-size:14px;color:#5d5260}
@keyframes dfo-wait{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.dfo-submission-spinner{animation:none}}

/* Remove the stacked theme/WooCommerce card shells, keep one receipt. */
body.threevg-dfo-thankyou-page #ds-main{background:#f7f8fa}
body.threevg-dfo-thankyou-page #ds-main>.ds-container.ds-section{box-sizing:border-box;width:100%!important;max-width:1080px!important;margin:0 auto!important;padding:24px 24px 40px!important}
body.threevg-dfo-thankyou-page #ds-main .ds-crumb{margin:0 0 16px!important;font-size:13px;line-height:1.4}
body.threevg-dfo-thankyou-page #ds-main .ds-pagehead{display:none!important}
body.threevg-dfo-thankyou-page #ds-main .ds-page-content,
body.threevg-dfo-thankyou-page #ds-main .woocommerce,
body.threevg-dfo-thankyou-page #ds-main .woocommerce-order{box-sizing:border-box;width:100%!important;max-width:100%!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;min-height:0!important;line-height:1.5}
body.threevg-dfo-thankyou-page #ds-main .threevg-dfo-thankyou{box-sizing:border-box;width:100%!important;max-width:100%!important;margin:0!important;padding:28px!important;border:1px solid #e7eaf0!important;border-radius:20px!important;background:#fff!important;box-shadow:0 6px 24px #14213b08!important;text-align:left!important;min-height:0!important}
body.threevg-dfo-thankyou-page #ds-main .threevg-dfo-thankyou__check{width:44px!important;height:44px!important;font-size:26px!important;margin:0 0 12px!important}
body.threevg-dfo-thankyou-page #ds-main .threevg-dfo-thankyou h2{font-size:28px!important;line-height:1.2!important;margin:0 0 8px!important;letter-spacing:-.03em}
body.threevg-dfo-thankyou-page #ds-main .threevg-dfo-thankyou__sub{max-width:720px!important;font-size:15px!important;line-height:1.5!important;margin:0 0 22px!important;color:#586479!important}
body.threevg-dfo-thankyou-page #ds-main .threevg-dfo-thankyou__grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:0 0 20px!important}
body.threevg-dfo-thankyou-page #ds-main .threevg-dfo-thankyou__grid>*{box-sizing:border-box;min-width:0;min-height:0!important;padding:14px 16px!important;border-radius:12px!important;box-shadow:none!important;font-size:15px!important}
body.threevg-dfo-thankyou-page #ds-main .threevg-dfo-ty-main{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)!important;gap:16px!important;align-items:start!important;margin:0 0 20px!important}
body.threevg-dfo-thankyou-page #ds-main .threevg-dfo-ty-main>*{box-sizing:border-box;min-width:0;min-height:0!important;height:auto!important;padding:18px!important;border-radius:14px!important;box-shadow:none!important;overflow-wrap:anywhere}
body.threevg-dfo-thankyou-page #ds-main .threevg-dfo-ty-main h3{font-size:18px!important;line-height:1.3!important;margin:0 0 14px!important}
body.threevg-dfo-thankyou-page #ds-main .threevg-dfo-thankyou__actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin:20px 0 0!important;padding:0!important;justify-content:flex-start!important}
body.threevg-dfo-thankyou-page #ds-main .threevg-dfo-thankyou__actions a{box-sizing:border-box;min-height:44px;padding:12px 18px!important;border-radius:12px!important;font-size:14px!important;line-height:1.4!important;box-shadow:none!important;text-align:center}
@media(max-width:760px){
body.threevg-dfo-thankyou-page #ds-main>.ds-container.ds-section{padding:16px 12px 24px!important}
body.threevg-dfo-thankyou-page #ds-main .threevg-dfo-thankyou{padding:20px 16px!important;border-radius:16px!important}
body.threevg-dfo-thankyou-page #ds-main .threevg-dfo-thankyou h2{font-size:24px!important}
body.threevg-dfo-thankyou-page #ds-main .threevg-dfo-thankyou__grid{grid-template-columns:1fr!important;gap:8px!important}
body.threevg-dfo-thankyou-page #ds-main .threevg-dfo-thankyou__grid>*{padding:10px 12px!important}
body.threevg-dfo-thankyou-page #ds-main .threevg-dfo-ty-main{grid-template-columns:1fr!important;gap:12px!important}
body.threevg-dfo-thankyou-page #ds-main .threevg-dfo-thankyou__actions a{width:100%!important}
}
