:root{--bg:#f4f7fb;--surface:#fff;--ink:#17223b;--muted:#69758f;--line:#e6ebf3;--blue:#315cf5;--blue2:#6489ff;--cyan:#5ee2d7;--dark:#111a31;--green:#19ad7b;--red:#ef5b5b;--shadow:0 24px 70px rgba(28,50,101,.12);--radius:22px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,'Segoe UI','Microsoft YaHei','PingFang SC',system-ui,sans-serif;line-height:1.6}button,input{font:inherit}button,a{cursor:pointer}.shell{width:min(1380px,calc(100% - 48px));margin:0 auto}.ambient{position:fixed;border-radius:50%;filter:blur(100px);opacity:.22;z-index:-1}.ambient-one{width:520px;height:520px;background:#a7baff;top:-240px;right:-140px}.ambient-two{width:420px;height:420px;background:#87eee3;left:-220px;top:420px}.topbar{height:84px;background:rgba(255,255,255,.86);backdrop-filter:blur(20px);border-bottom:1px solid rgba(224,230,241,.9);position:sticky;top:0;z-index:50}.nav-wrap{height:100%;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none}.brand-mark{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;color:#fff;background:linear-gradient(145deg,var(--blue),#7c52e9);font-weight:800;font-size:20px;box-shadow:0 10px 24px rgba(49,92,245,.28)}.brand b,.brand small{display:block}.brand b{font-size:17px;line-height:1.25}.brand small{font-size:11px;color:#8993aa;letter-spacing:.08em;margin-top:3px}.nav-links{display:flex;align-items:center;gap:31px}.nav-links a,.nav-button{border:0;background:none;color:#58647d;text-decoration:none;font-size:14px}.nav-links a:hover,.nav-button:hover{color:var(--blue)}.nav-links .primary-mini{background:var(--dark);color:#fff;padding:10px 18px;border-radius:12px}.mobile-menu{display:none;border:0;background:#eef2fa;border-radius:10px;width:42px;height:42px}.page-shell{padding-top:34px}.hero-card{min-height:455px;border-radius:30px;position:relative;overflow:hidden;background:linear-gradient(118deg,#101a34 0%,#172959 58%,#24437d 100%);color:#fff;display:grid;grid-template-columns:1.08fr .92fr;box-shadow:var(--shadow)}.hero-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 22% 0%,rgba(102,137,255,.28),transparent 40%),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px);background-size:auto,42px 42px,42px 42px;mask-image:linear-gradient(90deg,#000,transparent 75%)}.hero-copy{padding:68px 34px 56px 70px;position:relative;z-index:2}.eyebrow,.modal-eyebrow,.section-kicker{font-size:11px;letter-spacing:.18em;font-weight:700;color:#6f8cff}.eyebrow{color:#9cb4ff}.eyebrow span{display:inline-block;width:24px;height:1px;background:var(--cyan);vertical-align:middle;margin-right:10px}.hero-copy h1{font-size:48px;line-height:1.18;margin:19px 0 17px;letter-spacing:-.04em}.hero-copy h1 em{font-style:normal;color:#80e9dd}.hero-copy>p{max-width:590px;color:#b9c5dd;font-size:16px}.hero-actions{display:flex;gap:12px;margin-top:31px}.primary-button,.ghost-button{border:0;border-radius:13px;padding:13px 22px;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:20px}.primary-button{color:#fff;background:linear-gradient(135deg,var(--blue),#597ffc);box-shadow:0 12px 24px rgba(49,92,245,.27)}.primary-button:hover{transform:translateY(-1px);box-shadow:0 15px 30px rgba(49,92,245,.35)}.ghost-button{color:#e8edfa;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.14)}.trust-row{display:flex;flex-wrap:wrap;gap:20px;color:#9faeca;font-size:12px;margin-top:35px}.trust-row span:before{color:var(--cyan)}.hero-visual{position:relative;display:grid;place-items:center}.visual-glow{position:absolute;width:360px;height:360px;border-radius:50%;background:rgba(73,125,255,.35);filter:blur(45px)}.payment-card{position:relative;width:320px;padding:27px;border-radius:25px;background:rgba(255,255,255,.94);color:var(--ink);box-shadow:0 30px 70px rgba(2,8,23,.34);transform:rotate(2deg);z-index:2}.payment-card:before{content:"";position:absolute;inset:0;border:1px solid rgba(255,255,255,.9);border-radius:25px;transform:translate(13px,13px);z-index:-1}.payment-card-top{display:flex;align-items:center;justify-content:space-between;color:#7b8599;font-size:11px}.payment-card-top b{color:var(--blue);font-weight:600}.mini-qr{width:116px;height:116px;margin:25px auto 20px;display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:8px;border:1px solid var(--line);border-radius:13px}.mini-qr i{background:#18244a;border-radius:3px}.mini-qr i:nth-child(2),.mini-qr i:nth-child(4),.mini-qr i:nth-child(8){background:#fff;border:3px solid #18244a}.payment-card strong,.payment-card small{display:block;text-align:center}.payment-card strong{font-size:21px}.payment-card small{font-size:11px;color:#8490a6;margin-top:5px}.progress{height:5px;background:#e7ebf4;border-radius:5px;margin-top:20px;overflow:hidden}.progress span{display:block;width:64%;height:100%;background:linear-gradient(90deg,var(--blue),var(--cyan));animation:loading 2s ease-in-out infinite}.float-pill{position:absolute;background:#fff;color:#3e4960;font-size:11px;font-weight:700;border-radius:12px;padding:10px 14px;box-shadow:0 15px 35px rgba(2,8,23,.25);z-index:3}.pill-one{left:4%;top:22%}.pill-two{right:5%;bottom:23%;color:var(--green)}@keyframes loading{50%{width:88%}}.notice-card{display:flex;align-items:center;gap:17px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px 24px;margin:25px 0 20px;box-shadow:0 8px 28px rgba(30,50,90,.05)}.notice-icon{width:36px;height:36px;border-radius:12px;background:#fff1d8;color:#f6a500;display:grid;place-items:center;font-weight:800}.notice-card strong{font-size:14px}.notice-card p{margin:2px 0 0;color:var(--muted);font-size:13px}.notice-badge{margin-left:auto;white-space:nowrap;font-size:11px;color:#f3a000;background:#fff8e8;border:1px solid #ffedbf;border-radius:20px;padding:5px 11px}.store-layout{display:grid;grid-template-columns:278px 1fr;gap:20px}.category-panel,.products-panel{background:#fff;border:1px solid var(--line);border-radius:20px}.category-panel{align-self:start;position:sticky;top:105px;overflow:hidden}.panel-title{padding:19px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-weight:700}.panel-title small{font-weight:500;color:#9aa3b5}.category-list{padding:10px}.category-item{width:100%;display:flex;align-items:center;justify-content:space-between;border:0;background:transparent;color:#626e86;padding:11px 12px;border-radius:11px;text-align:left;font-size:13px}.category-item:hover,.category-item.active{background:#eef3ff;color:var(--blue);font-weight:700}.category-item span:last-child{font-size:10px;background:#f1f4f9;color:#8892a5;border-radius:10px;padding:2px 7px}.safe-box{margin:12px;background:#f7f9fc;border:1px solid #e8edf5;border-radius:13px;padding:14px}.safe-box b{font-size:12px}.safe-box p{font-size:11px;color:#818ba0;margin:6px 0 0;line-height:1.65}.products-panel{padding:25px;min-height:520px}.products-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:21px}.products-head h2,.steps-head h2{font-size:24px;margin:2px 0 0}.search-box{width:250px;display:flex;align-items:center;gap:8px;background:#f6f8fb;border:1px solid #edf0f5;border-radius:12px;padding:9px 13px}.search-box input{width:100%;border:0;outline:0;background:transparent;color:var(--ink);font-size:13px}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.product-card{border:1px solid var(--line);border-radius:17px;padding:20px;display:grid;grid-template-columns:58px 1fr auto;gap:15px;align-items:center;transition:.2s;background:linear-gradient(145deg,#fff,#fdfdff)}.product-card:hover{border-color:#bdcafa;transform:translateY(-2px);box-shadow:0 15px 35px rgba(31,52,98,.08)}.product-icon{width:58px;height:58px;border-radius:17px;background:linear-gradient(145deg,#edf3ff,#dfe8ff);display:grid;place-items:center;font-size:25px;overflow:hidden}.product-icon img{width:100%;height:100%;object-fit:cover}.product-info{min-width:0}.product-info h3{font-size:15px;margin:0 0 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-info p{font-size:11px;color:#7e899f;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-tags{display:flex;gap:7px;margin-top:8px}.tag{font-size:9px;color:var(--blue);background:#eef3ff;border-radius:6px;padding:2px 6px}.stock-tag{font-size:9px;color:var(--green);background:#eaf9f4;border-radius:6px;padding:2px 6px}.stock-tag.empty{color:var(--red);background:#fff0f0}.product-buy{text-align:right;min-width:100px}.price{display:block;font-size:18px;color:var(--blue);font-weight:800}.price small{font-size:10px;font-weight:600;margin-left:2px}.buy-button{border:0;background:var(--dark);color:#fff;border-radius:9px;padding:7px 12px;font-size:11px;font-weight:700;margin-top:8px}.buy-button:disabled{background:#bdc4d1;cursor:not-allowed}.loading-card,.empty-state{grid-column:1/-1;text-align:center;color:#8a94a7;padding:80px 20px;background:#f8fafc;border-radius:15px}.steps-section{padding:80px 0 90px}.steps-head{text-align:center;margin-bottom:28px}.steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.steps-grid article{background:#fff;border:1px solid var(--line);border-radius:17px;padding:23px;position:relative;overflow:hidden}.steps-grid article>span{position:absolute;right:14px;top:5px;font-size:38px;color:#eff2f7;font-weight:800}.steps-grid b{font-size:14px}.steps-grid p{font-size:12px;color:var(--muted);margin:7px 0 0}.steps-grid article:before{content:"";display:block;width:28px;height:3px;background:var(--blue);border-radius:3px;margin-bottom:16px}footer{background:var(--dark);color:#fff;padding:40px 0}.footer-inner{display:flex;justify-content:space-between;align-items:center}.footer-inner p{color:#8290ad;font-size:12px;margin:4px 0 0}.footer-links{display:flex;gap:22px}.footer-links a,.footer-links button{color:#aeb9ce;background:none;border:0;text-decoration:none;font-size:12px}.modal{position:fixed;inset:0;z-index:100;display:none;place-items:center;padding:24px}.modal.show{display:grid}.modal-backdrop{position:absolute;inset:0;background:rgba(11,18,36,.64);backdrop-filter:blur(8px)}.modal-card{position:relative;width:min(520px,100%);max-height:calc(100vh - 48px);overflow:auto;background:#fff;border-radius:23px;padding:31px;box-shadow:0 35px 100px rgba(6,12,27,.35);animation:modalIn .22s ease}.payment-dialog{width:min(900px,100%)}@keyframes modalIn{from{opacity:0;transform:translateY(12px) scale(.98)}}.close-button{position:absolute;right:16px;top:14px;width:34px;height:34px;border:0;border-radius:50%;background:#f0f3f8;color:#647089;font-size:21px;z-index:2}.modal-card h2{font-size:25px;margin:4px 0 18px}.selected-product{background:#f6f8fc;border-radius:14px;padding:15px;margin-bottom:18px;display:flex;align-items:center;justify-content:space-between}.selected-product b{font-size:14px}.selected-product span{font-size:18px;color:var(--blue);font-weight:800}.modal-card form{display:grid;gap:15px}.modal-card label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#4e5970}.modal-card label small{font-weight:400;color:#9aa2b1}.modal-card input{width:100%;border:1px solid #dfe5ef;border-radius:11px;padding:12px 13px;outline:0}.modal-card input:focus{border-color:#849fff;box-shadow:0 0 0 3px rgba(49,92,245,.1)}.quantity-control{display:grid;grid-template-columns:42px 1fr 42px;border:1px solid #dfe5ef;border-radius:11px;overflow:hidden}.quantity-control button{border:0;background:#f6f8fc;font-size:18px}.quantity-control input{border:0;text-align:center;border-radius:0}.order-summary{display:flex;justify-content:space-between;align-items:center;background:#f7f9fc;border-radius:12px;padding:14px;font-size:12px}.order-summary strong{color:var(--blue);font-size:18px}.wide{width:100%;padding:14px}.form-tip{text-align:center;color:#929bad;font-size:10px;margin:0}.status-banner{height:52px;background:#fff8e9;color:#c58600;border-radius:14px;display:flex;align-items:center;gap:9px;padding:0 15px;margin-bottom:23px}.status-banner i{width:9px;height:9px;border-radius:50%;background:#f7aa00;box-shadow:0 0 0 6px rgba(247,170,0,.13);animation:pulse 1.5s infinite}.status-banner small{margin-left:auto}.status-banner.success{background:#eaf9f4;color:var(--green)}.status-banner.success i{background:var(--green);box-shadow:0 0 0 6px rgba(25,173,123,.13);animation:none}@keyframes pulse{50%{box-shadow:0 0 0 10px rgba(247,170,0,0)}}.payment-layout{display:grid;grid-template-columns:280px 1fr;gap:30px}.qr-column{text-align:center}.qr-frame{border:1px solid var(--line);border-radius:18px;padding:16px;background:#fff;box-shadow:0 12px 30px rgba(31,53,99,.08)}.qr-frame img{width:100%;display:block}.qr-column>span{display:inline-block;margin-top:12px;background:#eef3ff;color:var(--blue);border-radius:15px;padding:4px 10px;font-size:10px;font-weight:700}.payment-info>p{font-size:12px;color:var(--muted)}.amount-box,.address-box{position:relative;border:1px solid var(--line);border-radius:13px;padding:12px 86px 12px 14px;margin-top:11px}.amount-box span,.address-box span{display:block;font-size:10px;color:#8b95a9}.amount-box strong{display:block;font-size:22px;color:var(--blue);margin-top:2px}.address-box code{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#34415d;margin-top:3px}.amount-box button,.address-box button,.order-meta button{position:absolute;right:9px;top:50%;transform:translateY(-50%);border:0;background:#edf2ff;color:var(--blue);border-radius:8px;padding:6px 9px;font-size:10px}.warning-line{color:#ad7a0d;background:#fff9eb;padding:10px 12px;border-radius:10px;font-size:10px;margin-top:12px}.order-meta{display:flex;align-items:center;justify-content:space-between;margin-top:12px;color:#8993a6;font-size:10px}.order-meta button{position:static;transform:none}.delivery-result{border-top:1px solid var(--line);margin-top:25px;padding-top:22px;text-align:center}.success-mark{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#e7f9f3;color:var(--green);font-size:25px;font-weight:800;margin:auto}.delivery-result h3{margin:10px 0 15px}.delivery-item{text-align:left;background:#f6f9fc;border:1px solid #e7ecf3;border-radius:13px;padding:13px;margin-top:9px}.delivery-item span{display:block;font-size:9px;color:#929bad}.delivery-value{display:flex;gap:8px;align-items:center;margin-top:3px}.delivery-value code,.delivery-value a{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#26344f;font-size:12px}.delivery-value button{border:0;background:#e8efff;color:var(--blue);border-radius:7px;padding:5px 8px;font-size:9px}.query-dialog>p{color:var(--muted);font-size:12px}.query-result{margin-top:19px;border-top:1px solid var(--line);padding-top:17px}.query-order-card{background:#f7f9fc;border-radius:13px;padding:14px}.query-order-card header{display:flex;justify-content:space-between;gap:15px}.status-chip{font-size:10px;color:#c58600;background:#fff3d1;border-radius:12px;padding:3px 8px}.status-chip.delivered{color:var(--green);background:#e4f8f1}.query-order-card p{font-size:11px;color:#748096;margin:5px 0}.hidden{display:none!important}.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);z-index:200;background:#17223b;color:#fff;border-radius:11px;padding:10px 16px;font-size:12px;opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1050px){.hero-card{grid-template-columns:1fr}.hero-visual{display:none}.hero-copy{padding:62px}.store-layout{grid-template-columns:230px 1fr}.product-grid{grid-template-columns:1fr}}
@media(max-width:760px){.shell{width:min(100% - 28px,1380px)}.topbar{height:70px}.nav-links{display:none;position:absolute;top:68px;left:14px;right:14px;flex-direction:column;align-items:stretch;background:#fff;padding:18px;border-radius:15px;box-shadow:var(--shadow)}.nav-links.open{display:flex}.mobile-menu{display:block}.page-shell{padding-top:18px}.hero-card{min-height:auto;border-radius:22px}.hero-copy{padding:43px 25px}.hero-copy h1{font-size:36px}.hero-actions{flex-direction:column}.trust-row{gap:8px 15px}.notice-badge{display:none}.notice-card{align-items:flex-start}.store-layout{grid-template-columns:1fr}.category-panel{position:static}.category-list{display:flex;overflow:auto}.category-item{width:auto;white-space:nowrap}.safe-box{display:none}.products-panel{padding:18px}.products-head{align-items:start;gap:15px;flex-direction:column}.search-box{width:100%}.product-card{grid-template-columns:48px 1fr}.product-icon{width:48px;height:48px}.product-buy{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between}.steps-section{padding:60px 0}.steps-grid{grid-template-columns:1fr 1fr}.footer-inner{align-items:flex-start;gap:20px}.payment-layout{grid-template-columns:1fr}.qr-column{max-width:230px;margin:auto}.modal-card{padding:25px 19px}.payment-dialog{padding-top:70px}}
@media(max-width:470px){.hero-copy h1{font-size:31px}.product-card{padding:16px}.steps-grid{grid-template-columns:1fr}.footer-inner{flex-direction:column}.payment-layout{gap:20px}}
.admin-body{background:#f3f6fb}.admin-shell{width:min(1450px,calc(100% - 38px));margin:0 auto}.admin-top{height:74px;background:#111a31;color:#fff}.admin-top .admin-shell{height:100%;display:flex;align-items:center;justify-content:space-between}.admin-brand{display:flex;align-items:center;gap:10px;font-weight:800}.admin-brand span{width:35px;height:35px;display:grid;place-items:center;background:var(--blue);border-radius:10px}.admin-top a{color:#aeb9cf;text-decoration:none;font-size:12px}.admin-main{padding:27px 0 70px}.admin-title-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.admin-title-row h1{font-size:25px;margin:0}.admin-title-row p{font-size:12px;color:var(--muted);margin:3px 0}.refresh-btn{border:1px solid var(--line);background:#fff;padding:9px 13px;border-radius:10px;color:#526078}.stats-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:13px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px}.stat-card span{font-size:10px;color:#8c96aa}.stat-card b{display:block;font-size:24px;margin-top:4px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-top:17px}.admin-panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:21px}.admin-panel.wide{grid-column:1/-1}.admin-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.admin-panel-head h2{font-size:16px;margin:0}.admin-panel-head small{color:#919aae}.admin-form{display:grid;gap:11px}.admin-form.two-cols{grid-template-columns:1fr 1fr}.admin-form label{display:grid;gap:5px;font-size:10px;font-weight:700;color:#59657c}.admin-form label.full{grid-column:1/-1}.admin-form input,.admin-form textarea,.admin-form select{width:100%;border:1px solid #dfe5ee;border-radius:10px;padding:10px;outline:0;background:#fff}.admin-form textarea{min-height:95px;resize:vertical}.admin-form button{grid-column:1/-1;border:0;background:var(--blue);color:#fff;border-radius:10px;padding:11px;font-weight:700}.table-wrap{overflow:auto}.admin-table{width:100%;border-collapse:collapse;font-size:11px}.admin-table th{text-align:left;color:#8b95a8;font-weight:600;background:#f7f9fc}.admin-table th,.admin-table td{padding:10px;border-bottom:1px solid #edf0f5;white-space:nowrap}.admin-table td.product-cell{white-space:normal;min-width:180px}.admin-table button{border:0;background:#edf2ff;color:var(--blue);border-radius:7px;padding:5px 8px;font-size:9px}.admin-table button.danger{background:#fff0f0;color:#d64c58}.payment-config{font-size:11px;background:#f6f8fc;border-radius:12px;padding:13px;margin-bottom:15px;color:#637087}.payment-config code{color:#273550}.login-cover{position:fixed;inset:0;z-index:300;background:#111a31;display:grid;place-items:center;padding:24px}.login-box{width:min(420px,100%);background:#fff;border-radius:22px;padding:30px}.login-box h1{margin:0 0 6px;font-size:22px}.login-box p{color:var(--muted);font-size:12px}.login-box input{width:100%;border:1px solid var(--line);border-radius:11px;padding:12px;margin:10px 0}.login-box button{width:100%;border:0;background:var(--blue);color:#fff;border-radius:11px;padding:12px;font-weight:700}.admin-toast{position:fixed;right:24px;bottom:24px;background:#17223b;color:#fff;border-radius:10px;padding:11px 15px;font-size:11px;opacity:0;transform:translateY(10px);transition:.2s}.admin-toast.show{opacity:1;transform:none}@media(max-width:950px){.stats-grid{grid-template-columns:repeat(2,1fr)}.admin-grid{grid-template-columns:1fr}.admin-panel.wide{grid-column:auto}}@media(max-width:600px){.admin-shell{width:calc(100% - 24px)}.stats-grid{grid-template-columns:1fr 1fr}.admin-form.two-cols{grid-template-columns:1fr}.admin-form label.full{grid-column:auto}}

body.modal-open{overflow:hidden}.muted-small{display:block;color:#8a94a8}.error-text{color:#d94d57}.toast.error,.admin-toast.error{background:#d94d57}.admin-actions{display:flex;gap:8px}


/* 王仔店铺：紧凑首页、分类强化与公告组件 */
:root{--orange:#ff8737;--orange2:#ffb15e;--orange-soft:#fff4ea}
.topbar{height:68px}.page-shell{padding-top:20px}.brand-mark{width:40px;height:40px;border-radius:13px;background:linear-gradient(145deg,var(--orange),#ffb04f);box-shadow:0 10px 24px rgba(255,135,55,.28)}.nav-links .primary-mini{background:linear-gradient(135deg,#1a2948,#243d72)}
.hero-card{min-height:320px;grid-template-columns:1.15fr .85fr;border-radius:24px;background:linear-gradient(118deg,#111a31 0%,#172956 62%,#294c83 100%)}.hero-card:after{content:"";position:absolute;width:230px;height:230px;border-radius:50%;right:31%;bottom:-170px;background:rgba(255,135,55,.2);filter:blur(25px)}.hero-copy{padding:42px 28px 38px 52px}.hero-copy h1{font-size:40px;margin:12px 0 10px}.hero-copy h1 em{color:#ffb86f}.hero-copy>p{font-size:14px;margin:0;max-width:620px}.hero-actions{margin-top:22px}.primary-button{background:linear-gradient(135deg,var(--orange),#ffab4d);box-shadow:0 12px 24px rgba(255,135,55,.24)}.primary-button:hover{box-shadow:0 15px 30px rgba(255,135,55,.34)}.trust-row{margin-top:20px;gap:18px}.payment-card{width:250px;padding:20px;border-radius:20px}.payment-card:before{border-radius:20px;transform:translate(10px,10px)}.mini-qr{width:84px;height:84px;margin:14px auto 11px;gap:4px;padding:6px}.payment-card strong{font-size:18px}.progress{margin-top:14px}.visual-glow{width:280px;height:280px}.float-pill{font-size:10px;padding:8px 12px}.pill-one{left:3%;top:23%}.pill-two{right:4%;bottom:18%}
.store-notice{margin:18px 0;background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px 24px;box-shadow:0 12px 34px rgba(28,50,101,.06);scroll-margin-top:86px}.store-notice-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:16px;border-bottom:1px solid #edf0f5}.notice-title-wrap{display:flex;align-items:center;gap:12px}.notice-title-wrap h2{font-size:19px;line-height:1.2;margin:2px 0 0}.notice-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 auto;border-radius:12px;background:var(--orange-soft);color:var(--orange);font-size:20px;font-weight:900}.notice-badge{border:1px solid #ffd5b6;background:#fff8f2;color:#d9691d;border-radius:999px;padding:6px 11px;font-size:10px;font-weight:700}.notice-summary{margin:15px 0 17px;color:#4e5b73;font-size:13px}.notice-rules{display:grid;grid-template-columns:1fr 1fr;gap:10px 26px}.notice-rules article{display:grid;grid-template-columns:31px 1fr;gap:10px;padding:8px 0}.notice-rules article>span{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#edf2ff;color:var(--blue);font-size:10px;font-weight:800}.notice-rules b{font-size:13px}.notice-rules p{font-size:12px;color:var(--muted);line-height:1.55;margin:2px 0 0}.notice-security{display:flex;align-items:flex-start;gap:12px;margin-top:15px;padding:12px 14px;border:1px solid #ffdabc;border-radius:12px;background:var(--orange-soft)}.notice-security b{white-space:nowrap;color:#b85617;font-size:12px}.notice-security p{font-size:11px;line-height:1.55;color:#80522f;margin:0}
.store-layout{scroll-margin-top:86px}.category-name{display:flex;align-items:center;gap:9px}.category-name i{width:20px;font-style:normal;text-align:center}.category-count{min-width:25px;text-align:center;border-radius:999px;background:#f0f3f9;padding:1px 7px;font-size:10px}.category-item.active .category-count{background:rgba(255,255,255,.16)}
.product-category{display:inline-flex;align-items:center;max-width:max-content;margin-bottom:3px;color:#7b879e;font-size:9px;font-weight:700;letter-spacing:.04em}.product-icon{overflow:hidden;aspect-ratio:1}.product-icon img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}.product-icon>span{display:grid;place-items:center;width:100%;height:100%}.product-card.has-image .product-icon{background:#eef2f8}.product-card.has-image .product-icon img{border-radius:inherit}
.welcome-modal{z-index:220}.welcome-dialog{width:min(520px,calc(100% - 28px));max-height:min(720px,calc(100vh - 28px));padding:0;overflow:hidden;border-radius:23px}.welcome-header{position:relative;padding:28px 34px 24px;color:#fff;text-align:center;background:radial-gradient(circle at 15% 0%,rgba(255,255,255,.24),transparent 35%),linear-gradient(135deg,#315cf5 0%,#376df8 58%,#ff8a38 145%)}.welcome-header:before,.welcome-header:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.2);border-radius:50%}.welcome-header:before{width:230px;height:230px;left:-120px;top:-150px}.welcome-header:after{width:190px;height:190px;right:-100px;top:-120px}.welcome-close{position:absolute;z-index:2;right:14px;top:12px;width:36px;height:36px;border:1px solid rgba(255,255,255,.55);border-radius:50%;background:rgba(255,255,255,.08);color:#fff;font-size:25px;line-height:1}.welcome-kicker{display:block;font-size:10px;font-weight:800;letter-spacing:.2em;opacity:.82}.welcome-header h2{position:relative;margin:6px 0 6px;font-size:27px}.welcome-header p{position:relative;display:flex;justify-content:center;gap:24px;margin:0;font-size:11px;font-weight:700;opacity:.84}.welcome-body{max-height:min(390px,calc(100vh - 260px));overflow:auto;padding:22px 26px;color:#303b52}.welcome-body h3{margin:0 0 8px;color:var(--orange);font-size:17px}.welcome-body>p{margin:0 0 15px;padding-bottom:15px;border-bottom:1px solid #edf0f5;color:#5e6a80;font-size:12px}.welcome-body ol{display:grid;gap:10px;margin:0;padding-left:22px}.welcome-body li{padding-left:3px;color:#465269;font-size:12px;line-height:1.65}.welcome-alert{margin-top:17px;padding:12px 14px;border-left:4px solid var(--orange);background:var(--orange-soft);border-radius:3px 11px 11px 3px}.welcome-alert b{color:#b85617;font-size:12px}.welcome-alert p{margin:2px 0 0;color:#80522f;font-size:11px;line-height:1.55}.welcome-footer{padding:14px 24px 18px;border-top:1px solid #edf0f5;background:#fff}.welcome-confirm{display:block;width:100%;border:0;border-radius:12px;padding:12px;color:#fff;background:linear-gradient(135deg,var(--orange),#ffab4d);font-weight:800}
@media(max-width:900px){.hero-card{min-height:300px}.hero-copy{padding:36px 24px 34px 38px}.hero-copy h1{font-size:36px}.payment-card{width:220px}.notice-rules{grid-template-columns:1fr}.store-notice{padding:20px}}
@media(max-width:760px){.topbar{height:64px}.page-shell{padding-top:14px}.shell{width:calc(100% - 24px)}.brand small{display:none}.hero-card{min-height:auto;grid-template-columns:1fr}.hero-copy{padding:32px 22px 28px}.hero-copy h1{font-size:32px}.hero-copy>p{font-size:13px}.hero-visual{display:none}.hero-actions{flex-direction:row;flex-wrap:wrap}.hero-actions .primary-button,.hero-actions .ghost-button{padding:11px 16px}.trust-row{margin-top:18px;gap:8px 13px}.store-notice{margin:14px 0;padding:17px 16px}.store-notice-head{align-items:flex-start}.notice-badge{display:inline-block}.notice-summary{font-size:12px}.notice-rules{gap:4px}.notice-security{display:block}.notice-security b{display:block;margin-bottom:3px}.category-panel{padding:15px}.category-list{padding-bottom:4px}.category-item{flex:0 0 auto}.products-panel{padding:16px}.product-card{grid-template-columns:58px 1fr}.product-icon{width:58px;height:58px}.welcome-header{padding:25px 24px 21px}.welcome-header h2{font-size:24px}.welcome-header p{gap:10px;flex-wrap:wrap}.welcome-body{padding:19px 20px}.welcome-footer{padding:12px 18px 16px}}
@media(max-width:470px){.hero-copy h1{font-size:29px}.hero-actions{display:grid;grid-template-columns:1fr 1fr}.hero-actions .primary-button,.hero-actions .ghost-button{width:100%;font-size:12px}.trust-row{font-size:10px}.notice-badge{display:none}.notice-rules article{grid-template-columns:28px 1fr}.welcome-dialog{width:calc(100% - 18px);max-height:calc(100vh - 18px)}.welcome-body{max-height:calc(100vh - 250px)}.welcome-header h2{font-size:22px}}

/* 2026-09-07 compact hero, adaptive hero image, editable contacts */
.hero-card{min-height:176px;height:176px;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr)}
.hero-copy{padding:18px 38px 17px}
.hero-copy .eyebrow{margin-bottom:7px;font-size:9px}
.hero-copy h1{font-size:34px;line-height:1.06;margin:0 0 7px}
.hero-copy>p{font-size:12px;line-height:1.55;max-width:650px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero-actions{margin-top:12px;gap:9px}
.hero-actions .primary-button,.hero-actions .ghost-button{padding:9px 16px;font-size:12px;border-radius:11px}
.trust-row{display:none}
.hero-visual{min-height:176px;overflow:hidden}
.hero-visual .payment-card{width:190px;padding:12px 16px 11px;transform:translateY(0) rotate(2deg)}
.hero-visual .payment-card-top{font-size:9px}
.hero-visual .mini-qr{width:54px;height:54px;margin:7px auto}
.hero-visual .payment-card strong{font-size:16px}
.hero-visual .payment-card small{font-size:9px;margin-top:2px}
.hero-visual .progress{margin-top:8px}
.hero-visual .float-pill{font-size:9px;padding:8px 10px}
.hero-visual .pill-one{left:1%;top:32%}
.hero-visual .pill-two{right:1%;bottom:17%}
.hero-custom-image{display:block;width:92%;height:150px;max-width:430px;margin:auto;object-fit:contain;object-position:center;border-radius:18px}
.hero-visual.has-custom-image .payment-card,.hero-visual.has-custom-image .float-pill,.hero-visual.has-custom-image .visual-glow{display:none}
.notice-contacts{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px;padding:10px 13px;border:1px solid #e6ebf5;border-radius:12px;background:#f8faff;font-size:13px}
.notice-contacts b{color:#192649}
.notice-contacts a{color:#2459d6;text-decoration:none;padding:4px 9px;border-radius:8px;background:#fff;border:1px solid #e2e8f3}
.notice-contacts a.empty{color:#8a94a8}
.admin-form .secondary-action{margin-top:8px;background:#eef3ff;color:#24447d;border:1px solid #d7e1f5;box-shadow:none}
.admin-form .full{grid-column:1/-1}.admin-form .locked-input{background:#f2f4f8;color:#536078;border-color:#cfd6e2;cursor:not-allowed}
@media(max-width:900px){.hero-card{min-height:170px;height:170px}.hero-copy{padding:18px 26px}.hero-copy h1{font-size:29px}.hero-visual{min-height:170px}.hero-visual .payment-card{width:172px}.hero-custom-image{height:142px}}
@media(max-width:760px){.hero-card{min-height:148px;height:auto}.hero-copy{padding:19px 19px 17px}.hero-copy h1{font-size:28px}.hero-copy>p{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.hero-actions{margin-top:10px}.hero-visual{display:none}.notice-contacts{gap:7px}.notice-contacts b{width:100%}}
@media(max-width:470px){.hero-copy h1{font-size:25px}.hero-copy .eyebrow{margin-bottom:6px}.hero-actions .primary-button,.hero-actions .ghost-button{padding:9px 10px}.notice-contacts a{font-size:12px}}

/* Admin product editor */
.form-actions{display:flex;gap:9px;align-items:center}.form-actions button{flex:1}.admin-form .form-actions .secondary-action{margin-top:0}.table-actions{display:flex;gap:6px;align-items:center}

/* Reference-style USDT payment page: address + QR + exact amount */
.payment-page-dialog{width:min(620px,calc(100% - 28px));padding:46px 36px 30px;background:#fff;border-radius:8px;box-shadow:0 18px 60px rgba(19,31,61,.18);text-align:center}
.payment-page-title>div{font-size:32px;line-height:1.2;font-weight:800;color:#111;margin-bottom:18px}
.payment-page-title p{margin:0;font-size:19px;font-weight:700;color:#111}.payment-page-title strong{color:#f11;font-size:22px}
.payment-countdown{display:inline-block;margin:26px auto 32px;padding:10px 25px;border-radius:6px;background:#f7f7f7;font-size:16px;font-weight:700;color:#111}.payment-countdown b{color:#f11;font-size:18px}
.payment-page-body{display:flex;flex-direction:column;align-items:center}.payment-page-label{width:100%;font-size:18px;font-weight:800;color:#111;margin-bottom:15px;text-align:center}
.payment-address-row{display:flex;align-items:center;justify-content:center;gap:13px;width:100%;min-height:66px;padding:12px 15px;background:#f7f8fa;border-radius:6px}.payment-address-row code{color:#f11;font-family:Consolas,'Microsoft YaHei',monospace;font-size:14px;overflow-wrap:anywhere;word-break:break-all}.payment-address-row button,.payment-order-line button,.payment-amount-line button{border:0;border-radius:5px;padding:9px 14px;background:#0d7cf2;color:#fff;font-size:13px;font-weight:700;white-space:nowrap}
.payment-qr-frame{width:270px;height:270px;margin:31px auto 25px;padding:12px;border:1px solid #d8d8d8;border-radius:8px;background:#fff;display:grid;place-items:center}.payment-qr-frame img{display:block;width:100%;height:100%;object-fit:contain}
.payment-amount-line{display:flex;align-items:center;justify-content:center;gap:10px;font-size:20px;font-weight:800;color:#111}.payment-amount-line strong{color:#f11;font-size:23px}.payment-amount-line button{padding:6px 9px;font-size:11px;background:#eef4ff;color:#146fe2}
.payment-page-tip{margin:23px 0 0;color:#666;font-size:13px;line-height:1.7}.payment-network-line{margin-top:15px;color:#777;font-size:12px}.payment-network-line b{color:#333}.payment-order-line{display:flex;align-items:center;gap:8px;margin-top:13px;color:#777;font-size:12px}.payment-order-line b{color:#333}.payment-order-line button{padding:4px 8px;font-size:10px;background:#eef4ff;color:#146fe2}
.payment-page-status{margin-top:18px;width:100%;justify-content:center!important;min-height:32px!important;background:#f7f8fa!important;border:1px solid #edf0f5}.payment-page-status small{display:none}.payment-page-dialog .delivery-result{margin-top:15px;width:100%}
@media(max-width:600px){.payment-page-dialog{padding:38px 16px 24px}.payment-page-title>div{font-size:28px}.payment-page-title p{font-size:16px}.payment-countdown{margin:21px auto 25px;font-size:14px}.payment-address-row{align-items:stretch;flex-direction:column}.payment-address-row button{width:100%}.payment-qr-frame{width:230px;height:230px;margin-top:25px}.payment-amount-line{font-size:17px;flex-wrap:wrap}.payment-amount-line strong{font-size:21px}}
/* modern form validation and standalone payment page */
.field-error{display:block!important;margin-top:8px;color:#c03b55;font-size:12px;font-weight:600;line-height:1.5}.input-error{border-color:#d94c69!important;box-shadow:0 0 0 4px rgba(217,76,105,.10)!important}.payment-standalone{min-height:100vh;padding:34px 16px;background:#f4f7fb}.payment-standalone-shell{max-width:620px;margin:0 auto}.payment-back{display:inline-flex;margin:0 0 18px;color:#53647f;font-size:14px;font-weight:700;text-decoration:none}.payment-standalone-card{position:relative;padding:42px 34px 28px;background:#fff;border:1px solid #e5eaf2;border-radius:24px;box-shadow:0 20px 60px rgba(39,62,99,.12);text-align:center}.payment-standalone-card .payment-page-title>div{font-size:32px;font-weight:900;color:#17253e}.payment-standalone-card .payment-page-title p{margin:8px 0 0;color:#7a879b}.payment-home-button{display:inline-flex;margin-top:25px;padding:11px 20px;border:1px solid #d7deea;border-radius:999px;color:#415776;text-decoration:none;font-weight:700;font-size:13px}.payment-page-body.hidden,.delivery-result.hidden{display:none}.payment-standalone-card .payment-address-row{margin-top:8px}.payment-standalone-card .payment-label{text-align:left;margin-top:22px;color:#65748b;font-size:12px;font-weight:800;letter-spacing:.04em}.payment-standalone-card .payment-page-status{display:flex;align-items:center;justify-content:center;min-height:40px;margin:18px 0 6px;padding:0 14px;border-radius:12px;background:#f7f9fc;color:#5c6e89;font-size:13px;font-weight:800}.payment-standalone-card .payment-page-status.success{background:#eafaf1;color:#13834a}.payment-standalone-card .payment-countdown{margin:22px auto 18px;padding:14px;border-radius:15px;background:#f8f9fc}.payment-standalone-card .payment-countdown span,.payment-standalone-card .payment-countdown small{display:block;color:#8995a8;font-size:12px}.payment-standalone-card .payment-countdown strong{display:block;margin:3px 0;color:#e04b4f;font:900 28px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace}.payment-standalone-card .delivery-result{margin-top:10px;text-align:left}.payment-standalone-card .delivery-item{padding:16px;border:1px solid #e7ecf3;border-radius:14px;margin-top:10px}.payment-standalone-card .delivery-value{display:flex;gap:8px;align-items:center;margin:7px 0 12px}.payment-standalone-card .delivery-value code{flex:1;overflow-wrap:anywhere;font-size:12px}.payment-standalone-card .delivery-value button{border:0;border-radius:8px;padding:7px 10px;background:#edf3ff;color:#2369d1;font-size:12px;font-weight:700}@media(max-width:600px){.payment-standalone-card{padding:34px 16px 24px}.payment-standalone-card .payment-page-title>div{font-size:28px}.payment-standalone-card .payment-qr-frame{width:230px;height:230px}}

/* polished inline validation */
label.field-has-error{color:#b72d4b}
.field-error{position:relative;display:block!important;max-height:0;margin:0;padding:0 12px 0 34px;overflow:hidden;border:1px solid transparent;border-radius:11px;background:rgba(255,241,245,0);color:#b72d4b;font-size:12px;font-weight:700;line-height:1.55;opacity:0;transform:translateY(-5px);transition:max-height .2s ease,margin .2s ease,padding .2s ease,opacity .18s ease,transform .18s ease,background .18s ease,border-color .18s ease}
.field-error::before{content:'!';position:absolute;left:11px;top:9px;width:15px;height:15px;border-radius:50%;background:#d84161;color:#fff;font:800 10px/15px ui-sans-serif,system-ui;text-align:center;box-shadow:0 3px 8px rgba(216,65,97,.24)}
.field-error.is-visible{max-height:90px;margin-top:8px;padding-top:7px;padding-bottom:7px;border-color:#ffd1dc;background:#fff4f7;opacity:1;transform:translateY(0)}
.input-error{border-color:#df4967!important;background:#fffafb!important;box-shadow:0 0 0 4px rgba(223,73,103,.11)!important;animation:fieldShake .24s ease}
.input-error:focus{border-color:#cf3657!important;box-shadow:0 0 0 4px rgba(207,54,87,.14)!important}
@keyframes fieldShake{0%,100%{transform:translateX(0)}35%{transform:translateX(-3px)}70%{transform:translateX(3px)}}
@media(prefers-reduced-motion:reduce){.field-error,.input-error{transition:none!important;animation:none!important}}


/* ========================================================================== 
   Orange Sea UI Refresh · 2026-09
   Final cascade layer: compact storefront, professional checkout and admin UI.
   ========================================================================== */
:root{--bg:#f5f7fb;--surface:#fff;--ink:#172033;--muted:#6d778c;--line:#e5e9f1;--orange:#ff7a1a;--orange-dark:#e85c00;--orange-soft:#fff3e8;--navy:#15213c;--navy-2:#263d68;--green:#16a36a;--green-soft:#eaf9f2;--red:#d9415d;--red-soft:#fff0f3;--shadow-sm:0 8px 24px rgba(25,39,70,.06);--shadow:0 20px 55px rgba(25,39,70,.11)}
body{color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}.shell{width:min(1240px,calc(100% - 40px))}
.ambient-one{background:#ffb575;opacity:.18}.ambient-two{background:#90b7ff;opacity:.18}
/* header */
.topbar{height:70px;border-bottom:1px solid rgba(222,227,237,.9);background:rgba(255,255,255,.9)}.nav-wrap{gap:24px}.brand{min-width:250px}.brand-mark{width:40px;height:40px;border-radius:13px;background:linear-gradient(145deg,#ff8a2b,#f05b09);box-shadow:0 9px 22px rgba(240,91,9,.24)}.brand b{font-size:16px}.brand small{font-size:10px}.nav-links{gap:26px;margin-left:auto}.nav-links a,.nav-button{font-size:13px;font-weight:650}.nav-links a:hover,.nav-button:hover{color:var(--orange-dark)}.nav-links .primary-mini{padding:9px 15px;border-radius:10px;background:var(--navy)}.top-security{display:none;align-items:center;gap:7px;color:var(--green);font-size:11px;font-weight:800;white-space:nowrap}.top-security i,.admin-online i{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(22,163,106,.12)}
/* short hero */
.page-shell{padding-top:20px}.hero-card{height:176px;min-height:176px;grid-template-columns:minmax(0,1.4fr) minmax(270px,.6fr);border-radius:22px;background:linear-gradient(120deg,#17233d 0%,#223b69 64%,#2f5384 100%);box-shadow:0 18px 45px rgba(23,35,61,.2)}.hero-card:before{background:radial-gradient(circle at 10% -20%,rgba(255,145,60,.24),transparent 38%),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px);background-size:auto,32px 32px,32px 32px}.hero-copy{padding:18px 36px 16px}.eyebrow,.modal-eyebrow,.section-kicker,.admin-kicker,.payment-title-kicker{color:#ffad72;font-size:9px;font-weight:850;letter-spacing:.18em}.hero-copy h1{margin:5px 0;font-size:34px;line-height:1.08}.hero-copy h1 em{color:#ffad72}.hero-copy>p{max-width:660px;margin:0;color:#c5cede;font-size:12px;line-height:1.55;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hero-actions{gap:9px;margin-top:11px}.hero-actions .primary-button,.hero-actions .ghost-button{padding:8px 15px;min-height:36px;border-radius:10px;font-size:12px}.primary-button{background:linear-gradient(135deg,#ff8526,#ef5c08);box-shadow:0 9px 20px rgba(239,92,8,.25)}.trust-row{display:none}.hero-visual{min-height:176px}.hero-visual .payment-card{width:184px;padding:11px 15px;border-radius:17px}.hero-visual .mini-qr{width:51px;height:51px;margin:6px auto}.hero-visual .payment-card strong{font-size:15px}.hero-visual .float-pill{padding:6px 8px;font-size:8px}.hero-custom-image{width:92%;height:148px;max-width:430px;border-radius:15px;object-fit:contain;object-position:center}
/* announcement */
.store-notice{margin:15px 0;padding:19px 21px;border-radius:18px;box-shadow:var(--shadow-sm)}.store-notice-head{padding-bottom:13px}.notice-icon{width:34px;height:34px;border-radius:10px;color:var(--orange-dark);background:var(--orange-soft);font-size:17px}.notice-title-wrap h2{font-size:17px}.notice-badge{padding:5px 10px;color:#ca5a0c;background:#fff9f4;border-color:#ffd6b8;font-size:10px}.notice-summary{margin:13px 0 14px;font-size:12px}.notice-rules{gap:5px 24px}.notice-rules article{grid-template-columns:28px minmax(0,1fr);gap:9px;padding:6px 0}.notice-rules article>span{width:27px;height:27px;border-radius:8px;font-size:9px}.notice-rules b{font-size:12px}.notice-rules p{font-size:11px}.notice-security{margin-top:12px;padding:10px 12px;border-radius:11px}.notice-security b{font-size:11px}.notice-security p{font-size:10px}.notice-contacts{margin-top:11px;font-size:11px}.notice-contacts a{padding:4px 9px;border-radius:8px}
/* catalog */
.store-layout{grid-template-columns:210px minmax(0,1fr);gap:15px}.category-panel,.products-panel{border-radius:18px;box-shadow:var(--shadow-sm)}.category-panel{top:86px;padding:15px}.panel-title{padding:2px 3px 11px}.panel-title span{font-size:14px}.panel-title small{font-size:9px}.category-list{gap:5px;margin-top:10px}.category-item{padding:9px 10px;border-radius:9px;font-size:11px}.category-item.active{background:linear-gradient(135deg,var(--navy),var(--navy-2));box-shadow:0 8px 18px rgba(21,33,60,.17)}.category-count{min-width:23px;padding:1px 6px;font-size:9px}.safe-box{display:flex;gap:9px;margin-top:12px;padding:11px;border-radius:11px;color:#6f4b2f;background:var(--orange-soft)}.safe-box>span{flex:none}.safe-box b{display:block;color:#aa4c0d;font-size:10px}.safe-box p{margin:2px 0 0;font-size:9px;line-height:1.5}.products-panel{padding:18px}.products-head{margin-bottom:13px}.products-head h2,.steps-head h2{font-size:19px}.search-box{width:min(260px,42%);padding:0 11px;border-radius:10px;background:#f9fafc}.search-box:focus-within{border-color:#f1a06a;box-shadow:0 0 0 3px rgba(255,122,26,.1)}.search-box input{padding:9px 0;font-size:11px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.product-card{grid-template-columns:50px minmax(0,1fr) auto;gap:12px;padding:13px;border-radius:14px}.product-card:hover{transform:translateY(-2px);border-color:#f5c09b;box-shadow:0 13px 30px rgba(30,43,68,.09)}.product-icon{width:50px;height:50px;border-radius:12px;background:linear-gradient(145deg,#fff3e8,#ffe6d2);font-size:23px}.product-category{font-size:8px}.product-info h3{margin:2px 0;font-size:13px}.product-info p{font-size:10px;-webkit-line-clamp:1}.product-tags{gap:5px;margin-top:5px}.tag,.stock-tag{padding:2px 6px;border-radius:6px;font-size:8px}.tag{color:#b9520e;background:var(--orange-soft)}.stock-tag{color:var(--green);background:var(--green-soft)}.product-buy{gap:5px}.price{color:var(--orange-dark);font-size:17px}.price small{font-size:8px}.buy-button{padding:7px 11px;border-radius:8px;background:var(--navy);font-size:9px}.loading-card,.empty-state{padding:38px 20px;border-radius:13px;font-size:12px}
.steps-section{margin:16px 0 28px;padding:20px 21px;border-radius:18px;box-shadow:var(--shadow-sm)}.steps-grid{gap:9px}.steps-grid article{padding:13px;border-radius:11px}.steps-grid article>span{color:var(--orange);font-size:9px}.steps-grid b{font-size:12px}.steps-grid p{font-size:9px}.footer-inner{min-height:94px}.footer-inner b{font-size:14px}.footer-inner p{font-size:10px}
/* dialogs */
.modal-card{border-radius:20px;box-shadow:0 30px 90px rgba(5,12,26,.28)}.modal.show .modal-card{transform:none}.close-button,.welcome-close{border-radius:9px}.buy-dialog input:focus,.query-dialog input:focus{border-color:#f19a5d;box-shadow:0 0 0 4px rgba(255,122,26,.1)}.selected-product{border-radius:11px}.selected-product>span,.order-summary strong{color:var(--orange-dark)}.order-summary{border-color:#ffd9bd;background:var(--orange-soft)}.welcome-header{background:linear-gradient(120deg,var(--navy),#294a7e)}.welcome-kicker{color:#ffb479}.welcome-body li:before{color:var(--orange)}.welcome-confirm{background:linear-gradient(135deg,var(--orange),var(--orange-dark))}
/* checkout */
.payment-standalone{min-height:100vh;padding:24px 16px 40px;background:radial-gradient(circle at 85% 4%,#fff0e3 0,transparent 30%),radial-gradient(circle at 5% 45%,#edf3ff 0,transparent 31%),#f5f7fb}.payment-standalone-shell{max-width:620px}.payment-standalone-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.payment-brand{display:flex;align-items:center;gap:9px;text-decoration:none}.payment-brand>span,.admin-brand>span,.login-mark{display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#ff8a2b,#f05b09);box-shadow:0 9px 22px rgba(240,91,9,.24)}.payment-brand>span{width:36px;height:36px;border-radius:11px;font-weight:900}.payment-brand b,.payment-brand small{display:block}.payment-brand b{font-size:13px}.payment-brand small{color:#8a94a7;font-size:9px}.payment-back{margin:0;padding:7px 10px;border:1px solid var(--line);border-radius:9px;background:rgba(255,255,255,.8);font-size:10px}.payment-standalone-card{padding:24px 31px 25px;overflow:hidden;border-radius:21px;box-shadow:var(--shadow)}.payment-standalone-card:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,var(--orange),#ffb55f,var(--blue))}.checkout-steps{display:grid;grid-template-columns:auto 1fr auto 1fr auto;align-items:center;gap:8px;margin:1px 0 21px;color:#a0a7b5;font-size:8px;font-weight:750}.checkout-steps span{display:flex;align-items:center;gap:5px;white-space:nowrap}.checkout-steps i{display:grid;place-items:center;width:20px;height:20px;border:1px solid #d8deea;border-radius:50%;font-style:normal}.checkout-steps>b{height:1px;background:var(--line)}.checkout-steps .done{color:var(--green)}.checkout-steps .done i{border-color:#b9e4d2;background:var(--green-soft)}.checkout-steps .active{color:var(--orange-dark)}.checkout-steps .active i{border-color:var(--orange);color:#fff;background:var(--orange);box-shadow:0 0 0 4px var(--orange-soft)}.payment-page-title>div,.payment-standalone-card .payment-page-title>div{margin-top:4px;color:var(--ink);font-size:27px;font-weight:900}.payment-page-title p,.payment-standalone-card .payment-page-title p{margin:4px 0 0;color:var(--muted);font-size:11px}.payment-standalone-card .payment-countdown{margin:16px auto;padding:11px 14px;border:1px solid #ffe1c9;border-radius:12px;background:#fff8f2}.payment-standalone-card .payment-countdown strong{font-size:25px;color:#d95416}.payment-address-row{gap:7px}.payment-address-row code{padding:10px 11px;border-radius:9px;font-size:10px}.payment-address-row button,.payment-amount-line button,.payment-order-line button{color:#bc540e;background:var(--orange-soft)}.payment-qr-frame,.payment-standalone-card .payment-qr-frame{width:218px;height:218px;margin:17px auto;padding:13px;border-radius:17px}.payment-amount-line{padding:12px;border-color:#ffd8bb;border-radius:11px;color:#725139;background:var(--orange-soft);font-size:11px}.payment-amount-line strong{color:var(--orange-dark);font-size:21px}.payment-network-line,.payment-order-line{margin-top:8px;padding:9px 11px;border-radius:9px;font-size:10px}.payment-page-tip{border-left-color:var(--orange);color:#78543a;background:#fff8f2;font-size:9px}.payment-page-status,.payment-standalone-card .payment-page-status{min-height:38px;margin:13px 0 5px;border-radius:10px;font-size:10px}.checkout-security{display:flex;justify-content:center;flex-wrap:wrap;gap:6px 12px;margin-top:13px;color:var(--green);font-size:8px;font-weight:750}.payment-home-button{margin-top:18px;padding:8px 14px;font-size:9px}
/* admin shell */
.admin-body{min-height:100vh;background:#f3f5f9}.admin-shell{width:min(1380px,calc(100% - 40px))}.admin-top{height:66px;border-bottom:1px solid #263654;color:#fff;background:rgba(20,32,57,.97)}.admin-top-inner{display:flex;align-items:center;justify-content:space-between;height:100%}.admin-brand{display:flex;align-items:center;gap:10px}.admin-brand>span{width:36px;height:36px;border-radius:11px;font-weight:900}.admin-brand b,.admin-brand small{display:block}.admin-brand b{font-size:13px}.admin-brand small{margin-top:1px;color:#94a4be;font-size:8px;letter-spacing:.08em}.admin-top-actions{display:flex;align-items:center;gap:15px}.admin-top-actions a{padding:7px 10px;border:1px solid rgba(255,255,255,.12);border-radius:8px;color:#d5ddeb;font-size:9px;font-weight:750;text-decoration:none}.admin-online{display:flex;align-items:center;gap:7px;color:#aebbd0;font-size:9px;font-weight:750}.admin-main{padding:23px 0 45px}.admin-title-row{align-items:flex-end;margin-bottom:16px}.admin-title-row h1{margin:2px 0 0;font-size:26px}.admin-title-row p{margin:3px 0 0;font-size:10px}.admin-kicker{color:var(--orange)}.admin-actions{gap:8px}.refresh-btn{padding:8px 12px;border-radius:9px;font-size:9px;box-shadow:0 5px 14px rgba(25,39,70,.04)}.refresh-btn.danger{color:#b73750}.security-strip{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:15px;padding:11px 13px;border:1px solid #bee7d5;border-radius:13px;background:linear-gradient(90deg,#edf9f4,#f8fcfa)}.security-strip-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;color:#fff;background:var(--green);font-weight:900}.security-strip b{display:block;color:#166948;font-size:11px}.security-strip p{margin:1px 0 0;color:#5c786c;font-size:9px}.security-strip-badge{padding:5px 8px;border:1px solid #b9e1d0;border-radius:99px;color:var(--green);background:#fff;font:800 8px/1 ui-monospace,Consolas,monospace;letter-spacing:.06em}
/* dashboard cards */
.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:15px}.stat-card{position:relative;min-height:104px;padding:14px 15px;overflow:hidden;border-radius:13px;box-shadow:var(--shadow-sm)}.stat-card:after{content:"";position:absolute;right:-20px;bottom:-27px;width:75px;height:75px;border-radius:50%;background:#f3f6fb}.stat-card-head{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:7px;color:#707b8f;font-size:9px;font-weight:750}.stat-card-head i{width:7px;height:7px;border-radius:50%;background:#a9b3c3}.stat-card>b{position:relative;z-index:1;display:block;margin-top:7px;font-size:22px;line-height:1.15}.stat-card>small{position:relative;z-index:1;display:block;margin-top:5px;color:#929bad;font-size:8px}.stat-products .stat-card-head i{background:var(--blue)}.stat-stock .stat-card-head i,.stat-delivered .stat-card-head i{background:var(--green)}.stat-pending .stat-card-head i{background:var(--orange)}.stat-period{min-height:126px}.stat-period .stat-card-head em{padding:3px 6px;border-radius:99px;color:var(--green);background:var(--green-soft);font-size:7px;font-style:normal}.stat-period>b{color:var(--green);font-size:18px}.stat-period>b small{font-size:8px}.stat-breakdown{position:relative;z-index:1;display:grid;grid-template-columns:1fr auto;gap:3px 8px;margin-top:8px;padding-top:7px;border-top:1px solid #edf0f4;font-size:8px}.stat-breakdown span{color:#8b95a6}.stat-breakdown strong{color:#b05a21;text-align:right}
/* admin panels/forms */
.admin-grid{gap:13px}.admin-panel{padding:17px;border-radius:14px;box-shadow:var(--shadow-sm)}.admin-panel-head{margin:-2px -2px 14px;padding-bottom:12px}.admin-panel-head>div{display:flex;align-items:center;gap:8px}.panel-icon{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;color:var(--orange-dark);background:var(--orange-soft);font-size:12px;font-weight:900}.admin-panel-head h2{font-size:14px}.admin-panel-head small{font-size:8px;text-align:right}.admin-form{gap:11px}.admin-form label{font-size:9px}.admin-form label>small{font-size:8px}.admin-form input,.admin-form textarea,.admin-form select{margin-top:5px;padding:9px 10px;border-radius:9px;font-size:10px}.admin-form input:focus,.admin-form textarea:focus,.admin-form select:focus{border-color:#f09b60;box-shadow:0 0 0 3px rgba(255,122,26,.1)}.admin-form>button,.admin-form .form-actions>button{min-height:36px;padding:8px 13px;border-radius:9px;background:linear-gradient(135deg,var(--navy),#29436f);font-size:9px}.admin-form .form-actions{display:flex;gap:8px}.admin-form .secondary-action{margin-top:0!important;border:1px solid #d8deea!important;color:#58657a!important;background:#f8fafc!important}.payment-config{margin:8px 0 12px;padding:10px 11px;border-radius:10px;font-size:9px}.payment-config.is-locked{border-color:#ffd4b5;color:#89502d;background:#fff7f0}.payment-config.is-ready{border-color:#bee6d4;color:#286c51;background:#f0faf5}.config-overview{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.config-overview span{padding:8px 9px;border:1px solid #e3e9f2;border-radius:8px;color:#8993a5;background:#fff}.config-overview b{display:block;margin-top:2px;color:#34445e;font-size:10px}.pool-summary{display:flex;flex-wrap:wrap;gap:6px}.pool-summary span{padding:4px 7px;border-radius:7px;background:#fff}.pool-summary .available{color:var(--green)}.pool-summary .in-use{color:var(--orange-dark)}.pool-summary .quarantine{color:#a6670b}.pool-list{display:grid;gap:5px;margin-top:8px}.pool-list>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 8px;border-radius:7px;background:#fff}.pool-list code{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pool-status{flex:none;font-size:8px;font-weight:800}.pool-status.available{color:var(--green)}.pool-status.in_use{color:var(--orange-dark)}.pool-status.quarantine{color:#a6670b}
/* admin tables */
.table-wrap{border-radius:10px}.admin-table{min-width:980px;font-size:9px}.admin-table th{position:sticky;top:0;z-index:2;padding:9px 10px;color:#7d8799;background:#f7f9fc;font-size:8px}.admin-table td{padding:10px;color:#556176}.admin-table tbody tr:hover{background:#fbfcfe}.admin-table tbody tr.integrity-alert{background:#fff6f7}.admin-table td>small{display:block;margin-top:2px;color:#949dad}.product-cell{min-width:210px}.product-cell b{display:flex;align-items:center;gap:7px;color:#26334a}.product-cell small{max-width:270px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-product-icon{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:var(--orange-soft)}.table-category{padding:3px 6px;border-radius:6px;color:#526689;background:#edf3ff}.order-number,.txid-cell{font-size:8px}.txid-cell{display:inline-block;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status-chip,.integrity-chip{display:inline-flex;align-items:center;padding:4px 7px;border-radius:99px;font-size:8px;font-weight:850;white-space:nowrap}.status-chip{color:#4f607c;background:#eef2f7}.status-chip.delivered,.integrity-chip.valid{color:#08784a;background:var(--green-soft)}.status-chip.pending{color:#b65311;background:var(--orange-soft)}.status-chip.warning{color:#9b610a;background:#fff8e8}.status-chip.muted{color:#767f8e;background:#eff1f4}.integrity-chip.invalid{color:#ba2945;background:var(--red-soft)}.blocked-action{color:var(--red);font-size:8px;font-weight:850}.table-actions{gap:5px}.table-actions button,.confirm-button{padding:5px 7px;border:1px solid #d8deea;border-radius:7px;color:#506078;background:#fff;font-size:8px;font-weight:800;white-space:nowrap}.confirm-button{border-color:#f3bd94;color:#b24e0b;background:var(--orange-soft)}.table-empty{padding:28px!important;color:#8b95a6!important;text-align:center}
/* admin login */
.login-cover{background:radial-gradient(circle at 80% 15%,rgba(255,128,34,.17),transparent 28%),rgba(12,21,39,.94);backdrop-filter:blur(9px)}.login-box{width:min(390px,100%);padding:30px;border:1px solid rgba(255,255,255,.75);border-radius:20px;box-shadow:0 30px 90px rgba(3,8,18,.35);text-align:center}.login-mark{width:45px;height:45px;margin:0 auto 12px;border-radius:14px;font-size:19px;font-weight:900}.login-box h1{margin:4px 0;font-size:21px}.login-box>p{margin:0 0 15px;font-size:10px}.login-field{display:block;color:#566278;font-size:9px;font-weight:800;text-align:left}.login-field input{width:100%;margin-top:5px;padding:11px 12px;border:1px solid #d8deea;border-radius:10px;outline:0;font-size:11px}.login-field input:focus{border-color:#f09a5c;box-shadow:0 0 0 4px rgba(255,122,26,.1)}.login-box>button{margin-top:12px;background:linear-gradient(135deg,var(--orange),var(--orange-dark));font-size:10px}.login-box>small{font-size:8px}.admin-toast{left:auto;right:24px;transform:translateY(10px)}.admin-toast.show{transform:translateY(0)}.admin-toast.error{background:#a82f47}
/* final validation colors */
.field-error:before{background:var(--red)}.input-error{border-color:#db4964!important;background:#fffafb!important;box-shadow:0 0 0 3px rgba(219,73,100,.1)!important}
@media(max-width:1050px){.product-grid{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.shell,.admin-shell{width:calc(100% - 24px)}.topbar{height:64px}.brand{min-width:0}.brand small{display:none}.nav-links{position:absolute;left:12px;right:12px;top:69px;display:none;flex-direction:column;align-items:stretch;gap:2px;padding:10px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:var(--shadow)}.nav-links.open{display:flex}.nav-links a,.nav-button{width:100%;padding:10px;border-radius:8px;text-align:left}.nav-links .primary-mini{text-align:center}.top-security{display:flex;margin-left:auto}.mobile-menu{display:block}.page-shell{padding-top:12px}.hero-card{height:166px;min-height:166px;grid-template-columns:minmax(0,1fr) 220px}.hero-copy{padding:17px 22px}.hero-copy h1{font-size:27px}.hero-copy>p{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.hero-visual{display:grid;min-height:166px}.hero-visual .payment-card{width:165px}.float-pill{display:none}.notice-rules{grid-template-columns:1fr}.store-layout{grid-template-columns:1fr}.category-panel{position:static;padding:12px}.category-list{display:flex;overflow-x:auto;padding-bottom:2px}.category-item{width:auto;flex:0 0 auto}.safe-box{display:none}.steps-grid{grid-template-columns:repeat(2,1fr)}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-grid{grid-template-columns:1fr}.admin-panel.wide{grid-column:auto}.security-strip{grid-template-columns:32px 1fr}.security-strip-badge{display:none}.config-overview{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.hero-card{height:auto;min-height:145px;grid-template-columns:1fr}.hero-copy{padding:18px}.hero-copy h1{font-size:25px}.hero-visual{display:none}.hero-actions .primary-button,.hero-actions .ghost-button{flex:1;padding-inline:9px}.store-notice{padding:16px}.notice-badge{display:none}.notice-security{display:block}.notice-contacts{flex-wrap:wrap}.notice-contacts b{width:100%}.products-panel{padding:14px}.products-head{align-items:flex-end}.search-box{width:48%}.product-card{grid-template-columns:45px minmax(0,1fr);gap:10px}.product-icon{width:45px;height:45px}.product-buy{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;width:100%;padding-top:8px;border-top:1px solid #edf0f4}.buy-button{padding:8px 14px}.payment-standalone{padding:15px 10px 30px}.payment-standalone-card{padding:21px 15px 22px}.checkout-steps{gap:4px}.checkout-steps span{font-size:7px}.checkout-steps i{width:18px;height:18px}.payment-page-title>div,.payment-standalone-card .payment-page-title>div{font-size:24px}.payment-address-row{flex-direction:column}.payment-address-row button{width:100%;min-height:35px}.payment-qr-frame,.payment-standalone-card .payment-qr-frame{width:205px;height:205px}.admin-top-actions .admin-online{display:none}.admin-title-row{align-items:flex-start;flex-direction:column}.admin-title-row h1{font-size:23px}.admin-actions{width:100%}.admin-actions button{flex:1}.security-strip{align-items:start}.stats-grid{grid-template-columns:1fr 1fr}.stat-card{min-height:98px;padding:12px}.stat-card>b{font-size:19px}.stat-period{grid-column:1/-1;min-height:118px}.admin-panel{padding:14px}.admin-panel-head{align-items:flex-start}.admin-panel-head small{max-width:45%}.admin-form.two-cols{grid-template-columns:1fr}.admin-form .full{grid-column:auto}.pool-list>div{align-items:flex-start;flex-direction:column;gap:2px}.admin-toast{left:12px;right:12px;bottom:12px;text-align:center}}
@media(max-width:400px){.brand b{font-size:14px}.top-security{display:none}.products-head{align-items:stretch;flex-direction:column}.search-box{width:100%}.steps-grid{grid-template-columns:1fr}.checkout-security{display:grid}.stats-grid{grid-template-columns:1fr}.stat-period{grid-column:auto}}

/* category management */
.category-admin-layout{display:grid;grid-template-columns:minmax(245px,310px) minmax(0,1fr);gap:14px;align-items:start}.category-admin-form{padding:13px;border:1px solid #e5eaf2;border-radius:11px;background:#f9fbfd}.category-visible-control{display:flex!important;align-items:center;gap:8px;padding:8px 9px;border:1px solid #e3e8f0;border-radius:9px;background:#fff;cursor:pointer}.category-visible-control input{width:15px!important;height:15px;margin:0!important;padding:0!important;accent-color:var(--orange)}.category-visible-control span{color:#526078;font-size:9px;font-weight:750}.category-table-wrap{max-height:300px}.category-table{min-width:620px}.category-name-cell{display:flex;align-items:center;gap:7px;color:#26334a}.table-actions .danger-table-action{color:#b73750}.table-actions button:disabled{cursor:not-allowed;opacity:.42}.table-actions button:disabled:hover{transform:none}.category-table td{padding-top:8px;padding-bottom:8px}
@media(max-width:820px){.category-admin-layout{grid-template-columns:1fr}.category-table-wrap{max-height:none}}

/* 2026-09-09: management console readability */
.admin-body .admin-brand b{font-size:16px}.admin-body .admin-brand small{font-size:10px}.admin-body .admin-top-actions a,.admin-body .admin-online{font-size:12px}.admin-body .admin-title-row p{font-size:13px}.admin-body .admin-kicker{font-size:11px}.admin-body .security-strip b{font-size:14px}.admin-body .security-strip p{font-size:12px;line-height:1.65}.admin-body .security-strip-badge{font-size:10px}.admin-body .stat-card-head{font-size:12px}.admin-body .stat-card>b{font-size:26px}.admin-body .stat-card>small{font-size:11px}.admin-body .stat-period>b{font-size:21px}.admin-body .stat-period>b small,.admin-body .stat-period .stat-card-head em{font-size:10px}.admin-body .stat-breakdown{font-size:11px}.admin-body .admin-panel-head h2{font-size:18px}.admin-body .admin-panel-head small{font-size:11px}.admin-body .admin-form label{font-size:13px}.admin-body .admin-form label>small{font-size:11px;line-height:1.55}.admin-body .admin-form input,.admin-body .admin-form textarea,.admin-body .admin-form select{font-size:14px;padding:11px 12px}.admin-body .admin-form>button,.admin-body .admin-form .form-actions>button{min-height:41px;font-size:13px}.admin-body .payment-config{font-size:12px;line-height:1.65}.admin-body .config-overview b{font-size:13px}.admin-body .pool-summary,.admin-body .pool-list{font-size:12px}.admin-body .pool-status{font-size:11px}.admin-body .admin-table{font-size:12px}.admin-body .admin-table th{font-size:11px;padding:11px 12px}.admin-body .admin-table td{padding:12px;color:#46546a}.admin-body .admin-table td>small{font-size:10px}.admin-body .table-actions button,.admin-body .confirm-button{font-size:11px;padding:7px 9px}.admin-body .category-visible-control span{font-size:12px}.admin-body .login-box h1{font-size:25px}.admin-body .login-box>p,.admin-body .login-field,.admin-body .login-box>button{font-size:13px}.admin-body .login-field input{font-size:14px}.admin-body .login-box>small{font-size:11px}.admin-body .admin-toast{font-size:13px}

/* Secure browser-generated TXT delivery; no public file URL is created on the server. */
.delivery-success-head{text-align:center;margin-bottom:14px}.delivery-success-head p{margin:4px auto 0;color:#718096;font-size:12px}.delivery-value{flex-wrap:wrap}.delivery-value [data-download]{color:#fff!important;background:linear-gradient(135deg,#ff8526,#ef5c08)!important}.delivery-value button{white-space:nowrap}.payment-standalone-card .delivery-value a{min-width:0;flex:1;overflow-wrap:anywhere;color:#1d67c7;text-align:left}.payment-standalone-card .delivery-value code{min-width:160px;text-align:left;white-space:pre-wrap}

/* 2026-09-09: larger management typography for long daily use. */
.admin-body .admin-title-row h1{font-size:31px;line-height:1.2}.admin-body .admin-title-row p{font-size:14px}.admin-body .admin-panel-head h2{font-size:20px}.admin-body .admin-panel-head small{font-size:12px}.admin-body .admin-form label{font-size:14px}.admin-body .admin-form input,.admin-body .admin-form textarea,.admin-body .admin-form select{font-size:15px}.admin-body .admin-form>button,.admin-body .admin-form .form-actions>button{font-size:14px}.admin-body .admin-table{font-size:13px}.admin-body .admin-table th{font-size:12px}.admin-body .admin-table td>small{font-size:11px}.admin-body .table-actions button,.admin-body .confirm-button{font-size:12px}.admin-body .payment-config,.admin-body .pool-summary,.admin-body .pool-list{font-size:13px}.admin-body .admin-toast{font-size:14px}
@media(max-width:680px){.admin-body .admin-title-row h1{font-size:26px}.admin-body .admin-panel-head h2{font-size:18px}.admin-body .admin-table{font-size:12px}}

.payment-cancel-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:15px;padding:12px 13px;border:1px solid #f1d7c4;border-radius:11px;background:#fffaf6}.payment-cancel-panel div{display:grid;gap:3px;text-align:left}.payment-cancel-panel b{color:#5b4637;font-size:12px}.payment-cancel-panel small{color:#927763;font-size:10px;line-height:1.55}.payment-cancel-panel button,.pool-release-button{flex:none;border:1px solid #edc5ad;border-radius:8px;color:#a54c1e;background:#fff;padding:7px 10px;font-weight:800;cursor:pointer}.payment-cancel-panel button:hover,.pool-release-button:hover{border-color:#e49769;background:#fff2e9}.payment-cancel-panel button:disabled{cursor:wait;opacity:.55}.pool-list-entry{align-items:center!important}.pool-address-info{display:flex;min-width:0;flex:1;align-items:center;justify-content:space-between;gap:10px}.pool-release-button{font-size:11px}.pool-risk-note{margin:8px 1px 0;color:#98683f;font-size:11px;line-height:1.6}@media(max-width:600px){.payment-cancel-panel{align-items:stretch;flex-direction:column}.payment-cancel-panel button{width:100%}.pool-address-info{width:100%;align-items:flex-start;flex-direction:column}.pool-release-button{width:100%}}


/* 库存明细管理与固定钱包提示 */
.inventory-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) minmax(160px,.7fr) auto;gap:12px;align-items:end;margin-bottom:14px}.inventory-toolbar label{display:grid;gap:6px;color:#526078;font-size:13px;font-weight:800}.inventory-toolbar select{width:100%;border:1px solid #dfe5ee;border-radius:10px;padding:11px 12px;background:#fff;font-size:14px}.inventory-toolbar button{min-height:42px;padding:0 18px}.inventory-security-note{margin-bottom:14px;padding:12px 14px;border:1px solid #dce7ff;border-radius:11px;background:#f6f9ff;color:#536582;font-size:12px;line-height:1.65}.inventory-edit-form{margin:0 0 16px;padding:16px;border:1px solid #dce4f2;border-radius:14px;background:#f9fbff}.inventory-table{min-width:1050px}.inventory-id{display:inline-block;max-width:150px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.inventory-content{display:grid;gap:4px;max-width:390px}.inventory-content code,.inventory-content small{display:block;max-width:390px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inventory-content code{color:#31435f}.inventory-content small{color:#7c8799}.inventory-protected{color:#8b95a6;font-size:11px}.wallet-provider-fixed{display:grid;gap:5px;margin:0}.wallet-provider-fixed b{color:#263650;font-size:14px}.wallet-provider-fixed span{line-height:1.55}@media(max-width:760px){.inventory-toolbar{grid-template-columns:1fr}.inventory-toolbar button{width:100%}}
/* TXT 库存文件上传 */
.file-upload-status{display:block;margin-top:6px;color:#718096;font-size:12px;line-height:1.55}.admin-body input[type=file]{width:100%;padding:10px;border:1px dashed #cbd5e1;border-radius:10px;background:#f8fafc;color:#40516b;cursor:pointer}.admin-body input[type=file]::file-selector-button{margin-right:10px;border:0;border-radius:8px;padding:8px 12px;background:#fff0e6;color:#c95f20;font-weight:800;cursor:pointer}.admin-body textarea[readonly]{min-height:120px;background:#f8fafc;color:#5b6b82;cursor:default}.admin-body code{padding:2px 5px;border-radius:5px;background:#fff1e7;color:#b4541f;font-size:12px}
/* 2026-09-10: enterprise-style modular admin console */
.admin-body{min-height:100vh;background:#f3f6fa;color:#17243d;overflow-x:hidden}
.admin-body.admin-modal-open{overflow:hidden}
.admin-app{min-height:100vh}
.admin-sidebar{position:fixed;inset:0 auto 0 0;z-index:120;width:258px;display:flex;flex-direction:column;padding:22px 16px 18px;color:#dce6f7;background:linear-gradient(180deg,#0d1a31 0%,#122442 58%,#0b172c 100%);box-shadow:14px 0 40px rgba(20,36,65,.08)}
.admin-sidebar:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 30% 0,rgba(73,116,221,.2),transparent 32%),linear-gradient(135deg,rgba(255,255,255,.025) 25%,transparent 25%) 0 0/28px 28px}
.admin-sidebar>*{position:relative;z-index:1}
.admin-sidebar-brand{display:flex;align-items:center;gap:12px;padding:4px 9px 23px;border-bottom:1px solid rgba(255,255,255,.09)}
.admin-sidebar-brand>span{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,#ff963f,#f36d18);color:#fff;font-size:20px;font-weight:900;box-shadow:0 10px 25px rgba(241,112,30,.25)}
.admin-sidebar-brand b,.admin-sidebar-brand small{display:block;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-sidebar-brand b{color:#fff;font-size:17px;letter-spacing:.01em}.admin-sidebar-brand small{margin-top:2px;color:#8497b7;font-size:10px;letter-spacing:.08em}
.admin-nav{display:grid;gap:7px;padding-top:24px}
.admin-nav button{width:100%;display:flex;align-items:center;gap:12px;padding:11px 13px;border:1px solid transparent;border-radius:11px;background:transparent;color:#aab9d1;text-align:left;font-size:14px;font-weight:700;transition:.18s ease}
.admin-nav button i{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:rgba(255,255,255,.055);font-style:normal;color:#8296b8;font-size:14px;transition:.18s ease}
.admin-nav button:hover{color:#fff;background:rgba(255,255,255,.055)}
.admin-nav button.active{border-color:rgba(255,153,73,.18);background:linear-gradient(90deg,rgba(247,119,31,.2),rgba(247,119,31,.07));color:#fff;box-shadow:inset 3px 0 #ff8a32}
.admin-nav button.active i{background:#f57b25;color:#fff;box-shadow:0 6px 14px rgba(245,123,37,.25)}
.admin-sidebar-footer{display:grid;gap:12px;margin-top:auto;padding:17px 8px 2px;border-top:1px solid rgba(255,255,255,.09)}
.admin-system-status{display:flex;align-items:center;gap:10px}.admin-system-status>i{width:9px;height:9px;border-radius:50%;background:#31d49a;box-shadow:0 0 0 5px rgba(49,212,154,.11)}
.admin-system-status span{display:grid}.admin-system-status b{color:#dce7f8;font-size:12px}.admin-system-status small{color:#7589aa;font-size:10px}
.admin-sidebar-footer>a{display:flex;align-items:center;justify-content:space-between;color:#93a6c5;text-decoration:none;font-size:12px}.admin-sidebar-footer>a:hover{color:#fff}
.admin-sidebar-backdrop{display:none;position:fixed;inset:0;z-index:110;border:0;background:rgba(7,16,31,.52);backdrop-filter:blur(3px)}
.admin-workspace{min-height:100vh;margin-left:258px;padding:0 30px 42px}
.admin-workspace-top{position:sticky;top:0;z-index:80;min-height:96px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 0;background:rgba(243,246,250,.92);border-bottom:1px solid rgba(216,224,235,.8);backdrop-filter:blur(16px)}
.admin-page-heading{display:flex;align-items:center;gap:13px;min-width:0}.admin-page-heading>div{min-width:0}
.admin-page-heading span{display:block;margin-bottom:1px;color:#f17927;font-size:10px;font-weight:900;letter-spacing:.17em}
.admin-page-heading h1{margin:0;color:#14213a;font-size:25px;line-height:1.25;letter-spacing:-.02em}.admin-page-heading p{margin:3px 0 0;color:#78859a;font-size:12px}
.admin-menu-toggle{display:none;width:40px;height:40px;border:1px solid #dce3ed;border-radius:10px;background:#fff;color:#263a5e;font-size:18px}
.admin-body .admin-actions{display:flex;gap:9px;flex:none}.admin-body .refresh-btn{min-height:38px;padding:0 14px;border:1px solid #d9e1ec;border-radius:9px;background:#fff;color:#40516c;font-size:12px;font-weight:800;box-shadow:0 4px 12px rgba(27,45,76,.04)}
.admin-body .refresh-btn:hover{border-color:#bdc9d9;background:#fafdff}.admin-body .refresh-btn.danger{border-color:#f0d7d2;color:#bd5241;background:#fffafa}
.admin-view-stack{padding-top:24px}.admin-view{animation:adminViewIn .22s ease}.admin-view[hidden],.admin-modal[hidden]{display:none!important}@keyframes adminViewIn{from{opacity:.25;transform:translateY(5px)}to{opacity:1;transform:none}}
.admin-view[data-view="products"],.admin-view[data-view="inventory"]{display:grid;gap:20px}
.admin-body .security-strip{margin:0 0 20px;border:1px solid #d8e5f7;border-radius:14px;background:linear-gradient(100deg,#f8fbff,#f4f9ff);box-shadow:none}.admin-body .security-strip p{max-width:850px}.admin-body .security-strip-badge{border-radius:8px;background:#e7f2ff;color:#2e6eb3}
.admin-body .stats-grid{margin:0;grid-template-columns:repeat(4,minmax(155px,1fr));gap:14px}.admin-body .stat-card{min-height:142px;padding:19px;border:1px solid #e0e6ef;border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(31,49,80,.045)}.admin-body .stat-card b{font-size:28px}.admin-body .stat-card.stat-period{grid-column:span 1}
.admin-welcome-panel{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-top:20px;padding:26px 28px;border:1px solid #e0e6ef;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(31,49,80,.045)}
.admin-welcome-panel h2{margin:4px 0 6px;font-size:20px}.admin-welcome-panel p{margin:0;color:#738096;font-size:13px}.admin-quick-links{display:flex;flex-wrap:wrap;gap:9px}.admin-quick-links button{padding:10px 14px;border:1px solid #dce4ef;border-radius:9px;background:#f8fafc;color:#354967;font-size:12px;font-weight:800}.admin-quick-links button:hover{border-color:#f6b27e;color:#d86416;background:#fff8f3}
.admin-body .admin-panel{margin:0;border:1px solid #e0e6ef;border-radius:16px;background:#fff;box-shadow:0 8px 25px rgba(31,49,80,.045);overflow:hidden}.admin-body .compact-panel,.admin-body .settings-panel{padding:0}
.admin-body .admin-panel-head{min-height:72px;margin:0;padding:17px 20px;border-bottom:1px solid #edf0f4}.admin-body .admin-panel-head>div:first-child{display:flex;align-items:center;gap:11px}.admin-body .admin-panel-head h2{margin:0;font-size:17px}.admin-body .admin-panel-head p{margin:1px 0 0;color:#8994a5;font-size:11px;font-weight:500}.admin-body .panel-icon{width:34px;height:34px;border-radius:9px;background:#fff1e6;color:#e46d1c;font-size:15px}
.panel-head-actions{display:flex!important;align-items:center;gap:12px}.admin-body .panel-head-actions small{white-space:nowrap}
.primary-admin-action{min-height:36px;padding:0 13px;border:0;border-radius:9px;background:linear-gradient(135deg,#f58736,#ed6e18);color:#fff;font-size:12px;font-weight:900;box-shadow:0 7px 16px rgba(239,112,27,.19)}.primary-admin-action:hover{transform:translateY(-1px);box-shadow:0 9px 18px rgba(239,112,27,.25)}
.admin-body .table-wrap{border:0;border-radius:0}.admin-body .admin-table{min-width:840px;font-size:12px}.admin-body .admin-table th{padding:12px 15px;background:#f7f9fc;color:#738098;font-size:10px;letter-spacing:.04em}.admin-body .admin-table td{padding:13px 15px;border-bottom-color:#edf0f4}.admin-body .admin-table tr:last-child td{border-bottom:0}.admin-body .admin-table tbody tr:hover{background:#fbfcfe}
.admin-body .table-actions{display:flex;flex-wrap:wrap;gap:6px}.admin-body .table-actions button,.admin-body .confirm-button{min-height:30px;padding:0 9px;border-radius:7px;background:#fff;color:#42536e;font-size:11px}.admin-body .table-actions button:hover{border-color:#9fb1c9;color:#1c355c}.admin-body .table-actions .danger-table-action{color:#c94d4d;border-color:#f0d3d3}.admin-body .table-actions button:disabled{opacity:.42;cursor:not-allowed;background:#f6f7f9}
.admin-body .inventory-toolbar{grid-template-columns:minmax(180px,1fr) minmax(160px,.7fr) auto;margin:16px 20px 12px}.admin-body .inventory-security-note{margin:0 20px 14px}.admin-body .inventory-table{min-width:1020px}
.admin-body .payment-config#paymentConfig{margin:16px 20px 12px}.admin-body .settings-panel>.admin-form{padding:22px}.admin-body .settings-panel .admin-form{max-width:1120px}.admin-body .inline-upload-button{margin-top:8px;width:max-content}
.admin-modal{position:fixed;inset:0;z-index:300;display:grid;place-items:center;padding:22px;background:rgba(10,20,38,.62);backdrop-filter:blur(5px);opacity:0;transition:opacity .16s ease}.admin-modal.open{opacity:1}
.admin-modal-card{width:min(700px,100%);max-height:calc(100vh - 44px);overflow:auto;border:1px solid rgba(255,255,255,.85);border-radius:18px;background:#fff;box-shadow:0 30px 90px rgba(4,13,28,.3);transform:translateY(10px) scale(.985);transition:transform .16s ease}.admin-modal.open .admin-modal-card{transform:none}.admin-modal-small{width:min(510px,100%)}
.admin-modal-head{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 22px 16px;border-bottom:1px solid #e9edf3;background:rgba(255,255,255,.96);backdrop-filter:blur(12px)}.admin-modal-head h2{margin:2px 0 1px;font-size:20px}.admin-modal-head p{margin:0;color:#8190a5;font-size:11px}.admin-modal-head>button{width:34px;height:34px;border:1px solid #e0e6ef;border-radius:9px;background:#f8fafc;color:#607087;font-size:23px;line-height:1}.admin-modal-head>button:hover{background:#fff2e9;color:#db681d;border-color:#f5c7a7}
.admin-modal .admin-form{padding:20px 22px 22px}.admin-modal .inventory-edit-form{margin:0;border:0;border-radius:0;background:#fff}.admin-modal .modal-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.admin-modal .modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:2px}.admin-modal .modal-actions button{width:auto;min-width:110px}.admin-modal .category-visible-control{padding:11px 13px;border:1px solid #dfe5ee;border-radius:10px;background:#f8fafc}
@media(max-width:1280px){.admin-body .stats-grid{grid-template-columns:repeat(2,minmax(170px,1fr))}.admin-body .stat-card.stat-period{grid-column:span 1}}
@media(max-width:960px){.admin-sidebar{transform:translateX(-105%);transition:transform .2s ease}.admin-body.admin-menu-open .admin-sidebar{transform:none}.admin-body.admin-menu-open .admin-sidebar-backdrop{display:block}.admin-workspace{margin-left:0;padding:0 20px 34px}.admin-menu-toggle{display:grid;place-items:center}.admin-workspace-top{min-height:82px}.admin-welcome-panel{align-items:flex-start;flex-direction:column}.admin-quick-links{width:100%}}
@media(max-width:680px){.admin-workspace{padding:0 12px 28px}.admin-workspace-top{align-items:flex-start;padding:14px 0}.admin-page-heading h1{font-size:21px}.admin-page-heading p{display:none}.admin-body .admin-actions{gap:6px}.admin-body .refresh-btn{padding:0 9px;font-size:0}.admin-body .refresh-btn:before{content:"↻";font-size:16px}.admin-body .refresh-btn.danger:before{content:"退出";font-size:11px}.admin-view-stack{padding-top:14px}.admin-body .stats-grid{grid-template-columns:1fr 1fr;gap:9px}.admin-body .stat-card{min-height:128px;padding:15px}.admin-body .stat-card b{font-size:24px}.admin-body .security-strip{align-items:flex-start}.admin-body .security-strip-badge{display:none}.admin-welcome-panel{padding:20px}.admin-body .admin-panel-head{align-items:flex-start;gap:12px}.panel-head-actions{align-items:flex-end!important;flex-direction:column}.primary-admin-action{white-space:nowrap}.admin-modal{padding:8px}.admin-modal-card{max-height:calc(100vh - 16px);border-radius:14px}.admin-modal .admin-form.two-cols,.admin-modal .modal-form-grid{grid-template-columns:1fr}.admin-modal .modal-actions{flex-direction:column-reverse}.admin-modal .modal-actions button{width:100%}.admin-body .settings-panel>.admin-form{padding:16px}.admin-body .inventory-toolbar{grid-template-columns:1fr;margin:14px}.admin-body .inventory-security-note,.admin-body .payment-config#paymentConfig{margin-left:14px;margin-right:14px}}

/* ========================================================================== 
   Enterprise storefront refresh · 2026-09-11
   Visual-only overrides: order, payment and delivery behavior remain unchanged.
   ========================================================================== */
:root {
  --store-ink: #0b172d;
  --store-muted: #66748b;
  --store-line: #e4e9f1;
  --store-surface: #ffffff;
  --store-canvas: #f4f7fb;
  --store-navy: #0d2345;
  --store-blue: #246bfd;
  --store-blue-dark: #174fc9;
  --store-cyan: #23b6d8;
  --store-success: #0ca678;
  --store-radius: 18px;
  --store-shadow: 0 18px 55px rgba(17, 40, 77, .09);
  --store-shadow-hover: 0 24px 64px rgba(17, 40, 77, .15);
}

html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body:not(.admin-body) {
  color: var(--store-ink);
  background:
    radial-gradient(circle at 11% 4%, rgba(36, 107, 253, .08), transparent 28rem),
    radial-gradient(circle at 94% 13%, rgba(35, 182, 216, .08), transparent 24rem),
    var(--store-canvas);
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body:not(.admin-body)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .24;
  background-image: linear-gradient(rgba(22, 49, 91, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(22, 49, 91, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
body:not(.admin-body) .ambient { filter: blur(24px); opacity: .38; }
body:not(.admin-body) .shell { width: min(1240px, calc(100% - 48px)); }

/* Navigation */
body:not(.admin-body) .topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 76px;
  border-bottom: 1px solid rgba(221, 228, 239, .82);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 8px 30px rgba(27, 45, 76, .045);
  backdrop-filter: blur(20px) saturate(150%);
}
body:not(.admin-body) .nav-wrap { min-height: 76px; gap: 28px; }
body:not(.admin-body) .brand { gap: 12px; min-width: 235px; }
body:not(.admin-body) .brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, #0d2345, #246bfd 72%, #32c0d9);
  box-shadow: 0 10px 24px rgba(36, 107, 253, .25);
  font-size: 17px;
  letter-spacing: 0;
}
body:not(.admin-body) .brand-mark::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  top: -20px;
  right: -18px;
  border: 8px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
}
body:not(.admin-body) .brand b { color: #10203b; font-size: 15px; font-weight: 800; letter-spacing: .01em; }
body:not(.admin-body) .brand small { margin-top: 3px; color: #8290a5; font-size: 9px; letter-spacing: .08em; }
body:not(.admin-body) .nav-links { align-items: center; gap: 5px; margin-left: auto; }
body:not(.admin-body) .nav-links a,
body:not(.admin-body) .nav-button {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 10px;
  color: #53627a;
  font-size: 12px;
  font-weight: 700;
}
body:not(.admin-body) .nav-links a:hover,
body:not(.admin-body) .nav-button:hover { color: var(--store-blue); background: #edf4ff; }
body:not(.admin-body) .nav-links .primary-mini {
  min-height: 40px;
  margin-left: 7px;
  padding: 0 17px;
  border: 1px solid rgba(36, 107, 253, .18);
  color: #fff;
  background: linear-gradient(135deg, var(--store-blue), var(--store-blue-dark));
  box-shadow: 0 8px 20px rgba(36, 107, 253, .18);
}
body:not(.admin-body) .nav-links .primary-mini:hover { color: #fff; background: linear-gradient(135deg, #3478ff, #174fc9); transform: translateY(-1px); }
body:not(.admin-body) .top-security {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  color: #2b8169;
  font-size: 10px;
  font-weight: 800;
}
body:not(.admin-body) .top-security i { width: 7px; height: 7px; border-radius: 50%; background: #18b789; box-shadow: 0 0 0 4px rgba(24, 183, 137, .1); }

/* Hero */
body:not(.admin-body) .page-shell { padding-top: 30px; }
body:not(.admin-body) .hero-card {
  position: relative;
  isolation: isolate;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 16%, rgba(42, 157, 255, .27), transparent 27%),
    radial-gradient(circle at 60% 110%, rgba(35, 182, 216, .18), transparent 40%),
    linear-gradient(125deg, #071426 0%, #0d2345 48%, #123c72 100%);
  box-shadow: 0 28px 75px rgba(8, 25, 52, .2);
}
body:not(.admin-body) .hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .42;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent 18%, #000 100%);
}
body:not(.admin-body) .hero-card::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -220px;
  z-index: -1;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(96, 191, 255, .17);
  border-radius: 50%;
  box-shadow: 0 0 0 75px rgba(96, 191, 255, .04), 0 0 0 150px rgba(96, 191, 255, .025);
}
body:not(.admin-body) .hero-copy { padding: 64px 30px 56px 68px; }
body:not(.admin-body) .eyebrow { color: #8ec5ff; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
body:not(.admin-body) .eyebrow span:first-child { width: 22px; height: 2px; border-radius: 99px; background: #55c7f0; box-shadow: 0 0 14px #55c7f0; }
body:not(.admin-body) .hero-copy h1 { max-width: 620px; margin: 17px 0 20px; color: #fff; font-size: clamp(38px, 4.2vw, 58px); line-height: 1.1; letter-spacing: -.045em; }
body:not(.admin-body) .hero-copy h1 em { display: block; margin-top: 7px; color: #72d5eb; background: linear-gradient(90deg, #ffffff 0%, #68d8ef 68%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
body:not(.admin-body) .hero-copy>p { max-width: 590px; color: #b5c4d9; font-size: 14px; line-height: 1.9; }
body:not(.admin-body) .hero-actions { margin-top: 28px; gap: 11px; }
body:not(.admin-body) .hero-actions .primary-button,
body:not(.admin-body) .hero-actions .ghost-button { min-width: 134px; min-height: 46px; border-radius: 12px; font-size: 12px; font-weight: 800; }
body:not(.admin-body) .hero-actions .primary-button { border: 1px solid #4f8dff; background: linear-gradient(135deg, #367cff, #1d5de0); box-shadow: 0 12px 28px rgba(24, 87, 219, .38); }
body:not(.admin-body) .hero-actions .primary-button:hover { box-shadow: 0 16px 34px rgba(24, 87, 219, .46); transform: translateY(-2px); }
body:not(.admin-body) .hero-actions .ghost-button { border: 1px solid rgba(255,255,255,.2); color: #e5edf8; background: rgba(255, 255, 255, .065); backdrop-filter: blur(10px); }
body:not(.admin-body) .hero-actions .ghost-button:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.11); }
body:not(.admin-body) .trust-row { margin-top: 31px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.09); color: #aebfd4; }
body:not(.admin-body) .trust-row span { padding: 0; border: 0; background: none; font-size: 10px; font-weight: 700; }
body:not(.admin-body) .trust-row span::before { color: #49d4ab; }
body:not(.admin-body) .hero-visual { min-height: 440px; }
body:not(.admin-body) .visual-glow { width: 360px; height: 360px; opacity: .7; background: radial-gradient(circle, rgba(36, 107, 253, .38), transparent 68%); }
body:not(.admin-body) .payment-card {
  width: 250px;
  padding: 23px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  color: #17233a;
  background: rgba(255,255,255,.95);
  box-shadow: 0 28px 70px rgba(1, 9, 24, .35);
  transform: rotate(-2.5deg);
}
body:not(.admin-body) .payment-card::after { content: "SECURE CHECKOUT"; display: block; margin-top: 15px; color: #94a0b1; font-size: 7px; font-weight: 900; letter-spacing: .18em; text-align: center; }
body:not(.admin-body) .payment-card-top b { color: var(--store-success); }
body:not(.admin-body) .mini-qr { border-color: #e1e7ef; background-color: #fff; }
body:not(.admin-body) .payment-card strong { margin-top: 12px; color: #102341; font-size: 23px; }
body:not(.admin-body) .progress { background: #edf1f6; }
body:not(.admin-body) .progress span { background: linear-gradient(90deg, var(--store-blue), var(--store-cyan)); }
body:not(.admin-body) .float-pill { border: 1px solid rgba(255,255,255,.2); color: #e9f4ff; background: rgba(10, 31, 63, .76); box-shadow: 0 14px 32px rgba(0,0,0,.18); backdrop-filter: blur(12px); }
body:not(.admin-body) .hero-custom-image { inset: 22px 24px 22px 4px; width: calc(100% - 28px); height: calc(100% - 44px); border: 1px solid rgba(255,255,255,.16); border-radius: 22px; box-shadow: 0 28px 60px rgba(1,9,24,.3); object-fit: cover; }

/* Notice */
body:not(.admin-body) .store-notice {
  margin-top: 26px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--store-shadow);
}
body:not(.admin-body) .store-notice-head { padding: 22px 26px 17px; border-bottom: 1px solid #edf0f5; background: linear-gradient(90deg, #f9fbff, #fff); }
body:not(.admin-body) .notice-title-wrap { gap: 13px; }
body:not(.admin-body) .notice-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 11px; color: #fff; background: linear-gradient(145deg, #246bfd, #174fc9); box-shadow: 0 8px 18px rgba(36,107,253,.2); font-size: 16px; }
body:not(.admin-body) .section-kicker { color: #3a70cd; font-size: 8px; font-weight: 900; letter-spacing: .18em; }
body:not(.admin-body) .store-notice h2,
body:not(.admin-body) .products-head h2,
body:not(.admin-body) .steps-head h2 { color: #13233e; letter-spacing: -.02em; }
body:not(.admin-body) .notice-badge { border: 1px solid #dbe8ff; color: #28599e; background: #f1f6ff; }
body:not(.admin-body) .notice-summary { margin: 20px 26px 4px; padding: 14px 16px; border-left: 3px solid var(--store-blue); border-radius: 4px 10px 10px 4px; color: #43536d; background: #f6f9fe; }
body:not(.admin-body) .notice-rules { gap: 0; margin-top: 16px; padding: 0 26px; border-top: 1px solid #edf0f5; border-bottom: 1px solid #edf0f5; }
body:not(.admin-body) .notice-rules article { padding: 21px 20px; border: 0; border-right: 1px solid #edf0f5; border-radius: 0; background: transparent; }
body:not(.admin-body) .notice-rules article:first-child { padding-left: 0; }
body:not(.admin-body) .notice-rules article:last-child { padding-right: 0; border-right: 0; }
body:not(.admin-body) .notice-rules article>span { display: inline-block; color: #a7b3c4; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
body:not(.admin-body) .notice-rules b { color: #203552; font-size: 11px; }
body:not(.admin-body) .notice-rules p { color: #78869b; font-size: 9px; line-height: 1.75; }
body:not(.admin-body) .notice-security { margin: 18px 26px 0; padding: 13px 15px; border: 1px solid #dbe9e3; border-radius: 10px; color: #2b6755; background: #f2faf7; }
body:not(.admin-body) .notice-security b { color: #207258; }
body:not(.admin-body) .notice-contacts { margin: 0; padding: 16px 26px 20px; border: 0; background: transparent; }
body:not(.admin-body) .notice-contacts b { color: #637188; }
body:not(.admin-body) .notice-contacts a { border: 1px solid #e0e6ef; border-radius: 8px; color: #385679; background: #f8fafc; }

/* Store catalog */
body:not(.admin-body) .store-layout { align-items: start; gap: 22px; margin-top: 26px; }
body:not(.admin-body) .category-panel,
body:not(.admin-body) .products-panel { border: 1px solid var(--store-line); border-radius: var(--store-radius); background: rgba(255,255,255,.94); box-shadow: var(--store-shadow); }
body:not(.admin-body) .category-panel { position: sticky; top: 98px; overflow: hidden; padding: 0; }
body:not(.admin-body) .panel-title { padding: 21px 20px 16px; border-bottom: 1px solid #edf0f5; color: #1a2c49; }
body:not(.admin-body) .panel-title span { font-size: 13px; font-weight: 850; }
body:not(.admin-body) .panel-title small { padding: 4px 7px; border-radius: 99px; color: #6d7c92; background: #f1f4f8; }
body:not(.admin-body) .category-list { padding: 10px; }
body:not(.admin-body) .category-item { min-height: 44px; padding: 0 11px; border: 1px solid transparent; border-radius: 10px; color: #66748a; }
body:not(.admin-body) .category-item:hover { color: #214b8a; background: #f5f8fd; }
body:not(.admin-body) .category-item.active { border-color: #dce8ff; color: #174fa9; background: linear-gradient(90deg, #edf4ff, #f7faff); box-shadow: none; }
body:not(.admin-body) .category-name i { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; color: #245aaa; background: #fff; box-shadow: 0 2px 8px rgba(26,72,139,.08); font-style: normal; }
body:not(.admin-body) .category-count { color: #8290a4; background: #f1f4f8; }
body:not(.admin-body) .category-item.active .category-count { color: #fff; background: var(--store-blue); }
body:not(.admin-body) .safe-box { margin: 4px 10px 10px; padding: 14px; border: 1px solid #dceae5; border-radius: 11px; color: #315e53; background: #f4faf8; }
body:not(.admin-body) .safe-box span { font-size: 18px; }
body:not(.admin-body) .safe-box b { color: #216b56; }
body:not(.admin-body) .safe-box p { color: #748c85; }
body:not(.admin-body) .products-panel { min-width: 0; overflow: hidden; padding: 0; }
body:not(.admin-body) .products-head { padding: 23px 25px 19px; border-bottom: 1px solid #edf0f5; }
body:not(.admin-body) .products-head h2 { margin-top: 3px; font-size: 21px; }
body:not(.admin-body) .search-box { width: min(260px, 100%); min-height: 41px; border: 1px solid #dfe5ee; border-radius: 11px; background: #f8fafc; transition: border-color .2s, box-shadow .2s, background .2s; }
body:not(.admin-body) .search-box:focus-within { border-color: #94b9ff; background: #fff; box-shadow: 0 0 0 4px rgba(36,107,253,.08); }
body:not(.admin-body) .search-box span { color: #7391bc; }
body:not(.admin-body) .product-grid { gap: 14px; padding: 20px; }
body:not(.admin-body) .product-card {
  position: relative;
  min-width: 0;
  min-height: 203px;
  padding: 19px;
  overflow: hidden;
  border: 1px solid #e5eaf1;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(26, 50, 88, .045);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
body:not(.admin-body) .product-card::before { content: ""; position: absolute; top: 0; left: 20px; right: 20px; height: 2px; opacity: 0; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--store-blue), var(--store-cyan)); transition: opacity .2s; }
body:not(.admin-body) .product-card:hover { z-index: 2; border-color: #cbdcff; box-shadow: var(--store-shadow-hover); transform: translateY(-5px); }
body:not(.admin-body) .product-card:hover::before { opacity: 1; }
body:not(.admin-body) .product-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border: 1px solid #e0eaff; border-radius: 13px; color: #1e5dc4; background: linear-gradient(145deg, #edf4ff, #f9fbff); }
body:not(.admin-body) .product-icon>span { font-size: 22px; }
body:not(.admin-body) .product-info { min-width: 0; }
body:not(.admin-body) .product-category { color: #4774b5; font-size: 8px; font-weight: 800; letter-spacing: .04em; }
body:not(.admin-body) .product-info h3 { margin-top: 7px; overflow: hidden; color: #172945; font-size: 14px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
body:not(.admin-body) .product-info p { min-height: 38px; color: #7a8799; line-height: 1.7; }
body:not(.admin-body) .product-tags { gap: 6px; }
body:not(.admin-body) .tag { color: #286c5a; background: #eaf8f3; }
body:not(.admin-body) .stock-tag { color: #3a67a7; background: #eef4fd; }
body:not(.admin-body) .product-buy { margin-top: auto; padding-top: 14px; border-top: 1px solid #edf0f5; }
body:not(.admin-body) .price { color: #10294d; font-size: 23px; font-weight: 850; letter-spacing: -.03em; }
body:not(.admin-body) .price small { margin-left: 4px; color: #738299; font-size: 8px; font-weight: 800; }
body:not(.admin-body) .buy-button { min-height: 36px; padding: 0 15px; border: 1px solid #2567df; border-radius: 9px; color: #fff; background: linear-gradient(135deg, #2c72ef, #1857cc); box-shadow: 0 7px 16px rgba(36,107,253,.18); transition: transform .18s, box-shadow .18s; }
body:not(.admin-body) .buy-button:hover:not(:disabled) { box-shadow: 0 10px 23px rgba(36,107,253,.28); transform: translateY(-1px); }
body:not(.admin-body) .buy-button:disabled { border-color: #dfe4eb; color: #929dac; background: #eef1f5; box-shadow: none; }
body:not(.admin-body) .loading-card,
body:not(.admin-body) .empty-state { padding: 52px 20px; color: #77869a; }

/* Process and footer */
body:not(.admin-body) .steps-section { position: relative; margin-top: 26px; padding: 38px 40px 40px; overflow: hidden; border: 1px solid var(--store-line); border-radius: var(--store-radius); background: #fff; box-shadow: var(--store-shadow); }
body:not(.admin-body) .steps-section::after { content: ""; position: absolute; right: -90px; top: -90px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(36,107,253,.09), transparent 70%); pointer-events: none; }
body:not(.admin-body) .steps-head { text-align: center; }
body:not(.admin-body) .steps-head h2 { margin-top: 5px; font-size: 24px; }
body:not(.admin-body) .steps-grid { position: relative; margin-top: 28px; gap: 18px; }
body:not(.admin-body) .steps-grid::before { content: ""; position: absolute; top: 22px; left: 12.5%; right: 12.5%; height: 1px; z-index: 0; background: linear-gradient(90deg, transparent, #ccdcf7 12%, #ccdcf7 88%, transparent); }
body:not(.admin-body) .steps-grid article { position: relative; z-index: 1; padding: 0 18px; border: 0; background: transparent; text-align: center; }
body:not(.admin-body) .steps-grid article::before { display: none; }
body:not(.admin-body) .steps-grid article>span { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 15px; border: 6px solid #fff; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #2d75f1, #164ebd); box-shadow: 0 0 0 1px #d9e5fa, 0 8px 17px rgba(36,107,253,.2); font-size: 10px; }
body:not(.admin-body) .steps-grid b { color: #20334f; font-size: 12px; }
body:not(.admin-body) .steps-grid p { margin-top: 7px; color: #7a8798; line-height: 1.7; }
body:not(.admin-body) footer { margin-top: 52px; border-top: 1px solid #dfe5ed; color: #96a4b7; background: #0a1930; }
body:not(.admin-body) .footer-inner { min-height: 130px; }
body:not(.admin-body) .footer-inner b { color: #fff; font-size: 14px; }
body:not(.admin-body) .footer-inner p { color: #8494aa; }
body:not(.admin-body) .footer-links button { min-height: 38px; padding: 0 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; color: #dce6f3; background: rgba(255,255,255,.05); }
body:not(.admin-body) .footer-links button:hover { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.09); }

/* Storefront dialogs */
body:not(.admin-body) .modal-backdrop { background: rgba(4, 15, 33, .66); backdrop-filter: blur(7px); }
body:not(.admin-body) .modal-card { border: 1px solid rgba(255,255,255,.8); border-radius: 19px; box-shadow: 0 32px 90px rgba(3,15,36,.3); }
body:not(.admin-body) .modal-eyebrow { color: #3568b3; }
body:not(.admin-body) .modal-card h2 { color: #142641; letter-spacing: -.02em; }
body:not(.admin-body) .modal-card input { border-color: #dce3ed; border-radius: 10px; background: #f8fafc; }
body:not(.admin-body) .modal-card input:focus { border-color: #7ca8ff; background: #fff; box-shadow: 0 0 0 4px rgba(36,107,253,.09); }
body:not(.admin-body) .modal-card .primary-button { border-radius: 10px; background: linear-gradient(135deg, #2f73ef, #1855c7); box-shadow: 0 9px 22px rgba(36,107,253,.2); }
body:not(.admin-body) .welcome-header { background: linear-gradient(130deg, #08182e, #103567 70%, #135389); }
body:not(.admin-body) .welcome-confirm { background: linear-gradient(135deg, #2e73ef, #1854c7); box-shadow: 0 9px 22px rgba(36,107,253,.2); }
body:not(.admin-body) .welcome-alert { border-color: #d9e6fa; background: #f2f7ff; }
body:not(.admin-body) .welcome-alert b { color: #285b9f; }
body:not(.admin-body) .toast { border: 1px solid rgba(255,255,255,.12); background: #102440; box-shadow: 0 15px 40px rgba(3,15,36,.24); }

/* Accessible motion and responsive refinements */
@media (max-width: 980px) {
  body:not(.admin-body) .top-security { display: none; }
  body:not(.admin-body) .hero-card { min-height: 410px; }
  body:not(.admin-body) .hero-copy { padding: 52px 20px 48px 48px; }
  body:not(.admin-body) .hero-copy h1 { font-size: clamp(35px, 5.8vw, 50px); }
  body:not(.admin-body) .hero-visual { min-height: 410px; }
  body:not(.admin-body) .notice-rules { grid-template-columns: 1fr 1fr; }
  body:not(.admin-body) .notice-rules article:nth-child(2) { border-right: 0; }
  body:not(.admin-body) .notice-rules article:nth-child(-n+2) { border-bottom: 1px solid #edf0f5; }
  body:not(.admin-body) .notice-rules article:nth-child(3) { padding-left: 0; }
}
@media (max-width: 760px) {
  body:not(.admin-body) .shell { width: min(100% - 28px, 1240px); }
  body:not(.admin-body) .topbar,
  body:not(.admin-body) .nav-wrap { min-height: 66px; }
  body:not(.admin-body) .brand { min-width: 0; }
  body:not(.admin-body) .brand-mark { width: 38px; height: 38px; border-radius: 11px; }
  body:not(.admin-body) .brand small { display: none; }
  body:not(.admin-body) .mobile-menu { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #dfe5ee; border-radius: 10px; color: #315277; background: #f7f9fc; }
  body:not(.admin-body) .nav-links { top: calc(100% + 8px); right: 14px; left: 14px; gap: 4px; padding: 8px; border: 1px solid #e0e6ef; border-radius: 14px; background: rgba(255,255,255,.98); box-shadow: 0 20px 45px rgba(15,35,66,.16); }
  body:not(.admin-body) .nav-links a,
  body:not(.admin-body) .nav-button { justify-content: flex-start; width: 100%; min-height: 43px; padding: 0 13px; }
  body:not(.admin-body) .nav-links .primary-mini { margin: 3px 0 0; justify-content: center; }
  body:not(.admin-body) .page-shell { padding-top: 15px; }
  body:not(.admin-body) .hero-card { min-height: 0; border-radius: 21px; }
  body:not(.admin-body) .hero-copy { padding: 42px 25px 36px; }
  body:not(.admin-body) .hero-copy h1 { margin: 13px 0 17px; font-size: clamp(33px, 10vw, 45px); line-height: 1.08; }
  body:not(.admin-body) .hero-copy>p { font-size: 12px; line-height: 1.8; }
  body:not(.admin-body) .hero-visual { display: none; }
  body:not(.admin-body) .hero-actions { margin-top: 23px; }
  body:not(.admin-body) .hero-actions .primary-button,
  body:not(.admin-body) .hero-actions .ghost-button { flex: 1; min-width: 0; }
  body:not(.admin-body) .trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; margin-top: 25px; }
  body:not(.admin-body) .store-notice { margin-top: 15px; border-radius: 15px; }
  body:not(.admin-body) .store-notice-head { align-items: flex-start; padding: 18px; }
  body:not(.admin-body) .notice-badge { display: none; }
  body:not(.admin-body) .notice-summary { margin: 15px 18px 0; }
  body:not(.admin-body) .notice-rules { grid-template-columns: 1fr; padding: 0 18px; }
  body:not(.admin-body) .notice-rules article,
  body:not(.admin-body) .notice-rules article:first-child,
  body:not(.admin-body) .notice-rules article:nth-child(3),
  body:not(.admin-body) .notice-rules article:last-child { padding: 15px 0; border-right: 0; border-bottom: 1px solid #edf0f5; }
  body:not(.admin-body) .notice-rules article:last-child { border-bottom: 0; }
  body:not(.admin-body) .notice-security { margin: 15px 18px 0; }
  body:not(.admin-body) .notice-contacts { align-items: flex-start; padding: 15px 18px 18px; }
  body:not(.admin-body) .notice-contacts b { width: 100%; }
  body:not(.admin-body) .store-layout { margin-top: 15px; }
  body:not(.admin-body) .category-panel { position: static; }
  body:not(.admin-body) .category-list { display: flex; gap: 7px; overflow-x: auto; padding: 10px; scrollbar-width: none; }
  body:not(.admin-body) .category-list::-webkit-scrollbar { display: none; }
  body:not(.admin-body) .category-item { flex: 0 0 auto; min-height: 39px; padding: 0 10px; }
  body:not(.admin-body) .category-count { display: none; }
  body:not(.admin-body) .safe-box { display: none; }
  body:not(.admin-body) .products-head { align-items: stretch; gap: 14px; padding: 19px 18px 16px; }
  body:not(.admin-body) .search-box { width: 100%; }
  body:not(.admin-body) .product-grid { padding: 14px; }
  body:not(.admin-body) .product-card { min-height: 0; padding: 16px; }
  body:not(.admin-body) .steps-section { margin-top: 15px; padding: 28px 20px; }
  body:not(.admin-body) .steps-grid { gap: 0; }
  body:not(.admin-body) .steps-grid::before { display: none; }
  body:not(.admin-body) .steps-grid article { display: grid; grid-template-columns: 42px 1fr; column-gap: 13px; padding: 14px 0; border-bottom: 1px solid #edf0f5; text-align: left; }
  body:not(.admin-body) .steps-grid article:last-child { border-bottom: 0; }
  body:not(.admin-body) .steps-grid article>span { grid-row: span 2; width: 38px; height: 38px; margin: 0; border-width: 4px; }
  body:not(.admin-body) .steps-grid p { margin: 3px 0 0; }
  body:not(.admin-body) .footer-inner { min-height: 120px; }
}
@media (max-width: 430px) {
  body:not(.admin-body) .shell { width: min(100% - 20px, 1240px); }
  body:not(.admin-body) .hero-copy { padding: 36px 20px 31px; }
  body:not(.admin-body) .hero-copy h1 { font-size: 32px; }
  body:not(.admin-body) .hero-actions { flex-direction: column; }
  body:not(.admin-body) .hero-actions .primary-button,
  body:not(.admin-body) .hero-actions .ghost-button { width: 100%; }
  body:not(.admin-body) .product-grid { grid-template-columns: 1fr; }
  body:not(.admin-body) .product-card { grid-template-columns: 44px 1fr; }
  body:not(.admin-body) .product-icon { width: 44px; height: 44px; flex-basis: 44px; }
  body:not(.admin-body) .product-buy { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body:not(.admin-body) *, body:not(.admin-body) *::before, body:not(.admin-body) *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ========================================================================== 
   Storefront correction pass · 2026-09-11
   ========================================================================== */
/* Keep the welcome dialog readable against its dark header. */
body:not(.admin-body) .welcome-header .welcome-kicker {
  color: #bfe8ff;
  opacity: 1;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .2);
}
body:not(.admin-body) .welcome-header h2 {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .22);
}
body:not(.admin-body) .welcome-header p {
  color: #e9f5ff;
  opacity: 1;
}
body:not(.admin-body) .welcome-close {
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
}

/* Compact the desktop hero to roughly two-thirds of the previous visual scale. */
@media (min-width: 761px) {
  body:not(.admin-body) .hero-card {
    min-height: 300px;
    grid-template-columns: minmax(0, 1.12fr) minmax(260px, .78fr);
  }
  body:not(.admin-body) .hero-copy {
    padding: 40px 28px 36px 52px;
  }
  body:not(.admin-body) .hero-copy h1 {
    max-width: 500px;
    margin: 12px 0 14px;
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.08;
  }
  body:not(.admin-body) .hero-copy h1 em { margin-top: 4px; }
  body:not(.admin-body) .hero-copy > p {
    max-width: 510px;
    font-size: 12px;
    line-height: 1.7;
  }
  body:not(.admin-body) .hero-actions { margin-top: 20px; }
  body:not(.admin-body) .hero-actions .primary-button,
  body:not(.admin-body) .hero-actions .ghost-button {
    min-width: 118px;
    min-height: 40px;
    font-size: 11px;
  }
  body:not(.admin-body) .trust-row {
    margin-top: 20px;
    padding-top: 14px;
  }
  body:not(.admin-body) .hero-visual { min-height: 300px; }
  body:not(.admin-body) .payment-card {
    width: 174px;
    padding: 16px;
    border-radius: 16px;
  }
  body:not(.admin-body) .payment-card::after { margin-top: 10px; font-size: 6px; }
  body:not(.admin-body) .payment-card-top { font-size: 8px; }
  body:not(.admin-body) .mini-qr {
    width: 62px;
    height: 62px;
    margin: 10px auto 8px;
    gap: 3px;
    padding: 5px;
  }
  body:not(.admin-body) .payment-card strong { margin-top: 8px; font-size: 17px; }
  body:not(.admin-body) .payment-card small { font-size: 8px; }
  body:not(.admin-body) .progress { margin-top: 9px; }
  body:not(.admin-body) .float-pill { padding: 6px 9px; font-size: 8px; }
}

/* Align the desktop navigation controls on one baseline. */
body:not(.admin-body) .nav-wrap { display: flex; align-items: center; }
body:not(.admin-body) .nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
body:not(.admin-body) .nav-links a,
body:not(.admin-body) .nav-links .nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  line-height: 1;
  font: inherit;
}
body:not(.admin-body) .nav-links .nav-button {
  border: 0;
  appearance: none;
  cursor: pointer;
}
body:not(.admin-body) .nav-links .primary-mini { line-height: 1; }
body:not(.admin-body) .top-security { align-self: center; }

@media (max-width: 760px) {
  body:not(.admin-body) .hero-card { min-height: 0; }
  body:not(.admin-body) .hero-copy { padding: 38px 24px 32px; }
  body:not(.admin-body) .hero-copy h1 { font-size: clamp(32px, 10vw, 44px); }
  body:not(.admin-body) .hero-copy > p { font-size: 12px; }
  body:not(.admin-body) .nav-links { display: none; }
  body:not(.admin-body) .nav-links.open { display: grid; }
}

/* Keep the small hero label on one readable line. */
body:not(.admin-body) .hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
body:not(.admin-body) .nav-links a,
body:not(.admin-body) .nav-links .nav-button {
  height: 40px;
  min-height: 40px;
}

/* ========================================================================== 
   2026-09-11: admin console visual alignment with the storefront
   Visual-only skin: existing menus, forms, data and business behavior are unchanged.
   ========================================================================== */
.admin-body {
  --admin-canvas: #f4f7fb;
  --admin-navy: #08182e;
  --admin-navy-2: #0d2a56;
  --admin-blue: #246bfd;
  --admin-blue-dark: #174fc9;
  --admin-cyan: #23b6d8;
  --admin-ink: #0b172d;
  --admin-muted: #66748b;
  --admin-line: #e4e9f1;
  --admin-success: #0ca678;
  min-height: 100vh;
  color: var(--admin-ink);
  background:
    radial-gradient(circle at 92% 5%, rgba(35, 182, 216, .08), transparent 25rem),
    radial-gradient(circle at 8% 14%, rgba(36, 107, 253, .07), transparent 28rem),
    var(--admin-canvas);
  -webkit-font-smoothing: antialiased;
}
.admin-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .2;
  background-image:
    linear-gradient(rgba(22, 49, 91, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 49, 91, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}
.admin-body .admin-sidebar {
  background:
    radial-gradient(circle at 20% 0%, rgba(36, 107, 253, .28), transparent 28%),
    linear-gradient(180deg, var(--admin-navy) 0%, #0c2347 58%, #07152b 100%);
  box-shadow: 14px 0 40px rgba(8, 24, 46, .14);
}
.admin-body .admin-sidebar:before {
  opacity: .75;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(145deg, #000, transparent 70%);
}
.admin-body .admin-sidebar-brand {
  border-bottom-color: rgba(177, 212, 255, .13);
}
.admin-body .admin-sidebar-brand > span {
  border: 1px solid rgba(255,255,255,.24);
  background: linear-gradient(145deg, #12366f, var(--admin-blue) 70%, var(--admin-cyan));
  box-shadow: 0 10px 25px rgba(36, 107, 253, .28);
}
.admin-body .admin-sidebar-brand small {
  color: #9db1d0;
}
.admin-body .admin-nav button {
  color: #aebed8;
}
.admin-body .admin-nav button i {
  color: #8da8d2;
  background: rgba(255,255,255,.065);
}
.admin-body .admin-nav button:hover {
  background: rgba(72, 143, 255, .12);
  color: #fff;
}
.admin-body .admin-nav button.active {
  border-color: rgba(104, 170, 255, .28);
  background: linear-gradient(90deg, rgba(36, 107, 253, .32), rgba(35, 182, 216, .08));
  box-shadow: inset 3px 0 var(--admin-blue), 0 8px 20px rgba(3, 20, 49, .12);
}
.admin-body .admin-nav button.active i {
  background: linear-gradient(145deg, var(--admin-blue), var(--admin-blue-dark));
  color: #fff;
  box-shadow: 0 6px 14px rgba(36, 107, 253, .3);
}
.admin-body .admin-sidebar-footer {
  border-top-color: rgba(177, 212, 255, .13);
}
.admin-body .admin-sidebar-footer > a:hover {
  color: #dff4ff;
}
.admin-body .admin-workspace-top {
  background: rgba(244, 247, 251, .9);
  border-bottom-color: rgba(211, 222, 237, .9);
}
.admin-body .admin-page-heading > div > span,
.admin-body .admin-page-heading span {
  color: var(--admin-blue);
}
.admin-body .admin-page-heading h1 {
  color: var(--admin-ink);
}
.admin-body .admin-page-heading p {
  color: var(--admin-muted);
}
.admin-body .admin-menu-toggle {
  border-color: #dbe5f2;
  color: #214b8b;
  background: rgba(255,255,255,.92);
}
.admin-body .refresh-btn {
  border-color: #d8e2ef;
  color: #34527a;
  background: rgba(255,255,255,.94);
  box-shadow: 0 6px 18px rgba(26, 55, 97, .06);
}
.admin-body .refresh-btn:hover {
  border-color: #9dbcf4;
  color: var(--admin-blue-dark);
  background: #fff;
  box-shadow: 0 8px 22px rgba(36, 107, 253, .1);
}
.admin-body .refresh-btn.danger {
  border-color: #f0d8d8;
  color: #c44f55;
  background: #fffafa;
}
.admin-body .security-strip {
  border-color: #d3e4fb;
  background: linear-gradient(105deg, #f8fbff, #eef7ff 72%, #f1fcff);
  box-shadow: 0 10px 28px rgba(36, 107, 253, .045);
}
.admin-body .security-strip-icon {
  color: #fff;
  background: linear-gradient(145deg, var(--admin-blue), var(--admin-blue-dark));
  box-shadow: 0 7px 15px rgba(36, 107, 253, .2);
}
.admin-body .security-strip b {
  color: #143560;
}
.admin-body .security-strip p {
  color: #6c7f9c;
}
.admin-body .security-strip-badge {
  border: 1px solid #c7eaf4;
  background: #eafcff;
  color: #148aaa;
}
.admin-body .stats-grid {
  gap: 16px;
}
.admin-body .stat-card {
  position: relative;
  overflow: hidden;
  border-color: var(--admin-line);
  border-radius: var(--store-radius, 18px);
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 30px rgba(17, 40, 77, .055);
}
.admin-body .stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--admin-blue), var(--admin-cyan));
  opacity: .85;
}
.admin-body .stat-card::after {
  background: rgba(36, 107, 253, .055);
}
.admin-body .stat-card-head {
  color: #6c7a91;
}
.admin-body .stat-card-head i {
  background: #eaf2ff;
  box-shadow: 0 0 0 5px rgba(36, 107, 253, .045);
}
.admin-body .stat-card b {
  color: var(--admin-ink);
}
.admin-body .stat-card > small,
.admin-body .stat-breakdown {
  color: #7c8aa0;
}
.admin-body .stat-card.stat-success::before,
.admin-body .stat-card.stat-green::before {
  background: linear-gradient(90deg, #0ca678, #38cfac);
}
.admin-body .stat-card.stat-success .stat-card-head i,
.admin-body .stat-card.stat-green .stat-card-head i {
  background: #e5fbf3;
}
.admin-body .stat-card.stat-danger::before,
.admin-body .stat-card.stat-red::before {
  background: linear-gradient(90deg, #ef5b5b, #ff9b87);
}
.admin-body .stat-card.stat-danger .stat-card-head i,
.admin-body .stat-card.stat-red .stat-card-head i {
  background: #fff0f0;
}
.admin-body .admin-welcome-panel,
.admin-body .admin-panel {
  border-color: var(--admin-line);
  border-radius: var(--store-radius, 18px);
  box-shadow: var(--store-shadow, 0 18px 55px rgba(17, 40, 77, .09));
}
.admin-body .admin-welcome-panel {
  background: rgba(255,255,255,.97);
}
.admin-body .admin-kicker {
  color: var(--admin-blue);
  letter-spacing: .16em;
}
.admin-body .admin-welcome-panel h2 {
  color: var(--admin-ink);
}
.admin-body .admin-welcome-panel p {
  color: var(--admin-muted);
}
.admin-body .admin-quick-links button {
  border-color: #d7e3f3;
  color: #28548f;
  background: #f7faff;
}
.admin-body .admin-quick-links button:hover {
  border-color: #a9c7f4;
  color: var(--admin-blue-dark);
  background: #edf5ff;
  transform: translateY(-1px);
}
.admin-body .admin-panel-head {
  border-bottom-color: #eaf0f6;
}
.admin-body .admin-panel-head h2 {
  color: var(--admin-ink);
}
.admin-body .admin-panel-head p {
  color: #74839b;
}
.admin-body .panel-icon {
  border: 1px solid #d7e6fb;
  background: linear-gradient(145deg, #edf5ff, #e9fbff);
  color: var(--admin-blue);
  box-shadow: 0 7px 16px rgba(36, 107, 253, .1);
}
.admin-body .panel-head-actions small {
  color: #7c8ca4;
}
.admin-body .primary-admin-action {
  background: linear-gradient(135deg, var(--admin-blue), var(--admin-blue-dark));
  box-shadow: 0 8px 18px rgba(36, 107, 253, .22);
}
.admin-body .primary-admin-action:hover {
  box-shadow: 0 11px 24px rgba(36, 107, 253, .3);
}
.admin-body .admin-table th {
  background: #f4f8fd;
  color: #63738d;
}
.admin-body .admin-table td {
  color: #40516b;
  border-bottom-color: #edf2f7;
}
.admin-body .admin-table tbody tr:hover {
  background: #f8fbff;
}
.admin-body .admin-table button:not(.danger):not(.danger-table-action),
.admin-body .table-actions button:not(.danger):not(.danger-table-action),
.admin-body .confirm-button {
  border-color: #d6e4f8;
  color: #2861b4;
  background: #f3f8ff;
}
.admin-body .admin-table button:not(.danger):not(.danger-table-action):hover,
.admin-body .table-actions button:not(.danger):not(.danger-table-action):hover,
.admin-body .confirm-button:hover {
  border-color: #a4c6f5;
  color: var(--admin-blue-dark);
  background: #eaf3ff;
}
.admin-body .admin-table button.danger,
.admin-body .table-actions .danger-table-action {
  border-color: #f2d7d8;
  color: #c44f55;
  background: #fff5f5;
}
.admin-body .admin-table button.danger:hover,
.admin-body .table-actions .danger-table-action:hover {
  border-color: #eab3b5;
  background: #fff0f0;
}
.admin-body .admin-form label,
.admin-body .inventory-toolbar label {
  color: #536681;
}
.admin-body .admin-form input,
.admin-body .admin-form textarea,
.admin-body .admin-form select,
.admin-body .inventory-toolbar select {
  border-color: #dbe5f0;
  color: var(--admin-ink);
  background: #fbfdff;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.admin-body .admin-form input:focus,
.admin-body .admin-form textarea:focus,
.admin-body .admin-form select:focus,
.admin-body .inventory-toolbar select:focus {
  border-color: #78a8f4;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(36, 107, 253, .1);
}
.admin-body .admin-form > button,
.admin-body .admin-form .form-actions > button:not(.secondary-action) {
  background: linear-gradient(135deg, var(--admin-blue), var(--admin-blue-dark));
  box-shadow: 0 9px 20px rgba(36, 107, 253, .18);
}
.admin-body .admin-form .secondary-action {
  border-color: #d6e3f5;
  color: #2c5b9a;
  background: #f4f8ff;
}
.admin-body .admin-form .secondary-action:hover {
  border-color: #a9c5ed;
  background: #eaf3ff;
}
.admin-body .admin-form .locked-input,
.admin-body textarea[readonly] {
  border-color: #dbe4ef;
  background: #f3f6fa;
}
.admin-body input[type=file] {
  border-color: #b9cfea;
  background: #f7faff;
}
.admin-body input[type=file]::file-selector-button {
  background: #eaf3ff;
  color: #2861b4;
}
.admin-body code {
  background: #edf5ff;
  color: #2861b4;
}
.admin-body .payment-config,
.admin-body .inventory-security-note,
.admin-body .inventory-edit-form,
.admin-body .category-admin-form {
  border-color: #dbe8f8;
  background: #f7faff;
  color: #60738f;
}
.admin-body .config-overview b,
.admin-body .wallet-provider-fixed b {
  color: #1e477f;
}
.admin-body .pool-summary .available,
.admin-body .pool-status.available {
  color: var(--admin-success);
}
.admin-body .pool-summary .in-use,
.admin-body .pool-status.in_use {
  color: #286bd1;
}
.admin-body .pool-summary .quarantine,
.admin-body .pool-status.quarantine {
  color: #c87927;
}
.admin-body .pool-release-button,
.admin-body .payment-cancel-panel button {
  border-color: #e8c9ad;
  color: #b26025;
  background: #fffaf5;
}
.admin-body .pool-release-button:hover,
.admin-body .payment-cancel-panel button:hover {
  border-color: #e0a77a;
  background: #fff3e8;
}
.admin-body .admin-modal {
  background: rgba(6, 20, 43, .64);
}
.admin-body .admin-modal-card {
  border-color: rgba(255,255,255,.9);
  box-shadow: 0 32px 95px rgba(3, 18, 43, .28);
}
.admin-body .admin-modal-head {
  border-bottom-color: #e5edf7;
  background: rgba(255,255,255,.97);
}
.admin-body .admin-modal-head h2 {
  color: var(--admin-ink);
}
.admin-body .admin-modal-head p {
  color: #7486a1;
}
.admin-body .admin-modal-head > button {
  border-color: #dbe5f0;
  color: #536b8b;
  background: #f7faff;
}
.admin-body .admin-modal-head > button:hover {
  border-color: #aec7e9;
  color: var(--admin-blue-dark);
  background: #edf5ff;
}
.admin-body .login-cover {
  background:
    radial-gradient(circle at 78% 12%, rgba(36, 107, 253, .28), transparent 28%),
    radial-gradient(circle at 17% 86%, rgba(35, 182, 216, .16), transparent 25%),
    rgba(6, 20, 43, .95);
}
.admin-body .login-box {
  border-color: rgba(201, 226, 255, .85);
  box-shadow: 0 32px 95px rgba(3, 13, 31, .38);
}
.admin-body .login-mark {
  background: linear-gradient(145deg, #12366f, var(--admin-blue) 70%, var(--admin-cyan));
  box-shadow: 0 10px 24px rgba(36, 107, 253, .25);
}
.admin-body .login-box input {
  border-color: #dbe5f0;
  background: #fbfdff;
}
.admin-body .login-box input:focus {
  border-color: #78a8f4;
  box-shadow: 0 0 0 4px rgba(36, 107, 253, .1);
}
.admin-body .login-box button {
  background: linear-gradient(135deg, var(--admin-blue), var(--admin-blue-dark));
  box-shadow: 0 10px 24px rgba(36, 107, 253, .2);
}
.admin-body .admin-toast {
  border: 1px solid rgba(177, 212, 255, .18);
  background: #102c56;
  box-shadow: 0 16px 42px rgba(5, 22, 49, .24);
}
.admin-body .status-chip,
.admin-body .integrity-chip {
  border-radius: 999px;
}

@media (max-width: 960px) {
  .admin-body .admin-sidebar {
    box-shadow: 18px 0 48px rgba(5, 20, 45, .24);
  }
  .admin-body .admin-workspace-top {
    background: rgba(244, 247, 251, .94);
  }
}
@media (max-width: 680px) {
  .admin-body .admin-welcome-panel,
  .admin-body .admin-panel {
    border-radius: 15px;
  }
  .admin-body .stat-card {
    border-radius: 14px;
  }
}

/* ========================================================================== 
   2026-09-11: storefront readability + compact notice
   Visual-only spacing/type adjustment; storefront functions and data unchanged.
   ========================================================================== */
body:not(.admin-body) .store-notice {
  margin-top: 20px;
}
body:not(.admin-body) .store-notice-head {
  padding: 16px 24px 13px;
}
body:not(.admin-body) .notice-title-wrap {
  gap: 12px;
}
body:not(.admin-body) .notice-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 17px;
}
body:not(.admin-body) .section-kicker {
  font-size: 10px;
}
body:not(.admin-body) .store-notice h2 {
  margin-top: 3px;
  font-size: 21px;
}
body:not(.admin-body) .notice-badge {
  padding: 6px 10px;
  font-size: 11px;
}
body:not(.admin-body) .notice-summary {
  margin: 13px 24px 3px;
  padding: 11px 14px;
  font-size: 14px;
  line-height: 1.6;
}
body:not(.admin-body) .notice-rules {
  margin-top: 10px;
  padding: 0 24px;
}
body:not(.admin-body) .notice-rules article {
  grid-template-columns: 34px 1fr;
  gap: 11px;
  padding: 13px 16px;
}
body:not(.admin-body) .notice-rules article:first-child {
  padding-left: 0;
}
body:not(.admin-body) .notice-rules article:last-child {
  padding-right: 0;
}
body:not(.admin-body) .notice-rules article > span {
  width: 31px;
  height: 31px;
  font-size: 10px;
}
body:not(.admin-body) .notice-rules b {
  font-size: 13px;
}
body:not(.admin-body) .notice-rules p {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.6;
}
body:not(.admin-body) .notice-security {
  gap: 10px;
  margin: 12px 24px 0;
  padding: 10px 13px;
}
body:not(.admin-body) .notice-security b {
  font-size: 13px;
}
body:not(.admin-body) .notice-security p {
  font-size: 12px;
  line-height: 1.55;
}
body:not(.admin-body) .notice-contacts {
  gap: 10px;
  padding: 12px 24px 14px;
  font-size: 14px;
}
body:not(.admin-body) .notice-contacts a {
  padding: 5px 10px;
  font-size: 13px;
}

/* Improve catalog readability without changing the existing catalog layout. */
body:not(.admin-body) .panel-title {
  padding: 19px 20px 15px;
}
body:not(.admin-body) .panel-title span {
  font-size: 15px;
}
body:not(.admin-body) .panel-title small {
  font-size: 11px;
}
body:not(.admin-body) .category-item {
  min-height: 46px;
  font-size: 14px;
}
body:not(.admin-body) .category-count {
  font-size: 11px;
}
body:not(.admin-body) .products-head {
  padding: 20px 25px 17px;
}
body:not(.admin-body) .products-head h2 {
  font-size: 23px;
}
body:not(.admin-body) .search-box input {
  font-size: 14px;
}
body:not(.admin-body) .product-category {
  font-size: 10px;
}
body:not(.admin-body) .product-info h3 {
  margin-top: 7px;
  font-size: 16px;
}
body:not(.admin-body) .product-info p {
  min-height: 40px;
  font-size: 12px;
  line-height: 1.65;
}
body:not(.admin-body) .tag,
body:not(.admin-body) .stock-tag {
  font-size: 11px;
}
body:not(.admin-body) .price {
  font-size: 25px;
}
body:not(.admin-body) .buy-button {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

@media (max-width: 760px) {
  body:not(.admin-body) .store-notice {
    margin-top: 14px;
  }
  body:not(.admin-body) .store-notice-head {
    padding: 15px 18px 12px;
  }
  body:not(.admin-body) .notice-summary {
    margin: 11px 18px 2px;
    padding: 10px 12px;
    font-size: 13px;
  }
  body:not(.admin-body) .notice-rules {
    margin-top: 7px;
    padding: 0 18px;
  }
  body:not(.admin-body) .notice-rules article,
  body:not(.admin-body) .notice-rules article:first-child,
  body:not(.admin-body) .notice-rules article:nth-child(3),
  body:not(.admin-body) .notice-rules article:last-child {
    grid-template-columns: 34px 1fr;
    gap: 10px;
    padding: 12px 0;
  }
  body:not(.admin-body) .notice-security {
    margin: 11px 18px 0;
    padding: 10px 12px;
  }
  body:not(.admin-body) .notice-contacts {
    padding: 11px 18px 14px;
  }
  body:not(.admin-body) .products-head {
    padding: 18px 18px 15px;
  }
  body:not(.admin-body) .products-head h2 {
    font-size: 21px;
  }
  body:not(.admin-body) .category-item {
    min-height: 44px;
  }
  body:not(.admin-body) .product-info h3 {
    font-size: 15px;
  }
}

/* ========================================================================== 
   2026-09-11: extra compact storefront hero and notice
   Visual-only spacing adjustment; all storefront content and behavior remain unchanged.
   ========================================================================== */
@media (min-width: 761px) {
  body:not(.admin-body) .hero-card {
    height: 232px;
    min-height: 232px;
    grid-template-columns: minmax(0, 1.15fr) minmax(250px, .75fr);
  }
  body:not(.admin-body) .hero-copy {
    padding: 25px 24px 20px 42px;
  }
  body:not(.admin-body) .hero-copy h1 {
    max-width: 510px;
    margin: 7px 0 8px;
    font-size: clamp(28px, 2.65vw, 36px);
    line-height: 1.04;
  }
  body:not(.admin-body) .hero-copy h1 em {
    margin-top: 2px;
  }
  body:not(.admin-body) .hero-copy > p {
    max-width: 540px;
    font-size: 11px;
    line-height: 1.45;
  }
  body:not(.admin-body) .hero-actions {
    margin-top: 12px;
    gap: 9px;
  }
  body:not(.admin-body) .hero-actions .primary-button,
  body:not(.admin-body) .hero-actions .ghost-button {
    min-width: 108px;
    min-height: 36px;
    padding: 0 14px;
    font-size: 10px;
    border-radius: 10px;
  }
  body:not(.admin-body) .trust-row {
    gap: 14px;
    margin-top: 12px;
    padding-top: 8px;
    font-size: 8px;
  }
  body:not(.admin-body) .hero-visual {
    min-height: 232px;
  }
  body:not(.admin-body) .hero-visual .payment-card {
    width: 148px;
    padding: 13px;
    border-radius: 14px;
  }
  body:not(.admin-body) .hero-visual .payment-card::after {
    margin-top: 7px;
    font-size: 5px;
  }
  body:not(.admin-body) .hero-visual .payment-card-top {
    font-size: 7px;
  }
  body:not(.admin-body) .hero-visual .mini-qr {
    width: 52px;
    height: 52px;
    margin: 7px auto 6px;
    gap: 2px;
    padding: 4px;
  }
  body:not(.admin-body) .hero-visual .payment-card strong {
    margin-top: 5px;
    font-size: 15px;
  }
  body:not(.admin-body) .hero-visual .payment-card small {
    font-size: 7px;
  }
  body:not(.admin-body) .hero-visual .progress {
    margin-top: 6px;
  }
  body:not(.admin-body) .hero-visual .float-pill {
    padding: 5px 7px;
    font-size: 7px;
  }

  body:not(.admin-body) .store-notice-head {
    padding: 12px 24px 10px;
  }
  body:not(.admin-body) .notice-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 15px;
  }
  body:not(.admin-body) .store-notice h2 {
    margin-top: 1px;
    font-size: 19px;
  }
  body:not(.admin-body) .section-kicker {
    font-size: 9px;
  }
  body:not(.admin-body) .notice-badge {
    padding: 5px 9px;
    font-size: 10px;
  }
  body:not(.admin-body) .notice-summary {
    margin: 9px 24px 2px;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.45;
  }
  body:not(.admin-body) .notice-rules {
    margin-top: 6px;
    padding: 0 24px;
  }
  body:not(.admin-body) .notice-rules article {
    grid-template-columns: 30px 1fr;
    gap: 9px;
    padding: 8px 13px;
  }
  body:not(.admin-body) .notice-rules article > span {
    width: 28px;
    height: 28px;
    font-size: 9px;
  }
  body:not(.admin-body) .notice-rules b {
    font-size: 12px;
  }
  body:not(.admin-body) .notice-rules p {
    margin-top: 1px;
    font-size: 10px;
    line-height: 1.45;
  }
  body:not(.admin-body) .notice-security {
    gap: 9px;
    margin: 8px 24px 0;
    padding: 8px 11px;
  }
  body:not(.admin-body) .notice-security b {
    font-size: 12px;
  }
  body:not(.admin-body) .notice-security p {
    font-size: 11px;
    line-height: 1.4;
  }
  body:not(.admin-body) .notice-contacts {
    gap: 9px;
    padding: 9px 24px 11px;
    font-size: 13px;
  }
  body:not(.admin-body) .notice-contacts a {
    padding: 4px 9px;
    font-size: 12px;
  }
}

@media (max-width: 760px) {
  body:not(.admin-body) .store-notice-head {
    padding: 13px 18px 10px;
  }
  body:not(.admin-body) .notice-summary {
    margin-top: 9px;
    padding: 9px 11px;
    font-size: 12px;
  }
  body:not(.admin-body) .notice-rules {
    margin-top: 5px;
  }
  body:not(.admin-body) .notice-rules article,
  body:not(.admin-body) .notice-rules article:first-child,
  body:not(.admin-body) .notice-rules article:nth-child(3),
  body:not(.admin-body) .notice-rules article:last-child {
    padding-top: 9px;
    padding-bottom: 9px;
  }
  body:not(.admin-body) .notice-security {
    margin-top: 9px;
    padding-top: 9px;
    padding-bottom: 9px;
  }
  body:not(.admin-body) .notice-contacts {
    padding-top: 9px;
    padding-bottom: 11px;
  }
}

/* ========================================================================== 
   2026-09-11: requested extra-short storefront hero and notice
   Keep the existing colors, copy, layout behavior, and business logic unchanged.
   ========================================================================== */
@media (min-width: 761px) {
  body:not(.admin-body) .hero-card {
    height: 176px;
    min-height: 176px;
    grid-template-columns: minmax(0, 1.35fr) minmax(230px, .65fr);
  }
  body:not(.admin-body) .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 24px 12px 42px;
  }
  body:not(.admin-body) .hero-copy .eyebrow {
    margin: 0 0 4px;
    font-size: 9px;
    line-height: 1;
  }
  body:not(.admin-body) .hero-copy h1 {
    max-width: 520px;
    margin: 4px 0 5px;
    font-size: clamp(25px, 2.2vw, 31px);
    line-height: 1;
  }
  body:not(.admin-body) .hero-copy h1 em { margin-top: 2px; }
  body:not(.admin-body) .hero-copy > p {
    max-width: 620px;
    font-size: 10px;
    line-height: 1.3;
  }
  body:not(.admin-body) .hero-actions {
    margin-top: 7px;
    gap: 8px;
  }
  body:not(.admin-body) .hero-actions .primary-button,
  body:not(.admin-body) .hero-actions .ghost-button {
    min-width: 100px;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 9px;
    font-size: 10px;
  }
  body:not(.admin-body) .trust-row { display: none; }
  body:not(.admin-body) .hero-visual { min-height: 176px; }
  body:not(.admin-body) .hero-visual .payment-card {
    width: 124px;
    padding: 10px;
    border-radius: 13px;
  }
  body:not(.admin-body) .hero-visual .payment-card::after {
    margin-top: 5px;
    font-size: 5px;
  }
  body:not(.admin-body) .hero-visual .payment-card-top { font-size: 6px; }
  body:not(.admin-body) .hero-visual .mini-qr {
    width: 42px;
    height: 42px;
    margin: 5px auto 4px;
    gap: 2px;
    padding: 3px;
  }
  body:not(.admin-body) .hero-visual .payment-card strong {
    margin-top: 4px;
    font-size: 13px;
  }
  body:not(.admin-body) .hero-visual .payment-card small { font-size: 6px; }
  body:not(.admin-body) .hero-visual .progress { margin-top: 4px; }
  body:not(.admin-body) .hero-visual .float-pill {
    padding: 4px 6px;
    font-size: 6px;
  }

  body:not(.admin-body) .store-notice { margin-top: 18px; }
  body:not(.admin-body) .store-notice-head { padding: 9px 20px 8px; }
  body:not(.admin-body) .notice-title-wrap { gap: 9px; }
  body:not(.admin-body) .notice-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 14px;
  }
  body:not(.admin-body) .section-kicker { font-size: 8px; }
  body:not(.admin-body) .store-notice h2 {
    margin-top: 1px;
    font-size: 18px;
  }
  body:not(.admin-body) .notice-badge {
    padding: 4px 8px;
    font-size: 10px;
  }
  body:not(.admin-body) .notice-summary {
    margin: 7px 20px 2px;
    padding: 7px 10px;
    font-size: 12px;
    line-height: 1.35;
  }
  body:not(.admin-body) .notice-rules {
    margin-top: 4px;
    padding: 0 20px;
  }
  body:not(.admin-body) .notice-rules article {
    grid-template-columns: 28px 1fr;
    gap: 8px;
    padding: 6px 10px;
  }
  body:not(.admin-body) .notice-rules article > span {
    width: 24px;
    height: 24px;
    font-size: 8px;
  }
  body:not(.admin-body) .notice-rules b { font-size: 11px; }
  body:not(.admin-body) .notice-rules p {
    margin-top: 1px;
    font-size: 9px;
    line-height: 1.35;
  }
  body:not(.admin-body) .notice-security {
    gap: 8px;
    margin: 7px 20px 0;
    padding: 7px 9px;
  }
  body:not(.admin-body) .notice-security b { font-size: 11px; }
  body:not(.admin-body) .notice-security p {
    font-size: 10px;
    line-height: 1.3;
  }
  body:not(.admin-body) .notice-contacts {
    gap: 8px;
    padding: 8px 20px 9px;
    font-size: 12px;
  }
  body:not(.admin-body) .notice-contacts a {
    padding: 3px 8px;
    font-size: 11px;
  }
}

@media (max-width: 760px) {
  body:not(.admin-body) .hero-card {
    height: auto;
    min-height: 0;
  }
  body:not(.admin-body) .hero-copy { padding: 20px 18px 15px; }
  body:not(.admin-body) .hero-copy .eyebrow {
    margin-bottom: 5px;
    font-size: 9px;
    line-height: 1;
  }
  body:not(.admin-body) .hero-copy h1 {
    margin: 7px 0 8px;
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.02;
  }
  body:not(.admin-body) .hero-copy > p {
    font-size: 11px;
    line-height: 1.35;
  }
  body:not(.admin-body) .hero-actions {
    margin-top: 10px;
    gap: 8px;
  }
  body:not(.admin-body) .hero-actions .primary-button,
  body:not(.admin-body) .hero-actions .ghost-button {
    min-height: 34px;
    padding: 0 10px;
    font-size: 11px;
  }
  body:not(.admin-body) .trust-row { display: none; }

  body:not(.admin-body) .store-notice { margin-top: 10px; }
  body:not(.admin-body) .store-notice-head { padding: 10px 14px 8px; }
  body:not(.admin-body) .notice-title-wrap { gap: 9px; }
  body:not(.admin-body) .notice-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 14px;
  }
  body:not(.admin-body) .section-kicker { font-size: 8px; }
  body:not(.admin-body) .store-notice h2 { margin-top: 1px; font-size: 18px; }
  body:not(.admin-body) .notice-summary {
    margin: 7px 14px 1px;
    padding: 7px 9px;
    font-size: 12px;
    line-height: 1.35;
  }
  body:not(.admin-body) .notice-rules {
    margin-top: 4px;
    padding: 0 14px;
  }
  body:not(.admin-body) .notice-rules article,
  body:not(.admin-body) .notice-rules article:first-child,
  body:not(.admin-body) .notice-rules article:nth-child(3),
  body:not(.admin-body) .notice-rules article:last-child {
    grid-template-columns: 27px 1fr;
    gap: 8px;
    padding: 6px 0;
  }
  body:not(.admin-body) .notice-rules article > span {
    width: 25px;
    height: 25px;
    font-size: 8px;
  }
  body:not(.admin-body) .notice-rules b { font-size: 11px; }
  body:not(.admin-body) .notice-rules p {
    margin-top: 1px;
    font-size: 10px;
    line-height: 1.35;
  }
  body:not(.admin-body) .notice-security {
    gap: 8px;
    margin: 7px 14px 0;
    padding: 7px 9px;
  }
  body:not(.admin-body) .notice-security b { font-size: 11px; }
  body:not(.admin-body) .notice-security p {
    font-size: 10px;
    line-height: 1.35;
  }
  body:not(.admin-body) .notice-contacts {
    gap: 8px;
    padding: 8px 14px 9px;
    font-size: 12px;
  }
  body:not(.admin-body) .notice-contacts a {
    padding: 3px 8px;
    font-size: 11px;
  }
}

/* ========================================================================== 
   2026-09-11: blue star + lightning icon system
   Replaces legacy emoji-box visuals while preserving stored data and behavior.
   ========================================================================== */
body:not(.admin-body) .category-name i.icon-star,
body:not(.admin-body) .category-name i.icon-lightning,
body:not(.admin-body) .product-info .product-category i {
  font-family: Inter, 'Segoe UI Symbol', 'Microsoft YaHei', system-ui, sans-serif;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}
body:not(.admin-body) .category-name i.icon-star {
  color: #1d5ed8;
  background: linear-gradient(145deg, #ffffff, #eef5ff);
  box-shadow: inset 0 0 0 1px #d8e6ff, 0 8px 18px rgba(36, 107, 253, .12);
}
body:not(.admin-body) .category-name i.icon-lightning {
  color: #ffffff;
  background: linear-gradient(145deg, #2f7cff, #174fc9);
  box-shadow: 0 8px 18px rgba(36, 107, 253, .22);
}
body:not(.admin-body) .product-icon.icon-star {
  color: #1d5ed8;
  background: linear-gradient(145deg, #eef5ff, #ffffff);
  box-shadow: inset 0 0 0 1px #d8e6ff, 0 14px 30px rgba(36, 107, 253, .13);
}
body:not(.admin-body) .product-icon.icon-lightning {
  color: #ffffff;
  background: linear-gradient(145deg, #2f7cff, #174fc9);
  box-shadow: 0 14px 30px rgba(36, 107, 253, .24);
}
body:not(.admin-body) .product-icon.icon-star > span,
body:not(.admin-body) .product-icon.icon-lightning > span {
  transform: translateY(-1px);
  font-family: Inter, 'Segoe UI Symbol', 'Microsoft YaHei', system-ui, sans-serif;
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
}
body:not(.admin-body) .product-info .product-category i {
  margin-right: 3px;
}
body:not(.admin-body) .product-info .product-category i.icon-star { color: #1d5ed8; }
body:not(.admin-body) .product-info .product-category i.icon-lightning { color: #246bfd; }
.admin-body .table-product-icon.icon-star,
.admin-body .table-product-icon.icon-lightning {
  font-family: Inter, 'Segoe UI Symbol', 'Microsoft YaHei', system-ui, sans-serif;
  font-weight: 950;
  line-height: 1;
}
.admin-body .table-product-icon.icon-star {
  color: #1d5ed8;
  background: linear-gradient(145deg, #eef5ff, #ffffff);
  box-shadow: inset 0 0 0 1px #d8e6ff;
}
.admin-body .table-product-icon.icon-lightning {
  color: #ffffff;
  background: linear-gradient(145deg, #2f7cff, #174fc9);
  box-shadow: 0 8px 18px rgba(36, 107, 253, .18);
}


/* ========================================================================== 
   2026-09-11: inventory import modes
   ========================================================================== */
.admin-body .inventory-import-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.admin-body .inventory-import-methods label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid #dce6f5;
  border-radius: 12px;
  background: #f8fbff;
  color: #41516c;
  font-weight: 900;
  cursor: pointer;
}
.admin-body .inventory-import-methods label:has(input:checked) {
  color: #1d5ed8;
  border-color: #b9d0ff;
  background: linear-gradient(145deg, #eef5ff, #ffffff);
  box-shadow: inset 0 0 0 1px rgba(36, 107, 253, .08);
}
.admin-body .inventory-import-methods input {
  width: auto;
  accent-color: #246bfd;
}
.admin-body .inventory-import-pane {
  display: grid;
  gap: 12px;
}
.admin-body .inventory-import-pane[hidden] { display: none; }
.admin-body .inventory-import-form textarea#inventoryDirectLines,
.admin-body .inventory-import-form textarea#inventoryLines {
  min-height: 150px;
}
@media(max-width:680px){.admin-body .inventory-import-methods{grid-template-columns:1fr}}

.delivery-privacy-note{margin-top:14px;padding:14px 16px;border:1px solid #dce6f5;border-radius:14px;background:#f5f8fd;color:#53647f}.delivery-privacy-note b{display:block;color:#1f3764;font-size:14px}.delivery-privacy-note p{margin:5px 0 0;font-size:13px;line-height:1.7}

/* 2026-09-13: order lookup and standalone delivery layout */
.query-methods{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 15px}
.query-method-option{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;flex:1 1 180px;padding:9px 13px;border:1px solid var(--line);border-radius:12px;background:#f8faff;color:#53617a;font-size:13px;font-weight:800;cursor:pointer;transition:.18s ease}
.query-method-option:hover{border-color:#b8caff;background:#f2f6ff}
.query-method-option:has(input:checked){color:#2459d7;border-color:#a9c3ff;background:linear-gradient(145deg,#eef4ff,#fff);box-shadow:inset 0 0 0 1px rgba(49,92,245,.08)}
.query-method-option input{width:auto;margin:0;accent-color:var(--blue)}
.query-dialog form>label{display:grid;gap:7px}
.delivery-page-card{width:min(780px,calc(100% - 32px));margin:32px auto 60px}
.delivery-order-meta{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;margin:18px auto 0;color:var(--muted);font-size:13px;text-align:center}
.delivery-order-meta b{color:var(--ink);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}
.delivery-order-meta button{border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--blue);padding:4px 9px;font-size:12px;font-weight:800}
.delivery-order-meta button:hover{border-color:#a9c3ff;background:#f4f7ff}
.delivery-page-card .delivery-result{margin-top:18px}
.query-order-card{border:1px solid var(--line);border-radius:16px;background:#fbfcff;padding:16px 17px;color:var(--muted);font-size:13px;line-height:1.75}
.query-order-card header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;color:var(--ink)}
.query-order-card header b{font-size:15px}
.query-order-card.error-text{color:var(--red);background:#fff8f8;border-color:#ffd7d7}
@media(max-width:600px){.query-method-option{flex-basis:100%}.delivery-page-card{width:min(100% - 20px,780px);margin-top:18px}.delivery-order-meta{font-size:12px}}