.gux-thankyou-head{max-width:1180px;margin:0 auto 20px;padding:28px 30px 22px;background:#fff;border:1px solid #e8eef7;border-radius:16px}.gux-eyebrow{font-size:12px;font-weight:800;letter-spacing:.12em;color:var(--gux-brand);margin-bottom:7px}.gux-thankyou-head h2{margin:0;font-size:32px;line-height:1.2;color:#101828}.gux-thankyou-head h2 span{color:var(--gux-brand)}.gux-thankyou-head p{margin:10px 0 24px;color:#667085}.gux-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:0;position:relative}.gux-progress:before{content:"";position:absolute;left:12%;right:12%;top:17px;border-top:2px solid #dce4ef}.gux-step{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;color:#98a2b3;font-size:13px}.gux-step-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;border:2px solid #dce4ef;background:#fff;font-size:17px;margin-bottom:7px}.gux-step strong{font-size:13px}.gux-step small{margin-top:2px;color:#98a2b3}.gux-step.is-done{color:#159570}.gux-step.is-done .gux-step-icon{border-color:#2bb673;background:#eafaf3;color:#159570}.gux-step.is-active{color:var(--gux-brand)}.gux-step.is-active .gux-step-icon{border-color:var(--gux-brand);background:#eff5ff;color:var(--gux-brand)}.gux-order-layout{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.gux-order-layout>.woocommerce-order-details{grid-column:1;grid-row:1}.gux-order-layout>.woocommerce-order-overview{grid-column:1/-1}.gux-order-layout>.woocommerce-sepay-bank-details,.gux-order-layout>.mycryptocheckout-checkout,.gux-order-layout>.mcc-checkout,.gux-order-layout>.woocommerce-info{grid-column:2;grid-row:1 / span 2}.gux-order-layout>.gux-support{grid-column:1;grid-row:2}.gux-order-layout>.woocommerce-customer-details{grid-column:1;grid-row:3}.gux-order-layout .woocommerce-sepay-bank-details{max-width:none!important;width:100%;margin:0!important;border:1px solid #e5eaf2!important;border-radius:16px!important;box-shadow:0 6px 20px rgba(16,24,40,.04);padding:0!important}.gux-order-layout .sepay-box{padding:20px!important}.gux-order-layout .sepay-pay-info{gap:18px}.gux-order-layout .sepay-pay-info .qr-element{width:min(100%,300px)}.gux-order-layout .sepay-pay-footer{padding-bottom:5px}.gux-support{padding:20px 0;border-top:1px solid #eaecf0}.gux-support h3{margin:0 0 7px;font-size:18px}.gux-support p{margin:0 0 15px;color:#667085}.gux-support-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.gux-zalo,.gux-group{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;border-radius:999px;font-weight:700}.gux-zalo{padding:12px 19px;background:#1477eb;color:#fff!important}.gux-copy-order{padding:10px 14px;background:#f2f6fc;border:1px solid #d8e3f2;border-radius:8px;color:#344054;cursor:pointer}.gux-group{margin-top:15px;width:100%;padding:12px 15px;background:#eff6ff;border:1px solid #cfe0f8;color:#145dcc!important;justify-content:space-between}.gux-group span{font-size:12px;font-weight:500;color:#667085}.gux-sticky-atc{position:fixed;left:0;right:0;bottom:0;z-index:340;padding:10px 0;background:#fff;border-top:1px solid #e5e7eb;box-shadow:0 -5px 18px rgba(16,24,40,.08);transform:translateY(110%);transition:transform .28s ease;visibility:hidden}.gux-sticky-atc.is-visible{transform:translateY(0);visibility:visible}.gux-sticky-inner{max-width:1180px;margin:auto;display:flex;align-items:center;gap:20px;padding:0 15px}.gux-sticky-product{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.gux-sticky-product img{width:48px;height:48px;object-fit:cover;border-radius:8px}.gux-sticky-product strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-sticky-price{font-weight:800;color:var(--gux-brand);white-space:nowrap}.gux-sticky-price del{color:#98a2b3;font-weight:400;margin-right:5px}.gux-sticky-actions{display:flex;gap:10px}.gux-sticky-actions button{min-height:42px;border:0;border-radius:8px;padding:0 20px;cursor:pointer;font-weight:700}.gux-sticky-actions .gux-add{background:#eaf2ff;color:#145dcc}.gux-sticky-actions .gux-buy{background:var(--gux-brand);color:#fff}.gux-sticky-atc.is-loading button{opacity:.6;pointer-events:none}.gux-table-wrap{position:relative;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin:1em 0;border-radius:10px}.gux-table-wrap table:has(tr > :nth-child(3)){min-width:560px}.gux-table-wrap table{margin:0!important;border-collapse:collapse;width:100%}.gux-table-wrap th{background:#f4f7fb;font-weight:700}.gux-table-wrap th,.gux-table-wrap td{padding:11px 14px;border:1px solid #e5eaf2;vertical-align:top}@media(max-width:767px){.gux-thankyou-head{padding:20px 16px;border-radius:12px}.gux-thankyou-head h2{font-size:25px}.gux-thankyou-head p{font-size:14px;margin-bottom:20px}.gux-progress:before{left:13%;right:13%}.gux-step strong{font-size:11px;line-height:1.25}.gux-step small{font-size:10px}.gux-order-layout{display:flex;flex-direction:column;gap:14px;padding:0 12px}.gux-order-layout>.woocommerce-sepay-bank-details,.gux-order-layout>.mycryptocheckout-checkout,.gux-order-layout>.mcc-checkout{order:-1}.gux-order-layout .woocommerce-sepay-bank-details{border-radius:12px!important}.gux-order-layout .sepay-box{padding:12px!important}.gux-order-layout .sepay-pay-info{padding:0!important}.gux-order-layout .sepay-pay-info .qr-element{width:min(80vw,280px)}.gux-support{padding:15px 0}.gux-zalo{width:100%;min-height:46px}.gux-copy-order{width:100%}.gux-group{align-items:flex-start;gap:5px;flex-direction:column}.gux-table-wrap table:has(tr > :nth-child(3)){min-width:640px}.gux-table-wrap th,.gux-table-wrap td{padding:9px 10px;font-size:14px;line-height:1.4}}
@media(prefers-reduced-motion:reduce){.gux-sticky-atc{transition:none}}
/* Thank-you layout: use WooCommerce's native .woocommerce-order wrapper; never insert a nested grid wrapper. */
body.woocommerce-order-received .woocommerce-order{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
body.woocommerce-order-received .woocommerce-order>.gux-thankyou-head{grid-column:1/-1;width:auto;max-width:none;margin:0 0 0}
body.woocommerce-order-received .woocommerce-order>.woocommerce-order-overview{grid-column:1/-1;margin:0!important}
body.woocommerce-order-received .woocommerce-order>.woocommerce-order-details{grid-column:1;grid-row:auto;margin:0!important;min-width:0}
body.woocommerce-order-received .woocommerce-order>.woocommerce-sepay-bank-details,body.woocommerce-order-received .woocommerce-order>.mycryptocheckout-checkout,body.woocommerce-order-received .woocommerce-order>.mcc-checkout{grid-column:2;grid-row:2 / span 4;min-width:0;width:100%;max-width:none!important}
body.woocommerce-order-received .woocommerce-order>.gux-support{grid-column:1;grid-row:3;margin:0;padding:20px 0}
body.woocommerce-order-received .woocommerce-order>.woocommerce-customer-details{grid-column:1;grid-row:4;margin:0!important;min-width:0}
body.woocommerce-order-received .woocommerce-order>.woocommerce-order-overview+p,body.woocommerce-order-received .woocommerce-order>.woocommerce-order-overview~.woocommerce-notice{grid-column:1/-1}
@media(max-width:767px){body.woocommerce-order-received .woocommerce-order{display:flex;flex-direction:column;gap:14px;padding:0 12px}body.woocommerce-order-received .woocommerce-order>.gux-thankyou-head{order:0;width:100%}body.woocommerce-order-received .woocommerce-order>.woocommerce-order-overview{order:1;width:100%}body.woocommerce-order-received .woocommerce-order>.woocommerce-sepay-bank-details,body.woocommerce-order-received .woocommerce-order>.mycryptocheckout-checkout,body.woocommerce-order-received .woocommerce-order>.mcc-checkout{order:2;width:100%}body.woocommerce-order-received .woocommerce-order>.woocommerce-order-details{order:3;width:100%}body.woocommerce-order-received .woocommerce-order>.gux-support{order:4;width:100%}body.woocommerce-order-received .woocommerce-order>.woocommerce-customer-details{order:5;width:100%}}
/* Final thank-you layout guard: prevent native Woodmart/WooCommerce notices from occupying a grid cell. */
@media(min-width:768px){body.woocommerce-order-received .woocommerce-order{grid-template-columns:minmax(0,1fr) minmax(520px,1.18fr);column-gap:24px;row-gap:18px}body.woocommerce-order-received .woocommerce-order>.woocommerce-notice,body.woocommerce-order-received .woocommerce-order>.woocommerce-order-overview,body.woocommerce-order-received .woocommerce-order>.woocommerce-order-overview~p{grid-column:1/-1!important;grid-row:auto!important;width:100%;min-width:0}body.woocommerce-order-received .woocommerce-order>.gux-thankyou-head{grid-column:1/-1!important;grid-row:auto!important}body.woocommerce-order-received .woocommerce-order>.woocommerce-order-details{grid-column:1!important;grid-row:auto!important}body.woocommerce-order-received .woocommerce-order>.gux-support{grid-column:1!important;grid-row:auto!important}body.woocommerce-order-received .woocommerce-order>.woocommerce-customer-details{grid-column:1!important;grid-row:auto!important}body.woocommerce-order-received .woocommerce-order>.woocommerce-sepay-bank-details,body.woocommerce-order-received .woocommerce-order>.mycryptocheckout-checkout,body.woocommerce-order-received .woocommerce-order>.mcc-checkout{grid-column:2!important;grid-row:2 / span 5!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden!important}body.woocommerce-order-received .woocommerce-order>.woocommerce-sepay-bank-details .sepay-pay-info{min-width:0;width:100%;box-sizing:border-box}body.woocommerce-order-received .woocommerce-order>.woocommerce-sepay-bank-details .manual-box{min-width:0;max-width:100%;overflow:hidden}body.woocommerce-order-received .woocommerce-order>.woocommerce-sepay-bank-details .bank-info{max-width:100%;overflow:hidden}body.woocommerce-order-received .woocommerce-order>.woocommerce-sepay-bank-details .bank-info-cell{overflow-wrap:anywhere;word-break:normal}}
/* Stable final layout: flex-wrap avoids grid row placement bugs from Woodmart's thank-you markup. */
@media(min-width:768px){body.woocommerce-order-received .woocommerce-order{display:flex!important;flex-wrap:wrap;align-items:flex-start;gap:24px;max-width:1180px;margin-left:auto;margin-right:auto}body.woocommerce-order-received .woocommerce-order>*{box-sizing:border-box;min-width:0}body.woocommerce-order-received .woocommerce-order>.gux-thankyou-head,body.woocommerce-order-received .woocommerce-order>.woocommerce-notice,body.woocommerce-order-received .woocommerce-order>.woocommerce-order-overview{order:1;flex:0 0 100%;width:100%;max-width:none;margin-left:0;margin-right:0}body.woocommerce-order-received .woocommerce-order>.gux-thankyou-head{order:0}body.woocommerce-order-received .woocommerce-order>.woocommerce-order-overview{order:2}body.woocommerce-order-received .woocommerce-order>.woocommerce-sepay-bank-details,body.woocommerce-order-received .woocommerce-order>.mycryptocheckout-checkout,body.woocommerce-order-received .woocommerce-order>.mcc-checkout{order:3;flex:0 0 calc(50% - 12px);width:calc(50% - 12px);max-width:none!important;margin:0!important;overflow:hidden!important}body.woocommerce-order-received .woocommerce-order>.woocommerce-order-details{order:4;flex:0 0 calc(50% - 12px);width:calc(50% - 12px);margin:0!important}body.woocommerce-order-received .woocommerce-order>.gux-support{order:5;flex:0 0 calc(50% - 12px);width:calc(50% - 12px);margin:0!important}body.woocommerce-order-received .woocommerce-order>.woocommerce-customer-details{order:6;flex:0 0 calc(50% - 12px);width:calc(50% - 12px);margin:0!important}body.woocommerce-order-received .woocommerce-order>.woocommerce-sepay-bank-details .sepay-pay-info{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;min-width:0!important}body.woocommerce-order-received .woocommerce-order>.woocommerce-sepay-bank-details .qr-box,body.woocommerce-order-received .woocommerce-order>.woocommerce-sepay-bank-details .manual-box{width:100%!important;max-width:100%!important;min-width:0!important}body.woocommerce-order-received .woocommerce-order>.woocommerce-sepay-bank-details .qr-element{margin-left:auto;margin-right:auto;width:min(100%,320px)}body.woocommerce-order-received .woocommerce-order>.woocommerce-sepay-bank-details .bank-info{width:100%;max-width:100%;overflow:hidden}body.woocommerce-order-received .woocommerce-order>.woocommerce-sepay-bank-details .bank-info-cell{overflow-wrap:anywhere}}
@media(max-width:767px){body.woocommerce-order-received .woocommerce-order{display:flex!important;flex-direction:column!important;flex-wrap:nowrap;gap:14px;padding:0 12px}body.woocommerce-order-received .woocommerce-order>*{width:100%!important;max-width:none!important;flex:0 0 auto!important;margin-left:0!important;margin-right:0!important}body.woocommerce-order-received .woocommerce-order>.gux-thankyou-head{order:0}body.woocommerce-order-received .woocommerce-order>.woocommerce-notice{order:1}body.woocommerce-order-received .woocommerce-order>.woocommerce-order-overview{order:2}body.woocommerce-order-received .woocommerce-order>.woocommerce-sepay-bank-details,body.woocommerce-order-received .woocommerce-order>.mycryptocheckout-checkout,body.woocommerce-order-received .woocommerce-order>.mcc-checkout{order:3;overflow:hidden!important}body.woocommerce-order-received .woocommerce-order>.woocommerce-order-details{order:4}body.woocommerce-order-received .woocommerce-order>.gux-support{order:5}body.woocommerce-order-received .woocommerce-order>.woocommerce-customer-details{order:6}body.woocommerce-order-received .woocommerce-order>.woocommerce-sepay-bank-details .sepay-pay-info{display:flex!important;flex-direction:column!important;align-items:stretch!important}}
/* Support is merged into the native billing-address card by JS. */
body.woocommerce-order-received .woocommerce-customer-details .gux-support-in-address{width:100%!important;max-width:none!important;margin:22px 0 0!important;padding:18px 0 0!important;border-top:1px solid #e5e7eb!important;border-left:0!important;border-right:0!important;border-bottom:0!important;border-radius:0!important;background:transparent!important;box-sizing:border-box!important}
body.woocommerce-order-received .woocommerce-customer-details .gux-support-in-address .gux-support-actions{margin-top:12px}
body.woocommerce-order-received .woocommerce-customer-details .gux-support-in-address .gux-zalo{display:inline-flex;width:auto;min-height:42px}
@media(max-width:767px){body.woocommerce-order-received .woocommerce-customer-details .gux-support-in-address{padding-top:16px!important}body.woocommerce-order-received .woocommerce-customer-details .gux-support-in-address .gux-zalo{width:100%;min-height:46px}}
body.woocommerce-order-received .woocommerce-order{display:block!important;max-width:none!important;margin:0!important;padding:0!important}
body.woocommerce-order-received .woocommerce-order>*{display:block!important;width:auto!important;max-width:none!important;min-width:0!important;float:none!important;position:static!important;grid-column:auto!important;grid-row:auto!important;flex:none!important;order:initial!important}
body.woocommerce-order-received .woocommerce-order>.gux-thankyou-head{display:none!important}
body.woocommerce-order-received .woocommerce-order>.woocommerce-order-overview{display:flex!important;flex-wrap:wrap;width:100%!important}
body.woocommerce-order-received .woocommerce-order>.woocommerce-sepay-bank-details,body.woocommerce-order-received .woocommerce-order>.mycryptocheckout-checkout,body.woocommerce-order-received .woocommerce-order>.mcc-checkout{width:100%!important;max-width:48rem!important;margin:24px auto!important;overflow:visible!important}
body.woocommerce-order-received .woocommerce-order>.gux-support{width:min(100% - 30px,48rem)!important;max-width:48rem!important;margin:20px auto!important;padding:20px!important;border:1px solid #dbe5f2!important;border-radius:14px!important;background:#fff!important;box-sizing:border-box!important}
body.woocommerce-order-received .woocommerce-order>.woocommerce-order-details,body.woocommerce-order-received .woocommerce-order>.woocommerce-customer-details{width:min(100% - 30px,48rem)!important;margin:24px auto!important}
body.woocommerce-order-received .woocommerce-order>.woocommerce-sepay-bank-details .sepay-pay-info{display:flex!important;flex-direction:column!important;align-items:stretch!important}

.gux-table-hint { display: none; }

@media (max-width: 767px) {
    .gux-table-wrap:has(+ .gux-table-hint:not([hidden])) { margin-bottom: 0; }
    .gux-table-hint:not([hidden]) {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 5px;
        margin: 5px 2px 1em;
        color: #657385;
        font-size: 11px;
        font-weight: 400;
        line-height: 1.5;
        pointer-events: none;
    }
    .gux-table-hint::before { content: "↔"; font-size: 14px; }

    .gux-sticky-atc {
        padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px));
    }
    .gux-sticky-inner {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 10px;
        padding-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right));
    }
    .gux-sticky-product { display: flex; }
    .gux-sticky-product img {
        box-sizing: border-box;
        width: 44px;
        height: 44px;
        border: 1px solid #dce4ed;
        border-radius: 9px;
        object-fit: contain;
        background: #fff;
    }
    .gux-sticky-product strong, .gux-sticky-price { display: none; }
    .gux-sticky-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .gux-sticky-atc .gux-sticky-actions button.button {
        min-width: 0;
        min-height: 44px;
        margin: 0;
        padding: 6px;
        border: 0;
        border-radius: 8px;
        line-height: 1.2;
        font-size: 14px;
        text-transform: none;
    }
    .gux-sticky-atc .gux-sticky-actions .button.gux-add {
        background: #eaf2ff;
        color: #145dcc;
    }
    .gux-sticky-atc .gux-sticky-actions .button.gux-buy {
        background: var(--gux-brand, #1769e8);
        color: #fff;
    }
}
