/* V97: preserve native order actions; adapt to available table width. */
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent .table-wrapper.orders-history { container-type:inline-size;container-name:omp-orders; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table .col.actions { width:168px!important;min-width:154px!important;white-space:normal!important;text-align:left!important; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table .col.actions > a:not(.omp-tax-invoice):not(.print-pdf-btn) { display:block!important;width:max-content!important;max-width:100%!important;float:none!important;margin:0 0 8px!important;padding:0!important;white-space:nowrap!important;line-height:1.4!important; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table .col.actions > a:last-child { margin-bottom:0!important; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table .col.actions > a::before,
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table .col.actions > a::after { content:none!important;display:none!important;border:0!important; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table .col.actions > a.omp-tax-invoice,
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent a.print-pdf-btn { display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;float:none!important;min-height:40px!important;height:auto!important;width:max-content!important;max-width:100%!important;padding:10px 16px!important;margin:4px 0!important;border:1px solid var(--store-action,#087eb5)!important;border-radius:6px!important;background:transparent!important;color:var(--store-action,#087eb5)!important;font-family:inherit!important;font-size:13px!important;font-weight:600!important;line-height:1.4!important;letter-spacing:normal!important;white-space:nowrap!important;text-decoration:none!important;text-align:center!important;box-shadow:none!important; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table .col.actions > a.omp-tax-invoice span { display:inline!important;position:static!important;margin:0!important;padding:0!important;white-space:nowrap!important;font:inherit!important;line-height:inherit!important;color:inherit!important; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table .col.actions > a.omp-tax-invoice:hover,
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent a.print-pdf-btn:hover { background:var(--store-tint,#edf6fa)!important; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table .col.actions > a.omp-tax-invoice:focus:not(:focus-visible),
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent a.print-pdf-btn:focus:not(:focus-visible) { outline:none!important; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table .col.actions > a.omp-tax-invoice:focus-visible,
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent a.print-pdf-btn:focus-visible { outline:2px solid var(--store-ink,#173f51)!important;outline-offset:3px!important; }

@container omp-orders (max-width:680px) {

body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table { display:block!important;table-layout:auto!important; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table thead { position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table tbody { display:block!important;width:100%!important; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table tbody tr { display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 18px!important;padding:18px 0!important;border-bottom:1px solid var(--store-edge,#c3dcec)!important; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table tbody td { display:block!important;position:static!important;float:none!important;width:auto!important;min-width:0!important;max-width:100%!important;padding:0!important;margin:0!important;border:0!important;white-space:normal!important;text-align:left!important;overflow-wrap:anywhere!important; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table tbody td[data-th]::before { content:attr(data-th)!important;display:block!important;position:static!important;width:auto!important;padding:0!important;margin:0 0 4px!important;font-weight:700!important;color:var(--store-ink,#173f51)!important; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table tbody td.col.actions { grid-column:1 / -1!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px 16px!important;padding-top:4px!important; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table tbody td.col.actions::before { content:none!important;display:none!important; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table .col.actions > a:not(.omp-tax-invoice):not(.print-pdf-btn) { display:inline-flex!important;align-items:center!important;min-height:40px!important;margin:0!important; }
}
@media(max-width:767px) {

body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table { display:block!important;table-layout:auto!important; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table thead { position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table tbody { display:block!important;width:100%!important; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table tbody tr { display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 18px!important;padding:18px 0!important;border-bottom:1px solid var(--store-edge,#c3dcec)!important; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table tbody td { display:block!important;position:static!important;float:none!important;width:auto!important;min-width:0!important;max-width:100%!important;padding:0!important;margin:0!important;border:0!important;white-space:normal!important;text-align:left!important;overflow-wrap:anywhere!important; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table tbody td[data-th]::before { content:attr(data-th)!important;display:block!important;position:static!important;width:auto!important;padding:0!important;margin:0 0 4px!important;font-weight:700!important;color:var(--store-ink,#173f51)!important; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table tbody td.col.actions { grid-column:1 / -1!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px 16px!important;padding-top:4px!important; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table tbody td.col.actions::before { content:none!important;display:none!important; }
body#html-body#html-body#html-body#html-body.sf-store.account #maincontent #my-orders-table .col.actions > a:not(.omp-tax-invoice):not(.print-pdf-btn) { display:inline-flex!important;align-items:center!important;min-height:40px!important;margin:0!important; }
}
