.commerce-dialog{width:min(900px,96vw);max-height:92dvh;padding:0;border:1px solid #7564b0;border-radius:24px;color:inherit;background:var(--panel,#151426);box-shadow:0 30px 90px #0009;overflow:auto}.commerce-dialog::backdrop{background:#050410b8;backdrop-filter:blur(7px)}.commerce-shell{padding:clamp(16px,4vw,32px);color:#f2efff;background:linear-gradient(145deg,#1b1830,#10101e);min-height:300px}.commerce-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.commerce-head small{letter-spacing:.14em;color:#b7a6fc}.commerce-head h2{margin:.4em 0;font-size:clamp(22px,4vw,32px)}.commerce-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.commerce-tabs button,.commerce-shell button:not(.close-cart),#trackOrder,#commerceOpen{cursor:pointer;border:1px solid #64568a;border-radius:12px;padding:10px 14px;background:#28233e;color:#fff;font:inherit}.commerce-tabs button[aria-selected=true],.commerce-shell button.accent,#trackOrder,#commerceOpen{background:linear-gradient(120deg,#7556ca,#a18aee);border-color:#a18aee;color:white}.commerce-shell button:disabled,#trackOrder:disabled{opacity:.55;cursor:not-allowed}.commerce-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px}.commerce-card{border:1px solid #51456c;background:#211d32;border-radius:16px;padding:16px;margin-bottom:12px;overflow-wrap:anywhere}.commerce-card h3{font-size:18px;margin:0 0 10px}.commerce-card strong.metric{font-size:28px;display:block;color:#c8b9ff;margin-top:10px}.commerce-muted{color:#b9b2cb;font-size:13px}.commerce-shell label{display:block;margin:8px 0 4px;color:#dfd8f4;font-size:13px}.commerce-shell input,.commerce-shell select,.commerce-shell textarea,#trackedCheckout input{display:block;width:100%;padding:10px;border:1px solid #66577c;border-radius:10px;background:#11101e;color:#fff;font:inherit;box-sizing:border-box}.commerce-shell form button{margin-top:12px}.commerce-shell p{white-space:pre-wrap;overflow-wrap:anywhere}.commerce-shell .order-state{display:inline-block;border:1px solid #8270aa;border-radius:30px;padding:4px 10px;color:#dccfff;font-size:13px}.commerce-shell .row-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.commerce-shell .row-actions button{flex:1}.commerce-shell #commerceStatus{color:#d9c8ff}.commerce-shell ul{padding-inline-start:24px}.commerce-shell a,#trackedLink{color:#c3afff;text-decoration:underline}#trackedCheckout{border-top:1px solid #8270aa;padding-top:12px;margin-top:12px}#trackedCheckout[hidden],#commerceOpen[hidden],#trackedLink[hidden]{display:none!important}#trackOrder,#commerceOpen{width:100%;margin-top:10px}#trackStatus{font-size:13px;overflow-wrap:anywhere}#trackedLink{display:block;padding:10px 0}.commerce-shell .commerce-error{color:#ffb5bf}.commerce-shell .commerce-search{margin-bottom:14px}
#sendCart[hidden]{display:none!important}.commerce-shell input[type=checkbox]{width:auto;display:inline-block;margin-inline-start:10px}.commerce-shell #commerceStatus:empty{display:none}
/* V12 customer center — full workspace, readable navigation, inbox. */
.notification-trigger[hidden],#notificationBadge[hidden]{display:none!important}.notification-trigger{position:relative;display:inline-grid;place-items:center;min-width:36px;min-height:36px;padding:8px!important;flex-shrink:0}.notification-trigger svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}#notificationBadge{position:absolute;top:-5px;inset-inline-end:-5px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;border-radius:20px;background:#c4aaff;color:#171025;font:800 10px Inter,system-ui,sans-serif;border:1px solid #181426}
.commerce-dialog{width:min(1160px,96vw);max-width:none;height:min(860px,92dvh);max-height:92dvh;margin:auto;overflow:hidden;border:1px solid #665785;border-radius:26px;background:#11101c;color:#f2efff;box-shadow:0 30px 100px #000a}.commerce-shell{height:100%;padding:0;display:flex;flex-direction:column;background:radial-gradient(ellipse at 85% 0%,#2d2147 0%,transparent 55%),#12111e;min-height:0}.commerce-head{flex:none;padding:18px 24px;border-bottom:1px solid #39314c;background:#181526e8;gap:14px}.dashboard-brand,.dashboard-head-actions{display:flex;align-items:center;gap:12px}.dashboard-brand h2{font-size:23px;line-height:1.2;margin:5px 0 0}.dashboard-brand small{font-size:10px;font-weight:700}.dashboard-mark{flex:none;width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(140deg,#cdb9ff,#8b70de);color:#19122d;font-size:25px;font-weight:900;box-shadow:0 8px 22px #9572e52b}.dashboard-head-actions .close-cart{flex:none;background:#292238;color:#f3edff;font-size:25px}.commerce-shell button.dashboard-store{background:transparent;border-color:#514467;font-size:13px}.dashboard-layout{display:grid;grid-template-columns:232px minmax(0,1fr);flex:1;min-height:0}.dashboard-sidebar{display:flex;flex-direction:column;padding:20px 14px;gap:15px;border-inline-end:1px solid #39314c;background:#171424b8;overflow:auto}.dashboard-identity{display:flex;gap:9px;align-items:center;padding:10px 5px 16px;border-bottom:1px solid #39314c;min-width:0}.dashboard-avatar{width:37px;height:37px;flex:none;display:grid;place-items:center;border-radius:12px;background:#3c2c59;color:#dac9ff;font-weight:800}.dashboard-identity>div{min-width:0;display:grid;gap:4px}.dashboard-identity strong,.dashboard-identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-identity strong{font-size:14px}.dashboard-identity small{font-size:11px;color:#b2a9c6}.dashboard-identity .dashboard-verified{color:#a2dfbc}.commerce-tabs{display:flex;flex-direction:column;gap:7px;margin:0}.commerce-shell .commerce-tabs button{display:flex;align-items:center;gap:10px;text-align:start;width:100%;padding:12px 10px;border-color:transparent;background:transparent;font-size:13px;font-weight:650;color:#c3b9d7}.commerce-shell .commerce-tabs button:hover{background:#302643}.commerce-shell .commerce-tabs button[aria-current=page]{background:linear-gradient(120deg,#413060,#34274d);border-color:#7661a1;color:#fff}.dashboard-icon{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;flex:none;color:#c9b4ff}.dashboard-icon svg{width:100%;height:100%}.dashboard-count{margin-inline-start:auto;background:#c9b4ff;color:#211635;padding:2px 6px;border-radius:10px;font-size:10px;font-weight:800}.commerce-shell button.dashboard-profile{margin-top:auto;font-size:13px;background:transparent;border-color:#463955}.dashboard-content{overflow:auto;min-width:0;padding:clamp(15px,3vw,30px);overscroll-behavior:contain;scrollbar-color:#695583 #171424}.dashboard-section-title{margin:0 0 22px}.dashboard-section-title h2{font-size:clamp(23px,3vw,32px);letter-spacing:-.025em;margin:0 0 6px;color:#f6f1ff}.dashboard-section-title p{font-size:14px;color:#b9b1ca;margin:0;line-height:1.6}.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.commerce-shell button.dashboard-metric{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0;min-height:150px;text-align:start;padding:16px;background:linear-gradient(140deg,#2d233f,#201b30);border:1px solid #55456e;border-radius:17px}.dashboard-metric:hover{border-color:#b89bef!important}.dashboard-metric .dashboard-icon,.wallet-metrics .dashboard-icon,.dashboard-gift>.dashboard-icon,.dashboard-offer>.dashboard-icon{width:34px;height:34px;border-radius:10px;background:#44335f;padding:7px}.metric-label{color:#c7bdd6;font-size:12px;font-weight:600}.dashboard-metric .metric{font-size:clamp(20px,2.6vw,29px);line-height:1.1;color:#f1eaff;overflow-wrap:anywhere;max-width:100%}.metric-desc{font-size:11px;color:#b8abc9;line-height:1.4}.dashboard-split,.wallet-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.commerce-card{border-color:#433852;background:#211b30;border-radius:17px;padding:18px;line-height:1.55}.commerce-card h3{font-size:17px;line-height:1.4}.commerce-card p{font-size:14px;color:#d4cbe2;margin:8px 0 12px}.dashboard-gift{background:linear-gradient(120deg,#35264e,#211b30);border-color:#705990}.dashboard-gift .dashboard-icon,.dashboard-split .dashboard-icon,.dashboard-offer .dashboard-icon,.wallet-metrics .dashboard-icon{margin-bottom:8px}.dashboard-subheading{font-size:17px;margin:20px 0 12px}.dashboard-empty{padding:32px 16px;text-align:center;display:grid;justify-items:center;gap:7px}.dashboard-empty .dashboard-icon{width:44px;height:44px;padding:10px;background:#39294f;border-radius:14px}.dashboard-empty h3,.dashboard-empty p{margin:0}.dashboard-empty button{margin-top:10px}.inbox-controls{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px}.inbox-filters{display:flex;flex-wrap:wrap;gap:6px}.commerce-shell .inbox-controls button{padding:8px 11px;font-size:12px}.commerce-shell .inbox-filters button[aria-pressed=true]{background:#614a88;border-color:#aa8fde;color:#fff}.inbox-item{border-inline-start:3px solid #514260}.inbox-unread{background:linear-gradient(120deg,#312342,#211b30);border-inline-start-color:#bd9bff}.inbox-lead{display:flex;gap:13px;align-items:flex-start}.inbox-lead>.dashboard-icon{width:40px;height:40px;background:#403054;border-radius:12px;padding:9px}.inbox-text{flex:1;min-width:0}.inbox-type{font-size:10px;letter-spacing:.08em;font-weight:700;color:#b9a2e4}.inbox-text h3{margin:4px 0}.inbox-text p{white-space:pre-wrap}.inbox-new{font-size:11px;color:#e4d5ff;border:1px solid #8266ad;border-radius:30px;padding:3px 8px;flex:none}.inbox-item .row-actions{justify-content:flex-end;margin-bottom:0}.inbox-item .row-actions button{flex:none;font-size:12px;padding:8px 12px}.commerce-shell #commerceStatus:not(:empty){padding:11px 14px;border:1px solid #645184;background:#282038;border-radius:10px;margin:0 0 14px;font-size:13px}.commerce-shell button:focus-visible{outline:2px solid #ddc5ff;outline-offset:2px}.commerce-shell button:disabled{opacity:.5}.commerce-shell #commerceStatus.commerce-error{color:#ffb5bf}
@media(max-width:900px){.dashboard-layout{grid-template-columns:190px minmax(0,1fr)}.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-sidebar{padding:15px 10px}.dashboard-content{padding:18px}}@media(max-width:620px){.commerce-dialog{width:100%;height:100dvh;max-height:100dvh;max-width:100%;margin:0;border:0;border-radius:0}.commerce-head{padding:12px 14px;gap:7px}.dashboard-mark{width:36px;height:36px;font-size:21px}.dashboard-brand,.dashboard-head-actions{gap:7px}.dashboard-brand small{font-size:9px;letter-spacing:.08em}.dashboard-brand h2{font-size:18px}.dashboard-head-actions .close-cart{width:36px;height:36px}.commerce-shell button.dashboard-store{display:none}.dashboard-layout{display:flex;flex-direction:column}.dashboard-sidebar{padding:8px 10px;gap:7px;overflow:visible;border-inline-end:0;border-bottom:1px solid #40334f;flex:none}.dashboard-identity{padding:2px 4px 5px;border:0}.dashboard-avatar{width:30px;height:30px}.dashboard-identity>div{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;flex:1}.dashboard-identity strong{font-size:12px;max-width:100%}.dashboard-identity small:not(.dashboard-verified){display:none}.dashboard-identity .dashboard-verified{font-size:10px}.commerce-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.commerce-shell .commerce-tabs button{justify-content:center;flex-direction:column;gap:3px;padding:6px 2px;min-height:48px;font-size:11px;line-height:1.2;position:relative}.commerce-tabs .dashboard-icon{width:18px;height:18px}.dashboard-count{position:absolute;top:3px;inset-inline-end:5px;margin:0}.commerce-shell button.dashboard-profile{margin:0;padding:6px;font-size:11px}.dashboard-content{flex:1;min-height:0;padding:16px 12px calc(18px + env(safe-area-inset-bottom))}.dashboard-section-title{margin-bottom:15px}.dashboard-section-title p{font-size:13px}.dashboard-metrics{gap:9px;margin-bottom:14px}.commerce-shell button.dashboard-metric{min-height:125px;padding:12px;gap:7px}.dashboard-metric .metric{font-size:24px}.commerce-card{padding:14px}.dashboard-split{gap:8px}.dashboard-split .commerce-card button{font-size:12px;padding:8px}.inbox-lead{gap:9px}.inbox-lead>.dashboard-icon{width:32px;height:32px;padding:7px}.inbox-controls{gap:7px}.commerce-shell .inbox-controls button{font-size:11px;padding:8px}.wallet-metrics .metric{font-size:24px}}
/* V14 streamlined checkout */
#cartDialog{width:min(720px,calc(100vw - 24px));max-height:92dvh;overflow:auto}#cartDialog .cart-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px}#cartDialog .cart-info{min-width:0;overflow-wrap:anywhere}.smart-line-price{display:flex;flex-direction:column;gap:4px;text-align:end;min-width:76px}.smart-line-price small{font-size:11px;opacity:.65}.smart-totals{border:1px solid #72639570;border-radius:16px;padding:14px;background:#211b32;display:grid;gap:10px;margin:14px 0}.smart-total-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px}.smart-credit{color:#c8b1ff}.smart-grand{border-top:1px solid #72639580;padding-top:12px;font-size:20px}.smart-grand strong{color:#e6d8ff}.smart-totals:empty{display:none}#cartDialog #trackOrder{width:100%;padding:14px}#cartDialog #cartNotes{min-height:62px}#cartDialog #cartFine{font-size:12px;opacity:.75}#cartDialog .cart-footer{justify-content:flex-end}#cartDialog #clearCart{width:auto;flex:none;padding:8px 14px;font-size:12px}#cartDialog #sendCart{display:none!important}@media(max-width:480px){#cartDialog .cart-line{grid-template-columns:minmax(0,1fr) auto;gap:8px}#cartDialog .cart-info{grid-column:1/-1}.smart-grand{font-size:18px}}
#cartDialog .smart-wallet-choice{display:flex;align-items:center;gap:9px;font-size:13px;margin-top:10px}#cartDialog .smart-wallet-choice input{width:auto;accent-color:#aa8cef}

.commerce-shell .customer-lifecycle{border-color:#765264}.commerce-shell button.danger-action{background:#4a2536;border-color:#a36178;color:#ffd7df}.commerce-shell button.danger-action:hover{background:#643046}
