/* Receipt presentation only; preserve native data and order handling. */
body.tmm-order-result #main .hentry.type-page > .entry-header::before { content: none; display: none; }
.tmm-payment-result { --tmm-result-tone: #62676b; --tmm-result-fill: #f6f7f7; padding: 24px; margin-bottom: 24px; border: 1px solid #dce0e2; border-left: 4px solid var(--tmm-result-tone); border-radius: 12px; background: var(--tmm-result-fill); color: #363a3c; }
.tmm-payment-result.tmm-result--success { --tmm-result-tone: #236a40; --tmm-result-fill: #f1f8f3; }
.tmm-payment-result.tmm-result--warning { --tmm-result-tone: #805b08; --tmm-result-fill: #fff9ed; }
.tmm-payment-result.tmm-result--danger { --tmm-result-tone: #a52036; --tmm-result-fill: #fff4f5; }
.tmm-result-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.tmm-result-heading .tmm-result-symbol { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; color: var(--tmm-result-tone); background: #fff; font-size: 26px; font-weight: 500; line-height: 1; }
.tmm-payment-result h2 { font-family: inherit; font-size: 24px; line-height: 1.3; margin: 0; color: #363a3c; }
.tmm-payment-result .tmm-status-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; }
.tmm-payment-result .tmm-status-item { min-width: 0; padding: 16px; border: 1px solid #dce0e2; border-radius: 10px; background: #fff; color: #363a3c; }
.tmm-payment-result .tmm-status-item dt { margin: 0 0 6px; font-size: 13px; font-weight: 400; color: #62676b; }
.tmm-payment-result .tmm-status-item dd { margin: 0; font-size: 15px; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
.tmm-payment-result .tmm-status--success dd { color: #236a40; }
.tmm-payment-result .tmm-status--warning dd { color: #805b08; }
.tmm-payment-result .tmm-status--danger dd { color: #a52036; }
.tmm-payment-result > p { line-height: 1.6; margin: 0 0 16px; }
.tmm-payment-result .tmm-acceptance-label { font-weight: 600; margin-bottom: 12px; }
.tmm-payment-result p:last-child { margin-bottom: 0; }
.tmm-result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.tmm-result-actions .button { min-width: 160px; text-align: center; }
.tmm-result-actions .button.cancel { color: #444; background: #f0f0f0; }
@media (max-width: 600px) { .tmm-payment-result { padding: 18px; } .tmm-payment-result .tmm-status-pair { grid-template-columns: 1fr; } .tmm-result-heading { align-items: flex-start; gap: 12px; } .tmm-payment-result h2 { font-size: 22px; } .tmm-result-actions .button { width: 100%; } }
.woocommerce-customer-details .woocommerce-customer-details--phone {
	margin-bottom: 0;
}
body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column__title {
	font-family: inherit;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.4;
}

/* Reduce Pizzaro's oversized confirmation icon and vertical gaps, not typography. */
body.woocommerce-order-received .pizzaro-order-steps { margin-bottom: 32px; }
body.woocommerce-order-received #main .hentry.type-page > .entry-header { margin-bottom: 24px; }
body.woocommerce-order-received #main .hentry.type-page > .entry-header::before {
	font-size: 72px;
	line-height: 1;
	margin-bottom: 16px;
}
body.woocommerce-order-received #main .hentry.type-page > .entry-header .entry-title { margin-bottom: 0; }
body.woocommerce-order-received .woocommerce-thankyou-order-received { margin-bottom: 24px; }
body.woocommerce-order-received .woocommerce-thankyou-order-details { margin-top: 0; margin-bottom: 32px; }
body.woocommerce-order-received .woocommerce-order-details { margin-bottom: 32px; }
@media (max-width: 767px) {
	body.woocommerce-order-received .pizzaro-order-steps { margin-bottom: 24px; }
	body.woocommerce-order-received #main .hentry.type-page > .entry-header::before { font-size: 56px; }
	body.woocommerce-order-received .woocommerce-thankyou-order-details,
	body.woocommerce-order-received .woocommerce-order-details { margin-bottom: 24px; }
}

/* Account order states share the receipt panel; native account data is intact. */
body.tmm-account .woocommerce .woocommerce-orders-table .button { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 38px; padding: 8px 16px; font-size: 13px; font-weight: 600; line-height: 1.4; max-width: 100%; margin: 4px 6px 4px 0; white-space: normal; overflow-wrap: anywhere; vertical-align: middle; }
body.tmm-account .woocommerce .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions { width: 24%; }
body.tmm-account .tmm-account-order-state { display: flex; flex-direction: column; gap: 6px; line-height: 1.5; overflow-wrap: anywhere; }
body.tmm-account .tmm-payment-result h2 { border: 0; padding: 0; margin: 0; font-size: 24px; }
body.tmm-account .tmm-payment-result h2::after { content: none; }
body.tmm-account .tmm-payment-result .tmm-result-actions .button { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 600px) {
 body.tmm-account .tmm-payment-result h2 { font-size: 22px; }
 body.tmm-account .woocommerce .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions { width: auto; }
}
body.tmm-account .tmm-payment-result h2 { font-weight: 400; }
