/* Shared order states: text, dot and colour communicate status together. */
[data-order-status]{--state:#ffcb57;--state-tint:#ffcb5712;--state-line:#ffcb5740}
[data-order-status="payment_failed"]{--state:#ff7297;--state-tint:#ff729712;--state-line:#ff729740}
[data-order-status="paid"]{--state:#78baff;--state-tint:#78baff12;--state-line:#78baff40}
[data-order-status="shipped"]{--state:#c3a5ff;--state-tint:#a580ff16;--state-line:#b99aff40}
[data-order-status="completed"]{--state:#a6edaa;--state-tint:#a6edaa12;--state-line:#a6edaa40}
[data-order-status="cancelled"],[data-order-status="expired"]{--state:#acacbb;--state-tint:#acacbb0c;--state-line:#acacbb2b}
[data-order-status="refunded"]{--state:#8cddd1;--state-tint:#8cddd112;--state-line:#8cddd140}
.order-card .order-status,.status.order-status{display:inline-flex;align-items:center;gap:8px;flex-shrink:0;padding:8px 13px;min-height:34px;border:1px solid var(--state-line);border-radius:999px;background:var(--state-tint);color:var(--state);font-size:13px;font-weight:750;line-height:1.3;white-space:nowrap}
.order-status:before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor;flex-shrink:0}
.orders-section{max-width:1180px}
.order-list-card{position:relative;padding:0;isolation:isolate;overflow:visible;border-radius:22px;border-color:#ffffff16;transition:border-color .2s,transform .2s,box-shadow .2s}
.order-card-main{display:block;padding:24px 26px;color:inherit;text-decoration:none;border-radius:inherit;outline:none}
/* The native link covers the card; action controls sit above it. */
.order-card-main:after{content:'';position:absolute;inset:0;z-index:1;border-radius:inherit;cursor:pointer}
.order-card-main:focus-visible:after{outline:2px solid #c8ff2e;outline-offset:4px}
.order-list-card:has(.order-card-main:hover){border-color:var(--state-line);box-shadow:0 12px 35px #0003;transform:translateY(-2px)}
.order-card-main>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:19px;margin-bottom:22px;border-bottom:1px solid #ffffff0d}
.order-card-meta{min-width:0}
.order-list-card .eyebrow{color:#ceced9;font-size:11px;letter-spacing:1px;margin:0 0 7px;overflow-wrap:anywhere}
.order-card-meta time{font-size:12px;color:#9797a8}
.order-card-content{display:flex;align-items:center;gap:22px;min-width:0}
.order-card-images{display:flex;gap:9px;flex-shrink:0}
.order-list-card .order-thumb{display:block;width:92px;height:116px;margin:0;border-radius:12px;background:#24202c;overflow:hidden}
.order-list-card .order-thumb .figure{display:block;width:100%;height:100%;padding:0;object-fit:cover;object-position:center}
.order-card-products{flex:1;min-width:0;display:grid;gap:16px}
.order-card-product h3{font-size:16px;line-height:1.5;font-weight:650;color:#f3f3fa;margin:0 0 5px;overflow-wrap:anywhere}
.order-card-product p{font-size:12px;line-height:1.5;color:#a7a5b8;margin:0;overflow-wrap:anywhere}
.order-card-amount{display:grid;gap:7px;text-align:end;flex-shrink:0;max-width:32%}
.order-list-card .order-card-amount strong{font-size:23px;font-weight:800;letter-spacing:-.6px;color:#f7f6ff;overflow-wrap:anywhere}
.order-card-amount span{font-size:12px;color:#9997aa}
.order-list-card .order-card-bottom{border-top:1px solid #ffffff0b;padding:16px 26px;gap:15px;background:#ffffff02;border-radius:0 0 22px 22px;min-height:62px}
.order-card-hint{font-size:12px;line-height:1.7;color:var(--state);margin:0;flex:1;min-width:180px}
.order-list-card .order-support-actions{position:relative;z-index:2;margin:0;gap:9px;justify-content:flex-end}
.order-list-card .order-support-actions .btn{font-size:12px;min-height:40px;padding:10px 17px}
.order-banner{background:radial-gradient(ellipse at 100% 0%,var(--state-tint),transparent 75%),#12121a;border:1px solid var(--state-line);position:relative;overflow:hidden}
.order-banner:before{content:'';position:absolute;inset:0 auto 0 0;width:4px;background:var(--state)}
.order-banner h1{color:var(--state);font-size:38px}
.order-banner .eyebrow{color:#a6a3b5;font-size:11px;overflow-wrap:anywhere}
.order-banner p:not(.eyebrow){font-size:14px;line-height:1.8;max-width:650px}
.order-banner-actions .order-support-actions{margin-top:22px;gap:10px}
.order-banner-actions .btn{min-height:42px;font-size:13px}
.order-banner-icon{border-color:var(--state-line);color:var(--state);background:var(--state-tint);width:82px;height:82px}
.order-banner-icon .icon{width:38px;height:38px}
.order-detail-layout .receipt-item .cart-thumb{width:88px;height:110px}
.order-support-panel .order-support-actions{gap:10px}
.payment-modal .modal-panel{max-width:520px}
.payment-status-dialog{align-items:stretch;gap:18px;text-align:start}
.payment-status-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.payment-status-heading .demo-method-logo{margin:0;justify-content:flex-start}
.payment-status-heading .payment-logo{width:72px;height:38px}
.payment-status-heading .payment-cards{width:120px}
.payment-logo.payment-cards img{flex:1;min-width:0;max-width:calc((100% - 4px)/2);height:100%;width:auto}
.payment-status-dialog .demo-amount{margin:0;line-height:1.2;font-size:42px;color:#f8f7ff}
.payment-status-dialog.payment-unavailable>.payment-order-id{font-size:11px;letter-spacing:1px;color:#a6a1b8;margin-top:-10px;overflow-wrap:anywhere}
.payment-status-dialog.payment-unavailable>.payment-status-hint{color:var(--state);font-size:13px;max-width:none}
.payment-channel-notice{background:#ffffff04;border:1px solid #ffffff0d;border-radius:12px;padding:15px 17px}
.payment-channel-notice strong{font-size:13px;color:#d9d4e7}
.payment-channel-notice p{font-size:12px;color:#9690a7;line-height:1.8;margin:6px 0 0}
.payment-query-status{display:grid;gap:7px;font-size:12px;color:#bab4c9;line-height:1.6}
.payment-query-status time{font-size:11px;color:#837c94;font-variant-numeric:tabular-nums}
.payment-live-indicator{display:flex;align-items:center;gap:8px}
.payment-live-indicator:before{content:'';width:6px;height:6px;border-radius:50%;background:#c8ff2e;box-shadow:0 0 0 4px #c8ff2e14}
.payment-status-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:4px}
.payment-status-buttons .btn{font-size:13px;min-height:46px;padding:12px}
.cart-row{display:grid;grid-template-columns:18px 104px minmax(0,1fr) auto;gap:20px;align-items:center}
.cart-row>.cart-thumb{width:104px;height:132px}
.cart-row>.cart-item-copy h3{font-size:17px;line-height:1.5;margin:0 0 8px}
.cart-item-copy .product-style-caption{font-size:12px;line-height:1.5}
.cart-item-copy .cart-product-description{margin:8px 0 0;color:#9995aa;font-size:12px;line-height:1.7;overflow-wrap:anywhere;white-space:pre-line}
.cart-row>.cart-item-purchase{display:flex;flex-direction:column;align-items:flex-end;gap:10px;min-width:126px}
.cart-item-purchase .row-price{align-self:auto;font-size:20px;padding:0;margin:0;line-height:1.4}
.cart-item-purchase .cart-remove{min-height:28px;font-size:12px;padding:0 4px;line-height:1.5}
.cart-remove:hover{color:#ff86b1}
@media(max-width:1000px){.order-list-card .order-thumb{width:80px;height:106px}.order-card-content{gap:17px}.order-card-amount strong{font-size:21px}.cart-row{gap:14px;grid-template-columns:16px 90px minmax(0,1fr) auto}.cart-row>.cart-thumb{width:90px;height:120px}}
@media(max-width:700px){
 .order-card-main{padding:20px 18px}.order-card-main>header{gap:10px;margin-bottom:18px;padding-bottom:16px;align-items:flex-start}
 .order-list-card .eyebrow{font-size:10px;letter-spacing:.3px}.order-card-meta time{font-size:11px}
 .order-card .order-status,.status.order-status{font-size:12px;padding:7px 10px;min-height:32px;gap:6px}
 .order-card-content{display:grid;grid-template-columns:84px minmax(0,1fr);gap:12px 15px;align-items:start}
 .order-list-card .order-thumb{width:84px;height:112px;border-radius:10px}.order-card-images{grid-row:1 / 3}.order-card-images .order-thumb:nth-child(n+2){display:none}
 .order-card-products{gap:10px}.order-card-product h3{font-size:14px;margin-bottom:4px}.order-card-product p{font-size:11px}
 .order-card-amount{grid-column:2;max-width:none;display:flex;justify-content:space-between;align-items:center;gap:8px;text-align:start}
 .order-list-card .order-card-amount strong{font-size:22px;letter-spacing:-.5px}.order-card-amount span{font-size:11px}
 .order-list-card .order-card-bottom{padding:14px 18px;gap:12px}.order-card-hint{font-size:11px;min-width:0;flex-basis:100%}
 .order-list-card .order-support-actions{width:100%;justify-content:flex-end;gap:8px}.order-list-card .order-support-actions .btn{font-size:12px;min-height:40px;padding:10px 13px}
 .order-banner{padding:25px 21px;gap:14px;border-radius:22px}.order-banner h1{font-size:30px}.order-banner .eyebrow{font-size:9px;letter-spacing:.3px}.order-banner p:not(.eyebrow){font-size:12px}
 .order-banner-icon{width:54px;height:54px}.order-banner-icon .icon{width:28px;height:28px}
 .order-detail-layout .receipt-item .cart-thumb{width:72px;height:96px}
 .payment-status-dialog{gap:16px}.payment-status-dialog .demo-amount{font-size:36px}.payment-status-buttons{grid-template-columns:1fr}.payment-status-buttons .btn{font-size:14px}
 .cart-row{grid-template-columns:14px 76px minmax(0,1fr);gap:8px 12px;padding:19px 10px;align-items:start}
 .cart-row>input{grid-column:1;grid-row:1 / 3;align-self:center}
 .cart-row>.cart-thumb{grid-column:2;grid-row:1 / 3;width:76px;height:106px}
 .cart-row>.cart-item-copy{grid-column:3;grid-row:1}.cart-row>.cart-item-copy h3{font-size:14px;margin-bottom:6px}
 .cart-item-copy .product-style-caption{font-size:11px;margin:0}
 .cart-row>.cart-item-purchase{grid-column:3;grid-row:2;min-width:0;gap:8px;align-items:flex-end}
 .cart-item-purchase .row-price{font-size:19px}.cart-item-purchase .qty-control{max-width:100%}
 .cart-item-purchase .cart-remove{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.order-list-card{transition:none}.order-list-card:has(.order-card-main:hover){transform:none}}
