#order-dialog{width:min(590px,calc(100vw - 24px));max-width:720px;max-height:90dvh;overflow:auto;padding:32px;border:0;border-radius:16px;color:#242a31;background:white;box-sizing:border-box}#order-dialog::backdrop{background:#28212480;backdrop-filter:blur(4px)}#order-dialog .order-close{position:absolute;right:8px;top:8px;width:44px;height:44px;border:0;background:transparent;font-size:26px;cursor:pointer}.order-logo{display:block;width:150px;height:auto;margin:0 auto 20px}#order-dialog h2{text-align:center;margin:0 12px 20px;font-size:25px}.order-success{width:52px;height:52px;margin:auto;border-radius:50%;display:grid;place-items:center;background:#e4f4eb;color:#187443;font-size:32px}.order-reference{text-align:center;font-weight:650;overflow-wrap:anywhere}.order-message{font-size:15px;line-height:1.8}.order-note{font-size:13px;color:#58616b;line-height:1.6}.order-success-total{font-size:23px;font-weight:700;color:#187443;text-align:center;margin:22px 0}.order-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}.order-actions button,.account-order-print{min-height:46px;padding:12px;border:1px solid #187443;border-radius:9px;font:inherit;font-size:14px;font-weight:650;cursor:pointer}.order-primary{background:#187443;color:#fff}.order-secondary{background:#edf7f1;color:#125c35}.order-actions button:hover{filter:brightness(.94)}.order-actions button:focus-visible{outline:3px solid #222;outline-offset:2px}.order-feedback{color:#b51626;font-size:14px;line-height:1.6}.order-feedback:empty{display:none}#order-dialog.order-detail{width:min(720px,calc(100vw - 24px))}.order-table-wrap{overflow:auto}.order-table{width:100%;border-collapse:collapse;table-layout:fixed}.order-table th{font-size:11px;background:#f5f6f7;padding:10px 5px;text-align:right}.order-table td{font-size:13px;padding:12px 5px;border-bottom:1px solid #eee;text-align:right;overflow-wrap:anywhere;vertical-align:top}.order-table th:first-child,.order-table td:first-child{width:42%;text-align:left;white-space:pre-line}.order-table th:nth-child(2){width:9%}.order-totals{display:grid;grid-template-columns:1fr auto;gap:10px;margin:20px 0;font-size:14px}.order-totals dd{text-align:right;font-weight:650;margin:0}.order-totals dt:last-of-type,.order-totals dd:last-of-type{font-size:18px;color:#187443;border-top:1px solid #ddd;padding-top:12px}.order-buyer{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.order-badge{display:table;margin:0 auto;padding:7px 12px;border-radius:20px;background:#fff4d9;color:#725000;font-size:12px;font-weight:600}.order-print-frame{position:fixed;left:-10000px;top:0;width:794px;height:1123px;border:0}.account-order-print{margin:0 16px 16px;background:#edf7f1;color:#125c35}@media(max-width:420px){#order-dialog{padding:28px 18px 22px}#order-dialog h2{font-size:22px}.order-actions{gap:8px}.order-table td{font-size:11px}.order-totals{font-size:12px}.order-totals dt:last-of-type,.order-totals dd:last-of-type{font-size:16px}}

.order-table td:nth-child(2){font-weight:750;color:#187443}

#order-dialog.order-invoice{width:min(900px,calc(100vw - 24px));padding:24px}.order-invoice>.order-logo{display:none}.invoice-preview-frame{display:block;width:100%;height:62dvh;border:1px solid #ddd;border-radius:8px;background:white}.order-actions-three{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:500px){.order-actions-three{grid-template-columns:1fr 1fr}.order-actions-three>button:last-child{grid-column:1 / -1}#order-dialog.order-invoice{padding:22px 12px}.order-invoice .order-actions{margin-top:12px}}

#order-dialog .order-message{margin:22px 0;padding:20px;background:#edf7f1;border:1px solid #b9d9c7;border-left:4px solid #187443;border-radius:12px;color:#263d31}#order-dialog .order-message h3{margin:0 0 10px;color:#125b34;font-size:21px;line-height:1.35;font-weight:750}#order-dialog .order-message p{margin:0;font-size:16px;line-height:1.7}@media(max-width:420px){#order-dialog .order-message{padding:16px}#order-dialog .order-message h3{font-size:20px}}

.order-actions-single{grid-template-columns:1fr}.order-reference{margin:14px 0}.order-copy{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:100%;min-height:44px;padding:8px 10px;border:1px solid #d8e6dd;border-radius:8px;background:#f5faf7;color:#242a31;font:inherit;font-weight:700;overflow-wrap:anywhere;cursor:pointer;user-select:text}.order-copy:hover{background:#e4f4eb}.order-copy:focus-visible{outline:3px solid #187443;outline-offset:2px}.order-copy-icon{color:#187443;font-size:20px}.order-copy-status{display:block;color:#187443;font-size:13px;line-height:1.5}.order-copy-status:empty{display:none}.order-reference-date{display:block;margin-top:6px;font-size:13px;font-weight:400;color:#58616b}

#order-dialog .order-shipping-note{margin:-10px 0 20px;color:#b51626;font-size:14px;font-weight:600;line-height:1.6;text-align:center}#order-dialog .order-payment-notice{margin:20px 0;padding:14px 16px;border:1px solid #b9d9c7;border-radius:10px;background:#edf7f1;color:#125b34;font-size:17px;font-weight:750;line-height:1.5;text-align:center}

#order-dialog .order-badge{padding:11px 20px;font-size:17px;line-height:1.4;font-weight:750;color:#754600;background:#fff0c2;border:1px solid #e4b74e;border-radius:24px}#order-dialog .order-badge-pending{animation:order-pending-pulse 2.2s ease-in-out infinite}@keyframes order-pending-pulse{0%,100%{box-shadow:0 0 0 1px rgba(212,151,24,.12);transform:scale(1)}50%{box-shadow:0 0 0 9px rgba(212,151,24,.32);transform:scale(1.025)}}@media(prefers-reduced-motion:reduce){#order-dialog .order-badge-pending{animation:none}}

.order-item{display:flex;align-items:flex-start;gap:10px;white-space:normal}.order-item-copy{min-width:0;white-space:pre-line;overflow-wrap:anywhere}.order-item-picture{position:relative;flex:0 0 64px;width:64px;height:64px;display:grid;place-items:center;background:#f7f7f7;border:1px solid #e4e4e4;border-radius:8px;color:#777;font-size:24px;overflow:hidden}.order-item-picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0}.order-item-picture.has-image{font-size:0}.order-item-picture.has-image img{opacity:1}@media(max-width:500px){.order-item{flex-direction:column;gap:7px}.order-item-picture{flex-basis:56px;width:56px;height:56px}}

.order-item-copy{display:grid;gap:4px}.order-sku-copy{display:inline-flex;gap:6px;align-items:center;justify-self:start;max-width:100%;padding:3px 0;min-height:28px;border:0;background:transparent;color:#414b58;font:inherit;font-size:12px;font-weight:650;text-align:left;overflow-wrap:anywhere;cursor:pointer;user-select:text}.order-sku-copy span{color:#187443;font-size:16px}.order-sku-copy:hover{color:#187443}.order-sku-copy:focus-visible{outline:2px solid #187443;outline-offset:3px}.order-sku-status{font-size:12px;color:#187443}.order-sku-status:empty{display:none}

.order-item-picture{cursor:pointer;text-decoration:none}.order-item-picture:focus-visible{outline:3px solid #187443;outline-offset:2px}

#order-dialog .order-badge{background:#eef1f3;color:#4d5660;border-color:#d5dce1}#order-dialog .order-badge-pending{background:#ffe0b2;color:#8f4400;border-color:#e9a14c}#order-dialog .order-badge-cancelled{background:#ffe5e7;color:#b01826;border-color:#eea4ac}#order-dialog .order-badge-complete{background:#dcf4e5;color:#126b3a;border-color:#9fd5b2}

.order-information{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}.order-information-card{padding:16px 14px;border:1px solid #d6e3da;border-top:3px solid #187443;border-radius:9px;background:#f6faf7;min-width:0;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.order-information-card h3{margin:0 0 12px;font-size:16px;line-height:1.4;color:#125b34}.order-information-card p{margin:6px 0;font-size:13px;line-height:1.6}.order-information-card strong{font-size:14px}.order-address{white-space:pre-line}.order-information-pending{color:#8f4400;font-weight:650}.order-information-note{color:#125b34;font-weight:650}.order-payment-term{padding:8px 0;border-bottom:1px solid #d6e3da}@media(max-width:600px){.order-information{grid-template-columns:1fr}.order-information-card{padding:16px}.order-information-card p{font-size:14px}}

.order-confirmation-total{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.order-confirmation-count{font-size:17px;font-weight:700;color:#242a31}.order-confirmation-total strong{margin-left:auto;text-align:right}@media(max-width:400px){.order-confirmation-count{font-size:15px}.order-confirmation-total strong{font-size:20px}}

/* Focused, accessible detail loading state. */
#order-dialog .order-loading{display:flex;align-items:center;justify-content:center;gap:14px;min-height:96px;box-sizing:border-box;padding:24px 18px;margin:24px 0 0;border:1px solid #d7e8de;border-radius:12px;background:#f1f8f4;color:#17663d;font-size:16px;line-height:1.5}
.order-loading-spinner{flex:0 0 24px;width:24px;height:24px;box-sizing:border-box;border:3px solid #cfe3d7;border-top-color:#187443;border-radius:50%;animation:order-loading-spin .85s linear infinite}
#order-dialog .order-retry{padding:12px 20px;border:1px solid #187443;border-radius:9px;background:#edf7f1;color:#125c35;font:inherit;font-weight:650;cursor:pointer}
@keyframes order-loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.order-loading-spinner{animation:none}}
