/* Sothing commerce presentation. Shared backend components stay inside this boundary. */
.sothing-commerce{--orange:#1e73be;--orange-hover:#155d93;--accent:#00a7e0;--ink:#192c37;--muted:#657985;--line:#dfe9ef;--paper:#f5f9fc;--warm:#eef6fb;--sys-gold:#1e73be;--sys-ink:#192c37;--sys-line:#dfe9ef;font-family:'Prompt',sans-serif;color:#192c37;font-weight:400;line-height:1.75}
.sothing-commerce *,.sothing-commerce *::before,.sothing-commerce *::after{box-sizing:border-box}
.sothing-commerce h1,.sothing-commerce h2,.sothing-commerce h3,.sothing-commerce h4,.sothing-commerce button,.sothing-commerce input,.sothing-commerce select,.sothing-commerce textarea{font-family:'Prompt',sans-serif;letter-spacing:0}
.sothing-commerce button,.sothing-commerce input,.sothing-commerce select,.sothing-commerce textarea{margin-bottom:0;text-transform:none}
.sothing-commerce .container{width:100%;max-width:1210px;padding-left:30px;padding-right:30px;margin-left:auto;margin-right:auto}
.sothing-commerce h1,.sothing-commerce h2,.sothing-commerce h3{font-weight:500}
.sothing-commerce .button-primary,.sothing-commerce button[type=submit],.sothing-commerce .checkout-confirm,.sothing-commerce .member-submit,.sothing-commerce .member-register-submit{background:#1e73be;border-color:#1e73be;color:#fff}
.sothing-commerce .button-primary:hover,.sothing-commerce button[type=submit]:hover,.sothing-commerce .checkout-confirm:hover{background:#155d93;border-color:#155d93;color:#fff}
.sothing-commerce .button-dark{border-color:#bcd5e3;background:#f2f8fc;color:#285d7b}
.sothing-commerce .jdc-label{color:#26799e;background:#eef7fc;border-color:#d3e7f2}
.sothing-commerce .member-intro{background:linear-gradient(145deg,#173f58,#267dab);color:#fff}
.sothing-commerce .member-intro h2,.sothing-commerce .member-intro h2 em{color:#fff}
.sothing-commerce .member-card,.sothing-commerce .checkout-panel,.sothing-commerce .checkout-summary-panel{border-color:#dce8f0}
.sothing-commerce .member-create a,.sothing-commerce .member-forgot,.sothing-commerce .member-help a{color:#226f9e}
.sothing-commerce .product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.sothing-commerce .product-grid>.sothing-catalog-empty{grid-column:1/-1;width:100%}
.sothing-live-products{padding:10px 0 40px;background:#f7fafc}
.sothing-live-products>section{padding-top:30px;padding-bottom:15px}
.sothing-live-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px}
.sothing-live-heading span{display:block;font-size:10px;letter-spacing:.12em;color:#367e9f}
.sothing-live-heading h2{font-size:25px;line-height:1.5;margin:4px 0 0;color:#284c60}
.sothing-live-heading>a{font-size:13px;color:#287aaa;white-space:nowrap;border:1px solid #cadee9;border-radius:7px;padding:8px 12px;background:#fff}
.sothing-commerce .sothing-catalog-empty{border:1px solid #dae8f0;border-radius:14px;background:#fff;text-align:center;padding:42px 24px;color:#668392}
.sothing-commerce .sothing-catalog-empty h3{color:#345d74;font-size:21px;margin:0 0 12px}
.sothing-commerce .sothing-catalog-empty p{font-size:14px;margin-bottom:20px}
.sothing-managed-banner{position:absolute;inset:0;display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:24px;padding:36px 7%;background:linear-gradient(120deg,#e6f4fb,#f9fcfd);color:#264f66;text-decoration:none!important}
.sothing-managed-banner>img{width:100%;height:100%;max-height:470px;object-fit:contain;display:block}
.sothing-managed-banner-copy{display:flex;flex-direction:column;gap:15px;min-width:0}
.sothing-managed-banner-copy small{font:500 11px/1.6 'Prompt',sans-serif;letter-spacing:.12em;color:#3e87a9}
.sothing-managed-banner-copy strong{font:500 38px/1.5 'Prompt',sans-serif;color:#244c64}
.sothing-managed-banner-copy>span{font:400 15px/1.9 'Prompt',sans-serif;color:#608194}
.sothing-managed-banner-copy>b{display:inline-flex;align-self:flex-start;padding:11px 18px;border-radius:8px;background:#1e73be;color:#fff;font:500 14px/1.5 'Prompt',sans-serif}
#header .header-cart{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-family:'Prompt',sans-serif;font-size:12px;line-height:1.5}
#header .header-cart svg{flex:none}
#header .sothing-cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;border-radius:20px;background:#fff;color:#111;font-size:10px;line-height:1;padding:0 4px}
.sothing-commerce-host{padding:0;background:#f7fafc}
.sothing-commerce-dialogs{position:relative;z-index:9999}
.sothing-commerce dialog{max-width:calc(100vw - 28px);max-height:90dvh;border:1px solid #cddfe9;border-radius:14px;background:#fff;color:#23455a;padding:0;box-shadow:0 22px 70px #18374c35}
.sothing-commerce dialog::backdrop{background:#17384a88}
.sothing-commerce #cart-dialog{width:min(820px,calc(100vw - 28px))}
.sothing-commerce dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 22px;border-bottom:1px solid #e0ebf1;background:#f1f8fc}
.sothing-commerce dialog>header h2{font-size:21px;margin:0;color:#285570}
.sothing-commerce dialog>header button{margin:0;border:0;background:transparent;color:#426c82;font-size:27px;line-height:1;width:32px;height:32px;min-height:32px;padding:0}
.sothing-commerce .cart-dialog-body{padding:20px 24px;overflow:auto;max-height:calc(90dvh - 75px)}
.sothing-commerce #cart-items>.empty-state{padding:30px;text-align:center}
.sothing-commerce #cart-summary{min-width:0}
.sothing-cart-page{padding-top:30px;padding-bottom:45px;min-height:380px}
.sothing-cart-page>h1{font-size:30px;margin:0 0 24px;color:#294f64}
.sothing-cart-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr);gap:25px;align-items:start}
.sothing-cart-layout>#cart-items,.sothing-cart-layout>#cart-summary{background:#fff;border:1px solid #dbe7ee;border-radius:12px;padding:20px}
.store-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:10000;max-width:calc(100vw - 40px);border-radius:8px;background:#1f4c65;color:#fff;padding:12px 18px;font:400 13px/1.7 'Prompt',sans-serif;box-shadow:0 8px 22px #12344830}
.store-toast[hidden]{display:none}
.cart-flying-product{position:fixed;z-index:2147483000;pointer-events:none;width:64px;height:64px;display:grid;place-items:center;border:2px solid #7cbde0;border-radius:15px;background:#fff;box-shadow:0 8px 25px #163f5e30;overflow:hidden;color:#173d5b;font:bold 22px Arial;will-change:transform,opacity}
.cart-flying-product img{display:block;width:100%;height:100%;object-fit:contain}
.cart-added-burst{display:block!important;position:absolute;right:0;top:-9px;padding:4px 7px;border-radius:12px;background:#2679a4;color:#fff;font:bold 14px Arial;pointer-events:none;white-space:nowrap;z-index:2}
.card-warranty-dialog{width:min(540px,calc(100% - 32px));max-height:80dvh;box-sizing:border-box;border:1px solid #b8d7e7;border-radius:14px;padding:24px;background:#fff;box-shadow:0 18px 60px #10233340;overflow:auto;font-family:'Prompt',sans-serif;color:#234d65}
.card-warranty-dialog::backdrop{background:#17384a88}
.card-warranty-dialog h2{font-size:23px;line-height:1.5;margin:0 0 16px;color:#285d78}
.card-warranty-dialog p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.9;margin:0 0 22px;color:#547486}
.card-warranty-dialog button{display:block;margin:0 0 0 auto;min-height:44px;min-width:90px;border:1px solid #1e73be;border-radius:8px;background:#1e73be;color:#fff;padding:9px 20px;font:500 14px/1.5 'Prompt',sans-serif}
.cart-live-status{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}
@media(max-width:1050px){.sothing-commerce .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sothing-cart-layout{grid-template-columns:1.2fr 1fr}}
@media(max-width:850px){#header .sothing-cart-label{display:none}.sothing-commerce .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sothing-cart-layout{grid-template-columns:1fr}.sothing-commerce dialog>header{padding:15px 18px}.sothing-commerce .cart-dialog-body{padding:18px}}
@media(max-width:700px){.sothing-commerce .container{padding-left:22px;padding-right:22px}.sothing-live-heading h2{font-size:22px}.sothing-live-heading>a{font-size:11px;padding:7px 9px}.sothing-commerce .product-grid{gap:12px}.sothing-cart-page>h1{font-size:25px}.sothing-commerce dialog>header h2{font-size:18px}}
@media(max-width:700px){.sothing-managed-banner{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;padding:25px;gap:15px}.sothing-managed-banner>img{max-height:300px}.sothing-managed-banner-copy{gap:9px}.sothing-managed-banner-copy strong{font-size:25px}.sothing-managed-banner-copy>span{font-size:12px}.sothing-managed-banner-copy small{font-size:9px}}
@media(max-width:420px){.sothing-live-heading{gap:10px}.sothing-live-heading h2{font-size:20px}.sothing-live-heading span{font-size:8px}}
@media(prefers-reduced-motion:reduce){.cart-flying-product,.cart-added-burst{display:none!important}}

/* Final Sothing contrast and control sizing across commerce overlays. */
#header form select[name="category"]{width:110px!important;min-width:110px!important;max-width:140px;padding-right:23px;font-size:12px}
#header .search-form-categories{flex:0 0 auto}
#cart-dialog>header h2,#cart-dialog>header [data-close]{color:#234b63!important}
#cart-dialog>header h2{margin:0;font-size:22px}
#cart-dialog>header [data-close]{background:#fff;border:1px solid #cadfe9;border-radius:7px;line-height:1;margin:0}
#cart-dialog>header h2>span{background:#dbeef9;color:#1e6793}
#cart-dialog label:has(input:checked){background:#edf7fc;border-color:#7cb7d7}
.sothing-import .shop-catalog .shop-card-price strong{color:#1e73be}
.sothing-import .shop-catalog .shop-card-actions .shop-buy:not(:disabled){background:#1e73be;border-color:#1e73be;color:#fff;box-shadow:none}
.sothing-import .shop-catalog .shop-card-actions .shop-buy:not(:disabled):hover{background:#155d93;border-color:#155d93;color:#fff}

.sothing-commerce .member-intro h2 br{display:block}
