:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f5f7fb;color:#111827}:root[data-theme=dark]{color-scheme:dark;background:#10151f;color:#eef3f8}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:linear-gradient(180deg,#eef7f6 0,#f5f7fb 320px 100%),#f5f7fb}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit;text-decoration:none}input,textarea{width:100%;border:1px solid #d6deea;border-radius:8px;background:#fff;color:#111827;padding:11px 12px;outline:none}textarea{resize:vertical;min-height:88px}input:focus,textarea:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e24}.shell{width:min(1280px,calc(100vw - 32px));margin:0 auto;padding:24px 0 64px}.topbar{position:sticky;top:14px;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px;border:1px solid rgba(255,255,255,.7);border-radius:8px;background:#ffffffdb;padding:12px 14px;box-shadow:0 18px 50px #0f172a14;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.brand-lockup{display:flex;align-items:center;gap:12px;min-width:0}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:8px;background:linear-gradient(135deg,#111827,#0f766e 62%,#ef7d4b);color:#fff;font-weight:950}h1{margin:0;font-size:22px;line-height:1.2;letter-spacing:0}.subhead{margin:3px 0 0;color:#667085;line-height:1.45;font-size:13px}.top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.language-switch{display:inline-flex;padding:3px;border:1px solid #d6deea;border-radius:8px;background:#fff}.language-switch button{border:0;border-radius:6px;padding:7px 10px;background:transparent;color:#667085}.language-switch button.active{background:#111827;color:#fff;font-weight:850}.support-button,.secondary,.text-button{border:1px solid #d6deea;border-radius:8px;background:#fff;color:#253044;font-weight:800}.support-button{min-height:38px;padding:8px 13px}.account-pill{border-color:#111827;color:#111827}.secondary{min-height:42px;padding:9px 13px}.secondary:hover,.support-button:hover,.text-button:hover{border-color:#0f766e;color:#0f766e}.text-button{padding:7px 9px;font-size:12px}.primary{min-height:44px;border:0;border-radius:8px;background:linear-gradient(135deg,#0f766e,#0f9f8f);color:#fff;font-weight:900;padding:10px 15px;box-shadow:0 12px 24px #0f766e38}.primary:hover:not(:disabled){filter:brightness(.96);transform:translateY(-1px)}.primary:disabled{background:#a7b2c3;color:#eef3f8;box-shadow:none;transform:none}.primary.compact{width:auto;min-width:112px}.commerce-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:26px;align-items:stretch;min-height:330px;margin:18px 0 22px;border-radius:8px;background:linear-gradient(135deg,#111827f5,#106059eb),#111827;color:#fff;overflow:hidden;box-shadow:0 28px 90px #0f172a2e}.hero-copy{display:flex;flex-direction:column;justify-content:center;padding:34px}.hero-kicker{margin:0 0 12px;color:#f2c078;font-size:13px;font-weight:900;text-transform:uppercase}.hero-copy h2{margin:0;max-width:620px;font-size:38px;line-height:1.12;letter-spacing:0}.hero-copy p:not(.hero-kicker){max-width:640px;margin:16px 0 0;color:#d7e6e3;font-size:16px;line-height:1.7}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.hero-action{display:inline-flex;align-items:center;justify-content:center;min-width:128px}.hero-actions .secondary{background:#ffffff1a;border-color:#ffffff40;color:#fff}.trust-strip{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}.trust-strip span{border:1px solid rgba(255,255,255,.18);border-radius:999px;background:#ffffff14;color:#eef7f6;padding:7px 10px;font-size:12px;font-weight:850}.hero-showcase{position:relative;min-height:330px;padding:28px 30px 28px 0}.hero-image-frame{position:absolute;inset:28px 44px 28px 24px;border:1px solid rgba(255,255,255,.24);border-radius:8px;overflow:hidden;background:#dbe7e8;box-shadow:0 24px 70px #00000047}.hero-image-frame img,.hero-mini-frame img{width:100%;height:100%;object-fit:cover;display:block}.hero-product-card{position:absolute;left:0;bottom:38px;width:min(270px,calc(100% - 80px));border:1px solid rgba(255,255,255,.38);border-radius:8px;background:#ffffffeb;color:#111827;padding:14px;box-shadow:0 18px 60px #00000038}.hero-product-card span{color:#0f766e;font-size:12px;font-weight:900}.hero-product-card strong{display:block;margin-top:5px;line-height:1.3}.hero-product-card em{display:block;margin-top:7px;color:#e45a3a;font-size:20px;font-style:normal;font-weight:950}.hero-mini-frame{position:absolute;right:18px;top:46px;width:128px;aspect-ratio:1;border:4px solid #fff;border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 18px 48px #00000042}.state{border:1px solid #dce3ec;border-radius:8px;background:#fff;padding:22px;text-align:center;color:#667085}.error,.form-error{color:#b42318}.form-error{margin:12px 0 0;font-size:13px;line-height:1.5}.muted{color:#667085}.shop-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:22px;align-items:start}.category-tabs{display:flex;gap:10px;margin-bottom:18px;overflow-x:auto;padding:3px 2px 6px}.category-tabs button{display:inline-flex;align-items:center;gap:9px;flex:0 0 auto;min-height:42px;border:1px solid #d8e0ec;border-radius:8px;background:#fff;color:#667085;padding:9px 13px;font-weight:850;box-shadow:0 8px 20px #0f172a0a}.category-tabs button.active{border-color:#111827;color:#111827;background:#fff}.category-tabs strong{min-width:23px;border-radius:999px;background:#eef2f6;color:#667085;font-size:12px;padding:2px 6px}.category-tabs button.active strong{background:#111827;color:#fff}.products{display:grid;grid-template-columns:repeat(auto-fit,minmax(258px,1fr));gap:18px}.product-card{display:flex;flex-direction:column;min-height:492px;border:1px solid #dfe6ef;border-radius:8px;background:#fff;overflow:hidden;box-shadow:0 14px 36px #0f172a12;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.product-card:hover{transform:translateY(-4px);border-color:#c8d2df;box-shadow:0 24px 64px #0f172a21}.product-image{position:relative;aspect-ratio:4 / 3;background:linear-gradient(135deg,#eef7f6,#f7f0ea);overflow:hidden}.product-image img,.order-line img{width:100%;height:100%;object-fit:cover;display:block}.image-badge{position:absolute;top:12px;left:12px;border-radius:999px;background:#ef7d4b;color:#fff;padding:5px 9px;font-size:12px;font-weight:900;box-shadow:0 10px 24px #ef7d4b47}.product-body{display:flex;flex-direction:column;gap:10px;padding:16px;flex:1}.product-topline{display:flex;align-items:center;justify-content:space-between;gap:10px}.category-pill{border-radius:999px;background:#e8f7ee;color:#12743b;padding:5px 9px;font-size:12px;font-weight:900}.stock{color:#0f766e;font-size:12px;font-weight:900;white-space:nowrap}.stock.low{color:#b45309}.product-card h2{margin:0;font-size:19px;line-height:1.32}.product-card p{margin:0;color:#667085;line-height:1.55}.product-card ul{display:grid;gap:6px;margin:0;padding-left:18px;color:#253044;font-size:13px;line-height:1.45}.product-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px 16px;border-top:1px solid #edf1f5;background:#fbfcfe}.product-footer>div{display:grid;gap:3px;min-width:0}.product-footer strong{color:#e45a3a;font-size:24px;line-height:1.1}.product-footer span{color:#98a2b3;font-size:12px;text-decoration:line-through}.product-footer button{flex:0 0 auto}.product-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.checkout-panel{position:sticky;top:96px;display:grid;gap:14px}.panel{border:1px solid #dfe6ef;border-radius:8px;background:#fff;padding:18px;box-shadow:0 16px 42px #0f172a0f}.cart-panel{border-top:4px solid #111827}.address-panel{border-top:4px solid #0f766e}.panel h2{margin:0 0 14px;font-size:19px;line-height:1.3}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-title h2,.panel-title h3{margin:0}.panel-title span{min-width:30px;border-radius:999px;background:#111827;color:#fff;text-align:center;padding:4px 8px;font-weight:900}.study-note{margin:12px 0;border-left:3px solid #ef7d4b;background:#fff6ef;color:#8a3d1d;padding:10px 11px;font-size:13px;line-height:1.5}.empty-cart{border:1px dashed #cdd6e4;border-radius:8px;color:#667085;padding:18px;text-align:center;background:#fbfcfe}.cart-line{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;padding:12px 0;border-bottom:1px solid #edf1f5}.cart-line h3{margin:0 0 4px;font-size:15px;line-height:1.35}.cart-line p{margin:0;color:#667085;font-size:12px}.quantity-control{display:grid;grid-template-columns:34px 60px 34px;width:128px;border:1px solid #cdd6e4;border-radius:8px;overflow:hidden}.quantity-control button{border:0;background:#f3f6f9;color:#253044;font-weight:900}.quantity-control input{height:34px;border:0;border-left:1px solid #cdd6e4;border-right:1px solid #cdd6e4;border-radius:0;padding:0;text-align:center}.cart-total{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:14px;padding-top:14px;border-top:1px solid #dfe6ef}.cart-total span{color:#667085}.cart-total strong{color:#e45a3a;font-size:30px;line-height:1.1}.address-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}.address-form textarea{grid-column:1 / -1}.address-add-form{margin-top:12px}.address-list{display:grid;gap:9px;margin-top:12px}.address-option{display:grid;gap:5px;width:100%;border:1px solid #dfe6ef;border-radius:8px;background:#fff;color:#111827;padding:12px;text-align:left}.address-option.active{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e21}.address-option span{display:flex;align-items:center;justify-content:space-between;gap:10px}.address-option strong{font-size:14px}.address-option em{border-radius:999px;background:#e8f7ee;color:#12743b;padding:2px 7px;font-size:11px;font-style:normal;font-weight:900}.address-option small{color:#667085;line-height:1.4;overflow-wrap:anywhere}.checkbox-row{grid-column:1 / -1;display:inline-flex;align-items:center;gap:8px;color:#667085;font-size:13px}.checkbox-row input{width:auto}.section-subtitle{margin-top:24px!important}.checkout-button{width:100%;margin-top:14px}.result{display:grid;gap:14px;max-width:920px}.result-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.result-actions{display:flex;gap:10px;flex-wrap:wrap}.status{display:inline-flex;border-radius:999px;padding:7px 11px;background:#eef6ff;color:#0f5fc4;font-weight:900}.status.completed{background:#e8f7ee;color:#12743b}.status.pending{background:#fff3d6;color:#9a5b00}.status.failed,.status.expired{background:#ffeceb;color:#b42318}.payment-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #ffd89a;border-radius:8px;background:linear-gradient(135deg,#fff9ed,#fffdf8 45%,#eef8ff);padding:18px}.payment-panel h2{margin:0 0 6px;font-size:18px;line-height:1.3}.payment-panel p{margin:0;color:#667085}.order-meta,.address-meta{display:grid;gap:10px;margin:0}.order-meta{border:1px solid #dfe6ef;border-radius:8px;background:#fff;padding:18px}.order-meta div,.address-meta div{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px}dt{color:#667085}dd{margin:0;overflow-wrap:anywhere}.order-lines{display:grid;gap:10px}.order-line{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid #edf1f5;border-radius:8px;padding:10px}.order-line img{width:72px;height:54px;border-radius:8px;background:#eef2f6}.order-line h3{margin:0 0 4px;font-size:15px;line-height:1.35}.order-line p{margin:0;color:#667085;font-size:13px}.order-line strong{color:#e45a3a;white-space:nowrap}.logistics-panel.empty{background:#fbfcfe}.traces{display:grid;gap:9px;margin:16px 0 0;padding:0;list-style:none}.traces li{display:grid;grid-template-columns:132px minmax(0,1fr);gap:12px;border-top:1px solid #edf1f5;padding-top:9px}.traces time{color:#667085;font-size:13px}.modal-backdrop{position:fixed;inset:0;display:grid;place-items:center;padding:24px;background:#11182785;z-index:20}.contact-modal{width:min(420px,100%);border:1px solid rgba(255,255,255,.6);border-radius:8px;background:#fff;color:#111827;padding:22px;box-shadow:0 24px 80px #11182747}.contact-modal h2{margin:0 0 10px;font-size:21px}.contact-modal p{margin:0;color:#667085;line-height:1.6}.contact-modal h3{margin:18px 0 8px;font-size:15px}.contact-modal.wide{width:min(900px,100%)}.auth-modal{width:min(460px,100%)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.modal-header h2{margin:0}.icon-button{width:34px;height:34px;border:1px solid #d6deea;border-radius:8px;background:#fff;color:#253044;font-size:22px;line-height:1}.icon-button:hover{border-color:#0f766e;color:#0f766e}.auth-form{grid-template-columns:1fr}.user-center-modal{width:min(980px,100%);max-height:min(86vh,820px);overflow:auto}.detail-layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:22px;align-items:start}.detail-layout>img{width:100%;aspect-ratio:4 / 3;border-radius:8px;object-fit:cover;background:#eef2f6}.spec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.spec-grid div{display:grid;gap:3px;border:1px solid #edf1f5;border-radius:8px;padding:9px}.spec-grid dt{font-size:12px}.spec-grid dd{font-weight:850}.user-center-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:18px}.user-center-grid h3{margin:0 0 12px}.account-order{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;border:1px solid #edf1f5;border-radius:8px;padding:12px;margin-bottom:10px}.account-order h4{margin:0 0 5px;font-size:15px}.account-order p{margin:3px 0 0;color:#667085;font-size:12px;line-height:1.4}.account-order strong{color:#e45a3a;white-space:nowrap}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}:root[data-theme=dark] body{background:#10151f}:root[data-theme=dark] .topbar,:root[data-theme=dark] input,:root[data-theme=dark] textarea,:root[data-theme=dark] .language-switch,:root[data-theme=dark] .support-button,:root[data-theme=dark] .secondary,:root[data-theme=dark] .icon-button,:root[data-theme=dark] .text-button,:root[data-theme=dark] .category-tabs button,:root[data-theme=dark] .product-card,:root[data-theme=dark] .product-footer,:root[data-theme=dark] .address-option,:root[data-theme=dark] .panel,:root[data-theme=dark] .order-meta,:root[data-theme=dark] .state,:root[data-theme=dark] .contact-modal{background:#172033;border-color:#314154;color:#eef3f8}:root[data-theme=dark] .subhead,:root[data-theme=dark] .product-card p,:root[data-theme=dark] .cart-line p,:root[data-theme=dark] .order-line p,:root[data-theme=dark] .address-option small,:root[data-theme=dark] .contact-modal p,:root[data-theme=dark] .muted,:root[data-theme=dark] dt{color:#a8b3c2}:root[data-theme=dark] .product-card ul{color:#dbe5f0}:root[data-theme=dark] .category-tabs button.active,:root[data-theme=dark] .language-switch button.active{background:#eef3f8;color:#111827}:root[data-theme=dark] .study-note{background:#352515;color:#f3c47b}:root[data-theme=dark] .empty-cart,:root[data-theme=dark] .logistics-panel.empty{background:#151e2a}:root[data-theme=dark] .spec-grid div,:root[data-theme=dark] .account-order{border-color:#314154}:root[data-theme=dark] .payment-panel{background:linear-gradient(135deg,#221b11,#172033 55%,#12233a);border-color:#6f4d1f}:root[data-theme=dark] .payment-panel p{color:#a8b3c2}@media(max-width:1060px){.commerce-hero{grid-template-columns:1fr}.hero-showcase{min-height:290px;padding:0 30px 30px}.hero-image-frame{inset:0 30px 30px}.shop-layout{grid-template-columns:1fr}.checkout-panel{position:static}}@media(max-width:640px){.shell{width:min(100% - 20px,1240px);padding-top:12px}.topbar{position:static;display:grid}.top-actions{justify-content:flex-start}h1{font-size:20px}.commerce-hero{min-height:auto}.hero-copy{padding:24px}.hero-copy h2{font-size:28px}.hero-showcase{display:none}.products{grid-template-columns:1fr}.product-card{min-height:auto}.product-footer{align-items:stretch;flex-direction:column}.product-footer button{width:100%}.product-actions{display:grid;grid-template-columns:1fr}.detail-layout,.user-center-grid,.spec-grid,.address-form{grid-template-columns:1fr}.order-line{grid-template-columns:64px minmax(0,1fr)}.order-line strong{grid-column:2}.order-line img{width:64px;height:52px}.order-meta div,.address-meta div,.traces li{grid-template-columns:1fr;gap:4px}.payment-panel{display:grid}.payment-panel button,.result-actions{width:100%}.result-actions button{flex:1}.modal-actions{display:grid;grid-template-columns:1fr}.modal-actions button{width:100%}}
